On Saturday, 28 May 2022 at 05:44:11 UTC, tchaloupka wrote:
On Friday, 27 May 2022 at 20:51:14 UTC, zoujiaqing wrote:
It means two separate syscalls for header and body. This alone
have huge impact on the performance and if it can be avoided,
it would be much better.
sendv/writev also can
On Saturday, 14 May 2022 at 08:42:46 UTC, Anonymouse wrote:
Before I go on duplicating effort, does anyone have anything
that can access FTP beyond PUT and GET?
I need to read file information from a NAS so I know if I
should upload a file or not. `dlang-requests` has
`Request.post` and
On Saturday, 14 May 2022 at 08:42:46 UTC, Anonymouse wrote:
Before I go on duplicating effort, does anyone have anything
that can access FTP beyond PUT and GET?
I need to read file information from a NAS so I know if I
should upload a file or not. `dlang-requests` has
`Request.post` and
On Saturday, 14 May 2022 at 10:17:14 UTC, ikod wrote:
On Saturday, 14 May 2022 at 08:42:46 UTC, Anonymouse wrote:
Before I go on duplicating effort, does anyone have anything
that can access FTP beyond PUT and GET?
I need to read file information from a NAS so I know if I
should upload a
On Saturday, 14 May 2022 at 08:42:46 UTC, Anonymouse wrote:
Before I go on duplicating effort, does anyone have anything
that can access FTP beyond PUT and GET?
I need to read file information from a NAS so I know if I
should upload a file or not. `dlang-requests` has
`Request.post` and
On Wednesday, 11 May 2022 at 19:15:36 UTC, Steven Schveighoffer
wrote:
* add some methods returning a copy of the value instead of a
pointer to value
I return a reference to the value (via `opIndex`). Can you
elaborate on why you would need it to be a copy? What is your
API?
-Steve
On Wednesday, 11 May 2022 at 15:31:02 UTC, Steven Schveighoffer
wrote:
I just spent a couple hours making a library AA solution that
is binary compatible with druntime's builtin AA.
The benefits:
For the future:
1. Implement all the things that AAs can do (which are
possible, some are not).
On Wednesday, 16 February 2022 at 10:31:38 UTC, Siarhei Siamashka
wrote:
On Friday, 11 February 2022 at 19:04:41 UTC, Sergey wrote:
Is this an attempt to implement a high performance solution
for the Benchmarks Game's LRU problem in D language?
Yes. There is no D version there. And I'm just
On Monday, 29 November 2021 at 01:49:37 UTC, Kyle Ingraham wrote:
On Sunday, 28 November 2021 at 07:27:35 UTC, ikod wrote:
On Sunday, 28 November 2021 at 01:06:45 UTC, Kyle Ingraham
wrote:
On Saturday, 27 November 2021 at 22:18:48 UTC, ikod wrote:
Hi Kyle!
I found
On Sunday, 28 November 2021 at 01:06:45 UTC, Kyle Ingraham wrote:
On Saturday, 27 November 2021 at 22:18:48 UTC, ikod wrote:
On Saturday, 27 November 2021 at 20:31:16 UTC, Kyle Ingraham
Hi Kyle,
```
object.Exception@C:\Users\Kyle
On Saturday, 27 November 2021 at 20:31:16 UTC, Kyle Ingraham
wrote:
On Saturday, 27 November 2021 at 19:21:28 UTC, frame wrote:
On Saturday, 27 November 2021 at 17:41:55 UTC, Kyle Ingraham
wrote:
I was afraid of that. Thank you for clarifying. I’ve tried
other clients but they all seem to
Hello,
This is buffer management library. I created it for my networking
daemons and recently it was used in Nats client
(https://code.dlang.org/packages/nats), and maybe it can be
useful for others, so I added small tutorial.
The main features are: nogc, safety, zero copy (actually
On Thursday, 1 April 2021 at 22:35:01 UTC, tsbockman wrote:
Suppose I have a templated struct member function for which I
can compute at compile-time when the function is memory safe,
and when it is not. But, the compiler cannot correctly
determine this automatically.
Compiler should be able
On Thursday, 29 October 2020 at 16:22:50 UTC, Anonymouse wrote:
On Thursday, 29 October 2020 at 06:42:54 UTC, ikod wrote:
Hi,
requests 2.0.0 released with single change - support for
vibe-d moved to separate subpackage.
Thanks for all your hard work! This was an annoying point and
I'm
On Wednesday, 28 October 2020 at 21:56:46 UTC, Anonymouse wrote:
On Wednesday, 28 October 2020 at 19:34:43 UTC, ikod wrote:
To make this transition as painless as possible I'll create
new package with major version "2" if you confirm that
everything works as expected.
...
No vibe-d
Hi,
requests 2.0.0 released with single change - support for vibe-d
moved to separate subpackage.
The goal of this update is to prevent dub from downloading vibe-d
packages for optional subConfiguration.
Important in case you use requests with vibe-d: starting from
this release instead of
On Tuesday, 27 October 2020 at 22:15:34 UTC, Anonymouse wrote:
On Tuesday, 27 October 2020 at 21:15:35 UTC, ikod wrote:
On Tuesday, 27 October 2020 at 17:01:23 UTC, Anonymouse wrote:
On Sunday, 4 October 2020 at 21:00:49 UTC, ikod wrote:
Thanks, Andre!
I'll split requests as you suggested
On Tuesday, 27 October 2020 at 17:01:23 UTC, Anonymouse wrote:
On Sunday, 4 October 2020 at 21:00:49 UTC, ikod wrote:
Thanks, Andre!
I'll split requests as you suggested (increasing minor
version, so that this change will not hurt anybody who build
current requests package for vibe-d).
Will
On Sunday, 25 October 2020 at 06:05:27 UTC, Vino wrote:
Hi All,
Currently we are testing various json module such as
"std.json, std_data_json, vibe.data.json and asdf", the below
code works perfectely while use "std_data_json or
vibe.data.json" but not working as expected when we use
On Friday, 9 October 2020 at 01:45:37 UTC, Vino wrote:
On Friday, 2 October 2020 at 23:20:48 UTC, Imperatorn wrote:
On Friday, 2 October 2020 at 21:12:09 UTC, Vino wrote:
Hi All,
...
auto content = https.perform();
https.shutdown;
JSONValue jv = parseJSONValue(content);
Maybe
JSONValue jv
On Tuesday, 6 October 2020 at 18:24:14 UTC, Alaindevos wrote:
There are two subtractions possible.
A machine-one which can be architecture dependent, does not
have the same results on all computers, and behaves like a
modulus in mathematics.
A logical one. For the last one higher classes
On Sunday, 4 October 2020 at 20:08:31 UTC, Andre Pany wrote:
On Sunday, 4 October 2020 at 14:08:24 UTC, Anonymouse wrote:
At the moment the only chance to avoid these additional
dependencies would be to split requests into 2 dub packages.
The core package which uses std, and an additional
On Sunday, 4 October 2020 at 14:08:24 UTC, Anonymouse wrote:
My project depends on the requests dub package, which has two
build configurations; one with an extra vibe-d dependency, one
without (default).
"configurations": [
{
"name": "std"
},
{
On Thursday, 1 October 2020 at 03:10:32 UTC, ikod wrote:
On Thursday, 1 October 2020 at 00:35:49 UTC, Arun wrote:
I have a REST client that can do load test of my REST
void main()
{
auto urls = ["http://httpbin.org/;,
"http://httpbin.org/image;];
foreach(url; urls)
{
On Thursday, 1 October 2020 at 00:35:49 UTC, Arun wrote:
I have a REST client that can do load test of my REST services.
It uses ikod's dlang-requests under the hood.
https://github.com/ikod/dlang-requests
At the moment I use a thread pool to dispatch the runtime
operation and send the
Hello,
Sorry if I unintentionally hurt anybody in this thread.
I'll try to implement sane and correct iteration behavior for AA
without noticeable performance loss, and propose it if I succeed.
Igor
On Monday, 28 September 2020 at 19:18:20 UTC, H. S. Teoh wrote:
On Mon, Sep 28, 2020 at 05:18:41PM +, ikod via
Digitalmars-d-learn wrote:
On Monday, 28 September 2020 at 14:58:15 UTC, Steven
Schveighoffer wrote:
[...]
> One could write a specific function to iterate and remove
On Monday, 28 September 2020 at 14:58:15 UTC, Steven
Schveighoffer wrote:
On 9/27/20 4:43 PM, Per Nordlöw wrote:
On Sunday, 27 September 2020 at 14:23:11 UTC, H. S. Teoh wrote:
No. Modifying a container while iterating over it is, in
general, a bad idea (unless the container is designed to be
On Monday, 28 September 2020 at 10:10:10 UTC, Per Nordlöw wrote:
On Monday, 28 September 2020 at 10:01:23 UTC, ikod wrote:
Is it specific to some types? What if collection supports
stable "foreach"?
Yes it depends on how collection members (such as insert, find,
replace, erase, etc) are
On Monday, 28 September 2020 at 09:41:02 UTC, Per Nordlöw wrote:
On Monday, 28 September 2020 at 07:15:27 UTC, Imperatorn wrote:
Yes, this should be a compile-time error
Spec here:
https://dlang.org/spec/statement.html#foreach_restrictions
Is it specific to some types? What if collection
On Sunday, 27 September 2020 at 14:23:11 UTC, H. S. Teoh wrote:
On Sun, Sep 27, 2020 at 01:02:04PM +, Per Nordlöw via
Digitalmars-d-learn wrote:
Is it safe to remove AA-elements from an `aa` I'm iterating
over via aa.byKeyValue?
No. Modifying a container while iterating over it is, in
On Sunday, 27 September 2020 at 10:08:24 UTC, tchaloupka wrote:
Hi all, I've just pushed the updated results.
* new RAW tests in C to utilize epoll and io_uring (using
liburing) event loops - so we have some ground base we can
I'll probably add wrk[3] load generator too to see a
On Sunday, 20 September 2020 at 20:03:27 UTC, tchaloupka wrote:
Hi,
as it pops up now and then (last one in
https://forum.dlang.org/thread/qttjlgxjmrzzuflrj...@forum.dlang.org) I wanted to see the various D libraries performance against each other too and ended up with
On Saturday, 19 September 2020 at 18:56:20 UTC, Steven
Schveighoffer wrote:
On 9/19/20 7:15 AM, ikod wrote:
On Saturday, 19 September 2020 at 11:11:21 UTC, ikod wrote:
On Friday, 18 September 2020 at 13:13:16 UTC, wjoe wrote:
My preferable way to handle such thing is: convert incoming
data
On Saturday, 19 September 2020 at 11:11:21 UTC, ikod wrote:
On Friday, 18 September 2020 at 13:13:16 UTC, wjoe wrote:
On Friday, 18 September 2020 at 12:58:29 UTC, Steven
Schveighoffer wrote:
On 9/18/20 8:39 AM, Steven Schveighoffer wrote:
But again, solved with an enhancement that allows you
On Friday, 18 September 2020 at 13:13:16 UTC, wjoe wrote:
On Friday, 18 September 2020 at 12:58:29 UTC, Steven
Schveighoffer wrote:
On 9/18/20 8:39 AM, Steven Schveighoffer wrote:
But again, solved with an enhancement that allows you to
process the data in your code. I'll file the enhancement
On Friday, 18 September 2020 at 10:43:47 UTC, Andrey Zherikov
wrote:
I have this code:
==
class S
...
auto create()
{
writeln("-> ",__PRETTY_FUNCTION__);
scope(exit) writeln("<- ",__PRETTY_FUNCTION__);
return scoped!S(1);
}
If you replace this line with "return new
On Tuesday, 25 August 2020 at 01:04:27 UTC, James Blachly wrote:
On 8/24/20 5:11 PM, ikod wrote:
Thanks, but no )
Also you may find useful safe map modification during
iteration over map items (at the cost of creating temporary
table copy).
In search of absolute speed I am willing to
On Monday, 24 August 2020 at 20:31:42 UTC, James Blachly wrote:
On Monday, 24 August 2020 at 05:51:59 UTC, ikod wrote:
On Monday, 24 August 2020 at 01:39:26 UTC, James Blachly wrote:
OH, I almost forgot the best part. It is crazy fast.
On Monday, 24 August 2020 at 01:39:26 UTC, James Blachly wrote:
OH, I almost forgot the best part. It is crazy fast.
https://attractivechaos.wordpress.com/2018/01/13/revisiting-hash-table-performance/
https://attractivechaos.wordpress.com/2019/12/28/deletion-from-hash-tables-without-tombstones/
On Sunday, 5 July 2020 at 21:06:32 UTC, Per Nordlöw wrote:
Is there a way to construct a custom written hash-table
container (struct) from an AA-literal expression?
can opAssign help?
struct AA(K,V)
{
void opAssign(V[K] aa)
{
}
}
void main()
{
AA!(string, int) custom_aa;
On Friday, 26 June 2020 at 11:41:27 UTC, Jacob Carlborg wrote:
On Friday, 26 June 2020 at 11:10:27 UTC, ikod wrote:
[...]
Oh, it's that bad. That's disappointing.
[...]
I'm using a script (written in D) in my tool, DStep [1][2], to
identify which versions of libclang is available and to
On Friday, 26 June 2020 at 10:12:09 UTC, Jacob Carlborg wrote:
Downloading files over TLS. This seems that it's something that
should be quite simple to do. My high level goals are
cross-platform and easy distribution. I don't need anything
fancy just a simple API like this:
On Saturday, 6 June 2020 at 20:31:36 UTC, ikod wrote:
On Saturday, 6 June 2020 at 16:49:29 UTC, JN wrote:
Is it possible to use different class instances as keys for
associative array, but compare them by the contents? I tried
to override opEquals but it doesn't seem to work. Basically I'd
On Saturday, 6 June 2020 at 16:49:29 UTC, JN wrote:
Is it possible to use different class instances as keys for
associative array, but compare them by the contents? I tried to
override opEquals but it doesn't seem to work. Basically I'd
May be wrong, but probably you have to override opEquals
On Friday, 22 May 2020 at 06:10:38 UTC, Atwork wrote:
Is it possible to mix fibers with sockets from phobos?
If so, how would I do it?
Like just a simple example of async sockets using fibers in D.
I will say that I'd prefer to not use any packages ex. vibe.d
Yes you can mix std sockets
On Monday, 18 May 2020 at 07:33:29 UTC, Andre Pany wrote:
On Monday, 18 May 2020 at 06:02:03 UTC, ikod wrote:
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
[...]
Thanks a lot.
Kind regards
André
Just discovered that we can import etc.c.zlib and use low level
zlib directly
On Monday, 18 May 2020 at 05:01:45 UTC, Andre Pany wrote:
Hi,
I have some issues, the get this program working on ubuntu:
``` Dockerfile
FROM ubuntu:focal
RUN apt-get update && apt-get upgrade -y \
&& apt-get install --no-install-recommends -y
build-essential ldc dub zlib1g-dev
COPY
On Tuesday, 12 May 2020 at 09:56:44 UTC, Pavel Shkadzko wrote:
On Sunday, 5 April 2020 at 08:59:50 UTC, ikod wrote:
Hello!
Just a note that dlang-requests ver 1.1.0 released with new
'ByLine' interfaces added for get/post/put requests.
range algorithms can be applied to server responses, so
On Monday, 11 May 2020 at 21:15:28 UTC, Steven Schveighoffer
wrote:
On 5/11/20 3:46 PM, ikod wrote:
On Monday, 11 May 2020 at 17:34:41 UTC, Jacob Carlborg wrote:
On 2020-05-11 16:44, Russel Winder wrote:
Crickey, a third option. This wil increase my dithering! ;-)
Forth: Mecca [1] :)
[1]
On Monday, 11 May 2020 at 17:34:41 UTC, Jacob Carlborg wrote:
On 2020-05-11 16:44, Russel Winder wrote:
Crickey, a third option. This wil increase my dithering! ;-)
Forth: Mecca [1] :)
[1] https://github.com/weka-io/mecca
And probably more. At least I also have my async library for
On Sunday, 5 April 2020 at 16:25:52 UTC, Anonymouse wrote:
On Sunday, 5 April 2020 at 08:59:50 UTC, ikod wrote:
Hello!
Just a note that dlang-requests ver 1.1.0 released with new
'ByLine' interfaces added for get/post/put requests.
[...]
As always, thanks for your hard work! I don't use
On Sunday, 5 April 2020 at 11:53:29 UTC, Petar Kirov [ZombineDev]
wrote:
On Sunday, 5 April 2020 at 08:59:50 UTC, ikod wrote:
Hello!
Just a note that dlang-requests ver 1.1.0 released with new
'ByLine' interfaces added for get/post/put requests.
range algorithms can be applied to server
Hello!
Just a note that dlang-requests ver 1.1.0 released with new
'ByLine' interfaces added for get/post/put requests.
range algorithms can be applied to server responses, so that
simple chain
getContentByLine("https://httpbin.org/anything;)
.map!"cast(string)a"
.filter!(a =>
On Saturday, 15 February 2020 at 20:38:51 UTC, Anonymouse wrote:
On Saturday, 15 February 2020 at 16:25:42 UTC, Gregor Mückl
When testing to confirm I ran into a bug[2] where the body is
sometimes empty, but outside of fringe cases it should work.
[1]:
On Tuesday, 3 December 2019 at 13:43:26 UTC, Jan Hönig wrote:
It seems i don't google the right keywords.
What i want to do: I have two sets. (I didn't find how to do
sets, so i have two associative boolean arrays
`bool[]`). And i want to join them, via an
intersection.
I know how to code
On Monday, 18 November 2019 at 00:20:12 UTC, Steven Schveighoffer
wrote:
I'm fighting some out of memory problems using DMD and some
super-template heavy code.
I have ideas on how to improve the situation, but it involves
redesigning a large portion of the design. I want to do it
On Sunday, 10 November 2019 at 01:28:13 UTC, cartland wrote:
On Saturday, 9 November 2019 at 01:02:57 UTC, cartland wrote:
On Saturday, 9 November 2019 at 00:53:13 UTC, cartland wrote:
On Friday, 8 November 2019 at 17:01:07 UTC, ikod wrote:
*snip*
Even this does it.
import requests;
void
On Friday, 8 November 2019 at 03:29:41 UTC, cartland wrote:
First time D use :)
After dub init, I used the example from
https://code.dlang.org/packages/requests and ran "dub add
requests"
[...]
If you still stuck with this problem, you can post new issue on
github project page, I'll try
On Tuesday, 13 August 2019 at 17:18:23 UTC, ag0aep6g wrote:
On 13.08.19 11:34, ikod wrote:
What is it?
cachetools - package with @safe and @nogc cache and containers
implementations.
[...]
Project page: https://github.com/ikod/cachetools
docs: https://ikod.github.io/cachetools/
They don't
On Tuesday, 13 August 2019 at 09:48:52 UTC, Mirjam Akkersdijk
wrote:
Hello there,
If I had a DLL, how would I sort it judging by the node
contents, the D way?
In C if I were to sort a piece of malloc'd memory pointing to
node pointers, I would write my compare function and let qsort
sort it
On Tuesday, 13 August 2019 at 10:12:45 UTC, Martin Tschierschke
wrote:
On Tuesday, 13 August 2019 at 09:34:48 UTC, ikod wrote:
Hello
cachetools version 0.3.1 released
[...]
Looking at your performance numbers, I am wondering should your
work in the end result in a better std AA
Hello
cachetools version 0.3.1 released
Changelog:
"Set" container added (based on hashtable)
Const-ness problems for hashtable fixed.
What is it?
cachetools - package with @safe and @nogc cache and containers
implementations.
It inherits @nogc and @safe property from key toHash and
On Thursday, 25 July 2019 at 16:23:58 UTC, Dejan Lekic wrote:
On Tuesday, 23 July 2019 at 07:57:06 UTC, zoujiaqing wrote:
A Powerfull Redis client library for D Programming Language.
Porting from java Jedis, support redis 3.x / 4.x all features
and 5.x
some features.
Why? There is the
Hello
cachetools version 0.2.1 released
Changelog:
OrderedHashMap added to containers,
copy constructors added to containers
addIfMissed interface added to HashMap's
What is it?
cachetools - package with @safe and @nogc cache and hashtable
implementations.
It inherits nogc propery from
On Wednesday, 17 July 2019 at 10:51:53 UTC, Newbie2019 wrote:
this is very hard to made a minimal example, and the projects
only build with ldc.
There is a struct TcpServer has no destructor, and all method
is @nogc nothrow.
Then just add destructor with @nogc attribute.
Hello,
I didn't find D redis client with configurable transport -
usually either std.socket or vibe-d sockets are available. So I
wrote client library with pluggable transport provider -
currently it supports std.socket, vibe-d sockets and hio (my own
eventloop package) sockets, but can be
On Friday, 17 May 2019 at 08:14:26 UTC, drug wrote:
I understand that there is a habit to guilt Russians and/or
Putin in many problems but let's try to be clever?
At least he leaded Crimea annexion, war against Georgia, current
proxy war on the east of Ukraine. He pretend to defend russians
On Sunday, 21 April 2019 at 21:04:52 UTC, Patrick Schluter wrote:
On Thursday, 18 April 2019 at 12:00:10 UTC, ikod wrote:
On Wednesday, 17 April 2019 at 16:27:02 UTC, Adam D. Ruppe
wrote:
D programs are a vital part of my home computer
infrastructure. I run some 60 D processes at almost any
Hello,
I'l like to try 'hunt' project to solve one of my problems, but I
can't find docs and code samples or tutorials, etc. I even can't
find if hunt (or hunt-framework) can be used for my task.
Please, help!
Here is short descriptions what I need - long running
application, periodically
On Wednesday, 17 April 2019 at 16:27:02 UTC, Adam D. Ruppe wrote:
D programs are a vital part of my home computer infrastructure.
I run some 60 D processes at almost any time and have
recently been running out of memory.
I usually run program under valgrind in this case. Though it will
Hello,
v.0.1.1 released.
Significant changes since previous announce:
Caches:
1. added 2Q cache. 2Q is more advanced strategy than plain LRU.
It is faster, scan-resistant and can give more cache hits.
2. For LRU cache implemented per-item TTL in addition to global
TTL.
Containers:
1.
On Wednesday, 5 December 2018 at 17:12:03 UTC, Anonymouse wrote:
On Wednesday, 5 December 2018 at 16:56:12 UTC, Andre Pany wrote:
The compiler (DMD) is triggered to generate a JSON file
docs.json which contains technical information used by ddox in
a later step. The error message you see is
On Friday, 30 November 2018 at 21:03:06 UTC, Neia Neutuladh wrote:
On Fri, 30 Nov 2018 20:41:03 +, ikod wrote:
I can't find the reason why nogc/nothrow can't be inferred in
this case:
class S(K,V)
{
auto get/*()*/(K a) {
return 0;
}
}
void main() @nogc nothrow {
On Thursday, 15 November 2018 at 21:55:18 UTC, Steven
Schveighoffer wrote:
On 11/15/18 4:09 PM, Adam D. Ruppe wrote:
On Thursday, 15 November 2018 at 21:00:48 UTC, ikod wrote:
what are the rules for @nogc inference?
It attempts it if and only if it is a template.
Well, the general "rule"
Hello,
I released cachetools - package with @safe and @nogc cache and
hashtable implementations.
It inherits nogc propery from key toHash and opEquals methods and
can store immutable keys and values (with restrictions).
Currently implemented only LRU cache with TTL.
On Friday, 16 November 2018 at 12:12:12 UTC, Alex wrote:
=
This code compiles as long as `lazy` is commented out. But I'd
like to have
both lazy parameter and @nogc inferrence for `library_func` so
that user is not locked to code @nogc or
On Thursday, 15 November 2018 at 21:55:18 UTC, Steven
Schveighoffer wrote:
On 11/15/18 4:09 PM, Adam D. Ruppe wrote:
On Thursday, 15 November 2018 at 21:00:48 UTC, ikod wrote:
what are the rules for @nogc inference?
It attempts it if and only if it is a template.
Well, the general "rule"
Thanks for excellent explanation!
On Sunday, 28 October 2018 at 19:00:52 UTC, Jonathan M Davis
wrote:
Because Object predats @safe (and most attributes), it really
isn't compatible with them. In fact, it predates const (since
it's basically the same as it was in D1) and it's only possible
On Sunday, 28 October 2018 at 18:00:06 UTC, Stanislav Blinov
wrote:
On Sunday, 28 October 2018 at 12:38:12 UTC, ikod wrote:
and object.opEquals(a,b) do not inherits safety from class C
properties, and also I can't override it.
Yep. Since Object is the base class and it defines opEquals as:
Hello
How to make this code to compile? My goal is safe(not @trusted)
longFunction().
---
class C
{
override bool opEquals(Object o) const @safe
{
return true;
}
}
bool longFunction(C a, C b) @safe
{
return a==b;
}
void main()
{
}
---
As far as I understand the
On Thursday, 20 September 2018 at 14:57:42 UTC, Atila Neves wrote:
If you've never heard of automem before, I wrote it to have
C++-style smart pointers in D that I could use in @nogc code:
http://code.dlang.org/packages/automem
Sorry for asking here.
Shouldn't this code work?
import
On Thursday, 16 August 2018 at 16:20:09 UTC, aliak wrote:
On Thursday, 16 August 2018 at 12:25:14 UTC, aliak wrote:
It's also @nogc and @safe
No it's not. Not dispatching at least. Dunno why though. Seems
safey is because taking an address. Nogc will have to look in
to.
Hello!
please,
Hello,
I just released v0.9.0 of dlang-requests. This is large
performance improvement and code refactoring release. Nothing
changed in API and everything should work as before (hopefully
better and faster)
What's new:
1. Connection pool for each HTTPRequest structure added. This
give
On Thursday, 26 July 2018 at 12:13:01 UTC, Joakim Brännström
wrote:
Hello,
I've written up a blog post[0] of my explorations when
parallelizing Datacat[1].
Thanks for nice article. Just in case if you never tried this:
https://bitbucket.org/andrewtrotman/d-profile-viewer
On Wednesday, 2 May 2018 at 16:58:35 UTC, IntegratedDimensions
wrote:
On Wednesday, 2 May 2018 at 03:03:19 UTC, ikod wrote:
On Wednesday, 2 May 2018 at 00:04:49 UTC, IntegratedDimensions
wrote:
On Tuesday, 1 May 2018 at 23:35:42 UTC, Arun Chandrasekaran
wrote:
[...]
Ok, first try:
On Wednesday, 2 May 2018 at 00:04:49 UTC, IntegratedDimensions
wrote:
On Tuesday, 1 May 2018 at 23:35:42 UTC, Arun Chandrasekaran
wrote:
On Tuesday, 1 May 2018 at 21:57:22 UTC, IntegratedDimensions
wrote:
[...]
std.net.curl is not quite up to date when compared to the curl
command. It is
On Saturday, 7 April 2018 at 23:54:21 UTC, Vindex wrote:
On Saturday, 7 April 2018 at 15:58:14 UTC, Seb wrote:
On Saturday, 7 April 2018 at 13:02:39 UTC, Vindex wrote:
There is an error on some sites when using HTTP-methods
(std.net.curl.get, std.net.curl.post):
Hello,
I have very short function with only Fiber.yield() inside it,
like:
void f1() {
yield();
}
This function is called inside @safe function f2:
void f2() @safe {
f1();
}
Can f1 be marked as @trusted so that I can keep @safe for the
whole hierarchy of calls?
Thanks!
Hello,
dlang-request 0.7.0 released with support for International
Domain Names.
dlang-reuests is HTTP/FTP native client library, inspired by
python-requests with support both for system and vibe.d sockets.
https://github.com/ikod/dlang-requests
https://code.dlang.org/packages/requests
Hello,
Several times I faced with next problem: I have "@safe" routine
with few calls to @system functions inside: OS calls (recv, send,
kqueue) os some phobos unsafe functions like assumeUnique. I'd
like not to wrap these @system functions in @trusted wrappers,
but somehow mark these calls
On Thursday, 25 January 2018 at 19:22:19 UTC, Seb wrote:
On Monday, 15 January 2018 at 22:50:55 UTC, kinke wrote:
On Sunday, 14 January 2018 at 04:18:41 UTC, Seb wrote:
3) IR (LDC only)
https://run.dlang.io/is/BOTNDf
Thanks Seb. I particularly like this feature. After a quick
glance, the
On Monday, 11 December 2017 at 03:53:25 UTC, Josh wrote:
The POST C code was:
/* Sample code generated by the curl command line tool
**
* All curl_easy_setopt() options are documented at:
* https://curl.haxx.se/libcurl/c/curl_easy_setopt.html
Maybe off-topic but you can
Hello,
I have to create very basic IDNA (Internationalized Domain Names
in Applications) library. There are two parts in IDNA - user
input checks and punycode encoding/decoding.
Punycode part already completed, and now I have to add some
checks but I'm weak in unicode and cant find proper
On Thursday, 23 November 2017 at 20:11:01 UTC, singingbush wrote:
Hi all. A new release intellij-dlanguage plugin has been made
available for download from the Jetbrains repository this week.
There is also support for debugging with GDB (since v1.14 1st
Nov). We need to completely overhaul
On Saturday, 18 November 2017 at 12:39:18 UTC, jmh530 wrote:
On Saturday, 18 November 2017 at 01:31:09 UTC, Indigo wrote:
What is your reasoning for coming to the US? You might want to
rethink this as America is collapsing.
America is collapsing?
This is ever lasting story: "decaying
Hello,
I have dub.json with two configurations:
"configurations": [
{
"name": "std",
"targetType": "library"
},
{
"name": "vibed",
On Wednesday, 18 October 2017 at 23:02:27 UTC, Stephan Dilly
wrote:
On 2017-10-18 22:25:23 +, ikod said:
On Wednesday, 18 October 2017 at 20:51:48 UTC, Stephan Dilly
wrote:
On 2017-10-18 20:19:20 +, ikod said:
Hello,
On Wednesday, 18 October 2017 at 20:05:28 UTC, Andre Pany
wrote:
On Wednesday, 18 October 2017 at 20:51:48 UTC, Stephan Dilly
wrote:
On 2017-10-18 20:19:20 +, ikod said:
Hello,
On Wednesday, 18 October 2017 at 20:05:28 UTC, Andre Pany
wrote:
[...]
Is there any docs from Amazon on this, beside json's itself?
I will be very grateful for link.
Are
Hello,
On Wednesday, 18 October 2017 at 20:05:28 UTC, Andre Pany wrote:
On Wednesday, 18 October 2017 at 19:28:30 UTC, aberba wrote:
The implementation is straight forward. For every api
definition (e.g.
https://github.com/aws/aws-sdk-js/blob/master/apis/iam-2010-05-08.normal.json) create a
1 - 100 of 162 matches
Mail list logo