Posts

syslog - What field does the Docker tag relate to in RFC 5424 -

my docker syslog tags being truncated @ seems 32 characters. when @ rfc 5424 not sure field is. know? trying verify allowed length tag can be. apr 19 06:43:05 ord-nodecore-prd-01 docker/core_sql_event_processor_ha[1207]: 2016-04-19t06:43:05.265z [sqleventhandler] event '3c5e1a15-f8a1-4bfa-b2fa-2e54b2a5fbaa' resulted in 0 relevant application events becomes: <30>apr 19 06:43:05 ord-nodecore-prd-01 docker/core_sql_event_processor_ 2016-04-19t06:43:05.265z [sqleventhandler] event '3c5e1a15-f8a1-4bfa-b2fa-2e54b2a5fbaa' resulted in 0 relevant application events note tag, docker/core_sql_event_processor_ha[1207]: here rfc link: https://tools.ietf.org/html/rfc5424#page-9 i thinking 'sd-name' may 'app-name'. no idea. your example has nothing rfc5424, , looks more rfc3164 (which not standard, collection of older best practices). please read this: https://tools.ietf.org/html/rfc5424#appendix-a.1 search 'tag ' - in essence, r...

relational database - FileMaker - Total SubSummary Values -

i have table records each representing appointment. have name of contactthe appointment with, , date. in table have field contains how many appointments each contact supposed have during day. there 12 entries each contact, because expected have different numbers during different months. i able call data appropriate contactfor appropriate month. looks great in graph when count number of entries contact , put next expected number of entries related table. the problem i'm running need add of expected appointments between of entities. so: ::contactname:: ::appointments:: ::expected:: contact 12 10 contact b 33 34 contact c 18 27 getting roll actual appointments easy, simple count summary field in subsubsummary section. of expected? because contacta had 12 appointments means there 12 records them, putting summary field expected column return ...

If the number of properties is greater than n, return from a highly connected graph in Neo4j -

Image
this question direct extension of question asked here (and , earlier version here ). say have graph database looks this: just previous questions asked, interesting thing someproperty can 'yes' or 'no'. in top row, 1 of 3 nodes has 'yes' property. on bottom row, 3 nodes of 5 nodes have 'yes' property. ( slight philosophical sidenote : i'm starting suspect bad graph schema. why? because, within each set of nodes, each node in connected every other node. i'm not worried fact there 2 groups of nodes, fact when populate graph, talkback says, 'returned 530 rows.' think means created 530 subpaths within graph structure , seems overkill.) anyway, problem i'm trying solve pretty same problem trying solve in earlier, simpler, more linear context here . i want return full path of either of these disjoint graphs, whereas anywhere within said graph count occurrences of someproperty greater 2. i think common, simple pr...

javascript - Jquery rotation rotate img on click -

good evening. @ moment using jquery rotate plugin allow image rotate clicked, image rotates 180 degrees once button clicked again go original position image keep 180 degrees rotation , can't figure out way of putting 0 degree position. can help? here code: html: <div class="box_one"> <div class="box_one_second" id="box-appear"> <p>some text</p> </div> <button id="button-one"><img id="arrowdown"src="#"/> </button> </div> jquery: $(document).ready(function(){ $("#button-one").click(function(){ $(".box_one_second").toggle(200); $("#arrowdown").css('rotate',180); }); }); i can see i'm rotating 180 this, how able reverse once user clicks button go original pos. thanks i'd recommend use jquery's toggleclass adding/re...

ios - Xcode 7 record ui button doesn't appear -

Image
i created ui test class: import foundation import xctest @testable import testproject @available(ios 9.0, *) class changewishlistuitests: xctestcase { func testexample() { // use recording started writing ui tests. // use xctassert , related functions verify tests produce correct results. } } run app on iphone 6 simulator ios 9.3: but, record button, in tutorial: https://developer.apple.com/library/ios/documentation/toolslanguages/conceptual/xcode_overview/recordinguitests.html#//apple_ref/doc/uid/tp40010215-ch75-sw1 didn't appear. your cursor has inside method want implement (because xcode generates code cursor position) if doesn't help: sometimes xcode appears instable when add ui test existing project. following sequence helped me in cases: clean project restart xcode rebuild project click inside test method set cursor sometimes had 2 times. your simulator has run @ least ios 9.0

android - Cardview, cardCornerRadius not working -

i'm trying set cards cardcornerradius not working. take code below: cardview last property cardcornerradius <android.support.v7.widget.cardview xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/user_card_view" android:layout_width="match_parent" android:layout_height="@dimen/card_height" android:layout_gravity="center" android:layout_marginbottom="@dimen/md_keylines" android:layout_marginleft="@dimen/md_keylines" android:layout_marginright="@dimen/md_keylines" android:foreground="?attr/selectableitembackground" android:theme="@style/themeoverlay.appcompat.dark.actionbar" app:cardcornerradius="3dp"> dependencies compile 'com.android.support:appcompat-v7:23.3.0' compile 'com.android.support:design:23.3.0...

jquery - Append options to drop down box? -

i'm working on project want put drop down box , input text field in same td tag. here current code: <td > <label class="avbhide"> <select id="test" name="test"> <option value="">--select user--</option> </select> <input type="text" name="" id="block" class="email" value="" placeholder="example@gmail.com" title="enter email please."/> </label> </td> jquery code use populate dropdown box: var studvalues = []; studvalues.push({'idone':"13",'idtwo':"mike, pears"}); studvalues.push({'idone':"16",'idtwo':"steven, reed"}); studvalues.push({'idone':"14",'idtwo':"john, cook"}); for(var i=0; < studvalues.length; i++){ $('#test').append...