In silverlight 3 I had an object that had a property that was an observable collection. I returned this via a web service then databinded to it.
Upgrade to silveright 4.....
Now my program crashes because the Observable Collection is converted to an array.
What is the best way to do this? Observable collection is not even an option any longer.
I need to add two lines of html to every page on a large website. I will be using a regex to do it.
I would like to know the best tools to download all the html files from a website, then ftp upload them back up on Windows.
in .NET (and WPF), I need to monitor changes on a Timespan object which doesn't include any change event like PropertyChanged. What would be the best way to add this functionnality?
Hi Guys,
I'm using the module "simplenews" and during the registration process it reads "Select the newsletter(s) to which you wish to subscribe.".
I'd like to change this line and wanted to ask what the best way is to do so without hard coding it?
Thanks in advance!
Hi All
I like to coding few wordpress templates, and did search around that found there are few naked templates available, which i can start with.
As i am pretty new for wordpress, can you recommend the best naked template as foundation I can use?
Cheers
A user will provide a function with three unknown values: a, b and c. For example: sin(a+b)+ln(5)*(log(ab)-32/sqrt(abc)) How should I store the function so as to best be able to work with it?
I have a routine that parses text via a loop. At the end of each record I need to clear my string variables but I read that someString = @"" actually just points to a new string & causes a memory leak.
What is the best way to handle this? Should I rather use mutable string vars and use setString:@"" between iterations?
Would it be best to read from gmail via pop3/smtp? Or should/must I use an http script that actually logins in via web interface and gets all the emails that way?
A combo box is an auto-complete text box that is also a dropdown (i.e., you can choose from a list if you prefer).
"Best" means combination of: stable, look/feel, API / customizability, maturity.
Hi,
Which book is best to learn SSIS. Actually in my project we need to take onput from CVS file and after processing the data in SQL server 2008 we have export it back to excel file. ASP.NET is used as UI for this.
Thanks,
Nabin
What are the best practices for reading and writing binary data in Ruby?
In the code sample below I needed to send a binary file using over HTTP (as POST data):
f = File.new("resp.der", "r") # binary file
begin
while true
out.syswrite(f.sysread(1)) # out is an output stream (type IO)
end
rescue EOFError => err
puts "Sent response."
end
While this code seems to do a good job, it probably isn't very idiomatic. How can I improve it?
I currently have a script that scrapes proxies off websites, but I'm just wondering what the best way to test them would be, I want to test and sort into different categories like
All
ALL HTTP
ALL SOCKS
Socks 4
Socks 5
HTTPS
HTTP Connect
I created/edited a .htaccess file and I got my site password protected fine. Question though: Is there such thing as a URL key? Maybe I'm wording that incorrectly, but I would like to keep my site hidden, but be able to send out a specific URL that can view the site. What's the best way to accomplish this?
Thanks in advance.
I need to build a custom designed bar chart that displays some simple data. Below are my requirements. Can anyone suggest the best web technology for my requirements.
high browser compatibility
ability to draw shapes
ability to fill shapes with gradients
ability to have onclick and onmouseover events for the different shapes (bars in the chart).
Thanks guys. I was thinking of using svg but looking for suggestions.
I am starting a project with Grails since I already use Eclipse, it was my first choice. But I don´t think its good enough, had some problems and the plugging is poor in functionalities.
Anyone uses/tested others IDEs(NetBeans, InteliJ(not free)...)?
Which one is the best?
thanks.
The user will have a static list of items to choose from. Using a Picker View they will choose one of the items and then select how many of them they want.
Whats the best way to save this in core data? A Struct?
struct order {
NSInteger item;
NSInteger numberOf;
};
Or some sort of relationship?
Many Thanks
I'm writing a .NET application that will make an RPC call to a Java application (via a message queue). The data sent in both directions will be large arrays of floating-point numbers. What is the best way to serialize them to send them across the wire? I'd like something more compact than text, but architecture-independent as the server may not be an x86 machine. The Java application can be changed as needed.
I am looking into internationalizing a Flex application I am working on and I am curious if there are any best practices or recommendations for doing so.
Googling for such information results in a handful of small articles and blog posts, each about doing it differently, and the advantages and disadvantages are not exactly clear.
Edited to narrow scope:
Need to support only two languages (en_CA and fr_CA)
Need to be able to switch at runtime
I have a table which has a bunch of columns but the two relevant ones are:
Due_Amount MONEY
Bounced_Due_Amount MONEY
I have a SQL query like the following
SELECT * FROM table WHERE (Due_Amount 0 OR Bounced_Due_Amount 0)
Would the best index to put on this table for SQL Server 2008 be an index which includes both columns in the index, or should I put an separate index on each column?
What is the best database for small applications and tools?
I used paradox, moved to SQL Server, now I use Blackfish.
But are there other small and free databases for small applications and tools.
Thanks
What is the best way of inserting a datetime value using a dynamic sql string, whilst at the same time being able to handle the possibility of the value being null?
The current statement inserts into a table from a select statement built using a string. The datetime value is stored in a parameter and the parameter is used in the select.
Like so:
set @execsql = 'Insert into ( start_date )
SELECT ( ''' + CAST(start_date as VARCHAR) + ''' + ')'