I m curious why would i use string formatting while i can use concatenation such as
Console.WriteLine("Hello {0} !", name);
Console.WriteLine("Hello "+ name + " !");
Why to prefer the first one over second?
WiX is great in that there is no GUI, you just write the installer you want it to be. No fiddling with GUI-wizards!
However, drawing GUI is actually one thing I prefer to use a GUI for.
So, is there any Dialog-drawing program which exports WiX-data?
(I suppose else-wise perhaps I could transform what Visual Studio's forms editor does to WiX-XML.)
/L
Looking around, there are plenty of options available for form management in PHP from several frameworks: Zend, CakePHP, CodeIgniter, Symphony, and probably several others offer solutions. All else being equal, which set of form classes do you prefer? What makes any of these better than the others?
I'm looking for a reliable mechanism to generate a server side postback handler for an HTMLGenericControl such as an .
I have some markup that I do not wish to change and would prefer to treat this in the same fashion as a standard .Net server control.
Also, I know I can use a template based control to place some .Net controls within the markup as hidden and then trigger their click events from a client side click proxy. However, I'm really enquiring as to whether this can be done better.
I'm looking for opinions or if there is an agreed way of doing this, regarding to naming namespaced classes.
E.g.:
com.facebook.FacebookClient
vs
com.facebook.Client
Or
javax.script.ScriptEngine;
vs
javax.script.Engine;
I'm currently prefer the first name in each example but the extra word seems a bit wasteful.
I'm looking for something similar to facebook suggestion list with
cities and countries.
You can see what I'm exactly talking about when you try to create new
event in facebook, click to add address, and then start typing in the
City field.
I prefer finding working suggestion tool in jQuery(with the date),
but database with city/country will do the trick too.
Thanks in advance,
Ilian Iliew
We happily use SVN for SCM at work. Currently I've got our binary assets in the same SVN repository as our code. SVN supports very large files (it transmits them 'streamily' to keep memory usage sane), but it is SLOOWWWWW.
What asset management software do you recommend, for about a GB (and growing) worth of assets? We would prefer branching and merging (different assets & config files go to different customers).
Looking to put together a 3D side-scrolling action platformer. Since this is my first time trying to put together a non-simple adventure game, I'm at a loss for which engine to consider.
I would prefer one that supports scripting in python, since that's my primary language. Without tight controls, the game will suck... so speed is a priority. Cross-platform is also important to me.
Any suggestions?
Is there a way to highlight and color gdb output during interactive debugging?
Please don't reply I should use ddd, nemiver, emacs, vim, or any other front-end, I just prefer gdb as it is, but would like to see its output with some terminal colors.
Thank you
I know that NoSQL databases are very new. I am also new in this point. But exist already tools/libraries to make the life easer like for SQL databases?
I think on tools for managing, maintaining, viewing or reporting of the data. There can also be libraries for easer working with the database or an abstract database layer to change the database later.
I would prefer Java libraries but also other are interesting.
I have read this: http://martinfowler.com/articles/mocksArentStubs.html
My concepts about a stub and a mock are clear. I understand the need of isolation frameworks like moq, rhinomocks and like to create a mock object. As mocks, participate in actual verfication of expectations. But why do we need these frameworks to create stubs. I would rather prefer rolling out a hand created stub and use it in various fixtures.
I know this is a strange question but the idea is simple: I prefer C# syntax rather than C++:
-Setters and getters directly inside a property
-interfaces
-foreach statement
-possibility to declare an implicit cast operator
other small things...
What I really don't know is if is possible to import a c++ dll (expecially std libraries) in C# if I don't use any namespace (even System)
The idea is just to write a program using everything that you will normally use in C++ (nothing from CLR so), even printf for example
Thanks for any answer
I have a domain "test.com" and I want this domain to redirect to "mydomain.com/test". I'm with 1and1 for my domain test.com and with discountAsp for mydomain.com.
In the control panel of 1and1 you can set a redirection from a domain to another domain, so everything is fine.
But when i'm on the page mydomain.com/test I want my url to be rewritten as test.com
Is this possible to do that with IIS or in my asp.page (would prefer in my page)
I'm using iis7
Thanks
Hi all,
I'm hoping to pick one of the many assisted theorem provers (rather than automatic ones) but there are rather a lot to choose from!
Does anyone have any you prefer and may I ask why?
Thanks!
With browser support / licensing issues of @font-face (a feature of CSS3), which intermediate option do you prefer?
Cufon,Typeface.js, or SIFR?
Cufon is new but has been getting a lot of praise from the web design community, how does it differ from Typeface.js ?
I use java.util.StringTokenizer for simple parsing of delimited strings in java. I have a need for the same type of mechanism in pl/sql. I could write it, but if it already exists, I would prefer to use that. Anyone know of a pl/sql implementation? Some useful alternative?
Is there a message queue implementation that allows breaking up work into 'batches' by inserting 'message barriers' into the message stream? Let me clarify. No messages after a message barrier should be delivered to any consumers of the queue, until all messages before the barrier are consumed. Sort of like a synchronization point. I'd also prefer if all consumers received notification when they reached a barrier.
Anything like this out there?
Preferred Languages : C/C++, Java, and Ruby
I am looking for some helpful books/tutorials on how to write your own compiler simply for educational purposes. I am most familiar with C/C++, Java, and Ruby so I prefer resources that involve one of those three, but any good resource is acceptable.
I want to use XCode's editor to maintain some existing JSP, HTML, XML and CSS. Not heavy duty, but I prefer to stay with a familiar editor, keyboard, etc. Is this the right project to start with? If not, which one is better and what type of development is "web start" appropriate for?
I need a software that simulates a network adapter.
I need the virtual adapters will be able to communicate with each other. For example, if I i have 2 virtual adapter (on the same computer): interface1-1.1.1.1 and interface2-1.1.1.2. I want the packets that will be send through interface1 will be received in interface2.
I have as an option to install VMWare server, but i prefer something more specific. anyone have ideas?
Hi
I want to create Restful service which can accept binary data.
I've implemented javax.xml.ws.Provider interface, but i can't get content of request. If I use javax.xml.ws.Dispatch then its send only XML data, but I need transfer binary data.
Please give some solution, but I don't prefer to use JAX-RS or Restlets.
Thanks.
Given: An application that accesses a directory of files: some plain text, some binary files that adhere to a particular NSCoding implementation, and perhaps other binary files it simply doesn't understand how to process.
I want to be able to figure out which of the files in that directory adhere to my NSCoding class, and I'd prefer not to have to fall back on the naïve approach of loading the entirety of each file into memory, attempting to unarchive each.
Anyone have an elegant approach or pattern to this problem?
I'm generating a PNG file in Flex from graphics drawn by user. I would like to send the file to Ruby on Rails backend and I'm using RubyAMF in other parts of the application.
I found ways to upload the file using FileReference which uses HTTP but I prefer to send using RubyAMF ,if possible, as it's more efficient.
If this is possible what is your suggested method?
I'm using the MERGE statement to upsert rows in an sql server 2008 database. However, my sproc is a single-row operation, whereas in fact I'd prefer to batch these. Is this even possible and, if so, how do I do it?