Posts

Showing posts from July, 2010

text - wxpython: StaticText on transparent background -

I am trying to create a subclass of wx.StaticText that does not have a background I tried to set the alpha component of background with SetBackgroundColor , or with no luck using SetTransparent on different objects, but maybe it only Because I'm a noobie :) Anyway, I ended up subclassing wx.StaticText , modify the OnPaint method Received to no background paint, and EVT_PAINT to force new method. It works very well most of the time (when the application starts or is repainted after it is hidden from any other window), but whenever I use SetLabel On a method of my subclass of method static text , this is not my OnPaint method that is said to refresh the window, and I default gray background Ends with. Below is a "small" work example, it shows the text with the background for the first time, wait 1.5 seconds, and then changes the label of the text, which also paints the background. (And does not call my homemade painting method). import wx, time c...

java - Finding a string within a string -

I can show you how to do it? Substring? Split? ... But it's probably dynamic! string str = "SET ENCALSUP = NOENCR and GSMV2, MAXNCELL = 16, TDTMWIND = 5, MAXLAPDMN = 5, EENHDTMSUP = disabled, T3197 = 4, PAGCOORCLB = disabled, DGRSTRGYBCNT = disabled, PAGQOVLIND = 0; "; This output (EENHDTMSUP = unusable): just Disable Thank you ... Your question is not very clear need to know what you value "EENHDMSUP" is? If so, something like: int start = myString.indexOf ( "EENHDTMSUP ="); String substr = myString.subString (start, myString.indexOf (',', start); System.out.println (substr); will probably work.

Not able to show permissions dialog on facebook iframe application -

I can not show permissions dialog on facebook iframe application Can anyone help me? Paste your code here that you are using here: Normal will have the code: FB_RequireFeatures (["connect"], function () {FB.init ('be13f687478ca790529ba5900f7f1152', 'xd_receiver.htm'); FB.ensureInit (function () {function callback () { Window .location = "http://www.wanamo.com/fb/wmce/index.php?";}; FB.connect.sopromatic diodes ("publish_stream", callback);});});

django - Basic google app engine (python) templating issue -

After going through some basic tutorials on app engine and webapp framework, I am trying to display those documents Which are related to the project I created (for example {% ifequal project.key doc.parentproject%}) I have created several documents that are actually similar to a Dock Pierre project to do keys from the project, but in some way Never walk Is obtained. If I change project.key for a real project key value, then it gives the right for those specific kits. Am I missing some basic templing things here? I can not find any answer on Google or django site (any webapp using the Designing Templating Engine) Any help would be appreciated. Sorry if this is the basic NewBi content ... for project% {}%} & lt; Blockquote & gt; & Lt; Div style = "border: 1 px solid # 999; padding: 20px;" & Gt; & Lt; H3 & gt; {{Project.projectname | Part}} & lt; / H3 & gt; & Lt; H5 & gt; {{Project.key}} & lt; / H5> & Lt; Table border = ...

Which Structuremap Lifecycle is best practice? (v2.5.4) -

निम्न में से कौन सा वाक्यविन्यास सर्वोत्तम अभ्यास माना जाता है? & lt; IMyInterface & gt; () के लिए लाइफसिक आईएस (नई हाइब्रिड लाइफसाइकिल ())। उपयोग करें & lt; माय इम्प्लीमेंटेशन & gt; (); & Lt; IMyInterface & gt; () LifecycleIs (Lifecycles.GetLifecycle (InstanceScope.Hybrid)) का प्रयोग करें। & Lt;। MyImplementation & gt; (); अगर पहले एक सही है, तो क्या मैं एक ऑब्जेक्ट हाइब्रिड लाइफसाइकिल बना सकता हूं, और इसे इसके लिए कई के लिए उपयोग करें ... ...> स्टेटमेंट्स, या यह प्रत्येक के लिए आवश्यक है & lt;> नया हाइब्रिड लाइफसाइकिल? कॉन्फ़िगरेशन सहायकों का प्रयोग शायद सबसे अच्छा अभ्यास है। के लिए & lt; IMyInterface & gt; ()। हाइब्रिड एचटीटीपीओआरट्रेटलोकलक्षित ()। & Lt; माइउमिलेशन & gt; ()

Algorithm to keep collection sorted while inserting in the middle -

Suppose I have a large collection of elements. Each element has a "status" field, which is a positive integer The area of ​​two elements is not the same value for the "position" The only supported operation is the collection: addElement (newElement, positionAfterElement), where: - newElement is a new element to be added (Its status is unknown for now) positionAfterElement is an existing element of the collection The function will guarantee that: - Status (status interruptible) & lt; Status (New Element) - The position between another element (position interval) and position (new element) in the collection is I want to change the value of all element posts but I want to reduce the number of changes (on average). How do I implement the Adilegment function? I can only extend all elements together with all the positions from 1 but I am absolutely sure that there should be a better way of doing this. Thank you for your help. Use a balanced ...

Is it OK to raise a built-in exception, but with a different message, in Python? -

Is it custom to enhance custom text? Or to take a single with custom text? The document reads: Exception value error: Arises when an underlying operation or function receives an argument (...) Is it contained that only should the underlying operations take a ValueError exception? In practice, I understand that it is safe to make exception class which is received by the error or exception but it is fine to do this, and directly to a value error ("custom Text ")? As ValueError is built, by lifting a ValueError (with a custom text), users can quickly see whether the comparison of a custom exception type (like "ValueErrorSpecificModule", which is not standard) Includes the kind of problem. increase ValueError ("invalid input encoding") In fact, I do a lot of things often when I'm writing passes before some code. The main problem in doing this in such a way is that there is a hard time with the exception of your code client; In or...

What is the best way to communicate between JavaScript and Actionscript 2.0 and 3.0 -

What about support for major browsers? IE 6+ FF2+, Opera 9+, Safari 3+, Google Chrome? Is it good idea to use the ActionScript to generate graphics (Interface JS and develop in standard HTML forms)? Perhaps it is better to use canvas? What about performance? I will start with the object.

c++ - Undefined Symbols -

Image class is a sub class of BMP class. I am trying to use some methods from BMP Class to manipulate the image in this method, Tailheit (), Televise () etc. However, when I try to make a BMP and call the function on it, I the undefined symbol: BMP :: BMP From: Image: invertcolors () This method is inworld color (): zero image :: invertcolors () {BMP img_invert ; Img_invert.ReadFromFile ("inverted.bmp"); // acute height = img_invert.TellHeight (); // Intensity width = img_invert.TellWidth (); // for (int i = 0; i & lt; height; i ++) for // {// (int j = 0; j & lt; width; j ++) // {// RGBApixel * current = Img_invert (j, i); // current-gt; Blue = 255 - (current-> blue); // current-> Green = 255 - (current-> green); // current-> Red = 255 - (current-> red); // current-> Alpha = 255 - (current-> alpha); Undefined symbol is a link time error when you use your binary If you are adding, you have to link to the compiled code that defines t...

Javascript Error in IE Using the Prototype library in Rails -

I am running a rail application and using prototype. The script breaks in IE, but works in all other browsers. I appreciate any help in guessing for any fix for this. Here's the problem: My users sell varieties of products and products. The available varieties are dependent on the product. For example, if we are talking about the fruit, then the user can choose the product "apple", so I have to show different kinds of apples to choose it instead of all the varieties on the whole site. I use javascript to limit dropdown options for varieties so that they depend on the selected product before the dropdown. So if the user selects the product "apple", then the diverse list is dynamically limited to the varieties of apples. It works great in all browsers, of course, IE. When I select a product from the dropdown, the script fails and the error message "object does not support this property or method" I believe The problem and the solution have...

c - How to free() a malloc()'d structured correctly? -

I have a structure malloc () 'D, and after using them, I want to free it, but My program stays out here Can anyone tell me what I am doing? Here's my code: structure data {char * filename; Four * size; }; // primarypcs is a long type variable structure data * primary = (structure data *) malloc (primarypcs * sizeof (struct data)); MEMAX (Primary, 0, Size (Structure Data *) * Primarypacks); ... ... ... for (i = 0; i & lt; primarypcs; i ++) {free (primary [i] .philename); // & lt; ---- My program freezes here (primary [size]. Size); // & lt; ---- or here} free (primary); Thanks in advance! Compi EDIT: How can I properly memory for file name and size? EDIT2: Sorry, but I was in a hurry, and I did not tell you all the information you need. I have to do it now) Smile, I have to make an application, which gets two given drive / folders file list and then compares them. I thought (and still do), the easiest way is, when I keep the filenames and their ...

nHibernate batch insert doesn't work with associations? -

I am trying to get more information about how nHibernate decides how to insert multiple together . Obviously this works only if you do not have a simple list of the same type of items, there are no children's objects. In my application, I have multiple relation between A, B, and three tables, there are many B in C, there are many in B. I am using a native generator for AK ID, but for B and C, I am using composer keys only, which is assigned to the code, so nHibernate can only inserts. These are working fine, and I can save all the objects properly. The problem is that the nHibernate does not seem sufficient enough, so all b in the batch, and finally all the c in the batch. Right now, it only tries to object b of C, if there are many. Is this sound correct? Is there any way to change this behavior? My application has to add hundreds of objects A, B and C at the same time, and doing one after another is a big functionality problem. If anyone needs any help, nHibernat...

ruby on rails - Formtastic Time fields to read as HH::MIN(00 & 30) instead of two selects? -

I am looking for a way to override the pharmastic plug-in in the train so that time is a single drop-half With minutes of representation in hour increments below 1:00 am, 1:30 am, 2:00 am, etc. before? Appreciate it with any help. I think you can give this one a try. It's really simple and will provide you with a drop to get the desired time. For example, to prepare a list of time in the half-hour increase, you should do something like this: $ ("time"). TimePicker ({show24Hours: incorrect, step: 30}); Where is it. Time is the square of your text_field: "Time" ,: value = & gt; Time% & gt; Of course, then in Assistant / Controller you will need to manipulate this value to create the desired object (maybe a datetime instance).

c++ - Qt::What needs to be included in the configuration to use dbus? -

I am using as much as possible configuration of the QT, but now I need to use Dibs use it What should I include in being able to? Using the Qconfig tool, I do not think anything is clear. I get the errors when I get this time: qdbus_symbols.cpp: 53: 'zero qdbus_unloadLibDBus ()' in the function: Error: before '*' token qdbus_symbols.cpp expected Starter qdbus_symbols CPP: 57: error: 'Qdbus_libdbus "the scope was not declared qdbus_symbols.cpp: function' bool qdbus_loadLibDBus () ': qdbus_symbols.cpp: 67: error:' QLibrary 'the scope was not declared qdbus_symbols.cpp: 67: error:' lib 'declared in this scope qdbus_symbols.cpp Was not: 67: error: 'Qdbus_libdbus "This scope has not been declared Qdbus_symbolskcpp: 71: error: the first' QLibrary 'qdbus_symbols.cpp expected type specifier: 71: error: expecting'; ' Before 'QLibrary' qdbus_symbols.cpp: 85: Error: Type '& lt; Type error & gt; ...

ajax - ASP.Net MVC: Creating an Area for json requests -

Just what people think about creating an area to capture / manage Jason based requests (note I mostly I'm not receiving the data). I know this is not a general use of your area (i.e., you usually create a separate area for blog vs. forum), but I'm going to the point where my project is not big, but definitely i There are many things in Jason's luggage that confuse the issue and things have to be "unclean". For example, in the lower part of each controller where I'm putting Jason actions and not mixed with other actions, I give them a prefix with Jason - I should not have to do this ... besides me There are specific visual models for JSON, which I also have to give prefix with Jason ... etc etc etc It would be very cleaner in their area. To stop and json prefix to be able to be defined by leaving together and that area ... What do you think or is it a bad idea? Cheers Anthony I think this is a good idea. Where there is such an asynchronous area whe...

model view controller - Are Nhibernate Helper Kits available for VS2008? -

Can you provide some information about Nhibernate Helper kits for VS2008 and which are all open source and all Are not there. Can you also share some links that provide information about the use of NHBnet with ASP.NET MVC? Not sure which means by your assistant kits. As far as using ASP.NET MVC is with NHibernate, there is great information on the subject. He goes into great depths in his book is readable.

Windowed Functions in SQL Server -

I have a table named order in which the data looks like this: EMPId order value order1d1 100 1 2 167 89 .... There are many orders for each empID what I want to get output as this Empid Rank VALUETOTAL VALUETHISEMPID 1 1 300 100 4 2 300 50 \ ... If there are many amps, it should be given the same rank with the same value and API id. I tried SEP, SUM (val) OVER () as VALUETOTAL, SUM (val) over (Partition by EmpID) How can I get the RAM and how can I get it by ValueTheEmpID? First test data: enter #t values ​​(1, 10, 100) in #t values Insert (# 1, 20, 101) into #t values ​​(2, 30, 120) into #t values ​​(3, 10, 130), insert in #t values ​​(3, 10.5, 131) into #t values ​​( 4, 100, 140) You need two steps, one to get empIds and their corresponding sequence values. Step two has to get total total and rank: ; With Step 1 (EmpId, ValueTheEmpId) (select empId, sum (OrderValue) from #t group by empId) Value as EmpId, rank () value (ValueThisEmpId desc) as "ra...

Database Records Sorting -

Is there any query that would be n sorted in the data-base through any column? I do not want the "ordered result" I want to store and archive archived archives. not possible .........

asp.net - What folder in Windows everyone or IIS User has access to read and write? -

Recently I started developing a setup program using asp.net, I want to save information. Registry is a way but the IIS user is not writing the default permission. So I think some folders like "folders data" can do this, but not everyone was writing permissions. Is there any other way to solve this problem? temporary folder: % TEMP% . If this is an asp.net application then you can also use the special folder.

django admin hierarchical inline model edit -

एक विकी आवेदन पर विचार करें एक मॉडल पृष्ठ है, जिसमें कई संशोधन s और प्रत्येक संशोधन में कई ब्लॉक s है। क्या है एक व्यवस्थापक बनाने का सबसे आसान तरीका जिसमें आप एक पृष्ठ चुनते हैं और नवीनतम संशोधन के सभी ब्लॉक दिखाई देते हैं; ड्रॉपडाउन द्वारा संशोधनों में परिवर्तन देने के लिए बोनस अंक (जो डिफ़ॉल्ट रूप से होता है, वैसे भी रिवर्स ऑर्डर में क्रमबद्ध होता है) क्या विचारों को बनाने के लिए बिल्कुल आवश्यक है, या मैं उन कुछ स्टैक्डइनलाइन रूपों को बढ़ा सकते हैं, ओवरराइड सहेजें और कुछ जादू मेटा विकल्प का उल्लेख करें, ताकि यह सब स्वचालित रूप से किया जा सके। है आप इस तरह से कुछ करने की कोशिश की ( admin.py में): वर्ग RevInline (admin.TabularInline): मॉडल = संशोधन वर्ग PageAdmin (admin.ModelAdmin): model = पृष्ठ inlines = (RevInline,) admin.site.register (पृष्ठ, PageAdmin)

linux - How to capture screenshots from a video clip 50 minutes into the clip and do it fast? -

OK It seems that whenever I tell the framemap to take half way through a screen cap, though clip (clip 10 hours) It uses 100% of 1 CPU core and it takes ages ... whereas if I make it a frame initially, then it gets very fast, as it scans, though The video has to go in the middle instead of just jumping for it! The code currently came here: ffmpeg -y -itsoffset - "500" -i "clipname.mov" -exclusive png -vframes 1 -an -f This may take a few minutes. These are HD video too, allocated at 720p / 1080p and when they are raw unpublished clips ( so I was hoping for some better software that would be from video Screen Capture is very fast (Linux and Script should be Qualified). Instead of delays ( -ss flag) ( -itsoffset ), that means: ffmpeg -y -ss 3000 -i "clipname.mov "-Weem 1" clip clip Yance: 2001.png "

Sharing model definitions between Erlang and Rails (and mongodb) -

I have a rail app using mongodab through Mongodab and it is all right. The problem is ... I want to use Erring to do some background processing and I want to update the same Mongo / Mongomapper model with the results of this processing. What's the best way to share model definitions between two apps (Rail and Ehrling) and stay intelligible? It seems that if they are reaching the same record, trying to manage them separately would be problematic. If there is no "good" way, then am I sending it wrongly? Additional information: It was good because I was originally doing background processing using Starling / Verling Client because I can use the same rail model and code. The performance was terrible, although I am looking for Irang to solve some of the efficiency problems. This large amount of data is being processed, but it can be easily processed in parallel. I want to use ARLing as a meter intermediary through a relaxing or throttle interface. P> Edit: I wa...

visual studio - how to create controls that requires properties in other controls? -

I was just creating a Windows form that uses controls and it happened to me that this control How do I get it to control my design? This is the magic of magic that has been created and executed by the ICEtroidPriver interface. It is very easy to do this, the designer is lifting all the heavy loads in this how it is very good

queue - Java Outofmemory heap space error: How do I make a deque from a vector? -

I'm new to Java and really need your help. I am currently using a queue, a receiver thread places data in this queue and pars reads from this. But the problem is that the receiver can get at incredible speed, eg. 3000 / sec, while the parser parses only 100 / second. Edit: I've checked, the queue stays in the first 100 or so, and starts after ten seconds 100 increments per second, and 2000 accidents are either Is it possible that the memory leak? My code (in a tight loop) byte [] data = new byte [1024]; System.arraycopy (udpPacket.getData (), 0, data, 0, 1024); Queue.offer (data); The heap is filled very quickly, and I get an exception to the exception. I think the problem is that the queue is created using a linked list, and all the signals should be saved in the pile. I know the C edition which does the same thing (using buffer), but better performance, but due to deployment issues, we can only use Java. If you run 3000 / sec but only 100 / second pr...

php - Checking the value of all a loops value -

I have this loop in PHP which excludes a table of results, & Lt; Table cells = "0" cellpadding = "3" & gt; & Lt; TR & gt; & Lt; Td> & Lt; B & gt; Content Image Title & lt; / B & gt; & Lt; / Td> & Lt; Td> & Lt; B & gt; Content image type & lt; / B & gt; & Lt; / Td> & Lt; Td> & Lt; B & gt; Headline image & lt; / B & gt; & Lt; / Td> & Lt; Td> & Lt; B & gt; From the image of the content & lt; / B & gt; & Lt; / Td> & Lt; Td> & Lt; B & gt; Date Created & lt; / B & gt; & Lt; / Td> & Lt ;! - & lt; Td> & Lt; B & gt; Uploaded by & lt; / B & gt; & Lt; / Td> - & gt; & Lt; / TR & gt; & Lt ;? Php $ colors = array ("# ​​f9f9f9", "# f3f3f3"); $ Count = 0 ;? & Gt; & Lt ;? Php foreach ($ allContentImages $ contents as images):? & Gt;...

ruby on rails - Passing hidden invitation token field after being redirected from openid authorization -

I Ryan Bates'm trying to combine and has been the way to set it up, that's signup form In the Hidden field, the invitation token that allows the user to sign up. The invitation is sent token URL: / signup /: invitation_token However, when I redirect without token invitation to use open_id, just back / signup URL. How can I do that the token is still being passed after the redirect. Here's the relevant code in open_id_authorization plugin def open_id_redirect_url (open_id_request, return_to = zero, method = zero) open_id_request.return_to_args [ '_ Method "] = (method || request.method) open_id_request. to_s .return_to_args [ 'open_id_complete'] = '1' open_id_request.redirect_url (root_url, return_to || REQUESTED_URL) end def REQUESTED_URL relative_url_root = self.class.respond_to? (: Relative_url_root)? self.class.relative_url_root.to_s: request.relative_url_root "# {request.protocol} # {request.host_with_port} # {ActionController :: B...

c# - Is there a safe check I can do before calling DateTime.AddMonths(int months)? -

If I call the object using an int which is too large, at any date, Concerned humble message that says, "The value of the added or subtracted value is at the time of an unrestricted date." Name of the parameter: months " What should be examined on the logic of months? From : logicoffference exception The result is a datetime or less. -or - Months less than -120,000 or greater than 120,000. Based on your comment, I would say that the value of the resulting month is more than 120,000. You can get the total month at the time of the current date and can check that plus your value is not out of bounds, or others have suggested as an exception.

c# - MS-Access 07 works the same way as MS-Access 03 on different machines or need installation? -

Since the data volume is not large, I am creating a window application as my window using MS-Access . If I want to make it in the ACCDA format i.e. Office 2007 then it will work with my application on any machine where there is no MS office as MDB works on any machine. You may need to install the driver:

.net - Trouble with Multi-User Session test for Windows 7 Software Logo test compliance -

I currently use a .NET 2.0 client application for Windows 7 Software Logo compliance ("Compatible with Windows 7") I am testing. ) And getting a strange result that has amaze me. The Windows 7 software logo toolkit test is a warning that "the application does not pass the user's application compliance session" and then comes back with a whole stack of strange messages that I do not understand. This is more strange for me because the app works well on multiple machines by using a single machine (using fast-user switching, etc.) and sometimes such error is generated I have not been tested or in use only when I run the Windows 7 software logo toolkit that I receive these messages, and only by the log / report of the toolkit here with back There is a sample of what comes. Warning: Access was limited to the elevated processes. OpenProcessToken: The token () allows the use of 'TOKEN_QUERY' by high processes only with high compulsory integrity labe...

iphone - What kind of value is keyTime in an CAKeyFrameAnimation? -

For example I have this CAKeyFrameAnimation: CALayer * theLayer = myView.layer; CAKeyframeAnimation * Animation; Animation = [CAKeyframeAnimationwith animation: @ "transform.rotation.z"]; Animation. Duration = 1.6; //animation.cumulative = yes; Animation. RepeatCount = 1; Animation. RemovedOnCompletion = No; Animation.philmedia = kCFilModford; animation.values ​​= [NSArray arrayWithObjects: [NSNumber numberWithFloat: 0.0 * M_PI], [NSNumber numberWithFloat: (15.0 / 180.0) * M_PI], [NSNumber numberWithFloat: (30.0 / 180.0) * M_PI], // animation stops here it happens .. . [NSNumber Number Explode (45.0 / 180.0) * Mopi, // Ignore! [NSNumber Number explosion (190.0 / 180.0) * MOPI], zero]; // Ignored! animation.keyTimes = [NSArray arrayWithObjects: [NSNumber numberWithFloat: 0.0], [NSNumber numberWithFloat: 0.2], [NSNumber numberWithFloat: ignored 0.4]; //! [Float: [0.8] with NSNumber Number, // Ignored! [Float with NSNumber number: 1.6], zero]; // Ignored! animation.timing...

c# - How to skip Enter key in RichTextBox -

I have to implement a transparent text box (my case is a text box with gradient background). The easiest implementation is rich textbox which I have found The only problem is that I need a single entry line, not a multi-line How to pre-embarrass the key to enter? Set to

jQuery plugin naming convention (for the function) -

जो jQuery प्लगइन के लिए आपके लिए बेहतर लग रहा है: $ ("# foo ") .runMyPlugin (); या $ ("# foo")। Runmyplugin (); क्या jQuery के लिए एक नामकरण सम्मेलन है जो दूसरे पर पसंद करता है? धन्यवाद अग्रिम में! मैं आपसे पहले की सिफारिश करता हूं, कि जावास्क्रिप्ट में व्यापक रूप से सम्मेलन का प्रयोग किया जाता है, यहां तक ​​कि मूल भाषा में स्वयं भी इसका प्रयोग करता है, उदा। सरणी.प्रोटीटिप.टोलोकेलस्ट्रिंग ऑब्जेक्ट.प्रोटोटाइप.hasOwnProperty Object.prototype.propertyIsEnumerable // etc ... सभी पहचानकर्ताओं का नाम

Jersey w/ Spring 3.0? -

I think some jerseys are using spring / spring / now with 3.0pc now to make the retyim API directly in the controller Annotations are available for. Why should jersey w / spring be used? Professionals: and Other implementations for better tooling (at least netbins) It is integrated with spring and guide Edit

html - XHTML, how not to display the TITLE attribute as a tooltip -

To make my web site XHTML compliant, I have all my title code> IMG Tag However, when you mousewove an image, the text of my title attribute displays as a small popup, I do not want to see that text. Question : How do I stop the title attribute text from displaying a popup as a browser? Still keeping the title attribute current? & lt; Img src = "..." title = "Text that is displayed as a popup but I do not want it" /> Do not have a title , be obedient, you need a alt . The behavior you see is the correct implementation of the title by U., so it is difficult / impossible to override.

Advanced best practices for ASP.NET MVC2 & JQuery -

I am moving forward with developing my first ASP.NET MVC web app, which is based on ASP.NET webform development. Coming from years. I have already read an MVC book, so I know what MVC is, I want to use the latest and greatest, so I plan to use VS102, MVC2, C # 4 and jQuery 1.4 . Any best practice or design pattern while using ASP.NET MVC with jQuery? Any great web resource in this topic? A good sample app that is MVC2 & amp; JQuery hand in hand (codepex, google code or otherwise)? I would recommend checking this site

Catching weird C pointer arithmetic bugs -

I recently went to a very stealth bug in which I forgot a director for a string (four array) And thus sometimes a byte on the stack is overwritten. Bad: four ** str; (* Str) = Molk (10); ... str [2] = 'a'; // Overwrites 3 bytes in that location where str is stored Correct: char ** str; (* Str) = Molk (10); ... (* str) [2] = 'A'; The GCC did not give any warning, and this error would arise as a very serious and real exploitation, because this value is sometimes a value holding buffer size. I only caught this bug because I got good fortune and it causes a failure. Depend on destiny and / or never use it for C, which uses defensive coding techniques and tricks you use to catch horny insects. ? I'm thinking about going to Valgrind, did anyone use it? I suspect that this bug will not be caught. Anyone know? Is there pointer detection or tools to capture arithmetic bugs? Is this also possible? UPDATE Here is the requested example code, it ...

gdb - How can I debug my Qt application? -

I have to debug something in my QT application, but the stack shows the instructions which are not part of my code and There are 3 threads (including main) running, what is the best way to debug it? Do i need mess Will you be able to help sticking the stack? There is a stack trace of thread that is involved in disturbances: 0 raise /lib/libc.so 6 0 1 Revocation / Lib / LibSite .6 0 2 ?? /lib/libc.so.6 0 3 ?? /lib/libc.so.6 0 4 free /lib/libc.so.6 0 5 ?? /lib/libc.so.6 0 6 6 tzset /lib/libc.so.6 0 7 QTime :: currentTime () /usr/lib/libQtCore.so.4 0 8 FPSengine:: XmitData FPSengine2.cpp 93 9 FPSengine :: getData FPSengine2.cpp 21 10 Thread :: list threadbreaking CPP 109 11 ?? /usr/lib/libQtCore.so.4-0/12/start_thread/lib/libpthread.so.0 0 13 Clone /lib/libc.so.6 0 14 ?? 0 An abortion indicates that there was an exception and it seems that something is done to always call QT time :: current time (), which is toset (which touts). Apart from this, the problem is always w...

c# - must declare a body because it is not marked abstract or external - error thrown from aspx page w/ no code behind -

I have a net application in IIS6. Apps are compiled against the DLS 3.5 framework, which is installed on the server. The app works; I did not find an ASPX page with no codefile; This is just an .aspx page, in which the tag has inline code, the code declares auto properties as such: protected string playlist URL {get; Set; } When I request this page, I get the following error: "ASP Manispace_fu_Ephil_bar_expx.playlistUrl.Just should declare a declaration because This abstract is not marked or marked "Extern" I think the error has been thrown because 2.0 compiler does not understand the properties automatically 3.5 is installed on the box. I do not know how to implement an .aspx to use 3.5 compiler. The codedom node in Web.config is not an option, because the node is only recognized by IIS 7. Any ideas? See it in the web.config in the Codetom section Need to update

c# - How could I use Rfc2898DeriveBytes in window mobile? -

I am applying a PDA version from the Windows version But it was found that RFC 2898 is not supported by the Derivate WM, so how can I change this piece of code in WM and do nothing about algorithms? Many thanks. You can view it at koders.com, it is DotGNU portable. NET is part of the source. '' '' (This is a class inherited from derivatives ...) On another note, You can check openNetSaf, they have a DeriveBytes class, so you can Rfc2898DeriveBytes to copy / paste the implementation code from the Coder's dot coop. Increase it to be inherited from it. Hope this helps, Best Corsas, Tom.

visual studio 2008 - What new features does vs2010 professional bring for developers targeting .net 3.5 or .net 2.0 over vs2008 professional? -

I am trying to explain to the department about the value of 2010 versus future release, The tough times that compare professionals against professionals and which are all new features, especially if we have any red tape, which is capable of deploying NIT 4.0 applications, while waiting to get approval in it. Microsoft wants to talk about the new features of vs2010 typically without the special about product level comparison. I'm still interested in knowing new features will apply to Targeting 4.0, but my easiest sale will be that we will get it without targeting. What's new / improved? The best feature I've seen is historical debugging. You can generate an error, and then move it back to the starting point in your code, as if you have become a breakpoint at the right place. As far as I know it works, all versions of .NET, and can be a real time saver.

java - Microphone UDP live audio streaming -

I am trying to write a Java program to send live microphone data to UDP, then get data in VLC. I'm basically using the same code to package the stream and when sending them. When I get data in VLC, then I do not get anything. I'm having a bunch of input but none of this is interpreted as audio data. It tries to solve this information as mpga or mpgv, but I am pretty sure that it is being sent as raw audio. Is there a problem at the end of VLC? Should I configure VLC to get a specific format? Or is there no problem in my program, as the VLC can explain it? You should do a capture of a live microphone data in a file and find out what this format is. After this transfer the file to VLC (if it makes sense), to see if VLC can face it in that form. If you are going to use UDP in the long run, then you need to make sure that the audio format you are using is the chunks of data between the audio stream due to the network packet loss Can cope with the loss. If not, then you should...

asp.net mvc - Validating Captcha after server round-trip and subsequent re-generation of captcha -

मैं सेंडरसन की पुस्तक प्रो asp.NET MVC फ्रेमवर्क के अनुसार मेरे फॉर्म सबमिशन में कैप्चा को लागू कर रहा हूं । दृश्य फ़ील्ड इनके साथ उत्पन्न होते हैं: & lt;% = html.Captcha ("testcaptcha")% & gt; & Lt;% = Html.TextBox ("tryCaptcha")% & gt; VerifyAndExpireSolution हेल्पर काम नहीं कर रहा है क्योंकि उनका समाधान लागू है। मैं सत्यापन जोड़ रहा हूं और जब यह विफल होता है तो मैं एक मॉडलस्टेट त्रुटि संदेश जोड़ता हूं और उपयोगकर्ता को वापस भेज देता हूं पुस्तक में बताए अनुसार: वापसी ModelState.IsValid? देखें ("पूर्ण", एपीपीटी): देखें (); लेकिन, ऐसा करने से, एक नया GUID उत्पन्न करता है जो नए कैप्चा पाठ बनाता है समस्या यह है कि, कैप्चा छिपे फ़ील्ड वैल्यू और कैप्चा छवि यूआरएल दोनों ही मूल GUID बनाए रखे हैं इसलिए, आप सही मूल्य दर्ज करने में कभी सक्षम नहीं होंगे। आप मूल रूप से केवल एक ही शॉट प्राप्त कर सकते हैं। मैं यह सब करने के लिए नया हूँ, लेकिन इसके पहले पृष्ठ लोड से मूल्यों को बनाए रखने के साथ कुछ करना है। कैप्चा से उत्पन्न ह...

asp.net mvc - IIS 6 Virtual directory MVC not working but Subdomain is -

I get the following error when using MVC as a virtual directory Provider options should contain the 'compiler version' attribute 'v4.0' or later if you are compiling for the version 4.0 or later .NET Framework. To compile this web application for version 3.5 or earlier of the .NET Framework, remove the 'targetFramework' attribute from the element of the Web.config file. url at blah.domain.com/mvc but at blahmvc.domain.com I am getting what I want . So I thought it was a configuration problem, so I clicked on the virtual directory blahmvc.domain.com and 'Save the configuration to a file ...' and then Create a new virtual directory Alias: MVC and When I try and go to the page, I get the same error. Using IIS6 and .NET 4.0.21006

configuration - How to exclude DEFAULTs from Python ConfigParser .items()? -

I am using ConfigParser to load data into the configuration file: Test.conf: [myfiles] fileone:% (DATADIR) s / somefile.foo filetwo:% (DATADIR) s / nudderfile.foo load.py: Import Configure Config = Config Piece. Config.read (configurable): config.items ('myfiles') print config.get (' myfiles', 'datadir') ('' datadir ':' / tmp '}) config.read (' test .conf ' Output: $ dragon load.py [('DATADIR', '/ tmp'), ('filetwo', '/ Tmp / nudderfile.foo '), (' fileone ',' /tmp/somefile.foo ')] / TMP I'm afraid that variable replacement (' Dattadir ',' '/ Tmp') are being shown as part of the default . item () and .get () , as if they were values ​​in the configuration file. Is this behavior expected? Any work around, so that I can just restart .items () , without getting the default dictionary values, but still using magic interpolation? Refe...

Database Design -

This is a common database question, is not related to a particular database or programming language. I have worked some database first, but generally it just works. This time I want to plan for the future. I have a table that stores the list of spare parts. Name, Part Number, Location etc. I also need to store what device (s) they are also applicable. One way to do this is to create a column for each device in my spare parts table. This is a worry about how this is done in the current database if I want to add a new device in the future I have to create a new column, but it makes programming easy. My idea is to create a separate suitability table, it will store the Part ID and Device ID, if one part applies to more than one device then it will have more than one line. Parts ------- Name of ID Description etc ... Parts Applicationability ------- ID Part Id Device ID Devices ------ Name of ID My question is is it is a legitimate way of doing this, will it provide an adv...

php - Can I use Facebook's hiphop with frameworks like Zend Framework, cakephp, symfony -

Facebook launched yesterday, a source code-converter php to c ++ PHP functions and a set of comparisons to standard PHP Is more limited in. Is the current popular PHP framework (ZF, KPPH, Symphony) compatible with the hip hop? If not, which parts of these fours are not useful? If I'm not mistaken, the hip hop has not been released yet - even Still not connected. So, it will be a little difficult to answer now. I think this will depend on everyone: Features used by the framework - As already mentioned here, Content like eval is not supported by HipHop PHP extension used by the framework: Only a few people have been hip-hop by Facebook. Depending on the framework and your specific needs, probably using some of the frameswork / subcategories are supported, even if not every available component ... I will tell that time; -)

.net - Where should the DAOs go in a project structure? -

I am working on a project in VBnet and need to implement DAL. I am not sure where my project is the best place to stick to the DAO. Should I touch the DAO in the same namespace as is the use of business items that are going to use them. Or should I add all the DAOs together. I have a Java background that can stain your own understanding. :) I always try to keep things clean and good, you have some type of modular design Should try, even if it is a small project. I have lit my fingers many times. Example: PG. Customer CareE.DAL & lt; - Data access layer PG.CustomerCare.BO & lt; - Business Objects & lt; - It can take the place of services. PG. customer service. Services - Services for business logic, this will be a reference for the table PG.CustomerCare .client.Web PG.CustomerCare.Client.Winforms & lt; - Here, only contact the service level.

php - localhost != remote server -

I am developing / testing a site locally on the MMP (example LMP) environment I have a form That has been processed by jQuery which works locally well; I do not want to submit it, but to send values ​​for an AJAX function. The problem is that when it runs on a remote server, the 'action' destination of the form parameter presents a lot with the same set up, eg Apache, PHP, etc. no code is different . So when I submit the form, the jQuery form does not catch it, it just goes ahead and submits. Any thoughts? Thanks in advance. jQuery: function save_words_ajax (username, save_wORD, savings_USA) {$. Ajax ({type: "GET", url: "ajax / save_word .jax.php", data: "user name =" + username "& amp; save_word =" + save_word + "& save_meaning =" + Save_meaning, data type: "html", success: function (html) {$ ("# show (" sharp ");} complete: function () {setTimeout ('$ (" # complete ")...

asp.net - Javascript Date Validation -

How to validate the date of a particular format using javascript? I have a date picker in which the display format is "dddd MMMM dd, yyyy" (thus displaying: "Wednesday February 03, 2010".) I have to validate this format using Javascript. Please help me to apply it. If you absolutely In that format, you can use regular expression: var re = new RegExp ('^ (Monday | Tuesday | Wednesday | Friday | Saturday | Sunday) \\ s * (January | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Nov | Dec |) * (\\ d \\ d), \\ s * (\\ d {2,4}) $ ') ; Var date = 'Wednesday February 03, 2010'; If ((match = date.match (re)) = null) {// valid warning (match); } Or if you just need to know that this is a valid date, anytime in the format, just change it: var dateSec , DateObj, dateStr = 'Wednesday February 03, 2010'; DateSec = date.pras (dateStr); // Unix timestamp if (dateSec) // No nan date obz = new date (dateSec); // Date Object

java - JAXB Customizations and List<Object> -

I used JACAB to create some classes from an XSD. The result was not enough, which I expected and most likely it could be adapted. It created a general list instead of 3 different lists. Can it be corrected in some way? @XmlElements ({@XmlElement (name = "M1", type = M1_Type.class), @ XML element (name = "M2", type = M2_Type.class), @ XMLElement (name = "M3", type = m3_Type.class)}) protected list & lt; Object & gt; M1Orm2OrM3; Is there any optimization to fix this? You probably have a duplicate option, like something & Lt; Option maxOccurs = "unbounded" & gt; & Lt; Element name = "M1" ... /> & Lt; Element name = "M2" ... /> & Lt; Element name = "M3" ... /> & Lt; / Options & gt; The answer is negative, there is no such optimization "three lists" is actually a very different data structure.

regex - Extract a regular expression match in R version 2.10 -

I am trying to extract a number from a string. And do something like [0-9] + Get "aaa1212xx" and "12" on this string. I thought that something like this would happen: & gt; Grep ("[0-9] +", "aaa12xxx", value = TRUE) [1] "aaa12xxx" And then I thought ... & gt; Sub ("[0- 9] +", "\\ 1", "aaa12xxxx") [1] "AAA 121xxx" But I got some sort of response: & gt; Sub ("[0-9] +", "ARG!", "AAA 12xxxx") [1] "AAAAH! Xxx" I have a little information missing, please Advice: -) I am using R Version 2.10.1 (2009-12-14) Thanks! The best solution is to get something to understand the package really. / P> Use the new Stringer package, which contains all existing regular expressions in a consistent syntax Operates and adds some that are missing: Library (stringer) str_locate ("aaa12xxx", "[0-9] +"...

security - Signed certificate for macro distribution -

Is it possible to create certificates for an Excel workbook that contains some VBA macros, and the certificate in a small group Distribute users? Remou's place on the north, but know that, depending on the security settings of the user, the self -Certified projects can replace standard macro security warnings with each other only about self-signed projects - there is absolutely no win in my book because it can already confuse the careful users. It can not be in a small group, it is an issue, but then neither they should ask the standard dialog to click on 'enabled' ... Completed The only way to round the way is to buy a full-fat signature certificate - $$$

multiple parameterized sql-statements in ado.net on SQL Server -

let me ado Using SqlCommand in the net, there is a problem in executing the two parameters in a batch. (I want to reduce round-treps and to avoid pinging) Since I do not want performance planning pollution because I have ADO Net is expected to replace my command text with "STT1; STAT 2", STMT2 added to SQL Commands. Parameter For: sp_executesql 'stmt1', 'paramdecl', param1values; Sp_executesql 'stmt2', 'paramdec2', param2values ​​ But I can not find any way to do this. Neither I can get the full text which is being sent to SQL-server per SQL command so that I can add two of them myself. How do I do this? Regards, Jens Nordenbro Also expect returns value / set the results from Sql statements? Are the parameters of each statement different? You can use the SQL Profiler to track the database's SQL statements. You can use a single SQL Connection object and connection. Adam You must either resolve sql commodit...

dynamic - jQuery reinitialize/refresh draggable/sortable elements dynamically -

I have some functions that I load in the prepared () event, they basically make a list dragable , And other areas are drop-worthy / sorted, for example. You can drag a clone into several areas (lists in the Divisions), and within these multiple areas, you can sort / reorder them (but only in each area). It works perfectly. I have a button that dynamically creates a new area to drop objects, then sorted. This makes the new area fully, but you can not leave objects in it or you can even sort them. I know that this is the fact that I use all the fields in the page load () event, and in reality these functions are not dynamically running again. I have tried to use 'Refresh' on these elements within the click function of the button. E.g. $ (".field"; li) Dragable ('Refresh'); $ ("Dragrow1, .dragrow2") Droppable ('Refresh'); $ ("Dragrow1, .dragrow2") Sorted ('refresh'); But that does not work if I can help it, then...

silverlight - ActiveX cab alternative -

I need an option for ActiveX control to run code on client-side, I need to download a file and binary it The solution is needed to execute the code but the only solution I found was an ActiveX cab control basically communicating via sockets with macframes, what this control is going to do. Maybe I can do it with Silverlight, but I do not know whether this is the best solution or not. I know that I can use a server, but since I'm expecting a lot of consumers and I do not want to surrender my server with at least 5 users per connection, I do not know that on the net framework There is a new .cab, but I was discovered a lot and I was not able to find it. Active X is not unacceptable, but I want to know that there is a better solution. I think ActiveX is a very old solution to this problem because I am using Net Framework 3.5. It just feels like using the VB6 solution of this problem. And ActiveX control is very difficult to manage deployment. The only component option avail...

c# - .NET App Hangs in Release mode only, sometimes ... :-( -

In our program, you can select the document type from a list. Then you click OK, or double-click on the selected item, and a new document has been created and shown. The problem now is that at some time, only in release mode, when you double-click an item the app is hanging you can still move windows, and all are properly repainted, But there is no answer ... when in debug mode, there is no problem ... Besides, most of the time everything works fine ??? No error information has been shown ... whatever we can do ends the process ... How can we find out what is hanging? In Visual Studio, process the tools to attach + and select your program. If necessary, use Debug + Windows + Threads to select threads. Debug + break all, see this call stack to see where it is deadlocked.

java - Show a tooltip above a cell in a JTable -

I have to show a tooltip above (or below) when the user will enter the wrong value (see image below). I have a tooltip, but I need a point to display it at the right position, so I want to get a cell status. Do you know how to get it? But, if you have a better solution to realize this behavior, then I am open to all proposals (especially for the fact that Tooltip Cell / Jtable / panel and if I take my window Tooltip is shown in the same position to go / stop / decrease) Thanks, Damian Try

Web portal architecture using a LOT of jQuery -

Some time ago I heard a very experienced web developer describing an ideal (architectural) architecture for a portal. Web server (to use jQuery) Talk to the application server) Database and application layers made the total meaning and I have used the same paradigm in many projects, but I was astounded by the web server. It seemed as though all jQuery was going to be JSON or XML from the application server and was making a page in any way. It seems like a very calm idea. Unfortunately, I have never heard how it went. Is this sound a good design? Would you design a site like this? I'm sure they had a non-javascript tasting that would create stable HTML from the application server. Why not just put the whole site in non-javascript tastes? Note: I listened to this discussion and did not see any design drafts or anything, so I have some facts frightening. There is already one such application: Gmail - though it does not just use jQuery, but It's the same principle ...

installation - setup Qt and PyQt on mac osx so my app can also deployable on windows -

I'm coding with Python and C ++ and now working on creating a GUI for data visualization purposes. the wanted. I work on Mac Snow Leopard (Intel), using Python 3.1GCC 4.2.1 (from Xcode 3.1) I wanted to install QT and PETT before and enabled in my goals To be: - GUI prototype and logic with which runs the GUI using the PYQUT and Python - If I have decided that I need speed, or if I use the QT tool to mine in CEI It's easy to translate the eye, there are options to translate my app into C ++ - be able to deploy your application on Windows (my app's Python and C ++ version) Give the above goals, what should I take the right steps, and what should I know about the establishment of QT and PECTT which other equipment do I need? So far from my readings, what do I have here: Download the QT source for Mac and configure it with it - platform MAX-G + + 42-arch x86_64- A framework (I have read somewhere that due to some deployment in manufacturing deployment and / or d...

flash - (curiosity) Why does youtube show the loading icon even when it has loaded enough video to start playing? -

I mean YouTube or any other streaming video site, but I've seen it on YouTube. The loaded band shows that enough video is loaded more than the stream so that the player can play it, but it is suddenly loading and showing the loading icon? I'm just curious but this is a question related to programming because it can help me understand flash video better. AFAIK, streaming video does not load sequentially, although the protocol tries to do this It is possible that a part has not yet been fully downloaded, on average, most of the video is shutting down the moving download bar, it seems that nothing happens. There is another possibility, but I do not know that the protocol is adequately adequate, that a special package is not fully received, but the application thinks it did. When trying to execute that part of the stream, the video stops, while it loads missing bits.

sharepoint - Creating Custom Field Types with Additional Column Settings -

I am trying to create a custom field type that can be found in the several lines of text fields P> How do I Can i get Thanks in advance! I think what you need in these articles is very good: , but how can this field editor (and) create

design - Modeling a Join Table -

I have the following database model: [user] Name of the ID [role] Name of the ID [UserRole] UserId RoleId IsActive And I want to make a good way to represent this relationship and in the property that is in the objects without representing a class to represent the UserRole table. Any thoughts? Thanks a lot! is simply a feature of a user object called "roles", in which a list of roles it occurs. For a list of active elements, even for a passive people, for 2 attributes, you can use the object to manage the active flag. In addition, you may be in the role of users in the role of the role object (either additional or extra role attributes in the user object) - again with the "inactive" copy.

Open a web browser in C# XNA? -

Under certain conditions, I would like to open a web browser directly with C # XNA game, the browser will point to that site , Which I will specify. Is this possible? You can call. Note that this will not work on Xbox (obviously)

iPhone OS 3.1.3 does not work with Xcode 3.2.1. Do I have to install SDK 3.2 BETA? -

Do I have to install SDK 3.2 Beta to work with OS 3.1.3 similar to the title? I really want to avoid setting beta on my main workstation. No other way? I'm thinking of Rollback to OS 3.1.2. If there is no way, I am sorry that I have not made any backups. Version of iPhone SDK 3.1.3 Tomorrow iPhone Dave Center, install it and return you to business needed. 3.2 Do not install SDKs unless you do iPad development.

c# - Linq to sql object is marking it to insert automatically -

I am creating a clone of some organizations so that they can be bound to some grid and some changes to avoid objects Can be done such as: var clonients = data contacts. Some tableau FirstOver Default (). Some ChildTable.Select (x = & gt; New SomeChildTable {SomeProperty = x.SomeProperty}); Some properties are not primitive types but rather data contact items (other entities). After doing so that the objects on clonitives are marked as I did SomeChildTable.InsertAllOnSubmit (cloneEntities) , which I did not do. If I don not to mark the properties of any entity, not to be included in the objects. How do I get child institution cloned without having to be cloned without putting it? Thanks UPATE: It seems that I am not expressing enough, therefore, give examples. We have an employee and store table, some employees can work on many shops, so you have an employee store table to keep track of employees working: Employee ======= Code Insul Faucet Identification...

python - How do I write a Django template custom tag that adds a slash before a single quote? -

Am I doing this right? (Maybe not ... is there any right? Thanks) prefix register.filter ('addlashes') adds @stringfilter def (text, RGR): return text.rele ('\' ',' \\ '') {{query | Addlashes}} Filter with the exact same name: This also avoids double quotes, and double slash. If you want only single quotes, you have to customize it and give it a different name. The original works here: def addslashes (value): "" It is useful to avoid strings in CSV, for example, to avoid javascript Less is useful, instead use `` `` AJAX`` filter. ('' ',' \\ '). ("'," \\ ") adds add_shes_safe = true addlashes = stringfilter (addslashes)

Objective-C iPhone - YouTubePlugIn.webplugin/YouTubePlugIn warning -

I am trying to play a YouTube video within an iPhone app using the technology in this URL The technique works fine and the video plays fine, except that I am getting this warning Warning: "/ Developer / Playfomes / iPhonephone Platform / Device Support / 3.1.2 (7D11) / Symbol / System / Library / Internet plug-ins / YouTube plugin.weblogin / YouTube plugin "(no file For not found) Unable to read the symbols. This slows down the app for the first time when I get a warning. It seems that many people are getting the same warning, but any of the platform I have read, none of them is the solution to get rid of the warning. Do I need to download something or do specific things? I also tried to add the YouTube framework from "/ Developer / Playfoam / iPhoneOs Platform / Developer / SDK / Iponos 3.1.2.sdk / System / Library / PrivateFrameworks / YouTube.framework". > Please highlight. Some clips will not run in a mobile device Check if you clip. "/...

Android: Order of statements in onDestroy() method -

If I rotate on the screen, I override the directory () method of my main activity to recycle bitmap. , Then suppose .butmap.recycle () before or after .onDestroy ()? What is this? The order does not matter. There is nothing other than the base implementation of OnDestroy (), which you have said it to. Some derived classes (such as ListActivity) can do something, but you will be fine until you try to use any of your position after calling the derived class.

c++ - Composing objects of a class you inherit from? -

I have a square parameter, whose purpose is to represent possible values, hold a certain parameter (two key methods , GatewayValues ​​() and Gettyval (Int Index)). Often a logical parameter (parameter values ​​are slightly flags) is represented by 2 or more examples of the parameter class (i.e. parameter may be 1 or 2, and 4, 8 is a parameter Rather than a parameter 5, 6, 9 or 10). To handle it, I would like to create a composite parameter class that includes parameters, and implement the getimmuvillus () and gateway () functions on the basis of the combination of those holding parameters. And since composite permitter is combining the parameters to act as a single parameter, "composite permiter one parameter" relationship is understood. That's why I find myself in the situation where I have a class that collects the objects of that class which comes from it, which does not seem right, but at the same time, I do not know the higher level Why code composite paramet...