Razer Phone 1 no such partition problems

I was currently having problems with my phone boot looping and tried to go into recovery or use twrp to stop it but they both failed. I read by using the flash_all dat that it will flash the factory image back, however, when I did that it rebooting my phone and now it will it only boot into download mode.

I tried flashing the boot.img and they both send and wrote on both a and b fine. But when I would try to flash the system.img or a system image of a custom rom it would get no such partition. I am able to get a number using fastboot devices but not an number using adb devices. What shows up when using fastboot devices is RCL_NullNullNu00000 which doesn’t look like a good thing.

I can not use an SD card as there seems to be a door(?) blocking the tray from going in. I don’t know, I got this used.

Edit: I was able to fix it by using the flash_all.sh one by one which I’ve done before and that’s how I knew I couldn’t flash anything to system… So I don’t know why it worked this time. I did skip the erase commands they had in there so maybe that could have been my problem.

Edit 2: I sadly don’t remember if the model should say something else bc, after fixing it, it now just says “Phone”. The Android version is 8.1.0

Mariadb docker container sqlstate[hy000] [2002] no such file or directory error

I have developed an web application that consists of a app, a website and a mariadb database. I put them together in a docker-compose file and tested it on my local computer and it works fine. I tried to deploy the app to GCE with the kompose up command and it runs without any errors but when I I attempt to login into my user account from my dockerized website on GCP I get the “SQLSTATE[HY000] [2002] No such file or directory” error. I have looked online fora solution but there is none that is tailored for dockerized we app like mine. Here is my code:

database_cred.php

<?php  error_reporting(E_ALL & ~E_WARNING & ~E_NOTICE);  //Connect to MySQL database using PDO. $  host="mariadb"; $  user="test"; $  pwd="test"; $  dbname="db";  try {    $  db = new PDO("mysql:host=$  host;dbname=$  dbname", $  user, $  pwd);    // set the PDO error mode to exception    $  db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);     }     catch(PDOException $  e)     {     echo "Connection failed: " . $  e->getMessage();     }  ?> 

docker-compose.yml

 version: '3'   services:  app:    build:      context: .   dockerfile: ./app/Dockerfile   image: gcr.io/xxxxxx/docker_app   container_name: docker-app   restart: always   ports:     - "3838:3838"   labels:     kompose.service.type: LoadBalancer     kompose.service.expose: "True"    web:     build:       context: .    dockerfile: ./web/Dockerfile    image: gcr.io/xxxxxx/docker_web    restart: always    ports:      - "8000:80"       labels:      kompose.service.type: LoadBalancer      kompose.service.expose: "True"   mariadb:    image: mariadb    restart: always    environment:      - MYSQL_USER=test      - MYSQL_PASSWORD=test123      - MYSQL_ROOT_PASSWORD=test      - MYSQL_DATABASE=db   volumes:     - mariadb_data:/var/lib/mysql   phpmyadmin:    image: bitnami/phpmyadmin    environment:      - PMA_HOST=mariadb    ports:     - "81:80"    labels:       kompose.service.type: LoadBalancer       kompose.service.expose: "True"    volumes:   mariadb_data: 

I would be grateful if anyone could help. Thanks.

Let G be a non-Abelian group such that |G| < = 15 with proper subgroups H and K such that G= HxK. Prove that G is isomorphic to D6.

I understand that the two subgroups must be H= {e,r3} and K={e,r2,r4,f,r2f,r4f} in D6. I also know that D6 has order 12 but I do not understand why the less than or equal to 15 is necessary. I’m really not understanding why this must be always isomorphic to D6 no matter the G. Any help is greatly appreciated. Thank you.

No such interface ‘org.freedesktop.DBus.Properties’

I was running postgresql database v9.6 and I rebooted, but now it will not start. Nothing seems to work.. Any Idea?

I am trying to run my Django Server:

django.db.utils.OperationalError: could not connect to server: Connection refused Is the server running on host “localhost” (127.0.0.1) and accepting TCP/IP connections on port 5432?

Commands Tried

$   sudo /etc/init.d/postgresql restart  * Restarting PostgreSQL 9.6 database server                                                                                   * Failed to issue method call: Unit postgresql@9.6-main.service failed to load: No such file or directory. See system logs and 'systemctl status postgresql@9.6-main.service' for details.  $   sudo service postgresql start  * Starting PostgreSQL 9.6 database server                                                                                                         * Failed to issue method call: Unit postgresql@9.6-main.service failed to load: No such file or directory. See system logs and 'systemctl status postgresql@9.6-main.service' for details.    [fail]    (env) dominic@dom-Inspiron-7559:~/Desktop/Project     $   systemctl status postgresql@9.6-main.service     Failed to issue method call: No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/systemd1/unit/postgresql_409_2e6_2dmain_2eservice   $   pg_config --version PostgreSQL 11.2 (Ubuntu 11.2-1.pgdg14.04+1)  $   pg_lsclusters Ver Cluster Port Status Owner    Data directory               Log file 9.6 main    5432 down   postgres /var/lib/postgresql/9.6/main /var/log/postgresql/postgresql-9.6-main.log   $   sudo pg_ctlcluster 9.6 main start Failed to issue method call: Unit postgresql@9.6-main.service failed to load: No such file or directory. See system logs and 'systemctl status postgresql@9.6-main.service' for details. 

$ sudo systemctl daemon-reload

What are the necessary conditions for a polynomial Q(X) such that the roots of Q(X) – X are equal to the real roots of a polynomial P?

If P(X), Q(X) ∈ ℝ[X], and P(X) | P( Q(X) ), what could be the necessary conditions for Q(X) such that the set of the real roots of P(X) to be equal to the set of the real roots of Q(X) – X ( i.e. the set of fixed points of the polynomial function of Q(X) ) ?

Possible to adjust UWP apps’ (such as Calculator) title bar height?

I think the title bars are too tall, so I made it thinner by modifying some registry values under HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics. The title bar height of traditional Windows apps like Notepad is adjusted, but not that of UWP apps like Calculator. Is it possible to reduce the height of UWP title bar? Or is there no way?

Can we “invert” Diophantine equations such as $x^3+y^3+z^3=k$ in to halting probabilities for some universal Turing machine?

Following Pooten [1], Davis[2], Chaitin [3], and Ord and Kieu [4]:

Is it possible that there is a polynomial $ P$ of degree $ d\le 4$ , along with a prefix-free universal Turing machine $ T$ , such that the $ k^{th}$ bit of the halting probability, $ \Omega_T$ , is $ 0$ if and only if

$ $ P(x,y,z)=k$ $

has an infinite (or even) number of solutions?

A lot of attention has been given to questions about the decidability of

$ $ x^3+y^3+z^3=k$ $

However, after Heath-Brown [5] it might be reasonable to say that if $ k$ doesn’t have an obstruction mod 9 then it can be represented as the sum of three cubes in an infinite number of ways.

Nonetheless I always liked Chaitin’s results (and Ord and Kieu’s follow-up), but Chaitin concedes that his explicit construction of an exponential Diophantine equation with a parameter encoding an $ \Omega$ is, at 17,000 variables, is in his words “a little large.”

After learning that problems as simple as the sum of three cubes can have such a dynamic and complex behavior, I’m wondering if Chaitin’s construction can be “reversed” in some sense, by starting from a much simpler Diophantine equation to find a universal Turing machine? Have we learned a lot in the last twenty years or so about if and how complexity begets universality?