All Questions
0
votes
0answers
2 views
VBA to Sort Varying Size Table in Excel 2003
I could use help amending the below VBA code (thanks to Doug Glancy here) to work on Excel 2003 and to expand it to sort two lists on the same worksheet. In addition to adapting the code to work in ...
0
votes
0answers
1 views
Pulling MVC User Identity Data in a SignalR Chat Hub
I have followed this tutorial religiously in order to add an ASP.NET MVC SignalR chat page on a bare-bones ASP.NET MVC 4 template project. Instead of using the following method from the tutorial to ...
0
votes
0answers
4 views
Control other app in my app(in sandbox)
i want to miniaturize Finder in my app. so i use ScriptingBridge to control Finder
but when my app is in sandbox, it fail to run.
i add com.apple.security.scripting-targets in the sandbox ...
-2
votes
0answers
8 views
How do I set the value/text of a div
hi i want to div into text value
<div id="dvitest">
<span></span>
<span></span>
Hello world
</div>
i want
<div id="divtest">
...
0
votes
0answers
2 views
ANCESTORY Query Parse Error: Using DISTINCT
Not this question:
Ancestor query parse error
I structured it with "IS" properly:
SELECT DISTINCT batch_no FROM Entry WHERE ANCESTOR IS ...
0
votes
0answers
2 views
Adjust scroll position to a nearest wrapper div both upwards and downwards
I've read a bunch of threads but still can't come away with a solution that doesn't use a snap scroll plugin (https://github.com/wtm/jquery.snapscroll).
I was trying to follow this
function ...
0
votes
0answers
3 views
Animation on ImageView
I set up three different images in my ImageView. When I click a button the ImageView changes its picture. It works fine on just setting 2 images but when I decided to add one more images the ...
0
votes
0answers
3 views
Debug and Release mode in Flash CS6
I m currently looking into the GPU accelerated Starling framework, and I have encountered poor performance when doing simple testing. So I searched around in the Starling website and in performance ...
0
votes
0answers
3 views
Rails: cannot load such file - spec.rb
I'm working through chapter 9 of Hartl's rails tutorial. I just added some tests for the 'edit' page, but it won't run on the command line.
I'm trying to run 'bundle exec rspec ...
0
votes
0answers
3 views
Multiple image crud galleries in single page
I'm new to Codeigniter and Image CRUD. I want to display multiple image CRUD galleries in the same page. I can display one gallery with category_id=10002 by using this url
...
0
votes
0answers
4 views
MySQL loop times out server
I have the follow loop which does the following:
Finds a row in tableA with a particular value (@centre)
Copies values from @centre to the specified columns in tableB
Finds the row before @centre ...
0
votes
0answers
3 views
<Fragment> is not currently in the FragmentManager
I am attempting to put a Fragment into a Bundle that is yet to be loaded by the ViewPager. Because it has not yet been loaded, I get the error <Fragment> is not currently in the ...
0
votes
0answers
3 views
Send TCP POST request at slower rate
I have a function that uploads a file with a TIdHTTP Post request. It uses a TIdMultiPartFormDataStream for the file so is using the function
function TIdCustomHTTP.Post(AURL: string; ASource: ...
0
votes
0answers
5 views
How do you copy between arrays of different sizes in rust?
If I have two arrays of different sizes:
let mut array1 : [u8, ..8] : [0, ..8];
let array2 : [u8, ..4] : [1, 2, 3, 4];
How would I copy 'array2' into the first 4 bytes of array1? I can take a ...
0
votes
0answers
4 views
MarkerWithLabel not showing full custom icon
We are using google utility script to have a custom icon with information below it.
var marker5 = new MarkerWithLabel({position: point,
map: map,
draggable: false,
...
0
votes
0answers
2 views
Scala asInstanceOf generic type does not fail in Try
Try to casting a String to Double obviously should return Failure:
scala> Try("abc".asInstanceOf[Double])
res11: scala.util.Try[Double] = Failure(java.lang.ClassCastException: java.lang.String ...
0
votes
0answers
3 views
How come the redis-benchmark command is not following the redis protocol?
I was reading in directly from a tcp connection after running the redis-benchmark command and as far as I can tell, redis-benchmark is NOT following the redis protocol.
The redis protocol is as ...
-1
votes
1answer
14 views
C++ Inheritence: Avoid calling default constructor of base class
In the following code I am calculating the area of triangle. Once I declare the object tri1 the width and height are initialized twice.
First: The default constructor of the base class is called and ...
0
votes
1answer
10 views
java.lang.NoClassDefFoundError: com.squareup.picasso.Picasso
I try to use Picasso for the first time
like in the official site example:
private void setItemBgImageUsingPicasso(View convertView) {
String imageUrl = getImageUrlFromOffer(convertView);
...
0
votes
1answer
5 views
PHP - DOMDocument::saveHTML creates weird entities
So I'm pulling xml from an API, and my goal is to save that xml as html in a file for users to view.
The problem is, the saved html file get's some new weird entities that it shouldn't have.
Here is ...
0
votes
0answers
5 views
load method doesn't work when try to load new html into a div
I have a problem to load a new html (in a local folder) into a div when I try to program using jquery mobile. Please help. Thanks in advance. The jquery mobile version I used is jquery mobile 1.4.3. ...
1
vote
0answers
13 views
Reorder names with java regex
I have a series of names that take the form:
Smith, John Walter
Jones, James Samuel, Jr.
I'm struggling to find a regex which will allow me to extract each element as an individual text element. ...
0
votes
1answer
7 views
dynamically creating a set of SQLAlchemy tables
I have a simple table defined with SQLAlchemy declarative:
Base = declarative_base()
class MyTable(Base):
__tablename__ = 'mytable1'
row_id = Column(INT, primary_key=True)
another_column ...
1
vote
1answer
13 views
Java Date Formatting ParseException
I have a String as Friday, August 01, 2014. I want to format this and show as 2014-08-01.
I have tried this. but this gave java.text.ParseException: Unparseable date: "Friday, August 01, 2014"
...
0
votes
3answers
16 views
python regex to display text in paranthesis
I did a coding to get to print ext inside (" and within ") but i get the errors.
I mean ,if i have text: hello everyone("Can you see"), then it has to print as Can you see
My coding:
>>> ...
0
votes
0answers
4 views
Download file AsyncTask pull the notification bar down but it would go slowly and freezing
I want download a file music from Url. If i use network slow speed it had nothing happens. But when i use network high speed pull the notification bar down but it would go slowly and freezing. I use ...
0
votes
0answers
2 views
JavaFX How to Clear Message
The Code below is a snippet that is supposed to print a message if the password is incorrect, and print a different message when the password is incorrect.
pwBox.setOnAction(new ...
0
votes
0answers
1 views
Is there any reason why Guice injection does not work for RestEasy Providers?
In my project, Guice injection works fine on classes annotated with @Path, but for any classes annotated with @Provider, injection does not happen. My provider is an implementation of the ...
-6
votes
0answers
11 views
Get value of array with php
I need get value from array with PHP.
My array:
return array(
'a'=>'value 1',
'b'=>'value 2',
'c' =>'value 3'
);
How to get value of a key?
0
votes
1answer
7 views
Force HTTP while fetching page source with PHP
How would I force HTTP (Not HTTPS), while getting the source code of: http://www.youtube.com/watch?v=2YqEDdzf-nY?
I've tried using get_file_contents, but it goes to HTTPS.
0
votes
0answers
5 views
Can we receive pubnub notifications by email?
We are using NodeJS to publish messages. Is it possible for subscribers to receive the messages by email?
0
votes
0answers
5 views
My solution for “no suitable driver found”
Regarding the jsp code as found in this link:
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
I could run a "hello world" app on my Linux AMI EC2 instance over the web ...
0
votes
1answer
7 views
AngularJS $http.get cache not working
After next(Route) to other page, come back it still call back the link.
How to cache JSON data from http call to optimize performance?
Try some solution but not working
$http.get(url, { cache: ...
0
votes
0answers
5 views
Secure ffmpeg streaming connection?
I've googled & "stackoverflow-ed" but have not found any article about securing the ffmpeg streaming.
I want to stream my webcam/ desktop screen to the lan/internet but the first thing in my mind ...
-4
votes
0answers
10 views
xcode .m file dissapeared
Please help. One of my Xcode .m files suddenly disappeared and I didn't delete it myself. It's not even in my trash bin. I searched with my mac's spotlight search and the file is nowhere to be found.
...
0
votes
0answers
3 views
Why Live Node on HDFS monitoring just recognize 1 from master node?
i already follow step by step on this post.
Finally, i have hadoop 2.2.0 cluster 2 node. but, if i check at HDFS Monitoring in there datanode just recognize from 1 node, obviously from master node. ...
-5
votes
0answers
6 views
How To fixed the error when submit excel file
Hi I have a newbie question
I follow This tutorials..
PHPEXCEL
EDIT:
index.php
<?php
$uploadedStatus = 0;
if ( isset($_POST["submit"]) ) {
if ( isset($_FILES["file"])) {
//if there was an ...
0
votes
2answers
11 views
How to catch .erase exception in vectors?
I have declared this vector in a code and I want to capture .erase exception in the following situation :
When MyVec has no member and I want to delete one of its indices, it will throw an error. I ...
0
votes
0answers
2 views
Facebook App: Firebase Simple Login URL error
I am trying to make my first app using Facebook login and the Firebase Simple Login. I am running the system locally on http://localhost:8000/. The error I am receiving upon clicking the login button ...
0
votes
0answers
7 views
How to send email from R and windows 7
I'm trying to send an email from R. I'm running windows 7 and it does not recognize the sendmailR package. Please help!!
Error in library(sendmailR) : there is no package called ‘sendmailR’
...
0
votes
0answers
3 views
How to format the group title in Kendo UI grid after I group the grid?
I want to group the gird according to the birthday which is datatime type,but after grouped,I find that the group title is json format?How to format it?My codes are here:
...
0
votes
0answers
7 views
Inline query permission
I have a tool that generates report of data being inserted. The tool can switch to different server : development, Pre-production and production (This is dynamic as the server could increase). I used ...
0
votes
1answer
21 views
I can't open Eclipse
I just recently upgraded my MacBook Pro from OSX 10.6.8 (Leopard) to OSX Maverick.
I want to use Eclipse as an IDE for Java. But everytime I try to open Eclipse it says:
"Version 1.6.0_65 of the ...
-1
votes
0answers
5 views
bash script for generate s3 signed URL
Please find the below script for generate the s3 signed URL. I'm getting SignatureDoesNotMatch error.
!/bin/bash -x
S3_ACCESS_KEY="XXXXXXX"
SECONDS="3600"
S3_BUCKET=""
...
0
votes
0answers
7 views
Ruby on Rails: choosing between has_many :through and simply has_many
I'm trying to create a linkedin clone, in which users can have several skills. They can also have descriptions for each skill and choose whether the skill is their primary skill or secondary skill ...
-1
votes
0answers
2 views
How to trap and amend output before before it is printed to an USB printer?
I am looking for a program/driver that reads output (from a program) to an USB printer, modify the output content and re-submit it to the USB printer.
0
votes
1answer
3 views
Flash banner not clickable in chrome
I have embedded a flash banner on my wordpress site, by editing the header.php file. The banner itself has been hardcoded with the link, but once its on my website it is not clickable in Chrome (FF ...
0
votes
1answer
12 views
How to convert decimal to binary?
How to convert decimal number 18.25 to binary, i confused this 0.25 please help me
Convert the decimal number 18.25 to binary
0
votes
1answer
8 views
How to get the file name when dragging a file(before dropping the file) in windows?
I'm developing a WPF application. I will do a drag and drop in this app but I need to get the file's name(or path) when dragging the file(without dropping). I think this may related to some shell ...
0
votes
0answers
4 views
How to run hyrof-conv Android
In the Android developer website, it only states hprof-conv <infile> <outfile>, which I have no idea of what I should do. I am on Mac OS. Where is the hprof-conv tool located? How to ...