MySQL has a built-in slow query logger.
Is there any options or third-party tools which are able to detect the queries causing high IO usage just in the way like what slow query logger does?
For Ex
You date enter in the various form in textbox
12/Augest/2010
augest/12/2010
2010/12/Augest
and out put is
three textbox First is day show= 12
textbox second is Months show= augest
textbox third is Year show= 2010
I need to choose an authentication method for an application installed and integrated in customers environment. There are two types of environments - windows and linux/unix. Application is user based, no web stuff, pure Java. The requirement is to authenticate users which will use my application against customer provided user base. Meaning, customer installs my app, but uses his own users to grant or deny access to my app. Typical, right?
I have three options to consider and I need to pick up the one which would be a) the most flexible to cover most common modern environments and b) would take least effort while stay robust and standard.
Option (1) - Authenticate locally managing user credentials in some local storage, e.g. file. Customer would then add his users to my application and it will then check the passwords. Simple, clumsy but would work. Customers would have to punch every user they want to grant access to my app using some UI we will have to provide. Lots of work for me, headache to the customer.
Option (2) - Use LDAP authentication. Customers would tell my app where to look for users and I will walk their directory resolving names into user names and trying to bind with found password. This is better approach IMO, but more fragile because I will have to walk an unknown directory structure and who knows if this will be permitted everywhere. Would be harder to test since there are many LDAP implementation out there, last thing I want is drowning in this voodoo.
Option(3) - Use plain Kerberos authentication. Customers would tell my app what realm (domain) and which KDC (key distribution center) to use. In ideal world these two parameters would be all I need to set while customers could use their own administration tools to configure domain and kdc. My application would simply delegate user credentials to this thirdparty (using JAAS or Spring security) and consider success when thirdparty is happy with them.
I personally prefer #3, but not sure what surprises I might face. Would this cover windows and *nix systems entirely? Is there another option to consider?
In .net, is there a way to convert DateTime to past tense easily (built in function or 3rd party library): eg. 4 mins ago
Something similiar to how the date is on Stackoverflow.
How can I have a localized default values in the Settings bundle? I encounter this problem for regionally sensitive defaults.
Consider an option in the settings bundle to indicate whether to show distances in miles or kilometers. The default settings for en_US and en_GB is 'miles, and km for everywhere else.
Does the SDK provide a settings for that? Or should I just add a third option: 'Infer metric system, miles, kms'
Hi,
I'm having space issues on my Vista machine and need to figure out what's taking up so much space. I would like to write a simple batch file that returns all folders under C: and the size of each folder. The dir command doesn't appear to return folder size. Unfortunately we don't have admin rights and can't install a thirdparty application and we have other users in our group that also need this information.
Thanks...
Hi,
I need to implement Grouping, Sorting, Collapsable for a sql datasource.
I shouldn't use thirdparty tools. From last 2 days I was searching net, but dint got the solution. Plz help me in getting these functionalities using any kind of web data control(grid view, repeater, ..) Thank You
Is there a way to create a protected download link which is random, expiry, requires a password and pointing to a specific file in C# that is associated with IIS 7.0?
Several random links can link to the same file.
Built-in codes or perhaps 3rd party libraries?
For example, http://www.example.com/<some random gibberish>/<md5 of file>/file.jpg
I recently read the Mono C# compiler is able to compile itself using the C# language. Cool. In the past I've heard of other languages doing the same. It twists my mind - at inception seems like a chicken and egg problem: syntax vs compiler. What comes first, second and third, etc?...
I have a digital certificate that identifies an user. I need to use it to Digitally sign pdf files.
Does anyone have an example that does not uses a thirdparty component? I need to get this done but it would be nice to fully understand how things are done.
C# Examples please :)
Suppose I have a given Object (a string "a", a number - let's say 0, or a list ['x','y'] )
I'd like to create list containing many copies of this object, but without using a for loop:
L = ["a", "a", ... , "a", "a"]
or
L = [0, 0, ... , 0, 0]
or
L = [['x','y'],['x','y'], ... ,['x','y'],['x','y']]
I'm especially interested in the third case.
Thanks!
I have a website where I need to have data that is ID'd by user. For example, they enter their favorite food:
userid favorite food
------ -------------
1 french fries
2 tacos
3 fish sticks
4 chipotle
When I use Facebook Authentication, what identifier will I use for the userid? I'm assuming it's not name, since this would create duplicates. Is it just the person's Facebook ID?
Also is the correct API to use for 3rd party websites 'Facebook Connect' or 'Facebook Authorization' or something else?
I am looking for PHP script that will detect face in a uploaded photo and automatically crop it accordingly.
The code should be in pure PHP without depending on any thirdparty API's or Libs.
This code will be a part of our existing code for processing images.
In fact this is the only part that is missing!
I would prefer to have code in PHP version 5.x not PHP 6.x.
In python, when you have a list of tuples, you can iterate over them. For example when you have 3d points then:
for x,y,z in points:
pass
# do something with x y or z
What if you only want to use the first variable, or the first and the third. Is there any skipping symbol in python?
I retrieve mail using net/pop , but I also need to parse through the email to obtain subject,from address and email body.
Any ideas with Action Mailer?
I'm supposed to use 3rd party gems.(No,not even Tmail)
Cheers!
Third party zend encrypted system has Web API, that let's you login through it and acquire session_id (for later calls?). Then there's a task, how to bypass login form having that session_id.
Is something like this possible at all?
How do I create an rss feed in ASP.Net? Is there anything built in to support it? If not, what third-party tools are available?
I'm thinking webforms, not MVC, though I suppose since this isn't a traditional page the difference may be minimal.
Google App Engine has a great XMPP service built in. One of the few limitations it has is that it doesn't support receiving messages from a group chat. That's the one thing I want to do with it. :(
Can I run a 3rd party XMPP/Jabber server on App Engine that supports group chat?
If so, which one?
Hi guys... I've been doing some research in to installers for visual studio express 2008. I don't much like the standard publish option. I'd rather have a proper windows installer. Am I right in thinking that the only way to do this is to upgrade to the standard edition?
Are there any thirdparty tools which can be used? I've tried googling a lot, but don't seem to be getting anywhere!
I know that it is a databases in Palm OS, as the development is shift to webOS. Is there any thirdparty javascript library to do the work? or it needs to write manually?
How to insert line break in dbunit dataset? Like this:
<user id="1"
story="first line
second line
third line"/>
If I do it in this way field story in db appears divided by spaces only but I need a line break.
I want to have one party (or more) sends a stream of data via HTTP request(s). Other parties will be able to receive the same stream of data in almost real-time.
The data stream should be accessible across sessions (according to access control list).
How can I do this in Django? If possible I would like to avoid database access and use in memory buffer (along with some synchronization mechanism)
Does anyone have an experience or just thoughts about securing MQ TCP
communication channels using stunnel?
I am integration with thirdparty S.W which has MQ support built in but it can not support SSL. So to have some kind of security over the TCP we would like to use stunnel. Does any one have any thoughts how to implement and any best practices
On our web application I am trying to ping a 3rd party site to see if it is up before redirecting our customers to it. So far I have not seen a way to do this other than from a desktop app or system console. Is this possible? I have heard that there was an image trick in original ASP.
Currently we are using .NET MVC with Javascript.
Thank you,
Josh