Posts

Featured post

cordova - Pushwoosh and Android Phonegap App not communicating -

the problem okay have phonegap (2.3.0) android application pushwoosh manage push notifications. followed instructions, , got app few wording errors working. app seems run fine, doesn't seem pushwoosh pushing gcm (google cloud messanger), turn isn't pushing app. think wrong, first time using gcm , pushwoosh. on pushwoosh console page shows each "push" completed no errors, on gcm console doesn't show requests, nor notification pop on phone. i have gcm api key (server key) in xml , pushwoosh correct xxxxx-xxxxx key. here code better outline how code setup (and maybe can see i'm missing). the code here androidmanifest.xml <?xml version="1.0" encoding="utf-8"?> <supports-screens android:largescreens="true" android:normalscreens="true" android:smallscreens="true" android:resizeable="true" android:anydensity="true" /> <uses-sdk android:

set a mysql user variable per row? -

the following sql statement sets user variable @id i'm using in trailing subquery. problem @id variable gets set first items.id in result set - not "per row" - result subquery same every row in main select. know if there's way reset @id variable each row?? select items.id ,items.title ,@id := items.id ,( select group_concat(x.y) ( select group_concat(ledger.stockcode) y ledger @id = ledger.itemid group ledger.stockcode having sum(ledger.stockqty) > 0 ) x ) extras items items.id = 196 try query select a.id ,a.title ,b.y extras items inner join (select group_co

jquery - Full calendar not ordering the events in correct order -

i using full calendar plugin. want events ordering according start date/time ascending. can see below event # 2 , event # 3 & event # 4 in correct order event # 1 not in correct order. should in last. wrong order: [ {"id":"1","title":"aaa","start":"2013-04-01 00:00:00","end":"2013-04-01 23:59:59", "allday":false}, {"id":"2","title":"bbb","start":"2013-04-01 07:30:00","end":"2013-04-01 09:30:00", "allday":false}, {"id":"3","title":"ccc","start":"2013-04-01 08:00:00","end":"2013-04-01 10:30:00", "allday":false}, {"id":"4","title":"ddd","start":"2013-04-01 13:00:00","end":"2013-04-01 10:30:00", "allday":

What are pure virtual methods in UML? -

i attempting understand how should use realization of interfaces , implementation of abstract classes in uml. came across post @ https://stackoverflow.com/a/13438187/700543 whereby poster states pure virtual methods interfaces whilst part pure virtual methods abstract classes. able give me real world scenario , not 1 based on code? an interface "class skeleton" library users extend, , said, methods cannot implemented. abstract class can have implemented methods. give real life example: imagine provide interface people implement sorting functions , provide class bench marking sorting functions. bench marking class needs know methods of interface needs call in order perform bench marking, not know how implemented. therefore, inside bench marking class might see sortinterfaceinstace.getnumberofswap() , whereas sortinterfaceinstance known of sortinterface type @ compile time, , not of specific user sort implementation. if need implemented methods, use abstract

ms access - Value Violates the Validation Rule -

everything works fine on form,i following message when enter incorrect data in particular field: " the value violates validation rule field or record" i don't want user see message. unfortunately, not error message..im not sure why got error since have validation rule , text works fine the problem need make combo-box , text-box validation rule , validation text..the problem make 1 text box that's why value violates validation rule field or record error keeps pops up if done text box , combo-box validation text message box display without error..

java - How can I read html that loads after the rest of the other html? -

ok, sorry question crap. it's hard put question :p if put word thought dictionary.com or irregular verb pronunciation [thawt] loads after rest of html. if check code you'll see mean. instead of [thawt] loads [thingk].. package oepr; import java.awt.eventqueue; import java.awt.gridlayout; import java.awt.toolkit; import javax.swing.jframe; import javax.swing.jbutton; import java.awt.gridbaglayout; import java.awt.gridbagconstraints; import java.awt.datatransfer.clipboard; import java.awt.datatransfer.clipboardowner; import java.awt.datatransfer.stringselection; import java.awt.datatransfer.transferable; import java.awt.event.actionevent; import java.awt.event.actionlistener; import java.io.bufferedreader; import java.io.inputstreamreader; import java.net.url; import java.net.urlconnection; import java.util.regex.matcher; import java.util.regex.pattern; import javax.swing.grouplayout; import javax.swing.grouplayout.alignment; import javax.swing.layoutstyle.componentp

php - Unknown column 'Process_Status' in 'where clause' -

$result = mysql_query('select * accounting acctstatustype = "start" , process_status null limit 10'); if($result === false) { die(mysql_error()); } the following code spits back unknown column 'process_status' in 'where clause' however, when copy , paste query select * accounting acctstatustype = "start" , process_status null limit 10 directly mysql, successful. i bit new php/mysql queries have worded differently when parsing them php? thanks, matt