348 reputation
18
bio website ellipsix.net
location Wuhan, China
age 28
visits member for 4 years, 3 months
seen 4 hours ago

I'm a postdoc doing research in high-energy particle physics. I also have a hobby interest in computer programming.

You can find me on Twitter, or check out my blog and personal website! Or you can email me at stack@ellipsix.net.

However, please don't contact me through any other channel about something that should be handled through this site. If you do, I'll probably just tell you to post it here.


4h
awarded  Critic
4h
comment what's the difference between using 'single quotes' or not in find command
In your first code block, did you mean for footest.txt not to exist before the invocation of touch?
Oct
24
comment combine two text files with adding some separator between?
In the last example, in bash at least, you can replace echo '***' | cat ... with cat ... <<< '***' which saves a couple of processes. (this is sometimes relevant)
Oct
15
revised bash's builtin time accepts %E - what's going on?
add a link to relevant source code
Oct
15
suggested suggested edit on bash's builtin time accepts %E - what's going on?
Oct
15
accepted bash's builtin time accepts %E - what's going on?
Oct
15
comment bash's builtin time accepts %E - what's going on?
Indeed! Though I'm pretty sure something is wrong (with the blame falling on the man page maintainers) if we really have to go to the source code to see the explanation for this.
Oct
15
asked bash's builtin time accepts %E - what's going on?
Sep
25
answered Is rsync really bidirectional or more unidirectional?
Sep
8
comment Why do I have to make my own drivers?
fair point - I should say, if there isn't a package available that contains the driver, then you have to download it manually. If the manufacturer, or whoever provides the driver, has a prebuilt binary package, you use that; if they provide the source code, then you need to compile it. That much is OS-independent. However it's conventional to provide only binary packages for Windows and Mac, whereas it's more conventional to provide source code for Linux, probably due to the wide variety of configurations Linux systems can have.
Sep
8
comment Why do I have to make my own drivers?
You install drivers using apt-get the same way you'd install any other program. You just need to figure out the package name that corresponds to the driver you need, and make sure it's in one of your repositories. If there isn't a package available that contains the driver, then you probably need to compile it from the source code, but that's no different from how things work on any other OS.
Sep
8
comment Why do I have to make my own drivers?
*NIX doesn't require you to compile your own drivers. In Linux distribution in which packages aren't compiled from source (most prominently Ubuntu), you download precompiled drivers and programs using the package manager.
Aug
4
comment How do you remember command options?
I fully agree with this answer, though I think it's worth emphasizing that it is normal to have the few most common options to common programs memorized, just because you use them so often. Like rm -i -f -r, ln -s, df -s -h, cp -r -i, ls -l -h -a, etc. (the list varies from person to person).
Aug
3
comment Can GPL software be bought by a company and still released as GPL?
One thing that might be worth clarifying: that the GPL only requires you to distribute software under the GPL if you are going to distribute it at all, but it doesn't require you to distribute it, period. I've seen people get confused by that.
Jul
19
comment How to make user passwords shown as a clear text in Linux?
@user78050 because the root user has no reason to know the passwords of other users, and it would be a major security risk to allow them to do so.
Jul
8
comment How can I tell when a file was compressed?
@vinc17 huh, I thought I did a test that showed otherwise but you're right. I've changed the answer.
Jul
8
revised How can I tell when a file was compressed?
fix statement about time
Jul
8
answered How can I tell when a file was compressed?
Jul
8
comment How can I tell when a file was compressed?
@Networker I don't believe so, because this is asking for when (not whether) the file was compressed.
Jun
30
awarded  Yearling