Posts

Writing SQL in Informatica Data Quality Analyst -

i new informatica data quality analyst (version 9.5.1 hotfix3) , having trouble in generating basic sql statement. the sql statement being written against mapping specification of table imported flat file. statement looks like: select columna, columnb table1 table1.columna = 's' the select .... portion of statement works fine encounter errors when throw in clause. think statement looks standard sql i'm not sure why not work. informatica analyst accept sql written in specific form? inverted commas causing problems? the query must work trying execute. if not fetching results, need following steps: 1) load data source flat file database(oracle). can directly import data flat file table via sql developer. 2) execute query filter condition. if doesnt fetch rows, query in idq fetching correct results. if not, there missing in idq code.

How to use jquery to add text between existing <a href=''>Add text here</a> -

i have lightbox gallery following html code: <!doctype html> <html> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <link rel="stylesheet" href="css/style.css" type="text/css"> <title>gto gallery</title> </head> <body> <div class="container-fluid"> <h1>gto gallery</h1> <ul id="imagegallery"> <li><a href="img/1964_gto.jpg"><img src="img/1964_gto.jpg" width="100" alt="1964 pontiac gto" class="image"></a></li> <li><a href="img/1965_gto.jpg"><img src="img/1965_gto.jpg" width="100" alt="1965 pontiac gto"></a></li> ...

c - Pow precision with unsigned longs -

so trying pow (x, y). x , y unsigned longs , result stored in unsigned long. result smaller 2^63 should able it. since returns floating point number inaccurate results big numbers. there anyway exact result without using external libraries bignum? know x*x y times, trying avoid because trying make program faster. pow function returns double has precision issues , when cast long precision issue. far know if dont use library not possible accurate result using pow function alone. you can @ exponentiation squaring , @ barak manos answer can try implement own pow function as unsigned long long pow(unsigned long long x,unsigned int y) { unsigned long long res = 1; while (y > 0) { if (y & 1) res *= x; y >>= 1; x *= x; } return res; }

angularjs - Angular 2-way binding in ng-repeat -

i'm trying update values in ng-repeat ng-bind (or double curly braces) , html5's contenteditable. i cannot double binding work. don;t think contenteditable issue since doesn't work either input fields. <div ng-controller="myctrl"> <ul><li ng-repeat="sequence in sequences" sv-element> <span class="flex1" contenteditable="true" ng-bind="sequence.sequencetext"></span> // <span contenteditable="true">{{sequence.sequencetext}}</span> </li></ul> {{sequences}} </div> http://jsfiddle.net/56g2jyd7/1/ well didn't want use directive did. nice , easy: app.directive('contenteditable', function() { return { require: 'ngmodel', link: function(scope, element, attrs, ctrl) { // view -> model element.bind('blur', function() { scope.$apply(function() { ...

php - Fatal error: Call to undefined method DB::get() -

i accessing db class in index.php. checkout files: db.php <?php namespace blog\db; class db { /** * return db * @var object */ private $db; /** * results limit. * @var integer */ public $limit = 5; public function __construct($config){ $this->connect($config); } private function connect($config){ try{ if ( !class_exists('mongo')){ echo ("the mongodb pecl extension has not been installed or enabled"); return false; } $connection= new \mongoclient($config['connection_string'],array('username'=>$config['username'],'password'=>$config['password'])); return $this->db = $connection->selectdb($config['dbname']); }catch(exception $e) { return false; } } /** * 1 article id * @return array */ ...

.net - Writing VB code for Oscilloscope as C# code -

i work in vb oscilloscope (the oscilloscope has it's own os). trying make c# executable same thing vb code , run on oscilloscope. i trying write following vb code c#: set app = createobject("lecroy.xstreamdso") wave = app.acquisition.c1.out.result.dataarray msgbox(wave(1)) what connect oscilloscope software , output first element of waveform array. this have tried far in c#: made form in vs2015 , made target .net 4.0 since oscilloscope running windowsxp , has .net 4.0 installed. system.type objtype = system.type.gettypefromprogid("lecroy.xstreamdso"); dynamic comobject = system.activator.createinstance(objtype); var wave = comobject.acquisition.c1.out.result.dataarray; messagebox.show(wave(1)); basically put code inside button on form. when run on oscilloscope executable error: "unhandled exception has occurred in application." "cannot invoke non-delegate type". can me doing wrong? appreciate it. since .net4, can ...

html - Change a div`s background image when hover over the image -

i have following code: <!doctype html> <html > <head> <style type="text/css"> .imgbox {background: url(lock75.png) no-repeat; } .imgbox:hover {background: url(lock75light.png) no-repeat; } </style> </head> <body> <div style="width:200px; height:200px; border:1px solid;" class="imgbox"> </div> </body> </html> my images 75x75 , problem occurs when hover on border image changes, want when hovering on image change image. note: need html construction similar one. edit i forgot mention need picture centralized above other divs have not space picture. thanks you need have container can hold both background image , content in following structure (i know asked similar have posted, it's not possible; involve css3 elements , jquery) here's setup body { padding:10px; } .img-box { max-width:200px; width:100%; ...