Lets say I have a class A that is fairly simple like this -
public class A{
private int randomField = 0;
protected int key;
protected double dmg;
}
Now I want to write a number of sub-classes that inherit the protected fields and only differ based on the initial values that are assigned to those fields - for example, if I wrote two…
There is a game I want to develop for mobile devices e.g. cellphone/tablet. I have been looking for this game and couldn't find it so I decide to just do it on my own. But I'm worried that there will be legal issues. I'm sorry but I do not know what is the process in doing this.
I noticed for example the game Bejeweled Blitz. If I develop…
There is a game I want to develop for mobile devices e.g. cellphone/tablet. I have been looking for this game and couldn't find it so I decide to just do it on my own. But I'm worried that there will be legal issues. I'm sorry but I do not know what is the process in doing this.
I noticed for example the game Bejeweled Blitz. If I develop…
I understand Objective-C categories and how they become useful, but I always have a hard time explaining the concept to other programmers that are not familiar with Objective C.
Maybe I'm just bad at explaining things, but I was thinking at another way to explain it by comparing to similar features offered by other (more popular)…
I have 7 different sites on the same dedicated server.
Two major sites have different IPs, and 5 small share the same IP.
About first 2 they have similar content, but not the same.
Basically they have different:
URLs
Titles
Meta Data
But they both have the same niche.
I was thinking about two strategies.
One is to move…
I'm trying to implement a settings menu component similar to that in Angry Birds - a button control that makes an options menu slide out of it and back into it when clicked on.
I use scene2d.ui to build the UI components: a Button in a Table to implement the button control, a Table to implement the options menu, and a Stack to lay…
For a while now I've been thinking about trying my hand at creating a game similar in spirit and execution to Baldurs Gate, Icewind Dale and offshoots. I'd rather not face the full bulk of work in implementing my own RPG system - I'd like to use D&D rules.
Now, reading about the subject it seems there is something called "The…
How to estimate cost of creating tile-set similar to HoM&M 2?
I'm mostly interested in the tile-set graphics only, no animation needed, the big images of town and creatures can be done as quick and dirty pensil sketches.
The quality of tiles and its amount should be roughly the same as in HoM&M 2.
Can You please give a…
How much it will cost to create tile-set similar to HoM&M 2?
I'm mostly interested in the tile-set graphics only, no animation needed, the big images of town and creatures can be done as quick and dirty pensil sketches.
The quality of tiles and its amount should be roughly the same as in HoM&M 2.
Can You please give a…
"Concepts of Programming languages" by Robert Sebesta says -
Implicit Heap-Dynamic Storage Binding:
Implicit Heap-Dynamic variables are bound to heap storage only when they are assigned values.
It is similar to dynamic type binding.
Can anyone explain the similarity with suitable examples. I understand the meaning of…
Sometimes Ubuntu freezes and I have no other option than to power off system directly. Is there some remedy or way like 'Ctrl + Alt + Del' similar to that in Windows. That would be very helpful.....
I need a way out other than option to directly power off my system in times of gross failure. Shutting down this way always…
Recently a lot of browser-based training sites have been spawned. These include tryruby.org, codeacademy.org, codeschool.org and the Udacity site uses something seemingly similar. They allow the user to type code in say Ruby or Python, this is then sent to the server and the output posted back to the browser.
Are there…
I'm looking for sites similar to jsdo.it and jsfiddle.net.
I really like jsdo.it, as it provides a nice editor and the ability to fork, but I really can't stand the usability as it really gets to be a pain to use after a while.
I also like jsfiddle.net, but it too has some usability issues and the URL for your…
I am interested in developing a website that is similar to 'elance' but for a particular vertical.
Is there an 'off the shelf' platform you can recommend for getting started with this, or would I need to develop this web service from scratch?
When I write 'platform' I am referring to things such as 'shopify'…
There is a word which I can never remember... it expresses a design goal that API calls (or functions or methods or whatever) should be as similar as reasonably possible in their argument patterns. It may also extend to naming as well. In other words, all other things being equal, it is probably bad to have…
I've been spending the last week or so learning selenium and building a series of web tests for a website we're about to launch. it's been great to learn, and I've picked up some xpath and css location techniques.
the problem for me though, is seeing little changes break the tests - any change to a div, an…
I'm learning (relearning) how to use NSIS as I have not touched it in a bit. I also have recently become familiar with the Ruby language and find it very pleasing and actually a bit fun. And upon reading about the history of Rake I had a thought.
What are the pros/cons of someone making (or migrating, or…
It has been suggested to me that the use of a chroot might solve my problem of building an application that must run on an embedded device. I have inferred from this description that it is somehow similar to creating the embedded environment locally on my machine which I can then use to develop on from my…
I am aware of several tools/services that provide DVCS browsing and management such as Bitbucket, Github, Kiln, SCM-Manager and Rhodecode.
However, the use case I am considering is one such that:
Any source code must reside on an employers internal servers.
The solution must be open source.
It should…
I had a bug that was really difficult to track down, because all the unit tests were green, but the production application didn't work properly.
Here's what happened:
I had a filter class that set my application to ignore data that was not in some specified time windows.
The unit test, which seemed…
I was posed with the idea of creating an object that checks if a point will collide with a line:
public class PointAndLineSegmentCollisionDetector {
public void Collides(Point p, LineSegment s) {
// ...
}
}
This made me think that if I decided to create a Box object, then I would…
Are there any mobile-friendly Credit Card billing solutions for mobile sites similar to Bango?
The advantages of Bango I have seen compared to regular Credit Card solutions that make it considerably "mobile-friendly" are:
1) It does not require the user to enter their full name and billing…
I'm just starting out on the implementation of a large enterprise-wide system, which has complex requirements and many stakeholders.
The company has been through high-level evaluation and tender process and determined to purchase a highly configurable "off-the-shelf" product rather than…
I am looking for (or attempting to design) a technique for matching nodes from very similar graphs based on the structure of the graph*. In the examples below, the top graph has 5 nodes, and the bottom graph has 6 nodes. I would like to match the nodes from the top graph to the nodes in…