On Sunday, 24 October 2021 at 14:14:08 UTC, Imperatorn wrote:
Create an issue and we can solve it
Thanks. I opened an issue.
https://issues.dlang.org/show_bug.cgi?id=22436
On Friday, 15 October 2021 at 20:41:36 UTC, Selim Ozel wrote:
I am simply trying to unzip a compressed zip file slightly over
1GB. The de-compressed size is about 4 GB.
The code is very similar to what's explained in the
documentation [1] and it works for smaller files.
Anyone has a
Did you try the MmFile workaround?
I did. I also pinpointed the problem, I use x86_mscoff to run dub
and it's specific to that architecture selection. It's related to
MapViewOfFileEx [1].
I still haven't found a way around it though.
[1]
I am simply trying to unzip a compressed zip file slightly over
1GB. The de-compressed size is about 4 GB.
The code is very similar to what's explained in the documentation
[1] and it works for smaller files.
Anyone has a solution? Memory mapping [2] previously solved some
part of my issue
On Monday, 4 January 2021 at 17:17:10 UTC, Steven Schveighoffer
wrote:
On 1/2/21 12:52 PM, Selim Ozel wrote:
After logging into to 127.0.0.1 for a single time in my
browser, if I do a ctrl+c it still leaks two socket handles.
With connection Windows 10:
Running .\vibe_noleaks.exe
On Sunday, 3 January 2021 at 23:53:54 UTC, aberba wrote:
On Friday, 1 January 2021 at 22:07:28 UTC, Selim Ozel wrote:
I created the simplest possible example as explained by the
Vibe-D community in [1]. The exact source code of what I run
is in [2].
On Windows I get a socket handle leak
On Friday, 1 January 2021 at 22:07:28 UTC, Selim Ozel wrote:
I created the simplest possible example as explained by the
Vibe-D community in [1]. The exact source code of what I run is
in [2].
On Windows I get a socket handle leak warning on shutdown with
crtl+c from terminal after running
On Saturday, 2 January 2021 at 00:28:43 UTC, Steven Schveighoffer
wrote:
On 1/1/21 5:07 PM, Selim Ozel wrote:
I created the simplest possible example as explained by the
Vibe-D community in [1]. The exact source code of what I run
is in [2].
On Windows I get a socket handle leak warning on
I created the simplest possible example as explained by the
Vibe-D community in [1]. The exact source code of what I run is
in [2].
On Windows I get a socket handle leak warning on shutdown with
crtl+c from terminal after running the executable.
[main() INF] Listening for requests on
On Monday, 7 December 2020 at 20:34:36 UTC, Selim Ozel wrote:
Let's say I build my package using dub run from an Ubuntu
terminal. How can I add sudo as the executable is being run? I
tried adding preRunCommands to my dub.sdl as described in [1]
but that just runs sudo and terminal throws an
Let's say I build my package using dub run from an Ubuntu
terminal. How can I add sudo as the executable is being run? I
tried adding preRunCommands to my dub.sdl as described in [1] but
that just runs sudo and terminal throws an error.
Best,
Selim
[1] https://dub.pm/package-format-sdl
On Friday, 6 November 2020 at 19:35:47 UTC, H. S. Teoh wrote:
You can use the typeof() operator to capture the type of a
long, unwieldy type in an alias. This is useful if you ever
need to store such a return type somewhere, e.g.:
alias T = typeof(csvReader(...));
struct
On Thursday, 5 November 2020 at 22:36:36 UTC, Anonymouse wrote:
If I'm not mistaken the `csvReader` function returns a range
struct, and the full type is something long and unwieldy like
`CsvReader!(struct_type1, cast(Malformed)1, string, dchar,
string[])`. So just think of `records` as being
Hi There,
I am trying to switch between two structs as I am using the
csvReader on a raw string. The pseudo-code below throws a "cannot
implicitly convert" error due to difference between struct_type1
and struct_type2. I must be doing something wrong or have a wrong
understanding of how this
On Friday, 11 September 2020 at 13:03:16 UTC, James Blachly wrote:
On 9/11/20 7:28 AM, Daniel Kozak wrote:
void fun(HTTPServerRequest req, HTTPServerResponse res) nothrow
{
try
{
res.headers["Content-Disposition"] = "filename=\"muj.csv\"";
res.writeBody("some;csv;data", "text/csv");
}
catch
It seems like rejected-software forum is flooded with spam, so I
decided to ask it here. Is there a way to generate a file -csv
for example- on the back-end and serve it to the front-end as a
file.
Serve static file [1] function does this for files saved on the
disk. I want to be able to
16 matches
Mail list logo