8 – Access to PrivateTempStore data during user registration

I have an anonymous user form a few steps before the user registers. I save the data in the PrivateTempStore. One last step is registration and registration. When a user is logged in, the PrivateTempStore is automatically emptied.

I would like to attach the data previously saved in the PrivateTempStore to my newly registered user. What is the best course of action to do this?

At the moment I am saving the data in additional hidden fields in the registration form, but that seems exaggerated.

Javascript – technology to simplify data / key reuse

For the navigation module of my app, I have to provide the following: route name for each screen in the navigation stack.
I used to use clean, string-like ones Sign In. Overview. Sign Up, Etc.

The header that appears on each screen must have a title route name of the current screen as a title. Simple,

Now is the time to add more languages ​​to my app. I thought I could fix this with the following approach:

const routeNames = { 
  overviewMainScreen: 'overviewMainScreen' 
  // ...

const screenTitleTranslationEnUs = { (routeNames.overviewMainScreen): 'Overview' 
  // ...

const screenTitleTranslationFrFr = { (routeNames.overviewMainScreen): 'Aperçu' 
  // ...

My translation utility expects a key that will be used to look up the translated string in the language dictionaries I'm providing (for example, screenTitleTranslationEnUs and screenTitleTranslationFrFr).

Something like:

const routeName = this.navigationModule.currentRouteName;
// "overviewMainScreen"

// let's say the current language is French
const screenHeaderTitle = translateHook('routeName');
// Aperçu

The way I am doing now seems a bit confused, as it would make me stumble if I found something in someone else's code. Is there a better data structure that can give me the same result, or a smarter / simpler technique that I can use?

Data recovery – Secure Erase for IOS

The topics for secure deletion for IOS on this website are somewhat out of date. Technology has definitely changed, including the tools used for forensics. Are there secure erasure software or techniques that can prevent data recovery? The repeated overwriting of the data with the DoD 5220.22M technology has been repeatedly checked over the years. Is this effective for iOS devices (see imyfone Umate Pro)?

Hard disk – problems with other volumes after a crash / reinstallation …. Is there a way to restore the data in the other volumes?

I had a Mac crash last month and did a clean install … but I don't think I deleted the old volumes first. Now I have most of my internal "Other Volumes" drive.

Disk Utility

1) Is there any way to access this data? or

2) Delete the other volumes without reformatting and reinstalling the entire drive?

Issue of diskutil apfs list:

APFS Container (1 found)
+-- Container disk1 A2BED258-144F-4D77-AEDA-CEC40EF3008B
    APFS Container Reference:     disk1
    Size (Capacity Ceiling):      249849593856 B (249.8 GB)
    Capacity In Use By Volumes:   243235950592 B (243.2 GB) (97.4% used)
    Capacity Not Allocated:       6613643264 B (6.6 GB) (2.6% free)
    +-< Physical Store disk0s2 A931E7CB-0180-4A2C-ACC3-79FA33217393
    |   -----------------------------------------------------------
    |   APFS Physical Store Disk:   disk0s2
    |   Size:                       249849593856 B (249.8 GB)
    +-> Volume disk1s1 072D383C-1D8C-43FF-86B0-846093C5EBDF
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s1 (No specific role)
    |   Name:                      Macintosh HD (Case-insensitive)
    |   Mount Point:               /
    |   Capacity Consumed:         58604818432 B (58.6 GB)
    |   FileVault:                 Yes (Unlocked)
    +-> Volume disk1s2 CADBE993-A973-43F6-9779-F98B95D44AFA
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s2 (Preboot)
    |   Name:                      Preboot (Case-insensitive)
    |   Mount Point:               Not Mounted
    |   Capacity Consumed:         24809472 B (24.8 MB)
    |   FileVault:                 No
    +-> Volume disk1s3 FF0992C6-C92B-4720-B2CB-949F641EE817
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s3 (Recovery)
    |   Name:                      Recovery (Case-insensitive)
    |   Mount Point:               Not Mounted
    |   Capacity Consumed:         507764736 B (507.8 MB)
    |   FileVault:                 No
    +-> Volume disk1s4 55952B6C-04B6-4902-98DD-571D694CDE8A
        APFS Volume Disk (Role):   disk1s4 (VM)
        Name:                      VM (Case-insensitive)
        Mount Point:               /private/var/vm
        Capacity Consumed:         1073778688 B (1.1 GB)
        FileVault:                 No

Thank you in advance.

Export data to a DXF or DWG file

Good Morning
I have an application where I use a laser to measure the dimensions of the frame of a door, the x positions, and any point captured.
I need this data to export it to a dfx or dwg file for Autocad because another machine is making the specific door for this measured frame. The problem is that I can not find anything to create the file.
Enter image description here

Confidential Data – What Local Information Can I Get (and Use) Desktop Applications From My Computer?

I would like to explain my question with an example.

I've already seen on Windows what kind of information the Steam application sends online: time, place and device of connection, game duration, payments, email, numbers, etc. All of this data seems to be related to the use of this exact Application.

What's stopping my desktop app from sending only personal files stored on my computer to an online server? From my perspective as a newbie, after installing an application, there could be a script that simply reads all of my files and sends them to the servers.

For example, let's say Steam (or it could be any app) wants to show the time I log in to my PC or the time I'm connected to the internet. What's stopping my apps from reading any logs stored locally on my PC?

I think you understand the point. Thank you for reading.