could I get advice on small-scale/cheap consulting? or pointers to better places to ask such a question?
everything (on my end) is running on Linux (specifically Debian)
I need to tunnel one VPN (hard requirement) over another (just my idea for a cheap way to meet some other hard requirements--might be other ways to do this) in order to SSH to research computing I need to finish my thesis project.
if I can't get this working, I'll hafta punt on the project--it's currently unfunded, and my savings burn rate is significant
it's definitely too weird for the support folks @ the site hosting the clusters to which I need to VPN--they only run/support XP (still! in 2015!)
and the folks at my university are not interested, since this is not on their network
so I need help from someone who knows more about TCP/IP than I do, but I'm currently unfunded, so my current income==0, but very much need to solve this problem, so would pay what I could.
I'd appreciate help pro-bono, and am not embarrassed to ask because (1) all my work is open: open-source, open-science code and docs on open repositories--I'm even [openly documenting this problem/solution](https://bitbucket.org/tlroche/linode_jumpbox_config/wiki/Home)--and everything's running on Linux (2) [my research](https://bitbucket.org/tlroche/aqmeii-na_n2o/wiki/Home) (on modeling N2O, an ozone-depleting greenhouse gas) serves "the public good"--this is not about helping me launch my startup
@Gilles - This was good advice: But don't make it about Bob; as soon as someone thinks it's about particular people, you lose the ability to have the general discussion. Talking about specific users like that is uncomfortable for a lot of people, and if the moderators are already taking steps, they probably can't reveal that. You should have followed it.
You complain that I have latched-on or something, but I'm not writing a lot of stories about you.
Nor do I make a lot of baseless accusations, either. If you have an issue - cite the content publicly - as cuonglm suggested. That's the point of this place, is it not?
I apologize, if, unlike you, I don't always write something that is perfectly correct. I will do my best to rectify that. But seriously, get a new joke, yeah? You're wearing out that xkcd link.
@Gilles - I can say for certain, though, that I particularly object to your (almost ridiculously ironic) claim that I make ad-hominem attacks on you, when - as it seems to me - as your post and as this very chat thread can plainly witness - the opposite is true. If you have a complaint, please, just cite evidence as to why and stop perpetuating baseless claims. Please.
@Gilles - It's interesting to me that you didn't bother to post the comment above that one - the one which actually had evidence to the contrary. And I did read the manual Gilles - at your suggestion, and it was a good one - only to learn that while there is a readline variable you can set to configure bash to follow tty special chars, it matters not.
Because if you unset that var and set, for example, \c-w to something else, then it will still do the word kill function if stty has it configured to do so.
But those were minor things - the answer was a good one, I thought, and I wanted to upvote it - which is why I posted the comment in the hopes you would correct it. Instead, it would seem, you had a fit, I guess.
And the last thing I have to say is this: Gilles, if you really think I'm out to show you up for an incompetent or whatever paranoid thing you said, then why do I delete them on the occasions that you (or anyone else) agrees with the comment and makes an to his/her q/a to some effect? It's about the information, man, it's not about you. So stop whining, already.
@slm @MichaelMrozek @terdon and some others - can you guys please suspend gilles if he bitches in chat about me again?
@TomRoche ask a question on the site. If you aren't getting any responses, feel free to come back here. But note only a small proportion of the site users are in chat at any given time. The moderators do keep an eye on things here though. Well, some of them.
@TomRoche Your question on SF has received 36 views in 11 days. It is also, I think, not quite on topic there since they deal with professional sysadmins only. I recommend you flag your question for mod attention and ask them to migrate it to this site. You might have better chances of getting an answer here.
Hi i'm not sure if we can post something like, 'what does this perl one liner do' on this forum. Some forums dont allow that. Can someone please post the URL that informs us if we can post such questions.
@user3146086 Well, that one is borderline. Strictly speaking, that's not about *nix but we do consider simple Perl scripts on topic. A one-liner would probably be OK. Make sure you also include what you have tried. Mention that you checked the documentation etc.
print a,b,c will print a and b and c, separating them with the current value of $,.
For example: `perl -le '$,=":"; print "a","b","c"'
Will print a:b:c
And sorry, I meant $, and not $". Stupid default variables.
Anyway, I think that would probably have been considered off topic. I'm not sure oddly enough. Our scope is not 100% clear on perl programming. In general, if it a task that can interest *nix users/admins that's fine. Asking for a one-liner to be explained... I'm not sure.
@user3146086 Now that's a question you can ask on the site. Be sure to include an example of your input file, the output you would like to see based on that example and the perl command you have tried.
I can't answer without seeing all those and those make it into a bona fide question, 100% on topic.
sorry my mistake, I meant to ask what does the comma after dollar underscore supposed to do? last question to you.. there is no space after underscore. And a space after comma.
@user3146086 The spaces are there for readability, they're not strictly needed. As for the comma, that's what I answered. print a,b,c means "print a b and c separated with whatever is the current value of $, ( a space by default)"
And print $a,$b,$c and print $a, $b, $c and print $a , $b , $c are all equivalent.
@TomRoche Great! No promises though, I have absolutely no experience with what you're describing but it sounds like a fringe case. I hope someone here can help you.
By the way, you could always just delete it and repost here if the mods are busy.
@jasonwryan my bad, I was just informed about the specific term newfag and how it is, apparently, offensive. Thanks for pointing it out, dealing with it now.
So, I was wondering if anyone can comment - are there any generally available phones (or classes of phones) for which free sw is available for syncing with Linux systems (I use Debian). I'm not sure this if this is a precise enough question for the site - I think it probably isn't. Would it be on-topic at Software Recommendations?
Doing a quick search suggests Android is the preferred platform for this, not surprisingly.
@FaheemMitha That was my first thought but it probably can actually. Devices are files and the -a switch makes it treat binary as text.
@FaheemMitha Yeah, that's the problem. It might recover some bits and pieces of the file but I doubt it will get all of it and, in any case, it will be all mixed up with other files.
@terdon Hmm. That assumes that when you are reading the device it dumps all the raw data, but I don't know if it actually does that. I kind of doubt it.
This is probably something one could find out with a little googling, I imagine.
I've accidentally deleted some files in my package managers's cache after an update (so I've deleted all packages that were downloade and unforunately they weren't even installed).
Here's what I've done:
Booted to a Ubuntu System that's on the same HDD as the Arch system.
Now that I booted int...
They are having elections right now in Cross Validated. Not a site I pay much attention to, but was just reading the election related discussion there.
Apparently their volume has gone up sharply in recent years. Anyone tracking volume here? I don't see any big changes, but I haven't looked at any records.
@terdon Ok. I would actually expect any halfway reasonable statistics site to be very busy. Since statistics is about the broadest of the sciences, and applied everywhere.
@terdon you probably don't care about this question any more, but there are certainly dedicated packages for handling this. I use listings. mdframed is also a useful auxiliary.
I am in the process of writing a simple manual. In it, I explain how to set up the files and programs necessary to run a pipeline I have written. I would like to include command line commands in that file in a way that makes them stand out and easy to read.
Basically, how can I get this effect ...
@FaheemMitha Off-topic here; “what software can I use to synchronize <type of data> with <type of phone>” would be on-topic
What phone to choose would be off-topic on Software Recommendations, what phone OS to choose would be on-topic but asking about OSes is delicate because there are so many variables.
in any case, if you want to keep your software options open and you want a non-ridiculous choice of hardware, get a phone that's sold with Android and install cyanogenmod on it.
"you have to use VPN to ssh to your university computers?"
Yes, but that's not my problem, since I'm not using my university's cluster (since that would cost me a *lot* more money). My problem is, I'm trying to ssh to a government cluster. That formerly required only one VPN :-) but now requires 2 VPNs (due to some new requirements) :-(
@FaheemMitha @FaheemMitha "The OS on the compute cluster is Windows?" Fortunately, no--I don't know of any scientific-computing organization that insane :-) But both the edu and gov clusters' admins only directly support Windows clients, and one of the VPNs which I am required to use (an F5 VPN) is barely supported on Linux.
I have too many dirs with plain text files in them. The dirs are at different levels in file hierarchy. Shall I do version control for each dir respectively? That sounds a lot of work
@Tim that's doable. I don't know the context, but you can have one big repos or a number of smaller repositories. Whether you do it is, of course, up to you, but would you prefer to lose stuff?
@Tim - thanks, Tim, that's appreciated. Repute is, of course, measured only by the thoughts of others, and so if you think it, it must be true.
@Tim - if you're backing up a swathe of files/directories you might consider mksquashing them into a mountable image. Or else, you could create a btrfs partition on which to store them, and actively compress them w/ gzip or lzo. Both solutions would result in a mountable, compressed file-system, though the btrfs solution would be rw - while the squashed partition would be smaller.
I can use
find /search/location -type l
to list all symbolic links inside /search/location.
How do I limit the output of find to symbolic links that refer to a valid directory, and exclude both, broken symbolic links and links to files?
I can check, if a file exists and is a symbolic link with -L
for file in *; do
if [[ -L "$file" ]]; then echo "$file is a symlink"; else echo "$file is not a symlink"; fi
done
and if it is a directory with -d:
for file in *; do
if [[ -d "$file" ]]; then echo "$file is a directory"; el...