Questions tagged [granularity]

Granularity is the extent to which a material or system is composed of distinguishable pieces or grains. It can either refer to the extent to which a larger entity is subdivided, or the extent to which groups of smaller indistinguishable entities have joined together to become larger distinguishable entities.

63 questions
3
votes
1 answer

From monthly to yearly data in TraMineR

I am using TraMineR for a while now and I have a question regarding changing the time granularity of my sequences. At the moment I have my sequences aligned on months, but for several reasons I would like to change this to years. I would like to use…
2
votes
2 answers

Using .Net Membership / Roles to support customized authorization/access rules

I'm writing an application that will support customizable Users and Roles. By customizable, I mean that an administration form will be provided allowing the addition of Users, the creation of Roles, the assignment of Users to Roles, and most…
Erikest
  • 4,997
  • 2
  • 25
  • 37
2
votes
3 answers

SOA update request granularity and nulls

We are striving towards an SOA enterprise... Given three options for say updating member details how do we design the contract? The business process is quite simple. The customer calls (or logs in themselves), and updates their personal details so…
Lee Simpson
  • 179
  • 3
  • 11
2
votes
2 answers

Do you encapsulate scalars?

I find myself defining classes like: struct AngleSize { explicit AngleSize(double radians) : size(radians) {} double size; }; This has a bunch of advantages over storing anglesizes as plain doubles. Advantage 1, it makes it possible to…
Iraimbilanja
2
votes
1 answer

granularity in a MongoDB date sort?

Is it possible to sort MongoDB's date values with a granularity? I'd like to order my results by date, but I don't care about the hour/minute/second data. I'd prefer not to have to store an additional parameter like '20101215'.
ceejayoz
  • 176,543
  • 40
  • 303
  • 368
2
votes
0 answers

Will a fine grained UI service be difficult for efficient microservices

I have a web application that uses microservice architecture with a UI service decoupling front end from business services (like an API gateway). I'd like the UI to use fairly granular services so each control only needs to bind to data that's…
Mush
  • 133
  • 1
  • 6
2
votes
1 answer

Double-byte memory access granularity

I am attempting to learn about memory alignment, without much success admittedly. I am using this article from IBM. Can someone please explain to me what this excerpt means from the double byte memory access granularity section: However, notice…
foobar5512
  • 2,470
  • 5
  • 36
  • 52
1
vote
4 answers

double granularity affecting numeric comparisons c++

Below is a test block of code that is supposed to determine equivalency of 2 doubles within a tolerance. double lhs_1 = 0.02; double lhs_2 = 0.04; double rhs = 0.03; double tolerance = 0.01; bool is_match_1 = (abs(lhs_1 - rhs) <= tolerance); bool…
Ian
  • 4,169
  • 3
  • 37
  • 62
1
vote
2 answers

Breakdown data-frame into second-by-second time-series

I have this dataset of active subjects during specified time-periods. start end name 0 00:00 00:10 a 1 00:10 00:20 b 2 00:00 00:20 c 3 00:00 00:10 d 4 00:10 00:15 e 5 00:15 00:20 a The intervals are…
Borut Flis
  • 15,715
  • 30
  • 92
  • 119
1
vote
1 answer

how do i convert the working hours to Boolean?

how do I convert the working hours 08:00:00-11:59:00;13:00:00-16:59:00; into 48 digit Boolean format like "000000000000000011111111001111111100000000000000" where each digit refers to 30 min granularity using Oracle SQL Query?
1
vote
1 answer

Aggregate values according to date granularity

I am facing an issue I can't solve by my own. I am working with time series. So I have date in column. The granularity can be YEAR, QUARTER & MONTH. I wanted to know how to display the SUM of the LASTEST MONTH of the selected date granularity. For…
Max
  • 73
  • 7
1
vote
0 answers

firebase analytics hourly granularity reports

I'm trying to display hourly reports in the analysis hub of google analytics for Firebase. The option is not selectable and I can't get why. There are only two tapable choices among four: daily or weekly reports. Since I know it's doable in the web…
boisland
  • 11
  • 1
1
vote
2 answers

Free library supporting Gantt charts and granularity <= 1 hour

Is there a free graphical library that supports Gantt charts with units of hours or even minutes? I've tried a few. JFreeChart was among the most promising but scaling down seems to reduce the maximum timescale represented to just a few days.
James P.
  • 19,313
  • 27
  • 97
  • 155
1
vote
1 answer

Where is the linux scheduler triggered?

Currently, I want to dive into the Linux scheduling. I have a test setup with lubuntu and a 4.10.0-37-generic Kernel. I want to know how long the minimum time of execution with a CFS task could be without self yielding. Here a good overview is given…
1
vote
1 answer

How do I create a Y (year only) datetime field in Drupal 8?

Datetime module, Drupal 8: I want to create a datetime field with year granularity. In Drupal 7, it was no problem. Now in Drupal 8, it isn't possible anymore. How can I create such a field without the Years Only module since it isn't safe? Can I…
user8815577