On Sunday, 23 August 2015 at 09:54:37 UTC, Tony wrote:
auto loc = getJSON(ipinfo.io/)[loc]
.str.split(,);
BTW, the IP location doesn't work too reliably, if someone knows
a better alternative...
On Tuesday, 25 August 2015 at 05:27:16 UTC, Tony wrote:
I happened to notice that among my libcurl*s
libcurl-gnutls.so.3
libcurl-gnutls.so.4
libcurl-gnutls.so.4.3.0
libcurl.so.3
libcurl.so.4
libcurl.so.4.3.0
none were just libcurl.so. So I made a link for libcurl.so to
the latest version and
On Sun, 23 Aug 2015 16:00:16 +, Tony wrote:
Thanks for the replies. It compiles OK with just. However, it isn't
linking:
/usr/bin/ld: cannot find -lcurl
I do have some versions of libcurl on my system:
/usr/lib/x86_64-linux-gnu/libcurl.so.3
I happened to notice that among my libcurl*s
libcurl-gnutls.so.3
libcurl-gnutls.so.4
libcurl-gnutls.so.4.3.0
libcurl.so.3
libcurl.so.4
libcurl.so.4.3.0
none were just libcurl.so. So I made a link for libcurl.so to the
latest version and now I am getting the same link errors I got
after
On Monday, 24 August 2015 at 06:28:34 UTC, Yazan D wrote:
On Sun, 23 Aug 2015 16:00:16 +, Tony wrote:
Thanks for the replies. It compiles OK with just. However, it
isn't linking:
/usr/bin/ld: cannot find -lcurl
I do have some versions of libcurl on my system:
On Sunday, 23 August 2015 at 16:20:04 UTC, Gerald Jansen wrote:
On Sunday, 23 August 2015 at 16:00:19 UTC, Tony wrote:
/usr/bin/ld: cannot find -lcurl
Just the other day I had a similar problem (compiling vibenews,
ld complained of missing -levent and -lssl), which I managed to
solve simply
On Sunday, 23 August 2015 at 16:00:19 UTC, Tony wrote:
/usr/bin/ld: cannot find -lcurl
Just the other day I had a similar problem (compiling vibenews,
ld complained of missing -levent and -lssl), which I managed to
solve simply by installing the development versions of the
libraries (i.e.
On Sunday, 23 August 2015 at 16:00:19 UTC, Tony wrote:
Thanks for the replies. It compiles OK with just. However, it
isn't linking:
/usr/bin/ld: cannot find -lcurl
I do have some versions of libcurl on my system:
/usr/lib/x86_64-linux-gnu/libcurl.so.3
On Sunday 23 August 2015 11:54, Tony wrote:
weather_report.d(32): Error: undefined identifier centerJustifier
`centerJustifier` is new in 2.068. You're probably using an older version of
D. You can replace `centerJustifier` with `center` here.
On Sunday, 23 August 2015 at 09:54:37 UTC, Tony wrote:
I found this weather program on the main page (it seems to
rotate what it here):
[...]
try with `center()` or update the compiler. centerJustifier() was
added on 25 Apr 2015 so after 2.066.1 release:
Thanks for the replies. It compiles OK with just. However, it
isn't linking:
/usr/bin/ld: cannot find -lcurl
I do have some versions of libcurl on my system:
/usr/lib/x86_64-linux-gnu/libcurl.so.3
/usr/lib/x86_64-linux-gnu/libcurl.so.4.3.0
/usr/lib/x86_64-linux-gnu/libcurl.so.4
I see there
I found this weather program on the main page (it seems to rotate
what it here):
// Get your local weather report
pragma(lib, curl);
import std.functional, std.json, std.net.curl,
std.stdio, std.string;
alias getJSON = pipe!(get, parseJSON);
auto K2C = (float f) = f - 273.15;
auto K2F =
12 matches
Mail list logo