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

12:02 PM
0
Q: Plesae help me out to resolve the Below Probability question

user173079Steel rods are manufactured to be 3 inches in diameter but they are acceptable if they are inside the limit 2.99 inches and 3.01 inches. It is observed that 5% are rejected as oversized and 5% are rejected undersized. Assuming that the diameters are normally distributed, find the standard deviati...

0
Q: add 5 nos such that ans is 30 from following nos and nos can be repeated

anishause five nos from the following: 1,3,5,7,9,11,13,15 such that by adding them result is equal to 30 ++++_=30 nos can repeat themselves according to the question we need to add odd nos to make result 30 which is even so not possible. After trying lots of time r...

0
Q: Question on elasticity

user52076Is there any physical relation between shearing strain and tensile or compressive strain. If so illustrate me with an example and mathematical derivation

0
Q: Preserve ability to set FACL

user363735Using setfacl on linux, seems like only owner (and root) can modify the ACL via setfacl, is that right? If there is a directory owned by joe and joe grants rwx to marry, she can read any file, create new, delete old, make directory trees, etc. Everything seems to be fine, they share the conten...

0
Q: How can I have a public searchable github account?

LiviuMy github account is public: https://github.com/<USER>. I can see my name even if not connected. However, I cannot found it when searching after it (google, bing) even if I add "github" or even if I use my username on the site or ... even directly on github. What setting should I change?

0
Q: My operating system (windows 8) language doesn't change completely

Andres StadelmannI just bought a new computer with windows 8 on it from Germany, so when it shipped over everything was in German. I was able to get around that and download the English language pack but I noticed that some of the tags were still in German. Among these are some of the default group names for the ...

0
Q: Random numbers between my own values

AniketI'm writing a program that generates co-primes of a number. Now for example a number 'A' has 50 co-primes, my objective is to randomly select a co-prime from the list of all co-primes generated for the number A. Again for example: consider a number 15, it has co-primes - {1, 2, 4, 7, 8, 10, 11,...

0
Q: Android in-app payment: User set price

Nagy VilmosIs there a way in Google In-app payment API, to set the item's price from the app? I'd like to create a donate-my-app button in my app. There'll be some pre-defined donation amounts (eg 1$, 5$, 10$, and so on). But I'd like to offer a donation method, where my users can choose how many money wi...

0
Q: Easy way to filter Infs in a scatter3 plot

embertGiven the following code, how would one make the Inf values invisible in the scatter plot without color manipulation? J = rand(20, 40, 5); J(J>.6 & J<.4) = Inf; % Plot a scatter matrix shape = size(J); [x,y,z] = meshgrid(1:shape(1), 1:shape(2), 1:shape(3)); scatter3(x(:), y(:), z(:), 4, J(:), '...

0
Q: Assign checkboxes to an checkbox-array using a for loop in C#

linusI'd like to do this: CheckBox[] boxarray = new CheckBox[4]; boxarray[0] = checkBox1; boxarray[1] = checkBox2; boxarray[2] = checkBox3; boxarray[3] = checkBox4; using a for loop - because I have about 600 checkboxes. I thought about this: for (int i = 0 ; i<= 600; i++) { ...

0
Q: HMSegmentedControl index issue in iOS

user2786I am using HMSegmentedControl in my application, basically i am displaying two segments on the top of the screen i.e. 1.Alerts and 2. Social. After tap on the segment category, i am loading the corresponding UIViews (viewAlerts and viewSocial). I have added both views in my class XIB. My problem ...

0
Q: Storing multiple choice answers of a survey in database

Yusuf YazıcıI try to create a survey app using asp.net (c#) based on ms sql server. The user can see multiple choice, single choice, and textbox answer choices to input. I am able to store textbox and single choice answers in my database but I am stuck in storing multiple answers. My design is the following...

0
Q: Fatal error: Uncaught exception 'Zend_Session_Exception' only in chrome

PramodHi all I'm getting below error only in my chrome. Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'This session is not valid according to Core_Session_Validator_Client.' in /home/pramo/library/Zend/Session.php:785 Stack trace: #0 /home/pramo/library/Zend/Session.php(507...

0
Q: How to Show two tablix on each page of report viewer in C#

Husnain AliI Have created a report in report viewer and I want to show two tablix on one page of report viewer. For example if both tables have 10 rows to show then i want to show 5 rows of first table and 5 rows of second table on 1 page and rest of the rows show on next page like next 5 rows from first t...

0
Q: Facebook friend request returns success but with an empy bundle

AndreiBogdanI'm using this example to try and send a FB friend request to a user of which I know the Facebook ID (I've hardcoded my FB id in the app) This is what I'm doing: fbId = "100000265744136"; Bundle params = new Bundle(); params.putString("message", res.getString(R.string.social_media_...

0
Q: How to install and run appium in linux?

rajasekar25I want to do UI automation for opening an url in a real android device. For that I want to install and run appium on my linux system, please guide me how to do? Also suggest me Is there anyway to open an url in chrome browser using eclipse??

0
Q: Extracting Certain elements from soap response

HakanFirst time in my life trying to achieve implement wsdl service into web site. I am getting following response from service. I tried to parse response with following code but probably doing something wrong in somewhere. Could anyone help me to parse certain nodes from response? Regards and Thanks...

0
Q: Total Paid amount mismatch in magento having Total Due £0.01

KeyurI am using this extension to give 5% discount for all newsletter subscribed customers, its working fine but the only bug i got is when i look the order in magento backend it says Total Due £0.01 and also in World pay transaction history it says total order amount £5.43 Subtotal £2.85 Shipping &...

0
Q: An inequality in martingale

paradoxSuppose $X_n$ is a supermartingale,for $\lambda>0$ ,we have the following inequality: $$\lambda\mathbb{P}(\inf_{n\leq k}X_n\leq-\lambda)\leq\int_{[\inf_{n\leq k }X_n\leq -\lambda]}(-X_k) \mathbb{dP}$$ I have tried: Let $T=\inf\{n:X_n \leq-\lambda\}\wedge k$, so $T$ is a bounded stopping time.By...

0
Q: stability of FTCS scheme for parabolic equation

mathCan you suggest any method for stability analysis of FTCS scheme for the the following parabolic equation ? D.E: $u_{t}=a(x,t)u_{xx}+f(x,t,u)$, $0<x<1$, $0<t<T$, $T>0$ BCs: $u_{x}(0,t)+hu(0,t)=0$, $u(1,t)=0$ IC: $u(x,0)=g(x)$ I consider the von neumann method but it requires that the coeffic...

0
Q: MySQL prepared statement not working

JohnI'm running a simple test program to inset some values into a MySQL db (managed using MySQL workbench 6.1) and I'm getting an error. The error I get is Unknown column 'bbb' in 'field list'. Here is the code: string str = @"server=localhost;database=test;userid=root;password=asd;";...

1
Q: remove breadcrumb from admin magento

sauravi want to remove breadcrumb from magneto pages , from admin panel not from any code changes , from where can i do change??

0
Q: Why only string is immutable & not other data types

TuscanI always wonder when it comes to mutability. Why .net designers have developed only stringbilder class to achieve mutability of string class & not intbilder considering int & string are implemented exactly the same way irrespective of their data types.

1
Q: What lan messenger to use to connect to LDAP

Bebert56I am trying different Lan messengers as Qualia and Lanchat but it’s not possible to connect them to my LDAP directories. IS there a way to do that?

0
Q: How to connect to MySQL Server using MySQL.Data.CF from windows CE

user2507841I am developing one application for Portable Scanner which is based on Windows CE 5.0. I simply run connection code for my application it cannot connect. I Use MySQl.Data.CF.dll When I try to use MySQL.Data it give error like below "The type 'System.Data.Common.DbConnection' is defined in an ass...

0
Q: GrailsDataBinder limitation?

rcgeorge23I'm trying to use grails data binding to map some form parameters into my model, but I think perhaps there are some limitations regarding mapping embedded collections. For instance, if I'm submitting some parameters like this then the mapping works fine: //this works productLineItems[0].product...

-3
Q: Why trigger function is not working?

Teenu ThomasMy code is jQuery('#step2continue').click(function(){ jQuery('#quizresultsave').trigger('click'); }); this trigger function is not working in safari-ipad

0
Q: How to import files with directory structure into visual studio 2013

Guye IncognitoI have the source code for a C++ library (its a version of Box2D) I'd like to add parts of it to a new project and build it to a .dll However when I add the directory of files I want to the new project it adds them all to the root of the project and as a result most if the include statements ar...

0
Q: puter div box shadow be on top of inner div

vinI have my main-container div having box shadow. There will be a inner div which will contain a list. I want box shadow always be on top of inner container so if list goes out of div it get hidden behind shadow.

1
Q: How to document variable number of parameters in certain situations with JSDoc

ValentinI have something like this where my function only takes in the second and third parameters when the first one is != 3. What's the best way to document this behaviour with JSDoc? getTimeframe: function(timeframe, since, until) { /* * @param {Number} timeframe Can be 0, 1, 2 or 3 * @param {Numbe...

0
Q: How to do Simple CSV Export functioin with jQuery datatable & PHP

chayaI want to export the visible data in datatable to CSV format. Here is my code,I have added following code var $table=$('#example').dataTable ( { "bFilter": false, "processing": true, "serverSide": true, ...

26 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
26 mins ago, by Feeds
5 mins ago, by Feeds
12 mins ago, by Feeds
26 mins ago, by Feeds
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)

26 mins ago, by Feeds
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
26 mins ago, by Feeds
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
26 mins ago, by Feeds
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
26 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 Smart Developers' Lab, 17 mins ago, by SilentKiller
@NareshSharma Hello Sharmaji hows you.?
26 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 Java and Android era , 1 min ago, by Pankaj Arora
@navya @PankajSharma hello mam, sir
26 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 Java, 4 mins ago, by IvanMatala
hello guys : ]
26 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
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?

26 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 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
26 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 Smart Developers' Lab, 26 mins ago, by Naresh Sharma
@Dhruti Hello Miss Reader/Dhruti/Anamika etc. :)
26 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 Smart Developers' Lab, 26 mins ago, by Naresh Sharma
Hello Gutam Rishi :) @Indian
26 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 Smart Developers' Lab, 26 mins ago, by Indian
hello @NareshSharma
26 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
26 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
26 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 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??
26 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 Trash can, 30 mins ago, by Feeds
in Android enhusiastics, 3 mins ago, by all
hello @Mobile are you pushp ?
26 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
26 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
26 mins ago, by Feeds
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
26 mins ago, by Feeds
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
26 mins ago, by Feeds
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} ...

26 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 9 mins ago, by Mehul Patel
Hello Friends
26 mins ago, by Feeds
5 mins ago, by Feeds
in Android A to Z, 7 mins ago, by Mehul Patel
Hello
26 mins ago, by Feeds
5 mins ago, by Feeds
in Android A to Z, 4 mins ago, by Spry Techies
@MehulPatel hello dear
26 mins ago, by Feeds
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): ...

18 mins ago, by Feeds
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...

in Android Coders Zone, 13 mins ago, by Pankaj Sharma
hello
in PHP Blog Discussion, 5 mins ago, by Anil Dhiman
hello friends
0
Q: What were the various maia's motivations for the dwarves' quest?

LiathI get the impression that both Gandalf and Sauron want Thorin and his company to enter the lonely mountain. Why? Gandalf is charged to aid the world in their fight against Sauron, Smaug had been peacefully sleeping for a very long time. Why would he encourage the dwarves to go and risk waking hi...

0
Q: Is an Invariant set Connected?

neelarnabLet an autonomous dynamical system is characterized by the state equation $$ \dot x(t) = f(x(t)),\quad x(0)=x_0 $$ with state $x(t)\in \mathbb R^n$. The definition of invariant set, as I came across, is something like: A set of states $S \subseteq \mathbb R^n$ of above system is called an invari...

1
Q: Numbers which are writable as a sum of permutation pairs

R BWe say that $N$ is writable as a sum of permutation pair $\{a,b\}$ if $a+b=N$ and $a$ and $b$ are permutations of each other (e.g. $321 = 156 + 165 = 147 + 174 = ... $). Looking at 3-digit numbers, 386 of them are writable as a sum of permutations. What is the density of numbers which are...

0
Q: Coefficient of clustering of four nodes in undirected graph

user89666If we have undirected graph with four nodes numbered 1 2 3 and 4. How can we find the coefficient of clustering of each one? And there're two equation to know the coefficient of clustering, which one is more accoutre? 1) $C_n = 2e_n/(k_n(k_n-1)$ 2) $N/M$ where $N$ is the number of edges betwee...

0
Q: CLLocationManager Delegate methods not being called?

roastedDudeI created a CLLocationManager in my ViewDidLoad but the delegate methods are not being called. What did I do wrong? My Header: @interface AccelViewController ()<CLLocationManagerDelegate> { CLLocationManager *locationManager; } My ViewDidLoad: locationManager = [[CLLocationManager alloc]...

0
Q: installing libusb on windows 8 with cygwin

user3365107I ran windows 8.1 32bit and I am trying to install libusb to use with cygwin in order to use a USB project based on C that worked in linux for a device that doesn't have driver for windows. I read a few posts here already and I am still confused about what I need to install.As I understand I need...

0
Q: Do I use the ID transformation in a right way?

YarusonI experience a confusing issue with built-in SAP transformation ID. I try to serialize ABAP structure, but result XML is always empty. Do you have any suggestions, what is wrong with my code? DATA lv_xml TYPE xstring. CALL TRANSFORMATION ID SOURCE test = syst RESULT XML = lv_xml. IF lv_xm...

0
Q: MySQL Collate Query Running Forever

user3567740I have a particular query in MySQL where it compares values from two different table (indexed) using collate but this does not execute for hours. The query is provided below: create temporary table elig_temp select id from table_elig; create index elig_temp on elig_temp(id); create temporary ta...

0
Q: Phonegap build ipa not installing on 4S

sunnyWhat I Did: I have made an app for iphone using phonegap and signed it with distribution certificate and ad-hoc provisional profile. Problem Statement: In iTunes when i click on install and sync, it shows installing. But even after half an hour it will not install. UDID of my device is present i...

0
Q: Embed app built with ember-cli (where to specify rootElement?)

LarsaronenI need to embed an ember app made with ember-cli into an existing website. Without ember-cli i would do this: App = Ember.Application.create({ rootElement: '#app-container' }); I am basically looking to include the generated assets into my page and not use the index.html file at all.. (The ...

0
Q: Error while Handling 404 error for Spring Boot REST application

ManuI trying my hand out in Spring boot exception handling . I have created a REST application and the application works for all valid url. I am trying to handle the exceptions for invalid url. But if i try hitting the application with an invalid url , i am getting the below exception:- 13:04:02.9...

0
Q: FileReader on Android

user2828677I hava this code for creating thumbs after file pick: $(document).ready(function() { function handleFileSelect(evt) { if($('#attach').length > 0){ var error_container = $('#message'); var photo_input = $('#attach'); } else if ($('#photo_file').length >...

0
Q: Emulate PhotoShop's “Color Range” with Processing

leonardoIt's my first post here. As title says I'm trying to emulate Photoshop's "Color Range" using processing. I've found some useful information about the algorithm here: Emulate PhotoShop's "Color Range" algorithm but my problem is to implement it into a processing sketch, as I'm new to Java. I've ...

0
Q: Java|Socket and Socket Server

user3997118this is the user import java.awt.*; import java.awt.event.*; import java.io.*; import java.net.*; import javax.swing.*; public class Top_9 implements Runnable{ static Top_9 s=new Top_9(); static Thread th=new Thread(s); static ObjectOutputStream sr; static JFrame frame =new JFrame("client"...

0
Q: Hide an applet on javacard

TheGoodUserAs you know, we can see a list of AID of applets reside on a smart card using gpj -list or using similar commands in another tools (such as gpshell, gp , ...) I want to know is there any way to hide an applet to list in the response of these kind of commands? I mean uploading an applet in a way ...

0
Q: Change number of imported columns in 'importdata' in MATLAB

user3349993I'm trying to read a very big .seq file. It has thousands of rows and variable number of columns (from 1 to 20), separated with 'space'. I usually used importdata command. However, this time, this command imports this data into matrix with only 2 columns. Is there a way to make importdata command...

6 mins ago, by Feeds
in PHP Blog Discussion, 5 mins ago, by Anil Dhiman
hello friends
6 mins ago, by Feeds
in Android Coders Zone, 13 mins ago, by Pankaj Sharma
hello
6 mins ago, by Feeds
18 mins ago, by Feeds
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...

6 mins ago, by Feeds
26 mins ago, by Feeds
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): ...

6 mins ago, by Feeds
26 mins ago, by Feeds
5 mins ago, by Feeds
in Android A to Z, 4 mins ago, by Spry Techies
@MehulPatel hello dear
6 mins ago, by Feeds
26 mins ago, by Feeds
5 mins ago, by Feeds
in Android A to Z, 7 mins ago, by Mehul Patel
Hello
6 mins ago, by Feeds
26 mins ago, by Feeds
5 mins ago, by Feeds
in Smart Developers' Lab, 9 mins ago, by Mehul Patel
Hello Friends
6 mins ago, by Feeds
26 mins ago, by Feeds
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} ...

6 mins ago, by Feeds
26 mins ago, by Feeds
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
6 mins ago, by Feeds
26 mins ago, by Feeds
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
6 mins ago, by Feeds
26 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
6 mins ago, by Feeds
26 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
6 mins ago, by Feeds
26 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 Trash can, 30 mins ago, by Feeds
in Android enhusiastics, 3 mins ago, by all
hello @Mobile are you pushp ?
6 mins ago, by Feeds
26 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 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??
6 mins ago, by Feeds
26 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
6 mins ago, by Feeds
26 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
6 mins ago, by Feeds
26 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 Smart Developers' Lab, 26 mins ago, by Indian
hello @NareshSharma
6 mins ago, by Feeds
26 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 Smart Developers' Lab, 26 mins ago, by Naresh Sharma
Hello Gutam Rishi :) @Indian
6 mins ago, by Feeds
26 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 Smart Developers' Lab, 26 mins ago, by Naresh Sharma
@Dhruti Hello Miss Reader/Dhruti/Anamika etc. :)
6 mins ago, by Feeds
26 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 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
6 mins ago, by Feeds
26 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
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?

6 mins ago, by Feeds
26 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 Java, 4 mins ago, by IvanMatala
hello guys : ]
6 mins ago, by Feeds
26 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 Java and Android era , 1 min ago, by Pankaj Arora
@navya @PankajSharma hello mam, sir
6 mins ago, by Feeds
26 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 Smart Developers' Lab, 17 mins ago, by SilentKiller
@NareshSharma Hello Sharmaji hows you.?
6 mins ago, by Feeds
26 mins ago, by Feeds
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
6 mins ago, by Feeds
26 mins ago, by Feeds
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
6 mins ago, by Feeds
26 mins ago, by Feeds
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
6 mins ago, by Feeds
26 mins ago, by Feeds
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)

6 mins ago, by Feeds
26 mins ago, by Feeds
5 mins ago, by Feeds
12 mins ago, by Feeds
6 mins ago, by Feeds
26 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
0
Q: running remmina client at start up

philmc79I want to get ubuntu 14 LTS to run a remmina client setup from boot up so that the user does not have to enter any information until they get to the remote desktop log on screen, Any help would be good

0
Q: Probability of interdependent outcomes

B.T.I have a question. There is some event 'A' and an event 'B'. Event 'B' only takes place when event 'A' is true. (The outcome of event 'B' is otherwise not dependent on the outcome of event 'A'). event A: event A: false = 58.2% event A: true = 41.8% if (event A = true) then event B: ...

0
Q: Does this solution to find Expected Value makes sense?

KrakenThe problems statement for question number 6 on this link. The solution is provided if we switch tabs. I have not idea how the distribution function is formulated for the question. PS : If you think the author has made an assumption, then kindly provide so in the comment section, so that I ca...

0
Q: How repair files?

IvanI have a 2008 server setup for testing, we have a FoxPro database that is served off a server share on this box. It is simply files ( .dbf + index files ) that exist on a normal share, not DFS, just plain old share. This application was living on a 2003 server, but testing it on the 2008 ser...

0
Q: google map api v3 : how to access 'marker' object inside google.map object

user29296I'm using google map in Drupal (but i don't think this is relevant to my problem). On a view (a page display in Drupal), i'm displaying markers on a Google Map. I'm displaying in a external block the links of the markers on the map. i've looked at this example, but what i nedd is the other way ...

1
Q: Avoid ground collision with Bullet

user30088I'm trying to use Bullet physic engine to create a 3D world. I've got my character with a Capsule shape on his body and my ground his made of some static blocs stick together, here is a schema to illustrate my words: The problem is present when my character run from one block to another: Bulle...

0
Q: Get select value in the same page

reiverI have this select button: <form method="post"> <label> <select id="label" name="challengeX" style="margin-top:150px;"> <option selected value="0"> Global Statistics </option> <option value="1">Challenge 1</option> <option value="2">Challenge 2</op...

-2
Q: what is the difference between layout and activity

habibI have some problems with the layout and activity.and I don't know are they different,are they related? I think the layout is a place we can add or remove our views and activity is just a place that shows any thing in our layout, is this true?

0
Q: Difference between Jena TDB and Virtuoso OS: to query the data in VOS

Musich87I have a question: I would like to know the difference between Jena TDB and Virtuoso Open Source Triple Store. I have read that I can save the triple in Virtuoso using Virtuoso Jena Provider. In addition, with regard to Jena, I know that I can use Fuseki as endpoint to query that are present i...

-2
Q: How to delete some part of string from existing string in objective c

pritu3716Main string contains (input string) "Success: 173.256.9.83" and output string should contain "173.256.9.83" please explain with code in obejctive c

0
Q: C literal postfix U, UL problems

CK_Could someone explain to me what can happen if I'll forget postfix for constants(literals) in ANSI C? For example I saw for bit shift operations such defines: #define AAR_INTENSET_NOTRESOLVED_Pos (2UL) /*!< Position of NOTRESOLVED field. */ #define AAR_INTENSET_NOTRESOLVED_Msk (0x1UL << AAR_INT...

0
Q: FileHelpers library ignoreFirstLine issue

DisplayNameI have a CSV file which I am trying to import using file Helpers Library, issue is I get the spree sheet files from somewhere and save them as CSV to be able to import them but the first line has Wrap-text excel properties which make the cell into multiple line which in excel is only single row/c...

0
Q: Handling alert popups using selenium in linux platform

Triveni AroliI have an application to automate using selenium webdriver that has feature to browse and upload a file to the website. In windows, it was easy to use autoIt with selenium. It works fine. But if same code has to work on linux machine, the .au3 script might not work the way its expected to. Is the...

0
Q: How to use Tidal Scheduler adapter for webservice in soa

Divya ReddyI would like to know ,How can I use tidal scheduler Adapter In soa 11g? can any one please provide the document or Information about Tidal scheduler adapter for WebServices?

0
Q: How to use the parallel package inside another package, using devtools?

jhinWhen running the following code in an R terminal: library(parallel) func <- function(a,b,c) a+b+c testfun <- function() { cl <- makeCluster(detectCores(), outfile="parlog.txt") res <- clusterMap(cl, func, 1:10, 11:20, MoreArgs = list(c=1)) print(res) stopCluster(cl) } test...

0
Q: How to provide a website based Voicemail Service?

noble_manFor the last three weeks I have been working on little project which intended to give a website based voicemail service, till now I implemented an app for mobiles to make call and SMS using Java-ME. But now I think I'm stacked how could I make those missed calls to go to my server? how web based...

0
Q: numerical root finding for positive definite function in Python

ggarforthI have a very complicated positive definite linear continuous function of a single variable k for which I am trying to find all roots in a given range of k; say -4 < k < 4. Up until now I have first estimated the minima of the function, by searching for points k_j where both $k_{j+1}>k_j$ and $...

0
Q: Binding.pry in controllers with passenger

Dariusz GardyńskiI try use binding.pry in controller file and when i reload page, passenger stuck on it but irb doesn't work (It shows up, but stuck. It looks like passenger wrote string and thats all.). On passenger site we can read, that irb is for business plan but if we use binding.remote_pry(binding.pry igno...

0
Q: QDeclarativeWebView doesn't fire linkClicked even with LinkDelegationPolicy set

PaulI've set the LinkDelegationPolicy to delegate all links and that bit is working, but it doesn't seem to be firing the linkClicked(); page->setLinkDelegationPolicy(QWebPage::DelegateAllLinks); connect(page, SIGNAL(linkClicked(QUrl)), this, SIGNAL(linkClicked(QUrl))); void QWebPage::linkClick...

0
Q: Find text and replace it with CMD

xX4m4zingXxI want to make an CMD program that can find text in a text file and then replace it with something else. Example: I want to find: maleEquip1 and I want to change it to: anInt165 Is that possible with a CMD program?

0
Q: Change Highmaps map colour

user3672795I want to be able to change the colour of this exact entire map. I am using map bubble I want a darker color for the countries and continents. how can i achieve this as colorAxis will change the data representation(bubble) colour not the map colour. http://jsfiddle.net/gh/get/jquery/1.9.1/highsl...

0
Q: WinRT navigation error

AbdelhamidI have an error when i return from a page in WinRT. Here's the error: 'System.Collections.Generic.KeyNotFoundException' : The given key was not present in the dictionary. this happens only in one page !

1
Q: MySQL: Can only login from command line or as root

JoelPI've been trying to solve this problem for the last 3h. I've just set up a MySQL server on my dedicated root server, running Ubuntu 14.04-minimal. I have no problem logging in as root anywhere - it works just fine on the command line, phpMyAdmin or a php-Script. Because I did not want to use all...

0
Q: Leoxsys USB WiFi device not deteting in ubuntu

user2088432I have bought a Leoxsys WiFi USB device to use WiFi in my PC. Its working absolutely fine in Windows7 as its provided with windows7 Drivers. Installing and using drivers in windows 7 is easy and Its working fine. But coming to Ubuntu linux 12.04LTS its not working . Actually I found drivers fo...

0
Q: Banach spaces: trying to prove that $U$ contains a neighbourhood of the origin.

goblinIn Alberto Bressan's "Lecture Notes On Functional Analysis," we have the following exercise (p. 72). Let $X$ denote a Banach space. Let $U \subseteq X$ be a closed, convex set such that $\bigcup_{n \geq 1} nU = X$. Prove that $U$ contains a neighbourhood of the origin. This is a homewor...

0
Q: The line y=4x - 7 is tangent to a parabola that has a y-intercept of -3 and the line x=1/2 as its axis of symmetry. Find the equation of the parabola

Robert MilnerThe line y = 4x-7 is tangent to a parabola that has a y-intercept of -3 and the line x=1/2 as its axis of symmetry. Find the equation of the parabola. I really need help solving this question. THx

0
Q: Find the locus of the the vertex A.

Lucyfer ZeddConsider $\triangle ABC$. BC lies on a line passing through $(g,f)$. The pair of straightlines $(x+y)(x-9y)=0$ are the perpendicular bisector of $\triangle ABC$. Find the locus of the point A. NOTE- We only know that BC lies on the line through (g,f),but not the exact co-ordinates of B and C....

0
Q: Second derivative expression

V. GalerkinI have $f:\mathbb R^n\to \mathbb R$ and $\gamma:\mathbb R \to \mathbb R^n$, which are both $\mathrm C^2$. Considering $g=f\circ \gamma$, how could I express $g''$, second derivative of $g$ in terms of partial derivatives of $f$ and $\gamma$?. The first I know is that $$ \mathrm Dg(a) = \mathrm D...

0
Q: Another question in number theory!

LinduskaI have another question for you: Tell how many solutions does the congruence $x^{14}+x^7+1 \equiv 0 \; (\text{mod } 343)$ and compute at least one of them. Does this kind of exercise have a standard way to procede? If so, how would you do that? Thank you very much!

0
Q: Synergy: Shift keys not working on Raspberry Pi Client

Ruben9922Recently I installed Synergy on my desktop PC (running Windows 8.1) and my Raspberry Pi (running Raspbian) so the PC's keyboard and mouse is shared with the Raspberry Pi. The Windows PC is a Synergy server and the Pi is a client, and both run Synergy 1.5.1. Everything works fine apart from bot...

-1
Q: Get List of Source in a video html5

John Brushhello i have a html5 video. this is a example <video width="320" id="video" height="240" controls> <source src="video.mp4" type="video/mp4"> <source src="video1.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> </video> i would a list of "source" i'm write this code var...

0
Q: Can we add multiple listviews in a single layout

nayana bhojI have Three list to display.How to add them on single layout? my layout file is <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" >...

0
Q: TreeSet in Java- clarification?

Royi NamirI'm confused ( new to Java) I've read that : TreeSet doesn't actually use equals() at all. It uses compareTo() instead - if compareTo() returns zero, that means the two objects are "equal" as far as the TreeSet is concerned. Great. So I have : public class User implements Comparable<...

0
Q: sbt-proguard: make two jars

Doron YaacobyI have the following requirement. I have a project with two packages: com.interfaces com.impl I am using the sbt-proguard plugin shrink my project (I mainly need for com.impl, com.interfaces has almost no code). The thing is, I need com.interfaces needs to be in its own separate jar. Proguard ...

0
Q: Saving work space in R

Chakradhar GavireddyIN Combine Voronoi polygons and maps using https://docs.google.com/file/d/0B-ZJyVlQBsqlSURiN284dF9YNUk/edit how was workspace or the image of the map in PZNALL saved? I have generated a map using library(maps) map("world","india") I am not able to use it even after saving it.

0
Q: What is the equivalent of log4net.Config.XmlConfigurator in Enterprise Library 5.0

AsKI am using VS2010 and want to find the equivalent of log4net.Config.XmlConfigurator in MS Enterprise Library 5.0. Just like it is possible to embed the location of logging configuration file for log4net, by [assembly: XmlConfigurator(ConfigFile = @"C:\Product\Development\Reval\HedgeRx\Dev\Compo...

0
Q: Firebird : last sunday of a month

VeelaHow will you find last Sunday of a month in Fire bird? select extract(week from encodedate(31,12,2009)) from rdb$database

-1
Q: when i am running the Angular Pusher application …I am getting an error

venkatmTypeError: Not a buffer at new Hmac (crypto.js:226:17) at Object.Hmac (crypto.js:224:12) at Object.module.exports.Pusher.createSignedQueryString (E:\angular-pusher-gh-pages\node_modules\pusher\lib\pusher.js:167:43) at Object.module.exports.Pusher.post (E:\angular-pusher-gh-pages\node_modules\push...

0
Q: Susy: side-by-side elements with own full-width bleed

Matty BalaamI am attempting to make a carousel and associated navigation with side-by-side elements which bleed off on either side, no matter how large the screen is, but which also have internal elements which are locked to the grid. I have a kind-of solution which uses a variety of hacks to just-about acc...

0
Q: my ubuntu Desktop Don't work well

zatronI tried to install gtk+ on ubuntu for learn gtk programing . before that Ubuntu Desktop was working well.when I installed it my ubuntu didn't work well.my themse,Icons,bg,keyboard languages and ... set to deafault form.and I can't change any thing (like back ground , fonts , themes , and other) ....

0
Q: Newb in need of help. Brand new to computers

GiodamusI just installed Ubuntu 14.04 LTS alongside Windows 8.1 on my Thinkpad Twist. Now I'm planning on using Ubuntu to learn python from LearnPythonTheHardWay. But I have absolutely no idea how Ubuntu works. I've read tons of stuff but where do I start. I don't know how to use terminal commands to d...

0
Q: Edit Polygon in Ubuntu

Kohjah BreeseI have a polygon in the following format: [813,1623],[816,1623],[818,1617],[823,1626],[831,1626],[832,1629],[839,1632],[841,1636],[837,1636],[842,1640],[839,1632],[835,1631],[831,1624],[827,1621],[827,1618],[830,1620],[838,1619],[838,1618],[832,1608],[839,1605],[841,1599],[846,1596],[848,1589],[...

0
Q: Probability of rolling 3 mutually exclusive dice

AlliteeSuppose I have 3 dice. Each has some mechanism that can prevent other dice being in the same number as itself when they are rolled together. Now I roll the 3 dice at the same time. Then what is the probability of at least one 2 appear? Is the answer 1/6 + 1/6 + 1/6 = 1/2 since the event are mutu...

0
Q: Number of strings of size $k$ that do not have 'ab'

VigneshwarenConsider $\Sigma = {a,b,c}$ and the language $L$, the set of all strings that do not contain 'ab' Find strings, of size $k$ is in $L$ ($L_k$) Consider $A_k$ (strings of size $k$ that end in a) and $N-k$ (strings of size $k$ that don't end in a) The recurrence is quite simle, $$ A_k = A_{k-1} ...

0
Q: Dimension of Seperable State

Une Femme DouceHello I am from pure mathematics background (Bsc and Msc), I am reading on my own the Quantum Computing: From Linear Algebra to Physical Realization by Nakahara. Could anyone make me understand how the dimension of seperable state is $\dim \mathcal{H_1}+\dim\mathcal{H_2}$?

0
Q: When connecting to a server farm in sharepoint foundation 2013 cannot create new farm error: One or more types failed to load

IT researcherWhen trying to create a new server farm in the sharepoint foundation 2013 we get a following error : The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered. PS C:\Users\Administrator> New-SPConfigurationDatabase cmdlet New-SPConfigurationDatabase at command pipeli...

0
Q: Android spinner not displayed

Simone11489I have this part of code: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ... scanNextButton.setOnClickListener(new OnClickListener() { public void onClick(View v) { ... formNextButton.setOnClickListener(new OnClick...

0
Q: Why wait for window.onload?

J_menIn what situations in javascript do we need to wait for the window onload event before running code? And what useful things can be done without needing to wait?

0
Q: Storing PHP Session across multiple pages

GrantI have setup a PHP session to capture the CAMPAIGN and CLICKID variables that are passed to the site within a URL - i.e. domain.com/index.php?&clickid=test1&campaign=test1. I am achieving this using he code below : <?php session_start(); $_SESSION["campaign"] = $_GET['campaign']; $_SESSION["cli...

-3
Q: remove GET key from url with htaccess

Stas BilakI have this url http://example.com/embed/?id=somevalue and want to change it to http://example.com/embed/somevalue with htaccess and get it argument in code from GET

0
Q: Mysql And php add two time fields together

user3744228i have an issue with one of my database time fields, the issue that iam having is that i want to add two time fields together. for example my database contains a value like this 01:43:00 and i want to add 01:23:08 to the first value. coloum in my database which contains the time is set to a time ...

0
Q: SSL session tickets

i486Why one has to use tickets to avoid multiple SSL handshakes. Is it impossible to use HTTP persistent (keep alive) connection and send multiple GET... requests in a single SSL session? There is timeout in Apache for exmaple, but it can be reconfigured (in my case the web server is not random but f...

0
Q: How to reverse the order of elements of a list in Scheme

Ranger 22I got a function to reverse the order of the elements in a list, such as (define (rvsl sequence) (foldl (lambda (x y) (cons y x)) '() sequence)) However, when I ran it in DrRacket with the input (rvsl (list 2 3 4)) DrRacket told me this cons: second argument must be a list, but rece...

0
Q: executing SQL in Grails twice as slow as executing same SQL in work bench, any ideas why?

John LittleI have a reporting application written in grails. it fires SQL at a production back office database, and simply lists the resultant rows back to the user. The bit which executes the sql is this: class ReportService { static transactional = false def dataSource_target def runReport(sql) { ...

0
Q: how to upload video bigger than 25 mb- c#, javascript

miniaczI have a problem with uploading video in my project. If File has about 25mb then uploads good, but if I try to upload bigger file - 80 mb, I receive "failed". Web.config file: <httpRuntime maxRequestLength="104857600" executionTimeout="3600" /> My function in view file: function createVideo...

0
Q: IntelliJ IDEA 13.1 debug throws Unable to open debugger port error for Play 2.3.x on Windows 7

bhavyaWE are using Play 2.3.x for our web application . I wanted to debug the server side code , so performed the following steps on Windows 7 machine 1) set the JAVA_OPTIONS to "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9999" 2) On IntelliJ IDE : Run > Edit Configurations >...

0
Q: Better way of checking my application environment setting?

user3481788I am building an application and I have constant called ENVIRONMENT_SETTING. As I am currently developing the application I have it as define('ENVIRONMENT_SETTING', 'dev'); Then I am checking at the top of the file what it is. I am currently doing if statements like so: if (defined('ENVIRONMEN...

-1
Q: What Syntax is this?

user3075799I have WordpressTheme and in my MySql Database is Stored a Value like the following. Its an Optionlist that shows up in an Form. But i never saw something like this. Any Ideas what this is and how to handle with it? Or where do find a Documentation about it. a:9:{i:0;a:4:{s:8:"cssClass";s:8:"tex...

-1
Q: Normalize value from [-x|x] to [-1|1]

T_01I want to normalize a value between -x and x to -1 and 1. I thought about value / Math.abs(value), but the problem is if value is 0 that doesnt work. so is there a possibility without if and else, so with one operation? thank you.

0
Q: How to Add a Column in DynamoDB

Arun Selva KumarIs there a way to add a new column to existing table in DynamoDB in Amazon's AWS? Google didn't help, UpdateTable Query in http://docs.aws.amazon.com/cli/latest/reference/dynamodb/update-table.html?highlight=update%20table doesn't have any information related to adding a new column.

0
Q: Automatically update Firefox OS wallpaper

Devashish PurandareI am working on an app that fetches an image from the daily image sites and sets it as a wallpaper on the Firefox OS device. However I am not able to find a way to automatically change the wallpaper. Is this possible? I found an activity to bring up the wallpaper picker, here but it presents a pi...

0
Q: How to write 2 rules in Web.Config to rediect on same page

K AhirCurrently I can access page www.sitename.com/client/home.php?id=AnyText using this link www.sitename.com/AnyText. Below code is used for this and it's working fine. <rule name="RRR1" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <action type="Rewrite" url="client/hom...

0
Q: Remove post class twice

iSarFor my wordpress child theme I'm using a function to remove the post class has-post-thumbnail. This class appears twice so I have to remove it twice with the function below: // Remove specific post_class() from Mytemplate add_filter('post_class', 'remove_has_post_thumbnail_class', 20); function ...

0
Q: CASE WHEN THEN with subquery

Julien698I try to do a switch like c# in sql or if with differents conditions. I use that but it don't work at all : it's for a stored procedure : CREATE PROCEDURE [dbo].[Mystoredprocedure] @Value INT AS BEGIN SET NOCOUNT ON; CASE WHEN @Value = 0 THEN SELECT * FROM mytable1 WHEN @Value = 1 ...

0
Q: Detect Click in UITableView

Nicolas Charvoz KurzawaI have a list of product contained in a NSMutableDictionnary and I diplsay it like this : http://imgur.com/rKA2yvA Now, I want to add a view for each products. If i click the "Basilic" for exemple I want to switch the view and have a new view, the products details or something else .. I add t...

0
Q: Changing textfield currency type

Daniel Watson<select data-placeholder="Please select a payment method.." style="width:50%;" class="chosen" onchange="currencyChange(this.value)"> <option value=""></option> <optgroup label="Cash"> <option value="Paypal">Paypal</option> <option value="Bitcoin">Bitcoin</option> <...

0
Q: Searching for a specific since fiction short story

Fulliin my english class - 7 years ago - we had isaac assimov as topic, but this little story was not form him. It was about a single guy on a outpost. He tells about how normal his live is and how nice his livestyle seems... end of story was that he was some alien with more than 2 arms. He finds a...

0
Q: How to work under pressure?

user21322I'm studying Computer science (second year ), I Applied for a part time job at MacDonald 6hour 3 day per week, I thought that will not affect on my study but I started to feel tired and the work was so stressful then I quite after the first week , when I did that the supervisor of the restauran...

0
Q: Error? An open subset of $\mathbb R^p$ is connected if and only if it can be expressed as the union of two disjoint non-empty open sets.

VHPI believe the book which I am reading has a printing error. One of the lemmas reads like this An open subset of $\mathbb R^p$ is connected $\iff$if it can be expressed as the union of two disjoint non-empty open sets. I think, instead, the statement should be : An open subset of $\mathbb R^p$ i...

0
Q: Homotopical classes of mappings $\mathbb{CP}^n \to \mathbb{CP}^m$

se0808Which are homotopy classes of mappings $\mathbb{CP}^n \to \mathbb{CP}^m$ for $n < m$? In real case, even for any cellular complex $X$ with $\dim X<m$ homotopy classes of mappings $X \to \mathbb{RP}^m$ are in bijection with $H^1 (X, \pi_1(\mathbb{RP}^m)=\mathbb Z_2)$: the reason is that universal...

0
Q: What software and hardware can I use to write math on a computer and write in general and draw things?

C4pt4inCellI'm basically trying to replace paper. I want to be able to write like I do on paper but do it on software. What hardware and software is the best for doing this? I'm learning and I specially need it for that so I can do all the math in the software instead of doing it on paper and I also need to...

0
Q: How to unroot android device?

raji ramamoorthiI have done root for android devices. I want to restore my android device to unroot state. Is it possible to unroot android device using adb command or any other way?

0
Q: How to solve JBoss Remote error?

GlavrybaI'm trying to run JBoss Remote in JUnit and getting such error: Caused by: java.lang.VerifyError: Cannot inherit from final class Here is part of jUnit class with Remote: import static org.junit.Assert.*; import java.util.Properties; import javax.naming.Context; import javax.naming.Initia...

0
Q: Stuck in an Array pickle

MikeI have an array of numbers called CM, which I would then like to calculate EACH array item as the percentage of another number, lets call it totalOfCM (The sum of all the numbers in array CM). Is there a way that I can loop through that array and put the result into another array without having ...

0
Q: Text pasted into textarea not being inserted into database

GooseI have a textarea that inserts into a database when submitted. It works when the text is typed, but sometimes does not work when the text was pasted into the textarea. Instead, it posts successfully, no errors, Text copied from some webpages/websites work, for example text copied from blindtext...

1
Q: Java int=1 transformed into long=2

TheCodeKillerI'm writting JUnit test and I have a line like this used several times Assert.assertEquals("Size of list is incorrect", 1, list.size()); As some places, this line works fine but something the Java conversion fails. Method signature is void org.junit.Assert.assertEquals(String message, lo...

-1
Q: convert php function to javascript and get the xml contets

Mohankumar Vi wanna to convert the php function in javascript below is my code function getpercentage($standard,$proid,$statename,$repid,$type) { $standardids=$standard; $productid=$proid; $allstandardsguid=array(); $bencharray=array(); $stddocs = array(); $finalbench=array(); $std = array(); fo...

0
Q: How do I create a Grouped LongListSelector getting its data from an XML file, in VB.net? (Windows Phone 8.1)

doodlaMy program is trying to list countrynames parsed from an XML file on the web, and displaying them in a Grouped LongListSelector grouped in Alphabetical Order. Most of the code samples and documentation I found is in C# but I tried to port it using a C# to VB.net code converter and managed to get...

0
Q: Windows Phone 8 Record sound from microphone C#

user3136718I am pretty new to windows phone, and I would like to create simple app that can record sound from mic, and save it. I already have searched for some classes that are able to record, but I didn't find anything I can understand. I have found MediaCapture class, but I cant find any tutorial or gu...

0
Q: frequency of discrete data in excel

Chocolate_AltheaI'm trying to count how many times a certain number occurs in a column (or row) in excel. I've tried this with the FREQUENCY comando in Excel, but this does not give me the right numbers. So how would I for example be able to count how many times the number 1 occurs in following row: A B ...

0
Q: Delegating user to change password not working

rdemIn Windows Server 2008 R2, consider the following scenario: We have an OpenLDAP for most of our services, but combine it with AD for mostly Windows services. We sync the passwords of the users by a java app. Because we want the java app to be the only entry point for changing passwords, we set t...

0
Q: Android: call intedependend webservices in asynctask

tobib_is it possible, to wait until one method call is finished, bevore the second starts? All handeled in a doInBackground() of an Async Task? Code: FormData currentForm=..... private ArrayList<String> requestIds; class GetFormData extends AsyncTask<String, Integer, String> { @Override prote...

0
Q: How can I animate an SVG line, using stroke-dasharray, so that it moves from right to left

user3589485I have two SVG lines one on top of the other. I have made them both animate. See fiddle: http://jsfiddle.net/pgsLwvb0/1/ The top line works how I want it to but I would like the bottom line to move from right to left instead. What do i need to change in my code to make this work? Is it a CSS cha...

0
Q: Conditional formatting on 2 dates not giving results

FeliceMI am not sure about what I am doing wrong here. I am not an expert excel user but this should be straight forward! I am trying to format cell "Status" if the date2 is greater than date1. The above should be self-explanatory for the formulas I am using but this does not give me any result. Basi...

0
Q: I have Privacy: Record activity ON but how to view log and all the stuff?

GopsWhere can I find the recorded data and screen snaps and etc things ? I had tried to find them within : ~/.local/share/zeitgeist directory but there are the following files available and i don't know how to work with them to show all recorded data and history. activity.sqlite activity.sqlite-...

0
Q: how to open closed window in chrome

Eng. Samer TI have opened two windows in chrome browser, in each window there are multiple pages . the first window is the most important for me, the second window is for search tabs. my problem is that I accidentally closed the first window(window with multiple pages) instead of closing the second window....

-1
Q: How to sort dates of type string in java

learI am building a android project where am storing some details which includes date as string,but now I need to sort the list view by date.I am bit confused on how to do it.I am done with everything but need to sort the list by date. Here is the overview of how am storing data. I have an arraylis...

0
Q: Zend Framework 2, authenticate

Markus KoynerI need help. I have this code to authenticate the user, the error is in the init function that is not performing the function mvcPreDispatch. Thanks! public function init(ModuleManager $moduleManager) { $sharedEvents = $moduleManager->getEventManager()->getSharedManager(); $sharedEvents->...

0
Q: Xcode6 Beta6 : this class is not key value coding-compliant for the key

BaShaJust having textField named "IBtextFieldName", which already hooked in Xib & proper class is assigned to File's Owner, But keep getting 'NSUnknownKeyException', reason: '[<UIViewController 0x7fb9cc81acd0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key IBtex...

0
Q: strange writeline(DateTime results)

Skretek112Here is a little question I hope you guys can help me with. Console.Write("{0} {1} {2} {3} {4} " + customerdetails[i].CustomerNo, customerdetails[i].surname, customerdetails[i].forname, customerdetails[i].street, customerdetails[i].town, customerdetails[i].DOB.ToString("dd/MM...

0
Q: Login Page testing in Jmeter in php website

Abhinav Kumar SinghI am testing an website's login form using jmeter , website is created on cake php. The Request header of POST method was CakeCookie[username]=Q2FrZQ==.4hQpPE8O4tl+iBRWfrgElBgbwJKK6Q==; CakeCookie[password]=Q2FrZQ==.skRyYRRZ; CAKEPHP=avdhr3i8abe04nq74ra5k596f3 While the html description of lo...

0
Q: Angular Scope Usage

user59442I am a beginner in AngularJS. I am working through some code of an expert. I would like to customize the directive and learn something. The expert always insert: this.scope = $scope; in the first line of every controller. What's the point of this statement, if you later always just use $sco...

0
Q: How to capture an image via Camera & encode into Base64 & send it to a PHP page

user3555874I am having a form in which there is an ImageView & others are TextView & EditTexts. On the click of the ImageView, I want the Camera should open & capture an image & that is to be displayed in the ImageView. Till here, the code is working fine. However, I am not able to convert the image into Ba...

0
Q: Rails 4 - Update Multipale records of the same model in one form

user2105143I have a view that displays records of a model in a single table. What I am trying to do is allow the user to amend 2 fields using a form of all displayed records. <%= form_tag( :action => 'update_prioirty' ,:method => :post) do %> <table > <tr id="table_title"> <td >ID<...

0
Q: Qt QML for a digital dashboard

GiuseppeRossiI am trying to develop in Qt QML a digital dashboard composed by a speedometer and a tachometer with a needle each. The problem of this design arises when i am involved in a rotation of the needle: in this case, it has a jerky movement and it is not as fluent as a real needle. For instance, let u...

0
Q: Internetworking , ( CCNA)

user3806216when packet get's converted into frame , it get's "Destination hardware address" , "Source Hardware address" , " Ether-type field " or " length" , "data field " and " Frame check sequence field " Now , if the destined host is local host , then a request for Hardware address of the local host vi...

0
Q: VS2012 CodedUI tests - how to publish and run on remote machine

DominicI have recorded some CodedUI tests in VS2012. How do I get them to run on a remote machine? (The remote machine already has a test agent configured, connected to a Test Controller). In my .testsettings file, the dropdown to choose a Test Controller is always blank.

0
Q: How to extend 'old style' dojox widgets?

DonaudampfschifffreizeitfahrtI've already written my own dijit widgets, as well as extended the existing one. It's simply making new declare with extended widget as argument, and using the own one instead of extended one. However, I have a problem with dojox/form/Uploader, because it's that 'old-style' widget using old-styl...

 

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