{"id":3744,"date":"2023-09-14T22:32:07","date_gmt":"2023-09-14T21:32:07","guid":{"rendered":"https:\/\/priscimon.com\/blog\/?p=3744"},"modified":"2024-12-09T21:36:48","modified_gmt":"2024-12-09T20:36:48","slug":"back-to-basic","status":"publish","type":"post","link":"https:\/\/priscimon.com\/blog\/2023\/09\/14\/back-to-basic\/","title":{"rendered":"Back to BASIC"},"content":{"rendered":"\n<p>I fancied doing some BASIC programming yesterday and wrote a prime sieve in PC-BASIC. It can list primes up to about 10,000 at a decent speed but struggles with larger numbers because of memory and data type limitations in BASIC. Here is a screenshot showing the program and its output.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped is-style-rectangular wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1237\" height=\"954\" data-attachment-id=\"3747\" data-permalink=\"https:\/\/priscimon.com\/blog\/2023\/09\/14\/back-to-basic\/2023-09-14-213940_1237x954_scrot\/\" data-orig-file=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-213940_1237x954_scrot.png\" data-orig-size=\"1237,954\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-213940_1237x954_scrot-300x231.png\" data-large-file=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-213940_1237x954_scrot-1024x790.png\" data-id=\"3747\" src=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-213940_1237x954_scrot.png\" alt=\"Screenshot of a code listing\" class=\"wp-image-3747\" srcset=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-213940_1237x954_scrot.png 1237w, https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-213940_1237x954_scrot-300x231.png 300w, https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-213940_1237x954_scrot-1024x790.png 1024w, https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-213940_1237x954_scrot-768x592.png 768w\" sizes=\"auto, (max-width: 1237px) 100vw, 1237px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>Besides BASIC, other old computer tech has occupied my time lately. I run a VM with Red Hat Linux 4.2, which I first used in 1997, and code in C and C++ <em>inside the VM<\/em>. I also switched from the feature-rich GNOME desktop environment to the rudimentary Fvwm window manager.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped is-style-rectangular wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1038\" height=\"831\" data-attachment-id=\"3749\" data-permalink=\"https:\/\/priscimon.com\/blog\/2023\/09\/14\/back-to-basic\/2023-09-14-214417_1038x831_scrot\/\" data-orig-file=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-214417_1038x831_scrot.png\" data-orig-size=\"1038,831\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-214417_1038x831_scrot-300x240.png\" data-large-file=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-214417_1038x831_scrot-1024x820.png\" data-id=\"3749\" src=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-214417_1038x831_scrot.png\" alt=\"Screenshot of a Unix user interface\" class=\"wp-image-3749\" srcset=\"https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-214417_1038x831_scrot.png 1038w, https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-214417_1038x831_scrot-300x240.png 300w, https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-214417_1038x831_scrot-1024x820.png 1024w, https:\/\/priscimon.com\/blog\/wp-content\/uploads\/2023\/09\/2023-09-14-214417_1038x831_scrot-768x615.png 768w\" sizes=\"auto, (max-width: 1038px) 100vw, 1038px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>My explanation for this trend is that I am rediscovering computers as a hobby, now that my new job does not require me to learn about them as an occupational necessity. I can enjoy using old operating systems and programming languages that I could not explore to sufficient depth as I speed-learnt to my present level. Take programming for example, I barely spent time coding in BASIC once I was comfortable with it and instead quickly moved on to Pascal, Clipper<sup>[1]<\/sup>, Visual Basic, Java, and so on.<\/p>\n\n\n\n<p>I suppose I am in a similar situation with my photography. From lusting for the latest digital cameras, I now take more pleasure from the slow and intentional motions involved in operating old film cameras.<\/p>\n\n\n\n<p>Either it is that, or it is simply nostalgia showing my age.<\/p>\n\n\n\n<p><em>[1] Clipper is the first language that I used for serious programming. I did my project for GCE O-Level Computer Studies with Clipper.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I fancied doing some BASIC programming yesterday and wrote a prime sieve in PC-BASIC. It can list primes up to about 10,000 at a decent speed but struggles with larger numbers because of memory and data type limitations in BASIC. Here is a screenshot showing the program and its output. Besides BASIC, other old computer [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-3744","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1j9q5-Yo","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/posts\/3744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/comments?post=3744"}],"version-history":[{"count":25,"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/posts\/3744\/revisions"}],"predecessor-version":[{"id":4427,"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/posts\/3744\/revisions\/4427"}],"wp:attachment":[{"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/media?parent=3744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/categories?post=3744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/priscimon.com\/blog\/wp-json\/wp\/v2\/tags?post=3744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}