Questions tagged [states]

218 questions
3
votes
1 answer

Silverlight Layout states beforeloaded -> afterloaded transition just not working

I am trying to add a initial animation when items are added to a list box. For this I'm using Layoutstates, generated by blend inside the itemcontainerstyle:
sharp johnny
  • 764
  • 5
  • 16
3
votes
3 answers

What's a good tutorial on how to deal with different "states"?

Just a tutorial to cover the basics of state machines and design patterns.
TIMEX
  • 217,272
  • 324
  • 727
  • 1,038
3
votes
2 answers

How do you handle 'actions' on resources in a RESTful design, like marking an email read?

How would you integrate things like this in a RESTful design? Marking an email as read Voting on a story Reporting a message as inappropriate Additionally, how would you do it in such a way that one could make a small icon link or button to do the…
Sijmen Mulder
  • 5,474
  • 3
  • 20
  • 32
3
votes
2 answers

Get the billing state code to display the name in WooCommerce

I am trying desperately to understand, how WooCommerce translates certain countries county/state names into database field constants and back. ie. I have a customer from Greece, who happens to be from a county/state, that I haven't got letters on…
Karl Johan Vallner
  • 3,051
  • 2
  • 28
  • 40
3
votes
2 answers

How Many States Does an Activity Have?

The Activity lifecycle section in the Application Fundamentals tutorial states that there are 3 states: An activity has essentially three states: (1. active/running 2. paused 3. stopped) But then as I continued reading the actual Activity class…
Android Eve
  • 14,474
  • 23
  • 67
  • 95
3
votes
4 answers

php array with state to timezone off set

I'm looking for an array with US States and time zone. Something like $arr_states_timezone = array('WA'=>"PST",...); I did google a lot but can't find one. Please help me if you have one. Thanks much!
Quy
  • 31
  • 1
  • 2
3
votes
11 answers

What do you call your US States table?

Silly question for the masses: Assume you have a table that handles the state of your object as it passes through your workflow. Now assume you have a standard United States State table... What do you call your US State table, without being…
AlishahNovin
  • 1,774
  • 3
  • 19
  • 37
3
votes
1 answer

Keeping track what the state parameters are

I'm refactoring software that is created by my predecessor. The software can communicate over the can-bus. At this moment all devices are hardcoded in the software and my job is to make every deviceType configurable. (Saved in serialized classes and…
3
votes
2 answers

Trying to use nested views in angularjs with ui-router get a blank page

My setup app/learning/learning.js angular.module('meanApp') .config(function($stateProvider) { $stateProvider .state('learning',{ templateUrl: 'app/learning/learning.html', url: '/learning', controller: 'LearnCtrl', views: { …
Cherry15
  • 49
  • 7
3
votes
2 answers

Where to list Puerto Rico?

When listing countries and states in a form (be it in a webapp, an OS app, mobile app, etc.), where should Puerto Rico be listed. In the country list or the state list? Puerto Rico is not a country but its not a state. Puerto Rico is a US territory…
UpHelix
  • 4,666
  • 10
  • 54
  • 82
3
votes
1 answer

Districts/Sublocalities: List of, or how to get using Google API

I am desperately trying to find a list/database of districts or sublocalities for all cities of the world. I use the list of all cities of the world from maxmind.com, however, they do not provide sublocalities or districts (like e.g. "Manhattan",…
Helmut
  • 1,351
  • 1
  • 14
  • 25
2
votes
4 answers

Flex 4 - How to loop over children of a container when they are state-dependant

Flex's new States re-parents visual items that are marked with includeIn/excludeFrom. If I have a Group (MainGroup) with 5 children/elements that are state controlled, is there still a way to get a reference to MainGroup's children?…
Tony Smith
  • 769
  • 1
  • 10
  • 22
2
votes
4 answers

VBA Excel Populating cells based on previous existence

I haven't seen this addressed yet, but I think that might be because I don't know how to phrase my problem concisely. Here's an example of what I'd like to try and do: Given a column which holds state initials check output sheet if that state has…
Jesse Smothermon
  • 1,041
  • 10
  • 25
  • 36
2
votes
1 answer

React security: state manipulation

I am developing a React project, and love how dynamic it can be. However, when dealing with dynamic security features - in my case, a Google reCAPTCHA, I am getting quite worried about the possibility of users manipulating my states and…
cmcjake
  • 99
  • 8
2
votes
1 answer

React Native - Changing States in an Array of another file

Hey Everyone :) This is my first post here, hope I am doing everything correctly! I am currently working on a school project and using react-native for some weeks now. My Problem: I have the file data.js: const cardOne_1 =…
Martin Seubert
  • 412
  • 1
  • 9
  • 30
1
2
3
14 15