memory card – Very low speed of copying files from camera to ssd

Fujifilm X-T30 and Sandisk Extreme Pro 128GB SDXC Card 128GB 170MB/s V30 UHS-I U3

Average speed is 15.6 megabyte pro sekunds

I am using a usb 3.1 gen 1 cable plugged into a usb 3 port to transfer the photos. 15.6 mb/s no where near what is neither advertised for this sd card nor usb 3 speed. What am I doing wrong? Maybe an sd card reader would be faster but are these speeds normal?

bitcoin-qt “backup wallet” vs copying wallet.dat

I am new to bitcoin, I wander what are the differences, and pros/cons (if any) between the file generated by bitcoin-qt when clicking on “backup wallet” vs copying the file “wallet.dat”? I see these files are indeed different with “cmp” so I am assuming that there are differences between these files. Can one of these files recover all of the information in the other?

EDIT: after a few backups I noticed that if I close the wallet, and then wait a few minutes. A backup at this moment equals the wallet.dat file.

google sheets – Pasting values only instead of copying values using a script

I have a piece of code put together through various posts, it is used to move multiple rows into the “Billed” sheet. Unfortunately it’s missing a key feature, namely that I need the script to paste values instead of copying values (this is currently bringing any active formulas in the source cells) when the rows are moved to the other sheet.

I tried using the “contentsOnly: true” but that seems to be completely ignored. Reading through the documentation is not yielding any other leads for me.

Here is my code so far. Please let me know how I could change it to make it work as intended.

Any help would be appreciated!

function doneCopy() {
  var ss = SpreadsheetApp.getActiveSpreadsheet();
  var sheet = ss.getSheetByName("BT");
  var values = sheet.getRange(1, 1, sheet.getLastRow(), 1).getValues();
  var moveRows = values.reduce(function(ar, e, i) {
    if (e(0) == "Billed") ar.push(i + 1);
    return ar;
  }, ());
  var targetSheet = ss.getSheetByName("Billed");
  moveRows.forEach(function(e) {
    sheet.getRange(e, 1, 1, sheet.getLastColumn()).moveTo(targetSheet.getRange(targetSheet.getLastRow() + 1, 1));
  moveRows.reverse().forEach(function(e) {sheet.deleteRow(e)});

lubuntu – Permission denied when creating new directories, downloading and copying files. How do I give permissions to these trivial tasks?

I’ve been using Lubuntu for a couple of months now and I’ve never come across this kind of difficulty. I reinstalled Lubuntu yesterday and I find myself using sudo for almost anything: copying and downloading files, creating directories, etc.

I don’t think it’s possible to find a permissions option in one of openbox’s menus. I don’t know how to search for this problem in the internet either.

Is there a way (command (?)) to grant permission(s) to some (or all of some kind) tasks once and for all?


8 – Copying prod multi-site installation to dev multi-site installation

I am attempting to upgrade my Drupal 8.9.2 multi-site installation to D9. I was hoping to work this all out on a development installation, that is located in a subdirectory of my home directory on my NameCheap Shared Hosting plan.

When I first installed this installation, I did so using the tarball method from years ago. I then followed the instructions given here ( I was able to get the current running prod version converted to use composer with out an issue.

Before I go and start messing with the files, and attempting to upgrade to D9 through composer on a prod installation, I wanted to copy these files over to another installation where I can use it as a sandbox. To do this I:

  • copied the files on my server to a new directory
  • made clone databases for the new installation
  • truncated all the cache tables in the cloned DB
  • changed all the database settings in the settings files to point to the cloned databases

I’ve done this before without any issues, and now I seem to be getting a WSOD error on all the sites running from the new installation. The error I’m getting is

PHP Fatal error: Uncaught Error: Class ‘DrupalCoreCacheDatabaseBackend’ not found in ~/{new installation dir}/public_html/index.php:16.

If anyone has any thoughts what’s going on I am all ears.

Thank you in advance

Xcopy is copying folders with a lowercase name suddenly

I have a script, which contains this Xcopy command: Xcopy /E /I /Y jarsbinjarfiles reobfminecraft
It used to work fine, copying all of the folders and files from jarsbinjarfiles to reobfminecraft. However, there’s one folder in the ‘jarfiles’ folder named ‘NFC’. It used to work just fine with this folder, but today when I used the script, it’s now putting the file name in all-lowercase, so it copies over as ‘nfc’ even though I didn’t change anything and it was working fine before. None of the other folders that are copied have capital letters and all other files that have capital letters work just fine. This is case-sensitive work, so this suddenly breaking has caused my workflow to change as I have to rename it to ‘NFC’ myself every single time now.

I need to make it so the ‘NFC’ folder is copied correctly. Why has it stopped copying this folder’s name correctly and how can I fix it? Thanks in advance for any answers.