• Found some old code...

    From Black Panther@21:1/186 to All on Tue Apr 30 23:47:58 2019
    Hi All,

    I was doing some browsing on the ol' internet, and found the old pascal code for a nodelist stat compiler called NetStats from 1991.

    It was written for TurboPascal, but with a few tweaks, I was able to get it
    to compile with Lazarus and FreePascal. :)

    Here is the output file for the fsxNet nodelist. It's kinda interesting...

    snip<=-

    NetStats 4.0 04/30/2019

    INPUT NODELIST FILE : FSXNET.123
    File has a Date Stamp of : 4/27/2019
    File Size (uncompressed) : 25.77 KBytes.

    The Input Nodelist file has 186 Nodes in it
    and a total of 212 non-comment entries.

    The list has 1 Zones listed.
    1 Region Coordinators listed.
    4 Network Hosts listed.
    0 Hubs listed.
    4 DOWN Nodes listed.
    16 PRIVATE Nodes listed.
    0 HOLD Nodes listed.

    Administrative overhead = 6 ( 3.23 %)
    PRIVATE NODES overhead = 16 ( 8.60 %)

    Baud Rate Summary (or, BPS, for the die-hard technocrats):
    9600 = 0 ( 0.00 %)
    (HST's = 0 or 0.00 % of the 9600 baud modems.)
    (PEP's = 0 or 0.00 % " " " " )
    (MAX's = 0 or 0.00 % " " " " )
    (HAY's = 0 or 0.00 % " " " " )
    (V32's = 0 or 0.00 % " " " " )
    (V32B's = 1 or 0.00 % " " " " )
    (V42's = 0 or 0.00 % " " " " )
    (V42B's = 1 or 0.00 % " " " " )
    2400 = 0 ( 0.00 %)
    1200 = 0 ( 0.00 %)
    300 = 186 (100.00 %)

    CrashMail capable = 186 (100.00 %)
    MailOnly Nodes = 5 ( 2.69 %)

    [ This report produced by NETSTATS - A P.D. pgm available from 1:106/100 ]
    [ Original source code - NetStats 3.1 02/28/1991 - Justin Marquez Jr ]
    [ This report now produced by NETSTATS - Redesigned and Updated 1:317/3 ]
    [ (RCS)NetStats 4.0 - Black Panther(RCS) - Castle Rock BBS ]


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From xqtr@21:1/111 to Black Panther on Wed May 1 08:45:06 2019
    I was doing some browsing on the ol' internet, and found the old pascal code for a nodelist stat compiler called NetStats from 1991.
    It was written for TurboPascal, but with a few tweaks, I was able to get it to compile with Lazarus and FreePascal. :)

    Nice! There are a lot of stuff written in TP that we could transfer to FP and modern BBSes.

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From apam@21:1/125 to xqtr on Wed May 1 17:58:22 2019
    I was doing some browsing on the ol' internet, and found the old
    code for a nodelist stat compiler called NetStats from 1991.
    It was written for TurboPascal, but with a few tweaks, I was able
    it to compile with Lazarus and FreePascal. :)

    Nice! There are a lot of stuff written in TP that we could transfer
    to FP and modern BBSes.

    I was having a go at Tiny's OpenEdit today, didn't get very far as I
    don't know pascal very well at all. It's a nice editor though and would
    be good to have on Linux / Windows.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From Black Panther@21:1/186 to xqtr on Wed May 1 02:02:12 2019
    On 01 May 2019, xqtr said the following...

    Nice! There are a lot of stuff written in TP that we could transfer to
    FP and modern BBSes.

    I'm not sure how much of that I would want to do. I was just curious to see
    if I could do it. :)

    There is a lot out there. I'm just not sure how much would actually be worth spending the time with...


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From Vk3jed@21:1/109 to xqtr on Wed May 1 21:11:00 2019
    On 05-01-19 08:45, xqtr wrote to Black Panther <=-

    Nice! There are a lot of stuff written in TP that we could transfer to
    FP and modern BBSes.

    That would be good. :) I looked at FP, but don't have the time to relearn these days. :(


    ... Anger...fear...aggression. The dark side of the Force are they.
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From xqtr@21:1/111 to Black Panther on Wed May 1 13:43:20 2019
    There is a lot out there. I'm just not sure how much would actually be worth spending the time with...

    Sure... not all... but some that actually do have a worth for today also.

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From xqtr@21:1/111 to Vk3jed on Wed May 1 13:44:30 2019
    Nice! There are a lot of stuff written in TP that we could transfer t FP and modern BBSes.
    That would be good. :) I looked at FP, but don't have the time to
    relearn these days. :(

    There is also the problem that there is not a working DOOR kit for windows machines written for FreePascal. They will work under linux, but not under windows.

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Va7aqd@21:4/150 to Black Panther on Wed May 1 09:19:58 2019
    Re: Found some old code...
    By: Black Panther to All on Tue Apr 30 2019 11:47 pm

    300 = 186 (100.00 %)

    Man we're a bunch of cheapskates on this network! 1200 baud modems have been widely available for at least a couple of years now!
    --- SBBSecho 3.07-Linux
    * Origin: VA7AQD's Tavern in Kamloops, BC! - bbs.isurf.ca (21:4/150)
  • From Black Panther@21:1/186 to Va7aqd on Wed May 1 12:21:32 2019
    On 01 May 2019, Va7aqd said the following...

    300 = 186 (100.00 %)

    Man we're a bunch of cheapskates on this network! 1200 baud modems have been widely available for at least a couple of years now!

    We'll never need more than a 300 baud modem... :)


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From Va7aqd@21:4/150 to Black Panther on Wed May 1 13:01:32 2019
    Re: Re: Found some old code...
    By: Black Panther to Va7aqd on Wed May 01 2019 12:21 pm

    We'll never need more than a 300 baud modem... :)

    My arm gets tired with all the acoustic coupling, though.
    --- SBBSecho 3.07-Linux
    * Origin: VA7AQD's Tavern in Kamloops, BC! - bbs.isurf.ca (21:4/150)
  • From Smooth@21:2/110 to xqtr on Wed May 1 21:18:08 2019
    On 01 May 2019, xqtr inked down this thought...
    There is also the problem that there is not a working DOOR kit for
    windows machines written for FreePascal. They will work under linux, but not under windows.

    Is there any way to port it over any of these old Pascal Door Kits to use the Modern Pascal runtime? Maybe Ozz can assist. Or is the problem that the
    source is not available for these kits?

    |03Ú-|02-|10-Ä|11ÄÄ-|15- - -ú ú ú
    |03: |15sM|11OO|10T|02H |15<|08< |07FUEL|04.|07iMPURE|04.|07pHENOM |08>|15> |03Ã-|02-|10-Ä|11ÄÄ-|15- - -ú ú ú
    |03: |15telnet |07>> |11bbs|03.|11inktwo|03.|11com |10port |1523 |03À-|02-|10-Ä|11ÄÄ-|15- - -ú ú ú

    |08|11f|03avorite |11q|03uote|02:
    |14tK: |11"|07look |15MOM|08! |07no |15INTERNET|08!|11"

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: .{* iNK!2 // bbs.inktwo.com \\ +o Smooth *}. (21:2/110)
  • From xqtr@21:1/111 to Smooth on Thu May 2 08:28:34 2019
    Is there any way to port it over any of these old Pascal Door Kits to
    use the Modern Pascal runtime? Maybe Ozz can assist. Or is the problem that the source is not available for these kits?

    The kits are available but some that i've tested even if they seem that work, they actually dont. The closest success i had was with g00r00s kit (xdoor) but it dispayed no colors and the ansis were somehow "trimmed" or reversed.

    I dont have the knowledge to corrext them so i forgot it. I think that the
    most viable solution would be to make a pascal header file to use odoors62.dll which works and is under ddevelopment... but i aint know a thing about C :)

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Xenos@21:4/147 to Va7aqd on Thu May 2 14:25:22 2019
    RE: Re: Found some old code...
    BY: Va7aqd (21:4/150)

    On Wednesday, May 01, 2019 at 12:01 PM, Va7aqd (21:4/150) wrote:

    Re: Re: Found some old code...
    By: Black Panther to Va7aqd on Wed May 01 2019 12:21 pm

    We'll never need more than a 300 baud modem... :)

    My arm gets tired with all the acoustic coupling, though.

    Beware of Line Noise! :P

    A .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
    /*\ | /\liens' /\lcove! WWIV on Linux - Taguig, Metro Manila, Philippines |
    / v \`-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=[ WWIV Reg. #30282 ]-=-=-=-=-=-=-=-'

    --- WWIV 5.3.0.development
    * Origin: /\lien's /\lcove! WWIV 5 on Linux | aliens.free.net.ph (21:4/147)
  • From Vk3jed@21:1/109 to xqtr on Thu May 2 20:37:00 2019
    On 05-01-19 13:44, xqtr wrote to Vk3jed <=-

    Nice! There are a lot of stuff written in TP that we could transfer t FP and modern BBSes.
    That would be good. :) I looked at FP, but don't have the time to
    relearn these days. :(

    There is also the problem that there is not a working DOOR kit for
    windows machines written for FreePascal. They will work under linux,
    but not under windows.

    Hmm, that's a nuisance too. :(


    ... Catch the wave.€€€€€..€€€€€..€€€€€..€€€€€..€€€€€..€€€€€
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From Tiny@21:1/130.4 to apam on Thu May 2 11:03:50 2019
    Quoting apam to xqtr <=-

    I was having a go at Tiny's OpenEdit today, didn't get very far as I
    don't know pascal very well at all. It's a nice editor though and
    would be good to have on Linux / Windows.

    I tried for a few years, but at this point I can't even code hello
    world anymore. The code is out there for anyone to update it and try
    I keep hoping someone fixes it.

    Shawn

    ... Activity is the politician's substitute for achievement.
    --- Blue Wave/386
    * Origin: A Tiny slice o pi (21:1/130.4)
  • From Robert Wolfe@21:2/136 to Xqtr on Thu May 2 15:35:40 2019
    On May 01, 2019 01:42pm, xqtr wrote to Black Panther:

    There is a lot out there. I'm just not sure how much would actually be
    worth spending the time with...

    Sure... not all... but some that actually do have a worth for today also.

    Heh, if we are talking about Pascal code, don't you mean "Wirth?" :)

    ... Platinum Xpress & Wildcat!..... Nice!!!!
    --- Platinum Xpress/Win/WINServer v7.0
    * Origin: Lean Angle BBS * Southaven MS * winserver.org (21:2/136)
  • From Xenos@21:4/147 to Robert Wolfe on Fri May 3 08:41:06 2019
    RE: Re: Found some old code...
    BY: Robert Wolfe (21:2/136)

    On Thursday, May 02, 2019 at 02:35 PM, Robert Wolfe (21:2/136) wrote:

    On May 01, 2019 01:42pm, xqtr wrote to Black Panther:

    There is a lot out there. I'm just not sure how much would actually b BP>> worth spending the time with...

    Sure... not all... but some that actually do have a worth for today als

    Heh, if we are talking about Pascal code, don't you mean "Wirth?" :)

    What in Blaise's name are you talking about?

    Oh, wait, you meant it's a nickel's wirth? ;)

    A .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
    /*\ | /\liens' /\lcove! WWIV on Linux - Taguig, Metro Manila, Philippines |
    / v \`-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=[ WWIV Reg. #30282 ]-=-=-=-=-=-=-=-'

    --- WWIV 5.3.0.development
    * Origin: /\lien's /\lcove! WWIV 5 on Linux | aliens.free.net.ph (21:4/147)
  • From apam@21:1/125 to Tiny on Fri May 3 13:55:12 2019
    Quoting apam to xqtr <=-

    I was having a go at Tiny's OpenEdit today, didn't get very far a don't know pascal very well at all. It's a nice editor though and would be good to have on Linux / Windows.

    I tried for a few years, but at this point I can't even code hello
    world anymore. The code is out there for anyone to update it and
    try I keep hoping someone fixes it.

    I'd really like to be able to port it, but I'm starting to think it might
    be easier to rewrite it in C++ using the Pascal source as a reference.
    Doing that would be a big job, and I've got enough projects going for the
    time being, although, I really need to rewrite magiedit (the code in that
    is horrible) maybe I could do that instead.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From xqtr@21:1/111 to Robert Wolfe on Fri May 3 06:53:18 2019
    Heh, if we are talking about Pascal code, don't you mean "Wirth?" :)

    i had to search for it to understand it.. but i got it... :P

    modern pascal is better than many other prog.lang. specially python, but it cant gain the fame of them. dont understand why. :(

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From apam@21:1/125 to xqtr on Fri May 3 16:07:32 2019
    Heh, if we are talking about Pascal code, don't you mean "Wirth?"

    i had to search for it to understand it.. but i got it... :P

    modern pascal is better than many other prog.lang. specially python,
    but it cant gain the fame of them. dont understand why. :(

    When you say "modern pascal" do you mean Ozz Nixon's "Modern Pascal"
    thing or just general pascal that is modern (like free pascal).

    Why is it better than Python? I came late to the party with Python and
    disliked it's fussy indentation requirements, but after getting used to
    it, it wasn't too bad.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From xqtr@21:1/111 to apam on Fri May 3 10:41:34 2019
    When you say "modern pascal" do you mean Ozz Nixon's "Modern Pascal"
    thing or just general pascal that is modern (like free pascal).

    every pascal after tp7 and that is object oriented prog. can be considered as "modern pascal", like FP, Delphi etc.

    Why is it better than Python? I came late to the party with Python and disliked it's fussy indentation requirements, but after getting used to it, it wasn't too bad.

    because python is script language. just that makes a difference in a lo of things, but no one pays attention to that cause now days we have cpus that run at 3+gh. Debugging python is very difficult and i dont mean simple typing mistakes. Python is very good for making quick "proof of concept" things,
    utils and so. But because it has so many extensions/packages and because of
    the speed of the machines today, evwryone thinks that is the "best programming lang."

    Today we measure "value" not by objective things, but by fame only. If something has "fame" is "good", if not... not worth it. This applies to many areas of our lives not just prog.languages.

    We even say that java/script is "better" than c/++ :? because "everyone is using them" >:(

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From apam@21:1/125 to xqtr on Fri May 3 20:42:14 2019
    When you say "modern pascal" do you mean Ozz Nixon's "Modern Pasc thing or just general pascal that is modern (like free pascal).

    every pascal after tp7 and that is object oriented prog. can be
    considered as "modern pascal", like FP, Delphi etc.

    Ah ok, I wasn't sure :)

    Why is it better than Python? I came late to the party with Pytho disliked it's fussy indentation requirements, but after getting u
    it, it wasn't too bad.

    because python is script language. just that makes a difference in a
    lo of things, but no one pays attention to that cause now days we
    have cpus that run at 3+gh. Debugging python is very difficult and i
    dont mean simple typing mistakes. Python is very good for making
    quick "proof of concept" things, utils and so. But because it has so
    many extensions/packages and because of the speed of the machines
    today, evwryone thinks that is the "best programming lang."

    I think it's a case for different tools for different jobs. For example,
    you say python is very good for making quick "proof of concept" things
    etc. I used python for the ftp transfer part of my mnet utils because it
    was quick and easy to get going, it works and as you say we have fast
    computers now days and it's not an application that's continuously
    running, I don't think it really matters that it's a script.

    I learned pascal in 1998 and used it for a little while, but after
    learning C I really don't remember any of it, so I can't make a comment
    on Pascal being good or bad.

    Today we measure "value" not by objective things, but by fame only.
    If something has "fame" is "good", if not... not worth it. This
    applies to many areas of our lives not just prog.languages.

    I'm sure that's partly true, but things get famous for a reason. I think python's claim to fame is that it's easy to learn, and a good starting
    place for beginner programs. One time this would be BASIC, but not so
    much anymore.

    We even say that java/script is "better" than c/++ :? because
    "everyone is using them" >:(

    Again, I don't think java/script is better than c/c++ but I don't think
    it's worse either, it depends on what you create with them.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From Tiny@21:1/130.4 to apam on Fri May 3 11:24:44 2019
    Quoting apam to Tiny <=-

    I'd really like to be able to port it, but I'm starting to think it
    might be easier to rewrite it in C++ using the Pascal source as a reference. Doing that would be a big job, and I've got enough projects going for the time being, although, I really need to rewrite magiedit
    (the code in that is horrible) maybe I could do that instead.

    That's probably the way to go. Just take some of the things you like in
    Oedit and add them to Magiedit. I personally like magiedit more at this
    point but mainly because it's fast.

    Shawn

    ... Oxymoron: New and improved.
    --- Blue Wave/386
    * Origin: A Tiny slice o pi (21:1/130.4)
  • From poindexter FORTRAN@21:4/122 to xqtr on Fri May 3 06:38:00 2019
    xqtr wrote to apam <=-

    because python is script language. just that makes a difference in a lo
    of things, but no one pays attention to that cause now days we have
    cpus that run at 3+gh.

    And gobs of memory. Have you seen that web page that lists all the
    things that are bigger then Turbo Pascal?

    Turbo Pascal 3.02 is 39k. Zlib.h from Apple SDK is 80k, Jquery 1.6 is
    90k, and the wikipedia page for C++ is 214k.

    Embarcadero Technologies released all of the older TP packages a few
    years back, I might be tempted to try my hand at it, after all these
    years.














    ... What does it mean?
    --- MultiMail/XT v0.51
    * Origin: http://realitycheckbbs.org (21:4/122)
  • From xqtr@21:1/111 to apam on Fri May 3 18:39:38 2019
    I think it's a case for different tools for different jobs. For example, you say python is very good for making quick "proof of concept" things etc. I used python for the ftp transfer part of my mnet utils because it was quick and easy to get going, it works and as you say we have fast computers now days and it's not an application that's continuously running, I don't think it really matters that it's a script.

    Sure i agree, this was the whole concept of Python.. making things quick and dirty but in some "cost". Because now the "cost" is minimal, people think that python is a "badass programming language", which is not. :)

    I learned pascal in 1998 and used it for a little while, but after learning C I really don't remember any of it, so I can't make a comment
    on Pascal being good or bad.

    Its not what is "good" and what is "bad"... we all have our preferences. I
    like pascal because is easy to learn and read... i can't stand brackets and
    the hard (for me) syntax of C... but Pascal also, is not a terrible language
    as many say... on the contrary is very good and Delphi make a very good point on that. Lazarus project also.

    I'm sure that's partly true, but things get famous for a reason. I think python's claim to fame is that it's easy to learn, and a good starting place for beginner programs. One time this would be BASIC, but not so
    much anymore.

    Python is not good for learning programmin... my opinion. Its not structured programming. You declare variables and functions all over the place and debugging is hard. Pascal is a very good lang. to learn how to make programs the right way... after that you can go to script langs and do whatever.

    Because younger people introduced to python/javascript very early and don't learn pascal or another strict structured lang first, languages like python, javascript, java, became "famous" and even C is loosing in "popularity".

    I am not saying that Pascal is better than python, c etc... i am just saying that pascal should be more well known cause it has some unique features and
    its a pitty that is not recognized at all by programmers. :(

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From tenser@21:1/188 to xqtr on Fri May 3 21:18:48 2019
    On 03 May 2019, xqtr said the following...

    Sure i agree, this was the whole concept of Python.. making things quick and dirty but in some "cost". Because now the "cost" is minimal, people think that python is a "badass programming language", which is not. :)

    Python actually started out as the scripting language for
    the Amoeba operating system; Guido was on of Andy Tanenbaum's
    students (Andy is of course most famous for Minix, which was
    written for teaching operating systems).

    Python is not good for learning programmin... my opinion. Its not structured programming. You declare variables and functions all over the place and debugging is hard. Pascal is a very good lang. to learn how to make programs the right way... after that you can go to script langs and do whatever.

    Oh wow, there's so much to unpack here.

    The way we write programs has changed dramatically in the last
    25 years. Structured programming is more or less gone, but really
    the biggest difference is that we no longer write discrete
    self-contained programs, but rather, most programmers are writing
    glue that ties together libraries of pre-canned functionality.

    Is that the Right Way (TM) to do it? Maybe, maybe not, but for
    better or worse it's what they do. Personally, I'm glad that one
    can define variables at the point of first use; limiting scope
    is good in large programs. Similarly with functions, etc.

    I would argue that a much better way to learn the fundamentals
    of computation would be to start with some kind of Lisp dialect;
    this was why MIT used Scheme for many years. CMU was teaching
    SML in its intro courses for a while. Most of the top-tier
    programs have changed to Python at this point because it is
    familiar, available, and if used properly not far from e.g. Lisp. Unfortunately, Lisp tends to be dynamically typed, which is
    error-prone (hence SML or something like Haskell, though the
    latter is probably beyond most beginners).

    Languages like Pascal share a lot of similarities with C; they're
    imperative procedural languages. The syntactic differences are
    minor. Perhaps the biggest difference is that Pascal is strongly
    typed whereas C is not (adding a number to an array in C is magically
    pointer arithmetic), and Pascal was designed as a teaching language,
    while C was designed as a systems programming language for the
    implementation of Unix and its utilities. ISO Pascal is simple to
    the point of being simplistic and is not a comfortable programming
    environment; of course it's been extended via Object Pascal, Delphi
    and Free Pascal, etc. Oh, and the variable declaration syntax in C
    is an acknowledged mistake; fixed in Go, which is sort of a spiritual descendant.

    I've seen a number of grad students struggle with C, and it continues
    to flummox professional programmers, but really Pascal wouldn't be
    any better in this area if it were more common.

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: ACiD Underworld // acidunderworld.com:31337 (21:1/188)
  • From esc@21:1/112 to xqtr on Fri May 3 22:55:00 2019
    Because younger people introduced to python/javascript very early and don't learn pascal or another strict structured lang first, languages
    like python, javascript, java, became "famous" and even C is loosing in "popularity".

    I'd argue that C losing popularity isn't all bad. It's dangerous, is
    frequently used incorrectly, and really is not necessary this day in age for most purposes, unless you're writing device drivers.

    Java, for most people looking for employability, is king. If I knew 20 years ago what I know now, I'd have spent more time learning java and jumpstart my career into something more relevant than trying to figure out what pointers
    are doing and where memory is being leaked in my crappy C programs.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)
  • From xqtr@21:1/111 to esc on Sat May 4 09:34:44 2019
    I'd argue that C losing popularity isn't all bad. It's dangerous, is frequently used incorrectly, and really is not necessary this day in age for most purposes, unless you're writing device drivers.
    Java, for most people looking for employability, is king. If I knew 20 years ago what I know now, I'd have spent more time learning java and jumpstart my career into something more relevant than trying to figure
    out what pointers are doing and where memory is being leaked in my
    crappy C programs.

    Exactly that! because today someone with knowledge in java/script can find
    more easy a job, than in C... new people tend to learn ONLY those... which is
    a big mistake, in my opinion.

    A similar example... in HAM radio, at least in Greece, when you take the exam for the more advance license, you don't have to learn Morse code anymore... in the past it was mandatory to know it. The result... more ham radio operators but with less knowledge of things... and one of their big argument to be a ham radio op. is to help in ex. natural disasters and so... but what if the
    network is down? and you would be able to transmit only in morse? for example? the same thing applies to many preppers/ham operators...

    So the void that is being created and the lack of C programmers, it may hunt
    as in the future. People are used to machines with many MIPS and don't understand that the first cpus in space were 8086s ;) The same applies in internet bandwidth... we use too much! for stupid things like movies/porn and don't understand that with much less we can do great things. Thats a reason i like textmode/bbsing ;)

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From apam@21:1/125 to xqtr on Sat May 4 21:05:32 2019
    Exactly that! because today someone with knowledge in java/script can
    find more easy a job, than in C... new people tend to learn ONLY
    those... which is a big mistake, in my opinion.

    I don't know that there is a decline in C programmers or not, but what I
    do know is there is a huge increase in programmers in general, so now
    there are different types of programmers. System programmers will be
    writing things like device drivers and operating systems and they will
    need to know the appropriate low level languages. People who develop applications might no C# or Java. Networking programmers might use
    javascript.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From tenser@21:1/188 to xqtr on Sat May 4 07:40:38 2019
    On 04 May 2019, xqtr said the following...

    Exactly that! because today someone with knowledge in java/script can
    find more easy a job, than in C... new people tend to learn ONLY
    those... which is a big mistake, in my opinion.

    The flip side of this argument is that a lot of people who
    learned programming through C and Pascal don't understand
    higher level abstractions because they're too fixated on
    low-level details.

    From a pedagogical standpoint, I'd rather not bog students
    down with the minutiae of dealing with pointers and manual
    memory allocation and other machine-level details when trying
    to teach, say, algorithms or type systems.

    Sure, if one is learning compilers or operating systems one
    must necessarily understand the machine, but even then, the
    higher level one can get the better. Writing a compiler
    itself is much more pleasant in a language with actual garbage
    collection than in something like C or Pascal.

    I recently attended a dissertation defense by a student who
    argued forcefully for writing an OS in a high level language
    with garbage collection; part of the argument is that managed
    languages allow some kinds of optimizations that you simply
    can't get otherwise. For example, garbage collection
    facilitates the use of unlocked atomic reads racing with
    locked writes in structure-sharing data; with a tracing garbage
    collector there's no need for further synchronization in the
    fast path, but without something like that you need atomic
    ops for reference counts, which limits scalability and
    throughput.

    A similar example... in HAM radio, at least in Greece, when you take the exam for the more advance license, you don't have to learn Morse code anymore... in the past it was mandatory to know it. The result... more
    ham radio operators but with less knowledge of things... and one of
    their big argument to be a ham radio op. is to help in ex. natural disasters and so... but what if the network is down? and you would be
    able to transmit only in morse? for example? the same thing applies to many preppers/ham operators...

    I've heard this argument many times in the amateur radio
    community and it is, frankly, kind of silly. Knowing Morse
    code doesn't mean you actually know more about how radios
    work or are a better operator -- it just means that you know
    Morse code. I've met RF engineers who got into amateur
    radio once the code requirement was dropped who know tons
    more than someone who's main skill is that s/he can pass
    traffic at 30WPM in CW.

    I have yet to see a natural disaster situation where one is
    transmitting on HF and can't use SSB or a digital mode, and
    as a former military communicator I can say definitively
    that no one uses CW in a combat environment.

    Simply put, there are no realistic situations where CW is
    the _only_ choice for communications. And hey, I say that
    as a guy who enjoys homebrewing QRP CW rigs!

    So the void that is being created and the lack of C programmers, it may hunt as in the future.

    That may be true, but it's going to be a dusty deck problem.
    I remember when people said much the same thing about FORTRAN
    and COBOL or any number of assembly languages for different
    machines.

    The fact is that there are billions of lines of useful C code
    out there, but most people don't understand how C works. It
    is a dangerous language and its use should be discouraged.

    As an example, consider this code sequence:

    unsigned short
    mul(unsigned short a, unsigned short b)
    {
    return a * b;
    }

    Is the behavior of `mul` always well-defined?

    People are used to machines with many MIPS and
    don't understand that the first cpus in space were 8086s ;)

    That's simply not true. The Gemini digital computer was
    the first "CPU" in space and was most certainly not an 8086;
    it predated that by over a decade. The Apollo guidance
    computer was similarly not an 8086. The first microprocessor
    in space was a Honeywell HDC 402 on Viking 1; Voyager used a
    custom 4-bit CMOS CPU and the space shuttle used redundant
    IBM APA-101S microprocessors.

    [...] The same
    applies in internet bandwidth... we use too much! for stupid things like movies/porn and don't understand that with much less we can do great things. Thats a reason i like textmode/bbsing ;)

    There's an economic argument that's missing here. The scarce
    resource isn't generally bandwidth these days; it's programmer
    and consumer time. Text is all well and good, as is computational
    efficiency, but _most_ of the time it just doesn't matter. Most
    folks consuming content from the Internet aren't interested in
    text and only text; similarly, most of the areas for optimization
    or expansion in programs aren't worth the time it takes to
    implement the optimization.

    Furthermore, when it comes to optimization, a lot of conventional
    wisdom that applied 20 years or so ago is simply irrelevant now,
    or even wrong. A great example is looking at the asymptotic time
    complexity of algorithms: in most theoretical models, memory access
    is assumed to take uniform time, and that was true on real machines
    for a long time. But it's not true anymore; today, we have three
    levels of separate instruction and data caching on top of a
    virtual memory subsystem with its own translation caching substrate,
    and that may be layered on top of persistent storage technologies
    with high non-uniform timing characteristics. As a result, locality
    often dominates algorithmic considerations, to the extent that one
    may _prefer_ a linear or even quadratic or cubic algorithm or data
    structure that fits into a cacheline over an O(lg n) or even O(1)
    algorithm with poor locality or false sharing. Perhaps the canonical
    example of this is that it's almost always better to use a vector
    instead of a tree or hash table for repeated lookups in a small data
    set. Even doing binary search in a sorted vector may be slower than
    a sequential scan because of branching overhead and negating the
    efficacy of CPU speculation.

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: ACiD Underworld // acidunderworld.com:31337 (21:1/188)
  • From xqtr@21:1/111 to tenser on Sat May 4 17:59:52 2019
    I agree with all you've said about programming :)

    I've heard this argument many times in the amateur radio
    community and it is, frankly, kind of silly. Knowing Morse
    code doesn't mean you actually know more about how radios

    Its not about using morse code, as it is to know from where we've started, knowing also the past and being respectful on what we have today. Not just in communications but in many sort of things. :)

    That's simply not true. The Gemini digital computer was
    the first "CPU" in space and was most certainly not an 8086;
    it predated that by over a decade. The Apollo guidance

    It was a metaphoric example ? if i am saying it right... not an actual fact :) it seems you know a lot about :)

    For all the rest you said... i have to understand them first! hahahaah... you are "out of my league" :) i am not even a programmer :)

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From tenser@21:1/188 to xqtr on Sun May 12 08:39:46 2019
    On 04 May 2019, xqtr said the following...

    I've heard this argument many times in the amateur radio
    community and it is, frankly, kind of silly. Knowing Morse
    code doesn't mean you actually know more about how radios

    Its not about using morse code, as it is to know from where we've
    started, knowing also the past and being respectful on what we have
    today. Not just in communications but in many sort of things. :)

    Ah, so homage to history? That's certainly important, though
    I think sometimes we take it too far. Here in the US, in amateur
    radio, one finds all these crusty old dudes tearing down the
    newer hams over silly things: "Well, _I_ had to take a 20 WPM
    code test to get MY extra license, but you're No-Code, so your
    license doesn't mean as much as mine...." Stuff like that. It's
    silly.

    It was a metaphoric example ? if i am saying it right... not an actual fact :) it seems you know a lot about :)

    Oh I see what you mean now; not specifically the 8086 in
    space, just old&slow.

    For all the rest you said... i have to understand them first!

    Ha! :-) Sorry about that.

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: ACiD Underworld // acidunderworld.com:31337 (21:1/188)
  • From xqtr@21:1/111 to tenser on Sun May 12 17:55:34 2019
    Ah, so homage to history? That's certainly important, though
    I think sometimes we take it too far. Here in the US, in amateur
    yep... a balance is sure needed. But i think right now, we are off-balanced by scraping all the "old-stuff". The son of a good friend is studying computer science in a local university, he is in his second half of the first year, and when i asked him what a byte/bit is, he couldn't answer. So i think some
    things have got off hand.

    radio, one finds all these crusty old dudes tearing down the
    newer hams over silly things: "Well, _I_ had to take a 20 WPM
    code test to get MY extra license, but you're No-Code, so your
    license doesn't mean as much as mine...." Stuff like that. It's
    silly.

    There always be guys like that. But looking a glimpse into the past, its never wrong ;)

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)