Re: zfs on 7.3 with 7.2 world
On Mon, 15 Nov 2010 09:22:06 +0300 cronfy wrote: > I want to start using ZFS v13 and I have FreeBSD 7.2 world with 7.3 kernel. > > And if I need to upgrade something in the world - what should it be? Why do you not update FreeBSD properly? If you want to use 7.3, install kernel _and_ world. (I would suggest using 8.1 though.) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html It is far easier to help you once you run into problems, if your system is consistent. Andreas -- GnuPG key : 0x2A573565|http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 pgpHmEbUBA9CS.pgp Description: PGP signature
About FreeBSD kernel newbies
Hi all, I was wondering if anyone has considered the creation of a kernel newbies mail list for FreeBSD. I am aware of two places where someone can ask questions about that: either freebsd-hackers@ or the "FreeBSD Development" forum at http://forums.freebsd.org. I've been following the Linux kernel newbies list for a while and I think it is very informative. Would it be good to have such a list? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun, Nov 14, 2010 at 09:54:42PM -0800, Charlie Kester wrote: > > I'd say the "Next Big Thing" in the '00s was Python ... or was it XML? Python hasn't been dominant enough. *Maybe* XML -- but that might be a bit of a stretch. It might be a couple years before we can identify it. Hm. Maybe JavaScript . . . ? You know, that AJAXy thing. > > BTW, it's now the '10s. ;-) Yeah, but there obviously hasn't been a Next Big Thing programming language for the '10s yet. Give it time. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp7rDO0QKypC.pgp Description: PGP signature
zfs on 7.3 with 7.2 world
Hello, I want to start using ZFS v13 and I have FreeBSD 7.2 world with 7.3 kernel. Do I have to upgrade zfs/zpool binaries (and maybe some libraries) to 7.3 or only recent kernel version is required to work with ZVS v13 safely? And if I need to upgrade something in the world - what should it be? Thanks. -- // cronfy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun 14 Nov 2010 at 16:29:10 PST Chad Perrin wrote: On Sun, Nov 14, 2010 at 02:39:32PM -0800, Gary Kline wrote: About 2000, 2001 was when I shucked my "muuz" game/mind-machine effort. It was over 10K line of C-ish code that I rehacked into C++. Figured since C++ was "_the_ new language" that it was a good move. Then I realized how you could spend a lifetime learning C++ I backed off and kept it simple. Hardly new. It hasn't been the Next Big Thing since the '80s. Java was the Next Big Thing in the '90s. We don't exactly have a new Next Big Thing for the '00s, from what I can see -- and maybe that's a good I'd say the "Next Big Thing" in the '00s was Python ... or was it XML? BTW, it's now the '10s. ;-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun, Nov 14, 2010 at 02:39:32PM -0800, Gary Kline wrote: > > About 2000, 2001 was when I shucked my "muuz" game/mind-machine > effort. It was over 10K line of C-ish code that I rehacked into > C++. Figured since C++ was "_the_ new language" that it was a > good move. Then I realized how you could spend a lifetime > learning C++ I backed off and kept it simple. Hardly new. It hasn't been the Next Big Thing since the '80s. Java was the Next Big Thing in the '90s. We don't exactly have a new Next Big Thing for the '00s, from what I can see -- and maybe that's a good thing. Agile development is the Next Big Thing for development methodologies, but that's a somewhat separate issue. > > Yeah, it's on amazon.com, but "my bible" {seriously!} is good > enough. Dog-earned and coffee-stained; but it's the same as the > 2nd Ed. The 2nd is ANSI-ified, IIRC. That's correct -- 2nd Ed is the ANSI C version of basically the same text. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpr3nBarPs1j.pgp Description: PGP signature
Re: FreeBSD crashed - trying to find out why
Le Fri, 12 Nov 2010 17:26:39 +0400, "Rakhesh Sasidharan" a écrit : Hello, > Any idea why kernel crashed, or what I can do to prevent this in > future? I understand from the forums that this could be due to bad > memory or bad hard disk, but I was wondering whether this could also > be due to any incompatibilities with KVM (triggered by tmux perhaps). No idea, the best is to configure the machine to save the dump and after (if it happens again) submit a trace of the core dump. This is explained in : http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun, Nov 14, 2010 at 03:37:15PM -0700, Chad Perrin wrote: > On Sun, Nov 14, 2010 at 02:02:49PM -0800, Chip Camden wrote: > > Quoth Gary Kline on Sunday, 14 November 2010: > > > > > > > > > Just about the whole Murray Hill gang stopped by Cray > > > (in Chippewa Falls), late 80's, and I remember asking Dennis > > > what the deal was with "C++"; I remember him dodging the > > > thing. Whoever-invented-C++ did a convoluted job, i s my > > > opinion. It might be nice to add classes to C, but that's > > > about it. > > > > > The inventor of C++ is Bjarne Stroustrop. I had the chance opportunity > > to sit down at a table with him and have a conversation prior to an SD > > West conference several years ago. He's a nice guy, with a great sense > > of humor -- but even he admits "C makes it easy to shoot yourself in the > > foot; C++ makes it harder, but when you do it blows your whole leg off." > > http://en.wikiquote.org/wiki/Bjarne_Stroustrup > > There's always the theory that Bjarne Stroustrup actually meant C++ as a > joke: > > http://harmful.cat-v.org/software/c++/I_did_it_for_you_all > > It's generally regarded as a hoax, and there is an actually published > interview that corresponds with this time period in IEEE's Computer > Magazine that reads quite differently from this. Still . . . if this is > real, it would certainly explain a lot. > Hmmm. I'll ck out the quote when I'm using evo. I honestly doesn't see C++ as any joke--or attempt to be. What I can't grok is the supposed "re-useability." Was/Isn't a big part of C++ supposed to be that you could easily reuse part of proven, flawless code? I probably never got that far into learning the language. I have and still do edit, cut/paste, hammer and saw away at my C examples to get at functions that are reusable. > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://journey.thought.org For non-text MUA's http://theopenpress.com/index.php?a=print&code=00&id=88532 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun, Nov 14, 2010 at 02:02:49PM -0800, Chip Camden wrote: > Quoth Gary Kline on Sunday, 14 November 2010: > > > > > > Just about the whole Murray Hill gang stopped by Cray > > (in Chippewa Falls), late 80's, and I remember asking Dennis > > what the deal was with "C++"; I remember him dodging the > > thing. Whoever-invented-C++ did a convoluted job, i s my > > opinion. It might be nice to add classes to C, but that's > > about it. > > > The inventor of C++ is Bjarne Stroustrop. I had the chance opportunity > to sit down at a table with him and have a conversation prior to an SD > West conference several years ago. He's a nice guy, with a great sense > of humor -- but even he admits "C makes it easy to shoot yourself in the > foot; C++ makes it harder, but when you do it blows your whole leg off." > http://en.wikiquote.org/wiki/Bjarne_Stroustrup > I'm sure I had my share of disasters with C++ hacking test code , but OMG, the head banging was nothing compared to heavy C coding in the early days. The number of segv's brings back evil memories:-) That, and having to take a notebook and draw out where you were [or _thought_ you were] pointing to. --Things they can't teach very well in the classroom-- that sort of stuff. Great quote! > > > -- > Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F > http://camdensoftware.com | http://chipstips.com| > http://chipsquips.com -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://journey.thought.org For non-text MUA's http://theopenpress.com/index.php?a=print&code=00&id=88532 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
IPFW at startup.
Hi all, I seem to have one server that does not flush the /etc/rc.firewall rules when the script taken from "firewall_type" starts up. That is to say when I boot the machine, 3 rules seem to be still in the list when I do an ipfw -a list. Those three rules appear to be from the /etc.rc.firewall script. The rules from my /etc/ipfw.rules file DO get loaded. Here are the three rules (100, 200, and 300), from /etc/rc.firewall. setup_loopback () { # Only in rare cases do you want to change these rules # ${fwcmd} add 100 pass all from any to any via lo0 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any Here is my /etc/rc,conf setup: firewall_enable="YES" firewall_logging="YES" firewall_type="/etc/ipfw.rules" Here is my /etc/ipfw.rules: enterprise# more /etc/ipfw.rules # Loopback add 1 allow ip from any to any via lo0 # Office and Home add 00200 allow ip from xxx xxx xxx xxx xxx to any add 00201 allow ip from any to xxx xxx xxx xxx add 00202 allow all from xxx xxx xxx xxx to any add 00203 allow all from any to xxx xxx xxx xxx # Allow fxp0 out add 00204 allow all from any to any out # Allow local net add 02000 allow ip from any to any via fxp1 # email add 04000 allow all from xxx xxx xxx xxx to any add 04010 allow all from any to xxx xxx xxx xxx add 04020 allow all from xxx xxx xxx xxx to any add 04030 allow all from any to xxx xxx xxx xxx add 04040 allow tcp from any to any 25,587 add 04050 allow tcp from any 25,587 to any # Bruteblock add 08000 deny ip from table(1) to me add 08001 deny ip from me to table(1) add 09050 allow udp from any to any 53 in # Email Test add 09100 allow icmp from any to any icmptypes 0,3,4,5,8,9,10,11,12,13,14,15,16,17,18 add 65535 deny ip from any to any Oddly enough, I have several machies that are setup identicly and this is the only one that has stikky rules from /etc/rc.firewall. Any one have any idea what knob might have been turned that causes the sticky startup rules? -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Is ZFS ready for prime time?
List, I'm ready to build a backup server and have two questions... 1) Is ZFS as of 8.1 Release considered to be ready for mission critical? 2) If I put ZFS on top of geli, will this, in any way, (other than performance) impair ZFS's features? For example would stuff like the ability to self heal and what not, still work? As I understand it, I can just treat a geli like a generic block device, right? Thanks! -Modulok- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun, Nov 14, 2010 at 02:02:49PM -0800, Chip Camden wrote: > Quoth Gary Kline on Sunday, 14 November 2010: > > > > > > Just about the whole Murray Hill gang stopped by Cray > > (in Chippewa Falls), late 80's, and I remember asking Dennis > > what the deal was with "C++"; I remember him dodging the > > thing. Whoever-invented-C++ did a convoluted job, i s my > > opinion. It might be nice to add classes to C, but that's > > about it. > > > The inventor of C++ is Bjarne Stroustrop. I had the chance opportunity > to sit down at a table with him and have a conversation prior to an SD > West conference several years ago. He's a nice guy, with a great sense > of humor -- but even he admits "C makes it easy to shoot yourself in the > foot; C++ makes it harder, but when you do it blows your whole leg off." > http://en.wikiquote.org/wiki/Bjarne_Stroustrup There's always the theory that Bjarne Stroustrup actually meant C++ as a joke: http://harmful.cat-v.org/software/c++/I_did_it_for_you_all It's generally regarded as a hoax, and there is an actually published interview that corresponds with this time period in IEEE's Computer Magazine that reads quite differently from this. Still . . . if this is real, it would certainly explain a lot. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp1ZRsKuA2As.pgp Description: PGP signature
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun, Nov 14, 2010 at 02:41:41PM -0700, Chad Perrin wrote: > On Sun, Nov 14, 2010 at 12:44:50PM -0800, Gary Kline wrote: > > > > I'd vote for "E" since that might have more positive > > connotations that "D". :-) Skip "F" altogether. > > That might be a good point. > > Google has taught me that single-letter names for programming languages > (or anything else, apparently) are not so good for the Internet age, > however. I won't argue the point! but how about "IEEE"? I subscribed to that for years and some people noted that spoken as a word, "Ieee" was like the primal scream! Hm maybe the EEE language?! > > > > > > Just about the whole Murray Hill gang stopped by Cray > > (in Chippewa Falls), late 80's, and I remember asking Dennis > > what the deal was with "C++"; I remember him dodging the > > thing. Whoever-invented-C++ did a convoluted job, i s my > > opinion. It might be nice to add classes to C, but that's > > about it. > > Perhaps ironically, some called C++ "C With Classes" early on, as I > recall. Meanwhile, Objective-C ended up being what C++ initially claimed > it would be (a strict superset of C that provided facilities for OOP), > while C++ failed to live up to its own promises while expanding into all > kinds of things that were not actually desired in those early days (like > a politician once elected to office). This is, of course, largely the > perspective of an outsider, so take it for what it's worth. > About 2000, 2001 was when I shucked my "muuz" game/mind-machine effort. It was over 10K line of C-ish code that I rehacked into C++. Figured since C++ was "_the_ new language" that it was a good move. Then I realized how you could spend a lifetime learning C++ I backed off and kept it simple. > > > > > TWo questions: didn't IBM create CPL? And doesn't BCPL > > Stand for "British Computer Programming Language"? (I did have > > both editions of the C book by Brian and DEnnis; then loaned the > > 2nd edition and never got ti back.) I think Dennis gives credit > > to BCPL Somewhere. Pretty sure those guys are all retired to > > somewhere *warm and sunny* by now! > > The second edition is still in stores all over the place. It's the first > edition that would be difficult to find these days, I think. My father > tells me he has a copy, though I've never seen it; I only have the second > edition. Yeah, it's on amazon.com, but "my bible" {seriously!} is good enough. Dog-earned and coffee-stained; but it's the same as the 2nd Ed. The 2nd is ANSI-ified, IIRC. gary > > -- > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://journey.thought.org For non-text MUA's http://theopenpress.com/index.php?a=print&code=00&id=88532 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
Quoth Gary Kline on Sunday, 14 November 2010: > > > Just about the whole Murray Hill gang stopped by Cray > (in Chippewa Falls), late 80's, and I remember asking Dennis > what the deal was with "C++"; I remember him dodging the > thing. Whoever-invented-C++ did a convoluted job, i s my > opinion. It might be nice to add classes to C, but that's > about it. > The inventor of C++ is Bjarne Stroustrop. I had the chance opportunity to sit down at a table with him and have a conversation prior to an SD West conference several years ago. He's a nice guy, with a great sense of humor -- but even he admits "C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do it blows your whole leg off." http://en.wikiquote.org/wiki/Bjarne_Stroustrup > -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgpmezCqzSzcR.pgp Description: PGP signature
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun, Nov 14, 2010 at 12:44:50PM -0800, Gary Kline wrote: > > I'd vote for "E" since that might have more positive > connotations that "D". :-) Skip "F" altogether. That might be a good point. Google has taught me that single-letter names for programming languages (or anything else, apparently) are not so good for the Internet age, however. > > Just about the whole Murray Hill gang stopped by Cray > (in Chippewa Falls), late 80's, and I remember asking Dennis > what the deal was with "C++"; I remember him dodging the > thing. Whoever-invented-C++ did a convoluted job, i s my > opinion. It might be nice to add classes to C, but that's > about it. Perhaps ironically, some called C++ "C With Classes" early on, as I recall. Meanwhile, Objective-C ended up being what C++ initially claimed it would be (a strict superset of C that provided facilities for OOP), while C++ failed to live up to its own promises while expanding into all kinds of things that were not actually desired in those early days (like a politician once elected to office). This is, of course, largely the perspective of an outsider, so take it for what it's worth. > > TWo questions: didn't IBM create CPL? And doesn't BCPL > Stand for "British Computer Programming Language"? (I did have > both editions of the C book by Brian and DEnnis; then loaned the > 2nd edition and never got ti back.) I think Dennis gives credit > to BCPL Somewhere. Pretty sure those guys are all retired to > somewhere *warm and sunny* by now! The second edition is still in stores all over the place. It's the first edition that would be difficult to find these days, I think. My father tells me he has a copy, though I've never seen it; I only have the second edition. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgpBjOf4A6ihn.pgp Description: PGP signature
Re[5]: How to obtain what swi1:net is doing?
Здравствуйте, Коньков. Вы писали 14 ноября 2010 г., 18:48:46: КЕ> Здравствуйте, Ivan. КЕ> Вы писали 13 ноября 2010 г., 20:35:12: IV>> 2010/11/13 Коньков Евгений : >>> IV> net.isr.direct_force=0 >>> IV> net.isr.maxthreads=2 >>> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >>> FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads >>> cpu0 (BSP): APIC ID: 0 >>> cpu1 (AP): APIC ID: 1 >>> cpu2 (AP): APIC ID: 4 >>> cpu3 (AP): APIC ID: 5 >>> ioapic0: Changing APIC ID to 6 >>> ioapic0 irqs 0-23 on motherboard >>> netisr_init: forcing maxthreads to 1 and bindthreads to 0 for device polling >>> >>> # cat /boot/loader.conf >>> net.isr.maxthreads=2 >>> >>> maxthreads does not affected IV>> I don't understand: how is it not affected? КЕ> # cat /boot/loader.conf КЕ> net.isr.maxthreads=2 КЕ> after server was rebooted: КЕ> # sysctl net.isr.maxthreads КЕ> net.isr.maxthreads: 1 meta-up# dmesg | less Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #0: Wed Nov 10 23:25:34 EET 2010 a...@meta-up:/usr/obj/usr/src/sys/KES_KERN_v9 i386 CPU: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz (4145.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x20652 Family = 6 Model = 25 Stepping = 2 Features=0xbfebfbff Features2=0x98e3bd AMD Features=0x2810 AMD Features2=0x1 TSC: P-state invariant real memory = 2147483648 (2048 MB) avail memory = 2012078080 (1918 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <010710 APIC1823> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 5 ioapic0: Changing APIC ID to 6 ioapic0 irqs 0-23 on motherboard netisr_init: forcing maxthreads to 1 and bindthreads to 0 for device polling I think problem is here. I have compiled with: options DEVICE_POLLING IV>> On a system with maxthreads=2, here is how it shows: IV>> betelgeuse:/home/ivoras# ps axuHc | grep isr IV>> root 12 3.0 0.0 0 432 ?? WL 12:21PM 0:09.21 IV>> intr/swi1: netisr 7 IV>> root 12 0.0 0.0 0 432 ?? WL 12:21PM 0:00.00 IV>> intr/swi1: netisr 0 IV>> I.e. there are two threads here, bound to CPU cores 0 and 7. КЕ> on my system with КЕ> # cat /boot/loader.conf КЕ> net.isr.maxthreads=2 КЕ> and server reboot КЕ> # ps axuHc | grep isr КЕ> root 12 0,0 0,0 0224 ?? WL 12:54 0:00,00 intr/swi1: netisr 0 >>> #uname -r >>> 9.0-CURRENT IV>> Yes, multithreaded netisr was introduced in FreeBSD 8, it wasn't there in 7. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
intel integrated graphic driver
hello dear list i'm new in freebsd ;) but i have several years working with linux distru(s) as my workstation and i say freebsd rocks :) my problem is about my dell 1564 laptop with intel integrated graphic and the actual resolution should be 1366x768 but it stick at 1024x768, i use freebsd 8.1, and read all forum and handbook stuff about configure xf86-video-intel and xorg.conf but it didnt work. and even i tried downgrade the driver with http://forums.freebsd.org/showthread.php?t=5097 but it have problem in instalation and last version of everything didn't work, is there any chance to have the right screen with freebsd and dell 1564 widescreen with xf86-video-intel ? Best Regards, abdo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun, Nov 14, 2010 at 01:00:35AM -0800, per...@pluto.rain.com wrote: > Chad Perrin wrote: > > On Sat, Nov 13, 2010 at 02:32:04PM -0600, Robert Bonomi wrote: > > > should the one-leter name for 'c++' be 'd' or 'p'? > > > (nobody could decide/agree, which *IS* why it is 'c++' > > > to this day) > > > > ... D is already another programming language ... > > It wasn't back then :) > > > I don't know what this P has to do with it. > > You have revealed yourself as a newbie :) > > In the beginning there was CPL, the "Combined Programming Language." > It was large enough to be infeasible to implement using then-current > technologies, so the "Bootstrap Combined Programming Language" (BCPL) > was invented, with the intent that the first CPL compiler would be > written in BCPL. > > CPL never amounted to much -- I don't know whether it was ever > implemented at all -- but BCPL developed a following. Someone > (at Bell Labs?) produced a derivative called B, from which a few > researchers at Murray Hill derived C. Thus the question: should > the next language in the series be named D (next alphabetically) > or P (next letter of BCPL)? I'd vote for "E" since that might have more positive connotations that "D". :-) Skip "F" altogether. Just about the whole Murray Hill gang stopped by Cray (in Chippewa Falls), late 80's, and I remember asking Dennis what the deal was with "C++"; I remember him dodging the thing. Whoever-invented-C++ did a convoluted job, i s my opinion. It might be nice to add classes to C, but that's about it. TWo questions: didn't IBM create CPL? And doesn't BCPL Stand for "British Computer Programming Language"? (I did have both editions of the C book by Brian and DEnnis; then loaned the 2nd edition and never got ti back.) I think Dennis gives credit to BCPL Somewhere. Pretty sure those guys are all retired to somewhere *warm and sunny* by now! gary > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://journey.thought.org For non-text MUA's http://theopenpress.com/index.php?a=print&code=00&id=88532 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
On Sun, Nov 14, 2010 at 01:00:35AM -0800, per...@pluto.rain.com wrote: > Chad Perrin wrote: > > > > ... D is already another programming language ... > > It wasn't back then :) It is now, though, so it's a little late. So sorry. > > > I don't know what this P has to do with it. > > You have revealed yourself as a newbie :) No -- I've revealed myself as someone who doesn't care nearly as much about C++ as about C. > > In the beginning there was CPL, the "Combined Programming Language." > It was large enough to be infeasible to implement using then-current > technologies, so the "Bootstrap Combined Programming Language" (BCPL) > was invented, with the intent that the first CPL compiler would be > written in BCPL. > > CPL never amounted to much -- I don't know whether it was ever > implemented at all -- but BCPL developed a following. Someone > (at Bell Labs?) produced a derivative called B, from which a few > researchers at Murray Hill derived C. Thus the question: should > the next language in the series be named D (next alphabetically) > or P (next letter of BCPL)? . . . and there was a flamewar over it, blah blah blah, and finally it was C++. Okay. Good historical reference. Thanks. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] pgp5bl4l2AkvF.pgp Description: PGP signature
Re: Mutt Port broken ?
On Sun Nov 14 10, t...@diogunix.com wrote: > Hello everybody, > > just tried to build /usr/ports/mail/mutt but surprisingly got stuck with an > Error 1 though the ports collectionis updated and well maintained: > > m_err -lcrypto -lasn1 -lroken -lcrypt -lssl -lcrypto -lintl -liconv -liconv > muttlib.o(.text+0x12f2): In function `mutt_mktemp': > : warning: warning: mktemp() possibly used unsafely; consider using > mkstemp() > /usr/lib/libhx509.so: undefined reference to `MD2_Init' > /usr/lib/libhx509.so: undefined reference to `MD2_Final' > /usr/lib/libhx509.so: undefined reference to `MD2_Update' > *** Error code 1 > > Stop in /usr/ports/mail/mutt/work/mutt-1.4.2.3. > *** Error code 1 > > Stop in /usr/ports/mail/mutt/work/mutt-1.4.2.3. > *** Error code 1 > > Stop in /usr/ports/mail/mutt/work/mutt-1.4.2.3. > *** Error code 1 > > Stop in /usr/ports/mail/mutt. > > Any ideas on what could be done ? could you post the following: 1) cat /etc/src.conf 2) cd /usr/ports/mail/mutt; make showconfig 3) uname -a cheers. alex > > Thanks a lot in advance > Tom -- a13x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re[4]: How to obtain what swi1:net is doing?
Здравствуйте, Ivan. Вы писали 13 ноября 2010 г., 20:35:12: IV> 2010/11/13 Коньков Евгений : >> IV> net.isr.direct_force=0 >> IV> net.isr.maxthreads=2 >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads >> cpu0 (BSP): APIC ID: 0 >> cpu1 (AP): APIC ID: 1 >> cpu2 (AP): APIC ID: 4 >> cpu3 (AP): APIC ID: 5 >> ioapic0: Changing APIC ID to 6 >> ioapic0 irqs 0-23 on motherboard >> netisr_init: forcing maxthreads to 1 and bindthreads to 0 for device polling >> >> # cat /boot/loader.conf >> net.isr.maxthreads=2 >> >> maxthreads does not affected IV> I don't understand: how is it not affected? # cat /boot/loader.conf net.isr.maxthreads=2 after server was rebooted: # sysctl net.isr.maxthreads net.isr.maxthreads: 1 IV> On a system with maxthreads=2, here is how it shows: IV> betelgeuse:/home/ivoras# ps axuHc | grep isr IV> root 12 3.0 0.0 0 432 ?? WL 12:21PM 0:09.21 IV> intr/swi1: netisr 7 IV> root 12 0.0 0.0 0 432 ?? WL 12:21PM 0:00.00 IV> intr/swi1: netisr 0 IV> I.e. there are two threads here, bound to CPU cores 0 and 7. on my system with # cat /boot/loader.conf net.isr.maxthreads=2 and server reboot # ps axuHc | grep isr root 12 0,0 0,0 0224 ?? WL 12:54 0:00,00 intr/swi1: netisr 0 >> #uname -r >> 9.0-CURRENT IV> Yes, multithreaded netisr was introduced in FreeBSD 8, it wasn't there in 7. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
> From owner-freebsd-questi...@freebsd.org Sun Nov 14 03:09:59 2010 > Date: Sun, 14 Nov 2010 01:00:35 -0800 > From: per...@pluto.rain.com > To: per...@apotheon.com > Cc: freebsd-questions@freebsd.org > Subject: History of C (Re: Why do you use a devil as a mascot?) > > Chad Perrin wrote: > > On Sat, Nov 13, 2010 at 02:32:04PM -0600, Robert Bonomi wrote: > > > should the one-leter name for 'c++' be 'd' or 'p'? > > > (nobody could decide/agree, which *IS* why it is 'c++' > > > to this day) > > > > ... D is already another programming language ... > > It wasn't back then :) > > > I don't know what this P has to do with it. > > You have revealed yourself as a newbie :) > > In the beginning there was CPL, the "Combined Programming Language." > It was large enough to be infeasible to implement using then-current > technologies, so the "Bootstrap Combined Programming Language" (BCPL) > was invented, with the intent that the first CPL compiler would be > written in BCPL. > > CPL never amounted to much -- I don't know whether it was ever > implemented at all -- but BCPL developed a following. Trivia: BCPL was the _first_ programming language to use 'curly braces' to group statements. It also used '//' to indroduce a 'single-line comment'. >Someone > (at Bell Labs?) Ken Thompson, 1969 > produced a derivative called B, from which a few > researchers at Murray Hill derived C. Mostly one. Dennis Ritchie, circa 1972. Brian Kernighan contributed, and Ken stuck his oar in occasionally. >Thus the question: should > the next language in the series be named D (next alphabetically) > or P (next letter of BCPL)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Mutt Port broken ?
Hello everybody, just tried to build /usr/ports/mail/mutt but surprisingly got stuck with an Error 1 though the ports collectionis updated and well maintained: m_err -lcrypto -lasn1 -lroken -lcrypt -lssl -lcrypto -lintl -liconv -liconv muttlib.o(.text+0x12f2): In function `mutt_mktemp': : warning: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libhx509.so: undefined reference to `MD2_Init' /usr/lib/libhx509.so: undefined reference to `MD2_Final' /usr/lib/libhx509.so: undefined reference to `MD2_Update' *** Error code 1 Stop in /usr/ports/mail/mutt/work/mutt-1.4.2.3. *** Error code 1 Stop in /usr/ports/mail/mutt/work/mutt-1.4.2.3. *** Error code 1 Stop in /usr/ports/mail/mutt/work/mutt-1.4.2.3. *** Error code 1 Stop in /usr/ports/mail/mutt. Any ideas on what could be done ? Thanks a lot in advance Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: History of C (Re: Why do you use a devil as a mascot?)
> > CPL never amounted to much -- I don't know whether it was ever > implemented at all -- but BCPL developed a following. Someone > (at Bell Labs?) produced a derivative called B, from which a few > researchers at Murray Hill derived C. Thus the question: should > the next language in the series be named D (next alphabetically) > or P (next letter of BCPL)? Wow!!! I had forgotten... I have done some projects using BCPL... in a mainframe (S370) running MVS in the 70's... it was lightning fast. we had made a kind of TSO (time sharing option) that runs on top of VTAM, to bring "online compile and run" cobol programs to the desktop... while a batch work responds in 3 hours, a TSO (written in bcpl) responds in seconds... Thanks for remember the "good old days" ... it is still active!!! => http://www.cl.cam.ac.uk/~mr10/BCPL.html Sergio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Sorry state of the rsync based CVS,replication
On 12 Nov 2010, at 09:47, Patrick Bihan-Faou wrote: > Don't take this as flamebait, because I have no intention in starting a war > on this particular issue, but as good as cvsup is, this is unfortunately a > fairly isolated tool that, from my prospective (which is necessarily biaised > and incomplete), does not offer any feature compelling enough to prefer it > over rsync in our case. That position is by essence just a personal view, > applicable to me only and not to anybody else. Also I have to admit that now > that the m3 dependency is gone with csup, it becomes easier to return to it. The issue is not to remove CVS via rsync - just to remove it from the FTP collection where it doesn't belong. There is nothing which prevents mirror sites from providing access to the CVS repo via rsync, even if they get it via CVSup... If it's useful (IE, any of the primary mirrors requests it) we can probably rather easily set up rsync access via cvsup-master. That said, I think rsync access is likely not too interesting for most master mirrors as they likely provide access to the repo via CVSup already, so they have cvsup installed already. -- Simon L. B. Nielsen Hat: FreeBSD.org clusteradm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
History of C (Re: Why do you use a devil as a mascot?)
Chad Perrin wrote: > On Sat, Nov 13, 2010 at 02:32:04PM -0600, Robert Bonomi wrote: > > should the one-leter name for 'c++' be 'd' or 'p'? > > (nobody could decide/agree, which *IS* why it is 'c++' > > to this day) > > ... D is already another programming language ... It wasn't back then :) > I don't know what this P has to do with it. You have revealed yourself as a newbie :) In the beginning there was CPL, the "Combined Programming Language." It was large enough to be infeasible to implement using then-current technologies, so the "Bootstrap Combined Programming Language" (BCPL) was invented, with the intent that the first CPL compiler would be written in BCPL. CPL never amounted to much -- I don't know whether it was ever implemented at all -- but BCPL developed a following. Someone (at Bell Labs?) produced a derivative called B, from which a few researchers at Murray Hill derived C. Thus the question: should the next language in the series be named D (next alphabetically) or P (next letter of BCPL)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re[6]: How to obtain what swi1:net is doing?
Hi, Ivan. IV> 2010/11/13 : >> IV> This is the unconfigured system - numthreads=1, direct_force=1. >> net.isr.maxthreads=2 in /boot/loader.conf change nothing >> after system up value stays "1" (( IV> Just checking: you have rebooted after modifying loader.conf? >after system up value stays "1" I mean 'when system up after reboot, value stays "1"' -- С уважением, Коньков mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re[2]: system utilities job
>> From owner-freebsd-questi...@freebsd.org Sat Nov 13 13:49:32 2010 >> Date: Sat, 13 Nov 2010 19:13:38 +0200 >> From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= >> To: freebsd-questions@freebsd.org >> Subject: system utilities job >> >> Hi, Freebsd-questions. >> >> why I have different results for re0 interface for interrupt >> statistic? >> >> # vmstat -i >> interrupt total rate >> irq1: atkbd0 5 0 >> irq16: ehci0 84414 1 >> irq17: atapci0329838 5 >> irq23: ehci1 112524 2 >> cpu0:timer 119506195 2125 >> irq266: re0492258114 8753 << >> cpu3:timer 98445240 1750 >> cpu1:timer 95782407 1703 >> cpu2:timer 89616119 1593 >> Total 896134856 15934 >> >> #systat -v >> 3 usersLoad 0,42 0,51 0,51 13 ноя 19:12 >> >> Mem:KBREALVIRTUAL VN PAGER SWAP PAGER >> Tot Share TotShareFree in out in out >> Act 860844912 446820 6376 1474852 count >> All 2076288180 262076832204 pages >> Proc:Interrupts >> r p d s w Csw Trp Sys Int Sof Fltcow 21237 total >> 40 93k 12 1129 12k 40k 15 1 zfodatkbd0 >> 1 >> ozfod 1 ehci0 >> 16 >> 2,8%Sys 10,9%Intr 0,0%User 0,0%Nice 86,2%Idle%ozfod10 >> atapci0 17 >> ||||||||||| daefr 2 ehci1 >> 23 >> =++ prcfr 2126 >> cpu0:timer >> 30 dtbuf3 totfr 12744 re0 >> 266 << >> Namei Name-cache Dir-cache110674 desvn react 2127 >> cpu3:timer >>Callshits %hits % 71986 numvn pdwak 2123 >> cpu1:timer >>7 7 100 27160 frevn pdpgs 2104 >> cpu2:timer >> intrn >> Disks ad4172156 wire >> KB/t 15,84 49524 act >> tps 10272900 inact >> MB/s 0,16 272 cache >> %busy 0 1474580 free >> >> RB> for the same reason _all_ the interrupt counts are different. You ran two RB> different commands. at (slightly) differnt times. Thus, the 'real-time' RB> events being reported are _differnet_. A different amount of network RB> traffic will result in different numbers of interrupts from the ethernet RB> interface. Entirely expected. I have ran both commands in two different shell simulatenously at same time. This OS is 9CURRENT. In 7-2RELEASE interupts was same. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"