Recent Posts

Pages: 1 ... 8 9 [10]
91
General Discussion / Re: RPi Gitlab Setup
« Last post by John Spikowski on December 30, 2020, 11:53:42 PM »
My research paid off and I was able to get Gitlab-ce installed on my new RPi 4B 8GB under Ubuntu 20.04 LTS 64 bit.

I will be restoring the ScriptBasic repository (sb-dev) here soon.

The new Gitlab install is assigned to basic-sandbox.us running on fiber with a static IP.

92
General Discussion / Re: RPi Gitlab Setup
« Last post by John Spikowski on December 30, 2020, 06:22:41 PM »
After doing a bit of research on my problem it seems that Apache and Nginx shouldn't be installed prior to the Gitlab install. I'm going to uninstall gitlab-ee, (Enterprise - not free) Apache and Nginx. I'm going to install Gitlab-ce (Community Edition - free) instead. Hopefully I'll have a better result.
93
General Discussion / RPi Gitlab Setup
« Last post by John Spikowski on December 29, 2020, 11:51:49 PM »
I have installed Gitlab-ee on my new RPi 4B 8GB. The install seemed to go fine. Problem is I can't reach the Gitlab login screen.  :-\

I setup a gitlab.basic-sandbox.us DNS A record on my AWS Route53 DNS service. I have reconfigured Gitlab a couple of times with no error.

When I enter https://basic-sandbox.us in my browser it returns the Apache default index.html page.

Does anyone have an idea how to debug this to get it running?


ubuntu@rpi4b:~$ sudo gitlab-ctl status
down: alertmanager: 1s, normally up, want up; run: log: (pid 3233) 2615s
run: gitaly: (pid 3254) 2615s; run: log: (pid 3243) 2615s
run: gitlab-exporter: (pid 3239) 2615s; run: log: (pid 3232) 2615s
run: gitlab-workhorse: (pid 3259) 2615s; run: log: (pid 3250) 2615s
run: grafana: (pid 3256) 2615s; run: log: (pid 3245) 2615s
run: logrotate: (pid 3252) 2615s; run: log: (pid 3238) 2615s
run: nginx: (pid 19171) 2s; run: log: (pid 3230) 2615s
run: node-exporter: (pid 3253) 2615s; run: log: (pid 3241) 2615s
run: postgres-exporter: (pid 3249) 2615s; run: log: (pid 3234) 2615s
run: postgresql: (pid 3255) 2615s; run: log: (pid 3244) 2615s
run: prometheus: (pid 3240) 2615s; run: log: (pid 3231) 2615s
run: puma: (pid 3262) 2615s; run: log: (pid 3247) 2615s
run: redis: (pid 3251) 2615s; run: log: (pid 3235) 2615s
run: redis-exporter: (pid 3261) 2615s; run: log: (pid 3242) 2615s
run: sidekiq: (pid 3246) 2615s; run: log: (pid 3237) 2615s
ubuntu@rpi4b:~$


This is the banner that shows after logging into to RPi 4B 8GB.


Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-1026-raspi aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Tue Dec 29 18:26:42 PST 2020

  System load:  2.69                Temperature:           44.8 C
  Usage of /:   12.9% of 116.97GB   Processes:             319
  Memory usage: 66%                 Users logged in:       1
  Swap usage:   0%                  IPv4 address for eth0: 23.90.90.91

 * Introducing self-healing high availability clusters in MicroK8s.
   Simple, hardened, Kubernetes for production, from RaspberryPi to DC.

     https://microk8s.io/high-availability

0 updates can be installed immediately.
0 of these updates are security updates.

94
BBC BASIC / BBC BASIC for SDL 2.0 version 1.18a released
« Last post by Richard Russell on December 04, 2020, 12:28:38 PM »
I've released version 1.18a of BBC BASIC for SDL 2.0 - the cross-platform programming language for Windows, MacOS, Linux, Raspbian, Android, iOS and in-browser.  The changes in this version are as follows:

  • BASIC Interpreter / Run Time Engine

    Added a new command-line switch -borderless to remove the title bar.

    Extended the PTR() pseudo-variable (again) to accept a function or procedure name as a parameter.

    Fixed an obscure bug which could cause a star-command to crash if within 256 bytes of the end of a library!

  • IDEs and Utilities

    Updated BBCEdit to version 0.37.2, which speeds up directory listings when there are many files.

    Modified SDLIDE to make the behaviour of Backspace more consistent, for example you can backspace through the line-number field.

  • Libraries

    Added Svein's excellent pdflib library for creating PDF files (single A4 page only).

    Fixed a bug in aagfxlib causing 'dashed' lines to be sometimes drawn slightly too long.

    Modified box2dgfx, imglib, shaderlib and webgllib to clip to the current graphics viewport, if any.

  • Example Programs

    Added saa505x.bbc in examples/tools, to demonstrate the different MODE 7 character sets.

    Added raytrace.bbc in examples/graphics, another shader demo from Shadertoy.com.

    Updated aagfxdem.bbc in examples/graphics, to check that 'dashed' lines are the right length.


This version may be downloaded, for all the supported platforms, from the usual location.  The GitHub repository has been updated (used to build the MacOS, Raspbian, Android, iOS, 64-bit Linux and in-browser editions, currently).

Please remember that if you use the BBC2APK Android Application Generator you should download a new APK template to ensure that any updates to the run-time engine are incorporated in your own apps.
95
BBC BASIC / BBC BASIC for SDL 2.0 version 1.17a released
« Last post by Richard Russell on October 23, 2020, 01:48:51 PM »
I've released version 1.17a of BBC BASIC for SDL 2.0 - the cross-platform programming language for Windows, MacOS, Linux, Raspbian, Android, iOS and in-browser.  The changes in this version are as follows:

  • BASIC Interpreter / Run Time Engine

    Updated the in-browser (Emscripten / Web Assembly) edition to support shader graphics, 3D graphics and the Box2D physics engine.

    Fixed a subtle bug which could cause unwanted behaviour when using ON ERROR LOCAL in nested functions (ARM and 64-bit editions only).

    Fixed a one-byte buffer overrun in the *KEY command (ARM and 64-bit editions only).

  • IDEs and Utilities

    Updated BBCEdit to version 0.37.1 (with thanks to Andy Parkes); amongst other changes this has a new light-mode option.

    Fixed a bug causing the profiler not to work on the Raspberry Pi (D'oh!).

  • Libraries

    Added shaderlib.bbc to facilitate writing shader-based programs, and to aid compatibility with the in-browser edition.

    Added webgllib.bbc which is substantially compatible with ogllib and gleslib but uses shaders rather than the Fixed Function 3D Pipeline.

    Updated some other libraries to improve compatibility with, and performance in, the in-browser edition.

  • Example Programs

    Modified Ceefax.bbc (again!) to track changes the BBC is making to its web pages and to improve performance in the in-browser edition.

    The shader-based programs (fluid.bbc, mandel.bbc, seascape.bbc, slitscan.bbc) have been re-written to use the shaderlib library.

    Updated some other example programs to improve compatibility with, and performance in, the in-browser edition.

This new version may be downloaded, for all the supported platforms, from the usual location.  The GitHub repository has been updated (used to build the MacOS, Raspbian, Android, iOS, 64-bit Linux and in-browser editions, currently).

Please remember that if you use the BBC2APK Android Application Generator you should download a new APK template to ensure that any updates to the run-time engine are incorporated in your own apps.
96
BBC BASIC / Re: New: Console Mode editions of BBC BASIC
« Last post by Richard Russell on September 12, 2020, 02:44:02 PM »
I have updated the Console Mode editions of BBC BASIC to version 0.26, principally to bring them into line with the latest release of BBC BASIC for SDL 2.0.  The main changes in this version are:
  • File pointers and lengths (PTR#, EXT#) are now 64-bits on all platforms.
  • Added the SYS function to return the entry point of an API, e.g. `memcpy` = SYS("memcpy").
  • Added the PTR()= statement to set the pointer of an array or structure.
  • Extended the =PTR() function to return the pointer of an array or structure.
A typical use for the PTR()= statement is to set the pointer of a linked-list node:

Code: [Select]
      DIM node{link, ...}
      ...
      REPEAT
        PTR(node{}) = node.link : REM traverse linked-list
      UNTIL node.link = 0

Version 0.26 may be downloaded as follows:
97
BBC BASIC / Re: BBC BASIC for SDL 2.0 version 1.15a released
« Last post by John Spikowski on September 11, 2020, 08:44:11 PM »
Thanks Richard for the update and keeping this forum active with content.
98
BBC BASIC / BBC BASIC for SDL 2.0 version 1.15a released
« Last post by Richard Russell on September 11, 2020, 04:19:59 PM »
I've released version 1.15a of BBC BASIC for SDL 2.0 - the cross-platform programming language for Windows, MacOS, Linux, Raspbian, Android, iOS and WebAssembly (Chrome/Edge/Firefox).  The changes in this version are as follows:
  • BASIC Interpreter / Run Time Engine:

    Added the PTR()= syntax to set the pointer of a structure, array or string.

    Extended =PTR() to return the pointer of a structure or array as well as a string.

    Added = SYS("function") to return the address of an API function, or zero if it doesn't exist.

    Added support for @cmd$ possibly being longer than 255 bytes.
     
    Changed TIME from unsigned to signed, since code like 'T% = TIME' is very common.

    Fixed a minor problem with the 'pending newline' mode (VDU 23,16,1|) (needs fixing in BB4W too!).

    Fixed a bug (in the 64-bit and ARM editions only) causing assigning a string to a numeric variable not to result in the expected 'Type mismatch' error.

  • IDEs and Utilities:

    SDLIDE: Implemented breakpoints, very similar to those in LBB and bbcide (double-click in the left margin to add or remove a breakpoint).

    SDLIDE: Enabled the Print option in the File menu and toolbar.  This prints the current program to the default printer.

  • Libraries:

    Modified filedlg to fix an incompatibility with *HEX 64 mode.

    Modified dlglib to reduce CPU usage when idling, especially when a List Box has the input focus.

    Modified socklib to prevent a 'double-free' error if PROC_exitsockets is called twice.

  • Example Programs:

    Modified Ceefax.bbc to recognise the word Thunder in the weather description and display the 'storm' indication.

    Modified telstar.bbc to include 'ANSItex BBS' in the list of services, and to disable 'pending newline' mode.
This new version may be downloaded, for all the supported platforms, from the usual location.  The GitHub repository has been updated (used to build the MacOS, Raspbian, iOS, 64-bit Linux and in-browser editions, currently).
99
BBC BASIC / Re: New: In-browser BBC BASIC for SDL 2.0
« Last post by Richard Russell on September 07, 2020, 11:02:14 AM »
I have updated the in-browser edition of BBC BASIC for SDL 2.0 to version 1.14y.  The differences in this version are:

  • Fixed a performance issue caused by yielding to the browser too often, which throttled graphics output.

  • Added the sortlib and eventlib libraries, compatible with those supplied with the other editions.

  • Added sorttest.bbc, in the examples/general/ directory, to test the sortlib library.

  • Added multitouch.bbc, in the examples/general/ directory, to demonstrate the eventlib library (needs a touchscreen).

  • Restored aliens.bbc to animate 80 sprites, to demonstrate the improved graphics performance (I get about 30 fps on my Core i7 laptop and 48 fps on my fastest desktop, both in Microsoft Edge).

Users of 32-bit Windows please note that a few of the supplied programs do not work properly, seemingly because of a bug in the 32-bit WebGL.
100
BBC BASIC / Re: New: In-browser BBC BASIC for SDL 2.0
« Last post by Richard Russell on August 31, 2020, 09:29:39 AM »
There are some significant limitations, the most serious of which is probably that the GCOL 'logical plotting' modes (AND, OR, EOR) don't work

To address this, in part, I have arranged that rather than the logical plotting modes being completely non-functional they activate the nearest supported webgl blend mode.  So for example GCOL 1 sets 'add' and GCOL 2 sets 'multiply'; whilst these obviously have significantly different effects from the genuine logical modes (OR and AND), they are equivalent in the special case when the RGB values of the source and destination are all 0.0 (&00) or 1.0 (&FF).

The updated version can be run, as before, from this link; it will only work in Microsoft Edge or Google Chrome.  You may have to clear your browser cache to guarantee picking up the new version.

To demonstrate the newly-implemented GCOL modes I have added polydots.bbc in the examples/graphics directory, which didn't work previously because it relies on GCOL 3,15.
Pages: 1 ... 8 9 [10]