Hey all!
I currently have a preg_match to detect http:// and www. etc..... but I want to detect domain.com or domain.co.uk from a string
example string: "Hey hows it going,
check out domain.com" And I want to
detect domain.com
What I want is to detect any major domains form this string i.e. .com .co.uk .eu etc... from the fo...
I following this article for sending SMS it is a winform application.. I have referenced all the Dll's to my asp.net application.....
I use an aspx page to detect a mobile device connected to a PC..... But it alwys shows COM 'n' Port could not be opened.....
using SMS;
using GsmComm.GsmCommunication;
using GsmComm.PduConverter;
publi...
Hey Guys
We have a nasty little problem. In short we can detect if a screen is connect when x11 boots (we do this by looking at the log - Xorg.0.log), but we are having trouble detect when are screen is disconnected while the machine is running (ie post x11 boot)
Any one have any ideas?
Cheers
...
I have a Java web app that I develop on a Windows machine and will deploy on a Unix machine.
There are some file path settings and permissions details that differ on the two (and there is nothing I can do to change this). Is there some way of detecting which machine the app is sitting on (it's only one of two), either by detecting the o...
I played Rock Band 2 for the first time a little while ago (at Notacon).
One thing I enjoyed about it was getting real-time feedback about my
singing. I think it'd be neat to have something like that to run
alongside my usual music, so that I can sing to random stuff in my
music collection and know when I'm hitting the notes.
Is there ...
I recently was put in front of the problem of cropping and resizing images. I needed to crop the 'main content' of an image for example if i had an image similar to this:
the result should be an image with the msn content without the white margins(left& right).
I search on the X axis for the first and last color change and on the Y ax...
I ve connected my mobile phone to my PC and used this,
string[] lPorts = System.IO.Ports.SerialPort.GetPortNames();
and the result was an array of port names
"COM4"
"COM3"
"COM1"
"COM7"
"COM6"
Now,How to find which serial port is currently used/to which port my mobile phone is connected in c#?
...
The idea is that I want to build a small app that detects if the webcam is being used and by what.
I have thought about seeing who has use of the Twain.dll somehow (like the way process explorer knows)
It's for a security style app that picks out weird webcam behaviour.
Ideally I would use C# as it's my strong point, but I'm guessing...
I was talking with a friend about users who do not have javascript enabled in their browser and what could be done to show them a "no-javascript" version of your website.
Is it possible and how can it be done?
Thoughts?
...
How can I programmatically detect whether a webcam device is plugged in to the PC or not, return 'True' or 'False.
...
Hello,
I am trying to find a way of monitoring directories in Perl, in particular the size of a directory, and upon detecting a change in directory size, perform a particular action.
The issue I have is with large files that require a noticeable amount of time to copy into this directory, i.e. > 100MB. What happens (in Windows, not Uni...
I know how to track down an IP address, but I need to track down the MAC address of the users viewing my page.
How to accomplish this?
...
Hi guys,
I need to implement the CRC error detection in my system. I wonder how to
determine the maximal number of detectable error (and undetectable as well) having the generation polynomial?
Assume that I have got, say, the following g(x) = x^4 + x^3 + 1.
There are 2^15 possible transmissions - the 11-bit words might be protected by...
I'm looking for indicators that I can programatically check that would hint at an impending failure of my application. I'm looking for general things like "the number of free IO threads is dangerously low", "memory available to the app pool is low", and "processor usage is high".
This is for C#/asp.net and IIS.
Examples of checking the...
There are many ways to pretend to be a human being. So what are the best methods to see past it?
...
Please suggest me some methods on thick horizontal line detection in images.
Any papers, libraries etc please.
...
Hi guys,
Are there any good, open source engines out there for detecting what language a text is in, perhaps with a probability metric? One that I can run locally and doesn't query Google or Bing? I'd like to detect language for each page in about 15 million pages of OCR'ed text
Cheers
Nik
...
How do I detect what language a text is written in using NLTK?
The examples I've seen use nltk.detect, but when I've installed it on my mac, I cannot find this package.
Cheers
Nik
...
Hi,
Is there a way to detect a circle with a specific grey level using openCV? I want to detect a circle that marks out from the others.
Currently, I'm using cvHoughCircles to detect my circles. I know the method returns an array of cvSeq containing the info on each circle (point and radius), but it does not provide any color informati...
Hey everyone,
So I'm using openCV to do square recognition on this image. I compiled the squares.c file on an image that I took and here are the results:
http://www.learntobe.org/urs/index1.php
The image on the left is the original and on the right is the image that is a result of running the square detection.
The results aren't...