Questions tagged [status]

A status is a summary of the current state of a process, an application, a function or an object, or a response code about the execution of a request or a function (e.g., return code or error code). For status bar, use the tag 'statusbar'. For http-status, use tag 'http-status-codes'

A status is a summary of the current state of a process, an application, a function or an object. It can also be a response code related to the execution of a request or a function, typically a return code, or an error code.

Disambiguation:

  • Do not use for question related status bars, but use instead.
  • For HTTP requests, prefer or the tag http-status-code-xxx where xxx is a numeric response code.

External references:

  • Exit status on Wikipedia for status of a process execution
1447 questions
16
votes
1 answer

What is the design & architecture behind facebook's status update mechanism?

I'm planning on creating a social network and I don't think I quite understand how the status update module of facebook is designed. Hoping I can find some help here. At algorithmic and datastructure level, what is the most efficient way to create a…
Ari53nN3o
  • 1,202
  • 2
  • 14
  • 21
16
votes
5 answers

When is better to throw an exception and when is better to return some error log 'object'?

I was wondering how to decide between : 1) If to throw custom exceptions OR 2) return a kind of LOG object that has flags like 'CityNotFound,' 'ReferenceConstraintBroken' etc. I have been reading the exceptions are expensive. If I just need to know…
pencilCake
  • 51,323
  • 85
  • 226
  • 363
16
votes
3 answers

Command to get the service status of macOS

Here is the command to get the service status on Linux: service ${services} status I want the command to get the service status on macOS. Any help would be appreciated.
Melvin Moses
  • 407
  • 2
  • 6
  • 17
16
votes
3 answers

Handling buttons inside android notifications

I added a button inside a notification but I don't know how to have it call a function when it's clicked. I tried an approach like this…
A E
  • 586
  • 1
  • 4
  • 11
15
votes
5 answers

Get checkbox status using javascript

This is my checkbox HTML code class="checkbox"> this is javascript code var terms = $("#termsCheckbox"); function…
Sasindu H
  • 1,538
  • 7
  • 24
  • 43
15
votes
3 answers

Android notification large icon, is there a way to remove the smaller icon on the bottom right?

I have a notification that displays a largeicon. Is there any way to remove the smaller icon from honeycomb and above devices from this view? Obviously still keeping the small icon for the top status bar NotificationCompat.Builder builder = new…
zeroprobe
  • 580
  • 1
  • 8
  • 19
14
votes
1 answer

Android In App Purchase Order Status Chargeable

I have an in app purchase for a managed product via Google's In App Billing. Orders are coming through however I'm seeing order status Chargeable in Wallet Merchant Center. The odd thing is that the Order Status is Chargeable, however Delivery…
AlexVPerl
  • 7,652
  • 8
  • 51
  • 83
14
votes
2 answers

git status of another remote

I added a second remote by issuing: git remote add stash ... However, when I do git status It checks for the status of origin/master. How can I issue a git status to check for the status of the second remote, in this case "stash". I tried the…
cleung2010
  • 197
  • 4
  • 12
14
votes
6 answers

iOS - check if bluetooth is on without system alert popup to user

This code allows to determine current bluetooth status: CBCentralManager* testBluetooth = [[CBCentralManager alloc] initWithDelegate:nil queue: nil]; switch ([testBluetooth state]) {....} But, when [[CBCentralManager alloc] init...] happens,…
Oleg Shanyuk
  • 1,296
  • 2
  • 15
  • 26
13
votes
10 answers

Status checker for hundreds IP addresses

I wonder how to make a status checker, checking about 500 addresses in a few minutes? (it'll check a certain port if its listening). But I care about the performance... so I don't know if it can be done with PHP. Waiting for your suggestions…
Cyclone
  • 14,839
  • 23
  • 82
  • 114
13
votes
4 answers

How to determine the message status (read/unread) in chat?

How to determine the message status (read/unread). Chat is realized with the XMPP protocol.
enq
  • 131
  • 1
  • 3
13
votes
3 answers

How to know the status of the div in jquery?

i am developin one application using jquery. i want to know the status of the div wheather the div is show state or hide state something like this: if($("#test").show()==true) { //some operration } else { //some…
user601367
  • 2,308
  • 12
  • 34
  • 44
13
votes
3 answers

Wordpress create a new post status?

In Wordpress you get the default post statuses: Published, Draft and Pending Review. Is it possible to add some more post types via registering them via the function.php file of the active theme? Also is it possible to edit the lables of the Publish…
Scott
  • 3,967
  • 9
  • 38
  • 56
13
votes
2 answers

HTTP status to return after trying to logout without being logged in

Suppose I have a RESTful authentication endpoint: http://example.com/api/v1/auth A POST request with email and password allows for logging in. A request gets countered with a response with HTTP 200 for correct login or 403 for incorrect. A DELETE…
Crossfire
  • 1,801
  • 3
  • 21
  • 37
13
votes
2 answers

Wordpress how to override function get_order_report_data from wc_admin_report

I want to change a part of the get_order_report_data() function inside class-wc-admin-report.php without touching the core. I would like to change the order status filter, right now it is: $query['where'] = " WHERE posts.post_type …
FamousWolluf
  • 568
  • 1
  • 3
  • 25