1,223 reputation
625
bio website github.com/anko
location United Kingdom
age
visits member for 2 years, 8 months
seen 2 days ago

Engineer/artist; data visualisation specialist.


Oct
30
comment Where are default compose-key bindings stored?
Dang, I forgot strace existed. Great detective work. Thank you!
Oct
29
comment Gnome: forcing an application to start on top
You didn't really answer any of my questions…
Oct
29
comment Gnome: forcing an application to start on top
Why is a new window being displayed below others in the first place? It sounds like something is buggy. I see from tags you're using Gnome; are you running the default window manager? Are other programs setting "always on top" hints? (You can check the latter with xprop and looking for related EWMH hints).
Oct
25
comment Is it possible to create an edited copy of a file without using up extra disk space?
Brain dump: diff detects binary files and switches to summary mode, printing just Binary files X and Y differ, which is supremely unhelpful for patching. You can force it to treat the files as text with --text, so it prints the full listing. Those diffs apply cleanly with patch, though you'll want the --binary flag to disable line-ending conversion. Better-compressing binary patch tools exist though. (Feel free to edit these into your answer.)
Oct
11
comment Graphical issues in vim
I don't understand. Why do you think those things might be related? It seems like coincidence. People often bind keys over default bindings because they weren't using the defaults.
Oct
11
comment Graphical issues in vim
You can also force vim to clear-and-redraw with Ctrl+L or :redraw!.
Oct
5
comment How to write this pseudocode where condition
"Pseudocode" makes this a general programming question. →SO?
Oct
5
comment Straightforward Linux Clustering
The link looks to have died…
Oct
3
comment Wipe out windows 8 just leave OpenSuse
How about dd if=/dev/zero of=/dev/sdX to wipe the whole disk and start fresh? If you really don't care about what happens to Windows, surely this is fine?
Oct
3
comment I get an error whenever I try to add myself to sudoers
OK, but in what way? Does your /etc/sudoers resemble this? Importantly, does it include the line %sudo ALL=(ALL:ALL) ALL? That's what gives the sudo-group powers.
Oct
3
comment I get an error whenever I try to add myself to sudoers
How does your /etc/sudoers file look? (I don't use Debian, but I've got the wheel-group configured to have sudo-rights, not the sudo-group.)
Sep
30
comment GIF screencasting; the UNIX way
@JackO'Connor Thanks for the heads-up. I'll investigate once I have some time. (If you reasoned out the right line already, edits would be appreciated!)
Sep
22
comment How to tell Firefox to skip connections going to a specific address?
If you use Adblock Plus, you could add a custom filter rule.
Sep
22
comment scp between two servers not in the same network
@Ángel I carried the -e none is necessary-"fact" from Matt Might's great SSH introduction without doubting it. But you're right: With the escape character set as the default tilde, echo ~.hi" | ssh remote 'cat' produces ~.hi as output instead of quitting the session like the ~. would suggest in a pty. I'll amend the answer and ping Prof. Might. (For the record, this is on Linux with OpenSSH 6.6.1p1.)
Sep
22
comment scp between two servers not in the same network
ssh has a -C flag to enable stream compression. According to the man-page, it uses the same algorithm as gzip though. The manual page also helpfully elucidates when to use it: "Compression is desirable on modem lines and other slow connections, but will only slow things down on fast networks."
Sep
21
comment FTP connection to Linux Mint: 550 Permission denied. Error: Critical file transfer error
"Permission denied"? Does the user you're logging in as have persmission to create files in the directory you're trying to move files to?
Sep
16
comment Can't install right grub on ArchLinux
"I'm getting this error: <blank line> <next sentence>" → What error?
Sep
13
comment Why does the location of Enviroment Variables vary that much?
The getenv manual says it returns a pointer to a string containing the variable's value. Everything else is unspecified, so your kernel and/or compiler can stick the value wherever they want, as long as that pointer-promise stays true. I'm guessing the exact answer to this may be heavy wizardry and depend on various memory mapping implementation details and the phase of the moon. (I am not wizard enough to give you the exact answer.)
Sep
12
comment Place the cut field in the desired position of ouput file
I don't understand. What is your input file's format? What exactly do you want the output to look like?
Sep
12
comment How to split text file into records by first non-blank charecter using awk and print only records containing string
Are you sure the string "apollo" will only appear once, or only appear in those un-indented "headers"? I'm asking because that input file looks like the (potentially unpredictable) output of another program, which makes parsing code very vulnerable to code rot.