Separate Time Machine backups for different partitions

I have an older Mac mini with 3 partitions: one running 10.5, 10.6, and 10.7. I’d like to back these up via Time Machine, however, I’d like them to each be separate backups. Whenever I try to back up one partition to the TM drive (with all other partitions excluded), it works fine. When I boot into a different partition and back up, it uses that same backup, adding the other partition to the mix.

How can I make them each use their own unique backups?

What is the difference between Kafka partitions and Kafka replicas?

I created 3 Kafka brokers setup with broker id’s 20,21,22. Then I created this topic:

bin/ –zookeeper localhost:2181
–create –topic zeta –partitions 4 –replication-factor 3

which resulted in:

enter image description here

When a producer sends message “hello world” to topic zeta, to which partition the message first gets written to by Kafka?

The “hello world” message gets replicated in all 4 partitions?

Each broker among the 3 brokers contain all the 4 partitions? How is that related to replica factor of 3 in above context?

If I have 8 consumers running in their own processes or threads in parallel subscribed to zeta topic, how partitions or brokers are assigned by Kafka to serve these in parallel?

pyspark – Glue Job Writes Multiple Partitions to the Same File

I’m trying to write a glue job that converts multiples csv files to separate json files using each row of the csv for a file. When the job finishes, the correct number of files show up in s3, but some are empty and some have multiple json objects in the same file.

After I apply the mapping, this is how I create the partitions and write the files:

numEntities = applyMapping1.toDF().count()
partitions = applymapping1.repartition(numEntities)
partitions.toDF().write.mode("ignore").format("json").option("header", "true").save("s3://location/test")

Using this, some files are created as a json file that has 2 objects one after the other, some are correct, and some are empty.

Is there any way I can ensure that each partition creates a separate file with only its data?

LG V40 completely unresponsive.. Won’t charge after I was playing with the partitions and 9008 mode.. Any options?

I have an LG V40 through sprint.. Its won’t respond to any button combos or cords /cables.. Anyone think they could help me out

node.js – 10k partitions in Kafka?

I have 10k+ “devices” and require an independent “queue” for each one.
Each device writes the same type of data, for example:
{ deviceId, key, value, timestamp }

Then I have, say, 4 consumers. Each get 2500 deviceIds they are responsible for.
(A deviceId can only be consumed by one consumer at a time).

What’s the “best” way to implement this in Kafka?
Currently I’m thinking of a single topic, with 10k partitions with all consumers in a single consumer group.

co.combinatorics – Binomial theorem for content polynomials of partitions

Let $lambda$ be a partition, represented by a usual Young diagram in which $1le ile ell(lambda)$ labels the rows and, for each $i$, $1le jle lambda_i$ labels the columns. For each box $square$ in the diagram, $c(square)=j-i$ is its content. The polynomial
$$ P_lambda(x)=prod_{squareinlambda}(x+c(square))=prod_{(i,j)inlambda}(x+j-i)$$
is the content polynomial.

I would like to know some family of coefficients $b^lambda_{munu}$, as a function of three partitions, such that
$$P_lambda(x+y)=sum_{mu,nusubset lambda}b^lambda_{munu}P_mu(x)P_nu(y).$$

(Notice that content polynomials are not linearly independent, so this equation alone is not enough to uniquely determine the coefficients. I ask for some family)

partitions – Cannot create, move or delete files or folders on android phone’s SD card even after write only attribute is removed

When my old 16 Gb microSD card I used in my LGE V10 (h900) running Android 6 failed, I bought a new card; opting for a Sansdisk 64Gb microSD card. But since I inserted the card, I have not been able to write, edit or delete anything on card using my phone. I can do so readily by plugging my phone into my Win10 computer through USB, but when I try to access the card with any apps whatsoever except the built-in file manager app, and try to do any sort of write-related functions on it, they always fail.

Most commonly, I’ve tried to create folders on the SD card, but every time, I get the message “Folder failed to be created”.

I first noticed the problem when I tried to set the SD card as the backup save location for SUPER BACKUP. Trying to select the root of the SD card, or any other folder that was added by formatting the card similarly fails, and even adding an extra folder using the built-in file manager didn’t allow me to set that as the save folder for SUPER BACKUP.

So, I tried accessing it using ES FILE EXPLORER. It could read the card, but I could not move any files or folders onto it using ES, nor could I create any files or folders on it, or delete existing files or folders on it.

As per advice online, I downloaded the FX File Explorer App, and it recognized that my SD card was write only, and I used FX own auto-function to grant Write access to it, and the process seemed to run properly, and it recognizes my SD card as -RW, but whenever I try to move, create or delete anything on the SD card, I get the “folder was not created” error (or whatever I was trying to do).

I tried using FX to remove the write permission, then restarted the phone, and had it give write access to the SD card anew, and again, the process seemed to work without problems, but I still could not write to the SD Card using FX or ES.

I tried Unmounting the card, turning off the phone, extracting the card, cleaning the terminals with an erased and cleaned out the slot on my phone with canned air. Still couldn’t write to the SD card.

I tried using the Storage Settings function to reformat the card. Still nothing. Again, I tried unmounting it, and reinserting it, but I still couldn’t write to it.

Now, for some screwy reason, WIN10 won’t assign the V10 a drive letter when I plug it in to the computer, so I couldn’t use any fix that required targeting a drive or volume, so I ordered USB 3.0 SD Card reader, and plugged the card directly into the computer. There, I tried several so-called “fixes” I found online

  1. I used an elevated Command Prompt to use DISKPART to remove the WriteOnly attribute from the card (which is seemed to do), but upon plugging it into my phone, it still wouldn’t let me create folders or files, move files or folders onto it or delete files or folders from it, giving me the same “failed” error.

  2. I used Diskpart to again try removing the WriteOnly attribute from it, targeting it both by first Disk number, and then by Volume number, then cleared the card, created a new partition and formatted it from DISKPART. That, as some might suspect, ran me into the problem with cards over 32Gb not being able to be formatted with FAT32 by DISKPART. I downloaded the GUI version of the Fat32Format utility, and after removing write only and clearing it card, I used it to format the card and return it to my phone. Still couldn’t write to it.

  3. I used DISKPART again to try formatting it as NTFS, but my phone read that as corrupt, so I formatted it on the phone, making it exFAT, but still no access, even after using FX Write Access granting function on it again.

  4. I tried using the Write Protect removal function of EASEUS TOOLS M BETA. At first, it read it as not having any write protection, but I ran the tool, and it apparently put write protection onto it. I then used the tool again to remove the write protection. Still no write access from my phone.

  5. The card is brand new; it’s from a reputable mainstream card company (Sansdisk), bought from (not one of their subcontractor companies).

  6. I’ve tried writing to the SD card with other file managers, including “FileExplorer”, ASTRO and even Sandisk Memory Zone, but I simply cannot write to it.

Every other solution I’ve come across requires root, and it is impossible to root a LGE V10 from AT&T. They’ve locked the boot loader for some stupid reason, and the only TOT file I’ve found to use LGUP to root it with only has Android 5 on it, and the damned phone won’t let me upload a TOT file that downgrades Android from 6 to 5.

I don’t live in the US, so I can’t access AT&T servers to try to get an upgrade to my version of Android. Needless to say, I’m never going to buy a phone that AT&T provides ever again, but unfortunately, buying a new equivalent phone is not something I can afford, and the phone is still working great otherwise.

The only other thing that I can think of that might possibly have a remote chance of causing it was the fact that I recently changed mobile providers, requiring me to change my SIM card from a KOODO one to a PUBLIC MOBILE one, but I’m not sure how that could have messed up accessing the SD card; they’re separate sockets, despite the fact that they’re situated next to each other in the battery compartment.

Can anyone help with this? It’s frustrating beyond all belief.

dual boot – Ubuntu partitions (/, /home & swap) are showing under a Windows extended partition? And, how to use the existing /home partition?

I was getting frequent error messages (usually on Ibus Preferences – which were very frequent, and errors on few on other categories too). So, I re-installed using a LiveCD creating new partitions for root (/) and swap (linux-swap) by formatting them. However, I did the mistake of not selecting the existing home partition (/home). In fact, I did not specify any particular space for /home.

After the (re)install, I tried something to mount my old /home partition back. And, after doing this (or, at least I think so), all my ubuntu partitions are showing under a windows (extended) partition (/dev/sda3). I thought it was because I installed ubuntu in a empty windows (NTFS) partition (/dev/sda3 of 195.1 GB, in the below fig.).

Partition data - after 1st (re)installation.

Unfortunately, I don’t have a screenshot taken after the original ubuntu install.

I wanted the ubuntu partitions to be placed along-side windows NTFS partitions (not within any of them) in the HDD. So, I re-installed ubuntu again, this time I selected the un-allocated space (220.35 GB in the above fig.) to install. And, I selected the existing home partition as /home (with the format button unchecked). However, still the ubuntu partitions are still showing under a Windows partition (/dev/sda3). Not sure why.

(Note the difference in the size of /dev/sda3 after the 1st & 2nd installation. See screenshots).

Partition data - after 2nd (re)installation.

Now, I have 2 questions.

1. How can I install ubuntu in the hdd along-side windows, without any dependency? (Note that the **temp** is a NTFS, which is another windows partition & I’m not sure why it is also brought under this extended partition).
2. How to make an exiting home partition (not directory) to be the default **/home** for ubuntu – after completing the installation (without using LiveCD i.e. from a Ubuntu terminal). I’m sure there are ways, but I guess they all assume **/home** to contain user info only & not the data.
    i. I am (understandably) unable to access the **dev/sdax** (**/home** partition) using **cd/cp/mv** commands. Without these, how can I backup my data before doing this?
    ii. When I mount the old home partition as **/home**, the user folder created in the new home (during install) is getting removed. I don’t mind this, but can I restore my old users from the old **/home** partition when I mount it. If so, how can I do so.
    iii. Somewhere while trying, I saw my home partition listed as **/media/<something>** in the **Files** window. What does it mean & how can I handle mounting in such cases.

Note: I have all my data under the /home partition.

How to access hard drive partitions formed after dual boot?

I have recently dual booted Ubuntu alongside windows 10. After the Dual Boot, I split the D drive of 1000 GB into different drives in windows. But in Ubuntu I can only see the shrunk D volume of 250 GB and am unable to access the rest which now contain much of the media on my device.

python – In getting a list of all possible partitions of an integer with restraints, is there a better way?

I have modified a recursive function designed to print all the integer partitions of a positive integer. I would like

def partition(number, interesting): # returns all the partitions of number that are included in the interesting list
    answer = set()
    if number in interesting:
        answer.add((number, ))
    for x in range(1, number):
        if x in interesting: 
            for y in partition(number - x, interesting):
                answer.add(tuple(sorted((x, ) + y)))
    return answer