Regarding foldable phones

There's been a hype about foldable phones. While it's awesome to see screens that can actually fold, and there are softwares supporting this feature, I do not see foldable phones have much future. The key problem is now the phone has to be as twice as big, based on current implementations. Also, there is only one possible changes of the screen display size. This fundamentally limits the concept of a "soft" display.

I'm more believed in scrollable screens. See this year's scrollable TV at CES as a reference. It would benefit much more if the screens can be dragged out more and more. While you may still limit the scrollable length, and fix the scrolling distance for fixed screen size, we may no longer need an additional thickness of the phone. Like the design of Amazon's Oasis, or any scrolls, it would save so much space and the phone will be so much smaller in size.

Sorry guys, my blog was down for a while due to database issues.. Still figuring out what is going on, but I will keep an eye on it.

Oakwood Housing Experience That I Must Log

Ah, it's been three weeks and I still have no Internet. I think I need to log down this experience for future references.

I had two three-month rentals with Oakwood and had no problems. Everything went smoothly. But this year, the rental is actually quite different.

Although it is not the end of the world not having WiFi and/or Internet, I'd love to get access to it whenever I want to. But apparently, in this rental apartment, I could not get a satisfying experience.

The First Day (Sunday, Week 1)

I actually arrive very late in the day, about the midnight. I just spent about 24 hours in the airport, I lifted two of my 24kg luggages with red eyes, and moved physically inside the apartment -- btw it has the weirdest apartment building layout I have ever seen and I spent 30min trying to locate where my apartment is. After I put everything down, I thought I'd open the webpage and download the required documents for FB interning. I took my laptop out of my bag, surprisingly covered a thin layer of dust, and turned it on. Great, so far not bad, I think.

And I found I had no Internet. Nothing. I went to look for notes about WiFi SSID name and password, but there was nothing.

Okay, I'd better call for maintenance and fix this.

The Second Day (Monday, Week 1)

I called in the early morning and their attitude is supreme. They apologized and quickly arranged an appointment to fix it. Unfortunately, they said it'll be fixed on Friday.

I told myself it's okay, as I can use hotspot and there's an Xfinity WiFi hotspot I found last night. They told me I can purchase it and get reimbursed.

Sadly when I went back home, I tried the Xfinity WiFi and it's signal quality is horrible. You can imagine my feeling that night, and I said okay, at least I have mobile hotspot (for free), and at least this will be resolved on Friday. Continue reading Oakwood Housing Experience That I Must Log

Upload File to NextCloud/OwnCloud Programmatically

Recently I created a "File Drop" folder that allows anyone who owns the link to upload files. However, I want to drop/upload files programmatically. Luckily, there is an undocumented way to do so.

Continue reading Upload File to NextCloud/OwnCloud Programmatically

Compile tshark/wireshark for Android

It is a painful process and I would like to record the whole process.. I will provide a script in the end to assist, but the script should be used "AS IS."

To get wireshark working on Android, we will need many many libraries to start with. Most importantly, we need:

  • libpcap
  • glib
  • libiconv
  • libffi
  • gettext

To get these (and compiled correctly), we also need to get libgcrypt, libgpg-error, gmp, nettle, libtasn1, p11-kit, gnutls, xz, and libxml2. First we need to download all these. Navigate to a directory and use the following script to do so. Continue reading Compile tshark/wireshark for Android

Samsung Galaxy S8 Update Issue with Project Fi

I did not find online anyone mentioning about this. But after I update my S8 to Android Oreo (8.0, the latest system version), my Project Fi lost its data connections.

I found this issue after I left home taking an Uber. I was standing outside and there was no WiFi. My S8 behaved as usual until I notice there was no LTE sign in the status bar. I opened the Uber app and it said "No Internet Connections." I tried other apps and finally found my LTE was gone.

Okay, so long story short, if you encounter the same problem as I did, here is the solution. I do not know why it happens, but the update triggers a change in the network access point settings. For S8, if you navigate to

Settings > Connections > Mobile Networks > Access Point Names

You will see Project Fi -Tm is selected (there might be two of them). Click on the one that is already chosen and we'll edit the APN protocol. The update somehow changes the APN protocol to IPv6 only. Now change that to IPv4/IPv6.

Everything now gets back to normal. 😀