Search found 7415 matches

by D.J.Peters
Sep 18, 2019 4:25
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 5
Views: 188

Re: TP-Link HS110

I don*t use Python but looks like you send and receive XOR*ed strings via TCP thats all isn't it ?

tplink-smarthome-commands.txt

Joshy
by D.J.Peters
Sep 18, 2019 4:04
Forum: Tips and Tricks
Topic: Using Shadertoy.com shaders offline.
Replies: 12
Views: 3199

Re: Using Shadertoy.com shaders offline.

Here are how to use textures with the shadertoy offline renderer! Joshy dim as string SCODE /' The MIT License Copyright © 2015 Inigo Quilez Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to...
by D.J.Peters
Sep 15, 2019 0:29
Forum: Libraries
Topic: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)
Replies: 44
Views: 5870

Re: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)

mrToad wrote:.. fbSound is awesome ...
good to know I will give it a try :-)

All my software and source code in the public domain can be modified, distributed, or sold even without any attribution by anyone !

For libMad (MP3), libDump (tracker modules) and libVorbis (OGG) take a look at the doc folder.

Joshy
by D.J.Peters
Sep 14, 2019 13:52
Forum: Linux
Topic: Installing on Linux Mint 19
Replies: 8
Views: 205

Re: Installing on Linux Mint 19

On Ubuntu I use at my office the X lib stuff are "x" (lower case "x" not "X") !
and "libABC-devel" is "libABC-dev"

Joshy
by D.J.Peters
Sep 14, 2019 13:36
Forum: General
Topic: String to number conversion with error handling
Replies: 4
Views: 148

Re: String to number conversion with error handling

Here are the "short" decimal integer only version (no bin, octal or hex) Joshy function IsWhite(iChar as integer) as boolean if iChar= 9 then return true if iChar=32 then return true return false end function function IsDec(iChar as integer) as boolean if iChar<asc("0") then retu...
by D.J.Peters
Sep 14, 2019 13:22
Forum: General
Topic: String to number conversion with error handling
Replies: 4
Views: 148

Re: String to number conversion with error handling

Here are a IntValue(aString,iNumber) function If the string isn't a legal integer number it returns false it supports unnary -/+, hex, bin and octal BASIC syntax also. if your string integer numbers used C style hex notation you must change "&H" to "0X" Joshy function IsWhite...
by D.J.Peters
Sep 14, 2019 5:17
Forum: Tips and Tricks
Topic: UInteger to max. value (32/64)
Replies: 1
Views: 105

Re: UInteger to max. value (32/64)

Code: Select all

Const As UInteger UImax = not 0
print bin(UImax)
sleep
by D.J.Peters
Sep 13, 2019 0:27
Forum: Documentation
Topic: Wiki improvements
Replies: 352
Views: 36775

Re: Wiki improvements

coderJeff wrote:Wow! I've read the new topics. They are very good with a logical progression of topics and information. Wonderful work, fxm.
Same here well done.

Joshy
by D.J.Peters
Sep 12, 2019 1:11
Forum: General
Topic: First try at extended classes
Replies: 15
Views: 407

Re: First try at extended classes

complete: const as single PI = 4 * atn(1) type solar_object declare constructor(_mass as single = -1, _radius as single = -1) declare sub showProperties() as single mass 'kg as single radius 'm end type constructor solar_object(_mass as single, _radius as single) mass = _mass radius = _radius end co...
by D.J.Peters
Sep 12, 2019 0:03
Forum: General
Topic: First try at extended classes
Replies: 15
Views: 407

Re: First try at extended classes

In your "simple" example you don't need the "base" part you can access the vars directly ! (and str() is QBASIC oldschool) Joshy sub planet.showProperties() print "Name : " & nameStr print "Mass : " & mass print "Radius : " & radius print...
by D.J.Peters
Sep 08, 2019 11:42
Forum: Community Discussion
Topic: any ptr bug?
Replies: 5
Views: 138

Re: any ptr bug?

Cptr(Integer ptr, pp)[i] = i

print Cptr(Integer ptr, pp)[i]
by D.J.Peters
Sep 07, 2019 3:25
Forum: Tips and Tricks
Topic: Fastest PRNG around, the XORSHIFT
Replies: 34
Views: 1086

Re: Fastest PRNG around, the XORSHIFT

You have to replace uInteger with ulong 32 vs 64 bit !

Joshy
by D.J.Peters
Aug 31, 2019 22:52
Forum: Hardware Interfaces / Communication
Topic: Tip: The better Arduino "clones".
Replies: 3
Views: 851

Re: Tip: The better Arduino "clones".

I... what are you going to do with it? I self don't use the Arduino IDE stuff. I found out I learn more if I use the GNU compiler tool chain and my favorite CodeBocks IDE and of course an ATMEL AVR programmer "clone". I will test my 16bit color display code with the fast 16bit access from...
by D.J.Peters
Aug 31, 2019 0:20
Forum: Documentation
Topic: Wiki improvements
Replies: 352
Views: 36775

Re: Wiki improvements

fxm wrote:What do you think?
I think at the moment you use many [l i s t][/l i s t] tags in your post looks good :-)
by D.J.Peters
Aug 31, 2019 0:10
Forum: Libraries
Topic: libOpenB3D Win32/64 Linux32/64
Replies: 8
Views: 1438

Re: libOpenB3D Win32/64 Linux32/64

All fixed and added some error check's for all loading stuff in the *.bas files !

Joshy

Code: Select all

var craft = LoadMesh("fighter.3ds")
if craft = 0 then
  windowtitle "fatal error: loading 'fighter.3ds'"
  beep:sleep:end 1
end if

Go to advanced search