Search found 1614 matches

by dafhi
Mar 08, 2024 21:33
Forum: Sources, Examples, Tips and Tricks
Topic: The Travelling Salesman Problem
Replies: 21
Views: 1106

Re: The Travelling Salesman Problem

dodicat i looked at your last code's output, and, while i don't feel equipped to come up with a solution, your pattern looks like donut drizzle. i got to thinkin, a donut outline would be more efficient, and i wonder how about the universality of a donut shape
by dafhi
Mar 02, 2024 17:07
Forum: General
Topic: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals
Replies: 10
Views: 966

Re: 'Procptr' now supports member procedures/operators as well as their indexing in vtable for virtuals

i can think of a few. run-time eval, procedural functions. i'll keep it on my back-burner
by dafhi
Feb 24, 2024 7:46
Forum: Sources, Examples, Tips and Tricks
Topic: my newest bits read / write
Replies: 2
Views: 266

my newest bits read / write

in case anyone is bored, it's fun to post code. i read through comments on one of my older posts in Tips & Tricks, someone mentioned "post in General instead if it hasn't been well tested" i'm notorious for releasing untested code. it's my thing. i just like to inspire anyway, here is ...
by dafhi
Jan 15, 2024 4:56
Forum: Sources, Examples, Tips and Tricks
Topic: clip rect namespace
Replies: 2
Views: 454

clip rect namespace

/' -- clip rect namespace - 2024 Feb 9 - by dafhi a namespaced clip rect for 2d graphics updates demo and comments renames project: low level 2d clipper -> clip rect set -> setrc custom_blit -> custom_draw '/ type imvars '' helper declare sub get_info( byref p as any ptr = 0 ) as long w as long h a...
by dafhi
Jan 02, 2024 4:40
Forum: Linux
Topic: New Linux ?
Replies: 2
Views: 456

Re: New Linux ?

mx linux easy to customize after u have fb installed and tested properly with your usual test code (preferrably 32 bit gfx win) MX Tools -> snapshot (note save location) Page 2 - i prefer ISO compression scheme gzip - slow, better .. limit cpu cores 2 uncheck calc checksums Preserving accounts Next ...
by dafhi
Dec 15, 2023 1:33
Forum: Game Dev
Topic: The world needs more tetris
Replies: 6
Views: 909

Re: The world needs more tetris

cool! i noticed 'samegame' in desc .. once i got to playing and saw some blocks disappear, i got it. will def play again :D
by dafhi
Nov 25, 2023 7:04
Forum: Sources, Examples, Tips and Tricks
Topic: Sorting Algorithms
Replies: 12
Views: 1542

Re: Sorting Algorithms

hi neil i only read the thing about 8 bytes, so i'm posting with that in mind '' array sizes 35-ish or less, use insertion_sort type sort_type as ubyte #define direction < #define dot '.z '' uncomment for udt member '' insertion_sort by dafhi sub Insertion_Sort( a() as sort_type, l as long=0, u as l...
by dafhi
Nov 03, 2023 1:49
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7030

Re: Switch Net 4 neural network

30 seconds?

[update 2 - cleared 22 lines]
Page 1 is a good starting point. it's performant and not 'too' compilcated
by dafhi
Nov 01, 2023 20:10
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7030

Re: Switch Net 4 neural network

doubt it - i haven't looked at any of my versions in what feels like ages.

give me a day or so
by dafhi
Oct 17, 2023 19:05
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7030

Re: Switch Net 4 neural network

from a well known alpha-blending technique

[2023 Oct 19] basis

Code: Select all

blue = (blue * [0 to 255]) and &HFF00

with masking for combined Red Blue

Code: Select all

col = ((col and &HFF00FF) * [0 to 255] ) and &HFF00FF00
by dafhi
Oct 12, 2023 21:32
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7030

Re: Switch Net 4 neural network

nice! i've begun work on single-threaded parallelization.

also have some tooling ideas to help people interested in graphics
by dafhi
Oct 12, 2023 2:32
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7030

Re: Switch Net 4 neural network

the code's messy, and the network functionality is limited. i wouldn't spend too much time on it
by dafhi
Oct 02, 2023 12:12
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7030

Re: Switch Net 4 neural network

if you mean the WHT,
i use optional as often as i can, for less text later

SparseNet i linked to earlier with blue white connections.


[edit] - actually, i'm not certain my SparseNet prunes
by dafhi
Oct 02, 2023 1:53
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7030

Re: Switch Net 4 neural network

my SparseNet prunes. where do you see 1 and 0?

my time zone is Pacific (same as Los Angeles)
by dafhi
Oct 02, 2023 0:38
Forum: General
Topic: Switch Net 4 neural network
Replies: 54
Views: 7030

Re: Switch Net 4 neural network

whimsical in the sense that i plan to code it later. i've been busy myself