Posts

Showing posts from April, 2012

javascript - How to check when a video loops html5 -

I can usually check for the end of a video with an 'endated' event. But it was not removed after the video is on the loop. I have tried to compare the current time and duration - but the current time is not always accurate for the other. What methods are available to restart the video? You can bind to time-up event of the video. Then store current time and check whether the current period is short, the last saved period. If this happens, the video has resumed. See this Bela as an example:

hash - improve hashing using genetic programming/algorithm -

Text after " I can reduce the number of events that occur when using a hash function like the 'Conflict' that is quite confusing 'key modern table_size' I am writing. For this, I would like to use genetic programming / algorithm. But I do not know much about it. Even after reading several articles and examples, I do not know what will be the fitness function in my case (according to program definition), goal (target usually results in the necessary), as the population / individuals and parents , Etc. Please help me with identifying this as my project and some code / pieces of pseudo code if possible. Not necessarily to use genetic programming / algorithm, this may be anything development using programming / algorithm. Thank you .. "itemprop =" text "> My advice would be: Do not do this like this The literature on the function is huge and we understand what makes a good hash function. We know enough math, not blindly look for them. I...

c# - Most efficient way to retrieve one file path from a list of folders -

Assume that I have a list of more than 100 folder paths. I want to recover only one file path from each folder path. Here's the way I'm doing this or plan to do this: var files = new list & lt; String & gt; (); Var Directories = Directory Gate Directories ("C: \\ FirstFolder \\ Second Folder \\"); Array.ForEach (Directories, D => Files. Update (Directory.GetFiles (D). FirstOrDefault ())); Now, is this the most effective way? Because my program starts this code every time. If you are using .NET 4.0 then you should do it instead ... var files = directory. Select (x = & gt; directory. Indexed files (x). FirstOver Default ()). ToList ();

django/south : redundant add_column? -

Within the ABC application, I added a unique barrier to a model, made a change and ./manage.py schemamigration abc --auto He created a migration file but with the expected change as well, the add_column statement in the new migration file Which are already adding columns added to the migration (and which is the subject of migrate ) Why am I actually thinking this has happened and What to do about it. Will I ignore the add_column statement on migrate ? OK, thanks for the # django-south irc channel I know this. This type of problem can arise when the activity has occurred in various source control branches and, as a result of the merge, the dictionary of frozen models, which appears in the bottom of a South Migration file Some things have already been transferred. The result is that the next schemigrade tries to produce "missing" changes. Before migrating, edit the migration file created by the schemementation manually. This will get things back o...

javascript - Struggling with Pandas to JSON in Django -

I have the following panda dataframe that is built in the DEGENGO VIEW: Real Ticks 26-Sep-14 20 29-Sep-14 40 15-Oct-14 -10 20-Oct-14 5 The data is read from a CSV file using pundas , Then changed to a Jason object, and then the DJ ango was sent to the template: df = pd.read_csv ('article / DailyStats.csv', usecols = ['date',] 'Real tick']) Df.to_json () Returns render_to_response ('article / test.html', {'df': df}) Now where do I get the problem Or try getting when I used to come every JSON object in my template: & lt; Script type = "text / javascript" & gt; $ .getJSON ({{df}}, function (data) {// do something}) & lt; / Script & gt; I get an error in my Chrome browser console: Unwanted syntax error: Unexpected identifier If I look at sources in the browser, I see the following: & lt; Script type = "text / javascript" & gt; $ .getJSON (actual tick date dated 26-Sep-14 20 29-Sep-...

c# - Set namespace to XElement -

I get an empty xmlns = "" attribute in the xmlemat in an XML tree. When I set my namespace to the document namespace, this way: string xmlns = "freeform / schema description"; XNamespace ana = xmlns; Excellence interactive root tag = new excelement (ana + "interactive root tag"); blank xmlns = "" does not exist any more, but all children of this XElement are empty xmlns = "" . Any thoughts? You must add child element like this: string xmlns = "Freeform / Schema Description"; XNamespace ana = xmlns; Excellence interactive root tag = new excelement (ana + "interactive root tag"); Interactive RouteTAG.ed (new excelment (ana + "hair element", new XAttribute ("attribute", "attribute value")); To get an XML like this & lt; Interactive Root Tag xmlns = "Freeform / Schema Discription" & gt; & Lt; ChildElement attribute = "attribute value...

sql server - SQL Transact Statements in MSSQL or MYSQL -

यह प्रश्न एक सटीक डुप्लिकेट है: 1 उत्तर मेरे पास एक ट्रांजैक्शन टेबल है इस प्रकार है: Tr_No प्राथमिक कुंजी है Tr_No Tr_Date Tr_Remarks Tr_Amt 1 2014-05-05 नकदी जमा राशि 1000 2 2014-05-06 क्रेडिट कार्ड निकासी -250 3 2014-05-07 एटीएम निकासी -450 4 2014-05-08 नकद जमा राशि 1000 मुझे इस प्रकार एक तालिका की आवश्यकता है: तिथि विवरण नकदी जमा राशि नकद निकासी शेष 2014-05-05 नकद जमा 1000 1000 2014-05-06 क्रेडिट कार्ड निकासी -250 750 2014-05-07 एटीएम निकासी -450 300 2014-05-08 नकदी जमा राशि 1000 1300 उपरोक्त तालिका प्राप्त करने के लिए मुझे एक एसक्यूएल क्वेरी को MySQL या MSSQL में लिखने की आवश्यकता है। कृपया मेरी सहायता करें क्योंकि मैं एसक्यूएल में नया हूँ। एक कथन का उपयोग करना संग्रहीत प्रोसेवर्स में prefereable है कोशिश करो इस। यह आपको एक विचार देना चाहिए। बनाओ टेबल #tt (Tr_No INT, Tr_Date DATE, Tr_Remarks VARCHAR (100), Tr_Amt INT) #tt मूल्यों में सम्मिलित करें (1, '2014-05- 05 ',' कैश जमा ', 1000), (2,' 2014-05-06 ',' क्रेडिट कार्ड ...

css - Facebook like button gets broken on android after click -

I have a website like Facebook, and on Android + Chrome, like I click the button Button Gray (broken) ). If I disable the following CSS rule then the button looks fine. .pluginButtonPressed, .pluginButtonPressed: hover {-webkit-box-shadow: inset 0 0px # 3e58a3; } Is this a known issue? Example img: Thank you.

javascript - Using button to retrieve data from XML -

I have created a code in which I get data from XML when I click the Computer Science button & lt; Html & gt; & Lt; Top & gt; & Lt; Script src = "loadxmldoc.js" & gt; & Lt; / Script & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; H1 style = "text-align: center" & gt; Department Details & lt; / H1> & Lt; Button onclick = "myfunction ()" & gt; Computer Science & lt; / Button & gt; & Lt; / Br & gt; & Lt; Script & gt; Function myfunction () {xmlDoc = loadXMLDoc ("faculty.xml"); Var x = xmlDoc.getElementsByTagName ("computer") [0]; Var y = x.childNodes; (I = 0; i & lt; y.length; i ++) document. Written (y [i] .nodeName + "& amp; nbsp; & amp; nbsp; + y [i]. ChildNode [0]. NodeValue + "& lt; / b & gt;")}} When I click on the button, I get the data but a new page is loaded. I ...

How do I replace first space with comma in UNIX -

My question is, I have 2 columns, the second column has different values ​​than the comma in the text. I want to have 2 columns separated from the comma to be demoted, and the second column should remain separate text from the comma. Example: A is the name of the pillars: AB 123 Hi there 234 Hello As an output to me A, b 123, hi there 234, hellothere Can someone help me? You can use this sed command Sed -r's / \ s + /, / 'file_name or Sed -r's / + /, /' File_Name -r, --regexp - Extended regular expressions in expanded scripts Output: A, b 123, hi there 234, hello

c# - Control input via button -

I made a Tic Tac toe game and I am trying to add some features. I was used to control buttons that took me button.enabled = false; The problem is that the text gets gray on the button. So I clicked one button for each button: A1_Click, A2_Click, and so on This is my code in A1_click, and it's the same for other buttons, only one The thing that changes is "A1", "A2", and so on button b = (button) this; If (! A1.Text.Equals ("")) {Messagebox.Show ("Not Valid Input"); } I do not get a valid input when I click on a button that I had already clicked, I just want to be able to click on a different button. If I click on the already taken button I do not want to lose my turn I What do I have read? I think I know what you want. You are looking for a way to force that user to lose a turn, when he clicks the first taken button, and you do not want to set the competent property incorrectly if you want the same I can have some cod...

java - Orientdb: Warning Msg Your maximum heap size is 3.54GB -

Suddenly, I got this warning message on the console: Warning: Your maximum stack size is 3.54 GB, but Orient DB uses Off-Hap Memory to avoid GC Pauses. In case the Orient DB is running as standalone, we recommend that Oyeretadibi use the small amount of heap memory to use the rest as an off-hape. 512 megabytes have been recommended for the size of the pile size. I went through config documentation and found very likely systems. For example: file.mmap.maxMemory memory .optimizeThreshold (deprecated) and so on, but I do not know this That's how to set this value. Can you please specify what is correct) with many instances of value orientdb for a busy server? Thank you This message is a little confusing. 1) If you run Orient DB as a standalone server process, then this message is understandable. Orient DD does not need much map memory and the rest (remaining) off-hap memory can be used for most of DB paging. While launching OrientDB, you can set pile siz...

model - Exclude password from sails user association -

I refer to the user model in many of my object associations. How can I remove the password field by default or by force? For example Post.findOne (). Populate ('Author') ... will generate the author's encrypted password ...! Edit 1 - 1 solution I found: In the model, the toJSON writes to override the method: toJSON: function () {var obj = this.toObject (); Remove obj.password; Return obj; }, See the Waterlines document:

ios - Perform animation after ActionSheet Disappears -

I have a board game, and I am using an action sheet to undo this step. I can undo this step and can present a piece of the previous situation from the present. But due to less space, I am using the action sheet to select the undo option for the user. But the problem occurs when the user selects the undo, the animation is done before the action sheet disappears. I can delay animation, but there are some other elements on the board which are updated and all this thanks "post-text" itemprop = "text"> Execute your argument in this method - (Zero) Worksheet: (UIActionSheet *) Action sheet did the DismisswithButtonIndex: (NSInteger) button INDEX; This is a representative of the action sheet and will call after rejecting the action sheet.

Eclipse RCP Product for AIX ppc64 using Maven and Tycho -

We are based on RCP product for Eclipse Indigo (3.7) Windows and Linux GTK 32 and 64 bit platform, now we need it To make products for Ax ppc64 bit, we have made the following changes: We added environment in pom.xml & lt; Environment & gt; & Lt; OS & gt; Aix & lt; / OS & gt; & Lt; Ws> GTK & lt; / Ws & gt; & Lt; Arch & gt; PPC & lt; / Arches & gt; & Lt; / Environment & gt; & Lt; Environment & gt; & Lt; OS & gt; Aix & lt; / OS & gt; & Lt; Ws> GTK & lt; / Ws & gt; & Lt; Arch & gt; Ppc64 & lt; / Arches & gt; & Lt; / Environment & gt; And in feature.xml we have added the following plugins & lt; Plugin ID = "org.eclipse.swt.gtk.aix.ppc" os = "Aix" ws = "gtk" arch = "ppc" download-size = "0" install-size = "0" version = "0.0" 0 "piece =" true "unpack =" wrong ...

how can i send the Text and the picture(url) through mms in android -

Here is the code that I have tried. I just wanted to send a text and video picture through MMS.But Only send text, but do not help getting any picture attached.can.I am new to this. {ImageModel = videoDetails.getVideoImagesList () Find (0) ivbMessage.setOnClickListener (New OnClickListener () {@Override Public Zero onClick (see v) {// TODO auto-created method stub} ; ImageUrl = imageModel.getUrl (); println ("*****" + imageUrl); Uri screenshotUri = Uri.parse (imageUrl); intent to sendIntent = new intent (Intent.ACTION_VIEW); sendIntent.putExtra ("sms_body "ImageUrl"; sendIntent.putExtra (Intent.EXTRA_STREAM, screenshotUri); sendIntent.setType ("image / PNG"); activity.setterity (sender);} hold (exception e) {toast. Text (ac tivity, " SMS failed, please try again later! ", Toast. LN New.h_LOG) Show (); e.printStackTrace ();}}} Should: intent SendIntent = new intent (intent.ACTION_SEND); // should not send action VIEW sendInten...

R: How to match regex but not substring -

मेरे पास regex स्ट्रिंग डेटा है लेकिन एक सबस्ट्रिंग dat & lt; C ('long_regex_other_stuff', 'long_regex_other_random.something') (dat [grep ('long_regex', dat)]) (dat [grep ('long_regex। * (*। *। * कुछ $)', dat)]) पहले grep आउटपुट की उम्मीद है "long_regex_other_stuff" "long_regex_other_random.something" दूसरे grep कैसे प्राप्त करें काम करने के लिए? वांछित आउटपुट "long_regex_other_stuff" रेफरी: आपको पूर्ववर्ती । * स्ट्रिंग कुछ से पहले regex में निकालना होगा और इसे नकारात्मक लेटरहाइड के बाद जोड़ना होगा, & gt; Dat & lt; - c ('long_regex', 'long_regex.something') & gt; (Dat [grep ('long_regex (?!। * कुछ)। *', Dat, perl = T]]) [1] "लँग_रेगएक्स" & gt; (Dat [grep ('long_regex (*;। * \\ bsomething \\ b)। *', Dat, perl = T]]) [1] "long_regex" इस रीजएक्स में मौजूद लाँग_रेगएक्स (?!। * कुछ) नकारात्मक लुकअहेड इस बात पर जोर देता है...

css - javascript css3 change background color every 2 seconds -

How do I automatically change the HTML background color every 2 seconds? With HTML5 feed or feedout with CSS3? I tried to use transition with timer and CSS target without any success input [type = checkbox] {position: absolute; Top: -9999 pixels; Left: -9999px; } Labels {Display: Block; Background: # 08C; Padding: 5px; Border: 1 px solid RGBA (0,0,0, 1); Boundary-radius: 2px; White color; font-weight: bold; } Input [type = checkbox]: checked ~ To-to-replace {color: red; } some changes work a difference on this In modern browsers, if you already know the number of colors and colors: .animate-me {-webkit- animation: bgcolorchange 4s infinite; / * Chrome, Safari, Opera * / Animation: 4S Anant BG Colourb; } @Keframe BG ColorBab {0% {background color: red; } 25% {background color: green; } 50% {background-color: yellow; } 75% {background color: yellow; } 100% {background-color: red; }} * / * Chrome, Safari, Opera * / @ -WebKit-Keframe BG ColorBab {0% {background: red;...

excel - VBA: Add comments to cells from other cells content if another cell = 1 -

I need to add comments to cells using the contents of cell.offset (, 23) if cell.offset (, 45 ) = 1 This is what I have tried: Sub CellToCmt2 () Select the range for each C of the selection if target.Offset (, 45) & Lt; & Gt; 1 Then start again if target.Offset (, 45) = 1 then applications. Enable Events = Resume with incorrect error with c.Offset (, 23). Note text: =. Goal end with goal GoTo 0 End on ClearContents Error Any help would be greatly appreciated Edit: I have a code that works Sub CellToCmt2 () is dimmed as a range for each C in the selection if c.Offset (, 45) = 1 then start again with the error again with C. NoteText Text: = c.Offset (, 23). Target with value. GoTo 0 ends on the ClearContents error if the next C & sub For one, This bit does nothing: if target.Offset (, 45) & lt; & Gt; 1 Then start again next Regardless of the conditions are met, you move on to the next step. As well as take it out completely. In additio...

xml - How can i link an xsl page into my php page? -

I have an XML page that contains PHP, hence its name is xml.php I have There is also an XSL Style Sheet that will have my XML.php page but I need to link the xls page in my php page. I " because my page is .php? Thanks & lt ;? php // XML source $ load R Xml = New DOMDocument; $ xml- & gt; Load ('collection.xml'); $ xsl = New DOMDocument; $ xsl- & gt; Load ('collection.xsl'); // Transformer $ proc = New XSLTrocessor Configure; $ Proc-> Import Style Sheet ($ xsl); // XSL rules to $ proc-> TransformTaxML ($ xml) ;? & gt;

ltrace - find time consumed by functions in program -

ltrace can be used to detect library function calls and the time taken by each of those library functions Is there any other utility in our C program to detect various functions like non-library functions? Actually, I want to find time consuming with various functions in my program.

wordpress - jQuery Autocomplete input clears itself -

I am using jQuery autocloplets in a WordPress custom post. When filling the autocomplete input field, AJAX works correctly, and returns matching data. Once I select an item in the drop-down list, the input field clears itself. I went through the javascript step by step, and the input field #title populateForm () function is set correctly , But after the end of my script the field is empty at some point. Does anyone know that this may be the reason, or can I work around it in a decent way? I have given my JS down. I have any other information that can help tell me. (function ($) {var url = ajax_object.ajaxurl; var popped = [] $ ('# title'). Autocomplete ({source: function (request, response) {$. GetJSON (url, {term: extractLlast (request.term, verb: 'autocomplete'}, response);}, search: work () {var term = extractLast (this. (Value), if (term.length & lt ; 2) Select {return false}}} function (Event, UI) {populateForm (ui.item);}, Reaction: Function (Event,...

javascript - How to resolve this issue/warning as "Cross-Origin Request Blocked :" coming in firebug console? -

यहां उपयोगकर्ता इनपुट कोड store_zipcode इनपुट फ़ील्ड में मान्य यूएस ज़िप कोड मान दर्ज करता है आईडी के साथ store और store_state संबंधित मूल्यों के साथ स्वतः आबाद हो जाता है यह पहले काम कर रहा था, लेकिन अचानक यह काम करना बंद कर दिया। मैंने फायरबग का उपयोग करके इस मुद्दे को डिबग करने की कोशिश की तो मुझे फ़ायरबग कंसोल में त्रुटि / चेतावनी मिली: ReferenceError: GetLocation परिभाषित नहीं है & lt;! DOCTYPE html & gt; और मुझे निम्नलिखित चेतावनी मिली है: क्रॉस-ऑरिजन अनुरोध अवरुद्ध: वही मूल नीति HTTP: // ज़िप पर रिमोट संसाधन को पढ़ने की अनुमति नहीं देती है ? .elevenbasetwo.com / ज़िप = 35801 & amp; _ = 1415110969747। यह एक ही डोमेन में संसाधन को स्थानांतरित करके या कॉरस को सक्षम करके तय किया जा सकता है मैंने HTML कोड का पालन किया है: & lt; इनपुट प्रकार = "टेक्स्ट" वर्ग = "फ़ॉर्म-नियंत्रण" आकार = "20" आईडी = "Store_zipcode" नाम = "store_zipcode" मान = "" & gt; & Lt; input type = "te...

javascript - Compund index which overwrites previous document -

I am trying to create a model for MongoDb to use Mongoos where I want to make sure that There is only one document present and file for a particular user. var filestama memory = new Mongoose Sema ({file: mongoose.Schema.Type.ObjectId, user: mojo.edema.type objectID, hasin: {type: boolean, default: while trying to save a document with a combination of file, file} and user A duplicate key error that precedes it is. Is there any way by which I can configure MongoDB to overwrite the document instead of raising an exception? If the document is not present, then this command will create a new collection.update ({file: 2112, user: 21421}, {Hassin: true}, {upside down: true});

r - Concatenating two database tables out-of-memory with dplyr -

I am using dplyr to manipulate two tables on the database. Without downloading the table data locally, I have two tables in other words just add out-of-memory / database, the database resources are given two tbl : & gt; TBL (DB_SCR, "DB_table_1") ABC1-2.2246894-1.48167912-1.650 99363 2 0.5559320 -0.878 9 8575 -0.15634590 3 1.8469466 -0.01487524 -0.53098215 4 -0.6875051 0.23880967 0.01824621 5 -0.6735163 0.75485292 0.44154092 & gt; Tbl (db_src, "db_table_2") AC 1 memory 0.4287284 -0.3295925 2 0.5201492 0.3341251 3 -2.6355570 1.7916780 4 -1.3645337 1.3642276 5 -0.4954542 -0.6660001 I get (in the database / Out) ): & gt; tbl (db_src, "db_table_concatenated") ABC 1 -0.2246894 -1.48167912106676 -1.65099363 2 0.5559320 -0.878985746842256 -0.15634590 3 1.8469466 -0.0148752354840942 -0.53098215 4 -0, 6875051 0.238809666690982 0.01824621 5 -0.6735163 0.754852923524198 0.44154092 6 0.4287284 NA -0.32 9 5 9 248 7 0.52014 9 2 NA 0.33412510 ...

convert index.php simple website to wordpress -

I want to create a log file using php. I am using xampp server I am getting broadcast data from microcomputer, I am calling Python script from phyp to display my data on web browser. Now I want to make this website more user friendly and more attractive. Someone can tell me how to add some plugins to do this. There is no quick way other than hiring a web designer as David 162795 " Make user friendly and more attractive "If you want you can buy only a WordPress theme, and in theme files, you can add php files you want to include (or modify existing ones, carefully ) and then bring that function in front of you and the UI Php fi Issues should not sit in any way on the client side, they should be on your server (in this case, your WordPress instance).

How does spring resolves the view when we return as String? -

While the model resolves the view in Dispatcher servlet returning as spring, but string How to fix the Spring view @RequestMapping (value = "/", method = RequestMethod.GET) Public string home (locale locale, model model) { Date Date = New Date (); Date format date format = date format.get date timestine (date format.long, date format.html, locale); String formatteddate = dateformat. Format (date); Model.addAttribute ("servertime", formatted date); Println ("serverTime" + formattedDate); Return "resource / home.html"; } Here I return a string in the code above which dispatcherslate resolves its view. This is a visual resolver, which mappers between logical names and actual resources, not dispatcher serials. I think that you will have a declaration ( some different resolutions may be Resolver ), in your configuration file. & lt; Bean square = "org.springframework.web.servlet.view.InternalResourceViewResolver" ...

java - using SLF4J to Bridge JUL does't work -

मैं वर्तमान में देख रहा हूँ कि एक तृतीय पक्ष पुस्तकालय (अर्थात् javax.mail) java.util.logging का उपयोग कर रहा है। जावा मेल का संस्करण 1.4.7 है। मैं लॉग इन करने के लिए जुलाई को पुल करने के लिए SLF4J लॉगिंगफ़ॉर्मवर्क का उपयोग करना चाहता हूं। स्लफ 4 जी एपीआई संस्करण है: लॉगबैक -कोर | 1.0.13 स्लफ 4 जे-एपीआई 1.7.5 जूल-टू-स्लफ 4 जे। 1.7.5 इसमें मुख्य फ़ंक्शन, मैं एसएलएफ़ 4 जेब्रिजहैंडलर को प्रोग्राम के माध्यम से भी स्थापित कर रहा हूं: // वैकल्पिक रूप से जूल रूट लॉगर SLF4JBridgeHandler.removeHandlersForRootLogger () से जुड़ी मौजूदा हैंडलर्स को हटाएं; // एसएलएफ 4 जेब्रिजहैंडलर को j.u.l के रूट लॉगर में जोड़ने के लिए, आपके आवेदन के प्रारंभिक चरण के दौरान एक बार किया जाना चाहिए SLF4JBridgeHandler.install (); लेकिन यह काम नहीं करता है, जावामेल मेरे कंसोल में डीबग की जानकारी भी लॉग करता है I मेरा logbak.xml है & lt; रूट स्तर = "INFO" & gt; & Lt; एपेन्डर-रिफ रेफरी = "एसटीडीओयूटी" / & gt; & Lt; / जड़ & gt; क्या कुछ गड़बड़ है? डीबगि...

eclipse - Scala IDE can't resolve dependeices -

I am using Scala IDE and I have the following build.sbt: Name: = "Hello" version: = "1.0" Scale Version: = "2.9.1" LibraryDispension + = "org.apache.commons"% "Commons-Lang3"% "3.3.2" is my class: object textplatform {df partition half (string)} {{StringUtils.isEmpty (inputString)}} Eclipse can not solve reliance for StringUtils In fact, I have problems with Eclipse / SBT I keep them to import anything out of SlaLa. * Package. I'm new to Scala, try it just by making a real example, but it looks like E Can not How to solve any idea? Thank you Eclipse is not directly integrated with SBT you can manually Eclipse can add reliance on the build path, or you can use to create eclipse project files with the correct dependencies based on your build .sbt. Personally, I use Mwen (with SBT), from emptying does integrate with maven (m2eclipse and), and the external step to create the right project file With...

docusignapi - API to display filled in tags in PNG format -

We are looking for a methodology similar to the following API method, which gives the requested page in PNG format (non-editable format) : Get API Reference / One Page Image HTM but with the ability to display values ​​for any custom, etc. Tags that are filled. Currently, no tags or values ​​are filled without displaying them. Does anyone know any way to do this? I do not believe that you can return tab images back from the page image when you are still envelope. In the process, I think that only the envelope will show that information. To retrieve the tab values ​​entered by the recipient, you will need to make a separate API call. Receive envelope recipient status API call, and more importantly, this is an optional parameter. The details of the call are as follows: URL: / accounts / {accountId} / envelopes / {envelopeId} / recipients HTTP method: get parameter: The only required parameter is the envelope ID if the optional query include_tabs is cor...

.htaccess - Htaccess rewrite clean categories & articles -

मेरे पास ऐसा यूआरएल है जो इस तरह दिखता है: example.com/index.php?p=blog&category=blog&article = ब्लॉग-परीक्षण लेकिन मैं इसे देखना चाहता हूं: example.com/blog/blog/blog-test मैं इसे कैसे करने में सक्षम हो सकता हूं htaccess आप .htaccess का उपयोग कर सकते हैं: RewriteRineReRiteRule ^ (। +?) / (। +?) / (। +) $ Index.php? P = $ 1 और श्रेणी = $ 2 & amp; आलेख = $ 3 [एल]

Sort line (horizontally) in VIM -

इस सवाल का पहले से ही एक उत्तर है: 6 जवाब मुझे पता है कि यह बहुत आसान है कमांड में सॉर्ट के निर्माण के माध्यम से सीम ऑपरेशंस करने के लिए लेकिन उस पंक्ति के भीतर क्षैतिज रूप से एक पंक्ति और पाठ को कैसे सॉर्ट करना है? उदाहरण के लिए इस बिंदु से (aaa ccc bbb) से यह (aaa bbb ccc) मैंने कोशिश की vi (: sort लेकिन यह मेरी मदद नहीं करता है.कोई सुझाव? : s / \ s \ + / \ R / g \ "एकाधिक पंक्तियों में पंक्ति को तोड़ते हैं: '[, सॉर्ट करें] उन्हें सॉर्ट करें:,'] जे 'में शामिल हों

Highcharts drilldown with more than one series -

I have a chart where there are two columns of value for each yAxis - this year and the previous year when a user comes from the column Practicing on any one, it only continues for the chosen year. I want to drill that Yexis on both previous year and the current year. Here's an example chart: If you click on A's Last Year, it only shows a drill down version for the last year of A. I would also like to show it in the last year of A . Is this possible? (Look at B column - where there are two series of drill down, but only the last one shows). Unfortunately it is not yet Available, but you can post your suggestion in the Userwave service.

git - EGIT saying Read timed out after 30,000 ms -

Image
I am trying to clone a remote repost at http in my local area. But IM is always receiving error in reading time-out after 30,000 MO. I know that this is the right protocol for it, my username password is correct but still this is a problem of many times. See screenshots for more clear idea pls. UPDDATE: 11-5-2014 When I log the eclipse error I have seen the following error message at the .metadata / log at the place of place ..... I think that's what it says .... but still adding it here if it solves this problem Can help .... error message log in org.eclipse.egit.ui 4 2014-11-05 19: 09: 13.827 Message 30,000 MS Stack 0 org.eclipse Read the expired time after .jgit. api.errors.TransportException: Read org.eclipse.jgit.api.FetchCommand.call (FetchCommand.java:139) on org.eclipse.jgit.api.CloneCommand.fetch (CloneCommand.java:178) at 30,000 after MS be timed org.eclipse.jgit.api.CloneCommand.call (CloneCommand.java:125) on org.eclipse.egit.core.op.CloneOperation.run...

scala - Self-consistent and updated example of using Spark over ElasticSearch -

showing how to combine eListyCearch and Spark, when all ES ECOs The version was 0.9 in the system. Nowadays, it does not work anymore (and googling for it does not seem to be an easy feat). You can give a small, self-contained scala example to a person: Open a file in Spark (in the above example, it was / var / log / syslog ) ; Do something with it; The result is being sent in ES; Opening that result in Spark. ... which works with elastic search 1.3.4 and Spark 1.1.0. I gave a speech shortly after spark and elastic discovery (around 0.9 days), and I have recently updated some examples (read 1.1). I have posted more Hope it helps! I have also copied the relevant parts (from my own Gitob repo): import org.elasticsearch.spark.sql._...walt tweetsAsCS = CreateSchemaRDD (tweetRDD.map (sharedIndex.prepareTweetsCaseClass)) tweetsAsCS.saveToEs (esResource) Note that we have not specified an ES node. This will default to the local host trying to save the cluster. If...

python - django-crispy Submit css_class -

I am using Django-Crisp to render the form for a project and I have a Bootstrap I am using I have the following coding self.helper.layout = layout (field set ('', 'username', 'password',), buttonholder (submit ('signin', 'sign In ', Css_class =' ​​btn btn-default '))) but in HTML & lt; Div class = "buttonHolder" & gt; & Lt; Input type = "submit" name = "signin" value = "sign" class = "btn btn-primary btn btn-default" id = "submit-id-signin" /> gt; & Lt; / Div & gt; Note that the class is "BTN BTN BTN-Primary BTN BTN-Default" when I want "BTN BTN-Default" Why any thoughts occur? ? Thanks Try this: buttonholder (submit ('signin ',' Sign in '), css_class =' ​​btn btn-link ')

ruby - How do I add an Rails form helper HTML attribute that does not contain a quoted value? -

For example, "required." Thus presses the tracks with any attempts to add the attribute: & lt;% = f.email_field: email ,: "ng-model "= & Gt; "Whatever" ,: class => "Form-control input-LG" ,: "required"%> Just use Boolean values: & Lt; % = F.email_field: email ,: "ng-model" = & gt; "Whatever" ,: class => "Form-Control Input-LG" ,: "Required" = & gt; True% & gt;

google chrome - Raw sockets on NaCl? -

I am currently trying to migrate the code written in Chrome to Chrome browser. I'm new to programming on NaCl for Chrome apps and I do not really get good if I can use raw sockets with the original client. I need to use raw sockets because I am modifying the modified packets like UDP with TDL. So in general my question is, can I use raw sockets with nose? If the answer is yes, if you can provide some additional information, then it would be great. You can use TCP and UDP sockets, through the NACL_O library. See nacl_io demo in the original client SDK This subdirectory can be found in example / demo / nacl_o_demon . Please note that these socket APIs are only allowed on running Chrome apps, not on the open web.

osx - Accessing iOS App's Shared Files without iTunes -

Image
Apps that set your UIFileSharingEnabled flag to correct iTunes for your so called The document enables files to browse shared files Is there any way to browse these files without iTunes? How is allowed to browse application document folders, to clarify? Are there any APIs that do this? I believe what you are saying. See examples of browsing my GBA4iOS document folder below. It works with all devices (I'm not a jailbreak). These help you access these files Could.

python - Combine two ModelForm fields in Django -

I have a boolean field and a foreign key model class ModelA (model) Model): is_anonymous = BooleanField (default = Incorrect) page = External key (ModelB, null = true) I want to add these two fields to a selected field. There is an option between and and ModelB should have an option for each object. So if any page & lt; Select & gt; If selected in the area is_anonymous , then it should be incorrect and if anonymous selection is selected, then the field should be typed page and is_anonymous Must be correct. I think I must add ModelB.objects.all () to the options list in the query Self. Field ['field_name']. Widget = form. Select (option = [(false, "not unknown"), (true, "anonymous"),]) but this will save the field f Ield_name which is wrong. There is no need to combine the area here. You can only use 'anonymous' for the foreign key field Set up, and handover it in a clean way. ModelAForm (forms.Model...

jquery - Tweenmax starts animation without waiting for ScrollMagic -

I am trying to trigger scrollmuse twinmax animation, but the animation is hit without waiting for the scroll trigger . Am I missing something here? $ (document) .ready (function ($) {var controller = new scroll magic (); var tween = TweenMax.to ('. Animateme', 1, (Color: "green "Scale: 2.5}); var view = new scrollsin ({trigger element: '. Trigger'}) .ettine (twil). Ed to (controller); view.ed indicator ({zindex: 100});}) ; It turns, if you have to include ScrollMagic after Toll Max, Otherwise the TVon animation will just run and ignore the scrolling.

linux - See if a service is running with exit code -

I have created a simple script that checks whether the service is running and the exit code is coming back, but I It can not work. If this works, and exits 1, then it is not. #! / Bin / bash # To check if the SSH service is running SERVICE = 'ssh' if [ps aux | Grep -v grep | Grep $ SERVICE & gt; / Dev / null]; Then exit if statement 0 and exit 1fi just ps aux | Can be replaced with Grep -v grep | Grep -q "$ SERVICE" The exit status of the pipeline is 0 if the grep -q succeeds (i.e., ssh ), and 1 else if this is the last line of the script, then the shell exit will be the same: exit is no requirement for explicit calls.

computer science - Property and Field in Java way -

इस सवाल का पहले से ही एक उत्तर है: 12 जवाब क्या यह मानना ​​सही है कि जावा में सम्पत्ति यह सरल गायक और सेटर है? एलेक्स के होवरक्राफ्ट पूर्ण रूप में उल्लेख किया गया, मानक जावा बीन्स प्रतीत होता है (गुणक और सेटर विधियों द्वारा प्रदान किया गया), लेकिन जावा में मौजूद गुणों में मौजूद नहीं है, क्योंकि वे सी # में मौजूद हैं (प्रश्न देखें)

javascript - Auto scaling DIV element and taking into account header and footer until scroll -

Image
The height of the slashpage: 100% I am trying to create a splash page But the footer and header positions are not fixed keeping in mind the size and footer size, but the footer will be sticky when the footer reaches the top: 0; As long as I try to get a splash screen to work on many devices, all sounds good, I have tried the queries of CSS media but I believe that the first time I really need javascript to monitor change in height. Note: I have taken a look but do not mention the possibility of scrolling. HTML: & lt; Nav class = "top-menu" & gt; & Lt; Ul & gt; & Lt; Li & gt; Top button 1 & lt; / Li & gt; & Lt; Li & gt; Top button 2 & lt; / Li & gt; & Lt; Li & gt; Top button 3 & lt; / Li & gt; & Lt; Ul & gt; & Lt; / Div & gt; & Lt; Div class = "splashpage" & gt; & Lt; / Div & gt; & Lt; Nav class = "down-menu" & gt; & Lt; Ul & gt; ...

c# - Does HttpClient spin a new thread even if I immediately get the Result of the returned task? -

In my application, I am trying and will be consistent and use HTTP client whenever I can. However, sometimes I do not need the asynchronous properties of the HTTP client and so I'm just returning as a result of the actions shown in the code given below. Public HTTPRPSpage message httpPostWrapperMethod (string postbodie, string url) {HttpContent content = new string content (PostBody, encoding. UTF8, "App / JS"); HTTP Client Client = New HTTP Client (); Return Client.PostSync (URL, Content) result; } My two part question is: What if this call can be applied to a new thread in the background? And If my calls for this second service are taking around 500 mms, then is it causing me to eat several threads when the service is around 100 requests / seconds Is under production load? No threads are being created as a result, PostAsync In fact, the code was used to use asynchronously, for this purpose, no thread will ever be needed. In your case here you sit...

c++ - map<string, object> sort according to object member function value -

I'm trying to load more than a class operator I wrote (facing the real situation ) To organize the map of a member of the square. Here I created a tar ball with my code: There MapSorting in the class std :: map & lt; Std :: string, std :: vector & lt; Electrons & gt; & Gt; M_mymap; I am interested in the ordering in the short order using the member function, so that if I Std :: vector & lt; Electrons & gt; Veto_electrons = m_mymap ["veto"]; then veto_aculator [0] is always the highest electron with pt . I could probably write one fun to work on, but primarily as a drill, I used the operator I want to surcharge if possible. Also some of my feedback code from the real programmer, I'm not a professional, but I like and like programming! If you want to assume that the elements of the map are sorted, then the simplest (Writing at least code perspective) may be to override the entry method in the map and use onl...

ruby - Append Images to PNG via Rmagick -

I'm forwarding to add text to the image - canvas = Magick: : Image.rade ("init.png"). First GC = Magic :: Draw.New Gc.edraw (canvas) canvas.written ("#tstpind") I present images to pictures How can I add (topped up)? I got the solution. canvas = Magic :: image. Read ("init.png"). First Append_Egitation = Magic :: Image. First CanvasSpot! (Append_Eggage, 0, 0, Magic :: Overcompositope) Read ('another.png').

write java program -

आयात करें java.util.Scanner; सार्वजनिक वर्ग खजाना {सार्वजनिक स्थिर शून्य मुख्य (स्ट्रिंग [] आर्ग्स) {स्कैनर चर = नया स्कैनर (System.in); Int a, b, c, d, e, f, g, h, i, j; एक = variable.nextInt (); ख = variable.nextInt (); c = variable.nextInt (); d = variable.nextInt (); ई = variable.nextInt (); च = variable.nextInt (); जी = variable.nextInt (); एच = variable.nextInt (); i = variable.nextInt (); j = variable.nextInt (); जबकि (चर% 2 == 0) {System.out.println ("इसकी एक भी संख्या" + ए); System.out.println ("इसकी एक भी संख्या" + बी); System.out.println ("इसकी एक भी संख्या" + c); System.out.println ("इसकी एक भी संख्या" + डी); System.out.println ("इसकी एक भी संख्या" + ई); System.out.println ("इसकी एक भी संख्या" + एफ); System.out.println ("इसकी एक भी संख्या" + जी); System.out.println ("इसकी एक भी संख्या" + एच); System.out.println ("इसकी एक भी संख्या" + i); System.out.println ("इसकी एक भी संख्या...

internet explorer 8 - Respond.js (IE8, Bootstrap 3) works on localhost, but not in production -

I have browsed here through all other IE8 / Respond.js questions, but there is no luck yet. When I test on the local host in IE8 emulator, I get the same error as the output, but still answer it. First we see a broken page for another, then the bootstrap grid comes into place and everything is fine. However, it remains broken in production. I come from the error-proxy.html file, line 46 (AJAX): Permission denied What this is for me is the base HTML file: & lt ;! - HTML5 Symbian and Response.js HTML5 Elements and IE8 support for media queries - & gt; & Lt ;! - Warning: If you see the file through the file: Respond.js does not work: // - & gt; & Lt ;! - [If LT IE 9] & gt; & Lt; Script src = "https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "https://oss.maxcdn.com/respond/1.4.2/respond.min.js" & gt; & Lt; / Script & gt; {# & Lt ;! - Answer-js p...

python - Scrapy CrawlSpider Not Crawling -

I am currently creating spider to remove musical instruments and their data. For this I am using the crawl slider, and the end result will have to take all this data and put it in mongoDB documents by the model name. I did not complete, obviously, and not found at this point. Edit: I was able to fix the error and it is running: but now the crawler crawls the '0' pages and returns the CSV file does not have any data that it outputs to Does. What can be the problem? What do I have here: # - * - Coding: UTF-8 - * - Scrap import from scrap contrab. Slider import crawl slider, the Squeml.selector import Scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor scrapy.item import selector before class FenderSpider from (CrawlSpider): name = "fender" allowed_domains = [ "example.org/"] start_urls = ( 'Http://www.example.org/fender/?ob=model_asc#results', rule) = (rule (SgmlLinkExtractor (allow = ( 'before & amp; amp; pn = *',)),...

matlab - Python plotting data generated from for loop inside for loop -

I am trying to change this code from Matlab to Python: x (1) = 0.1; J = 0; Z = 2.8: 0.0011: 3. Calculation for 9J = J + 1% zz (j) = z; For N = 1: 200x (n + 1) = z * x (n) * (1 - x (n)); Xn (n, j) = x (n); End end H = plot (zz, xn (100: 200, :), 'r'); Set (h, 'markersize', 3); And so far I have found this: NMP import as import matplotlib.pyplot as PLT x = [] x.append ( 0.1) xn = [] j = 0 z_range = np.arange (2.8, 3.9, 0.0011) n_range = category (0,200,1) in zz: z_range: j = j + 1 print j # n The calculation progresses in N_range: w = zz * x [n] * (1.0-x [n]) x.append (zz * x [n] * (1.0-x [n])) xn.append ( W) x = np. Array (x) xn = np.array (xn) xn_matrix = xn.reshape ((z_range.size, len (n_range))) xn_mat = xn_matrix.T. For plt.figure () # I z_range: # plt.plot (Z_range, xn_mat [0: i], 'r.') Plt.show () I'm not sure That it is the best way to convert from Math to Python to loop, and I think there are problems in plotting the result: I x (n + ...

drools - Event sequencing -

I am new to Doros and CEP. I am trying to solve the problem by processing events - views of atomic events Receive complex incidents from For example, the order of A, B and C atomic events is a complex phenomenon. How can I solve this issue with the Drools Rule Engine and the Drools Fusion ascension? Maybe there are other tools or Java frameworks (math methods or algorithms) to solve such issues? A rule for testing three events in a certain order: rule abc when $ a: A () $ b: B (after this $ a) $ c: C $ B) then // ... end clear There are many details to do - in fact it can not be as simple, but your question does not provide any information. See Drow's Manual - There are similar (more complex) examples in the section of event processing.

output file issue in c++ -

I get the error "no matches" while compiling this code. Can somebody help me out? #include & lt; Iostream & gt; # Include & lt; Fstream & gt; # Include & lt; Stdlib.h & gt; #include & lt; String & gt; using namespace std; Int main () {string filename [] = "Hello.txt"; Offream outfile; OutFile.open (filename); If (OutFile.fail ()) // To successfully open the check, {cout & lt; & Lt; "Named file not found \ n"; Exit (1); } Outfile & lt; & Lt; "Hello, this is my output file"; OutFile.close (); System ("pause"); Return 0; } EDIT: What about reading and displacement of a file? I'm having problems with the gateline and will not compile it. Can anyone tell this issue? #include & lt; Iostream & gt; # Include & lt; Fstream & gt; # Include & lt; Stdlib.h & gt; #include & lt; String & gt; using namespace std; Int main () {char filename [] = "Hello...

python dictionary formatted printout -

I am trying to print a keyboard for each key in a formatted way, where the key is separated Just the plane text is indented without the values ​​and any brackets or comos, eg: --- My bookmark manager --- Number __________ name _________________ address 1 __________ instead of Google Scholar ______________ Website 1 : --- My bookmark manager --- No. ___________ Name _________________ Address _ _ 1 ('Google Scholar', 'Website 1') Here is my code: web_pages = {1: ('Google Scholar', 'Website 1'), 2: ('Moodle', 'Website2'), 3 :( 'BBC', 'Website 3') , 4 :( 'webmail', 'website4')} ## - ------ Product_structure_top -------------------------- - def output_structure_top (): print "--- my bookmark manager ---" + "\ n" print "number" + "" * 10 + "name" + "" 30 + "address \ n" print " "* 60 +" \ n "## --...

python tkinter canvas feature, trying to use StringVar-s to draw arcs -

Tkinter is trying to make an arc with the canvas widget, but whatever I do, I can not make the work in the make_arc function working. I tried to specify the values ​​for the normal python variable in the main function body, but it does not do any work. This is my complete code. Tector Route = TC () amexetter = Stringwara () DEF Aravutpalg (* AGR) from tanker imports: Try: CeTtulake. Set (X + Y + Z) emasektor.set (float ( (X / (x + y + z)) * 360) isasektor = 90 lastesektor = (z / (x + y + z)) * Exclude 360 ​​ValueError: ** raam.create_arc (20, 20, 180, 180, Start = 0, to extent = emasektor.get (), fill = 'red') ** There is at least an example which works until it does not work until it is ready for a while. Please let us know what is the problem. import as tk root = tk.Tk.kk () can = tk.Canvas (root) can.pack ( ) Arc = can.create_arc () 100,100,200,300, fill = 'red') root.mainloop () Or start with your code and cut or comment until it 'works' ...

java - Spring 4.07 Junit Test and Autowired -

Hi I am using Spring and CDI in my unit test, I want to test a range of @ etooyar annotations uses it. If I make an example of this class and call a method then all the annotated objects are empty I annotation works in the original just do not whithin my unit test This is my unit test here. In my trial, I create an example of the DemoConsumerBean class and call the method here requestJobsFromPublishedJobsApi . Here there are also some independent announcements. All events are empty! @TontExecutionListeners ({DependencyInjectionTestExecutionListener.class, FirstbirdTestExecutionListener.class, FlywayTestExecutionListener.class}) @ContextConfiguration (places = {" Classpath: hibernate-spring.xml "}) @ Flavetest Public Sector DemoConsumerBeanTest AbstractJUnit4SpringContextTests Extended {@Autowired Private Client Manager Client Manager; @Executive Personal DemoDetailsManager demoDetailsManager; @ Before public idle setup () {Camel contact reference = new DefaultCamelCo...

c# - NHibernate or FluentNHibernate doesn't seem to handle NpgsqlException [Resolved] -

I try to connect with both PostgreSQL and SQL Server databases with Fluent NHibernate I think this user is likely to handle a When I run the trial when I run the trial, I receive a message like "NGPsqlException is not a user code" when I use PostgreSQL when I try with SQL Server, then fix SqlException PostgreSQL handles with Try {this.sessionFactory = Fluently.Configure (). To have the connection code in your application, I host name + "; port =" + this.iGreffeDesktop.Port + "; database =" + this.iGreffeDesktop.Database + "; User ID =" + this.iGreffeDesktop.Username + " ; Password = "+ this.iGreffeDesktop.Password +"; "). Mappings (M => M. Fullent Mappings.AdphomasankAfFlt; compacts & gt; ()). Build Sessions ();} Grip (Exception E) {This. Terror = "Connection Error !!!"; } and try for SQL Server {this.sessionFactory = fluently.Configure (). Database (MsSqlConfiguration.MsSql2005.ConnectionString (@ ...

webkit - Javascript positioning not working in Chrome or Safari -

I have to create a script when javascript is centered in an image window, while the window is aimed at which of the image being smaller than It transports the image to the left by the difference between the width of the image and the width of the window so that the center of the image is always the center of the screen. When the window is not shorter than the image, then this offset is set to the left zero and it works perfectly, if I am in IE or Firefox on the WebKit Browser, it never goes to zero, which is Float: right when the window is much wider than the image. Here's the code: setTimeout (slide image wide, 1); Work in a slideImageWidth () {var slideWidth = window.getComputedStyle (document.getElementById ("Slide Image")). Width, windowWidth = window.innerWidth, slide = document.getElementById ("slide image"), slideWidth = window.getComputedStyle (slide) .width; If (windowWidth & lt; (slideWidth.replace ("pixels", "") +1) ...

python - Collect separate models in Django -

I have a model content . But items have to handle images, videos, articles etc. I think the best solution would be to model for each type of content: class image (models.model): image = ImageField () class Paragraph (models.Model): Title = CharField (max_length = 100) text = TextField () class video (models.Model): url = URLField () class content (models.Model): content = foreign key (=?) Actually a content object can contain more than 1 image, video, article etc. I So I think I'll need it to create another model, ContentSet which can contain 1 or more images, videos or articles. The advantages will be that I can classify, comment and etc. in . In all models, instead of handling it, the content object image , aarti welfare , video I want some advice on doing this, is it a good strategy? Would it be better to use Generic Relation ? What should my ForeignKey indicate in my content model? I hope that it will be clear to understand my thoughts t...

C programming, access char in a string with pointers -

यदि मेरे पास यह कोड ब्लॉक है char * array [] = {"element1" , "एलिमेंट 2"}; चार * पी; चार * पीसी; मैं पहली स्ट्रिंग "element 1" * p को इंगित कैसे कर सकता हूं और मैं कैसे इंगित कर सकता हूं * पीसी दूसरे स्ट्रिंग के दूसरे अक्षर के लिए एल और उसके बाद printf का उपयोग करके उन दोनों को प्रिंट करें

python - Determining if a string is only digits using a function -

I have to type a function that will be true or false when the user will input based on these strings if it is all digits or not. This is what I still have, but I'm not sure what's wrong def string (): st = input (enter 'string:') if st.isdigit () : Stc = 'right' else: stc = 'False' return stc n = int (Input ("Number of runs:")) In the range (i): print () stc = string () If stc == ' True ': print (' True ') Other: Print (' False ') You should only return STC back to else : def string (): st = input ('string enter:') if st .isdigit (): STC = 'True' else: stc = 'False' return stc But Booley Instead of using strings to represent the values ​​directly True and false ? def string (): st = input ('enter string') if st.isdigit (): stc = true else: stc = wrong return STC Then if you can change the conditi and everything will be a little good: ... stc = string () If...

java - JPA - saving @Version as datatype long -

मेरे पास ऐसा मॉडल है: @ एंटीटी सार्वजनिक वर्ग इवेंट मॉडल का विस्तार {@ आईडी सार्वजनिक लंबे आईडी; सार्वजनिक स्ट्रिंग का नाम; @ संस्करण सार्वजनिक टाइमस्टैम्प बनाया गया; } इस ऑब्जेक्ट पर .save () चलाते समय, मुझे निम्न रिकॉर्ड मिलता है: id | नाम | बनाया ---- + -------- + ------------------------- 1 फ़ूबार | 2014-11-04 20: 25: 40.194 जैसा कि आप देख सकते हैं, बनाया फ़ील्ड को एक एसक्यूएल टाइमस्टैम्प प्रारूप के रूप में। क्या यह इसे वास्तविक BIGINT या लंबे डेटा प्रकार के रूप में बदलने के लिए संभव है? बस बनाया गया से बदलना सार्वजनिक एक त्रुटि उत्पन्न करता है: java.lang.ClassCastException: java.lang.Long को जावा में डाला नहीं जा सकता JPA 2.0 विनिर्देश के अनुसार, अध्याय 11.1.50 संस्करण व्याख्या:। एसक्यूएल। टेस्टस्टेप निम्नलिखित प्रकारों को संस्करण गुणों के लिए समर्थन दिया जाता है: int, पूर्णांक, लघु, लघु, लंबा, लंबा, टाइमस्टैम्प। यदि मौजूदा डेटाबेस स्कीमा को छोड़ना संभव है तो इकाई के java.sql.Timestamp क्षेत्र को java.lang.Long के साथ बदलने के लिए पर्य...