Re: D jobs?

2017-11-25 Thread qznc via Digitalmars-d
On Saturday, 25 November 2017 at 13:16:19 UTC, Tofu Ninja wrote: Are there any places to look for D jobs? It seems really hard to find anything online. I got a really crappy job doing C++ and hate it to bits. Also if anyone is in the bay area and is in a position to higher maybe check out this

Re: TickDuration deprecation

2017-11-19 Thread qznc via Digitalmars-d
On Saturday, 18 November 2017 at 16:17:00 UTC, Jonathan M Davis wrote: Folks have asked for the ability to create Durations from floating point values too, and I rejected that for the same reason - using floating point values with time is just begging for bugs, and Walter backed me up on that o

Re: Platform to make any programming language interactive & explorative (http://jupyter.org)

2017-11-12 Thread qznc via Digitalmars-d
On Sunday, 12 November 2017 at 12:12:43 UTC, Robert M. Münch wrote: Hi, that might be some interesting project to add D to, for interactive exploration. http://jupyter.org Project Jupyter exists to develop open-source software, open-standards, and services for interactive computing across do

Re: Advice requested for fixing issue 17914

2017-10-24 Thread qznc via Digitalmars-d
On Monday, 23 October 2017 at 16:56:32 UTC, Brian Schott wrote: Context: https://issues.dlang.org/show_bug.cgi?id=17914 I need to get this issue resolved as soon as possible so that the fix makes it into the next compiler release. Because it involves cleanup code in a class destructor a design

Re: D for microservices

2017-10-22 Thread qznc via Digitalmars-d
On Sunday, 22 October 2017 at 02:48:57 UTC, Joakim wrote: This is a niche that D and all newer languages should target. How do we do it? Optimize the TechEmpower benchmark? Vibe.d looks quite weak there. https://www.techempower.com/benchmarks/

Re: What is the Philosophy of D?

2017-10-16 Thread qznc via Digitalmars-d
On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote: D's overview page says "It doesn't come with an overriding philosophy." Is philosophy not important? I'd like to argue, that the problem of focusing on getting the job done quickly and reliably, does *not* leave behind maint

Re: Why Physicists Still Use Fortran

2017-10-16 Thread qznc via Digitalmars-d
On Monday, 16 October 2017 at 00:26:20 UTC, H. S. Teoh wrote: On Sun, Oct 15, 2017 at 03:09:21PM -0700, Walter Bright via Digitalmars-d wrote: http://moreisdifferent.com/2015/07/16/why-physicsts-still-use-fortran/ Some good information there! 1-based array indexing... I don't know, but I've

Re: My first experience as a D Newbie

2017-10-11 Thread qznc via Digitalmars-d
At least on Ubuntu, this gives me an IDE: dub run dlangide I have not used it much and I don't know if it works on Windows, but it might be the easiest way once you installed dmd and dub.

Re: D on quora ...

2017-10-07 Thread qznc via Digitalmars-d
On Saturday, 7 October 2017 at 05:19:21 UTC, Adam Wilson wrote: I saw we ditch the lot and focus on the large languages where D can get some traction (C#/Java). I don't see a chance to attack C# unless Microsoft officially adopts D. Java is facing some uncertainty at the moment. The Java 9 m

Re: Request for conference talk

2017-10-05 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 21:29:15 UTC, Vasudev Ram wrote: On Monday, 10 April 2017 at 07:32:15 UTC, qznc wrote: And accepted :) https://www.topconf.com/conference//duesseldorf-2017/talk/abstractions-from-c-to-d/ Abstractions: From C to D That talk sounds interesting. If the slides and/

Re: Known reasons why D crashes without any message?

2017-09-14 Thread qznc via Digitalmars-d
On Wednesday, 13 September 2017 at 10:20:48 UTC, Thorsten Sommer wrote: Right now, we are done with the development and ready to start experiments. Until now, almost anything runs fine with our unit tests. Besides the unit tests, the main program is now able to startup but crashes after a whi

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread qznc via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: - Yes, not everyone likes colors. You can turn all colors off with a command-line switch. Is there a way to do this globally? For example, a config file or an environment variable? I'm one of the rare people who use a light

Re: What is your favorite D feature?

2017-06-22 Thread qznc via Digitalmars-d
On Thursday, 22 June 2017 at 00:48:25 UTC, Seb wrote: Hi, I am currently trying to modernize the D code example roulette on the dlang.org front page [1]. Hence, I would love to hear about your favorite feature(s) in D. Ideas: - favorite language construct - favorite code sample - "only possib

Re: sqlite3 vs. sqlite-d

2017-06-09 Thread qznc via Digitalmars-d
On Thursday, 8 June 2017 at 08:44:56 UTC, Russel Winder wrote: But what is D's equivalent to Python's SQLAlchemy? C++ now has sqlpp11. There is HibernateD. http://code.dlang.org/packages/hibernated For my own project, I used handwritten SQL. It is still on my todo list to replace that with H

Re: Phobos 2

2017-06-02 Thread qznc via Digitalmars-d
On Thursday, 1 June 2017 at 18:40:05 UTC, Brad Anderson wrote: A (surely controversial) idea popped into my head while talking in #d on Freenode. The C++ guys are making an STL2 (the highlight of it being that it is range based). What about taking all the lessons learned from Phobos and creatin

Re: Built-in RAII in D

2017-05-30 Thread qznc via Digitalmars-d
On Sunday, 28 May 2017 at 18:50:02 UTC, Nerve wrote: On Sunday, 28 May 2017 at 18:38:21 UTC, Moritz Maxeiner wrote: All in all, I see little to no benefit to what you propose, while requiring significant work on the language spec. Point taken. My only remaining reservation then is the communi

Re: Another "D is cool" post

2017-05-30 Thread qznc via Digitalmars-d
On Tuesday, 30 May 2017 at 05:14:21 UTC, H. S. Teoh wrote: On Tue, May 30, 2017 at 01:44:58AM +, Mike Parker via Digitalmars-d wrote: On Monday, 29 May 2017 at 19:51:26 UTC, David Gileadi wrote: > On 5/29/17 12:07 PM, H. S. Teoh via Digitalmars-d wrote: > > [snip an excellent post] > I think

Re: Weak Eco System?

2017-05-22 Thread qznc via Digitalmars-d
On Thursday, 18 May 2017 at 05:43:48 UTC, Manu wrote: On 17 May 2017 at 00:51, Benro via Digitalmars-d < digitalmars-d@puremagic.com> wrote: [...] 4 Hours work. Discouraged and gave up after this. Visual Studio proper is the only IDE that 'just works' well, VisualD is very good. MonoDeve

Re: Weak Eco System?

2017-05-19 Thread qznc via Digitalmars-d
On Thursday, 18 May 2017 at 05:43:48 UTC, Manu wrote: On 17 May 2017 at 00:51, Benro via Digitalmars-d < digitalmars-d@puremagic.com> wrote: [...] 4 Hours work. Discouraged and gave up after this. Visual Studio proper is the only IDE that 'just works' well, VisualD is very good. MonoDeve

Re: Fantastic exchange from DConf

2017-05-14 Thread qznc via Digitalmars-d
On Sunday, 14 May 2017 at 02:11:36 UTC, bachmeier wrote: On Sunday, 14 May 2017 at 00:05:56 UTC, Dibyendu Majumdar wrote: (a) Trust the programmer. I don't understand this point. C doesn't offer the programmer much to work with. If you trust the programmer, shouldn't that mean you provide a

Re: Thank You DConf 2017

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 16:44:00 UTC, Stanislav Blinov wrote: Fantastic three days of presentations. A big Thank You to all presenters, organizers and sponsors, and a special Thank You to the team that made the livestream possible, so even those of us who couldn't make it to Berlin could not

Re: On Andrei's Keynote / checkedint

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 14:14:25 UTC, Andrei Alexandrescu wrote: [0] http://beza1e1.tuxen.de/leaky_abstractions.html Nice job writing a post so quickly! It was a coincidence. It took longer. That post is part of my preparation for another conference [0], but that talk will be strongly in

Re: Adding D code to a C++ codebase

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 11:44:28 UTC, Russel Winder wrote: CLion, IntelliJ IDEA, Eclipse/CDT, Xcode, and Visual Studio seem to be the IDEs of the moment. There is effort to get D support in IntelliJ IDEA, but CLion is where the C++ folk are. Eclipse/CDT appears to have lost all activity on t

Re: On Andrei's Keynote / checkedint

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 10:45:56 UTC, qznc wrote: I just watched Andrei's Keynote slightly delayed so I could not ask live via chat. One question and one remark: 1. ... 2. ... 3. Checkedint has the same problem as std::string in C++, which Scott Meyers highlighted in his keynote the day

On Andrei's Keynote / checkedint

2017-05-06 Thread qznc via Digitalmars-d
I just watched Andrei's Keynote slightly delayed so I could not ask live via chat. One question and one remark: 1. Is there any reason to restrict this to integrals? Why not use Checked!(float,H) or Checked!(complex,H) or Checked!(polynomial,H)? If it is more general, then we should change th

Re: Fantastic exchange from DConf

2017-05-06 Thread qznc via Digitalmars-d
On Saturday, 6 May 2017 at 06:26:29 UTC, Joakim wrote: Walter Bright: I firmly believe that memory safety is gonna be an absolute requirement moving forward, very soon, for programming language selection. Scott Meyers: For, for what kinds of applications? Walter: Anything that goes on the int

Re: DConf 2017 Berlin - Streaming ?

2017-05-05 Thread qznc via Digitalmars-d
On Friday, 5 May 2017 at 06:33:13 UTC, Joakim wrote: On Friday, 5 May 2017 at 06:32:31 UTC, Joakim wrote: They were posted to reddit, Mike will probably do it again. Whoops, forgot to give the reddit link: https://www.reddit.com/r/programming/comments/696310/d_programming_language_conference_

Re: Thoughts from newcommer

2017-04-12 Thread qznc via Digitalmars-d
On Wednesday, 12 April 2017 at 19:31:06 UTC, thedeemon wrote: On Tuesday, 11 April 2017 at 19:57:19 UTC, Piotr Kowalski wrote: http://benchmarksgame.alioth.debian.org/ Why D is not there? Because maintainer of that site doesn't want D there, as I remember from previous discussions. At some

Re: Walter and Andrei and community relationship management

2017-04-12 Thread qznc via Digitalmars-d
On Wednesday, 12 April 2017 at 07:51:28 UTC, Joakim wrote: On Tuesday, 11 April 2017 at 19:18:32 UTC, H. S. Teoh wrote: On Tue, Apr 11, 2017 at 10:24:01AM -0700, Walter Bright via Digitalmars-d wrote: On 4/11/2017 2:18 AM, qznc wrote: > It usually comes down to charismatic and visionary leaders

Re: Request for conference talk

2017-04-11 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 21:29:15 UTC, Vasudev Ram wrote: On Monday, 10 April 2017 at 07:32:15 UTC, qznc wrote: And accepted :) https://www.topconf.com/conference//duesseldorf-2017/talk/abstractions-from-c-to-d/ Abstractions: From C to D That talk sounds interesting. If the slides and/

Re: Thoughts from newcommer

2017-04-11 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 19:57:19 UTC, Piotr Kowalski wrote: Two other important things to change people minds about D performance: http://benchmarksgame.alioth.debian.org/ Why D is not there? I worked on that [0] and decided its not worth it. It is literally a "game". You can have some

Re: The D ecosystem in Debian with free-as-in-freedom DMD

2017-04-11 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 12:56:59 UTC, Jonathan M Davis wrote: But if we just use dub - which _is_ the official packaging and build tool - then we avoid these issues. Ideally, the compiler and dub would be part of the distro, but libraries don't need to be. And it sounds like that's basical

Re: Walter and Andrei and community relationship management

2017-04-11 Thread qznc via Digitalmars-d
On Tuesday, 11 April 2017 at 02:20:07 UTC, Walter Bright wrote: On 4/10/2017 6:04 PM, Jonathan M Davis via Digitalmars-d wrote: LOL. IIRC, there have been cases where you and/or Andrei have actually tried to get folks to do specific stuff, and it generally hasn't worked. Pretty much everything

Re: The D ecosystem in Debian with free-as-in-freedom DMD

2017-04-10 Thread qznc via Digitalmars-d
On Monday, 10 April 2017 at 11:40:12 UTC, Matthias Klumpp wrote: 1) Is there some perspective on D getting a defined ABI that works with all major D compilers? 2) What would the D community recommend on how to deal with the ABI issues currently? A Linux distribution is a bunch of tightly in

Re: The D ecosystem in Debian with free-as-in-freedom DMD

2017-04-10 Thread qznc via Digitalmars-d
On Monday, 10 April 2017 at 11:40:12 UTC, Matthias Klumpp wrote: So, in summary: 1) Is there some perspective on D getting a defined ABI that works with all major D compilers? 2) What would the D community recommend on how to deal with the ABI issues currently? A Linux distribution is a bun

Re: Request for conference talk

2017-04-10 Thread qznc via Digitalmars-d
On Friday, 3 February 2017 at 12:08:44 UTC, qznc wrote: Topic idea two: A more general talk about abstractions. Starting from the basics (procedures) up to Design-by-Introspection techniques which are quite D specific. In between stuff like the "magic" D Lua bindings. This topic is probably in

Reading on D safety?

2017-03-30 Thread qznc via Digitalmars-d
Safety of C has been in the (hacker) news lately [0]. When I tried to tell people about D, I had no good link to share on the topic. The spec for @safe [1] is not comprehensive. The article of SafeD [2] is fluffy and without much meat. The C to D comparison is too much irrelevant stuff. I fo

Re: Zcoin implementation bug enabled attacker to create 548, 000 Zcoins

2017-03-09 Thread qznc via Digitalmars-d
On Tuesday, 7 March 2017 at 15:34:54 UTC, ketmar wrote: Jack Stouffer wrote: On Tuesday, 7 March 2017 at 15:05:45 UTC, ketmar wrote: only for primitive types, sadly. void main () { Object a, b; a == b; } oops. no more error messages. yes, i know that this invokes `opEquals()`, and `opEquals

Re: Spotted on twitter: Rust user enthusiastically blogs about moving to D

2017-03-07 Thread qznc via Digitalmars-d
On Tuesday, 7 March 2017 at 03:04:05 UTC, Joakim wrote: https://z0ltan.wordpress.com/2017/02/21/goodbye-rust-and-hello-d/ "A much much safer language than C++ while being much more programmer-friendly than Rust." Nice quote. :) I somewhat wonder about "Arrays (arguably the most important da

Re: Range with lookaround

2017-03-02 Thread qznc via Digitalmars-d
On Thursday, 2 March 2017 at 01:44:19 UTC, Andrei Alexandrescu wrote: May be worth discussing in here: https://issues.dlang.org/show_bug.cgi?id=17238 -- Andrei I don't understand the use case. PR #5153 seems to be about getting the last element, not about some lookahead. When I think about lo

Re: What about this logo ":D" to advertise the D language ?

2017-03-02 Thread qznc via Digitalmars-d
On Thursday, 2 March 2017 at 09:45:40 UTC, Martin Tschierschke wrote: On Thursday, 2 March 2017 at 09:05:43 UTC, Jared Jeffries wrote: I'm not completely joking ;) D deserves a lot more fame, because it really allows programmers to "develop with a smile", so maybe the logo and slogan should r

Life is better with community automation

2017-02-08 Thread qznc via Digitalmars-d
I just watched this talk "Life is better with Rust's community automation" by E. Dunham Video: https://youtu.be/dIageYT0Vgg Blog post: http://edunham.net/2016/09/27/rust_s_community_automation.html (Not the same talk, but very close and by the correct speaker/blogger) Some of the 2017 H1 vi

Re: Request for conference talk

2017-02-03 Thread qznc via Digitalmars-d
On Thursday, 2 February 2017 at 21:09:38 UTC, Chris Engelbert wrote: Hey guys, we organize a conference (TopConf) this year for the first time in Dusseldorf, Germany. I would like to see if there are interested speakers to give a talk about D. The conference is hold in English and is not spec

Re: Snap packages for D compilers and core projects

2017-02-03 Thread qznc via Digitalmars-d
On Monday, 30 January 2017 at 16:53:34 UTC, Joseph Rushton Wakeling wrote: Snap packaging started as something Ubuntu were developing for their use-case, but started gaining cross-distro interest last year (probably because AFAICT its feature-set and simplicity of use is quite a bit ahead of al

Re: Snap packages for D compilers and core projects

2017-01-30 Thread qznc via Digitalmars-d
On Sunday, 29 January 2017 at 20:07:50 UTC, Joseph Rushton Wakeling wrote: The question is, (i) is this a welcome proposal? and (ii) if it is welcome, what do people see as the best way to go about this? No comments? Well, there seems to be no downside (apart from the work). So far, I consid

Re: A mini D book: Markdown or LaTeX?

2017-01-26 Thread qznc via Digitalmars-d
On Thursday, 26 January 2017 at 02:41:24 UTC, Walter Bright wrote: On 1/24/2017 6:27 AM, aberba wrote: Which one works well? I'm more concerned about syntax highlighting and line numbering (in some cases). Support for custom fonts. I've used Ddoc to publish a couple of Kindle books. https:/

Re: A mini D book: Markdown or LaTeX?

2017-01-24 Thread qznc via Digitalmars-d
On Tuesday, 24 January 2017 at 14:27:15 UTC, aberba wrote: Which one works well? I'm more concerned about syntax highlighting and line numbering (in some cases). Support for custom fonts. I used Sphinx here: https://qznc.github.io/d-tut/ The syntax "ReStructured Text" is more ugly than Markdo

Re: Red Hat's issues in considering the D language

2016-12-22 Thread qznc via Digitalmars-d
On Wednesday, 21 December 2016 at 17:49:43 UTC, Johannes Pfau wrote: Am Wed, 21 Dec 2016 08:18:48 -0500 schrieb Andrei Alexandrescu : On 12/20/16 6:08 PM, Andrei Alexandrescu wrote: > Hello, a few engineers at Red Hat are taking a look at using > the D language on the desktop and have reached

Re: D future ...

2016-12-20 Thread qznc via Digitalmars-d
On Tuesday, 20 December 2016 at 10:18:12 UTC, Kelly Sommers wrote: The things I really want from D to really sway me would be the following (some already exist): 1. Evolve the GC like Go has. 2. No overhead calling C libraries. 3. Easily composable libraries. 4. Good IDE support. I agree. 1.

Re: D future ...

2016-12-20 Thread qznc via Digitalmars-d
On Tuesday, 20 December 2016 at 08:41:21 UTC, Benjiro wrote: F*ck this. Its like talking to walls. Anyway, do what you want. I have my own projects to deal with and i can write around the lacking libraries, documentation etc. Unfortunately, not everybody can and its those people you are hurting

Re: The Computer Language Benchmarks Game - no D

2016-12-19 Thread qznc via Digitalmars-d
On Sunday, 18 December 2016 at 22:50:36 UTC, Brad Anderson wrote: On Sunday, 18 December 2016 at 21:29:05 UTC, jmh530 wrote: On Sunday, 18 December 2016 at 21:26:36 UTC, Boston wrote: Some days ago I'd been looking for comparisons between different programming languages, and I found this site:

Re: A betterC modular standard library?

2016-12-18 Thread qznc via Digitalmars-d
On Sunday, 18 December 2016 at 14:37:55 UTC, Radu wrote: On Sunday, 18 December 2016 at 09:26:09 UTC, Ilya Yaroshenko Who is interested in betterC _modular_* standard library? I am planing to make libmir org a community for it. Thought and concerns? I hope this doesn't turn into a new Tango vs

Re: Making preconditions better specified and faster

2016-12-16 Thread qznc via Digitalmars-d
On Thursday, 15 December 2016 at 18:48:22 UTC, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=16975 Whenever I think about preconditions and speed, I think that they should actually be put into the caller instead of into the function/callee. The chance that intra-procedur

Re: [OT] Interesting blog post on disadvantages of the pure functional paradigm

2016-12-09 Thread qznc via Digitalmars-d
On Friday, 9 December 2016 at 10:25:49 UTC, Kagamin wrote: On Friday, 9 December 2016 at 10:01:13 UTC, qznc wrote: http://beza1e1.tuxen.de/articles/functional.html What about python and javascript? Python and Javascript are mixed paradigm languages. You could argue if purity and immutabilit

Re: [OT] Interesting blog post on disadvantages of the pure functional paradigm

2016-12-09 Thread qznc via Digitalmars-d
On Friday, 9 December 2016 at 09:58:27 UTC, Kagamin wrote: Functional doesn't imply purity and immutability I disagree. What is your definition of Functional Programming? Mine: http://beza1e1.tuxen.de/articles/functional.html

Re: Should we warn if we detect null derefernces or void value uses ?

2016-12-08 Thread qznc via Digitalmars-d
On Monday, 5 December 2016 at 04:41:55 UTC, Stefan Koch wrote: This requires data-flow analysis (The same kind that tells you if you are skipping a statement) And will slow down compilation a little if we enable such a warning. I would rather see a separate tool for stuff like this. It can b

Re: Joe Duffy on concurrency

2016-12-01 Thread qznc via Digitalmars-d
On Thursday, 1 December 2016 at 12:17:46 UTC, Barry wrote: http://joeduffyblog.com/2016/11/30/15-years-of-concurrency/ delegate void PureFunc() immutable; This meant that a lambda conforming to the PureFunc interface could only close over immutable state. Notice how powerful this has su

ESA's Schiaparelli Mars probe crashed because of integer overflow

2016-11-24 Thread qznc via Digitalmars-d
Although, the article [0] does not say that literally, it sounds like an integer overflow: After trawling through mountains of data, the European Space Agency said Wednesday that while much of the mission went according to plan, a computer that measured the rotation of the lander hit a maximu

Re: Don't truncate forum titles, use multiple lines instead

2016-11-20 Thread qznc via Digitalmars-d
On Sunday, 20 November 2016 at 08:59:19 UTC, Tourist wrote: Please implement the suggestion. Thanks. http://imgur.com/X7fJLpF For mobile I would prefer it to use the whole width for the title and convert the other two columns into "subtitle text" below.

Re: TechEmpower Web Framework Performance Comparison Round 13 -- vibe.d non-starter?

2016-11-18 Thread qznc via Digitalmars-d
On Friday, 18 November 2016 at 11:02:20 UTC, Daniel Kozak wrote: Dne 18.11.2016 v 11:46 thedeemon via Digitalmars-d napsal(a): On Thursday, 17 November 2016 at 18:24:05 UTC, Daniel Kozak wrote: Dne 17.11.2016 v 18:49 sanjayss via Digitalmars-d napsal(a): Ubuntu 12.04 to 16.04 which has PIE

Re: PDF generation in D?

2016-11-11 Thread qznc via Digitalmars-d
On Thursday, 10 November 2016 at 22:30:34 UTC, Karabuta wrote: Hello community, does anyone have on something for PDF generation in D? I may need a PDF generation library in a vibe.d project I'm working on. :) You can pull in Gtk with Cairo and Pango. Cairo can generate pdf. Pango is necessar

Re: [OT] web/desktop dying

2016-11-10 Thread qznc via Digitalmars-d
On Wednesday, 9 November 2016 at 16:00:45 UTC, Nick Sabalausky wrote: On 11/05/2016 02:00 AM, Joakim wrote: Nothing is ever "completely replaced"- somebody somewhere is still using a mainframe or a UNIX workstation- but yes, PCs will basically disappear, just as you never see those old comput

Re: Linux Kernel in D?

2016-11-02 Thread qznc via Digitalmars-d
On Tuesday, 1 November 2016 at 16:22:58 UTC, Andrei Alexandrescu wrote: On 11/01/2016 09:41 AM, Wild wrote: On Tuesday, 1 November 2016 at 12:12:29 UTC, Heisenberg wrote: Just an idea. Do you think it would have any advantage compared to the one that is written in C? I think it wouldn't real

Re: Linus' idea of "good taste" code

2016-10-27 Thread qznc via Digitalmars-d
On Wednesday, 26 October 2016 at 09:54:31 UTC, Dicebot wrote: On 10/26/2016 12:53 AM, Walter Bright wrote: It's a small bit, but the idea here is to eliminate if conditionals where possible: https://medium.com/@bartobri/applying-the-linus-tarvolds-good-taste-coding-requirement-99749f37684a#.nh

Re: gdc in Linux distros recommended?

2016-10-19 Thread qznc via Digitalmars-d
On Wednesday, 19 October 2016 at 00:07:12 UTC, bachmeier wrote: According to this page https://gdcproject.org/downloads/ there are only distro packages for Ubuntu, Debian, and Arch. If that's accurate, there really is no sense in which GDC is more available than DMD. Yes it is. Installing gdc

Re: Idea for a new tool

2016-10-14 Thread qznc via Digitalmars-d
On Friday, 14 October 2016 at 13:13:16 UTC, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=5051 -- Andrei Reminds me of Lisp, where they also have code generation wrapped in code generation wrapped in ... here is an example: http://stackoverflow.com/q/16579844/2361979 L

Re: D, ZeroMQ, Nanomsg

2016-09-29 Thread qznc via Digitalmars-d
On Thursday, 29 September 2016 at 04:18:55 UTC, Nikolay wrote: On Wednesday, 28 September 2016 at 11:53:05 UTC, Russel Winder wrote: Has anyone wrapped Nanomsg? Be aware - Nanomsg project is mostly dead now. See http://sealedabstract.com/rants/nanomsg-postmortem-and-other-stories/ That ar

Re: Why D is not popular enough?

2016-09-01 Thread qznc via Digitalmars-d
On Thursday, 1 September 2016 at 08:04:00 UTC, Bienlein wrote: D has a lot to offer with regard to functional programming. It has pure functions and true immutable classes (true = also sub objects become immutable), which Scala all doesn't have (because of restrictions of the JVM). Does D have

Re: ISO D

2016-08-17 Thread qznc via Digitalmars-d
On Wednesday, 17 August 2016 at 08:02:42 UTC, eugene wrote: will ISO D be in future or not? What would be the benefits?

Re: [OT] The coolest (literally) desktop machine I've ever had

2016-08-16 Thread qznc via Digitalmars-d
On Sunday, 14 August 2016 at 17:30:21 UTC, Basile B. wrote: On Sunday, 14 August 2016 at 16:27:51 UTC, qznc wrote: On Saturday, 13 August 2016 at 14:52:06 UTC, Andrei Alexandrescu wrote: On 08/13/2016 08:37 AM, Vladimir Panteleev wrote: Friends don't let friends use Linux Mint Good to know, t

Re: [OT] The coolest (literally) desktop machine I've ever had

2016-08-14 Thread qznc via Digitalmars-d
On Saturday, 13 August 2016 at 14:52:06 UTC, Andrei Alexandrescu wrote: On 08/13/2016 08:37 AM, Vladimir Panteleev wrote: Friends don't let friends use Linux Mint Good to know, thanks. So what should I use then? -- Andrei I use Ubuntu LTS, because one breaking upgrade every two years is enou

Re: D Github contributors - enable 2 factor authentification

2016-08-11 Thread qznc via Digitalmars-d
On Thursday, 11 August 2016 at 13:05:49 UTC, Steven Schveighoffer wrote: There's also nothing private in the dlang repository, but a malicious person could just delete everything and it would be a major problem for us to recover from that. Well, the code will all be on everyone's system. The

Re: D Github contributors - enable 2 factor authentification

2016-08-11 Thread qznc via Digitalmars-d
On Thursday, 11 August 2016 at 07:54:48 UTC, Jonathan M Davis wrote: But I'd be even more worried about depending on an app on your phone (like is sometimes the case with two-factor auth), since that won't necessarily then work with another phone with the same number, in which case, changing ph

Re: D Github contributors - enable 2 factor authentification

2016-08-11 Thread qznc via Digitalmars-d
On Thursday, 11 August 2016 at 06:21:35 UTC, Jonathan M Davis wrote: I just enabled it because of this thread, but in general, I'm paranoid about two-factor auth and don't use it for much. My domain registrar (and thus DNS) is one of the few places that I have it enabled. I'm just too worried a

Let us talk about error messages

2016-08-10 Thread qznc via Digitalmars-d
Rust changed their error message format: https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html Inspiration for D?

Re: Decimal/Currency Type

2016-08-09 Thread qznc via Digitalmars-d
On Tuesday, 9 August 2016 at 11:14:09 UTC, Edwin van Leeuwen wrote: On Tuesday, 9 August 2016 at 10:48:50 UTC, Zane wrote: Is there such a thing build into D? If not, is there any plans to add it? It seems like this would be something needed by many applications (especially anything dealing wit

Re: The Computer Language Benchmarks Game

2016-08-07 Thread qznc via Digitalmars-d
On Sunday, 7 August 2016 at 17:53:12 UTC, Isaac Gouy wrote: On Sunday, 7 August 2016 at 05:04:29 UTC, Walter Bright wrote: Ultimately, my opinion is that the benchmark is outdated and not useful today. I ignore it, if anybody cites the benchmark game for performance measurements. Yeah, I wou

Re: Why doesn't dlang-bot use the GitHub conventions?

2016-08-07 Thread qznc via Digitalmars-d
On Sunday, 7 August 2016 at 20:08:48 UTC, Martin Nowak wrote: On Sunday, 7 August 2016 at 20:03:45 UTC, Martin Nowak wrote: BTW, dlang-bot got a logo and it's own home page today. [Dlang-Bot](http://dlang-bot.herokuapp.com/) Also since yesterday it cancels outdated Travis-CI builds to reduce

Re: The Computer Language Benchmarks Game

2016-08-05 Thread qznc via Digitalmars-d
On Thursday, 4 August 2016 at 20:15:35 UTC, Ali Çehreli wrote: We don't hear about the following site here any more: http://benchmarksgame.alioth.debian.org/ How relevant is that site for us? Should D be represented there as well? Would someone (you? :p) be interested in adding D to the lan

Re: D safety! New Feature?

2016-08-03 Thread qznc via Digitalmars-d
On Tuesday, 2 August 2016 at 21:48:58 UTC, Mark Twain wrote: global ImmutableArray!int Data; MutableArray!int DataCopy = Data.Copy; // Creates a mutable copy of Data. ... Do work with DataCopy ... Data.Replace(DataCopy); // Makes a copy of DataCopy. I see the problem that you cannot compose

Ideas for a "prototype" project? Germany provides funding

2016-08-02 Thread qznc via Digitalmars-d
You might have heard about the funding project from Germany. https://prototypefund.de/ # often overloaded https://okfn.de/en/projekte/prototypefund/ # basic information https://news.ycombinator.com/item?id=12200777 # Hacker News discussion The basic idea: 30k€ over six months to develop an o

Re: [OT] Create more debt == earn more

2016-08-02 Thread qznc via Digitalmars-d
On Tuesday, 2 August 2016 at 08:07:38 UTC, Basile B. wrote: I was thinking about the value of what we do in the life, daily, the jobs, etc I've endend with this conclusion: The more you're able to create debt, the more you'll earn. example, CIO: hudge pay, because your 1000 salaries will creat

Re: Overflows in Phobos

2016-07-28 Thread qznc via Digitalmars-d
On Thursday, 28 July 2016 at 00:17:16 UTC, Walter Bright wrote: On 7/27/2016 3:47 PM, qznc wrote: On Wednesday, 27 July 2016 at 07:59:54 UTC, Walter Bright wrote: "The expression assert(0) is a special case; it signifies code that should be unreachable. If it is reached at runtime, either Asser

Re: Overflows in Phobos

2016-07-27 Thread qznc via Digitalmars-d
On Wednesday, 27 July 2016 at 07:59:54 UTC, Walter Bright wrote: "The expression assert(0) is a special case; it signifies code that should be unreachable. If it is reached at runtime, either AssertError is thrown or execution is terminated in an implementation-defined manner. Any code after th

Re: Documentation about concurrency and parallelism

2016-07-24 Thread qznc via Digitalmars-d
On Thursday, 21 July 2016 at 22:47:38 UTC, Seb wrote: On Thursday, 21 July 2016 at 20:56:07 UTC, eugene wrote: On Thursday, 21 July 2016 at 20:46:24 UTC, eugene wrote: Hi everyone, could you,please, point out where can i find in the "Documentation" sections info about concurrency and parralle

Re: The case for small diffs in Pull Requests

2016-07-21 Thread qznc via Digitalmars-d
On Thursday, 21 July 2016 at 06:04:24 UTC, default0 wrote: On Thursday, 21 July 2016 at 03:30:34 UTC, Walter Bright wrote: I've looked at many PRs that consisted of multiple commits. The trouble with them is: 1. they often have nothing in particular to do with each other 2. I may want to pull

Re: Phobos doc anchors not friendly for keyboard-centric browsers

2016-07-19 Thread qznc via Digitalmars-d
On Tuesday, 19 July 2016 at 13:16:52 UTC, Jack Stouffer wrote: On Tuesday, 19 July 2016 at 11:38:20 UTC, rcorre wrote: Keyboard-centric browsers (e.g. qutebrowser [1], dwb [2], ect.) generally let you click on links via 'hinting'. You press a button (e.g. 'f' for 'follow'), every clickable ele

Re: The case for small diffs in Pull Requests

2016-07-19 Thread qznc via Digitalmars-d
On Tuesday, 19 July 2016 at 06:29:05 UTC, Jacob Carlborg wrote: Have you read the solution, linked at the bottom? [1]. As far as I can remember, I have not seen this used in the D projects at all. [1] http://graysonkoonce.com/stacked-pull-requests-keeping-github-diffs-small/ This feels like

Re: Our docs should be more beautiful

2016-07-19 Thread qznc via Digitalmars-d
On Monday, 18 July 2016 at 22:24:09 UTC, Adam D. Ruppe wrote: The ddox ones are supposed to be made default eventually. What is the state on this? I found no issue tracking this.

Re: Our docs should be more beautiful

2016-07-18 Thread qznc via Digitalmars-d
On Monday, 18 July 2016 at 15:56:29 UTC, Andrei Alexandrescu wrote: I was proofreading http://dtest.thecybershadow.net/artifact/website-f26d7179b8449e89e1961391fde9f221813c707c-04d0496c2d8cecedc4d75c919646d564/web/phobos-prerelease/std_experimental_checkedint.html and there are a few ways in whic

Re: What is the current progress on "Safety and Memory Management"?

2016-07-16 Thread qznc via Digitalmars-d
On Saturday, 16 July 2016 at 21:45:17 UTC, maik klein wrote: I was actually thinking of contributing something bigger as part of my bachelor thesis. (Not sure if I am allowed to do that) What I wanted to do is to translate a big part of Rust's std to D. Stuff like Rc, Arc, Box, Optional + all

Variables should probably not shadow parent methods

2016-07-12 Thread qznc via Digitalmars-d
Just seen on Reddit [0] and there are a few more examples. class Test { string function() toString = function() { return "one"; }; } void main() { auto test = new Test; writeln(test); test.toString = function() { return "two"; }; writeln(cast(Object)test); } Test

Re: D is crap

2016-07-06 Thread qznc via Digitalmars-d
On Wednesday, 6 July 2016 at 01:30:46 UTC, ketmar wrote: and i'm curious why everyone is so amazed by 64-bit systems. none of my software is using more than 2GB of RAM. why should i pay for something i don't need? like, all pointers are magically twice bigger. hello, cache lines, i have a prese

Re: Blocking points for further D adoption

2016-07-06 Thread qznc via Digitalmars-d
On Wednesday, 6 July 2016 at 07:22:26 UTC, Tofu Ninja wrote: Problem with that is ldc and gdc are always a few versions behind dmd. LDC is quite close now. LDC v1.0.0 was released June 6 with DMD 2.070.2 compatibility. DMD 2.070.2 was released Mar 3 and superseded by 2.071.0 on Apr 5 (and 2.

Re: Is dmd fast?

2016-07-05 Thread qznc via Digitalmars-d
On Wednesday, 22 June 2016 at 13:46:50 UTC, qznc wrote: Walter and we as a community often claim that dmd is fast as in "compiles quickly". Go also claims this. Rust does not. They even state that compilation speed is one of the big tasks they are working on. I found a comparison for D and Ru

Re: Properties for unittests

2016-07-02 Thread qznc via Digitalmars-d
On Saturday, 2 July 2016 at 11:27:57 UTC, Lodovico Giaretta wrote: On Saturday, 2 July 2016 at 11:25:51 UTC, Lodovico Giaretta wrote: What emerged in a previous thread[1], unittests that can't be @safe have to be explicitly marked @system, so that it is obvious to the reader that the functional

Properties for unittests

2016-07-02 Thread qznc via Digitalmars-d
In general, it is a good idea to make unittests @safe and @nogc in Phobos. When reviewing a pull request, we should check that. There is a pull request [0] which annotates @system. Why would you do that? Is that somehow a desirable thing? Should a reviewer check for that? The spec for @syste

Re: string encryption

2016-07-01 Thread qznc via Digitalmars-d
On Friday, 1 July 2016 at 22:23:23 UTC, Hiemlick Hiemlicker wrote: It seems D won't replace encrypt("This string will still end up in the binary"); with "skadf2903jskdlfaos;e;fo;aisjdfja;soejfjjfjfjfjfjfeij" or whatever the ctfe value of encrypt actually is. This also seems like a bug in D b

Re: post 2.071 mixin template & import rules

2016-07-01 Thread qznc via Digitalmars-d
On Friday, 1 July 2016 at 05:42:30 UTC, captaindet wrote: it appears that there had been an even more radical change as well with respect to the way mixin templates work. this has not been properly communicated yet. at least i could not find a write-up and a related thread conveyed rather guess

Re: DMD 2.071.1 and Issue 15925 - [REG 2.071] Import declaration from mixin templates are ignored

2016-06-30 Thread qznc via Digitalmars-d
On Thursday, 30 June 2016 at 11:40:38 UTC, Mathias Lang wrote: 2016-06-30 11:09 GMT+02:00 qznc via Digitalmars-d < digitalmars-d@puremagic.com>: I don't see this properly documented [0]. It seems that imports in mixins are not visible even if declared public? This means mixin

  1   2   3   >