Hi ,
I want to trigger an event when user Right-click on the page, let's say I want to navigate to another page on Rightclick down event.
Can any one help on this please?
The entities to be stored have 25+ properties (table columns). The entities are pretty diverse, meaning that, most of the columns are empty. On average, I'd say, less than 20% (<5) properties have a value in any particular item. So, I have a lot of redundant empty columns for most of the table rows. Almost all of the columns are decimal numbers.…
I'm following basic Pig, Cassandra, Hadoop installation. Everything works just fine as a stand alone. No error. However when I tried to run the example file provided by Pig_cassandra example, I got this error.
[root@localhost pig]# /opt/cassandra/apache-cassandra-1.1.6/examples/pig/bin/pig_cassandra
-x local -x local…
I have Debian 4 server (i know it is very old)
cat /etc/issue
Debian GNU/Linux 4.0 \n \l
I have the following in /etc/apt/sources.list
deb http://debian.uchicago.edu/debian/ stable main
deb http://ftp.debian.org/debian/ stable main
deb-src http://ftp.debian.org/debian/ stable main
deb http://security.debian.org/…
So got the below earlier to day...
Around that time the logs show a ramp in processes(600) and associated memory (1.2g), cpu usage load average (80) untill the server gave out.
Server had to be hard reset by host as there was no ssh or plesk panel access.
Fast CGI is configured as below and is setup for one high…
Hi.
I have a large application, part of which relies on a set of 3 webservices. I'm currently in the process of writing an Ant build script to build and package the application into an EAR file. When building the web sub-project for this application I use the <jwsc> task in Ant to compile the webservices.…
I am having an absurdly difficult time getting MySQL-Ruby to install on RedHat 4 using Ruby 1.9.2. I am behind a company proxy that prevents pretty much any package tool from connecting to external repositories so "gem install mysql" isn't going to cut it. I have tried installing the mysql-ruby gem locally but…
My main process(main.exe) initilaized COM library and created a thread which creates a new process(p1.exe) this new process is again initializing COM library and after making all references as zero unintialized COM here.. the unintailezed COM in the main process (i.e main.exe) also....
When i run p1.exe…
I'm on Ubuntu 10.04, and trying to set up a repository using reprepro. I'd also like the pin everything in that repository to be preferred over anything else, even if packages are older versions. (It will only contain a select set of packages.)
However, I cannot seem to get the pinning to work, and…
add-apt-repository throws an error if I try to add a source repository:
This works:
sudo add-apt-repository 'deb http://dl.ajaxplorer.info/repos/apt squeeze main'
This fails with an error:
sudo add-apt-repository 'deb-src http://dl.ajaxplorer.info/repos/apt squeeze main'
Error: 'deb-src…
I want to learn OpenGL 3.0 with golang. But when i try to compile some code, i get many errors.
package main
import (
"os"
//"errors"
"fmt"
//gl "github.com/chsc/gogl/gl33"
//"github.com/jteeuwen/glfw"
"github.com/go-gl/gl"
"github.com/go-gl/glfw"
"runtime"…
I'm stuck, can't upgrade my system. Running sudo apt-get upgrade gives me the following:
mmm@alalunga:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
ginn libgrip0…
I have a folder tree that looks like this
main/
main/34532-23423632-2354/what-i-want/sth/other/blah-blah
main/54634-56345634-3422/what-i-want/sth/
....
main/54356-34225675-2345/what-i-want/
I want it to show the tree up to the folder what…
We have been slowly replacing batch command files (windows .bat) which were simply jarring up the classes compiled in the developers IDE, with more comprehensive Ant builds (i.e. get from CVS, clean compile, jar, archive, email, etc.)
I've spent a lot of time learning (and…
I built a jquery mobile site a while back and I have recently been expanding on it and noticing performance issues. I believe it is because I constructed the site using a multi-page set up where a single php file houses the following pages:
**ALL_PAGES.PHP**
…
When I point to a URL in nginx where it has images extension such as:
http://50.56.81.42/phpMyAdmin/themes/original/img/logo_right.png (as example)
it gives me the 404 error as it can't find the file, but the file is actually there. What is potentially wrong?
…
Hi there, I've been trying to get back into coding for a while, so I figured I'd start with some simple SDL, now, without the file i/o, this compiles fine, but when I throw in the stdio code, it starts throwing errors. This I'm not sure about, I don't see any…
We are trying to improve further the speed of some sites with older HTML in order as well to obtain better SEO results. We have now applied some minify measures, combined html, css etc.
We use a small virtualized infrastructure and we've always wanted to use…
I'm trying to connect to an SSL-enabled mysql server from my own java application. After setting up ssl on mysqld, and successfuly tested an account using "REQUIRE ISSUER and SUBJECT", I wanted to use that account in a java app.
I've generated a private key…
We have our own apt/deb repository with a handful of packages where we want to control the version. Crucially this includes puppet, which can be sensitive to versions being different.
I want our desktops to only get puppet from our repository, but also for…
I am reading the instructions on conkeror site (and elsewhere) on how to install conkeror on Ubuntu (I am using Ubuntu 12_04 LTS) and it seems that the correct sequence is:
sudo apt-add-repository ppa:xtaran/conkeror
sudo apt-get update
sudo apt-get…
I enter command apt-get install apache2 --fix-missing (under the root user) and this is what I receive:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
…
I'm having trouble with passing a constant class through a function.
// test the constructors
auto CName nameOne("Robert", "Bresson");
const CName nameTwo = nameOne;
auto CName nameThree;
//…
My Question: How to overcome an IllegalAccessException to access the value of a an object's field using reflection.
Expansion: I'm trying to learn about reflection to make some of my projects more generic. I'm running into an…