Somebody took thisDo you expect anyone to take this seriously?

Anything is possible.
As it happens Devanagari is already present in Unicode... all we need is to move it into the 8 bit code space for efficiency then deprecate the rest of it.
Somebody took thisDo you expect anyone to take this seriously?
Damn mathematicians, always fussing over irrelevant details. Infinite, 4GB, meh close enoughEven with 4GB, the memory in the new Raspberry Pi is far from infinite.
True enough.One thing clear from the Fibonacci challenge is that the runtime changes each time a program executes.
Who was it that once said no one would ever need more than 64K?
My understanding is that computer programmers don't need memory any more than a drug addict needs drugs. Providing more in either case only makes the existing problems worse.
A good example of using associative arrays in ScriptBasic is caching QuickBooks support table ListID cross references. 5 to 10 X speed improvement by not having to do the queries.For example, implementing associative arrays as linked lists works perfectly well in 16K but falls apart in an insane sort of way when megabytes are used to categorise anagrams. Similarly, web browsing would be much simpler if no computer had more than 64K.
Well... there is one little problem I have been meaning to toy with for a long time. Which does have real world applicability. It's the problem of rapidly finding all the objects in a two dimensional space that are some distance away from a given point. Think geolocation for example.I would like to see challenges that result in some useful code. Absurd is getting old.
A couple years ago I worked with a student to develop a fast algorithm to do essentially that, except in 3D and instead of the closest point out of N points to one location there were also N locations. This was used to find differences in point-cloud data collected using 3D scans. The slow algorithm is O(n^2) whereas we managed O(n log^2 n).Heater wrote: ↑Sun Oct 20, 2019 11:54 pmJohn_Spikowski,Well... there is one little problem I have been meaning to toy with for a long time. Which does have real world applicability. It's the problem of rapidly finding all the objects in a two dimensional space that are some distance away from a given point. Think geolocation for example.I would like to see challenges that result in some useful code. Absurd is getting old.
Let me frame it like this:
1) Space will be represented by a square grid of 4194304 points in two dimensions. That's 2048 points in each direction. 0 to 2047 in x, 0 to 2047 in y.
2) One 16th of the grid points will be occupied by objects. That's 262144 objects. The objects positions are distributed randomly among the available grid points. No more than one in each position. The objects have no size, they are "point like".
3) A "target" point is selected at random.
The problem is to find all the objects within some distance of the target (Distance TBD). As quickly as possible.
Sound interesting? Up for the challenge?
Usual rules would apply: One language only used. No use of libraries that are not a standard part of the language spec. Open source only. Must run on a Raspberry Pi...
For the purposes of the challenge the objects only have position (x, y). With the range specified.Will objects have properties?
Memory in C++ is a leaky abstraction.
These days the Linux kernel is written in C and C is written in the C++ programming language. Maybe someday C++ will be written in Python or maybe Basic.
How about
I was reserving grade E for the programs I write, but experimental works just as well.
What is the accuracy of a piece of spaghetti as a measuring tool?