1,158 reputation
513
bio website juliano.info
location Sao Paulo, Brazil
age 32
visits member for 4 years, 1 month
seen Aug 1 at 10:37
Computer Science Bachelor, Software Engineer, Open Source enthusiast and Network Systems Administrator.

Jun
12
comment Command for forcing a pointer ungrab (captured mouse release)
I started having this problem with Firefox 13, and a web search brought me to this question. Are you by any chance using the Tree Style Tabs extension? It seems to be some problem with dragging tabs.
Jan
5
comment Is there a shortcut in bash to delete the last segment of a path?
In zsh, you may need to add bindkey "^[^?" vi-backward-kill-word to your .zshrc.
Dec
29
comment What causes swap files to be created?
@JAM Generally no, it is a Vim feature. I doubt these files are being written directly from your program without you knowing, it doesn't make sense. It is much more probable that you are confused, these files are being created while you edit the files with Vim, and you are attributing them to your program.
Jul
6
comment Make mistakenly thinks rule succeeded because of 0-sized file generated by output redirect
Yes, it is a good idea to keep partial files around for debugging, but that would complicate the solution a little. I added the bit about false, good.
Jun
7
comment Is route add … the best way of directing traffic through a vpn
Honest question: Can't you just use the PPTP module of NetworkManager?
Jun
7
comment Prevent showing time stamp message when running “tar xzf”
Fix your system clock and timezone. Try NTP.
Apr
22
comment General Linux support for IPv6 ready?
As I just mentioned in another question, stop using ifconfig, it is obsolete. The correct command is ip addr show or simply ip a.
Apr
22
comment Inability to use IPv4-mapped IPv6 on debian squeeze
@Mike: clarified in the answer above.
Apr
22
comment Inability to use IPv4-mapped IPv6 on debian squeeze
@Mike: 192.168.13.236 is an IPv4 address. It doesn't make sense to add it to the IPv6 stack, not even by changing it to a IPv4-mapped IPv6 address like you are trying to.
Apr
22
comment Inability to use IPv4-mapped IPv6 on debian squeeze
It depends, perhaps I'm confused by your distinction between "dual-stack ipv6" and "ipv4 address".
Apr
22
comment Inability to use IPv4-mapped IPv6 on debian squeeze
@Mike, dual-stack means that the system supports both IPv4 and IPv6, each one on its own stack. ip -4 a will show you the IPv4 one, ip -6 a will show you the IPv6 one. Simply ip a will show both, plus MAC addresses.
Apr
22
comment Inability to use IPv4-mapped IPv6 on debian squeeze
in my answer. Ifconfig was last updated ten years ago; it uses the obsolete ioctl() interface instead of the new netlink and thus doesn't support anything past Linux 2.2. It is an abomination that distros still include it. Also, discussion, Debian bug, etc.
Apr
22
comment Inability to use IPv4-mapped IPv6 on debian squeeze
Step 1: stop using ifconfig.
Apr
22
comment What should I use when cut doesn't cut it?
@pepoluan Thanks. Added it to the answer.
Apr
18
comment Why does US International Keyboard break Alt_R
It is not a bug, neither in GNOME, nor in Xorg. This is intended behavior. Right Alt is AltGr, not the same as the left Alt. It just so happens that U.S. English has no use for AltGr, so if it is the only keyboard layout loaded, it is mapped to the same modifier as left Alt, for compatibility with really old systems.
Apr
18
comment Why does US International Keyboard break Alt_R
@deuberger: Yes, it is likely that simply adding the layout as available will revert the right Alt key to its original meaning. The right-Alt-same-as-left-Alt is an exception that only makes sense if only U.S. English is used (and that is for backwards compatibility). If you add other layouts, it implies that you will use them. The modifier mapping and keyboard layout are achieved in different layers inside the xkb code.
Apr
13
comment How do I know if dd is still working?
Not answering your question, but your times are quite high IMO. Did you remember to pass a bigger block size to dd other than the default 512 bytes? dd ... bs=16M is my suggestion, given your RAM, disk size and speed.
Feb
27
comment Fast way to build a test file with every second listed in YYYY-mm-dd HH:MM:SS format
Your requirements are very strange, why do you need a file full of timestamps? Perhaps you are ignoring the obvious solution that does not involve using the shell and a megabyte-long file of easily computable information...
Feb
6
comment Detailed sparse file information on Linux
Filesystems don't need to support anything with the lseek() interface, the kernel witelists the filesystem modules that support SEEK_DATA/SEEK_HOLE through a module property. This is in the manpage itself and the linked blog: "For filesystems that do not supply information about holes, the file will be represented as one entire data region."
Feb
6
comment Detailed sparse file information on Linux
There has to be some FS-agnostic way to have this information. Reading directly from the inode is definitely not an option. I was looking for something like SEEK_DATA and SEEK_HOLE parameters for lseek(), like there are in Solaris: opensolarisforum.org/man/man2/lseek.html