Aks..

1

votes
0

answer
240

views

Spring NamedParameterJdbcTemplate return empty list for oracle db

I had such problem: 'ORA-12705: Cannot access NLS data files or invalid environment' before. After reading different solution of this issue I added string Locale.setDefault(Locale.ENGLISH); to my DAO class method But now it returns empty list. Code of Dao class: public class StudentsDao { private...
AKS
1

votes
0

answer
67

views

cron job not running in night in iisnode

We have a MEAN stack application. It is deployed on iisnode. We have written a cron job using npm cron module.cron is not running until we hit the URL. We think iisnode become idle. Is there a way to resolve this?
aks
1

votes
0

answer
61

views

Why does seekg() work incorrectly when file is not read in binary mode?

I have a file named 'Sample.dat' with the following contents: This is line 1 This is line 2 This is line 3 This is line 4 When I try to read the file WITHOUT using std::ifstream::binary mode I get incorrect output. Code: #include #include #include #include int main() { std::ifstream inf('F:\\cpp...
aks
1

votes
0

answer
43

views

JS Form Fill Gets Vanished

There are some forms that doesn't take values from JS function. I have created a method to fill all the fields, and when I click Continue button then all the filled information get vanished and error on every previously filled fields is showing 'Please enter the * value'. Can anyone please help me...
AKS
1

votes
0

answer
44

views

Custom printers for protobuf in Java

Im using protobuf 2.6.1 and I have a case where there are complex types such as UUID represented as two fixed64 fields, timestamps represented as longs etc which need to be printed in a more human readable way. Im looking for extending the toString for all protobufs generically to convert the comple...
aks
1

votes
0

answer
91

views

I want Retrieve firebase analytics (events data) through rest api using python

I did some research and found that it possible to retrieve firebase analytics data (events etc. ) using Google Bigquery. However, there is a cost attached to Biquery. Is there any REST API to extract firebase analytics data?
Aks
1

votes
1

answer
429

views

IntelliJ IDEA install new fonts

I am running Intellij IDEA 2017.1.1 on Windows 7. I try to add new fonts to Console. I putted Symbola.ttf and Quivira.ttf under ...\jdk1.8.0_77\jre\lib\fonts\ folder and restarted the IDEA. But fonts don't appear in Settings -> Editor -> Colors&Fonts-> Console Font drop-down list. How can I fix it?
AKS
1

votes
1

answer
76

views

Google Map SDK iOS Ground overlay stops loading after few images and weird black overlay shows on map. App crashes after that

Adding multiple overlay images one after another via GroundOverlay. Feature works fine at starts, after few changes to the ground overlay, it either stops loading overlay or shows weird black image as per below and application crash with below stack trace. Crashed: com.apple.main-thread 0 libsystem...
Aks
1

votes
0

answer
35

views

Deploying G Suite Marketplace app using a manifest. (G Drive UI Integration)

Right now G Suite Marketplace can be deployed via creating and configuring a project in http://console.developers.google.com, but suppose I want to deploy an application for a domain only, but for different different admins. Creating project and doing manual configuration for each domain admin is c...
Aks
1

votes
1

answer
643

views

how to save settings of eclipse?

I am using Rational software Architect(RSA) which is like eclipse .Now i have done lots of settings under windows >preferences. Now want to export this settings and then apply those settings directly to another instance of RSA installed on another machine. How do i export and the import this and th...
aks
1

votes
3

answer
246

views

django on appengine

I am impressed with django.Am am currenty a java developer.I want to make some cool websites for myself but i want to host it in some third pary environmet. Now the question is can i host the django application on appengine?If yes , how?? Are there any site built using django which are already hoste...
aks
1

votes
2

answer
104

views

modeling a real life scenerio in java

I have some doubt in design for following scenerio: There is one Company. Typical Company has at least the following attributes: ( 1. Name of company 2. List of employees Typical Employee has the following attributes: 1. Name 2. Department Typical Department has at least the following attributes:...
aks
1

votes
1

answer
1k

views

Difference between normal authentication and Oauth authentication?

I m building a facebook application. In the application setting, there is a option to enable the Oath authentication. So, what is the advantage of using Oauth Authentication over normal authentication....
Adi_aks
1

votes
1

answer
177

views

deleting bytes from an ostringstream

how do i delete the first n bytes of an ostringstream? I basically have to see howmany bytes went over a socket and if it did not go through fully...i have to delete whatever went through
aks
1

votes
1

answer
99

views

vc++: differences in runtimes of release build

when I build my project in release mode, right click the project and say debug > start new instance, this takes about 49 seconds to run(its a large task) when i go to the release folder in the project folder and click the .exe it takes 130 seconds. when I move the exe to a folder with all the depend...
aks
1

votes
1

answer
200

views

Database connectivity problem

I have deployed my web application on www.aspspider.com (which also support MS SQL server db), while connecting to the database, it is giving me an error. So what changes should be made in the connection string, so as to make the connection possible. Error Message: A network-related or instance-spec...
Adi_aks
1

votes
1

answer
384

views

What does “service not available” mean in Perl's Mail::Sender?

I'm trying to send mails from Perl using the Mail::sender module. But I keep getting -4 return messages. The manual says -4 is service not available. What does that mean?
Aks
1

votes
3

answer
377

views

.Net framework for symbian

Is there any .Net framework for making symbian application?
Adi_aks
1

votes
4

answer
1.6k

views

c# datastructure to index value with DateTime

I need to store data such that a DateTime value and a float value are stored together. A Dictionary is not useful because when retrieving data, I don't have the exact DateTime value. I just give the date(not the hour,min,second values) and have to get the float value/values corresponding to the date...
Aks
1

votes
2

answer
367

views

C# Sharing file handles across threads

I have a piece of code that is executed by n threads. The code contains, for(;;)//repeat about 10,000 times { lock(padlock) { File.AppendAllText(fileName, text); } } Basically, all threads write to the same set of 10,000 files and hence the files are the shared resource. The issue is that the 10,000...
Aks
1

votes
1

answer
233

views

Selective Canvas.ZIndex between two controls

I have two chart components. One is set a higher Canvas.ZIndex than the other. But, I want the axis of the chart with the higher Canvas.ZIndex to have a lower Canvas.ZIndex than the axis of the chart with the lower Canvas.ZIndex. The axis is expectedly in the subtree of the chart. Is this possible?
Aks
1

votes
1

answer
1.8k

views

perl HTML::TableExtract get stripped text

My tables' rows in HTML are as follows, 07/01/2011 10:33 AM EDT  DRB Blah  PPD    07/01/2011  07/01/2011 10:33 AM EDT  WHPSF  Blah      07/01/2011  When I extract the rows using HTML::TableExtract, the extra characters   also appear at the end and form some kind of special character....
Aks
1

votes
1

answer
330

views

Silverlight clipping inside grid

I have a Grid and I'd like to apply a Clip( I provide Path Data ) to anything that is inside the Grid. For e.g., if I have an image inside the grid, I need the image to be clipped to a custom shape. How can I achieve this?
Aks
1

votes
2

answer
79

views

What to do with charts that dont support binding?

I'm working with a charting tool that doesn't support binding in the mvvm sense. So what I've decided is that I'd use a kind of messaging(like the MVVM Light's messaging framework)service such that everytime the viewmodel observablecollection is updated, a message is sent which when received adds da...
Aks
1

votes
1

answer
583

views

ORA-00932 when using OUTER join on a view

My simplified query is as follows: INSERT INTO table1 (acct_no, name, description) SELECT a.acct_no, b.name, TO_LOB(c.description) FROM tableA a, viewB b, tableC c WHERE a.person_id = b.person_id(+) AND a.person_id = c.person_id; Notes: I am using Oracle 10g, table1.description is of type LOB, c.des...
AKS
1

votes
2

answer
779

views

Need to create photo slider using photo library photos in iphone

I want photo slider like whts app has. It should access all the pics or some of the pics from in build photo library and it should be scrollable using scroll view. I have tried with different photo viewer but everything has memory issue. So not sure if anyone has it's working solution. Really apprec...
Aks
1

votes
1

answer
27

views

modRewrite custom redirect

How to rewrite if %{REQUEST_URI} begins with %{HTTP_HOST} ? i.e. http://example.com/example.com_custom_text -> http://example.com/index.php?q=special&info=example.com_custom_text Usage of %{HTTP_HOST} is important due to universality. Does not work: RewriteCond %{REQUEST_URI} ^%{HTTP_HOST} RewriteRu...
aks
1

votes
1

answer
850

views

File access permission denied even after setting ACL in linux

I've set ACL for an svn folder as follows # file: www # owner: aks # group: users user::rwx group::rwx group:users:rwx mask::r-x other::r-x default:user::rwx default:group::rwx default:other::r-x but despite this, when another user does an svn up, he gets svn: Can't open file 'www/.svn/lock': Pe...
Aks
1

votes
1

answer
53

views

Identify calling process of a php file

I have a php file that is being executed at frequent intervals on my server. I've checked crontab and the cronjobs, I cannot find the source. Is there something I can print from the php file to identify the calling process?
Aks
1

votes
1

answer
1.6k

views

example of factory pattern in java jdk

At below link: Examples of GoF Design Patterns in Java's core libraries that java.lang.Object#toString() is example of factory pattern. I am confused about this. What i have understood till now is that factory pattern is used to create objects . Can someone explain it more clearly?
AKS
1

votes
1

answer
5k

views

how is data structure different from data type [duplicate]

Possible Duplicate: What is the difference between a composite data type and a data structure? Explain the difference between a data *structure* and a data *type* I was reading a book on data structure and here is what i could understand (correct me if i am getting it wrong) In Computer science, da...
AKS
1

votes
1

answer
50

views

combination of two jquery codes in a file not workins as intended

this is my html code Number of images: 100 200 300 other * Image to be displayed: Upload your own image Choose from images below 10x10 = 100 10x20 = 200 20x10 = 200 10x30 = 300 30x10 = 300 this is jquery code $(document).ready(function() { $('div.imgDisp').hide(); $('.' + $(':radio:checked').val())....
aks
1

votes
4

answer
3.1k

views

Rails : Rails 3 dataTables TypeError: Object [object Object] has no method 'dataTable'

I have a table which has been rendered in my view as shown below: LeaveID Student ID Leave Start Date Leave End Date Leave Reason Leave Duration Academic Response Warden Response Leave Status leave.student_id) %> and JavaScript in the View is as shown below to make the rendered table a dataTable. $(...
ph3n0m_aks
1

votes
5

answer
4k

views

How to get the name of the class that is acted upon by listener of TestNG?

Hello I have a simple testNG project which has a SampleTest.java class file which has 2 test cases and I have added a listener called MyListener to it . For this I have a MyListener.java class file which extends the TestListener of TestNG where in I'm printing pass or fail or skipped depending upon...
Aks..
1

votes
1

answer
285

views

Rails 3 active record observer not working when updating through MySQL command line/workbench

I'm working on ROR 3 app . I have added the following observer but I dont see any output as expected in the console or log file ( i have tried in both development and production modes) cmd : rails g observer auditor models: class AuditorObserver < ActiveRecord::Observer observe :excel_file def afte...
Aks..
1

votes
1

answer
184

views

Google Maps Javascript V3 API with Rhomobile

I am trying to load Google map javascript V3 API in rhomobile. but unable to do so. I have Used below code in map.erb: Login Login Password Show On Map Show On Map and called it using controller. But nothing happens when I click on the link which redirects to map.erb. Output of the Rholog.txt I 02/0...
Aks
1

votes
2

answer
394

views

jQuery Make image rotating interval decrease smoothly

here is my site: I'm trying to get the CD to slowly stop spinning or slowly start up again when I click a button or press the spacebar, but setTimeout() hasn't worked for me. Thanks. Below is the js in my body. var diskCenter = [480, 480]; var disk = new Image; disk.src = 'disk.jpg'; window.onload...
aks.
1

votes
1

answer
397

views

How to get the name of work sheet in a excel file using win32ole gem with ruby on rails?

Hi How can I fetch the name of first excel sheet in my excel file using the gem win32ole?? I want to validate an excel file based on the name of the first sheet.. I'm using ROR 3..
Aks..
1

votes
2

answer
231

views

c++, Generate diamond or triangular holes in uniform distribution in a 2D space

How to generate particles in 2D space using uniform random distribution such that there are triangular or diamond shaped holes within?
aks
1

votes
1

answer
276

views

Ssh and sftp login via perl

I have Perl script which is doing ssh and sftp on remote server,i am getting error while running the script. Error says You are trying to access a restricted zone. Only Authorized users allowed. How is it possible to ignore these messages while doing ssh or sftp from Perl program? my $ssh = Net::SSH...
Aks

View additional