greptilian logo

IRC log for #sourcefu, 2015-04-15

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
00:09 pdurbin prologic: http://www.adam-bien.com/roller/abien/entry/java_8_reading_a_file
00:11 prologic haha
00:12 prologic s = open("duke.py").read()
00:12 prologic *shrugs*
00:13 pdurbin I like them both.
00:15 prologic what about something like this
00:15 prologic so as to avoid blowing out your memory
00:15 prologic for x in open("foo.bin", "r"):
00:15 prologic do_something_with_x(x)
00:15 prologic I know Java has Iterators :)
00:16 prologic but I suspect the equivalent is going to be a lot more wordier?
00:17 pdurbin in Java 8 there is a "stream" api for this
00:18 pdurbin https://github.com/stuart-marks/LambdaHOLv2
00:21 pdurbin input.forEach(s -> sb.append(s.charAt(0)));
00:21 pdurbin input.forEach((k, v) -> sb.append(String.format("%s%s", k, v)));
00:21 pdurbin stuff like that
00:22 pdurbin I kinda want to try something different than Java and Python. Maybe Clojure. /cc sivoais
00:35 prologic ahh yeap
01:03 pdurbin stacktrace or gtfo: https://plus.google.com/+JustinLee1/posts/LTpFM5Shn8q :)
01:07 prologic hehe
01:08 pdurbin as if anyone would ever be in a panic like that
01:12 prologic heh
01:12 prologic I spun up a wordpress blog for a friend of mine last night
01:12 prologic it was painless
01:12 prologic ~5min job really
01:12 prologic Docker ftw :)
01:13 prologic and my little PaaS setup I built
01:13 pdurbin is your PaaS on a physical box?
01:15 prologic no a little DO vm
01:15 prologic so I have 3 deployments of my little PaaS
01:16 prologic 2 DO vms
01:16 prologic and 1 physical at home
01:16 pdurbin the $5 DO one?
01:16 prologic http://shortcircuit.net.au/~prologic/blog/article/2015/03/24/a-docker-based-mini-paas/
01:16 prologic if you recall
01:16 prologic *nods*
01:16 pdurbin hmm
01:28 pdurbin picked up a new podcast and it was good: http://www.codingblocks.net/podcast/delegate-all-the-things
01:28 pdurbin via https://twitter.com/thomdane/status/587154984711520256
02:44 prologic hmm
02:44 prologic never really gotten in to podcasts :)
08:13 prologic https://twitter.com/therealprologic/status/588253541094952962
11:07 aditsu joined #sourcefu
11:19 pdurbin prologic: for some reason I haven't been able to find podcasts about python
11:20 pdurbin http://elena.github.io/django-news-podcast/ is good but hasn't had a show in a while
11:21 pdurbin same with http://frompythonimportpodcast.com
11:27 prologic we're probably too busy to blog or pod :)
11:27 prologic I know I am :)
11:27 prologic haha
11:27 prologic on that note g'night :)
11:28 pdurbin o/
11:49 aditsu joined #sourcefu
16:25 aditsu joined #sourcefu
17:38 aditsu joined #sourcefu
23:34 sivoais_ joined #sourcefu

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

http://sourcefu.com