BSD Magazine and Pascal lazarus / 8-Other ---------------------------------------------------------------------- allanregistos · 2014-01-15 04:14 Hello to all, good day, I can't find the correct section of where to post this, so I decided to post it here. I've downloaded the latest BSD magazine titled: QuoteFreeBSD Programming Primer.In page 7 the magazine mentioned about Pascal, this way: QuoteBASIC and Pascal are great for learning how to code, but they have some limitations.... You can read the whole paragraph from the magazine, a free download, but registration is required. I have felt that their is something wrong with the statement where Pascal was being paired as limited in the same way with BASIC.  So I decided to write one of the BSD magazine contacts found in the magazine, and said in the mail that the Pascal quote is incorrect and that the name Pascal is too generic and may or may not refer to the Modern Pascal we have now such as FPC.  The topic of the magazine was programming/creating QuoteCMS that will run on any Apache / MySQL / PHP stack.[sic] I said also that FPC code will run on most OSes and can do web programming and many web frameworks were created for it. I've got an almost immediate reply and the contact give me thanks and said that if I will be able to write a short review on their next BSD magazine release to tell about the language Pascal, more like a column the contact says.  I've felt that I am not the right person to write a review since my experience of using Free Pascal is not huge or wide. And I believe there are more persons here in the forum who are more resourceful, so I've mailed the contact back give him thanks and I said that it would be a great privilege for Lazarus/Free Pascal to be featured in the BSD magazine and said that I am not the right person to write a review, and will let anyone from this forum to do it. I believe writing a Free Pascal/Lazarus review to be featured in the BSD Magazine is one way of promoting the language in the BSD world.  I am waiting for his reply to acknowledge anyone from this forum to write a review.  If anyone can refer a resource person who is more willing to a write a review of Free Pascal in the BSD magazine, please drop a reply or contact/pm me so that I can forward the email address to the contact. Please do inform me also if what I did is somehow not favorable to Lazarus or Free Pascal. Thank you very much... Allan Registos ---------------------------------------------------------------------- Leledumbo · 2014-01-15 09:05 This is no difference from writing docs actually. You can try writing one and let us here review the correctness or add missing bits. ---------------------------------------------------------------------- Graeme · 2014-01-15 19:22 Quote from: allanregistos on January 15, 2014, 05:14:20 amQuoteBASIC and Pascal are great for learning how to code, but they have some limitations.......snip... I have felt that their is something wrong with the statement where Pascal was being paired as limited in the same way with BASIC. That is so funny. I ready that same magazine today on the train, and I too felt that statement was grossly wrong and out of date. I felt exactly like you, even about the web development. Object Pascal is an amazingly flexible language with hardly any limitations on what it can do. For a minute there I did actually consider contacting the editor to ask if FPC/Lazarus type articles would be accepted. I have written many articles for various magazines in the past, but unfortunately don't have any spare time at the moment - already doing two jobs and trying to keep family life balanced. :-( ---------------------------------------------------------------------- allanregistos · 2014-01-16 00:26 Quote from: Leledumbo on January 15, 2014, 10:05:18 amThis is no difference from writing docs actually. You can try writing one and let us here review the correctness or add missing bits. Thanks buddy.  If no one will step up for the next couple of days, I will write one.  I am planning to download a BSD distro, PC-BSD maybe,  and install Lazarus on it. I will post my draft in this thread for feedback and correction. Thanks! ---------------------------------------------------------------------- allanregistos · 2014-01-16 00:34 Quote from: Graeme Geldenhuys on January 15, 2014, 08:22:46 pmQuote from: allanregistos on January 15, 2014, 05:14:20 amQuoteBASIC and Pascal are great for learning how to code, but they have some limitations.......snip... I have felt that their is something wrong with the statement where Pascal was being paired as limited in the same way with BASIC. That is so funny. I ready that same magazine today on the train, and I too felt that statement was grossly wrong and out of date. I felt exactly like you, even about the web development. Object Pascal is an amazingly flexible language with hardly any limitations on what it can do. For a minute there I did actually consider contacting the editor to ask if FPC/Lazarus type articles would be accepted. I have written many articles for various magazines in the past, but unfortunately don't have any spare time at the moment - already doing two jobs and trying to keep family life balanced. :-( Okay, thanks.  You can at least provide some guidelines here on how to write one? I have no experience in writing reviews, though I love to read product reviews.. . ---------------------------------------------------------------------- Graeme · 2014-01-16 06:11 Quote from: allanregistos on January 16, 2014, 01:34:57 amOkay, thanks.  You can at least provide some guidelines here on how to write one? Sure, though I'm more of a technical writer than a reviewer. I'll tell you what my previous editor told me. * Know your audience * Why do you like or not like the tool/software? What are the advantages compared against other tools? * Describe the elements of the tool/software product. Remember that your audience might not be familiar with it. * How can the features of the tool/software be used? Hope that helps a bit. ---------------------------------------------------------------------- allanregistos · 2014-01-16 06:54 Quote from: Graeme Geldenhuys on January 16, 2014, 07:11:08 amQuote from: allanregistos on January 16, 2014, 01:34:57 amOkay, thanks.  You can at least provide some guidelines here on how to write one? Sure, though I'm more of a technical writer than a reviewer. I'll tell you what my previous editor told me. * Know your audience * Why do you like or not like the tool/software? What are the advantages compared against other tools? * Describe the elements of the tool/software product. Remember that your audience might not be familiar with it. * How can the features of the tool/software be used? Hope that helps a bit. Thanks, Graeme Geldenhuys. I appreciate this a lot.. Regards... ---------------------------------------------------------------------- allanregistos · 2014-01-16 23:45 Good day to all, I've got a reply from the BSD magazine contact(e. dudzic).  He acknowledge anyone from this forum to contribute a review, he says there are 40,000 members on their list. Regards, Allan ---------------------------------------------------------------------- allanregistos · 2014-02-03 22:58 Hi all, I will send an email to the Lazarus mailing list, maybe someone had a better idea or experience to do a review for Lazarus/Pascal on a BSD operating system... Regards, Allan ---------------------------------------------------------------------- TurboRascal · 2014-02-04 11:16 BTW did you try fpc on a BSD in the meantime? I'm not sure how good is PC-BSD for it because 9.2 works only on amd64 (x86-64) architecture so you need a 64-bit machine, and quite a powerful one too. 9.1 has 32-bit version, but for some reason I never succeeded to install it on older machines. "Pure" FreeBSD works fine on everything I tried so far, but it's not easy to use if you're not familiar with most specifics of unixes in general and BSD-s in particular. Nothing is prepackaged, nothing preconfigured, everything has to be installed and configured manually. ---------------------------------------------------------------------- marcov · 2014-02-04 12:03 Quote from: TurboRascal on February 04, 2014, 12:16:13 pmNothing is prepackaged, nothing preconfigured, everything has to be installed and configured manually. This is incorrect, packages are precompiled and can be installed with pkg_add. ---------------------------------------------------------------------- TurboRascal · 2014-02-05 20:42 Quote from: marcov on February 04, 2014, 01:03:33 pmThis is incorrect, packages are precompiled and can be installed with pkg_add. I might have chosen a wrong wording. There are packages for ports, yes, and now it works even better with pkgng which works pretty much like apt or yum on linux. BTW. with the new system (comes as default with the new versions), you would use "pkg install" command instead of the old package tools. What I meant to say is that in "friendly" modern linux distributions (and perhaps PC-BSD and similar projects) you have a metapackage, say, "gnome desktop" or "kde desktop" which conveniently installs all main desktop components, also some extra goodies and artwork, and the adequate display manager and it works out of the box. Every component has some level of preconfigured options even if you install it manually. Not only that Debian and Red Hat family distributions have such conveniences, but surprisingly even the once spartan Slackware comes with preconfigured desktops today. FreeBSD does nothing of it, you have to install package by package or some bare-minimum desktop metapackage, and nothing is preconfigured other then default settings, you must configure everything yourself (many would say it's a feature, not a bug ), starting X included. Linux people who know Arch or Gentoo might find some similarities here. However, BSDs have one crucial difference which I find brilliant, and it's that OS and software ("ports") are different entities and can be installed and maintained completely separate of one another. ---------------------------------------------------------------------- allanregistos · 2014-02-07 03:11 Quote from: TurboRascal on February 04, 2014, 12:16:13 pmBTW did you try fpc on a BSD in the meantime?Not yet, I have a FreeBSD 10 RC4 vmware image, I will try it today if possible. Quote from: TurboRascal on February 04, 2014, 12:16:13 pm I'm not sure how good is PC-BSD for it because 9.2 works only on amd64 (x86-64) architecture so you need a 64-bit machine, and quite a powerful one too. 9.1 has 32-bit version, but for some reason I never succeeded to install it on older machines.PC-BSD is 100% FreeBSD 10 under the hood, like Ubuntu(PC-BSD) is to Debian as claimed by the developers.  If fpc will work on FreeBSD it will work also on PC-BSD. Quote from: TurboRascal on February 04, 2014, 12:16:13 pm"Pure" FreeBSD works fine on everything I tried so far, but it's not easy to use if you're not familiar with most specifics of unixes in general and BSD-s in particular. Nothing is prepackaged, nothing preconfigured, everything has to be installed and configured manually. There is an fpc download for FreeBSD but none for Lazarus, anyway, is it fine for fpc/ with fp as an IDE for web development? I've downloaded earlier an FreeBSD 10 RC4 vmware image, I need to download the fpc 46-bit version but I cannot download at this link: http://www.freepascal.org/down/x86_64/freebsd.var says Connection to 81.82.199.218 failed. Edit: Downloading from sourceforge. I've posted this at the lazarus@lists.lazarus.freepascal.org mailing list and one guy named Michael volunteered to write a review. ---------------------------------------------------------------------- TurboRascal · 2014-02-07 04:44 Quote from: allanregistos on February 07, 2014, 04:11:05 amNot yet, I have a FreeBSD 10 RC4 vmware image, I will try it today if possible. FreeBSD 10 release is out, perhaps you would like to upgrade it Quote from: allanregistos on February 07, 2014, 04:11:05 amPC-BSD is 100% FreeBSD 10 under the hood, like Ubuntu(PC-BSD) is to Debian as claimed by the developers.  If fpc will work on FreeBSD it will work also on PC-BSD. Oh I didn't mean there are any differences when they work, I just made a remark that PC-BSD doesn't work on some machines where FreeBSD does. And PC-BSD is indeed 100% FreeBSD, so it's not really like Ubuntu to Debian, which is a fork. I'd rather compare those two to Ubuntu and LinuxMint Quote from: allanregistos on February 07, 2014, 04:11:05 amThere is an fpc download for FreeBSD but none for Lazarus FreeBSD ports already have fpc 2.6.2 release and also Lazarus 1.0.12. If you want a newer Lazarus the easiest way is to compile it from source anyway. ---------------------------------------------------------------------- allanregistos · 2014-02-07 05:22 Quote from: TurboRascal on February 07, 2014, 05:44:55 amQuote from: allanregistos on February 07, 2014, 04:11:05 amNot yet, I have a FreeBSD 10 RC4 vmware image, I will try it today if possible. FreeBSD 10 release is out, perhaps you would like to upgrade it As of this time, there is no need to upgrade, I am only testing it with FPC. I am downloading PC-BSD but currently paused because of bandwidth constraint, resuming it tonight. Quote from: allanregistos on February 07, 2014, 04:11:05 amPC-BSD is 100% FreeBSD 10 under the hood, like Ubuntu(PC-BSD) is to Debian as claimed by the developers.  If fpc will work on FreeBSD it will work also on PC-BSD. Quote from: TurboRascal on February 07, 2014, 05:44:55 amOh I didn't mean there are any differences when they work, I just made a remark that PC-BSD doesn't work on some machines where FreeBSD does. Oh sorry for that... Quote from: TurboRascal on February 07, 2014, 05:44:55 amAnd PC-BSD is indeed 100% FreeBSD, so it's not really like Ubuntu to Debian, which is a fork. I'd rather compare those two to Ubuntu and LinuxMint Ah okay, yes Ubuntu is using a modified kernel off from Debian. Quote from: allanregistos on February 07, 2014, 04:11:05 amThere is an fpc download for FreeBSD but none for Lazarus Quote from: TurboRascal on February 07, 2014, 05:44:55 amFreeBSD ports already have fpc 2.6.2 release and also Lazarus 1.0.12. If you want a newer Lazarus the easiest way is to compile it from source anyway. I can't see a download link of Lazarus from the lazarus site, if the package Lazarus 1.0.12 available from BSD ports, its easy to install. This is my first time using a FreeBSD OS, so bear with me... Now I've tested fpc 2.6.2 and it works compiling this little piece of code: Code: [Select]program test; uses crt; begin   clrscr;   writeln('Hey, I am on a FreeBSD Operating System!!!');   readln; end. Unfortunately, with this FreeBSD vmware image I've downloaded from freebsd, the IDE(fp) won't work, it will show this error: QuoteShared object "libkvm.so.5" not found, required by "fp"Downloading the full OS might be the solution, I don't know. Who knows that running Lazarus /FPC with a web framework like brook on a FreeBSD box is a turning point for free pascal to dominate the Unix world... ---------------------------------------------------------------------- TurboRascal · 2014-02-17 20:01 To get the IDE, just install it from their own ports. The port name is "fpc-ide" (editors/fpc-ide).. I've tried installing it from pkgng package (pkg install fpc-ide), but it complains something about the package checksum, so I installed it from ports. No big deal, it took just a few minutes to compile on a P-III. ---------------------------------------------------------------------- allanregistos · 2014-04-26 00:14 Hi, Finally, Michael Van Canneyt has written an Free Pascal article for the BSD Magazine. You may download it at http://bsdmag.org/magazine/1861-free-pascal-on- bsd-april-bsd-issue Regards, Allan ---------------------------------------------------------------------- jwdietrich · 2014-04-26 02:05 Quote from: allanregistos on April 26, 2014, 02:14:16 amFinally, Michael Van Canneyt has written an Free Pascal article for the BSD Magazine. You may download it at http://bsdmag.org/magazine/1861-free-pascal-on- bsd-april-bsd-issue That is an excellent article, thanks for sharing the link. ---------------------------------------------------------------------- Leledumbo · 2014-04-26 06:25 Nice article, Michael. That's how an article about us should be written. Unfortunately, the space is too little (or the feature list is too long ) to write all capabilities that we have. It's unfortunate the last paragraph about fcl-web doesn't talk about web actions, only handlerequest which is the generic handler. probably, again, because of the space. ---------------------------------------------------------------------- allanregistos · 2014-04-28 06:02 Quote from: Leledumbo on April 26, 2014, 08:25:18 amNice article, Michael. That's how an article about us should be written. Unfortunately, the space is too little (or the feature list is too long ) to write all capabilities that we have. It's unfortunate the last paragraph about fcl-web doesn't talk about web actions, only handlerequest which is the generic handler. probably, again, because of the space. The folks at BSD mag mentioned of more articles maybe 4 or more, so you may contact Michael or you can mail me if you can make an article specific to web development. It will be a big boost to Pascal since most of today's development is for the web. ---------------------------------------------------------------------- allanregistos · 2014-04-28 06:05 Quote from: jwdietrich on April 26, 2014, 04:05:41 amQuote from: allanregistos on April 26, 2014, 02:14:16 amFinally, Michael Van Canneyt has written an Free Pascal article for the BSD Magazine. You may download it at http://bsdmag.org/magazine/1861-free-pascal-on- bsd-april-bsd-issue That is an excellent article, thanks for sharing the link. You're welcome.  I think Free Pascal should be known also to C/C++ developers as a great alternative or an addition to their language of choice.  We can presume that almost(if not all) BSD developers are using C for their development work, and its good to have that article read by them. ---------------------------------------------------------------------- jwdietrich · 2014-04-28 06:55 Quote from: allanregistos on April 28, 2014, 08:05:59 amQuote from: jwdietrich on April 26, 2014, 04:05:41 amQuote from: allanregistos on April 26, 2014, 02:14:16 amFinally, Michael Van Canneyt has written an Free Pascal article for the BSD Magazine. You may download it at http://bsdmag.org/magazine/1861-free-pascal-on- bsd-april-bsd-issue That is an excellent article, thanks for sharing the link. You're welcome.  I think Free Pascal should be known also to C/C++ developers as a great alternative or an addition to their language of choice.  We can presume that almost(if not all) BSD developers are using C for their development work, and its good to have that article read by them. Yes, you are absolutely right. Thanks again. ---------------------------------------------------------------------- Fred vS · 2014-07-29 22:53 QuoteYou may download it at http://bsdmag.org/magazine/1861-free- pascal-on-bsd-april-bsd-issue Aaaaaaarg  => Quoteerror 404 : That page can't be found [edit] And http://bsdmag.org/free-pascal-on-bsd-april-bsd-issue/ gives only a short resume... ---------------------------------------------------------------------- taazz · 2014-07-30 00:14 Quote from: Fred vS on July 30, 2014, 12:53:43 amAnd http://bsdmag.org/free-pascal-on-bsd-april-bsd-issue/ gives only a short resume...  at the end of that page I see download links see attached image. I had to enable javascript for the site and allow cookies to see them by the way. ---------------------------------------------------------------------- photor · 2014-07-30 03:00 Pascal had already been one of the most powerful programming languages in the Turbo Pascal age, not to mention Delphi, Free Pascal and Lazarus. Quote from: allanregistos on January 15, 2014, 05:14:20 amHello to all, good day, I can't find the correct section of where to post this, so I decided to post it here. I've downloaded the latest BSD magazine titled: QuoteFreeBSD Programming Primer.In page 7 the magazine mentioned about Pascal, this way: QuoteBASIC and Pascal are great for learning how to code, but they have some limitations.... You can read the whole paragraph from the magazine, a free download, but registration is required. I have felt that their is something wrong with the statement where Pascal was being paired as limited in the same way with BASIC.  So I decided to write one of the BSD magazine contacts found in the magazine, and said in the mail that the Pascal quote is incorrect and that the name Pascal is too generic and may or may not refer to the Modern Pascal we have now such as FPC.  The topic of the magazine was programming/creating QuoteCMS that will run on any Apache / MySQL / PHP stack.[sic] I said also that FPC code will run on most OSes and can do web programming and many web frameworks were created for it. I've got an almost immediate reply and the contact give me thanks and said that if I will be able to write a short review on their next BSD magazine release to tell about the language Pascal, more like a column the contact says.  I've felt that I am not the right person to write a review since my experience of using Free Pascal is not huge or wide. And I believe there are more persons here in the forum who are more resourceful, so I've mailed the contact back give him thanks and I said that it would be a great privilege for Lazarus/Free Pascal to be featured in the BSD magazine and said that I am not the right person to write a review, and will let anyone from this forum to do it. I believe writing a Free Pascal/Lazarus review to be featured in the BSD Magazine is one way of promoting the language in the BSD world.  I am waiting for his reply to acknowledge anyone from this forum to write a review.  If anyone can refer a resource person who is more willing to a write a review of Free Pascal in the BSD magazine, please drop a reply or contact/pm me so that I can forward the email address to the contact. Please do inform me also if what I did is somehow not favorable to Lazarus or Free Pascal. Thank you very much... Allan Registos ---------------------------------------------------------------------- Fred vS · 2014-07-30 03:07 @ Taazz => yep, many thanks, i did not see it... Very nice article Michael... Hum, im buzy to install freeBSD to test fpc on it... => ok, not too difficult to install freeBSD and fpc. But for GUI things, it is a other war... freeBSD is totally nude, i have to install Xorg + X11 (not easy). After that i may install Lazarus (and fpGUI too). Till now, it works more or less, but i have to re-install all, problems with VirtualBox.  When i find the right way to do fpc+Lazarus working, i will add a wiki how to install freeBSD + fpc + Lazarus from scratch. Thanks. ---------------------------------------------------------------------- BigChimp · 2014-07-31 07:57 Quote from: Fred vS on July 30, 2014, 05:07:35 amTill now, it works more or less, but i have to re-install all, problems with VirtualBox.  When i find the right way to do fpc+Lazarus working, i will add a wiki how to install freeBSD + fpc + Lazarus from scratch. FYI, you could add to http://wiki.lazarus.freepascal.org/FreeBSD ---------------------------------------------------------------------- Graeme · 2014-07-31 12:58 Quote from: Fred vS on July 30, 2014, 05:07:35 amBut for GUI things, it is a other war... freeBSD is totally nude, i have to install Xorg + X11 (not easy). After that i may install Lazarus (and fpGUI too). A golden tip: Use the FreeBSD Handbook (documentation). It is excellent and very easy to follow. Here is a direct link to installing X11 [http://www.freebsd.org/doc/en _US.ISO8859-1/books/handbook/x-install.html] Also once X11 is installed, you need a Desktop Environment or Window Manager. The FreeBSD Handbook to the rescue.... [http://www.freebsd.or g/doc/en_US.ISO8859-1/books/handbook/x11-wm.html] I've opted to install Joe's Window Manager (jwm) instead, which is very small, very fast, and very easy to setup and configure. In fact, just about everything in the ports collection gets installed with 'make install clean', and to find a ports package use 'make search name=blablabla' or 'make search desc=blablabla'.  These is also 'pkg search ', but I don't really use the binary packages under FreeBSD. There is also the whereis command as a last resort.