In case of emergency use ubuntu-drivers!

Your wireless drivers aren’t working, you spend hours looking for a solution. You find over 8k google results of people having the same problems over the years.

You are a big gamer, new to Linux. You just realized that the drivers you are using isn’t from NVIDIA or AMD.

The answer to a painless, and successful drivers installation? Use the command line tool ubuntu-drivers.

How to use it?

Well, all you need to do is open the terminal and type

sudo ubuntu-drivers autoinstall sit back, wait for it to finish and reboot. That’s all to it.

There’s also ubuntu-drivers devices if you want to see the drivers available, you can choose what to install with apt-get install [package name]

Samba, why are you so awful?

If you have ever had the privilege of working with samba you must know that it’s one of the most rage-inducing software available in linux. To us the casual users of it.

I’ve been wanting to share data back to my netbook. So one of the reasons I chose Ubuntu was because everything is easy to set up, right? Well, I guess Ubuntu 15.04 samba is still a nightmare.

It doesn’t make me happy that while I google the notification I get there’s an insane amount of posts regarding samba.

Why in 2015 do we still have samba troubles? Heck, my configuration file is incredibly straightforward, and yet I have to waste 2-3 hours of my life fighting with inane notifications.

Thing is, if I go to samba mailing list most veterants will go “it works for me”, or “that’s weird last time I used it worked”.

I guess I’ll go ahead and set up a NFS, at least setting it up doesn’t have any tricks.

Hello, Ubuntu 15.04 (Vivid Vervet)!

Hey! I haven’t done much on my end these days. I’m almost done with this trimester and I have to take care of my finals first than dabble in code. I do plan on keeping my little journal writing my progress and all.

Anyway, I upgraded to Ubuntu 15.04 (from 14.10). What can I say? I like to live dangerously. It was sort of rough mostly because there’s a bit of a priority problem, somehow some packages requires systemd to be installed but for some reason apt didn’t detect that small priority. Which is weird, but whatever I just did a apt-get install systemd systemd-sysv and it set up all the packages needing it.

I knew that the dist-upgrade wasn’t done though. I expected a total of 2 hours for my desktop to finish upgrading. I called apt-get dist-upgrade once again and off it went unpackaging everything it could.

So while I waited I played Triple Town which is a little casual game. And since I suffer from insomnia it’s pretty much a good time killer.

Triple Town

I guess I should add a side note that I don’t like mixing posts between programming and gaming because I feel like they shouldn’t be mixed. I also don’t like to pretend I’m some sort of guy that the only thing I talk is programming programming programming thus I prefer to just talk about anything I want. I guess a balance is in order. I like playing games and I also like to talk code. I’ve always felt that I can’t talk about both in a single blog…

Anyway, back on topic. So after the installation Ubuntu booted up quite swiftly and it resolved some of my headaches like CUPS randomly not starting. Now, I’ve warmed up towards systemd and I think it’s a really good init system. I also find the service files to be incredibly easy to manage in comparision to the old init system (pure shell scripts) and upstart.

After installation

Now, I’m not really sysadmin material. I’m both a normal user and developer so frankly I’m sure sysadmins have their own opinions about it.

systemd

To those wondering after the upgrade the system has been rock solid and I’ve yet to find weird funky business happening to my desktop. The first thing I did after installation was installing nvidia-346-updates to finally get rid of some issues I had while playing Bioshock Infinite, which it worked. (mostly tearing, how ironic, huh?)

I feel like Ubuntu Unity has to evolve at some point. I don’t know about you guys but while I think that Unity is decent it feels like a when you visit Dash there’s this stale look that doesn’t provide anything useful to the user.

GNOME 3.14 and Plasma 5 are looking fantastic. GNOME being the desktop environment that I would tread carefully because last time I just ended up going back to KDE after 12 hours of installing it. Plasma 5 is still rough around the corners so I wouldn’t really recommend it to anyone until the work out the kinks.

The stability of Ubuntu with Unity is great so far. The memory usage after logging is around 600-668mb which isn’t so bad.

Memory

Files (GNOME file manager) still needs to become functional again. I still don’t feel comfortable using it, in my opinion Dolphin (KDE’s file manager) remains to be one of the best file managers I’ve ever used and it’s actually quick loading files, unlike Files. (Oh, and please for the love of god bring back Compact View. Sometimes I question everything GNOME “design team” do…)

So there you go, Ubuntu 15.04 is looking up to be quite a hell of a release. Look forward to upgrade your Ubuntu machine!

Looking for projects to contribute

I guess you could say that this blog has become my little diary to write about my C++ adventures. There’s still a lot to learn; and I think it’s time to get my hands dirty by fixing bugs from other OSS/FLOSS software.

Fun with CPP

Initially my intentions were to contribute to the LibreOffice project, I haven’t forgotten about that. Sadly I need to get the hang of C++ before doing any sort of meaningful contribution.

I’ve been browsing through Github projects to see if there’s a C++ project I could contribute but nothing has piqued my interested.

Fun with CPP 2

As for the images. That’s just me toying around, we’ll see how things go from here. I still need to finish reading Accelerated C++, which I’m not really that far from the end.

If you have any suggestions on which project I should contribute let me know.

GPG keys updated

I’ve updated my GPG keys. I’ve been dealing with a case of losing my secret keys and therefore I can’t retrieve my old keys or do anything with them, I can’t even revoke them if I wanted to (as far as I know).

Bah!
I ended up generating a new pair of keys, this time I just backed up .gnugp and export the secret keys in hope that if I lose them in transition to another distribution I’ll have it restored in no time.

And yes, I DID back up my old keys. For some reason I could list my keys, but I couldn’t list my secret keys. I only had my public keys.

This doesn’t mean much to people in a way. However, if you have been downloading WINE binaries from my server and you are a responsible person (unlike me 🙁 ) then there’s a high chance you’ve been validating my signatures against the archives I’ve uploaded.

I don’t think my keys have synchronized with the public key servers. Anyway the key ID is now 4B505975.

:::bash
gpg --keyserver [the keyserver] --recv-keys 4B505975

Finally, my first e-ink reader!

So, please close to me know that I’m not exactly made out of buck. I may be working my buttocks off studying and planning ahead to leave the place I live. I don’t have all the priviledges that many people have. Heck, even the hosting I’m on, which is DigitalOcean, runs on a server paid by a $100 voucher granted by Github Student Pack.

And I am thankful for that. I’m not some big shot develop earning $120 bucks per hour, neither do I live in a place where the job market is in a healthy state for programmers, plus here they’ll just ask you to be a jack of all trades. Don’t know something called “Angular”, too bad!

You just learn to value things, I guess. Being constantly short on money is quite something.

Anyway, I was able to afford my first NOOK Simple Touch. Proudly bought on eBay used and recertified. The whole e-ink technology fascinate me a lot.

Simple Touch

I’m still wondering which ebooks I should load it with first. Hopefully I’ll pick 2-3 books for this month and try to finish them.

That said, I’ve been extremely happy with it. I actually have been reading a short book and while it’s not the most responsive device ever, it sure knows how to impress me with its font rendering and screen in general.

Ubuntu, you look wonderful!

I’ll probably disappoint plenty openSUSE fans with this post. Yes, I’ve ditched openSUSE in favor of Ubuntu, and I’d like to believe my reasons are sound.

Ubuntu 14.10{ .center }
I had problems with openSUSE, mostly with their rolling release which inexplicably I had to spend a lot of time dealing with buggy packages, in comparison to Arch Linux which is surprising… but well, this post isn’t about pointing the flaws of openSUSE, or any rolling release distribution.

In a nutshell:

  • Plenty of unstable packages
  • Dependency hell (this one annoyed the living hell out of me)
  • And most importantly, zypper ended up frustrating me. I know a person who told me zypper is faster than apt. I’m scratching my head wondering what was he smoking. At the very least, zypper is one of the slowest package manager I’ve used in my life. yum is pretty fast in comparison, pacman remains the fastest.

And I wasn’t happy with all the friction I had to deal with in openSUSE. Enough of openSUSE, let’s talk Ubuntu.

So, I should let you know that I haven’t touched Ubuntu’s main flagship in years. I also should tell you that my heart belongs to Debian and its based distros which is why I feel five times more comfortable using Ubuntu.

I am enjoying the Unity experience. I’ve heard a lot of “awful experiences” from users, I gotta give it to the Ubuntu team: Ubuntu 14.10 is fantastic.

In terms of getting everything running, due to my knowledge of Debian and its packages in less than two hours I was up and running with all my development applications. That’s really, really fast!

Everything works. The pain of setting Spotify is gone, the pain of dealing with fonts is gone.

I’m a DIY (Do it yourself) guy. I don’t like getting spoonfed, however this type of spoon I love. The whole Ubuntu is “bloated” is itself a fallacy probably chanted by neckbeards or zealots who, in my opinion forgets the main purpose of Ubuntu.

And I gotta say, after learning the little shortcuts of Unity and setting up hotcorners for fast access I’m all set.

I wasn’t planning to jump ship to Ubuntu. Yesterday I just got fed up on dealing with openSUSE. It was time to jump ship. I frankly never expected Ubuntu be this refreshing to use.

Ubuntu 14.10 using Nemo with Unity patches{ .center }

Why asking is annoying

I find that asking people for help has become an incredibly tedious task given the answers are so opinionated, and warmly unwelcome.

You, and me? We want answers. Not your half-assed opinion on why you believe you shouldn’t obfuscate code, or getting questioned why you are implementing DRM. See, I saw StackOverflow as that site to learn and satisfy that hunger on how things get done. What we get in exchange (no pun intended) is a soap opera of morals.

Taboo questions are not allowed. It’s like throwing out the purpose of StackOverflow usefulness. You have a question, if you don’t have an answer then don’t leave a comment.

I know, I sound a bit abrasive but I’m not really mad; annoyed would be the right word, I guess.

I didn’t plan to use StackOverflow as an example. However the more I thought about it the more I realize that it was actually a perfect example on why asking is incredibly annoying.

So you get all these opinions, you are scratching your head why people think it’s okay to flood your question with comments instead of you know, giving an answer.

Plenty of people want to get the word out there and show how smart they are. Or make a taboo question like a soap opera to the point that the it becomes too controversial and the moderator has to close it with all the mundane comments.

Have we fallen into a trend?

Have we? I hope not, sadly I think we have. It’s not rare, especially in mailing lists such as Debian that whenever someone asks something there’s this flood of people saying leaving incredibly off-topic comments in the subject:

“Oh, why use that? You should use XXX software.” – random joe

“Why use that bloatware in the first place? You know what you should install Arch Linux” – random joe (I just wanted to poke the fun in Arch Linux users though, whenever someone asks which distribution a user should use everyone turn their heads and say “GO USE ARCH LINUX!” hopefully their mouth aren’t foaming in crazy.)

“Hey, can you install the debug packages? I couldn’t reproduce it here so I need to coordinate with you to fix the problem” – Developer of XXX software, his comment never reaches the recipient as he/she has given up.

And this trend has to end. There’s a fine line between having opinions on a matter and keeping quiet about it and sabotaging a whole question thread because you didn’t like what you heard. It’s childish.

The internet has gotten louder, and quite frankly way too annoying.

Yes. I’d like to say it’s a good thing, but it isn’t. Comment sections has gotten worse than they were. A lot of people out there want to prove to the world that they are right on the subject.

Discussion never takes place. I think somewhere moderators are just drinking scotch/whiskey silently weeping in bed in the hopes that someday there’s actual discussion and not an ego fight.

Which is why ultimately we become arrogant bastards

I’ll admit a lot of things I say and how I word it comes off as arrogant. This is done deliberately. I’m telling you that, “I will stick to my guns no matter how much you cry your lungs out”. And it’s not a matter of becoming someone impossible to deal with; it’s far from that. If I want an opinion I would create a thread with the respective tone that I want to discuss said topic. If I’m looking for answers, then I want answers and that means not your opinion.

And this get people a lot. Citing Linus Torvalds: “This ‘you have to be nice’ seems very popular in the US”. Nothing personal, I actually didn’t want to bring nationalities to this post, but it must be done.

I think I have said enough. Asking about things have gotten way too tedious, every corner has a person waiting to give your a comment instead of an answer. Your wish to improve in the programming language of your choosing is a road full of noise.

“It’s dangerous to go alone! Take this!” get some earplugs to block that noise.