instruction
stringlengths
0
30k
If you're using jQuery it has a callback function to overcome this: <http://docs.jquery.com/Ajax/jQuery.ajax#options> > As of jQuery 1.2, you can load JSON > data located on another domain if you > specify a JSONP callback, which can be > done like so: "myurl?callback=?". > jQuery automatically replaces the ? > with the correct method name to call, > calling your specified callback. Or, > if you set the dataType to "jsonp" a > callback will be automatically added > to your Ajax request. Alternatively you could make your ajax request to a server-side script which does the cross-domain call for you, then passes the data back to your script
Here is a list of web related blog posts about Haskell: [http://haskell.org/haskellwiki/Blog_articles/Web][1]. Furthermore, the next big Haskell web framework is WASH: [http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/][2]. And there is an Apple webobjects based domain specific language: [http://www.cs.uu.nl/wiki/WebFunctions/WebHome][3] [1]: http://haskell.org/haskellwiki/Blog_articles/Web [2]: http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/ [3]: http://www.cs.uu.nl/wiki/WebFunctions/WebHome
Some more details would be nice: which AJAX library are you using, what would you like to achive, how you do it. For example it can be a cross-domain Ajax request, which is not allowed. In this case use [JSON][1]. [1]: http://www.json.org/
Memory performance or CPU performance? Or are they the same these days? My only evidence is anecdotal and on a different platform: after porting a bunch of CPU-hungry apps to C# (.NET 2.0), I did not notice substantial loss in performance (I do not consider 10% substantial). Well written code seems to perform well on a variety of architectures. Most apps spend/waste time with: * IO operations that will not benefit from static (compile-time) analysis. * Bad Algorithms that will not benefit from static analysis. * Bad Memory layouts in critical CPU inner loops. While it is technically possible that compilers help us here, I have yet to see a real compiler do anything interesting. So based upon my experience, unless you are writing a video codec, there is no benefit to compiling Java apps vs. just relying upon the hotspot compilers.
I find it best to treat Stored Procedures just like any other compilable code: Code lives in the repository, you check it out to make changes and load it in your development tool to compile or deploy the code.
Html.RenderPartial call from masterpage
|asp.net|asp.net-mvc|renterpartial|master-pages|
Here is a scenario: Let's say I have site with two controllers responsible for displaying different type of content - Pages and Articles. I need to embed Partial View into my masterpage that will list pages and articles filtered with some criteria, and be displayed on each page. I cannot set Model on my masterpage (am I right?). How do I solve this task using Html.RenderPartial?
Here is a scenario: Let's say I have site with two controllers responsible for displaying different type of content - Pages and Articles. I need to embed Partial View into my masterpage that will list pages and articles filtered with some criteria, and be displayed on each page. I cannot set Model on my masterpage (am I right?). How do I solve this task using Html.RenderPartial? [EDIT] Yes, I'd probably create separate partial views for listing articles and pages, but still, there is a barrier that I cannot and shouldn't set model on masterpage. I need somehow to say "here are the pages" as an argument to my renderpartial, and also for articles. Entire concept of renderpartial with data from database in masterpages is a bit blurry to me.
|asp.net|asp.net-mvc|master-pages|html-helper|renderpartial|
`egrep "(([0-9]{1,2}.)?[0-9]{3}.[0-9]{3}.[0-9]{4})" -R *.html`
yes, this is correct. but let's look at this scenario: on views that are related to articles, I'd have ViewData["article"], and on views related to pages, I have ViewData["pages"], but I don't have both articles and pages available all time. So, if I add: Html.RenderPartial("articlesView", ViewData["articles"]) Html.RenderPartial("pagesView", ViewData["pages"]) to my masterpage, I'll have an exception thrown on each page on which ViewDataDictionary doesn't contain both articles and pages. At least, that's how I see it.
If you're looking for more than just code refactoring, you might find Scott Ambler's book quite useful: http://www.ambysoft.com/books/refactoringDatabases.html
I've never used Xinha, but I can vouch for TinyMCE. It's fast, scales well, and is infinitely customizable.
I've never used Xinha, but I can vouch for TinyMCE. It's fast, scales well, and is infinitely customizable. I particularly like the dynamic loading of functionality, which means you only take the performance hit for the stuff you use. It also includes language-specific [compressors][1] to further increase performance (C# is supported, along with PHP, Java and ColdFusion) by GZipping components. [1]: http://wiki.moxiecode.com/index.php/TinyMCE:Compressor
hmmmm, it seems you would need to find some sort of JavaScript to check for html input or a client side validator.
In C++ on **Windows**, you just escape \ and " where needed, quote the argument and ShellExecute it. Then, everything inside the quotes should be treated as text. This should illustrate: <pre><code> #include &lt;iostream&gt; #include &lt;string&gt; #include &lt;windows.h&gt; #include &lt;cstdlib&gt; using namespace std; // Escape and quote string for use as Windows command line argument string qEscape(const string& s) { string result("\""); for (string::const_iterator i = s.begin(); i != s.end(); ++i) { const char c = *i; const string::const_iterator next = i + 1; if (c == '"' || (c == '\\' && (next == s.end() || *next == '"'))) { result += '\\'; } result += c; } result += '"'; return result; } int main() { // Argument value to pass: c:\program files\test\test.exe const string safe_program = qEscape("c:\\program files\\test\\test.exe"); cout &lt;&lt; safe_program &lt;&lt; " "; // Argument value to pass: You're the "best" around. const string safe_arg0 = qEscape("You're the \"best\" around."); // Argument value to pass: "Nothing's" gonna ever keep you down. const string safe_arg1 = qEscape("\"Nothing's\" gonna ever keep you down."); const string safe_args = safe_arg0 + " " + safe_arg1; cout &lt;&lt; safe_args &lt;&lt; "\n\n"; // c:\program files\test\ to pass. const string bs_at_end_example = qEscape("c:\\program files\\test\\"); cout &lt;&lt; bs_at_end_example &lt;&lt; "\n\n"; const int result = reinterpret_cast&lt;int&gt;(ShellExecute(NULL, "open", safe_program.c_str(), safe_args.c_str(), NULL, SW_SHOWNORMAL)); if (result &lt; 33) { cout &lt;&lt; "ShellExecute failed with Error code " &lt;&lt; result &lt;&lt; "\n"; return EXIT_FAILURE; } } </code></pre> But, with any method you use, you should test the hell out of it to see that it does really prevent injection.
Can anyone recommend a good library for generating an audio file, such as mp3, wav, or even midi, from python? I've seen recommendations for working with the id tags (song name, artist, etc) in mp3 files, but this is not my goal. Thank you very much!
Accessible controls for ASP.NET
|asp.net|ajax|accessibility|
In my last job we ended up rewriting the complete ASP.NET stack (forms, controls, validation, postback handling, ajax library etc...) - the reason I was given was that the ASP.NET controls were not accessible enough, not were any of the third party controls that were assessed for the project. Can anyone point me to good accessible ASP.NET controls that do ajax as well? Failing that, how would you approach creating accessible, ajax enabled controls?
To quote Captain Barbossa: "..And secondly, you must be a pirate for the pirate's code to apply and you're not. And thirdly, the code is more what you'd call "guidelines" than actual rules...." To quote Jack Sparrow & Gibbs. "I thought you were supposed to keep to the code." Mr. Gibbs: "We figured they were more actual guidelines. " So clearly Pirates understand this pretty well. The "rules" could be understood via the patterns movement as "Forces" So there is a force trying to make the class have a single responsibility. (cohesion) But there is also a force trying to keep the coupling to other classes down. As with all design ( not just code) the answer is that it depends.
See <http://wiki.python.org/moin/Audio/> and <http://wiki.python.org/moin/PythonInMusic>, maybe some of the projects listed there can be of help. Also, [Google is your friend](http://www.google.com/search?q=python+audio+library).
You could take a look at the 'App_Browsers' feature in .NET. It gives you the opportunity to hook into the rendering engine for each control. The original intention for this was to be able to alter the HTML output of controls depending on the user's browser - but you can also do it for all browsers. You could also take a look at [these control adapters][1], which make the normal ASP.NET controls 'CSS Friendly'. [1]: http://www.asp.net/CssAdapters/
Advantages and disadvantages of GUID / UUID database keys
|database|
I've worked on a number of database systems in the past where moving entries between databases would have been made a lot easier if all the database keys had been [GUID / UUID][1] values. I've considered going down this path a few times, but there's always a bit of uncertainty, especially around performance and un-read-out-over-the-phone-able URLs. Has anyone worked extensively with GUIDs in a database? What advantages would I get by going that way, and what are the likely pitfalls? [1]: http://en.wikipedia.org/wiki/Globally_Unique_Identifier
I dont see why the fact that your one developer changes anything on the source control issue. I would follow the same system (in fact I do on my solo projects). I use [wush.net][1] (svn and trac) in those cases. It's fast to set up and dont require that you yourself do or know any server issues. I recommend you use something like this. [1]: http://wush.net/
Sounds like you're not wanting to use Revision Control properly, to me. > Obviously one solution is to have the > script files for all the different > components in a directory or more > somewhere and simply using TortoiseSVN > or the like to keep them in SVN This is what should be done. You would have your local copy you are working on (Developing new, Tweaking old, etc) and as single components/procedures/etc get finished, you would commit them individually until you have to start the process over. Committing half-done code just because it's been 'X' time since it was last committed is sloppy and guaranteed to cause anyone else using the repository grief.
Well you learn something new every day, aparantly I lied: > What isn’t generally realised is that > you can change attribute values fairly > easily at runtime. The reason is, of > course, that the instances of the > attribute classes that are created are > perfectly normal objects and can be > used without restriction. For example, > we can get the object: > > ASCII[] attrs1=(ASCII[])typeof(MyClass).GetCustomAttributes(typeof(ASCII), false); > > …change the value of its public variable and show that it has changed: > attrs1[0].MyData="A New String"; MessageBox.Show(attrs1[0].MyData); > …and finally create another instance > and show that its value is unchanged: > ASCII[] attrs3=(ASCII[]) typeof(MyClass).GetCustomAttributes( typeof(ASCII), false); MessageBox.Show(attrs3[0].MyData); <http://www.vsj.co.uk/articles/display.asp?id=713>
Well you learn something new every day, apparently I lied: > What isn’t generally realised is that > you can change attribute values fairly > easily at runtime. The reason is, of > course, that the instances of the > attribute classes that are created are > perfectly normal objects and can be > used without restriction. For example, > we can get the object: > > ASCII[] attrs1=(ASCII[])typeof(MyClass).GetCustomAttributes(typeof(ASCII), false); > > …change the value of its public variable and show that it has changed: > attrs1[0].MyData="A New String"; MessageBox.Show(attrs1[0].MyData); > …and finally create another instance > and show that its value is unchanged: > ASCII[] attrs3=(ASCII[]) typeof(MyClass).GetCustomAttributes( typeof(ASCII), false); MessageBox.Show(attrs3[0].MyData); <http://www.vsj.co.uk/articles/display.asp?id=713>
Well you learn something new every day, apparently I lied: > What isn’t generally realised is that > you can change attribute values fairly > easily at runtime. The reason is, of > course, that the instances of the > attribute classes that are created are > perfectly normal objects and can be > used without restriction. For example, > we can get the object: > > ASCII[] attrs1=(ASCII[]) typeof(MyClass).GetCustomAttributes(typeof(ASCII), false); > > …change the value of its public variable and show that it has changed: > attrs1[0].MyData="A New String"; MessageBox.Show(attrs1[0].MyData); > …and finally create another instance > and show that its value is unchanged: > ASCII[] attrs3=(ASCII[]) typeof(MyClass).GetCustomAttributes(typeof(ASCII), false); MessageBox.Show(attrs3[0].MyData); <http://www.vsj.co.uk/articles/display.asp?id=713>
What's the simplest way to add a click event handler to a canvas element that will return the x and y coordinates of the click (relative to the canvas element)? No legacy browser compatibility required, Safari, Opera and Firefox will do. **Update**: Thanks @Brian, the following is working (in Opera and FF3 at least): canvas.addEventListener("click", function(e) { alert("x:"+(e.clientX-canvas.offsetLeft) +" y:"+(e.clientY-canvas.offsetTop)); }, false); **Update**: Note, don't forget to call `removeEventListener()` if the above code is called more than once or the click handler will be called multiple times...
GWT is very high quality with a great community. However you do need to know CSS if you want to adjust the look of things (you will) - CSS can do a lot of the layout, just like regular web if you want it to. Libraries like GWT-ext or ExtGWT can help a bit as they have stunning "out of the box" looks but for a price (extra size to your app).
Ctrl-J starts an incremental find. Hit Ctrl-J, then start typing. Use up/down to find previous/next instances of what you typed. Ctrl-Shift-J searches backwards.
Ctrl-Shift-L will show you all the currently available keyboard shortcuts
Have you tried the iframe trick (i.e. floating an iframe behind the menu, thus putting hte flash layers behind.)
How to test a WPF user interface?
|.net|wpf|testing|
Using win forms with an [MVC][1]/[MVP][2] architecture, I would normally use a class to wrap a view to test the UI while using mocks for the model and controller/presenter. The wrapper class would make most everything in the UI an observable property for the test runner through properties and events. Would this be a viable approach to testing a WPF app? Is there a better way? Are there any gotchas to watch out for? [1]: http://en.wikipedia.org/wiki/Model-view-controller [2]: http://msdn.microsoft.com/en-us/magazine/cc188690.aspx
A non-keyboard shortcut trick is to use commit sets in your Team->Synchronise view to organise your changes before committing. Set a change set to be the default, and all changes you make on files will be put in that set, making it easy to see what you have changed while working on a specific defect/feature, and other changes you had while testing etc.
The [Google Perftools][1] are extremely useful in this regard. [1]: http://code.google.com/p/google-perftools/
Here's a thought off the top of my head: 1. Find one connection. (Depth-first search is probably a good algorithm for this, since the path length doesn't matter.) 1. Disable the last segment. 1. Try to find another connection from the last node before the previously disabled connection. 1. Goto 2 until there are no more connections.
I suggest jquery tree view plugins for making it function like a tree, but as for render, just put it in a recursive lambda helper to do the nesting.
Here's switch.js: function slide_for_switch(sw) { slide_id = $(sw).attr('id').substring('switch'.length); return $('#slide' + slide_id); } $(document).ready(function() { $('#switches li').each(function() { this.slide = slide_for_switch(this); }).hover( function() { $(this).addClass('active'); this.slide.addClass('active'); }, function() { $(this).removeClass('active'); this.slide.removeClass('active'); }) }) **EDIT**: Good idea, Neall, to associate slides and switches implicitly by index instead of explicitly by id. Here's an improvement that does that, and also has "sticky" behavior (so when you roll off a switch and not onto another, the last one you were on stays active). This one uses the same HTML, but doesn't need the ids on the individual switches and slides: $(document).ready(function() { switches = $('#switches > li'); slides = $('#slides > div'); switches.each(function(idx) { this.slide = slides[idx]; }).hover( function() { switches.removeClass('active'); slides.removeClass('active'); $(this).addClass('active'); $(this.slide).addClass('active'); }, function() { }) }) Rather than displaying all slides when JS is off (which would likely break the page layout) I would place inside the switch LIs real A links to server-side code which returns the page with the "active" class on the proper switch/slide. And here's the HTML: <html> <head> <title>test</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="switch.js"></script> <style type="text/css"> #switches .active { font-weight: bold; } #slides div { display: none; } #slides div.active { display: block; } </style> </head> <body> <ul id="switches"> <li id="switch1" class="active">First slide</li> <li id="switch2">Second slide</li> <li id="switch3">Third slide</li> <li id="switch4">Fourth slide</li> </ul> <div id="slides"> <div id="slide1" class="active">Well well.</div> <div id="slide2">Oh no!</div> <div id="slide3">You again?</div> <div id="slide4">I'm gone!</div> </div> </body> </html>
Here's switch.js: function slide_for_switch(sw) { slide_id = $(sw).attr('id').substring('switch'.length); return $('#slide' + slide_id); } $(document).ready(function() { $('#switches li').each(function() { this.slide = slide_for_switch(this); }).hover( function() { $(this).addClass('active'); this.slide.addClass('active'); }, function() { $(this).removeClass('active'); this.slide.removeClass('active'); }) }) **EDIT**: Good idea, Neall, to associate slides and switches implicitly by index instead of explicitly by id. Here's an improvement that does that, and also has "sticky" behavior (so when you roll off a switch and not onto another, the last one you were on stays active). This one uses the same HTML, but doesn't need the ids on the individual switches and slides: $(document).ready(function() { switches = $('#switches > li'); slides = $('#slides > div'); switches.each(function(idx) { this.slide = slides[idx]; }).hover( function() { switches.removeClass('active'); slides.removeClass('active'); $(this).addClass('active'); $(this.slide).addClass('active'); }); }); Rather than displaying all slides when JS is off (which would likely break the page layout) I would place inside the switch LIs real A links to server-side code which returns the page with the "active" class pre-set on the proper switch/slide. And here's the HTML: <html> <head> <title>test</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="switch.js"></script> <style type="text/css"> #switches .active { font-weight: bold; } #slides div { display: none; } #slides div.active { display: block; } </style> </head> <body> <ul id="switches"> <li id="switch1" class="active">First slide</li> <li id="switch2">Second slide</li> <li id="switch3">Third slide</li> <li id="switch4">Fourth slide</li> </ul> <div id="slides"> <div id="slide1" class="active">Well well.</div> <div id="slide2">Oh no!</div> <div id="slide3">You again?</div> <div id="slide4">I'm gone!</div> </div> </body> </html>
Found this on reddit: http://tirania.org/blog/archive/2008/Sep-08.html Quote from the site: > The idea was simple: create an interactive C# shell by altering the compiler to generate and execute code dynamically as opposed to merely generating static code.
Check out the documentation on [`mx.controls.Label`][1] and [`flash.text.TextField`][2] (which is what displays the text in a `Text` or `Label` control in Flex). The `TextField` documentation states that > The &lt;img&gt; tag lets you embed external image files (JPEG, GIF, PNG), SWF files, and movie clips inside text fields. Text automatically flows around images you embed in text fields. To use this tag, you must set the text field to be multiline and to wrap text. Which means that you can display an image in a `Text` component in Flex by setting its `htmlText` property to some HTML which contains an `<img>` tag. You can't use `Label`, because it is not multiline. I've noticed that text fields have trouble with properly measuring their heights if the images displayed in them are left or right aligned with text flowing around them (e.g. `align="left"`). You may have to add some extra spacing below to counter that if you plan to use aligned images. [1]: http://livedocs.adobe.com/flex/2/langref/mx/controls/Label.html#htmlText [2]: http://livedocs.adobe.com/flex/2/langref/flash/text/TextField.html#htmlText
Not sure on your price range, however [DB Ghost](http://www.innovartis.co.uk/) could be an option for you. I don't work for this company (or own the product) but in my researching of the same issue, this product looked quite promising.
Others have commented on hashes vs hashrefs. One other thing that I feel should be mentioned is your DBQuery function - it seems you're trying to do something that's already built into the DBI? If I understand your question correctly, you're trying to replicate something like [selectall_arrayref][1]: >This utility method combines "prepare", "execute" and "fetchall_arrayref" into a single call. It returns a reference to an array containing a reference to an array (or hash, see below) for each row of data fetched. [1]: http://search.cpan.org/~timb/DBI-1.607/DBI.pm#selectall_arrayref
Nope. But it doesn't hurt to add `equals` methods to your own classes. I try to never use `==` when comparing objects (the same goes for `===`, which is the same thing for objects) since it only checks _identity_ . Sadly all the collections in Flash and Flex assume that identity is the only measure of equality that is needed. There are hints in Flex that someone wanted to alleviate this problem at one time, but it seems like it was abandoned: there is an interface called [IUID][1], and it is mentioned in the _Flex Developer's Guide_ , but it is not used anywhere. Not even the collections in Flex use it to determine equality. And since you are asking for a solution for Flash, it may not have helped you anyway. I've written some more about this (in the context of Flex) on my blog: [Is there no equality?][2]. [1]: http://livedocs.adobe.com/flex/201/langref/mx/core/IUID.html [2]: http://blog.iconara.net/2007/11/25/architectural-atrocities-part-8-is-there-no-equality/
We would all be remiss not to mention that dynamic XML element names are generally a bad idea. The whole point of XML is to create a store a data structure in a form that is readily: 1. Verifiable 2. Extendable Dynamic element names fail that first condition. Why not simply use a standard XML format for storing key/value pairs like [plists][1]? <dict> <key>Author</key> <string>William Shakespeare</string> <key>Title</key> <string>Romeo et</string> <key>ISBN</key> <string>?????</string> </dict> [1]: http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Articles/XMLPListsConcept.html
@Matt David, Please read documentation and take a look at the code samples for Microsoft [CompositeWPF][1] (aka Prism). It's a project created specifically to teach how to deal with MVP/MVC architecture in test-driven manner. Their sample application contains unit tests for presenters\controllers and very cool acceptance tests for UI (they use [White framework][2] to simulate user actions) [1]: http://www.codeplex.com/CompositeWPF [2]: http://www.codeplex.com/white
'Break' equivalent keyword for VB
|vb.net|vb6|loop|
Just moved over to the 'vb team' here at work. Quick easy one for my 1st question. What is the 'Break' equivalent keyword for VB ie to exit a loop early but not the method. Cheers.
|vb6|loop|
|vb6|loop|vb.net|
Just moved over to the VB team here at work. Quick easy one for my 1st question. What is the equivalent keyword to `break` in VB, i.e., to exit a loop early but not the method? Cheers!
|vb.net|vb6|loop|breaks|exit|
|vb.net|vb6|loops|breaks|exit|
C# loop - break vs. continue
|c#|language-agnostic|loop|foreach|
In a C# (feel free to answer for other languages) loop, what's the difference between break and continue as a means to leave the structure of the loop, and go to the next iteration? Example: foreach (DataRow row in myTable.Rows) { if (someConditionEvalsToTrue) { break; //what's the difference between this and continue ? //continue; } }
|c#|language-agnostic|loops|foreach|
Replacement for for... if array iteration
|python|.net|arrays|iteration|loop|
I love list comprehensions in Python, because they concisely represent a transformation of a list. However, in other languages, I frequently find myself writing something along the lines of: foreach (int x in intArray) if (x > 3) //generic condition on x x++ //do other processing This example is in C#, where I'm under the impression LINQ can help with this, but is there some common programming construct which can replace this slightly less-than-elegant solution? Perhaps a data structure I'm not considering?
|.net|python|arrays|iteration|loop|
|.net|python|arrays|loops|iteration|
Continue Considered Harmful?
|continue|.net|c#|goto|loop|
Should developers avoid using [continue][1] in C# or its equivalent in other languages to force the next iteration of a loop? Would arguments for or against overlap with arguments about [Goto][2]? [1]: http://msdn.microsoft.com/en-us/library/923ahwt1.aspx [2]: http://stackoverflow.com/questions/46586/goto-still-considered-harmful
Linking two Office documents
|microsoft|office2007|office2003|
**Problem:** I have two spreadsheets that each serve different purposes but contain one particular piece of data that needs to be the same in both spreadsheets. This piece of data (one of the columns) gets updated in spreadsheet A but needs to also be updated in spreadsheet B. **Goal:** A solution that would somehow link these two spreadsheets together (keep in mind that they exist on two separate LAN shares on the network) so that when A is updated, B is automatically updated for the corresponding record. *Note that I understand fully that a database would probably be a better plan for tasks such as these but unfortunately I have no say in that matter. **Note also that this needs to work for Office 2003 and Office 2007
|microsoft|office-2007|office-2003|
Office 2007 File Type, Mime Types and Identifying Characters
|office2007|file-type|
Where could I find a list of mime types and identifying characters for office 2007 files. I have an upload form that is restricting uploads based on extension and identifying characters but I cannot seem to find the office 2007 mime types. Thanks! Matt
|file-type|office2007|
|office-2007|file-type|
Metanet Software has published [some relevant tutorials](http://www.harveycartel.org/metanet/tutorials.html). Metanet develops [N](http://www.thewayoftheninja.org/n.html) (Flash-based, for Windows, Mac, Linux) and [N+](http://www.thewayoftheninja.org/n_future.html) (for the X360, DS, and PSP).
Advice on how to be graphically creative
|creativity|graphics|
I've always felt that my graphic design skills have lacked, but I do have a desire to improve them. Even though I'm not the worlds worst artist, it's discouraging to see the results from a professional designer, who can do an amazing mockup from a simple spec in just a few hours. I always wonder how they came up with their design and more importantly, how they executed it so quickly. I'd like to think that all good artists aren't naturally gifted. I'm guessing that a lot of skill/talent comes from just putting in the time. Is there a recommended path to right brain nirvana for someone starting from scratch, a little later in life? I'd be interested in book recommendations, personal theories, or anything else that may shed some light on the best path to take. I have questions like should I read books about color theory, should I draw any chance I have, should I analyze shapes like an architect, etc... As far as my current skills go, I can make my way around Photoshop enough where I can do simple image manipulation... Thanks for any advice
|creativity|graphics|off-topic|
|graphics|off-topic|creativity|
I think WPF can greatly improve user experience. However there are not much business oriented controls out there which means you need to do a lot by yourself. As for designers I think it's really hard to find WPF designer now days, it still would be a dedicated programmer rather then design-only guy. I hope that this situation will change in nearest feature. I think it's worth at least start experimenting with WPF to be able to compete with upcoming solutions.
What you can do is wire up to the init event of the [Sys.Application](http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/ApplicationClass/default.aspx) class. then set a global variable to specify that the first load is done. then you'll know if it's a post back or initial load.
What you can do is wire up to the load event of the [Sys.Application](http://msdn.microsoft.com/en-us/library/bb310856.aspx) class. you can then use the isPartialLoad property of the [Sys.ApplicationLoadEventArgs](http://msdn.microsoft.com/en-us/library/bb397457.aspx) class. I believe that would let you know if you are in a async postback or not. To know if you are in a post back, you'll have to handle that in server side code and emit that to the client.
Woe is me. I ended up doing this: mre = mobile_number && ('%' + mobile_number.gsub(/\D/, '').scan(/./m).join('%')) find(:first, :conditions => ['trim(mobile_phone) like ?', mre])
TicketDesk- C# issue tracking system and support system http://www.codeplex.com/TicketDesk TicketDesk is efficient and designed to do only one thing, facilitate communications between help desk staff and end users. The overriding design goal is to be as simple and frictionless for both users and help desk staff as is possible. TicketDesk is an asp.net web application written in C# targeting the .net 3.5 framework. It includes a simple database with support for SQL 2005 Express or SQL Server 2005. It can leverage SQL server for membership and role based security or integrate with windows authentication and Active Directory groups.
There was a palm based C compiler. I had some trouble finding it though, but it's called [OnBoard-C](http://sourceforge.net/projects/onboardc/). It didn't exactly have an IDE, it compiled notes. Considering there's a lack of embedded compilers, I'd be surprised to find full embedded IDEs. This maybe premature but, congrats, you just found a market niche.
There was a palm based C compiler. I had some trouble finding it though, but it's called [OnBoard-C](http://sourceforge.net/projects/onboardc/). It didn't exactly have an IDE, it compiled notes. Considering there's a lack of embedded compilers, I'd be surprised to find full embedded IDEs. Oh... I recall there being a Scheme or Lisp too. This maybe premature but, congrats, you just found a market niche.
I would store it in an Xml object and then use its methods to search for the node value you need. var returnedXml:Xml = new Xml(event.result.toString()); _edit: hold on, finding the right method..._
I would store it in an Xml object and then use its methods to search for the node value you need. var returnedXml:Xml = new Xml(event.result.toString());
I would definitely recommend [git][1] Works great for both big and small teams. Only drawback is poor native windows support. Although it works fine for me in Cygwin. [1]: http://git.or.cz/ "git"
Is there any difference between the box models of IE8 and Firefox3?
|firefox|browser|internet-explorer-8|