Measure server HttpRequest's performance

How to measure server HttpRequest's performance? I think it's important task and many peoples solved this challenge. I will explain. I have many user server requests which calls in parallel and i want measure some Performance metrics of identical r...
more »

2017-12-03 18:12 (2) Answers

Combining information from multiple lists

I have multiple string[] that are defined like this: var allEntities = new[] { "a", "b", "c", "d", "e", "f", "g", "h", "i" } var entitiesWithPriority = new[] { "c", "d", "g" } var entitiesWithIssue = new [] { "d", "h", "i" } var entitiesWith... = ne...
more »

2017-11-26 18:11 (4) Answers

Matlab: Fastest way of real time data saving

I'm new to matlab and I need some help for a problem I have at a research project at university. I wondering how I can save data in matlab as fast as possible. I need to save data delivered by a radar for postprocessing. I tried to save it in a matr...
more »

2017-11-17 17:11 (0) Answers

How to properly loop through array keys in PHP

If I have an array with multiple keys and values, like this. $array = array( 'key1' => 'value1', 'key2' => 'value2', ); Are there any standards how to loop through an array when I only use the keys? Solution 1: foreach(array_keys($array...
more »

2017-11-16 17:11 (1) Answers

Performance tips for finding unique permutation

TLDR: how to find multidimensional array permutation in php and how to optimize for bigger arrays? This is continuation of this question: how to find multidimensional array permutation in php we have script for sorting array, idea is to find unique...
more »

2017-11-13 10:11 (0) Answers

Rails: Cache or not Cache

I'm trying to use cache but I want to know if is possibile to cache data that change frequently. If data change often is caching a good strategy? If I cache a posts list with fragment cache, and a user edit his post, cache is upload automatically? ...
more »

2017-11-05 16:11 (1) Answers

How to Restore ViewPager from savedInstanceState

So I have a problem that I can't seem to solve. I have a ViewPager in one of my activities, say MainActivity. I am implementing all the required methods to save and retrieve instance state when the activity gets killed in the background. But when the...
more »

2017-11-04 08:11 (3) Answers

Laravel duplicated queries from blade directive

I am getting duplicated queries from using a Blade directive. I am checking a user's role, and then displaying data in a table, so the query repeats itself over and over, slowing down the app. I have registered a Blade service provider, and in the b...
more »

2017-11-01 23:11 (3) Answers