Liberty BASIC Community Forum
« Liberty BASIC Rosetta Code Project »

Welcome Guest. Please Login or Register.
Jan 22nd, 2018, 6:02pm


Rules|Home|Help|Search|Recent Posts|Notification


« Previous Topic | Next Topic »
Pages: 1 ... 3 4 5  Notify Send Topic Print
 sticky  Author  Topic: Liberty BASIC Rosetta Code Project  (Read 11654 times)
Admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 14485
xx Re: Liberty BASIC Rosetta Code Project
« Reply #60 on: Aug 6th, 2011, 6:46pm »

If anybody needs to edit a Liberty BASIC entry, the format is as follows:

=={{header|Liberty BASIC}}==
Plain text outside of lang tags.
<lang lb>
'code inside of tags
</lang>

----
One header (as in the example above) must begin the Liberty BASIC block. Many plain text and code areas can be added. the Liberty BASIC block extends until the next header, which looks something like this:

=={{header|Language Name}}==
User IP Logged

tenochtitlanuk
Moderator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 1179
xx Re: Liberty BASIC Rosetta Code Project
« Reply #61 on: Sep 19th, 2011, 09:45am »

189 tasks .... and counting.
Isn't LB versatile!
User IP Logged

Admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 14485
xx Re: Liberty BASIC Rosetta Code Project
« Reply #62 on: Sep 19th, 2011, 10:59am »

on Sep 19th, 2011, 09:45am, tenochtitlanuk wrote:
189 tasks .... and counting.
Isn't LB versatile!


Absolutely!

We have a fantastic community, as well. Thanks, John and everybody who participates here. What a great resource! The variety is mind-boggling.

Thanks!
User IP Logged

tenochtitlanuk
Moderator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 1179
xx Re: Liberty BASIC Rosetta Code Project
« Reply #63 on: Sep 23rd, 2011, 5:45pm »

200!
User IP Logged

tsh73
Moderator
ImageImageImageImageImage


member is offline

Avatar

Anatoly (real name)


PM

Gender: Male
Posts: 1732
xx Re: Liberty BASIC Rosetta Code Project
« Reply #64 on: Oct 2nd, 2011, 01:32am »

I have a strong doubt about using of external programs.
Like, for speech synthesis.
Shouldn't we just say "LB can not do that", or provide API way (if possible), rather then call external program?
I pretty sure there are many external programs that tuned to specific tasks (ImageMagic to manipulate images, povRay to render 3d pictures, GnuPlot for making plots etc etc) but using of such programs tells nothing about LB capabilities. You can use them in same way from any other language supporting calling external programs.
« Last Edit: Oct 2nd, 2011, 01:33am by tsh73 » User IP Logged

damned Dog in the Manger
tenochtitlanuk
Moderator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 1179
xx Re: Liberty BASIC Rosetta Code Project
« Reply #65 on: Oct 2nd, 2011, 02:54am »

I think the Rosetta Code founders & users see it differently. I certainly do.
Quote:
The idea is to present solutions to the same task in as many different languages as possible, to demonstrate how languages are similar and different, and to aid a person with a grounding in one approach to a problem in learning another.

Quote:
The end goal is to demonstrate how the same task is accomplished in different languages.

In the specific 'Speech' case, other languages on RC call internal Microsoft routines; call eSpeach; or even control an external hardware & non-standard speech synthesiser.
I was not the first to put up such solutions, and, when I have, I'd put a specific comment to that effect.

Someone looking up Speech on RC therefore learns how to 'leverage' their language in these ways.

If espeak were included in the LB distribution your objection would presumably disappear. Yet it is freeware and anyone can get it off the 'net in seconds.

Equally I see no special virtue in not pointing out how much faster ImageMagick can do for instance the 'Image comparison'.

GnuPlot? There is no COMPLEX plotting task, so 'native' LB easily covers things like 'Coordinate plot'.

POVray?? If you look at 'Spheroid' you'll have seen it used to stunning effect. Exactly the kind of helpful & inspirational example I think RC is aiming for.

One you don't mention is RC_'FFT'. I took the trouble to write a native LB routine for RC. It is of course too slow for actual use. I commented that the natural LB 'thing' would be to call an external dll like fftw.

RC has opened my eyes to several new languages with strengths I didn't even know were desirable. But LB is still my first choice. For RC, that immediately means there is no point in me trying to solve some of the tasks- the language just can't handle them.

Why do you regard API ways as anything different from calling free external programs, or come to that dlls? How do you feel if these calls go to Wine (... not an emulator...) for those of us not in the MS camp but in Linux?

I'd be interested too in opinions on using 'library' functions in LB solutions. As I've pointed out in two other threads, asking for comment, we should be able to give solutions that assume any LB'er will have access to these. Specifically, Nally's wireframe 'library', RobMacAllister's OpenGL, or my matrix, complex number or set functions.
---How limiting it would be to omit an LB entry! You could hardly put in RC a LB example with the text code of these extensive 'libraries' actually appended.
---How unhelful to supply a very long winded or slow solution if potential LB users could be shown a neat and fast solution using these externals, and a reference to where to get them.
---What a missed opportunity to leave RC users who use another language thinking LB is unable to cope...

What do other LB'ers think?
User IP Logged

CS
Junior Member
ImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 60
xx Re: Liberty BASIC Rosetta Code Project
« Reply #66 on: Oct 2nd, 2011, 02:54am »

I think that just calling an external program is a bit of a cheat, unless their is no other way.

I noticed on the RC site that others used the same idea, just call another program.

Creating 'speech synthesis' is not an easy task in any language.


'posted while tenochtitlanuk was posting'
« Last Edit: Oct 2nd, 2011, 02:57am by CS » User IP Logged

I read more than I write
Stefan Pendl
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Computers are like babies, you must teach them what you like them to do ...


Homepage PM

Gender: Male
Posts: 5303
xx Re: Liberty BASIC Rosetta Code Project
« Reply #67 on: Oct 2nd, 2011, 02:55am »

on Oct 2nd, 2011, 01:32am, tsh73 wrote:
I pretty sure there are many external programs that tuned to specific tasks (ImageMagic to manipulate images, povRay to render 3d pictures, GnuPlot for making plots etc etc) but using of such programs tells nothing about LB capabilities. You can use them in same way from any other language supporting calling external programs.


I second that, external programs do not do us any favor.

There has been made use of SAPI4, but SAPI5 was out of reach for LB due to missing COM (ActiveX) support.
« Last Edit: Oct 2nd, 2011, 02:58am by Stefan Pendl » User IP Logged

Stefan

Make sure to read and follow the Forum Guidelines

Liberty BASIC Pro 4.04, Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
Stefan Pendl
Global Moderator
ImageImageImageImageImage


member is offline

Avatar

Computers are like babies, you must teach them what you like them to do ...


Homepage PM

Gender: Male
Posts: 5303
xx Re: Liberty BASIC Rosetta Code Project
« Reply #68 on: Oct 2nd, 2011, 03:02am »

on Oct 2nd, 2011, 02:54am, tenochtitlanuk wrote:
Why do you regard API ways as anything different from calling free external programs, or come to that dlls? How do you feel if these calls go to Wine (... not an emulator...) for those of us not in the MS camp but in Linux?


If the DLLs are part of the O/S and are installed by default, we are using something all the users can use without the need to install any third party program.

WINE is a different problem and is not the responsibility of LB.
If it comes down to WINE, we would need to discuss ReactOS and BootCamp too.
User IP Logged

Stefan

Make sure to read and follow the Forum Guidelines

Liberty BASIC Pro 4.04, Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
Admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 14485
xx Re: Liberty BASIC Rosetta Code Project
« Reply #69 on: Oct 7th, 2011, 12:51pm »

209 tasks solved in Liberty BASIC. I can't even comprehend the number!

Thanks to everybody who is adding to this great resource. Special thanks to John Fisher, Brandon Parker and Chris Iverson and Anatoly.

Wow. 209!
User IP Logged

Admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 14485
xx Re: Liberty BASIC Rosetta Code Project
« Reply #70 on: Dec 16th, 2011, 11:49am »

231 completed tasks!

http://rosettacode.org/wiki/Category:Liberty_BASIC

This site is really a gold mine of information. The number of algorithms and methods is astounding.

If you haven't visited in a while, please do. You'll be glad you made the effort.

Special thanks to John Fisher for his many, recent, fantastic additions!
User IP Logged

tenochtitlanuk
Moderator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 1179
xx Re: Liberty BASIC Rosetta Code Project
« Reply #71 on: Dec 16th, 2011, 5:12pm »

Thanks Alyce for the comment. It's been fun trying these tasks & I too have learned a lot from helpful colleagues here. There are still some RC tasks left that are within LB's area of application...

I've been playing with graphic representation of heat diffusion, and creating graphics like
User Image
I'll put up a new webpage on what I've been doing soon.

Meanwhile I couldn't resist adapting it a bit to the present season, and dedicate the following to all who love LB!
User Image

Here's to a new Year & a new LB 5!
User IP Logged

Admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 14485
thumbup Re: Liberty BASIC Rosetta Code Project
« Reply #72 on: Dec 16th, 2011, 5:44pm »

smiley smiley smiley smiley smiley
User IP Logged

tenochtitlanuk
Moderator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 1179
xx Re: Liberty BASIC Rosetta Code Project
« Reply #73 on: Dec 18th, 2011, 1:51pm »

Have added two pages on my site with examples of graphics done with these graduated colour ranges.
Laplace & Colour Ranges, log and lin

I had a lot of fun with these...
User IP Logged

Admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 14485
xx Re: Liberty BASIC Rosetta Code Project
« Reply #74 on: Nov 8th, 2012, 12:24pm »

I hope more people will participate in this project. Just find a task that has not been implemented in LB yet, write some code and visit this board.

Start a new thread with a subjet
[RC] Your task name

Post a link to the task and the description, then your code.

OR...
Check out some of the threads here and add to the discussion.

This is a great resource and an even greater way to learn.
User IP Logged

Pages: 1 ... 3 4 5  Notify Send Topic Print
« Previous Topic | Next Topic »

Rules|Home|Help|Search|Recent Posts|Notification

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls