Re: [OT] What do you guys think of dark comedy channel on IT sh.. stuff?

2020-05-12 Thread Basile B. via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 07:52:29 UTC, Dmitry Olshansky wrote:
I find that I can vaguely amusing 100% of the day and I love 
standup comedy...


So I thought maybe I can give it a shot with a youtube channel? 
I already invent a cool personality - think Dirk Gently in 
computer science setting;)


If that seems cool to you shoot me an email, or reply in this 
thread ... I need to the count to have a rough estimate of how 
low the size of my initial audience is..


I rarely watch videos about programming (even talk) but I'd 
certainly take a look if you start something. It cant be worst 
than one of these tutorial produced by random Indian guys.


Re: [OT] What do you guys think of dark comedy channel on IT sh.. stuff?

2020-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 19:52:35 UTC, Dmitry Olshansky wrote:

Depending on what it looks like when it is finished.
If it should have a teaching aspect, you would need to collect 
the sources and information into the video description.


I’m going to describe the way I do creative work and try to 
capture this fleeting moment of me discovering something new.


I have started my own company as of 1 day ago. I have no idea 
where I will be in one year with that but sure as hell I’m 
having fun and I have an array of ambitious projects already in 
the works. I want to explore what a Holistic Computer Scientist 
at work looks like.


Just in case - if you have lot of cash on your hands and no idea 
on where to invest (these days it takes a blood while to figure 
it out)... Glow labs is a new R&D company run by a guy you 
probably know due to past DConf and stuff.


I’m doing my own ICO with my own coin, and it’s more like strong 
collectible even in case I’m broke(!) digital obligation thing. I 
believe that is the future of digital currency, in fact I’m 
living in that future but it gets kind lonely here...


Contact me if that’s something you can relate to ... Maybe
—
Dmitry Olshansky




my blog on recent code and dmd performance tips

2020-05-12 Thread Adam D. Ruppe via Digitalmars-d-announce
I try to write something on this once a week, though longer posts 
like this tend to be less common (and some weeks, like last week, 
I post nothing at all...), but I rarely post here since I don't 
want to be super spammy.


However a reminder here my D blog is still active and if you use 
my libs you might want to check in once a month or so and if you 
don't, the general D tips are probably interesting enough for you 
to skim anyway every two or three months.


Anyway, I wrote something longer this time and talked both about 
my libs and about some dmd compile speed/ram tips in general so 
might be worth a skim by many of you:


http://dpldocs.info/this-week-in-d/Blog.Posted_2020_05_11.html

(and a couple weeks ago I wrote about the script lang too which 
if you are at all interested in that it might be fun to look at: 
http://dpldocs.info/this-week-in-d/Blog.Posted_2020_04_27.html 
you can subclass D classes in script and reuse them from D! 
pretty cool if i do say so myself lol)


Re: dlang-requests 1.1.0 released

2020-05-12 Thread ikod via Digitalmars-d-announce

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 that 
simple chain


getContentByLine("https://httpbin.org/anything";)
.map!"cast(string)a"
.filter!(a => a.canFind("data"))

should work.

These calls work lazily so you can apply them to large 
documents.


dlang-requests - HTTP client library, inspired by 
python-requests with goals:


small memory footprint
performance
simple, high level API
native D implementation

https://github.com/ikod/dlang-requests
https://code.dlang.org/packages/requests

Always waiting for your bugreports and proposals on project 
page.


Best regards!


Very nice to see requests for D.

It is written in README that it has a small memory footprint 
and performance but how does it compare against Python version?


I never compared performance with Python requests, but I made 
some comparisons with
curl and wget, but results were never published. I just checked 
that there are no any odd delays.


There were some performance issues with connection pooling and 
caching redirects (like 
https://github.com/ikod/dlang-requests/issues/80), but they were 
fixed quite long ago.




I am asking because we have some Python packages using requests 
and I wanted to try to rewrite them in D. To avoid ppl raising 
eyebrows it would be nice to know a bit more details if 
possible.


There are some functions of Python requests that were not 
implemented for dlang - for example, conversion to json and maybe 
a few others, but I can easily add them if someone really needs 
it.


At the same time I tried to adapt API to Dlang way - like using 
lazy ranges when sending or receiving data, and like lazy byLine 
interator over response body, so your code may look and perform 
better with dlang-requests than with python.



PS. I mentioned small memory footprint in README because, for 
some reason, I failed to keep memory usage in reasonable bounds 
with std.net.curl at the time I tried to use it.




Re: Release D 2.092.0

2020-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 19:50:10 UTC, Martin Nowak wrote:

Glad to announce D 2.092.0, ♥ to the 47 contributors.

This release comes with support for a prototype 
ownership/borrowing system for pointers, GNU ABI tags for 
extern(C++), printf format checks, and SOURCE_DATE_EPOCH for 
reproducible builds.


http://dlang.org/download.html
http://dlang.org/changelog/2.092.0.html



And the releases still roll! It was way more hectic back in the 
day.


Thanks for the good work, Martin, hope to see you some time next 
year.





Release D 2.092.0

2020-05-12 Thread Martin Nowak via Digitalmars-d-announce

Glad to announce D 2.092.0, ♥ to the 47 contributors.

This release comes with support for a prototype 
ownership/borrowing system for pointers, GNU ABI tags for 
extern(C++), printf format checks, and SOURCE_DATE_EPOCH for 
reproducible builds.


http://dlang.org/download.html
http://dlang.org/changelog/2.092.0.html

-Martin



Re: [OT] What do you guys think of dark comedy channel on IT sh.. stuff?

2020-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 16:23:42 UTC, Jan Hönig wrote:

On Tuesday, 12 May 2020 at 08:35:20 UTC, Dmitry Olshansky wrote:
On Tuesday, 12 May 2020 at 07:52:29 UTC, Dmitry Olshansky 
wrote:
If that seems cool to you shoot me an email, or reply in this 
thread ... I need to the count to have a rough estimate of 
how low the size of my initial audience is..
Okay, it quickly gets out of hand and I need to get back to 
work I think.


I would check it out.
I also think quite a lot of people could watch it.
Depending on what it looks like when it is finished.
If it should have a teaching aspect, you would need to collect 
the sources and information into the video description.


I’m going to describe the way I do creative work and try to 
capture this fleeting moment of me discovering something new.


I have started my own company as of 1 day ago. I have no idea 
where I will be in one year with that but sure as hell I’m having 
fun and I have an array of ambitious projects already in the 
works. I want to explore what a Holistic Computer Scientist at 
work looks like. The whole idea of doing funny, maybe even silly 
things that all eventually prove to be completely nessasary. 
Which is the key part of  Dirk Gently experience - whatever you 
decide to do - it will have meaning even if it will only be clear 
long after the fact.









Re: [OT] What do you guys think of dark comedy channel on IT sh.. stuff?

2020-05-12 Thread Jan Hönig via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 08:35:20 UTC, Dmitry Olshansky wrote:

On Tuesday, 12 May 2020 at 07:52:29 UTC, Dmitry Olshansky wrote:
If that seems cool to you shoot me an email, or reply in this 
thread ... I need to the count to have a rough estimate of how 
low the size of my initial audience is..
Okay, it quickly gets out of hand and I need to get back to 
work I think.


I would check it out.
I also think quite a lot of people could watch it.
Depending on what it looks like when it is finished.
If it should have a teaching aspect, you would need to collect 
the sources and information into the video description.


Re: OT: Back

2020-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 08:11:03 UTC, Bastiaan Veelo wrote:

On Tuesday, 12 May 2020 at 07:48:46 UTC, Dmitry Olshansky wrote:

Bastian! Great to see you still around.

How your D stuff is going at that naval company?


First real application is running: a program for the numerical 
analysis of a ship launch at the yard. Currently testing and 
debugging. Pain points typically revolve around low level 
tricks in Pascal using arrays starting at 1 (these usually 
translate without problems, except where they don't)... Or 
passing strings to/from win32. Still committed to translate all 
other programs in our suite to D, busy times as usual.


Cool stuff. Keep it rolling ;)



-- Bastiaan.





Re: "Programming in D" on Educative.io

2020-05-12 Thread Pavel Shkadzko via Digitalmars-d-announce

On Thursday, 7 May 2020 at 09:18:04 UTC, Ali Çehreli wrote:
I'm happy to announce that the first part of "Programming in D" 
is available on Educative.io:


[...]


This is great! Finally, a D course. It is a shorter than 
"Programming in D" book version though. But for the introductory 
course I think it's fine.


Re: dlang-requests 1.1.0 released

2020-05-12 Thread Pavel Shkadzko via Digitalmars-d-announce

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 that 
simple chain


getContentByLine("https://httpbin.org/anything";)
.map!"cast(string)a"
.filter!(a => a.canFind("data"))

should work.

These calls work lazily so you can apply them to large 
documents.


dlang-requests - HTTP client library, inspired by 
python-requests with goals:


small memory footprint
performance
simple, high level API
native D implementation

https://github.com/ikod/dlang-requests
https://code.dlang.org/packages/requests

Always waiting for your bugreports and proposals on project 
page.


Best regards!


Very nice to see requests for D.

It is written in README that it has a small memory footprint and 
performance but how does it compare against Python version?


I am asking because we have some Python packages using requests 
and I wanted to try to rewrite them in D. To avoid ppl raising 
eyebrows it would be nice to know a bit more details if possible.




Re: [OT] What do you guys think of dark comedy channel on IT sh.. stuff?

2020-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 07:52:29 UTC, Dmitry Olshansky wrote:
I find that I can vaguely amusing 100% of the day and I love 
standup comedy...


So I thought maybe I can give it a shot with a youtube channel? 
I already invent a cool personality - think Dirk Gently in 
computer science setting;)


If that seems cool to you shoot me an email, or reply in this 
thread ... I need to the count to have a rough estimate of how 
low the size of my initial audience is..



Just to give you an example of my raw output...

Are you not getting tired of this hopelessly boring OpenSource 
scene?
All these 50 shades of JS framework, series. The long and dull 
re-runs of all of the web server framework shows. A clone of 
this! A copy of that but in Lua compiled to down to shell script. 
I hope the guys are giggling to themselves and this is all not 
serious in any way. Won't like to offend people, right? Wrong. I 
do not care really if something is fundamentally a copy I call it 
boring, despite it maybe have some interesting qualities.


With that in mind I'd rather see people flex their brains on hard 
problems. Challenges! Just because the hardware is so fast you 
you can actually compile Lua to Shell script that transpiles 
itself to JavaScript starts the to show rainbows and ponies (with 
optional web assembly ray-tracing backend, that however is only 
supported on Chrome or Firefox, whatever).


I'm talking about real work folks. Like how many interesting 
things can you pack in 32 bit machine word? Are you done making 
that list of yours? What about it being agnostic to Big / Little 
Endian issues when read from octet stream?
Oh, gets more interesting doesn't it? How about adding a checksum 
of sorts, you know count the bits do some bitwise magic to 
validate the result in order to detect 1 bit of error creeping in 
during the transfer? How it looks if we print the octets as 
ASCII? Should keep my terminal settings intact at least when I 
pipe it in accidentally ... I could go on and on, but I'd prefer 
people to find the things they like the most obviously.


Okay, it quickly gets out of hand and I need to get back to work 
I think.








Re: OT: Back

2020-05-12 Thread Bastiaan Veelo via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 07:48:46 UTC, Dmitry Olshansky wrote:

On Tuesday, 12 May 2020 at 07:21:43 UTC, Bastiaan Veelo wrote:

On Tuesday, 5 May 2020 at 15:39:12 UTC, Dmitry Olshansky wrote:
P.S. I'm kind of back, but very busy and my health is mostly 
great despite the COVID outrage out there.


That's great! Glad to hear that.


Bastian! Great to see you still around.

How your D stuff is going at that naval company?


First real application is running: a program for the numerical 
analysis of a ship launch at the yard. Currently testing and 
debugging. Pain points typically revolve around low level tricks 
in Pascal using arrays starting at 1 (these usually translate 
without problems, except where they don't)... Or passing strings 
to/from win32. Still committed to translate all other programs in 
our suite to D, busy times as usual.


-- Bastiaan.


Re: [OT] What do you guys think of dark comedy channel on IT sh.. stuff?

2020-05-12 Thread Jan Hönig via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 07:52:29 UTC, Dmitry Olshansky wrote:
If that seems cool to you shoot me an email, or reply in this 
thread ... I need to the count to have a rough estimate of how 
low the size of my initial audience is..


I would at least check it out :)


[OT] What do you guys think of dark comedy channel on IT sh.. stuff?

2020-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce
I find that I can vaguely amusing 100% of the day and I love 
standup comedy...


So I thought maybe I can give it a shot with a youtube channel? I 
already invent a cool personality - think Dirk Gently in computer 
science setting;)


If that seems cool to you shoot me an email, or reply in this 
thread ... I need to the count to have a rough estimate of how 
low the size of my initial audience is..


Re: OT: Back

2020-05-12 Thread Dmitry Olshansky via Digitalmars-d-announce

On Tuesday, 12 May 2020 at 07:21:43 UTC, Bastiaan Veelo wrote:

On Tuesday, 5 May 2020 at 15:39:12 UTC, Dmitry Olshansky wrote:
P.S. I'm kind of back, but very busy and my health is mostly 
great despite the COVID outrage out there.


That's great! Glad to hear that.


Bastian! Great to see you still around.

How your D stuff is going at that naval company?


-- Bastiaan.





OT: Back

2020-05-12 Thread Bastiaan Veelo via Digitalmars-d-announce

On Tuesday, 5 May 2020 at 15:39:12 UTC, Dmitry Olshansky wrote:
P.S. I'm kind of back, but very busy and my health is mostly 
great despite the COVID outrage out there.


That's great! Glad to hear that.

-- Bastiaan.