Berkeley CSUA MOTD:Entry 12558
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2004/3/8 [Computer/SW/Editors, Computer/SW/OS/Linux] UID:12558 Activity:nil
3/7     Note to self: Debian cleans out /var/run on reboot.  This is a bad
        thing if you place Cyrus imapd's config directory under /var/run.
        \_ linux = sux0rz!
        \_ heh, it also cleans out /tmp -- which sucks when you work on
           some stuff on there, and then you kill your system =[
           \_ you should never work on anything important in /tmp as
              many systems use a memory fs for /tmp which will always
              be cleared on reboot.
              \_ yea... I know, bad habit... but speaking of tmp...
                 screwdriver: /var/tmp -> /tmp
                 Don't important things like editor recovery files end up
                 in /var/tmp?
                 \_ noone ever said screwdriver was run well.
                 \_ Seeing as I was bit on the ass on /var/run, it would
                    be unfair of me to think you foolish for making the
                    same mistake with /tmp, but I kind of took /tmp not
                    being preserved across reboots for granted.  And to
                    whoever asked if editor recovery files end up in
                    /var/tmp, you shouldn't need editor recovery files
                    after a clean reboot.  Do you think it is reasonable
                    \_ Um..  Multiuser system, anyone?
                       \_ Um, if you leave your *unsaved* edits to your PhD
                          thesis open for hours at a time on a system that
                          someone else may remotely reboot, you get what you
                          deserve. -op
                    to expect editor recovery files to *reliably* survive
                    a catastrophic system crash? If you think it is
                    reasonable, could you kindly explain how it is
                    possible, and cite an example of an OS that does
                    this? -op
                    \_ Yeah, put the editor recovery files in each user's
                       home directory.  It's not rocket science.
                       \_ This will not preserve the files in the event of a
                          catastrophic system crash.  Modern filesystems
                          buffer writes in memory for performance. -dans
                          \_ If you're going to play *that* game then no
                             modern OS is 'safe'.
                    \_ Yes it is reasonable and most OSes do this. Examples
                       are Linux, HP-UX, and Solaris.
                    \_ the whole *point* of editor recovery files is to
                       recover work lost in a catastrophic system crash. -tom
                       \_ Someone take root away from the OP immediately!
                          \_ no, learning by screwing up is the best way.  im
                             certain op will never make that or similar
                             mistakes on any OS again.
                       \_ Actually, no tom.  The whole point of editor
                          recovery files is to recover work lost in a
                          catastrophic *editor* crash.  In a catastrophic
                          system crash, you cannot *reliably* reconstruct the
                          state before the crash so you cannot *reliably*
                          recover.  In order for an editor to be able to
                          reliably recover from a catastrophic system crash,
                          it would need to write its recovery log to an
                          ACID-compliant store.  I am not aware of any editor
                          that does this, nor am I aware of any widely
                          available OS that features an ACID compliant
                          filesystem.  Perhaps veritas makes something like
                          this, but such a filesystem would be of limited use
                          since its performance would be awful. -op
                          \_ are you a complete moron?  /var/tmp has been
                             around for longer than ACID or Veritas have been.
                             It's not meant to be some kind of bank transaction
                             rollback log, it's meant to be "oh shit, I was
                             working on something important, can I recover
                             any of it?"  -tom
                             \_ not on debian!  hah!  Sorry op.
2025/05/25 [General] UID:1000 Activity:popular
5/25    

You may also be interested in these entries...
2010/1/22-30 [Computer/HW/Laptop, Computer/SW/OS/OsX] UID:53655 Activity:high
1/22    looking to buy a new development laptop
        needs ssdrive, >6 hr possible batt life, and runs linux reasonably
        Anyone have a recommendation? Thx.
        \_ thinkpad t23 w ssdrive and battery inplace of drive bay
        \_ Ever wondered what RICHARD STALLMAN uses for a laptop?  Well,
           wonder no more!
	...
2009/8/31-9/9 [Computer/SW/Compilers] UID:53312 Activity:nil
8/31    I'm trying to learn ActionScript, like a step by step tutorial.
        The site at http://www.actionscript.org/resources/categories/Tutorials/Flash/Beginner
        isn't well organized. It doesn't explain how to get started with
        an editor, compiler, IDE. And should I even learn AS2 when you can
        learn AS3? Is Adobe Flash CS4 >>> CS3 or just CS4 > CS3?
	...
2009/7/24-29 [Computer/SW/Editors/Vi] UID:53195 Activity:low
7/24    Is dos2unix available somewhere?  Someone added all those Ctrl-M's to
        motd.public.
        \_ %s/^V^M//g in vim. What has your editor done for you today?
           \_ that works great in vi actually... in vim :set filetype=unix
	...
2009/2/28-3/11 [Computer/SW/Compilers] UID:52661 Activity:nil
2/28    I'm looking for a recommendation of a compiler/IDE to use to
        develop C/C++ code under Linux. In school, we used jove/gcc and
        I still use emacs/vi and gcc to this day. However, it is really
        lacking. Under Windows I tried Visual Studio and there were some
        really nice things about it, although it was so overwhelming that
        after 6 months of occasional use I still didn't really know what I
	...
2008/9/22-24 [Science/Electric, Computer/Companies/Google, Computer/SW/Editors/Vi] UID:51263 Activity:kinda low
9/22    Gmail's "conversation feature" drives me nuts! Is there a way to
        disable that and make Gmail act like every other e-mail client on the
        planet? WTF thought this was a nice thing to have on by default?
        \_ Umm, why don't you just use another email service then...
           \_ Umm, I do, which is how I have something to compare to. I get
              mail in at least 4 places only one of which is Gmail. I
	...
2008/6/12-13 [Computer/SW/Editors/Emacs, Computer/SW/Editors/Vi, Computer/SW/Unix] UID:50233 Activity:nil
6/12    Does emacs or vi include a column paste?  I sometimes have a block
        text I want to insert horizntally next to another block/column.  This
        is common for data plotting etc.  In Microsoft Word has this, I need
        it in a Unix text editor.
        \_ Does M-x picture-mode in emacs work for you?
           \_ Yes, with the commands below, thanks.
	...
2013/2/19-3/26 [Computer/SW/OS/OsX] UID:54611 Activity:nil
2/19    I program a lot by sshing to a Linux cluster.  So I'm used to using
        Xemacs to code.  This works fine from a Linux or Windows workstation,
        but sometimes I have to use a Mac.  On Mac, the meta is usually
        bound to option, but that often doesn't work over ssh for some reason.
        This makes using emacs a real pain.  Any suggestions on how to fix it?
        (Other than "use vi")
	...
2012/8/28-11/7 [Computer/HW/Memory] UID:54466 Activity:nil
8/26    Amazon medium instances (3.75GB RAM): 0.160/hour = $1382/year
        Generic standard Linux VPS (4GB RAM): $480/year
        Amazon costs more (but does offer superior scaling options).
        \_ Amazon is $670 if you buy a year's usage up front (heavy util).
           Why is heavy util less expensive than light util?
	...
2012/1/4-2/6 [Computer/HW/Drives] UID:54281 Activity:nil
1/4     I want to test how my servers behave during a disk failure and
        a RAID reconstruction so I want to simulate a hardware failure.
        How can I do this in Linux without having to physically pull
        a drive? These disks are behind a RAID card and run Linux. -ausman
        \_ According to the Linux RAID wiki, you might be able to use mdadm
           to do this with something like the following:
	...
2011/9/14-10/25 [Computer/HW/Drives] UID:54173 Activity:nil
9/13    Thanks to Jordan, our disk server is no longer virtualized. Our long
        nightmare of poor IO performance should hopefully be over. Prepare for
        another long nightmare of poor hardware reliability!
        ...
        Just kidding! (I hope)
        In any case, this means that cooler was taken out back and shot, and
	...
2011/2/11-19 [Computer/SW/OS/Linux, Computer/SW/Security] UID:54036 Activity:nil
2/10    Debian 6.0 squeeze is the new stable.  Do we dare a dist-upgrade?
        \_ the key for http://security.debian.org has changed btw.
	...
2010/7/21-8/9 [Computer/SW/OS/FreeBSD] UID:53890 Activity:nil
7/21    Can I just use ifconfig to expand my netmask on a FreeBSD box?
        Are there any gotchas here? Linux forces me to restart my network
        to expand my netmask.
        \_ yes... and no, you don't have to restart your network on linux either
           \_ Rebooting is the Ubootntoo way!
              \_ Oooboot'n'tootin!
	...
2010/7/22-8/9 [Computer/SW/OS/FreeBSD, Computer/HW/Drives] UID:53893 Activity:nil
7/22    Playing with dd if=/dev/random of=/dev/<disk> on linux and bsd:
        2 questions, on linux when <disk>==hda it always gives me this off
        by one report i.e. Records out == records in-1 and says there is an
        error. Has anyone else seen this?  Second, when trying to repeat this
        on bsd, <disk>==rwd0 now, to my surprise, using the install disk and
        selecting (S)hell, when I try to dd a 40 gig disk it says "409 records
	...
2010/5/26-6/30 [Computer/SW/Unix/WindowManager, Computer/SW/OS/OsX] UID:53844 Activity:nil
5/26    anyone use lxde?  supposedly it is less stupid than xfce and
        less bloated than gnome.  thoughts?
        \_ lol, does anyone still use desktop linux?  Get with the times
           buy a mac.  Now.  DO IT.  Go NOW.
           \_ but we prefer herring to Kool-Aid
              \_ "you have to yell, he's hard of herring"
	...