Search found 2036 matches

by badidea
Jul 06, 2020 23:20
Forum: General
Topic: GPX file processing
Replies: 1
Views: 166

Re: GPX file processing

First step done: Reading a gpx-file into memory with libxml. #Include Once "libxml/xmlreader.bi" #Define NULL 0 Type trkpt_type Dim As Double lat, lon 'latitude and longitude Dim As Double dateTime 'UTC Dim As Double ele 'elevation 'dim as double ext_dir, ext_g_spd, ext_h_acc, ext_v_acc En...
by badidea
Jul 05, 2020 16:35
Forum: Community Discussion
Topic: Problems with downloading from Sourceforge
Replies: 5
Views: 272

Re: Problems with downloading from Sourceforge

No problems with the downloads here, but Sourceforge does seem slower then usual. I don't like the site, but it is free, so guess we will have to live give the nonsense stuff like: "Thank you for downloading FreeBASIC Compiler", "Spread the Word: (twitter), (facebook), (linkedin)"...
by badidea
Jul 04, 2020 22:34
Forum: Community Discussion
Topic: Getting old
Replies: 37
Views: 1011

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: 37
Views: 1011

Re: Getting old

The cat-reference is to the posted image in this topic: viewtopic.php?f=3&t=28409&hilit=nesting&start=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: 37
Views: 1011

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: 37
Views: 1011

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: 37
Views: 1011

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: 37
Views: 1011

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: Tips and Tricks
Topic: Smoky Zoom Effect
Replies: 5
Views: 250

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: 240

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: 469

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: 469

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: 469

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: 1
Views: 166

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: 504

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...

Go to advanced search