programming for fun

For other topics related to the FreeBASIC project or its community.
Imortis
Posts: 1572
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: programming for fun

Postby Imortis » Aug 10, 2018 14:52

deltarho[1859] wrote:For some, FreeBASIC is a paint brush;
for others, it is simply a spanner.

The spanner has no desire to be faced with a blank canvas;
it just wants to strip an engine down.

Some paint brushes look down on spanners;
I think that they should mind their own bloody business.

<smile>


That is quite good. I'm going to use this.
deltarho[1859]
Posts: 1569
Joined: Jan 02, 2017 0:34
Location: UK

Re: programming for fun

Postby deltarho[1859] » Aug 10, 2018 15:04

Imortis wrote:I'm going to use this.

In what context, or should I not ask?
Imortis
Posts: 1572
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: programming for fun

Postby Imortis » Aug 10, 2018 15:09

deltarho[1859] wrote:
Imortis wrote:I'm going to use this.

In what context, or should I not ask?

I don't know yet, but I am sure it will come up sometime <smile>
Lost Zergling
Posts: 145
Joined: Dec 02, 2011 22:51
Location: France

Re: programming for fun

Postby Lost Zergling » Aug 11, 2018 11:31

Hi everybody !
BasicCoder2 wrote
What is it you use FreeBASIC for? What is the reason you are here?

I regret some of my teasing towards DJ Peters (about TinyDialog).
Well, well, well : What is the meaning of life ? 42 ?
What is it you use FreeBASIC for? -> As I am a bit sentimental, Free Basic reminds me a bit of the Notes / Domino environment and a lot of personal and professional memories attached to it.
What is the reason you are here? -> The answer's obvious : I'm here because I'm lost and because I'm a Zergling.
Yours Zerglingly..
deltarho[1859]
Posts: 1569
Joined: Jan 02, 2017 0:34
Location: UK

Re: programming for fun

Postby deltarho[1859] » Aug 11, 2018 16:53

@ Lost Zergling

You need a European map for your Zergling SatNav - try Amazon. Your translator is working very well.
BasicCoder2
Posts: 3298
Joined: Jan 01, 2009 7:03

Re: programming for fun

Postby BasicCoder2 » Aug 11, 2018 22:00

MrSwiss wrote:
BasicCoder2 wrote:The closest I came was thinking about graphical representations was how to write a self wiring array of NOR gates that could evolve a simple digital circuit function.
This is a prime example, showing clearly the advantage of coding graphically (versus ordinarycode writing):

Like a GUI editor but much more complex.
If you have 100 Euro's to spend, I'm certain that you'll enjoy it, even if for trials only ...

Unfortunately I have other financial responsibilities and am no longer able to spend on electronics the way I did in my early twenties. I did indulge in an Arduino and some of its i/o modules and a Raspberry Pi but apart from that I haven't done any practical electronics for a long time. I can still do a bit of programming now and then as it only costs some spare time.
MrSwiss
Posts: 2764
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: programming for fun

Postby MrSwiss » Aug 12, 2018 0:00

BasicCoder2 wrote:Like a GUI editor but much more complex.
Yes, or a paint program, where you can pick a tool, e.g. Square/Rectangle
(in fact, a electronic component), then place it on the "canvas", size, color
and shape modifiable (the components properties, if any).

To just have a look at it, they also have a demo-version but, in that you can't
save files (let's say a modified example), use the link I've provided earlier.

(I think, they also have a supplier in the UK, where you'll get text in english,
otherwise you could use Google translate.)
BasicCoder2
Posts: 3298
Joined: Jan 01, 2009 7:03

Re: programming for fun

Postby BasicCoder2 » Aug 15, 2018 20:19

deltarho[1859] wrote:For some, FreeBASIC is a paint brush;
for others, it is simply a spanner.

The spanner has no desire to be faced with a blank canvas;
it just wants to strip an engine down.

Some paint brushes look down on spanners;
I think that they should mind their own bloody business.

<smile>

It took me a while to figure out what you were saying, it sometimes takes a while for me to get it. I assume here that MrSwiss uses FreeBasic as a paint brush and I am using it as a spanner? I think a better comparison is where some people concentrate on their spelling and grammar while others concentrate on writing a story. The best of course can combine both technical perfection and produce a useful product. A combination of the artistic with the utilitarian.
In fact I didn't respond to MrSwiss's comments because I was upset in any way I was just trying to explain to him I had a different viewpoint, even if he didn't share it, when it came to using FreeBASIC.
BasicCoder2
Posts: 3298
Joined: Jan 01, 2009 7:03

Re: programming for fun

Postby BasicCoder2 » Aug 15, 2018 20:46

MrSwiss wrote:To just have a look at it, they also have a demo-version but, in that you can't
save files (let's say a modified example), use the link I've provided earlier.

I have looked at some of these types of programs but really don't have an electronic project that complicated to design. Unlike the old days electronics is now much simpler as the experts have created easy to use modules and plenty of examples on how to use them.
Last edited by BasicCoder2 on Aug 16, 2018 0:02, edited 1 time in total.
deltarho[1859]
Posts: 1569
Joined: Jan 02, 2017 0:34
Location: UK

Re: programming for fun

Postby deltarho[1859] » Aug 15, 2018 20:51

BasicCoder2 wrote:I assume here that MrSwiss uses FreeBasic as a paint brush and I am using it as a spanner?

Yes.

Most of my crypto' code uses FreeBASIC as a spanner. In CryptoRndII there is a bit of 'painting' going on. With Encrypternet, although pretty heavy from an API perspective, it is essentially 'wall to wall spanner'.
A combination of the artistic with the utilitarian.

That is quite rare, especially where we have equal measures. Off the top of my head, I would suggest looking at Pierre Bellisle's work. There we have a true artist who knocks out some pretty useful code.
MrSwiss
Posts: 2764
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: programming for fun

Postby MrSwiss » Aug 15, 2018 22:43

deltarho[1859] wrote:Yes.
From my point of view: you've no clue about spanners and probably, never had one in your hands.
Why do I think so?
I come from high precision mechanical engineering and am therfore, very familiar with spanners.
Aka: I come from the practical side of things, while you seem to be the pure theoriser.

Btw. painting: is one of the few practical tasks I dislike, in all of it's facettes ...
BasicCoder2
Posts: 3298
Joined: Jan 01, 2009 7:03

Re: programming for fun

Postby BasicCoder2 » Aug 16, 2018 0:53

MrSwiss wrote:Btw. painting: is one of the few practical tasks I dislike, in all of it's facets ...

I don't think deltarho[1859] was talking about actual painting I think he meant the code was more "a work of art"?

Two different programs can behave the same way however one may be an elegant cleanly written piece of code while the other may be a spaghetti riddled messy rats nest. One might make good use of tabs and spaces while the other does not. One might be readable and extensible while the other is not. In both cases coding is a tool ( a spanner) to make the computer do something however one is a "work of art" while the other simply "does the job".
jj2007
Posts: 852
Joined: Oct 23, 2016 15:28
Location: Roma, Italia
Contact:

Re: programming for fun

Postby jj2007 » Aug 16, 2018 1:03

BasicCoder2 wrote:one is a "work of art" while the other simply "does the job".
Good example: the RECT_T thread - clearly a "work of art"!
MrSwiss
Posts: 2764
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: programming for fun

Postby MrSwiss » Aug 16, 2018 1:08

BasicCoder2 wrote:I don't think deltarho[1859] was talking about actual painting I think he meant the code was more "a work of art"?
Hell, I know that too. I've just wanted for once, be equally cryptic as he's usually.
(Even you, as a native english speaker, needed a lot of time, to figure it out.)
Why can't this guy use "plain text" as the rest of us tries to do?
deltarho[1859]
Posts: 1569
Joined: Jan 02, 2017 0:34
Location: UK

Re: programming for fun

Postby deltarho[1859] » Aug 16, 2018 2:30

MrSwiss wrote:From my point of view: you've no clue about spanners and probably, never had one in your hands.

You probably think that my education was a bed of roses. Not so.

In the UK we had 'O' levels, at age 16, and 'A' levels, at age 18. I got enough 'O' levels to go on to 'A' levels but my father said that I had already done one year more than other 'kids' in our area and he would not support another two years; he wanted me to get a job. I got one in a rolling mill as a trainee draughtsman. There was a bunch of us at the in-house training school and at the end of the first year, I was chosen for the design department. A year later I got a certificate in Structural Engineering. The firm that I worked for built the Sidney harbour bridge. A year later I got the first year of a higher certificate and saw a notice for a new course at the College: BSc Mathematics. Structural Engineering bored me to death but I loved Mathematics.

I took my certificates to the head of the department expecting a rejection as the normal entry was 'A' levels. I was offered either Computer Science or Mathematics and told that there was no money in Mathematics. I was horrified and said that I had no interest in money but did have an interest in Mathematics. The head just smiled and said, "Mathematics it is then".

I qualified for a grant but parents were means tested and expected to pay a percentage. My father refused to pay a penny. I went ahead anyway and my father asked how could I possibly manage; at the time I had no idea. I put my notice in at the rolling mill and the chief draughtsman refused to let me go saying that nobody had broken an apprenticeship in the company's 140 odd years of history. I told him that I would turn up for work but would be a pain in the arse until the end of the apprenticeship. He said, "In that case, I had better let you go". The chief designer threw me out of the design department and sent me upstairs to the drawing office where I was "sent to Coventry" for my month's notice.

I left home at 19 and got a 'bed-sit' near the college. On Saturday's I tutored youngsters who were having a bad time with their maths studies. On Sunday's and bank holidays, I worked in a local bakery. With the bank holidays, I used to a do shift, go to the canteen for a sandwich and then do another shift. One summer I got a job at the rolling mill that I left but in the mill itself. The oxyacetylene burner guy took a holiday so I applied for it telling the mill manager I knew how to do it. I didn't but had watched the 'burner'. I managed to get 7 days a week work until the end of the summer.

It was tough going but I got a BSc(Hons) in Mathematics. I got a chance to do an MSC but was 'broke' and needed a job for the summer. I couldn't find a job in the North East of England so my brother hunted for a job in the South. I got one as a labourer on a building site. I persuaded the site foreman to give me as much overtime as he could. One Saturday I was pumping a spray used on concrete walls to stop them cracking. A tube burst and I got a face full. A big Scotsman ran down to me, threw me over his shoulders and ran to the canteen. He stuck me head first into a sink and ran the tap into my face. He saved my sight and little balls of plastic popped out of my eyes for a few days after. On another occasion, the Kango hammer was broken so I used a 70-pound jackhammer horizontally to knock some walls down. In no time my thighs were black and blue. The hammer slipped and the drill went through my foot. I had to engage the hammer to pull it out of the floor. The drill went between two toes, burnt them both and ruined my father's boots. I was staying at 'home'; my parents moved to the area a few years before. My mother saw my hands one day and burst into tears - both palms had large blisters and bled continuously. She offered me money to stop but I said no. My father said nothing other than questioning why was the BSc not enough. Most of the crew at the building site used to work for a few weeks and then go 'boozing' for a week. When I did stop I held the site record of 56 days straight.

My MSc grant was not means tested but it was not much so I did maths tutorial work with undergraduate chemists. By now life was a bit easier and got an MSc in Numerical Analysis.

So, at the end of all that I may not have become an expert in spanners but I had no idea what a 'bed of roses' was either.

BTW, I am not a 'pure theoriser'. I did not shine with Pure Mathematics but did OK with Applied Mathematics. I did an IQ test recently to see if my 'grey matter' was still passing muster. I got Visual Perception: Above Average, Abstract Reasoning: Average, Pattern Recognition: Average, Spatial Orientation: Above Average. So, not much to 'write home about' there but for Analytical Thinking I scored Exceptional. That is not the result of reading mathematics but why I read mathematics.

I have rattled on a bit but wanted to show MrSwiss that he should take care about making assumptions about people. Of course, many students may have similar stories but I should imagine only a few of them had a father who washed his hands of any support.

Return to “Community Discussion”

Who is online

Users browsing this forum: AndyA and 2 guests