I'd like to know more about the pros and cons of using interface builder when developing iPhone/iPad apps.
I've written a fairly complex and customized app that's on the app store right now, but all of the interfaces are hand coded as they are fairly complex. I've customised the navigation and tab bars with backgrounds, table view cells are…
Hi,
I am trying to install libsoup for my ubuntu environment:
checking for LIBSOUP... configure: error: Package requirements (libsoup-2.4 >= 2.28.2) were not met:
No package 'libsoup-2.4' found
I tried
$ sudo apt-get install libsoup2.4-dev
and now it said:
checking for LIBSOUP... configure: error: Package requirements…
I need to access this from my setInterval handler
prefs: null,
startup : function()
{
// init prefs
...
this.retrieve_rate();
this.intervalID = setInterval(this.retrieve_rate, this.INTERVAL);
},
retrieve_rate : function()
{
var ajax = null;
ajax = new XMLHttpRequest();
…
Hello all, complete newbie here,
I need to find a way to store 250 KB of plain text numbers inside my program's executable file.
Usually, I would put the data in a separate file and let the program read it while it is running, but that's not an option here. Instead, the program and the data need to be in one executable file.
I…
Hello,
I have a UINavigationController with two UITableViewControllers pushed onto its stack. Is there any way to reference a property on the first TableViewController that is under the second? I would like to do this in the second controller's viewWillAppear method.
Thank you for any help you can give....
I've recently learned to write my own WebControls, but I'm still hazy on the difference between Render and RenderControl. I started out using Render, but at some point I started using RenderControl, which I now use exclusively. If I'm forming a bad habit I'd like to nip it in the bud now before I get set in my ways.
As demonstrated in this answer I recently posted, I seem to be confused about the utility (or lack thereof) of volatile in multi-threaded programming contexts.
My understanding is this: any time a variable may be changed outside the flow of control of a piece of code accessing it, that variable should be declared to be volatile.…
Consider the following data structure:
List<Person> People;
class Person {
List<Car> Cars;
List<Hobby> Hobbies;
}
I want to bind a TreeView to this structure. And it should look like this:
People
> Frank
> Cars
> BMW
> Ford
> Hobbies
> Tennis
> Golf
> Jane
…
There is a well-known debate in Java (and other communities, I'm sure) whether or not trivial getter/setter methods should be tested. Usually, this is with respect to code coverage. Let's agree that this is an open debate, and not try to answer it here.
There have been several blog posts on using Java reflection to auto-test…
I have a table of draggable rows. I'm subclassing NSImageCell to render an image, mapped via bindings.
How do I get a double-click event from this cell?
This question will probably end in a facepalm, but I've tried for a while and am still stuck despite reading through the hyperspec.
Basically what I want to do is something like
(format t "~{|~{ ~5d~}|~%~}" '((1 23 2 312) (23 456 1 7890)))
but instead of hard-coding the 5 it should be calculated from the list (length of…
Hello i need some help i work for a small non profit teaching program and i would like to change the logo of Subsonic. The logo where you connect to and login is this possible.
Any help please Thanks...
I have been tasked with solving a problem that is outside of my domain of knowledge and I was hoping I could get some troubleshooting advice from someone more experienced with openGL (I have very little experience with openGL). We are working on a cross platform application that is implemented in a common lisp…
I would like to have my GWT application use different constants when debugging or developing vs when deployed. What is the right way to do this? My web searches turn up a lot of pages about debugging GWT applications, which isn't what I'm looking for.
Hi,
In Gtk application, there is 1 main loop which listens for events (e.g. mouse click, keyboard, etc). And when a modal dialog popup, the main loop is blocked until user clicks 'OK' in the dialog, right? (i.e. nothing will happen when user clicks on the main window). Is that correct?
My question is how…
Hi,
I have a git repository in 1 hard drive. And I would like to relocate that to a different hard drive. What is the safest way to do that?
1. cp -r?
2. tar ball??
3. git clone (but what is the URI for that)?
Thank you.
Hi,
I have a TextView which has a drawable changes depends on state:
<TextView android:background="@drawable/textbackground"...>
And my textbackground.xml is
<selector>
<item android:state_focused="true" android:drawable="@drawable/highlightborder" />
</selector>
And…
I'm looking for something similar in form to weighted.mean(). Sorry for posting such a banal question... new to R. I've found some solutions via search that write out the entire function but would appreciate something a bit more user friendly.
Let's say my Firefox extension has multiple preferences, but some of them are grouped, like check interval, fail retry interval, destination url. Those are used in just single function.
When I subscribe to preference service and add observer, the observe callback will be called for each changed…
I've inherited a rather large and somewhat messy codebase, and have been tasked with making it faster, less noodly and generally better.
Currently we use one big database to hold all data for all aspects of the site. As we need to plan for significant growth in the future, I'm considering…
It seems that once you have a manifest entry, a la:
<html manifest="cache.manifest">
Then that page (the master entry in the cache) will always be cached (at least by Safari) until the user does something to remove the cache, even if you later remove the manifest attribute from…
This is basically a tic tac toe game, and I have another form called Winner.cs when a player wins I want it to call the form (this part works) and then I want it to say xWinner.label =b1.text"" + has won the game!. the part I cant get to work is displaying the text in the winners form…
I need to find the path of the database (MDF) or at least the database logs loaded but for some reasons I cannot login through the SQL Server so I need to know if you know any file/config file that keeps the path of the databases or log file .