Posts

r - Overlapping tables from grid.arrange in gridExtra -

i'm trying build automated report have 3 charts right underneath each other without margin space between each other. i've mocked problem following rmd script --- output: pdf_document --- ```{r setup, include=false} library(gridextra) ``` ```{r, echo=false} car_tbl <- tablegrob(mtcars[1:10,]) grid.arrange(car_tbl, car_tbl, car_tbl) ``` you can see how tables overlap each other. there seems there few issues comprising problem. how use options of tablegrob , grid.arrange keep tables overlapping. how make sure nothing cut off? in other words, how set graphic take whole page if need too? how can re-actively shrink text of plot fit on 1 page? how can set size of page whatever size want? there options set knitr document print pdf page of size want? perhaps poster size if need to? there different angles approach question. here's working example 3 tables fitting in 1 chunk placed on pdf of size a2. --- output: pdf_document geometry: paper=a2pape...

python - CERTIFICATE_VERIFY_FAILED error during mutual authentication -

i'm using mutual authentication , python2. generate certificates server , client use form: openssl -newkey rsa:2048 -keyout server.key -out server.crt req -x509 -nodes -days 365 i wrap sockets this: ssl.wrap_socket(s, ssl_version=ssl.protocol_tlsv1, cert_reqs=ssl.cert_required, keyfile=keyfile, certfile=certfile) and following error occurs running connect on socket on client side: file "/usr/lib/python2.7/ssl.py", line 844, in connect self._real_connect(addr, false) file "/usr/lib/python2.7/ssl.py", line 835, in _real_connect self.do_handshake() file "/usr/lib/python2.7/ssl.py", line 808, in do_handshake self._sslobj.do_handshake() ssl.sslerror: [ssl: certificate_verify_failed] certificate verify failed (_ssl.c:590) i read somewhere may incompatibility between certificates , version of python, not sure. can provide exact version of python 2 (i think python 2.7) , openssl when i'm on main computer. any figuring out appreciated. ...

java - WebSphere Liberty Server (IBM Bluemix) - error when run the RESTful web-service on server -

i have maven restful web service application (with jax-rs support). api works when run on tomcat v7.0 server. however, error when deploy same project on websphere liberty server, used in bluemix. when deploy application, loads without problem. able open index.jsp page well. runs of api request calls (usually requests not take input, not produce output. however, of api requests shows error: launching defaultserver (websphere application server 8.5.5.9/wlp-1.0.12.cl50920160227-1523) on java hotspot(tm) 64-bit server vm, version 1.8.0_60-b27 (en_us) [audit ] cwwke0001i: server defaultserver has been launched. [audit ] cwwke0100i: product licensed development, , limited production use. full license terms can viewed here: https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/wasdev/license/base_ilan/ilan/8.5.5.9/lafiles/en.html [audit ] cwwkz0058i: monitoring dropins applications. [audit ] cwwki0001i: corba name server available @ corbaloc:iiop:localhost:2809/names...

tfs2015 - Reporting TFS 2015 tag data in custom SSRS Reports -

i need add tag reporting capability collection of custom ssrs reports query tfs_warehouse (and in 1 case had query operational store gather test case steps). these reports use sql server datasource connected custom tfs_warehouse_extensions database. if sounds familiar, asked question yesterday , got wonderful response... discovered upgraded 2013 2015 last week , dbo.workitemsare gone. i using vs 2015 , more of database developer c# programmer (i know enough dangerous). there way can tags tfs 2015 workitems ssrs reports? edit: proposed duplicate answer not same problem. whether or not work items views went missing ancillary. requirement way query tfs tags in ssrs. far consider unanswered in either thread since no 1 has proposed solution meets requirement. @cyndi, i'm program manager reporting team. reporting tags not supported aside queries query editor. have new reporting solution we're working on , reporting on tags supported. don't have exact date re...

css - What are some good ideas for automatically including external link tags from inside of an NPM component folder, into a larger project using Gulp? -

what ideas automatically including external <link> tags inside of /node_modules/mycomponent/ folder, larger project using gulp? the external <link> tags use absolute paths, appear similar this: <link rel="stylesheet" href="https://www.somecdn.com/somepath/somelibrary.css"/> example font-awesome cdn href, previous <link> tag: href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" problem: have component, uses font awesome icons & external <link> tag similar what's shown above. when include component module of larger project, icons disappear larger project. yet icons appear correctly in component. what i've tested: when test component itself, icons displayed on-screen. stylesheet's external url correct. component renders correctly in-browser stand-alone npm component. using npm test cli shows unit tests pass green checkmarks. possible solutions: know can...

App Crash with WebView -

please me. want put webview in app. if make new project works fine. when want put in app crash. included mainactivity / java file / layout file / logcat mainactivity import android.app.fragmentmanager; import android.os.bundle; import android.support.design.widget.navigationview; import android.support.v4.view.gravitycompat; import android.support.v4.widget.drawerlayout; import android.support.v7.app.actionbardrawertoggle; import android.support.v7.app.appcompatactivity; import android.support.v7.widget.toolbar; import android.view.menu; import android.view.menuitem; import android.webkit.websettings; import android.webkit.webview; import android.webkit.webviewclient; public class mainactivity extends appcompatactivity implements navigationview.onnavigationitemselectedlistener { private webview mwebview; @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); mwebvie...

assembly - Array definition misunderstanding? -

i read kip irvine x86 assembly book , have 2 questions. 1) meaning of definition: array2 word 5 dup(3 dup(?)) 2) difference between myarray byte 10,20,30,40,50, 60,70,80,90,100 and myarray byte 10,20,30,40,50 byte 60,70,80,90,100 in array definition? array2 word 5 dup(3 dup(?)) this creates array of 5*3 words, 30 bytes in total. none of these bytes defined value because ? placeholder means assembler assigns space not initialize contents. myarray byte 10,20,30,40,50, 60,70,80,90,100 ... myarray byte 10,20,30,40,50 byte 60,70,80,90,100 both these initializer lists declare same array. in first case list not interrupted transition line added comma. becomes important when using lengthof , sizeof operators. in first case lengthof , sizeof yield 10, in second case they'll give 5.