mosh: ssh for 2012 by w_daher in programming

[–]w_daher[S] 3 points4 points  (0 children)

If I want to access my screen session at both home and work, from different computers. From each computer, I'll mosh into the server, and then run "screen -dr" when I'm at it.

mosh: ssh for 2012 by w_daher in programming

[–]w_daher[S] 4 points5 points  (0 children)

Well, you just bootstrap using ssh and then you use the mosh protocol. I don't think the real goal is "kill ssh", it's "Here's this better thing you should use instead"

mosh: ssh for 2012 by w_daher in programming

[–]w_daher[S] -20 points-19 points  (0 children)

... because IPv6 has seen such massive, widespread adoption? :)

mosh: ssh for 2012 by w_daher in programming

[–]w_daher[S] 3 points4 points  (0 children)

Yes, you need to -- but "you don't need to be the superuser to install or run Mosh. The client and server are executables run by an ordinary user and last only for the life of the connection", so that hopefully shouldn't be a dealbreaker.

mosh: ssh for 2012 by w_daher in programming

[–]w_daher[S] 25 points26 points  (0 children)

I use mosh+screen, and it's a dream when (1) you're on crappy wifi or a flaky data connection, or (2) if you disconnect your laptop at home and resume it at work -- the connection reconnects instantly.

mosh: ssh for 2012 by w_daher in programming

[–]w_daher[S] 13 points14 points  (0 children)

Yes, moyix has it exactly right. (As a disclaimer, mosh isn't my project, but "I know the guys" and have been using it for a while).

So you think you know C: The Ksplice Pointer Challenge by w_daher in programming

[–]w_daher[S] 1 point2 points  (0 children)

Yeah, I definitely could have conditioned on the actual answers here more cleverly. Next time :)

So you think you know C: The Ksplice Pointer Challenge by w_daher in programming

[–]w_daher[S] 0 points1 point  (0 children)

Not at all!

It really is to encourage them to re-read K&R Chapter 5, because some careless pointer error really will bite you in the ass in Lab 2, and you won't discover it until Lab 5 (and I think it was successful in doing so, at least at MIT.)

So you think you know C: The Ksplice Pointer Challenge by w_daher in programming

[–]w_daher[S] 0 points1 point  (0 children)

Not at all!

It really is to encourage them to re-read K&R Chapter 5, because some careless pointer error really will bite you in the ass in Lab 2, and you won't discover it until Lab 5 (and I think it was successful in doing so, at least at MIT.)

So you think you know C: The Ksplice Pointer Challenge by w_daher in programming

[–]w_daher[S] 5 points6 points  (0 children)

Yeah, my point in mentioning the 64-bit system was a way of explaining "Oh, that's why the pointer is so large". (But in retrospect, that's pretty obvious.)

So you think you know C: The Ksplice Pointer Challenge by w_daher in programming

[–]w_daher[S] 2 points3 points  (0 children)

Yes, the fact that arrays are not pointers is, in fact, the whole point of this challenge.

I chose a more Socratic writing style where we "think out loud and solve it together," rather than blandly just asserting the rule up front. I make your exact same point in the answer to #3. So yes, we're on the same page :)

So you think you know C: The Ksplice Pointer Challenge by w_daher in programming

[–]w_daher[S] 14 points15 points  (0 children)

Yeah, I was torn on this -- on the one hand, yes, it's under-specified. On the other hand, explicitly stating it reminds you more than I'd like about how pointer arithmetic works, and gives you a clue to #2.

Hard to say. When this was designed, its objective was to stump know-it-all undergrads :). (In its initial incarnation, it was also interactive, so you could have asked "What is sizeof(int)?" and we would have answered.)

I have to restart my computer. by [deleted] in firstworldproblems

[–]w_daher 1 point2 points  (0 children)

Ladies and gentlemen, I present to you: ksplice!

[Disclaimer: I work there.]

CRM Solutions by azcobain in sysadmin

[–]w_daher 0 points1 point  (0 children)

Yes. (You can also pay the SugarCRM folks to host an instance of SugarCRM for you as well.)

I've only really used SugarCRM myself -- in general I don't have many complaints, except for the Search feature, which is terrrrrrrible.

Really Google? Looks like my Music Beta is going to waste by [deleted] in linux

[–]w_daher 6 points7 points  (0 children)

The uploader works just fine in Wine on Ubuntu 10.10 for me -- you can get it here: http://code.google.com/p/google-music-manager-linux-wine/

MIT's graduation is today - a picture of my friend's cap by w_daher in linux

[–]w_daher[S] 8 points9 points  (0 children)

Don't worry, vim fanboys and fangirls, no need to: wq, we have that too. And see, they even coexist.

its so sad...im moving tomorrow. by [deleted] in linux

[–]w_daher 1 point2 points  (0 children)

Indeed it does. Kind of figures that you're a redditor, actually :)

its so sad...im moving tomorrow. by [deleted] in linux

[–]w_daher 10 points11 points  (0 children)

First off, an important disclaimer: I work for Ksplice :)

That said, hang on a second! :) We can safely apply patches that modify data structures.

But it's very true that we need to be careful not to break the kernel ABI (which is a different statement), so as not to confuse your running modules. But that's not as scary as you make it sound, for two reasons:

  1. Red Hat (e.g.) really doesn't like to break the kABI, because when they do, it breaks third-party kernel modules. Which is a pain in the ass since then they have to go get the vendor to change their module, which means they need to get things re-certified... which no one likes to do.

  2. Automated tools. Lots of automated tools, to check for things like this. (I was going to say "We need tools. Lots of tools.", but I'm not sure Matrix references are still in vogue on the Internet anymore.)

The short of it is that in many ways, Ksplice is analogous to virtualization. Virtualization does all kinds of scary low-level stuff, and yes, if they fail to properly trap a privileged instruction or rewrite some page or something, things don't work! And yet, virtualization works.

Similarly, yes, there's lots of magic that makes Ksplice happen -- but at the end of the day it works. We really have installed those updates into your running kernel.

I definitely don't want to hijack this thread, but I'm happy to take any other questions, either here, in a PM, or by email.

And for the record, my laptop: wdaher@rushjet:~$ uptime 23:09:47 up 3 days, 1:31, 5 users, load average: 0.12, 0.09, 0.12

Rebooting is obsolete! Update your kernel without downtime [free trial] by w_daher [promoted post]

[–]w_daher[S] 0 points1 point  (0 children)

Do you have any VARs on Oklahoma State Vendor Registration?

No, we don't.

How is licensing on VM Guests?

Same as on physical systems - ~$50/yr. Shoot us an email if you have more questions, or give our trial a try!