greptilian logo

IRC log for #sourcefu, 2012-12-06

http://sourcefu.com

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
02:57 pdurbin Detect retina displays with javascript - http://briancray.com/posts/detect-retina-displays-with-javascript/
11:48 pdurbin hmm. "Ohloh update completed 1 day ago" at https://www.ohloh.net/p/dvn/enlistments but still " Analyzed over 2 years ago based on code collected over 2 years ago" at https://www.ohloh.net/p/dvn
12:57 pdurbin i wonder if any of you are using the "command line" only xcode or if you just install the regular 1.5 GB version: "Today, Apple added a beautiful new package to their official developer tools suite: Command Line Tools for Xcode. It's a 171 MB download that includes all of the tools a Homebrew should ever need" -- http://kennethreitz.com/xcode-gcc-and-homebrew.html (can't find a direct link)
14:01 pdurbin wow. this song about java was at the tail end of a podcast i listened to on my bike ride in: Song: Threaded Lane by Lambda Expression - YouTube - http://www.youtube.com/watch?v=3OqNdD6ygAo
14:02 pdurbin via https://www.facebook.com/LambdaExpression via Java Public House: Episode 22. Garbage man! An introduction on the finer details Garbage Collection - http://www.javapubhouse.com/2012/04/episode-22-garbage-man-introduction-on.html
14:03 pdurbin ah, by scrubbing though i see the lyrics are slides in the video
14:14 amal joined #sourcefu
15:39 spilth joined #sourcefu
15:41 spilth I ended up buying "Apprenticeship Patterns" after trying a sample via Kindle. Only just started but enjoying it so far. I like the mindset of not getting comfortable in assuming you know everything you need to know and don't need to improve.
15:43 pdurbin sounds good
15:43 pdurbin spilth: if you were going to start a programming project for fun, what would it be?
15:44 spilth Maybe something from my ideas blog: http://ideas.spilth.org/
15:45 spilth But generally it would be something around one of my hobbies (mountain biking, video/board games, music, geeky stuff)
15:47 spilth Trying to re-create a video game from my childhood could be fun, like Intellivision era games
15:50 pdurbin crimsonfubot: lucky intellivision games wikipedia
15:50 crimsonfubot pdurbin: http://en.wikipedia.org/wiki/List_of_Intellivision_games
15:51 pdurbin many to choose from
15:52 spilth I made a simple version of Astrosmash using Ruby at one point
15:53 spilth I would do Nightstalker next. That was a family favorite
15:54 spilth Ah, I did publish the code: https://github.com/spilth/astroblast
16:02 pdurbin hmm, haven't heard of those. i've played centipede
16:04 spilth I've played with the game engine http://unity3d.com/ over the years, which has a free version available. You can code in JavaScript and/or C# (also Boo, a version of Python, but not used much)
16:16 spilth I did want to mention this on-topic project of mine though - https://vimeo.com/18717660 - a screensaver  that display software development tips
16:17 spilth The idea being that when you step away from your computer you come back to a  message that perhaps subconsciously reminds you of a good practice
16:19 pdurbin have it sing me tips while i'm sleeping
16:20 spilth an ambient music project!
16:21 spilth I've heard if you play Led Zeppelin IV backwards, it contains the agile manifesto...
16:22 pdurbin heh
17:29 spilth At some point I want to have my own sourcefu. I like the idea of taking notes in automatically logged/dated form.
17:32 rruma joined #sourcefu
17:32 spilth LIke yesterday when I needed to cast an array of one class to a subclass in Java: http://stackoverflow.com/questions/1018750/how-to-convert-object-array-to-string-array-in-java
17:35 spilth I often take notes using Markdown files, but then I have to remember to create a file for each day and might spend too much time editing my notes. IRC allows for a stream of consciousness
18:22 pdurbin spilth: kinda like this? http://irclog.greptilian.com/pdurbin/2012-11-28
19:22 spilth that's how I got here (via scripting.com)
19:23 pdurbin yeah? huh. i wonder what link. something i posted probably
19:23 spilth Might've been a comment you made in one of his posts
19:23 spilth Or one of the links in his Links tab
19:25 pdurbin it would be awesome if dave linked to me :)
19:27 spilth I got here from http://threads2.scripting.com/2012/november/googleReaderCommunities#philipDurbin
19:27 pdurbin ok. url looks like my comment :)
19:28 pdurbin man, i'm trying to give gitorious a chance but i prefer github
19:28 spilth Read your Google+ post, added you to my "Coders" circle and then saw your sourcefu post on G+
19:28 pdurbin ah. maybe that's how i remember seeing your avatar
19:29 spilth I might try a little ruby script that loops and takes my output and appends it to dated files... stick it Dropbox so I can use it on multiple machines and figure out some way to publish it
19:30 spilth er, takes my input
19:30 pdurbin uh... for publishing your notes?
19:31 spilth yes
19:31 pdurbin i just use git for that
19:32 spilth yea, I might make a jekyll site from the notes so just pushing to github will make it available
19:33 pdurbin sure. that's what i do with https://github.com/crimsonfu/crimsonfu.github.com
19:33 pdurbin after i fetch the logs with https://github.com/crimsonfu/crimsonfu.github.com/blob/master/bin/logfetch.pl
19:33 spilth cool. I just want to try replacing the IRC server and bot with a Ruby loop
19:34 pdurbin ruby loop
19:34 spilth while (text = gets) { ... }
19:35 pdurbin you'll have to publish your solution and link me to it
19:35 spilth will do!
19:35 pdurbin thanks
19:36 spilth I'll definitely put it up on github if I manage to get something working
19:36 pdurbin cool. many ways to skin this cat
20:11 pdurbin cool. private repos seem to be working... "You are not authorized to view this page" at https://git.huit.harvard.edu/dvn/pdurbin/blobs/raw/master/readme.md
20:12 pdurbin but for anyone reading this in the future... that "pdurbin" repo may get opened up some day. no secrets in there, yet anyway :)
20:18 spilth Everywhere I turn, there you are: https://github.com/mojombo/jekyll/issues/453
20:19 pdurbin :)
20:19 pdurbin sorry
20:20 pdurbin i'm still using that ugly plugin i wrote
20:20 pdurbin works fine :)
20:22 spilth I'm just going to put layout: default in every page for now
20:34 spilth Here is my 30 minute stab at it: https://github.com/spilth/devlog.spilth.org
20:35 spilth Here's the "loop" - https://github.com/spilth/devlog.spilth.org/blob/master/devlog.rb
20:38 pdurbin and this is your log, i take it: https://raw.github.com/spilth/devlog.spilth.org/master/_posts/2012-12-06-devlog.md
20:38 pdurbin (thanks for the link) :)
20:38 spilth Yea, for now I'm keeping it simple
20:41 spilth Putting it on S3 for now as well: http://devlog.spilth.org/
20:42 pdurbin S3. just like dave winer :)
20:43 spilth I might switch to Github pages... but I know how to do S3 right now.
20:43 spilth I think the real test will be if I like using a command-line tool to record notes
20:43 pdurbin http://sourcefu.com is hosted on GitHub Pages: https://github.com/sourcefu/sourcefu.github.com
20:44 spilth I'll need to look at Github pages when I get home
20:44 pdurbin ironcamel: where's your notes thing? http://search.cpan.org/~ironcamel
20:45 spilth I'm guessing just a repo-name change and the CNAME file
20:45 pdurbin http://search.cpan.org/dist/App-Notes/
20:45 pdurbin http://search.cpan.org/~wwolf/App-Notes-0.012/bin/notes
20:46 spilth If there was ever a reason to switch to Perl: http://search.cpan.org/~ironcamel/Acme-AliG-0.0101/lib/Acme/AliG.pm
20:47 pdurbin i never switched *from* perl
20:47 spilth for this project, that is
21:08 ironcamel haha
21:09 ironcamel pdurbin: sudo cpanm notes
21:11 spilth Here's what note entry looks like on my screen (bottom pane): http://tinyurl.com/9wjgecn
21:15 ironcamel note entry?
21:16 ironcamel ok, so thats not a App::Notes note
21:16 spilth I'm trying to make a lightweight, local, single user version of pdurbin's sourcefu
21:16 ironcamel is sourcefu more than an irc channel?
21:21 spilth and irc channel and an irc bot, right pdurbin?
21:21 pdurbin i have plans. big plans
21:21 spilth I'm not knocking. Just trying something different.
21:23 pdurbin spilth: you *could* just type `cat >> today.md` ... type for a while... and hit Ctrl-D
21:23 spilth On one side of the spectrum are manually managed text files. On the other side is IRC and bots. Inbetween are other things.
21:23 spilth I like that I can just leave it running and it will append the correct file for me
21:24 spilth I don't have to think or manually format the date for the filename
21:26 spilth Really I just prefer Control-C to Control-D...
21:27 pdurbin spilth: ctrl-d to *save* the file. :)
21:27 spilth ok, but I don't even need to do that with my script. Each line is appended as soon as I hit return
21:27 spilth http://cboard.cprogramming.com/c-programming/124238-what-does-ctrl-d-mean.html
21:34 pdurbin i'm sure your script does more. i'm just sayin' :)
21:35 spilth It was a small effort. I'll give it a try and see what happens. At the worst it's an opportunity to learn a few things.
22:09 pdurbin +1
22:42 semiosis web development is haaard
22:58 spilth "403 Forbidden" - this will teach me to update my gems...
23:05 semiosis anyone here ever heard of or used Zen Coding?
23:05 semiosis @lucky zen coding
23:05 crimsonfubot semiosis: http://code.google.com/p/zen-coding/
23:10 spilth could be handy. seems like one of those things I'd forget to use though
23:14 spilth or did you mean a way of meditating on your code?

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

http://sourcefu.com