• Joined on 2021-10-26
lash created branch lash/draft-dev-0.1.0 in urdt/ussd 2024-09-05 04:30:10 +02:00
lash pushed to lash/draft-dev-0.1.0 at urdt/ussd 2024-09-05 04:30:10 +02:00
7fc235c84c Draft example of dev-0.1.0 refactor
lash commented on pull request urdt/ussd#28 2024-09-04 08:03:05 +02:00
wip-flag-migration

A logline to show debug the flag loaded would be nice

lash commented on pull request urdt/ussd#28 2024-09-04 08:03:05 +02:00
wip-flag-migration

I don't think mutex is needed here, it will be loaded once (before threads) and only read from then right?

lash commented on pull request urdt/ussd#28 2024-09-03 19:58:16 +02:00
wip-flag-migration

First, as I said, let's not spend time on this, since this code will be gone when you implement db.gdbmDb in dev-0.1.0.

That said, choosing flag on os.Stat would be the way to go, I guess.

As…

lash opened issue urdt/ussd#30 2024-09-03 15:49:58 +02:00
Use integer storage identifiers for user data
lash commented on pull request urdt/ussd#28 2024-09-03 15:27:50 +02:00
wip-flag-migration

yes, or perhaps even globally.

lash commented on pull request urdt/ussd#28 2024-09-03 00:32:23 +02:00
wip-flag-migration

FYI this will truncate the file on every open.

lash commented on pull request urdt/ussd#28 2024-09-03 00:32:23 +02:00
wip-flag-migration

It shouldn't be necessary to process the flags twice.

lash commented on pull request urdt/ussd#28 2024-09-03 00:32:23 +02:00
wip-flag-migration

also seems unnecessary, there should be one single source of flag label to value map.

lash commented on pull request urdt/ussd#28 2024-09-03 00:32:23 +02:00
wip-flag-migration

please remove commented code if it is not of any more use

lash commented on pull request urdt/ussd#28 2024-09-03 00:32:23 +02:00
wip-flag-migration

here appends to set but assign to reset. happens in the below, too.

lash commented on pull request urdt/ussd#28 2024-09-03 00:32:23 +02:00
wip-flag-migration

we cannot have panics anywhere in the vm execution! Just return error.

lash commented on pull request urdt/ussd#28 2024-09-03 00:32:23 +02:00
wip-flag-migration

these flags should be loaded not hardcoded.

lash commented on pull request urdt/ussd#28 2024-09-03 00:32:23 +02:00
wip-flag-migration

iterate on csv lines and populate with rows 2 and 3...

lash commented on pull request urdt/ussd#28 2024-09-03 00:32:23 +02:00
wip-flag-migration

Silly, I made the pull request so the review can only be marked as comment...

lash commented on issue urdt/ussd#29 2024-09-03 00:10:06 +02:00
PIN registration error

Works with 1111 not with 1234

lash opened issue urdt/ussd#29 2024-09-03 00:09:02 +02:00
PIN registration error
lash created pull request urdt/ussd#28 2024-09-02 16:45:19 +02:00
wip-flag-migration
lash commented on issue urdt/ussd#16 2024-08-31 18:10:16 +02:00
External tool to block account

go-vise branch lash/engine-first provides engine.SetFirst() which allows setting pre-VM EntryFunc to be executed. Docs follow momentarily.