I primarily use the carbon gvim now in OS X. I only use my fink version when I log in remotely to my OS X machine. Once you try vim, you will shudder at the memory of using 'vanilla' vi
lucky for, you it is there. this from 'emerge --help':
--fetchonly (-f short option)
Instead of doing any package building, just perform fetches for
all packages (main package as well as all dependencies.) When
used in combination with --pretend all the SRC_URIs will be
displayed multiple mirrors per line, one line per file.
portage differs from fink in that it is quite easy for you to specify system-wide compile-time options and optimization flags with portage. for example: don't like gnome? USE='-gnome' in your make.conf file will prevent gnome support from being compiled into every single package you install with portage.
one clarification: portage asks you no questions. configure-time options are set via USE flags in your make.conf file. see the portage user guide and the USE flag guide.
no questions means you can type 'emerge kde' and come back later after it has installed possibly dozens of packages with no more input from you.
Re:BitTorrent ISO Download
on
Gentoo Games
·
· Score: 2, Informative
just use the bittorrent client to download the file, and walk away. as long as you leave the client running, people will be able to download from you. the bittorrent program handles the downloading and the uploading for you.
the client should report your download rate and your upload rate. eventually, you will get the whole file and your download rate will drop to 0. but your upload rate will continue to fluctuate as long as people are trying to download it.
dvorak taught me to touch type. when i use qwerty, I'm about as fast as I was before, but I have to stare at the keys.
I don't think I'm any faster with dvorak than I was before, but touch typing is certainly convenient. It also forced me to switch to a more comfortable position to accomodate the fact that I started using all my fingers for typing.
Sure there is: the hooks just aren't in the kernel. And that's the point: the kernel is not designed as a set of software components that people can assemble into a system, it's a monolithic piece of software that often needs to be patched in order to support some new piece of hardware or functionality.
you don't have to patch the kernel to add a device, you can link in a device driver as a kernel module at runtime. there is a well defined interface for creating a module, and there are interfaces to talk to the kernel subsytems you need to communicate with your device (for example, the pci bus). there's even a nice book (by rubini i think) about how to create a device driver, either as a module or statically linked at kernel compile time.
the only time you have to patch the kernel is to change a subsystem, like the scheduler or memory manager, or if you want to CHANGE a driver that's already shipped with the kernel
I've been running gentoo linux on my ibook for 6 months now. gentoo even has a driver for the software modem in it (hcfusbmodem), and xfree86 4.3 with DRI support for my radeon chip has been around for a while.
I dual boot with OS X. OS X is fun, but gentoo is much faster and more configurable.
About all you get by running linux on a powerbook is buggy power management, firewire, and no modem driver or video mirroring.
ah, but you also get a much more configurable and responsive environment.
I love Mac OS X on my ibook, but sometimes I get tired of clicking and mousing all the time. at which point i reboot into gentoo linux! There I get to decide how the gui works, and I don't have to put up with the way apple decided would be good for some $!@# who's never used a computer before.
my thinkpad killed a battery every 10 months. I charged it all the way, then ran it down to 5% then charged it again religiously. after 10 months it would complain about being out. then I would run it down until it turned of in case it had a memory but that didn't help any.
wife has an ibook. it's 1 year 8 months old, still has 2.5 hour battery life!
what kind of computer are you buying for your own use, what operating system (if linux, which distribution) will you use, and why did you pick those? (e.g., gentoo linux on an apple powerbook, redhat on a dual 3GHz Xeon, etc)
you can download it from apple too. My wife's ibook didn't come with it (hers was one of the first with OSX) but we downloaded it for free from apple's web page. the newest version can open MSOffice docs too.
I ran my 700MHz ibook against my 700MHz athlon thunderbird and the AMD completed the same seti block in about half the time it took the ibook! You should make sure you have both machines processing the same data block.
for integer type stuff, the ibook is 15% faster, but floating point is another story.
I have hacked the keyboard driver in linux 2.4.18 and various 2.4.19-pres so you can check/proc/keystrokes to see how many you've hit since boot.
Anybody interested in me posting a patch somewhere?
I don't hate X. But after writing some small OS X Carbon apps, I really can't keep defending X. I mean Quartz does so much more the X11, and it sure seems faster, and simpler to use. And I expect the network transparency could be fixed. Who knows, maybe I'll poke at that sometime.
No you won't, not unless you go get a job at apple.
At least if you felt like trying to fix XFree86, you could.
There isn't a more friendly programming environment than Mac OS X. They give you all the tools needed to create applications. Professional tools and more programming tools available than Linux. Can you write Windows, Mac OS X, Mac Classic and Linux apps on Linux? You can on Mac OS X.
So Apple uses the "freest OS" as its base and releases its source code (even though it doesn't have too with BSD) and you think they are no better than Microsoft? Are you joking?
I believe his point was that you can't hack Aqua, and the source code to quartz and all the GUI stuff is NOT available, which is why he said all the stuff that seperates Mac OS X from BSD is NOT available!
say the machine you want to be your ntp server is called 'srvr', and your other machines are called client1, client2, etc.
in the ntp.conf file on 'server', you should comment out the default server parts that look like this:
server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10
and instead find some good stratum 2 servers on the internet to use. you can find lists of them with a google search for
ntp servers stratum 2
then just list them in the ntp.conf file like this:
server ntp.servername.1 server ntp.servername.2 server ntp.servername.etc
then in clientx's ntp.conf file, comment out the default server, and put this:
server srvr
then the only other thing to check for is if you have a firewall on srvr, make sure that the ntp port (usually 123) is open for your internal network.
If you have lots of client machines, you might set up 2 machines as ntp servers. just use the same ntp.conf file as 'srvr' above, but call the machines srvr1 and srvr2, then add this extra line to srvr1:
check out this for a list of time servers to use with ntp.
Re:Two Things I don't like about Portage...
on
Gentoo Linux 1.2
·
· Score: 1
have you tried:
-march=i686 -O3 -pipe
that's the standard set of flags. it will use the i686 instruction set in such a way that the binary will only run on an i686. the -mcpu=i686 will result in a binary that will still run on an i386.
seriously, you can get vim (Vi IMproved) from fink, darwinports, or gentoo soon (console & X11 version).
even better, you can get gvim with a carbon gui at
this site
I primarily use the carbon gvim now in OS X. I only use my fink version when I log in remotely to my OS X machine. Once you try vim, you will shudder at the memory of using 'vanilla' vi
setenv TERM xterm-color
I didn't have to fiddle with stty either.
--fetchonly (-f short option) Instead of doing any package building, just perform fetches for all packages (main package as well as all dependencies.) When used in combination with --pretend all the SRC_URIs will be displayed multiple mirrors per line, one line per file.
no questions means you can type 'emerge kde' and come back later after it has installed possibly dozens of packages with no more input from you.
yes, I use the h,l,j,k keys in vim on a dvorak layout every day, all day long. no big deal once you practice a bit.
I documented my install
the client should report your download rate and your upload rate. eventually, you will get the whole file and your download rate will drop to 0. but your upload rate will continue to fluctuate as long as people are trying to download it.
I don't think I'm any faster with dvorak than I was before, but touch typing is certainly convenient. It also forced me to switch to a more comfortable position to accomodate the fact that I started using all my fingers for typing.
the only time you have to patch the kernel is to change a subsystem, like the scheduler or memory manager, or if you want to CHANGE a driver that's already shipped with the kernel
I dual boot with OS X. OS X is fun, but gentoo is much faster and more configurable.
how i installed gentoo: install
and have a real job.
I love Mac OS X on my ibook, but sometimes I get tired of clicking and mousing all the time. at which point i reboot into gentoo linux! There I get to decide how the gui works, and I don't have to put up with the way apple decided would be good for some $!@# who's never used a computer before.
wife has an ibook. it's 1 year 8 months old, still has 2.5 hour battery life!
what kind of computer are you buying for your own use, what operating system (if linux, which distribution) will you use, and why did you pick those? (e.g., gentoo linux on an apple powerbook, redhat on a dual 3GHz Xeon, etc)
you can download it from apple too. My wife's ibook didn't come with it (hers was one of the first with OSX) but we downloaded it for free from apple's web page. the newest version can open MSOffice docs too.
I ran my 700MHz ibook against my 700MHz athlon thunderbird and the AMD completed the same seti block in about half the time it took the ibook! You should make sure you have both machines processing the same data block.
for integer type stuff, the ibook is 15% faster, but floating point is another story.
I documented my install on my web page.
OS X is nice, but Linux is much snappier with only(!) 256mb RAM in the thing. I'll be upgrading to 640mb soon though.
here it is
I have hacked the keyboard driver in linux 2.4.18 and various 2.4.19-pres so you can check /proc/keystrokes to see how many you've hit since boot.
Anybody interested in me posting a patch somewhere?
No you won't, not unless you go get a job at apple.
At least if you felt like trying to fix XFree86, you could.
So Apple uses the "freest OS" as its base and releases its source code (even though it doesn't have too with BSD) and you think they are no better than Microsoft? Are you joking?
I believe his point was that you can't hack Aqua, and the source code to quartz and all the GUI stuff is NOT available, which is why he said all the stuff that seperates Mac OS X from BSD is NOT available!
in the ntp.conf file on 'server', you should comment out the default server parts that look like this:
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
and instead find some good stratum 2 servers on the internet to use. you can find lists of them with a google search for
ntp servers stratum 2
then just list them in the ntp.conf file like this:
server ntp.servername.1
server ntp.servername.2
server ntp.servername.etc
then in clientx's ntp.conf file, comment out the default server, and put this:
server srvr
then the only other thing to check for is if you have a firewall on srvr, make sure that the ntp port (usually 123) is open for your internal network.
If you have lots of client machines, you might set up 2 machines as ntp servers. just use the same ntp.conf file as 'srvr' above, but call the machines srvr1 and srvr2, then add this extra line to srvr1:
peer srvr2
and this to srvr2:
peer srvr1
then in each of the clients:
server srvr1
server srvr2
check out
this
for a list of time servers to use with ntp.
have you tried:
-march=i686 -O3 -pipe
that's the standard set of flags. it will use the i686 instruction set in such a way that the binary will only run on an i686. the -mcpu=i686 will result in a binary that will still run on an i386.