Nam Vu Personal Site
  • Home
  • My Works
  • My Photos
  • My Blog
  • Pet Projects
  • Freebies
  • About
Nam Vu Personal SiteNam Vu Personal SiteNam Vu Personal SiteNam Vu Personal Site
  • Home
  • My Works
  • My Photos
  • My Blog
  • Pet Projects
  • Freebies
  • About
November 5, 2019

Note to self: how to copy files to Google Cloud VM Instance as Root using WinSCP

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Tips & Tricks

If you use VPSSIM or any other administration script in your VPS or GC VM Instance, you’re probably finding yourself unable to copy or modify anything when connecting to your server using WinSCP.

The reason is that, by default, your server is configured to only allow key pairing authentication, so in order to login as a regular user, you have to do 2 things. First, enable password authentication and secondly, enable Login as Root

To connect as Root, you first need to set a password for your Root user (sudo passwd), then allow logging in remotely as root. To do so, fire up your /etc/ssh/sshd_config

nano /etc/ssh/sshd_config

 

Add a line in the Authentication section of the file that says PermitRootLogin yes. This line may already exist and be commented out with a “#”. In this case, remove the “#”.

# Authentication:
#LoginGraceTime 2m
PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10

Scroll down a few lines and change this line:

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
PasswordAuthentication yes

 

Save the updated /etc/ssh/sshd_config file and restart the SSH server (service sshd restart)

Should be good to go now


August 14, 2019

My Electron Toolbelt

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Tips & Tricks

Love it or hate it, Electron is now an important part of your everyday life. For those who haven’t heard of it by now, Electron is a software framework that enable developers to create desktop applications using web technologies (HTML, CSS, JS). It garnered a lot of attention in recently years.

Sure, many elitist developers have publicly spoken against it. They argue that their performance is sub par comparing to native applications, even go as far as calling Electron apps “web pages”. In reality, they were correct, and also completely missed the point. What Electron brings to the table isn’t performance, but availability. Electron massively lowered the barrier-to-entry in desktop software development, and cut the cost of porting applications across platforms to almost nothing at all. Truth is, I think what the elitist developers are so pissed off about is that fact Electron enabled ‘lesser devs’ to build beautiful, functional apps that work cross-platform, something that would take decades for them to achieve.

While I can see why the old devs are unhappy with these changes, as an end user I couldn’t be happier with Electron. It’s a godsend.

Anyway here’s my list of Electron-based apps that I couldn’t live without

Read More

August 14, 2019

My ghetto $40 home cloud server/media center setup

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Tips & Tricks

So I have a bunch of old hard drives laying around. About 5-6 different hard drives of various capacities ranging from 1TB to 2TB, not counting the 2.5″ drives. Looking at that pile, naturally the first thing that comes to mind is building a NAS. I was going to get a cheap Buffalo NAS for around $50 but then I realized I’d also need it to double as a workstation since I do need (I think ‘need’ is the right word) a computer in my workshop

Here’s the parts I used:

Hardware Setup:

Mobo: Lenovo MTQ45MK -est. $15 | salvaged from an old ThinkCentre M58, what I like is that unlike most OEM PCs, this mobo actually has 4 RAM slots, making it a lot cheaper to add more memories since 2GB sticks are dirt cheap.

CPU: Intel Quad Q6600 -est. $8 | probably the best bang for the buck CPU you can get for socket 775, a quad-core processor that goes for under $10, with an amazing overclocking head room (not that we are going to be doing any OCing, but it’s nice the have the option)

Memories: (x4) Kingmax 2GB DDR3 1333Mhz -est. $4/ea | DDR3 memories are cheaper than dirt these days, plus you most likely have stick or two already lying around somewhere. I already 2 sticks so I only needed to order 2 more. If you want to meet FreeNAS minimum requirements, this is probably the cheapest way get at it, at $16 for 8GB.

Read More


How to install the latest version of NodeJS on MX Linux 18 “Continuum”
May 25, 2019

How to install the latest version of NodeJS on MX Linux 18 “Continuum”

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Linux, Tips & Tricks

I recently needed to install a couple of packages using npm on my MX Linux box. Now MX Linux is fantastic distro, but their repos leave a lot to be desired.

I basically did a standard sudo apt-get install nodejs, I soon realized that this version of node is severely outdated, and thus utterly completely useless, as you can’t even call npm from the CLI. So I turned online for help, surely someone else must’ve come up with a working solution.

Turns out, somebody did.

The problem is, it didn’t work.

Not on my installation of MX Linux anyway. The script always failed with this message

## Your distribution, identified as "Continuum", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support

This puzzles me a lot because Continuum was clearly listed as one of the supported distributions right inside the script itself. So I turned to Reddit for help, and they delivered. It appears that listing Continuum alone wasn’t enough, you actually need to append MX or mx-linux in front of it to be identified correctly.

So long story short, here’s the instruction on how to install the latest release of Node.js on MX Linux 18 Continuum

Read More


Zeplin Desktop client for Linux
November 10, 2018

Zeplin Desktop client for Linux

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Linux, Tips & Tricks

As mentioned in one of my previous posts, we now have an excellent tool for screen design to work on right there on Linux. But what about design handoff? With Figma, normally you have 2 choices for handoff: one is Avocode, the other is Zeplin. Most people would prefer Zeplin since Avocode is a subscription based abomination. But there’s one problem for Linux screen designer: Zeplin does not have a desktop client for Linux. Now this isn’t much of an issue like other softwares because they have a webapp, but you can’t integrate Figma with the webapp, unfortunately.

After looking around, I realize Zeplin, like many other great web-based apps, was built on top of the execellnt ElectronJS framework, that means porting it is fairly trivial. After murking around, I came up with this, let me know if it works:

Download zeplin-linux-x64.tar.gz

Made with nativefier

So now that we’ve managed to make desktop client for both Figma and Linux, it should be trivial to integrate them right? Well not really, turns out the folks over at Figma currently only has the integration option enabled for their Windows and Mac client. If you’re a designer working on Linux right now, and need Figma & Zeplin integration, consider spamming their support blog for this feature. I mean, we did that hard part, creating the desktop clients for them, right? All they need to do now is enable integration between the 2 apps.


October 29, 2018

Essential things to get things done in Linux (2019 edition)

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Randomness

Ok I’m gonna give an honest list of the best software to use in each category in MY unbiased experience. What I mean by unbiased is that I will pick a software base solely on the overall user experience that it provides (functionality AND aesthetic), REGARDLESS of whether it’s Free software or not. Most other list will either be sponsored or heavily biased toward free software, and since there’s only one or two decent software in each category, you’ll end up seeing pretty much the same list over and over again, year in and year out.

It’s not that I don’t support free software, quite the contrary I’m actually a huge supporter of free software (why else would a graphic designer like me use Linux as his primary working platform). But I’m also aware that for a platform like Linux to gain traction in the end-user market, it needs support from software developers. Yes, all of them, even proprietary software. After all, you can only reasonably expect a program to function correctly if the developer behind it has the incentive to make it better.

Onto the list, my choices are based on the following criterias: function, aesthetic, and performance.

  • Function means it has to get the thing it was designed for done, that’s the baseline.
  • Aesthetic means it has to have a well designed interface. This is, for the longest time, the weakest point in most opensource software. Obviously it’s not as important as Function but IMO still a far more important aspect to software than most people give it credit for. A well design UI/UX will boost your productivity by a wide margin.
  • Performance means the software have to perform at its best on Linux, meaning no emulated Windows or OS X App, VMs are out of the table also. That doesn’t mean the app have to be native, mind you. It’s 2018, I will also gladly choose app created with web technologies like Figma or Vectr, granted that it runs consistently on Linux just as it does on any other platform.

 

Here we go

 

  1. Best Linux Distro: Deepin OS

List that are Freeassed will tell you about Ubuntu, Mint or Fedora

I’ve used quite a lot of different distros in my time. Off the top of my head, I’ve used Ubuntu, Mint, elementaryOS, Majaro, Arch, Fedora, Zorin. You can see there’s no Gentoo, Red Hat or CentOS in my line up. That’s because I’m not a power Linux user, I only choose distros that boast userfriendliness, aimed at the end user, with pretty interfaces. And judging by the criterias, Deepin OS takes the trophy.

I remember some 15-16 years ago, when Vietkey Linux – the first ‘Vietnamese’ operating system hit the mass. Yes it was simply a reskin of Red Hat, with little change under the hood, but it got me into liking the platform. Back then, the UI of Linux in general, compares to its contemporary counterpart Windows XP, was nothing short of a massive pile of steaming garbage. And then Ubuntu came along with its sweet streamlined interface and Compiz-powered effects. I was completely blown away.

Fast forward 16 years later, when pretty much everything on the market more or less has a good UI, I didn’t expect to get that sensation again, but then I did, when I installed Deepin OS.

To be honest, my expectation for the distro was low, mostly due to my previous experience with a Chinese distro called Red Flag Linux, yes I do realize the irony of the name. But the Deepin experience wasn’t like Red Flag, but more like MIUI. It’s clean, it’s fresh, packed with little touches that indicates there was involvement from real UI/UX/IxD designers. Unlike most Chinese product, Deepin didn’t feel like a copied and pasted product, because it’s not. The overall user experience is very pleasant (except for the setting sidebar, I mean, who brilliant UX designer was it that think people want the settings they’re changing to disappear everytime they click outside the window?)

Overall. I rate this a 10/10, the first time I ever rate a distro this high. Meaning this is a mature product, complete and ready to compete with the likes of Windows and Mac. It’s currently my production platform.

 

  1. Best Office Suite: WPS Office

List that are Freeassed will tell you about OpenOffice and LibreOffice.

Yet another software from China, by now some people must be think I might be a commie. Well I actually am, but that’s not why I choose WPS Office. I choose it simply because it is THE best office suite for Linux, in every way. LibreOffice is based on OpenOffice, this massive pile of Java code that is both fugly and sluggish. WPS on the other hand is responsive, good looking, has great compatibility (it saves as microsoft file format instead of its own), AND portability (1GB of cloud storage means you can access your file anywhere, anytime instead of worrying about forgetting to hit Ctrl-S.

Overall, the only reason why WPS hadn’t dominate the Linux office world yet is because a lot of people still use Office for idealistic reasons rather than focusing on productivity reason (and also, many people don’t trust Chinese softwares, much less storing sensitive files on their cloud). They are all valid reason, but for me, WPS is the office suite of choice.

 

  1. Best raster graphic editor: Krita

List that are Freeassed will say it’s the GIMP

As one of the longest supporter of the GNU Image Manipulation Program, it makes me sad that the software had lagged so far behind. For a while, it was considered a Photoshop ‘alternative’, and some still calls it that, but we all know that’s not the case anymore. While the offering from Adobe has received a crapton of new features over the years due to their massive resources, our beloved GIMP still look and feel like the same guy we use 10 years ago. Even the image editor that comes with K-Office: Krita beat the GIMP in every aspects. Maybe it’s time we let it rest.

Krita on the other hands had seen massive improvements over the years. It now has the UI of a professional image editor, something that the GIMP couldn’t accomplished after decades of development.

 

  1. Best vector graphic editor: Gravit Designer

List that are Freeassed will say it’s Inkscape

Don’t get me wrong, Inkscape is a heavy contender. The gap between Inkscape and AI is far smaller than the gap between GIMP and PS. And yet I still have to choose a web based app over it due to its ease of use, its beautiful aesthetic, and portability (storing files on the cloud ftw!)

 

  1. Best screen design tool: Figma

List that are Freeassed will have no idea what it is.

Screen design tool is a new software segment, one that didn’t exist just a few years ago. I myself didn’t even know of their existence until Adobe released their Adobe XD a few years ago. Yes I know that was already pretty late since Adobe themselves were late to the game, XD hit the market as a response to Sketch’s popularity. Like I said in a previous blog post, I believe that despite its massive popularity, Sketch’s days are numbered, killed by free cross-platform tools like Adobe XD and Figma.

Figma is not the best screen design tool on Linux, nor it is the best screen design tool on the web. It is THE best screen design tool, across all platform, period. Everything you do, you do directly on the cloud, you don’t ever have to worry about hitting Ctrl+S ever again!

 

  1. Best 3D software package

August 19, 2018

Install Unity3D on Deepin Linux 15.6

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Linux, Tips & Tricks

DoQnK01

Okay this post is nothing but a link, which is this one:

Download Unity 2017.4.9f1 (latest version as of this post (yeah I know, it’s almost 2019 but I guess Unity isn’t big enough to hire a real Linux maintainer)

Seriously, that link should’ve been the first result when you google ‘Unity3D Installer for Linux’, but google thinks you want to read a blog post instead. Typical third rate search engine.


August 19, 2018

Installing Autodesk Mudbox 2018 on Deepin Linux 15.6

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Linux, Tips & Tricks
Mudbox 2018 running on Deepin Linux 15.6

Following my previous post on how to install Maya 2018 on Linux, today I’m gonna be installing Mudbox 2018. But instead of forcing you to go through all that craps, I’m just going to condense the steps into this simple script. Just run this thing and be done with it. (If you need the installer, you can grab it directly from Autodesk, for some reasons they try to hide the 2018 version from my account, only showing 2017 and older, I had to dig up half the server to hunt down this link) Read More


August 15, 2018

Working on Linux: Restore Firefox’s normal behavior

  • Posted By : Nam Vũ/
  • 0 comments /
  • Under : Linux, Rants, Tips & Tricks

Configure Firefox without About Config with an Add on 01

One of my main gripe when switching from Windows to Linux is that my favorite web browser Firefox doesn’t behave exactly the same way it does on Windows. Specifically, 2 things that bother me the most are:

  • The Backspace button doesn’t go back to the previous page
  • Clicking on the url address bar doesn’t automatically highlight the entire line.

Fortunately, it’s possible to change those behaviors simply by fiddling around with the settings a little bit. You’d want to go to your about:config page and change the following values:

  • Find browser.backspace_action and set the value to 0 (default is 2 or something). This will make the backspace button behave as it does in Windows.
  • Find browser.urlbar.clickSelectAll and set the value to True

And that’s about it. Personally I can’t understand why the developer would choose to keep these little annoyances. If it was just for a versions or two then we could accept it as bug but it’s been many years since these behaviors were implemented. The fact they’re still there mean that they are intended. Maybe they were made by Mozilla devs who are actually Microsoft moles who want to low-key diminish the user experience in Linux, I guess we’ll probably never know.


Recent Comment
  • User on Cursor stole your ‘code’ command? Here’s how to revert it: “Useful. Thanks” May 8, 21:39
  • Super on Cursor stole your ‘code’ command? Here’s how to revert it: “Thanks” Apr 11, 19:13
  • Hyper on Cursor stole your ‘code’ command? Here’s how to revert it: “Thanks” Mar 12, 15:39
  • helmut on “Invalid Location” error when trying to add SynoCommunity Repo: “nice ty” Jan 13, 22:36
  • Paul on “Invalid Location” error when trying to add SynoCommunity Repo: “Thanks for this, worked a treat” Dec 31, 00:16
Categories
  • AI Art
  • Design
  • DIY
  • Freebies
  • GameDev
  • Home Networking
  • Linux
  • Music
  • My Apps
  • Randomness
  • Rants
  • Side Projects
  • Songs I like
  • Tips & Tricks
  • Tributes
  • Uncategorized
  • UX Design