« first day (1416 days earlier)      last day (3507 days later) » 

11:01 AM
0
Q: How does the stargate ramp survive the unstable wormhole?

HNLIt's been established that the unstable wormhole created during the activation of a stargate will vaporize anything in its path. If so, how does the ramp in the SGC gate room, which goes right through the ring, survive? On a related note, how on earth does the iris close with this thing? Does ...

0
Q: Undefined variable error

user3405085I keep getting those errors: Notice: Undefined variable: voornaam in C:\xampp\htdocs\rocopdracht\database.php on line 13 this is my code: $con=mysqli_connect("localhost","root","","rocopdracht"); if(isset($_POST['voornaam'])){ $voornaam = $_POST['voornaam']; } if(isset($_POST['achternaam'])...

0
Q: Why do you have to declare arrays that have to be returned by a function as static?

user36980My question is similar to some related questions, but the answers to these questions do not anwer my main confusion. I try to put the question here in its most simple form. I want to return an array that is defined inside a function body. As C++ does not allow to return an array by value, I decl...

0
Q: Uncaught SyntaxError: Unexpected token h error for json option passed as param to a function

user3797205JSON Array: var data= '[{"id":"1","text":"B.Sc"},{"id":"2","text":"M.Pharm"},{"id":"3","text":"M.Tech"},{"id":"4","text":"BBM"},{"id":"6","text":"MCA"},{"id":"10","text":"PGDMA"},{"id":"11","text":"Diploma"},{"id":"12","text":"Plus Two"},{"id":"14","text":"fdf"},{"id":"15","text":"dfdf"},{"id":...

0
Q: Clicking on video to play it HTML5/CSS3

SamanthaHi there guys just wondering if it is possible to click a video in HTML5 for it to play? What I mean is, on the video not a separate button to stop and play the video, like on you tube for example. Cheers Here is my code.. <div style="text-align:center"> <button onclick="playPause()">Pla...

0
Q: Any.Do Cal like calendar for iOS

NightyIs there an open source library for a calendar like in Any.Do's Cal app for iPhone? I'd like to have the functionality of a one row week with a swipe, and the functionality of scroll down to reveal the whole month calendar. I've found Kal and Vurig-Calendar but they don't seem to have the functio...

0
Q: SQLite database behaves different on Gingerbread and Jelly Bean

Domonkos BartI'm trying to run my sqLite database project on different Android versons. Database db = getApplicationContext().openOrCreateDatabase("my.db",MODE_PRIVATE, null); String sql="CREATE TABLE IF NOT EXISTS mytable(ID SERIAL,col1 VARCHAR(255),col2 INTEGER,PRIMARY KEY (ID));"; db.execSQL(sql); sql="I...

0
Q: Comparison of 2 inputs

user3879060I'm trying to compare 2 lists and print everything in the second list that doesn't appear in the first. Inputs are separated by a comma. For example, if in the first input I type 'watch,out' and in the second I type 'watch,out,I'm,coming', it should print: I'm coming (both on new lines) So far m...

0
Q: Andengine Bluetooth

user3340707I am new to android gaming development. After too much of research I have found Andengine is the best to work with for freshers. But my game involves connectivity over bluetooth. Can anyone tell me whether andegine supports bluetooth api or not? if yes please share the link.

0
Q: Qtip Validation Error

user2281415Kindly refer to the link below and please help me with some valuable inputs.I am trying to use qtip for validation using data annotation in mvc4. However qtip is not triggered for any of the dropdowns in the first row. I have also used chosen jquery plugin for styling the dropdown the removal of ...

-1
Q: Getting the parent children hierarchy from database

SwapnaI have a databse table having the fields ActivityID ,Description,ParentActivity . I want to fetch the id of all the children and sub children of a Particular ActivityID and i want the final result in a single array .I would like to know how to do this in PHP

0
Q: Can't send long buffers in Chrome via WebSockets

nschoeI'm trying to send the content of a 640 * 480 canvas to a WebSocket server. The Javascript relevant part is here : // Get the image data var imageData = tCtx.getImageData (0, 0, 640, 480); var buf = imageData.data; var limit = buf.byteLength / 4; var buffer = new Uint8Clampe...

0
Q: audioTrack is giving noisy sound Noisy means a great distortion is made

AndroidiVoreI am recording user's voice through media player and saved it in .m4a format. Recording is successfully file saved successfully now i want to play that audio file through audioTrack with a different pitch. but my code is not playing the audio file properly instead it is giving noise sound. Why is...

0
Q: Redirect old directory to new directory in htaccess

Liam McArthurI have a website in which I'm changing a subdirectory name for SEO purposes: Current: website.com/nearly-new-cars/ford-focus-975 New: website.com/used-cars/ford-focus-975 I need to redirect all requests from "nearly-new-cars" to the new "used-cars" subdirectory whilst maintaining the rest of th...

0
Q: Windows creates a new ethernet adapter on restart

user3448697Everytime I restart my computer another Ethernet adapter local area connection is created. I've tried to search the web for other people having same issue, but without luck. Hope you guys can help me out, it would be extremely helpfull!

-1
Q: Pass data from one page to another in .net

shakil08it051I was asked following scenario in an interview. I need to pass data from one page to another in .net web forms or MVC. But i cannot use following. 1. session 2. Hidden Fields 3. cookies 4. view state 5. app state 6. query string Any another way????

0
Q: Exclude some paths from global authentication in Sinatra

SylverI have an API in Sinatra, using a middleware doing a global restrict authentication with token. This middleware inserts the authentication check in a before statement, in order to protect everything globally without the need to add a check in each route definition. before do denied unless ...

18 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Gorostas and Jake745, 30 mins ago, by Gorostas
Hello Mate are you there
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in Android enhusiastics, 3 mins ago, by all
hello @Mobile are you pushp ?
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in ASP.NET with C#/VB/MVC, 5 mins ago, by vishu minhas
Hello @TBA. Paste your problem??
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in [iOS][Android][ChaosOverFlow], 28 mins ago, by Dilbar
@SaadChaudhry hello
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Indian
hello @NareshSharma
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
Hello Gutam Rishi :) @Indian
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
@Dhruti Hello Miss Reader/Dhruti/Anamika etc. :)
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Bill and Tasos K., 14 mins ago, by Tasos K.
Hello Bill, I am glad I helped. Yes, I agree CSS can be very difficult to handle sometimes and yes bootstrap has also saved me many hours
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
11 mins ago, by Feeds
0
Q: PHP exception and dynamic function call

RyanConsider the function below: <?php function foo() { $bar = new stdClass(); $bar->hello(); } try { $fn = 'foo'; $fn(); } catch (Exception $e) { echo 'suck..'; } The exception handler seems never work, what are the way to fix the code?

18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java, 4 mins ago, by IvanMatala
hello guys : ]
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java and Android era , 1 min ago, by Pankaj Arora
@navya @PankajSharma hello mam, sir
18 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 17 mins ago, by SilentKiller
@NareshSharma Hello Sharmaji hows you.?
in IOS Developer Family, 16 mins ago, by Leena
hello @NitinGohel
in IOS Developer Family, 15 mins ago, by Nitin Gohel
hello @Leena maam
in Coders Of The Heaven, 13 mins ago, by Dhruti
@NitinGohel hello :P
posted on September 01, 2014 by akk

(removed)

2
Q: Use identify tool on a specific coordinate

DanielJust a simple question. I would like to use the identify tool for a specific coordinate to get the pixel value. Unfortunately its not possible to place the cursor that precisely. I used the got to xy tool to set a point but even that doesnt help. Anybody knows how to solve this.

 
11:18 AM
1
Q: Inference Challenge in First Order Logic

Okh. PijI ran into old exercise on FOL in Artificial Intellegence. any one could help me? Suppose we have $ E \bigwedge R \Rightarrow B$ $ E \Rightarrow R \bigvee P\bigvee L $ $ K \Rightarrow B$ $ \neg (L \bigwedge B ) $ $ P \Rightarrow \neg K $ which of them cannot inference from logic reasonin...

0
Q: Does $f(n,z)$ have $2^n$ distinct fixpoints for all $n$ ?

mickLet $f(z)$ be a given degree $2$ polynomial. Let $n$ be a positive integer. Let $f(1,z) = f(z)$ and $f(n,z)= f(1,f(n-1,z))$. How to decide if $f(n,z)$ has $2^n$ distinct fixpoints for all $n$ ?

3
Q: How come that (cos2x + 1) = (2 cos^2 x – 1 + 1)?

Akshat TripathiI really am not able to find any identity which results in this expression, any help regarding how we obtain the right-hand side of the equation would be really appreciated. :)

-1
Q: Precalculus word problem

user173071Please help me solve this problem: A warehouse is being designed. The brick walls will cost $\$3$ per square foot to build. The roof and floor of the warehouse are flat and square and will cost $\$24$ per square foot to build. The volume of the building is to be $32,000$ cubic feet. a) Express ...

0
Q: Prove formally that the limit equals to $1$

user159870How can I find the limit $\lim_{n \to +\infty} \sqrt[n]{n^4+\frac{n^3}{2}+1}$? It is equal to $1$,as $n^{\frac{1}{n}}=1$. But,I don't know how to prove formally that $\lim_{n \to +\infty} \sqrt[n]{n^4+\frac{n^3}{2}+1}=1$.

0
Q: Find a real entire function $f(z)$ asymptotic to $\ln(x^2+1)$ for real $x$.

mickFind a real entire function $f(z)$ asymptotic to $\ln(x^2 +1)$ for real $x$. More specific I want $f(0)=0$ and $\ \frac{1}{2} ln(x^2+1) < f(x) < 2 ln(x^2+1)$. Or prove it does not exist.

-1
Q: Alignment of a triaxial accelerometer

branny12000I was wondering if someone could explain the alignment issues associated with a tri-axial accelerometer. It measures acceleration in terms of g. I have read some literature but I am unsure about the alignment issues involved

0
Q: How are heat transfer rate and heat capacity constant of a material related?

Dulguun LstHow are heat transfer rate and heat capacity of a given material is related? When I was a kid I imagined it like "Capacity is like a container or bucket of some sort, if it gets filled easily it can give away heat easily. Metaphorically overflowing". Or is it related at all? I'm sorry if it's to...

0
Q: How to repair msi.dll

Matt McNabbWindows 8, Acer Aspire M laptop. The file C:\Windows\SysWOW64\msi.dll has become corrupted (viewing with a hex editor, the first 0x4000 bytes are zero). This is probably due to a hard drive error. This corrupt file prevents various other programs from running, e.g. MS Outlook. How do I restore ...

0
Q: Rename multiple files in folder

tato469I have some files in my folder like: asd55.png qwe55.png zxc55.png I want to remove the 55 and get the result: asd.png qwe.png zxc.png I tried with: ren *55.png *.png but doesnt work.

0
Q: Rsync service on windows

SylwekqazI write a little program on windows using Rsync and I have problem with automatic authentication. When I try authentication using key file Rsync ask for a password rsync -av --chmod u+rwx -e'ssh -i /cygdrive/c/users/sylwekqaz/.ssh/id_rsa' '/cygdrive/d/' 'sylwek@127.0.0.1:d' @@@@@@@@@@@@@@@@@@...

0
Q: How to delete partition device from loop device?

George ShuklinI mount disk image via loop device (losetup -f image.img). It contains partition table and I force kernel to read it: partprobe /dev/loop1. I mount /dev/loop1p1, fix stuff I want to fix, umount back filesystem. I remove file from loopback device (losetup -d /dev/loop1). But /dev/loop1p1 did not...

0
Q: 10 milli-second C++ excution time

aabbI try to find out the exact execution time for "for loop" with 2e8 iteritions. The following code is ran within 10ms after compiled from g++ for c++ file. People told me that is optimization code automatically done by C++ compiler so you get meaningless execution time. In other words,since there ...

0
Q: Slow rendering performance for 500 rows and 12 columns table

Petar MinchevI am using Mojarra 2.1.19. I have a simple Facelet which contains only one table with 500 rows and 12 columns. The cells contain only text property data. It needs about 2 seconds to execute the render response phase. As a result the application is not very responsive. Also all rows must be seen....

0
Q: C++ Overload Operator = for Pointers does not compile

aqmI am trying to implement a template Class with an Operator Overload for = so far it works for non pointer elements, but if I try it for pointers it does not compile My template Class: template <class T> class IBag { public: T _val; void Set(T val) { _val = val; } T Get() { return _...

0
Q: PDO: lastInsertId what value return?

Joshua Banein PHP if I use $last_id = $db->lastInsertId(); The variable $last_id does will get the value of the last row I've inserted in that instance or the latest row of the entire db? if there are many users that connect and update database at the same time, the last id that I need in my applicat...

0
Q: Display only Y value in coordinate array

DanazarIm creating an array of coordinates like this: var array = [[0,100], [(Range),130]]; where range is a user-defined number. Im wondering if there is a method in JavaScript to output only the y values into a string or even using console.log so the output would look like 100, 130 If anyone can...

-1
Q: Connect SignalR to SQL Server 2008 for real time notifications

SofiaI'd like your help and experience in how do I connect SignalR to SQL SErver 2005. What I specifically mean is where do I place the connection string and in which part shall I put the select statements. Thank you in advance.

0
Q: how to get thumbnail view of given html code, using php

Sudheer temporaryI'm using ckeditor to create email templates, I'm trying to get a thumbnail view of a given html code. I have tried with html2canvas(document.getElementById('templatecontent'),{ onrendered: function (canvas) { var imgString = canvas.toDataURL("image/png"); window.open(imgSt...

0
Q: Tag recursive add

Денис БегловI have this code in class: public function parseQuoteRecursive($input) { if (is_array($input)) $input = '<blockquote>'.$input[1].'</blockquote>'; return preg_replace_callback('#\[quote]((?:[^[]|\[(?!/?quote])|(?R))+)\[/quote]#', array($this, 'parseQuoteRecursive'), $input); } ...

0
Q: Use macro codes in Delphi like C/C++

user3725553I found this macro code in Delphi/Pascal syntax but i can't use it! Does Delphi support macro codes like C/C++ or this macro is for another language such as Lazarus ??? The macro : {$ifdef Profile} {$define __TRACE__:= try } {$define __END__:= finally ShowMessage('Hello !'); end;} {$else} ...

0
Q: How to do `pod trunk push` to replace an existing version of podspec

HlungI already did a pod trunk push for a podspec version. Can I push it again and overwrite the existing one? I tried it but it gives me this error. $ pod trunk push Parse-iOS-SDK.podspec Validating podspec -> Parse-iOS-SDK (1.2.21) [!] Unable to accept duplicate entry for: Parse-iOS-SDK (1.2.21) ...

0
Q: Laravel 4 eloquent after save id become 0

Jacky JouIt's a table migrated from https://github.com/lucadegasperi/oauth2-server-laravel In the table oauth_clients, field data type of id is varchar(40), not int. $name = Input::get('name'); $id = str_random(40); $secret = str_random(40); $client = new oauthClient; $client->name = $name; $client->id...

-1
Q: Error Could not contact Elasticsearch at http://ip:9200. Please ensure that Elasticsearch is reachable from your system

AdminI'm configuring ELK in my environment and getting the "Error Could not contact Elasticsearch at http://Ixx.xx.xx.xx:9200. Please ensure that Elasticsearch is reachable from your system." in browser. Can anyone help on this. Thanks!!

0
Q: How can I call signout activity from different class?

Sanjog ShresthaI want to call the signout method from different activity. How can I do that? I have tried implementing the codes from the google login documentation provided on the developers site.I wonder how can we do that? I have created the button in the other activity and wanted to invoke the signout meth...

0
Q: How to stop cmd prompt from showing when I run my .exe file

PPGI have a made a GUI in Python, which I have turned into an .exe file using pyInstaller 2.1. Every time I run the .exe file the Windows Command Prompt starts, then my GUI starts on top of it. Is there a way to stop the cmd prompt from showing? (This happens on both Win7 and Win8 (64-bit) machin...

-1
Q: How to check whether cart is empty on checkout?-simpplecart

Vinay JoshiI am implementing simple cart in my project. I want to put a validation for an empty cart and display an alert message if my cart is empty. I new to javascript so I don't know where to put the validation?

14 mins ago, by Feeds
posted on September 01, 2014 by akk

(removed)

14 mins ago, by Feeds
in Coders Of The Heaven, 13 mins ago, by Dhruti
@NitinGohel hello :P
14 mins ago, by Feeds
in IOS Developer Family, 15 mins ago, by Nitin Gohel
hello @Leena maam
14 mins ago, by Feeds
in IOS Developer Family, 16 mins ago, by Leena
hello @NitinGohel
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 17 mins ago, by SilentKiller
@NareshSharma Hello Sharmaji hows you.?
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java and Android era , 1 min ago, by Pankaj Arora
@navya @PankajSharma hello mam, sir
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java, 4 mins ago, by IvanMatala
hello guys : ]
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
11 mins ago, by Feeds
0
Q: PHP exception and dynamic function call

RyanConsider the function below: <?php function foo() { $bar = new stdClass(); $bar->hello(); } try { $fn = 'foo'; $fn(); } catch (Exception $e) { echo 'suck..'; } The exception handler seems never work, what are the way to fix the code?

14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Bill and Tasos K., 14 mins ago, by Tasos K.
Hello Bill, I am glad I helped. Yes, I agree CSS can be very difficult to handle sometimes and yes bootstrap has also saved me many hours
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
@Dhruti Hello Miss Reader/Dhruti/Anamika etc. :)
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
Hello Gutam Rishi :) @Indian
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Indian
hello @NareshSharma
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in [iOS][Android][ChaosOverFlow], 28 mins ago, by Dilbar
@SaadChaudhry hello
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in ASP.NET with C#/VB/MVC, 5 mins ago, by vishu minhas
Hello @TBA. Paste your problem??
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in Android enhusiastics, 3 mins ago, by all
hello @Mobile are you pushp ?
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Gorostas and Jake745, 30 mins ago, by Gorostas
Hello Mate are you there
14 mins ago, by Feeds
18 mins ago, by Feeds
in Top Room, 12 mins ago, by Ando Masahashi
@TopCat hello
in IOS Developer Family, 9 mins ago, by Bajaj
@NitinGohel hello
0
Q: Making call with pjsua

José RodriguesI've compiled the pjlib an pjsua version 2.2.1 on both mac and raspbian and it's working fine. I've putted my config parameters on a file vodafone.cfg and when i run pjsua using ./pjsua --config-file vodafone.cfg everything works and i'm able to receive and make calls through the pjsua CLI. ...

0
Q: when ssh from mac to ubuntu server, it will be added to hosts.deny

user3793527information I asked the same question in stackoverflow.com and was told that this would be a better place to ask. I'm running an Ubuntu Server 13.10. I can connect to it using SSH from any computer except my laptop (MacBook 2007, OSX 10.6.8). OpenSSH was installed using port. When I try to conn...

0
Q: How to start Apache after ioncube installation?

petercraigI am getting the following error when trying to start the Apache2 webserver after installing ioncube via the loader wizard. PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0 I've tried Google answers with no luck, hoping one o...

0
Q: Laptop-TV sync problems in ubuntu 14.04

saswat jenaI am using Dell Inspiron N4010 Laptop. Recently I have upgraded from Ubuntu 12.04 to Ubuntu 14.04. When I connect my laptop to my Sony Bravia Television through HDMI cable I can see my desktop wallpaper both in Laptop and TV. But After that whatever I do (Say Playing a video file), I can see the ...

0
Q: How do I install TeXWorks with tlmgr?

gertvdijkI've installed TeXLive 2014 in a local installation using the install-tl.sh method and selected the collection collection-texworks. I expected to be able to run the texworks binary after installation, but there's no such binary in /usr/local. Also, tlmgr reports it cannot find the binary. What a...

0
Q: Ubuntu 14.4 is not supporting dell inspiron15-3537 vga card

Aruna ThiwankaI upgrade the my laptop ubuntu 13.4. in to 13.10 after that vga controller is not working. then i did a new clean install with the latest version of ubuntu (14.04) but the problem is still there. but it's working finely with 13.4. but i cant update software repositories. pls help me to fix this b...

0
Q: Internet Is not working

Mandy SinghMy wifi shows connected.But when i try to open the router page or access internet it does not work.The internet is working on windows 7 but not on Linux 14.I juts installed it yesterday.Please Help

0
Q: SSD Crash Randomly

grichiecFull disclosure - I'm actually running Mint (17 Qiana 64bit), but I'm hoping you guys will be able to help anyway. It's a fresh install on a new laptop (Dell N5110) with a new Crucial MX100 SSD and twice now the whole system has frozen up. If I switch to a text terminal (as in ctrl-alt-f1) and a...

14
Q: Why C# action method behaves like static method?

nunuAs you can see in the code, I have declare Action<> object as a variable. Would anybody please let know why this action method delegate behaves like a static method? Why does it return true in this given code? Code: public static void Main(string[] args) { Action<string> actionMethod = s =>

0
Q: Extending Banach Space of Functions

Freeze_SGiven a Banach space of functions: $$E:=\{f:\Omega\to V:\|f\|<\infty\}$$ with $\Omega$ a suitable space and $V$ a vector space. This then gives rise to a topological vector space. (It has special properties due to its construction via a norm.) Now, in principle this could be extended to: $$E_\i...

0
Q: Good arguments to why a modified Dirichlet function has a derivative at some points

vTxI have this trigonometric Dirichlet function as follow: $$ f(x) = \left\{ \begin{array}{lr} 1 & : x \in \mathbb{Q}\\ 1 + \cos x & : x \notin \mathbb{Q} \end{array} \right. $$ I'm guessing that for $x$ equal to the integer multiple of $\pi/2$, the function is continuou...

0
Q: getting request into lxc-guest via host firewall but no answer (openvpn inside lxc)

greenone83my goal is to set up openvpn inside an lxc-container and i came close but it could not manage to get an answer out of the host. The Setup Host: public ip: 88.88.88.88 (on eth0) LXC-Gateway: 192.168.0.1 (bridge via libvirt) IP-Tables: # basic clutter -A INPUT -i lo -j ACCE...

-1
Q: How to compare a string-array to a real-array

NameI take a output array-string from a php-file with help from ajax. The string is like: {latLng: [53.0854, 8.7463]},. Now I will take this coordinates and reflect it with help from this jQuery plugin http://jvectormap.com/. These are the coordinates from Bremen, but it shows me a point at Africa...

0
Q: Hibernate transaction lock for table having foreign key

vipin cptable 1 with a primary key table2 has foreign key reference to table1 primary key I want to insert multiple records to table2 like below code begin hibernate transaction; OBJ1 = insert table1 object. loop: set table2 object with foreignkey OBJ1 and with some other values; Lock this objec...

0
Q: how can I calculate order of an element in finite field using ntl?

Habib LotfiI'm trying to calculate order of an element in finite field (Group) using ntl. but I did not find any function to do this! can anyone guide me please?

-1
Q: Card design using html

Santhosh NayakI want to design card/template design using html. I want to design movable and re sizable components like vistaPrint any ideas to design such a application?

0
Q: Using VBScripting Add Node to a xml file

ArunIn the following XML file, using vbscript i want the add nodes <?xml version="1.0"?> <Project> <Variable name="Variable_1"/> <Study> <Agent> <Variable name="Variable_1" baseline="0" distribution="" flags="2" max="1" min="0"/> </Agent> </Study> </Project> After...

0
Q: How to arrange table rows up and down along auto arranging row number sequentially?

user3383271Html: <table class="myTable" border="1" width="80%"> <tr > <td></td> <td>one</td> <td><button onClick="MoveUp();">&#8679;</button></td> <td><button onClick="MoveDown();">&#8681;</button></td></tr> <tr> <td></td> <td>two</td> <td><button onClick="MoveUp();">&#...

0
Q: How to split NSString and Rejoin it into two NSStrings?

AamirJavaidI have a nsstring like : nsstring * allSeats; allSeats=@"1_Male,2_Female,3_Female,4_Male"; I want to split nsstirng on behalf of keywords "_Male" & "_Female" and then make there seperate nsstrings .For example : nsstring * maleSeats; now ; maleSeats=@"1,4"; and same nsstring * femaleSeats...

0
Q: Tool for monitoring connections in PostgreSql

SajI have a postgres server in server machine and several (less than 100) java client applications are accessing it. What is the best open source tool for monitoring the connections in postgres server and memory usage?

6 mins ago, by Feeds
0
Q: Use macro codes in Delphi like C/C++

user3725553I found this macro code in Delphi/Pascal syntax but i can't use it! Does Delphi support macro codes like C/C++ or this macro is for another language such as Lazarus ??? The macro : {$ifdef Profile} {$define __TRACE__:= try } {$define __END__:= finally ShowMessage('Hello !'); end;} {$else} ...

5 mins ago, by Feeds
in IOS Developer Family, 9 mins ago, by Bajaj
@NitinGohel hello
5 mins ago, by Feeds
in Top Room, 12 mins ago, by Ando Masahashi
@TopCat hello
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Gorostas and Jake745, 30 mins ago, by Gorostas
Hello Mate are you there
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in Android enhusiastics, 3 mins ago, by all
hello @Mobile are you pushp ?
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in ASP.NET with C#/VB/MVC, 5 mins ago, by vishu minhas
Hello @TBA. Paste your problem??
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in [iOS][Android][ChaosOverFlow], 28 mins ago, by Dilbar
@SaadChaudhry hello
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Indian
hello @NareshSharma
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
Hello Gutam Rishi :) @Indian
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
@Dhruti Hello Miss Reader/Dhruti/Anamika etc. :)
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Bill and Tasos K., 14 mins ago, by Tasos K.
Hello Bill, I am glad I helped. Yes, I agree CSS can be very difficult to handle sometimes and yes bootstrap has also saved me many hours
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
11 mins ago, by Feeds
0
Q: PHP exception and dynamic function call

RyanConsider the function below: <?php function foo() { $bar = new stdClass(); $bar->hello(); } try { $fn = 'foo'; $fn(); } catch (Exception $e) { echo 'suck..'; } The exception handler seems never work, what are the way to fix the code?

5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java, 4 mins ago, by IvanMatala
hello guys : ]
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java and Android era , 1 min ago, by Pankaj Arora
@navya @PankajSharma hello mam, sir
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 17 mins ago, by SilentKiller
@NareshSharma Hello Sharmaji hows you.?
5 mins ago, by Feeds
14 mins ago, by Feeds
in IOS Developer Family, 16 mins ago, by Leena
hello @NitinGohel
5 mins ago, by Feeds
14 mins ago, by Feeds
in IOS Developer Family, 15 mins ago, by Nitin Gohel
hello @Leena maam
5 mins ago, by Feeds
14 mins ago, by Feeds
in Coders Of The Heaven, 13 mins ago, by Dhruti
@NitinGohel hello :P
5 mins ago, by Feeds
14 mins ago, by Feeds
posted on September 01, 2014 by akk

(removed)

0
Q: Unable to Connect to the Internet - Password Authenication Panel Keeps Appearing

user270160I am using Ubuntu 14.04. I was web surfing earlier today without any issues - just like I have done for ages. I get back to my computer 4 or 5 hours later and a panel appears asking for authentication for my Wi-Fi network - a password is required to access my internet account with my ISP. I re-e...

0
Q: Trying to install Ubuntu 14.04 but getting the message "not a bootable disc" - do I need to unzip it before trying to boot?

June MurphyThis is on an Acer Aspire V5 (AMD 64-bit) with Windows 8.1 pre-installed. Have disabled secure boot and fast start-up; have tried with UEFI but it doesn't even try to boot from USB-HDD or USB-FDD in that mode, it just launches Windows; have tried in Legacy mode but getting the message "not a boot...

0
Q: Seperate terminal windows for input and output streams

dushyantashuHow do i use different xterm or terminal windows for input and output streams while programming in C++ such that i enter input on one terminal window and i get output on another window?

0
Q: In Bicentennial Man, how famous is Andrew?

George TThis is about the film by that name, but if the short story or the novel are similar enough (I've not read them) information from them could be used to make a guess. Andrew Martin is physically a standard android (in the beginning) but unlike all others he begins to develop his own personality, ...

0
Q: On some inequalities which are an generalization of F. Beukers' corresponding results

Wangt FeiIn 1981, F. Beukers proved such following theorem: Theorem $1$. $~$ Suppose $m \in \mathbb{Z}$, then for any integer $x$, $$ \left | \frac{x}{2^m} - \sqrt{2} \right | > 2^{-1.8m-43.9}. $$ By using Theorem $1$, he obtained: Theorem $2$. $~$ Suppose $D \neq 0$ and $D \in \mathbb{Z}$. I...

0
Q: An abstract a priori estimate in finite element method

user83789Let $V$ and $K$ be Banach spaces (with norms $\|\cdot\|_V$ and $\|\cdot\|_K$ resp.) and suppose that there is a compact linear embedding $K\hookrightarrow V$. Furthermore, let $P_n$ be a family of projections on $V$ whose rank is finite and that for all $u\in V$, $\lim_{n\rightarrow\infty} \|P_n ...

0
Q: Can anyone find the summation for this?

TimCan anyone find the ∑ summation for this please? 4-8+12-16+20-24+28 It seems to be going up by steps of 4, but I can't seem to get how I should write it down, since it uses both + and -

0
Q: System does not shut down in charging mode

troublemakerI kept my laptop for charging for a long time and after that when I try to shut down with the power adapter on, it keeps restarting. It shutsdown and wakes up immediately. This is not the same thing when it is battery power. it works fine when on battery. But when it is in charging, it wont shut ...

0
Q: How to get only specific tags of elementsByClassName?

membersound<div class="dates"> <span class="dates>value</span> </div> I'd like to extract all elements with class dates, but only the span elements. How would I have to modify the following JS: var elements = document.getElementsByClassName("dates"); //gets both div + span Finally I'd like to extrac...

0
Q: how to install missing jars in eclipse for aws sdk with SES service

ULLAS KI added maven set up to my eclipse project and I am able to see the lib in my target folder, I referred the AWS SES docs to send mail using API . I wont see any complation error but when I try to send mail usig AWS SES API I am getting class not found exception . java.lang.ClassNotFoundExceptio...

0
Q: Static method in java, can I access in a non-static way to a static method?

AccollativoI think that there's something wrong in my code, is it the same to call (in setIstance) the method isSameMonth() in the static way or in a non static way? The compiler suggest me to change: timesheet.isSameMonth() to Timesheet.isSameMonth() I think no, because I want to pass the local variable t...

0
Q: Get date field value using javascript

user3336963im using sharepoint date in my form ,im trying to get the date field using javascript .But ididnt get anything. from f12 i got thi sinput elements <input name="ctl00$PlaceHolderMain$ArticleDateSection$ctl01$ArticleDateField$ctl00$ctl00$DateTimeField$DateTimeFieldDate" type="text" value="9/10/20...

0
Q: gridview , details view don't work anymore

user3624973I'm building asp.net website I have used detailsview and gridview in many pages and it was working perfectly suddenly the views don't retrieve any data from the data base locally or even on server , Despite that the tables still have records and the connection in web.config didn't change e...

0
Q: Symfony datetime field with day and month optional

NealvI have a symfony project with a doctrine entity that contains date fields. Everything works fine, but I want to be able to enter the day and month optionally. SO I can enter: 01-01-2014, or just 2014. The widget exists of the standard 3 select fields. When I only enter the year field, it doesn't...

0
Q: compare video and audio in one file with matlab

VVVVcompare video and audio in one file the video from the start is an clean of audio voices, and it Avi format this what i make but i don't know how to merge this audio with some video in matlab function [ output_args ] = audio( a,b ) [y,Fs] = audioread(a); audiowrite(b,y,...

0
Q: need to call controller method which return String value from view In C#

Abhishek MotiwaleIn C# I want to call a controller method which returns a string value from view, e.g suppose I have a controller method "public string Username(string email)". I want to call this method in view so that I can assign return Value i.e. User name to my label. So I have two question :- How to cal...

0
Q: How to Use AndroidNineOld to replace fragments with animation

K2evilI'm newbie to android programming... I Have a main activity that contain some fragments. I know how to use animations in android.app.FragmentManager... but when I try to use android.support.v4.FragmentManager for some reasons, I realized that it doesn't support setCustomAnimation(). I googled my...

0
Q: GPG Keys getting deleted automatically

RohitI am using the following steps to import keys into GPG Open prompt and fire import KEY command Fire --edit-key KEY_NAME Type trust and type 5 save Place gpg.conf file at %APPDATA%/Roaming/gnupg and it only has one word ''batch' I have two keys whose expiry has beem set to infinity PUBLIC KEY ...

0
Q: Apache service has no access to network drive

snakemeIm trying to get a xampp installation running. In my httpd.conf i use the following DocumentRoot setting: DocumentRoot //DiskStation/Work/htdocs If i now start the apache service i'll get the following error: The Apache service named reported the following error: DocumentRoot must be a d...

0
Q: How to enable https support for curl in 14.04?

user2665732I have a "curl" program installed on Ubuntu 14.04 Server. Unfortunately, it does not support https. I have googled this problem and found a suggestion to replace "curl" package with "curl-ssl", but "apt-get" can not find it. I definitely do not want to compile it by myself. Help me, please.

0
Q: DR.VS Pilot which one should one go for

Vineet Chauhan RajputI am from india.Currently,I am in class 11th opted for medical with IT(Computer).I want to become Dr. As well as pilot.Can i become that.Means,After pursuing DR. Degree can i become that or is their any way because both of them are my favourite please let me know.I want to know can i achieve my d...

0
Q: I can't copy my file into my 2GB memory stick.

BeckyI have a verbatim 2GB memory stick that I need to copy an MP4 movie onto to post off. The movie is 544.5MB, and as far as I can see all other files have been removed from the USB stick, but it says there is not enough space! Help! Thankyou (I am using OX 10.9)

0
Q: How to convert a string to const void* in c++?

AshishI have a method, one of whose parameters require a const void* as input. When i do this, it works - const void *a = "abc"; \\abc is also a string though. I've tried assigning a string variable to a const void* variable, but it gave some errors. Why can't i directly assign a string variable to...

0
Q: Form validation for numbers

margerI have this code which has a form and a script that validates it if the inputted value is a number. The problem is when I click the submit/add button it will go directly to the addcontribution.php. <form form="CONTRIFORM" name='contribution' method="POST" Action="addcontribution.php" onSubmit="r...

-1
Q: php regular expression match number with 2 digitis only, no partial number

kKreI have the following problem in php: I want to extract a number that has two digits only and is not a partial of a longer number. I'm using preg_match() and want to have the number only as the match result. For example, "abc53abc" should return 53, but "abc553abc" should return nothing. I tried ...

0
Q: Python: Add a string to each individual string in a list

Fred SSimple addition of a string and a list of strings yields the error cannot concatenate 'str' and 'list' objects. Is there a more elegant way to do the following (e.g. without the loop)? list_of_strings = ["Hello", "World"] string_to_add = "Foo" for item, string in enumerate(list_of_strings): ...

-1
Q: Why false|(!!1)===1 in JavaScript

Dennis Cheung!! Is used to cast as Boolean in JavaScript, that !!1===true. However, when I do false|(!!1) it give me 1, but it should equal to false|true===true. It's it a bug or a feature in JavaScript? I tested in chrome and Firefox

0
Q: how to get adaptive background using jquery?

3bu1hi i have a slider image on which i have bit of text which needs to display, as color of image is not constant i have to change text color using jquery i have been browsing on this issue i got few links Dynamically adjust text color based on background image http://jsfiddle.net/xLF38/818/ but ...

0
Q: Android couldnot return Correct data to pass into ListView

TuxWorldfrom the WebServer i can fetch data and pass it correctly into ListView with this class: ReceiveFields class Structure: public class ReceiveFields { public long lastId; public String smsNumber; public String mobileNumber; public String senderName; public String smsBody; public String rece...

0
Q: Angular nesting same controller

Raju KumarHi is it a good practice to have controller within a controller in angular? For Example: The body tag of my html has a controller called "CommonCtrl" within the html tag i'm loading a template using includes and inside the template i reuse the same controller. Code: Index.html <body ng-contr...

0
Q: How to replace special character '<' from string in SQL server?

Abhishek BhalaniI have inserting the dynamic html string to the tag from SQL server. when the HTML string contain the '<' character then whole Html going to disturbed and not working well in front UI. I have create fiddle for your reference http://jsfiddle.net/Loxr10nn/ I want to replace '<' character from ...

0
Q: SAPUI5- Data binding not working

user3894168I am trying to bind data from controller to view but for some reason I am unable to display data in the view. I am setting the model using the following code: var oModel = new sap.ui.model.json.JSONModel(); oModel.setData(oObject); this.getView().setModel(...

0
Q: How To Filter Data Retrieved By Month in Crystal Reports

Newbie JasonHi I want to filter my data by month. I have tried this but it doesn't work because of the error after I save. What am I doing wrong or how can I make a workaround for filtering by month? Any help will be GREATLY appreciated for this project!

12 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
posted on September 01, 2014 by akk

(removed)

12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
in Coders Of The Heaven, 13 mins ago, by Dhruti
@NitinGohel hello :P
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
in IOS Developer Family, 15 mins ago, by Nitin Gohel
hello @Leena maam
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
in IOS Developer Family, 16 mins ago, by Leena
hello @NitinGohel
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 17 mins ago, by SilentKiller
@NareshSharma Hello Sharmaji hows you.?
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java and Android era , 1 min ago, by Pankaj Arora
@navya @PankajSharma hello mam, sir
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java, 4 mins ago, by IvanMatala
hello guys : ]
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
11 mins ago, by Feeds
0
Q: PHP exception and dynamic function call

RyanConsider the function below: <?php function foo() { $bar = new stdClass(); $bar->hello(); } try { $fn = 'foo'; $fn(); } catch (Exception $e) { echo 'suck..'; } The exception handler seems never work, what are the way to fix the code?

12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Bill and Tasos K., 14 mins ago, by Tasos K.
Hello Bill, I am glad I helped. Yes, I agree CSS can be very difficult to handle sometimes and yes bootstrap has also saved me many hours
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
@Dhruti Hello Miss Reader/Dhruti/Anamika etc. :)
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
Hello Gutam Rishi :) @Indian
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Indian
hello @NareshSharma
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in [iOS][Android][ChaosOverFlow], 28 mins ago, by Dilbar
@SaadChaudhry hello
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in ASP.NET with C#/VB/MVC, 5 mins ago, by vishu minhas
Hello @TBA. Paste your problem??
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in Android enhusiastics, 3 mins ago, by all
hello @Mobile are you pushp ?
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Gorostas and Jake745, 30 mins ago, by Gorostas
Hello Mate are you there
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
in Top Room, 12 mins ago, by Ando Masahashi
@TopCat hello
12 mins ago, by Feeds
5 mins ago, by Feeds
in IOS Developer Family, 9 mins ago, by Bajaj
@NitinGohel hello
12 mins ago, by Feeds
6 mins ago, by Feeds
0
Q: Use macro codes in Delphi like C/C++

user3725553I found this macro code in Delphi/Pascal syntax but i can't use it! Does Delphi support macro codes like C/C++ or this macro is for another language such as Lazarus ??? The macro : {$ifdef Profile} {$define __TRACE__:= try } {$define __END__:= finally ShowMessage('Hello !'); end;} {$else} ...

in Smart Developers' Lab, 9 mins ago, by Mehul Patel
Hello Friends
in Android A to Z, 7 mins ago, by Mehul Patel
Hello
in Android A to Z, 4 mins ago, by Spry Techies
@MehulPatel hello dear
0
Q: squid3 wccp2 setting up gre tunnel from squid proxy to router

johnI am trying to setup a gre tunnel between a squid 3.1 proxy on linux debian, and a cisco router. I want to have web requests to port 80 to pass through the proxy first. I have created a gre tunnel on the router, and a gre tunnel on the proxy server. I'm not sure that I have the essentials set...

0
Q: How prove this sum indentity with the zeta function and divisor functions

math110show that $$\zeta{(s)}\zeta{(s-a)}\zeta{(s-b)}\zeta{(s-c)}\zeta{(s-a-b)}\zeta{(s-b-c)}\zeta{(s-a-c)}\zeta{(s-a-b-c)} =\zeta{(3s-a-b-c)}\zeta{(2s-a-b)}\zeta{(2s-b-c)}\zeta{(2s-c-a)}\sum_{n=1}^{\infty}\dfrac{\sigma_{a}{(n)}\sigma_{b}{(n)}\sigma_{c}(n)}{n}$$ My idea:LHS=$$\sum_{n=1}^{\infty}\dfrac{...

0
Q: Number of Triangles in a Square Grid

user1334404I am interested in counting the number of triangles that can be constructed within a grid of points measuring $ n \times n $. The number of sets of 3 points that can be found when $ n \geq 3 $ is simply $ n^2 \choose 3 $. If the number of degenerate sets where the 3 points are collinear is found,...

0
Q: Question about wave functions

ArtemisiaWhat does a paper on quantum mechanics imply if it speaks of the coherent wave function of a macroscopic body?

0
Q: collapsable menu using bootstrap

DivyaI have created a simple vertical nav bar, which has a some menu itmes and further each menu item has some sub menu items. When i click on a menu it expands to open its sub menu items and when i click on another menu it also expands. The problem is i want one menu item to auto collapse when i clic...

-4
Q: HTML CSS WHITE BAR & HORIZONTAL BAR

TekkzzWhy is at my Website link between the navigation elements a space and why is a whitebar under the header image? marginand paddingis set to 0 everywhere i thought. No plan...

0
Q: node.js memwatch chasing a memory leak

RoyHBI've been chasing a pretty bad memory leak in a node program. I'm using the memwatch module HeapDiff() to try to identify the offending objects. HeapDiff's report shows two suspect elements in the details array, ("Array" and "String", each of which have grown considerably. I'm officially lost ...

0
Q: Design Pattern to convert json data to Database table structure

Raja KulasekaranWe have a requirement to convert user data to a potential Database table structure ( data to fields ) . What whould be the best way to do this ?

0
Q: Use value from dictionary as column header in Sqlite query

JamesI have an Sqlite database that I need to query from python. The database only has two columns, "key" and "Value", and the value column contains a dictionary with multiple values. What I want to do is create a query to use some of those known dictionary keys as column headers, and the correspondi...

0
Q: working with entity framework query

kumarI am working on entity to get the posts on user wall of posted by him and posted to him and posted by his friends for this i have 4 tables 1)userprofile 2)post 3)postcomment 4) friends Userprofile table has UserID UserName ProfileImg post table has PostId postedby postedto message created po...

0
Q: HTML5 Binary Button

Irgendw PointerI'm building an webapp using HTML5, PHP, AJAX and CSS. I want to add for settings a binary button like in Android and iOS. But I do not how use such button in HTML5. A normal button is made like this code: "<button onclick=""></button>. But how can I add two possible stages for this button? Like ...

0
Q: cordova html5 getFile method's callbacks does not invoke

Tutcugili have a method named readFile below, if i call this method when file exists, it works fine, but if file not exists, console.log("getDirectory"); writes to console then none of getFile callbacks not invoke, and filesystem stucks, i can't read or write file after that happens, even console.log fun...

0
Q: No $NODE_PATH set mac

user2992596I have been having many issues with npm/node today, and still haven't gotten to the bottom of the issues. I managed to get node installed by following these instructions. It let me install node packages fine, so I installed yeoman etc, but now I get yo: command not found if i try start a yeoman p...

0
Q: How can I scp ear file to a remote IP (JBoss Server)?

user2693979I wanted copy an ear file by scp command in Ubuntu Terminal. ssh something.ear root@IP-address:/path/jboss/jboss-6.1.0.Final/server/default/deploy Copy is done, but when I start JBoss (sh run.sh), it can't deploy ear file because of one of the JAR files because of ZipException (Invalid LOC Head...

0
Q: list nth child not working for responsive layout

KiranI want to show responsive navigation like item1 to item6 on right side.. it will look like this from 1024 resolution to max whatever it is: ========================================== banner [item1] [item2] [item3] [item4] [item5] [item6] ============================...

0
Q: What does the !! operator do in Kotlin?

Konrad MorawskiWhat does !! do in Kotlin? I see the !! bit scattered all over the code in Kotlin libraries on GitHub (example), but no explanation of it in the docs (neither the new nor the old site). Apart from an explanation, I would also appreciate if someone pointed me to wherever in the documentation iss...

5 mins ago, by Feeds
0
Q: Python: Add a string to each individual string in a list

Fred SSimple addition of a string and a list of strings yields the error cannot concatenate 'str' and 'list' objects. Is there a more elegant way to do the following (e.g. without the loop)? list_of_strings = ["Hello", "World"] string_to_add = "Foo" for item, string in enumerate(list_of_strings): ...

5 mins ago, by Feeds
in Android A to Z, 4 mins ago, by Spry Techies
@MehulPatel hello dear
5 mins ago, by Feeds
in Android A to Z, 7 mins ago, by Mehul Patel
Hello
5 mins ago, by Feeds
in Smart Developers' Lab, 9 mins ago, by Mehul Patel
Hello Friends
5 mins ago, by Feeds
12 mins ago, by Feeds
6 mins ago, by Feeds
0
Q: Use macro codes in Delphi like C/C++

user3725553I found this macro code in Delphi/Pascal syntax but i can't use it! Does Delphi support macro codes like C/C++ or this macro is for another language such as Lazarus ??? The macro : {$ifdef Profile} {$define __TRACE__:= try } {$define __END__:= finally ShowMessage('Hello !'); end;} {$else} ...

5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
in IOS Developer Family, 9 mins ago, by Bajaj
@NitinGohel hello
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
in Top Room, 12 mins ago, by Ando Masahashi
@TopCat hello
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Gorostas and Jake745, 30 mins ago, by Gorostas
Hello Mate are you there
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in Android enhusiastics, 3 mins ago, by all
hello @Mobile are you pushp ?
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Trash can, 30 mins ago, by Feeds
in ASP.NET with C#/VB/MVC, 5 mins ago, by vishu minhas
Hello @TBA. Paste your problem??
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in [iOS][Android][ChaosOverFlow], 28 mins ago, by Dilbar
@SaadChaudhry hello
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Indian
hello @NareshSharma
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
Hello Gutam Rishi :) @Indian
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 26 mins ago, by Naresh Sharma
@Dhruti Hello Miss Reader/Dhruti/Anamika etc. :)
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Discussion between Bill and Tasos K., 14 mins ago, by Tasos K.
Hello Bill, I am glad I helped. Yes, I agree CSS can be very difficult to handle sometimes and yes bootstrap has also saved me many hours
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
11 mins ago, by Feeds
0
Q: PHP exception and dynamic function call

RyanConsider the function below: <?php function foo() { $bar = new stdClass(); $bar->hello(); } try { $fn = 'foo'; $fn(); } catch (Exception $e) { echo 'suck..'; } The exception handler seems never work, what are the way to fix the code?

5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java, 4 mins ago, by IvanMatala
hello guys : ]
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
28 mins ago, by Feeds
5 mins ago, by Feeds
in Java and Android era , 1 min ago, by Pankaj Arora
@navya @PankajSharma hello mam, sir
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
18 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 17 mins ago, by SilentKiller
@NareshSharma Hello Sharmaji hows you.?
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
in IOS Developer Family, 16 mins ago, by Leena
hello @NitinGohel
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
in IOS Developer Family, 15 mins ago, by Nitin Gohel
hello @Leena maam
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
in Coders Of The Heaven, 13 mins ago, by Dhruti
@NitinGohel hello :P
5 mins ago, by Feeds
12 mins ago, by Feeds
5 mins ago, by Feeds
14 mins ago, by Feeds
posted on September 01, 2014 by akk

(removed)

5 mins ago, by Feeds
12 mins ago, by Feeds
in Android A to Z, 5 mins ago, by Spry Techies
@Heixss hello can u elaborate your question i can't got that
2
Q: Can anyone find the summation for this?

TimCan anyone find the ∑ summation for this please? 4-8+12-16+20-24+28 It seems to be going up by steps of 4, but I can't seem to get how I should write it down, since it uses both + and -

0
Q: isoperimetric problem:how to solve the given question

amitDetermine y(x) for which $\int_{0}^{1} x^{2} + y^{'2}dx$ is stationary subject to $\int_{0}^{1}y^2=2$, y(0) = 0, y(1) = 0? how to solve it? i tried it: $f=x^{2} + y^{'2}$ and $g=y^2$ then $H=x^{2} + y^{'2}+\lambda y^2 $ then using euler's equation we have: $y^"-\lambda y^{'}=0$ $y(x)=c1\ep...

0
Q: Why do metal surfaces reflect thermal signature?

HelloDillyI recently borrowed a thermal camera from a friend and I tried to observe my palm print over a reflective metallic plate. When I looked at it through the camera, it reflected my thermal signature too. Why this happens and how to measure the heat signature for that material?

0
Q: Google Drive : how to force the preview of a file?

LiviuI added a python (py) file in Google Drive. I cannot preview it (but the main trouble is that google won't search in it) even if it is an UTF8 text file. I can add it with the txt extension, but I would prefer to keep it as it is. Can I force the preview? If not, can I change the type somewhere t...

0
Q: How to see what data is transferred via my router

giorgiI want to be able to see which files is my router downloading and uploading. What request is it sending. There should be some kinda command to monitor your router that way. Or some kinda program i guess

0
Q: Convert java code to c# code

IFortiI am reading the "Head First Object Oriented Design and Analysis" and I am stuck on page 254. In the java code below, I am trying to convert the "Matches" method to a c# one. public class InstrumentSpec { private Map properties; public InstrumentSpec(Map properties) { if (properties =...

0
Q: Call removing method for all set members

FrithjofIn a program, I have a HashSet of Foo: final Set<Foo> set = new HashSet<>(); // add a lot of elements to the set class Foo { public void destroy() { // other stuff [such as removing this as event handler] set.remove(this); } } I want to call destroy() for all members of the set. ...

0
Q: Testing F# async workflows with xUnit.net's Task support

Ruben BartelinkI'm writing F# code and tests in xUnit 1.9. For normal sync stuff, I simply return unit and all is well; but now, I'm migrating the sync innards to be async workflows. In other words, my simple AAA is getting explicit Async usage pushed out into it as I refactor the system: let [<Fact>] ``Can...

0
Q: Rails - making a route for ajax search in a form

RADanI have an class called contribution which belongs_to users. /contributions/new.html.erb I includes the following code to search for a user for a new contribution to belong to. <%= text_field_tag :search, params[:search], id: "search" %> <%= link_to "Search", contributions_path, id: "search_submi...

1
Q: How to check is a particular cell in jtable is being edited?

user2482443I should be able to check if a cell is being edited during mouse hover by passing the column and row: TableCellEditor cellEditor = table.getCellEditor(rowPoint, colPoint); In the above example cellEditor doesn't provide a way to check whether is in edit mode On th other hand, by checking tab...

-3
Q: What is wrong with the following code which calculates a sorted array

Dhruv KWhy doesn't it return any value? Why doesn't it give me the sorted number list back? I am inputting a string numbers,and what an output of sorted number but again in string. #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; class SequenceOfNumber...

0
Q: PHP __construct not taking variables

user3548957I can't seem to find a answer for that, maybe somebody here can help me. I'm trying to pass in a database connection in the construct of my class but i'm getting an error "Missing argument 1 for item::__construct() " , I'v tried setting it with a setter method it works perfectly, so i know the ...

1
Q: Weird Regex behavior in C#

Ufuk Can BiçiciI am trying to extract some alfanumeric expressions out of a longer word in C# using regular expressions. For example I have the word "FooNo12Bee". I use the the following regular expression code, which returns me two matches, "No12" and "No" as results: alfaNumericWord = "FooNo12Bee"; Match m =...

0
Q: How to Show CakePHP Session Flash message in Bootstrap Modal Box

Bob KrissI want to Show the Notification in Bootstrap Modal Box in View In CakePHP. For this i am doing this. In Controller: $this->Session->setFlash($msgNotification,$this->notification()); In view : In this View Modal box comes out means open when Notification is not null. How to do this here.?? w...

0
Q: Latex Why does the figure print with part of the last figure on the edges

Peter MorganI am compiling summary sheets of precise GPS stations. These sheets contain two files showing where the station is. The first file is a cartographic map fragment. The second is a Google Earth Image fragment. Both were initially jpeg files which were converted to EPS to obtain the bounding box as...

0
Q: Where are the iOS Device icons located?

Augustus1When connecting an iOS device iTunes always shows the correct device icon. Where are these icons located? Thanks!

0
Q: C# Reflection.Emit with generic type = type is not generic

doubleint I am using Refletion.Emit, I have an interface, an abstract class and another class. What I want to achieve is create a new class based on those two. So here is the simple interface: public interface IHello() { string SayHello(); } This is my abstract class: public abstract class ...

0
Q: PHP - Two Widgetized Div's in One (non widget) Div

dreamyourcareerI'm having trouble trying to get two widgetized div's nestled inside one div. I have the CSS down, it's just the PHP coding part in the main page. The functions are working perfectly, and I already have the widgets running perfect where they need to be in the widget area. I want it to display as...

0
Q: Is there a way to re-use the MySQL Db connection in Java App Engine

FlorisI want to re-use a java.sql.Connection object. It is with Google App Engine so connection pooling is not an option (I think?). Normally I just create a new connection per servlet call, but now I have functions being called from the servlet and I don't want to create a new connection on each funct...

0
Q: eValidation for email id using firstname and lastname with + sign between in android

Hetal PatelI want to validate these two patterns for email id in andorid but not getting anything please help if someone knows: 1) Firstname+Lastname@abc.com 2) Firstname.Lastname+1@abc.com. even i tried many validation patterns given below: 1) String EMAIL_PATTERN = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-...

0
Q: ListView inside a ListView Item, Adapter Always at position 0

rezaHello Dudes I Have a ListView inside a ListView item : <Button android:id="@+id/button_comments_open" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:text="Comments" /> <ListView android...

0
Q: Does purging an application prevent its reinstallation?

Gábor VargaIf I'm using purge to remove something, will I be able to reinstall that thing after if I want or it's somehow blocks that option in the future?

0
Q: What kind of style is this?

imrichardcoleI was looking for a description of what kind of style this image is: http://handlebarsjs.com/images/handlebars_logo.png Does anyone have any tutorials to replicate this style and also would I be better using Photoshop or Illustrator for that?

0
Q: Can I solve an Euler differential equation by using the Frobenius method?

PabloI'm having some trouble by trying to solve Euler equations by using the Frobenius method. For example, I'm asked to solve the Euler differential equation $$ x^2y'' + xy' - y = 0 $$ using a power series solution. I start by assuming there is at least one solution with the form $ y = x^\sigma\su...

2
Q: What is the different in putting most possible true condition in if, else-if or else

Rajavel DIs there is any different to put most possible true condition in if, else-if or else condition Ex : int[] a = {2,4,6,9,10,0,30,0,31,66} int odd=0, even=0, zero=0; for( int i=0;i<10;i++ ){ if(a[i] % 2 == 0){ even++; }else if(a[i] % 2 == 1){ odd++; }else{ zero+...

0
Q: Font family is not working on server

SabaI have added some fonts on my local and it is working fine. But When I same use that fonts on my server in html pages, It is not working. Some of the fonts are font-family:'SWIS721 Cn BT', font-family:'SWIS721 Md BT' Also see the code which I call for using the fonts <tr> <td> <im...

0
Q: ModalViewController transparent background iOS 8

MadmanOpened old project in Xcode 6 and found issue that background is not transparent in presented view controller. I have used solution in the topic below and it worked so far in ios7. iOS : ModalView with background transparent? Please advice how to deal with iOS 8.

0
Q: Get position from View in PopUpWindow

CilencoIn my application I want to show a PopUpWindow under a Button (the destination). In my PopUpWindow there are two Views: One ImageView (which holds a triangle) and a TextView (to show some text to the user). Now my problem is that I want to center the triagnel directly under the Button. For this ...

0
Q: image size in ie6 in persent of parrent element

waldemarYES! You heard correct. I need IE6 support. My client is still using this "very good" browser. So. I need to make responsive table with images. My table hes 12 images. table has 100% width and its td elements has 8.33% width. Images width is 100%. In all normal browser it works good. Images are ...

0
Q: Recording video without resetting the preview or stopping the MediaRecorder

jawad bin zafarI am working on an application in which MediaRecorder record a video file for 5 second and then start recording again and continue. Videos being recorded should be of five second but what my problem is we need to stop the MediaRecorder and then prepare the MediaRecorder again and which cause a bl...

0
Q: How to convert the value to the Temperature from Sensor?

WunI am working on ST Temperature sensor( hts221 ) , I use I2C command communication with sensor. I am new to this... I have reference the Data sheet for HTS221 , and also get the value from Sensor. But I don't how to convert the value to the actual temperature. The value get the from the sensor ...

0
Q: Jmeter- how do i know when i need to create new thread or user?

Sonam BhartiI am a tester. I went through the Jmeter. I got some features but still i have some doubts regarding its features. I am testing a web based application, which has number of web pages including log-in page.I need to do performance testing on it. I want to know when i should create a new user ? H...

0
Q: laravel Queue::failing - get exception thrown, or (better) stack trace

AshleyI have a queue which occasionally fails, and fires Queue::failing. this sends me a mail to let me know, but there is no possibility of finding out what actually failed (ie line number or exception thrown). The debug backtrace is largely unhelpful because it is running inside a closure in the comp...

0
Q: Dango Nonrel Login `name should be a string`

TyrantWaveAs the title says, I'm trying to just use basic Django authentication on django-nonrel. Nothing fancy: Here's a basic login view: def login_user(request): """Basic login page.""" if request.POST: username = request.POST['username'] password = request.POST['password'] ...

0
Q: Gradle reload Dependencies

Daniel Boim working on an app, that uses a library i have developed. The Library is uploaded to a local maven repository using gradle uploadArchives. Now when i open up android studio and select rebuild project, it makes a clean and builds the app. As i have added an abstract method to one of the classe...

0
Q: Deny acces to all Internet hosts except several

user3812694I'm using Ubuntu 14.04, I want to restrict access to Internet to all programs and processes. I also want to allow several hosts after that. I was trying to do that with iptables, but I could figure out all its arguments and copypasted mostly. Can someone please give me, for example, two commands ...

0
Q: Export GAL to Outlook contacts automatically

holianMasters, we need to sync all our contacts (Exchange 2010) with our Iphone mobiles (and maybee with android devices too..but later..). So we need to add contacts from exchange gal to users contacts folder.... Is it possible to do this automatically? To keep the user contacts list up-to-date? I ...

0
Q: hi guys i need help Help? Grub Rescue?

Sahil Sharmai install the windows 8 and then i install Ubuntu then i go in windows 8 and by mistake delete windows 8 system reserved memory then the error shows in boot no such partition system enters in rescue mode how i can solve this error?

0
Q: GParted can't create partition/partition table:

user307938Here is what i am doing: Open GParted: Then i am trying to create new partition and i've god this message: After that i am going to Device/Create Partition Table and i am clicking Aply: Then i am trying again to create a new partition and the same error: This is GParted console log: =======...

0
Q: Ubuntu 14.04 breaks CUPS

user626207I recently upgraded from 12.04 to 14.04 on my laptop and I am not able to print on a network printer via CUPS anymore. If I run system-config-printer I get the error There was an error during the CUPS operation: 'Bad Request'. If I run system-config-printer --debug I get the following o...

 

« first day (1416 days earlier)      last day (3507 days later) »