Yes, aliasing the CLI command to a remote script is not exactly best practice. My casual question to myself when I made it was … what’s the literal easiest way I could get this to work on someone’s computer with as few dependencies as possible? This was the solution I came up with. (And in my defense, it is similar to how you install homebrew … `/bin/bash -c "$(curl -fsSL https://xn--rvg)`, but I get that most wouldn’t trust a somewhat random GitHub account like this.)
If you have any questions about this, let me know! My website (https://jamon.dev) runs on it (in a DigitalOcean droplet) and I’ve enjoyed the experience.
For those who started with basic and grew from there, the journey seems to have been critical to start with basic to have so many aha’s so early in learning a skill.
I think this has huge potential in the educational sector, and bridges the gap of how our generation learned programming back then and the modern web.
Again, kudos!
Basic is a very capable beginners language to learn enough concepts.
Many developers had their first experiences of magic as kids with something like Basic.
The main thing I remember was trying to debug questionnaire functionality and getting very nearly nowhere: it was an entire questionnaire engine implemented in VB6, which was probably why it hadn't been ported to .NET yet. I'm sure PHP of the same vintage would have been equally gnarly, mind you.
E.g. to open the TCP/IP connection, this project uses the _OPENHOST function, which does not exist in the olden QB.
https://qb64.com/wiki/_OPENHOST.html
https://github.com/jamonholmgren/qub/blob/main/template/qub/...
alias qub="source <(curl -sSL https://raw.githubusercontent.com/jamonholmgren/qub/main/src/cli.sh)"#sorrycouldntresist
https://idioms.thefreedictionary.com/a+Daniel+come+to+judgem...
like so many, i respect his work a lot.
I haven't touched QB in decades but I'm glad someone did and had fun working on it.
That being said, exactly the same here. My first program that was ever used by anyone other than me was a National Lottery number picker for my grandad :) saved him 20 minutes a week...
alias qub="source <(curl -sSL https://raw.githubusercontent.com/jamonholmgren/qub/main/src/cli.sh)"
a bit concerning to hot alias a simple command to remote shell executionI was hoping to see like request handlers
Back in the late 90s I worked on a system that generated a static website from an existing QB application. The app itself was a flat file database with a few thousand entries and was very fast. The web version was equally fast as you’d enter a customer number and it would just redirect you to that page. It did very little but we did add a few hints to the screen output and then would screen-scrape the app window to a plain text file and then run my tool to convert those plain text files to templated pages.
1: https://github.com/jamonholmgren/qub/blob/main/template/qub/...
Does QB64 still suffer from a slight amount of latency when you punch the RUN button associated with the fact that it has to compile the code before it runs it? I miss the dopamine hit from old school QBasic with its "relatively" instantaneous interpretive code when hitting F5.
I thought we all took qbasic around the barn and never spoke of it again.
How come it is becoming popular again? I seen pascal trending too, why???