Hello everyone,
How can I get the file name and line number in python script.
Exactly the file information we get from an exception traceback. In this case without raising an exception.
I use the assembly information version number - and advance it manually through the VS 2008.
Is there a way to advance the minor version number automatically each time I Build the solution ?
What is the best way to update a Java or GWT program from MySQL. For example, a MySQL database which holds Weather information... updating whenever the weather changes a degree. How would I update a Java / GWT field with each update. Would I use a thread to query every few seconds??
I'm looking for a password-protected information sharing tool that has the following constraints:
Two or more users can upload their ideas and discuss on that idea (like a blog)
The discussed things will be shown in a tree kind of structure
Should be password protected.
Ideally open source and web-based
I have a program that throws an uncaught exception somewhere. All I get is a report of an exception being thrown, and no information as to where it was thrown. It seems illogical for a program compiled to contain debug symbols not to notify me of where in my code an exception was generated.
Is there any way to tell where my exceptions are coming from short of setting 'catch throw' in gdb and calling a backtrace for every single thrown exception?
When playing music from the users iPod library via the [MPMusicPlayerController applicationMusicPlayer], is there a way to access the channel information much in the same way that you can with the AVAudioPlayer. The goal is to create a level meters while the song is playing.
I'm building an internal website in Perl and I would like to get it to use Windows credentials for authentication. My research so far has turned up a lot of keywords: Kerberos, LDAP, NTLM, etc, but no solid information. Anyone got pointers or good tutorials?
Thanks.
i still , don't understand , how wordpress can understand what is this url refer to :
www.mysite.com/about-me/
they are using no identifier
if they using slug functions so how they can retain story information or in other word , how they change back the slugged title to select from database
I want to view events over specific time range for a specific calendar, but am having trouble using the API, It is a generic API, and it reminds me of using the DOM. The problem is that it seems difficult to work with because much of the information is in generic base classes.
How do I get the events for a calendar using Groovy or Java?
Does anybody have an example of passing credentials using curl?
Example code would be appreciated.
I develop websites using PHP and MySQL. What resources would a seasoned web developer recommend that would cover server-specific information relevant to the job of a developer.
If it helps, I work specifically with an Apache server (through my hosting company).
I have a list containing a tuples and long integers the list looks like this:
table = [(1L,), (1L,), (1L,), (2L,), (2L,), (2L,), (3L,), (3L,)]
How do i convert the table to look like a formal list?
so the output would be:
table = ['1','1','1','2','2','2','3','3']
For information purposes the data was obtained from a mysql database.
I made a post earlier but the information I got was wrong.
How can I add two seperate objects?
given that a, b and c are class objects of A, B and C
then a = b + c, should invoke the operator+ overloaded operator.
But lets say that I need to access private members to add the data.
I have a set of user data which I am try to access. Due to the way our company's employee data is set up, the information is available both through LDAP and through a table in our DB.
I was curious, for standard read operations which would generally be a higher performance query?
Hi all,
I have next situation. I need to choise source control system for my project. This scs must provide the API to my .net application to get information about check-in-s for specified user and date period and about changes which was done in this check-in-s (the number of added and updated lines).
What source control system provides this functionality?
P.S. I can't use the TFS, it's a limitation..
So, here's what I'm trying to do, and I, frankly, believe it should be obvious, but I can't figure it out. I am creating a very simple Artificial Intelligence simulation. And in this simulation there's an input box at the bottom of the screen (called "input" exactly). "input" has a variable in its properties that is called "inbox" (exactly). Using a key listener the script calls up a function when the enter button is pressed. This function has 2 if statements and an else statement which dictate the responses of the AI (named "nistra"). The problem is this, When I type in what I want to say, and hit enter, it always uses the second response ("lockpick" in the code below). I have tried variations on the code but I still don't see the solution. I believe the problem is that the "typein" variable holds all the format information from the text box as well as the variable, but I could be wrong, that information is in here as well, underneath the code itself. Any help I can get would be greatly appreciated.
var typein = ""; //copies the text from inbox into here, this is what nistra responds to
var inbox = ""; //this is where the text from the input text box goes
var respond = ""; //nistra's responses go here
my_listener = new Object(); // key listener
my_listener.onKeyDown = function()
{
if(Key.isDown(13)) //enter button pressed
{
typein = inbox; // moves inbox into typein
nistraresponse(); // calles nistra's responses
}
//code = Key.getCode();
//trace ("Key pressed = " + code);
}
Key.addListener(my_listener); // key listener ends here
nistraresponse = function() // nistra's responses
{
trace(typein); // trace out what "typein" holds
if(typein = "Hello") // if you type in "Hello"
{
respond = "Hello, How are you?";
}
if(typein = "lockpick") // if you type in "lockpick"
{
respond = "Affirmative";
}
else // anything else
{
respond = "I do not understand the command, please rephrase";
}
cntxtID = setInterval(clearnistra, 5000); // calls the function that clears out nistra's response box so that her responses don't just sit there
}
clearnistra = function() // clears her respond box
{
respond = "";
clearInterval(cntxtID);
}
// "typein" traces out the following
<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="Times New Roman" SIZE="20" COLOR="#FF0000" LETTERSPACING="0" KERNING="0">test</FONT></P></TEXTFORMAT>
Without accessing private API's to get Content URI's, etc. for SMS, how are we expected to query this data? I am currently in the process of writing my own SMS app and I want to stay as compatible as possible. Without storing the information myself in my own database (such that I can store the text messages so that other programs can access the data when/if they delete my app) and without using private API's how the heck are we suppose to query SMS data?
I'm 20 years old and have just finished a 4 year Information Technology degree in Ireland, The main focus of the course was programming (mainly java) and software engineering. My question (posted in the wrong place as it may be) is : What technologies that I may not have studied should I attempt to teach myself that will be of the most benefit to me in searching for employment?
All input appreciated.
In what scenarios should you use ServerContext over SPContext (and vice versa)? What advantages/disadvantages/limitations are presented? I can't seem to find a good deal of information on this.
I've looked through the YouTube JS API, but can't find a way to jump to a video in a playlist. (Mimicking the built-in navigation) And if you're wondering why I'd want both, it's because I have a menu set up with additional information, and want to let the user click these links to jump between the videos.
Hi everyone,
We're in the first steps of what will be a AJAX-based webapp where information and generated HTML will be sent backwards and forwards with the help of JSON/POST techniques.
We're able to get the data out quickly without putting to much load on the database with the help of a cache-layer that features memcached as well as disc-based cache. Besides that - what's essential to have in mind when designing AJAX heavy webapps?
Thanks a lot,
Hi,All
I want to download free Application from iTunes.
I have AppleId but when i trying to download the App,
it ask for Creditcard information.
Is it necessary to give CreditCard details for downloading free App also ?
Thanks in Advace...
How do you determine the length of a string of text in Arial Bold font, and then center it in VB6?
If not here, can you point me in a direction where I might be able to find this information?
We're not using a "label" or "picture box" do print the text to the screen. We are sizing the text on the fly, and allowing the user to scale the size of our application to their liking. We write the text to screen using code.
I have this table I want when I click on a link in a table row that do a redirect to another page the data will be sent to the new page that can help me I have not found how to start
I'm really stuck
code table
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
<thead>
<tr>
<th>Date</th>
<th>provider</th>
<th>CI</th>
<th>CELL</th>
<th>BSC</th>
<th>Commentaire</th>
<th>nbr</th>
<th>Type</th>
<th><img src="{{ asset('image/Modify.png') }}" ALIGN="CENTER"/></th>
<th><img src="{{ asset('image/Info.png') }}" ALIGN="CENTER"/></th>
<th><img src="{{ asset('image/Male.png') }}" ALIGN="CENTER"/></th>
<th>type_alertes</th>
</tr>
</thead>
<tbody>
<div class="textbox">
<h2> Information KPI dégradées</h2>
<div class="textbox_content" id="kpi_dégrades">
{% for liste in listes %}
<tr class="gradeU">
<td>{{ liste.DAT }} </td>
<td>{{ liste.PROVIDER}} </td>
<td>{{ liste.CI}} </td>
<td>{{ liste.CELL}} </td>
<td>{{ liste.BSC}}</td>
<td>{{ liste.Cmts}}</td>
<td >{{ liste.nbr}}</td>
<td>{{ liste.TYPE}}</td>
<td><a class="edit" href="">Edit</a></td>
<td onclick="getInfo('{{ liste.CELL}}')">Information KPI dégradés</td>
<td>{{ liste.user_name}}</td>
<td>{{ liste.type_alertes}}</td>
</tr>
{% endfor %}
</div>
</div>
</tbody>
Hi,
I am using Google API Ver 2 for .NET.
I want to access list of domains users with there information like userid and password.
Ho w can display list domain user's using Admin's credential?
Thanx