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:
...
|
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"
...
|
2010/5/6-26 [Computer/SW/OS/Windows] UID:53818 Activity:low | 5/5 Does anyone know how to do custom install of Ubuntu 10.04? I can't
even boot it up to give me the menu to custom install and it
keeps installing a bunch of crap I don't need. It's getting
just as slow and bloated as Winblows install. Dear lord,
I miss the old Ubuntu.
5/5=1.0 Numerology FTW. 5+5=10
...
|
2010/4/22-5/10 [Computer/SW/Languages/Misc] UID:53797 Activity:nil | 4/22 In Linux is there an easy way to rename the scripts in /etc/rc?.d ?
For example I want to set all the /etc/rc?.d/S91apache to S100apache
so that it'll run the ramdisk BEFORE going to apache.
\_ Sure, just move them.
\_ I mean is there a script that will rename all of them
for me? Like: setrc apache2 0 0 1 1 1 1
...
|
2011/2/14-4/20 [Computer/SW/Unix] UID:54039 Activity:nil | 2/14 You sure soda isn't running windows in disguise? It would explain the
uptimes.
\_ hardly, My winbox stays up longer.
\_ Nobody cares about uptime anymore brother, that's what web2.0 has
taught us. Everything is "stateless".
\_ You;d think gamers would care more about uptime.
...
|
2011/2/5-19 [Computer/SW/Languages/C_Cplusplus] UID:54027 Activity:nil | 2/4 random C programming/linker fu question. If I have
int main() { printf("%s is at this adddr %p\n", "strlen", strlen); }
and soda's /proc/sys/kernel/randomize_va_space is 2 (eg; on)
why is strlen (or any other libc fn) at the same address every time?
\_ I don't pretend to actually know the right answer to this, but
could it have something to do with shared libraries?
...
|
2010/3/12-30 [Computer/SW/OS/Windows] UID:53754 Activity:nil | 3/12 When writing functions and structs in Windows user-mode and kernel-mode
code, when do you use IN/OUT, when do you use __in/__out, and when do
you not use either? I'm confused. Thanks in advance.
...
|
2009/8/2-11 [Computer/SW/Unix] UID:53229 Activity:nil | 8/1 What keeps hapening to soda? load of O(1000) then crash? Is it
still nfs, even past the new kernel we did just for nfs?
\_ It's still NFS. Filer plz kthxbai.
\_ Filer eliminates NFS?
...
|
2009/7/24-27 [Computer/SW/WWW/Browsers, Computer/SW/OS/OsX] UID:53191 Activity:kinda low | 7/24 Firefox 3.5.1 on MacOS is a piece of crap. It crashes ALL THE TIME.
It has crashed 3 or 4 times on me in the last hour, and not on
the same pages either. The new Yahoo! home page also sucks ass.
\_ os x keeps trashing my raid disk: '11 hours to rebuild. have fun
with the kernel IO subsystem running like shit until then".
Worthless piece of shit.
...
|
2009/7/21-24 [Computer/SW/Languages/Java] UID:53168 Activity:moderate | 7/20 For those who care btw, it looks like eclipse is now A Standard Tool
at UCB ugrad cs, probably replaced emacs. Furthermore, people get
angry at seeing Makefiles, (since eclispe takes care of that). I
guess it's just a sign of the times.
\_ The more people at my work use eclipse the less the code is
managable in emacs. I'm not sure which application's fault
...
|
2009/7/8-16 [Computer/SW/OS/Linux, Computer/SW/Unix] UID:53124 Activity:nil | 7/7 what happened to our web presence? http://www.csua.berkeley.edu
not working
\_ That would be because we've yet to set them up afaik. Steven *does* have
a job after all. The idea is that we want a separate computer mounting the
web directories, so that if an exploit compromises the webserver, the shell
server (soda) itself will be insulated from the attack.
...
|
2009/3/8-17 [Computer/SW/Unix] UID:52685 Activity:kinda low | 3/8 I'm reading about an old exploit where someone used a buffer overflow
in a printer daemon to get "daemon privileges," which allowed them
to use another exploit on the mail delivery program to get root. I'm
not sure what daemon privileges are. Is there some set of priveleges
that most daemons run on that is higher than user but lower than root?
What are they? I've never heard this before.
...
|
|