Is there a procedure by which you can optimize/shrink/select/obfuscate only 'used by your app' classes/methods/fields from rt.jar provided by Sun by using some optimization software like ProGuard (or maybe other?). Then you would actually be able to minimize the download size of your application considerably and make it much more secure ...
I am looking for a free alternative to TS. What would be the best alternative stack(source control, bug tracking, project management/planning, wiki, automated builds (ci))? Keeping in mind that it would be nice if they all integrated well.
For example, it would be nice to be able to link bugs to source control, and then be able to li...
are there any alternatives to Xpath ? need to locate and extract specific element's texts for web scraping project.
xpath seem pretty limited against layout changes on web pages. slight shuffle, and xpath no longer works. also different browsers have different Xpaths as i discovered. Firefox automatically adds tbody after table, while I...
Hello everybody.
I want to call a specific function on my C# application at a specific time. At first i thought about using a Timer (System.Time.Timer), but that soon became impossible to use. Why?
Simple. The Timer Class requires a Interval in milliseconds, but considering that i might want the function to be executed, lets says in a ...
Hello
It seems the most common aproach to web design is to use HTML/XHTML & CSS in conjunction with other technologies or languages like Javascript or PHP.
On a theoretical level, I'm interested to know what other languages or technologies could be used to build an entire site without using a single HTML tag or CSS style for styling/p...
Sharepoint's lists functionality is powerful. Because I don't want all the other functionality of Sharepoint, I have been looking for an alternative (preferrable open source) without much success.
Basically I want to have a platform or web application that:
allows us to define custom datatypes (for different kinds of customer product...
I usually use a classes destructor method __destruct() to persist objects to session or what have you. It is just very convinient, but I'm curious to if there are any other methods that are equally appealing. Do you know of such?
The curiousity arose as I was to merge/utilize two frameworks that both made use of __destruct() for persist...
The title says it all. Imagine I have two (three, four, whatever) tasks that have to run in parallel. Now, the easy way to do this would be to create separate threads and forget about it. But on a plain old single-core CPU that would mean a lot of context switching - and we all know that context switching is big, bad, slow, and generally...
Hey Guys,
analogue to this one (http://stackoverflow.com/questions/2788345/replacing-xml-in-file-from-document-in-java or
http://www.exampledepot.com/egs/javax.xml.transform/WriteDom.html) I try to use it under Android...
The problem is, that I can't use the suggested solution under android, because it throws java.lang.verifyError...
...
Im working on an image sharing site and want to implement tagging for the images.
I've read Questions #20856 and #2504150
I have few concerns with the approach on the questions above. First of all it looks easy to link an image to a tag. However getting images by tag relation is not as easy. Not easy because you will have to get the im...
Toying with an idea for a F2F networked application I've just been reading up on secure communication.
I quickly settled with the idea of using TLS / SSL as the basis for any communication since it employs Public Key encryption at the protocol level and thus is perfect for my needs.
However I was surprised to read (on wikipedia) that the...
HI,
During the development of my app, I was using Thread.Sleep to give our external devices some time to adjust to settings before making queries, as they are quite old and slow.
I now want to replace these with something a bit more stylish and correct.
Does anyone have a simple way to "wait" for a device rather than sleep, bearing in...
Hi,
i just want to know if there are any alternatives to simpleXML for parsing XML Data with PHP.
For example if simpleXML module is not loaded or even if there is a lib/class out there that has a better performance then SimpleXML.
...
Hello all
after much searching of a way to create a hook into an external application in C#, I stumbled upon EasyHook, which would be ideal. Unfortunately there is zero community around, the software is not maintained since 2008, does not seem to work under Visual Studio 10, and gives problems under Visual Studio 2008.
I understand tha...
Hi guys,
it may be a nooby question, but I've never needed it before:
I have several strings and I want to compare them to given ones...
At first glance it would lead to a switch/case construction in what every available entry is checked.
Is there a more elegant way to swap those strings as key/value datas?
greets,
poeschlorn
...
I have a function that is doing memcpy, but it's taking up an enormous amount of cycles. Is there a faster alternative/approach than using memcpy to move a piece of memory?
...
Hi All,
I have the following code. It looks ugly, if the value equals to one of the following value then do something.
var
Value: Word;
begin
Value := 30000;
if (Value = 30000) or (Value = 40000) or (Value = 1) then
do_something;
end;
I want to refactor the code as follows:
var
Value: Word;
begin
Value := 30000;
if (...
I'm using Google AppEngine with build-in datastore. But, I want move all datastore to my new VPS.
I'll use Apache Cassandra. How to move from GAE Datastore to Apache Cassandra?
...
Hi All,
How I can assign a sequence value to a field "UID" which is NUll in existing sqlite table, for example
table: FOO
name UID
A 1
B 2
C 100
D NULL
E NULL
F NULL
what I want is
table: FOO
name UID
A 1
B 2
C 100
D 101
E 102
F 103
Can some body help?
I want to seek an alternative for using autoi...
What logging libraries do you recommend as alternatives to Log4j? Do these libraries work with Spring and Hibernate? Are they compatible with Slf4j or Jakarta Commons Logging?
...