Search found 2574 matches

by badidea
Jul 04, 2020 22:34
Forum: Community Discussion
Topic: Getting old
Replies: 39
Views: 5535

Re: Getting old

A bit more 'on-topic'; some people believe or have suggested that persons born today might have eternal life ( How Google's Calico aims to fight aging and 'solve death' or Homo Deus: A Brief History of Tomorrow or this (for me) local guy ). I think that they overestimate the human knowledge (and pro...
by badidea
Jul 04, 2020 21:38
Forum: Community Discussion
Topic: Getting old
Replies: 39
Views: 5535

Re: Getting old

The cat-reference is to the posted image in this topic: viewtopic.php?f=3&t=28409&hilit=nesting ... 45#p270736

I go back to coding now. This topic derailed a bit.
by badidea
Jul 04, 2020 21:02
Forum: Community Discussion
Topic: Getting old
Replies: 39
Views: 5535

Re: Getting old

I have no objection to an alien race correcting us but the thought of some deity getting involved made me shudder. How would we know the the difference? Stop eating animals (maybe with the exception on domestic cats and dogs). Etc. So you will continue to eat dogs and cats? For a while, to reduce t...
by badidea
Jul 04, 2020 18:36
Forum: Community Discussion
Topic: Getting old
Replies: 39
Views: 5535

Re: Getting old

What are you on and where can I get some? Thanos with Infinity Gems ? From the movies I understood that those gems are hard to find. Else, with the current numbers, we need to make some very big changes. Kill the system which requires us to consume more every year. E.g. start producing and buying c...
by badidea
Jul 04, 2020 17:52
Forum: Community Discussion
Topic: Getting old
Replies: 39
Views: 5535

Re: Getting old

...The damage to the earth was done out of ignorance, we know better now but it is no excuse, and we must pay the penalty. We can reduce the penalty with good behaviour. Getting people to stop behaving badly is proving difficult. I supposed that most people would know that dropping litter is bad......
by badidea
Jul 04, 2020 11:37
Forum: Community Discussion
Topic: Getting old
Replies: 39
Views: 5535

Re: Getting old

I feel that there is a intrinsic complexity to random numbers. If that is true then perhaps random numbers are never really random? Because there is always some underlying generator, at the very least, the possible deterministic physics of our universe. If you know the full state of the universe, l...
by badidea
Jul 02, 2020 17:10
Forum: Sources, Examples, Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 1179

Re: Smoky Zoom Effect

Here the demo crashes (or freezes with -exx) on 64-bit fbc 1.07.1 on Ubuntu. I don't see the reason yet. 32-bit compile works fine.
by badidea
Jul 02, 2020 16:57
Forum: Beginners
Topic: print using questions
Replies: 3
Views: 955

Re: print using questions

How print 208 585 224 782 As 208.5E9 need E9 (gigapaskal) This print using "Modul_U= ###.# ^"; Modul_U printing parasite "%" befor #include "string.bi" function formatE9(byval number as double) as string number /= 1e9 return format(number, "0.0") & "...
by badidea
Jul 01, 2020 21:47
Forum: Community Discussion
Topic: Windows 10 May 2020 Update
Replies: 16
Views: 2354

Re: Windows 10 May 2020 Update

@badidea You made some good points there. BTW, it also applies to other things like phones, cars, etc. People want smart light switches. And then the lights get hacked. And the light switch software gets security updates... I prefer to flip a mechanical switch. The question is: Do people really wan...
by badidea
Jul 01, 2020 21:27
Forum: Community Discussion
Topic: Windows 10 May 2020 Update
Replies: 16
Views: 2354

Re: Windows 10 May 2020 Update

I don't think that Windows 10 has had one feature added since its launch nearly five years ago that I could not easily live without. However, the security updates are a different kettle of fish. Malware has grown exponentially in the last few years, showing no signs of slowing down, and Microsoft m...
by badidea
Jul 01, 2020 17:09
Forum: Community Discussion
Topic: Windows 10 May 2020 Update
Replies: 16
Views: 2354

Re: Windows 10 May 2020 Update

Maybe operating systems are just completed? Nothing left to improve? The programmers can only change stuff in a way that the average user thinks that it is new and thus better? Like shampoo? Just label is as new with improved formula a few times a year and change the look and shape of the bottle. I ...
by badidea
Jun 28, 2020 22:53
Forum: General
Topic: GPX file processing
Replies: 9
Views: 1744

GPX file processing

Has anyone some experience in working with GPX files in Freebasic? Maybe some code to share? The only related topic I see is this one from 2007 for reading the files: libxml usage . Things I want to do: - Read / write the files - Convert latitude & longitude to flat 2D position space - Display t...
by badidea
Jun 28, 2020 22:06
Forum: General
Topic: How would you find the shortest distance in a set of points?
Replies: 23
Views: 2701

Re: How would you find the shortest distance in a set of points?

edit: Hum, yes there is something weird, missing a loop or something in the above example. Every couple of points should be tested, not only adjacent ones in index order of course. Yes, that is weird, why? I would expect a nested for loop. And be careful not to test each pair twice and don't test a...
by badidea
Jun 28, 2020 17:37
Forum: Beginners
Topic: help using fbsound-1.1 for playing multiple wav files
Replies: 8
Views: 1458

Re: help using fbsound-1.1 for playing multiple wav files

... fbs_Play_Wave(hWave , t) sleep fbs_Destroy_Wave(@hWave) ... This seems dangerous to me. I assume the destroy deallocates memory linked to hWave. What happens if you do this while the 'wave' is still playing? For a 'hSound', I once made this function: function my_fbs_Sound_playing(hSound as inte...
by badidea
Jun 27, 2020 13:47
Forum: Linux
Topic: What is a good IDE for Freebasic on Linux?
Replies: 8
Views: 4564

Re: What is a good IDE for Freebasic on Linux?

For the 'Geany quick run' issue, I have one 'test.bas' file on the Desktop. I open that one paste the code into it and run. Sometimes however 'test.bas' contains something useful that I don't want to lose, and things become a bit more complicated.