Was succeeded installing Spotify, but…

Lately, when I was booting up to Windows, Spotify just got installed and a quite serious damage got occurred. I installed it as Groove Music suggested me to do so when I opened it and found some new changes, since Microsoft would stop their music streaming service by the end of this year. While I was streaming to a podcast, suddenly the Windows hanged. I was not so sure that Spotify was the cause, instead, I suspected some kind of bad sectors might have been infected my HDD. So, I had to hard shut it down by pressing power button, then. And when booting again, the Windows took more time than usual to load up. It made me more sure to believe at the bad sector.

Then I tried streaming again, and the Windows got frozen as well.

2017-12-03 (10)
A few moments before the disaster

To make me more sure that Spotify caused the system to freeze, I installed it on Fedora. And yes, it caused Fedora to freeze, too!

Screenshot_20171203_063237
Just the same in Fedora

I’m not alone in this situation. Some people find solution for this issue, but I’m not sure if it works for me too.

I don’t know what’s actually happening. But, it just quite disappointing, even though, actually I wanted to try their premium subscription, even just for the first 3 months. ๐Ÿ˜€

Screenshot_20171203_064355
Spotify premium
Advertisements

Just been released: Fedora 27

Fedora fans all over the world have just excited for the release of the new version, Fedora 27. As usual, the the version brings several fixes and improvements as well as adds some new features.

Nevertheless, though, as for KDE spin, it’s likely there’s nothing really fresh in this new version of Fedora. From above screencast I found on youtube, we can see that the version of Plasma is 5.10.5, which is not the latest one: 5.11 that has new couple of brand new stuffs like the new Systemsettings UI design and Wayland support. But on the other hand, F27 KDE has the newest Qt version shipped, i.e 5.9.1 –nearly the newest one though.

As I wrote this post, I was in upgrading process. By the way, I started switching to Fedora since the version 23 back then. And I have successfully passed 3 times of upgrade processes, not by reinstalling a new ISO image. So, I feel so courageous to just upgrade it by DNF system-upgrade. Even though I need to download 2,4 GB of new packages!

Screenshot_20171115_155502
Upgrade process of Fedora 27

 

 

Screenshot_20171116_011020
Eventually… download finished, and then wait for the installation

Steps to upgrade

According to Fedora Magazine guide to upgrading Fedora 26 to 27, these are the DNF commands:

  1. sudo dnf upgrade --refresh
  2. sudo dnf install dnf-plugin-system-upgrade
  3. sudo dnf system-upgrade download --releasever=27
  4. sudo dnf system-upgrade reboot

Installing Openshift Origin on Digitalocean Droplet

Lately I wondered why my websites as well as the backend for my app (also available for Android) were so slow that the app was hardly usable. By wondering, I mean, I did’t get it, what’s happened in the underlying service, Openshift Online Starter v3. Actually I knew the cause, which was made by myself though. ๐Ÿ˜€

I was experimenting with SSL setup in the routes settings of Openshift project configuration page. There are 3 options for the secure route, Edge Termination, Passthrough Termination, Re-encrypt Termination, which are described on the official documentation page here. I have played with all those options, and the results were very very slow download speed, or maybe just the TTL. I had secure route to be activated for one of my subdomain need SSL, which was then to be paired with Full SSL option in CloudFlare. Yeah, I make use of it for the DNS server anyway. And as for SSL certificates for the Openshift route, I obtained it from Cloudflare’s. So, it’s obvious that there was a communication issue between them, particularly at SSL handshake session. Although, according to a comment for my question on Stackoverflow, he said that it’s a known issue on Openshift itself.

So, rather than disabling SSL for the sake of website speed, I was planning to move the data to traditional hosting, or VPS. I tended to choose the latter, as I have enough credit in Digitalocean right now. But, as I quite lazy to setup production server on a bare VPS, and my project was customized for Openshift, I’d rather searching for how to setup Openshift Origin on DigitalOcean. In the first run, I set up a Fedora Atomic droplet, that actually I didn’t understand what it was. ๐Ÿ˜€ Thanks to buddies on @FedoraID telegram group, I quite enlightened about it now. ๐Ÿ™‚

Eventually, I found a thorough tutorial how to setup Openshift Origin on VPS. So, here I just want to share some screenshots of my success on setting it up. ๐Ÿ™‚ FYI, it only took 2 hours for me to play around with it on Digitalocean droplet, as I realized that a 512 MB droplet would not sufficient to run Openshift service in it, as it encountered sudden stop so often due to the lack of memory.

Screenshot_20171102_005657Screenshot_20171102_015009

Screenshot_20171102_020825
Low resource (memory) on a half gig droplet

 

Oh-my-zsh, Tmux, Vim

Screenshot_20171008_054737
My Konsole as of October 2017

This time, I want to share my dotfiles of my new toys: zsh, tmux and vim at once. I’ve ย found out what’s tmuxย actually, a couple of days ago by asking to a Telegram channel, @vimid. It’s “terminal multiplexer”, some kind of, it can break your single terminal session into multiple sessions.1 So, if I made use of Konsole tabs to use vimย and php artisan serveย of Laravel at a time then, now I just need tmuxย to run them concurrently.

Oh-my-zsh

What I know about zsh is not more than a console shell for macOS, before. Although, I did realize that it’s included in every Linux distributions as well. So, I thought I wouldn’t touch it no matter what. ๐Ÿ˜€

But this is my turning point to change my idealism. ๐Ÿ˜€ I just installed it, little bit configuring, and set it as bash replacement to Konsole. Umm, am I now look like a half macOS user? ๐Ÿ˜€

So, for zsh, I installed oh-my-zsh plugin and did some tweaks for the look of the prompt. I wanted a Powerline-like look, but I didn’t want to use Powerline. So, I installed powelevel9k theme instead. And now, I’m very satisfied, as it looks much nicer than my previous console.

Tmux

I don’t configure tmux much, since I just know it not that long. I thought it was just like bash or other console shells. As I had been trying it once, one day. I run it, and nothing appeared other than a command line shell. And I just realized how it works lately. ๐Ÿ˜€

In my config, I don’t do more than set default shell to zsh, and install tmux-powerline-theme with tpm.

Vim

As for vim, I have known it for quite long time. The first time I used it, like many developers out there, I didn’t know how to exit. ๐Ÿ˜€

But yeah, slowly but sure, I somehow have a little knowledge how to handle it. I have configured it quite seriously as I use it for my daily need: coding. But still, I’d say, I haven’t got its full usability yet, as I mentioned this before. ย Just check out my .vimrc below, in case you so curious for what plugins I installed.


  1. ย https://fedoramagazine.org/use-tmux-more-powerful-terminal/ 

KDE: Like no other

I had lately just realized that I lost something crucial from KDE. Something that took me to love it, ’till now. It’s the built-in Hijra calendar system in Plasma desktop, which was included in (at least until) KDE SC 4.x.

kde9
Screenshot taken at a few years earlier

But, since KDE Plasma 5 rolled out, I was so excited for its fresh new look that I almost forgot about the Hijra calendar widget which I used to see. Perhaps it was still in beta phase, then. So, I didn’t take it into account. But, until now, it hasn’t appeared yet.

Then suddenly I wanted to switch KDE with any other DE in my Fedora because of the lack of Hijri calendar. I’ve tried –only– LXQt then. Still, GNOME is not my choice, I don’t know either. But it didn’t last longer. My soul has apparently been connected and felt comfort to KDE. It’s like irreplaceable in my heart. Just like you, my dear. ๐Ÿ™‚

Hello, Vim!

Yeah, eventually I’ve got a chance to meet Vim more intensively from now on. Who is she? No worries! She is not a girl nor a lady. You’re still the one for me. ๐Ÿ˜€

“Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.” That’s how she describes herself. 1 So, basically Vim is a text editor. Period.

Then, comes a question, why Vim? Umm, frankly, it’s hot lately. I wonder how awesome it is. And yes, it is. Also, considering my needs of text (code) editing, and the hardware spec I have, I think Vim worth trying. Initially I have Atom, as I want something more legal than Sublime Text, that often (I mean always) remind me to purchase it. But with a lot of plugins I installed, it became more laggy. So I broke my idealism to avoid ST, and make use of it instead, until now sometimes. But ST is quite memory-greedy for my 2 gigs laptop, that I also regularly needs browser to run hand in hand while coding. I’m a coder by the way. ๐Ÿ˜€

Then the hero eventually came in. It’s Vim that now becomes my main text editor. Although I just already use it intensively since 2 or 3 weeks earlier. In other words, I am still getting used to it as a newbie Vim-er, of course. So I haven’t found it’s real hidden magic either. I’m sure with consistency and persistence, I’ll have it’s main enticement: productivity. And for now, I have to get along with her more. Wish me luck. ๐Ÿ˜€

Speaking of which, I use Vim in my Fedora KDE Spin, and run it in the beloved Konsole app. Here’s my screenshot of Vim.

Screenshot_20170816_101047.png
Vim with NERDTree plugin, makes it looks like GUI-based text editor with left pane

RPM Packaging tutorial for Fedora

Hi again! You might be surprised for I post this in less than 24 hours after the previous one, so did I.ย ๐Ÿ˜

Here will I share my first ever experience on packaging an RPM package in Fedora Linux. Umm, actually not the first time though, as I have been trying this before, but I didn’t record it in my mind. I mean I forget when or how it was going.ย ๐Ÿ˜ Continue reading RPM Packaging tutorial for Fedora