Posts

Showing posts from July, 2014

.net - SQL Server and SqlDataReader - Trillion Records - Memory -

I've never tried to do this - so I do not know if I'll run into memory problems. But can a SqlDataReader read a trillion record? Is this all right? UPDATE To translate the trail, a very large number means I probably should have said something like 1 billion or 100 million. Yes, this stream will be ... but I do not think that you actually try to do this needed. If you can read one million records per second (which is not for me) you will still need 12 days to read trillions of records. .. It is a lot of work to lose the half way. Now I suppose that you probably do not want to read actually trillion records, really, but I have to say that if you do your "big money" work differently in logical batches So, maybe this is a good idea.

python crypt.crypt in ruby? -

Hello, I need the Ruby of this code do not know how I Ruby, crypt.crypt method any ideas I write ? (I wanted to emulate linux comand. Htpasswd) import random import Crypt letter = 'abcdefghijklmnopqrstuvwxyz' \ 'Abiseediifjiacaijekeelmanopikartiuviaksaks' \' 0123456789 /. Salt = Random. Beech (letters) + random Rice (characters) password = "bla" Print Cryptkcrypt (password, salt) I believe that the crypt of Ruby's Python. The equivalent of Rijndael, Ruby will be identical as your code: letters = 'abcdefghijklmnopqrstuvwxyz Abiseedifjiacaijikeelmanopikarstiuveedblyuekswaijed 0023456789 /. 'Salt = letters [rand papers] Length] .chrr + letters [rand character length] .crr passwords = "blank" password Crypt (salt)

Effect on clients of moving from .NET framework 2.0 to 3.5 -

We have run a desktop application on a few thousand client computers. We want to go from Frame 2.0 to 3.5, but are concerned with the impact on customers. I understand that 3.0 and 3.5 are beyond the framework, and that they install the service pack in 2.0; What specifically do I want to know: When a client is upgraded to the latest version (strong upgrade) and they only have Framework 2.0 or 3.0, then go to Windows and go to the background Invisible 3.5 will grab? If not, can we make this part of the installer or is it only available through Windows Update? ( Edit : We use MSI.) If there is no way to make the user an invisible process, then whether a site that provides step-by-step instructions Does it? If a customer is on a box where they do not have the rights to update the structure, can any such app still be used to work properly? If you are using an MSI installer for your application, 3.5 will try to install. If you are not using MSI, ask them to go here:

one to one - Castle ActiveRecord OneToOne and JoinedBase/Key all together, No SQL Relations Created -

I want to prepare the following relationship. [Include] MasterForm {Guide MasterFormId {get; Set;} / * Some basic properties such as modified BI etc ... * [ActiveRecord] TerminationForm {[PrmaryKey (Foreign)] Guid MasterFormId {get; Setting;} / * Certain additional properties to finish * /} [ActiveRecord ("TermStaffing")] PublicService TermStaffing: StaffingBase, ITermStaffing {} Public Abstract Class StaffingBase: EntityBase & LT; StaffingBase>, IStaffingBase {Protected StaffingBase () {} Protected StaffingBase (string created) {This. Created by = made; } [Primary KEY (Primary KT Typ. Forison)] Public Virtual Guide MasterFormID {Received; Set; }} All of these main class succession ... base form and then creates certain variations .. surrenderform, another form ... etc ... And then I was hanging some other form-sections as every child. I prepared those hair forms as [annonance] Ie If the TerminationForm is consistent with FormOne .. I have the following &

Problems sending html email in php -

I am trying to send an email that has layout and images. Am I doing wrong? & lt ;? Php $ message = $ _POST ['message']; $ Emailbject = 'site.com'; $ WebMaster = 'email@site.com'; $ Body = "& lt; html> body bgcolor = \" e7e7e7 \ "style style = \" text / css \ "& gt; #body {margin: auto; range: 0; padding : 0; Font -Fillily: Georgia, Times New Roman ', Times, Serif; font-size: 12px;} #Millle header {width: 500px; height: 131px; background: url (http://www.site .com / images / image .gif) no-repeat;} # email content {width: 500px; background: url (http://www.site.com/images/image2.gif) repeat-y; text-alignment : Left; padding: 0 33px 0 6px;} #emailFooter {width: 500px; height: 34px; background: Y RL (http://www.site.com/images/image3.gif) no-repeat;} & lt; / style & gt; & lt; table width = \ \ "Cent; & Lt; Table width = \ "500 \" limit = \ "0 \" cellpadding = \ "0 \&quo

php - Is it possible to detect the field type of a MySQL field in CakePHP? -

I plan to convert all date time data from a MySQL database to the format date ('D-M-Y') I am making I'm thinking of doing it in AfterFind () callback, but I'm wondering, how does the KPHP detect field types so that I can make conditional statements? Thanks in advance! Closing the top of my head: model :: $ _ schema database table For the field type, it is encoded by the cake using the SQL DESCRIBE questions, to find out the type of field you have in your query results in a afterFind () Callback and Access $ this- & gt; _schema . debug ($ this-> _schema); Try to see how it is structured.

Rails is continually running in test mode -

After upgrading the train, 2.3.5 I had to work again and the test was passing. Then suddenly when I run the script / server command it always runs in test mode, which is seen by a simple> RRLs_env puts I restarted my machine as well as the script / Server commands run ** I should keep in mind that even when RAILS_ENV is shown as a continuous "test", the database config is used to develop. Update to add the RAILS_ENV statement to the whole code, I can see that when I add one puts out of the rail: Initializer.run do | Config | Block within the environment. The RB class is set to RARS_NIV "TEST" at that point before it ends the block, it is still under development. The reason for environmental change was that, without thinking, I load the rspec gem in the development.rb file Done

url - MVC Advanced Routing -

I am trying to route the URL that does not have a constant action, which users can create systems Which is any string I have to have URL like the following: http://yousite.com/System/WIN1234/Configure By default the routing mechanism thinks that WIN1234 is the action, while I want to be able to catch WIN1234 and throw a system to decide. As: Public Zero Root System System (word string, string action) {Switch (verb) {case "Configure": Configure System (String System); break; }} How can I do this? Is it logical or am I thinking all about it wrong? What you need to do is possible. You have to set a default route that indicates system action, and you have to accept other values ​​as the parameters of action. // Common routes MapRoute ("Default7", // root with name "{action} / {param1} / {param2}", // parameters new {controller = "home", action = "index", param1 = "", param2 = ""} // parameter defa

markdown to HTML with customised WMD editor -

When I enter the user in the blank row, the way I treat WMD for my application, In this HTML output, & lt; Br / & gt; S . Now I came to a point when I should store it somewhere else on the backend and so after going to such posts for some time, I am not sure what is the best way to do this. I have some options and if you can tell that their professional / opposition will be highly appreciated. Send to the server and store it as a markcard instead of HTML. I have to maintain the same outline as a basically recorded user. But then how can I change it back to HTML to display the client? There is a lot of difficulty in changing this on the client side, even if it is possible, what if JS is disabled? If I wanted to do it on the server, standard server side management could be expensive as HTML. Will this be an issue in your opinion? Even if this is not the case, as I mentioned that my WMD implementation has been customized and those server-side solutions will probably not d

Dynamically Auto-Linking instance variables to object functions in javascript / jquery? -

I'm trying to create a strong audio player in JavaScript (& amp; jQuery). I know that there are other players, but I want to try to make my own (so please do not see me on jquery plugins). Essentially what I would like to do: Main.js: var player = new player (audio observer); // audio audio link for audio class (not shown) player. Buttons.play = $ ('play'); Player.buttons.pause = $ ('Pause'); // Play the link of the ID for the HTML document element and stop Player.js: Player = function ( Audio) {This.Audio = Audio; This.buttons = {}; (Var buttons in this.buttons) {button.live ('click', this.button); // This is the line that I do not know about.}} Player.prototype = {play: function () {// Do Something}, stop: function () {// something}} Therefore, I would like to pre-link properties to object functions when you initialize the player, and when I link it to an HTML element, then do this work is. Thank you! Matt Mueller I think i

activex - owc replacement -

I use OWC (Office Web Components) v10.0 to embed an Excel grid in an asp.net page I am Is there a replacement technique where an Excel grid can be embedded in a client-side browser? If you are using a SharePoint server, Microsoft offers some such Excel Services, which basically provides spreadsheet functionality. Without the need of deploying a browser, without the need for a genuine component (Excel's work is being done on SPPS server.) Here is the information: I know That's an open source product called WikiKloka, which is a client-side, a spreadsheet component that works in the browser (from Dan Bryllin's company). Here's some information:

c# - TreeView child node populating problem -

मुझे grouping के साथ समग्र डेटाबेस तालिका से एक विशाल वृक्ष का दृश्य बनाने की आवश्यकता है ग्रुपिंग है, जो हम एसक्यूएल सर्वर मैनेजमेंट स्टूडियो एक्सप्रेस में देखते हैं एक के बाद डाटाबेस नोड, कुछ तय फ़ोल्डरों दिखाए जाते हैं (जैसे, डेटाबेस आरेख , टेबल्स , देखें , समानार्थी , Programmability और सुरक्षा ) और बच्चों उन फ़ोल्डर में वर्गीकृत किया है। इस बिंदु तक मैं का इस्तेमाल किया है AfterSelect घटना और हैंडलर इस लक्ष्य को हासिल करने के लिए। लेकिन साथ समस्या AfterSelect है, नोड चयन करने से पहले, दर्शक नहीं पता करने के लिए किसी भी बच्चे है या नहीं सक्षम है उपलब्ध। ऐसा इसलिए है, क्योंकि विस्तार योग्य प्लस चिह्न दिखाई नहीं दे रहा है। मैं इससे पहले एक्सपैंड का उपयोग करना चाहता हूं। लेकिन BeforeExpand के साथ समस्या है, यह काम करता है अगर बच्चे पहले से ही आबादी वाले हैं उस मामले में, जब मैं समूहों पर क्लिक करता हूं, कुछ भी नहीं होता। इसे कैसे हल करें? इसलिए कोड / वेब लिंक की सराहना की जाएगी। मैं आमतौर पर क्या करता हूं एक "डमी बाल नोड" जोड़ना

sql server - What's the best practise to write SQL to get data as follow? -

I have SQL Server 2005. The following two tables in DB 2 "User Infomeshn" ---> (ID ( Auto), name, gender (bit)) 1 "competitor" ---> (ID (auto), Ugraidi (user Instameshn. ID FK), status (Tinint) I wanted to store my process That data comes back - Status - Male calculation - Female calculation - & nbsp; & nbsp; & nbsp; & nbsp; 1 & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 45 & nbsp; nbsp; & nbsp; & nbsp; & nbsp; & Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 15 < Br> & nbsp; & nbsp; nbsp; & nbsp; nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 10 & nbsp; & nbsp; & nbsp; 10 & nbsp; 10 & nbsp; nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & Nbsp; & nbsp; & nbsp; & nbsp; &am

generics - How do I get the Java compiler to tell me what type it infers? -

जब मेरे पास जावा जेनेरिक फ़ंक्शन होता है: & lt; T & gt; टी का चयन (टी ए, टी बी) {} और मैं इसे कहीं से कहता हूं, मैं कैसे पता लगा सकता है कि किस प्रकार टी के लिए अनुमान लगाया गया है? संपादित करें: प्रकार का संकलन समय संकलन पर होता है तो मैं क्या पूछ रहा हूं, मैं कंपाइलर को कुछ जानकारी (अनुमानित प्रकार) को संकलित करने के दौरान कैसे बताऊं, लेकिन वह इसे क्लासीफ़ फ़ाइल में नहीं बनाती? एक मैं जो काम कर सकता हूं वह विभिन्न प्रकार के वेरिएबल को असाइन करने का प्रयास करता है, उदाहरण के लिए: // कंपाइल, तो अनुमानित प्रकार कम से कम थ्रोएबल है थ्रोएबल एफू = चुन (नया EOFException (), नया FileNotFoundException ()); // यदि यह संकलित होता है, तो टी मानचित्र होना चाहिए या ऐसा कुछ जो मानचित्र को लागू करेगा नक्शा foo = चुनें (नया हैशम (), नया ट्रीमार्क ()); लेकिन उस पर असत्य नहीं है मैं संकलक को यह बताने के लिए चाहता हूं कि मुझे 20 प्रश्नों को चलाने के बजाय टी के लिए किस प्रकार का अनुमान लगाया जाए। ग्रहण में, माउस को विधि कॉल अभिव्यक्ति पर रखें। ग्रहण अनुमानित प्रकार का उपय

html - Set div's height to occupy the contents layout -

मैं निम्न प्राप्त करना चाहता हूं: "मुख्य" div और साइडबार "div" सामग्री के अनुसार न्यूनतम ऊँचाई (शायद ब्राउज़र की स्क्रीन ऊँचाई या 700px) की अधिकतम ऊंचाई सीमित नहीं है। "सामग्री" div उन्हें लपेट करनी चाहिए (दोनों की समान ऊंचाई और चौड़ाई) उन्हें) मार्कअप: & lt; html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; head runat = "server" & gt; & Lt; title & gt; & lt; / title & gt; & Lt; link href = "StyleSheet2.css" rel = "स्टाइलशीट" प्रकार = "टेक्स्ट / सीएसएस" / & gt; & Lt; / head & gt; & LT; बॉडी & gt; & Lt; div id = "लपेटें" & gt; & Lt; div id = "content" & gt; & Lt; div id = "मुख्य" & gt; & Lt; p & gt; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx & lt; / p & gt; & Lt; p & gt; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx & lt; / p & gt; &am

symfony1 - symfony sandbox and virtual host -

I have installed Symphony Sandbox 1.2 and thus modified the Apache config to create a virtual host (after this note, but I have been optimized in the form of sandbox. Diars are different than my touts): < P> NominatesHost 127.0.0.1:80 & lt; VirtualHost 127.0.0.1:80> Ask the server name documentRoot "c: / webserver / www / sf_sandbox / web" directory index index.php surname / sf "c: / webserver / www / sf_sandbox / web / images / sf" directory "c: / webserver / www / sf_sandbox / Web "& gt; Allow override Allow all to everyone & gt; Directory & gt; & Lt; The directory "c: / webserver / www / sf_sandbox / web / images / sf" & gt; Allow override Allow all to everyone & gt; Directory & gt; & Lt; / VirtualHost & gt; and modified my host file to map askeet for 127.0.0.1 It works fine except for symphony: < Blockquote> If you do not see any image in this page, you may need to configure yo

entity framework - Unable set table mapping to Boolean = False -

I'm trying to set one, I want to set mapping when Boolean column = True I am unable to do this. This only works when the Boolean column is not even a property. So make sure that you are not trying to map that column to the entity's property.

java - creating custom button in gwt -

Image
After I'm trying to do something very common with GWT - but with an image by setting the position of the text Button behavior and text above the image I have used the html widget, but how can I not select the text? I had the only need for a recent GWT button to add images and text Allows So I coded myself one because the already available implementation was not working. I also copy the code here: Here is the code for your custom button import com.google.gwt.resources.client.ImageResource; Import com.google.gwt.user.client.DOM; Import com.google.gwt.user.client.Element; Import com.google.gwt.user.client.ui.Button; Import com.google.gwt.user.client.ui.Image; Public class increases the custom button button {Private string text; Public Custom Button () {super} (); } Public Zero Set Resources (ImageResource imageResource) {Image img = New Image (imageResource); String defined: style = img.getElement () GetAttribute ("style"); Img.getElement () SetAttribute (&

algorithm - Quicksort superiority over Heap Sort -

The worst case complexity in hep sort is O (nlogn), whereas Quikort is O (N ^ 2). But strategic evidence says that the Duchessite is the best. Why is it like this ?? One of the main factors is that area is better - To access the next thing, it is usually closer to remembering what you saw. In contrast, Hepsport jumps around a lot more. Since things that are closed together, they are cached together, because the store quickly becomes faster. However, the QuickTorrent Bad-case performance is significantly more important than the Hedststel because some important applications will require guarantees of speed performance, such cases will be required. Hepesport will go to the right way.

javascript - jQuery slide/fade functions -

I'm trying to modify this snippet: $ (document) .ready (function () {$ ('.shoscript'). Show (); $ ("div.content: not (.about)"). Hide (); $ ("Subnav a, .Mainnav a") Click (function () {// Remove possible circles ("Subnav a, .mainnav a"). RemoveClass ("active"); var href = $ (this) .attr ("href"); // Click the link hilight $ ('A [href =' '+ href +' "] '). AddClass (" active "); // possibly $ $ (" content ") shown Hide Hide (); // My Content $ ("DivContent: is (a [name = '" + href.replace ("#", "") + "'])"). Show ();});}); It is such that when a link is clicked in .subnav or .mainnav it is swap doing this animates. I would like to use jQuery feedin / out, but I'm sure Is not that how do I apply it? The script is very specific so that the content can be shown from Menonov and the suburb, and whenever clicked, change the ac

php - Modified preorder tree traversal - finding the next node -

मेरे पास यह डेटा है: id | माता-पिता | एलएफटी | आरजीटी | नाम ===================================== 1 | 0 | 1 | 8 | एबीसी 2 | 3 | 5 | 6 | जेकेएल 3 | 1 | 2 | 3 | Def 4 | 0 | 9 | 10 | Mnno 5 | 1 | 4 | 7 | < मुझे इस क्रम (आईडी) में इस अनुक्रम को पार करने की आवश्यकता है: 1> 3> 5> 2> 4 मैं इसे कैसे प्राप्त करूं? मान लें कि मुझे नोड_एक्स के अगले नोड को ढूंढना है। यदि (node_x_rgt - node_x_lft == 1) {next_node_lft = node_x_rgt + 1; } Else {next_node_lft = node_x_lft + 1; } यह सूत्र कुछ मामलों में ही काम करता है (नोड आईडी 1,3,5,2)। नोड 2 का अगला नोड 4 होना चाहिए। आपके द्वारा दी गई जानकारी के साथ मैं सलाह दे सकता हूं कोशिश करें: आईडी से टेबल ऑर्डर से * चुनें * बीटीडब्ल्यू, आईडी 4 के लिए एलएफटी और आरजीटी कॉलम पेड़ से बाहर हैं, एक त्रुटि की तरह दिखता है बीटीडब्ल्यू 2, अगर यह होमवर्क है, तो इसे इस तरह टैग करें। संपादित करें : प्रश्न का संस्करण 2: इन प्रकार के वृक्षों के रूप में अपरिवर्तनीय है कि सभी नोड्स के लिए (lft & lt; rgt) अगर टेबल में केवल

object - Oracle type compare -

Oracle & amp; Objects: I have a table that contains more than one object (using inheritance), but I want to know the actual type of each (using the loop and?). Provide an example Thanks in advance Div class = "post-text" itemprop = " Text "> What you want is the segment.

asp.net - Client populating server collections at runtime -

I select a date on the calendar control by the client, adding it to a list of date-time objects on the server every time Amen, and in turn, highlight all the selected dates on the controls. I am able to highlight all the immediate dates (change back color) in the list on page load, and publish the date the customer first selects. Although the next date selection on the control is changing only on the date which has been highlighted on the date ie, No more highlighting I thought the date by which the object was selected by adding a list to the list on the runtime and then adding them to the "selected dates" in the calendar, the property was selected around the problem of calendar control The selected duty shows a list of debugging textbox shows by printing all the dates within the property date on the selection of a new date, starting dates with the list. Defense was the latest selection within the list, rather than the previous selection. My question and what I think is

visual studio - How do I set the target platform for an ASP.NET Website -

I have a website project that needs to load 32 bit DLL, and I developed the site on Windows 7 64bit I am doing For this reason, one of the 32-bit DLL has failed to load. Generally I can go to project settings in a desktop application project, although I am unable to locate the settings. I am using Visual Studio 2008 My view is that It does not offer anything valuable. Even if you have permission to compile in 32 bit mode, someone else can be run in a 64 bit application pool by mistake, it can still be a disaster. As the application pool is always an IIS setting, we should be careful about site deployment, not compile.

c runtime error message -

This error was shown when creating a file using fopen in C programming language NTVDM CPU encountered an invalid instruction CS: 0000 IP0075 OP: f0 00 f0 37 05 Close 'choos' to finish the operation. This type of thing usually occurs when a program tries to execute data as a code. In return, this usually happens when someone stops the stack and writes the address of the return. In this case, I would think that "IP0075" is an indicator indicator, and it has been concluded that invalid instructions are 0x0075. My condition is that this address has not been mapped to the app executable code. UPDATE over possible connection with POP: OP states that removing the code causes the problem to be solved. Unfortunately, this does not prove that fopen is the cause of the problem. For example: The deleted code may contain extra local variables, which means that stack trammling is killing the return address in a case ... and In the second case, some words

python - Google App Engine Application Extremely slow -

I have created a Hello World website in Google App Engine, it is using DJZongo 1.1 without any patches. Although this is just a very simple web page, it takes a lot of time and often it seems to be many times. Any suggestions to solve this? Note: This is responding quickly after the first call. This is a terrible suggestion but I will make it anyway: A little Create a client application or use crone with wget to access your code periodically, perhaps once every 5 minutes or so it is a passive status to Google Should be put in. I say this is a terrible suggestion because it is a waste of resources and Google's free service is misused. I hope you would like to do this only during a small test / startup phase.

windows - Does GPL code linking with proprietary library depend which is created first? -

Microsoft makes its Windows and MFCC DLL libraries etc. An open source development writes a new MFC application and releases the source code GPL The app has to link to MS DLL / Library for running the app in Windows, but I do not think anybody can argue that now we have the right to give Microsoft GPL the power to DLL. This means that the GPL license really depends on who "created" first? If the proprietary library is created first (such as Windows DLL) which is published without any links and GPL code and later a GPL program is connected, then the GPL program does not convert the proprietary library to GPL Although the ownership code is connected to the "GPL code". If this happens, then such company of Nvidia or Real Networks can do the following? Let's assume that they want to keep proprietary HDDoding media decoding engine libraries private, but they also want the "leverage" open source GPLD code to display their hardware. They create a

http - Should I use 404 Not found or 410 Gone for a bulletin board system, when a topic is deleted? -

I am creating a bulletin board system, and now I am implementing the 'Delete Subject' feature for the administrator. If a deleted topic opens, then the server can not detect it, so it should be 404. On the other hand, this topic is present some time ago, so I have to use 410. To implement 410, a new table called deleted_topics will be required, and more space is required, however, 410 I think it is better for search engines what do you think? Should I use 404 or 410? 404 not found The server has requested - no indication whether the status is temporary or permanent. If the 410 (gone) status code knows the server, through some internally configurable mechanism, that an old processing is permanently unavailable and there is no forwarding address. This status code is usually used when the server does not want to disclose why the request has been rejected or when no other response is applied. 410 went The requested resource is not available on the server and no forwa

Adding text to a table data cell with jQuery -

क्यों यह कोड: row.append ($ ("& lt; td & gt; & lt ; / टीडी & gt; "।) पाठ (" someText ")); ... काम नहीं कर रहा है, और मैं इसे कैसे ठीक कर सकता हूं? कोड ठीक काम करता है, जैसा कि इस के साथ दिखाया गया है कोड को देखने के लिए URL पर / संपादित करें जोड़ें फ़ायरफ़ॉक्स 3.5 और आईई 6 में टेस्ट किया गया $ ('बटन')। एक ('क्लिक', फ़ंक्शन ($ {'(# myTable tr: last')। ऐप ($ (" & Lt; td & gt; & lt; / td & gt; ")। पाठ (" कुछ पाठ "));}); इसके अलावा, आप $ ("& lt; td & gt; कुछ पाठ & lt; / td & gt;")

membership timeout and session timeout -

To avoid membership, you must set a membership timeout for the session termination and the login session expires It is a problem that I face in my ASP.NET application that I am using login control and when the user sends a comment and the login control session has expired, then comment on it Do not accept Ran and I knew later that the end of the login control session before I ended the membership. How can I end membership time to expire B4 session expired? In advance thanks You can set timeout for session and authentication cookies : & lt; Authentication mode = "form" & gt; & Lt; Forms loginUrl = "/ login.aspx" requireSSL = "true" security = "all" timeout = "15" domain = "example.com" sliding aspiration = "true" name = "auth_cookie" /> & lt; / Authentication & gt; More Sessions: & lt; System.web & gt; & Lt; Sessionstate mode = "infrac" cooki

zend framework - Zend_Tag_Cloud - Set options -

How can I set a minFontSize property at zend_Tag_Cloud? It looks like this at the moment, but I get an error: Decorator, Zend_Tag_Cloud_Decorator_Tag $ cloud = newZend_Tag_Cloud is not an example (Array ('Tag' = & gt; array (array ('title' = & gt; 'code', 'weight' => 50), array ('title' = & gt; 'Z Framework', ' Weight '= & gt; 100), array (' title '= & gt;' PHP ',' weight '=> 25))); $ Cloud- & gt; Settag Decorator (array ('minFontSize' => 20)); $ Cloud resonance; Try something like this: $ Cloud = new Zend_Tag_Cloud (array ('Tag' = & gt; array (array ('title' = & gt; 'code', 'weight' => 50), array ('title' => gt framework ',' Weight '' & gt; 100), array ('title' = & gt; 'PHP', 'weight' => 25), 'tag decorator' = & gt; array ('deco

c - I need some weak entropy. I know I can use an unitialized buffer, but if I just need an integer's worth, would its address suffice instead? -

I am on Linux, where address space layout is randommaking. Is it necessary to declare a buffer on this stack, it can not be canceled, and use it for entropy, or I can already find something on the stack, put it in the whole and (knowing that This is somewhat random reason, instead of addressing space layout randomization, use an integer for entropy? Pointer approach is an advantage that there is no compiler warnings Does not arise because initial buffers when you try to manipulate it, but only in my trial can be the address of the lower order (probably the last byte or two), the greeting will turn into a voice. The entropy buffer also It seemed to perform poorly, often it did not do anything. If you need weak entropy Linux, why not read it? There is a non blocking type of / dev / random that is less ... random (but again, non-blocking).

templatetags - Django template get first? -

मुझे ऐसा कुछ करने की आवश्यकता है {{article.product.images.first। Image.url}} मेरे टेम्पलेट में है, लेकिन कोई "पहले" ( छवियां एक संबंधित प्रबंधक है जिसके लिए मैंने पाया बहुत कम प्रलेखन)। क्या ऐसा करने का एक और तरीका है? मैं {{article.product.images.get_query_set | पहले}} के साथ पहला मॉडल प्राप्त कर सकता हूं लेकिन फिर मुझे कुछ गुणों को खोदने की आवश्यकता है गहरा है, और वह काम नहीं करता है। यदि यह मदद करता है, तो मेरा इमेज मॉडल इस तरह दिखता है: class ComponentImage (models.Model): component = मॉडल। फ़ॉरवर्डकी (घटक, संबंधित_नाम = 'चित्र') छवि = मॉडल। इमेजफिल्ड (अपलोड_to = 'अपलोड') और article.product एक घटक । कैसे के बारे में {{article.product.images.all .0.image.url}} '? यह अजगर अभिव्यक्ति के समान है article.product.images.all [0] .image.url । एक अन्य विकल्प उत्पाद मॉडल को एक विधि जोड़ना है जो चित्र [0] .image.url देता है।

java - Handling data in ActionBean -

How do I save data between two events in ActionBean? In the following example I can make a contact in addContact () , preserve it and save it for the contact attribute. addNumber () , its null In a personal contact contact, when I try to use that redirect after contact ; ... public solution addNumber () {log.debug ("addNumber () to contact = {}", contact); Return to the new forward resolution ("/ addNumber.jsp"); } Public resolution addContact () {log.debug ("addContact () - name = {}", name); Contact = contactFacade.create (name, surname)); Log.debug ("addContact () OK - contact = {}", contact); Return new redirect revolutions (this.getClass (), "addNumber"); } What am I doing? This should work: public solution addContact () { Log.debug ("addContact () - name = {}", name); Contact = contactFacade.create (name, surname)); Log.debug ("addContact () OK - contact = {}", contact); // To add this ac

Determine the app IDs of applications on iPhone -

Do anyone know how to program an application ID on an iPhone? To wit. To determine which apps are installed on the iPhone? You can not do this phone without JellyBreaking the 'Sandbox' apple app, so its the box Can not see out If you had a special application, and there was a URL scheme in that application, then you can check whether the scheme was supported (which the app was probably installed), but it is as close as you want to recive.

android - Wrapping a LinearLayout from xml -

I'm trying to create some Android view classes (which are wrappers only around the layout defined in XML file) Correct: Public Square MyViewWrapper LinearLayout Expanded {Private TextView mTextView; Public MyViewWrapper (reference reference) {super (reference); } Public Construction UI () {LayoutInfleter Inflator = (LayoutInflator) getContext (). GetSystemService (References LAOUT_INFLATER_SERVICE); Inflater.inflate (R. layout.mayview, this); MTextView = (TextView) findViewById (R.id.myview_textview); }} So it is an idea that I can create my thoughts in such a way, and they have reason to modify their child's ideas. The layout looks like this: & lt; LinearLayout & gt; & Lt; TextView / & gt; & Lt; / LinearLayout & gt; It looks like I'm going to get an extra unnecessary liner layout. The wrapper class itself is a LinearLayout, and then it will add the internal linear layout to the xml file. Is that okay? Thanks You & lt; L

hydrate in nhibernate? -

What is hydrate in nhibernate? I am not able to get my head around this period. Please give advice. Thank you AJ You may wish to see. It's a part of the hydration that you might find interesting. But in reality, hydrations from the simple view mean that the raw continuous storage module and the map take the object / object list. Look at Update or I think this is happening in the video you describe for the hydration of the objects. Example This is actually a simple hydration example (not a NHibernate example) We say that we have a query Like the name: Select the name, breed with tblDogs and those who have these results K9, Germanshafder ibibland, Labrador Small Enoyance, Shitsu trigger, Germanshfard < P> And say we have the following objects: Public class dog {public string name {get; Set; } Public string breed {get; Set; }} Now we can write our own hydrator: public list & lt; Dog & gt; Hydrate (Results RS) {List & lt; Dog

bit shift - Right shifting negative numbers in C -

After text I have a C code, in which I do the following. integer nPosVal = + 0xFFFF; // + NANGailLL = -0xFFFF added for ease of understanding; & Gt; 1, nNegVal & gt -> valid reason Now when I try added for printf ("% d% d", nPosVal> Gone; 1); I'm getting 32767 -32768 Is it expected? I am capable of thinking something like 65535> & Gt; 1 = (int) 32767.5 = 32767 -65535 & gt; & Gt; 1 = (int) -32767.5 = -32768 That is, -32767.5 is the circular-32768. Is this understandable? It seems that your implementation might have arithmetic bit shift in this system, with two supplemental numbers. Moves all the bits to the right and then fills in the upper bits with a few copies of the last bit. So for your example, treat 32-bit as integer here: nPosVal = 000000000000000011111111111111 nNegVal = 11111111111111110000000000000001 After the shift, you got nPosVal = 00000000000000000101111111111111 nNegVal = 1111111111

mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in php -

संभव डुप्लिकेट: $ query = "कॉन्फ़िगरेशन से अनोखा चुनें"; $ परिणाम = mysql_query ($ क्वेरी) या मर (mysql_error ()) ;; जबकि ($ पंक्ति = mysql_fetch_assoc ($ परिणाम)) {} अपवाद फेंकना चेतावनी: mysql_fetch_assoc () : आपूर्ति दी गई तर्क सी में एक मान्य MySQL परिणाम संसाधन नहीं है: \ प्रोग्राम फ़ाइलें \ अपाचे समूह \ अपाचे 2 \ htdocs \ ehp \ hello.php पंक्ति 10 पर यह थोड़ा भ्रमित है, क्योंकि इस प्रकार की चीज़ आमतौर पर एक एसक्यूएल त्रुटि के कारण होती है, फिर भी लाइन .. या मर (mysql_error ()); को ऊपर उठाया जाना चाहिए था अपने लूप की सामग्री की जांच करें कि आप $ परिणाम चर को अधिलेखित नहीं कर रहे हैं।

ajax - Is there any up-to-date documentation for AjaxControlToolkit? -

I was searching but then I found that one is better about what a document or even about AjaxControlToolkit Which book is up-to-date? dear afshar I main location for AJAX control toolkit Project repository Official documentation provided by Microsoft Asp.Net Forum A book provided by Wrox (Hand over the AJAX Control Toolkit ) asp.net Ajax Control Toolkit Forum :: A good article that I recommend you to read

javascript - toggling jquery animation getting error -

I'm trying to animate / expand a layer by clicking on the "Layer" button, and then, the layer Within, there is a button to hide it in 0. $ (". Showcart"). Click (function () {$ ("# cart"). ({Height: "400px"}); $ (". Showcart") Toggle ();}); $ ("Hidecart"). Click (function () {$ ("# cart"). Animate ({height: "0px"}}}};}); Not sure where the problem is, any thoughts? Wrap your code inside DOM Ready Events ... < Code ($ (function () {$ (". Showcart"). (Function () {$ ("# cart"). Atom ({height: "400px"}) $ ("Showcart") Toggle ();}); $ (". Hidecart") (function () {$ ("# cart"). {Height: "0 pixels"});});});

hadoop - Should map() and reduce() return key/value pairs of same type? -

एक MapReduce नौकरी लिखते समय (विशेषकर Hadoop यदि प्रासंगिक हो), तो एक को मानचित्र () को परिभाषित करना चाहिए और एक कम करें () फ़ंक्शन, दोनों कुंजी / मान युग्म के अनुक्रम प्रदान करते हैं। शब्द गणना के विहित उदाहरण में, दोनों कार्यों के प्रकार (स्ट्रिंग, int) के युग्म उत्पन्न करते हैं कुंजी एक शब्द और मूल्य की घटनाओं की गिनती के साथ। यहां- साथ ही साथ मैंने अन्य सभी उदाहरणों में देखा है- आउटपुट किए गए कुंजी और वैल्यू के प्रकार दो फ़ंक्शंस के बीच संगत हैं। कुंजी / मान जोड़ी का प्रकार map () और कम करें () MapReduce के किसी भी आवेदन के भीतर ही हो सकता है? यदि हां: क्यों? नहीं जाहिर है, ज़ाहिर है, मानचित्र के लिए आउटपुट जोड़े के प्रकार और कम से कम इनपुट जोड़े समान हों, क्योंकि एक को दूसरे में दिया जा रहा है। यह काफी संभव है, हालांकि, यह संभव है कि आप कार्य को कम कर सकें कि आउटपुट मानचित्र जोड़े से आए एक अलग प्रकार की तुलना में - उदाहरण के लिए, यदि नक्शा कार्य में किसी दस्तावेज़ में शब्द गिना गया हो, लेकिन कार्य को कम किया जाए एक औसत शब्द आवृत्ति गणना उस स्थिति में मा

loading - Ajax: wait X seconds before load -

I have a search form that shows live results in a specific div (see there) I 'has changed the script to a bit and now when a user checks one of the check boxes, the result is auto-refresh. Load function is controlled by On Change Event. Is there a way to load the AJAX result script after a certain time? For example, if I select a checkbox for a script, wait 2 seconds before loading the script in this way the user can check, for example, 2 or 3 checkboxes and when the selection is stopped, then the Ajax script Will load. - Edit - Ajax script is not done through the call function, this code is: $ (document) .ready (function () {$ ('# category_filter') Click (function () {var catArray = new Array (); var j = 0; for (var i = 0; i Example Example <("'Hello' warning ()", 2000) Pre> setTimeout;

Firing contextmenu event in Firefox AddOn gives different Elements (XPCNativeWrapper vs. XULElement)? -

इस जावास्क्रिप्ट को कार्यान्वित करें: window.addEventListener ("contextmenu", फ़ंक्शन (e) {चलना ( ई);}, सच); फ़ंक्शन अद्यतनप्रतिमामेनू (एक एवेन्ट) {var elemUnderMouse = anEvent.target; चेतावनी (elemUnderMouse); } FF3.5 में एक AddOn के भीतर मुझे कुछ देता है: [वस्तु XPCNativeWrapper [ऑब्जेक्ट HTMLSpanElement]] वास्तव में क्या मैं के लिए loocking हूँ FF1.5 या 2.x के साथ निष्पादित मुझे मिल: [वस्तु XULElement] Unfortunatelly मैं उस बारे में कोई जानकारी नहीं मिल पा रहा था! किसी भी प्रकार की मदद की बेहद सराहना की जाती है। अग्रिम धन्यवाद। anEvent.originalTarget एफएफ 1.5, 2.0 और 3.5 के साथ परीक्षण!

php - Suitable design for a database application -

I have a question related to a web app that I have developed in PHP MYSQL. Originally part 1: I display the results in the table to test the software. ID Prod_Name Set Date Results Platform 1 Alpha 1 Pro 1 01.01.01 Pass 2.3.1.2_OS Now, I have divided the tables accordingly < / P> table name: result id, name, date, result table name: set id, set_name, prod_name table name: platform id, platform_name, now, in each table the ID is an incremental value And is not related to. My php app starts by getting results from 'results' table. Since I want to display the SET in every line, I am creating another connection from the database and using the query set Set_name with where Prod_name = row ['name' ] // row ['name'] has been received from the results table. Now I want to display the platform I am using from the platform table above, or create another connection and Set_Name = row ['Set_Name'] from the set table Any other way to g

php - PDFTK and PDF2PS not playing well together -

I have installed PDFTK so that I rotate a PDF 90 degree to print landscape mode. There is no luck going to use LCR, so I am trying to rotate before sending the printer. Once I use PDF, the pdf files begin to be completely rotated. After this it is translated into a PostScript file using PDF2P, and when it is sent to printer, or sung and opened, this is the original non-rotated version. I was using PDF 9 which used to work great, but due to collision on production server it needs to be run, PDF9 is not available. Any idea why the posted file is non-spinning? When talking about "page rotation" with PDF files, you mean page normally View because it appears on screen . You Print page Media page Image Can you please clarify?

sqlalchemy - Avoiding MaxLocksPerFile via odbc connection to MS Access -

tm Due to "situations beyond my control", I am using sqlalchemy with MS Access backend. def delete_imports (self, files_imported_uid): table_name = 'my_table' delete_raw = self.meta.tables [table_name] .delete () auto Engine.execute (delete_raw.where (self.meta.tables [table_name]. Cfiles_imported_uid == files_imported_uid)) A "number of file sharing lock is exceeded." The error statement with large tables is simply: Remove from my_table my_table.files_imported_uid =? With a parameter of UID, this statement is executed through Piodbasi. For some information to know about the problem, before informing me that they will not work if the database is on the Novell Network Server, which is this. Is there any known work that I can use (preferably on the Sqlalchemy layer), or I need to create some ugly hack which selects the top 9,000 records at once and ends Does the loop end up? Now option 1 requires administrator access to HHM. Option 2 a

winforms - C# image drawing colours are incorrect -

I have a source bitmap which is 1x1 and I am trying to draw that image and draw a new bitmap I am The source bitmap is all red, but for some reason the new bitmap ends with a gradient (see image). Using the code below, should the new bitmap be completely red? Where is it being white / alpha? Private Zero Drives () {bitmap bmpSOURCE = new bitmap (1, 1, pixel format.format 32bparbb); Using (Graphics G = Graphics. Framesize (BMPs)) {g.Clear (Color.Red); } Bitmap BMPTist = new bitmap (300, 100, pixel format.format 32bparbbb); Use (graphics g = graphics. Framesize (bmptext)) {g.CompositingMode = CompositingMode.SourceCopy; G.CompositingQuality = Compositing Quality Ajumliner; G. Interpolation mode = Interpolation mode. Highquite bibbic; G.PageUnit = GraphicsUnit.Pixel; G.PixelOffsetMode = PixelOffsetMode.None; G. SmoothingMode = Smoothing. Non; Rectangle rectDest = new rectangle (0, 0, bmpTest.Width, bmpTest.Height); Rectangle rectSource = new rectangle (0, 0, 1, 1); G.DrawImage (b

math - Generate a Random Number within a Range -

I have done this before, but now I am struggling again with it, and I think that I Did not understand the issue I want to set a random number within a small border on either side of 1 . Examples will be .98 , 1.02 , .94 , 1.1 , etc. I 0 And there is a random number between 100 , but how can I use it to get within that range? The programming language is not really the thing here, though I am using pure data, would anybody please explain mathematics? uniform if you want (Psuedo-) equal distribution (parallel distance ) Is between 0.9 and 1.1, then the following will work: category = 0.2 returns 1-range / 2 + rand (100) * range / 100 < P> Adjust the range accordingly pseudo-general If you wanted normal distribution (bell curve) then you will need special code, which will be special in language / library. Get a close approximation with Can be: sd = 0.1 means = 1 count = 10 for sum = 0 (int i = 1; i & lt; count; i ++) sum = sum + (rand) (100) -50

compare two record sets in vb6 -

Hello, I have two record sets in r1 and rs2 in vb6. I want to compare each record in each record in RS2. If rtn (column) in rt1 is same in rsn in rs2. Then set date = now more claims = c. This is what I want to do. How to compare RS1 in RS1 in each row in RS2. Help me pls On both records, loop in an internal and external loop similar to the following: rs1.MoveFirst while rs1.EOF rs2.MoveFirst not rs2.EOF 'rs2.EOF' Otherwise its comparison here 'if rs1 ("colum"). Value = RS2 ("column"). If the 'Other fields end', then rs2.MoveNext Wend rs1.MoveNext Wend If you need to compare each field, then you can iterate on fields similar to the following It assumes that the same order in the recordset has the same order as i as rs1.Fields.Count -1 if rs.fields (i) .value = rs2 .fields (i) .value then 'DO other stuff' end if next I

.net 3.5 - Subtext 2.1.2 SecurityException -

I'm trying to work Subtext 2.1.2 on your local machine (IIS7). I downloaded the zip file () and removed it, then created the application in the directory. Now, when I try to run the application it throws a security exception. (Note: I am applying to believe I am running) The exception details: Security Exception Details: Do not allow an operation by security policy Attempted for this application please contact your system administrator for necessary permission or change the trust level of the application in the configuration file. Exception Details: System.Security.SecurityException: request for permission 'System.Web.AspNetHostingPermission, System, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = is b77a5c561934e089' failed. Source error: An unrestricted exception was encountered during the execution of the current web request. The information about the origin and location of the exception can be identified using the exception stack trace below. Stack trace

How do I create a Windows Service using vb.net in Studio 2008 Standard (No template) -

I want to create a Windows service using VBnet, but in the VS 2008 standard, you have the "Windows service" template I have used before. What is the best way to create such a service without using the C ++ template? Thanks There is really nothing special about the Windows service template. It creates two square files in your project and adds a reference to System.ServiceProcess : Service1.vb: public class Service1 Protected Override SubOnStart (ByVal as args () string) "Add code here to start your service. This method should set some things in motion so that your service can do its job. End Protected Overrides All OnStop () "Add code here for any tear required to stop your service. End Sub Ending Class Service1.Designer.vb: Import System.ServiceProcess & LT; Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated () & gt; _ Acquisition of partial Class Service System 1. service of process. Service Buzz '' User Service

php - Include space between two words Javascript if() statement -

I am trying to validate the generic contact form provided by my CRM, unfortunately they control the server side script Do the information that is in the CRM Some form fields have empty spaces in them. How do I adjust for this? if (document.contact_form.First name.value == "") {Warning ("Please fill in 'first name' box.); Valid = false; } Try it out: .contact_form ['first name']. Value == "") Edit: This is not directly related to your question, but you should be aware that "" does not ensure that That it is not empty, the user can enter a location and your code will mark that field as valid, which is probably not what you want. The best way is to trim the price and then check if it is empty or not.

mysql - pdo Invalid parameter number -

मेरी समस्या निम्न है वाई एक फ़ंक्शन (विधि) यदि पहले फ़ंक्शन का नतीजा TRUE है, तो दूसरा फ़ंक्शन एक चयन और एक अद्यतन क्वेरी चलाता है। दूसरा फ़ंक्शन क्वेरी ($ sql) आदेश के साथ एक चयन चलाता है अद्यतन क्वेरी उपयोग करता है: $ stmt = $ db- & gt; तैयार ($ sql); $ Stmt- & gt; (arraywithvalues) पर अमल; पृथक रूप से, दोनों फ़ंक्शंस पूरी तरह से कार्य करते हैं, लेकिन जब दूसरे शब्दों में, जब दूसरे फ़ंक्शन को निष्पादित करने की आवश्यकता होती है, तब तक वे इसे विफल नहीं करेंगे। अगर मैं पहले फ़ंक्शन को बाहर करता हूं, तो यह ठीक निष्पादित करेगा? संपादित करें अपडेट क्वेरी $ tt = समय () - 3600; $ W = सरणी (शून्य, शून्य, $ passw_new, $ passw_key_new, $ user_id); $ Sql ​​= "अद्यतन तालिका SET new_passw_requested =?"; $ Sql। = "WHERE passw_key_new = 'b02cdf33e46923de5a097c594e846764'"; $ Sql। = "और UNIX_TIMESTAMP (new_passw_requested) & gt; = $ tt"; $ Sql। = "और id =?"; वास्तविक कार्य हैं 1) can_reset_passw () जो एक चुनिंदा क्

php - How to set url parameters in an array? -

O people, I am using OpenID authentication on my website and after certifying, I am getting the URL from open providers, Yahoo and Google. http://www.mysite.com/openid-login.php? Openid.identity = https: //me.yahoo.com/a/1234567&amp; Openid.ax.value.nickname = John & amp; Openid.ax.value.email=john@yahoo.co.in& Http://www.mysite.com/openid-login.php? Openid.identity = https: //www.google.com/accounts/o8/1234567&amp; Openid.ext1.value.email=kevin@gmail.com& OpenID.ext1.value.country = IN I have sorted the URL a bit for clarity. I would like to create a single function for both, which can set up the email (if it exists) ), The nickname (if exits), returns an identity in the array (openID INA) and return the value. for example. function userdetails (array_get) {...... ...... back $ userdetails; } $ Userdetails = userdetails ($ _ GET); $ userdetails ['Nickname'] will give me a nickname if it exists and similarly for email and identity. Thank you

c# - Automatically Refactor Access Modifiers -

Is there any device that can be run through a visual studio solution and doing anything in the solution? Can the use modifier be adjusted for private or internal where applicable? I think that I can only convert everything to private, and then use compiler messages and do it by hand ... but it may take some time, if any automated, this is great Will happen! You can analyze your code for content in this way. It has a query language like a SQL, where you can select all the members, which are public and can be internal or personal, like: Select methods where possible Select methods where possible Edit: View this blog post.

javascript - Does the ExternalInterface, in Flex 3, have a data size limitation? -

I am using the external interface on Flex. We are actually using Flex to compress large amounts of DOM data, so this is being used especially with large data For further investigation, if any Is the limit, so is it universal? (IE Silverlight) First of all, let me know that this is being done with an application that was done by inexperienced software engineers. This is an app that we need to take time to compress the data so that we can make a long-term solution. We do not have any other options, unfortunately. Background: This is an application that is actually a web spreadsheet, our long-term solution is to create an office business application. No, Flash does not apply to any size limit on external interface communication.

Hot deployment of .net assemblies -

We have an application running on a production server as a Windows service. The application is mainly divided into several assemblies on the borders of deployment. I want to streamline the deployment of hot-fix for application assemblies. Currently I follow the steps to apply a hot fix. Stop the service Stop the service Restart the service Roll back in case of unexpected load errors (it has not happened so far) I think what I want is to do a predefined folder One is to upload SDL and the application has to choose the new DLL. One I agree that the solution is a separate service running on the server. Let's call it a hotfix deployment service. It will look at the file system for new files and take 2-6 steps from the list above. Any insights is appreciated, I am also open for other options, as long as they reduce friction of deployment. Service may be your best option after separation. You may, in the same service, do this "move" which will re

Replacing a .NET type at runtime -

मेरे पास एक .NET विधानसभा है, जिसने एक प्रकार T को संकलन समय पर परिभाषित किया है, और मेरे पास है इस प्रकार के एक उदाहरण के रूप में my_t तत्काल तत्काल। मैं सोच रहा हूं कि क्या इस क्लास को पुनः कंपाइल करने के लिए रनटाइम कंपाइलर सेवाओं का उपयोग करने के लिए .net में संभव है, फिर लोड करें वर्तमान में क्रियान्वित विधानसभा में नई कक्षा परिभाषा, इसलिए जब मैं my_t के तरीकों को कॉल करता हूं, तो वे नए कोड का उपयोग करेंगे। मैं किसी भी के हस्ताक्षर नहीं बदल रहा हूँ तरीकों, बस विधि निकायों। वहाँ बाहर किसी भी एनईटी गुरु जानते हैं कि यह संभव है? किसी भी मदद के लिए अग्रिम धन्यवाद! एक। नेट ऑब्जेक्ट रनटाइम पर टाइप नहीं बदल सकता; यह सीएलआर में एक मौलिक धारणा है। कुछ सुझाव: कोड को सही प्रकार के अनुसार उचित रूप से कॉल करने के लिए T लिखें । आप के लिए (1) स्वचालित करने के लिए किसी प्रकार के पहलू-केंद्रित या गतिशील प्रॉक्सी ढांचे का उपयोग करें यदि यह अग्रेषण का प्रकार उपयुक्त नहीं है, मेरा मानना ​​है कि मूल निवासी के लिए उपलब्ध एक .NET प्रोफ़ाइलिंग एपीआई है जो आपको जेआईटी प्रक्र

uiview - iPhone: Multiple View (Screen) Management? -

I know that using a navigation bar to manage the traversal through multiple scenes without burning the screen space What is the best way for me? As an example, let me assume that I have UIViewController s associated with four UIView P> 1: Top level menu (calls A or B1) 1. A: Menu selection A (Back to 1) 1.B1: Menu selection B, Part 1 (Inviting B2) 1.B2: Menu Selection B, Part 2 (back to A) First of all, I have no doubt that when I'm not using the navigation bar, a navigation controller is appropriate I'm considering implementing a custom UIViewController as an alternative, which looks at the view controller and acts as a screen manager. Thoughts? You can always set setNavigationBarHidden: animated: Apart from this you can hide the navigation bar, apart from what it is, the type of app you are creating. You have a voice that can use a tab bar, however, to solve your problem of taking this screen space does not do. XCode templates provide another wa