Go to advanced search

by John_Spikowski
Tue Sep 17, 2019 7:41 pm
Forum: General programming discussion
Topic: Local App vs Web App
Replies: 12
Views: 285

Re: Local App vs Web App

You should seriously look at IUP. Qt is a monster and tough to work with.
by John_Spikowski
Tue Sep 17, 2019 6:06 pm
Forum: Other programming languages
Topic: ScriptBasic
Replies: 1362
Views: 53378

Re: ScriptBasic

My RPi 4B (4 GB) is arriving tomorrow. I'm thinking of going with a 64 bit OS and getting 64 bit ScriptBasic going on the RPi.
by John_Spikowski
Tue Sep 17, 2019 10:38 am
Forum: General programming discussion
Topic: Local App vs Web App
Replies: 12
Views: 285

Re: Local App vs Web App

You're correct.

If I want a native GUI, I would use the IUP library.

IUP takes care message processing and callbacks to SB.
by John_Spikowski
Tue Sep 17, 2019 1:45 am
Forum: General programming discussion
Topic: Local App vs Web App
Replies: 12
Views: 285

Re: Local App vs Web App

Heater wrote: Show me a hello world dialog box with a button in ScriptBasic and I bet I can spot the "framework" in there.

Code: Select all

DECLARE SUB FFI ALIAS "dyc" LIB "dyc"

FFI "ms,i,USER32.DLL,MessageBox,PZZL", 0, "Hello Heater!" & CHR(0), "ScriptBasic Framework", 0
by John_Spikowski
Mon Sep 16, 2019 6:43 pm
Forum: General programming discussion
Topic: Local App vs Web App
Replies: 12
Views: 285

Re: Local App vs Web App

IUP is a library not a framework.

Frameworks are offsprings of the web evolution.
by John_Spikowski
Mon Sep 16, 2019 4:11 pm
Forum: General programming discussion
Topic: Local App vs Web App
Replies: 12
Views: 285

Re: Local App vs Web App

So Electron isn't a framework?

ScriptBasic is a top down procedural language and has no frameworks to offer.
by John_Spikowski
Mon Sep 16, 2019 11:20 am
Forum: General programming discussion
Topic: Local App vs Web App
Replies: 12
Views: 285

Re: Local App vs Web App

How long does it take to master a typical Node.js framework? I'm trying to estimate what I would charge a client if I have to eat learning these frameworks before getting started on what the client is paying me for.
by John_Spikowski
Tue Sep 10, 2019 12:13 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

Even if some of the extensions leak It seems GMP is the only extension that has a memory use/free issue. All the other extension modules work fine. AIR wrote the GMP2 extension module and has indicated via his testing memory is release when scriba exits. For the real world tasks that might require ...
by John_Spikowski
Mon Sep 09, 2019 5:45 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

It's pretty clear that Script Basic is useful. I think this is because Script Basic is a light-weight interpreter that has a relatively easy way to call C libraries through what are called extensions. Even if some of the extensions leak, the core interpreter appears solid and bug free. It's a solid...
by John_Spikowski
Mon Sep 09, 2019 5:39 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

Or at your party.
🦸‍
by John_Spikowski
Mon Sep 09, 2019 1:34 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

Rude is calling a language you never used crap.

I can actually make a profit with ScriptBasic.

I'll take any challenge you throw my way and finish it before you settle on a design.
by John_Spikowski
Mon Sep 09, 2019 1:18 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

I'm using associative arrays to cache SQL SELECTs that reduces the time to process journal entry creation by 5X.

Your argument is nothing but noise.
by John_Spikowski
Mon Sep 09, 2019 12:59 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

The only thing slow about ScriptBasic is when you abuse its array feature. I don't waste away my life building frameworks with bloated scripting engines meant for a web browers. Most of my clients needed the project done yesterday by the time I get the call. One aspect you forget is these clients do...
by John_Spikowski
Sun Sep 08, 2019 8:40 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

Currently I'm wrapped up in a project using ODBC and ScriptBasic to integrate a custom manufacturing package with QuickBooks Enterprise. Win10 seems more refined than previous versions of Windows. I hope to get back to getting the hash extension module working for the insane dictionary anagram chall...
by John_Spikowski
Sun Sep 08, 2019 11:18 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

What is the goal? Speed or reach?
by John_Spikowski
Sat Sep 07, 2019 1:00 am
Forum: General programming discussion
Topic: Sorting files by date & outputting to list
Replies: 6
Views: 464

Re: Sorting files by date & outputting to list

ScriptBasic has an easy to use syntax for directory reading.


https://www.scriptbasic.org/docs/ug/ug_25.134.html
by John_Spikowski
Sun Sep 01, 2019 11:03 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

because in Visual Studio long and unsigned long remain 32 bits regardless of Win32 vs x64.
Max string length doesn't improve going from 32 bit to 64 bit on Windows.
by John_Spikowski
Sun Aug 25, 2019 1:43 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

Great to see ScriptBasic at the top of the charts.

👅
by John_Spikowski
Thu Aug 22, 2019 3:36 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

Another candidate for the mega memory class programming environment.

Memory is cheap if you have access to it.
by John_Spikowski
Wed Aug 21, 2019 4:35 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

hippy wrote:
Wed Aug 21, 2019 3:09 pm
"A Second Age of Personal Computing"
"A Final Fibonacci Challenge"
"Project Digital Apocalypse Not Now"
"Liberation through Computer Literacy"

Can I suggest the next change of thread title is to "Best Troll. Ever"

:lol:
How about 'Worthless Challenges Defined'?
by John_Spikowski
Wed Aug 21, 2019 2:06 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Liberation through Computer Literacy

The word list is already sorted. If you use a hash method properly the only sorting going on is the dictionary word to build the hash key.

I think the ScriptBasic approach is the most efficient but using associative arrays rather than the hash extension module is its downfall.
by John_Spikowski
Sun Aug 18, 2019 2:09 am
Forum: General programming discussion
Topic: Temperature Sensors
Replies: 5
Views: 1254

Re: Temperature Sensors

It looks from the help reference you posted it is an interrupt driven interface. I haven't tried interfacing with this type of interface yet so hopefully someone that has will chime in.
by John_Spikowski
Thu Aug 15, 2019 3:50 pm
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Project Digital Apocalypse Not Now

IMPORT only INCLUDEs the file once. Other than that, they are the same. What needs to be done is create a control word list with 10 or so entries and step through the routines validating what's happenong. Thinking about this a bit, the SPLITA may have created a null element at the end and that is wh...
by John_Spikowski
Thu Aug 15, 2019 10:25 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Project Digital Apocalypse Not Now

This doesn't seg fault so I'm getting closer. The issue seems to be what I'm doing with updating the hash value. FYI: This HASH library is used internally by ScriptBasic's lexer. ScriptBasic HASH Extension Module Docs INCLUDE hash.bas hh = HASH::New() flen = FILELEN("tail.dat") OPEN "tail.dat" FOR I...
by John_Spikowski
Thu Aug 15, 2019 12:26 am
Forum: General programming discussion
Topic: Liberation through Computer Literacy
Replies: 1125
Views: 49064

Re: Project Digital Apocalypse Not Now

The HASH extension module doesn't seem to detect the end of the hash and seg faults calling next hash. It may be as simple as I don't know what I'm doing but I'm really busy with real life to investigate. I've ask AIR to have a peek but he seems busy as well. Feel free to give it a try. Maybe you wi...

Go to advanced search