Updates more-or-less every 5 minutes (except when there is no activity). Extracted from Tanktalus' CB Stats' database. Feedback
Shows the last hour or so, but never more than will fit in 64k, nor over two hours. Other sources of cb history
Last update: Jul 30, 2015 at 17:15 UTC
[MidLifeXis]Anyone have a suggestion for a tool to help build an incident-board type display? I have various pieces of data that I need help visualizing the big picture.
[MidLifeXis]Basically tying pieces of a (not well documented) system I am inheriting and that I want to get my arms around. Figured I would have the system, function, host, and other attributes up on a canvas, tie the relationships together with lines, and move ....
[MidLifeXis]the nodes around (manually or automatically with manual tweaks) to get my arms around how to document a system map.
[MidLifeXis]Hmm, that sounds like a graph. Perhaps graphvis or dia can help with that.
[MidLifeXis]I was thinking the police show style postit/paper/pictures on a corkboard with strings between nodes, but that is just a directed graph.
[choroba]I usually use graphviz
[choroba]I have some perl scripts to create nice diagrams of Perl dependencies, function calls and program flow, but not yet ready for publication
[MidLifeXis]I figured I would document the items and relationships as I find them and have the app show me the pretty pictures to help lay it out for documentation purposes.
[MidLifeXis]Really don't want to do that by hand.
[choroba]just use splines = true
[choroba]playing with edge weights usually takes some time
[choroba]but once parts of the images come from the data that changes often, scripting the process is the only way to go
[choroba]*chage
[choroba]**change
[MidLifeXis]Understood. This is info based on textual documentation and tribal knowledge
[MidLifeXis]Just looking to gain an understanding of the whole layout.
[atcroft]MidLifeXis: A table containing the useful info, and a table containing the link between the two items?
[MidLifeXis]Think of a system that has grown organically over a number of years with many undocumented relationships.
[atcroft]MidLifeXis: Then something like GraphViz to show the linkages?
[MidLifeXis]Looking at it right now, ambrus :-)
[choroba]ambrus eq atcroft?
[MidLifeXis]Looks like clustering can also be used to define different views of the data (grouped by machine, grouped by specific application, etc)
[MidLifeXis]MidLifeXis *facepalms* Sorry atcroft (and ambrus)
[atcroft]MidLifeXis: No worries-main thing is to see if it might be a useful suggestion for you. The source isn't nearly as important. :)
[atcroft]MidLifeXis: Apparently GraphViz is deprecated in favor of GraphViz2.
[atcroft]MidLifeXis: GraphViz gallery.
[choroba]I just generate source files with Perl, then run the tools manually or from makefiles. Never tried a module.
[choroba]I wasn't able to set perlio layers correctly for the empty diamond operator here
[choroba]What should I binmode to influence <>?
[Eily]it doesn't seem like you can do it properly
[Eily]since you have to binmode between open and readline
[Eily]and the first call to <> does both at once
[jedikaiti]Your daily shiney!
[Eily]maybe <>; binmode ARGV;seek ARGV 0;
[choroba]Eily: but that wouldn't work if input didn't come from a file
[choroba]yes, binmode ARGV is not possible as the fh is closed
[Eily]indeed, so you'll have to write the whole thing I guess
[tye]That is what open.pm is for, but it has a history of problems
[Eily]@ARGV = '-' unless @ARGV; while (my in = shift @ARGV) { open ARGV, $in; binmode ARGV; <ARGV> }
[choroba]tye I tried it with open, but it was quite similar to the binmode solution.
[Eily]or the three arguments open for <<>>

↑Previous Hour↑
↓Current Hour↓

[choroba]Eily: Heh. Doesn't really seem newbie friendly, though :)
[Eily]no, but <> is not newbie friendly either, as it may have unwanted side-effects
[choroba]Eily: I was replying to your previous code. I love <<>>
[Eily]Yes I understand, what I meant is sometimes code that is a bit long and weird looking is actually better for newbies than code where stuff happens under the hood
[tye]choroba, you did see the '.pm' (or followed the link)?
[Eily]I like <<>> too, but I still avoid it because I often need to stay compatible with v5.14 perl
[Eily]tye: I stopped at "it has a history of problems", I should have clicked though, it is an iterresting pragma !
[GotToBTru]what would be the use case for <<>>?
[tye]better question would be what is the non-contrived use case for <> over <<>>
[choroba]tye: Yes.
[GotToBTru]I know the former. I am what circumstance made somebody think we needed the latter
[GotToBTru]s/what/wondering what/
[choroba]I just wasn't able to make it work
[choroba]use open OUT, ':raw :crlf :encoding(UTF-16LE)', ':std' doesn't seem to change the line endings
[choroba]Putting :crlf at the end doesn't change anything
[GotToBTru]ah okay .. i was able to find a discussion of the double diamond and its use case
[GotToBTru]I had heard the 3 argument open was "safer" but never knew what the danger was in the first place
[tye]I thought you wanted to apply binmode to <>, which is input, not "OUT"
[choroba]tye You need to apply different binmodes to both input and output
[jeffa]what choroba is saying is that input and output are two different things
[tye]So, you don't need to use open.pm (pragma) to binmode output (unless you are doing -i / $INPLACE_EDIT, which was not mentioned). Does this mean that it worked for you for <> ?