Questions tagged [detect]

"Detect" is overbroad and should not be used. Tag with the specific sort of detection you mean: collision-detection, face-detection, feature-detection, browser-detection, etc, etc.

This tag has an active burnination request. It should be removed from questions, not added.

Detection activity exist in many ways.

For example:

  • Detecting active bluetooth devices;
  • Detecting Internet Connection;
  • Detecting available ports;
  • Detecting incoming voice;
  • Detecting color scheme;
  • Detecting features.
1045 questions
-1
votes
2 answers

Detect four *different* words in JavaScript and add styling

This is my first post, but I've loved using this site as resource for quite awhile now. However, the time has now come for me to ask a question... I have found plenty of JavaScript highlighter plugins during my research into this question, but they…
NetOperator Wibby
  • 1,354
  • 5
  • 22
  • 44
-1
votes
1 answer

What's best method to detect language?

im making a website (wordpress multisite) which is supported by 2 languages for users, there 2 methods we will use it one: -Detect language by Geo IP -Detect Language by Internet Browser Which is the best method to use it? Thanks in Advance!
Ivan
  • 1,221
  • 2
  • 21
  • 43
-1
votes
2 answers

Detect if DLL is loaded via PHP or Javascript?

Is there anyway to detect if a DLL is loaded via php (possibly javascript)? Specifically, im trying to check if a DLL of a toolbar is loaded or not in php and perform actions based on the result.
kallell
  • 29
  • 2
  • 8
-1
votes
1 answer

Checking most used colors in image

I want to know the list of most used colors in this picture: I tried the following code, but it takes too long: from PIL import Image colors = [] class Color: def __init__(self, m, c): self.col = c self.many = m im =…
-1
votes
1 answer

Is there a way to detect the device when going on a website to change the content

I want to do the following, when somebody visits my website on the phone it should say "please visit from desktop" and when it gets visited by desktop its normal. How can I make the website detect the device and so on?
-1
votes
2 answers

Javacript: How do you get the caret position and assign it to a variable?

So I'm attempting to create an if/else statement, where the console logs a statement if the enter key is pressed and if the caret has a certain position in an input field. What I can't figure out is how to detect where the caret is positioned and…
-1
votes
1 answer

How can I search for the variation of a word without typing all variations ( in R)?

I need to check whether the variation of a word is in the text? How can I do that without typing everything out? For example, I need to search for the word 'broken', is there a way in r where it can look for the word and other variations? a="Broken…
Ashti
  • 193
  • 1
  • 10
-1
votes
2 answers

Is there a tool that detects this usage of a nil interface that results in runtime crash?

The following code causes a SIGSEGV error. Are there tools such as linters that can flag this bad logic? package main // Person is ... type Person interface { M() } func main() { var i Person i.M() } golint does not detect…
AcBap
  • 79
  • 1
  • 1
  • 10
-1
votes
1 answer

Dialogflow regex entity does not capture message phrase

I have a message send to DialogFlow, look like: I wanna go to <@U12A0GF233T> and I want DialogFlow can detect U12A0GF233T as an entity. So I created an entity @place with value ^\<@([A-Z])\w+\>. But when the message was recived, dialogFlow can not…
-1
votes
1 answer

How to detect if the control is input control or not in windows and overwrite the input

I want to know if the control that got the focus is input control or not using c# for example this text box that I am writing the question in it now is input control but the preview text box down there is not because I cant write on it I need to…
Muhammad Nour
  • 2,109
  • 2
  • 17
  • 24
-1
votes
1 answer

can Jenkins detect everytime any svn-user commit the code?

can Jenkins detect everytime any svn-user commit the code? I want to know everytime the svn-user commit by Jenkins, is there any way or jenkins plugin? now I use svn update cmd in Jenkins to update svn.
gpu
  • 129
  • 10
-1
votes
1 answer

Can I detect which javascipt functions do I trigger by clicking a button?

Is there any browser extension or any other way to detect which javascript functions do I trigger by pressing a button or a link? I know the basics of JS but I need to find which function is called by one event, but I cannot find it in the .js file,…
Ezir cz
  • 50
  • 7
-1
votes
1 answer

How to detect user-agent of HTML response?

I use Jsoup connect to a url and get HTML from this url and I want to detect what user-agent of HTML response. Please teach me if you know!
-1
votes
1 answer

Javascript event - detect clicked link

I am implementing an automated synchronous javascript sequencer. All events are correctly resolved synchronously, but there is a problem when I trigger an event that causes change of URL (for example clicking on element). The event is resolved,…
Marek Teuchner
  • 327
  • 1
  • 4
  • 15
-1
votes
1 answer

Python Tkinter how to identify an empty float and replace it with zero

Now i am calculating the total for the following entries . if i dont give an input i want it to consider the input as zero , however if there is no input there is no total computation . a simple variable=='' detection. #getting the quantity of fries…
user9093127
  • 181
  • 2
  • 3
  • 12