Posts

Showing posts from August, 2013

PyCharm: How to reduce horizontal use of space -

Image
i set pycharm have terminal, code editor , structure view side side maximize vertical space each. makes sense since each of isn't wide, , screens wide these days. on laptop, i'm kind of running out of horizontal space, when code uses 115 text columns. see lot of 'wasted' space. so question is, how pycharm use less horizontal space? i've searched settings , google, couldn't find how following the buttons terminal (+, x) should in header (or remove button bar altogether). the divider bar between terminal , editor doesn't have 2 characters wide. the space between line numbers , editor reduced or removed (break points sit on top of line numbers). the structure view doesn't need have root entry filename, children , being indented. 5.) structure view uses lot of unnecessary indentation. thanks help. for #1 right-click on terminal's top bar or toolbar tab (works tool) , you'll popup menu in can de-select show toolbar option:...

Basic Auth over HTTPS Java -

i have https page calls working fine , have http basic auth working fine can not basic auth running on https connection. i attach code example doesn't work. keep getting 403. have checked username , password , has been successful when testing restclinet addon firefox. any great. thanks. private static void getapitest() throws malformedurlexception, ioexception { try { system.setproperty("javax.net.ssl.truststore","/home/user/certs/mytruststore"); system.setproperty("javax.net.ssl.truststorepassword", "password"); authenticator myauth = new authenticator() { @override protected passwordauthentication getpasswordauthentication() { return new passwordauthentication("username", "password".tochararray()); } }; authenticator.setdefault(myauth); string httpsurl = "https://someurlanda...

Javascript changing position won't work on Chrome or IE -

changing position through javascript works through firefox not chrome or ie. <script language="javascript"> function move (){ document.cat.style.right=0; } </script> <img src="cat.gif" id="cat" style="position:absolute; right:500; top:500" onclick="move ();"> also, first time asking on here if i'm doing wrong please tell me. var catstyle = document.getelementbyid('cat'); catstyle.style.right=0;

performance - How to quickly retrieve a number of rows from data store? -

in python gae application i'm working on, need retrieve n rows storage, , running performance issues n > 100. expect n less 10000 cases. so let's consider simple model: class myentity(ndb.model): field1 = nbd.stringproperty() field2 = ndb.stringproperty() #... fieldm = ndb.stringproperty() # m quite large, maybe ~ 30. stored strings short - in order of 30 characters or less i've populated data store data, , got bad performance using plain fetch() . i've since removed filters, , trying number of entities seems bad performance (as compared expect, say, common sql deployment. know shouldn't compare gae sql, getting flat rows down - expect more performant, not less). here's i've tried: the simplest approach myentity.all().fetch(n) . scales linearly n , expected. although didn't expect take 7s n = 1000 . trying coerce fetch() reasonable batch_size degrades performance further. i've tried values ranging 1 1000. doing...

sqlite3 - How to migrate from Sqlite to Couchbase? -

i have database in sqlite , want data migrated couchbase bucket. there tool or easy method task? the simple answer export relational data commma separated value (csv) file , import them couchbase via cbtransfer tool described in http://www.couchbase.com/binaries/content/assets/us/product/couchbase-server-4.0/moving_from_relational_to_nosql_couchbase_2016.pdf . the more realistic answer is: you'll need write algorithm migration yourself. reason using couchbase should not use relational tables are, design more complex data structures, using arrays , nested data, thereby getting rid of of tables , joins of relational model. mapping relational cb specific database design , can realized algorithm of own. you'll need access methods both relational , cb database anyway, shouldn't difficult.

ios - Identify Apple Watch Name -

is there way identify name of current paired watch ios of watch watch app running on? uidevice on ios seems not offer access paired watch. wcsession on watchos not giving such information either. framework think of? purpose: user having multiple paired watches , need distinguish device data coming from. the name of current watch app running on can accessed through wkinterfacedevice class: [[wkinterfacedevice currentdevice] name] although distinguishing 1 other using method relies on renaming watch in phone's ui. because name of watch isn't surfaced anywhere (bluetooth possibly?) it's renaming may low-probability event.

javascript - How to pass object to partial in dot.js -

i trying pass new created object dot.js partial snippet : try { var tempfn = dot.template($('#mytpl').text()); var resulttext = tempfn({ "foo": "this snippet" }); $('#result').html(resulttext); } catch (e) { $('#error').show().html(e); throw e; } #error { font-weight: bold; border: 1px solid red; } <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/dot/1.0.3/dot.js"></script> <!-- template here --> <script id="mytpl" type="template/dot.js">//<![cdata[ {{##def.snippet:obj: <div>how use {{=obj.x}}</div> #}} {{#def.snippet:{"x":it.foo}}} // ]]></script> <div id="result"></div> <div id="error" style="display: none;"></div> bu...

javascript - Confusion regarding selectors in carousel/slider -

Image
so i'm pretty new javascript/jquery. i've made website, changes color of frame depending on select carousel/slider. everything operational, issue is, can't quite wrap head around how apply selector elements of carousel. basically carousel looks this what want do, is, i've set third border/frame hidden. now, whenever click left arrow element closest left switch hidden, while, image right of take it's position , hidden image appear. the opposite goes right, i've made this: so working expected, issue is, work once (mainly because don't know selector use). to put things context, html (specifically carousel) looks this <div id="selector"> <img id="goleft" src="images/left.png" /> <div> <img id="blue" src="images/shot-blue.png" /> <img id="yellow" src="images/shot-yellow.png" /> <img id="red" s...

python - What is the difference between command and bind in tkinter? -

i'm trying make button print string when it's pressed , print when it's released. know command atribute , bind method, know if it's possible accomplish using atributes or if have use methods. piece of code: class motor: def __init__(elemesmo, eixo , valorzero): elemesmo.eixo = eixo elemesmo.zero = valorzero def aumenta(self): print(self.eixo + str(self.zero+5)) def diminui(self): print(self.eixo + str(self.zero-5)) def para(self): print(self.eixo + str(self.zero)) eixox = motor('x',90) eixoy = motor('y',90) class interface: def __init__(elemesmo, widget): quadro = frame(widget) quadro.pack() elemesmo.aumentary = button(quadro,text="aumentar y",height=10,width=20,command=eixoy.aumenta) elemesmo.aumentary.pack(side=top) elemesmo.diminuiry = button(quadro,text="diminuir y",height=10,width=20,command=eixoy.diminui) i ...

php - Multiple Address from a database in Google Maps API -

i have bunch of addresses in database , trying figure out how put multiple addresses in map. addresses dependent on user searches such city or number of bedrooms changes depending on search. far have manage have 1 address on map. way can combine 2 show addresses searched along points on map or modify code have? here google maps api code var geocoder; var map; function initialize() { geocoder = new google.maps.geocoder(); var latlng = new google.maps.latlng(49.2505, -123.1119); var mapoptions = { zoom: 15, center: latlng, maptypeid: google.maps.maptypeid.roadmap } map = new google.maps.map(document.getelementbyid('map-canvas'), mapoptions); } function codeaddress() { var address = '<?php echo json_encode($varstreetaddress);?> <?php echo json_encode($varcity);?>, bc...

Reset configuration in enterprise architect -

i added artifacts appears parts of bigger component. when drag artifact component show popup asking if want add part or port. everithing works fine. then chose option not show popup again. how undo this? want add things parts of component. i'm using enterprise architect version 7.1.831 ctrl-drag element project browser. makes ea show dialog again , can change options inside dialog need.

python - Finding minumum element in a stack in constant time -

if want find minimum element in stack (integer key), in constant time can done following: arr = [ 10, 7, 15, 12, 5 ] min_stack = [] main_stack = [] def get_min(): if len(min_stack) < 1: return none return min_stack[-1] def push(key): main_stack.append(key) if len(min_stack) < 1 or min_stack[-1] > key: min_stack.append(key) def pop(): key = main_stack.pop() min = get_min() if key == min: min_stack.pop() return key key in arr: push(key) in above solution possible find out min value element in o(1) uses auxiliary memory of size n . is there way can done without using n size memory or constant memory, exploiting arithmetical properties of integer key. since wasn't stated otherwise, figured include solution if range of integers being pushed onto stack limited 32bit on 64bit system. i know these constraints may not applicable, leave here in case gives rise other ideas. note if stac...

matlab - How can I vectorize the entropy calculation? -

i trying entropy every column, matrix looks this: 0.5 0.3333 0.2 0 0.3333 0.4 0.5 0.3333 0.4 every column add one, however, there's zeros in matrix, if log2(arr(i,:)), there -inf in result whole thing won't work in practice have huge matrix, want program run fast, there work around? here's solution, works fast p .* log2(p)? log2p = log2(p); log2p(log2p==-inf)=0; entropy = entropy - p .* log2p; in matlab 0^0 equal 1 . , since log2(1)==0 , can use , rewrite entropy function as p.*log2(p) = log2(p.^p) then example get >> log2(p.^p) ans = -0.5000 -0.5283 -0.4644 0 -0.5283 -0.5288 -0.5000 -0.5283 -0.5288

ios - Is it possible to add UITableView within a UITableViewCell -

hear idea thinking implement this, i want implement book pages, want take uitableview , rotated-90 degree , cell 90 degree, , want subclass uitableviewcell, within tableview cell possible add uitableview user can scroll vertically see contents , user can scroll horizontally go next cell of rotated tableview. thinking, there better way implement this. yes possible, added uitableview within uitableview cell .. :) no need add tableview cell in xib file - subclass uitableviewcell , use code below, cell created programatically. //in main tableview #import "viewcontroller.h" #import "customcell.h" @interface viewcontroller ()<uitableviewdatasource , uitableviewdelegate> @end @implementation viewcontroller - (void)viewdidload { [super viewdidload]; // additional setup after loading view, typically nib. } - (void)didreceivememorywarning { [super didreceivememorywarning]; // dispose of resources can recreated. } - (v...

c++ - sum of double variables -

i have problem tyring basic addition. don't understand why returned value j11 0 while a11*g11 , a12*g21 have finite values. know has variable types - likely. appreciated. here code: #include <vector> #include <iostream> #include <fstream> #include <cmath> #include <cstdlib> #include <set> using namespace std; void simple() { double g11,g12,g13,g21,g22,g23,g31,g32; double g33,g41,g42,g43,g51,g52,g53,g61; double g62,g63,g71,g72,g73,g81,g82,g83; double j11; double xx,yy,zz; double a11,a12; vector<double> xcoor; vector<double> ycoor; vector<double> zcoor; double g1=1/sqrt(3); double g2=-1/sqrt(3); xcoor.push_back(g1); xcoor.push_back(g2); xcoor.push_back(g1); xcoor.push_back(g2); xcoor.push_back(g1); xcoor.push_back(g2); xcoor.push_back(g1); xcoor.push_back(g2); ycoor.push_back(g1); ycoor.push_back(g2); ycoor.push_back(g2); ycoor.push_back(g1); ycoor.push_back(g1); y...

javascript - Does order of schema matter in Node.JS? -

im make huge schema form have built... being said schema order have mimic form order, or can have inputs in order put them in ? example below. can this? // link mongoose var mongoose = require('mongoose'); // define article schema var mapschema = new mongoose.schema({ created: { type: date, default: date.now }, dd1: { type: string, default: '' }, dd2: { type: string, default: '' }, com1: { type: string, default: '' }, com2: { type: string, default: '' } }); // make public module.exports = mongoose.model('map', mapschema); or have this? // link mongoose var mongoose = require('mongoose'); // define article schema var mapschema = new mongoose.schema({ created: { type: date, default: date.now }, dd1: { type: string, default: '' }, com1: { type: string, default: '' }, dd2: { type: string, default: '' }, com2: { type: string, ...

c# - How to get customer in error with Recurring billing using NetBanx (OptimalPayments) API -

i'm using optimalpayments api recurring billing. create c# application use api can fetch customer have failed transaction (ex: customer expired credit card). but don't know api url , call should do. looked through creditcardws , ilslookup api doesn't seem job. i know late want make sure answered. api using not able information. need setup automated report our system , able obtain information. netbanx can provide in html, csv or excel. you can send email technical support (technicalsupport@paysafe.com) , able set you. hope helps!

html - Why are iFrames not being loaded in Safari on some pages? -

we have encountered issue on 1 of our intranet pages iframe not loading head or html code. the issue occurs in safari (el capitan, yosemite , iphones) , happening on 1 particular page. when inspecting html can see iframe code, when expand #document section there html tag empty. in console there no errors show up. thing notice there less data being loaded , 15 less calls. could give insight might cause iframe not load properly? seems timing thing can use javascript insert iframe tag empty div after document ready works. thanks! edit: sample iframe code: <iframe allowfullscreen="true" src="https://www.youtube.com/embed/[youtubeid]?rel=0&wmode=opaque" frameborder="0"></iframe> i know issue old did tried adding settimeout append iframe code or adding onload event ? settimeout(function() { div.innerhtml = '<iframe allowfullscreen="true" src="https://www.youtube.com/embed/[youtubeid]?rel=0&...

c# - Deserialize JSON string into class with reflection -

i'm trying deserialize json string custom class. have use reflection. have dictionary serialize, send on httpput method, deserialize json string, , read dictionary fields. here's have far: i'm putting values dictionary this: dictionary<string, object> valuestoupdate = new dictionary<string, object>(); person p = new person(); p.personname = "origname"; p.age = "25"; p.isalive = true; valuestoupdate.add("person", p); valuestoupdate.add("length", 64.0); i'm using json serialize this: string jsonstring = jsonconvert.serializeobject(valuestoupdate); i take jsonstring , send on rest api put method. put method updates various variables on custom object based on key values in dictionary using reflection (in example i'm updating customobject.person , customobject.length). the put call deserializes jsonstring this: dictionary<string, object> newfields = jsonconvert.deserializeobject<dictionary<...

How to fix "Headers already sent" error in PHP -

Image
when running script, getting several errors this: warning: cannot modify header information - headers sent ( output started @ /some/file.php:12 ) in /some/file.php on line 23 the lines mentioned in error messages contain header() , setcookie() calls. what reason this? , how fix it? no output before sending headers! functions send/modify http headers must invoked before output made . summary ⇊ otherwise call fails: warning: cannot modify header information - headers sent (output started @ script:line ) some functions modifying http header are: header / header_remove session_start / session_regenerate_id setcookie / setrawcookie output can be: unintentional: whitespace before <?php or after ?> the utf-8 byte order mark specifically previous error messages or notices intentional: print , echo , other functions producing output raw <html> sections prior <?php code. why happen? to understand why hea...

javascript - convert blob js to file image php -

i try send datauri image using xhr , formdata() , find method tho convert datauri blob function datauritoblob(datauri) { // convert base64/urlencoded data component raw binary data held in string var bytestring; if (datauri.split(',')[0].indexof('base64') >= 0) bytestring = atob(datauri.split(',')[1]); else bytestring = unescape(datauri.split(',')[1]); // separate out mime component var mimestring = datauri.split(',')[0].split(':')[1].split(';')[0]; // write bytes of string typed array var ia = new uint8array(bytestring.length); (var = 0; < bytestring.length; i++) { ia[i] = bytestring.charcodeat(i); } and send blob var using xhr var blob = datauritoblob(dataurl); var data = new formdata(); data.append('photos[]', blob, "file.png"); ...

sql - This name is not a valid identifier in function -

i have variable dynamic query within function , need assing return variable exec @resultif = @strsqlcount if @resultif <> 0 begin set @last_qtdchaves = @qtdchaves set @comissao_temp = @resultif end however giving error: this name not valid identifier in function i've tried , can not solve remembering code snippet inside function --update-- alter function [dbo].[fn_percentualcomissao] ( -- add parameters function here @cod_representante int, @cod_cliente int, @cod_produto varchar(max) ) returns float begin -- declare return variable here declare @temcomissionamento bit, @comissao float, @strsql varchar(max), @strsqlcount varchar(max) set @temcomissionamento = 1 if (select isnull(comissao_rep,0) comissao representantes cod_representante = @cod_representante) <= 0 begin set @temcomissionamento = 0 end if @temcomissionamento ...

SQL where, case between or equal date vs datetime -

i'm trying figure out if there many moving pieces in query or not. need check if date on friday, corresponding value following monday. other day, next day. can 'next day' part work no problems, friday monday piece fails. making little tougher a.change_date in date format , b.load_date in datetime format. select * a, b a.account_number = b.account_number , a.change_date case when datepart(dw, a.change_date) = 5 between (cast(dateadd(dd, -4, b.load_date) date)) , (cast(dateadd(dd, -3, b.load_date) date)) else = cast(b.load_date) date) , cast(dateadd(dd, -1, b.load_date) date) end , a.account_number in (xxxxx.....) any thoughts on how make happen appreciated. should return rows account_numbers exist in last , statement. i've looked @ long today , not made enough progress. i don't know full schema, here quick example local variables. declare @somedate datetime = '2016-04-15 15:17:00.497'--getda...

Java issue with input -

today trying basic exercise , faced in problem : exception in thread "main" java.util.inputmismatchexception @ java.util.scanner.throwfor(unknown source) @ java.util.scanner.next(unknown source) @ java.util.scanner.nextdouble(unknown source) @ main.main(main.java:14) this code : import java.util.scanner; public class main { public static void main(string[] args) { scanner input = new scanner(system.in); double salary = 0; // salary excluded tax int tax = 0; // % of tax double taxtot = 0; // amount of tax double totsalary = 0; // salary tax system.out.println("salary, please : "); //input salary salary = input.nextdouble(); if (salary <= 15000) { // <=15000 tax = 10; } else if (salary>= 40000 && salary < 60000){ // >=40000 tax = 20; } else { ...

Rails 3 - .each works, .find_each fails -> ActiveRecord::JDBCError: ERROR: operator does not exist: character varying >= integer -

i've got lot (+100,000) of records i'm trying process through query. i using like: bigrecordpull.where(name: ['x','y','z']).each { |record| do_some_action record } because isn't memory management perspective, wanted instead use find_each outlined here code looks this: bigrecordpull.where(name: ['x','y','z']).find_each { |record| do_some_action record } the issue when go fire code following error: activerecord::jdbcerror: error: operator not exist: character varying >= integer hint: no operator matches given name , argument type(s). might need add explicit type casts. if review sql query created in logs like: select "big_record_pull".* "big_record_pull" "big_record_pull"."name" in ('x','y','z') , ("big_record_pull"."name" >= 0) activerecord seems add part, 'and ("big_record_pull"."name...

Reliable UDP in java -

i working on assignment make udp reliable using java. how can add timeout , re-transmission handle data-grams discarded , add sequence numbers client can verify reply appropriate request ?? this client code import java.net.*; import java.io.*; public class echoclient { // udp port service bound public static final int service_port = 7; // max size of packet public static final int bufsize = 256; public static void main(string args[]){ if (args.length != 1) { system.err.println ("syntax - java echoclient hostname"); return; } string hostname = args[0]; // inetaddress specified hostname inetaddress addr = null; try { // resolve hostname inetaddr addr = inetaddress.getbyname(hostname); } catch (unknownhostexception uhe) { system.err.println ("unable resolve host"); ...

Incompatible Class Declaration c++ -

i have class numberarray in numberarray.h class numberarray { private: double *aptr; int arraysize; public: numberarray(int size, double value); // ~numberarray() { if (arraysize > 0) delete [ ] aptr;} //commented out avoid problems //default copy constructor void print() const; void setvalue(double value); }; when go write print function in numberarray.cpp void numberarray::print() { (int index = 0; index < arraysize; index++) cout << aptr[index] << " "; } it gives me error declaration incompatible "void numberarray::print() const any thoughts might going wrong on this? rest of constructors , class functions work fine. you forgot add const qualifier (as semicolon) signature of definition of function. you have do: void numberarray::print() const { (int index = 0; index < arraysize; index++) cout << aptr[index] << " "; }

c# - Weird errors that appear on first rebuild then disappear on the second rebuild -

i seem getting weird errors while rebuilding project. i have project in witch have stored domainservice. if right click on solution , select clean solution rebuild project bunch of errors: error 104 type or namespace name 'practices' not exist in namespace 'microsoft' (are missing assembly reference?) d:\projects\backend\webapi\domainservices\localizationservice.cs i errors each file have imported namespace: using microsoft.practices.servicelocation; now have added reference assembly. the weirdest thing if rebuild again works , no errors displayed. does have ideea what's going on? possibly have wrong build order, visual studio tries in way, fails http://social.msdn.microsoft.com/forums/windows/en-us/34fcc251-b6fe-4878-8274-fa094ae34151/how-do-i-set-the-build-order-of-projects-in-visual-studio-solution

Jquery on() load event on a single element -

i'm sorry if question has been asked, didn't find solution. i have 3 radios elements , want check value when selection changes , when page loads. i using on() function. my problem change event triggered. here current code : $('.user').on('load change', function(){ if($(this).val() == 'client'){ $('#user_parent').removeattr('disabled').closest('tr').show(200); }else{ $('#user_parent').attr('disabled', 'disabled').closest('tr').hide(200); } });" i tried replace load ready, failed too. problem ? isn't load event available single element ? the code placed in $(document).ready(...), , elements displayed when page sent. thanks the load event called moment child elements of listened element loaded. in case might before ready event called, rendering handler load (which appended after document.ready) useless. for reference see jquery api find following: the...

c# - My program Memory used 100% ! How can I know what uses so much memory? -

we have program written in c#, used server. it's windows service. program uses memory of machine, not know causes this. can do? my program used official server already,and can not restart casual ,so can not use tools ,because tool need restart program , can not attach process. , not know potentially harmful code ,because program have many code. there dfferent tools can investigate issues this. the simple loging in start of potentially harmful code , in process of that. if have no idea, code be, may on : memoryprofiler jetbrains or free 1 ms, : ms profiler , it's not intuitive use.

Matlab creates empty file when compiled and deployed -

im developing matlab app generates config.ini file during run. when run code in matlab works fine , ini files generated expected. when compile code, using matlab compiler (mcc) , run executable generates empty config ini. idea why different output compiled vs. not-compiled? this code printing fid = fopen(file_name, 'w'); if (fid ~= -1) str = obj.tostring(); fprintf(fid, '%s', str); fclose(fid); status = true; else status = false; return; end system ubuntu 12.04, matlab 2015b resolved - problem in order generate new config read empty config templete. running within matlab need provide file name (as on build path) , when deployed need provide full path of template config...so file generated empty because there no string loaded template...

angularjs - How to access Input data passed from parent component in Angular2 -

i have playlist component child component, parent pass in input 'playlist' object of array. playlist: { headerplaylists: array<any>, bodyplaylists: array<any> } = { headerplaylists: [], bodyplaylists: [] } the child component below @component({ selector: 'playlist', styleurls: ['app/channel/playlist/playlist.css'], templateurl: 'app/channel/playlist/playlist.html', directives: [videoitemcomponent], inputs: ['playlist'] }) my question , in class, how access inputs passed in it's parent component, say, console.log(playlist), there way that? export class playlistcomponent { constructor() { } } thierry correct w.r.t. availability of inputs across lifecycle, how works clearer if use @input() on field rather inputs in metadata. @component({ selector: 'playlist', styleurls: ['app/channel/playlist/playlist.css'], templateurl: 'app/channel/playlist/p...

javascript - how to create an array of objects from an $.each loop in jquery -

hie, trying create geojson object array of objects. using $.each() iterate through array , trying return array of object named kendofeatures (a geojson object) this: kendofeatures.type = "feature"; kendofeatures.properties = { "id": _id, "id": _id, "faulttype": _faulttype, "entryguid": _entryguid, "date": _datcaptured, "status": _status, "area": _area, "zone": _zones, "latitude": _latutude, "longitude": _longitude, "comments": _comments, "user": _fullname, "userid": _idnumber, "userphone": _phonenumber, "usermail": _email }; kendofeatures.geometry = { "type": "point", "coordinates": [ _latutude, _longitude ] ...

webkit - Chrome/Safari css issue with visibility + overflow -

i have block visibility: visible; overflow: hidden; inside element that's visibility: hidden . in ie/ff works expected, inner content shown , clickable, container not. however, in webkit browsers such chrome+safari, content not shown. is webkit bug (if so, one?), , how can work around it? demo: http://jsbin.com/egikap/1/edit edit: css2.1 spec has this on visibility: hidden : 11.2 visibility: visibility property [...] hidden the generated box invisible (fully transparent, nothing drawn), still affects layout. furthermore, descendants of element visible if have visibility: visible .

arm template - String concatenation issue with Azure Logic Apps -

i'm creating arm template deploys web app (an mvc api) , logic app. i'm attempting define http action within logic app such dynamically concatenates base uri of api property of current item using spliton , @triggerbody() . base uri concatenated set of parameters in arm template variable variables('hockeyappapisettings').uri . here's relevant snipped of action definition: "actionname": { "conditions": [ ], "inputs": { "authentication": { "audience": "[variables('apisettings').authentication.audience]", "clientid": "[variables('apisettings').authentication.clientid]", "secret": "[variables('apisettings').authentication.secret]", "tenant": "[variables('apisettings').authentication.tenant]", "type": "activedirectoryoauth" }, "method": ...