Posts

Showing posts from February, 2012

python - *args and **kwargs? -

इस सवाल का पहले से ही एक उत्तर है: 12 जवाब इसलिए मुझे * आर्ग्स और ** क्वार्गेस की अवधारणा। अब तक मैंने यह सीखा है कि: * आर्ग्स = आर्गुमेंट्स की सूची -as स्थैतिक तर्क ** kwargs = शब्दकोश - जिनकी कुंजी अलग कीवर्ड तर्क बनती है और इन तर्कों के मूल्य बन जाते हैं। ?? ईमानदारी से मैं समझ नहीं पा रहा हूं और किस प्रोग्रामिंग कार्य के लिए नहीं मिलता है यह उपयोगी होगा। (मुझे यकीन है कि वहाँ है, लेकिन मैं इसे समझ नहीं पा रहा हूं।) हो सकता है: मुझे लगता है कि एक समारोह के तर्कों के रूप में सूचियों और शब्दकोशों को दर्ज करें एक वाइल्डकार्ड के रूप में एक ही समय है, तो क्या मैं किसी भी तर्क को पारित कर सकता हूं? क्या यह एक सरल उदाहरण है कि कैसे * args और ** kwargs उपयोग किया जाता है? इसके अलावा मैं ट्यूटोरियल जो केवल "*" और एक चर नाम का इस्तेमाल किया है। क्या * आर्ग्स और ** kwargs सिर्फ एक प्लेसहोल्डर है या आप बिल्कुल * args और का उपयोग करते हैं * कोड में नाम * आर्ग्स और ** kwargs केवल सम्मेलन से ही हैं लेकिन उन्हें इस्तेमाल करने के...

debugging - Testing iPhone app with Valgrind -

I have a terrible bug "The object was modified after the release", so I want to take Valgrind from my SDN After the successful establishment, there is a lot of trick here: And with one of my, changing the way of Valgrind, I get "Debugger Finished". With GDB log: [Session began on 2010-08-03 10:47:25 +0500] GNU GDB 6.3.50-20050815 (apple version GDB-146 9) (Wed May 05) 04:36: 56 UTC 2010) Copyright 2004 Free Software Foundation, Inc. GDB is free software, which is covered by the GNU General Public License, and you are welcome to change and / or distribute it under certain conditions. Type "Copy Show" to see the circumstances There is no warranty for GDB. Type "show warranty" for details, this GDB was configured as "x86_64-apple-darwin". SherylLawee Applicable-load-rules are all in the process of 17763. Warning: Could not delete breakpoint at "0x8fe0b830" Can not remove breakpoint because the program is no longer writa...

c# - should I install asp.net mvc 2 on a deploy machine? -

I am deploying an ASP.NET mvc 2 app on Windows 2008 R2 and I get an error that someone No system. Web .mvc.dll, should I install mvc2 on deployment machine? You can actually deploy without MVC to your server by employing MVC DLL on the server be established. Keep the following DLLs in your bin directory and it will work fine System.Web.Mvc System.Web.Routing System.Web.Abstractions If your server is on .NET 3.5 SP1, you only need to run the web. MVC DLL needs to be deployed, if it is not running then SP1 will need to deploy all 3 of you. Here is an article of Phil Hack, it's more

wpf - High-Performance UI Framework for .NET -

My current work is to develop a software for measurement and testing purposes which will communicate with different devices. Since I believe that there will be a high amount of data transferred from some conspiracy component or devices to be displayed in the same, the UI framework used should be as fast and responsive as possible. I have a few years of experience in the WPF, but I think this best option will not be performance-wise. I am currently considering using Windows Forms, but I want to find some options first. Do you know there is a good UI frame for the net (wrappers are also fine for basic settings) and what is your experience using them? Thanks! Create prototype to see if there are actually performance issues. Selecting Windows Forms on WPF seems suspicious if it is purely based on assumptions.

python - Aggregating save()s in Django? -

I am using Django with a SQL backend, and writing is a problem. I can be a graduate of "proper" DB at some level, but at this time I have stayed with the scalet. I think my writing problems are probably related to the fact that I am making a large number of rows, and possibly : Every time I save () one locking it, unlocking and syncing DB to disk. How do I collect a large number of save () calls in a single database operation? Actually it's easy to do, then you think. You can use these batch database operations in Django (especially save, insert and delete) in an operation. I've found that the easiest way is to commit_on_success . Basically you save your database to a function and then use the commit_on_success decorator. Django.db.transaction import commit_on_success @commit_on_success def from lot_of_saves (queryset): In query for items: modify_item (item) item.save () If any of the items are unsuccessful, you will also get the benefit of makin...

wpf - Override ControlTemplate - not Style -

I override content on button This is that when I do this, the button's default style overrides how I can keep the old style (the old style defines the mouseover, mouseout effect and like) This is my code: & lt; Fluent: DropDownButton SizeDefinition = "Small" & gt; & Lt; Fluent: DropDownButton.Template & gt; & Lt; ControlTemplate & gt; & Lt; StackPanel & gt; & Lt; Label content = "a" fontfamily = "times new roman" fontsis = "11" /> & Lt; Polygon points = "0,0 0,15 15,15 15,0" stroke = "{fill binding}" strokectitches = "5" & gt; & Lt; / Polygon & gt; & Lt; / StackPanel & gt; & Lt; / ControlTemplate & gt; & Lt; / Fluent: DropDownButton.Template & gt; & Lt; ColorSelectorModule: ColorGallery / & gt; & Lt; / Fluent: DropDownButton & gt; PS: I know that this is a question for a specific library control. Howev...

Opensource Java or Ruby Web based Virtual Class Room Components? -

क्या कोई रूबी या जावा वेब आधारित वर्चुअल क्लास रूम अवयव है जैसे 1. व्हाईटबोर्ड 2. त्वरित संदेश 3.Hand स्थापना उपकरण 4.मार्कर धन्यवाद आप प्रोजेक्ट वर्लैंडैंड () को देखना चाह सकते हैं। यह एक बहुत अच्छी आभासी दुनिया है जिसे वर्चुअल कक्षा के रूप में इस्तेमाल किया जा सकता है। वे एमआईटी में इसका इस्तेमाल भौतिकी कक्षा में अनुकरण करते हैं जहां आप एम-फ़ील्ड देख सकते हैं आदि।

Entity Framework CTP4 non-standard primary key name usage in BaseEntity -

I have already been struggling for several days to solve my problem with primary key usage. Please, someone helps me solve this puzzle !!! I am using the Entitie Framework with CTP4, the first approach of code I adopted for my project repository pattern published by Huuru, I get very out of this parental and especially CTP 4 possibilities. I am For unit definitions, we use many nesting layers. At very little we have a basement, which includes some common fields, such as: public abstract class basentity: iTTABase {public virtual faucet & lt; System. Datetime & gt; {Receive inputs; Set; } Public virtual faucet qualified & lt; Int & gt; PK_InsertUserAccount {get; Set; } Public Virtual Byte [] Timestamp {Received; Set; }} Then we obtain from this class for our concrete entities, for example: Public class person: BaseInty {Public Virtual Ink PK_Person {get; Set; } Public Virtual Byte PersType {get; Set; } Public virtual string e-mail {get; Set; } Public Virt...

asp.net - Submit form to parent window WITHOUT Javascript -

I need to develop an application that is working in a browser without JavaScript. At one point I use a_link to open a pop-up window (using target = "_newname"). On that page I present a form for which I need to submit it on the original window page. Without trying Without success, I can find all the information online using Javascript to get this! Use the ASP.NET webform if it is helpful at all! Unfortunately, you can not do this without the support of javascript. Your best bet is to use a diva (like ASP: panel), instead of a genuine popup, like a popup; In this way, everything remains in the same form, and also posts a postback to the main document in 'popup'.

Groovy: Groovy Bean creating is longer than java.util.Map creating? -

class test {string field entry number public test (string field, int number) {this.field = this field .num = num}} def start = System.currentTimeMillis () def testObj = New Test ("I field", 1) println "Beans: $ {System.currentTimeMillis () - start}" def start2 = System.currentTimeMillis () DIF map = [:] map.field = "I field" map.num = 1 println "maps: $ {System.currentTimeMillis () - start2}" Output is: beans: 3 maps: 0 My Grails server communicates on JSON I & lt; -> Using JSON conversion but I think it is better that you use beans because in the case of maps you have to put several () methods to call ... but simple The script shows that the map text "itemprop =" text "> your script is exactly It is meaningless The operation you are trying to measure is far away, your measurements are far below the limit Output is only random noise Repeat every assignment one hundred times and use System.nanoTi...

nsarray - Print array in objective-c? -

I have to check my values ​​with the NSArray which are dynamically stored. How should print array values? NSLog (@ "% @", yourArray); It actually calls your NSArray's description method and prints the log.

vb6, ZPL, socket printing -

I have done this programming in Java and it works but it does not move to vb6 (and I need to) Actually I need to send data to Zebra printers on the network. I complete process works (no error is reported, but printer does not print. I used it in Java: Public Zero Print Onions (Arrayist & Lt; Writing & Data;); // // LH X, Y coordinates is the starting position for the starting position / / FO X, Y is the coordinates for starting the current print / / bar by barcode size / BC code 128, the Orientation , Height, // print interpretation line, print over barcode, // check digit // a font type, height and width / fd data start, fs data end string barcode = data array.get (2) + "-" + dataar .Gate (3); Transfer Ip = "^ MTT"; // Thermal Transfer String JPL string = "^ LH5,5" + Transfer type + // sets type to thermal transfer "^ BY2" + "^ MNM" + "^ FO 50,30 "+" ^ ADN, 96,20 ^ FD "+ DataAir 0) + + "+ + Air +...

dynamics crm - Pull data from another entity in CRM 3.0? -

I have a form with three fields which I want to populate based on three characteristics of a different unit. What is the best way to do this? I tried it, based on the accessories available online to me: if (crmForm.all.new_name.DataValue == faucet) {return; } Var sdk = new XrmDataContext (empty, zero); Var id = crmForm.all.new_name.DataValue [0] .id; Var fetchXml = "& lt; mapping = \" logical \ "& gt; entity name = \" mag_identificationtype \ "& gt; all-attributes & gt; & lt; filter type = \" and \ "& Gt; & lt; position attribute = \ "new_advertisingrate \" operator = \ "eq \" value = \ "+ + +" \ "/> & gt; & Lt; / Filter & gt; & Lt; / Unit & gt; & Lt; / Var / l; for the result ... but this does not work, and I suspect that it is designed for 4.0. Is it a way to complete in 3.0, and If If yes, then what is it? You are right that you have MS Code 4.0...

c# - Linq to XML if/foreach with XElement -

It seems that Linux is facing trouble with XML, I have looked at the tutorial, but some Does not really tell me, selection, statement I would like to know that statement with a foreach / if if linq, if you have a tutorial please tell me my problem is that i want a certain part in my xml if i There is something in the text box. This code does not work as clearly as you can make a statement with your XDocument. Any help / description will be great if (txtPr3_Chain.Text! = "") {New XElement ("Property_Info", New XAttribute ("Chain", txtPr3_Chain.Text), New XElement ("City", txtPr3_City.Text), New XElement ("AdRating", AdRating3.CurrentRating.ToString ()), New XElement ("Your Writing", Your RTE 3. Current Rating. ToString ()), New XElement (" Comment ", txtPr3_Comments .ext)),} Why not always with parts Create XDocument Include / append other parts there and then, where you can use regularly Not or if

FTP upload iphone sdk -

I need a single file ASIRequest Have tried or whatever is said, but want to do something with a detailed guide. Would you like to use ASIFormDataRequest. You will send your file as NSDTA object in the request. Here is an example of sending a JPEG. If you have some other file type, you have to convert it to NSDTA object for transmission on the server. NSString * filename = @ "image.jpg"; UIImage * image = [UIImage imageNamed: @ "image.jpg"]; NSDTA * FileData = UIImageJPEG Report (Image, 0.9); ASIFormDataRequest * Request = [ASIFormDataRequest requestWithURL: [NSURL urlWithString: @ "http://www.yoursite.com"]]; [Request setPostValue: file name for: @ "name"]; [Request SetData: fileData forKey: @ "file"]; [Set time timeset: 500]; [Request Security Mode: @ "Post"]; [Request [synchronous]]; // Server response handle In the section titled ASI document "Sending a form post with ASIFOMRADEAST" -

coldfusion url decode extended ascii -

यह तुच्छ दिखता है & lt; cfset username = urldecode (url.username, "utf -8 ") & gt; यूआरएल में यूज़रनेम = % F8yvind डीकोडेड उपयोगकर्ता नाम = yvind मैं इसी एचटीएमएल इकाई को कैसे प्राप्त करूं: & amp; # 248; ? मुझे डीबी में लुकअप वैल्यू के रूप में यूज़रनेम का उपयोग करने की आवश्यकता है। & lt; cfset उपयोगकर्ता नाम = htmlEditFormat (urlDecode (URL.username, utf-8 ")) & gt; क्या यह काम करता है?

How do I access return value of a Java method returning java.lang.String from C++ in JNI? -

I'm trying to return a string with the Java method called C ++. I am not able to figure out how to call the JNI function to use the method and return a jestring value. My code is as follows: C + Part Main () {jclass cls; JmethodID Middle; Jstring rv; / ** ... Abandoned code ... * / cls = env- & gt; FindClass ("Classifier Vapor"); Mid = avi-> GetMethodID (CLS, "Getstring", "() Lijava / Lang / String"); RV = ANV-> callstatic & lt; TYPE & gt; Method (CLS, Middle, 0); Const char * Stratan = &-> GetStringutforhars (NV, RV, 0); Envi-> gt; Release Stratan (R.V., Stretton); } Public Code classifier {public string getString () {return "test";}} Java code code> method sign (from "javap -s class") public java.lang.String getString (); Signature: () Ljava / lang / String; you should be cls = env- & Gt; FindClass ("ClassifierWrapper"); Then you need to start the...

MVVM and password -

I am using MVVM and the model's password field. What have I found on the web, when you have to implement a custom class for binding and to use the password box to handle this password, I think this is an overhead, do you have me with a password-linked AD / Can a better way to use edit user control? The easy way, but not MVVM: Xaml changed password password = "password box fileing changed" Xaml .cs Private Zero passwordbox_ PasswordChanged (object Sender, RoutedEventArgs e) {If (viewModel! = Null & Sender password box is) ViewModel.DatabasePassword = ((PasswordBox Sender)). password; } Private Zero Load () View // ViewModel.DatabasePasswordModel. Read data (); Password box Password = ViewModel. Database password; }

Using C# to simulate confirming a javascript popup -

So I'm trying to verify the pop-up in my Selenium 2 functional tests, selenium 2 has no built-in method. Is there a way to create a C # code that will notice a warning, and will simulate killing "ant" key? "post-text" itemprop = "text"> WebDrive does not handle javascript alerts yet, this issue is known and already a flaw has been made, You can monitor the situation There are some things you can try to use JavaScript on that page.

.net - Has anyone had any difficulty upgrading from Entity Framework 1 to Entity framework 4? -

I am looking at the project which is developed and kept with unit point 1, which is relatively stable at the moment. I'm wondering if people have migrated to a project like EF4 and if anyone can share them with any special difficulties I know that there are so many benefits to look forward but if I upgrade I am trying to assess the risk. Will it create a lot of unexpected behavior for someone who is accustomed to EF1? Any input would be appreciated. This can not affect you or may If you have predetermined thoughts If you are using .NET 4.0 EdmGen you must manually change your build event.

Aren't String objects in Java immutable? -

इस सवाल का पहले से ही एक उत्तर है: स्ट्रिंग s = ...; S = s.sstring (1); क्या यह संभव है? मैंने सोचा था कि आप जावा में एक स्ट्रिंग वस्तु नहीं बदल सकते। स्ट्रिंग ऑब्जेक्ट अपरिवर्तनीय हैं स्ट्रिंग संदर्भ , हालांकि, अस्थिर हैं ऊपर, s एक संदर्भ है।

How to Define Callbacks in Android? -

During the most recent Google IO, there was a presentation about the implementation of cool client applications. Unfortunately, this only There was not a high level discussion with the source code of implementation. In this diagram, there are different callbacks on the return path in other ways. How do I declare these methods? I understand the idea of ​​callback - a piece of code is said after a certain event, but I do not know how to implement it. The only way I have implemented callback so far, override various methods (for example on OnActivityResult). I think I have a basic understanding of the design pattern, but how am I going to handle the return path? In many cases, you have the interface and passes it with the object. For example on DialClickListener is on the dialog. Just as a random example: // Callback interface interface MyCallback {void callbackCall (); } // class callback class worker {MyCallback callback; Void onEvent () {callback.callbackCall ()...

Overview of Zend and scoping, singletons, etc -

I have searched for Zend discussions on scoping and I know that the specifics of the structure reveal that it seems Is that some server-side memory, but I certainly can not pin it. Does the existence of singleton indicate that they are loaded once per application, or once per session? It is not understandable that singleton should be described in such a way that if he is reloaded on every request. And how do the rules of language such as need_once () indicate that they are loaded once and kept in full application or session? Or can they in any way rebuild every request or within the scope of the page? I appreciate any help and links, I can understand the big picture of ZF and PHP pages. PHP pages do not take too much page-by-page on their own, but they do not understand the references of these jands, unless the Z is doing something bigger. Any suggestions to understand this? Thanks! PHP script only continues for the requested period. Everything ends when the request is o...

sql - optimizing a view for hierarchical data -

I currently have a query in which all the direct and indirect managers -Includes store company organization information. In this SQL notation, the numbers before a colon (examples: 1) are variables: Select parent.depth from the relationship, as the mother in the relationship as the node in the relationship Join the parent as a parent .lft and parent.rgt and node.empid =: 1 order by parent.lft I simply shorten the manager n can return level to parent.depth = node.depth -: 2 by adding a condition or where a segment (side question: Micro fast?) Adding staff. Problem: I'm trying to convert this query to a view, and I'm not fortunate enough. The problem is that my or all of the variables are in the condition of joining my query. My current best plan is to split those pieces into columns, which I can see when I can break the scene during the query , For example: select node.Empid, parent.empid as MgrID, MgrDepth as parent.depth, form node from MgrRelativeAltitude...

domain driven design - Are there any frameworks/libraries for Delphi that come close to the functionality offered by Bold/Eco? -

borland / codegear / embarcadero What happened to Bold / Echo during the transition, but I'm sure the new version of Delphi Any one knows about a framework that comes near? If not, you can suggest a combination of libraries and components that comes near. Delphi is the only real ORM for Win32, but it has not yet closed. For UML modeling and thus Delphi For Win32 (or C #), "itemprop =" text "> , I suggest. Both tools support Delphi 2010. - jeroen

How to specify timezone in linux using C -

I was trying to determine the timezone of my system, and was trying to use settimeofday () Which takes time zone structure is an argument, but just read it that the structure is obsolete () How can I go about doing this? Thanks in advance. EDIT: Uh, I'm really stupid. / P> I have created a link and compiled it: #include & lt; Stdio.h & gt; Zero main () {printf ("This is the link \ n"); } Created a target.c and compiled it: #include & lt; Stdio.h & gt; Zero main () {printf ("This is the goal \ n"); } and then tried the simlink function in a test program: #include This gives me a split error for some reason. Am I doing something wrong? See set the timezone for . / usr / share / zoneinfo / for the entire system. Under the appropriate file should be symlink / etc / localtime

java - Maven won't deploy dependencies -

I have a simple project with 3 dependencies, but for some reason when I ran from Eclipse -> maven install I'm running. I do not get dependency in snapshot jar inside and out ... any thoughts? This is my pom: & Lt; Version & gt; 0.0.1-snapshot and lt; / Edition & gt; & Lt; Packaging & gt; Jar & lt; / Packaging & gt; & Lt; Name & gt; Business & lt; / Name & gt; & Lt; URL & gt; Http: //maven.apache.org< / URL & gt; & Lt; Properties & gt; & Lt; Project.build.sourceEncoding & gt; UTF-8 & LT; /project.build.sourceEncoding> & Lt; / Properties & gt; & Lt; Dependency & gt; & Lt; Dependency & gt; & Lt; Group & gt; JUnit & lt; / Group & gt; & Lt; ArtifactId & gt; JUnit & lt; / ArtifactId> & Lt; Version & gt; 3.8.1 & lt; / Edition & gt; & Lt; Scope & gt; Trial & lt; / Scope & gt; & Lt; / Dependencies & gt; ...

session0 isolation in Windows 2008/windows7 -

I have a C ++ application that uses mutes, events, semaphores for synchronization. When hosted in Windows 2008 Server / Windows 7, this application is not starting from remote client. I used the telnet client to connect remotely to this application and saw that the telnet server is running under session 0 and so it is trying to start my application under the session. My app is trying to open a Mute X, which was run by another application locally (in session 1). I can apply my application on the basis of "Global \" per page for Mute X name. What I see is the way to run a path without changing this code Is it possible? Is it possible to start the Telnet service under Session 1? CreateMutex (& amp; SA, FALSE, Buffer, "MyMutexName")); I createMutex (and SA, FALSE, SYS_ID2 (szSysIdBuffer, "Global \ MyMutexName")); But there is no other way to make this change. Thank you You probably know the document that describes problems with session 0 isolat...

c# - Ajax inside MOSS 2007 Web Part -

I am creating a web part in MOSS 2007 which includes an autopaplaytexter. My Web service [System.Web] by adding all the configuration in Web.config (example) I have AJAX-enabled .Script.Services.ScriptService] Public class autocomplete: System.Web.Services.WebService {[System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] Public String [] GetCompletionList (string prefix text , Integer number) {list & lt; String & gt; Results = New list & lt; String & gt; (); Results.Add ("here"); Results.Add ("here"); Results.Add ("here"); Results.Add ("here"); Results.Add ("here"); Results.Add ("here"); Results.Add ("here"); Return result. Toure (); }} I am able to hit the web service from a web browser. However, the autocomplete operator does not call my web service. My web service URL: (I used this extension to the service path). My Web Part Page: I also tried to add a calendar ad...

python - Simultaneous eval and exec -

Is there a way to evaluate and execute dragon on a string? I have a file that contains a bunch of expressions which should be calculated, maybe something like that. F1 (ifilter (myfilter, x)) f2 (x) * f3 (f4 (x)) + f5 (x)) And run through the eval expression. Some expressions may want to save their work after doing an expensive operation y = g (x); Unfortunately, y = g (x) requires a exec , but receiving the value is h + j of Eval How does this work? Try using Biltin compile () . When you use it in single mode, it manages both the cases you want. For example: compile ('3 + 4', 'dummy & gt;', 'single') Compiled Code object will return you can execute it with exec () or eval (): & gt; & Gt; & Gt; Exec (compile ('3 + 4', 'dummy & gt;', 'single')) 7> gt; & Gt; & Gt; Exec (compile ('x = 3 + 4', 'dummy & gt;', 'singles')) & gt; & Gt; & ...

iphone - How to check if UIImage loaded from a URL is valid -

Can I check if my UI item object has a valid image in NSDT? UIIMGes is loading with NSData dataWind content of URL: UIImage * image = [UIImage imageWithData: [NSDATA DATAVIT CONTENT OFF URL: [NSDL URL Youththrusting: My URL]]]; Thanks here. You can get the status of using NSURLConnection

iphone - UILocalNotification Or EventKIt -

I have read the material about the UILLocal notification, but there is no way when the information is removed, then infinite There is no way to play loop sound, it plays with a warning for a short time, but I want to achieve the goal of playing a constant sound by providing the option of snooze and quite a lot I went through the UIEvent kit. I am But this is unable to find a way to achieve this goal. Another question is that the alert button is a way of optimizing the action that Apple is provided by default. In advance thanks you guys are watching. I did not do this, but there is a function when this notification is applied when the local notification is fire Before that is ok or to see or before you ever pressed the button's name, you can SMS code to that function and for that it should take care of it ... hope it will help you.

My WCF service works fine on a Windows 7 Enterprise machine but fails when hosted on windows server 2003 (Same Code) -

We are using a Windows 7 enterprise machine for development and we have 7 wcf services .... all Has worked fine in the development machine ... When we hosted similar services in Windows Server 2003 and IIS 6, then we are facing some issues ... One of the services "By an existing connection to a remote host Forcibly turned off "error ... built-in connection service closed in call Is done .... I have started logging with log4net and I have started tracing ... In the trace log I found out that it completes almost all the steps and the end of the stop execution phase .. So I gave the log4net debug statement in the code and it seems that the code is executing fine, it is ok to get the value from the database, but when the data comes back, the connection is shutting down at that point. So while closing the data, some exceptions are closing the connection ... and I do not understand why or what caused the error ... and this code works fine in Windows 7 Enterprise machine ... So ...

macros - How do you make C++ create an expression that uses compile-time checking for constants and asserts for variables? -

यहाँ एक उदाहरण सेटअप है ... एक मैक्रो या एक टेम्प्लेट CHECKEXPR_RETURNVAL (EXPR, VAL) यह जांचता है कि वैल वापस करते समय EXPR TRUE है। यह विभिन्न स्थानों में उपयोगी है - जैसे कि यह बहुत ही आसान उदाहरण: #depine ISPOW2 (वैल) ((0! = VAL) & amp; amp; ; (0 == (वैल एंड (वैल-1))) # परिभाषित _ALIGNPOW2 (वैल, एल्गिन) ((वैल + (ALIGN-1)) & amp; (~ (ALIGN-1))) #define ALIGNPOW2 (वैल, ALIGN) CHECKEXPR_RETURNVAL (\ ISPOW2 (ALIGN), _ALIGNPOW2 (VAL, ALIGN)) तो, यह कठिनाई है: यदि संभव हो तो मैं समय जांच को संकलित करना चाहता हूं, और यदि मूल्य स्थिर नहीं है जो संकलन समय पर निर्धारित होता है, फिर एक रनटाइम चेक होता है। असल में, यह विचार है कि जितनी जल्दी हो सके खराब पैरामीटर को पकड़ना; यदि आप समय के संकलन पर एक खराब पैरामीटर पकड़ सकते हैं जो रन टाइम पर खोजने से बेहतर है। इसके अलावा, संकलित समय संस्करण को लगातार प्रारंभिक रूपों के लिए जरूरी है। यहां कई जगहों पर एकल संस्करण का काम करने के लिए मेरे दो (असफल) प्रयास हैं (एक निरंतर सरणी आकार के रूप में, एक enum initializer के रूप में,...

iphone - Extracting array from NSMutableData in http response -

using iphone sdk 4.0. Returns the callback data as an NSData object for an HTTP request - (zero) connection: (NSURLConnection *) connection was reception: (NSDT *) data {// Our data Attach data to [data and data: data]; } In my PHP script on the server I am returning an array as the following var_dump ($ array) How can I get my array back to my iPhone from the NSMutableData object 'data' ipod? Thanks Your array stored in the sequence of bytes in your NSMTLD data object (Or maybe several arrays?) Is the string that describes. To convert it back into an array, you will need to parse the var_dump output which can be harder. If you have a library (or your code) to return your data to the Apple Plast format Your work will be very simple: you can NSPropertyListSerialization propertyListFromData: mutabilityOption: format: errorDescription:] that is an NSData (or NSMutableData) takes the pointer as its first argument, trying for the starting point Not. ...

PHP/MYSQL Help - unexpected T_VARIABLE -

I am trying to edit a profile page and I want the user to change the username and email address . I've been on this problem for some time and need your help. Pars error: syntax error, unexpected T_VARIABLE $ edit $ mysql_query ("user update (user name, email address) value ('. $ Newusername.' '. $ Newemail.' ') Where user id = "$ _ session [' UserID ']" "); You can remember some point around $ _ session ['UserID'] $ edit = mysql_query ("User update (user name, email address) value ('. $ Newusername.' ',' '. $ Newemail."' ) Where user id = ". $ _SESSION ['UserID']);

Regex: Extract http and title attributes from anchor tag with PHP -

मेरे पास इतने सारे यूआरएल संरचित हैं जैसे & lt; h4 class = "classname "& Gt; & lt; a href =" http://some-website.com "onclick =" someVaryingJS (); " शीर्षक = "कुछ शीर्षक" & gt; कुछ शीर्षक & lt; / a & gt; & lt; h4 & gt; मैं केवल टैग और ऑब्जेक्ट गुणों को ध्यान में रखते हुए, केवल एआरपी और शीर्षक विशेषताओं को निकालने में सक्षम होना चाहता हूं और यह केवल एच -4 के भीतर वाले एंकर टैग के लिए करना चाहता हूं आप उस वर्ग में html टुकड़ा लोड कर सकते हैं और इसे वहां से संसाधित कर सकते हैं ..? यह स्पष्ट रूप से अधिक लचीला होने जा रहा है, लेकिन सीधी अप रीगेक्स की तुलना में बहुत भारी है।

apache - Stop mp3 file from streaming in browsers -

I have an MP3 on an Apache server, I want it to be downloaded as a file, when a user links Visit Instead, Quicktime, or Google Chrome Media Player, will try and stream it. Is there a fix with this for header? Or the only option is to 'save as a right click save'? Edit Here is my header Safari has stopped streaming, but Chrome content is done to do this. It seems that Chrome is not being taken into account: I can see that the header has been altered properly: Date Wed, 04 Aug 2010 00:14:35 GMT Server Apache / 2.2.13 (Unix) mod_ssl / 2.2.13 OpenSSL / 0.9.8 E-Phipps-RHL5 mod_auth_passthrough / 2.1 mod_bwlimited / 1.4 FrontPage / 5.0.2.2635 PHP / 5.2.11 Last Modified Mars , 03 Aug 2010 04:37:01 GMT Etag "2bbd692-79597d-48ce3de3f5540" Accept Bytes Content-Length 7952765 Keep Content-Attachment Attachment -Elive Timeout = 5, Max = 100 Connects Not Keep-Alive Content-type audio / mpeg What is something in the header may be the reason? Edit I did this by...

c# - Does SQL CE 4 (CTP) support ambient transactions using System.Transaction namespace? -

I can see .NET drivers for SQL CE 3.5 and below System.Transactions does not support. Has this changed to the new version of SQLCE (version 4)? No, there is no change.

mysql - Minimizing table deadlock in my scenario with oracle and innodb -

I have 35 functions that update between 1 to 3 tables in transactions, however, they do not just execute updates, But they also fix the questions. Table 1 row updates only work, and some queries. The table 2 queries and row level updates for existing rows, and occasionally deletes and adds rows in the table 2 and delete the row and inclusion, and or before and after the update. There can be questions within. Table 3 updates the row based on the results of the table 2 above. My first action will be to ensure that the table 3 updates will end completely. The table 1 is independent of the other 2 tables, and maybe before or last, then the table 2 should come before the change of Table 3. My first concern is that with table 2 verbs, I question, then update, then more questions, I do not have to repeat my code, not to do so. My second concern is that Table 3 is the table that should be sharp with the sublet thread, Table 3 is used only for the query by itself. But it see...

wordpress - How to Remove Date From Posts -

I have the date of all my posts and I want to remove them both from home page and individually. Sweat the site is TheBigStuff.com. I think the code to see it is in the index.php file and there is something similar in the single php file. & lt ;? Php ob_start (); ? & Gt; & Lt ;? Php $ icons = array (); ? & Gt; & Lt ;? Php if (! Is_page ()):? & Gt; & Lt ;? Php ob_start (); ? & Gt; & Lt ;? Php the_time (__ ('FJS, Y', 'Kubrick'))? & Gt; & Lt ;? Php $ sign [] = ob_get_clean (); ? & Gt; & Lt ;? Php endif; ? & Gt; & Lt ;? Php if (! Is_page ()):? & Gt; & Lt ;? Php ob_start (); ? & Gt; & Lt ;? Php _e ('by', 'kubarik'); ? & Gt;: & lt; Title = "& lt ;? php _e ('by', 'kubarik') ;? gt;" & Gt; & Lt ;? Php the_author ()? & Gt; & Lt; / A & gt; & Lt ;? Php $ sign [] = ob_get_clean (); ? & Gt; & Lt ;? Php endif; ? &...

android - how to set input type to be numberdecimal but also allow a "-" -

I have set the input type to number, but it also wants to "-" programmatically populate the editText . I can add text, but then I am unable to edit the text because this number does not confirm the decimal format. How can I say the inputtip number is decimal but can be given a "-" permission? You have to write your own you can start and take it from there. Martin

mysql - why doesn't my php redirect work? -

I am writing a login script, my db.fpp does not echo / print, so why not header ("location : Index.php "); Redirect to successful login? Login information is correct. I know that I have to encrypt the input, but there is no problem right now. & lt ;? Requires Php ('db.php'); $ Username = $ _POST ['un']; $ Password = $ _POST ['pw']; $ Qry = "Choose user from UID where name = '$ username' and pass = '' .md5 ($ password). $ Result = mysql_query ($ qry); if (mysql_num_rows ($ result) == 1) {session_regenerate_id (); $ User = mysql_fetch_assoc ($ result); $ _SESSION ['S_UID'] = $ user ['uid']; session_write_close (); header ("location: index.php"); exit ();} Else {Echo " gt; & Lt; Form action = 'index.php' name = 'login' & gt; Login failed! Please try again with the correct username and password. & Lt; Br> & Lt; Input type = 'submit' name = 'failed...

c# - Call a method with reference params with Reflection -

I need to call zero method with reflection in which there is 2 common parameters and a reference param which is a third parameter . I have seen many posts about this problem and have suggested that everyone use the GetMethod function instead of InvokeMember. I have tried InvokeMember and it works, why can anyone explain me? class1 myreferenceparam = new Class1 (); Myobject.InvokeMember ("MyMethod", BindingFlags.InvokeMethod | BindingFlags.Default, null, myobject, new object [] {myparam1, myparam2, myreferenceparam}); Response.Write (myreferenceparam.myfield); Method Edit Myfield of Field MyMethod Field 1 Is my code correct or should I use GetMethod anyway? GetMethod will provide you method metadata (MethodInfo), to determine the method and take appropriate action Can be used. For example, if the method does not exist or can not be found, you will receive MethodInfo blank, and you can handle this method before calling invokememeber. The suggested logic as the ...

database - ZF, How to generate Entities with Doctrine 2 -

I have recently decided to try 2 principles. I partly manage to integrate Z. The command line works and I manage to query the database. The problem comes with the generation of my differents entities, proxy ... First, with principle 1.x, we can generate, can start from our database, YML files and business sections . Now, with Principle 2, we have to generate organizations with mapping files (metadata in YML, XML, ...). But the file can not be generated with DB in principle 2 (I could not find anything about it ...). So, I created the DSB YML files with MySQL Workbench but these files are not compatible with Principle 2. Fortunately, there is some usefulness in converting YML into theory theory. But I get any other problem: I do not know this or is not helping it! Perhaps someone told me better than the theory and could help me? My problem is changing: The principle can not be mapped to 1 type 'float'! This is a YML part that has a problem: tVenue: tableNa...

c# - How do I disable jscript intellisense in VS 2008? -

Javascript inputs let me know VS 2008 is giving an error in SP1. Whenever this happens, VS At this point there is no liability where I got nothing. To see if this is a problem, I would like to temporarily disable JavaScript Intelligence. How can I do this? Select from the Visual Studio menu: Tools -> Options -> Text Editor -> JScript Re-uncheck Auto List Member and Parameter Notification .

sql - Question: how to use the current time in a where clause -

There was a question in my mind. Is there any possibility of using the current timestamp instead of the selected date in a clause? Choose where it starts from> = '2010-07-01' / Pre> I thought it Will be sth. Such as: start = 'now ()' or curdate () or curtime (). Anything I found was that their selection is used in the clause, but where do I need it? Any help is greatly appreciated. Flora select this where it starts here & gt; = Now ()

asp.net - CompleteRequest in HTTPModule's OnError event -

I have installed an HTTPModule that, on an ASP.NET applications, to log an error in a database. However, what is happening to me is that if the exception is in the loop, then the page continues to execute (also logged with all the errors). This is the code for an on-earer event of the HTTPModule: attib configuration error = attib configuration. GateConfig (); HttpContext ctx = HttpContext.Current; HTPRS response = CTX response; HttpRequest request = ctx.Request; // An error when stringbilder innerExceptionText = new StringBuilder (); Int i; String error message = string Empty; String Error StackTrace = string.Empty; String error: BaseMessage = string.Empty; String Error BaseStackTrace = string.Empty; String errorInretext = string Empty; Exception e = ctx.Server.GetLastError (); // Retrieve top-level exception information; In uncontrolled errors, this is usually an example of HTTPPNEnded Expression Class, in which all the information is included Error message = E. message; Erro...

bash - Writing a Cron Job That Can Access User Data -

I am trying to write a cron job which runs a report, and emails as a result of my user's defined address The ~ /.bashrc file was working on Fedora completely, but when I went to Ubuntu, my solution does not work anymore. Currently my order is a run order: /home/myuser/.bashrc; / Home / myuser / bin / runreport If I run that command manually, or it started through the gnome-schedule, it works perfectly, but It seems to run anytime. Is there something specific for Ubuntu that will block it from running? Output of Crontab-L: 0 8 * * *. /home/myuser/.bashrc; / Home / myuser / bin / runreport # JOB_ID_1 grep -i output of cron / var / log / syslog: 4 Aug 08:00: 00 localhost cron [23234]: (Mysore) CMD (./home/myuser/.bashrc; / home / myuser / bin / runreport # JOB_ID_1) If / home / myuser / bin / runreport is a script, add the following two lines to the top: Change the env set -x and crontab lines as follows: . /home/myuser/.bashrc; / Home / myuser /...

python - Django from Java developer perspective -

I am a long time Java programmer and lately I am digging in Jiggang to see it. It seems to me that Django Java does not fit the web developers' taste. I mean that in the MVC java web framework we usually have a controller class that receives the request, get the argument and then the next the train also follows this pattern is. On the other hand, Dengig looks a bit procedural, you map requests to a file, write your handlers in the other, write So, I think the rail Java Java The developers are friendly to the taste and the DJGENGO is suitable for PHP people. If you are a Java web developer, how do you see Django? Are you a Java programmer who is happy using the Django? (I do not underestimate DJ ango, Django Framework is indisputable). On the other hand, the jigs look a bit procedural, you map requests to a file, Write your handler in one another, write another one to your domain classes ... As a Java developer, how is it different from traditional Java MV...

python - A thread pool that lets me know when at least 1 has finished? -

I need to use a thread pool in Python, and I want to know that after at least 1 time Or "Permission for maximum threads" has expired, so I can start it again if I need to do anything. I am using something like this: def doSomethingWith (dataforthread): doostf () i = i-1 # thread ends I = 0 poolSize = 5 threads = [] Data = # of data while Lennon (data): while true: if i As I think, my code opens 5 threads, and then starts new threads for all threads Data is consumed before it ends, but what I really want to do I'll start a new thread as well as finish the thread, and the pool has "available space" for a new thread. I have been reading, but I think that there will be only one issue in comparison to my code (not sure, new to python but includes all of this included) . Does anyone have an example for what I am trying to achieve? I mean as soon as I want to know & lt; Size compared to pool, i = poolSize until new threads are launched and so ...

formatting - Sitecore: Forcing pasting as unformatted text -

Is there a good way to paste the text inside a rich text field into a text form? I know that the rich text editor has the "Paste as text" button, but content writers almost certainly only insert text to paste Ctrl + V or right-click->, and if that word is Word All the hell breaks with hell markup, we have to paste the notepad notepad so far, and then to copy that text and paste it into a rich text field, but this solution Neither would have been inconsistent and I hate it. look at the settings P> & lt; Property name = "strip formatting onpast" & gt; Any & lt; / Property & gt; The last time you have a file in /sitecore/shell/radcontrols/editor/ConfigFile.xml Needed, I went there and made changes and it worked fine. Should still work, unless it changes anything: -)

CruiseControl.Net not playing nice with PowerShell -

यहां मेरी पावरस्क्रिप्ट कार्य है & lt; powershell & gt; & LT; स्क्रिप्ट & gt; RunScout3G.ps1 & lt; / स्क्रिप्ट & gt; & LT; निष्पादन & gt; सी: \ WINDOWS \ system32 \ WindowsPowerShell \ v1.0 \ PowerShell.exe & lt; / निष्पादन & gt; & Lt; लिपियों डायरेक्टरी & gt; सी: \ प्रोग्राम फ़ाइलें \ क्रूज नियंत्रण NET \ Our_PowerShell & lt; / scripts डायरेक्टरी & gt; & LT; buildArgs & gt; & lt; / buildArgs & gt; & LT; successExitCodes & gt; 0 & lt; / successExitCodes & gt; & LT; buildTimeoutSeconds & gt; 900 & lt; / buildTimeoutSeconds & gt; & Lt; वर्णन & gt; एक PowerShell स्क्रिप्ट को चलाने का उदाहरण। & Lt; / description & gt; & Lt; / powershell & gt; यह त्रुटि है ... & lt; buildresults & gt; & Lt; संदेश स्तर = "त्रुटि" & gt; शब्द 'सी: \ प्रोग्राम' को एक सीएमडीलेट, फ़ंक्शन, लिखे गए & lt; / message & gt; & Lt; संदेश...

javascript - iframe.contentWindow on IE8? -

मेरे पास पेज पर एक तत्व है: & lt; iframe vspace = "0" hspace = "0" शैली = "अतिप्रवाह- y: ऑटो; अतिप्रवाह-एक्स: ऑटो; शब्द-लपेटो: ब्रेक-वर्ड; सीमा: 0 पिक्स;" id = "कुछ-आइफ्रेम" & gt; & lt; / iframe & gt; और मैं सामग्री प्राप्त करने की कोशिश कर रहा हूं निम्न जावास्क्रिप्ट का उपयोग करके इस फ़्रेम की आंतरिक संपत्ति: document.getElementById ('some-iframe')। ContentWindow यह कम से कम एफएफ, ओपेरा, क्रोम के तहत ठीक है, लेकिन IE8 के तहत मुझे मिल रहा है: & gt; & gt; & gt; Div class = "post-text" itemprop = "text"> बेवकूफ़ I, "समस्या" हल हो गई है, [] बस FireBug लाइट अजीब व्यवहार है।

visual studio 2008 - In sql server - report server URL acces denied error -

When attempting to open the report server URL http: // / report server I'm getting the error / Not enough permissions rsAcessiedied error is to add a domain account to the reporting services to get all the privileges so that I can open the Report Server URL. Go to http: // on the Administration screen Ask your SQL Server DBA about which account to use or to do so. Then click on the Properties tab, click on the new role assignment, and the account that is being deprecated (This may only require a browser role.)

java - What equivalent in MIDP programing to the JButton of swing-application? -

In the swing (GUI) application I used to use jabbets. Now I need the same application in MIDP and I want to use it with the console ... whom to use with and how to use it and what kind of audience it can be. the wanted. (Because I need to refresh the screen shown after every click on the button) And another question: I use netbins with a cellphone simulator. The screen is too small, there is any way to make this screen bigger, if I have to show some more width? Say, something like 11-15 buttons ... I do not think anything really Is equal to a pocket, but I think you can solve your problem by applying a command. I get a lot of examples: (It's a little late. This is actually a complete chapter from a book and starts on the command example.) (Also a book, but I am related to the related section.) (I like the commandProcessor.java code example in this one.) (This is the least and obvious example code, but unfortunately the end result is not a screen shot.)

php - how to detect model belongs to which plugin in cakephp? -

How to detect in App Module, the model has been loaded, which plug-in is it? Edit: When I look at model names or other details in AppModel, there is no difference between the model loaded from the main program and the one model which Loading inside. I need to know that there is some action related to the model plugin. You can find your model being used by the model :: name property check It's set for you. If it is not so, then what are you after, please edit your question. Your purpose is a bit unclear.

customization - How to get rid of the CRM 4.0 "new_" prefix -

Whenever I am creating a custom unit in the CRM, there is a prefix with the type "new_" so there are no attributes How can I be modified / deleted? This is a prefix for custom entities and attributes. To change this: Login to the web interface with an administrator account Select: Settings - > Administration -> System Settings Select the Optimization tab Prefix Change the value

Getting paginated pages information from a Wordpress post -

I & lt ;! - nextpage - & gt; I'm separating long posts using , but need only for output user comments on the last page of a post. I can not find a way to calculate the number of pages endorsed and then page == if the output is final page. Any help is appreciated you $ wp_query - & gt; Can check with query_arrow ['page'] . On the first page, this value will not be present, while the latter pages will be set with the current page number. $ currentPage = isset ($ wp_query- & gt; query_vars ['page'])? (Int) $ wp_query- & gt; Query_vars ['page']: 1;

AutoMapper: create instance of destination type if source == null -

If the source object is empty, is it possible to configure Automaker to return a new instance of the destination type? source source = null; Dest d1 = AutoMapper.Mapper.Map & lt; Source, Dest & gt; (Source); // d1 == null // I'm looking for a way to configure // Automap to eliminate this code: Dest d2 = AutoMapper.Mapper.Map & lt; Source, Dest & gt; (Source) ?? New destination (); Answer your question (partially): Setting it to False by setting a named "ConfigurationNullDestinationValues ​​ that is set to true by default, let me know in the question Be shown behavior, for example: Mapper Configuration. Allow translation translation value = false; // ... source source = null; Dest d = AutoMapper.Mapper.Map & lt; Source, Dest & gt; (Source); // A new example of DI DIEST now This solution works fine for simple types, where the source and destination type map is well-formed. I have some problems with complex mapping (I will update...

lamp - How do I find out a server's load? -

I am creating a PHP script that will capture some information from servers and databases at regular intervals. Server LAMP is running. Is there a way to output server load or other data that can indicate performance or load on the server including MyScall? just try cat / proc / loadavg or uptime The printout of the current load of the server is 1 minute / 10 minutes / 15 minute interval. Maybe you can have a look or nagios

iphone - UIImagePickerController cameraViewTransform acts differently in iOS 4 -

I upgraded both my iPhone and SDK to iOS 4.0.1 and now my app has not run in the same way The way he was running in iOS 3.x My app uses UIImagePickerController with custom camera overlay (which I will suppress this post). The main point is that I need to look at the iPhone camera in full screen mode. To go straight to the problem, I'll put some code and screenshots to explain what's going on. I have created a visual-based application using the XCode template project called "CameraTransform", so I found two classes: CameraTransformAppDelegate and CameraTransformViewController , Okay! I have inserted the following code in CameraTransformViewController method: - (zero) viewDidAppe: (BOOL) animated {[ : Animated]; UIImagePickerController * Picker = [[UIImagePickerController alloc] init]; Picker.sourceType = UIImagePickerControllerSourceTypeCamera; Picker.delegate = self; // [self configured picture_first: selector]; Use it! // [self configured picture-sec...

multithreading - Can I limit the I/O of my C# app -

I created an app that works on thousands of files, then writes revised copies of these files on the disk. I am using Threadpool, but it was creating multiple threads, which was not responding to PC 26 fees), so I changed the default of 50 to 50, it resolved that problem (app only approx. 60 spans about the thread), although now the files So getting ready soon, so the PC where the UI is being elevated is unresponsive. Is there any way to limit the amount of I / O - I mean, to work on 50 threads, but write 50 threads at the same time while writing. I will not do the architect instead of writing files if I can save it - I was hoping that I can limit the amount of I / O (together) to these pool threads. Use a semaphore to make no limit Limits the number of threads that can access pools of resources or resources simultaneously.

perl - How do I install Devel::Cover on ActivePerl 5.8.7? -

cpan fails with this strange error as follows Error: Install Pearl Libraries or Perl Unable to locate the source code. It is recommended that you install Perl in a standard location before the extension is built. Some precompressed versions of Pearl do not have this header file, so you can not create extensions. In this case, please install and install your Pearl with a new Perl distribution. This usually solves this kind of problem (you receive this message, because the makemaker "D: \ fbl_esc_bcd_tb \ tools \ perl \ lib \ CORE \ perl.h" can not be found) Running Testing Some Problems Maybe, interrupted? Running test will not test Install some problems, maybe interrupted? Will not be installed The problem is that I can not install new active Pearl versions in this environment and the device I want to cover does not run out of this environment. Long answer: This is not a general message from MakeMaker, so I am ready to estimate an ActiveState addition of it, but t...

asp.net mvc 2 - ASP MVC 2 Data Annotations not working with VS2008/ASP 3.5? -

I've added data annotations in the 'friends' category referred to in MS guidance. Specifically, [DisplayName ("name")] does not affect anything. My understanding is that the value assigned to annotations should be used by Html.LabelFor (m = & gt; m.Attribute) assistant to reference the assigned value and label for the field. Am I wrong on this? I saw in the data class that there is a strong-type view called Antitian name + antitonym_ deviation. Need to pull extra components? I tried to make a scene to use one of those types and there is no loft in the resultant scene. Maybe it's a different topic that is completely UIHint does not seem to affect any effect. As mentioned, it is ASP.NET 3.5 code, in VS 2008. I am using SQL from Linux, perhaps it also makes the full use of data annotation ineligible. using the system; Using System.Collections.Generic; Using System.ComponentModel; Using System.ComponentModel.DataAnnotations; Using System.L...

svn - How do I find out in what revision a file got deleted? -

A file has been deleted somewhere in my previous 50 commitments since the file is no longer making the version, so I can easily reference it can not do. How do I check in my previous 50 comments, and who removed the file? Using subversion is very easy 1.8+ command line client if you remember the name (part of the name Will also work) or in some part of the path of the extracted file, you can run to find the modification that touched the file. You gossip customer example, TortoiseSVN.

Connecting Ruby to MSSQL server without DBI -

Is there any way to connect Ruby with MSCLL without using DBI? Is there a country Ruby TDS Lib that handles? Free TDS comes into focus, though I have not used it. MSSQ from Java TDS Ruby ODBC or Java ODBC SAP is using TDS ending points. The MSSQL DBI is much better than them. Although I think that you are running Linux and trying to connect to MSSQL, then try "Free TDS" to set up and configure for all the flavors of Linux, to show that the Stacks and Stacks of Sites Are there.

assemblies - Instruction-level debugging of .NET files -

I'm looking for a instruction-level virtual machine debugger for debugging .NET files. Files release and disassembling, and there is no alternative to compiling them again. - Debugging plugin for Reflector Also the Pro version is a VS . Adin, which allows , step into encrypted assemblies and use all debugging techniques that you will do on your own code

jquery - Why does my javascript function not work in Internet explorer -

This is my JavaScript function. It is nested in a document. Function () $ (".bim"). Change (function () {var str = ""; $ ("input: checked"). Each (Function () {str + = $ (this) .next (). Text () + "_";}); Str = str.substr (0, str.length - 1); alerts (str);}); It works fine in Firefox and Chrome. It does not work with IE8 and IE6 I'm very new to JavaScript and help would be greatly appreciated Internet Explorer does not support : checked pseudo class (nor does Sisal IIRC also). Internet Explorer : checked: does not support, but Bobbens said it back on Sizzle Will fall, which actually supports : checked . Which version of Internet Explorer are you using?