Posts

Showing posts from August, 2010

optimization - Firebird SQL: Finding bottlenecks / performance analysis -

I'm using Rebirth 2.5 for some applications. What do I miss a performance analysis tool, eg For Visual Studio, which shows which methods / queries have been executed over time. I'm thinking of a device like Apple's device: Is there anything like this? Thank you, Norbert You can view, or

multithreading - TOO MANY THREADS ERROR EXCEPTION -

While making an application for Blackberry, I have a problem with 7 thread calls, each of which downloads audio to each audio. Server and it works fine, but when I start my application twice an exception exception has occurred, "many errors error exceptions", then tell me how I can solve this problem. I use single thread instead of starting 7 threads 1. Creating a TaskWorker class TaskWorker implementing the public class Runnable {Personal Boolean left = false; Personal vector queue = new vector (); Public Taskwalker () {New thread (this). Start (); } Private work getNext () {Job Task = Zero; If (! Queue.isEmpty ()) {task = (function) queue.first element (); } Return work; } Run the public null () (while leaving) {Job work = Friendly (if); if (task! = Null) {task.doTask (); queue.removeElementAt (function);} and {// task is zero and only The reason is that no other work in the vector has been synchronized (queue) {try {queue.wait (}}} hold (interrupted e) e.printStack...

jsf 2 and maven with eclipse "run on server" -

I check with the Mojarra JSF 2.0 helloworld sample (only enter as a user name). I import it as a Maven project to accept it with Tomato 6 servers (V 3.5) I have Mozierra dependencies to run JSF 2.0 inside a servlet container. I When I Package and JSF Dependency are within the scope of compilation, so this Jar is already in the web-INF / Lib. Then I put it in a fresh tomcat insent, it works without complaining about the ClassNantFound exception. My problem is that I can not run the project without putting this jar in the eclipse tomcat insert. Am I doing something wrong? I have masjar dependency to run JSF 2.0 inside a servlet container. > Do you mean that you have modified the dependencies of the provided palm according to the suggested suggestions in the comment: & Lt; Version & gt; 2.0 & lt; / Edition & gt; & Lt; Scope & gt; Provided & lt; / Scope & gt; & Lt; / Dependencies & gt; & Lt ;! - Delete these dependencie...

Adding icon.png reference to XCode? -

Image
I have yet spent one hour due to another XCode quirck. I added my icon page by adding 'an existing file' (the w / checkbox for that copy option was checked) binary upload was throwing an error on the appstore. Then, finally I tried to drop the icon png to drag-n in the encoded. This prompted me to do the same thing (and yes, I checked that copy option), it allowed binary verification to be passed and the binary file was uploaded as a result. The question is: What did I do? I did not think there was a difference between 'adding and existing file' and dragging the file into XCode! Did you add an icon (or symbol) reference to your information? More info here:

drawing - google maps API v3 - how to draw dynamic polygons/polylines? -

I have a 4-day experience with the Google Maps JavaScript API and I have the best way to be confused with their documents and information I am here. Does anyone have experience or knowledge about attracting polygon / polyline on Google Maps (using the same JavaScript API V3 as the example)? (Which I found on blogpost since 2008) So far my research can tell me that the example uses Javascript API V2 directly or uses the Geometry Control Utility Library from V2 (which is the reference Can be found). I do not think Javascript API V3 has any way to allow such interfaces. I will continue my research, but appreciate any useful comment or link or suggestion. Even if you point me in the right direction for further research. :) After more research I came for example. After looking at it, and goggle it, it seems like a general answer to questions like mine. It is very basic but according to the V3 API is correct. Using code in this example, I am successfully constructing a proto...

c# - register dll - GUIDs not found in registry -

I have got AC # -dll and registration through regasm tells me the success, but the GUID was not added to the registry And therefore, the component can not be used anywhere and I just can not find the reason why: ( the class says responsible: [PROGID (" Blup "] [ClassInterface (ClassInterfaceType.None), ComSourceInterfaces (typeof (blap))] [Guid (" 0CFEF92B-A155-4353-B7A3-58A717193E0C ")] [ComVisible (true)] Public square blup ... Interface features: [Guid ("9FD1B3E5-48 73-403a-91AA-2EEC7296B38D ")] [InterfaceType (ComInterfaceType.InterfaceIsIDispatch)] [ComVisible (true)] Public Interface Blap ... AssemblyInfo.cs: Assembly Comm The option to make-view is correct. Registration for com-interop ist set is incorrect, because I do not want it registered with every build. filed through regasm / codebase -> Success registered through regasm / codebase / tlb-...> success But in both cases, in the registry I can not find any of my G...

regex - Python: hexadecimal regular expression question -

I want to parse the output of a serial monitoring program called doclight (I highly recommend this) This 'hexadecimal' string Does output: or a sequence (two capital hex points after a space) This is the regular expression: ([0- 9A-F] {2}) + For example: '05 03 dA 4 B3F ' When the program detects specific sequences of characters, it gives comments in the 'hexadecimal' string. For example: '05 03 04 01 A Header 03 08 B BD Air Force Payment 0 D Footer ' The format is '. + ' (one sequence of characters before a space and after one place) I have to get rid of the comments. For example, the 'hexadecimal' string above the filter will be: '05 03 04 01 A 03 08 B.BDFDDA ' How do I do this with a regular expression? You can try: & gt; & Gt; & Gt; A = '05 03 04 01 A Header 03 08 B BD Air Force PAD 0A Powder '& gt; & Gt; & Gt; ('05', '03', '04', '01'...

text - Physical size of font in points in Android -

I have two devices - HTC tattoos and Sony Ericsson Xperia X10. One has 145 dpi, the other is 245 dpi. When I specify the font size for a textView in digits, then in this way: textView.setTextSize (typed value. COMPLEX_UNIT_PT, 6.5 f) ; I get different physical size text on these two devices. At 245 dpi, the text is readily difficult. Now, the size of "PT" is considered physically. I.e., in my test, both text blocks should contain letters of the same physical height. Which is not the case. What can be wrong here? Thanks for the help, Yuri. pt is the unit number, which will not scale according to density. For non-text you want dive (or DP ), which are free pixels which are densely independent, it will be on the scale according to the density. For the text, you want , which will be on the scale according to the density but it will also be according to the user's preferred font size. There is a bit of information about this, and here are more s...

use of Delegate in iphone sdk -

Can anyone tell me how the representative works in the iPhone SDK ..... ??? What are the advantages of using a simple example and representative to use a representative. Consider the widely used iPhone SDK examples: You are running the animation The underlying system handles the animation for you. But it is natural that when you finish the animation, you want to do something (say, you want to activate a button or show some text when the animation is finished). Now how the animation mechanism will know what to do when the animation is over? All this is after your custom work. So you will configure a representative for the animation and the system will call that representative method when the animation is over. Obviously you will do your custom work in this representative method. You have a text field and you want to know when the user has some taped or edited in the area. How do you know this? You will configure a representative for your text field and the predefined re...

Problems using Oracle with Rails -

Then, after various tutorials, I installed the following gems on my Windows box: "Active-Records-Oracle_Enchanted-Adapter" and "Ruby-OC8" Modify your database to see IMML: oracle_development: adapter: oracle_enhanced database: 127.0.0.0.1121 / sd username: uid password: pid Ruby OCI 8 compiled (The tutorial on this: [Rail wiki] [1] is contained, this may be the case, and it is suggested to use version 1.0.4 instead). Therefore, 1.0.4 is compiled and installed properly, but once I have it (and loading the OCI DLL in Ruby), I run a quick test from the Rail Console and see: Loading development environment (Rail 2.3.5) OracleConnector.test RuntimeError: Please install the oracle_enhanced adapter: GEM Active-Ork- Install oracle_enhanced-adapter (Error: Ruby-oci8 version 1.0.7 is too old. Please refer to Ruby-oci8 version 2.0.3 or above Install later versions.) I'm not really sure to. For one, I'm definitely "activerecord-o...

asp.net - Creating XML using C# and an external DTD -

This is my first step with XML and I have to send the XML through HTTPEnd (which is no longer a problem for me). I have a question about DTDs According to the HttpRequest destination API, I have to use my XML as an external DTD which is located there (this is for Canada Post shipping). I know that to write / read XML, but according to DTD ... is there any difference? Can anyone tell me that this is the easiest way? I've seen a good part of a good post from Google and never wanted to ... Thank you! ADD # 1 Note: I know what is for DTD, and I can create one with a plain text editor and DTD But I mean, one way to take advantage of this is to use DTD's C # (make an object or some time ...) ADD # 2 Add-ons: None of you are already using the Canada Post API WebSearch? because I am hungry! I send my request with my data and it never ends, so there is never a response ... here is my code: Public OSIPping Response Retrieving Code (OSIPPing Information Ship Efos) {//...

SSIS incorrect datatype at Excel destination from SQL database 2005 -

I hope someone can help me, I have searched Google for death and I do not know this answer. I am new to using SSIS, so I do not know that this is possible ... I am exporting data from an SQL Server database to an Axle file, which works well, but it does all the numerical string Exported in the form. Then I have to manually convert it to numbers. The source of the data is definitely numeric but SSIS recognizes the destination cells as Unicode STRING. I tried to change the format of cells in Excel templates and tried to use the Import Export Wizard, but there is no benefit. Is there something I am missing? This move is meant to look at SSIS that you want Excel data to be numeric. Try it out: Format and save cells in the sheet. Edit SSIS Excel Destination Hover your mouse cursor over in the Mapping tab Destination column, which should be numeric. To see if this is showing a numeric data type, see the tool tip.

PHP: passing data through header -

I am sending a simple request and trying to get feedback, but I get an answer as an internal error. The parameters "Cookies: Session", IPadres and Mode all give the http header and my Jason request {"postcode": "EC2A3A", "property identifier": "93A"} And left; Php $ json = '{"Postcode": "EC2A3A", "Property Identifier": "93A"}'; $ Ch = curl_init (); $ Header = array ('content-type: application / jason', 'set cookie: session id = eritart', 'cookie: session id = artart', 'ipadress: 10.0.0.1', 'mode: dev') ; Curl_setopt ($ CH, CURLOPT_HTTPHEADER, $ header); Curl_setopt ($ CH, CURLOPT_HEADER, 1); Curl_setopt ($ c, CURLOPT_URL, 'http://dev.wali.example.co.uk:8280/getAddress'); Curl_setopt ($ CH, CURLOPT_POST, 1); Curl_setopt ($ ch, CURLOPT_POSTFIELDS, $ json); Curl_setopt ($ CH, CURLOPT_RETURNTRANSFER, 1); $ Result = curl_xac ($ CH); Curl_cl...

c# - Html: 2 td's, how to align them center? -

The code to submit and cancel buttons below. When I had 3 buttons, I used to combine in the middle as one in the middle. So all 3 buttons looked good. But for something like that, with two buttons I can to align them in tr This shows little left with the code thanks! & lt; Tr align = "center" & gt; & Lt; Td style = "width: 100px; height: 45px;" & Gt; & Lt; asp: ImageButton ID = "imgbtnSubmit" runat = "server" imageUrl = "~ / images / submitnew.gif" OnClick = "imgbtnSubmit_Click" Validation group = "valcc" TabIndex = "21" / & gt; & Lt; / TD & gt; & Lt; Td style = "width: 100px; height: 45px;" & Gt; & Lt; Asp: ImageButton ID = "imgbtnCancel2" runat = "server" imageUrl = "~ / images / cancel.gif" onclick = "imgbtnCancel2_Click" CausesValidation = "false" ImageAlign = "absmiddle" ValidationGr...

design patterns - Visualisation of derived classes in C# -

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

.Net Workflow Foundation design: Multiple workflows or one big workflow with IfElse activities? -

I am reading something about workflow design and how am I confusing my application as a model. Sequential workflow with 5 top-level activities Each top-level activity can have 1 - 5 child activities. New child activities can be started in the future. The input in the workflow is a document and its type is based on the type of document, each top level activity must go through 1 or more child activities. All top-level activities and some child activities are applicable for all types of documents At present, about 5 different types of documents are known. A maximum of 10 more document types can be added in the theoretical future. XAMML will be used for workflow configurations. Framework: 3.5 SP1 For the above requirement, can you advise what is the best strategy in case of initial design and maintenance: OR Design different workflows - each one type of document. OR Any other better options? Thank you! I worked for WF 3.5 SP1 for the app...

php - no idea why my model returns two different values -

This is my view, all the functions in my postcard model, this gives 4 in one controller and the second return, do not know why, I see what num_rows () is visible to. In addition to the same, except that, a view is in front of facebook and one view is an admin section function view_all () {$ Query = $ this- & gt; Db- & gt; Mill ('Postcard'); Echo $ query- & gt; Num_rows (); $ Data = array (); If ($ query-> num_rows ()> 0) {foreach ($ query-> result_array ($ line as) {$ data [] = $ row;}} $ Query- & gt; FreeCress (); $ data return;} Maybe it's a little bit Try changing a bit: function view_all () {$ query = $ this-> db- & gt; mill ('postcard'); echo $ query- & gt; num_rows ($); // $ data = array; if ($ query-> num_rows ()> gt; {foreach ($ query- & gt; result_array (as $ line) {$ data [] $$;} $ Return data;} $ query-> Free_result ();} Let me know what happens now.

ruby - All factors of a given number -

For example, I have 4800 and I want to see all the factors of this number. # num = Number which you want def factors_of (num) (1..num) factors .collect {| N | [N, num / n] if ((num / n) * n) == num} .compact end divisors_of (4800) => [[1, 4800] , [3, 1600], [4, 1200], [5, 960], [6, 800], [8, 600], [10, 480], [12, 400], [ 15, 320] [16, 300], [20, 240], [24, 200], [25, 1 9 2], [30, 160], [32, 150], [40, 120], [48] , [80, 60], [96, 50], [64, 80], [64, 80], [64, 75], [100, 48], [120, 40], [680] 100, 48], [3, 3, 16], [320, 15], [400, 12], [150, 32], [160, 30], [192, 25], [200, 24] [4, 8, 8, 8, 8], [960, 5], [1200, 4], [1600, 3], [2400, 2], [4800] 1]] How do you do it in Ruby or any language?

internationalization - internationalized file not being picked up on iPhone -

I have one. Plist is what I have translated into my app. Basically, I have one. Plist (icons.plist) application was on the root. I load the file as follows: [[NSBundle mainBundle] pathForResource: @ "icons" type: @ "plist"] After creating the file, linking my specific language (in this case) I have checked to ensure the icons. Plist exists in English.lproj and de.lproj (this does). I have always i18n in this way and it always works before, but now it does not seem to be taking up the updated German file. The path to using NSLogging I think is that it is still seeing in "myApp.app/icons" Plist "and not" in the form of myApp.app/de.lproj/icons.plist " I would have thought. Did I miss a clear step here? Remove the app from the device, or complete it Delete your "Build" directory (icons.plist can still exist) The organizer ("Build and run / debug" apparently installs a incremental, which means it exists T...

apache2 - CouchDB proxy? Apache As a Reverse Proxy? -

मेरे पास वीएम (Ubuntu 10.04, Apache, CouchDB 1.0, ...) सार्वजनिक आईपी पते के साथ है। क्या सार्वजनिक आईपी पता (यानी 187.323.132.232: 984) से काऊचडीबी (मुख्यतः फ़्यूटन) का उपयोग करना संभव है? या मेरी स्थानीय मशीन पर, एक एसएसटी सुरंग की स्थापना हां, फ़्यूटन कॉन्फ़िगरेशन पर जाएं और bind_address में http अनुभाग में 0.0.0.0 पर सेट करें वैकल्पिक रूप से, आप एसएसएच भी उपयोग कर सकते हैं। मूल विचार यह है कि आप अपने स्थानीय मशीन से रिमोट सीचडीबी में आगे बढ़ें: ssh -l 5984: लोकलहोस्ट: 5984 रिमोड्यूसर @ रिमोटमैचिन अब आप शुभकामनाएँ!

php - Delete duplicate rows in MySQL table but foreign key relationship exists? -

How do I delete duplicate rows from a MySQL table when a foreign key connection is already set up on those lines has gone. Can duplicate somehow and merge updated foreign key with new value? If the foreign key is on the delayed case , then by removing duplicate rows Also, dependent rows will be deleted, for example, if you have a table customer and a table command , and DELETE a foreign key like the optional table commands CASCADE Foreign Key Key Customer_ID references (ID), then by removing a customer, delete that customer's order too Interpretation will Similarly, if the foreign key went delete the SET NULL , the order will not be deleted, but they customer_id value will be set to zero. If none of these are the desired behavior, then prepare a query that resolves foreign key conflicts by changing foreign key columns so that they reference the line you want to keep ( I.e., update all orders to refer to non-fake customers), then remove offensive rows. Yet an...

linux - ftell on a file descriptor? -

instead of ftell () on a raw file descriptor (there is no way to return the current state to the file) * * Of file I think this should be, because you can search for a raw file descriptor using lseek (). I know that I can use fdopen () to create file * for file descriptor, but D rather not. Simply use: position = lymph (FD, 0 , Sekcarburg);

Translation of models in Ruby on Rails 3.0 -

Using Ruby on Rail 3.0, I would like to see the pages where side-by-side translations are in the posts . For example, a page will look like this + --------------- + -------------- - + ----------------- + | Hello Hola | Banjur | + --------------- + --------------- + ----------------- + ... (can be a lot of languages). Hello world | Hola, world | Banjur, monde | + --------------- + --------------- + ----------------- + What is an easy way to go about this? I do not believe it can be solved with I18N because it usually needs to set a locale and translate that language to the entire page. I want multiple columns of languages ​​(these languages And how many are unknown too). I know that I can make many tables for translations such as Posts, Postital Translation, and PostBody Translation, but this is not the best way to do this. Has anyone ever solved anything like this? As I understand that you want to translate the rows of the table you make it simple, and yet I can experi...

How do bring a WPF Window to front? -

I have created a single-instance application and if the user starts the app multiple times then the already opened window will be active It works fine, but I have a problem, if the previously opened window is beyond the second application window, then I should have brought it front. I have tried the window. Focus () and window.Show () but both of them do not work as an alternative solution ... bool oldTopMost = window Top most; window. Most = true; Window. Most = oldtemmost; Window.Focus (); ... this works but I look very ugly. Is there a better solution for this? You can use instead: window.Activate (); This is WPF equivalent to call.

Java library to scan image using a scanner -

In my project, I want to scan an image using a scanner. Which Java library can I use to capture a scanned image? I do not know there is any open source software for this, but it seems like what you have to do .

iphone - Start CATransition at specific location -

I have a character (code below) that takes a scene down. How can I specify a location for the animation to start, for example, 60, 30 Here is the code that I am currently using: CATransition * animation = [citation animation]; [Animation set duration: 0.5]; [Animation Set Type: KCARScashPash]; [Animation setSubyType: kkar dialog framesbottom]; [Animation Setting Function: [CameticTiming FunctionWidthName: KCAMDiTimingFunctionAseOutAut]]; Do you want to write your own timing function? Edit: I was basically suggesting that you are doing CAMediaTimingFunction subclasses, but it seems that it can not do the right thing instead, CATransition Try trying to set up startstart. , though it has a value in [0,1], not several pixels (if you are using linear animation it should be easy to change) . I still am not completely convinced that what is meant by "one place to start animation", however - the changes apply to the entire scene range. Generic UIView animations ...

android - ERROR No package identifier when getting value for resource number -

Both activities are in one package Other activity uses another layout file setContentView (R.layout.main2); Errors on this line in the second row. Lesson 1 of the Edit Text (= Edit Text) FindBUID (RIDAditet 03); There is a layout file for the second_activative. & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; LinearLayout xmlns: Android = "http://schemas.android.com/apk/res/android" Android: layout_width = "fill_parent" Android: layout_height = "fill_parent" android: orientation = "vertical" & gt; & Lt; LinearLayout Android: id = "@ + id / linearLayout01" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" & gt; & Lt; TextView Android: id = "@ + id / textView01" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" android: text = "the answer is:" ...

internet explorer - CSS Differences Between IE and Firefox: display -

I am developing a web application for which working with both IE 7 and Firefox 3.6 I use CSS I am laying down the tax form. The look is so beautiful I want each of these devices to stand in line with the label and option on the line (in the form of a line) on their line. Here is the CSS that works in Firefox: .data-group {/ * display: inline-block; * / Vertical-align: top; Padding-top: 5px; Padding-down: 5px; }. Editor-label, .option1, .option2 {display: inline-block; / * Float: left; * /}. EditorLabel {width: 250px; Vertical-alignment: top; } Unfortunately, it does not work in IE7. In order to achieve the same effect, I have to delete two commented lines and comment on inline-block. Editor-labels, .option1, .option2 Selection Unfortunately this Firefox breaks ... and it does not seem to be exactly the right thing to do anyway (Firefox makes a lot of sense). (I can get this method of working in Firefox if I add a "clear" dividend where I have "clear": on t...

drupal 6 - Display new module in site -

I am new to drupal, I have created a new module base on this example Http: //api.drupal.org/api/drupal/developer--examples--page_example--page_example.module/6/source I have just changed the module name and method to my The module's new name 'jtpc' and replace jtpc_perm for it function jtpc_perm () {return array ('access jtpc content',); } How can I now view the module in the Drupal site? What's my next step? Next step hook_menu () , or / and hook_form_alter () . One of those main ways is that a module shows users via pages (or forms), or engages their content to pages created from other modules. Read ,,,,,,, and.

jquery - Prevent Default with formToWizard.js -

I have a form wizard and the user needs to be blocked from step 1 to step 2. It is quite easy to do this with verification, but this is not a requirement, just a warning if a certain combination of boxes are checked, I am working on this one point, unfortunately, Prevents the move to step 2 and displays the warning on step 2. Ideally this step will display warning / confirmation talks on one and only if they choose the user correctly, go to step 2, the Select Cancel box will be closed and remain on that page. Can anyone help here? much appreciated. And now, the code: $ ("# step0 next"). Live ('click', function (event) {if ($ ("(# $ RT"). (": Checked" (Android:). {Warning ("You do not select any exchanges If you continue, you get real-time data only for market metrics and get ten minutes delay data for everything else. ?); $ (This) .d ("click");}}); So if any use The user checks "#rt" and checks any client .exe, th...

scala - Package objects -

What are package objects, not too much concept but their use? I have tried to get an example to work and the only form of work I had was as follows: package object test {val package object = value "package Object Values ​​"} Package Inquiry {Object Package Object Test {DIF Main: Array [String]) {println (" Package Object Valve Referencing: "+ PackageObjectVal)}}} Comments made up to: package object _root_ {...} is not allowed (which is appropriate), package object xy {...} is also not allowed . It seems that the package object should be declared in the immediate parent package and if the above is written above, then the brace delimited package announcement form is required. Are they in common use? if so, how? Normally you will put your package object in a separate file named package .scala It is related to that package. You can also use nested package syntax but it is quite unusual. The main use case for package objects is an exa...

javascript - Detect Idle Silverlight Application -

What is the easiest way to locate a user in Silverlight? I.e. no mouse input and keyboard input for the duration of time. I tried monitoring the focus event of mouse events, keyboard events and root visuals but it does not look good enough, for example, a popup window may be open and these events will not reach the original view. Probably javascript solution? And then there is another problem. When the app becomes inactive, I would like to look it brown (like hairdressing behavior). And I would like to reveal it like this, even if there is an open baby window or a simple popup at the moment. Are you sure the hair window is not bubble? This is a ruckus ... it has not been realized. If not, just create a contract: YelAct Activity: INotifyPropertyChanged void Touch (); Date Time Last Activity {Received; Private set; } Then you can use any enclosed behavior, base class or any other mechanism to record major events on your thoughts. They all say "touch", whe...

LTRIM usage with SQL server 2005 -

I am a small number of SQL numbers, so please forgive me. I can not get an example of LTRI use anywhere. I have a NIHARAR column in my table, in which there is a separate place in many entries - I think if I run it then it should do the trick: SELECT LTRIM (ColumnName) from TableName; Will this give the desired results? No, it will trim the major space but not all white locations (such as carriage return). Edit It looks like you're looking for a UPDATE query that is the main and the white space behind If you mean "general" blank space only use update table name SET columnname = LTRIM (RTRIM (ColumnName)) It should do this for all the white space (from here). Back up your data first! Update table name SET columnname = SUBSTRING (columnname, Pattydx ('%' ^ [char + (9) + char (10) + char (13) + char (20 ('% [ ^ 'Char (09) + char (10) + char (13) + char (20) +']% ', column name (' '%' ', column name), LN (co...

c# - ASP.NET MVC2 Parent Controller Not Redirecting -

I have the ASP.NET MVC2 application which will allow a parent controller to set up specific variables used around the app. uses it. I also apply the verification to ensure that an ID is present in the database in the URI, if it does not happen, then I redirect the script execution and stop it. The controller of my parents looks like this: // Set the inside class announcement // Example empty account account account protected account account = new Account (); Secure Override Zero initialize (System.Web.Routing.RequestContext requestContext) {// call original init method base.init (requestContext); // Be sure that the account id exists, check them if (accountRepos.DoesExistById (requestContext.RouteData.Values ​​["Help"]. ToString ()) {accounts = accountRepos.GetById (requestContext.RouteData.Values ["Help"]. ToString ());} else {requestContext.HttpContext.Response.Redirect ("uRL"); requestContext.HttpContext.Response.End ();}} Firstly it worked,...

database - SQL Server, not inserting records in correct position after deleting one or more records -

I know, this is a very basic question, but I'm in the process of learning again the SQL stored processes and What happened: I was practicing with a simple delete / dart routine when faced with: If I only enter records: 1. Dog > 2. Cat 3. T-Rex 4. Lama All right, then I call a delete process, pass Colum_ID To recognize the record and remove it. It is done correctly and everything is fine Then I again call an inclusive process and this type of entry is done: 1. Dog 2. Cat 5. Snake ** Now this is wrong, right? ** 4. Lama And I delete records say 2 and 3, and call the insertion process for 2 new records, and Those terms will be "filled" and the third record will be below, where it should be. Stored procedures are very basic: Insert USE [Exam] Go Set Go to ANSI_LLS Set Change Process [DBO] Go On [InsertData] @ Name varchar (50), @lastname varchar (50) Next to start op; Enter * in dbo.names (name, last_name) value (@name, last name) * De...

objective c - How to call the viewDidLoad in different time? -

I want to ask a question about the iPhone application. In my program, I am making the UITBBR Controller with 4 tabs. 4 tabs display different information and there are some connections. When I do something in Tab 4, it will update some data that is displayed in 1 tab. However, the page is the same, if I add the element to the viewDidLoad function. My problem is how do users load data every time they press the tab? Do I need to move the code from somewhere? [UIViewController viewWillAppear:] Looking exactly for what you are doing.

iphone - Get launch orientation of iPad app -

In my iPad app, I need to run some layout code to set up the proper layout based on orientation. , The layout is configured for landscape orientation, so when the image starts in portrait mode, I need to take additional action to properly configure the ideas for the display in the portrait. My - Application: didFinishLaunchingWithOptions: method, I check the orientation using the [[UIDevice currentDevice] orientation] . The problem here is that this app is starting in the scenario, even if it always gives a picture. Is there a way around it? This is expected behavior Question: Note: At the launch time, the app should always set its interface in a Portrait Orientation. After application: didFinishLaunchingWithOptions: The method uses the application controller rotation mechanism described above to return the ideas for suitable orientation before returning in the window. In other words, as far as the application is launched, the device orientation is is the port...

oracle10g - restoration of oracle database -

Do i restart the separate dump (databases) on a single database created through the Database Configuration Assistant in Okel 10G Can i I mean the last tablespace should be overwritten by the new, thus we save every time we restore new dump file to create new tablespaces. Yes it is possible by creating a new user.the new user will act as a new schema and It may exist with previously imported data without overwriting it. If I want to import different data using the same user then the previously stored data must be left with the user; The command to do this is remove the user cascade; It will leave the previously stored data without removing the tablespace, thus saving time to create new tablespaces.

How to manage and edit metadata of an audio file in Java -

greetings !! How I read the .aac file's metadata on Java, but still has not succeeded in proving useful. I'm new to programming and I'm doing this as an assignment. Most information I found: But I can not work a simple program because the import is not present there. I believe this is for an old JDK, but the site says it has been updated. I do not know where the metadata may be located in a .acc file, to know which one I should import, to start. Thanks in advance! Specifically provides some information about the AAC files created by iTunes, however, In a fairly good code sample, how the metadata information can be read. I am assuming that the question is asking the specifications of AAC instead of third party libraries which can control metadata creation as I read it.

php - Import CSV file in mysql with email validation -

मेरे पास मेरे ग्राहक तालिका में 2 कॉलम हैं I नाम | ईमेल मैं ईमेल कॉलम की मान्यता के साथ संबंधित कॉलम में एक सीएसवी फाइल डेटा आयात करना चाहता हूं। मैंने सीएसवी भाग अपलोड किया है, लेकिन मुझे पता नहीं है कि कैसे डेटा डालने के लिए ईमेल सत्यापन। मैं यह कैसे कर सकता हूं, मेरे पास खोज का सर्वव्यापी जाल है लेकिन मुझे उस पर कोई कामकाज नहीं मिला। कृपया मदद आप इसे दो तरीकों से कर सकते हैं: तालिका में सभी डेटा डालें (जो आसानी से हो सकता है सीएसवी पढ़ने के लिए PHP का उपयोग करें, ईमेल को मान्य करें और केवल तभी मान्य करें, उन्हें तालिका में डालें कुछ मूल ईमेल regex यहां पाये जा सकते हैं:

character encoding - Terminology and concepts surrounding the use of code pages -

I am in the process of researching code pages and among various Wikipedia entries too, there have been many conflicting uses of terminology . I just can not find a source of information that reflects the process of handling the entire character from the beginning to the end. Can there be some well-versed in this area that the following information is wrong or incorrect: The process of character representation as far as I understand: We start with a set of symbols (not sure about correct terminology, possibly 'script') which are not connected to a particular platform. For example, 'Cyrillic alphabet' is understood to refer to a single entity in the context of Windows in Linux. Members of these sets are selected, to create a platform specific character set, the Vendors platforms these different codes, such as GDI values ​​on Windows (such as 0 for ANSI_ACASTT and others Code here). I can not find more information on these sets, as if they are actually charac...

wpf - How to wrap Text in a ListViewItem? -

WPF ListBoxItem How to wrap this text? My item's container style looks like this: style x: key = "GroupListBoxItemStyle" TargetType = "ListBoxItem" & gt; & Lt; Setter Property = "Override Default Style" value = "true" /> & Lt; Setter Property = "FocusVijual Style" Value = "{x: Faucet}" /> & Lt; Setter property = "font size" value = "11" /> & Lt; Setter property = "fontwhite" value = "bold" /> & Lt; Setter property = "width" value = "95" /> & Lt; Setter property = "horizontal alignment" value = "center" /> & Lt; Setter Estates = "Template" & gt; & Lt; Setter.Value & gt; & Lt; ControlTemplate TargetType = "ListBoxItem" & gt; & Lt; Sliding Bar: Sliding Bar RadioButton GroupName = "Permissions Radio Button Group" named = "{Binding Pat...

algorithm - KMeans clustering for more than 5 million vectors -

I have hit a real problem, I need to do some commensation clustering for 5 million vectors, each of which is approximately There are 32 columns. I tried to exclude Mahavat which is Linux and I am on windows, I have been stopped using Linux OS and any kind of simulator. Can someone suggest a KMeans clustering algorithm which is capable of scaling up to 5m vectors and can happen quickly? I have done some tests, but they are used on scale. It means that they are slow and take them completely for ever. Thanks OK, so to do clustering for large scale datasets The only way to do this is to use MAHOTT IT requires a Linux platform, so I had to use the virtual box, it was put Ubuntu and then used the festival. It has a long way to establish Mahout, but the two links I used are as follows.

windows - How to protect software from system date-time changes? -

I want to add licensing system to apply. For example: The user buys the license for 1 month and after that program ends (Kinda Anti Virus Style?). The problem is that the system should run in the system which can not or connect the application's startup in the encrypted file and the way to save time Will not work in form (with program uptime of 8 hours) Another question - is there any way to save from the software? (Probably the scan driver?) edit: I am currently using a smart card to store the licensing information and on the important tasks of the Code Virtualizer (I know about making a breakpoints, inspecting the API call and passing the data - there is no need to hide that data, to ensure that things are to go according to the plan) Step 1: Create a test_artark entry in an encrypted format in a Windows registry and file. Step 2: App install timestamp assigns (Yyyy-mm-dd-hh-mm-ss) for trial_tracker Whenever the app starts , Check that the existing sy...

osx - how do I find where a executable is present in macosx? -

I have a command called YouTube-DL. But it does not know where it is installed. I can run from How do I find out where it is installed? Which YouTube-DL does not say anything .. If you can not find it from (or whereis ) may be: .bashrc or .profile (or some other file startup shell or Alias ​​defined in one of the above files. You can search your environment for YouTube-DL: $ set | Grep youtube -dl Or save it in a file and load it into a text editor: $ Set & gt; myenv $ open -a textedit myenv For more aliases: $ alias> myalias or $ alias | Grep youtube-dl

c# - Get current domain in ASMX -

How do I get the current domain in C # in an asmx web service that was called on the webservice? HttpContext.Current.Request.Url.Host what I want is kindof return but instead I just need to. I know that I can just cut that string, but it looks really elegant. Thanks Here helps: Request.Url.GetLeftPart (UriPartial.uthorization)

java - Multiple unique constraints in JPA -

Is there any way to specify using the Jpea that there should be many unique obstacles on the set of different columns? @inti @Table (name = "person", exclusive conferences = @ unique conference (columnNames = { "Code", "uid"})) Public class individuals {// unique code and UID public string code; Public string UID; // username string user name unique on username; The name of the public string; Public string email; } I have seen a hibernate specific annotation but I am trying to avoid vendor-specific solutions because we are still deciding between hibernate and datonucleus. @Table attribute of uniqueConstraints actually One of these array accepts that your example is just a short story for an array with an element. Anyway it will look like this: @Table (name = "person", uniqueConstraints = {@UniqueConstraints (columnNames = {"code", "uid"}), @UniqueConstraint (columnNames = {when Even the unique obstacle is b...

java - Spring Framework: Sending E-Mails that are generated from JSPs -

Is there any good indication of how to send e-mail from Spring 3 that was created by a view (JSP) ? (The spring manual describes how to use velocity as a template engine to create an e-mail body, but is it possible to use JSP instead?) / div>

performance - How to make html request without full page reload and without ajax -

I have seen that Facebook is doing this. If you look at the Chrome Inspector, then when you navigate to different pages you will be adding "html document element". I have also noticed that this is also Google DOS. I intend Is this some web server thing? I am using php with apache. Thank you. Facebook uses BigPIP.

text - Using default font styles in Android -

How do you use Android default font size in XML? I tried: android: textAppearance = "@ android: style / textAppearance_Large" But I get: Error: Error: No resource matched which matches the given name (with the value '@ Android: Style / TextApp_Layage' on 'Text Appointments'). is not it android: textAppearance = "? Android: ATR / text appeal large" for a textview?

seo - Web crawlers and non-ASCII characters in sitemap.xml -

One of our sites has non-ASCII (non-English) characters in the URL: Http://example.com/kb/analeло-about/option/ I wonder how web crawlers (especially Googlebot) manage these situations? Are these URLs encoded or otherwise processed? I think this URL-encoded is best. This is standard.

Mobile Website: Framework focused on Symbian and Blackberry -

I got the job to add the mobile-friend version of our website. Apps for the iPhone and Android already exist (and their browsers are really good), so the focus of this website is on Symbian and Blackberry devices. As I am a lazy programmer, I want to use some frameworks that help me develop this website. I've got many frameworks like IUI or iWebKit that focus on iPhone and Android devices and are looking great on mobile websites and feeling. And there are other frameworks like PhoneGap that focus on building applications for mobile devices. But I have not found a framework targeted for mobile websites for Symbian and / or Blackberry. Is there anything like this or do I have to start with scratch? Or are the browsers so bad for these devices that I have to write a very basic HTML? Jonas I only know for UI in Nokia phone Are also good for

c# - ASP.NET Resourcemanager to read local .resx -

I am using embedded .resx files for my translations, with some of these translations I have another .resx file I want to override, which is not embedded (e.g., ~ / App_Localresources / translations.en-US.resx). The purpose of this is that after the application is compiled and deployed, Manually convert .resx files to override embedded translations. Use the General Resource Manager for this? (In .NET 4) Thanks for the tips public Class ResxResourceManager: System.Resources.ResourceManager {Public ResxResourceManager (string basename, string processing directory) {type [param paramy] = new type [] {typef (string), typef (string), typef (type)}; Object [] paramValues ​​= new object [] {baseName, sourceDir, typeof (ResXResourceSet)}; Type the base type = GetType (). BaseType; ConstructorInfo ci = baseType.GetConstructor (BindingFlags.Instance | BindingFlags.NonPublic, Zero, Permataps, Null); Ci.Invoke (this, paramValues); } Secure Override string GetResourceFileName (Cultur...

php - Dynamic Form Action - Determine Action With Variables -

I have a form in the codeigner, and I need to change the verb of the form that is in real form. Meaning: If & lt; Select name = "type" & gt; Business then I need action = "business / submit" Is that an easy way to do this? Try now Try Javascript to get data from input, and then send it to a dynamically generated link - though this is not ideal for my situation. Thoughts? > I have never worked on CodeIgniter but I can tell you how to do it in PHP can do. You have to understand that you can not "dynamically" this without javascript as you suggested that you do not want to use javascript, I have a dirty way to handle this situation. I am suggesting. You can not modify the action attribute with PHP alone, so we can include that file on a PHP file and then select (from your selection box) that you have the wanted. You can use switch case or on the basis of your choice. This is just an indication. Please do not follow me for...

character encoding - C#: Converting byte[] to UTF8 encoded string -

I am using a library to extract metadata information from images. In part, this liberalization is using system.Drawing.Imaging.PropertyItem to do all the hard work. Some data from the property itam, such as image descriptions, are brought as ASCII-String stored in bytes according to Microsoft's episode. My problem is that the international character (å, ä, ö, et cetera) is skipped and replaced with questions when I debug the code so it is clear that byte [] One UTF-8 is represented. I want to parse byte [] as a UTF 8-string, how can I do without any information in the process? Thank you in advance! Update: I have been asked to provide a snippet with my code: The first snippet The class used by, which is written by Asim Gohir, is written by xifestracker cs (property item.pro in system.Drawing.Imaging .pr) {string v = ""; // ... else if (p.Type == 0x2) {// string v = ascii.getstring (p.Value); } And this is my code, where I do my best to conduct t...

ruby on rails - Different implementation on ROR -

I am creating a very simple website with ROR. class product & lt; ActiveRecord :: Base is_to: Category has_many: photos has_many: order_photos ,: class_name = & gt; 'Photo' ,: Order = & gt; 'Name' has_one: random_photo_1 ,: class_name = & gt; 'Photo' ,: Order = & gt; 'Rand ()' DF Random_photo_2 photo.fund (: first, conditions = & gt; {product_id = & gt; shelf id} ,: order = & gt; 'rand ()') and end While implementing several sections of ActiveCardord, I suspect, I do not remember that this is a different random_photo_2 method between random_photo_1 implementation. PS I apologize for my english. They both will do the same thing. / P> Its Benefits: random_photo_1 is that whenever you search for many products, you can easily load all the "Random Photos" Association, which will really help to improve performance if You are going to show many products and a random picture of them on your...

Visual Studio messed up my .partitions File in a SSAS Project, how to fix? -

Suddenly I can not process any SSAS project anymore. The error that I get is 'x.partitions' not valid and can not be opened. Check the 'X.partitions' file I remember that the last project was examined in TFS. A good idea to fix this will be greatly appreciated. The cube is causing the problem, there is a cube with 2 linked cubes (I think it should not do anything with it) Have you seen the actual partition file? You will not be able to see in the bid, unless you do not show all the files, you may have to look at the disk. What about your questions for your split? Can you get your division in the bid?

download - wget - specify directory and rename the file -

I am trying to download many files and I need to rename to download, how do I I can specify the directory and I want to download them? I know that I need to use -P and -O to do this but it does not work for me. I went to a similar situation and came to your question. I was able to write a short bash script which needed me to parse the name of a URL in one column and the other needed to parse the name. This is the script used for my special needs. If you still need help, then maybe it will give you some guidance. #! / Bin / bash FILE = URLhtmlPageWImagesWids.txt Read line while F1 = $ (echo $ line | cut -d "" -f1) F2 = $ (resize $ line | cut-d "" -f2) wget -r -l1 --no-parent -A.jpg -O $ F2.jpg $ F1 did & lt; $ FILE This will not really work because -A adds all results in one page You can try using the --no-directories or the --cut-dirs switch And in the loop process you want to rename the files in the folder.

installation - Problems discovering channel in PEAR -

This problem occurs every time I try to use channels, which gives me this error: Any bell is triggered without any proxy , Openssl is using windows and wamp server any ideas ??? Thanks Set the proxy and everything should work: Pair Config-Set http_proxy http: // login: pwd @ server: port

.htaccess deny access to all except to one file -

How can I deny access to a complete folder and sub-folders, with the exception of a file? This file is: toon.php and stays in the same folder. order, reject Perhaps it's the most efficient that you can get.

asp.net - Has Microsoft confirmed their stance on LINQ to SQL end-of-life? -

I am trying to make an educated decision, which I use for porting the ORM to use for many Oracle applications I am responsible for the MVC 2. I have seen that the ORM is from LINQ to SQL, LINQ to units and NHibernate. L2S seemed to be the easiest, but I've got many articles and blog entries that show that Microsoft will no longer be able to update it after .NET 3.5. Keeping this in mind, I am doing a little bit with the institutions, but I think it is cumbersome and more complex for small applications, with whom I am working (with nHibernate). I recently purchased "Pro ASP.NET MVC 2 Framework" by Steven Sanderson, in which he decided to use SQL as his ORM with LINQ: I know that something Developers have expressed concern that the Microsoft entity could leave SQL from LINQ in favor of the criteria, however, Microsoft increased NQ in NIT 4 to NXL and increased, so these fears flooded Like can not be justified. I knew that they had made changes, and neither did I c...

linux - Too many futex() calls -

While trying to publish an external MQ qi, we have an unusual delay in one of our Java applications on a Linux redhat machine Seeing (this has never happened before) What prompt health check was done on the box and CPU / memory usage is quite good. MQ boxes are quite fine, restarted my Java process, no luck! We then caught a quick strace snapshot and it is full of futex () calls. Was wondering why someone says why this may be so many locks (I know that this is a very wide open type question. Depending on what the app actually does. ) But I had hoped to get some more information in this problem. Did you actually create a profile and determine whether Futex calls are constraints? One thing that could happen is that a futex () syscall means that Mute X is the argument; FUTEX = fast user location Mute X, uncontacted muteux is handled in the user-space without a single cascode. That is, you may have a problem with the lock dispute.

count - PHP stop foreach() -

एक चर $ posts है, जो कई मानों के साथ एक सरणी देता है। foreach () का उपयोग आउटपुट के लिए किया जाता है: foreach ($ post $ post) {...} > $ posts से केवल पांच प्रथम मान कैसे दिखाए जाएंगे जैसे, अगर हमारे पास 100 मान हैं, तो उसे केवल पांच देना चाहिए। धन्यवाद। या तो foreach का उपयोग करें (array_slice ($ posts, 0, 5) के रूप में $ पोस्ट) .... या एक काउंटर चर और break : $ counter = 0; विदेशी मुद्रा ($ पोस्ट $ पोस्ट के रूप में) {..... यदि ($ काउंटर & gt; = 5) ब्रेक; $ काउंटर ++; }

delphi - what is difference between pchar and pbyte -

Why can not I do this task: var data: pbyte; X: int64; O: indicator; O Start: = Data + X; End; PCER is an indicator for all but it gets special support from the compiler. Indicative arithmetic PByte is just a plain old typing pointer to make C-like string manipulans easier in Delphi, and does not receive any special attention from the compiler, so that pointer is arithmetic. In Delphi 2009, ($ POINTERMATH ON / OFF) which allows you to add compiler support, pointer arithmetic for your own Pointer Type declarations.

objective c - UIImageView not displaying image - iPhone SDK -

I am using AVFRMMwork to capture camera frames and I would like to process and display them in UIImageView, but there is some problem. I have a code: A sample buffer was written when it is said that the delegate - (zero) CaptureOptput: (AVCaptureOutput *) CaptureApptput didOutputSampleBuffer: (CMSampleBufferRef) connection to the sampleBuffer: (AVCaptureConnection *) Connection {// NSLog (@ "Capturing \ n"); // Create a UIImage from sample buffer data UIImage * Image = [Self Image Entertainment Buffer: sampleBuffer]; NSLog (@ "Image:% F% F \ n", Image. Size.height, image.size.width); [ImageView Set Image: Image]; } However, it will not be displayed. The correct size is shown in NSLog , and when I enter: imageImage: [UIImage imageNamed: @ "SomethingElse.png"]]; In the viewDidLoad, an image is displayed correctly (so I know that UIImageView is correctly added). Should not any work? I'm at a loss right now. Cheers, Brett What are you d...

.net - Pushing messages to clients from a server-side application? -

I have a JavaScript-based client that is currently selecting a .NET web service for new content. During the polling work ... I am not happy with this approach because I am using system resources and I am making an overhead when there is no change to get. My question is how do I inform my customer that new content is displayed for it? I am open on any additional technologies, with whom I have to implement this solution. First of all, the way to go to vote is to do it with flash or silverlight or comet Can you open a TCP connection for notifications? A webpage can not automatically open sockets, so there is no way to directly inform web clients. [edit] But it seems that, how many clients can hold a TCP connection per one server at a time? For a large system, you will run faster than available sockets because 65k ports are available. How many concurrent connection handles to your server depends on your hardware resources If you have enough memory and CPU, then you sh...

javascript - media queries image file name change on screen size -

I am using media queries on one site, but considering the download of a large file, I am taking only 3g games to download on an iPhone. Is it possible to use jquery to change a file name (i.e. background-jpg to background- .phone / netbook / ipad maybe even using media queries. It seems that it should be possible in my head .. It would be great if anyone can work out of there: - D thanks in advance stu I have found this code to find the screen size $ (document) .r Eady (function () (if ((screen.width> = 1024) & amp; amp; amp; amp; (screen.height> = 768)) {Warning ('Screen size: 1024x600 or larger' ); $ ("Link [rel = stylesheet]: not (: first)"). Attr ({href: "detect1024.css"}) Other} {alerts ('Screen size: can be 1024x768, 800x600? '); $ ("Link [rel = stylesheet]: not (: first)"). Attr ({href: "detect800.css"}}}}}; and I got this script which I think is adding text to the file $ ('rollover'...

android - Using ViewGroup.addView() to add a GestureOverlayView to a SurfaceView game panel -

After a lot of good help from the people here, finally I got almost my small game panel (a surface view class) above And with the use of Adiview with a gesture overlayview, I finally got to add the gestureoverlaveview and got it to work, the problem is that it is calling: / ** create login form / private view group _createGameStuffs () {gesture overview gestures = New gesture overlayview (this); Gestures.setOrientation (gestures.ORIENTATION_VERTICAL); Gestures.setEventsInterceptionEnabled (true); Gestures.setGestureStrokeType (gestures.GESTURE_STROKE_TYPE_MULTIPLE); Gestures Settlement side (new layout pram (layout parama.philigant, layout parama.phil_parent)); // Gesture overview gestures = (gesture overlayviewview) Find VVBID (RID); Gestures.addOnGesturePerformedListener (this); Panel p = new panel (this); // My Game View Panel AddView (P, 0); // Add to the group panel. AddView (gestures, 1); // adding the Jester overlay done in the group return panel; } Crate on Public Zero (...

svn - Subversion failing on post-commit hook? -

I'm trying to overturn, automatically deploys the current working copy to commit. For example, if a person sees 'public_html' repo and then makes a change, I need to run the SVN 'svn update / path / to / public_html /' svn running on server is. I have set up a post-cut hook that calls: / usr / bin / svn update / path / to / public_html / I've ensured that the post-cut hook is executable, and if I run the script manually through SSH, it runs properly and updates / path / to / public_html / dir, so we know The post-commit script works fine The problem is facing whenever I get this error: Posting data to the data. SVN: The command failed (follow the details): svn: '/ svn / public_html' merge: 200 OK (http://ourdomain.com) The thing is, SVN is lying to your teeth: the committed is not really a failure - if I manually update the DIR (or manually post-committed script) the update and the changes on the server are reflected. So, does anyon...