Posts

java - javax.net.ssl.SSLException: Received fatal alert: protocol_version -

has encountered error before? i'm new ssl, there wrong clienthello i'm missing? exception thrown no serverhello response. advice appreciated. *** clienthello, tlsv1 randomcookie: gmt: 1351745496 bytes = { 154, 151, 225, 128, 127, 137, 198, 245, 160, 35, 124, 13, 135, 120, 33, 240, 82, 223, 56, 25, 207, 231, 231, 124, 103, 205, 66, 218 } session id: {} cipher suites: [ssl_rsa_with_rc4_128_md5, ssl_rsa_with_rc4_128_sha, tls_rsa_with_aes_128_cbc_sha, tls_dhe_rsa_with_aes_128_cbc_sha, tls_dhe_dss_with_aes_128_cbc_sha, ssl_rsa_with_3des_ede_cbc_sha, ssl_dhe_rsa_with_3des_ede_cbc_sha, ssl_dhe_dss_with_3des_ede_cbc_sha, ssl_rsa_with_des_cbc_sha, ssl_dhe_rsa_with_des_cbc_sha, ssl_dhe_dss_with_des_cbc_sha, ssl_rsa_export_with_rc4_40_md5, ssl_rsa_export_with_des40_cbc_sha, ssl_dhe_rsa_export_with_des40_cbc_sha, ssl_dhe_dss_export_with_des40_cbc_sha, tls_empty_renegotiation_info_scsv] compression methods: { 0 } *** [write] md5 , sha1 hashes: len = 75 0000: 01 00 00 47 03 01 5...

iPad html elements not appearing - until user interaction -

i'm having problem text , images not loading on page when using ipad, 2 , 3. it's quite random, intermittent problem seems effect same sort of items. can't see different or special items. text has error uses embedded font, other text on page render using same font, doesn't appear font embed has failed. images error in carousel, , seem appear once start swipe it. seems show once user has interacted it. person find having similar problem, said them elements weren't on first viewable page before scrolling, whereas me of elements "above fold" too. fix add -webkit-transform: translate3d(0, 0, 0) elements hasn't helped me. know why happening , fix may be? unfortunately cannot reveal site in question. thanks when loading page, loading in viewdidload or viewdidappear? try using viewwillappear instead.

sql server - Any consequences when re-creating a table? -

if want extend column length 30 60 characters varchar column in sql server management studio, have uncheck box prevent saving changes require table re-creation . are there side effects doing table re-creation? reset identity or increment seed, loose indices or find other unwanted effects? i need on live db , don't want find out hard way has changed. this metadata change not require rebuilding table. alter table yourtable alter column yourcolumn varchar(60) [not] null regarding question "are there side effects doing table re-creation" through gui. it unnecessary overhead in case , block concurrent users until table copied , recreated. additionally designer has known bugs when doing (e.g. drops filestream attribute columns)

wordpress - Create a rank column on MySQL query -

i have mysql query want add column rank users, based on balance. query is: select (display_name) 'author', ifnull(round(sum(balance.meta_value),2),2) 'balance', ifnull(round((((sum(balance.meta_value+bet.meta_value)- sum(bet.meta_value))/sum(bet.meta_value))*100),2),2) 'yield %' wp_posts p join wp_users u on p.post_author = u.id left join wp_postmeta bet on p.id = bet.post_id , bet.meta_key = 'bet' left join wp_postmeta balance on p.id = balance.post_id , balance.meta_key = 'balance' p.post_status = 'publish' group u.id order balance desc i tried adding set @rownum := 0; , @rownum := @rownum + 1 rank doesn't work, rank not sorted highest balance. can me. thanks. select *, @rownum := @rownum + 1 ( select (display_name) 'author', ifnull(round(sum(balance.meta_value),2),2) 'balance', ifnull(round((((sum(balance.meta_value+bet.meta_va...

scala - AKKA receive reference to message -

in java declaration of onreceive includes reference message object. public void onreceive( object message ) { if( message instanceof myclass ) { in scala no such reference included , cases specific def receive { case "test" => println("ttt") } is there way access received message in scala? like, example, manually forward unknown messages specific actor. like def receive { case "test" => println("ttt") case _ => anotheractor ! themessage } yes, amazingly simple: def receive { case "test" => println("ttt") case themessage => anotheractor ! themessage }

arduino - Bluetooth Chat and Android - Bad data received -

i have problem receiving data arduino using bluetooth sample app. my basic arduino code sends data @ regular intervals. have tried various baud rates. void setup() { serial.begin(57600); } void loop() { serial.print( 1234 ); delay(1000); } the data received in bluetooth chat app gets split 2 parts , first part wrong. data following (my bluetooth device named hc05): hc05: 1 hc05: 234 hc05: 12 hc05: 34 hc05: 1234 hc05: 2 hc05: 234 hc05: 34 hc05: 34 how can fix this? ideas? use println() instead of print() on arduino side. can end of line character on android side make sure whole line. here link similar question example code: error receiving xml strings via bluetooth in android

java - EJB client not displayed on Weblogic -

hi have created ejb 3.0 app , have exposed ejb webservice . have created locale , remote interface same. now port of server 7005 have deployed ejb blocked whereas through ssh proxy 17005 opened . now when go weblogic console , open ejb , go client using port 17005 see wsdl of service not able see ejb client . also when use wsdl through soap ui able run application whereas when create remote client of ejb getting "javax.naming.communicationexception [root exception java.net.connectexception: t3://10.129.196.209:17005" error my ejb remote looks like @remote public interface analyticnotificationwebservice { // public string executeandsave( ) throws exception; /** * method description * * * @param input * * @throws exception * @throws ioexception */ public void sendnotification(analyticsreportsschedulerdto analyticsreportsschedulerdto) throws exception; } whereas bean code like @stateless(name = "analyticsnotificationejbwebservices...