i using xcode 8.0 , swift 3 development environment. designing storyboard below, don't know why image in tableviewcell shown on runtime not on storyboard.
does have clue?
looks bug. try changing device 6s plus or else in view as: option in storyboard. might trick.
i have 1 cluster 2 nodes. i trying understand best practise connect nodes, , check failover when there downtime on 1 node. from documentation : es = elasticsearch( ['esnode1', 'esnode2'], # sniff before doing sniff_on_start=true, # refresh nodes after node fails respond sniff_on_connection_fail=true, # , every 60 seconds sniffer_timeout=60 ) so tried connect nodes this: client = elasticsearch([ip1, ip2],sniff_on_start=true, sniffer_timeout=10,sniff_on_connection_fail=true) where ip1/ip2 machine ip's (for example 10.0.0.1, 10.0.0.2) in order test it, terminated ip2 (or put non existent if) now, when trying connect, get: transporterror: transporterror(n/a, 'unable sniff hosts - no viable hosts found.') even ip1 exist , up. if trying connect this: es = elasticsearch([ip1, ip2]) then can see in log if client not getting response ip2, move ip1, , return valid response. so missing here something? thought s...
i've got angular2 reactive form . created formcontrol s , assigned input fields by [formcontrol]=... . understand creates nativeelement <-> formcontrol link. my question: possible nativeelement formcontrol ? wanna myformcontrol.nativeelement.focus() i can share 1 terrible solution works me. in reactive forms can use either 1) formcontroldirective ts mycontrol = new formcontrol('') template <input type="text" [formcontrol]="mycontrol"> or 2) formcontrolname ts myform: formgroup; constructor(private fb: formbuilder) {} ngoninit() { this.myform = this.fb.group({ foo: '' }); } template <form [formgroup]="myform"> <input type="text" formcontrolname="foo"> </form> so these directives write patch like 1) formcontroldirective const originformcontrolngonchanges = formcontroldirective.prototype.ngonchanges; formcontroldirective.proto...
i have database of files tagged. now, upload these files owncloud or nextcloud server , pass on existing tags show tags in respective system. wasnt able yet find way how in documentation, have idea how it? thanks! i made available source code of (remote) file tagging micro-service nextcloud on github ( https://github.com/julianthome/taggy ). implementation consists of 2 parts: 1) taggy client uploading files nextcloud server, , invoking taggy server; 2) taggy server adding specified tags uploaded files. i polish code further within next days. planning add ssl support important because username , password transmitted unencrypted taggy server. server uses these credentials in order check whether user can authenticated before tagging files. please let me know if have other ideas, suggestions or feedback ;) kind regards
Comments
Post a Comment