Posts

objective c - Program received signal SIGKILL exception comes up when I quit in the multitasking bar (iPhone) -

when double tap home button , quit out of app multitasking bar , open app again, xcode reads: "thread 1: program received signal: sigkill" , freezes ipod. app has 1500+ lines can't put code up, sorry. doing wrong? your 1500+ lines of code innocent of crash. it happens when run app xcode , , terminate ipod , without stopping execution xcode . closing app multitasking bar doesn't stop execution in xcode( but, expect do ). so, when open again, xcode throws sigkill exception. and, doesn't harm app. no need worry it. and, ofcourse, don't know technical explanation behavior. not genious ;-)

oracle sql - finding entries with dates (start/end column) overlap -

so data this: id | start_date | end_date | uid | canceled ------------------------------------------------- 44 | 2015-10-20 22:30 | 2015-10-20 23:10 | 'one' | 52 | 2015-10-20 23:00 | 2015-10-20 23:30 | 'one' | 66 | 2015-10-21 13:00 | 2015-10-20 13:30 | 'two' | there more 100k of these entries. we can see start_date of second entry overlaps end_date of first entry. when dates overlap, entries lower id should marked true in 'canceled' column. i tried queries take long time i'm not sure if work. want cover overlaping cases seems slow down. i 1 responsible inserting/updating these entries using pl/sql update table set column = 'value' id = '44'; if sql%rowcount = 0 insert values(...) end if so maybe in step. tables updated/inserted using 1 big pl/sql created dynamically rows either updated or new ones inserted once again seems slow. and of sql 'dialects' oracle 1 cryptic had chanc...

doctrine2 - Doctrine tool breaking Symfony Dialog Helper in ZF2 -

i updated zf2 , started getting error in command line when using doctrine tool. while not effect work being done, annoying. i have searched relatively new using doctrine, not 100% sure need fix this: php deprecated: "symfony\component\console\helper\dialoghelper" deprecated since version 2.5 , removed in 3.0. use "symfony\component\console\helper\questionhelper" instead. in /var/www/cloud/vendor/symfony/console/helper/dialoghelper.php on line 34 php stack trace: i using zf2 version: 2.4 thanks on this! running composer update cleared problem me.

javascript - cannot impliment infinite scroll with my code -

i've read multiple examples on infinite scrolling, find hard implement code. here's code, data shown mysql database : <div class="container" align="center" style="margin-top:100px;margin-bottom:100px"><div class="row"> <?php $result = mysql_query("select * batai svarbumas=1 order id desc"); while ($row = mysql_fetch_array($result)) { extract($row); $link=$row["linkas"]; echo "<div class='col-md-4'>"; $sites_html = file_get_contents($link); $html = new domdocument(); @$html->loadhtml($sites_html); $meta_og_img = null; //get meta tags , loop through them. foreach($html->getelementsbytagname('meta') $meta) { //if property attribute of meta tag og:image if($meta->getattribute('property')=='og:image'){ ...

MS Access Queries Not Reflecting Newly Imported Data -

what common reasons query not reflecting newly imported data? i have database 3 tables first linked other two. have subdatasheet set in first table not reflecting newly imported data other 2 tables. queries should show of data tables not showing newly imported data. i have refreshed spreadsheets, saved, , close/reopen. suggestions?

php - Varnish ESI Request -- What Cookie Is Sent? -

new varnish, not new http. apologies if newbie/obvious territory, googling hasn't revealed answer. when varnish makes request esi include url what cookie (and other request information) sending along default is programmatically controllable via vcl configuration file. that -- it's understanding point of esi includes in varnish allow statefull information populated page pulled cache. statefull information (presumably) fetched application using session id, implemented via data sent in cookie. what's not clear me if varnish passes along the original request's cookie information the application's response cookie something else and irrespective of varnish passes along default, can controlled in varnish vcl file? (a php app, if matters) just did digging around , seems cookies passed esi requests. the esi requests processed varnish. allows process request headers , caching behavior again specific esi object. at http://blog.lavoie...

javascript - Bootstrap drowpdown not working in Meteor -

folks. i'm working on meteor application , have following section in navigation template meant render dynamically built dropdown menu. for reason, it's not dropping down, , have no idea why. i'm using twbs:boostrap package provide bootstrap. template section : <ul class="nav navbar-nav"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">browse <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> {{#each categories}} <li><a href="{{pathfor 'browse' slug=this.slug}}">{{name}}</a></li> {{/each}} </ul> </li> </ul> categories helper : template.registerhelper('categories', function() { return categ...