Posts

com.meteor.cordova-update.tgz: No such file or directory -

i'm trying build meteor 1.1.0.3 app mobiles on new computer command: meteor run android the installing cordova plugins indicator goes 54% , produces error: warning: failed create file warning: project/.meteor/local/cordova-build/local- warning: plugins/com.meteor.cordova-update.tgz: no such file or directory curl: (23) failed writing body (0 != 784) how fix meteor 1.1.0.3? it solved deleting .meteor/local in project , running: meteor install-sdk android meteor install-sdk ios

Is it possible to create a mixed array in vala? -

in vala see when declare array have specify type, like int[] myarray = { 1, 2, 3 }; i wonder if there way have mixed array like smtg[] myarray = { 1, 'two', 3 }; i see in this question in c++ , c# it's not possible started learning vala , have no background c -like language want sure. no. that said, can create array of can hold other types, glib.value or glib.variant , , vala can automatically convert to/from two, like glib.value[] values = { 1, "two", 3.0 } it's terrible idea (you're throwing away compile time type safety), can it.

mysql - php submit button and form radio -

i'm trying script sends information sql, have problem submit button , form radio, can me it? this if doesn't work properly if (isset($_post['test'])) { if(isset( $_post['odp'])) this code of php http://wklej.org/id/1003412/ for one, after viewing code seems best combine 2 if's, below: if ((isset($_post['test']) && isset( $_post['odp'])) { code execute; } what values getting isset( $_post['test']) , isset( $_post['odp'])? may want try echoing them out see if actual values expecting. can try echoing right after 2 if(isset's, may part of executed code not working, , not actual if statements. empty($_post['test']) may work better well, same poster above stated.

java - Correct way of writing "super" -

this question has answer here: can java call parent overridden method in other objects not subtype? 4 answers if have object , want call version of method in parent class there way can call x.super.method() or super.x.method() ? not answer little research. interesting question, fun hacked test code. since comments don't support formatting i'm posting results here. i suspect way use super method invocations , have compile use super unqualified , no prefix expression(s). bar.blarch() compiles , runs expected (see example, below). bar.super.blarch() did not compile (which expected). bar bar = new bar(); system.out.println("bar.super.blarch() ==> " + bar.super.blarch() ); however, error message surprised me. turns out javac complained "cannot find symbol" follows: bar.java:15: error: cannot find symbol system.out...

java - How Do I Include A .jar Library In Android Studio Project -

assume have no idea i'm doing. i'm trying include java library created in eclipse no relation android in android application can use classes in said library. tried creating folder called "libs" , including ":app:libs" dependency in project structure screen under modules->app->dependencies. when try build, gives me message "error:a problem occurred configuring project ':app'. cannot evaluate module libs : configuration name 'default' not found." looked around , saw problem appears haven't set default build configuration libs. can't figure out how this. how set default build configuration module libs? you can in different ways. there three standard approaches importing jar file android studio. first 1 traditional way , second 1 standard way , , last 1 remote library . explained these approaches step step screenshots in link: https://stackoverflow.com/a/35369267/5475941 . i hope helps.

No ready kinect found? -

i beginner kinect pogramming. have installed windows sdk. tried run samples in developer tookit. however, said "no ready kinect found". know know why. me this? lot! yuanhui i beginner. got kinect yesterday , encountered same problem you. sdk installed v1.8. here how checked , solved it: look device manager check if drivers setup; check if have latest directx installed, here's the way ; check if .net 4.0 or above has been installed; make sure installation clean, means kinect should unplugged during installation. , make sure restart computer after have sdk , developer toolkit installed.

php - curl_exec returns empty string -

i'm still bit new using curl pull data , i've started using fiddler find options need set. i'm trying see if can pull image site. first hit search page - set search parameters, start hitting links in results. when attempt go link in 1 of results image, empty string returned curl_exec(). the weird thing - @ 1 point, worked - got data , saved image locally. stopped, , have no idea doing have working. naturally, works ok in browser. :( i'm using simple html dom parse through results , curl actual page requests. curl_error() not show error, curl_getinfo() thinks ok too. it's trivial, i'm not sure how troubleshoot beyond am. <?php include 'includes/simple_html_dom.php'; $url = "http://nwweb.co.bell.tx.us/newworld.aegis.webportal/corrections/inmateinquiry.aspx"; // cookie - asp.net_sessionid $ch = curl_init($url); curl_setopt($ch, curlopt_returntransfer, 1); curl_setopt($ch, curlopt_header, 1); $r = curl_exec($ch); preg_match_...