Search found 2709 matches

by marcov
May 11, 2019 12:06
Forum: General
Topic: Problem writing 8GB array to disk
Replies: 25
Views: 995

Re: Problem writing 8GB array to disk

Afaik windows API has such limits, the common win32/64 write-block-to-file writefile also has "dword" as argument, iow 32-bit. Under *nix, the core write routine is write(2) , and that has a size_t as argument, which is implementation defined, 64-bit on Linux/64. Of course the FreeBasic wr...
by marcov
May 08, 2019 9:07
Forum: Hardware Interfaces / Communication
Topic: A "new" vintage Oscilloscope on my workbench :-)
Replies: 2
Views: 1750

Re: A "new" vintage Oscilloscope on my workbench :-)

The value is partially how much memory they have. Some of the older scopes have very little memory, but some slightly later ones have quite some. A customer had a Yokogawa scope, which hadn't been replaced because it was very expensive, fairly high speed and modular (16 channels, upgradable to 32 ii...
by marcov
May 06, 2019 7:50
Forum: Beginners
Topic: Automatic conversion WSTRING to (Z)STRING
Replies: 10
Views: 648

Re: Automatic conversion WSTRING to (Z)STRING

As seen above len(String) contains 8 (UByte) while len(WString) contains 5 (UShort?), which indicates, that *..IX* systems use UTF-8 (as standard) which is a very different Note that it depends on distro, so it is not 100%. Be careful with embedded or old distros (like e.g. the linux on your NAS if...
by marcov
May 02, 2019 8:49
Forum: Community Discussion
Topic: Please help me translate this Python code fragment to implement Steam Achievements
Replies: 21
Views: 1228

Re: Please help me translate this Python code fragment to implement Steam Achievements

It might be something like a property, which is not exported in a dll because it only refers other functions, typically getters and setters . One might be:

SteamAPI_ISteamClient_GetISteamUserStats
by marcov
May 01, 2019 14:34
Forum: Game Dev
Topic: Help on an Infinite Tile Engine
Replies: 14
Views: 874

Re: Help on an Infinite Tile Engine

Hi, a real infinite world will be difficult. There is not enough storage space in the universe for that :-) Not sure, it could grow from a procedural seed. I mean like a fractal for example. In any case, once sufficently grown (far before infinity), no player would be able to visit every places wit...
by marcov
Apr 30, 2019 19:56
Forum: General
Topic: Floats vs Integers
Replies: 3
Views: 387

Re: Floats vs Integers

Well, the fastest is always the smallest. You can calculate 32 bytes at once using the not so uncommon AVX2. If you have not too large elements, and good simd code, usually memory movement, and not instruction count is the bottle neck, unless your calculation is very complex. In the GPU world, many ...
by marcov
Apr 30, 2019 17:07
Forum: Windows
Topic: GUI tool kit
Replies: 23
Views: 2080

Re: GUI tool kit

I can answer for my point of view, other participants of the project may have other points of view. I will answer as I understand the questions. Note it was more meant as a checklist for yourself, not as a interrogation :-) But since you made the effort, I'll answer them. - Will you provide levels ...
by marcov
Apr 30, 2019 8:57
Forum: Windows
Topic: GUI tool kit
Replies: 23
Views: 2080

Re: GUI tool kit

This is from the mistral IDE thread, slightly updated to post it out of context, about the differences of just starting an IDE, and having a more framework based approach. ... before the IDE and designer is how you are going to organize the base of things: - what will your base/root object? - What w...
by marcov
Apr 26, 2019 8:26
Forum: Community Discussion
Topic: Are you happy with your office's lightings?
Replies: 20
Views: 1304

Re: Are you happy with your office's lightings?

Linuxbob sounds like a person who would not tolerate windows in any shape or form. Who works in the terminal gloom with a bare flickering light bulb hanging by a yellowish cable, and a moth circling around. With a 500 page shell scripting book form 1980 as a monitor stand :-) I don't know why you a...
by marcov
Apr 25, 2019 19:10
Forum: Community Discussion
Topic: Are you happy with your office's lightings?
Replies: 20
Views: 1304

Re: Are you happy with your office's lighting?

For monitors, yes. For TVs it is called Phillips Ambilight. See e.g. https://en.wikipedia.org/wiki/Bias_lighting Thanks. That's a very nice stuff, I didn't know about that. What is still surprising to me is that professional designers may work facing a wall. It is recommended by medicine to have so...
by marcov
Apr 24, 2019 18:22
Forum: Community Discussion
Topic: Are you happy with your office's lightings?
Replies: 20
Views: 1304

Re: Are you happy with your office's lighting?

Anyway I didn't mean exactly this here above. I was meaning dynamic external system of lightings. I heard about that without having anyone witnessing this in my friend circle around. Seems a still rare feature I guess? For monitors, yes. For TVs it is called Phillips Ambilight. See e.g. https://en....
by marcov
Apr 15, 2019 12:22
Forum: General
Topic: Speed issue with string concatenation and a solution
Replies: 14
Views: 769

Re: Speed issue with string concatenation and a solution

Stringbuilders typically do the first default, and the second if you set a capacity. Or they avoid both to simply not wrap a single block allocation, but a linked list of say <n>MB blocks that you can then write to a socket one by one. That is basically what an array does. In fact, there is rarely ...
by marcov
Apr 15, 2019 8:32
Forum: DOS
Topic: FreeDOS flashdrive experiment
Replies: 1
Views: 586

Re: FreeDOS flashdrive experiment

Afaik most UEFI systems come with "secure boot" enabled that doesn't allow them to boot unsigned files. This to kill such external bootdisks as virus source. (Note: I don't say I agree with that, but that is the justification). In most systems you can turn this off in the UEFI firmware, an...

Go to advanced search