Change Photo
Sunny Von

Questions by Sunny Von

Drawing an animatable laser beam with CALayer?

I'm trying to draw a light beam using CAShapeLayer but not able to correctly implement it. Have used the shadow prop...

Best way to cycle through pages of data in multiple tables??

I'm aggregating network data from all our Cisco switch ports, plus other stuff from other databases, and am outputti...

Rendering 2D sprites in a 3D world??

How do I render 2D sprites in OpenGL given that I have a png of the sprite? See images as an example of the effect ...

How to get href value using jQuery??

I'm trying to get href value using jQuery: <html> <head> <title>Jquery Test</title...

What is Structure of IMAGE_THUNK_DATA??

Can anyone explain the structure of IMAGE_THUNK_DATA? I just know it has 4 elements, but I want the explanation of ...

What are valid S3 key names that can be accessed via the S3 rest API??

From the AWS docs, I understand that: S3 key names can be any UNICODE name < 1024 chars When using the GET OBJ,...

How to overlay scatterplots in R??

If I have three sets of data : a1= rnorm(10) a2= rnorm(10) a3= rnorm(10) rather than looking at these side by sid...

Error consuming webservice, content type “application/xop+xml” does not match expected type “text/xml”?

I'm having a weird issue when consuming a webservice for a product that my company has bought. The product is calle...

How to copy directories into a directory using install in bash??

Assume the nested directories foo/bar and a empty directory dest. I would like to call something like install foo de...

Where does Hive store files in HDFS??

I'd like to know how to find the mapping between Hive tables and the actual HDFS files (or rather, directories) that...

Simple ajax asp.net calendar extender not working?

I've made a new project with one page and a reference to AjaxControlToolkit.dll The calendar extender below doesn't...

Remove a fixed prefix/suffix from a string in Bash?

In my bash script I have a string and its prefix/suffix. I need to remove the prefix/suffix from the original string...

Convert string to Python class object??

Given a string as user input to a Python function, I'd like to get a class object out of it if there's a class with ...

MySQL Sum() multiple columns?

I have a table of student scorecard. here is the table, subject | mark1 | mark2 | mark3 |......|markn stud1 | ...