## export – Memory usage for importing and exporting

I’ve been encountering troubles in the process of exporting and importing my generated data.
I’m trying to save a variable of size {50,000 5000} in mx format, but besides taking a lot of time,
it seems to eat all my Ram.

I’m currently working on a 15Gb Ram computer, and it doesn’t seems to have problem loading big
datasets in other coding apps.

I would like to know if there is something i might be doing wrong, or if i should consider expanding
my Ram size to 32Gb.

Sorry if the question is too vague, i don’t know a lot about computers, so i don’t know what other information to share.

Here an example of the code to export:

``````Export(ToString(pathvxy.mx), vxy);

Dimensions(vxy)
{50000, 5000}
``````

and then to import:

``````vxy = Import(ToString(pathvxy.mx));
``````

Exporting always succeds, but the import always fails due to a memory fail (?).

Any suggestions or hints to solve the problem are appeciated!

## microsoft graph – SP Online usage report expose users visiting a site

#### Stack Exchange Network

Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

## Looking for quality cPanel reseller hosting – Iv'e got about 75 sites, mostly low usage, \$25ish/mo?

Budget is not set in stone.

I’m coming from having my own server, but cPanel raised prices AGAIN and I’m just sick of it.

## wi fi – Enable usage of mobile data while connected to a WiFi without internet connection

It is possible to allow my device to use mobile data while connected to a WiFi hotspot?

The reason being is that the WiFi hotspot I connect to does not have an internet connection. So I want to be able to access the internet while still being connected to this WiFi network.

I can see that after Android 10, there is a feature called dual acceleration which allows this for certain app like Instagram, Chrome and Facebook. I want to be able to do it for any app. Is there a way of accomplishing this?

## optimization – space usage in X and/or Y direction related to channel routing problem

Analog routing is hard due to sensitive layout-dependent effects and varied performance metrics. So the algorithm applied to digital routing is not good enough to cover that. A pre-check of the space-usage can save some time. Pins and nodes are the same thing. They are used inter-changeably.

Say I have some rectangle area left for channel routing after the placement, channel1, channel2, etc and I have 6 lines that may use channel 1 as an avenue for routing. They may cross the channel like that channel routing.

For line 1 it cross channel1 in the X-direction, therefore it uses some y-space of channel1 and not x-space of channel1 (since we might jump over line 1, if other line satisfies the jumping rule (which is more space requirements and we relax that issue here)); For line 2 it cross channel1 in the Y-direction, therefore it uses some x-space of channel 1; For line 3, it makes a turn, thus both x and y-space are used; Line 4 it moves in a z-shape, thus both x and y – space are used (doubled in x-space). You get the idea.

So I setup a 10-channel situation to simulate a small analog routing scenarios.

Background info:

1. if we have 3 pins named the same, node A, in order to connect all three we need at least 2 straight lines to connect them all (which is the best we want to see), but the real situation makes it hard to be true. We may need to use more lines or even longer lines to make the connection.
2. Why we have a setup like that? sample we may have different locations for the same pins (for this example red node, and I showed 3 different ways to connect them and they use different channels for the majority of of the time.)

What do we know:

1. each channel’s X-space and Y-space;
2. each lines x and/or y-direction usage, i.e., line1.x = 0, line1.y = 8, etc.

What don’t we know: should I put line 1 in channel1; should I put line 2 in channel1; …

What do we want: is it possible to connect all the nodes we want for the layout like that? If not remove which line can make it work? Or which channel’s space needs to be enlarged in which direction so that this specific layout is working? The latter 2 questions is more advanced than I can think of now. So the questions is what kind of combination of these lines so that they can use as much space as possible and at the same time connect as many nodes as possible. (say we can put line 1,3, 5 in channel 1, line2,6,8 in channel2 and so on and no space violation and we connected say 10 nodes out of 13)

Here is my setup. I am not sure I am doing this right or not.

Setup and the next 9 channels are set up like that. But I don’t know how to solve for these $$d_j$$, where $$j in(1,17)$$. I want to find a systematic way to solve this (if this is the correct way to set it up) since in real world it may have hundreds/thousands of channels and we will be dealing with tons of variables. First glance gives me the feeling of constrained optimization/Big M method? I don’t know and feel like missing something but really have no clue what is the next step.

## film – Nikon MF-29 date back usage and imprint location

I’ve pulled my F-100 out of the cupboard to use this weekend and remembered that it has an MF-29 date back. However I can’t remember exactly how the date back works, neither do I have a manual for it, and can’t find any information about the MF-29 online (albeit there are some sketchy websites that purport to have a PDF for download)

What I do know about the MF-29 is that it is fairly simple, and there are only 3 buttons on it:

• Mode – Cycles through the “display” modes of the unit (Off, and 4 date/time formats – YYMMDD, MMDDYY, DDMMYY and DDHHMM)
• Select – Is used to select the current date part (Day, Month, Year, Time) to change
• Adjust – Is used to change the selected date part in order to set the current date/time.

And there is an LCD that displays the data that will be imprinted on the film:

• Off – (no data imprinted) displays as “——“
• YYMMDD – Year/Month/Day, displays as (EG for today) “201127”
• MMDDYY – Month/Day/Year, displays as “112720”
• DDMMYY – Day/Month/Year, displays as “271120”
• DDHHMM – Day, Hour/Minute, displays as “27 2:15”

There is also a bar on the LCD that indicates that a date will be imprinted on the film (linked to the “Print” text printed on the date back itself), and a an indicator that identifies the currently selected date format. See this example image for the YYMMDD format (the long bar in the top right indicates that the data will be imprinted):

What I can’t remember about the MF-29 is where on the film the date information is imprinted. I thought that it was interspersed between frames (I used to have an F-80 with dateback that did that), but in the F-100 manual it states for Custom Setting 18:

18. Data Imprint (year/month/day/hour/minute) on Frame #0

Options:

0 – Disabled (initial setting)

1 – Enabled

With optional Data Back MF-29, data (year/month/day/hour/minute) can
be set to be imprinted on frame #0. To imprint data on frame #0 only
and not on frame #1 on, cancel the data imprint on the MF-29 after
film is automatically advanced to the first frame

But this implies to me that the data is imprinted on the frame itself. (and that you can get it to start imprinting before the first user frame – EG frame #0)

So where on the film does the MF-29 imprint the data, and are there any examples online that show this information?

## Secure REST API for mobile and web application usage

I have been reading about authentication and authorization for the past few days and I still have not figured out what would be a reasonable way to deal with this for both mobile and web applications.

From what I read, when it comes to a web application, using an access and refresh (JWT) tokens seems to be quite popular. Now, when it comes to storing, there seems to be a lot of different opinions. Some people prefer to store the access token in the localStorage, to avoid CSRFs, however, others point out it is a bad practice due to XSS attacks and having the access token in an httpOnly cookie, with a CSRF token in a normal cookie would be better. (tho in my opinion we still have the XSS problem here as the normal cookie can still be exploited by XSS).

As mobile applications do not have cookies, I guess the second option is gone, and if the REST API will be used for both mobile and web, when logging in (authenticating), the token should be sent in the response and saved in localStorage. How would this be handled for the mobile application?

Furthermore, how would the refresh token be stored for a mobile application? The case, where we store the access token in localStorage, I guess we would have the refresh token in an httpOnly cookie, however, as already mentioned, mobile applications are not browser based, so I guess this would not be an option. Therefor, I still do not understand, how can it be possible to create a secure REST API, which is available both for mobile and web applications.

## python – Is usage of Github code in commercial applications of exe format legal?

This is my first question on StackOverfow and moreover I am a non-CSE guy who has recently joined a software company, so apologies for mistakes made.

To introduce you to the issue, my department creates Python-based applications wherein Python repositories like numpy, tensorflow, xlsxwriters, pylsd and others are imported by the main code Python file. All of the imported modules have either BSD license or Apache 2.0 license. The department is planning to create executable file of the main code Python file (using pyinstaller as one-file) and distribute it among other departments within the company and monitor time-saving by the use of these applications, and later sell these applications to other companies, if proved successful. The thing is only the executable is shared and no license file, whatsoever, is shared separately.

The company has been sharing the Python code till now, but is sharing one-file exe, and more importantly, selling it to third parties at a later stage, legal?

## Track Design System Component Usage

#### Stack Exchange Network

Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

## Usage of ‘Less than’ condition in Sum

I have following sum: $$sum_{substack{n,j\j. How can I give this $$j condition in `Sum`?