I am not quite clear as to why or when to use Interfaces. Can someone post a complete, simple and small example of an Interface using VB.NET in a Console Application. How is it extensible?
Hi,
I've implemented edit menu from my custom UITableViewCell class. I have a small problem of updating a table view from inside the custom table cell class. What is the best approach to do that?
TIA
I am trying to write some unit tests for a small web service written with Cherrypy and I am wondering what's the best way to figure out that the server has started, so i don't get connection refused if I try to connect too early to the service ?
Hey Everyone,
I'm an employee at a small company that is going to be launching a version control system soon and I'm trying to consider which software would best serve this company for version control. I wanted to get as many opinions as possible. Right now, I'm experimenting with Trac and Indefero running atop a SVN server.
So my question is, what is the most popular/favorite version control software and why?
??t??!
Goodevening Sir/Mam,
I am trying to make a small program that will be used for hotel room reservation, please tell me how to store the data of room's status on disk, as when we open the program next time we'll get the data.
Please help i am very new here.
Have a nice day!
I'm writing a small program with the OpenSSL library that is suppose to establish a connection with an SSLv3 server. This server dispenses a self-signed certificate, which causes the handshake to fail with this message: "sslv3 alert handshake failure, self signed certificate in certificate chain."
Is there a way I can force the connection to proceed? I've tried calling SSL_CTX_set_verify like so:
SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, NULL);
But it does not seem to change anything.
Any suggestions?
Hi
i have hosted a windows user control in IE.
Every thing is working fine, if i open the application in the same machine where the Web application is hoste.
if i access the same appication from a remote client IE,
A blank box is coming with a small image in the corner.
I have added the site as trusted site in the IE and made all the security settings needed.
let me know, what am i doing wrong.
Thanking you.
I have a small rails app that has default scaffold generated routes eg. /stadia/1.xml. However I have to support legacy client app that can't construct such URLs correctly. What I need to do is to map URL in the form:
/stadia?id=1?format=xml to /stadia/1.xml
Or even something like:
/myApp?model=<model_name>?id=<id>?format=xml to /<model_name/<id>.xml
Is it possible to craft appropriate route in Rails?
Hey All,
assuming I'm running a small shop (3 devs) and using a Windows 7 machine as a centralised Git and IIS server what is the easiest way to get CI up and running?
This must be locally hosted CI (no github, no remote servers).
I'm doing C# .Net development with Visual Studio 2008.
Any help on getting this running with the minimum of effort and the nicest possible UI would be extremely helpful.
Thanks!
I don't understand why Apple puts the new iPhone OSes under NDA. Is it just a ploy to get people to sign up for the developer program? It seems to only prevent small indie developers from getting information about it or discussing it. Am I missing something?
Full disclosure: I am a full-fledged paying member of the iPhone developer program.
We were using FFmpeg which is free. And when a bug occurred that broke the system, a previous developer installed PandaStream.
My question is, what do you recommend for quality video encoders?
Is it best to stick with ffmpeg and keep it free, or does a small website really need a heavy duty service like Panda?
Hi,
I want to display a small animated gif image in gridview image column. I tried it but my image is displayed without animation.
Can you have some solution for this??
Thanks.
Is there any free CMS to operate a small business website/blog with screen reader compatibility where a blind person can update the content and other things via CMS administration?
As above. Usually at work someone else does the database design, and when I do personal projects they're small enough to not really require more than five or six tables, but I'm about to start a personal project that I think will probably require around eleven or twelve tables and I'd like something to help me design it neatly and keep track of it.
I'm thinking that the answer is probably 'no' if the program is small and there are a lot of methods, but what about in a larger program? If I am going to be using one variable in multiple methods throughout the program, is it smarter to:
Come up with a different phrasing for each method (to eliminate naming conflicts).
Use the same name for each method (to eliminate confusion)
Just use a global variable (to eliminate both)
This is more of a stylistic question than anything else. What naming convention do YOU use when passing variables?
hi friends,
I have a small problem... i tried searching high and low but couldnt find a way i can activate and deactivate the vibration at the time of incoming calls...
The option in the menu -- Settings -- Sounds & Display mentions - PHONE VIBRATE - vibrate phone for incoming calls...
i want to activate and deactivate it through code(if possible)...
Thanx...
I'm looking for an animated Loading icon that is also transparent; however (I know I'm lazy) I dont want to make my own. Please forgive me if this is not the correct forum for this post, I've just had so much luck here in the past. does anyone know where I can find one of these....it needs to be very small (icon size).
I have a table with more than 300.000 records, that weights approximately 1.5 GB
In that table I have three varchar(5000) fields, the rest are small fields
I issue an update, setting those three fields to ''
An after a shrink (database and files) the database uses almost the same space as before...
DBCC SHRINKDATABASE(N'DataBase' )
DBCC SHRINKFILE (N'DataBase' , 1757)
DBCC SHRINKFILE (N'DataBase_log' , 344)
any idea?
Hello -
I am utilizing a version of the "Grid View" example from the Android Developers site:
http://developer.android.com/resources/tutorials/views/hello-gridview.html
And I would like to display a small text caption below each of the images.
Can someone please give an example of how this might be accomplished (i.e. what needs to be edited)?
Thanks!
Hey guys,
I'm going to be developing a small dedicated server in C/C++ that will require uptime of forever. I've been looking into some time functions as millisecond timing is required for calculations. I have 2 problems that I'm facing:
Using a 32bit integer to store the number of milliseconds since the operation began will wrap around at about the 49 days mark resetting to zero.
There doesn't seem to be any standard system calls for getting elapsed milliseconds that are platform independant
What should I do to resolve both these issues?
Which files are the actual files holding the data in the tables in a mysql db?
I went to /var/lib/mysql/ and I can see there a bunch of relatively small directories corresponding to my tables, and a lot of files named servername-bin.0000001 etc.
Is the data stored in those files?
I'm trying to translate a small block of text using Django's build in i18n. I don't know why but the following won't show up in different language:
{% if store.rating_count %}
{% blocktrans with store.rating_count as count %}
{{ count }} review
{% plural %}
{{ count }} reviews
{% endblocktrans %}
{% else %}
{% trans "No reviews" %}
{% endif %}
And a snipplet from my django.po (created with makemessages):
#: templates/reviews/category.html:65
#, python-format
msgid "%(count)s review"
msgid_plural "%(count)s reviews"
msgstr[0] "%(count)s arvostelu"
msgstr[1] "%(count)s arvostelua"
Other strings translate fine from the same template. I have rerun compilemessages few times.
For small-to-large teams developing software together, what tools are used to form a comprehensive team development framework?
Specifically, I'm looking for a comprehensive list of all the individual functions involved (e.g. source control, bug management, testing tools, project management), not specific product recommendations. I'm also not restricting the list to a particular methodology (e.g. Scrum).
I've noticed a small alignment issue in the three major browsers when rendering my web site. As such how can I perform the following pseudo-code with pure CSS?
if Webkit (Safari/Chrome) {
#myDIV {margin-top:-3px}
} else if (Firefox) {
#myDIV {margin-top:0px}
} else { // IE and other browsers
#myDIV {margin-top:1px}
}
hi,
I have a gallery of images and I use the lightbox to display them in a modal window.
I would like to also show them in Fullscreen (or at least full window).
I saw that when the image is too big Lightbox2 shows a small "Enlarge" icon on the bottom right and it display the image full dimensions.
Can I have that icon always, and always resize the images in the lightbox ?