Search found 1573 matches

by the.weavster
Wed Dec 17, 2025 11:45 am
Forum: Off Topic
Topic: Music
Replies: 31
Views: 1578

Re: Music

Piero wrote: Mon Dec 15, 2025 12:08 am Talented Girl:
Here's another.
by the.weavster
Sat Oct 18, 2025 2:51 pm
Forum: General Discussion
Topic: Looking for Suggestions
Replies: 13
Views: 3027

Re: Looking for Suggestions


I cannot run a cron job throughout the day collecting the data because if for instance someone decides to send some required data to the equipment it will immediately disconnect me from the equipment and connect to the new request. This means you have to do this task during particular hours when ...
by the.weavster
Sun Oct 05, 2025 1:41 pm
Forum: Coding Questions
Topic: Update values ​​for JSON file why were the other members lost ?
Replies: 2
Views: 671

Re: Update values ​​for JSON file why were the other members lost ?


Procedure json_get_member(js, key$)
Protected nMember = GetJSONMember(js, key$)
If Not nMember
nMember = AddJSONMember(js, key$)
EndIf
ProcedureReturn nMember
EndProcedure

LoadJSON(0, "D:\settings.json")
SetJSONString(json_get_member(JSONValue(0), "FastMode"), "OK")
SaveJSON(0, "D:\settings ...
by the.weavster
Sun Sep 28, 2025 1:38 pm
Forum: Off Topic
Topic: There is only one Enemy
Replies: 12
Views: 3087

Re: There is only one Enemy

idle wrote: Sun Sep 28, 2025 12:14 pm The Priestoner :lol:
dyslexia is funny some times
And the answer was always there, it was just missing a comma...

Who is number 1?
You are, number 6.
by the.weavster
Sat Sep 27, 2025 11:07 am
Forum: Off Topic
Topic: There is only one Enemy
Replies: 12
Views: 3087

Re: There is only one Enemy

Kurzer wrote: Fri Sep 26, 2025 6:10 pm You yourself are always your worst enemy.
Who is number 1?
You are number 6.


Image
by the.weavster
Sun Aug 10, 2025 6:20 pm
Forum: Feature Requests and Wishlists
Topic: Week number in a Year
Replies: 9
Views: 3204

Re: Week number in a Year

Don't forget SQLite date functions are available to you:

Code: Select all

SELECT strftime('%V', '2025-08-10') AS weekno
by the.weavster
Fri Apr 25, 2025 11:06 am
Forum: Tricks 'n' Tips
Topic: Grid - WebView JS (Tabulator)
Replies: 10
Views: 2814

Re: Grid - WebView JS (Tabulator)

A related tip:

Tabulator wants the record data in this format:

[
{id:1, name:"Oli Bob", age:"12", col:"red", dob:""},
{id:2, name:"Mary May", age:"1", col:"blue", dob:"14/05/1982"},
{id:3, name:"Christine Lobowski", age:"42", col:"green", dob:"22/05/1982"},
{id:4, name:"Brendon Philips", age ...
by the.weavster
Fri Apr 25, 2025 10:56 am
Forum: Tricks 'n' Tips
Topic: Grid - WebView JS (Tabulator)
Replies: 10
Views: 2814

Re: Grid - WebView JS (Tabulator)

Mesa wrote: Fri Apr 25, 2025 10:33 am It doesn't make any difference if the JS and CSS are loaded locally.
It can do, you can't load ES6 modules via the file:// protocol so you have to be careful which version of the Tabulator files you use.
by the.weavster
Wed Apr 16, 2025 4:01 pm
Forum: Feature Requests and Wishlists
Topic: Cosmopolitan Libc
Replies: 5
Views: 1475

Re: Cosmopolitan Libc


May be it works for a console hello world, but is there more complex apps (with GUI) for this ?

It seems much more capable than just hello world, there's a list of binaries compiled with it here which includes Python, PHP, SQLite3, ...

As for GUIs I think somebody got SDL working but I think ...
by the.weavster
Wed Apr 16, 2025 8:23 am
Forum: Feature Requests and Wishlists
Topic: Cosmopolitan Libc
Replies: 5
Views: 1475

Cosmopolitan Libc

This seems interesting:

" Cosmopolitan Libc makes C a build-anywhere run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows ...
by the.weavster
Sun Feb 23, 2025 9:03 pm
Forum: Coding Questions
Topic: CheckFileName()
Replies: 5
Views: 625

Re: CheckFileName()

AZJIO wrote: Sun Feb 23, 2025 6:56 pm Then you need FileSize()
The path / file may not exist (yet), it's a string coming in from a script and I'm trying to perform a sanity check to make sure it could reasonably be interpreted as a path for the current OS.
by the.weavster
Sun Feb 23, 2025 6:48 pm
Forum: Coding Questions
Topic: CheckFileName()
Replies: 5
Views: 625

Re: CheckFileName()

Ah, so it only checks the file name bit :oops:
I was using it to check a whole path string :lol:
by the.weavster
Sun Feb 23, 2025 5:38 pm
Forum: Coding Questions
Topic: CheckFileName()
Replies: 5
Views: 625

CheckFileName()

PB 6.20 on MX Linux (Debian)

This returns zero:

Code: Select all

Debug CheckFilename("/home")
I can't currently check other platforms...

// Moved from "Bugs - Linux" to "Coding Questions" (Kiffi)
by the.weavster
Tue Feb 18, 2025 11:39 am
Forum: Off Topic
Topic: Mike Shah's PureBasic - First Impression
Replies: 43
Views: 11783

Re: Mike Shah's PureBasic - First Impression

Mike Shah wrote:Fred, thanks for building a wonderful tool! Any interest in coming on the channel to chat about PureBasic or SpiderBasic?
@Fred
Are you taking up the invite?
by the.weavster
Sat Feb 08, 2025 12:21 pm
Forum: Announcement
Topic: Interview by Quin and Nsstudios
Replies: 43
Views: 21435

Re: Interview by Quin and Nsstudios


Quin: Is there any chance of SpiderBasic/PureBasic ever compiling to WebAssembly?

No, I don’t think so.

@Fred
May I ask why? Emscripten is designed to be a drop in replacement for gcc that compiles C to WebAssembly...


A high level view of the Emscripten toolchain is given below [see link ...