What is the preferred method of altering a layer's symbology dynamically? My web app consumes a map service via the REST API, but I don't mind using the SOAP API or ArcObjects (.NET).
I would like to get some opinion on production SQL environement enabling CLR
1) What are the disadvantagies of doing something like this.
2) I also would like to know the adoption of something like this.
3) Anything best practices we need to keep in mind when we implement CLR based SP and Triggers.
We need to access a Teradata database via php application We don't have odbc (unixodbc etc) on the server.
How might one go about connecting to a teradata database quickly.
Keep in mind - this app needs to be as portable as possible.
I want to be able to find and highlight a string within a string BUT I no not want to remove the space.
So if my original string is :
There are 12 monkeys
I want to find '12 mon' and highlight those characters ending up with :
There are < font color='red' 12 mon< /font keys
BUT I also want the same result if I search for '12mon' (no space this time)
This has really bent my mind! I'm sure it can be done with Regex.
Can I use the MVC 2 DataAnnotations to specify a minimum length for a string field?
Has anyone done this or have they created custom attributes and if so do you mind sharing the source?
There seems to be a strange gap on the left side of the colorbox when it's laying over a Sifr element.
This picture shows the Sifr titles: i39.tinypic.com/zthws0.gif (paste in address bar)
This one shows the colorbox being toggled on. Mind the gaps near the Sifr titles: http://i42.tinypic.com/25ft1td.gif
Does anyone know how to solve this?
I recently read the Mono C# compiler is able to compile itself using the C# language. Cool. In the past I've heard of other languages doing the same. It twists my mind - at inception seems like a chicken and egg problem: syntax vs compiler. What comes first, second and third, etc?...
what i want to achieve is creating sound wave image depending on the sound i loaded in Sound()
like this image:
i been using WaveViewer function: Wave Viewer it did quite well but if i load huge mp3. it doesn't display the whole width of the wave, maybe i miscalculate the width.
hope you can enlighten my mind.. thankss
I have a PHP web application, and I want to test out the load when 100+ users are connected at the same time. Is there a program out there that would allow 100+ virtual users to hit my webpage?
I did find one, but it was $3000.
I don't mind paying, but not quite that much.
Hello,
I have an HTML file which contains a webform with multiple questions which have a YES / NO responses.
If the question has a YES answer, I would like a predefined ( per question ) section of text to be written to a DOC file on the server, but only AFTER the submit button has been pressed ( this way, if the user changes their mind and changes an answer form YES to NO, I won't have to re-write the doc ).
When the user has clicked Submit, The file should be presented as a download.
Any Ideas
Will calling
$ httpd graceful
clear out the APC cache, or do I have to do a full-blown
$ httpd restart
to do it? (Keeping in mind that I know there are better ways to do it, like calling apc_clear_cache() programmatically).
Due to a Hard disk problem I am trying to shift a partition from one hard disk to another. I am following http://www.ibm.com/developerworks/library/l-partplan.html article to do that. In the copying part I would like to ignore one particular sub directory. How can I accomplish that keeping in mind when copying I have to preserve my owner group and time stamp. There is around 700 GB of data that needs to be copied if I do not ignore a particular subdirectory.
I am trying to write a simple program to act as my desktop background in Qt, I have made it all work fine apart from making it a Desktop Widget. I have no idea on how to do this, I don't mind using XLib or Qt for doing this, but if anyone has some suggestions I would be very happy.
I'm looking for a simple CMS for a site I'm building for my girlfriend.
The requirements are very minimal
Show images one by one, possibly with a line of text for each
Show an aggregate gallery of say 4x4 images.
Possibly have several different such galleries
Customizable look so i could fit it to her mockup
Any suggestions come to mind?
Can wordpress do this?
I'd like to create a window, using WPF, that has a thin border all the way around the form - i.e. no space for the title bar with the icon/caption and min/max/close buttons.
For example, the "extra" icons form of the new Windows 7 taskbar:
How can I do this with WPF (I don't mind resorting to the Win32 API, if not supported natively by WPF)?
Another beginner WPF question from me :)
Ok, so I have a User Control added to a Canvas. In another area of the application I have two TextBoxes that will get 2 values : X and Y. I need a two-way binding between the user control's top left corner coordinates and those 2 textboxes.
I don't mind implementing a Converter or doing some calculations, but I need a push in the right direction from a more experienced WPF developer.
I have been tasked with designing my web services client code to use the utility class UriMatcher in the Android SDK. Unfortunately, the example in the Dev Guide does not relate to anything in my mind. I know I am missing some fundamental points to the functionality and possibly about Uri itself. If you can tie it to some web APIs that are accessible with HTTP POST request, that would be ideal.
What are your favourite short, mind-blowing snippets in functional languages?
My two favourite ones are (Haskell):
powerset = filterM (const [True, False])
foldl f v xs = foldr (\x g a -> g (f a x)) id xs v -- from Hutton's tutorial
(I tagged the question as Haskell, but examples in all languages - including non-FP ones - are welcome as long as they are in functional spirit.)
In Java, what's generally the most accepted way to organize a class in terms of the order in which declared data members and methods should be listed in the class file, keeping in mind the following and anything else you can think of for each one:
its visibility
whether it's a constructor, method, or member
if it's a method, does it overload, or override other method(s)?
One thing I always wonder while writing query is that am I writing most optimized query or not? I know certain things like:
1) using SELECT field1, filed2 instead of SELECT *
2) Giving proper indexes to the tables
but I am sure there are more things that should be kept in mind for writing queries, since most of the database can only grow more and optimal query will help gr8 in execution time, Can u share some tips and tricks on writing queries?
Hi,
What is the best way to reference an existing .NET dll (Class library)? Is there any benefit to expose web services from the class library and reference these as opposed to referencing the actual .dll (Although one benefit of the web service approach is the granularity and thus surface area exposed is up to you at coding time)?
I am thinking with loose coupling in mind, as a criteria.
Thanks
Given a series of points, how could I calculate the vector for that line 5 pixels away? Ex:
Given:
\
\
\
How could I find the vector for
\ \
\ \
\ \
The ones on the right. But bear in mind that it may not always be a nice straight line.
I'm trying to figure out how programs like Flash can make thick outlines.
Thanks
Hey everyone,
I am currently trying to create a subclass of UIImageView in order to make it download its image from server asynchronously ;)
I tried to do it by myself but I haven't gone very far yet :D
Anyway, I looked around here and found this :
AsyncImageDownload
I had a look at the code and the first which springs to mind is : why subclassing a UIView and not a UIImageView ?!?
Any thoughts ?
Cheers mates,
Gotye.
I have an idea for an Eclipse plugin which I've been toying with. I need to be able to extend the Eclipse Java Editor component and add coloured overlays to the code based on pluggable external metrics. Unfortunately there doesn't appear to be any kind of syntax highlighting extension point.
Does anyone know how I might be able to extend the exisitng eclipse Java Editor to add custom highlighting rules?
Bear in mind I'm new to Eclipse plugin programming so please give as much detail as possible.
..
.box_content ::selection {
background:#CCCC33; /* Safari */
}
.box_content ::-moz-selection {
background:#CCCC33; /* Firefox */
}
Anyone know if I can combine those like this?
.box_content ::selection .box_content ::-moz-selection {
background:#CCCC33;
}
Or maybe like:
.box_content ::selection, .box_content ::-moz-selection {
background:#CCCC33;
}
Honestly my mind is not there today.