Sometimes someone on our team does a git push and breaks the build because his local build works but he has forgotten to commit all his local modifications and untracked files to git before he pushes.
I'd like to prevent this... I poured over the docs for an hour or so today and couldn't find anything built in.
Does anyone have any solutions?
For example, in the docs a KVC-style validation method is implemented like this:
-(BOOL)validateAge:(id *)ioValue error:(NSError **)outError
They used id* as the type for ioValue. Since that's not part of the method signature, I wonder if it would hurt to do something like:
-(BOOL)validateAge:(NSNumber *)ioValue error:(NSError **)outError
Is this still fine with KVC?
I have all my splash screens for iPad and the old iPhone, but the new iPhone will run at 960 x 640 resolution.
I can't seem to find the docs on how a launch image should be sized for this. Does anyone know where Apple documents this, what size the splash screen should be, and what it should be named in the bundle?
I got this error: ERROR: could not serialize access due to concurrent update
But I'm not using serializable transaction isolation. Is that possible without setting the default isolation level to serializable? The postgres docs only mention it for serializable transactions.
Hi,
Was just wondering how do these sites (and many other softwares that generate flash movies from audio clips,images , docs) work ? how do they compile the media files(audio/image/vid) into a flv movie on the server ? Can the same be done using some open source tech.
Any info or hint or some direction where i'd get more info regarding this would be very helpful.
Thanks
Hi there. I am looking to create a means of building a DataSource object (and hence a Processor) that gets data from a stream instead of a file, RTP, and so on. I am writing a module for a much larger application that is meant to transparently transcode audio data. Going through the JMF docs only specify how to create a source from file however I need to be able to create a source from a stream within my application.
Any idea where I can start looking?
Is there an equivalent to IndexIgnore in .htaccess configuration for hiding specific directories (instead of just files)?
http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#indexignore
Hello everyone I was just going trough http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html spring tutorial, and I thought its old I'll think something better on my own. For starters how do I start spring project with maven, which archtype should I choose? I wanna create simple spring app, write class which I will deploy to jboss, spring will instansiate it at startup .. that is what have in mind for now .. for now I need to start it first
Hello Experts,
could someone please explain to me, how in netty "Downstream Exceptions" are handeled? According to the javadoc there are no Downstream exceptions:
http://docs.jboss.org/netty/3.1/api/org/jboss/netty/channel/ExceptionEvent.html
Given the case that in one of my downstream handlers an exception occures OR in the I/0 Thread itself, where can these errors be catched and handeled?
thank you very much
tom
hello, I create an Slider object:
val slider = new Slider{
min = 0
max = 30
labels = Map(0 -> new Label("Nula"),15-> new Label("Pul"),30-> new Label("Max"))
paintLabels = true
}
when I run this, an exception is thrown:
scala.swing.Label cannot be cast to java.awt.Component
but why?
When i browse the docs, the excpected type for labels is a Map[Int,Label].
I have been following the Android getting started docs and when I try to run the project I get:
!MESSAGE An internal error occurred during: "Launching HelloAndroid".
!STACK 0
java.lang.NullPointerException
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch(Unknown Source)
The application doesn't launch.
Reading about Django, I saw this: http://docs.djangoproject.com/en/1.1/ref/contrib/admin/#ref-contrib-admin - the fancy simple to use admin page that django can magically create for you.
Is there a plugin or gem offering similar functionality in Rails.
Are there any plans to make Rails do this for you in the future?
What is "Commodity Software"? (Part of the title in the article at http://valgrind.org/docs/newsome2005.pdf)
(I'm not an english speaker, and the direct translation of "commodity" to my language does not make much sense to me in a software-context.)
An example would be appreciated!
I want to gather some more information when the user signs up and also display this as part of the profile information - so that the user can edit it once he creates a login. How do i do this? I did search a lot the docs, but i did not find anything and i did not want to mess up the base code when i change the underlying models/forms.
it needs facebook facepile plugin(http://developers.facebook.com/docs/reference/plugins/facepile).
i tried but i am getting this error
(The Facebook Connect cross-domain receiver URL (http://static.ak.fbcdn.net/connect/xd_proxy.php#?=&cb=f223d517566e616&origin=http%3A%2F%2Fpromolife.com.au%2Ff3e13728ba8ec8&relation=parent.parent&transport=postmessage) must have the application's Connect URL (http://www.testsite.com.au/) as a prefix. You can configure the Connect URL in the Application Settings Editor.)
why do i getting this error please help me.
Why do I get these .MKELEM files? How do I get rid of them?
I found some docs that said they are temp files created by ClearCase GUI when adding files to source control. But sometimes, they don't go away.
I'm MySQL, I have a table full of docs. Each row represents a doc. I'd like to have a data column for "VIEWS" that automatically adds +1 every time the row is accessed and avoid needing to write a SQL UPDATE that hits the DB after the SELECT to get the doc in the web app.
Any smart clever ways to solve for this?
Thanks
I have read the explanation about "describe_cluster_snapshots" from ...
http://docs.pythonboto.org/en/latest/ref/redshift.html#boto.redshift.layer1.RedshiftConnection.create_cluster
It has an option start_time and end_time but there is no way to sort it. How do I get the id of the latest snapshot using boto?
Here is what I have tried but it does not seem to return the last snapshot.
mysnap=conn.describe_cluster_snapshots()
mysnapidentifier=mysnap['DescribeClusterSnapshotsResponse']['DescribeClusterSnapshotsResult']['Snapshots'][-1]['SnapshotIdentifier']
I read the Postgres docs for Flask
and they said that to run Postgres you should have the following code
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = postgresql://localhost/[YOUR_DB_NAME]'
db = SQLAlchemy(app)
How do I know my database name?
I wrote db as the name - but I got an error
sqlalchemy.exc.OperationalError: (OperationalError) FATAL: database "[db]"
does not exist
Running Heroku with Flask if that helps
Having had a quick look at the Flex docs I can't seem to find any reference to providing audio content to be played from a custom (possibly encrypted - don't worry, it's not that evil) container format. Is this possible and if so, could someone point me in the right direction.
Or if that's not possible, some way to hook into the disk/network (disk is much more important in this case) I/O of the sound playing mechanism to provide a supported container in memory from a custom wrapper.
I've downloaded the IBM DBI package, including all the packages in my program as specified in the docs. I've cataloged the DB and can connect to it from the command line, but my DBI connect fails:
$dbh = DBI->connect ("dbi:DB2:warehou1", user, pass) or die "Can't connect to sample database: $DBI::errstr";
Can't connect to sample database: [IBM][CLI Driver] SQL1031N The database directory cannot be found on the indicated file system. SQLSTATE=58031
"execvp()" replaces the current program with the to-be-execed program (of course in the same process context). So, putting, say, any printf() calls after execvp() won't work. That is what the docs say, and I have verified it as well.
But then, why is _exit() needed..? Does it so happen that the control DOES return to statements post execvp() ?
I will be grateful for any pointers.
Thanks
We have a liferay portal running on a hosting company, and We want to bring it to our own structure. So, I've downloaded the excellent bitnami stack and loaded it in our vmware server.
I've no experience on liferay whatsoever, all I know its that it uses mysql as database. Is there any docs on how to do it?
Tks!