usb – MTP file transfer not working with Ubuntu/Kubuntu 20.04

I just have a fresh install of Kubuntu 20.04 on an Acer Swift 3 laptop. I ran into problem with transferring files from my Android phone. Here was the steps I went through:

  1. Plug the phone into USB port. The device shows up on Kubuntu (Dolphin and popup notification)
  2. Unlock the phone and accept permission.
  3. Click on the device and got the following error:

No storage media found. Make sure your device is unlocked and has MTP enabled in its USB connection settings.

When I run mtp-detect, I got the following error:

$ mtp-detect
libmtp version: 1.1.17

Listing raw device(s)
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
Found 1 device(s):
Samsung: Galaxy models (MTP) (04e8:6860) @ bus 3, dev 11
Attempting to connect device(s)
error returned by libusb_claim_interface() = -6LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0
OK.

dmesg:

( 1799.438225) usb 3-1: new high-speed USB device number 16 using xhci_hcd
( 1799.593572) usb 3-1: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= c.00
( 1799.593575) usb 3-1: New USB device strings: Mfr=7, Product=8, SerialNumber=9
( 1799.593576) usb 3-1: Product: SAMSUNG_Android
( 1799.593577) usb 3-1: Manufacturer: SAMSUNG
( 1799.593578) usb 3-1: SerialNumber: 27a0c9216c1c7ece
( 1799.603905) cdc_acm 3-1:1.1: ttyACM0: USB ACM device

lsusb:

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 1c7a:0575 LighTuning Technology Inc. EgisTec EH575
Bus 003 Device 002: ID 0408:a094 Quanta Computer, Inc. HD User Facing
Bus 003 Device 004: ID 8087:0026 Intel Corp. 
Bus 003 Device 016: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy series, misc. (MTP mode)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

But something is really strange. It works if I do the following:

  1. Plug the phone into laptop.
  2. Boot the laptop.
  3. Once Kubuntu loaded, run $ mtp-detect. This time mtp-detect no longer reports any error.
  4. Access the phone device via Dolphin works now.

Then MTP file transfer will work, until the phone is unplugged. Replugging the phone in will not work anymore.

I really have no idea what is going on. Any help is much appreciated.

dxb – How much is the Dnata luggage transfer fee at Dubai airport?

The FlyDubai page on transfers states the following:

If your baggage is not tagged through to your final destination or if you’re travelling with an airline with which flydubai does not have an interline agreement, you’ll need to pay a baggage transfer fee to dnata.

How much is this fee for transferring luggage from a FlyDubai flight to an Emirates flight?

ios – iPhone – free up photo space for transfer to new phone

Sorry to have to add to the bajillion questions about freeing up space on an iPhone, but I can’t seem to find one that addresses my particular need.

I just bought a new iPhone 12 Mini with 128Gb storage, and “oops”, apparently my old iPhone 8 had 256Gb. No problem, I thought, it’s only about half full anyway, I’ll just delete stuff until I’m under whatever nebulous threshold it needs. There’s always some cruft hanging around to delete, I figured.

Well, apparently the vast majority of space on my phone is taken up by photos:

(Note some oddities – “Photos” takes up 106Gb, but everything altogether takes up 44Gb; and the sizing bar shows distinctly more than 50% of storage used, despite being nominally 44Gb.)

If I go in and delete individual photos/movies from the Photos app, then they get removed from everywhere (I have iCloud sync turned on), so I don’t want that. Not that I can identify particularly large photos/movies very easily anyway….

With iCloud sync turned on, it seems to do a decent job of keeping disk usage below the limits of my current device (presumably through offloading items to iCloud), but I need it to keep usage quite a bit less than that, so I can complete the transfer to my new phone. After that, presumably it will manage things properly on the new device.

Any suggestions?

vps9.net | VPS@ € 7.15 | FREE TRANSFER FROM OLD HOSTING PROVIDER | 1Gbps Network | Proxies123.com

VPS9.net Providing hosting solutions from more than 12 years with thousands of happy customers. We do provide VPS in different locations. Our Web hosting Services are equipped with latest technologies located at various State-of-the-art data centers like Netherlands, USA, and Russia to exceed the Industry Standards. We recognized one of the Best Web Hosting industry in the market.

Our KVM Linux VPS will meet all your business needs to the fullest. We are dedicated to providing you the best service with 99.99% Guaranteed Uptime, a lightning-fast network, 24/7 enduring support, with Instant Setup.

Start your journey of hosting with us, we have special Moneyback guarantee

Features offered with KVM Linux VPS:

24/7 Technical Support

DDoS Protection Included

Lightening Fast SSD Storage

Full Root Access

Free SolusVM control panel

Instant Setup

Lightning Fast 1 Gbps Network

From our different range of Plans choose plan as per your business requirement. Have an Question? Reach Us


Monsoon Sale – Get Flat 35% OFF | Use Code: “RAINYSALE35” (SUB)Note: Discount Code will be applied automatically on checkout page. (/SUB)


Netherlands KVM Linux VPS

———————
NL-LKVMV2
———————

CPU: 2v Core vCPU
RAM: 2048 MB
Disk Space: 40 GB SSD
Bandwidth: Unmetered*
Port: 1 Gbps
Setup: Instant
@ € 7.15 /Month

<<<Order Now>>>
<———————————>

Russia KVM Linux VPS

———————
RU-LV2
———————

CPU: 2v Core vCPU
RAM: 2048 MB
Disk Space: 40 GB SSD
Bandwidth: Unmetered*
Port: 1 Gbps
Setup: Instant
@ € 7.15 /Month

<<<Order Now>>>
<———————————>

USA KVM Linux VPS

———————
US-LKVMV2
———————

CPU: 2v Core vCPU
RAM: 2048 MB
Disk Space: 40 GB SSD
Bandwidth: Unmetered*
Port: 1 Gbps
Setup: Instant
@ € 7.15 /Month

<<<Order Now>>>
<———————————>

For More Services visit VPS9.net
Check out our Payment Gateways
Follow Us on Facebook | Twitter

sql server – What database level permissions are needed for to Transfer a Procedure to another schema

Per the documentation: https://docs.microsoft.com/en-us/sql/t-sql/statements/alter-schema-transact-sql?view=sql-server-ver15#permissions

To transfer a securable from another schema, the current user must have CONTROL permission on the securable (not schema) and ALTER
permission on the target schema.

If the securable has an EXECUTE AS OWNER specification on it and the
owner is set to SCHEMA OWNER, the user must also have IMPERSONATE
permission on the owner of the target schema.

All permissions associated with the securable that is being
transferred are dropped when it is moved.

CONTROL on the database, schema or individual tables should work. There isn’t much difference between CONTROL at the db level vs db_owner, so it might be better to temporarily grant db_owner and then remove it vs directly granting CONTROL permissions.

Auditing members of the db_owner role is a straight forward, simple process. Sorting through custom permission grants is substantially less clear.

differential equations – Modified Heat Transfer in Fluid Flow

I am trying to simulate Modified Heat Transfer in Fluid Flow in MMA 12.02 (based on Buoyancy-Driven Flow in a Square Cavity ).

The modified heat transfer takes the form:

enter image description here

with the solid volume fraction:

enter image description here

The whole model is defined as:

ClearAll("Global`*")

Needs("NDSolve`FEM`")
sizes = {length -> 1, hight -> 1};
(CapitalOmega) = Rectangle({0, 0}, {length, hight}) /. sizes;
em = ToElementMesh((CapitalOmega) , MaxCellMeasure -> .0001, 
   "MeshOrder" -> 2);

Pr = 50;
Ra = 2.27*10^5;
timetol = 0.00001;
Th = 1.0;
Tc = -0.01;


ClearAll((Nu))
op = {
   
!(*SuperscriptBox((u), 
TagBox(
RowBox({"(", 
RowBox({"1", ",", "0", ",", "0"}), ")"}),
Derivative),
MultilineFunction->None))(t, x, y) + 
    Inactive(Div)((- Inactive(Grad)(u(t, x, y), {x, y})), {x, 
      y}) + {u(t, x, y), v(t, x, y)} . 
     Inactive(Grad)(u(t, x, y), {x, y}) + 
!(*SuperscriptBox((p), 
TagBox(
RowBox({"(", 
RowBox({"0", ",", "1", ",", "0"}), ")"}),
Derivative),
MultilineFunction->None))(t, x, y), 
   
!(*SuperscriptBox((v), 
TagBox(
RowBox({"(", 
RowBox({"1", ",", "0", ",", "0"}), ")"}),
Derivative),
MultilineFunction->None))(t, x, y) + 
    Inactive(Div)((-Inactive(Grad)(v(t, x, y), {x, y})), {x, 
      y}) + {u(t, x, y), v(t, x, y)} . 
     Inactive(Grad)(v(t, x, y), {x, y}) + 
!(*SuperscriptBox((p), 
TagBox(
RowBox({"(", 
RowBox({"0", ",", "0", ",", "1"}), ")"}),
Derivative),
MultilineFunction->None))(t, x, y) - Ra/Pr*T(t, x, y), 
   
!(*SuperscriptBox((u), 
TagBox(
RowBox({"(", 
RowBox({"0", ",", "1", ",", "0"}), ")"}),
Derivative),
MultilineFunction->None))(t, x, y) + 
!(*SuperscriptBox((v), 
TagBox(
RowBox({"(", 
RowBox({"0", ",", "0", ",", "1"}), ")"}),
Derivative),
MultilineFunction->None))(t, x, y),
   
!(*SuperscriptBox((T), 
TagBox(
RowBox({"(", 
RowBox({"1", ",", "0", ",", "0"}), ")"}),
Derivative),
MultilineFunction->None))(t, x, 
      y)*(1.0 + 1/0.045*20* Sech(40* (0.01 - T(t, x, y)))^2 ) + 
    Inactive(Div)((-Inactive(Grad)(T(t, x, y), {x, y})), {x, 
      y}) + {u(t, x, y), v(t, x, y)} . 
     Inactive(Grad)(T(t, x, y), {x, y})};


wall = DirichletCondition({u(t, x, y) == 0, v(t, x, y) == 0}, True);
reference = DirichletCondition(p(t, x, y) == 0, x == 0 && y == 0);
temperatures = {DirichletCondition(T(t, x, y) == Th, x == 0), 
   DirichletCondition(T(t, x, y) == 0, x == length)};
bcs = {wall, reference, temperatures} /. sizes;
ic = {u(0, x, y) == 0, v(0, x, y) == 0, p(0, x, y) == 0, 
   T(0, x, y) == 0};

Monitor(AbsoluteTiming({xVel, yVel, pressure, temperature} = 
    NDSolveValue({op == {0, 0, 0, 0}, bcs, ic}, {u, v, p, 
      T}, {x, y} (Element) em, {t, 0, timetol}, 
     Method -> {"TimeIntegration" -> {"IDA", 
         "MaxDifferenceOrder" -> 2}, 
       "PDEDiscretization" -> {"MethodOfLines", 
         "SpatialDiscretization" -> {"FiniteElement", 
           "InterpolationOrder" -> {u -> 2, v -> 2, p -> 1, 
             T -> 2}}}}, 
     EvaluationMonitor :> (currentTime = 
        Row({"t = ", CForm(t)})));), currentTime)

However, this modified simulation model produces some numerical errors:
enter image description here

How to set the solver parameters that we can fix the bug “Matrix SparseArray(<1395840>, {101404, 101404}) is singular …”

Can I use a usb hub to transfer images from my phone into another device?

Yes, you can use a USB hub to transfer files from your phone to another device. That is assuming the device is a USB host device, like a computer. As for not charging the phone from the hub, that is going to depend on the hub and how it handles power.

heat transfer equation – 3D NDSolve in a spherical shell with fixed boundary values at shell interfaces

sorry if this posts weird. Having some trouble getting the code to post nice, so I put screenshots of what it looks like too.

I am working on solving the heat equation, but I am stumbling on a particular boundary condition.

I’ve got the thing working in 1D, where the Temperature solution is a function of radius and time only. I want it to work in all three spatial dimensions however.

First, here is my working 1D code

Dsolfunc(LetterSpace)1D({AI_, (Rho)I_, cI_, R_}, d_, Qfun_, T0_) := 
  NDSolve({ !( *SubscriptBox(((PartialD)), (t))(T(r, t))) == 
     Div((AI/T(r, t))/((Rho)I cI)
         Grad(T(r, t), {r, (Theta), (Phi)}, 
         "Spherical"), {r, (Theta), (Phi)}, "Spherical") + 
      Qfun/((Rho)I cI),
    
    
    
    (* Initial Condition *)
    T(r, 0)    == T0,
    
    (* Boundary Conditions *)
    T(R, t)    == T0 /. r -> R,
    T(R - d, t)  == T0 /. r -> R - d
    
    
     
    
    }, T, {r, R - d, R}, {t, 0, 10^25}); 

which for some reason is difficult to read translated into Stack Exchange, yet looks nice in Mathematica. Probably an issue converting from the nice symbols in the software. If you copy paste it into a notebook it will work, however. Below is an image of what it really looks like

the nice looking 1D code

The thing can handle the source term Qfun just fine even with radial dependence (the source is ultimately going to vary in all three spatial dimensions, but for this example a constant value is sufficient).

Here’s the parameterization I am using with all values always in SI unit. I purposefully used an initial condition that I know is not steady state in order to examine the time evolution behaves as expected. Three time steps are plotted. (Really it’s ice, so the stuff should melt, but I’ll deal with that later)

wsource(LetterSpace)1Dsol = 
  Dsolfunc(LetterSpace)1D({567, 1000, 2000, 1.561 10^6}, 10000, 
   10^-5, 273 - (273 - 100)/10000 (r - (1.561 10^6 - 10000)));
Plot(T(r, {0, 5 10^12, 10^25}) /. wsource(LetterSpace)1Dsol // 
  Evaluate, {r, 1.561 10^6 - 10000, 1.561 10^6})

The output of the 1D heat model with Q source

Now I am working on the 3D version. Here’s what I got along with the image of the nice looking code block

Dsolfunc(LetterSpace)3D({AI_, (Rho)I_, cI_, R_}, d_, Qfun_, T0_) := 
  NDSolve({
    
    
    
    
    
    !(
*SubscriptBox(((PartialD)), (t))(T(r, (Theta), (Phi), 
       t))) == 
     Div((AI/T(r, (Theta), (Phi), t))/((Rho)I cI)
         Grad(T(r, (Theta), (Phi), t), {r, (Theta), (Phi)}, 
         "Spherical"), {r, (Theta), (Phi)}, "Spherical") + 
      Qfun/((Rho)I cI),
    
    
    
    (* Initial Condition *)
    T(r, (Theta), (Phi), 0)    == T0,
    
    (* Boundary Conditions *)
    
    T(R, (Theta), (Phi), t)    == T0 /. r -> R,
    T(R - d, (Theta), (Phi), t)  == T0 /. r -> R - d,
    
    T(r, (Theta), 0, t)  == T(r, (Theta), 2 (Pi), t)
    
     
    
    
    }, T, {r, R - d, R}, {(Theta), 0, (Pi)}, {(Phi), 0, 
    2 (Pi)}, {t, 0, 10^25});

nice looking 3D code

All I’ve done to go from 1D to 3D is make sure that the temperature I want to solve is now a function of colatitude and longitude. I also included that the boundary on longitude (phi) is periodic.

As is you get complexinfinity errors which trigger “non-numerical values for a derivative at t==0”. I am sure it has to do with not specifying the boundary condition on colatitude (theta), but I can’t think of what that condition is. There’s no fixed boundary at theta = 0 or at theta = pi . Possibly I need to say something about the derivative there? But I wouldn’t want to fix that derivate either. In fact, the gradient of this solution, and the flux into and out of my shells, are an important output of the model.

Thanks!!

calculus – how can I obtain the peak value of the magnitude of my transfer function of order 5 in the frecuency state?

enter image description hereI have a transfer function in the frequency domain, which is of order 5 in the denominator of the function. Books like Ogata, Kuo, etc only use the transfer function up to order 2.
My question is how can I obtain the peak value of the magnitude of my transfer function, making use of, or using the theory of the bode plot and using the standard form of the transfer function of order 2.

blockchain – Coinbox Bitcoin Wallet is now unavailable in my region. I cannot transfer amount using the APK as it says action blocked

I have a huge amount of crypto stored in my Crypto Wallet by Coinbox.org / Now recently, it got unavailable in my country, and I cannot access the app within my device. I have all the recovery phrases as a backup as well, but Google Play Store says that this Application is not available in my reason. I download an APK Mirror from the internet as logged in my wallet, but it also isn’t working as it says Action Blocked. Also, the wallet is legit. I’ve been storing my coins on it for a long time.

Appreciate it in advance.