Posts

Showing posts from June, 2015

delphi - How to change Caption of an event in TcxScheduler? -

How can one change the caption of an event in TCXSudular? I have tried the following code: cxScheduler.SelectedEvents [i] .Caption: = 'X'; CxScheduler.Invalidate; But the caption is obsolete until the current event changes. In addition, if you try to edit the caption by the Inface Editor and then cancel the editing mode, then you will see the obsolete again value. The correct caption should be saved on the screen and on the respective dataset. Thank you very much for the help! PS related DevExpress problem: DevExpress Team Solutions: This behavior arises from the fact that you have changed the caption of the control event, but not the TcxSchedulerEvent item. I recommend that you use the following code, instead: if cxScheduler.SelectedEventCount> 0 then cxScheduler.SelectedEvents [0]. Source.Caption: = 'X';

- Where Developers Learn, Share, & Build Careers

Image
My problems: 1) Postback is always 2) What This is The user clicks the visible click button. It says that is invalid (). If the page is valid then invoke the server side function. If the page is invalid, then the warning. & lt; Asp: button id = "btnSubmit" runat = "server" text = "send" tooltip = "send" CausesValidation = "true" CssClass = "blueNew buttonNew" OnClientClick = "if (); return false;" / & gt; & Lt; Div style = "display: none;" & Gt; & Lt; ASP: Button ID = Submit "hidden button" "runat =" server "OnClick =" btnSubmit_Click "/> & lt; script> function isalid () {if (Page_IsValid ) {Var button = document.getElementByID ("& lt;% = hiddenBtnSubmit.ClientID%>"); button.click ();} Else {if (! ReqFirstName.IsValid) {Warning ("The first name is invalid" );}}} No, you just To add validato...

"pip install Plone" installation error -

$ pip स्थापित करें Plone बहुत सारे संकुल स्थापित किए हैं लेकिन फिर से निरस्त इस त्रुटि के साथ: फ़ाइल "/ यूज़र /rob /.virtualenvs/plone/bin/../lib/python2.7/site.py", पंक्ति 172, addpackage exec में (पंक्ति ) फ़ाइल "स्ट्रिंग & gt;", पंक्ति 1, & lt; मॉड्यूल & gt; KeyError: 'z3c' प्लॉन स्थापना का समर्थन नहीं करता है pip के माध्यम से, भले ही इसे pip खोज Plone के साथ एक पायथन पैकेज के रूप में पाया जा सकता है। मुझे यह प्रश्न # प्लोन आईआरसी चैनल। प्रति @ स्टीवएम की टिप्पणी, आसान_ स्थापना और सेटअप_टोल्स सिर्फ प्लोन के रूप में कई निर्भरता वाले किसी एप्लिकेशन के लिए सभी ज्ञात-अच्छे-सेट वाले मुद्दों से निपट नहीं सकते हैं। सन्दर्भ:

c++ - Bit Array Program -

So I am in the summer of OO class and yesterday we have an exam based on this project. In fact, we need to create an array that holds bits in an unspecified quantity and writes four functions which set this array - Set set with set bit 1 , Unset () // set 0 , flip () // change bit (with the given index) and query () // with the given index. If true Bit is set, then set to true 1, wrong otherwise . If there is any interest then this is a complete statement: and some sample runs: The problem I have is with high level concept I am quite sure that we Want to store the byte presentations of bits in each index. If this is true, then I am in a disadvantage for the implementation of the tasks completely, if someone can give me some indication on how I can reach it (I think this should be a good understanding tonight because tomorrow I am tomorrow I would write some pseudo code for) I would be quite appreciative. This is my .h if it helps // bitarray.h // // bitrate class d...

- Where Developers Learn, Share, & Build Careers

Can someone tell me how to check the value of the 6 digit check is 5 digits alpha numeric But the 6th digit should be numerical in an ASP code using VB if your value Only fixed for 6 digits, you can use the function if your value is not set for 6 digits and you need to check the final digit If needed, you can experiment with the function . For example: & lt;% is_numeric = notumeric (true (myValue, 1))%> or & lt;% is_numeric = numeric (middle (myValue, 6,1))% & gt;

flex - Adding Description to MapQuest Flash API Mobile -

मूल कोड: सुरक्षित फ़ंक्शन map_creationCompleteHandler (ईवेंट: FlexEvent): शून्य {यह। जियोकोडर = नया जियोओकोडर (this.map.tileMap); this.geocoder.addEventListener (GeocoderEvent.GEOCODE_ERROR_EVENT, this.onGeocodeError); this.geocoder.addEventListener (GeocoderEvent.REVERSE_GEOCODE_RESPONSE, this.onReverseGeocodeResponse); this.geocoder.addEventListener (GeocoderEvent.HTTP_ERROR_EVENT, this.onHttpError); cursorManager.setBusyCursor (); this.map.removeShapes (); Var ll: LatLng = नए लाट लाँग (संख्या ('40 .053097 '), संख्या (' - 76.313652 ')); this.geocoder.reverseGeocode (डालूँगा); } निजी फ़ंक्शन onGeocodeError (e: GeocoderEvent): शून्य {// ट्रेस त्रुटि ..} निजी फ़ंक्शन परएचटीपीएयर (ई: जीओकोडरइवेंट): शून्य {this.cursorManager.removeBusyCursor (); This.makeErrorList ("HTTP त्रुटि"); } निजी समारोह परReverseGeocodeResponse (घटना: GeocoderEvent): शून्य {// locationg को वर्णनात्मक नाम geocoded जा रहा है। } OnReverseGeocodeResponse इवेंट पर, मैं स्थान टूलटिप क...

regex - Regular expression syntax advice needed -

Can someone please advise me what I am doing wrong here: Sed /&.*?;ss// ' I am trying to remove all but' this text ' lt ; Td rowspan = "2" width = "80" valign = "top" & amp; G; & Amp; #xD; & Amp; Lt; Img src = "http://foo.bar/image.jpeg" / & amp; Gt; & Amp; #xD; & Amp; Lt; / TD & amp; Gt; & Amp; #xD; & Amp; Lt; TD & amp; Gt; & Amp; #xD; This text & amp; #xD; & Amp; #xD; If your search string is static, then you just have a simple Grep : grep -o "this text" file.txt Otherwise, you can use sed And match some patterns, try: sed -e's / & amp; * $ $ '' -e '/ ^ $ / d' -e '/ ^ lt; Td / d 'file.txt You may need to include several other expressions such as: -e' / ^ lt; Your data file to remove other undesirable lines in td / d ' , if included in it. HH

.net - C# DriveInfo class causes windows error popup -

Image
The DriveInfo class sometimes displays a windows message popup when using "itemprop =" text "> after insert a disk in code The fact that I am working with is quite standard: var driveInfos = DriveInfo.GetDrives (); Foreach (DriveInfo DriveInfo in driveInfO) {try (driveInfo.IsReady & amp; (DriveInfo.DriveType == DriveType.Network || driveInfo.DriveType == DriveType.Removable)} {var driveText = String.Format ( "{0} ({1})", driveInfo.VolumeLabel, driveInfo.Name); There was a glance on the web After it came to know that this is an unusual error, but one is the problem of environmental issues on the machine (people report what is happening in it When things go like chrome) because of A lot of people have fixed this by clearing old usb references. The error does not really stop the program from working normally in a different way than displaying this message. (And does not get stuck in the catch block) It is a WPF application that is going t...

- Where Developers Learn, Share, & Build Careers

How can the timer open a new ninja reference on the task? Configuring the nineteenth area of ​​a network of hard times if I set it as InRequestScope () does not work on non-requested tasks. That's why I'm setting the following so that I can get InThreadScope for work: kernel.Bind But like this, when I set a timer timer timer = new timer (_ = & gt; delayed disconnect (chatUser.User.AuthorizationId), faucet, timespace.foamseconds (10), timespace from milliseconds (-1)); dbContext does not refresh with new database values. Public Deletion Declined Disconnect {String Authentication ID} {var myChatUser = GetChatUserByClaimedIdent Ifier (authorizationId); if (! MyChatUser.ChatClients.Any ()) / / old state (does not reflect the database change from 10 seconds ago). Then ... current How to open a new blank "context" to reflect state / db values? Background tasks should not be run in the ASP.NET application. To do this, write a service Using a ...

Paypal not calling IPN script at all on my web server -

I am trying to use PayPal IPN on a website. The payment works and is marked as "complete" The return URL works An email is sent to the payment But it seems that PayPal does not speak to the IPN script when checking with Warhark, when payment is sent, there is no communication with my website is. It may be because this communication is embedded within an SSL communication and non-secure HTTP Can the server refuse to process IPN from PayPal? I thought this box, but it does not seem that it does not reach my server, and PayPal does not do something like "your server has IPN Infos Refuse to receive ". So PayPal is not calling the IPN script. I am 99% sure my request is in the right place, but here's the button I created: " Method = "post" target = "_ blank" & gt; & Lt; Input type = "hidden" name = "CMD" value = "_x click" & gt; & Lt; Input type = "hidden...

- Where Developers Learn, Share, & Build Careers

I am developing a Maven plugin which will use the ICLS file, but the only way I found it to be An example is how can I get an example of IFile from a file object in IFile? Without the eclipse core, especially org.eclipse.core.resources Plugin, no resource tree, no workspace, and therefore no IFile was not icas file is part of the JDT implementation, and also, to use outside of eclipse I'm pretty sure that you will not be able to do this.

maven - How can I get a IFile instance from a File object in a non Eclipse plugin -

I am developing a Maven plugin which will use the ICLS file, but the only way I found it to be An example is how can I get an example of IFile from a file object in IFile? Without the eclipse core, especially org.eclipse.core.resources Plugin, no resource tree, no workspace, and therefore no IFile was not icas file is part of the JDT implementation, and also, to use outside of eclipse I'm pretty sure that you will not be able to do this.

- Where Developers Learn, Share, & Build Careers

My image shows that it is too black I use the function setBlendFunc . But when the phantom does not run animate, it will work. How can this be fixed, to run, does not work? CCSprite * effectSprite = CCSprite :: create ("init_black.png"); EffectSprite-> Setbendfunk (ccBlendFunc) {GL_ONE, GL_ONE}); SolidarSpritt * Enemy False = (SolidarPrint *) (enemy-> ObjectItInx (0)); CCARA * Status = Enemy Solider- & gt; Solidarposition; Status- & gt; Maintaining (); Cout & lt; & Lt; (CCString *) Status-> Object at Index (0)) - & gt; Intu () & lt; & Lt; Endl; EffectSprite-> Setup (CCP (CC string *) Position-> ObjectOutIndex (0)) -> gt; Intave (), ((seistring *) position-> ObjectItendex (1)) -> Intuue ()) ); This- & gt; AddChild (effectSprite); String effect string = "effect"; If (this-> direction) {msg.property [1] .append ("L"); } Other {msg.property [1] .append ("R"); } CCAnimate * effectAct...

- Where Developers Learn, Share, & Build Careers

I'm sure there is a group of GIT users out there that had this problem: Create a branch from the master We call it featureX . While working on, featureX , you feel that you want to fix the previous commit: You work your right. You do your rebase and squash / fix. Later you would like to resize your master with the latest changes in featureX Break things because your branches are separated (fixing was not done in the master). You have a bad day. This is the second time with me that for the first time, I did not have too much history in featureX and was just a new branch of the Master of this But what do you have to do? How do you solve it? Is it possible that git reset a certain referral? In that case, I can undo the Rebase and move it properly to decide on the top of featureX (using the interactive rebase). I'm sure there are different ways to go about this, but I think this is a common problem. Before (refael) because your fix up is sti...

css - CSS3 Transition not working in Firefox -

संभव डुप्लिकेट: पहले पोस्ट यहाँ। मैंने शोध किया है और उत्तर में प्रतीत हो रहा है, लेकिन शायद मैं निराश हूं। एफएफ में काम करने के लिए मुझे एक पृष्ठभूमि की छवि के आसानी से मेरे CSS3 के संक्रमण नहीं मिल सकता है, लेकिन यह क्रोम में काम करता है। यहां जेएसएफईडीड के माध्यम से मेरा कोड है: HTML: & lt; a href = "http://example.com" शीर्षक = "" आईडी = "लोगो" & gt; & Lt; span id = "logoimg" & gt; & lt; / span & gt; & lt; / a & gt; एक ???? सीएसएस: #logo {display: inline-block; गद्दी-शीर्ष: 22px; पाठ-सजावट: कोई भी नहीं; फ़ॉन्ट-परिवार: 'यानोन केफफेज़ज़' रीगुलर ',' हेलवेटिका ', एरियल, बिना-सेरफ़; फ़ॉन्ट-आकार: 3em; मार्जिन-नीचे: 18px;} # लॉडो: लिंक, # लॉगो: का दौरा किया {रंग: # एफएफएफ;} # लॉलो: होवर, # लॉगो: सक्रिय {रंग: # सीसी;} # लॉलोमोइग {डिस्प्ले: इनलाइन-ब्लॉक; चौड़ाई: 405px; ऊँचाई: 220px; पृष्ठभूमि: यूआरएल ('http://www.webdesign-guru.co.uk/icon/wp-content/uploads/black-round-g...

Select top using NHibernate custom dialect to OpenEdge database does not work -

In order to be able to use NHibernate with the progress / openage database on ODBC, I have created a custom bid SELECT TOP? SomeColumn to SomeTable where SomeColumn =?; P0 = 100, p1 = 'test' The progress / open database does not support it, so I would like to make some changes to the bid for which the statement does not use the parameter Forcing the amount of columns in SELECT TOP - SELECT TOP 100 SomeColumn table where someColumn = ?; P0 = 'test' Is this possible? By the way, I am using NHibernate v. Looking at 3.3.1 I I would say that you have a false You must override the supportVariableLimit property to return. /// & lt; Summary & gt; /// What parameters can be used for a statement for a limit? /// & lt; / Summary & gt; Public override supports Bull VarianableLimit {get {return false; Unfortunately, NHibernate Linq does not use the SupportsVariableLimit property. It always tries to use the parameters. With a source cod...

python - Assemble mpeg file unable to play in mediaplayer -

I am currently working on a school project and I think that is to gather some problems with the MPEG file I The scope of my project is: 1) Split the MPEG file into pieces of many fixed sizes. 2) Collecting some of them and leaving some part. Problem 1: When I run the file in the media player, it will play the video until it reaches that segment which I left Give it Example: Chunk = ["yui_1", "yui_2", "yui_3", "yui_5", "yui_6"] Duration of each segment: 1 second * If you think I have left the "yui_4" section. * If I went to collect all the parts except "yui_4", then the video will play the first 2 seconds before being hanged throughout the period. Problem 2: When I gather the first part off the part, it is unable to run the full MPEG file is. Duration of each piece: 1 second Example: wheel = ["yui_2", "yui_3", "yui_4", "yui_5", "yui_6"...

java - Hw can i send a search query to thesuarus.com through html page? -

I have created an html page that contains a text field and a submit button, the user records a word in the text field and Submit click is a servlet that receives the user input through request.getParameter (). Now I want to send this input word to thesaurus.com and retrieve synonyms for the word and want to send this synonyms back to the user as feedback. I want to add this functionality to the above sublettes .... plz help! You can use the java.net API or alternatively you can use the Apache HTTP Client Are there. Create a URL object using the Java.net API To test how the parameter is sent, you can use the Mozilla's http life header plugin

Renaming destination file without using Rename in NSIS script -

If I have been using the file copying the following SetOutPath " $ FOO_DIR "file" .. \ .. \ Bar.Dat "... SetOutPath" $ OTHER_FOO_DIR "file" .. \ .. \ Bar.Dat " Note that the file Bar DAT is later thought to be copied to other places during installation. How can I change its name for this specific copy operation? If I rename it on then the subsequent operations will not find it. I will set the destination file name to the file operation I'm looking for, but one can not get one. Of course I could get the answer directly after posting this question. * Smoke * The file actually takes the flag of the destination name. file ".. ... .. bar.DAT" /oname="DestinationNameOfFile.Dat "

fluent nhibernate not generating schema correctly on function -

I feel awkward that it is just my understanding of nHibernate and nHibernate contained. I have a small console application which exports schema based on a group of units of classes until I do everything that works great: public virtual User ID {get} Set; } The public virtual string first name {receives; Set; } Public Virtual String LastName {get; Set; } Public Virtual String Email {get; Set; } Public Virtual UserType UserType {get; Set; } Public Virtual Client Client {get; Set; } Public Virtual String UniqueIdentifier {get; Set; } Public Virtual ILIT & lt; UserAttribute & gt; UserAttributes {get; Set; } / ** Code ** / Public Virtual String GetAttributeValue (string name) {var value = user attributes in the code. FirstOver Default (ua = & gt; U. Attitude Definition. AttributeName == Name); If (value! = Zero) return value value; And return string Empty; } If I comment on the function, everything works great even if I have a function return string. Empty, everythin...

objective c - Date time formatting proglem in ios restkit -

I have a .NET Rest service that provides data in JSON format. UTC has a field date time that looks like this: "cicad": "2012-07-11T13: 28: 42.967" I Turning in to get this date in my iOS application, but every time I try to make myself I'm nullified: NSDateFormatter * dateFormatter = [NSDateFormatter new]; [DateFormatter setDateFormat: @ "yyyy-MM-dd'THH: mm: ssZ"]; DateFormatter.timeZone = [NSTimeZone timezone: Babe: @ "UTC"]; NSArray * dateFormatters = [[NSArray alloc] initWithObjects: dateFormatter, zero]; [RK object mapping set defaulted formatters: date formats]; Am I doing wrong? Thanks! Try this: NSDateFormatter * dateFormatter = [[NSDateFormatter Alloc] init]; [DateFormatter setDateFormat: @ "yyyy-MM-dd'THH: mm: sssss"]; DateFormatter.timeZone = [NSTimeZone timezone: Babe: @ "UTC"]; NSString * str = @ "2012-07-11T13: 28: 42.967"; // NSArray * dateFormatters = [[NSArray alloc...

web services - What to study in webservices -

I am able to access any webservice from the net through my wsdl and I create my own webservice and then I am able to access it through my WSDL, but what I have done is using Eclipse, so I've written a lot of code, whenever I develop a web service myself, but when I remotely I use the web service from the server, so I I did not write any code, so I'm a little confused. I should have done this in web services, or I should do something else if someone else told me what else I should do ... Thanks in anticipation > Web service : They can be called an API that can be used as an interface between the customer works; ex :: By using a medium called HTML for communication, let's say that you have a They want to use ... they are ready to provide the data, but they will keep the underwriting architecture of the system confidential. Here's the solution website, which allows you to get your data without touching other layers of architecture! This allows diff...

- Where Developers Learn, Share, & Build Careers

I am using Telerich's Red Calendar control for my Windows Phone application. I want to change the background color of SelectedDate in WindowsPhone's RadCalendar ... is there any way to change this? You can change the properties of the selected day using a special template. Here is a sample data template for one day: & lt; TelerikInput: RadCalendar & gt; & Lt; TelerikInput: RadCalendar.ItemTemplate & gt; & Lt; DataTemplate & gt; & Lt; Grid margin = "5" & gt; & Lt; TextBlock Text = "{Binding Extension Text}" FontSism = "7" MaxHight = "25" Vertical Element = "Top" margin = "0, -2,0,0" /> & Lt; Text block text = "{binding text}" workspaceElement = "bottom" horizontal alignment = "left" /> & Lt; / Grid & gt; & Lt; / DataTemplate & gt; & Lt; / TelerikInput: RadCalendar.ItemTemplate & gt; & Lt; / TelerikInput: R...

- Where Developers Learn, Share, & Build Careers

I have a text document that I would like to substrate. I have the following codes are using substring of: substr (text, start + end-start) Initially, a vector of 60 elements. However, the above code only returns the value of substr (text, 110 9, 110 + 199) . I have all 60 elements, namely substr (text, 1109,1109 + 199) substr how to return (Text, 115 9, 115 + 9 199) .... Sample data Start [1] 11009 11590 11972 15674 16274 16659 19866 20541 20 9 63 24787 25376 [12] 25746 29458 30011 30363 34086 34702 35087 38643 39095 39416 42626 [23] 43188 43545 46731 47367 47757 51029 51673 52072 55444 56076 56470 [34] 59794 60445 60851 64267 64877 65276 68659 69200 69547 72747 73303 [45] 73657 76896 77648 78103 81541 82050 82391 85277 85848 86227 89128 [56] 89,656 90010 92,830 93,329 93,656 end 1 199 199 199 201 201 201 218 218 218 186 186 186 177 177 177 192 192 [18] 192 160 160 160 178 178 178 194 194 194 200 200 200 197 197 197 205 [35] 205 205 200 200 200 174 17 4 174 ...

iphone - DateTime Objects to NSDate/NSString in iOS -

I get a date from the web service (Odata web service) in this format / Date (847065600000) According to this question. This is a timetable item. Anyone can help to convert it to legitimate iOS date format. Thanks NSTEminentval time interval = 847065600000; NSDT * date = [date of NSDT with time interval: 1970: time interval]; Update: I checked your number and it looks like it's actually in milliseconds. You should divide it to 1000 before going through the date to get the correct date.

- Where Developers Learn, Share, & Build Careers

Hello, I have 2000 HTML files in a folder and their names run on each other in this way: 01_001.html 01_002.html 01_003.html 01_004.html 02_001.html 02_002.html 02_003.html ........ ..... 33_001.html 33_002.html 33_003.html .............. 33_123.html I would like to add a link / script to all 2000 HTML files which will dynamically move to the next / previous HTML page in the same folder I know how to add it in PRL , But Javas Look like this kind of link / script in crypt / jQuery I tried this script: & lt; A href = "#" onClick = "movePrv ();" & Gt; Previous & lt; / A & gt; End and lieutenant; A href = "#" onClick = "moveNext ();" & Gt; Next & lt; / A & gt; But does it work any thoughts? Any solution in PHP may look like this: Lt ;? Php $ file = basename (__ file__); $ Chap = substr ($ file, 0, 2); $ Cat = substr ($ file, 3, 3); $ PrevFile = sprintf ("% 1 $ 02d_% 2 $ 03d.php...

- Where Developers Learn, Share, & Build Careers

If I have a variable: I've sent it a complete file text $ var = In the file, say 'mine' comes in the 17th line (location is not available, but just giving examples) and I want to search after a pattern 'word' n (like 10) the word 'mine' If the pattern 'words' exist in those lines or not, how can I do that without regular expressions of the array Switch to Example: $ var = "I'm good at Pearl \ n But I would like to know about this \ N details grep command"; I want to find special patterns in special lines (line 2 to 3 only). How can I do this without using the array? There is a legitimate case to not use arrays - When the file is larger than prohibited. Instead of having to beat around the bush to find Perl idiom is a very specific need, I Upastratin write: sub n_lines_apart {my ($ file, $ N, $ first_pattern, $ second_pattern) = @_; My $ FH, '& lt;', Open $ file or $ !! My $ lines_apart; While ( Wa...

xml parsing - Issue Changing Simple Text on header.tpl using VQMOD in OpenCart -

I am trying to use the VQMod for the first time and when I do not have any code given at the bottom of my page Varies. I tried changing the home link to the top right of the home page (open train) on my home but the text did not change. Unfortunately, there was no error in the VQMOD manager. My XML code is below Do I need to add something to my TPL or make any other changes? & lt; Research & gt; & Lt; File name = "catalog / view / theme / * / template / common / header.tpl" & gt; & Lt; Operation & gt; & Lt; Search Status = "Replace" & gt; & Lt ;! [Cdata [ You can not replace header.tpl as your code. VQMOD "can only search for single lines" Not a particular variable Try this code: & lt; File name = "catalog / view / theme / * / template /common/header.tpl"> & Lt; Operation & gt; & Lt; Search Status = "Change" & gt; & Lt ;! [CDATA [& lt; Div class...

python - Method of exiting and closing file for both Windows + Linux -

I am currently using this code if __name __ == "__ Main__ ": Try: Keyboard Interrupts except the main interface (): f.close print" left! " Is this the best way to do this? Earlier, a file is being written in the script and I want to ensure that the script has to be closed. Any ideas please? Note: f.close is not actually close the file , You have to call the function: f.close () To answer your question, using the best method with the block Used to be . The file will close automatically, even if an exception has been raised: with open ('test.txt') f: pass # pass = Close the file automatically with block exits

visual c++ - MemDC in OnPaint()-function -

Many other drawing functions call my on-page () function. Zero CGR :: Onepant () {CPTDC DC (this); // CMMDC DC (and DC); Dc.setViewportOrg (0, 400); Dc.setMapMode (MM_ISOTROPIC); Dc.setwindowExt (1000, 800); Dc.setViewportExt (1000, -800); Data processing (); Dracoordinate system (& amp; DC); Dragrid (& amp; DC); Draft (& amp; DC); } Example of DrawCoordianteSystem: void CGraph :: DrawCoordinateSystem (CDC * PDC) {CPN Penblock (PS_SOLID, 1, RGB (0, 0, 0)); PDC- & gt; Selection Object (Penblack); // Rectangle in System Round PDC-> Rectangle (0, -400, 1000, 400); // Horizontal axis PDC-> Moves (0, 0); PDC- & gt; Linto (1000, 0); PDC- & gt; Settextroller (RGB (0,0,0)); PDC- & gt; Setbacker (RGB (240, 240, 240)); PDC- & gt; Textot (1001, 0, L "0"); // Vertical axis PDC-> Moovato (0, -400); PDC- & gt; Linto (0, 400); } However now I want to avoid flicker with CMEMDC, I can not find it to work right. Can anyone show me ho...

Substitue and matched expression in a regex perl -

मेरे पास एक HTML फाइल है जिसमें कई अभिव्यक्तियाँ हैं / v / global / nagargaurav / कॉल ::ROWS_ARE_MATCHED.log मेरे पास ऐसा कोड है मेरे $ dir = / v / global / nagargaurav /; $ Html = ~ s / $ dir \\ / (। *?) :: (। *?) \। लॉग / $ 1: $ 2 / जी; $ Html प्रिंट करें; यह आउटपुट देता है कॉल करें: ROWS_ARE_MATCHED लेकिन मुझे इस तरह आउटपुट की आवश्यकता है ** कॉल करें: पंक्तियां मिलती हैं ** और ऐसी कई पंक्तियां हैं, लेकिन अभिव्यक्ति समान है। कोई भी इस के साथ मेरी मदद कर सकता है। सख्त का उपयोग करें; चेतावनियों का उपयोग करें; मेरी $ html = '/v/global/nagargaurav/CALL::ROWS_ARE_MATCHED.log'; मेरा $ dir = '/ v / वैश्विक / नागर्गौरव /'; $ Html = ~ s / $ dir \ / (। *?) :: (। *?) \। लॉग / $ 1: $ 2 / जी; $ Html = ~ s / _ / / g; $ Html प्रिंट करें;

php - Number formats in smarty -

How to display my price ( 200,000 in 2 million, 20000000 => 2 million ) MySQL now needs to display this value as 200000 350000 2000000 20000000 2 / 2.00 lakh 3.5 lakh 20/20 lakhs 2/200 million Possible duplicate question Thank you. I agree with Rob Eger. I do not believe in your data, but such a thing is for the custom modifier function smarty_modifier_indian_currency ($ value) {if ($ value> 100000) {$ lacs = $ price / 100000; Returns $ 1.1 million ($ 100 million & lt; 100) ' lakh '; $ Crores = Floor ($ Million / 100); $ Lac = $ lac - ($ 100 * 100); If ($ lac == 0) returns $ 10 million 'Crore'; Return $ 100 million '/'. $ Million 'Crore'; } Return value $; }

javascript - Create triangle in google map -

I was searching this question about the last 1-2 hours, but if this question has been posted before I did not get any reply, please give me a link and delete it anyway There is a marker in my Google map and a mobile tower like this I have a 120 degree 10km Click the marker to make the triangle, Here's my code: google.maps.event.addListener (Marker2, "click", function (e) {Var myLatLng = e.latLng Var Tlat = myLatLng.lat (); var Tlng = myLatLng.lng (); var Tlng2 = Tlng + (10 * 0.009); var Tlng3 = Tlng- (10 * 0.009); var Tlat2 = Tlat + 30; var Tlat3 = Tlat-30; var Triangle Cores = [New google.maps.LatLng (Tlat2, Tlng2), new google.maps.LatLng (Tlat, Tlng), new google.maps.LatLn G (Tlat3, Tlng3;; TriangleCoords; Triangle = New google.maps.Polygon ({Path: Triangle Quards, Stroke Color: "# FF 20000", Stroke Opacity: 0.8, StrokeWeight: 3, Bhill Collar: "#FF 20000" , Bharopcity: 0.35}); Triangle.setMap (map); My current latitude is long 23.061...

Wordpress 3.4 deregister jQuery -

After upgrading WP from 3.3 to 3.4, wp_deregister_script ('jquery'); Is no longer working (appearing in the jQuery section provided by WP). The Deregister script is included in the functions.php file of my theme and looks like this: if (! Is_admin ()) {wp_deregister_script ('jquery'); } After the upgrade I was trying to custom it, but nothing really does not work. For example, I also tried to delete the script, but still not. if (! Is_admin ()) {wp_deregister_script ('jquery'); Wp_dequeue_script ('jQuery'); } Search for any opinion of your opinion and possible solutions. Use hook to do this add_action ('admin_enqueue_scripts', 'my_enque_func'); Function my_enque_func () {wp_deregister_script ('jquery'); Wp_register_script (...); // Enter your own script} about

what is the usage for "repo sync -d" in Android source repository -

रेपो की सहायता से, मुझे निम्न जानकारी मिली: द-डी / - -detach विकल्प निर्दिष्ट परियोजनाओं को स्पष्ट पुनरीक्षण में वापस स्विच करने के लिए उपयोग किया जा सकता है। यह विकल्प विशेष रूप से उपयोगी है यदि परियोजना वर्तमान में किसी विषय की शाखा पर है, लेकिन मैनिफ़ेस्ट संशोधन को अस्थायी रूप से जरूरी है। 1 क्या कोई मुझे बता सकता है कि -d विकल्प का उपयोग करने के लिए स्थिति क्या है? 2 क्या इसका मतलब है कि मुझे एक कामकाजी रेपो मिल सकता है ठीक उसी प्रकार के रिमोट रिपॉजिटरी के रूप में, चाहे आप किस विषय पर काम कर रहे हों। 'रिपो सिंक-डी' मेगनेट फ़ाइल में निर्दिष्ट लोगों के लिए वापस रिपॉजिटरी के HEAD को स्थानांतरित करेगा। अगर आपने अपनी कार्यशील निर्देशिका को मिला दिया है और इसे वापस लेने की आवश्यकता है तो मैं ऐसा करूँगा: Repo sync -d repo forall -c 'git reset --hard' # सभी कार्यशील निर्देशिका (और मंचन) परिवर्तनों को हटा दें

c# - can I return this: context.CreateObjectSet<Movie>()? -

मैंने कनेक्ट सीसी नामक एक वर्ग को जोड़ा है; नाम स्थान MovieApp.DAL {सार्वजनिक वर्ग कनेक्ट {सार्वजनिक कनेक्शन () // मेरे क्लास को वापसी प्रकार {var connStr = ConfigurationManager.ConnectionStrings ["Entities"] की आवश्यकता है; ऑब्जेक्ट कॉन्टैक्ट संदर्भ = नया ऑब्जेक्टटॉन्टेक्स्ट (कॉनसट.कनेक्शन स्ट्रिंग); Var movieContext = context.CreateObjectSet & lt; मूवी & gt; (); रिटर्न मूवी कॉन्टेक्स्ट; }}} फिर मेरे नियंत्रक वर्ग में है: नाम स्थान MovieApp.Controllers {सार्वजनिक वर्ग MovieController: नियंत्रक {सार्वजनिक ActionResult Index () {कनेक्ट कनेक्शन = नया कनेक्ट (// और मैं यहाँ क्या रखेगा ??); Var फिल्में = connection.OrderBy (m = & gt; m.Title); वापसी देखें (फिल्में); }} स्पष्ट रूप से मुझे त्रुटियां मिलती हैं क्योंकि मुझे नहीं पता कि यह कैसे करना है। किस प्रकार का मूवी कंटेंट होगा? कृपया मुझे काम करने के लिए यह कोड कैसे प्राप्त होगा? धन्यवाद! ऐसा कुछ? सार्वजनिक ऑब्जेक्टसेट और उसके बाद अपने नियंत्रक में: सार्वजनिक कार्यप्रदर्शन सूचकांक () {क...

c - Writing cyrillic characters into an xml file -

I use xmltextwriter to write some code using libxml2 I'm having files And I have to write them to Cyrillic characters. I do it like this: xmlTextWriterStartDocument (author, NULL, "utf-8", NULL); ... snprintf (buf, sizeof (buf), "% s", "тест"); XmlTextWriterWriteAttribute (Author, (const xmlChar *) "test_attribute", (const xmlChar *) buf); But when I open the resulting XML file, I see the HTML rendition of my code: test_attribute = "& # x442; & amp; ; # X435; & # X441; & # x442; " How can I fix this? You need to use a different YT-8 encoder. Your text in snprintf () is in CP-1251 (single-byte ASCII-Era encoding), UTF-8 (not variable-in-native encoding). See this link for contextual implementation: The comments are in Russian, but you only have one conversion table and string convert toUtf8 (const char * Chars, int len) At the end of the ceremony. Used when you used "тест...

how can i parse json object using javascript..? -

var रिस्पांस = $ .parseJSON (data.d); यह कोड काम नहीं कर रहा है .. मेरे जेसन ऑब्जेक्ट [{"ItemId": 1, "आइटमनाम": "सजलर" }, {"मद आईडी": 2, "आइटमनाम": "स्टार्टर"}, {"मद आईडी": 3, "आइटमनाम": "सलाद"}] मैं इसे कैसे पार्स कर सकता हूं ? समाधान मिला मैं 2 jquery शामिल है और उनके संघर्ष के कारण मेरा कोड काम नहीं कर रहा था .. मेरे काम कोड है: var jsonp = data.d; var lang = ''; Var obj = $। पीआरजेएसएएसएसएन (jsonp); $ .ईईसी (ओबीजे, फ़ंक्शन () {लाँग + = यह ['आईआईएमआईडी'] + "";}); चेतावनी (लैंग);

google app engine - Is there a way to sort according to child entities properties in JDO (DataNucleus)? -

We have a parent - child unit models which include the following: @ PersistenceCapable (Detachable = "true") public class field applied Serializable {@PrimaryKey private string name; @Passistent (mapped = "area") @ element (dependent = "true") private list & lt; Category & gt; Categories; } @PersistenceCapable (different = "true") applicable public class category does Serializable {@PrimaryKey @Persistent (valueStrategy = IdGeneratorStrategy.IDENTITY) @Extension (vendorName = "datanucleus", key = "gae.encoded-PK", value = " True ") Private string key; @print private sector area; } When we recapture all the regions along with their categories, do we name the category? I saw JDO query can be a setOrdering method, however Sort result unit is being applied to your baby unit and query properties. We are currently operating like using tree-map, though, is that the JDO / GSQL would be much better to us...

How to save multi selection after left/right click in primefaces's datatable? -

I understand how to look at this and save selection after already clicking on one of the selected rows Not in. For example, select 3 rows of user and one click on one of this will only show information about one of the selected rows when Now I am loading lazy and thus the context menu With DataTable is: & lt; p: DataTable id = "al_table" value = "# {alarmTable.alarms}" select = "# {alarmTable.selectedAlarm}" selectionMode = "many" var = "Alarm" resizableColumns = "true paginator =" true "lines" = "50" sortBy = "# {alarm.alarmTimestamp}" sortOrder = "descending" paginatorTemplate = "{} {CurrentPageReport FirstPageLink} {} {PreviousPageLink PageLinks} {} {NextPageLink LastPageLink} {RowsPerPageDropdown}" RowsPerPageTemplate = "25, 50 , 75, 100 "lazy =" true "style =" table-layout: auto "& gt; & Lt; P: ajax event = "rowDblsel...

- Where Developers Learn, Share, & Build Careers

HTML 5 can be locked in HTMLMax, introduced the defer attribute for scripts defer can be used for any script that does not need to be loaded before DOM (aka is not ready before mess with DOM). For a long time, Web developers have been advised that all scripts do not need to be loaded before the dot, instead of in the page head and defer at the end of the body tag and long practice advice? What is the latter option? I appreciate any answers. Thank you. Both async and defer script start downloading immediately without parsing the parser and both , so this behavior is not the same in all browsers. Therefore, performance will be better if the script is still at the end, because later it will be downloaded. Edit 2017: Browser support is better now, so you can probably take part in ASCIN / DEFER scripts in the head. It is still a safe option to possibly put them on the bottom; New browsers will still download them fast, even if they are not in the head.

c++ - Blocking I/O in portaudio -

After trying something wrong with portaudio in my spare time, I tried to broadcast a microphone Open, I've written a callback to do this - Callback only opens an output stream and then I use Portaudio's record callback. If the sample format for output is defined paFloat32 has not heard anything, but if I define it on paUInt8 and in the number of channel 1, then I hear a voice I (like the beep), but the detection of pitch (using FFT) is not equal to the frequency I transmit. So my question is that FFT has been implemented incorrectly (or - is it possible to use paUint8 and still get the correct answer) or should I try to block I / O? some code help): This is the output parameter for the output stream (input stream recording is from the example). outputParameters.device = Pa_GetDefaultOutputDevice (); OutputParameters.channelCount = 1; Output Parameters.sampleFormat = paUInt8; OutputParameters.suggestedLatency = Pa_GetDeviceInfo (outputParameters.device) - ...

perl - Append a Z at the end of the UTC time -

I am using perl, and passing it - & gt; dateTime-> and sub get_datetime {my ($ datetime) = @_ now for the method below (time_zone = & gt; 'UTC')) My $ formatter = New Date Time :: Format :: Strong (Pattern = & gt; "% Y-% m-% d% H:% M:% S", Time_Jon => "UTC"); Return $ formatter-> format_datetime ($ datetime); } and I want to display time like 2012-10-10 10: 00: 01 z How can I add z to the end of UTC time Am I I have pattern = & gt; "% Y-% m-% d% H:% M:% S% Z" but it does not compile. Try: Pattern = & gt; "% Y-% m-% d% H:% M:% SZ" % -We are part of the waze that are replaced by things from time to time; A literal Z should not contain% first.

asp.net mvc - Date range validation with Entity Framework 4 data annotations -

I provide the model for an ASP.NET MVC3 / Razor2 web application using the outline of the unit 4. I am using data annotation to implement verification. I have to restrict some dates to the extent accepted by the SQL SmallTyTime type. My problem is that I can not get range attribute to work correctly for a date field, in the question metadata model for the field is the definition: With this code, whatever value I enter in the date field, it is considered invalid by application. In the case of its' relevant, I am also using the JQuery-UI Date Selector in the field in question. Can anyone help, please? After where the error occurs, but my guess is that this client side (?) JQuery validation that does not work well with. To verify, disable jQuery validation and pass valid input (server) verification. To get around this, you need to enter your date range verification, e.g. Alternatively you can look at the packages as or if they can see the problem can be used to ...

javascript - jqGrid How to get the default sort back? -

Simple question so I will keep it brief: With enabled sorting on a single column, the user column header And you can sort that column in ascending or descending order. Is there a way to substitute "default" or "basic" sort order? They can successfully predict this behavior of what the default column sort order was and click on that column in the correct order (for example, an exposed ID field), but it seems that the "default" The order is not available near ... option sort name: "" , which is the default by default. You can set it per setGridParam and trigger the reload grid .

php - Script skips 1 data on output from database -

fetch_object ()) {$ id = $ row-> Msg_id; $ Mes = $ row- & gt; message; $ Mas = nl2br ($ mess); $ Cdate = $ row- & gt; Date_past; $ Msg = "{$ mes} {$ Cdate}"; // wall =============================================== ====? & Gt; & Lt; Li class = "bar"> php echo $ id ;; & gt; & Gt; & Lt; Div align = "left" class = "post_box" & gt; & Lt; Span style = "padding: 10px" & gt; & Lt ;? Php echo $ msg; ? & Gt; & Lt; / Span & gt; & Lt; Span class = "delete_button" & gt; & Lt; A href = "#" id = "& lt ;? php echo $ id ;; & gt; Class = "delete_update" & gt; X & lt; / A & gt; & Lt; / Span & gt; & Lt; Span class = 'feed_link' & gt; & Lt; A href = "#" class = "comment" id = "& lt; php echo $ id ;? gt;" & Gt; Comment & lt; / A & gt; & Lt; / Span ...

- Where Developers Learn, Share, & Build Careers

मेरी टीम चुट्ज़पा को टीएफएस 2012 बिल्ड प्रक्रिया में एकीकृत करने का प्रयास कर रही है। हम अपने शुरुआती बिंदु के रूप में इस्तेमाल करते हैं। उच्च स्तर पर व्यावहारिक मुद्दा यह है कि बिल्ड एजेंट टेस्ट रनर बिल्ड एजेंट संदर्भ में बस चुटज़पा हुक को नहीं खोज रहा है। इसलिए जब हम ** * * * जेएस को एक परीक्षण स्रोत के रूप में परिभाषित कर सकते हैं, चट्सपा बूटस्ट्रैपर बिना वास्तव में पाया जा रहा है और आरम्भ किया जा रहा है, टेस्ट रनर इन फ़ाइलों के साथ कुछ नहीं करता। अधिक विस्तृत स्तर पर, हम तीन संबंधित संदेश प्राप्त कर रहे हैं जब हम बिल्ड नियंत्रक के लिए कस्टम असेंबलियों को लोड करने के लिए लॉग की जांच करते हैं: सारांश: 0 विफलताओं, 2 त्रुटियां थीं और 1 कस्टम गतिविधियों और सेवाओं को लोड करने वाली चेतावनियां त्रुटि: विधि विधानसभा 'Chutzpah.VS2012.TestAdapter, संस्करण = 2.2.0.171, संस्कृति = तटस्थ, PublicKeyToken = 1ca802c37ffe1896' से प्रकार 'Chutzpah.VS2012.TestAdapter.ChutzpahAdapterSettings' में 'ToXml' एक कार्यान्वयन नहीं है। त्रुटि: एपीआई प्रतिबंध: विधानसभा '...

asp.net - send info from custom server asp element -

I want to send output to CSS information in style block protected override zero render contents (HtmlTextWriter Output) {... output.Write ("Style & gt; ...."); } But this block can be nested in the devil block. I should keep it in the head. How can I do this or any other way? The method allows you to & lt; Head & gt; However, CSS attributes that you can specify are limited to those supported by the class. (You can get your code from style , if you need additional features.) C # example: secure Override Zero OnPreRender (EventArgs E) {Base.OnPreRender (E); // Create a style object for the page body. Style body style = new style (); BodyStyle.ForeColor = System.Drawing.Color.Blue; BodyStyle.BackColor = System.Drawing.Color.LightGray; // Add a heading // heading style to the current rule page. This rule body is for HTML element This.Page.Header.StyleSheet.CreateStyleRule (body style, blank, "body"); }

multithreading - C++ How to make a dll modify a variable from main thread? -

I currently have a DLL which helps me with some tasks, and I want my DLL main thread . Do I send classes in some way (in a variable, there is a type name for a class), I would also like to include DLL in the file where the class is defined (.h file). So basically, how can I modify a variable from any other thread (in this case, the main thread)? Edit: The variable that I want to change is as follows: Group The group is a template class and UMesh is another class. Do I somehow send a DLL to a class (a type of typed name in a type) in a variable? Yes, should I include DL files, where the class is defined (.h file). No, you can not rely on your library some application types. Why would this library be useful for other applications? Your library will accept only this type of object known in this library. Then, you have been typed in your application: template & lt; Class T & gt; Class group; And you want some libraries to accept this type of object. ...

c - Using a String array in a thread function -

I am trying to overcome an array of thread function so that access to the array function. At the moment it is just the name of the thread. const char * a [2]; Char * s = "thread 1"; Four * r = "thread 2"; A [0] = s; A [1] = r; Pthread_create (& amp; amp; T, tap, Andhandlr, (void *) A [0]); Pthread_create (& amp; y, NULL, Bihandlr, (void *) [1]); The intention is to write to make such pthread_create (& amp; amp; t, Null, oddhandler, & amp; a;); Pthread_create (& amp; y, NULL, toohandler, & amp; a); How do I re-write this function to accommodate this change? static void * Azibkilaht (void * p) {char * Q = (char *) p; Printf ("% s is ready. \ N", q); Sigset_t set; Int sig = SIGUSR1; Sigemptyset (& amp; set); Signset (and set, SIGUSR1); While (1) {/ * Wait SIGUSR1 * / sigwait (and set, and SIG); Printf ("% s got a SIGUSR1! \ N", q); } Return ((zero *) faucet); } You can try pairing thread IDs with ...

- Where Developers Learn, Share, & Build Careers

Ive found an app with a square that implements Runnable where a thread starts and runs () method overrides It runs my graphics. 1. Question: How many times is called ()? I have set a time for it so it should be a default value? 2. Question: I should do stuff after a certain time (2 minutes, 5 minutes, 10 minutes) etc. What would be the best way to do this, I was thinking about using an integer as a counter and once it hits a specific value, what do I want? 1. Question: How many times is the run ()? I have set a time for it, so it should be a default value? Your thread is called the run () method when you call it for example. yourThread.start (); 2. Question: I should be made after certain time (2 minutes, 5 minutes, 10 minutes) etc. What would be the best way to go about doing this, I was thinking of using an int as a counter and once I assume it is a specific, what do I need? You can call the thread, sleep () method (NB: Never make it in your UI thread). Or ...

- Where Developers Learn, Share, & Build Careers

I used a member variable to define a 2D array limit instead of #defines to update a class I was doing this: #define kWidth3 #define kHeight 100 NSUInteger field [kWidth] [kHeight]; There are now wythth and KHite Eyes. I switch to the malloc conference, because I do not see any other option because the limit can now change The problem is that I have two [] ([] []) Can not reach the array. See my inline comment I'm sure I have correctly malloc'd I have done many times earlier and under iOS. Why can not I reach this way? self.kFieldsHeight = 100; Self.kFieldsWidth = 3; NSUntegaeer ** Field = (NSUNTEER **) Molok (Siezf (NSUNTEGER) * Self. Keffield Hight * Self. KeffieldSwidth); Memet (Field, 0x FF, Self Keffieldswidth * Self. Kefelditeite * Siezf (NSUNTEGER)); Now with the ////LLDB, I can see the array in one dimension // p field [0] / 0xFFFFFFFF // p field [29] / 0xFFFFFFFF // p field [300] / / 0xGARBAGE //// "Failed with error: The straight can not be demateria...

- Where Developers Learn, Share, & Build Careers

I am supporting a .NET 4.0 (Visual Studio 2010) web application that authenticates a SQL Server 2008 database My work intranet application has been authenticated for the database using Windows authentication. All fine and dandy if I'm developing on my host, but I'm working on a virtual machine which is not at work domains. Thus, when the project is created and runs, it throws a SqlClient.SqlException "Logging failed. The login is from an unreliable domain and can not be used with Windows authentication. . " My host is less in developing and leaving VM, what can I do to prevent this error and successfully verify the database so that I can build / run the web app Can i do I am willing to store my credentials locally anywhere, although preferably nowhere, which will be under TFS source control (like web config) because I can not keep the file out because other developers on the project I I have tried to run Visual Studio as a separate user (as a user on my wo...

haskell - Is it possible to use irrefutable tilde (`~`) patterns in lambda expressions? -

The GHC gives me a parse error on the input if I type the pattern of lambda expression to tilde As I can do the designated work step = \ ~ (X, S) -> gt; Run (fx) s - pars error ~ (x, s) = run (fx) s - works fine You have to add a location between Lambda and Tilde \ ~ (x, s) - & gt; The source of confusion is because the \ and ~ are both valid characters for the user defined operator, so code> \ ~ is parsed as the beginning of the lambda expression instead of being parsed: - Define the definition of a custom operator is allowed: a \ ~ B = {- ... -}

armv6 - ARM Architecture and Family -

I have started working on various ARM-based goals, but I'm missing out on ARM Core architecture, Instruction set and core families here at the Wikipedia page: I think every architecture There are many ARM architectures and many families for. For example, ARM6 is ARM 11 and ARM-Cortex-M family for ARMV6 architecture. What is the difference between ARM 11 and ARM Cortex-M for ARMv7 and others that architecture is the same? Both ARM 11 and ARM Cortex-M support the same set of instructions, do they implement the same architecture? There is a detailed detailed implementation of a family architecture, i.e. the actual hardware description required to form an ARM Core is a core implementation of a core one architecture, i.e. to create the actual blue print of the transistor and the ARM CPU Other discrete parts required for ARM architectures are modular so the family can only apply some of the features of the architecture and others may not have extensions in the architecture, and ...

How to interact with Facebook Graph API when using PassportJS -

Perhaps clear and simple I have an app that should use Facebook user's friends information A user has been authenticated after using PassportJS and my application receives how do I get information about the user's friends? Or is there any safe information? What is the scope parameter for user friend access? Edit: Just wanted to say that the original question was not really answered, but the reply was enough to continue with my investigation. My solution was to use passport JSS to manage the login flow, and when I get AccessToken, I use it for my Facebook graph API calls, which is very easy to do. I will do something for this again on my module and publish it on GitHub for use. To modify the scope, when you set up your route for the Facebook strategy, then you Do this. For example, if I want the user's email to become part of my scope, then I will look like the following: App ('/ At / facebook', passport. Authentication ('facebook', {scope: ...

eclipse - Android debugging DDMS failed connect Windows 8 -

I recently updated to Windows 8 . I can develop and run the Android application without any problems, but when it comes to debugging me [2012-11 -01 21:49:54 - ddms] can not bind to local error 8615 for debugger error. I have tried other solutions for this. Eclipse closing, murder of examples, check host file. None of this has been decided! It seems that the problem is Java 7. I tried to uninstall Java 7, downgrading Java 6 and Android Debugger, magically, started working again.

winapi - Windows 8 equivalent for windows phone marketplacesearchtask -

Does anybody know that the window code for Windows is equivalent to MarketplaceSearchTask 8? I'm going to launch several applications on the Windows 8 Marketplace and I want to push users to it somewhere else. Then you can enable it in your market i.e. in your account so they can see all your applications. I searched for a long time, but I could not find anything. Does anyone know the answer here? I do not think it would be possible to have something similar, current Windows 8 API, so your best bet is those apps To display links that are either hardcodes in your app (which you can update with an app update) or host a service that searches and displays the results inside your own app Does.

java - Retrieve only the superclass from a class hierarchy -

मेरे पास निम्न के रूप में कोई परिदृश्य है: @Entity @Table (name = " जानवर ") @Inheritance (रणनीति = InheritanceType.JOINED) सार्वजनिक वर्ग पशु लागू करता Serializable {@Id @GeneratedValue (रणनीति = GenerationType.SEQUENCE, जनरेटर =" S_ANIMAL ") @SequenceGenerator (नाम =" S_ANIMAL ", sequenceName =" S_ANIMAL ", आवंटनआकार = 1) सार्वजनिक int getNumero () {वापसी संख्या; } सार्वजनिक शून्य सेट न्यूमेरो (इंट नंबर) {this.numero = numero; } । । } और उपवर्ग के रूप में: @Entity @Table (नाम = "कुत्ता") सार्वजनिक वर्ग कुत्ता पशु {फैली निजी स्थिर अंतिम लंबे serialVersionUID = -7341592543130659641L; । । । } मेरे पास एक जेपीए चुनें बयान इस प्रकार है: पशु से एक चुनें; मैं हाइबरनेट 3.3.1 का उपयोग कर रहा हूं जैसा कि मैंने देख सकता हूँ कि ढांचे को पशु और कुत्तों के उदाहरण भी मिलते हैं एक बाएं बाहरी जुड़ने का उपयोग करना क्या केवल "भाग" पशु का चयन करने का कोई तरीका है? मेरा मतलब है, पिछले चुनें को सभी पशु s मिलेगा...