255 reputation
29
bio website pyg.readthedocs.org
location
age 19
visits member for 3 years, 8 months
seen Sep 16 at 18:39

Code complexity and other software metrics for Python!

Here is the documentation: http://radon.readthedocs.org/
And the GitHub project: https://github.com/rubik/radon


Jun
29
comment Archlinux, move files to a different partition
Just a typo in the first mount! Argument order should be reversed. :)
Jun
29
comment Archlinux, move files to a different partition
Oh, so you say we should leave the question unanswered?
Jun
29
comment Archlinux, move files to a different partition
Well it didn't let me use mv because it was an inter-device operation, so I had to cp first and then rm. But now everything's ok!
Jun
29
comment Archlinux, move files to a different partition
@bdowning: Since I don't think there is a better way to do it, if you make an answer out of your comment, I'll gladly accept it.
Jun
29
comment Archlinux, move files to a different partition
@bdowning: Ah, thank you for confirming what I was thinking. At which point should I run genfstab, at the end, after having mounted the right /home?
Jul
20
comment With which user should I run web servers, redis & mongodb?
I'm now configuring things and with multiple users setting specific permissions is easier!
Jul
20
comment With which user should I run web servers, redis & mongodb?
Well thanks! Yes, when installing redis for example I found that a redis user was created as well. I will follow this advice, thanks.
Jun
6
comment Super slow internet requests
@schaiba: This is weird: with dig command I can see that the query does not take more than 100 ms even using the router DNS...
Jun
6
comment Super slow internet requests
@schaiba: Ok, here it is: pastebin.com/ifeWahk1. I read that I can change the DNS server IP so I'm thinking of switching to Google DNS. The problem is that dhcpcd will override it. What do you suggest? Is write-protecting /etc/resolv.conf enough?
Jun
5
comment Super slow internet requests
@HaukeLaging: Thanks, did that. As schaiba suggested it is really probable that the problem is the DNS lookup, as it shows that to load stackexchange.com it took 8.35 s, 8 of which were due to DNS lookup.
Jun
5
comment Super slow internet requests
@schaiba: Unfortunately I cannot interpret what's inside /etc/nsswitch.conf, even with the help of some online resources. I pasted it here anyway: pastebin.com/Gr7n78PX
May
17
comment Gimp core dumped
@WarrenYoung: I also opened a thread on ArchLinux forums, hoping to get some more help. Here it is (more information): bbs.archlinux.org/viewtopic.php?id=163387
May
16
comment Gimp core dumped
Eheh sorry @WarrenYoung! I'm no expert and I don't even know where to find this core file. I now discovered systemd knows about it and I have the file. I also discovered volumeicon does this as well (identical error). Gimp version is 2.8. Here are the files: drive.google.com/…
Aug
31
comment Start Vim as my user with root privileges
Well, I think this is the best answer. Thank you both.
Aug
30
comment Start Vim as my user with root privileges
Nice solution! I'll check this out as well.
Aug
30
comment Start Vim as my user with root privileges
That's great, thank you. I solved like this: alias svim="HOME=/home/user && sudo vim -u $HOME/.vimrc".
Aug
14
comment New bash prompt causing issues
Wow it works very well. I just added bold_style=$(tput bold) and \[$bold_style\] at the start of the string to make everything bold like in my question.
Aug
14
comment New bash prompt causing issues
Thank you! I didn't know of tput. This way everything is more clear and readable. Thanks!
Aug
14
comment New bash prompt causing issues
Oh I hadn't understood that every control sequence needed to be wrapped like that. Thanks!
Apr
17
comment How to get the name of the user that launched `sudo`
Thank you for the advice. Ok, I will set my euid to SUDO_UID.