Wednesday, 21 August 2019

Wed 21st Aug 2019 Created QNA program/Returned 9 library books/Shopped: food/fish & chips/Joined Lambeth libraries online

CREATED QNA PROGRAM USING A MIXTURE OF: HTML/CSS/JAVASCRIPT

NOTE: I've already gone and uploaded this code into my GitHub online account...
https://github.com/pramnora/javascript/tree/master/qna/001
...so, it's possible to check out the underlying program 'source codes' there.










It is by doing such 'practice' exercises as the above...where you come to realise that you own web page creation skills are either good or bad. In my own opinion, currently my web page design/programming skill cannot be regarded as being truly 'professional'; but, instead, there is much to both learn/understand. I'm still working at a very 'amateur' level of ability, indeed.

For example, I was thinking of added a score to the QNA Test...to indicate how many guesses were either right/wrong...however, I found it really quite difficult working out how to maintain variable 'state'...; that is to say if the counter variable starts off inside of page1.html as being set at 0/then, increments to become 1; whenever the next page2.html loads...and, runs the same Javascript...then, it resets all of the counter variables back to begin counting from 0! After trying really hard to resolve this problem; in the end, I simply quit. Maybe, I will try again another day...when I'm feeling more fresh/and, therefore, up to tackling the problem.

Too, I'm not too happy with the state of the Javascript/CSS code behind it...; which is way too verbose...which in programming circles is known as 'bloat-code'! I need desperately to work out how to slim down the code down a lot more still.




When you're not a very good programmer; then, you put in endless hours and hours; maybe, coding all day/night long...rather obsessively...to produce what is really a very poor end result!

However, when you are a good programmer; then, you can put in a lot less time and effort...yet, still manage to produce some truly amazing end effects.

Still it takes plenty of 'practice' to get that good, though; and, frankly, I've never really practised anywhere near hard enough; which is mainly due to my suffering from ADD/Attention Deficit Disorder.

I study only for a short time...; then, quit! Whenever I do return straight back to learning it...it's mainly to remember all that I've forgotten...? But, in this way, my skills are not improving...; mere revision, alone -going over all that you already know- is not getting better.

I need to work on learning how to do entirely 'new' stuff, instead. For example, I have to learn Flexbox/CSS Grid/Responsive layout techniques/-etc.; these are things which I know really very little about. I've seen other coders do it...; and, very successfully, indeed; but, I myself have never worked out how to do any of that stuff, yet...?! I know where to find online resources...; but, staying with learning it...is something I find really difficult...with 1000+ things to come along and distract all of my attention away.

5:50 PM WENT DOWN TO WEST NORWOOD LIBRARY TO RETURN SOME 9 BOOKS

I went down to West Norwood Library to return some 9 library books. I decided in order to prevent the books from getting lost...having to go find them being located somewhere inside of house?...to keep them all stored inside of one strong bag. (In fact, I doubled the bag before I was leaving as a precaution that the bag don't break/split.)

So, after realising it's getting really 'late'...the library closes at 6 PM...I got just 10 or so minutes left to get down there...I rushed off down the road...hauling this really 'thick' along bag with me. If I hadn't been weighed down with having to carry 9 books; then, I'm sure, I would have arrived there much sooner; however, as it was...I arrived there dead on 6 PM.

As soon as one of the 'black' librarian girls saw me coming...they shouted out loud: 'The library is, now, shut!' But, I simply refused to budge...; so, when she saw the thick parcel I was carrying...she said...you've come to return books ok; then, she directed me off towards some 'automatic' machine. But, again, I refused to budge...stating that I'm not used to using this strange new equipment. Well, anyway, ultimately, she let me return back the 9 books; -(I think, I still have 6 or 7 more books to return, now.)- ; even, though there was a small queue of people standing in front of me, first...I think, it was 2 people who were in the queue, first.

There really weird thing about the books I returned was...I didn't even manage to read 'one' single page. I just looked at all of those books lying in the storage bag...and, thought to myself...am I ever going to read these? The answer which came back to me was, quite clearly, no; that's why I decided to return them all back, immediately...rather that risk accumulating a whole bunch of unnecessary fines.

6:30 PM WENT SHOPPING

Because I now had two 'empty' thick carrier bags with me...and, at the same time, I'm so close to West Norwood high street...I decided why not go and do some shopping. After all, it the shopping is done, right now; then, that means I won't have to shop for some many items, later on.

I went into, at least, 2 West Norwood grocery shops...in one I brought...

5 x Jamacian Water Crackers

...and, in another I brought...

5 x bags of yellow split peas (used for making Indian daahl)
1 x bag of easy cook white rice
1 x Jamaican 'thick' unsliced white bread loaf

I was thinking about buying some plantains...if I had a bike with me...I would have done so; but, when you have to walk...then, carrying home all of that weight in your two hands just gets increasingly heavier and heavier still...so, I decided I can buy the plantains another day.

7:00 PM BROUGHT FISH & CHIPS & SAUSAGE IN BATTER

As I was coming home...and, about to pass by to my local 'fish and chips' shop...just two streets away from where I live. I decided why not go in there...and, get something to eat. The cost of: fish & chips/and, sausage in batter is £5.10p. I didn't have 0.10p change; but, the guy in the shop -who I went to West Norwood Primary school with/he was in the same class as me; his name is, George- said I can bring in the 0.10p during another visit. So, I gave him a £10.00 note as change; and, he returned back to me a fiver.

7:30 PM CAME BACK HOME/EAT

I gave some fish and chips to my mum; she only like small proportions; and, then, took the rest to eat for myself.

Right now, I'm thinking about returning back down the road to give George his 0.10p; but, the truth is it can wait...if not today/then, tomorrow...or, just later on...the fish and chips shop closes at 10:30 PM. My stomach is full...and, I feel as 'lazy' as sheer hell.

After staring really hard at the computer screen all day long...both my eyes feel really 'weak/heavy/tired'; and, I honestly wish to sleep.

8 PM REGISTERED TO JOIN LAMBETH LIBRARIES ONLINE

I heard it's possible to join Lambeth Libraries online...
https://libraries.lambeth.gov.uk
...so, I decided to have a go; apparently, my online application is accepted. However, when I searched to find what books I do currently have out...it said, none; and, when I search to discover what fines I do currently owe...again, it said none. Maybe, it's just too early, so the details on my account haven't fully propagated, yet? But, to me, that's really strange info.; as I know I have at least 7 books still remaining to return; and, an outstanding fine of, at least, £1.00 to go and pay. In fact, I was hoping to go pay this fine online; but, I guess, not now.

10:25 PM WENT DOWN THE ROAD TO PAY BILL

As usual, for anybody who suffers from ADD/Attention Deficit Disorder, I left going down the road to visit the chip shop just before they close at 10:30 PM...right down to the very last few minutes. Then, I ran like completely crazy...which was really difficult...as I normally take bike...or, without a bike, would walk...so, pretty soon I felt out of physical condition/breath...and, had to stop to walk for a while...then, started running, again. Anyway, I arrived there just in time...and, gave the guy the 0.10p I had promised(the amount which he let me off earlier during the evening). He thanked me; and, I left feeling happy that, at least, I went out today; and, took some exercise...as opposed to always staying in; and, doing absolutely none. A good way to finish the day, I guess.

But, then, again...do I feel fit...no...not even in the least bit; in order to get fit/and, stay fit...you have to work out, regularly; which, most unfortunately, I don't tend to do at all. Like everything else in my life...I 'start' and 'stop'. I seem to find it next to impossible to stay with doing anything, constantly. My mind just wonders around far too much...to stick with doing any 'one' thing...; that's pretty much a guarantee; when it comes to keeping friendships/or, studying any subject/or, watching TV...I have to keep on switching channels, constantly...to see what's on the other side; to discover things 'new'.


No comments:

Post a Comment