Search found 2908 matches

by marcov
Jul 02, 2020 16:28
Forum: Community Discussion
Topic: Getting old
Replies: 13
Views: 212

Re: Getting old

jj2007 wrote:Translation, please!


Allora sei più profondo di me. Per lo più ho ottenuto "Non pugnalare quadri in soffitta" come motto principale.
by marcov
Jul 02, 2020 11:53
Forum: Community Discussion
Topic: Windows 10 May 2020 Update
Replies: 16
Views: 327

Re: Windows 10 May 2020 Update

the need to escape with \\.\ for the -W calls. utf8 support in the terminal is also being worked on. I've never used the \\.\ escapes, where do you need them? Note that windows paths have many kinds of \\ escapes at the beginning of the path. The most wellknown is the unc path (\\server\share), but...
by marcov
Jul 02, 2020 11:47
Forum: Community Discussion
Topic: Getting old
Replies: 13
Views: 212

Re: Getting old

Talking of good-looking chaps I have just finished 'The Picture of Dorian Gary' by Oscar Wilde which I first read fifty years ago. Needless to say I had forgotten most of it. At the end I felt a quip coming on and came up with: "It is imperative that we learn from the sins that we have committ...
by marcov
Jul 01, 2020 18:04
Forum: Community Discussion
Topic: Windows 10 May 2020 Update
Replies: 16
Views: 327

Re: Windows 10 May 2020 Update

Two very important recent features of the last two years: - manifest to switch the default encoding (for -A winapi calls) to UTF8 - manifest to lift the 260 char limit on filenames for the -A calls, and the need to escape with \\.\ for the -W calls. utf8 support in the terminal is also being worked ...
by marcov
Jun 24, 2020 11:54
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2020.06.28)
Replies: 1072
Views: 165216

Re: FreeBasic IDE-poseidonFB(Update 2020.06.13)

Note that the recent Edge update seems to have reset various security settings, and by default now all unsigned binaries are suspect.
by marcov
Jun 22, 2020 19:40
Forum: General
Topic: program crashes after many ide's in development :(
Replies: 11
Views: 347

Re: program crashes after many ide's in development :(

To cleanup up an organically grown codebase, a first step would be to compile it for valgrind (via C backend?) and run it with as much as possible enabled.

Valgrind often halts on all signs of something wrong, and helps distinguishing original causes from later effects of e.g. memory corruption.
by marcov
Jun 19, 2020 8:51
Forum: General
Topic: Duplicates
Replies: 34
Views: 919

Re: Duplicates

I think this kind of files is the reason why people use database systems. No. Database systems are very bad for operations that touch all data, IOW queries must have at least one major condition indexed, and the number of queries must be much larger than the original insertion/preparation/indexing ...
by marcov
Jun 19, 2020 8:36
Forum: General
Topic: Duplicates
Replies: 34
Views: 919

Re: Duplicates

One (serious) question: Is it really faster to make CRC16 hashes of two strings and compare the hashes than directly comparing the strings for equality? If you have n lines in a bucket (all lines of same linesize), you need to compare all n lines to all n-1 other lines. Which means you have (n*(n-1...
by marcov
Jun 18, 2020 20:05
Forum: General
Topic: Duplicates
Replies: 34
Views: 919

Re: Duplicates

Isn't a checksum just a 'low quality' hash? No, it is usually considered to be a hash to detect errors introduced by mis-sampling of bits in hardware, and those are often of the type that bits close to eachother differ. (since caused by the same disruption that causes multiple bits to toggle), so t...
by marcov
Jun 18, 2020 20:00
Forum: General
Topic: Duplicates
Replies: 34
Views: 919

Re: Duplicates

I have a very large text file (near 1 TB) and on each line there is some text with a minimum length of twenty bytes and a maximum length of perhaps thousands of bytes. From this file I want to remove the duplicates entries. How would one approach this in FreeBASIC? (just my first idea, before readi...
by marcov
Jun 05, 2020 10:36
Forum: Community Discussion
Topic: native At&t Assembly emitter
Replies: 17
Views: 581

Re: native At&t Assembly emitter

The world of the barebones is very diverse If i understand you correctly, you want to work and compile on an embedded system or a thin client. But why dont you use a normal workstation/notebook to do that? To test the program you can use than your embedded system. You also could use a VM with the l...
by marcov
Jun 03, 2020 11:26
Forum: General
Topic: File generation and writing, very slow
Replies: 5
Views: 205

Re: File generation and writing, very slow

And never use position arguments if the writes are sequential. Besides the write() that every put does, that adds a lseek.
by marcov
Jun 03, 2020 7:57
Forum: Community Discussion
Topic: List of FreeBASIC GUI libraries/frameworks
Replies: 10
Views: 739

Re: List of FreeBASIC GUI libraries/frameworks

Freepascal (and Lazarus) uses register; calling convention by default, not cdecl, but the GO guys could have hacked their copy of course.
by marcov
Jun 03, 2020 7:55
Forum: Community Discussion
Topic: native At&t Assembly emitter
Replies: 17
Views: 581

Re: native At&t Assembly emitter

Julcar wrote:
[*] I work on embeded systems, with no more than 128mb of RAM, 4GB of Hard disk, and 1 cpu core of 1ghz


(that's not an embedded system but a 1998 workstation)
by marcov
Jun 02, 2020 12:00
Forum: Community Discussion
Topic: GW-BASIC is open source now
Replies: 22
Views: 1092

Re: GW-BASIC is open source now

Yeah today folks use javascript frameworks to crank out apps for phones and tablets and also desktops. Things like Electron have become the modern equivalent of VB6. Everyone shudders a bit at the thought of writing all the logic in javascript and shipping the complete Chrome OS--I mean browser-- w...

Go to advanced search