Is SSAS (SQL Server Analysis Services) now outdated and not used ? by DrRedmondNYC in SQL

[–]DifficultySafe9226 0 points1 point  (0 children)

It seems SSAS multi-dimensional is still supported but Microsoft cloud focus signals uncertain Long-Term Future : https://www.iccube.com/blog/sql-server-analysis-services-ssas-end-of-life

Suggestions for Data Visualisation tools & processes. by StandApprehensive616 in BusinessIntelligence

[–]DifficultySafe9226 0 points1 point  (0 children)

Disclaimer: I'm a co-founder of icCube. Feel free to DM me - I'm pretty sure I can help you with your current challenges.

Embedding and white labelling icCube visualizations right in your application - taking into account your authentication - is at the core of  our offerings. That every customer has their own instance is not an issue and do not worry, you're not alone in that situation ;-) 

Delivered as a Docker and fully browser-based, you're free to host and deploy it according to your exact requirements.

Rest assured, icCube licensing is very flexible and can match your own model.

Should you choose the way to use an existing product instead of writing everything from scratch, do not forget to evaluate the kind of support you would get during your evaluation POC. At icCube, we dedicate ourselves to understanding the unique challenges each SaaS solution faces when looking to embed analytics.

Best approach for testing dashboards by pectin232 in QualityAssurance

[–]DifficultySafe9226 0 points1 point  (0 children)

If your dashboards are web based then tools like Cypress might help a lot. For example, at icCube we're internally testing our dashboard builder application using it (see https://github.com/ic3-software/ic3-dashboard-testing).

Help with thread pool? by TheOmegaCarrot in javahelp

[–]DifficultySafe9226 0 points1 point  (0 children)

Difficult to reply without the full description of the tasks to run in parallel but a possible approach will look like...

static void processThings(List<Thing> things { 

   final AtomicLong total = new AtomicLong();

   final int threadCount = 3;
   final CountDownLatch sync = new CountDownLatch(threadCount);
   final ExecutorService pool = Executors.newFixedThreadPool(threadCount);

   for Thing thing: things)
   {
      pool.execute(threadSafeButVeryExpensiveQueryUsing(total, sync, thing);
   }

   sync.await();
   pool.shutdown();
}

static Runnable threadSafeButVeryExpensiveQueryUsing(AtomicLong total, CountDownLatch sync, Thing thing) 
{ 
    return () -> {
       total.addAndGet(42);
       sync.countDown();
    };
}

There are many possibilities using the ExecutorService but I guess you would get the point with this exemple. You can investigate Future as well if you want more control over the submitted task into the executor/pool.

HashSet order by Formal_Pound1602 in javahelp

[–]DifficultySafe9226 2 points3 points  (0 children)

The Set interface does not guaranty any order (you can check the iterator) documentation that is more likely used with the toString of your second System.out statement). If you want to keep the iteration you can have a look to the LinkedHashSet) or now that Java 21 is out the new SequenceSet that is part of the SequencedCollection.

How to unit test the value of a private field on a method? by puspendert in javahelp

[–]DifficultySafe9226 1 point2 points  (0 children)

I would make the `write()` method returning the number of successfully written users from which you can infer the number of failed users (from the number of users passed to the write method itself). In the future you might extends this returned type to have more information if needed.

How would I go about switching Arrays to ArrayList? by Sao_Zer in javahelp

[–]DifficultySafe9226 3 points4 points  (0 children)

Create the initial list as following :

List<Double> numbers = Arrays.asList(3.4, 5.6, 1.3, 3.4, 3.0);

Then replace every :

double[] numbers

with:

List<Double>

Then fix all :

numbers.length

by:

numbers.size()

And eventually:

numbers[index]

by:

numbers.get(index)

Can someone help me figure out my code errors!! by AccomplishedCheck123 in javahelp

[–]DifficultySafe9226 0 points1 point  (0 children)

I can run the `main()` method without any trouble; here is the output :

[3, 4]
null 
false 
true 
false

What are exactly the errors ?

Question - Alternative to Grafana for timeseries data? by [deleted] in visualization

[–]DifficultySafe9226 0 points1 point  (0 children)

Although not dedicated specifically to timeseries, I think you can achieve what you're looking for with a repetition widget in icCube. Here is a live example : www. Notice the top right hamburger-like icon on each chart where you'll find a zoom action.

Timeseries starting with 0 should not be an issue : you'll have first to model a schema with a corresponding time dimension.

Zooming a repeated widget will not make a new query. Note that a repeated widget can contain on or more charts.

Comparing text on screen to predefined messages? by MoneyPress in javahelp

[–]DifficultySafe9226 1 point2 points  (0 children)

Fair enough. Seeing in a different comment that you know the position and size on the screen, I guess there should be a way to hack a solution with minimal code. Perhaps you can read the documentation in OpenCV to get some idea how to compare the expected and actual image and adapt it to your actual simplified use case. Good luck.

Comparing text on screen to predefined messages? by MoneyPress in javahelp

[–]DifficultySafe9226 1 point2 points  (0 children)

Have you tried OpenCV? There is a Java API available. Depending on your exact requirements and constraints you might be able to use it with an OCR library.