Hey guys,
How to integrate ckeditor with mediawiki ....iam very new to this wiki thing ,...Can you plz guide me ...didnt find any worthful doc on web !!!!
Cheers,
Andy !
Hi, I have attached a
CSShover.htc file on my site to
rectify the inherent problems in IE
when creating a horizontal SPRYmenu in
dreamweaver. The file has
worked tremendously and displays fine
on mozilla and IE. However on
Chrome (my default browser) the menu
skips accross the page by about 20px.
The menu is quite wide in total at
975px. The menu still works on
chrome but i would just like that the
page displays the same on all
browsers. Please help with your
suggestions; Andy
Is it possible to have a UITabBarController inside a UINavigationController? Interface Builder seems to dislike the idea. Although I can create a View with a "Tab Bar" and add "Tab Bar Items", this feels like a hack.
Thanks,
Andy
Hi folks,
I've been teaching myself Dojo over the last few days...
However, if you look at the following page:
http://www.mechanic-one.suburban-glory.com/
You'll see that the simple script in the header doesn't work in IE
I get the following message:
Message: 'duration' is null or not an object
Line: 8
Char: 622
Code: 0
URI: htt p://ajax.googleapis.com/ajax/libs/dojo/1.3.2/dojo/fx.xd.js
Do you have any ideas why this is so?
Andy
Hi all,
I'm playing about with some vertex and fragment shaders using Cg on my little netbook (running Linux). Clearly I'm going to frequently hit resource limits for my graphics controller, so was wondering if there's a nice way to run the shaders on the CPU, just to test them. Something like D3D's refrast...
TIA
Andy
I am writing a tomcat app, and have a need to do authentication within the URL like this:
https://user:[email protected]
Except for the life of me i'm not sure how to set it up or able to find the docs to read up on it, clearly my google skills need work.
Can anyone tell me where i should be looking for this kind of info or where to start?
Cheers
Andy
Hi ,
I'm having a windows form which contains listview control ,
where listView1.View = View.Details; and listView1.CheckBoxes = true;
then added a column with HeaderName as "FileName".
listView1.Columns.Add("File Name", 200, HorizontalAlignment.Left);
Here I would like to have check box in the Header of listview , ie FileName.
Can anyone help me with this.
Thanks in advance.
andy
Hi,
I'm learning Ruby, and I'm starting to play with building extensions in C. I have Programming Ruby The Pragmatic Programmers' Guide and so I can follow that for the basic nuts and bolts. What I was wondering is if there already existed some nifty frameworks/whatever to help interoperability between Ruby and other languages, with C++ being the most important for me. I've tried googling, but the results focus on language comparisons, rather than language interoperability.
TIA,
Andy
I am working on a debugger project for a game's scripting engine. I'm hoping to write the debugger's GUI in C#. The actual debugging engine, however, is embedded in the game itself and is written in a mixture of C, C++, and assembly patches.
What's the best way to handle communication between the debugger GUI and the debugging engine? The two will be running in separate processes.
Thanks!
Andy
Hi,
I am using search display controller and a search bar. When i click inside the serach bar the keyboard appears. When i navigate away to another page , the keyboard does not disappear and stays in the same page. Can you please help me ?
Thanks,
Andy.
Having difficulty re-installing Firefox, after an installation to resolve places.sqlite issues. It appears that I'm trapped in circular dependency hell.
Need to resolve firefox dependency hell to attempt to resolve Tomcat6 project dependencies (don't ask), ASAP. Have been trying for hours.
What I've done (brief)
1) sudo apt-get purge firefox firefox-globalmenu firefox-gnome-support
2) sudo apt-get update
3) sudo apt-get install firefox firefox-globalmenu firefox-gnome-support
4) sudo apt-get -f install
Potential error sources:
Found in(sudo apt-get install firefox firefox-globalmenu firefox-gnome-support)
dpkg: error processing
/var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb
(--unpack): trying to overwrite '/usr/lib/firefox/extensions', which
is also in package mint-search-addon 2012.05.11
So, /usr/lib/firefox/extensions doesn't even EXIST!
Deleted /var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701 as per recommendations.
Errors were encountered while processing:
/var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Outputs:
1) sudo apt-get purge firefox firefox-globalmenu firefox-gnome-support
me@machine ~ $ sudo apt-get purge firefox-gnome-support firefox
firefox-globalmenu
Reading package lists... Done
Building dependency tree
Reading state information... Done Package firefox is not installed, so not removed
The following packages will be REMOVED:
firefox-globalmenu* firefox-gnome-support* 2 not fully installed or
removed. 0 upgraded, 0 newly installed, 2 to remove and 38 not
upgraded.
After this operation, 460 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... dpkg: warning: files list file for package `mysqltuner' missing, assuming package has no files currently installed.
(Reading database ... 192642 files and directories currently installed.)
Removing firefox-globalmenu ...
Removing firefox-gnome-support ...
3) me@machine ~ $ sudo apt-get install firefox firefox-globalmenu firefox-gnome-support
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages: latex-xft-fonts
The following NEW packages will be installed: firefox
firefox-globalmenu firefox-gnome-support
0 upgraded, 3 newly installed, 0 to remove and 38 not upgraded.
Need to get 0 B/24.8 MB of archives.
After this operation, 54.3 MB of additional disk space will be used.
(Reading database ...
dpkg: warning: files list file for package `mysqltuner' missing,
assuming package has no files currently installed.
(Reading database ... 192619 files and directories currently
installed.)
Unpacking firefox (from
.../firefox_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb)
...
dpkg: error processing
/var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb
(--unpack):
trying to overwrite '/usr/lib/firefox/extensions', which is also in
package mint-search-addon 2012.05.11
Selecting previously unselected package firefox-globalmenu.
Unpacking firefox-globalmenu (from
.../firefox-globalmenu_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb) ...
Selecting previously unselected package firefox-gnome-support.
Unpacking firefox-gnome-support (from .../firefox-gnome-
support_18.0~a2~hg20121027r113701-0ubuntu1~umd1~precise_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for mintsystem ...
Errors were encountered while processing:
/var/cache/apt/archives/firefox_18.0~a2~hg20121027r113701-
0ubuntu1~umd1~precise_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
4) sudo apt-get -f install
0 upgraded, 0 newly installed, 0 to remove, and 38 not upgraded
Ideas? Tomcat6 only deploys my web application successfully in Firefox, not Chrome, so I'm really hoping to resolve this dependency issue.
Possible Duplicate:
What should I do when Ubuntu freezes?
I am running ubuntu 12.04.1 on an asus zenbook prime (UX31A), and I am having a problem where the entire OS freezes at random times. It doesn't seem to happen in response to any certain event, it will even sometimes happen while just moving the mouse, not even clicking on anything. The entire system will freeze, mouse and keyboard do not work, and any music/video will freeze and audio will loop. I can do nothing but hold the power button to reboot the computer. I've had this problem for a while, and just yesterday gotten around to backing up everything and doing a fresh install. Lo and behold, I get a freeze within 20 minutes of a fresh install. I've googled this a lot, and cannot find anything that resembles it exactly (some people have everything but mouse/keyboard freeze, some people only have the mouse/keyboard freeze).
Hey StackExchange GameDev community, I'm attempting to resize series of sprites upon instantiation of the class they're located in.
I've attempted to use the following code to resize the images, however my attempts have been unsuccessful. I have been unable to write an implementation that is even compilable, so no error codes yet.
wLeft.getScaledInstance(wLeft.getWidth()*2, wLeft.getHeight()*2, Image.SCALE_FAST);
I've heard that Graphics2D is the best option.
Any suggestions?
I think I'm probably best off loading the images into a Java project, resizing the images then outputting them to a new directory so as not to have to resize each sprite upon class instantiation. What do you think?
Photoshopping each individual sprite is out of the question, unless I used a macro.
Code:
package game;
//Import
import java.awt.Image;
import javax.swing.ImageIcon;
public class Mario extends Human {
Image wLeft = new ImageIcon("sprites\\mario\\wLeft.PNG").getImage();
//Constructor
public Mario(){
super("Mario", 50);
wLeft = wLeft.getScaledInstance(wLeft.getWidth()*2, wLeft.getHeight()*2, Image.SCALE_FAST);
}
Hey StackExchange GameDev community, I'm attempting to:
Resize series of sprites upon instantiation of the class they're located in (x2)
I've attempted to use the following code to resize the images, however my attempts have been unsuccessful. I have been unable to write an implementation that is even compilable, so no error codes yet.
wLeft.getScaledInstance(wLeft.getWidth()*2, wLeft.getHeight()*2, Image.SCALE_FAST);
I've heard that Graphics2D is the best option.
Any suggestions?
I think I'm probably best off loading the images into a Java project, resizing the images then outputting them to a new directory so as not to have to resize each sprite upon class instantiation. What do you think?
Photoshopping each individual sprite is out of the question, unless I used a macro.
Code:
package game;
//Import
import java.awt.Image;
import javax.swing.ImageIcon;
public class Mario extends Human {
Image wLeft = new ImageIcon("sprites\\mario\\wLeft.PNG").getImage();
//Constructor
public Mario(){
super("Mario", 50);
wLeft.getScaledInstance(wLeft.getWidth()*2, wLeft.getHeight()*2, Image.SCALE_FAST);
}
Thanks!
Note: not homework, just thought Mario would be a good, overused starting point in game dev.
I've asked this in Reddit.com/r/Ubuntu in here.
I've tried to get the Subtitle Player linked here to work and it have failed on Wine.
So I'm curious if Ubuntu community would be willing to try and build a simple transparent subtitle player for better accessibility on Flash Player, Netflix, or even in movie theaters?
Currently, I'm watching movies/videos with an Android Tablet that runs on a blank black video for 3 hours with a subtitle overlay on it so I can enjoy movie and so forth, but it requires a bit of effort and it definitely isn't for everyone. (People will have to look at the subtitle playing tablet and the movie back and forth at 60 degrees angle, while a transparent subtitle player would reduce it to 5 degrees angle to watch the movie.)
Please and thank you.
I am a fairly competent developer who already holds a job developing iOS applications. This job is through the university which I attend. The producer of the apps that I develop is always trying to set me up with some freelance opportunities to get my work out there and to get me some more work/experience.
What is a reasonable price to charge (either hourly or per app)? I'd be working by myself, on my own equipment, from start to finish in the design process.
Just wondering what a reasonable price was...I've heard up to $30?
Thanks
So I'm trying to create a input class that implements a InputHandler & GestureListener in order to support both Android & Desktop. The problem is that not all the methods are being called properly.
Here is the input class definition & a couple of the methods:
public class InputHandler implements GestureListener, InputProcessor{
...
public InputHandler(OrthographicCamera camera, Map m, Player play, Vector2 maxPos) {
...
@Override
public boolean zoom(float originalDistance, float currentDistance) {
//this.zoom = true;
this.zoomRatio = originalDistance / currentDistance;
cam.zoom = cam.zoom * zoomRatio;
Gdx.app.log("GestureDetector", "Zoom - ratio: " + zoomRatio);
return true;
}
@Override
public boolean touchDown(int x, int y, int pointerNum, int button) {
booleanConditions[TOUCH_EVENT] = true;
this.inputButton = button;
this.inputFingerNum = pointerNum;
this.lastTouchEventLoc.set(x,y);
this.currentCursorPos.set(x,y);
if(pointerNum == 1) {
//this.fingerOne = true;
this.fOnePosition.set(x, y);
}
else if(pointerNum == 2) {
//this.fingerTwo = true;
this.fTwoPosition.set(x,y);
}
Gdx.app.log("GestureDetector", "touch down at " + x + ", " + y + ", pointer: " + pointerNum);
return true;
}
The touchDown event always occurs but I can never trigger Zoom (or pan among others...). The following is where I register and create the input handler in the "Game Screen".
public class GameScreen implements Screen {
...
this.inputHandler = new InputHandler(this.cam, this.map, this.player, this.map.maxCamPos);
Gdx.input.setInputProcessor(this.inputHandler);
Anyone have any ideas why zoom, pan, etc... are not triggering?
Thanks!
Whenever I try to run Ubuntu from my internal CD drive, I see this screen minus the Ubuntu Text:
Then the screen goes black, not even the internal light stays on. Sometimes it restarts itself, other times the black screen is indefinite until I restart the laptop myself.
I'm on an HP Quad-Core AMD A8-3500M APU with 8 GB RAM and a Radeon AMD 6620g Discrete-Graphics Card. (HP dv6-6145dx)
This is my first time using Linux, I am not too technically-inclined so any simplification would be welcomed. I am good at following technical instructions though which is how I was able to partition my hard drive and change the boot order to allow the internal CD drive first.
Thanks in advance!
Apple takes 30% of revenue from app sales on the iPhone app store. Now Apple does the same with the Mac app store. Google also takes a 30% cut in the Android Market. These seem pretty steep.
What percentage do you think would be fair and good for both you as a developer/vendor and Apple/Google? What's a happier middle ground? 20%?
If the answer you give is less than 30% but you are selling apps in the app store or android market, please explain why you are willing to, and what benefits Apple and Google would see from reducing their cuts.
I'd like to offer a service where customers can write arbitrary java code, send it to me, and I'll run it for them on Amazon EC2. My question is: how can I do this without exposing one customer's data to another customer?
Right now I'm thinking that each customer can be sandboxed as their own OS-level user with restricted permissions. Is that good enough?
I understand that this is a tricky issue, but it seems to be one that many people, such as the designers of multi-user OS's and Amazon themselves are solving, so I am optimistic that there might be a good approach.
I have a computer with the following configuration:
AZUS Sabertooth Motherboard
Intel I5 2500 CPU
Windows 7 installed
I'm trying to install linux. I first attempted to install pin guy. I burned the ISO, booted from it, got the initial menu; attempting to either run the live version from DVD, or install to system. However the process stops at a blank screen with the blinking cursor in left corner.
So I downloaded Ubuntu and got the same results. Then I tried wubi and ended up in the same position.
EDIT: UEFI might be part of the problem? Based on the link below I have determined that the process will be too time consuming and or risky so I'm giving up.
https://help.ubuntu.com/community/UEFIBooting
AZUS Sabertooth Motherboard,
Intel I5 2500 CPU,
Windows 7 installed
I'm trying to install linux. I first attempted to install pin guy. I burned the ISO; booted from it; got the initial menu; attempting either run the live version from DVD, or install to system; the process stops at a blank screen with the blinking cursor in left corner.
So I downloaded Ubuntu and got the same results. Then tried wubi, and ended up in the same position; blinking cursor in left corner.
I am trying to get Juju working on Windows 8 but I am running in to some errors when trying to get juju to see my ssh keys:
C:\Users\username> juju bootstrap
error: error parsing environment "azure":
read C:\Users\user\SkyDrive\Documents\Azure\ssh\: The handle is invalid.
I've added a public key I generated with putty to the directory above called azure
My environments.yaml file has this in it:
authorized-keys-path: C:\Users\user\SkyDrive\Documents\Azure\ssh\
Any ideas?
I have a question for class that I cannot figure out, I was hoping the helpful folks at Ask Ubuntu could help. The question is basically this: Your Linux system appears to have a DHCP problem. You decide to release and renew the DHCP lease by running the following command "SUDO IFCONFIG ETH0 DOWN". The command gives an error message saying Linux doesn't recognize the command. What's the problem? Any ideas? Thanks in advance.
I just downloaded Ubuntu 11.10 for the first time. I really enjoy the launcher on the left hand side but have a problem. After playing around with adding applications in it, there are large spaces from the last application to workspace switcher. If I try to drag a new application into the launcher everything moves farther down, instead of filling in the space in between apps. When I right click on the launcher in a blank spot it reads "drop to add application." I'm looking for a way to have all of the applications close together with no spaces, like when I first downloaded Ubuntu.