[beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread Stephan Mulacz
It's a bit of an contradiction for me that you ask for modularity but don't want an object based language. Development of XBasic seems to have stopped about 2002. The community that could help you will be rather small. Much of the documentation is not available anymore. I can only assume that th

[beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread Curt Carpenter
I'd suggest taking a look at Free Pascal. It's well supported and can be compiled and cross-compiled on a number of different platforms including the BBB. It also enjoys a wide range of libraries and a good and active support forum. You can get an idea of capabilities by visiting the Lazarus

[beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread richard.leverton
Hi Curt thanks very much for your reply, I'll certainly take a look at Pascal appreciate your taking the time to help richard On Monday, March 9, 2015 at 7:48:04 PM UTC-4, Curt Carpenter wrote: > > I'd suggest taking a look at Free Pascal. It's well supported and can be > compiled and cross-co

[beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread pietersydneytheron
Look at Golang.org I just finished a html5 webserver running on the BBB built in Golang and cross compiled from Ubuntu for ARM. The performance gains with Golang's concurrency model is huge and it's rather new with many functional improvements over C/C++. It's easy to pick-up and get going wit

[beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread richard.leverton
Thanks, Pieter I've never heard of Go and had not idea it was running on the BBB. I'll check it out. regards richard On Tuesday, March 10, 2015 at 9:21:11 AM UTC-4, Pieter Theron wrote: > > Look at Golang.org > > I just finished a html5 webserver running on the BBB built in Golang and > cross

[beagleboard] Re: programming BBB - choice of language

2015-03-11 Thread Stephan Mulacz
Somehow we came a bit of topic. Since the thread is already starving I can maybe resurrect it just to highjack it a bit... I'm in a similar situation. I want to implement a program on the BBB with graphics and touch screen. But in the future there should be also a web interface for remote contr

[beagleboard] Re: programming BBB - choice of language

2015-03-15 Thread Keyvan Fatehi
This is a really interesting thread, I haven't learned so much so quickly in awhile! Hi Chilli I am also in a position where I'm developing a BBB with a touchscreen. I chose python. I hardly ever used python previous to this project and usually choose node.js or ruby which I know pretty deeply

[beagleboard] Re: programming BBB - choice of language

2015-03-16 Thread Stephan Mulacz
I thought that C++ plugins can be used in node.js. This would probably have been the way if had chosen if I wanted to include ultimate series port control. To be honest I never though about Phyton. I know that the networking capability is good. But the second thing that comes into my mind is e

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread William Hermans
It's probably time for you to embrace modern technology, and forgo some ( or all ) the restrictions you're placing on yourself. Past that. these restrictions are not reasonable. A programing language is a tool, and every took has its intended use, C for example could possibly work very well for yo

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread Richard Leverton
hi William thanks very much for replying you are absolutely right that a programming language is a tool, and a metaphor that resonates with me since I"m also a woodworker. I know that I can use a jackknife or an axe to shape a board, but a saw and plane do the job better and with less work,

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread Harvey White
On Mon, 9 Mar 2015 16:48:04 -0700 (PDT), you wrote: >I'd suggest taking a look at Free Pascal. It's well supported and can be >compiled and cross-compiled on a number of different platforms including >the BBB. It also enjoys a wide range of libraries and a good and active >support forum. Yo

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread richard.leverton
Hi Harvey thanks for the tip, and thanks for taking the time to help me regards richard On Monday, March 9, 2015 at 8:02:29 PM UTC-4, Harvey White wrote: > > On Mon, 9 Mar 2015 16:48:04 -0700 (PDT), you wrote: > > >I'd suggest taking a look at Free Pascal. It's well supported and can be > >co

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread William Hermans
Richard, I can not state it any better than wikipedia ( regular expression ). http://en.wikipedia.org/wiki/Regular_expression Basically like wildcards, but much more powerful. Now as to whether or not just using "regex" represents "strong array handling" . . . again that depends on your definitio

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread William Hermans
I might also mention Perl, except that it is not exactly a compilable language. Compilers do exist, but may not exist for armhf yet. Perl is very well known for its string manipulation as well as it's very ugly syntax . . . On Mon, Mar 9, 2015 at 8:00 PM, William Hermans wrote: > Richard, I can

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-09 Thread Harvey White
On Mon, 9 Mar 2015 17:32:55 -0700 (PDT), you wrote: >Hi Harvey > >thanks for the tip, and thanks for taking the time to help me Sure. However, I'm not sure how well Lazarus supports processors like the BBB. All I've used it on is the PC, where it's reasonably compatible with old Delphi code. I

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread Stephan Mulacz
> > Sadly, the modern software technology ( and i daresay the modern software > coders' mindset ) is responsible for the shoddy and error-ridden code i see > almost everywhere. > I can only partitally follow you. The problem is not the tool. The problem is the people using it!! The more sophist

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread Harvey White
On Tue, 10 Mar 2015 01:45:18 -0700 (PDT), you wrote: > >> >> Sadly, the modern software technology ( and i daresay the modern software >> coders' mindset ) is responsible for the shoddy and error-ridden code i see >> almost everywhere. In software, you either look for the errors yourself and pr

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread Graham
Richard: I am going to talk about a question you didn't ask. What is the life of a BBB in continuous operation, such as a commercial process controller? The BBB is a teaching, learning and experimenting platform. It is powerful and an amazing value for the cost in this application. It will l

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread richard.leverton
Hi Graham you make a very valid point about the expected lifetime of the hardware. I fully expect some of the BBB's will fail over years, but since the project is a highly distributed system, no one failure is critical and is within the error reporting mandate. you also make a very good point

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread Stephan Mulacz
I was looking for a device with HDMI output, real AD inputs (no abused touchpad or PMIC inputs), interrupt support, basic graphic support and what I consider state of the art RAM and flash. Compared to the general single board computers my requirements narrowed down the matches amazingly (like

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread Graham Haddock
> With a specially tweaked file system, (read only root..) and correctly > using tmpfs on ram for your application, you can remove most of the > failures from even the crappiest SD cards. Along with extending the > life of the system, where power is not 100% stable. > > Regards, Robert Robert: C

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread Robert Nelson
On Tue, Mar 10, 2015 at 11:56 AM, Graham Haddock wrote: > >> With a specially tweaked file system, (read only root..) and correctly >> using tmpfs on ram for your application, you can remove most of the >> failures from even the crappiest SD cards. Along with extending the >> life of the system,

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread Graham Haddock
Thanks for the reference. --- Graham == On Tue, Mar 10, 2015 at 12:00 PM, Robert Nelson wrote: > On Tue, Mar 10, 2015 at 11:56 AM, Graham Haddock > wrote: > > > >> With a specially tweaked file system, (read only root..) and correctly > >> using tmpfs on ram for your application, you can remov

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread William Hermans
Robert, those beagleboard XM(s) you talked about a year or more ago that take pictures etc, and run off an SD card have been going how long ? I only mention this so everyone else can get an idea of how long a read only system can last. They also run Debian ? @ Everyone else Another way that you c

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-10 Thread Robert Nelson
On Tue, Mar 10, 2015 at 2:18 PM, William Hermans wrote: > Robert, those beagleboard XM(s) you talked about a year or more ago that > take pictures etc, and run off an SD card have been going how long ? I only > mention this so everyone else can get an idea of how long a read only system > can last

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-12 Thread richard.leverton
Hi William thanks again for responding - I"m very grateful for all the advice you and the others are offering thanks for the clarification about regular expression I keep hearing C over and over, and have to admit that I have an ingrained dislike for C ( probably irrational , so I should put t

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-12 Thread richard.leverton
Hi Chili you are mostly right - the problem is not solely the tool - it is mostly the people. Sadly, however, many of the 'modern' tools are equally flawed for exactly the same reason - very few people today do real design - they just code away until something sort of works. I'm concerned abou

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-12 Thread Robert Nelson
On Tue, Mar 10, 2015 at 11:06 AM, richard.leverton wrote: > Hi Graham > > you make a very valid point about the expected lifetime of the hardware. I > fully expect some of the BBB's will fail over years, but since the project > is a highly distributed system, no one failure is critical and is wit

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-15 Thread William Hermans
Keyvan, Hey there. I am curious as to why you think serial is broken in Nodejs ? A serial port *is / can be* a file just like anything else in Linux. Since Nodejs has file methods provided as stock I would think it would / could be a no-brainer . . . That said, obviously I do not know everything,

Re: [beagleboard] Re: programming BBB - choice of language

2015-03-15 Thread Keyvan Fatehi
Hi William Although node-serialport did not work for me, in retrospect I can't blame the library. My application required control over the handshaking signals so I needed something capable of that. At the time, node-serialport did not have this feature but pyserial did. So I went with pyserial whi