Anthony Thyssen

Results 45 comments of Anthony Thyssen

I am also seeing the 'reconnect' issue with code-server v4.0.2 -- which is the latest release available at this time (18 Feb 2022) I do hope a new release is...

I have install v4.2.0 in testing. Looks like the reconnect issue has been resolved as I am not seeing them any more. I will now look at update the images...

Greetings... I found `earlyoom` running on my latest fedora (v33) and wondered what it was. So I looked at the man page... It starts with the phrase... ```The oom-killer generally...

It would be nice if trash-list lists which trash it comes from too!

The normal practice is to read the file with a read limit based on the initial buffer size (commonly 4kb, something like or getpagesize(), to start with). If EOF is...

This code (after adding commented changes) seems to do what you want, and does it in large blocks. It uses a structure of a single buffer and file length, but...

Alternative -- auto-allocate and read the while file stream, using getdelim() with a null char as terminator. It is basically the same as getline() but can be used to slurp...

You miss understand. I don't use TinyXML2 directly. I use an application that switched to using it. For years I passed a named pipe to the application (but it could...

Look man page for getdelim() with a NULL delimiter (see above) it will do all the allocation work for you

**@leethomason** wrote:The allocation isn't the issue, or the delimiter. It's knowing how much to read. **@ajtruckle** wrote: pass in a file length You miss understand... You don't need to know...