Re: Giving up

2022-08-06 Thread Rumbu via Digitalmars-d-announce
On Saturday, 6 August 2022 at 08:29:19 UTC, Walter Bright wrote: On 8/5/2022 9:43 AM, Max Samukha wrote: Both "123." and "123.E123" is valid C. For some reason, D only copied the former. It's to support UFCS (Universal Function Call Syntax). The idea with C compatible aspects of D is to not

Re: Giving up

2022-08-05 Thread Rumbu via Digitalmars-d-announce
On Friday, 5 August 2022 at 16:37:56 UTC, Steven Schveighoffer wrote: I don't think that code ever built. Possibly you didn't test it properly originally. But if you are done with it, I guess it doesn't matter. -Steve Thank you for this. Deleted since everything is fake there and never

Re: Giving up

2022-08-05 Thread Rumbu via Digitalmars-d-announce
On Friday, 5 August 2022 at 16:08:50 UTC, Steven Schveighoffer wrote: Just saying, I see an integer. That's an integer according to the language (as far back as I can test, which is 2.060 released 2012). If that was somehow parsing as a float before, that was a bug in the parser. Since your

Giving up

2022-08-05 Thread Rumbu via Digitalmars-d-announce
Hi, Sincerely I am tired to maintain my library with every change made by D compiler. Mostly regressions. Bug reports are ignored or challenged, I don't have time to argue. Therefore, if someone finds interesting my decimal lib [0], please continue or maintain it from here, I stopped

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-24 Thread rumbu via Digitalmars-d-announce
On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote: Steven Schveighoffer has been using D to teach a group of children to program. He wrote about his experience for the D blog. Is D a viable first language? See what Steve has to say about it :-) The blog:

Time to setup D's wallet

2021-11-09 Thread Rumbu via Digitalmars-d-announce
Nim received a nice donation :) https://nim-lang.org/blog/2021/10/25/nim-receives-100k-usd-bitcoin.html You never know when it happens.

Windows Bindings v1.1

2021-02-20 Thread Rumbu via Digitalmars-d-announce
- updated to Windows SDK 10.19041.5 - wchar* constants with GUID patterns translated as GUID structures - improved documentation - strongly typed handles - auto disposed handles - new attributes (currently ignored): RetVal, NullNullTerminated, NotNullTerminated - published as dub package

Re: Windows Bindings v1.0

2021-02-18 Thread Rumbu via Digitalmars-d-announce
On Wednesday, 17 February 2021 at 20:53:49 UTC, tchaloupka wrote: On Tuesday, 16 February 2021 at 08:45:19 UTC, Rumbu wrote: The D Windows SDK projection reached first version. Generated bindings were compiled succesfully. https://github.com/rumbu13/windows-d Destroy! Thanks for this,

Re: Windows Bindings v1.0

2021-02-17 Thread Rumbu via Digitalmars-d-announce
On Wednesday, 17 February 2021 at 14:53:11 UTC, Steven Schveighoffer wrote: On 2/16/21 3:45 PM, Rumbu wrote: On Tuesday, 16 February 2021 at 08:53:06 UTC, rikki cattermole wrote: [...] Sincerely, I doubt that it's a good idea to duplicate gigs of WinAPI documentation which can be found on

Re: Windows Bindings v1.0

2021-02-16 Thread Rumbu via Digitalmars-d-announce
On Tuesday, 16 February 2021 at 20:49:30 UTC, Max Haughton wrote: On Tuesday, 16 February 2021 at 08:45:19 UTC, Rumbu wrote: The D Windows SDK projection reached first version. Generated bindings were compiled succesfully. https://github.com/rumbu13/windows-d Destroy! Hi, I'll be getting

Re: Windows Bindings v1.0

2021-02-16 Thread Rumbu via Digitalmars-d-announce
On Tuesday, 16 February 2021 at 08:53:06 UTC, rikki cattermole wrote: All of the symbols and modules need to be documented so that the documentation generators will generate documentation for them. Sincerely, I doubt that it's a good idea to duplicate gigs of WinAPI documentation which

Windows Bindings v1.0

2021-02-16 Thread Rumbu via Digitalmars-d-announce
The D Windows SDK projection reached first version. Generated bindings were compiled succesfully. https://github.com/rumbu13/windows-d Destroy!

Re: dud: A dub replacement

2019-11-20 Thread Rumbu via Digitalmars-d-announce
On Wednesday, 20 November 2019 at 13:37:39 UTC, Jacob Carlborg wrote: On Wednesday, 20 November 2019 at 11:40:19 UTC, Robert Schadek wrote: Here is disagree, to a degree I consider comments a code smell. If I have to write them, I failed to convey the information needed to understand the code

Re: D only has Advantages

2018-06-14 Thread rumbu via Digitalmars-d-announce
On Thursday, 14 June 2018 at 10:18:26 UTC, Walter Bright wrote: On 6/14/2018 2:53 AM, Unsafe wrote: "D only has advantages" ?? What is the point of such a post? Read the parent post. This was in fact the problem: it was not obvious that there is a parent post.

Re: Funding for code-d/serve-d

2018-05-08 Thread rumbu via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 05:53:43 UTC, Apocalypto wrote: On Monday, 7 May 2018 at 09:29:06 UTC, Dechcaudron wrote: Also, though I use WebFreak's extension for VS code, I never really got it to work 100% (never really invested more than a couple minutes either, to be fair). Thinks like syntax

Re: #include C headers in D code

2018-04-11 Thread rumbu via Digitalmars-d-announce
On Monday, 9 April 2018 at 11:03:48 UTC, Atila Neves wrote: Here's my blog post about my project that allows directly #including C headers in D* https://atilanevesoncode.wordpress.com/2018/04/09/include-c-headers-in-d-code/ Cannot manage to build it on Windows: D:\git\dpp>dub build WARNING:

Re: code-d 0.17.0 + serve-d 0.1.2

2018-04-04 Thread rumbu via Digitalmars-d-announce
On Tuesday, 3 April 2018 at 23:02:42 UTC, WebFreak001 wrote: new code-d (D extension for vscode) and serve-d (Language Server Protocol server for it) release dcd-server.exe remains active in memory after I quit VSCode. If I close/open VSCode several times, I have a lot of dcd-server.exe

Re: The D Language Foundation at Open Collective

2018-03-19 Thread rumbu via Digitalmars-d-announce
On Monday, 19 March 2018 at 07:22:42 UTC, Paolo Invernizzi wrote: On Thursday, 15 March 2018 at 12:36:24 UTC, Meta wrote: On Wednesday, 14 March 2018 at 12:00:42 UTC, Seb wrote: Yeah, the idea is that 5$ a month isn't much (~ one coffee in most countries), but if 500 people donate one coffee a

Re: Vision document for H1 2018

2018-03-16 Thread rumbu via Digitalmars-d-announce
On Friday, 16 March 2018 at 15:04:21 UTC, Kagamin wrote: On Thursday, 15 March 2018 at 16:03:14 UTC, rumbu wrote: Are you sure that you are talking about phobos and not tango? :) I'm eager to find how I'm uninformed. Tango doesn't use UFCS, while phobos and .net framework are big on

Re: Vision document for H1 2018

2018-03-15 Thread rumbu via Digitalmars-d-announce
On Thursday, 15 March 2018 at 21:10:47 UTC, flamencofantasy wrote: On Wednesday, 14 March 2018 at 05:22:53 UTC, rumbu wrote: I doubt that this was the blocker because C# had ArraySegment since .net framework 2.0 (2006), which is exactly a slice, but doesn't have the syntactic sugar for it.

Re: Vision document for H1 2018

2018-03-15 Thread rumbu via Digitalmars-d-announce
On Thursday, 15 March 2018 at 17:17:47 UTC, Dukc wrote: On Sunday, 11 March 2018 at 07:59:53 UTC, rumbu wrote: My opinion is that the day when C# will compile to native (on any platform), the C# developer interest in D will drop instantly. I do write a commerical project in C#. But I have an

Re: Vision document for H1 2018

2018-03-15 Thread rumbu via Digitalmars-d-announce
On Thursday, 15 March 2018 at 12:23:19 UTC, Kagamin wrote: No, FWIW phobos uses more or less the same programming solutions as .net framework, the claim that they are different is an uninformed opinion. Are you sure that you are talking about phobos and not tango? :) I'm eager to find how

Re: Proposal for a standard Decimal type in alpha

2018-03-14 Thread rumbu via Digitalmars-d-announce
On Wednesday, 14 March 2018 at 15:18:18 UTC, Jordi Gutiérrez Hermoso wrote: On Wednesday, 14 March 2018 at 14:57:12 UTC, rumbu wrote: For 20 decimal digits, you can use decimal128 (having a 34 decimal digits precision) and set the context precision to 20.

Re: Proposal for a standard Decimal type in alpha

2018-03-14 Thread rumbu via Digitalmars-d-announce
On Wednesday, 14 March 2018 at 14:41:21 UTC, Jordi Gutiérrez Hermoso wrote: On Wednesday, 14 March 2018 at 14:29:48 UTC, Seb wrote: https://forum.dlang.org/thread/mutegviphsjwqzqfo...@forum.dlang.org?page=1 While certainly impressive and feature-complete, rumbu's isn't a bigdecimal library.

Re: Vision document for H1 2018

2018-03-13 Thread rumbu via Digitalmars-d-announce
On Tuesday, 13 March 2018 at 23:20:22 UTC, Nick Sabalausky (Abscissa) wrote: On 03/11/2018 11:31 PM, Laeeth Isharc wrote: C# slices look great. I wonder if that might open the door for D on the CLR. I know that was attempted once a long way back, but was deemed infeasible and abandoned.

Re: Vision document for H1 2018

2018-03-12 Thread rumbu via Digitalmars-d-announce
On Monday, 12 March 2018 at 04:48:43 UTC, psychoticRabbit wrote: but I think comparing things in the C# world, to things in the D world, does not make a lot of sense, really. It's like comparing my local corner shop to some worldwide supermarket chain. I'm comparing two open source

Re: Vision document for H1 2018

2018-03-11 Thread rumbu via Digitalmars-d-announce
On Monday, 12 March 2018 at 03:11:34 UTC, Laeeth Isharc wrote: You don't need to have subsystem for Linux to use bash. Just the standard git client for Windows is enough. Happy to find out about this. It's not like using git bash everyday on Windows to know this by default. sh setup.sh

Re: Vision document for H1 2018

2018-03-11 Thread rumbu via Digitalmars-d-announce
On Monday, 12 March 2018 at 03:37:11 UTC, Laeeth Isharc wrote: cd test make all -j8 Command error: undefined switch '-j8' Why are you adding -j8 ? Does it say to do so in the instructions ? Try without it. (I can't test here as typing from my phone).

Re: Vision document for H1 2018

2018-03-11 Thread rumbu via Digitalmars-d-announce
On Sunday, 11 March 2018 at 17:15:28 UTC, Seb wrote: I assume you are using Windows? Yes, I'm the typical lazy convenient Windows user scared of the terminal window. Setup on Posix is really simple. git clone all three repos + run make. I am happy for Posix users. Theoretically the

Re: Vision document for H1 2018

2018-03-11 Thread rumbu via Digitalmars-d-announce
On Sunday, 11 March 2018 at 14:37:28 UTC, bachmeier wrote: And this clarifies the source of your confusion. The D programming language is an open source project, not a for-profit company. D is not the language you're looking for. There are 3 years since C# is also open source project. Last

Re: Vision document for H1 2018

2018-03-11 Thread rumbu via Digitalmars-d-announce
On Sunday, 11 March 2018 at 01:10:28 UTC, psychoticRabbit wrote: On Sunday, 11 March 2018 at 00:36:19 UTC, Dylan Graham wrote: And personally, depending on the problem, C# is better to program in than D. I still don't know why C# programmers are willing to give up C# and prefer to use D. C#

Re: State of D 2018 Survey

2018-03-10 Thread rumbu via Digitalmars-d-announce
On Saturday, 10 March 2018 at 14:24:42 UTC, Johannes Loher wrote: Is there a way to directly view the results without taking the survey again? https://dlang.typeform.com/report/H1GTak/PY9NhHkcBFG0t6ig

Re: Vision document for H1 2018

2018-03-10 Thread rumbu via Digitalmars-d-announce
On Saturday, 10 March 2018 at 11:07:56 UTC, psychoticRabbit wrote: On Saturday, 10 March 2018 at 10:47:09 UTC, Dylan Graham wrote: Yeah. Why should D worry about tying itself into C when it can't even interface with itself through DLLs? A reasonable point. But.. in any case.. people work

Re: Vision document for H1 2018

2018-03-10 Thread rumbu via Digitalmars-d-announce
On Friday, 9 March 2018 at 21:43:53 UTC, Andrei Alexandrescu wrote: Hello, the vision document of the Founation for the first six months of 2018 is here: https://wiki.dlang.org/Vision/2018H1 According to the State of D Survey, 71% of the respondents don't care about betterC. Why is betterC

Re: parallel copy directory, faster than robocopy

2018-02-07 Thread rumbu via Digitalmars-d-announce
On Tuesday, 6 March 2012 at 00:29:01 UTC, Jay Norwood wrote: H:\xx8>robocopy /E /NDL /NFL /NC /NS /MT:8 xx8c xx8ca For a fair comparison, I think that's the command line: robocopy /E /NDL /NFL /NC /NS /MT:8 /COPY:D /NODCOPY /XJ /R:0 /W:0 /NP /NJH /NJS /256 xx8c xx8ca

Re: Another take on decimal data types

2018-01-14 Thread rumbu via Digitalmars-d-announce
On Sunday, 14 January 2018 at 11:44:39 UTC, kdevel wrote: On Sunday, 14 January 2018 at 07:20:26 UTC, rumbu wrote: On Saturday, 13 January 2018 at 22:51:18 UTC, kdevel wrote: [...] Can you please tell me on your system what are the values for real.sizeof and real.mant_dig? They are 12 and

Re: Another take on decimal data types

2018-01-13 Thread rumbu via Digitalmars-d-announce
On Saturday, 13 January 2018 at 22:51:18 UTC, kdevel wrote: On Saturday, 13 January 2018 at 22:05:02 UTC, rumbu wrote: Now it prints: 1.00+0.84147098480789650669 +0.8414709848078965066525023216302990 +2.653e-18 My values differ slightly 1.00

Re: Another take on decimal data types

2018-01-13 Thread rumbu via Digitalmars-d-announce
On Saturday, 13 January 2018 at 20:40:20 UTC, kdevel wrote: On Saturday, 13 January 2018 at 19:28:40 UTC, rumbu wrote: On Saturday, 13 January 2018 at 18:37:10 UTC, kdevel wrote: I get large numerical dicrepancies and an exception: That's because you are mixing floating point and decimal.

Re: Another take on decimal data types

2018-01-13 Thread rumbu via Digitalmars-d-announce
On Saturday, 13 January 2018 at 18:37:10 UTC, kdevel wrote: I get large numerical dicrepancies and an exception: That's because you are mixing floating point and decimal. Just to take one example: double 1.1 cannot be represented exactly as floating point and it's in fact

Re: Another take on decimal data types

2018-01-13 Thread rumbu via Digitalmars-d-announce
On Saturday, 13 January 2018 at 13:56:20 UTC, kdevel wrote: Now my code does no longer compiles against the decimal package. This is my directory structure: I received a suggestion to reorganize the file structure because of some bug in dub

Re: Proposal for a standard Decimal type in alpha

2018-01-13 Thread rumbu via Digitalmars-d-announce
On Friday, 12 January 2018 at 15:44:01 UTC, Jack Stouffer wrote: On Thursday, 21 December 2017 at 13:59:28 UTC, Jack Stouffer wrote: ... While I believe my library has certain API advantages, I'm really not interested in duplicating a bunch of work when rumbu's version is pretty much

Re: Another take on decimal data types

2018-01-12 Thread rumbu via Digitalmars-d-announce
On Friday, 12 January 2018 at 13:09:42 UTC, kdevel wrote: $ dmd nosine.d decimal.git/libdecimal.a decimal/package.d(10505): Error: undefined identifier decimalCapAngle Sorry, broke some code when I made the split. Now it's working.

Re: Another take on decimal data types

2018-01-11 Thread rumbu via Digitalmars-d-announce
On Thursday, 11 January 2018 at 23:57:29 UTC, kdevel wrote: What about the failed comparison: You are right in fact, there is also a failed comparison. Now corrected.

Re: Another take on decimal data types

2018-01-11 Thread rumbu via Digitalmars-d-announce
On Thursday, 11 January 2018 at 23:57:29 UTC, kdevel wrote: What about the failed comparison: gt.d ``` import std.stdio; import decimal; void loopme(T) () { "---".writeln; T e = 10; while (e > 1e-6) { e /= 10; writeln (e, ' ', e > 1e-6); } } void main () {

Re: Another take on decimal data types

2018-01-11 Thread rumbu via Digitalmars-d-announce
On Thursday, 11 January 2018 at 21:24:30 UTC, kdevel wrote: On Thursday, 11 January 2018 at 20:44:13 UTC, kdevel wrote: On Thursday, 11 January 2018 at 20:35:03 UTC, kdevel wrote: <--- loop output missing loop.d ``` import std.stdio; import decimal; void loopme(T) () {

Re: Another take on decimal data types

2018-01-11 Thread rumbu via Digitalmars-d-announce
On Thursday, 11 January 2018 at 11:19:41 UTC, Robert M. Münch wrote: On 2018-01-08 22:16:25 +, rumbu said: This is my first D finalized project (+16k loc). Great stuff! Will this work in betterC mode? It will not work without some refactory. Most of phobos/druntime dependencies are

Re: Another take on decimal data types

2018-01-09 Thread rumbu via Digitalmars-d-announce
On Monday, 8 January 2018 at 22:54:06 UTC, rikki cattermole wrote: Great job. 1) Assembly 2) That file needs to be split up. I can feel the lag as I scroll it. 1) I don't understand :) 2) Done. On Monday, 8 January 2018 at 22:46:27 UTC, Daniel Kozak wrote: Wow awesome, it would be nice if

Another take on decimal data types

2018-01-08 Thread rumbu via Digitalmars-d-announce
This is my first D finalized project (+16k loc). I know that there are other two projects intended to provide a decimal data type for D, but I consider mine the most complete and most compliant to the standards (at least until now). There are two years of since I'm working on it (and

Re: Questionnaire

2017-02-16 Thread rumbu via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 18:27:57 UTC, Ilya Yaroshenko wrote: 1. Why your company uses D? a. D is the best b. We like D c. I like D and my company allowed me to use D d. My head like D e. Because marketing reasons f. Because my company can be more efficient with D for some

Re: Walter Bright, Scott Meyers and me live on the most watched morning show in Romania

2015-10-19 Thread rumbu via Digitalmars-d-announce
On Saturday, 17 October 2015 at 22:39:17 UTC, Ali Çehreli wrote: On 10/17/2015 02:36 AM, Andrei Alexandrescu wrote: use Google Translate for the text). Ok, let's try it: His name is Andrei Alexandrescu - and is famous as "novel from Facebook". :) Ali That's because they don't use

Re: Walter Bright, Scott Meyers and me live on the most watched morning show in Romania

2015-10-19 Thread rumbu via Digitalmars-d-announce
Here you go: Few jobs are safe choices for a future career. However, the programmer job is guaranteed as being a „gold bracelet”. Who and especially how can one innitiate this path? A respected specialist from Silicon Valley will answer these questions for us. His name is Andrei