Posts

html - jQuery .blur doesn't work -

I have 3 Blur and only the first thing works for some reason here is jquery code: & lt; Script type = 'text / javascript' & gt; $ (Document) .ready (function () {$ ("# user_name"). Blur (function () {if ($ (this) .val (). Length> 4) {$ ("# usernamecheckbox") Html ("& lt; img src = 'images / checkmark.png' alt = '' / & gt;");} and {$ ("# user nameshexbox"). Html ("& lt; img src = 'image / Xmark.png 'alt =' '/ /) "$ (" #pass "). Blurring (function () {if ($ (this) .val () Length & lt; 4) {$ ("# Html (img src = 'images / xmark.png' alt = '' / /" ");}}); $ (" #backpass "). Blur (function () { If ($ (this) .val ()! = $ ("# Pass"). Val ()) {$ ("#passcheckbox") .html ("& lt; img src = 'images / xmark.png' alt = '' / / Gt; ");} Other {$ (" #passcheckbox "). Html ...

asp.net - What is the state of the art Web Application framework? -

I want to develop a web application, what is the current state of the art to do this? Google Web Toolkit? Preferred languages: C #, Java, Python. If I think that ASP.Net, Spring, and DJenco are correct in the right way? In addition to this there is also the train. Am I just calling the general purpose? Suppose you had a version of MSPaint that you wanted to keep as a web app, what would you use? If you want to attract many people to the same canvas ... if you want to make Photoshop as a webpad. For example, have you seen people VMWire server for Linux, the whole thing is a web interface. What was written ?? What is the best thing to do in writing this? HTML + CSS Without this the result will be unhappy. When seriously, there are many structures behind many different ideologies, they have their advantages and drawbacks, they can not talk about them all, but generally a good programming language on the server side To develop the web application in opposition to ...

c# - UserControl cannot be displayed in Designer - null object reference -

I have created a user control with a compartment in it. This Cambodia has a XML population, when it does not exist, this resource The file is loaded from. It works fine in the program, but it can not be displayed in the designer - it says: "Object references are not set to be an example of an object." Load the list from xml Zero reference check in the responsible square is lost due to reasons beyond my understanding ... public sortedDictionary & lt; String, string & gt; Country {Receive (if object.ReferenceEquals (countries, empty)) {GetCountryList ();} Countries of return;}} The population of the combo box is as follows: / P> comboBoxCountry.DataSource = new binding source (program languages, blank); programmable language But it does not help the designer. The question is, how do I (combo box) to display my control in the designer? How to compile the combobox (= from XML to load list). If possible, you can Do you want to check for this....

mysql - Why Django does not "really" support automatic table update? -

Recently I am trying to learn web development in Django and I am very happy about it ... But, one thing is really upset - especially when you get ideas about 'simplicity' philosophy behind the desensgo. It is that updating a table in the Django is really far from simplicity because I am just experienced For example, like my actual case, I enter the beginning Skipping a slug field for the titles left but after some time, I wanted to add a slug column to the table, just like everyone else - which can expect a cheater in the deeggo, I created the python manage.py syncdb Command cord And of course it does not work ... After a little search I found "I need to manually add a new column" in the debash shell command line ("mysql is using the database"). I do not know why, but I think that this is really a fun thing I have never expected, when I saw how easy it is to create a web site in the DJ. Think? Or If you have any other solution or anything else,...

Example of nhibernate winform application -

I am looking for any type of document, an open source nineteen Winform application that I can study, Or better Winform / Nibernate Framework I saw it a little bit in Nibburnt Disbab and Anh Edines, but it's all there is a lot about the web but why is it so little about Winform? The article by Oren Wee is the best example of applying the desktop I saw This description of Windows applications design patterns and best practices should apply to either WinForms or WPF \ Silverlight applications.

accessing windows taskbar icons in c++ -

I'm exploring a way to get the current taskbar icon (system tray) not available for each program in the program. I have no luck with MSDN or Google, because all the results are related to the system tray. Any suggestions or hints would be helpful. > Edit: I tried the idea of ​​Keegan Hernandez but I think I might have done something wrong code is down (c ++). #include & lt; Iostream & gt; # Include & lt; Vector & gt; #include & lt; Windows.h & gt; # Include & lt; Sstream & gt; using namespace std; Of vector & lt; String & gt; Xxx; Bool EnumWindowsProc (HWND hwnd, int ll) {if (ll = 0) {// ... if (IsWindowVisible (hwnd) == true) {char tyty [12 9]; GetWindowText (hWnd, Tyty, 128); Stringstream LLMM; Lmlm & lt; & Lt; Tyty; Xxx.push_back (lmlm.str ()); Return TRUE; }}} Int main () {EnumWindows ((WNDENUMPROC) EnumWindowsProc, 0); Vector & lt; String & gt; :: Iterator; (This = xxx.begin (); this is & lt; xxx.end ()...

Large loops hang in R? -

Suppose I want to do a simulation using the following functions: fn1 & Lt; - Function (n) {RES & lt; - for c () (i 1: N) {x & lt; - rnorm (2) res & lt; - c (res, x [2] -x [1])} res} For the large N , the countdown appears dropdown. Are there better ways to do this? (By inspiration :) The efficiency of the ends is essential in the work of R Those who implement tasks that essentially process the whole vector of data at once, instead of looping through them. For the loop shown above, there are two basic functions during each recurrence: # A random vector of two random numbers is generated; - rnorm (2) # The difference between those numbers is calculated by x [2] - x [1] In this case, the appropriate action will be sapply () . sapply () operates on the list of objects, such as the vector generated by the loop statement 1: N and gives a vector of result: sapply (1: n, function (i) {x note That index value is available during the i functi...