Re: Is there a native function to detect if file is UTF encoding?

2014-08-22 Thread Dejan Lekic via Digitalmars-d
On Friday, 22 August 2014 at 13:53:04 UTC, MacAsm wrote: To call decode() from std.encoding I need to make sure it is an UTF (may ne ASCII too) otherwise is will skyp over ASCII values. Is there any D native for it or I need to check byte order mark and write one myself? You may want to take

Re: Looking to hire: 2-3 programmers, candidates will likely need to learn D.

2014-08-29 Thread Dejan Lekic via Digitalmars-d
On Monday, 21 July 2014 at 02:43:51 UTC, Vic wrote: (I hope OK to post:) Location: Silicon Valley /San Jose, CA/ or Dallas TX. Current 'app' version is mostly Java/Tomcat, so will need to maintain that while writing a new version, likely mostly D ( possibly Qt depending on GC ). (Also a few li

`Reconsidering Custom Memory Allocation`

2014-09-15 Thread Dejan Lekic via Digitalmars-d
Yesterday I stumbled upon this excellent research paper: Reconsidering Custom Memory Allocation - (PDF: http://people.cs.umass.edu/~emery/pubs/berger-oopsla2002.pdf ) It got the "Most Influential OOPSLA Paper Award" in 2012. Abstract (for those lazy to read it): "Custom memory management is

Re: Blaming the D language

2014-10-22 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 22 October 2014 at 08:14:24 UTC, Ola Fosheim Grøstad wrote: 2. Easy to write ugly code: It suffers from the same issues as macros. It is easy to write ugly code in D without string mixins. Just take a look at the (ab)use of UFCS...

Re: 'partial' keyword in C# is very good for project , what's the same thing in D?

2014-10-31 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 29 October 2014 at 12:55:01 UTC, FrankLike wrote: The same thing in D should be done,now.Otherwise,no big projects can be done like C#. Add another keyword,and update the compiler. This certainly made me laugh... I work on a very big project (Java / JBoss / Swing) and we do no

Re: Need help deciphering posix.mak

2014-11-28 Thread Dejan Lekic via Digitalmars-d
On Friday, 28 November 2014 at 08:45:30 UTC, Jacob Carlborg wrote: There's usually no problems with Python on Posix, but on Windows, I really don't want that. I really like that DMD has so few dependencies. Same here. I prefer the current situation where we build DMD and runtime using Make.

Re: Need help deciphering posix.mak

2014-11-28 Thread Dejan Lekic via Digitalmars-d
I never liked SCons for some reason. I prefer CMake over it. Waf is IMHO better than SCons too. Maybe it is more fair to compare SCons and Waf as they both are Python-based. Anyhow, use whatever works for you. :)

Re: 2 types of D users, both can live together happily if we adjust

2014-12-03 Thread Dejan Lekic via Digitalmars-d
Saying that there are "2 types of D users" is the same as saying "I see the world black and white". :) - It is far from reality. D community has lots of "groups" if you look closely. Examples: 1) OOP vs functional/declarative group. 2) system programming vs business programming group. 3) no-GC

Re: What's missing to make D2 feature complete?

2014-12-22 Thread Dejan Lekic via Digitalmars-d
On Saturday, 20 December 2014 at 17:40:06 UTC, Martin Nowak wrote: Just wondering what the general sentiment is. For me it's these 3 points. - tuple support (DIP32, maybe without pattern matching) - working import, protection and visibility rules (DIP22, 313, 314) - finishing non-GC memory ma

Re: DIP60: @nogc attribute

2014-04-17 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 15 April 2014 at 17:01:38 UTC, Walter Bright wrote: http://wiki.dlang.org/DIP60 Start on implementation: https://github.com/D-Programming-Language/dmd/pull/3455 This is a good start, but I am sure I am not the only person who thought "maybe we should have this on a module level".

Re: DIP60: @nogc attribute

2014-04-17 Thread Dejan Lekic via Digitalmars-d
@nogc module mymodule; This is precisely what I had in mind.

Re: Ehem, ARM

2014-04-23 Thread Dejan Lekic via Digitalmars-d
On Thursday, 14 November 2013 at 14:47:47 UTC, Chris wrote: I know, I know, this question has been asked many times before. But it came up in a meeting the other day: is there any work being done on making D an ARM citizen so that _non-trivial_ D code can be ported to smartphones and the like?

Re: Advertising "D Cookbook" on http://dlang.org or http://wiki.dlang.org/Books

2014-05-06 Thread Dejan Lekic via Digitalmars-d
Andrei Alexandrescu wrote: > Hello, > > > Walter and I got asked by Packt Publishing about advertising Adam D. > Ruppe's "D Cookbook" on http://dlang.org/ or > http://wiki.dlang.org/Books. They'd be paying 2-5% of the royalties > depending on the ads' prominence. I estimate that would be low in

Re: Julia vs. D?

2014-05-06 Thread Dejan Lekic via Digitalmars-d
bearophile wrote: > Chris: > >> That would increase the security during runtime (plugins, >> libraries, crackers). > > Yes, and also gives almost native performance. > > Bye, > bearophile One can argue that every modern JIT achieves "almost native performance" ... -- http://dejan.lekic.org

Re: Optional monitors suggestion

2014-05-14 Thread Dejan Lekic via Digitalmars-d
Actually, I prefer your original proposal @no_monitor as I expect D classes to have monitors by default, until D eventually changes. Having @monitor implies that by default there are no monitors (which makes sense, but unfortunatelly that is not the current state of affairs in D).

Re: We forgot to define a MIME-type for D!

2014-05-23 Thread Dejan Lekic via Digitalmars-d
On Sunday, 10 February 2013 at 17:15:40 UTC, Marco Leise wrote: Oh noes... Now Mono-Develop used text/x-d and Pygments uses text/x-dsrc. FreeDesktop guys have set `text/x-dsrc` to be the MIME type for the D source files. You can find it in /usr/share/mime/globs file.

Re: Thank you Kenji

2014-05-23 Thread Dejan Lekic via Digitalmars-d
On Friday, 23 May 2014 at 04:11:39 UTC, Martin Nowak wrote: Today at DConf we learned, once again, that people are doing and starting amazing projects using D. A lot of which wouldn't have been possible without your contribution. So I just wanted to say thank you. -Martin If anyone deserves th

Re: D Language Version 3

2014-05-28 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 28 May 2014 at 03:25:28 UTC, Suminda Dharmasena wrote: Hi, D2 has been out for a while. Looking to see what the roadmap is like towards D3? Suminda FYI there is no stable version of D2. There are still many grey areas and there are yet to come possible radical changes to come

Re: Dev. Collaboration

2014-05-28 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 27 May 2014 at 00:12:59 UTC, chuck wrote: Would anyone be interested in a collaboration forum? I am thinking of starting one on Proboards to aid in development/collaboration between developers on D and libraries/bindings. Reading through the posts, I have seen that several people h

Re: SurveyMonkey for D users OS

2014-05-30 Thread Dejan Lekic via Digitalmars-d
Abdulhaq wrote: > I've created a SurveyMonkey survey to gather stats on D users OS > usage. It only takes a few seconds to answer: > > https://www.surveymonkey.com/s/3BJRWP8 > > We can leave it running for a week or so, I'll keep you updated > on results. > > Abdulhaq No offense, but for one q

Re: [OT] Apple introduces Swift as Objective-C sucessor

2014-06-03 Thread Dejan Lekic via Digitalmars-d
On Monday, 2 June 2014 at 19:19:27 UTC, Paulo Pinto wrote: Just thought it would be nice to give a heads up about Apple's plans to replace Objective-C in the long run. The language was presented today at the WWDC Keynote, looks like Ruby, uses ARC alongside the Objective-C runtime. http://li

Re: D's gui controls need a cool control for DataBase Programming

2014-06-03 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 3 June 2014 at 09:11:59 UTC, FrankLike wrote: Now,D is very cool for System Programming,but it's not cool for Database Programming. It needs some controls such as Calendar,DataTimePicker, DataGrid,DataView etc. DataGrid can display a lot of data ,such as Chinese chars ,and filter them

Re: [OT] Extra time spent

2014-06-04 Thread Dejan Lekic via Digitalmars-d
On Friday, 30 May 2014 at 11:35:19 UTC, Chris wrote: Reading through Adam's book at home made me think about how much time I've spent reading / learning / thinking about programs outside the office. I read TDPL in my spare time. I checked out things in the D Cookbook in my spare time and appli

Re: Swift is based LLVM,what will the D's LDC do?

2014-06-04 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 4 June 2014 at 09:45:21 UTC, Temtaime wrote: I think too that main branch of D should be LDC. Proprietary backend is one big mistake. No matter how I like LDC, I disagree. People obviously forget the fact that DMD is a REFERENCE IMPLEMENTATION of a D compiler. - Nobody has to use

Re: [OT] Extra time spent

2014-06-06 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 4 June 2014 at 17:57:16 UTC, Nick Sabalausky wrote: On 6/4/2014 7:59 AM, Dejan Lekic wrote: I humbly believe programmer who does not spend spare time reading literature related to his/her work is most likely going to lose the job at some point, as people who DO spend time in the

Re: SurveyMonkey for D users OS - Results

2014-06-06 Thread Dejan Lekic via Digitalmars-d
One 'other' vote was spoiled. It turns out that the free SurveyMonkey account only allows 100 votes max, but the profile has been much the same since 50 votes so I think the ratios are clear. Perhaps you should try http://www.surveygalaxy.com . That is what I use when I need a survey.

[OT] C++ the Clear Winner In Google's Language Performance Tests

2014-06-06 Thread Dejan Lekic via Digitalmars-d
Slashdot thread: http://developers.slashdot.org/story/11/06/15/0242237/c-the-clear-winner-in-googles-language-performance-tests Research paper: https://days2011.scala-lang.org/sites/days2011/files/ws3-1-Hundt.pdf I wonder what would be situation if they included D, Rust and even Ur in that b

Re: D Grammar in BNF Text Form?

2014-06-06 Thread Dejan Lekic via Digitalmars-d
On Friday, 6 June 2014 at 12:05:36 UTC, Robert Schadek via Digitalmars-d wrote: On 06/06/2014 12:29 PM, Tom Browder via Digitalmars-d wrote: Can anyone point me to a text version of the D grammar in some kind of BNF or EBNF format? The D lang web site's info is close, but it's buried in html

Re: Fedora DMD package

2014-06-06 Thread Dejan Lekic via Digitalmars-d
Russel Winder via Digitalmars-d wrote: > Is there a good reason why the dmd Fedora 20 package pulls in the > following as dependencies: > > cyrus-sasl-libi686 2.1.26-14.fc20fedora > 152 k > glibc-devel i686 2.18-12.fc20 updates > 1.0 M > lib

Re: Need review: explicit package protection

2014-06-09 Thread Dejan Lekic via Digitalmars-d
On Sunday, 8 June 2014 at 15:37:06 UTC, Dicebot wrote: Finally got to cleanup and submit this PR: https://github.com/D-Programming-Language/dmd/pull/3651 While proposed change is very small (and backwards-compatible) and not worth separate DIP, it is still a language change and needs community a

Re: Free wildcard SSL certificates for OS projects

2014-06-09 Thread Dejan Lekic via Digitalmars-d
Dicebot wrote: > Have just found https://www.globalsign.com/ssl/ssl-open-source/ , > states to provides certificates (including wildcard ones) for > free if your project complies to: > > - Must be licensed with a license approved by the Open Source > Initiative > - Project must be actively mainta

Re: What's going on with std.experimental.lexer?

2014-06-09 Thread Dejan Lekic via Digitalmars-d
On Thursday, 5 June 2014 at 10:57:37 UTC, Dicebot wrote: On Wednesday, 4 June 2014 at 21:12:25 UTC, Brian Schott wrote: I've been looking at ways to optimize the D lexer's operation using SIMD instructions. I'm not yet sure if I'll need to change the lexer generator's API to do this. I'm going

Re: dlang website: remove that quick try editor

2014-06-09 Thread Dejan Lekic via Digitalmars-d
John wrote: > dlang.org website has a quick try editor with D code example. > Please remove that feature (at least the buttons to run it) as it > takes ages to run the example and leaves an impression that D is > very slow!! > > This is only good if it can run quickly like the similar feature > a

Re: Need review: explicit package protection

2014-06-11 Thread Dejan Lekic via Digitalmars-d
I'd call this "INVALID WON"T FIX" :) D module system is defined to have strong 1-to-1 matching with file system. Any attempt to circumvent that in favor of personal preferences is asking for trouble and is not worth supporting. I can only agree with this, but fact is that D allows flattened p

Re: What's going on with std.experimental.lexer?

2014-06-13 Thread Dejan Lekic via Digitalmars-d
Please no. See: javax Spelling out 'experimental' is probably the best, for all those reasons already stated. What's wrong with javax?

Re: Standard GUI framework inspired by Qt

2015-03-09 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 3 March 2015 at 18:43:50 UTC, Aram wrote: Hi all I've been thinking over a GUI framework for D for some time, and ended up with idea expressed by Andrew Fedoniouk here: http://www.digitalmars.com/d/archives/digitalmars/D/32633.html. That is, having a separate drawing layer, and wi

Re: A few notes on choosing between Go and D for a quick project

2015-03-13 Thread Dejan Lekic via Digitalmars-d
On Friday, 13 March 2015 at 06:57:29 UTC, Russel Winder wrote: On Thu, 2015-03-12 at 20:24 -0700, Walter Bright via Digitalmars-d wrote: […] There's no doubt about it, people like simple languages. We should very much keep that in mind when evaluating proposals for new features. How about

Re: const as default for variables

2015-03-17 Thread Dejan Lekic via Digitalmars-d
On Saturday, 14 March 2015 at 20:15:30 UTC, Walter Bright wrote: I've often thought, as do many others here, that immutability should be the default for variables. [This is a long term issue. Just thought maybe it's time for a conversation about it.] Because immutable is transitive, declarin

Re: Enhancement: issue error on all public functions that are missing ddoc sections

2015-03-24 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 18 March 2015 at 18:48:53 UTC, Walter Bright wrote: I'm fed up with this problem. It is actively hurting us every day. https://issues.dlang.org/show_bug.cgi?id=14307 Anyone want to take this on? Shouldn't be particularly difficult. I could take this task, with help of Brian's

Re: Enhancement: issue error on all public functions that are missing ddoc sections

2015-03-24 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 24 March 2015 at 14:17:26 UTC, Dejan Lekic wrote: On Wednesday, 18 March 2015 at 18:48:53 UTC, Walter Bright wrote: I'm fed up with this problem. It is actively hurting us every day. https://issues.dlang.org/show_bug.cgi?id=14307 Anyone want to take this on? Shouldn't be particula

Re: Novel list

2015-03-25 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 25 March 2015 at 09:29:40 UTC, Russel Winder wrote: http://hammerprinciple.com/therighttool/statements/this-language-is-best-for-very-large-projects Nice one - I wonder what people answered to "PROGRAMS WRITTEN IN THIS LANGUAGE WILL USUALLY WORK IN FUTURE VERSIONS OF THE LANGUA

Re: Fun project - faster associative array algorithm

2015-04-08 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 7 April 2015 at 17:25:00 UTC, Walter Bright wrote: The current D associative array algorithm https://github.com/D-Programming-Language/druntime/blob/master/src/rt/aaA.d uses an array of buckets with a linked list attached to the buckets to resolve collisions. Linked lists a

Re: Good examples of value types

2015-05-07 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 5 May 2015 at 20:40:59 UTC, Luís Marques wrote: Hi, For a comparison with the Java language, I'm trying to come up with some good examples of custom types that should be value types (but that must be ref types in Java). I think the most obvious ones are numeric types. So BigNum, M

Re: Passing $ as a function argument

2018-10-11 Thread Dejan Lekic via Digitalmars-d
On Thursday, 11 October 2018 at 06:58:08 UTC, Simen Kjærås wrote: unittest { auto x = fun($); // What does it even mean? } After some reading through the whole thread I think his "$ idea" can only be applied to a RandomAccessRange (and similar) where the size can be known...

Re: You don't like GC? Do you?

2018-10-12 Thread Dejan Lekic via Digitalmars-d
On Friday, 12 October 2018 at 16:26:49 UTC, Stanislav Blinov wrote: On Thursday, 11 October 2018 at 21:22:19 UTC, aberba wrote: "It takes care of itself --- When writing a throwaway script... ...there's absolutely no need for a GC. In fact, the GC runtime will only

Re: dmd -unittest= (same syntax as -i)

2018-03-16 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 14 March 2018 at 22:04:50 UTC, Adam D. Ruppe wrote: On Wednesday, 14 March 2018 at 21:22:01 UTC, Timothee Cour wrote: would a PR for `dmd -unittest= (same syntax as -i)` be welcome? so when this came up on irc earlier (was that you?) this was the first thought that came to my mi

Re: Is D releasing too often?

2018-05-14 Thread Dejan Lekic via Digitalmars-d
On Monday, 14 May 2018 at 07:20:48 UTC, Joakim wrote: There have been 6 major releases of dmd over the last year, with ldc trying to keep pace, currently only one release behind. This is a big jump up from the previous release schedule, I see 2 major releases in 2014, 3 in 2015, and 3 in 2016.

Re: D on top of Hacker News!

2018-06-05 Thread Dejan Lekic via Digitalmars-d
On Sunday, 3 June 2018 at 17:40:46 UTC, I love Ice Cream wrote: Is D really a top 20 language? I don't remember seeing it anywhere close to the top 20. https://www.tiobe.com/tiobe-index/ has them in 31 Top comment is kind of depressing. The right place to look is https://www.tiobe.com/tiob

Re: A Case for Oxidation: A potential missed opportunity for D

2018-06-29 Thread Dejan Lekic via Digitalmars-d
On Friday, 29 June 2018 at 10:55:27 UTC, kinke wrote: Phobos. I understand the separate 'minimal runtime' need for bare metal (no Type- and ModuleInfos etc.), but I can't help myself in seeing betterC as, nicely put, worseD. I acknowledge I *completely* agree. However, I have nothing against b

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-24 Thread Dejan Lekic via Digitalmars-d
On Friday, 24 August 2018 at 13:04:28 UTC, Chris wrote: I've been working with Java recently and although it is not an exciting language, it does the job and it does it well. You can rely on it to get the job done - and get it done fast. And you know that your code will still work next week, mo

Re: What changes to D would you like to pay for?

2018-09-07 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 5 September 2018 at 07:00:49 UTC, Joakim wrote: The D foundation is planning to add a way for us to pay for changes we'd like to see in D and its ecosystem, rather than having to code everything we need ourselves or find and hire a D dev to do it: I would donate again to DFounda

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-11 Thread Dejan Lekic via Digitalmars-d
On Monday, 10 September 2018 at 13:43:46 UTC, Joakim wrote: LDC recently added a linux/AArch64 CI for both its main branches and 64-bit ARM, ie AArch64, builds have been put out for both linux and Android. It does not seem that many are paying attention to this sea change that is going on with

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-12 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 12 September 2018 at 08:09:46 UTC, Joakim wrote: I contacted one of the few companies putting out RISC-V dev boards, Sifive, a couple weeks ago with the suggestion of making available a paid RISC-V VPS, and one of their field engineers got back to me last week with a note that the

Re: Warn on unused imports?

2018-09-26 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 25 September 2018 at 13:03:30 UTC, FeepingCreature wrote: I'm playing with a branch of DMD that would warn on unused imports: I humbly believe this does not belong to the compiler. These sort of things belong to a static code analyser TOOL. Think of checkstyle/findbugs in Java, or

Re: Please don't do a DConf 2018, consider alternatives

2018-10-03 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 2 October 2018 at 06:26:30 UTC, Joakim wrote: I'm sure some thought and planning is now going into the next DConf, so I'd like to make sure people are aware that the conference format that DConf uses is dying off, as explained here: https://marco.org/2018/01/17/end-of-conference-e

Re: Warn on unused imports?

2018-10-03 Thread Dejan Lekic via Digitalmars-d
On Thursday, 27 September 2018 at 18:35:58 UTC, Nick Sabalausky (Abscissa) wrote: On 09/26/2018 04:37 AM, Dejan Lekic wrote: On Tuesday, 25 September 2018 at 13:03:30 UTC, FeepingCreature wrote: I'm playing with a branch of DMD that would warn on unused imports: I humbly believe this does not

Re: Please don't do a DConf 2018, consider alternatives

2018-10-03 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 3 October 2018 at 16:21:45 UTC, Joakim wrote: Like most of the responses in this thread, I have no idea why you're stumping for in-person interaction, when all my suggestions were geared around having _more in-person interaction_. If you're still not sure what I mean, read this

Re: Note from a donor

2017-10-24 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 24 October 2017 at 13:20:10 UTC, Andrei Alexandrescu wrote: A person who donated to the Foundation made a small wish list known. Allow me to relay it: * RSA Digital Signature Validation in Phobos * std.decimal in Phobos * better dll support for Windows. Andrei First two are in m

Re: Project Elvis

2017-10-30 Thread Dejan Lekic via Digitalmars-d
On Saturday, 28 October 2017 at 11:38:52 UTC, Andrei Alexandrescu wrote: Walter and I decided to kick-off project Elvis for adding the homonym operator to D. Razvan Nitu has already done a good part of the work: https://github.com/dlang/dmd/pull/7242 https://github.com/dlang/dlang.org/pull/191

Re: Project Elvis

2017-11-07 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 7 November 2017 at 09:42:50 UTC, Satoshi wrote: I strongly agree with you. As I wrote earlier int this thread. Kotlin has the `?.` operator for the same reason. I honestly can't think of a more obvious operator for that purpose...

Re: DConf 2018 Logo

2017-11-17 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 15 November 2017 at 14:56:53 UTC, Andrei Alexandrescu wrote: Hello, for all of you with expertise in graphics, we'd be in your debt if you could create a logo for DConf 2018. Proposals would be appreciated! Thanks, Andrei Why a new logo? The last year's one is superb and shoul

RFC: patch statement

2017-04-03 Thread Dejan Lekic via Digitalmars-d
I know people her do not like to see proposals that change (add stuff to) the language. However, I strongly feel that for the testing purposes D should provide means to patch any object (no matter whether it is final or not!). Therefore I wonder what people think of adding a `patch(obj) {}` or

Re: pImpl in D

2017-04-04 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 4 April 2017 at 12:05:15 UTC, Satoshi wrote: Hi, do someone have any experience with pImpl and inheritance in D? Some parts of Phobos use it. Example: https://github.com/dlang/phobos/blob/master/std/stdio.d Have a look at the struct ByLine It has something like: struct ByLin

Re: Thoughts from newcommer

2017-04-13 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 12 April 2017 at 09:38:49 UTC, Russel Winder wrote: On Tue, 2017-04-11 at 20:07 +, Stefan Koch via Digitalmars-d wrote: […] At the risk of starting a flame war: The memory safety is currently in the works. We just have one std-lib now. GC is slow, yes. I don't care, it d

Re: sqlite3 vs. sqlite-d

2017-06-08 Thread Dejan Lekic via Digitalmars-d
On Thursday, 8 June 2017 at 13:37:41 UTC, Russel Winder wrote: Exactly my point. Using SQLAlchemy made me actually enjoy writing database code. Which I did last year having avoided it Using ORM like SQLAlchemy certainly has benefits but like any other ORM, it generates hideous SQL code, somet

Re: Replacing Make for the DMD build

2017-06-19 Thread Dejan Lekic via Digitalmars-d
On Friday, 16 June 2017 at 06:30:01 UTC, Russel Winder wrote: A direct question to Walter and Andrei really. If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it being allowed to replace the Make system? If the answer is no, t

Re: Request for Features/Ideas: A std.archive package

2015-05-19 Thread Dejan Lekic via Digitalmars-d
On Sunday, 17 May 2015 at 16:32:31 UTC, Liam McSherry wrote: Phobos currently has packages for working with various archives (Zlib/Gzip, Zip), and it's probably reasonable to expect that support for more archive formats will be added in future. Before any more are added, it would probably be be

Re: Any plans to support STL value types?

2015-05-19 Thread Dejan Lekic via Digitalmars-d
On Friday, 15 May 2015 at 19:51:09 UTC, anonymous wrote: On Friday, 15 May 2015 at 19:44:29 UTC, Jonathan M Davis wrote: On Friday, 15 May 2015 at 18:42:31 UTC, Kagamin wrote: Many STL types inherit from base classes, yet they are used as value types: std::string, std::vector etc. Are there pla

Re: Negation of attributes (DIP 79)

2015-06-02 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 2 June 2015 at 12:13:47 UTC, ref2401 wrote: On Tuesday, 2 June 2015 at 10:29:35 UTC, Daniel Kozak wrote: I am working on dip which will try to addressed negation of attributes issue. http://wiki.dlang.org/DIP79 You propose to add extra difficulty to the language and the only reas

Re: Suggested enhancement: New basic datatype: 'dec'.

2015-06-25 Thread Dejan Lekic via Digitalmars-d
I must admit I only quickly read the post - I think this can relatively easily be done as a template, and (depending on the quality of that template) it could go into Phobos.

Re: End of life for Windows Server 2003 R2 is July 14, 2015

2015-06-26 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 24 June 2015 at 16:10:44 UTC, Iain Buclaw wrote: http://www.microsoft.com/en-us/server-cloud/products/windows-server-2003/ Which means that (strictly speaking), in 3 weeks time, there will be *no* operating system that supports CodeView debugging. This is an elongated way of as

Re: D needs a programming blog and some house keeping

2015-06-26 Thread Dejan Lekic via Digitalmars-d
You will not believe how many D programming related blogs are out there...

Re: Nested public imports - bug or feature?

2015-08-14 Thread Dejan Lekic via Digitalmars-d
On Thursday, 13 August 2015 at 16:22:04 UTC, Dicebot wrote: On Thursday, 13 August 2015 at 16:19:29 UTC, Jonathan M Davis wrote: You can get that behavior with static imports in D, but having to use the whole import path while referencing symbols gets ugly fast. Check example again, you are o

Re: An IO Streams Library

2016-02-08 Thread Dejan Lekic via Digitalmars-d
I think this is a huge task and requires a (huge) DIP, and collaborative effort of coming up with a good, really good, API for BOTH synchronous and asynchronous IO. As mentioned in the previous messages, there is already an asyncio library, although I am not sure it is good enough to be in Phob

Re: OT: 'conduct unbecoming of a hacker'

2016-02-11 Thread Dejan Lekic via Digitalmars-d
I am sure nobody will disagree with this post. Thing is, whenever there are people, there will be disagreements. I remember "final by default" vs "virtual by default" thread. I remember people whining and leaving the D community for X various reasons. What made me personally stick to D is that

Re: Official compiler

2016-02-18 Thread Dejan Lekic via Digitalmars-d
Lots of programmers out there use and love languages that are far slower than any code DMD produces (think JavaScript, Python, Ruby). So I see no point here. If someone is learning D, and they know there are different compilers available, they would find out what are the differences. OpenJDK's

Re: Another new io library

2016-02-19 Thread Dejan Lekic via Digitalmars-d
Steven, this is superb! Some 10+ years ago, I talked to Tango guys when they worked on I/O part of the Tango library and told them that in my head ideal abstraction for any I/O work is pipe and that I would actually build an I/O library around this abstraction instead of the Channel in Java o

Re: C++ UFCS update

2016-02-19 Thread Dejan Lekic via Digitalmars-d
On Tue, 16 Feb 2016 08:08:46 +, Ola Fosheim Grøstad wrote: > On Tuesday, 16 February 2016 at 07:59:49 UTC, w0rp wrote: >> Personally, I find this proposal for C++ to be laughable. It's like >> hitch hiking from New York to California, and only getting as far as >> Texas and calling it good. >>

Re: std.xml2 (collecting features)

2016-02-24 Thread Dejan Lekic via Digitalmars-d
If you really want to be serious about the XML package, then I humbly believe implementing the commonly-known DOM interfaces is a must. Luckily there is IDL available for it: https://www.w3.org/TR/DOM-Level-2-Core/idl/dom.idl . Also, speaking about DOM, all levels need to be supported! Also,

Re: C++ UFCS update

2016-03-02 Thread Dejan Lekic via Digitalmars-d
On Sunday, 21 February 2016 at 10:16:19 UTC, Jonathan M Davis wrote: As for a pipe operator, I expect that it wouldn't really help any. It would be a lot like . vs -> in that it's an unnecessary complication, but it would actually probably be worse. If | I am not sure I agree with this. "->" w

Re: std.database

2016-03-03 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 1 March 2016 at 21:00:30 UTC, Erik Smith wrote: I'm back to actively working on a std.database specification & implementation. It's still unstable, minimally tested, and there is plenty of work to do, but I wanted to share an update on my progress. I suggest you call the package

Re: Why don't you use the Github issue system?

2016-03-04 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 2 March 2016 at 23:59:49 UTC, Seb wrote: Hey, I am just curious whether you have already considered moving from Bugzilla to the Github issue system and where your current opinion is. GitHub issues is okay for one-man projects or small teams that do not want to bother much with

Re: C++ UFCS update

2016-03-07 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 2 March 2016 at 15:57:41 UTC, Piotrek wrote: On Wednesday, 2 March 2016 at 13:29:03 UTC, Dejan Lekic wrote: I am not sure I agree with this. "->" will make it *visible* what is going on, while "." can mean many things, and I would have to investigate what .something in part of a c

Re: Walter, I need a __trait please.

2016-03-16 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 16 March 2016 at 04:47:05 UTC, cy wrote: I'd honestly worry more about the compiler hiding implementation, that could have been used to make things easier for programmers. You worry too much.

Re: Oh, my GoD! Goroutines on D

2016-03-29 Thread Dejan Lekic via Digitalmars-d
On Monday, 28 March 2016 at 10:49:28 UTC, Jacob Carlborg wrote: It would be useful with a wiki page, or similar, that describes and compares different ways of doing concurrency in D, both built-in and third party libraries like this and vibe.d. Also compare against other languages like Go, Erla

Re: Could we reserve void[T] for builtin set of T ?

2016-04-01 Thread Dejan Lekic via Digitalmars-d
On Thursday, 31 March 2016 at 19:24:14 UTC, deadalnix wrote: Pretty much as per title. I has that in the back of my mind for a while. Would that work ? I am not sure about that... I would rather have a completely new type (`set`) for this purpose.

Re: stc.experimental.ndslice -> sci.ndslice

2016-04-18 Thread Dejan Lekic via Digitalmars-d
On Sunday, 17 April 2016 at 06:10:34 UTC, Ilya Yaroshenko wrote: We plan to add a set of numeric packages and this would be real pain if they would be one-by-one moved from experimental to stable std. So sci.* should be considered as experimental during few years. https://github.com/dlang/ph

Re: Anybody still using the chm docs

2016-06-16 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote: It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [¹] to create an index (from a json generated via ddoc) and cop

Re: Anybody still using the chm docs

2016-06-16 Thread Dejan Lekic via Digitalmars-d
I still use CHM document as it is absolutely the best solution compared to anything else. I think it is a mistake to compare CHM with PDF... They are made for different things... I forgot to mention - I use CHM on Linux. It is not my fault that opensource community could not come up with a bet

Re: Anybody still using the chm docs

2016-06-16 Thread Dejan Lekic via Digitalmars-d
On Thursday, 16 June 2016 at 02:32:05 UTC, Jack Stouffer wrote: On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote: So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release? For offline browsing, Windows and Linux users can use Zea

Re: Anybody still using the chm docs

2016-06-16 Thread Dejan Lekic via Digitalmars-d
What's the main difference between it and just pointing your browser at the downloaded html files? Search and index? Well, seach and index are not the only operations you need. One of the common operation with every CHM viewer is to bookmark something for an example. I've just checked the Zeal

Re: D and microservices

2015-10-06 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 6 October 2015 at 16:12:12 UTC, Russel Winder wrote: Has anyone got a small example of microservices using D, with Vibe.d or otherwise, that I can make use of? I need some examples of small microservices for a session at μCon 2015. As far as I know, there is no implementation of mi

Re: Moving back to .NET

2015-10-07 Thread Dejan Lekic via Digitalmars-d
Who cares? - Good luck in the .NET world.

Re: Slack discussion group?

2015-10-28 Thread Dejan Lekic via Digitalmars-d
Just imagine a Slack channel with 100+ people where every second someone posts a code snippet, a picture, etc. :) Brr, I had that picture in my hear for few seconds and it looked scary. No, Slack is not for large communities (IRC), but for small, private teams.

Re: Lifetime study group

2015-10-28 Thread Dejan Lekic via Digitalmars-d
I suggest we do not try to reinvent the wheel. Simply take a look how existing, large communities do this kind of work. Example: https://jcp.org/en/jsr/all For each large feature (a good example in the D case would be pattern matching, allocators, reference counting, additional garbage colle

Re: Is there a FIX engine written in D?

2015-12-29 Thread Dejan Lekic via Digitalmars-d
https://github.com/libtrading/libtrading/blob/master/docs/quickstart.md Nice project - I did not know about it! Thanks! Major problem in writing a library which implements FIX protocols is lack of a good XML package. Yes, we have std.xml but it is far from good, and as we all know, it needs a

Re: Mockup of my doc dream ideas

2015-12-29 Thread Dejan Lekic via Digitalmars-d
Adam, I wonder could we also have information since what Phobos version particular symbol is available from. For an example, from which version of Phobos we have findSkip() ??

Re: DIP 88: Simple form of named parameters

2016-01-23 Thread Dejan Lekic via Digitalmars-d
On Saturday, 23 January 2016 at 14:19:03 UTC, Jacob Carlborg wrote: This is mostly to prevent ugly hacks like Flag [1]. http://wiki.dlang.org/DIP88 [1] https://dlang.org/phobos/std_typecons.html#.Flag I already see confusing code like: foo(10, 20, width: ((big) ? 600 : 200), height: ((big) ?

Re: C++17

2016-01-26 Thread Dejan Lekic via Digitalmars-d
I humbly believe D should not care about C++ any more. It should take own path, and attract developers not just from the C++ camp. No matter from which camp someone comes, that person will complain about something. Obviously, C/C++ programmers complain about GC because they are used to manage

Re: C++17

2016-01-26 Thread Dejan Lekic via Digitalmars-d
Finding a balance is hard, and I humbly believe having all the features C++ has in D will help... Correction: ...WILL NOT help...

  1   2   >