Questions tagged [stateful]

A stateful app is one that stores information about what has happened or changed since it started running

A stateful app is one that stores information about what has happened or changed since it started running. Any public info about what "mode" it is in, or how many records is has processed, or whatever, makes it stateful.

489 questions
4
votes
1 answer

keras lstm difference stateless and stateful

I am trying to understand the concept of LSTM layers in Keras. I just want to confirm some behavior of LSTM and check if i understand it correctly. Assuming that I have 1000 samples and this samples have 1 time step and i have a batch size of 1…
D.Luipers
  • 127
  • 1
  • 11
4
votes
3 answers

Flutter - Stateful Widget Doesn't Save Counter State When Switching Tabs

I am learning flutter and I am working with tabBars and I am having an issue with saving the state. I have put a small working example of my issue below. Basically, there is a button and a stateful counter. When I click the button, I see the text…
casmang
  • 375
  • 1
  • 6
  • 17
4
votes
5 answers

Java Persistance Application Stateless vs. Stateful

I am new in JPA and I can't understand the use and the difference between stateless and stateful. Any experiences? regards, Haythem
Haythem
  • 417
  • 4
  • 13
  • 20
4
votes
2 answers

Can anyone give me a good example of This kind of situation about "What makes an object stateful"?

I don't understand the meaning of this sentence (from Scala-Threading/Odersky/18-stateful-objects.txt line 88): a class might be stateful without defining or inheriting any vars because it forwards method calls to other objects that have mutable…
liango
  • 786
  • 7
  • 18
4
votes
1 answer

What are good wrappers to transfer state change in haskell?

I am trying to implement a simple FRP backend, for my own interest. I decided to use pure functions: so, no IO in the core. The implementation is based on signal transformer. I already have tried two ways: newtype SF a b = SF { listen :: [a] -> [b]…
Heimdell
  • 617
  • 5
  • 11
4
votes
1 answer

Creating global variables using JavaScript for QML

I'm having an issue with QML/JS integration. I have a javascript list variable stored in a .js file. I want to write to this variable from one QML file, and read it from another QML file. I cannot seem to find a solution to this. I've…
4
votes
1 answer

Is RenderStrategy.ONE_PASS_RENDER a reasonable way to get rid of page version parameters like ?1 in a Wicket application?

We've been using Wicket 1.3.7 for a few years now and are currently in the process of upgrading our project to wicket 6.x I did a lot of research regarding to the page version parameters (e.g. ?1) being append to every URL, and how to get rid of…
peterp
  • 3,101
  • 3
  • 22
  • 37
4
votes
3 answers

How does one set up a WCF ServiceHost within a Windows Service that can access stateful information within the Windows Service

I have a written a Windows Service in C#. It is functioning and performing well. I have added a WCF service to the Windows service to enable client applications to connect to the Windows service and obtain stateful information from the Windows…
Elan
  • 6,084
  • 12
  • 64
  • 84
3
votes
1 answer

Dojo Stateful watch method firing before value is actually set

Using Dojo 1.6.1. Update: Here a jsfiddle http://jsfiddle.net/E4EaM/1/ A form is created with some fields. this.projectServiceidField = new dijit.form.TextBox({ label: 'idField' , name: 'project_service_id' , required: true , type:…
Richard Ayotte
  • 5,021
  • 1
  • 36
  • 34
3
votes
1 answer

How to check if the context is there rather than isMounted because I'm using Stateless Widget

I'm using StateLess Widget and I want to check if the context not disposed before showing up the dialog, without using the isMounted method so is there any solution for that ?
Flutter Dev
  • 488
  • 3
  • 18
3
votes
2 answers

EJB3 stateful concurrent calls from different clients

I have a rich client swing application calling a remote stateful ejb. I'm using JBoss 6.0. I have deployed the client in two different machines, i.e, different ip address, jvms, etc. The stateful has the following code: @Stateful public class…
r0drigopaes
  • 103
  • 1
  • 8
3
votes
0 answers

Meteor multiple instances on App Engine / meteor-files

I deployed a meteor app on App Engine on one instance, it works well. However, when I want to scale on two instances, I sometimes got 401 on HTTP GET requests. Every call through websocket is successful with two instances. More details: I use…
Yoan
  • 95
  • 1
  • 1
  • 7
3
votes
2 answers

Can i do some stateful operations in peek or filter or branch of kafka stream apps?

As we know in kafka stream doc, peek, filter, branch are stateless operations? However,I wanna do some stateful operations in this processor? For example, I wanna do some query, and filter messages base the results, can I do that?
zydzjy
  • 51
  • 3
3
votes
2 answers

Why does a change in state of a child bottom sheet trigger a rebuild of parent widget?

I have a Scaffold screen (ListsScreen). Which has a Button(AddNewListButton) that opens up a Modal Bottom Sheet (ListScreenBottomSheetWidget). Bottom Sheet has TextField (ListTitleInputTextFieldWidget). When i tap the TextField to open the…
Hassan Hammad
  • 172
  • 1
  • 9
3
votes
0 answers

Do Hotstar API uses statefull architecture? How does it keep track of user even if it is not login?

If you are watching a live cricket match on Hotstar without a login, it only allowed you to watch for five minutes. After five minutes, even if you refresh it or open in incognito mode, Hotstar does not allow you to watch. But if I open the same…
user12634860