1,079 reputation
623
bio website github.com/anko
location United Kingdom
age 23
visits member for 2 years, 6 months
seen 1 hour ago

Engineer/artist; data visualisation specialist.


1d
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.
Sep
12
comment How to split text file into records by first non-blank charecter using awk and print only records containing string
As with most uncommented one-liner Perl, my first thought was "Did your cat just walk all over your keyboard?". Some clarification on what this is doing and why would be useful.
Sep
2
comment Find software package with greatest number of system manual pages
Interesting but strange query. Curious: What's the use case?
Sep
2
comment Why is the output of this paste command split on separate lines with indents?
The title could be edited to better describe the problem for people who are later Googling for similar things, but I can't think of a better one myself... Ideas?
Sep
2
comment Does “stopped” belong to “blocked” state?
Are you essentially asking how the generic process states listed on Wikipedia map to the process states as specifically implemented on a Unix-like system?
Sep
2
comment How can I embed a console app's output into my X11 desktop?
A search for "embed terminal into desktop" comes up with some promising results. Have you tried any of them and found any particular problem? What desktop environment are you on?
Sep
2
comment Create a directory if it doesn't exist in TCL
That's what I mean. If I run mkdir ~/test and I already have a directory called ~/test, nothing happens. If I don't, it gets created. Did you mean something else?
Sep
2
comment Create a directory if it doesn't exist in TCL
I'm confused. Just plain mkdir creates a directory if it doesn't exist and does nothing otherwise. You can pass --parents to ensure the whole chain of nested directories exists too. Why do you need a whole script for that?
Sep
2
comment Apache 2.4 mp4 streaming out of the box
This seems to have nothing to do with UNIX & Linux. Have you tried Webmasters SE?
Sep
2
comment How do I make “at”-tasks repeat at a specific time?
Your code block needed to be separated from the previous line by an empty line for the parser to recognise it as separate. When editing posts, you check the live preview underneath the source text to check if stuff has come out right.
Sep
2
comment How are files or chunks delimited on disk?
Did you try a higher-level file recovery utility first? What filesystem is this? (HFS+?)
Sep
1
comment zathura: How do I add a keybind for exec?
@FelixBou $FILE is the only substring that's treated specially. (It's here in the source.)
Sep
1
comment iptables to allow teamviewer
Does TeamViewer keep logs? (Those might narrow the issue.)
Sep
1
comment Urxvt cursor cutting off wide characters like 'w' and 'm'
Sorry, I messed up! Since I use a plain window manager instead of a desktop environment, nothing in .Xresources was actually being loaded. I ran xrdb -merge ~/.Xresources and sure enough urxvt did set the font correctly. It looks fine on mine though... I'm running out of ideas now. (By the way, X[defaults|resources] are just different names for essentially the same thing. Arch calls it .Xresources, hence why I used that.)
Sep
1
comment How to prevent a new user to inherit the files of a deleted user?
@Barmar That sounds quite wasteful, for machines that go through a lot of users, say in a university... Though now that I think about it, every university system I know appends a number when students have the same initials and never reuses previous numbers, even after the original initials graduate. Is such administrative wisdom documented somewhere?
Sep
1
comment Urxvt cursor cutting off wide characters like 'w' and 'm'
I haven't used urxvt in ages, but pasting that one line into .Xresources has no effect for me: urxvt still starts with the default font and logs nothing to stderr. However, I'm on Arch Linux and I put the font in /usr/share/fonts, which is hopefully not relevant, but maybe there are subtleties? Last thing I can think of: Does your config set letterSpace?
Sep
1
comment Urxvt cursor cutting off wide characters like 'w' and 'm'
The font works for me in evilvte. What's your urxvt config? (I don't think Compton and bspwm ought to affect any of this.)