Posts

How pentaho's copy block handles dublicate data? -

i trying copy mysql db hana db through pentaho's copy table wizard. automatically created workflow confused if destination db partially filled, handle dublicate rows or copy them anyways? the copy table wizard doesn't analyze duplicates. attempts run bunch of insert statements destination db. it's job etl developer ensure duplicate data filtered out or alternatively, updated on target db. check insert/update step. performance of course lower, each row first database lookup , depending on lookup results either insert or update issued.

google apps script - Email notification if specific cell is changed and add another cells value to message without change tracking -

what did: if cell in column m has been changed, email notification has been sended specify adres column n @ same row. need specify body text other columns @ same row. did working causes if other declared columns (such project, customer, task, executor) has been changed emil has been send to. what need: just track change in 1 "m" column , put @ body of email additional data other columns same row. , (thats point) did not track change @ other columns, email should send if changing column m. probably easy, i'm twisted... i bulid script based on: email notification if cell changed how attach onchange cell value event/script google sheet restrict notifications sent changes referenced in columns my script: function sendnotification() { var ss = spreadsheetapp.getactivespreadsheet(); var sheet = ss.getactivesheet(); var cell = ss.getactivecell().geta1notation(); var row = sheet.getactiverange().getrow(); var cellvalue = ss.getactivecell().getval...

c# 4.0 - How to run the timer tasks asynchronously? -

hi developing windows phone 8 app using c# , xaml. previous team has developed code, have used many methods in timer control. when updating methods calling , blocking ui. there way use timers asynchronously ui can not blocked. in advance you should use "xaml binding" updating ui

java - Primefaces selectManyCheckbox -

i have selectmanycheckbox, cant checked values after change event (list of selected values stay empty). change event triggered in debug mode there no values in listselectedsignalcauses. tried set converter didnt either (maybe wrong converter). <p:selectmanycheckbox value="#{signalanalysisbean.listselectedsignalcauses}" layout="pagedirection" styleclass="lstsignal"> <f:selectitems value="#{signalanalysisbean.listsignalcauses}" var="causes" itemvalue="#{causes}" itemlabel="#{causes.name}" /> <p:ajax process="@this" update="test" event="change" listener="#{signalanalysisbean.checkcauseslist}" /> </p:selectmanycheckbox> <h:outputtext value="#{signalanalysisbean.arrsize}" id="test" /> public class signalanalysisbean extends abstractbean { private list<generalcolldto> listsignalcauses; ...

java - How to convert audio inpustream from google translate to wav file? -

i'm taking project make text speech google api : https://code.google.com/p/java-google-translate-text-to-speech/ . used code in part "playing translated text". project works well. want create wav file inputstream received google translate. tried codes: try { sound = audio.getaudio(text_, language.french); audioinputstream ais; ais = new audioinputstream(sound,format,sound.available()); //ais = audiosystem.getaudioinputstream(sound); //audioinputstream lowresais = audiosystem.getaudioinputstream(format, ais); audioformat aisformat = ais.getformat(); system.out.println(aisformat.tostring()); audiosystem.write(ais, type.wave, newfilepath);} } catch (ioexception e) { // todo auto-generated catch block e.printstacktrace(); } but wav file doesn't work, when double-click play it, have no voice. have tried convert audio received google translate wav file in java? please helps me resolv...

javascript - PhoneGap/Cordova not listening for 401, modifying http response code to 200 not working -

cpg = cordova/phonegap this question pretty result of earlier question on phonegap/401 bug here: angular not getting response when it's non-200 the resolution (at time) implement timeout on of calls. fine until hit production. realized app being used in spotty areas, , "timeout" there wasn't enough connection @ time. so, not acceptable solution our environment/app. since cpg not "listen" 401 response code, thought maybe change response code that's coming know cpg listens for, , modify message body , process accordingly. so, applied @ our gateway (firewall -> loadbalancer -> gateway (where ad authentication occurs) -> service) level, process of modifying 401 responses return 200 status code, message "authentication failed", or that. first test check , make sure response correctly via fiddler. well. next, when checking in ou cpg application (running angularjs), still never receive response. i'm able see in fiddler every...

visual studio 2013 - cannot find "use IIS Express" in the Solution Explorer dropdown in VS2013 -

i installed vs 2013, , cannot find option use iis express when right click on website project name. did option moved? without option when open existing website, , run, 403.14 forbidden error saying http error 403.14 - forbidden web server configured not list contents of directory. i'm new visual studio 2013, appreciate can provide... open project properties , , go web tab. in servers section should see dropdown 3 options: local iis, iis express , , external host. see web servers in visual studio asp.net web projects more information.