Questions tagged [windowed]

52 questions
5
votes
0 answers

Kafka Streams (Suppress): Closing a TimeWindow by timeout

I have the following piece of code to aggregate data hourly based on event time KStream, SomeUserDefinedClass> windowedResults = inputStream .groupByKey(Grouped.with(Serdes.String(), new…
E Yeoh
  • 51
  • 1
  • 3
5
votes
3 answers

How to send record on topic when window is closed in kafka streams

So i have been struggeling with this for a couple of days, acctually. I am consuming records from 4 topics. I need to aggregate the records over a TimedWindow. When the time is up, i want to send either an approved message or a not approved message…
SwissArmyKnife
  • 200
  • 1
  • 12
5
votes
1 answer

PreferenceActivity works properly on Android 2.1, but not 4.1 (padded)

I'm writing an application. It needs to run on old android OS's to be useful. I have written the preferences screen using a PreferencesActivity that populates with a options.xml file that contains PreferenceScreen. It has no submenu for preferences…
Mgamerz
  • 2,872
  • 2
  • 27
  • 48
4
votes
4 answers

Sliding window of width n over the given iterable

I have a sequence, window size and step: seq = [0,1,2,3,4] n=4 step=2 from more_itertools import windowed list(windowed([0,1,2,3,4], n, fillvalue=0, step=step)) result: [(0, 1, 2, 3), (2, 3, 4, 0)] but I need: [(0, 1, 2, 3), (2, 3, 4, 0), (4, 0,…
hyper
  • 139
  • 10
4
votes
2 answers

DirectX 10 video mode switching and performance

In a DirectX 10 application, does switching between fullscreen and windowed mode incur any sort of overhead like having to recreate textures and/or vertexbuffers? In other words, can I build an application that is designed to do "a lot" of switching…
korona
  • 2,308
  • 1
  • 22
  • 37
4
votes
4 answers

Floating app on Android (Windowed app)

Does anyone know how I can create a floating window? (Image below shows what I mean) - source code I've read on various websites that in order to do so an app must be running as a service which should in turn be running as an activity using…
olfek
  • 3,210
  • 4
  • 33
  • 49
4
votes
1 answer

When to use windowed watchdog for embedded systems

This post is not for asking how to use it, but when. There is a lot of documentation about windowed watchdogs (WW), and most microcontrollers already include it. Every vendor states that WW are meant for safety applications, but no one says more…
3
votes
0 answers

how aggregate total sum in a period of time(window) with kafka?

The code below is only process the first message arrived and publishes it properly. But no more messages are processed afterwards(I'm using kafka-console-consumer.bat in the terminal to monitor the messages published to total-amount-by-id) Kafka…
jimmy
  • 457
  • 5
  • 20
3
votes
1 answer

Windows 10, DPI scaling and fullscreen

I have an application which is PROCESS_PER_MONITOR_DPI_AWARE from Windows 8.1 and DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 from Windows 10 v1703. My windows have the WS_OVERLAPPEDWINDOW style when in windowed mode, and I switch them to a…
Rajveer
  • 847
  • 11
  • 28
3
votes
2 answers

Why is the word "modal" used to describe forms?

We all know what "modal" forms are in windowed programming environments: forms that must be closed before the rest of the application GUI can be accessed again. Why is the word "modal" used to describe this concept?
CJ7
  • 22,579
  • 65
  • 193
  • 321
2
votes
0 answers

Direct3D 11 IDXGISwapChain::Present() blocks at every call in Windows 10 windowed mode

I am experimenting with Windows 10, Direct3D 11 and the IDXGISwapChain::Present() function. When I call the Present function in fullscreen mode, it queues commands and doesn't block until about the 4th call, which is the expected behaviour. However,…
Wat
  • 61
  • 4
2
votes
2 answers

In Microsoft SQL Server, is it possible to speed up Lag() in some way?

It would seem to be (almost) as easy to scan a table over a clustered index, summarizing a field from the "previous record", as just to summarize that field over the entire table. But no :( Is there anything I can do? create table #Tmp(n int not…
2
votes
2 answers

XNA losing title bar theme on fullscreen->windowed transition

(I think Aero is the term). When I start my XNA program in Windowed mode, I have the glossy bar as seen on Win7/Vista programs. When I set to fullscreen and then revert, I will have a plain blue 'basic' title border. How can I set the theme or style…
PrettyPrincessKitty FS
  • 6,117
  • 5
  • 36
  • 51
2
votes
1 answer

Is there a way to toggle fullscreen without destroying window/context?

I currently have a game with OGL 4.5 and GLFW 3. I'm trying to make a function that allows toggling between fullscreen and windowed modes. However, it seems in order to accomplish this, I have to destroy the current window and then create a new one…
Manu
  • 209
  • 1
  • 3
  • 13
2
votes
2 answers

Creating a simple, single buffer application (IDirectDraw)

I am attempting to author a single buffered, windowed application using the original DirectDraw interface. This is purely for educational purposes and the just because attitude. I'm playing around with the IDirectDraw interface (I stress this is the…
user2379628
1
2 3 4