Perl 6 - the future is here, just unevenly distributed

IRC log for #crimsonfu, 2014-05-02

crimsonfu - sysadmins who code

| Channels | #crimsonfu index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:18 hydrajump I've been using termshare for several hours today and it's absolutely awesome!
00:18 pdurbin +1
00:18 hydrajump Just need to get the server working selfhosted
00:19 hydrajump I've just finished several termshare sessions with a guy in Russia
00:20 hydrajump I've also just finished submitting a formula to install it using homebrew for you Mac OS X users :P
00:41 jimi_c joined #crimsonfu
00:57 semiosis joined #crimsonfu
00:57 semiosis joined #crimsonfu
01:06 semiosis joined #crimsonfu
01:27 semiosis joined #crimsonfu
01:27 semiosis joined #crimsonfu
02:24 hydrajump I'm terrible at sed and been scratching my head for a while now. Can someone please take a look at this: https://gist.github.com/anonymous/fc4c490a107a23379a34
02:25 hydrajump I'm trying to get the sed to insert the lines with indentation, but there are two many leading spaces for each line
08:22 searchbot` joined #crimsonfu
08:53 larsks joined #crimsonfu
08:53 Whoop joined #crimsonfu
08:53 searchbot_ joined #crimsonfu
08:53 semiosis joined #crimsonfu
08:53 chasmo77 joined #crimsonfu
08:53 comptona joined #crimsonfu
08:53 hydrajump joined #crimsonfu
08:53 bene joined #crimsonfu
08:53 marcoceppi joined #crimsonfu
08:53 bear joined #crimsonfu
08:53 sivoais joined #crimsonfu
08:53 JamesBay1 joined #crimsonfu
08:53 tychoish joined #crimsonfu
08:53 pdurbin joined #crimsonfu
08:53 codex joined #crimsonfu
08:53 jabrcx joined #crimsonfu
08:53 Hien joined #crimsonfu
08:53 JoeJulian joined #crimsonfu
08:53 whorka joined #crimsonfu
08:53 dotplus joined #crimsonfu
08:53 ironcamel joined #crimsonfu
08:53 westmaas joined #crimsonfu
08:53 anton joined #crimsonfu
08:53 mhayden joined #crimsonfu
11:59 JamesBay joined #crimsonfu
12:24 hydrajump joined #crimsonfu
12:25 hydrajump joined #crimsonfu
12:26 hydrajump joined #crimsonfu
12:27 hydrajump joined #crimsonfu
12:27 hydrajump joined #crimsonfu
12:28 hydrajump joined #crimsonfu
12:37 Pax joined #crimsonfu
13:25 pdurbin Native Win32 ports of some GNU utilities - http://unxutils.sourceforge.net
13:26 pdurbin "native means the executables do only depend on the Microsoft C-runtime (msvcrt.dll) and not an emulation layer like that provided by Cygwin tools"
14:02 pdurbin bene: I know you linked to http://vagrantbox.msopentech.com previously, but here's a nice landing page: http://msopentech.com/opentech-projects/vagrant/
14:02 pdurbin "MS Open Tech are pleased to provide an evaluation copy of Windows in the form of a Windows Box for Vagrant and Vagrant Cloud provides a wide range of boxes for Linux"
14:31 hydrajump joined #crimsonfu
14:32 hydrajump [04:24:48]  <hydrajump> I'm terrible at sed and been scratching my head for a while now. Can someone please take a look at this: https://gist.github.com/anonymous/fc4c490a107a23379a34
14:33 hydrajump [04:25:23]  <hydrajump> I'm trying to get the sed to insert the lines with indentation, but there are two many leading spaces for each line
14:59 whorka it looks like sed is printing just as many spaces as you specified... de-indent the source?
15:06 Pax joined #crimsonfu
16:07 Pax joined #crimsonfu
16:23 hydrajump whorka is there no way to keep the indentation, so that sed isn't all the way to the right which will look weird from a source code perspective?
16:23 hydrajump Do you see what I mean?
16:42 whorka mmmhmmm, so you want to embed a sed script in a another script but have the inner script follow the indent rules of the outer script even though it is all in one big single-quoted string
16:43 whorka how about you stick the sed script string in an environment variable, then sed off the leading spaces before you run it? :)
16:54 whorka this is actually a terrible idea b/c the escaping will get all weird... in general things like heredoc and embedded strings need to maintain their own indenting.
16:54 whorka one workaround I've seen though is to concatenate your script into a string one line at a time. then each concatenation line can follow the indenting of the overarching script.
17:37 chasmo77 joined #crimsonfu
18:12 hydrajump Thanks for your suggestions whorka.
18:22 hydrajump joined #crimsonfu
18:34 hydrajump anyone else having connection problems with freenode today?
18:36 semiosis nope
18:37 hydrajump weird last 6-7 hours probably been disconencted 10+ times
18:52 sjoeboo joined #crimsonfu
19:41 comptona joined #crimsonfu
21:41 hydrajump https://github.com/cantino/huginn "Build agents that monitor and act on your behalf. Your agents are standing by!"
23:33 hydrajump joined #crimsonfu
23:56 pdurbin hydrajump: see also munin
23:56 pdurbin searchbot_: lucky munin
23:56 searchbot_ pdurbin: http://munin-monitoring.org/

| Channels | #crimsonfu index | Today | | Search | Google Search | Plain-Text | summary

crimsonfu - sysadmins who code