I've decided to do it this way
flip numbers 0=1, 1=0
add 1 to LSB
if carry, loop until array[i]==0
But i'm stuck on the last point, how can I say that in a conditional loop?
I have a flex line chart. Instead of the default behavior of having to hover over parts of the line to see the data points, is there a way to change the rendering of each point and have them always displayed? (almost like a connect the dots type view).
I currently have a UITableView with each cell containing four UIButtons. I am placing an image for each button with a downloaded picture from online. I'd like to have the button fade in when the image is finished downloading. I know I can animate in the viewDidLoad, but I assign the image in the cellForRowAtIndex function. How do I go about animating just the UIButton at a later point in time when I update the UIButton with the image?
i have developed a mobile version of a page and it uses some mobile specific java and css
i have come across many solutions to point mobile/iphone users to that specific page and desktop users to original webpage.
but what i want is that i get both things in one page and when user is on mobile that certain part of javascript and css run while on same page
without user being redirected to other pages.
is this possible
Let's say I have a list of tress, how to find a list of tree list that are singly connected together? The below diagram should illustrate my point. The input is a list of trees, as labeled.
I'm looking to create a simple form with some textfields and a button using the Android SDK. Could someone point out a good example or tutorial for getting started?
Well, I'm planning on releasing a Jar into the world but would prefer if the code was not readably available to anyone with a Java Decompiler as I want to control access to the program with usernames / auth codes etc.
After some Googling I haven't found any software to do this for me, so I was wondering what steps to take from here; if anyone can point me at any software or information on methodologies of obscurification I would be grateful.
Cheers again Stack Overflow.
I'm interested in learning about the alternative patterns to Model-View-Controller, specifically the Model-View-Adapter and Application-View-Controller patterns.
Google results tend to be either a high-level overview or Java-based.
Can anyone either provide, or point me to, an example of these patterns in either PHP, Python or JavaScript?
Hello,
I would like to generate a random filename in unix shell (say tcshell). The filename should consist of random 32 hex letters, e.g.:
c7fdfc8f409c548a10a0a89a791417c5
(to which I will add whatever is neccesary). The point is being able to do it only in shell without resorting to a program.
What are the limits of writing a C# app when you want a truly impressive GUI? At what point does one have to leave Visual C# behind and go into WPF?
Also, if I choose to go with WPF, do I have to ditch the Visual Studio IDE and go with Expression Studio?
I'd like to embed code from my SVN repository into my website, using PHP. The SVN has public anonymous access, so the PHP code should be fine reading it.
The code on said SVN is java, and so far I've had no luck finding a syntax-highlighter to make the code more readable. Ideally I'd like one that uses CSS classes so that I can change the colors to match the look of the website.
Could someone point me to a PHP library that highlights Java code?
Trying to learn about how to effectively use print.css, so that graphical and navigational elements are not shown in print preview/print. Read some articles, and part of print css of html5 boilerplate. Two sites, which was quite impressive the way they change the look during print are
http://css-tricks.com/
http://bottlerocketcreative.com/
But I cannot see the css related to print. Can you please point to the css they use to learn how to do similar transformation.
thanks.
Are there any tools available that can scan multiple .php files and report back duplicated lines/chunks of code?
It doesn't have to be really smart but basically give me a starting point for manual scans to improve the codebase of some of my apps.
I am using Htmlunit (browser automation/testing tool) to go through a series of links or perform a set of actions on a page.
At some point after this I want to see the resulting page in a browser (internet explorer or firefox etc.)
How can I do this. ? Thank you Friends...
both of them hold 8 bytes, but how come the max value for double is much greater than the max value of long? there is a finite number of bits available, so how could you reach greater numbers with floating point variables?
Hi, I am wondering if anyone has used or read about PHP scripts compiled as a .so extension for Apache... Thing is I think I remember reading about it somewhere but dont know if such a thing exists.
This looks promising, but incomplete and abandoned: http://phpcompiler.org/
Im interested because i think it could improve performance... Perhaps someone could point out a framework or apache extension that does this.
Thanks!!
Hey All,
I recently designed a site in Drupal and it is perfect in FireFox and Safari, but wont' display correctly in IE6 or IE7.
The site might be NSFW, but it's just a Pickup Artist Website:
http://bradp.com.
Could someone point me in the right direction of what to fix? I'd be very grateful.
Thanks,
Nick
The compiler complains about this code:
HashMap<String,int> userName2ind = new HashMap<String,int>();
for (int i=0; i<=players.length; i++) {
userName2ind.put(orderedUserNames[i],i+1);
}
It writes "unexpected type" and point on int. If I replace int by String and i+1 by i+"1", the compilation goes OK. What is wrong with in here?
When i complete gzip with IIS, and i restart the server the problem came: that the "web
service extension" the point to "c:\windows\system32\inetsrv\gzip.dll" has been auto deleted!
so awesome, but why? And i google it, but find nothing about it, have anyone even meet this
questiong?
Please help me, thanks a lot!
Hi.
Can somebody point me to good intruductions into OOP main paradigms, like inheritance, polymorphism, incapsulation? I am looking for short article, about 2-3 pages, for very quick reading.
Thank you very much.
I want to use use share point to access the OCR engine? I downloaded the tessnet2 .dll and Demo application with database but this app. not working properly and cant generate the text which I want please help me any who finding errors in me and say show effert. friends I am just stating with .net.
I have this code below and as a test i have that alert below.
When i open firebug and i put a break point on the "debugger" and it doesn't fire but the alert does get called as a i get a alert popup.
Any idea why i can't capture this breakpoint ?
<script type="text/javascript">
$(function() {
$("#tabs").tabs({
selected: 0,
load: function(event, ui) {
debugger;
alert(ui.panel.id);
}
});
I'm just getting into kindle development, and I want to know if it is possible to turn off kindle's sleep mode? Or is there a way to wake it up (or a way to program it to wake up) by pushing the buttons on the front, rather than using the power button?
Not looking for anything to in-depth here, just point me in the right direction or let me know if it is possible.