Posts

Showing posts from May, 2014

javamail - how to build a mail server in java -

Greetings Everyone has an app with me (Spring + hibernate), which needs to send thousands of emails at once and I It was told that the best solution here is a mail server, I have no idea where to start or if there is any structure or service better, please give me some information from where to start, thanks. You do not create a mail server to send email to you to access the mail server (SMTP server) To use the JavaMail API.

linker - centos: linking lib that doesn't have a .pc file for pkg-config -

I'm trying to compile svg2pdf on centos. I think I have been successful in getting the dependencies established using the required yum: sudo yum install librsvg2 sudo yum install cairo in Makefile Includes: MYCFLAGS = 'pkg-config - cflags librsvg-2.0 caro-PDF' -Wall-Wpointer-arith-legal-prototype -demission-prototype -demption-announcements-contained-extensions After typing the hard-line 'Make', the first two lines of output are: cc `pkg-config -cflags librsvg-2.0 caro-pdf '-Wall-Wpointer-arith- Video prototype -Vimosing-prototype -demption-announcements -different-externs -fno-strict-aliasing` pkg-config -libs librsvg-2.0 cairo-pdf` svg2pdf.c -o svg2pdf package librsvg-2.0 pkg-config not found in the search path Was there. You might add the directory to the PKG_ CONFIG_PATH environment variable with 'librsvg-2.0.pc'. No package found 'librsvg-2.0' There is no librsvg-2.0.pc on this system ( But when I installed it using my Mac

xml rpc - Gravatar XML-RPC request problem in Objective-C -

I'm writing in an iPhone app trying to incorporate some Gravatar functionality into my XML-RPC API I caught the Coco XML-RPC framework by Eric Sejari () and when I tested it with some WordPress methods it works well, however, when I try to use the Gravatar API, I'm always " Error code: -9 copy of "authentication error" Get simple. I think I am making a proper request, but I am spoiling my mind and I am not able to understand it. Perhaps someone has some experience with this API or I can see what I'm doing wrong. Here's the call: & lt ;? Xml version = "1.0" & gt; & Lt; MethodCall & gt; & Lt; MethodName & gt; Grav.addresses & lt; / MethodName & gt; & Lt; Parameter & gt; & Lt; Param & gt; & Lt; Value & gt; & Lt; String & gt; PASSWORD_HERE & lt; / String & gt; & Lt; / Value & gt; & Lt; / Param & gt; & Lt; / Parameters & gt; & Lt; / MethodCall &

Getting file extension in C language -

Say that the file is named 12345.jpg. In C, how can I get the file extension so that I can compare it to some file extensions? If there is any inbuilt functions, please let me know. A function to do this, together with a test harness: < Code> #include & lt; Stdio.h & gt; #include & lt; String.h & gt; Const char * getExt (const char * fspec) {char * e = strrchr (fspec, '.'); If (E == faucet) E = ""; // fast method, can use more (FSPEC [Stellen (FSPEC)]). Return e; } Int main (int argc, char * argv []) {int i; For (i = 1; i & lt; argc; i ++) {printf ("[% s] -> [% s] \ n", argv [i], getExt (argv [i])); } Return 0; } is running with: ./program abc abc. Abc.1 .xyz abc.def abc.def.ghi gives you: [abc] - & gt; [] [ABC.] - & gt; [.] [ABC.1] - & gt; [.1] [.xyz] - & gt; [.xyz] [abc.def] - & gt; [.def] [abc.def.ghi] - & gt; [.ghi]

wpf - Bank angle from up vector and look at vector? -

I think that although I know the formula for calculating the angle of the bank (roll) above and see It can not be assumed that this angle should be measured in the plan normally for the vector it takes. Any indication is appreciated that FII is using WPF. I have posted, which is the same problem, but only expressed using mathematics. This is the last code to determine the bank Note that I want to determine the angle signal Required: // Vector 3D ViProject = New Vector 3D for Vertical Plan on Project Y (- (Direction Y * See Direction.x), 1 - (LookDirection.Y * LookDirection.Y), - (lookDirection.Y * lookDirection.Z)); Yproj.Normalize (); // Get the full angle between the projected Y and the double Apangal = Vector3D.AngleBetween (upDirection, Yproj); // magic formula Vector3D cross = Vector3D.CrossProduct (upDirection, Yproj); Double dot = vector 3D Dot product (see direction, cross); // Actual signed angle BDeg = set (dot> = 0)? AbsAngle: -absAngle;

jquery - How to serialize entire XML document into JavaScript array? -

I have an HTML document that loads an XML document using jQuery < Code> jquery.ajax {type: "gET", url: example.xml, etc ... When that XML loads, I will copy the entire XML document to a JavaScript array I want to sort in How do I do this? something like that? jQuery.ajax ({type: "GET", url: "example.xml", success: function (data) {var results = []; // this bit on your XML structure Depending on it, you get the idea $ (data) .find ('your_element'). Each (function () {results.push ($ (this)}}}}}}}}) < / Pre>

proxy - Java abstract visitor - guarantueed to succeed? If so, why? -

post I was working with hibernate, using the visitor method, run-time class behind proxy instances by this address Trying to apply I then came with a abstract welcome approach, but I wonder if this will always give the right results. Consider The following code: interface look (public void accept (Visitor v);} interface Visitor {public void Visit (Visitor visual host);} abstract class essence implements Visitable {@Override public void accept (visitor v) {v.visit (this);}} class Kankritvijet Aebstivetiv (public static void main) (string [] expand Arges) (last Vijitla visual = new Kankritvijetibl) Last Rshniy proxyVisitable = (city) Proxy.newProxyInstance (Thread.currentThread () getContextClassLoader (), a new class of & lt ;? & Gt; [] {Visitable.class}, New InvocationHandler () {@Override public Object invoke (Object proxy , method, object [] Arges) throws Throniy (return Methodkinvoke (visits, Arges);}}); proxyVisitable.accept (new comer () {public void visit (lo

iphone - Does it make sense to use a NSFetchedResultsController without an UITableViewController? How are they related? -

I mean ... can I also create a plain old UIViewController and then a UITableView myself, along with Can I set up an NSFetchedResultsController only? How do UITableViewController and NSFetchedResultsController interact with each? As far as I see it, UITableViewController does not adopt the NSFetchedResultsControllerDelegate protocol by default already. It almost looks like if the UITABVU controller has been developed without knowing about the NSFTables controller, maybe they also used to do that before developing the FRC anyway, it is just a raw guess because of mentioning the FRC in UITableViewController Lacking. So the only thing I see in the UITableViewController is that it is a representative of a UITL Weave before adopting the protocol, and it sets up an example of UITableView for me and it's internally with the table view property Specifies for. Is the UITB VIPUI controller full of magic? (Note: NSFT controls are not a typo tags typo. So there is a limit for the axi

asp.net - adding a css class with Html.TextBox -

Trying to add a 'class' html attribute, but I think that the keyword 'class' causes problems Are getting & lt;%: Html.TextBox ("name", "value", new {class: "required"})%> Is there any remedy? Just prefix 'class' is one as a '@'. & lt;%: HTML Textbox ("name", "value", new {@ class: "required"})%> If you need some background on @Keyword, there is a good SO question to read.

android - Can a videoview play a video stored on internal storage? -

I am trying to give my users the ability to use external or internal storage, both images and video ( Of a scientific nature). When the media is stored on the SD card, it's all right. But when I store the media internally, only images will be displayed; Anything that I do not try, I get various errors in trying to load and display the archived media under Application Contex .getFilesDir () I am Is there such a trick to set the content of VideoView in such a file? Can a Content Resolver Help Me? On the related note, is it believed that external storage exists? Thanks in advance, Sid Below is a version that fails with "Video can not be played", Sorry, this video is not Can be played. "But I have many other methods of failure, I can copy the internal video to temporary storage (external) and run it, so internally it is actually making a valid movie. Only then fails when I directly internal it I try to run from memory. video file = new file (this.getFi

version control - Is it possible to import files from one SVN repository to another using TortoiseSVN? -

I have many different SVN repositories locally on my machine and I only have Tortoise S client functionality without a SVN server backend. I use. Now I want to merge these treasures with the revision history of individual files Is it possible only with TortoiseSVN or SVN? Edit: It seems that what I want to accomplish is the best thing to use and keep using a repository for each project. It is possible to merge two treasures (even if you do not use a server).

javascript - how i can move from input to input with enter not tab -

I mean 'Enter' key from current input to next tab I 'tab' key function How do I I can do the 'login' key in 'javascipt' in the 'tab' key function Agree the worst thing you can do for a user-friendly form is to break the form in a way that usually works. If you really want to do this, you have to enter the key on each keyboard (the key is ID 13) and focuses the next input using the focus (function). That post can help you:

templates - Custom Wordpress Post Page Breaks if More Than 2 Posts? -

I have a very custom template, and 1 or 2 posts on the blog page, so it works great . But as soon as a third post is added, the structure of the template changes ... literally transmits a div inside the other and I do not understand why the code of the blog template is here, and the structure One should be like a screenshot and the second will be the third position when it displays the wrong location. Can it make any sense, any ideas? ; Div class = "post" id = "? Post" & lt; php the_ID (); & gt ;? " & Gt; & Lt ;! - Start Post - & gt; & Lt; H2 & gt; & Lt ;? Php the_title (); ? & Gt; & Lt; / H2 & gt; & Lt; Div id = "main_full" class = "clearfix" & gt; & Lt ;! - Startup main - & gt; & Lt; Div id = "top_bar" & gt; & Lt; H3 class = "gallery-title" & gt; News & lt; / H3 & gt; & Lt; / Div & gt; & Lt; Div id = "blog_page&

sphinx - Always-indexed MySQL indexing/searching replacements for InnoDB? -

I am using InnoDB for a MySQL table, and to explicitly use LIKE and RLIKE / REGEXP It may take a lot of time. I have tried, and this works great, leaving me the index reference again at intervals. I can re-index every minute, but I'm thinking that 1 or 2) always keep a record in Sphinx, or 2) other software than Sphinx which will keep the record always indexed. I want this where the index is updated on instantly entering or updating a record. You probably do one of the best projects To do some natural language processing They are designed to make reverse indexes on text content, with optional capabilities. Lucene is the original project, originally written in Java, but it is now kept on the net - it uses a very efficient file based store for data. is a Solar project for a large index that is basically a service based version of Lusen, which you can access through comfortable services. There are also options for scaling, such as covering the indexes in many machines

PHP RegEx - Get All Digits -

मेरे पास यह कोड है: $ string = "123456ABcd9999"; $ Answer = ereg ("([0-9] *)", $ स्ट्रिंग, $ अंक); $ अंकों गूंज [0]; यह आउटपुट '123456' मुझे इसे '1234569999' यानी आउटपुट करना चाहिए। सभी अंक इसे कैसे प्राप्त किया जा सकता है। मैं कई अलग-अलग regex चीजों की कोशिश कर रहा हूं लेकिन यह समझ नहीं पा रहा है आप इसके लिए उपयोग कर सकते हैं, preg_replace ("/ [^ 0-9] /" , "", $ स्ट्रिंग) उदाहरण के लिए ।

c# 4.0 - Access User's Possible Screen Resolutions - C# 2010 -

Thank you in advance for your help. I am thinking that how can I access the screen resolution is available on a user's PC. I would like to get a list of all available offers and will also determine what the user is currently doing. I believe that you call PInvoke in the User32.dll < Strong> EnumDisplaySettings can make API calls. [DllImport ("user32.dll")] Public static extern bool EnumDisplaySettings (string device name, int modem, ref DEVMODE devMode); See examples. You will definitely run in complexity with the dual monitor system, but you can do this to get the current screen System.Windows.Forms.Screen.PrimaryScreen Bounds.Width I think you were talking about an executable and not the ASP.NET app, but if you need the screen to resize in javascript, you You can use the screen object screen.width; Screen.height; Screen.colorDepth;

gwt - Spring Roo from WSDL? -

Spring RU + GWT is very exciting but I would like to use an existing web service as a backend so that I was wondering if thanks / div> As far as I know Spring does not support it yet.

iphone - HOWTO use UIWebView to display a downloaded file later? -

I can format an NSURL (the path or path generator function) so that I can display a local file of the download (nodes). Application for offline use is part of NSBundle?) This idea is to snap a HTML file, clear it and hide it in the iFoo application specific storage area, then use UIWebView to display it. Next, I am going to work with files on RTFM iFoo (iPhone / iPad) in general, but any faster start suggestions are appreciated. You can read your local file in a string upon completion of the download and then the HTML Use UIWebView to load. Use the relative path and set the correct baseURL : NSArray * path = NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, YES); NSString * yourFolderPath = [[Path ObjectAddindx: 0] StringBapping Company: @ "Your Folder"]; NSString * filePath = [yourFolderPath stringBappingSetting Path Companent: @ "yourFile.htm"]; NSString * fileContents = [NSString stringWithContentsOfFile: filePath]; NS URL * B

flex4 - Flex 4: Scale to a point (zoom into an image where the mouse was clicked) -

I am trying to do this and I do not know this. There is a image control, when I click on it, I need to zoom in (using the center / mouse instead of the click) The zoom transition I have is great work, but when I read transformX & amp; tranformy (with autoCenterTransform false) it does not zoom in at that point This is my code which only zooms (not at any particular point)) & Lt; / S: parallel & gt; & Lt; / Fx: Announcements & gt; & Lt; Mx: image id = "imgLogo" width = "250" x = "100" y = "100" retype = "true" source = "@ Embed ('src / logo.png')" click = "ImgLogo_clickHandler (event)" /> Any help is greatly appreciated. Thanksgiving After some more excavation, I was able to understand it. You need to set the MouseEvent to transformX and transformY step coordinates (not the locals). protected function imgLogo_clickHandler (Event: MouseEvent): zero

html - CSS Multiple Divs set to 100% Height -

I think this question is redundant, but I find an answer from my searches here and on other online forums Was unable to. This is my situation. On that page I have a 'Separator' line which extends down to the bottom of the page. Now, I've thrown a lot of break tags to spread the page. This suggests that the background image (used as a footer) extends right below the page (this image is contained in the # content. ) My question is that I How can I get my div # right? Property to disperse in the same way? I have html, body and container heights, all specific 100% as well as #content to one container devices. Very beautiful. On the link you can see my source and Mmmid is that I will tell it in a good direction to get it.Thank you will be greatly appreciated thanks. < P> Create a background image that has both external limitations and right -column divider.This technique is called "unclean column." See:

rule engine - Using drools expert with dynamic decision tables -

This is what I had to do. I had to give the "rule" in the database table. This is a type of Dallas XLS decision table format, except that there will be rows in all the rules table. In this way I can easily modify the rules I should put it in a table and not an xls because my rules can often change whether it is possible drools? Can I prepare a Knowledgebase with rules derived from a DB (rather than a DRL or an XLS file), and by changing the rules every time I can reboot the Knowledge Base from scratch (or maybe only in parts of the Knowledgebase, Only update those rules that have changed.) It depends on the fact that Which types of rules do you consider in database-supported Approach makes sense if you have a lot of rules that have the same structure, and which vary according to just a few 'parameters' in this case you can write a general rule, and all applicable combinations are stored You can use the database to do this. For example, suppose you have rule

mongodb - inheritance in document database? -

I am thinking because I searched for the PDF "[noSql] definitive guide" and "beginning [noSql]" Is "heritage" but I did not find anything? Am I forgetting something? Because I am being hibernate and successor to a tableperer hierarchy with mysql, has [noSql] been deprecated for some reason? (replace [noSql] with the database not only "SQL") I know this answer It's been a bit late, but for MongoDB, you're probably looking at something differently. Mongo is schemeless, so the concept of "table hyacinth" is not necessary. class A property X property Y property In an RDM you probably have something like this Table A: Column X, Y, Z Table B: Column X, Y, Z, W But there is no Schema in MongodiBi. So you do not need to structure the data in this way. Instead, you have "collections" of all objects (or "documents") of one or B (or C ...). Then your collection will be a series of objects like th

ruby on rails - Database layout for an application with geocoding features using geokit -

I am developing a real estate web catalog and want to geocode every ad using geokit gem. My question is, what would be the best database layout from the display point, if I want to search the country, city of the selected country, administrative area or the nearest metro station of the selected city. Available countries, cities, administrative areas and metro sations should be defined by the administrator of the list and should be validated by geocoding I came up with a single table. create_table "Geo_locations",: force = & gt; Is true T | . T.integer "geo_location_id" #parent Ground Locations ("Country" parent country of the former country city t.string is the ground location: Null => False #necessary for any geo location t.string "city" For #not the city is inaccessible and it is "premise_number" #thaus administrative_area t.string "administrative_area" for the geo location of the children and the children t.

c# - Variables Expired before Asp.net Membership provider automatically logout -

I have a Microsoft subscription provider In my application, I am using variables that save cookies (session testing) Used to be. The problem I have is: One of the authenticity of my variables has expired before logout automatically. How can I determine the time of the membership provider automatic logout and after 30 minutes after the same time, the variables Or how can I create a new server variable? Or maybe you give me a better suggestion? Thanks Try to manage user data in its own way There are more dragons who doubt you and tell you. Consider: At the end of the form ticket, a sliding scale is pushed forward. To correlate each request with a single life span, you will have to duplicate this argument, which will remain in FormsAuthenticationModule , and will complicate your code very complex and unnecessarily. If the data is of the proper size, just put it in the userData field of the form code, now your user variable returns the form ticket code and the for

regex , php, preg_match -

I am trying to remove the mileage value from various eBay pages, but I got stuck because there are so many patterns because the page is slightly It is different so I would like to know that you can help me with a better pattern. Here are some examples of things: Please see the pattern on the following link (I still can not understand how to save html http://pastebin.com/zk4HAY3T < P> Although they are not enough enough, it seems that there are still new peters ... "post-text" itemprop = "text"> This is a bit more common - It does not care about HTML tags, it works on all three links provided by you. . / mileage [^ Of course, there may be better ways, depending on the other obstacles you have, but this is a good starting point. Accepting the repetition there, you can make (logically, at least) a little more easy: / mileage [^ << Again the line between the words 'mileage' and 'miles' Two HTML tags in Looking for

iphone - if NSDate is Monday -

How can I check whether the NSDT is a specific day of the week, such as Monday, Tuesday, Wednesday and so on? From memory (I do not currently have the work of the Objese environment): int yourDOW = [[[NSCalendar current calendar] component: NSWeekdayCalendarUnitDate from: yourDate] day of the week;]; In other words: Get the user current (if your (your dow == 2) {...} // sun = 1, sat = 7 calendar. Get a week-day unit based on the given date. Get that day from that day. Compare with what you want.

c++ - Filling in gaps for outlines -

I'm using an algorithm to generate quads. These settings have become algorithm: < Pre> zero oggyonfunction: :: Generally available poly (const std :: vector & lt; std :: vector & gt; gtl gt; & gt; and input; std :: vector & gt; gflfl & gt; and output , Int width) {output.clear (); If (input.size () & lt; 2) {return; } ATTP; Float Darlin; Float Peplen; POINTFLOAT start; POINTFLOAT end; POINTFLOAT dir; POINTFLOAT ndir; POINTFLOAT perp; POINTFLOAT nperp; POINTFLOAT PERPOFFSESS; POINTFLOAT DIOSSESSETS; POINTFLOAT p0, p1, p2, p3; (Unsigned int i = 0; i & lt; input.size () - 1; ++ i) {start.x = stable_account & lt; Float & gt; (For input [i] [0]); Start.y = static_cast & lt; Float & gt; (Input [i] [1]); End.x = static_cast & lt; Float & gt; (Input [i + 1] [0]); End.y = static_cast & lt; Float & gt; (Input [i + 1] [1]); Dir.x = end.x - start.x; Dir.y = end.y - start.y; Dirlen = sqrt ((dir.x * dir.x) + (dir.y * dir.y))

memory leaks - How do you free windows handle pointer in Delphi 7? -

I am using a third party tool that points to images in memory with windows handles. Tool statistics that you are responsible for releasing the handle, how will you handle it in Delphi 7? The datatype for the handle is long If the device tells you that you are responsible for cleaning, you It should also have been said that whom you should use. Take a closer look at the documentation. You should be more specific about the type of handle Use most kernel objects (mute x objects, threads, processes, files, pipes, events, etc.). If you really have an image handle, such as HBitmap or HIcon , then it's free with you. is issued with the window handle ( HWND ). You may have a memory handle, as provided by GlobalAlloc ; Use for that. It may not be a Windows handle at all, it may be a specific handle for your device's API, for which it requires API-specific work to delete it. The bottom line is that you need to know what you have.

urllib2 - Downloading a picture via urllib and python -

So I'm trying to create a Python script that downloads webcmix and puts them in the folder on my desktop . I have seen some such programs here that do something similar, but I do not like anything. The way I got the most, it's fine () I tried to use this code: & gt; & Gt; & Gt; Import urllib & gt; & Gt; & Gt; Image = urllib.URLopener () & gt; & Gt; & Gt; Image.retrieve ("http://www.gunnerkrigg.com//comics/00000001.jpg", "00000001.jpg") ('00000001.jpg', & lt; httplib.HTTPMessage Example 0x1457a80 & gt;) Then I searched for my computer for "00000001.jpg", but the cached image of what I got was the picture. I do not even believe this file was saved on my computer. Once I understand how to download files, I think how to handle the rest. I essentially only use one loop and split the string on '00000000' 'jpg' and '00000000' To the largest number, which I have to define

delphi - how to replace Windows.Beep with modern beep sound -

How To Change Windows Keep up with the modern beep sound that comes from speakers with adjusted volume? Try this one uses MMSystem; Process TForm1.Button1Click (Sender: Tubbed); Start sndPlaySound ('C: \ Windows \ Media \ sound.wav', SND_NODEFAULT or SND_ASYNC or SND_LOOP); End; Process TForm1.Button2lick (Sender: Tubbed); Start sndPlaySound (zero, 0); // prevents the end of the sound;

Reading a single char in Java -

How to enter a character from the keyboard in Java? You can either scan the entire line: Scanner s = new scanner (System.in); String str = s.nextLine (); Or you can read a single char , you have come to know what encoding is related to: Char c = (four) System.in.read ();

Jira task hierarchies -

Searching online, I ask many people for many levels of sub-tasks and appropriate sub-work functionality I'm (like fogbugs) but I do not know if this is planned in future editions, or if plugins exist to provide this functionality. Do anyone know? We are working on the plug-in for multi-level subtasks View details and follow us For the current solution, you can use the link as a very limited solution. There are some hacks to allow sub-sub-tasks, see comments on Update: An add-on has been released in 2011 and only several hierarchical levels are available. Currently it is on version 4 and it is one of the most popular add-ons for Jirra

XMLhttpRequest > PHP > XMLhttpRequest -

I have another question XMLhttpRequests are bothering me Now everything is in the database but I need this page that I Load your page to the brick page or reload it. XHR is triggered in a javascript file that triggers PHP Script. PHP Script Access MySQL Database But how can I get back records in my JavaScript for page updates? I can not understand it First my synchronous XMLhttpRequest: retrieve the function RowsDB () {if (window.XMLHttpRequest) {// code for IE7 +, Firefox, Chrome, Opera , Safari xmlhttp = new XMLHttpRequest (); } Else {// code for IE6, IE5 xmlhttp = new ActiveXObject ("Microsoft.XMLHTTP"); } XMLhttp.open ("GET", "retrieveRowData.php", incorrect); Xmlhttp.send (zero); Return xmlhttp.responseText; } Then my PHP-script: & lt ;? Php $ con = mysql_connect ("localhost", "root", "**** *********"); If (! $ Con) {dead ('Could not connect:' Mysql_error ()); } Mysql_select_db ("sadb"

On thread safety in python using D-Bus asynchronous method calls -

I write a Python class which calls the asynchronous method using D-Bus. When my answer_handler is called, it stores data in the list. This list can be used for the second class methods at the same time. Is it safe or can I use synchronized data structures like queue class? If you list out the callback reference, you do not need the necessary synchronization - you only know this The state of the inventory item is unstable If the list should also be modified in the callback handler, as well as the main performance reference (or other threads, etc.), then yes you will need to synchronize. Python synchronizes Q works naturally for message pumps - allowing you to sort actions in order so that events can come in any of your references. With this simplicity and readability, this profit code is easy to track major state changes. Callback should not normally be complicated in any way, because in the external context callbacks (and probably not) will have to deal with the exceptio

plsql - How to prevent "parameter PLSQL_DEBUG is deprecated" compiler warning in Oracle SQL Developer -

When I execute one package body DDL statement warning SQL developer, Warning: PLW-06015: parameter PLSQL_DEBUG dislikes; PLSQL_OPTIMIZE_LEVEL = 1 How to use the SQL Developer PLSQL_DEBUG? PLSQL_DEBUG can be configured incorrectly in an SQL * plus session using the same connection details, & gt; Type parameter PLSQL Type value ------------------------------------ -------- --- ------------------------------ plsql_ccflags string plsql_code_type plsql_debug interpreted string Boolean wrong plsql_native_library_dir string plsql_native_library_subdir_count integer 0 plsql_optimize_level round 2 plsql_v2_compatibility bullion capable wrong plsql_warnings string: all Oracle SQL developer V 2.1.1.64 Oracle 11g SE: 11.1.0.6.0 I I'm not looking for the GUI option, to gain this, trigger a login. I am not looking to suppress the performance of this warning only. The alert should not be ready at all. If you only wish to disable a warning that you use PLSQL_WARNIN

design - Suggested improvements? -

I'm coding a site in pure HTML / CSS - no server-side language is using < / P> I was thinking that someone has a reaction - is there anything that you want to change ...? Many thanks, J Your site is quite It appears to be static, i.e., there is not much dynamic and changing content, the pure fixed HTML page is just fine. You can avoid duplicate HTML using a visual / template engine. So when you change something in the header, navigation or footer, you do not have to change them in each HTML file separately .. in only one place. Good HTML editors will support this feature without the need for server-side language. With Events, other dynamic parts (news, etc.) can be pushed into a database, but if you are doing only one update and maintenance work, I do not think it is necessary . Server-side implementation will be required for some reasons: User registration (authorization) Content Management System (CMS)

c# 2.0 - Filtering a DataSet using Select NOT LIKE (ASP.net 2 Webforms) -

I'm trying to query a dataset with a stored procedure, but I'm messing around somewhere .. < / P> special Data source = dtibles ["special"]. Select (No such as "My ColumnName" BB '%'); Anything wrong with the above description. percent symbol in the wrong place special. Data source = dtibles ["special"]. Select ("'mycolumnname' ' Not like BB '%); must be special Data source = ds.Tables ["special"] Select (not like "mycolumnname 'BB%' ');

How can I see the entire SCM history in my Xcode project? -

If I see the SCM tab in the gate information for my project, then I see only the committee affecting the project file Where can the list of all commits be available for the entire project? EXOD 4: Go to the organizer (top right), select repositories, select the repository, there.

java - JTree create new file make it selected -

I want to make it like when I click on a button, it will create a new file. Then jTree will highlight the new file. Below is my code. Currently I create new file, I will show new file but no charity file class fileTreeModel applies TreeModel {Private FileNode root. Public FileTreeModel (string directory) {root = new FileNode (directory); } Public Object getRoot () {Return Route; } Public object getChild (object parent, int index) {FileNode parentNode = (FileNode) parent; Return to the new file node (parentNode, parentNode.listFiles () [index] .getName ()); } Public int biltscount (object parent) {FileNode parentNode = (FileNode) Parent; If (parent == infirm ||! ParentNode.isDirectory () || parentNode.listFiles () == faucet) {return 0; } Return parentNode.listFiles (). Length; } Is a public boolean, leaf (object node) {return (matching delimiter (node) == 0); } Public int getIndexOfChild (object parent, object child) {FileNode parentNode = (FileNode) parent; FileNode childNode =

c++ - #define far, #define near Windef.h -

संभव डुप्लिकेट: इन दोनों के बिंदु क्या है Windef.h में परिभाषित? #define दूर / * कुछ नहीं * / #define के पास / * कुछ भी नहीं * / मुझे पता है कि इसे पॉइंटर्स के साथ करना है और इस तथ्य का उपयोग अब नहीं किया जा रहा है, लेकिन, यह #undef के लिए सुरक्षित है, इसलिए मैं के पास और मेरे कोड में फ़ंक्शन और वेरिएबल नाम के रूप में < या, क्या मैं इसे से बचने और कभी भी के पास और दूर के रूप में उपयोग नहीं करना चाहिए पहचानकर्ता? उनको पुन: उपयोग न करें आखिरी चीज आपको लोगों को बार-बार समझाती है कि वे पुराने-स्कूल के गहने नहीं हैं। यदि यह आपके ऐप के लिए महत्वपूर्ण है, तो आप पूंजीकृत संस्करणों का उपयोग करने पर विचार कर सकते हैं (क्योंकि पहचानकर्ता हैं संवेदनशील है) - जब आप गड़बड़ करते हैं तो संकलक टाइपो को पकड़ लेगा। बस स्वीकार करें कि यह अच्छे पुराने दिनों से क्रुद्ध है जब कंप्यूटर अभी भी धातु से बनाए गए थे।

Is there a way to add a column with buttons in jqGrid -

I have some data that I want to display in jqqgrid In addition to adding, editing and deleting, there are other functions that can be taken on a selected record. I like the flow of having a button / link for that action in the row of that record. Do I want to add a column and amp ; The button / link within the Jackgird is not bound to data? Looks like you should create a custom button in navigator (see) the same way. If it is not what you are searching for, please comment on a slightly more detailed or an example that you really want.

java - Struts2 Converting Enum Array fills array with single null value -

इन सदस्य चर के साथ एक साधारण एक्शन क्लास के लिए: ... निजी टेस्टकॉन्टरअनुम परीक्षण ; निजी टेस्टकॉन्टरनम [] परीक्षण; निजी सूची & amp;; TestConverterEnum & gt; tList; ... और एक सरल एन्यूम: सार्वजनिक enum TestConverterEnum {A, B, C; } जब मैं अनुरोध भेजता हूं तो डिफ़ॉल्ट स्ट्रट्स 2 एन्यूम कनवर्ज़न का उपयोग करना: testconterter.action? Test = & amp; tests = & amp; tList = & Amp; amp; b = asdf परीक्षण के लिए मुझे एक शून्य मान मिलता है, जो उम्मीद की जाती है। सरणी और सूची के लिए, हालांकि, मैं एक अशक्त तत्व के साथ मिल और सरणी (या सूची)। यह क्या उम्मीद है? इसको रोकने के लिए कोई रास्ता नहीं है। हमने हाल ही में हमारे स्ट्रट्स 2 संस्करण को उन्नत किया है, और हमारे पास हमारे स्वयं के कन्वर्टर्स थे, जो इस मामले में भी काम नहीं करते, इसलिए मैं डिफ़ॉल्ट रूपांतरण पद्धति का उपयोग करने की उम्मीद कर रहा था। हमारे पास पहले से ही कोड है जो null और लंबाई के लिए इन सरणियों को मान्य कर रहा है, और मुझे इन शाखाओं को एक और शर्त जोड़ने की ज़रूरत नहीं है क्या इस विकृति

c# - How to remove default header from WCF REST Outgoing Response? -

The following C # WCF based REST service gives me some unwanted headers, I'm not sure if I can remove them from the API. Interface: [communication of service] Public interface Icantol system {[OperationContract] [WebGet] system. Io About the stream (); } implementation: public class ControlSystem: About IControlSystem {public System.IO.Stream () {New system. IOM MemoryStream (ASCIII encoding .Default.GetBytes ("Hello World"); It gives the following response from a raw socket connection: HTTP / 1.1 200 OK server: ASP.NET Development Server / 9.0.0.0 Date: Tue, 15 Jun 2010 13:12:51 GMT X-AspNet -Version: 2.0.50727 Cash-Control: Private Content-Type: Application / Octet-Stream Content-Length: 39 Connection: Close Hello World The question is, what server Is it possible to not report other than actual messages? Due to some small embedded device clients it is required in some calls which will try to connect to the server and I would like to reduce the amount of

keyboard - Assign multiple Emacs keybindings to a single command? -

I am trying to see once more whether I can use MX more easily. Some keybindings are quite intuitive, but in many cases I do not want to change the default completely. For example, in terms of navigational shortcut structure, MH replacement is understood as a CA - but I want to be able to use both, not just MH, I just command commands Tried to duplicate: ;; Go to the beginning / end of the line (defconst ergoemacs-move-start-of-line-key (kbd "C-a")); Original (defconst ergoemacs-move-end-of-line-key (kbd "C-e")); Original (defconst ergoemacs-move-start-of-line-key (kbd "M-h")); Ergomamas (defunct eromomac-le-end-of-line-key (KBD "M-H")); Ergomacus but AMACS overwrites the first keybinding with the second. What is the best way to resolve it? To answer the answer again: Xh Li said: / P> It is very easy. In the ergoemacs-mode.el file, this line (load is "Ermomack-Unbund"), just comment it out. You should do this howe

How do I stop/start EJB Apps in JBOSS 6.0 from the command line -

If I use the Web-based administrative console for JBOSS, then I can navigate applications- EJB2 JARs and I can see a list of posted EJBs. . By clicking on any one of these, I get a page that allows me to start and stop the selected EJB. However, I can not find a command line equivalent. Is there any way to start / stop EJB applications in the JBSS through command line? I am going to download and manage the app to use the applications of the CloudIQ Manager and I need to be able to start and stop the script. How I got personalized EJB To install and uninstall through the command line, it should be able to start, stop and ask for its status (start / stop). "Itemprop =" text "> If you want to manage Jabes through a script, then you should probably use the twiddle tool. More information is here. If you want to stop warfare, then you can do something like this: List wise list and the name of his bean: Twiddle.sh query 'jboss.web.deployment: *' jbos

cakephp - How to add some action after login (and before redirection)? -

My kind of application is trying to develop some type of login tracker for the application. I know that I need a code like: $ this-> Data ['login session'] ['user name]] = $ _SERVER [' REMOTE_ADDR ']; $ This- & gt; Data ['login session'] ['ipAddress'] = $ _SERVER ['REMOTE_ADDR']; $ This- & gt; LoginSession-> ($ This-> data); ... in (I think) users_controller, but I do not know at all that I would also like to track successful but failed logins. Can you please help me with this? Thank you in advance! Do you already have the login function? function login (if ($ this-> AUTH- & gt; user ()) / your tracking luggage / db call here $$ - this- & gt; Redirect ($ -> - AUTH- & gt; Redirect ());}}

HTML: Form upload, only allow PNG, GIF & JPG -

I have uploaded a form file. When users go to upload an image, then it will upload all the files Displays how can I create the HTML upload dialog window to display only JPG, GIF and PNG? File Upload The dialog in the web browser is out of your control. You can create Java applets to upload images, such as Facebook did.

html - JavaScript: Text "submit" link? -

I have the following code and would like to use hyperlinks to submit my form. & lt; Form name = "form_signup" id = "form_signup" method = "post" action = "/" enquepe = "multipart / form-data" & gt; ... & lt; Input type = "submit" value = "go to step 2" name = "full" /> Or & lt; One onclick = "javascript: this.form.submit ();" & Gt; Proceed without uploading & lt; / A & gt; & Lt; / Span & gt; & Lt; / Form & gt; However, my hyperlink submission does not work, it keeps me on the same page. Question: Any ideas why submitting my link text does not work? your "javascript: this.form.submit ();" this in & lt; A & gt; The tag, which does not have any form , resulting in a javascript error. The smallest changes required, but the most elegant would be:

Crashes when using AVAudioPlayer on iPhone -

I am trying to use an aviable player to play some sounds in quick succession. When I call the sound-play function less frequently, so that the function plays fully before applying the replay, the app is running fine. But if I quickly call the function in succession (sounds like the previous voices are still being played, the sounds are played), the app eventually calls for a function with the message "20 EXC_BAD_ACCESS" Here's the code from the function: NSString * nsWavPath = [[NSBundle mainBundle] resourcepath] stringbappingpath company: wavFileName]; AviDio Player * theAudio = [[AviPro Player Alok] initWithContentsOfURL: [Text with NSUr File URL: NSWPath] Error: Null]; TheAudio.delegate = self; [Audio game]; As mentioned in another thread, I have implemented the following representative work: - (zero) Audioplayer diffinet playing: (AviPlayer) * Successfully: (BOOL) Flag {if ) NSLog (@ "Audio did not end successfully \ n"); [Player release]; } But

Parse (extract) DTMF in Python -

If I have a record audio file (MP3), there is no way to record DTMF tone pure In Python? (If the python is not available then Java is also OK. This issue is that it should be able to run in Google Appengine) First you have to decode the MP3 in the uncompressed format of raw samples at a bit bit depth and sampling rate. Then you look for frequencies that make every DTMF tone. Although FFT can be used for this, the algorithm of guns is the Gortezel algorithm, which uses the fact that you know which frequencies you take before making changes: In it Some free python codes are present, using a Gortel to detect DTMF, although I have not tried to do it myself, take a look at:

vba - Power Point 2010 youtube embeding problem -

Image
I know that this is a programming site, but I can think of a better place to ask ... Anyway, I'm trying to use video editor from video editor, but it seems to be disabled please help? The most likely reason here is that you are using the x64 version of PowerPoint 2010. States: PowerPoint 2010 is not compatible with 32-bit versions of 64-bit Quicktime or Flash. You must install a 64-bit version of QuickTime or Flash, or 32-bit version of PowerPoint 2010. Will happen. There is no point in saying this because neither Flash nor QT has a 64-bit version. It has been said that you can still embed the program as a program using code (in fact, "link"), such as: Sub InsertWebVideo () Dim sl Like slide set sl = ActivePresentation.Slides (28) SL.Shapes.AddMediaObjectFromEmbedTag embed tag: = _ "object width = '640' height = '385' & gt;" & Amp; _ "& Ultimate Name = 'Movie' value = 'http: //www.youtube.com/v/ge

c# - Using SQL Server Database View for populating DataGridView and modifying data in DB -

Use SQL Server Database Viewing Populating DataGridView and Modifying Data in DB < / P> I want to know how this will be done and if this is not a good solution, please expand if another good solution is possible . 1) Initially I want to use a view database for populating different DataGridViews . 2) tables for data-retrieval are required for multiple individuals consisting of multiple DataGridView . 3) The value of these DataGridViews then the control (i.e. text box / combo-box) (please refer to the picture on this link for reference). 4) When the user changes values ​​in controls , and click Save , first DataGridView (via < Code> View ) to be updated in the database . Code>. Note: I am using C-Sharp Windows Application and SQL Server 2005. 1) I'm not sure how you can tie the controls directly into a scene, but you can You can edit the dataset (right click on your dataset using the designer under the data source and click on "E

c# - How to prevent bad formatted data input in DataGridViewCell -

I have a Datagrid view that receives the data and data directly from a strongly typed dataset Updates and its table adapter . DataGridView allows data editing but I am having problems dealing with poorly formatted data input. For example, there is a date in the column, formatted in the database as datetime , 11/05/2010 and you can edit the date and DataGridView opens a TextBox in which you can enter letters, symbols and other unauthorized characters. When you finish editing the cell, it throws a System.FormatException with such poor data, how can I enter some data? Is there a way to "filter" the data that is sent back to the datagrid view? =========================================== ====================================== As Allen said , The key was to handle the cellwatching event. I will attach some code that helps in handling the value: public static zero cellillating (object sender, system.independent.form.datgrid view cell validation Accentu

java - How to apply custom styles to a jasper html report -

How to apply custom CSS in an HTML report generated using a JSR I would like to report this report to an IFRAME in the GWT window. Need to be included in the form. You can only enter one link tag in your GWT HTML file: & Lt; Link type = "text / css" rel = "stylesheet" href = "myJasperStyles.css" & gt; To ensure that CSS will not affect your GWT elements, the CSS file should clearly refer to Jasper-related HTML tags.

Understanding the concept of inheritance in Java -

I just refresh Java's Oops features. Therefore, I have some confusion about the concept of heritage, for that I have A sample code is: class super {int index = 5; Public zero printVal () {System.out.println ("super"); }} Expanded {int index = 2; Public Zero printVal () {System.out.println ("sub"); }} Public square runner {public static zero main (string argument []) {super super = new sub (); Println (sup.index + ","); Sup.printVal (); Now the above code gives me the output: 5, sub. Here, we are overriding the print-up method (), so it is understood that it is only using the child class system. But I did not understand why it was reaching the value of X from the super class ... Thank you in advance .. .. < / Div> There are types of objects, and variables are the type because you have: super Super = new sub (); You now have a sup type super , which refers to the object of type is. When you call a method on an obj

iphone - How to reference THE UIWindow from sub UIViewControllers? -

I'm trying to add another voucher based on the event based on an event (for example, the user has a button ) My problem is that I'm having trouble referencing the UIWindow (another only) example, I get it from my app deliate, because the main window. Exb and app deliaget have been wired. But I can not reach anywhere else UIWIndow (I can not take that connection in IB, can I?) Is the techno preferred in terms of one (only and only) UIWindow ? ... so that I can use the following code from my various UIViewControllers in return: [myOneAndOnlyWindow addSubview: oneOfManyViews.view]; [MyOneAndOnlyWindow make and knowledgeable]; Call After the call, you can retrieve the pointer in your application's key window < Code> [UIApplication ShareApp] Keyboard A window key is created after you make a call [Window MacKey & Devibal]

java - What the best way to convert from String to HashMap? -

I want to serial Java Hasham to represent Hashmaps will include only primitive values ​​like strings and integers. After that this string will be stored in DB. How to restore the Hashmap back? Is it wise to use the Beanutils and Interface or use JSON? For example: list list = new ArrayList (); List.add (new long (1)); List.add (new long (2)); List.add (new long (4)); Map map = new hashmap (); Map.put ("city id", new integer (1)); Map.put ("name", "test"); Map.put ("float", new float (-3.2)); Map.put ("id", list); Map.toString () - & gt; {Float = -3.2, iDes = [1, 2, 4], name = test, cityID = 1} map. Yuzon - & gt; {"Float": - 3.2, "id": [1,2,4], "name": "test", "city id": 1} Use JSON or

performance - Is checking no.of rows before fetching them more efficient than directly fetching all data in hibernate? -

I have a scenario En as the minimum number of lines expected for the transaction . Select the number select count (*) to find the number of criteria for the satisfying criteria. If the result of step 2 is equal to or greater than N, then proceed or leave exception. Bring the real object to n for the hibernate query. Logging and saving the object. Is bringing above the more efficient or straight object and will be more efficient to check the size of the result set? I do not need data if at least 'N' rows are not satisfactory criteria? PS: Can better be set up like Maxis like Maxis? Is bringing the above more efficient or straight object and checking the size of the result set Will it be more efficient? I can say that it depends on the likelihood of the least result : If this event is very likely If this incident is extraordinary, then the object will be more efficient than bringing it.

php - How to get expected url -

I have developed a website using the Twitter API. Now there is a small but important problem facing me. On my site there will be users who are going to get details with their username. My site URL is now: www.mysite.com/ It also works: www.mysite.com/home .php and: www.mysite.com/FinalShow01.php < P> Now that I want to be registered with the user's name should be searched on: www.mysite.com/username I tried this thing on server paypal, but it could not be completed . If I understand your problem correctly, what do you need to do? There is a parameter to do / person_name beside (such as an intensive version of /? Name = person_name ) You do not say that which web application framework you are using (if any) but your structure should allow you to do this. If there is no structure, then you can easily roll yourself.

wpf - SortDescription with custom attached property -

In XML, I can set a custom attachment using Local: TestClass.TestProperty = "1" {binding path = (namespace: [owner type]. [Property name])} {binding path = (local: testclass.TestProperty)} but how can I specify when Need to use custom attached property in a SortDescription, then namespace? I can share an affiliate property using new sort dashtion ("(grid .row)", list separation. Descending, but here I can not set a namespace anywhere ... Best Relationship, Jasper You can not do this for a single reason, because {binding Path = a: bc} works but {binding a: bc} no: no name near property path constructor Thanh reference no. Unfortunately, in case of sort of decryption you can not do much about it. You have to find a way to sort without using the attached properties. Normally I tell people that the use of tags is an indication of bad coding, but in this case tag can be your best option: you have an object inside a tag, which is the properties , Wh

Digital signature integration with software written in java -

I am very cheating on this security field, so please forgive if my questions are dumb. I have been asked to change and migrate pairs of "Lotus Forms" forms for our software written in Java. One of the things to disturb me is digital signatures. These forms can be signed by digital signatures, possibly generated by " Accept Silanis " As I said earlier, I do not know much about this technique. And we could not find any tutorials or examples of integrating weird digital signatures and Java. So what are the possibilities here? How does my code read digital signatures, sign a document with this signature? There should be an API or something that has been corrected by vendors :) Using Lotus Form (XForms), you can easily handle signatures using XMLDsig which is included in Java 6. View this, and

Apache serving wrong Content-Type for Rails files -

After the Apache is serving its rail files with a content type of 'text / plain' in the title. I have installed mod_mime, a mime.types files with all the correct MIME functions, and the following code in my configuration. any idea? Type default text / plain < IfModule mime_module & gt; TypesConfig /etc/apache2/mime.types AddType Application / x-sec .Z AddType Application / x-gzip.gz .tgz & lt; / IfModule & gt; Not sure if this is relevant, but here I have the available folder from the file sites: post-text itemprop = "text"> Grover looks like I DefaultType text / plain to type default text / html Code>

linq to sql - Use appsettings connectionstring instead of connectionStrings in web config for datacontext designer -

I need to use appsettings / key for my connection string in a web project, and it needs to be re- Want to use datacentax string in connection to designer, but it seems that I have web Because of connection connections are connected, so I have to keep my DB location in two places in the web, how can I use the designer (DBML) instead of appetizing? You can pass the connection string to the dataconstruction constructor. So you get it from your place and pass it in the ostrator.

python - Django access data passed to form -

I got a choiceField in my code, where I show filtered data. I need two arguments to filter the data. I do not have a problem at first, because I can take it directly from an object, but the second one is dynamically generated, here is some code: class groupAd (forms.Form): def __init __ (self, * args, ** kwargs): self.pid = kwargs.pop ('parent_id', none) Super group (add, self) .__ init __ (* args, ** kwargs) parent_id = forms.IntegerField (widget = forms.HiddenInput) option = forms.ChoiceField (option = [[group.node_id, group.name] for group Filter in Objtree (name = 'group'), parent_id = 50) .distinct ()] + [[0, 'add a new one]]], .bjects.exe; Widget = forms.Select (attrs = {'id': 'group_select'})) I would like to change the parent_id passed in Objtree.objects.filter . As you can see, I tried to call init function, as well as call with kwargs ['initial'] ['parent_id'] and then with self , But that does not work, bec

LINQ Query with dynamic where clause based on search criteria that is NOT part of the returned object -

I have an alumni table with 60+ columns. I have created an alumni search result class in which only a few useful fields For which I need to display in a table of search results. It is an MVC2 app so I want to keep objects clean (in other words, I do not want to pass 60+ field objects in my scene). I am trying to build my alumni research research as part of my query against alumni but it worked fine but I want to add dynamically where the clots are only in search critics objects only - problem That my search criteria are not required in the result object (for example the last name). Try first: var scholarship = iuaaOlcEntities.AlumniRecords; If (searchCriteria.lastname! = Null) alumni vacancies Where (r = & gt; ar.lastname == searchCriteria.lastname); Alumni of Return Selection (AR => New Alumni FindCode {person_id = ARPsar_ID, FullName = R. integer name, city = RCT, state = RTT, AMP_name = R.M.P.name, AMP_title = AR .emp_title}); Where does this neglect just for the

jQuery UI datepicker - add static text underneath the calendar? -

This is the one that pops up when you click on the linked input element I have some static text below the dates table I want to be able to get involved which will be visible and even when the user scrolls for different months. I with jQuery, / P> $ ('.ui-datepicker'). (After 'text'); .ui-datepicker on the square. With that problem, when the user was scrolled next month, it did not work. I was able to fix it, it was actually hacked by continuously clearing and reconnecting the text with setTimeout , but it worked. The next problem came when there were many calendars on my page, with different texts I tried to target specific examples on the .ui-datepicker with the above method, But I found out that in fact only an example of DatePicker is shared between all the calendar areas on the page. So is it really possible? To present different texts on multiple datepickers on the same page, each solution will have an address id / Next to the class spac

Does anyone know of a vim plugin or script to convert special characters to their corresponding HTML entities? -

I develop websites for corporate clients, so we & reg;, & trade; Etc., sometimes I paste into huge blocks of copy, which may contain beautiful quotes (& ldquo; & rdquo;) or other weird characters from the word processor. So, my question is: Can anyone convert a Vime plugin or a script, which can swoop into one, all these characters in HTML institutions? I think that it covers all the bases of institutions, it would be good: So, for the above characters, they have and reg; , and business; , & amp; Ldquo; , will be replaced with , & Amp; Rdquo; , etc. I tried htmlspecialchars vimball (), but no dice, it replaces HTML-discrete characters just like PHP HTMLsepcialchars function, and does not cover any extra special characters. I will suggest Tim Pope's plugin. It provides using mapping: [x and ] x respectively.

java - Convert char[] to String in BTrace -

I am defining the application and facing the limit. I try to get a name for current java.lang.Thread . Usually you can call getName () but it is forbidden at btrace-scripts (any call exception BTraceUtils ). Is there any idea how to get the string from to the original [] ? The basic task is to find out whether the name of the thread is a sub-string or not, only to find out (reducing information). Use the "built-in" function from name (thread) BTraceUtils . As an argument, it seems that its argument is a thread and it returns the name of the thread. Additionally, the thread ID (thread) function returns the ID of the thread. You check BTraceUtils class - online. Cheers, JB