Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-05 Thread aberba via Digitalmars-d-announce
On Saturday, 5 September 2020 at 02:15:31 UTC, Adam D. Ruppe wrote: On Friday, 4 September 2020 at 17:47:39 UTC, James Lu wrote: And there's a Facebook? Seriously? A random user set it up and tries to push it but there's not much activity. Part of it is like Facebook being too much

Re: DConf Online 2020 Submission Deadline Extended

2020-09-05 Thread aberba via Digitalmars-d-announce
On Saturday, 5 September 2020 at 09:50:44 UTC, FeepingCreature wrote: On Saturday, 5 September 2020 at 04:01:43 UTC, Mike Parker wrote: [...] hi okay, if I'm literally the only one that's kind of problematic, yeah. Let's see how it goes on Sunday. I'd guess that ... like, either

Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-03 Thread aberba via Digitalmars-d-announce
On Thursday, 3 September 2020 at 16:53:17 UTC, Martin Tschierschke wrote: On Thursday, 3 September 2020 at 08:40:32 UTC, aberba wrote: The slack I have no ideas how people get in. I know there's a number of members in there too. I am not very active on slack, to say it polite but I may invite

Re: D mentionned in the ARTIBA webzine for an article on Silq

2020-09-03 Thread aberba via Digitalmars-d-announce
On Wednesday, 2 September 2020 at 18:53:02 UTC, James Lu wrote: On Wednesday, 2 September 2020 at 18:42:25 UTC, starcanopy wrote: On Wednesday, 2 September 2020 at 13:31:25 UTC, Adam D. Ruppe wrote: But what I think would be really cool though is like an internal twitter... no size limit but

Re: Master Thesis using D Programming language.

2020-08-25 Thread aberba via Digitalmars-d-learn
On Monday, 24 August 2020 at 19:56:49 UTC, Tariq Siddiqui wrote: Hello everyone, I am looking for a master thesis topic using D Programming language. Earlier I choose Design by Introspection, but I did not find enough material in academic journals. DbI total material which I found is DConf

Re: Master Thesis using D Programming language.

2020-08-25 Thread aberba via Digitalmars-d-learn
On Tuesday, 25 August 2020 at 16:52:17 UTC, aberba wrote: On Monday, 24 August 2020 at 19:56:49 UTC, Tariq Siddiqui wrote: Academic don't know innovation. Only history :) Academia*

Re: Reading IDX Files in D, an introduction to compile time programming

2020-08-23 Thread aberba via Digitalmars-d-announce
On Saturday, 22 August 2020 at 07:04:19 UTC, Petar Kirov [ZombineDev] wrote: On Friday, 21 August 2020 at 20:33:51 UTC, H. S. Teoh wrote: I don't need say that unlimited CTFE has been a huge success for Jai. Never heard of that success BTW. Probably a niche success. But that aside, do you

Re: vibe.d and my first web service

2020-08-21 Thread aberba via Digitalmars-d-learn
On Friday, 21 August 2020 at 09:50:38 UTC, ddcovery wrote: On Friday, 21 August 2020 at 08:48:34 UTC, ddcovery wrote: On Thursday, 20 August 2020 at 21:36:04 UTC, Andre Pany wrote: [...] Thanks a lot Andre, I opened immediately the issues to receive some feedback: [...] EDIT: 23 days ago

Re: Translations of GLFW and libsoundio for Windows and Linux

2020-08-20 Thread aberba via Digitalmars-d-announce
On Thursday, 20 August 2020 at 12:50:26 UTC, Dennis wrote: If you are making a D application with graphics or sound, you might be interested in these: [...] Awesome! Thanks for doing this.

Re: Article: The surprising thing you can do in the D programming language

2020-08-20 Thread aberba via Digitalmars-d-announce
On Thursday, 20 August 2020 at 11:22:53 UTC, MrSmith wrote: On Thursday, 20 August 2020 at 10:12:22 UTC, aberba wrote: Wrote something on OpenSource.com https://opensource.com/article/20/8/nesting-d The only nitpick, is that nested functions need to be declared before use, in order to

Article: The surprising thing you can do in the D programming language

2020-08-20 Thread aberba via Digitalmars-d-announce
Wrote something on OpenSource.com https://opensource.com/article/20/8/nesting-d

Re: BetterC + WASM Update

2020-08-19 Thread aberba via Digitalmars-d-learn
On Wednesday, 19 August 2020 at 21:24:23 UTC, Mike Brown wrote: Hi all, I'd like to make a WASM project, and looking into options. It's scattered in several places including https://gist.github.com/skoppe/7617ceba6afd67b2e20c6be4f922725d Are you aware of Spasm?

Re: vibe.d and my first web service

2020-08-17 Thread aberba via Digitalmars-d-learn
On Thursday, 13 August 2020 at 09:54:06 UTC, Mr. Backup wrote: On Wednesday, 12 August 2020 at 13:46:06 UTC, James Blachly wrote: Unfortunately the problem still occurs with Vibe.d 0.9.0 IMO **this is the single most important problem to fix** for vibe.d -- if the most basic of examples

Re: Autodecode?

2020-08-16 Thread aberba via Digitalmars-d-learn
On Sunday, 16 August 2020 at 20:53:41 UTC, JN wrote: Related to this thread: https://forum.dlang.org/post/xtjzhkvszdiwvrmry...@forum.dlang.org I don't want to hijack it with my newbie questions. What is autodecode and why is it such a big deal? From what I've seen it's related to handling

Re: I just discovered an alternative use of the `in`-operator

2020-08-07 Thread aberba via Digitalmars-d-learn
On Friday, 7 August 2020 at 21:02:03 UTC, Per Nordlöw wrote: On Thursday, 6 August 2020 at 22:24:43 UTC, Paul Backus wrote: [1] https://dlang.org/spec/expression.html#is_expression I bet there a several places in Phobos where this feature isn't but could be used. I feel same. That there's

How does D's templated functions implementation differ from generics in C#/Java?

2020-08-07 Thread aberba via Digitalmars-d-learn
Syntactically they look the same (although D's can do more things) so I'm trying to understand how why in D it's called template but in languages like C#/Java they're generics. I guess I have fair understanding of D's code generation but isn't it same as what what is available in those

Re: How do I convert a Base64 image url string to a png/jpg image file?

2020-07-30 Thread aberba via Digitalmars-d-learn
On Thursday, 30 July 2020 at 12:28:08 UTC, Adam D. Ruppe wrote: On Thursday, 30 July 2020 at 12:22:46 UTC, aberba wrote: [...] I don't think I wrote it as a library yet, but the idea is pretty simple: they all start with "data:" so you look for that. Then there's a type after that, so you

How do I convert a Base64 image url string to a png/jpg image file?

2020-07-30 Thread aberba via Digitalmars-d-learn
So I have a base64 image url string and I'm trying to generate a png,jpg image file from it. I'm able to decode it to a buffer but the trouble is getting it from buffer to an actual image file. Any library function combination I can use?

Re: Contributing to D wiki

2020-07-27 Thread aberba via Digitalmars-d-learn
On Monday, 27 July 2020 at 11:39:32 UTC, John Burton wrote: On Wednesday, 15 July 2020 at 22:18:47 UTC, H. S. Teoh wrote: On Wed, Jul 15, 2020 at 09:27:22PM +, tastyminerals via Digitalmars-d-learn wrote: [...] [...] Why not? It's a *wiki*. Wikis are intended for the user community

Re: tsv-utils 2.0 release: Named field support

2020-07-27 Thread aberba via Digitalmars-d-announce
On Sunday, 26 July 2020 at 20:28:56 UTC, Jon Degenhardt wrote: Hi all, I'm happy to announce a new major release of eBay's TSV Utilities. The 2.0 release supports named field selection in all of the tools, a significant usability enhancement. [...] So I didn't checked it out until today

Re: Article: the feature that makes D my favorite programming language

2020-07-26 Thread aberba via Digitalmars-d-announce
On Sunday, 26 July 2020 at 01:14:53 UTC, Paul Backus wrote: On Saturday, 25 July 2020 at 18:24:22 UTC, Jesse Phillips wrote: On Saturday, 25 July 2020 at 14:47:01 UTC, aberba wrote: [...] It bugs me too, though I have done it. I think the right answer of why it is odd is because writeln is

Re: Article: the feature that makes D my favorite programming language

2020-07-25 Thread aberba via Digitalmars-d-announce
On Saturday, 25 July 2020 at 13:28:34 UTC, Adam D. Ruppe wrote: On Saturday, 25 July 2020 at 11:12:16 UTC, aberba wrote: Oop! Chaining the writeln too could have increased the wow factor. I didn't see that. oh I hate it when people do that though, it just looks off to me at that point. Ha

Re: Article: the feature that makes D my favorite programming language

2020-07-25 Thread aberba via Digitalmars-d-announce
On Saturday, 25 July 2020 at 10:22:53 UTC, Andre Pany wrote: On Friday, 24 July 2020 at 20:34:17 UTC, aberba wrote: Wrote something on the feature that makes D my favorite programming language https://opensource.com/article/20/7/d-programming Great article. I assume you didn't chained

Re: Article: the feature that makes D my favorite programming language

2020-07-24 Thread aberba via Digitalmars-d-announce
On Friday, 24 July 2020 at 21:18:37 UTC, Steven Schveighoffer wrote: On 7/24/20 4:34 PM, aberba wrote: Wrote something on the feature that makes D my favorite programming language https://opensource.com/article/20/7/d-programming Nice! You could make this more dramatic. I'm sure you just

Re: Article: the feature that makes D my favorite programming language

2020-07-24 Thread aberba via Digitalmars-d-announce
On Friday, 24 July 2020 at 21:19:28 UTC, H. S. Teoh wrote: On Fri, Jul 24, 2020 at 08:34:17PM +, aberba via Digitalmars-d-announce wrote: Wrote something on the feature that makes D my favorite programming language https://opensource.com/article/20/7/d-programming Nitpick: evenNumbers

Article: the feature that makes D my favorite programming language

2020-07-24 Thread aberba via Digitalmars-d-announce
Wrote something on the feature that makes D my favorite programming language https://opensource.com/article/20/7/d-programming

Re: Dlang: The Complete D programming Language Course

2020-07-23 Thread aberba via Digitalmars-d-announce
On Thursday, 23 July 2020 at 14:39:54 UTC, Greatsam4sure wrote: On Thursday, 23 July 2020 at 01:13:25 UTC, aberba wrote: Found this introductory course from Udemy on D Complete introduction to programming in D. Learn by doing assignments and projects.

Re: Dlang: The Complete D programming Language Course

2020-07-23 Thread aberba via Digitalmars-d-announce
On Thursday, 23 July 2020 at 15:24:09 UTC, bachmeier wrote: On Thursday, 23 July 2020 at 01:13:25 UTC, aberba wrote: Found this introductory course from Udemy on D Complete introduction to programming in D. Learn by doing assignments and projects.

Re: Dlang: The Complete D programming Language Course

2020-07-23 Thread aberba via Digitalmars-d-announce
On Thursday, 23 July 2020 at 16:22:26 UTC, Steven Schveighoffer wrote: On 7/22/20 9:13 PM, aberba wrote: Found this introductory course from Udemy on D Complete introduction to programming in D. Learn by doing assignments and projects. https://www.udemy.com/course/d-programming-language/

Dlang: The Complete D programming Language Course

2020-07-22 Thread aberba via Digitalmars-d-announce
Found this introductory course from Udemy on D Complete introduction to programming in D. Learn by doing assignments and projects. https://www.udemy.com/course/d-programming-language/

Re: How DerelictCL works

2020-07-21 Thread aberba via Digitalmars-d-learn
On Tuesday, 21 July 2020 at 12:00:03 UTC, bioinfornatics wrote: Dear, I would like to use OpenCL in D. Thus I try to use DerelictCL. But I fail to use it I encounter this error message: -- /opt/jonathan/jonathan-dlang_ldc2092/root/usr/include/d/derelict/opencl/constants.di(835):

Re: How Install and Configure DCD (D Completion Daemon) on Sublime Text?

2020-07-20 Thread aberba via Digitalmars-d-learn
On Monday, 20 July 2020 at 18:08:02 UTC, Marcone wrote: How Install and Configure DCD (D Completion Daemon) on Sublime Text? I need auto complete for the Dlang in Sublime Text. Recently tried sublime myself for D since its quite lightweight compared to VS code for when I need to write

Re: libaio

2020-07-19 Thread aberba via Digitalmars-d-announce
On Thursday, 16 July 2020 at 14:17:45 UTC, Boris-Barboris wrote: https://github.com/Boris-Barboris/libaio/blob/master/source/libaio/package.d https://code.dlang.org/packages/libaio If you need to write some shady block-level stuff for Linux libaio this thin Derelict loader can save a day of

Re: How can I get Phobos Runtime Library docummentation in PDF?

2020-07-18 Thread aberba via Digitalmars-d-learn
On Saturday, 18 July 2020 at 00:23:22 UTC, Marcone wrote: I need full Phobos Runtime Library docummentation in only one PDF file. I'm not sure how to generate docs in a single html page but there's external services or tools to terms HTML files into PDF and much it all into one. This can be

Re: How to generate ddoc html?

2020-07-18 Thread aberba via Digitalmars-d-learn
On Wednesday, 29 January 2020 at 20:50:14 UTC, Pavel Shkadzko wrote: I've been skimming through https://dlang.org/spec/ddoc.html in order to understand how can one use ddoc to generate nice htmls. [...] This post contains information on how to do that.

Re: How to generate ddoc html?

2020-07-18 Thread aberba via Digitalmars-d-learn
On Wednesday, 29 January 2020 at 20:50:14 UTC, Pavel Shkadzko wrote: I've been skimming through https://dlang.org/spec/ddoc.html in order to understand how can one use ddoc to generate nice htmls. I tend to use markdown to log some daily work or copy down code examples. For learning purposes I

Re: DConf Online 2020 (Soft Announcement)

2020-07-17 Thread aberba via Digitalmars-d-announce
On Friday, 17 July 2020 at 11:55:14 UTC, Mike Parker wrote: DConf Online 2020 is on! https://dconf.org/2020/online/index.html [...] Very exited about this.

Re: D Wiki: run.dlang.io integration?

2020-07-16 Thread aberba via Digitalmars-d-learn
On Thursday, 16 July 2020 at 14:17:10 UTC, WebFreak001 wrote: On Thursday, 16 July 2020 at 13:54:56 UTC, aberba wrote: On Thursday, 16 July 2020 at 13:41:31 UTC, aberba wrote: On Thursday, 16 July 2020 at 09:47:02 UTC, WebFreak001 wrote: [...] Since its based on WikiMedia, searched an came

Re: D Wiki: run.dlang.io integration?

2020-07-16 Thread aberba via Digitalmars-d-learn
On Thursday, 16 July 2020 at 13:41:31 UTC, aberba wrote: On Thursday, 16 July 2020 at 09:47:02 UTC, WebFreak001 wrote: [...] Since its based on WikiMedia, searched an came up with this [1] to embed in iframe 1. https://www.mediawiki.org/wiki/Extension:Iframe Also the D Tour uses

Re: D Wiki: run.dlang.io integration?

2020-07-16 Thread aberba via Digitalmars-d-learn
On Thursday, 16 July 2020 at 09:47:02 UTC, WebFreak001 wrote: Is there a way to integrate some kind of "run this source code" button into the D wiki using run.dlang.io? If there isn't, it would be nice to add this kind of thing as plugin with the possibility of also including the editor so

Re: Vibe.d and NodeJs with Express

2020-07-15 Thread aberba via Digitalmars-d-learn
On Wednesday, 15 July 2020 at 04:19:57 UTC, bauss wrote: On Sunday, 12 July 2020 at 19:16:32 UTC, aberba wrote: 3) packages, now it might be better though. But I've always felt that there's not a lot of people using D for complete web dev projects... I implement most things I need myself;

Contributing to D wiki

2020-07-15 Thread aberba via Digitalmars-d-learn
So I'm looking to make changes to the D wiki but I'm not sure who to talk to about such changes. Currently: Move all other IDEs low-quality down (maybe to Others) and focus on just the few that really works (IntelliJ, Visual Studio Code and Visual Studio). Instead of many options that don't

Re: Error: `std.uni.isUpper` conflicts with `std.ascii.isUpper`

2020-07-15 Thread aberba via Digitalmars-d-learn
On Wednesday, 15 July 2020 at 07:01:34 UTC, WebFreak001 wrote: On Tuesday, 14 July 2020 at 20:37:53 UTC, Marcone wrote: [...] Additionally to the other answers telling you how to fix it, it's important to know why it happens in the first place: [...] Without reading this very

Re: How can I make executeShell ask for Admin Elevation?

2020-07-13 Thread aberba via Digitalmars-d-learn
On Monday, 13 July 2020 at 00:57:02 UTC, Marcone wrote: On Sunday, 12 July 2020 at 02:10:11 UTC, Marcone wrote: I don't want start program with admin elevation, but ask user for admin permission when some function is called. alias runas = compose!(x => to!bool((cast(int) x) > 32), x =>

Re: Vibe.d and NodeJs with Express

2020-07-12 Thread aberba via Digitalmars-d-learn
On Sunday, 12 July 2020 at 10:01:54 UTC, greatsam4sure wrote: I am thinking of building an App with Vibe. D or NodeJS but my topmost priority is speed and ease of development due to third party libraries integration. I know Vibe. D is faster than NodeJS and I love to use Dlang. My question is

Re: Release D 2.093.0

2020-07-12 Thread aberba via Digitalmars-d-announce
On Sunday, 12 July 2020 at 09:04:40 UTC, Martin Nowak wrote: Glad to announce D 2.093.0, ♥ to the 54 contributors. This release comes with a preview for shared variable initialization, template instantiation statistics, better Windows support of the install.sh script, and higher accuracy GC

Re: Visual D 1.0.0 released

2020-07-09 Thread aberba via Digitalmars-d-announce
On Thursday, 9 July 2020 at 08:40:24 UTC, Petar Kirov [ZombineDev] wrote: On Thursday, 9 July 2020 at 00:03:02 UTC, Manu wrote: Not really. VisualD is objectively the most functional and competent IDE/Debugger solution, BY FAR. It's not an opinion, it's a measurable fact. Windows really

Re: Visual D 1.0.0 released

2020-07-08 Thread aberba via Digitalmars-d-announce
On Wednesday, 8 July 2020 at 01:26:55 UTC, Manu wrote: On Tue, Jul 7, 2020 at 10:00 PM JN via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: On Saturday, 4 July 2020 at 13:00:16 UTC, Rainer Schuetze wrote: > See >

Re: Quick create serverside project based on Hunt Framework 3.2.0

2020-07-07 Thread aberba via Digitalmars-d-announce
On Tuesday, 7 July 2020 at 19:21:17 UTC, zoujiaqing wrote: https://github.com/huntlabs/hunt-framework-articles/blob/master/quick-create-serverside-project/quick-create-serverside-project.md Thank you Brian! Its very awesome the content you're creating for Hunt Framework.

Re: From the D Blog: A Pattern for Head-mutable Structures

2020-07-06 Thread aberba via Digitalmars-d-announce
On Monday, 6 July 2020 at 12:22:56 UTC, Ali Çehreli wrote: On 6/26/20 2:30 AM, aberba wrote: > I'm curious what's happening in those D meetups. Are they still > happening (online)? Our Silicon Valley meetups are still going on:

Re: A security review of the D library Crypto

2020-07-04 Thread aberba via Digitalmars-d-announce
On Saturday, 4 July 2020 at 15:49:25 UTC, Cym13 wrote: On Saturday, 4 July 2020 at 14:37:41 UTC, H. S. Teoh wrote: I'm not the author, but I'm curious about the D implementation of Botan (https://code.dlang.org/packages/botan) -- how is its security level? I glanced at it before and it seemed

Re: D Plugin for Visual Studio Code [was Re: Visual D 1.0.0 released]

2020-07-04 Thread aberba via Digitalmars-d-learn
On Saturday, 4 July 2020 at 19:52:42 UTC, Arafel wrote: On 4/7/20 19:58, Paul Backus wrote: You're looking for code-d: https://github.com/Pure-D/code-d Thanks! I'm trying it, although at least with VSCodium and Linux I had to build from sources, it didn't show by searching in the

Re: Release Candidate [was: Re: Beta 2.093.0]

2020-07-03 Thread aberba via Digitalmars-d-announce
On Friday, 3 July 2020 at 20:19:59 UTC, user1234 wrote: On Friday, 3 July 2020 at 19:50:51 UTC, aberba wrote: On Friday, 3 July 2020 at 15:27:54 UTC, user1234 wrote: On Friday, 3 July 2020 at 11:10:25 UTC, Martin Nowak wrote: On Wednesday, 24 June 2020 at 21:01:05 UTC, Martin Nowak wrote:

Re: Release Candidate [was: Re: Beta 2.093.0]

2020-07-03 Thread aberba via Digitalmars-d-announce
On Friday, 3 July 2020 at 15:27:54 UTC, user1234 wrote: On Friday, 3 July 2020 at 11:10:25 UTC, Martin Nowak wrote: On Wednesday, 24 June 2020 at 21:01:05 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.093.0 release, ♥ to the 53 contributors. Release Candidate is live

Re: Beta 2.093.0

2020-07-03 Thread aberba via Digitalmars-d-announce
On Wednesday, 24 June 2020 at 21:01:05 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.093.0 release, ♥ to the 53 contributors. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.093.0.html As usual please report any bugs at https://issues.dlang.org

Post: Why no one is using your D library

2020-07-02 Thread aberba via Digitalmars-d-announce
Why no one is using your D library So I decided to write a little something special. Its my love letter to D folks. https://aberba.vercel.app/2020/why-no-one-is-using-your-d-library/

Re: How to implement Canceleable spawn() from parent

2020-07-01 Thread aberba via Digitalmars-d-learn
On Tuesday, 30 June 2020 at 14:43:40 UTC, Steven Schveighoffer wrote: On 6/30/20 10:15 AM, Simen Kjærås wrote: [...] My thinking is I don't want regular consumers using the package to think about the technicality of thread_joinAll() at all. Thinking about putting it in a mixin like: mixin

Re: Documentation repository for Hunt Framework !

2020-06-30 Thread aberba via Digitalmars-d-announce
On Tuesday, 30 June 2020 at 15:40:14 UTC, zoujiaqing wrote: I'm glad we've released the first set of Hunt Framework today. Make it easier for you to use Hunt Framework. Hope more people can work with us to improve the content of the document. https://github.com/huntlabs/hunt-framework-docs

Re: How to implement Canceleable spawn() from parent

2020-06-30 Thread aberba via Digitalmars-d-learn
On Tuesday, 30 June 2020 at 12:48:32 UTC, Simen Kjærås wrote: On Tuesday, 30 June 2020 at 08:15:54 UTC, aberba wrote: On Tuesday, 30 June 2020 at 00:33:41 UTC, Ali Çehreli wrote: On 6/29/20 4:34 PM, aberba wrote: > So with this, without the Thread.sleep() to block main from exiting, the >

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-30 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 21:29:31 UTC, Ali Çehreli wrote: On 6/29/20 8:45 AM, Dagmar wrote: > If I shouldn't use > const, how should I emphasize the intention to pass a pointer only for > reading? How can I be sure that my class invariant is not compromised? > Also, there is the shared

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-30 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 15:45:48 UTC, Dagmar wrote: Sometimes there is only one way to find out why it behaves like it does: to ask in this forum. And you may not like the answers. D has transitive const, but what if I should lazy evaluate/cache a value or use a mutex? If I shouldn't use

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-30 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 15:54:36 UTC, Adam D. Ruppe wrote: On Monday, 29 June 2020 at 15:45:48 UTC, Dagmar wrote: D has a GC. If you turn it off you lose dynamic/associative arrays, classes, probably something else. You just have to construct them with a function instead of with the

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-30 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 12:17:57 UTC, Russel Winder wrote: On Mon, 2020-06-29 at 10:31 +, IGotD- via Digitalmars-d-announce wrote: On the other hand people are stopping using C++ in favour of Go, Rust, Python, but it seems not D. This isn't a fact by the way, there are many people

Re: iopipe v0.2.0 - safe update

2020-06-30 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 11:58:10 UTC, Steven Schveighoffer wrote: On 6/28/20 8:37 PM, aberba wrote: On Sunday, 28 June 2020 at 20:26:43 UTC, JN wrote: What's iopipe and what does it do? How does it compare with std.process? I my line of words, its what you'd use to stream large files and

Re: How to implement Canceleable spawn() from parent

2020-06-30 Thread aberba via Digitalmars-d-learn
On Tuesday, 30 June 2020 at 00:33:41 UTC, Ali Çehreli wrote: On 6/29/20 4:34 PM, aberba wrote: > So with this, without the Thread.sleep() to block main from exiting, the > spawned thread will terminate immediately. You can call core.thread.thread_joinAll at the end of main. So I tried that

Re: How to implement Canceleable spawn() from parent

2020-06-29 Thread aberba via Digitalmars-d-learn
On Sunday, 28 June 2020 at 14:23:01 UTC, Stanislav Blinov wrote: On Sunday, 28 June 2020 at 13:29:08 UTC, aberba wrote: [...] The error you're getting is because you're passing a pointer to a delegate instead of a delegate. [...] So with this, without the Thread.sleep() to block

Re: iopipe v0.2.0 - safe update

2020-06-28 Thread aberba via Digitalmars-d-announce
On Sunday, 28 June 2020 at 20:26:43 UTC, JN wrote: On Sunday, 28 June 2020 at 18:57:22 UTC, Steven Schveighoffer wrote: Just wanted to post that I finished my update of iopipe to be @safe. I still have some work to do with std.io so things are more usable (next on my list is to make standard

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-28 Thread aberba via Digitalmars-d-announce
On Monday, 29 June 2020 at 00:24:22 UTC, aberba wrote: On Sunday, 28 June 2020 at 21:00:09 UTC, Dibyendu Majumdar wrote: [...] * Community * Strong die hard advocate * Tutorials, learning resources Those are the stuff I personally think I can't contribute more. I meant opposite, jeez 

Re: Talk by Herb Sutter: Bridge to NewThingia

2020-06-28 Thread aberba via Digitalmars-d-announce
On Sunday, 28 June 2020 at 21:00:09 UTC, Dibyendu Majumdar wrote: On Saturday, 27 June 2020 at 15:48:33 UTC, Andrei Alexandrescu wrote: How to answer "why will yours succeed, when X, Y, and Z have failed?" https://www.youtube.com/watch?v=wIHfaH9Kffs Very insightful talk. To be honest the

Re: How to implement Canceleable spawn() from parent

2020-06-28 Thread aberba via Digitalmars-d-learn
On Sunday, 28 June 2020 at 23:39:07 UTC, Stanislav Blinov wrote: On Sunday, 28 June 2020 at 23:02:26 UTC, aberba wrote: I believe this: StopWatch sw; sw.start; works becuse D structs are initialized by default, right? I've never actually done it this way. Little details. Yup. You can also

Re: How to implement Canceleable spawn() from parent

2020-06-28 Thread aberba via Digitalmars-d-learn
On Sunday, 28 June 2020 at 23:02:26 UTC, aberba wrote: On Sunday, 28 June 2020 at 14:23:01 UTC, Stanislav Blinov wrote: On Sunday, 28 June 2020 at 13:29:08 UTC, aberba wrote: Thanks. I believe this: StopWatch sw; sw.start; works becuse D structs are initialized by default, right? I've

Re: How to implement Canceleable spawn() from parent

2020-06-28 Thread aberba via Digitalmars-d-learn
On Sunday, 28 June 2020 at 14:23:01 UTC, Stanislav Blinov wrote: On Sunday, 28 June 2020 at 13:29:08 UTC, aberba wrote: Thanks. I believe this: StopWatch sw; sw.start; works becuse D structs are initialized by default, right? I've never actually done it this way. Little details.

How to implement Canceleable spawn() from parent

2020-06-28 Thread aberba via Digitalmars-d-learn
Trying to implement a setInterval() that I can cancel using: Tid tid = setInterval(2000, (){ writeln("hello");}) And then I can do: stopInterval(tid); With something like this: stopInterval(Tid tid) { send(tid, "cancel"); } import std.stdio : writeln; import std.concurrency : receive,

Re: Light-weight runtime

2020-06-28 Thread aberba via Digitalmars-d-learn
On Sunday, 28 June 2020 at 07:09:53 UTC, Виталий Фадеев wrote: I want light-weight runtime ! How to ? If you have access to Google translate or any equivalent tool, you may use it to write in Russian language and copy+paste the English here. I think that'll really help. I always give deep

Re: From the D Blog: A Pattern for Head-mutable Structures

2020-06-26 Thread aberba via Digitalmars-d-announce
On Friday, 26 June 2020 at 17:05:40 UTC, Mike Parker wrote: On Friday, 26 June 2020 at 17:02:05 UTC, Avrina wrote: "It says a lot about the priorities when you can't even get a simple link, community comes last." If the community came last for me, I wouldn't be doing the work I do. I'd be

Re: From the D Blog: A Pattern for Head-mutable Structures

2020-06-26 Thread aberba via Digitalmars-d-announce
On Friday, 26 June 2020 at 07:35:17 UTC, JN wrote: On Friday, 26 June 2020 at 05:37:13 UTC, Arun Chandrasekaran wrote: This is a very interesting post. But this strategy with HN is clearly not working. 5 upvotes after 17 hours and 0 comments. Please paste the direct link in future even if the

Re: D GUI Framework (responsive grid teaser)

2020-06-23 Thread aberba via Digitalmars-d-announce
On Tuesday, 23 June 2020 at 17:29:05 UTC, Robert M. Münch wrote: On 2020-06-22 23:56:47 +, aberba said: Will it be open source? Curious why its not hosted public We will see... The main point is, such a thing only lifts off if the quality and out-of-the-box experience is high enough. I

Re: News on the D Blog: SAOC 2020 and More

2020-06-23 Thread aberba via Digitalmars-d-announce
On Tuesday, 23 June 2020 at 12:00:30 UTC, Mike Parker wrote: On Tuesday, 23 June 2020 at 12:00:06 UTC, Mike Parker wrote: Symmetry Autumn of Code 2020 is on! My latest news post on the D Blog talks about that, some D Language Foundation finance updates, and whispers on the wind. And you can

Re: D GUI Framework (responsive grid teaser)

2020-06-22 Thread aberba via Digitalmars-d-announce
On Monday, 22 June 2020 at 16:43:12 UTC, Robert M. Münch wrote: On 2019-05-19 21:01:33 +, Robert M. Münch said: [...] Some now teaser, again might not look like a lot had happend but we move forward, slow but steady: https://www.dropbox.com/s/jjefzyneqnxr7pb/dgui_teaser-1.mp4 The

Re: How to work Get & Set text in clipboard in Windows ?

2020-06-22 Thread aberba via Digitalmars-d-learn
On Saturday, 20 June 2020 at 19:39:56 UTC, Vinod K Chandran wrote: On Saturday, 20 June 2020 at 13:46:05 UTC, Dennis wrote: Thanks a lot. Well, i thought it should be a one liner like- Clipboard.SetText(sText) But after reading your reply, i realized that this is D, not a scripting language.

Re: Arduino and MCU Support

2020-06-19 Thread aberba via Digitalmars-d-learn
On Friday, 19 June 2020 at 11:57:01 UTC, frasdoge wrote: I am looking to use D for microcontroller programming due to its benefits over C in workflow and general language features. I was wondering what the current state of this is, especially with regards to AVR. An example of the MCUs I

Re: Why is there no std.stream anymore?

2020-06-18 Thread aberba via Digitalmars-d-learn
On Thursday, 18 June 2020 at 15:03:38 UTC, Steven Schveighoffer wrote: On 6/18/20 10:53 AM, aberba wrote: On Tuesday, 12 December 2017 at 20:51:30 UTC, Steven Schveighoffer wrote: On 12/11/17 6:33 PM, Seb wrote: [...] Since iopipe was mentioned several times, I will say a couple things:

Re: Why is there no std.stream anymore?

2020-06-18 Thread aberba via Digitalmars-d-learn
On Tuesday, 12 December 2017 at 20:51:30 UTC, Steven Schveighoffer wrote: On 12/11/17 6:33 PM, Seb wrote: [...] Since iopipe was mentioned several times, I will say a couple things: [...] I should really try iopipe this time round. I think I avoided toying with it because the making

Re: dbox is a complete D2 port of the Box2D game physics library

2020-06-18 Thread aberba via Digitalmars-d-announce
On Thursday, 18 June 2020 at 14:38:27 UTC, aberba wrote: On Wednesday, 17 June 2020 at 01:20:00 UTC, Andrej Mitrovic wrote: On Tuesday, 16 June 2020 at 17:52:37 UTC, aberba wrote: On Friday, 23 May 2014 at 22:00:51 UTC, Andrej Mitrovic wrote: https://github.com/d-gamedev-team/dbox What is

Re: dbox is a complete D2 port of the Box2D game physics library

2020-06-18 Thread aberba via Digitalmars-d-announce
On Wednesday, 17 June 2020 at 01:20:00 UTC, Andrej Mitrovic wrote: On Tuesday, 16 June 2020 at 17:52:37 UTC, aberba wrote: On Friday, 23 May 2014 at 22:00:51 UTC, Andrej Mitrovic wrote: https://github.com/d-gamedev-team/dbox What is Box2D? == [...] This sort of investment still

Re: LDC 1.22.0

2020-06-16 Thread aberba via Digitalmars-d-announce
On Tuesday, 16 June 2020 at 20:12:12 UTC, kinke wrote: [...] Amazing. I just love the LDC momentum.

Re: Alpine support for D

2020-06-09 Thread aberba via Digitalmars-d-learn
On Wednesday, 10 June 2020 at 01:06:30 UTC, aberba wrote: On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote: I notice that in the new release for Alpine Linux it mentions support for D. I was curious what was meant by this and thought someone here would know. Just high level,

Re: Alpine support for D

2020-06-09 Thread aberba via Digitalmars-d-learn
On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote: I notice that in the new release for Alpine Linux it mentions support for D. I was curious what was meant by this and thought someone here would know. Just high level, like druntime was ported or packages added to the repo?

Re: Control flushing to stdout... core.osthread.Thread + arsd.terminal

2020-06-05 Thread aberba via Digitalmars-d-learn
On Friday, 5 June 2020 at 12:28:17 UTC, Adam D. Ruppe wrote: On Friday, 5 June 2020 at 11:45:31 UTC, aberba wrote: How can I make Thread.sleep() only run AFTER "Wait, signing you in ..." is written (force flushed) to stdout? just use explicit `terminal.flush();` any time you want the output

Re: Control flushing to stdout... core.osthread.Thread + arsd.terminal

2020-06-05 Thread aberba via Digitalmars-d-learn
On Friday, 5 June 2020 at 12:28:17 UTC, Adam D. Ruppe wrote: On Friday, 5 June 2020 at 11:45:31 UTC, aberba wrote: How can I make Thread.sleep() only run AFTER "Wait, signing you in ..." is written (force flushed) to stdout? just use explicit `terminal.flush();` any time you want the output

Control flushing to stdout... core.osthread.Thread + arsd.terminal

2020-06-05 Thread aberba via Digitalmars-d-learn
I have this code which take two inputs. I expect "Wait, signing you in ..." to be written to stdout before Thread.sleep() kicks in but it somehow doesn't follow that sequence. I believe its a normal stdout behaviour since its buffered. How can I make Thread.sleep() only run AFTER "Wait,

Re: Is there a list of things which are slow to compile?

2020-06-05 Thread aberba via Digitalmars-d-learn
On Wednesday, 3 June 2020 at 17:02:35 UTC, H. S. Teoh wrote: On Wed, Jun 03, 2020 at 09:36:52AM +, drathier via Digitalmars-d-learn wrote: I'm wondering if there's a place that lists things which are slower/faster to compile? DMD is pretty famed for compiling quickly, but I'm not seeing

Re: I want Sublime 3 D auto import !

2020-06-03 Thread aberba via Digitalmars-d-learn
On Monday, 1 June 2020 at 17:28:16 UTC, Johannes Loher wrote: On Monday, 1 June 2020 at 16:18:44 UTC, Виталий Фадеев wrote: [...] Demanding stuff usually doesn't work in this community. The usual answer is something like this: If you care about this, implement it yourself or pay somebody to

Re: DIP 1028--Make @safe the Default--Formal Assessment

2020-05-27 Thread aberba via Digitalmars-d-announce
On Thursday, 21 May 2020 at 18:36:51 UTC, H. S. Teoh wrote: On Thu, May 21, 2020 at 05:49:27PM +, Paul Backus via Digitalmars-d-announce wrote: [...] Even if we suppose for the sake of argument that the decision is sound on a technical level, this is poor leadership, and bodes ill for

Re: Codefence, an embeddable interactive code editor, has added D support.

2020-05-23 Thread aberba via Digitalmars-d-announce
On Saturday, 23 May 2020 at 15:04:35 UTC, Paulo Pinto wrote: Hi everyone, as the subject states, you can find it here, https://codefence.io/ The current version is 2.092.0 with dmd. Regards, Nice. Very useful. Imagine something like this for the D blog

Re: bindbc-sdl Updates

2020-04-18 Thread aberba via Digitalmars-d-announce
On Friday, 17 April 2020 at 03:48:09 UTC, Mike Parker wrote: On Thursday, 16 April 2020 at 18:55:21 UTC, Luis wrote: [...] I disagree. There are numerous examples of SDL on the internet. There are sites full of SDL tutorials. bindbc-sdl is a binding. It doesn't change the API. I'm not going

Re: bindbc-sdl Updates

2020-04-14 Thread aberba via Digitalmars-d-announce
On Friday, 10 April 2020 at 16:10:56 UTC, Mike Parker wrote: On Friday, 10 April 2020 at 14:53:25 UTC, aberba wrote: On Wednesday, 8 April 2020 at 06:32:39 UTC, Mike Parker wrote: I've updated the BindBC bindings (to the Simple Direct Media Layer (SDL) library and its satellite libraries to

Re: bindbc-sdl Updates

2020-04-10 Thread aberba via Digitalmars-d-announce
On Wednesday, 8 April 2020 at 06:32:39 UTC, Mike Parker wrote: I've updated the BindBC bindings (to the Simple Direct Media Layer (SDL) library and its satellite libraries to support the following: [...] Mike have you considered a binding to a common tool like SFML

Re: Online D Conference

2020-03-22 Thread aberba via Digitalmars-d-announce
On Tuesday, 17 March 2020 at 00:58:18 UTC, Walter Bright wrote: Starting a new thread for this instead of hijacking others. good reference. watch about doing live events https://www.youtube.com/watch?v=5MHCN_v_ubM

Re: Best way to learn 2d games with D?

2020-03-16 Thread aberba via Digitalmars-d-learn
On Tuesday, 17 March 2020 at 03:13:02 UTC, aberba wrote: On Sunday, 15 March 2020 at 17:58:58 UTC, Steven Schveighoffer wrote: I want to try and learn how to write 2d games. I'd prefer to do it with D. I've found a ton of tutorials on learning 2d gaming with other languages. Is there a place

<    1   2   3   4   5   6   >