Posts

Showing posts from January, 2011

sql server - sql agent job run_status = 0 even if "Quit the job reporting success" -

Image
we using ms scom monitor result of ms sql agent jobs. currently error if step of job failed. developers says wrong , should alert if whole job fails, if steps not working ok i create test job 1 step result error. lets find job , results: select j.name, j.job_id, jh.step_id, jh.step_name, jh.run_status, case jh.run_status when 0 'failed' when 1 'succeeded' when 2 'retry' when 3 'canceled' when 4 'running' else 'unknown' end run_statusstring, j.enabled, jh.message, msdb.dbo.agent_datetime( case when jh.run_date = 0 null else jh.run_date end, case when jh.run_time = 0 null else jh.run_time end) last_runtime msdb.dbo.sysjobhistory jh inner join ( select distinct jh.job_id, max(jh.instance_id) instance_id msdb.dbo.sysjobhistory jh jh.step_id != 0 group jh.job_id ) on jh.job_id = a.job_id , a.instance_id = jh.in

Notification after subscription through authorize.net -

i developer , set authorize.net subscription. suppose subscribed 12 months january. can transaction id , payment status , other necessary information on january or after first payment. how can transaction id , payment status , other necessary information on 2nd, 3rd, 4th payment , on. you information inside authorize.net merchant interface : https://account.authorize.net under recurring billing option, inside the transaction status report page find monthly transaction status dashboard which contains subscriptions transaction details there arb email notifications options transactions in email, under recurring billing option

ios - pass argument in selector for scheduleTimerwithTimeInterval -

in swift, have uitableviewcell has double tap , single tap implemented. double tap works. however, having bit of trouble single tap. due present of double tap, implemented single tap timer. following code prints out "single tapped" func tableview(tableview: uitableview, didselectrowatindexpath indexpath: nsindexpath) { var = nsdate().timeintervalsince1970 if (now - lastclick < 0.3) && indexpath.isequal(lastindexpath) { // double tapped on cell if let cell = discovertableview.cellforrowatindexpath(indexpath) as? commentcell { cell.doubletapcellactive({ (addbumpstatus, success) in }) } singletaptimer?.invalidate() } else { singletaptimer = nstimer.scheduledtimerwithtimeinterval(0.31, target: self, selector: #selector(discovervc.singletapped), userinfo: nil, repeats: false) } lastclick = lastindexpath = indexpath } func singletapped() { print("single tapped"

html - How do I change the arrow in the select with Chosen plugin? -

Image
so can't figure how change dropdown arrow, need change arrow: original how want like i using chosen plugin, don't know if effects in general edits on <select> . heres php: <div class="paistofill"> <select class="form-control bfh-countries chosen-select " data-country="pt"> <option value="pt">portugal</option> <option value="af">afghanistan</option> <option value="al">albania</option> <option value="dz">algeria</option> <option value="as">american samoa</option> <option value="ad">andorra</option> <option value="ao"&g

Subviews disappears while performing Flip Transition second time? -

i'm performing flip view transition on 2 views, bounded in container view. flippng them first time working fine. on second time views frame goes out of view. like [<uiview: 0x7fc2316aa030; frame = (-154 -529; 0 0); autoresize = rm+bm; layer = <calayer: 0x7fc2316aa1a0>>] after flipping again, shows container view. it's working fine if uncheck "use autolayout" in project. but wwhat if using autolayout??? here code: @ibaction func flipviews() { if a==false { uiview.transitionfromview(new, toview: old, duration: 1, options: .transitionflipfromleft, completion: {(isfinished : bool) in print(self.view_effects.subviews) // self.old.frame=self.view_effects.frame }) a=true } else { uiview.transitionfromview(old, toview: new, duration: 1, options: .transitionflipfromleft, completion:{(isfinished : bool) in print(self.view_effects.s

Android Dragging and Scaling in FrameLayout -

recently have been trying implement dragging , scaling on picture place in framelayout. want achieve simple: able drag picture around , zoom it. went android developer website , followed guide there . then following code examples on website wrote mycustomview : public class mycustomview extends imageview { private static final int invalid_pointer_id = 0xdeadbeef; private scalegesturedetector mscaledetector; private float mscalefactor = 1.f; private float mlasttouchx, mlasttouchy; private int mactivepointerid = invalid_pointer_id; private layoutparams mlayoutparams; private int mposx, mposy; public mycustomview(context context) { super(context); mscaledetector = new scalegesturedetector(context, new customscalelistener()); mlayoutparams = (layoutparams) super.getlayoutparams(); if (mlayoutparams != null) { mposx = mlayoutparams.leftmargin; mposy = mlayoutparams.topmargin; } else { mlayoutparams = new layoutparams(300, 300); m

java - LMAX Disruptor as a blocking queue? -

is there way can have both in 1 structure - semantics of blockingqueue, ie - non blocking peek, blocking poll , blocking put. multiple providers 1 consumer. ringbuffer, works object pool, instead of putting new object in ring buffer, want reuse existing object there, copying state. functionality lmax disruptor has out of box. is there works already? guess can try , use disruptor that, can use blocking queue blocking put(if ring buffer "full") if understand correctly. has "reusable objects" semantics need. problem how create client able pull objects(instead of using callbacks), i'm not familiar internal disruptor structure - can done? sequencers, creating new eventprocessor or that? and no, obvious solution of having blocking queue on client side , getting not ideal solution, breaks whole point of using disruptor object pool - you'll need have new pool now, or create new objects in callback before putting in blocking queue etc, , don't want h

php - Why mysql sql query is taking long time to get the result? -

Image
in mysql db table contact_details have 12,000 rows , it's continuously updating. now have search form need search data db table contact_details for e.g : searching 2 in type column contact_details table , there 11,000 records of 2 . in situation, sql query taking long time produce result ! sometime it's showing me maximum time exceed. should result more ? here contact_details table : here search form error message : i using following sql query search result : if(!empty($ad_keyword)) { $getsearch = "select * (select group_concat(distinct keywordname order keywordname) keywordname, "; } else{ $getsearch = "select "; } $getsearch .= " cd.cdid, cd.family_name, cd.given_name, cd.department, cd.title, company.*, users.nickname, contact_label.label_data contact_details cd left join users on users.user_id = cd.user_id left join company on company.cid = cd.cid left join contact_d

cmd - Set undefined variables in a batch file FOR loop -

in batch file arbitrary number of variables listed, defined, others not. how can set undefined (not set value) variables names starting "_" 1 in loop or iterative way? the code below prints defined variables starting "_" (underscore), doesn't set undefined variables 1. @echo off setlocal enableextensions enabledelayedexpansion :variables set "_a=good" & set "_b=" & set "c=" & set "d=6" & set "_e=bad" set "_f=" & set "_g=ugly" :core /f "tokens=1,2 delims==" %%i in ('set _') ( if "%%j"=="" set "%%i=1" echo %%i %%j) /f "tokens=1,2 delims==" %%i in ('set _') ( set "varn=%%i" & set "varp=%%j" if not %%j equ 1 (echo %%i = %%j ) else (set /p "%%j=enter %%i > " 2>nul) ) call :verify !varn! !varp! exit /b :verify rem more code @echo

tkinter - I have too fix something in my Copy&Paste program in Python -

this copy&paste program: from tkinter import * import pmw class copytextwindow(frame): def __init__(self): frame.__init__(self) pmw.initialise() self.pack(expand=yes, fill=both) self.master.title("scrolledtext demo") self.frame1=frame(self, bg="white") self.frame1.pack(expand=yes, fill=both) self.text1=pmw.scrolledtext(self, text_width=25, text_height=12, text_wrap=word, hscrollmode="static", vscrollmode="static") self.text1.pack(side=left, expand=yes, fill=both, padx=5, pady=5) options = ["copy", "paste"] self.selectedoption = stringvar() self.menu = menu(self.frame1, tearoff=0) option in options: self.menu.add_radiobutton( label=option, variable=self.selectedoption, command=self.executeoption) self.text1.bind("<button-3

python - Saving an object with unsaved related objects -

is there reason why django doesn't provide ability automatically save unsaved related objects? from docs : changed in django 1.8.4: previously, saving object unsaved related objects did not raise error , result in silent data loss. in 1.8-1.8.3, unsaved model instances couldn’t assigned related fields, restriction removed allow easier usage of in-memory models. i can understand why there a valueerror: save() prohibited prevent data loss due unsaved related object instead of saving object default (my guess explicit better implicit), wasn't able find aforementioned feature request. from ticket lead change i prefer failing , loudly, raising exception when unsaved object assigned related field. i listen argument trying re-fetch pk cached related instance in save(), feels action-at-a-distance: actual problem happened earlier. automatically saving related objects magic; i'm sure considered unexpected , undesirable in circu

java - How to figure out which objects survived n minor GC -

in application see objects keep coming old gen: - age 1: 23911192 bytes, 23911192 total - age 2: 627816 bytes, 24539008 total - age 3: 60344 bytes, 24599352 total - age 4: 19488 bytes, 24618840 total - age 5: 12864 bytes, 24631704 total - age 6: 10632 bytes, 24642336 total - age 7: 11472 bytes, 24653808 total - age 8: 10944 bytes, 24664752 total - age 9: 39480 bytes, 24704232 total - age 10: 10288 bytes, 24714520 total - age 11: 8072 bytes, 24722592 total - age 12: 9976 bytes, 24732568 total - age 13: 13112 bytes, 24745680 total - age 14: 8928 bytes, 24754608 total - age 15: 8600 bytes, 24763208 total <-- these guys? so, wanted ask best way figure out objects survived 15 minor gc? application works hour, it's not warm period. i'm not aware of option breaks down instances tenuring age but if ask objects live age 16 instead that&

tfs sdk - Microsoft TFS SDK gradle -

i include microsoft tfs sdk jar gradle build tried multiple example based on different blogs in project dependency have tried below dependency: compile "com.microsoft.tfs:sdk:14.0.2" compile "com.microsoft.tfs:tfssdk:14.0.2" compile "com.microsoft.tfs:tsf-sdk:14.0.2" but non of them working. please let me know if have support tfs sdk jar in gradle.

node.js - Exporessjs Controller and action names in view files -

i have few routes like. app.get('/help', controllers.static.help); app.get('/about', controllers.static.about); app.get('/posts', controllers.posts.index); under layout.ejs want fetch controller , action names , assign body class. like. <body class="<%= locals.controllername %>_<%= locals.actionname %>"> in app have many hundred of such routes , don't want pass view parameters in each controller action. is there central hook or way fetch above requirements?

internet explorer 7 - Issue with bootstrap 3.3.4 forms in IE7 -

i'm trying fix app using bootstrap work in ie7. causing me serious headache. so far elements have done following: included respond.js included html5shiv.js but having problems following markup: <div class="form-group ng-scope"> <div class="form-group "> <label class="col-sm-2 control-label ng-binding" for="">forename</label> <div class="col-sm-10"> <div> <input type="text" class="form-control ng-pristine ng-valid ng-touched" id="" ng-model="field.value.text"> </div> </div> </div> </div> in browsers except ie7 label appears left inline text element. in ie7 appears above. are there known issues here? i've noticed of elements using display:table; , i'm aware isn't supported in ie7. downgraded version 3.3.4 2.3.2

angularjs - MVC 6 API Multiple Parameters -

i have following api, takes care of updating items in database: [route("update")] [httppost("")] public jsonresult updaterecords([frombody]icollection<shoppingitemviewmodel> vm) { if (modelstate.isvalid) { try { var items = mapper.map<ienumerable<shoppingitem>>(vm); //update database _repository.updatevalues(items, user.identity.name); return json(null); } catch (exception ex) { response.statuscode = (int)httpstatuscode.badrequest; return json(null); } } else { response.statuscode = (int)httpstatuscode.badrequest; return json(null); } } then under angular code executing post method following: $scope.savechanges = function () { $http.post("/api/items/update",

Syntax error in JavaScript (Rhino) if/else statement in HP OO 9 -

i'm building simple pre-response scriptlet in hp oo 9. mybody refers input variable "body". want change content of body input variable depending on whether or not empty. i'm getting complaint on line 5 , 6. line 5 states missing ; before statement , line 6 states syntax error . going on here? don't see unusual here. mybody = body; if (!mybody || mybody.length === 0) { body = "there no unassigned servers report."; } else { body = ${myreport}; } mybody = body; if (!mybody || mybody.length === 0) { body = "there no unassigned servers report."; } else { body = "${myreport}"; } flow variables in hp oo 9 strings, value must included within set of quotation marks.

android - Fetching Single Item From Realm DB where the item is the Item with most recent timestamp -

i using realm db in android app , want fetch 1 item recent timestamp. couldn't achieve because don't know do. but, i'm doing topicmodel topicmodel = realm.where(topicmodel.class).equalto("rootmessageid", getrootmessageid()).findfirst(); list<messagemodel> messagemodel = realm.where(messagemodel.class) .equalto("themaintopidid", topicmodel.getradomudid()) .findallsorted("updatedtime", sort.descending); log.e(tag, "recent message: " + messagemodel.get(messagemodel.size() - 1).getupdatedtime()); i don't think can same implementation describe mongodb. sorting results @ end of or after query. however, realmresults after calling findall example very low memory consuming list of references. results query not copied objects, references. see class description of realmresults : this class holds matches of realmquery given realm. objects not copied

javascript - Ajax get table value based on row -

i can first , last value row can`t second , third value of row. can me. this code => html <tr> <td>one</td> <td>two</td> <td>three</td> <td>four</td> <td><button class="btndelete">delete</button></td> </tr> => javascript $(".btndelete").click(function (evt) { var cell=$(evt.target).closest("tr").children().first(); var cell2=$(evt.target).closest("tr").children().last(); var custid=cell.text(); var custid2=cell2.text(); alert(custid); alert(custid2); } thanks . i think it's easier values without jquery. using htmltablerowelement.cells dom property. array, not array. $("#mytable").on('click','.btndelete',function(){ // current row var currentrow = $(this).closest("tr")[0]; var cells = currentrow.cells; var firstcell = cells[0].tex

How to make a word wrap in the text of an element (Text, Label, displayField) with ExtJS 4.2.1? -

Image
must show text greater component in inserted. currently, text not wrap automatically. i've tried using following components: text, label , display field have tried text contains white space? single word long won't wrapped ever, multiple shorter, space-delimited words maybe will, depending on component use. if want show long text, use container , put text html configuration, , auto-wrap. the components named have usage, not simple long text: text draw package, , specialized formatting. displayfield inside form whenever want display (read-only) value part of record load form. displayfield won't wrap @ - try textareafield readonly configuration that. label label of form field, if used via labelable mixin, of work. label should make content wrap around if provide fixed width or maxwidth, not automatically adhere parent object layout.

Attach event using Javascript -

i'd attach event when function called, seems not working using addeventlistener ... my code : function add () { this.inputstring.input.addeventlistener('mouseover', toggle.call(this)); } function toggle () { $(this.tooltip).toggle(); } issue : toggle() function doesn't work. however, this.inputstring.input , this.tooltip not emtpy... the apparent problem see here should attach function addeventlistener 's second argument, not call itself: this.inputstring.input.addeventlistener('mouseover', toggle); then should consider reviewing toggle() function itself. mean this.tooltip ? but out of scope of question (about attaching events).

r - Can't mutate despite object as data.frame -

i have subset of data (as shown below). reason can't mutate data.frame in way. i error message: error: data_frames can contain 1d atomic vectors , lists which should stem me not returning object class either list or data.frame itself, can't make mutations returns numeric value. data > fvaluation.head conm firm.value isin fyear industry total.pmg exchange industry.classification list short.name feb.price current.price 1 2e group 15.2460627 se0000680902 2015f other service 0.62 sto consumer services first north premier 2e 12.75 12.95 2 a-com ab na se0000592677 2015f other service 0.62 <na> <na> <na> <na> na na 3 aak ab 423.2503370 se0001493776 2015f other production 0.31 sto consumer goods large aak 430.00 4

C# projects analyzed with MSBuild.SonarQube.Runner: SQ doesn't show source code with rule violations -

i analyze c# projects using msbuild.sonarqube.runner-2.1 : msbuild.sonarqube.runner.exe begin /k:"%skey%" /n:"%sname%" /v:"%sversion%" "c:\program files (x86)\msbuild\14.0\bin\msbuild.exe" /t:rebuild msbuild.sonarqube.runner.exe end the analysis works fine , analyzed project created on sq. the problem when click @ 'issues' on project's site on sq , double-click @ issue source code corresponding rule violation not shown! why? sq version: 5.3. vs version: 2015. i think found reason: fxcop rules violated. , fxcop analyzes compiled managed code makes impossible associate rule violation concrete line of code. among fxcop rule violations found 1 stylecop rule violation in project. violation source code displayed because stylecop analyzes source files.

android - React on no movement for longer time -

i react on situation, android smartphone didn't move longer time. this, created service, implements sensoreventlistener. how can reach, service something, if smartphone didn't move since, example, 10 minutes? how can decide, if changes significant or not? how fail measurements? ideas? @override public void onsensorchanged(sensorevent event) { if (event.sensor.gettype() == sensor.type_accelerometer) { if (changes significant) { lastchangestimestamp = system.currenttimemillis(); values = event.values; } else if (changes not significant , last significant changes 10 minutes ago) { dosomething(); } } }

docker - getting bundler load error frequently and no such file Gemfile error -

below docker file in project's root directory:- from ruby:2.2 maintainer technologies.com run apt-get update -qq && apt-get install -y build-essential run apt-get install -y libxml2-dev libxslt1-dev run apt-get install -y libqt4-webkit libqt4-dev xvfb run apt-get install -y nodejs env install_path /as_app run mkdir -p $install_path workdir $install_path copy gemfile gemfile run bundle install copy . . expose 3000 cmd ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"] below contents in docker-compose.yml file in project's root directory :- as_web: build: . environment: - rails_env=development - queue=* - redis_url=redis://redis:6379 volumes: - .:/as_app ports: - 3000:3000 links: - as_mongo - as_redis command: rails server -b 0.0.0.0 as_mongo: image: mongo:latest ports: - "27017:27017" as_redis: image: redis ports: - &qu

javascript - Importing es6 modules with a globbing patterns in browserify -

i have bunch of modules want import main file (im working browserify). now have 30 folders modules in them, , seems redundant type out every import them. let's assume don't know folder names in packages folder. so thinking this: import * actions '../packages/**/*.actions.js' but give me error can't find modules... i've looked @ implementations in combination systemjs, doesn't fit me well.

Google Apps Script, Propagate comma separated list from google forms list .onlyOnWeekdays() as variable calls -

i have form creating days of week event may occur on (mon, tue, wed etc) - output gives days of week, comma separated in single cell on spreadsheet. i have called cell apps script. need put contents of list in .onlyonweekdays google calendar entry being created occurs on appropriate weekdays. every time try put list in remotely, cannot convert array weekday[]. here code function export_techs_to_calendar() { var sheet = spreadsheetapp.getactivesheet(); var startrow = 2; // first row of data process var numrows = 500; // number of rows process var datarange = sheet.getrange(startrow, 1, numrows, 24); var data = datarange.getvalues(); var cal = calendarapp.getcalendarsbyname("- performance venue staffing")[0]; var startdateandtime = 'sat aug 01 2016 00:00:00 gmt+0100 (bst)'; var enddateandtime = 'wed aug 31 2017 23:59:59 gmt+0100 (bst)'; var events = cal.getevents(new date(startdateandtime), new date(enddateandtime)); var m

iccube - Link multiple times to a dimension -

i link multiple times same dimension without making copy of dimension. understand other products have such feature (role-playing dimensions) can't find such functionality in iccube. is not possible in iccube? for time being can't link multiple time same dimension in measure group. so, you've copy dimension (you've button doing in ui). is problem ?

mysql - How to store a value from a database as a variable to use in an insert statement -

Image
with dropdown box , button trying insert pharmacyid order table don't know how store pharmacyid variable read in other values getting. have stored rest sessions so: protected sub btnconfirm_click(sender object, e eventargs) handles btnconfirm.click ' dropdown pharmacy somevariable = droppharm.selecteditem.value dim patientid integer = session("patientid") dim doctorid integer = session("doctorid") dim pharmacyid integer ' pharmacy must stored(droppharm.selectedvalue must selected value) dim medicineid integer = session("medicineid") dim dateordered date ' how pharmacy id stored 'select pharmacy_id pharmacy pharmname = ''; ?? dim query string = string.empty query &= "insert order_pres (patientid, pharmacyid, medicineid, " query &= " doctorid, dateordered) " que

php - Manipulate response via controller to force no cache -

i have zf2 php app , want page never put in cache , force browser new 1 each time. first : how manipulate response through controller (zf 2.4) ? search fall on older version, 1.x , one. maybe miss thing. second : have advice 'browser never cache' manipulation ? on php.net lot of solution in pure php, maybe know way zf2. thanks, have nice day you can access headers through response object follows controller action: $this->getresponse()->getheaders()->addheaderline('cache-control: no-store, no-cache, must-revalidate, max-age=0')

html - Changing the height of Bootstrap's nav-pills -

Image
this topic quite close looking for, still didn't rich goal after several hours. i'm trying decrease bit height of bootstrap tab pills editing original bootstrap.css file. jsfiddle i've removed original file link external resources , placed raw code in css section it's possible experiment <ul class="nav nav-pills" id="task_management_tab"> <li class="active"><a data-toggle="pill" href="#tasks_private">a</a></li> <li><a data-toggle="pill" href="">b</a></li> <li><a data-toggle="pill" href="">c</a></li> <li><a data-toggle="pill" href="">d</a></li> </ul> for nav pills, decrease padding so: .nav>li>a { padding-top: 5px; padding-bottom: 5px; } the default 10px i'd suggest not amending actual bootstrap css thou

visual studio - How to clear Azure Storage Emulator Data from command line? -

Image
my solution using azure emulator. clear azure storage emulator blobs , queues , tables without having perform manual actions. need able command line, preferably powershell. server explorer in visual studio 2015, azure-node: azurestorageemulator.exe returns following commands: azurestorageemulator.exe init: initialize emulator database , configuration. azurestorageemulator.exe start: start emulator. azurestorageemulator.exe stop: stop emulator. azurestorageemulator.exe status: current emulator status. azurestorageemulator.exe clear: delete data in emulator. azurestorageemulator.exe [command]: show general or command-specific help. however when trying out "clear" following returned: the following services have been succesfully cleared of user data: none ops! mistake, correct command is: c:\program files (x86)\microsoft sdks\azure\storage emulator .\azurestorageemulator.exe clear

sql - Trying to use VBA variable in Access UPDATE Statement -

so title says trying use vba variable within update statement. being used because want loop through each cell in range , subtract value worksheet value within table corresponding iterations cell reference. however, statement runs error saying "too many parentheses." however, odd me b/c pulled sql syntax directly out of access. guess missing something? post both versions of code: code vba variables : private sub updizzle() dim rcell range dim rrng range dim con new adodb.connection dim rs new adodb.recordset dim strconnection string dim quv long dim iid string set rrng = activeworkbook.sheets("sheet1").range("b2:b100") each rcell in rrng.cells if rcell <> "" , rcell.value <> 0 iid = rcell quv = rcell.offset(0,x).value strconnection = "provider=microsoft.ace.oledb.12.0;data source=c:\users\ashleysaurus\desktop" & "\" & &qu

objective c - How to implement pan gesture like iOS MAIL app such that only one cell is opened at a moment? -

i have made custom buttons of deleting , other few options cells similar ios mail app have "delete", "archive", "flag" etc. if have noticed if 1 cell swiped open cannot open after wards, if try previous swipe undo i.e. opened cell restored normal position.... wish apply same technique mine cell. for code, have implemented https://www.raywenderlich.com/62435/make-swipeable-table-view-cell-actions-without-going-nuts-scroll-views tutorial app. can 1 suggest how imitate behaviour open cell swipe enable ~= mail app cell swipe behavious the approach used not of table editing, buttons embed on cell's super view , swipe view above them panned across!! no delegates method of editing of anykind being used! have tried ? - (nullable nsarray<uitableviewrowaction *> *)tableview:(uitableview *)tableview editactionsforrowatindexpath:(nsindexpath *)indexpath ns_available_ios(8_0) __tvos_prohibited;

sql server - Column name or number of supplied values does not match table definition - Unable to identify the root cause -

getting error on cmd.executenonquery() my current code using con new sqlconnection(sconstring) using cmd new sqlcommand( "insert mc_entry values(" & "@0,@1, @2, @3, @4, @5,@6,@7,@8,@9,@10,@11,@12,@13,@14,@15,@16,@17," & "@18, @19, @20, @21, @22,@23,@24,@25,@26,@27,@28,@29,@30,@31,@32,@33,@34," & "@35, @36, @37, @38, @39,@40,@50,@51,@52,@53,@54)", con) myincremental = 0 54 cmd.parameters.addwithvalue("@" & myincremental, vvalues(myincremental)) next myincremental 'debug.print(ubound(vvalues)) 'debug.print(lbound(vvalues)) 'debug.print(join(vvalues, vbtab)) con.open() cmd.executenonquery() con.close() end using end using lowerbound value of vvalues = 0 and upperbound value of vvalues = 54 i having 55 columns in sql server table no incremental field , every field can accept

regex - python script to carve up csv data -

i have csv data looks this: 724 "overall evaluation: 2 invite interview: 2 strength or novelty of idea (1): 3 strength or novelty of idea (2): 3 strength or novelty of idea (3): 2 use or provision of open data (1): 3 use or provision of open data (2): 3 ""open default"" (1): 2 ""open default"" (2): 2 value proposition , potential scale (1): 3 value proposition , potential scale (2): 4 market opportunity , timing (1): 3 market opportunity , timing (2): 4 triple bottom line impact (1): 4 triple bottom line impact (2): 3 triple bottom line impact (3): 2 knowledge , skills of team (1): 4 knowledge , skills of team (2): 4 capacity realise idea (1): 4 capacity realise idea (2): 4 capacity realise idea (3): 3 appropriateness of budget realise idea: 4" 724 "overall evaluation: 1 invite interview: 1 strength or novelty of idea (1): 2 strength or novelty of idea (2): 2 strength or novelty of idea (3): 3 use or provision of open data (1

performance - Is perfmon in jemter analysing cpu utilisation of local machine or the server where application is hosted? -

just need know perfmon plugin used in jmeter tool, analyse cpu/memory, disk utilization of local machine or server application hosted? because user when give ip , port, give these details of remote machines when perform load test. please let me know . as per jmeter scientist, the perfmon listener implemented in following way: host collects perfmon, remote nodes don't collect perfmon. so, master collect metrics slaves. this might help

java - Rendering 2 + pdf files -

i learned how render pdf file application. when tried 1 pdf worked perfectly, when try 2, automatically picks last asset (pdf) made. the code in mainactivity: import android.support.v7.app.appcompatactivity; import android.os.bundle; import android.support.v4.app.fragmentactivity; import android.support.v4.app.fragmentmanager; import android.support.v4.app.fragmenttransaction; import android.view.view; import android.widget.linearlayout; public class mainactivity extends appcompatactivity { private view btnrender; private linearlayout container; private view btnrendered; @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_main); btnrender = (view)findviewbyid(r.id.btn_render); container = (linearlayout)findviewbyid(r.id.fragment_layout); btnrendered = (view) findviewbyid(r.id.btn_rendered); //set event handling button

php - How to display meta key value in blade Laravel -

please can 1 tell me how can show meta key value in view array m getting output below: [0] => resource object ( [presenter:protected] => resourcepresenter [table:protected] => resources [parentcolumn:protected] => parent_id [leftcolumn:protected] => lft [rightcolumn:protected] => rgt [depthcolumn:protected] => depth [guarded:protected] => array ( [0] => id [1] => parent_id [2] => lft [3] => rgt [4] => depth ) [ordercolumn:protected] => [scoped:protected] => array ( ) [connection:protected

api - Upload track on SoundCloud using PHP -

i trying upload track using library. https://github.com/mptre/php-soundcloud other services authentication, getting access token, creating playlist working fine when trying upload track it's failed , return code [0,422,500] in several cases in tried. case 1 : failed $file = file_get_contents('sound-1.mp3'); $response = $client->post('tracks', array("track[title]"=>"track 1", "track[asset_data]"=>$file), array(curlopt_httpheader=>array("content-type: multipart/form-data"))); case 2 : failed $file = base64_encode(file_get_contents('sound-1.mp3')); //binary format $response = $client->post('tracks', array("track[title]"=>"track 1", "track[asset_data]"=>$file), array(curlopt_httpheader=>array("content-type: multipart/form-data"))); case 3 : failed $file = new curlfile(sound-1.mp3'); $response = $client->post('tracks