Time |
S |
Nick |
Message |
00:09 |
|
pdurbin |
spilth: just a heads up to patch rails if you have rails? |
00:10 |
|
pdurbin |
semiosis: yeah. perl reference. love it :) |
14:58 |
|
|
agoddard joined #sourcefu |
15:02 |
|
pdurbin |
agoddard: irccloud.com? |
15:19 |
|
|
astorer joined #sourcefu |
15:45 |
|
semiosis |
wow the eclipse remote systems stuff sucks |
15:45 |
|
semiosis |
i.e. ability to sync with an ftp server |
16:02 |
|
semiosis |
and it keeps getting worse... |
16:08 |
|
|
spilth joined #sourcefu |
16:09 |
|
spilth |
I'm sitting here in Jury Duty, waiting to be called and working my way through Seven Languages in Seven Weeks |
16:21 |
|
pdurbin |
spilth: skip ahead to the haskell section and tell me if it's awesome |
16:22 |
|
pdurbin |
semiosis: ftp? old school |
16:22 |
|
semiosis |
pdurbin: ftp sftp ftps scp whatever, the eclipse rse stuff is buggy as heck |
16:23 |
|
pdurbin |
so you do it from the command line instead? |
16:23 |
|
semiosis |
i'm trying to make something as easy as possible for my jr. devs |
16:24 |
|
semiosis |
ideally i want them to be able to ctrl+s in their editor and see the change immediately on the staging server |
16:24 |
|
semiosis |
no step in between |
16:25 |
|
semiosis |
know an easy program on linux to do that? something using inotify i guess |
16:26 |
|
semiosis |
on windows i'll have them use winscp |
16:26 |
|
pdurbin |
dunno. sounds fancy |
16:29 |
|
|
spilth joined #sourcefu |
16:30 |
|
spilth |
pdurbin: We're going in order and Haskell is the last chapter :-( |
16:31 |
|
pdurbin |
spilth: ok :) |
16:31 |
|
pdurbin |
semiosis: can i do a ctrl+s in netbeans and have it immediately deploy my war to a staging server running glassfish? :) |
16:32 |
|
spilth |
why do you want people saving directly to a staging environment? |
16:32 |
|
semiosis |
pdurbin: idk about netbeans, but in eclipse you can use maven integration to do that |
16:33 |
|
semiosis |
pdurbin: set up maven to do all the hard work then just trigger that maven goal/profile from netbeans with a key combo |
16:33 |
|
semiosis |
s/netbeans/eclipse/ |
16:33 |
|
semiosis |
probably the same in nb |
16:34 |
|
semiosis |
spilth: some things need a live server unfortunately... facebook apps in this case |
16:34 |
|
semiosis |
spilth: need a way for the devs to rapidly iterate & see results in FB |
16:35 |
|
spilth |
Are they committing any of that code to version control? |
16:35 |
|
spilth |
Why not just edit on the server then? |
16:35 |
|
semiosis |
spilth: how is this not editing on the server? |
16:35 |
|
semiosis |
and yes vcs |
16:36 |
|
spilth |
I mean edit the files directly on the server filesystem |
16:36 |
|
semiosis |
they'll use git to set up their site on the staging server, but i dont want them to have to commit every little minor tweak & wait for deployment |
16:37 |
|
spilth |
how long does deployment take? |
16:37 |
|
semiosis |
once they're happy with the result, they'll commit that to their staging branch & merge that into the production branch... prod can only be deployed via git |
16:37 |
|
semiosis |
this is like an in-house paas |
16:37 |
|
spilth |
set up jenkins and commit hooks on git so each change gets picked up and deployed by Jenkins |
16:37 |
|
semiosis |
spilth: too many projects |
16:37 |
|
semiosis |
for jenkins |
16:38 |
|
spilth |
so automate your automation then? |
16:38 |
|
semiosis |
did that, without jenkins |
16:38 |
|
semiosis |
unnecessary compications |
16:39 |
|
spilth |
how about using Guard? (https://github.com/guard) |
16:39 |
|
spilth |
set up a simple Guardfile to watch the filesystem and upload changes |
16:39 |
|
semiosis |
nice |
16:40 |
|
pdurbin |
semiosis: this is a java app? |
16:40 |
|
semiosis |
pdurbin: no this is for web sites |
16:40 |
|
semiosis |
mainly php/html/js |
16:41 |
|
pdurbin |
nuts |
16:41 |
|
pdurbin |
:) |
16:41 |
|
semiosis |
eh |
16:41 |
|
spilth |
https://rubygems.org/gems/guard-flopbox |
16:43 |
|
spilth |
There are a bunch of Guard plugins here - https://github.com/guard |
16:43 |
|
semiosis |
i want to keep the dev environ. as lightweight as possible... already need git, would rather not need ruby too, i want these guys/gals to be able to focus on awesome fb integrations and have all the deployment stuff "just work" without them having to worry about it |
16:43 |
|
pdurbin |
semiosis: makes sense |
16:43 |
|
semiosis |
supporting linux, windows, & mac |
16:44 |
|
pdurbin |
i'm curious how fast one can interate in a java ee dev enviroment. but right now i'm focused more on our svn2git migration. i'm giving a talk about github on monday |
16:45 |
|
semiosis |
pdurbin: fast! |
16:45 |
|
pdurbin |
semiosis: good :) |
16:45 |
|
semiosis |
provided you can run everything locally & have big ram & fast ssd :) |
16:45 |
|
pdurbin |
we can run everything locally |
16:46 |
|
semiosis |
ssd? |
16:46 |
|
pdurbin |
on my machine, yeah. 512 GB SSD |
16:46 |
|
semiosis |
woo |
16:46 |
|
pdurbin |
retina macbook, very nice |
16:46 |
|
semiosis |
heyyy |
16:46 |
|
pdurbin |
but then... after it works on this macbook, my thought is to deploy it to a centos VM on vagrant |
16:47 |
|
semiosis |
i just got an asus ux32vd & put 10G ram & a samsung ssd in it, it's my little macbook killer |
16:47 |
|
pdurbin |
to make sure it works there... much more like production |
16:47 |
|
semiosis |
not quite retina but 1920x1080 in a 13" screen |
16:47 |
|
semiosis |
:D |
16:47 |
|
pdurbin |
:) |
16:48 |
|
* spilth |
passes on posting any comments on sharpening saws and cutting wood |
16:50 |
|
pdurbin |
the screen on this retina macbook went all crazy when i plugged into a projector yesterday |
16:50 |
|
pdurbin |
then i did "mirror display" and the retina screen got more sane |
16:53 |
|
spilth |
I'm excited about this book - http://pragprog.com/book/jkthp/the-healthy-programmer |
16:54 |
|
pdurbin |
i read the original pragprog book and liked it |
16:55 |
|
spilth |
I'm a big fan of them. Have many of their books. Only very few have been disappointing. |
16:57 |
|
spilth |
I love that Beta Progress chart they have on their beta books |
16:58 |
|
|
astorer joined #sourcefu |
17:01 |
|
spilth |
Their "Pragmatic Project Automation" played a big part in me ending up where I am today |
17:06 |
|
pdurbin |
spilth: cool |
17:07 |
|
pdurbin |
huh. i'm playing with github's Automatic Page Generator per https://github.com/blog/1081-instantly-beautiful-project-pages but it didn't create a markdown site like i expected. index.html instead: https://github.com/pdurbin/dvn-vagrant/tree/gh-pages |
17:07 |
|
pdurbin |
i guess i'll just do my own jekyll/markdown site like i usually do |
17:08 |
|
pdurbin |
or fork spilth's pretty version :) |
17:09 |
|
spilth |
And then just swap in a bootstrap.min.css you like from http://bootswatch.com/ |
17:09 |
|
spilth |
I thought I had a project using that page generator but I guess not... |
17:10 |
|
spilth |
I've got https://github.com/spilth/ubyray/tree/gh-pages but not sure where you actually see the generated site |
17:13 |
|
spilth |
Thought it was supposed to be available at http://spilth.github.com/ubyray |
17:13 |
|
spilth |
"If no custom domain is used, the project pages are served under a subpath of the user pages: username.github.com/projectname" |
17:17 |
|
pdurbin |
that sounds right |
17:17 |
|
spilth |
Huh, just pushed a minor change and now it's accessible - http://spilth.github.com/ubyray/ |
17:18 |
|
spilth |
was 404 before |
17:18 |
|
spilth |
pdurbin.github.com/dvn-vagrant |
17:18 |
|
spilth |
Hrm, that redirects to http://greptilian.com/dvn-vagrant/ |
17:19 |
|
pdurbin |
spilth: so you aren't using markdown either |
17:20 |
|
spilth |
not in that little project, no |
17:20 |
|
pdurbin |
i'm not sure i like having that project hanging off my domain... such is the price of hosting http://greptilian.com on github pages, i guess |
17:21 |
|
pdurbin |
anyway, i'm thinking my github talk will be a gh-pages branch of https://github.com/IQSS/iqss-javaee-template |
17:21 |
|
spilth |
The gh-pages branch is a Jekyll project, so you should be able to add a config.yml, etc. |
17:21 |
|
spilth |
https://help.github.com/articles/using-jekyll-with-pages |
17:21 |
|
pdurbin |
spilth: yes. for sure |
17:22 |
|
spilth |
Were you just expecting the templates they provide to be using Markdown? |
17:23 |
|
pdurbin |
i got an error installing jekyll: http://irclog.perlgeek.de/crimsonfu/2013-01-03#i_6294747 |
17:23 |
|
pdurbin |
spilth: yes. markdown. that would be great |
17:24 |
|
spilth |
so change the extension and add the YAML Front Matter? |
17:24 |
|
spilth |
HTML is valid in Markdown |
17:24 |
|
pdurbin |
yes. true |
17:24 |
|
pdurbin |
let me figure out why jekyll wouldn't install first |
17:24 |
|
spilth |
looks like you're missing gcc |
17:24 |
|
spilth |
are you using dvm? |
17:24 |
|
spilth |
rvm |
17:24 |
|
pdurbin |
yes |
17:25 |
|
spilth |
Try: rvm requirements |
17:25 |
|
pdurbin |
something with... make: /usr/bin/gcc-4.2: No such file or directory |
17:25 |
|
pdurbin |
http://danceb.in/PD30f7VV4hGo06vql9DNYg |
17:25 |
|
spilth |
yup i see |
17:27 |
|
spilth |
rvm requirements |
17:27 |
|
spilth |
that will tell you what you're missing and how to install it. Jekyll needs to compile some native code so it needs a C compiler (gcc) |
17:30 |
|
spilth |
https://github.com/mojombo/jekyll/wiki/Install - "On OSX, you may need to update RubyGems: sudo gem update --system" |
17:32 |
|
agoddard |
pdurbin: ya, irccloud.com is pretty cool, though has a tendency to crash... kinda often :/ |
17:34 |
|
pdurbin |
spilth: output from `rvm requirements` seems helpful. running many commands right now |
17:35 |
|
spilth |
do you use Homebrew? |
17:36 |
|
pdurbin |
spilth: yes. the latest error: http://danceb.in/OgtQ8YBa4hGKETnvl9DNYg |
17:37 |
|
spilth |
Please note that it's required to reinstall all rubies: |
17:37 |
|
spilth |
rvm reinstall all --force |
17:37 |
|
* spilth |
apologizes on behalf of Ruby |
17:37 |
|
pdurbin |
spilth: yeah, i did that. please scroll down |
17:38 |
|
pdurbin |
my `rvm requirements` output: http://danceb.in/9qERHoFa4hGKETnvl9DNYg |
17:38 |
|
spilth |
ah, I see. |
17:39 |
|
pdurbin |
i mean, i know markdown and jekyll well enough i could probably fly blind... just push up to github pages. but it's awfully nice to have jekyll installed for local testing before committing and pushing |
17:39 |
|
spilth |
http://cczona.com/blog/2012/07/fix-for-make-usrbingcc-4-2-no-such-file-or-directory/ |
17:42 |
|
spilth |
Finally getting our lunch break. Be back in an hour or so. |
17:46 |
|
pdurbin |
spilth. i went for `sudo ln -s ~/.homebrew/bin/gcc-4.2 /usr/bin/gcc-4.2` since i'm the only user of this laptop. was able to install jekyll. dunno if i needed those other commands i ran. probably not |
17:46 |
|
pdurbin |
thanks! |
19:04 |
|
pdurbin |
actually... based on this symlink ... "/Users/pdurbin/.homebrew/bin/gcc-4.2 -> ../Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2" ... i'd say the `brew install autoconf automake apple-gcc42` must have been necessary |
19:05 |
|
pdurbin |
so to sum this up... |
19:05 |
|
pdurbin |
you're on Mac OS X 10.8.2, Xcode 4.5.2 |
19:05 |
|
pdurbin |
you want to `gem install jekyll` |
19:05 |
|
pdurbin |
(you're already using rvm) |
19:06 |
|
pdurbin |
(you already installed the xcode command line tools thing) |
19:06 |
|
pdurbin |
you're getting "make: /usr/bin/gcc-4.2: No such file or directory" |
19:06 |
|
pdurbin |
you should run `rvm requirements` to get your bearings :) |
19:06 |
|
pdurbin |
i ran the commands they suggested: |
19:07 |
|
pdurbin |
brew update |
19:07 |
|
pdurbin |
brew tap homebrew/dupes |
19:07 |
|
pdurbin |
brew install autoconf automake apple-gcc42 |
19:07 |
|
pdurbin |
rvm pkg install openssl |
19:07 |
|
pdurbin |
(they being whoever wrote the output from `rvm requirements`) |
19:08 |
|
pdurbin |
then `rvm reinstall all --force` for good measure i guess |
19:08 |
|
|
spilth joined #sourcefu |
19:08 |
|
pdurbin |
then `sudo ln -s ~/.homebrew/bin/gcc-4.2 /usr/bin/gcc-4.2` (or wherever you keep your homebrew) |
19:09 |
|
pdurbin |
then `gem install jekyll` |
19:09 |
|
pdurbin |
should work. ymmv :) |
19:10 |
|
spilth |
glad you got it working |
19:11 |
|
pdurbin |
spilth: thanks for all your help |
19:11 |
|
pdurbin |
spilth: is this normal in the ruby world? ;) |
19:12 |
|
spilth |
I think it's something that Mountain Lion complicated |
19:12 |
|
spilth |
and the fact that Xcode doesn't home with command-line tools anymore |
19:13 |
|
spilth |
Meaning, it used to be easier but I don't know that it's the Ruby world's fault |
19:13 |
|
spilth |
OS X also used to come with Java |
19:13 |
|
pdurbin |
it all just feels very brittle |
19:15 |
|
spilth |
Yea, I don't know if I can argue against that |
19:16 |
|
spilth |
It really comes down to gems that have native code |
19:19 |
|
pdurbin |
sure. i had similar problems with XS perl modules (native code) on snow leopard. but perl is happier on os x these days. and i don't have to compile my own perl. the one that ships with os x works well enough |
19:20 |
|
spilth |
I'm trying to see what version of Ruby Jekyll requires... |
19:21 |
|
|
astorer joined #sourcefu |
19:22 |
|
spilth |
looks like they build it on 1.8.7, which Mountain Lion comes with - https://github.com/mojombo/jekyll/blob/master/.travis.yml |
19:22 |
|
pdurbin |
huh |
19:23 |
|
spilth |
so you didn't HAVE to compiled your own ruby |
19:23 |
|
pdurbin |
well, one reason i use rvm is so i can install gems as non-root. in my home directory |
19:23 |
|
spilth |
but the gem install would've stilled failed due to lack of gcc |
19:23 |
|
|
astorer_ joined #sourcefu |
19:23 |
|
spilth |
i'm pretty sure ruby gems works in user space now without rvm |
19:24 |
|
pdurbin |
spilth: on 1.8.7? |
19:24 |
|
spilth |
http://docs.rubygems.org/read/chapter/3#page83 |
19:25 |
|
|
astorer__ joined #sourcefu |
19:25 |
|
pdurbin |
spilth: timing out but thanks. i'll try to read it later |
19:43 |
|
spilth |
pdurbin: left-aligned sourcefu pull request incoming |
19:54 |
|
pdurbin |
nice |
20:47 |
|
|
spilth joined #sourcefu |
20:48 |
|
|
spilth_ joined #sourcefu |
21:04 |
|
pdurbin |
sounds like github is timing out for people besides just me today |
21:05 |
|
* pdurbin |
updates "advantages of github" section ;) |
21:41 |
|
spilth_ |
Woo! My first real Ruby code pull request: https://github.com/change/method_profiler/pull/7 |