News for hackers. Stuff that matters.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by cozzyd on Thursday July 12, 2018 @04:58PM (#17518542)
I work on an experiment at the south pole (not IceCube). sshing into fix stuff is painful, even when the "good" satellite is up.

Protip: pressing up several times and then enter is very dangerous since the command that you will actually run may not have appeared on your screen yet.

Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by thrownhwn on Thursday July 12, 2018 @05:35PM (#17518820)
Similar experience to being a hacker-cracker 20 yrs ago, bouncing off servers around the world over a modem connection to telnet into some poor SunOS 4 boxes in South Korea or at GSFC (NASA). Sometimes you had to wait minutes before anything appeared on the screen while TCP was doing its thing. God forbid if you accidentally (yp)cat’d some large file..:)
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by foobarian on Thursday July 12, 2018 @07:01PM (#17519336)
Even on a good console I put a # at the start of the line before editing or typing it in case I accidentally hit Enter too soon.

And never ever paste commands without first trying it into a trash terminal or editor.

Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by craftyguy on Thursday July 12, 2018 @11:14PM (#17520242)
That's an interesting technique that I've never heard of. Do you have fast shortcuts/keybindings for removing the # when you are ready, or is it '(left arrow x N) + ^H' each time?
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by boterock on Friday July 13, 2018 @02:34AM (#17520926)
In windows what I do is Home->Delete I am amazed at how useful home, end pgup and pgdown keys are, and I am pretty sure not many people know or use them a lot.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by scarejunba on Friday July 13, 2018 @12:07AM (#17520458)
^A ^D
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by foobarian on Friday July 13, 2018 @01:40AM (#17520746)
^A ^D it is. But since you bring up moving the cursor, it also is very helpful to 'xset r rate 160 80' to speed it up substantially in Xwindows.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by craftyguy on Friday July 13, 2018 @01:47AM (#17520772)
I assume (by trying on zsh) that this is a configuration change you made vs. some keybinding I've yet to discover?
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by adrianN on Friday July 13, 2018 @05:16AM (#17521523)
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by juki on Friday July 13, 2018 @03:10AM (#17521044)
Those are Emacs style keybindings, which are the default on most shells. You've probably switched to Vi style bindings in zsh.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by dredmorbius on Friday July 13, 2018 @05:47AM (#17521639)
Readline bindings, emacs mode.

Despite (mostly) using vim as an editor, it's got to be emacs on the shell itself.

Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by tobias2014 on Thursday July 12, 2018 @09:29PM (#17519909)
Use mosh and you will have a much better experience. It's made for high latency connections.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by craftyguy on Thursday July 12, 2018 @11:12PM (#17520235)
Some mission critical production systems don't really want you installing <insert current trendy software here>. That's probably a highly unpopular view on HN, but having downtime on IceCube, for example, means they may miss an extremely rare event (neutrino hitting something and generating muons/photon shockwaves) that they could detect.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by de_watcher on Friday July 13, 2018 @02:01AM (#17520819)
Mosh has been around for a while, it's not like "current trendy software". I thought people use it for bad connections (and envied them because of my stuff in the jungle that isn't performant enough for ssh).
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by snovv_crash on Friday July 13, 2018 @02:00AM (#17520814)
Something released in 2012 isn't exactly what I'd call "trendy". Technically it really does have some improvements for poor latency and high-packetloss connections.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by consp on Friday July 13, 2018 @04:53AM (#17521443)
I'm pretty sure they consider everything sub 10 years old "new and untested" in this field, on this server/array.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by eeZah7Ux on Friday July 13, 2018 @08:06AM (#17522169)
Indeed. Mosh is still new (less than 10 years old), albeit it could get an exception if it really helps avoiding errors and typos due to latency.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by beefield on Thursday July 12, 2018 @05:36PM (#17518832)
Jusr amoment ago learned about mosh.org that sounds like would be helpful for that kind of situations.
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by azernik on Thursday July 12, 2018 @06:53PM (#17519293)
Since you're here! Is Iridium out of your price range, or does even that have latency/bandwidth issues for the kind of SSH work you're talking about?
Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by bacon_waffle on Friday July 13, 2018 @03:03AM (#17521018)
At least a few years ago, IceCube had it's own Iridium modems, in addition to a small pool of them for the station at large. Latency is very high, bandwidth is very low. It's much better when you can send an email over Iridium to ask for help from a human on the other side, than to SSH and do it yourself.

I think the situation now is a lot better than it was, but a few years ago, most of the day there was no connectivity except Iridium. Most communications satellites are in orbits that don't take them near the poles, with Iridum being the obvious exception.

Related: https://en.wikipedia.org/wiki/GOES_3 was an amazing piece of the South Pole infrastructure for several years. There was a period every year where the Earth would eclipse GOES-3 - the batteries onboard were long dead - so the satellite would power down and everyone just sorta crossed their fingers and hoped it came back online with the right orientation and with enough electronics going so that we could keep using it. Bandwidth wasn't great, but it was quite reliable especially considering that it was launched in 1978.

Re:The IceCube Neutrino Detector at the South Pole Hits Paydirt by cozzyd on Thursday July 12, 2018 @07:05PM (#17519344)
iridium is available all the time but very slow and the scarce bandwidth is not prioritized for incidental ssh access. The problem is that there are a lot of people / experiments at Pole.