Skip to main content
1 vote
1 answer
213 views

Suppose I have several nested structs in C++, like this: struct Size { int width, height; }; struct Position { int x, y; }; struct Layout { Size size; Position position; }; class ...
ParhamTny's user avatar
1 vote
2 answers
132 views

I am using a BlockingCollection<T> in a producer/consumer scenario, where the Ts are big objects with variable memory size. Some Ts can be as large as 700 MB, and others can be as small as 10 MB....
Theodor Zoulias's user avatar
3 votes
1 answer
124 views

Context: The last section of the amazing new Joins in data.table vignette explains how to use the merge sintax ( x[i,on=.(id),...]) to update the LEFT table by reference (also described in this SO ...
LucasMation's user avatar
  • 2,541
1 vote
1 answer
59 views

Say I have the below table library(jsonify) library(data.table) df <- data.table(col = c('{"geo":"USA","class":"A","score":"99"}' ...
Sweepy Dodo's user avatar
  • 1,891
2 votes
2 answers
144 views

I'm working on a Python project where I need to process a very large file (e.g., a multi-gigabyte CSV or log file) in parallel to speed up processing. However, I have three specific requirements that ...
Meeooowwww's user avatar
4 votes
1 answer
327 views

I have inherited some code that is doing the following steps: Starting with a byte array of compressed data, stream and unzip it Deserialize it into a list of objects Add to the list Serialize the ...
Josh's user avatar
  • 360
0 votes
1 answer
178 views

I've a simple ASP.NET Core Web API that processes large size documents (> 10 MB < 50 MB). Basically it reads a document from CRM like Salesforce processes it with Aspose and send the processed ...
VJAI's user avatar
  • 32.9k
0 votes
1 answer
87 views

I'm working on a project when I do format preserving encryption (that includes the three types alphabetic, alphanumeric and numeric ) well to achieve this I wrote several methods, then I wrote a ...
Abdelouahed Abbad's user avatar
1 vote
1 answer
69 views

I have two numpy.ndarray instances with different shapes. If I add these two arrays, broadcasting will occur between them: import numpy as np x = np.array([1, 2, 3]) y = np.array([[2, 3, 5], ...
dolmok's user avatar
  • 178
1 vote
1 answer
71 views

I want to run a task with a multiprocessing.Pool and return only the minimum element, without taking the memory to store every output. My code so far: with Pool() as pool: programs = pool.map(task, ...
gXLg's user avatar
  • 304
0 votes
2 answers
98 views

I have two large 2D numpy arrays A and B (each array has dimensions (18000,18000)). I want to calculate the Pearson correlation between corresponding columns of the two arrays (i.e. naively calculate ...
Long-Hung Pham's user avatar
0 votes
0 answers
106 views

When attempting to transfer files from an external server to a Google Cloud Storage (GCS) bucket using the provided code snippet (code to be executed on Google Cloud Functions), the files are ...
Dev Patel's user avatar
5 votes
1 answer
163 views

I have a square matrix with dimension ranging from 100x100 to 10,000x10,000. The matrix represents parameter values for a function. I go through a loop where I try various combinations of parameters....
A Friendly Fish's user avatar
0 votes
1 answer
30 views

Is it feasible to streamline the counting sort algorithm by exclusively utilizing the counting array (C) after determining the frequency of each element in the input array? Instead of creating an ...
user avatar
1 vote
1 answer
97 views

I am trying to generate last day of the month for a date field in my dataframe: so there is field start date, I want to add say 5 columns like nep_0, nep_1, nep_2, nep_3, nep_4. So for nep_0 logic is ...
ROma's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
33