Re: Proposal 2: Exceptions and @nogc

2017-04-08 Thread Joakim via Digitalmars-d
On Sunday, 9 April 2017 at 03:26:14 UTC, Walter Bright wrote: My previous version did not survive implementation. Here's the revised version. I have submitted it as a DIP, and there's a trial implementation up: https://github.com/dlang/dmd/pull/6681 Two small procedural notes - I don't

Re: What are we going to do about mobile?

2017-04-07 Thread Joakim via Digitalmars-d
On Thursday, 6 April 2017 at 05:32:41 UTC, rikki cattermole wrote: IMO there is two things that need to be done to get D for mobile: 1: ldc needs to natively target and distribute binaries for Android (MIPS, ARM, at least). I'm not sure what you mean by "natively target." Do you mean that

What are we going to do about mobile?

2017-04-05 Thread Joakim via Digitalmars-d
I have been saying for some time now that mobile is going to go after the desktop next (http://forum.dlang.org/thread/rionbqmtrwyenmhmm...@forum.dlang.org), Samsung just announced it, for a flagship device that will ship tens of millions: http://www.theverge.com/2017/3/29/15104600/samsung-dex-g

Re: Platform support?

2017-03-27 Thread Joakim via Digitalmars-d
On Monday, 27 March 2017 at 09:47:52 UTC, JN wrote: I'm curious about something. What platforms exactly are supported by D? It's hard to find concrete data, and if anything it's all hidden in forum posts. The wiki and download page are the best places to look: http://wiki.dlang.org/Compilers

Found on twitter: blog post introducing D

2017-03-23 Thread Joakim via Digitalmars-d
Would be great if more people here wrote about D on their blogs or elsewhere like this: http://www.active-analytics.com/blog/a-quick-look-at-d/ https://mobile.twitter.com/chibisi/status/844495309589876737 We need to crowdsource our marketing, just like D stdlib development is done by the commu

Re: andrei - better breakdown of statistics for downloads by region, OS, kind of site (academic/large corporate/large financial/etc)

2017-03-21 Thread Joakim via Digitalmars-d
On Tuesday, 21 March 2017 at 14:14:24 UTC, Laeeth Isharc wrote: Daily downloads of dmd are in a bull market: http://erdani.com/d/downloads.daily.png I wondered if it might be possible to break these out by region and OS. I guess if Andrei were to make public the script that parses the downloa

Re: CTFE Status 2

2017-03-13 Thread Joakim via Digitalmars-d
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: Hi Guys, due to the old CTFE status thread getting to page 30, I am now starting a new one. [...] Hey Stefan, you have been working on this for many months now: is someone funding your work? If not, you should put up a bitcoi

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

2017-03-06 Thread Joakim via Digitalmars-d
https://z0ltan.wordpress.com/2017/02/21/goodbye-rust-and-hello-d/

Re: D street cred: Just a thought

2017-03-03 Thread Joakim via Digitalmars-d
On Saturday, 4 March 2017 at 07:09:17 UTC, Nick Sabalausky (Abscissa) wrote: Just a thought for boosting D's street cred: Perhaps...take a worthwhile C/C++ project with real potential, fork it, and port it to D. And make a real commitment to maintaining it. Obviously a bit of a gambit, granted

Re: Why don't you advertise more your language on Quora etc ?

2017-03-01 Thread Joakim via Digitalmars-d
On Wednesday, 1 March 2017 at 17:09:51 UTC, Jared Jeffries wrote: I'm not talking especially about Quora, even if I admit that it's on this forum that somebody advised me to learn D to improve my object oriented programming skills. [...] I think it should instead be advertised as the perfect l

Re: WebAssembly design is done?

2017-02-28 Thread Joakim via Digitalmars-d
On Tuesday, 28 February 2017 at 21:50:11 UTC, Jack Stouffer wrote: On Tuesday, 28 February 2017 at 18:04:39 UTC, Ola Fosheim Grøstad wrote: [...] What a long, roundabout path we've taken to end up back where we started: shipping binaries in a sandboxed environment. What is the alternative y

Re: Codecov and CyberShadow failure

2017-02-08 Thread Joakim via Digitalmars-d
On Wednesday, 8 February 2017 at 17:30:53 UTC, RazvanN wrote: I've noticed a couple of days ago that the 2 components mentioned in $title aren't working when making PRs. I don't have any experience with this, so what is there to be done? RazvanN CyberShadow is Vladimir Panteleev's nickname:

Re: Internal error on Wiki page

2017-02-07 Thread Joakim via Digitalmars-d
On Tuesday, 7 February 2017 at 06:57:41 UTC, Vladimir Panteleev wrote: On Tuesday, 7 February 2017 at 02:43:36 UTC, Luís Marques wrote: This page shows an error instead of displaying the Wiki content: [54c97baea4172eeabd69f522] 2017-02-06

Re: Internal error on Wiki page

2017-02-06 Thread Joakim via Digitalmars-d
On Tuesday, 7 February 2017 at 02:43:36 UTC, Luís Marques wrote: This page shows an error instead of displaying the Wiki content: [54c97baea4172eeabd69f522] 2017-02-06 13:47:44: Fatal exception of type "Error" Just saw this yesterday fo

Re: The extent of trust in errors and error handling

2017-02-02 Thread Joakim via Digitalmars-d
On Thursday, 2 February 2017 at 09:14:43 UTC, Paolo Invernizzi wrote: On Wednesday, 1 February 2017 at 21:55:40 UTC, Dukc wrote: On Wednesday, 1 February 2017 at 19:25:07 UTC, Ali Çehreli Regarding that, I have trought that wouldn't it be better if it was bounds checking instead of debug vs re

Re: The extent of trust in errors and error handling

2017-02-01 Thread Joakim via Digitalmars-d
On Wednesday, 1 February 2017 at 19:25:07 UTC, Ali Çehreli wrote: tl;dr - Seeking thoughts on trusting a system that allows "handling" errors. [...] Have you seen this long post from last year, where Joe Duffy laid out what they did with Midori? http://joeduffyblog.com/2016/02/07/the-error

Re: Snap packages for D compilers and core projects

2017-01-30 Thread Joakim via Digitalmars-d
On Monday, 30 January 2017 at 23:47:50 UTC, Joseph Rushton Wakeling wrote: On Monday, 30 January 2017 at 19:07:03 UTC, Nick Sabalausky wrote: I don't understand where people keep getting that idea. It very clearly states that all you need is to ask permission. It's always been that way, and no

Swift's plan for world domination

2017-01-24 Thread Joakim via Digitalmars-d
Just finished listening to an interesting podcast with Chris Lattner, creator of Swift, about what went into the language, including mentioning D as one of its many influences, saying he wants it everywhere from linux servers to systems programming, and explaining their choice of ARC over GC.

How do we make dub more useful?

2017-01-14 Thread Joakim via Digitalmars-d
There were two recent posts by a new Rust user about how he's finding that language, that got a lot of attention on their reddit. In the latter post, he mentions D as a competitor: http://esr.ibiblio.org/?p=7303 Worth reading because we have similar issues with the dub registry, that Sönke i

Re: GNU License warning:

2017-01-12 Thread Joakim via Digitalmars-d
On Friday, 13 January 2017 at 02:25:03 UTC, Ignacious wrote: On Friday, 13 January 2017 at 01:27:02 UTC, Chris Wright wrote: [...] That makes no sense(it's obvious by the definition of derivative so you are not saying anything meaningful/useful). Obviously if you build an independent work yo

dmd download spike

2017-01-06 Thread Joakim via Digitalmars-d
A giant spike in downloads recently, likely tied to the latest 2.072 release: http://erdani.com/d/downloads.daily.png Nice work everyone.

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2017-01-05 Thread Joakim via Digitalmars-d
On Tuesday, 3 January 2017 at 20:07:59 UTC, Andrei Alexandrescu wrote: Arguing that local imports have been successful so we should simply do more of it is not a good argument, as there comes a point of diminishing returns. You need to show that there are still worthile gains to be made from c

Re: What are you planning, D related, for 2017 ?

2017-01-04 Thread Joakim via Digitalmars-d
On Monday, 2 January 2017 at 15:16:31 UTC, Basile B. wrote: Write your plan here, and let's take a rendez-vous next year, to check those plans !! Actually build an Android app like I wanted to last year, except that my app idea has changed, with no cloud component this time: http://forum.dla

Direction of D

2017-01-04 Thread Joakim via Digitalmars-d
On Tuesday, 3 January 2017 at 09:28:06 UTC, Paulo Pinto wrote: Allow me just to share a worthless outsider opinion. I never contributed anything worthwhile and decided it was better to just focus on JVM, .NET languages., alongside C++, as those are the skills I get paid for, thus stop polluti

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2017-01-03 Thread Joakim via Digitalmars-d
On Monday, 2 January 2017 at 21:23:19 UTC, Andrei Alexandrescu wrote: Regarding the ongoing doubts about the advantages of inline imports: they are first and foremost a completion of the nested import feature. As such, most, if not all, arguments against inline imports apply equally to nested i

Re: [OT] Anyone familiar with the google tooling - SKIA as a static library (maybe for D) ?

2016-12-28 Thread Joakim via Digitalmars-d
On Wednesday, 28 December 2016 at 14:23:03 UTC, Basile B wrote: I'd like to build SKIA[1] as a static library and interface it with D. However it's hard to build, I don't get anything to their build system, you need 'gen' to generate a 'ninja' file so you must build 'gen' but to build 'gen' you

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-24 Thread Joakim via Digitalmars-d
On Saturday, 24 December 2016 at 17:53:04 UTC, Chris Wright wrote: On Sat, 24 Dec 2016 09:20:19 +, John Colvin wrote: There are a lot of templates in Phobos that never use the template keyword. The proposal doesn't only apply to constraints, it applies to the whole declaration. If you hav

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-22 Thread Joakim via Digitalmars-d
On Wednesday, 21 December 2016 at 15:16:34 UTC, Andrei Alexandrescu wrote: On 12/20/2016 11:32 PM, Joakim wrote: Second, as I noted above, most top-level imports have not been made selective yet, because of the symbol leak bug that was recently fixed by Martin. You will see in my PRs that I on

Spotted on twitter: Packt blog post about some compile-time features of D

2016-12-21 Thread Joakim via Digitalmars-d
https://www.packtpub.com/books/content/modelling-rpg-d/ Maybe worth linking on reddit etc.?

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-20 Thread Joakim via Digitalmars-d
On Tuesday, 20 December 2016 at 20:51:54 UTC, Andrei Alexandrescu wrote: I've asked Joakim about this via email just now, likely other folks also know the answer: 1. I found these PRs related to local imports: https://github.com/dlang/phobos/pull/4361 https://github.com/dlang/phobos/pull/4365

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-20 Thread Joakim via Digitalmars-d
On Tuesday, 20 December 2016 at 04:04:14 UTC, Andrei Alexandrescu wrote: On 12/19/2016 01:47 AM, Joakim wrote: Why do you care _so_ much about the module dependency graph? To make this question concrete, let's look at an example, the std.array module you keep mentioning. This is what it looke

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-18 Thread Joakim via Digitalmars-d
On Sunday, 18 December 2016 at 18:42:36 UTC, Andrei Alexandrescu wrote: On 12/18/16 1:03 PM, Joakim wrote: I largely agree with Dmitry. Ilya refactored several Phobos modules to use scoped, selective imports much more, and I pitched in for some remaining imports in the largest modules, so that

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-18 Thread Joakim via Digitalmars-d
On Thursday, 15 December 2016 at 22:56:42 UTC, Dmitry Olshansky wrote: On 12/13/16 11:33 PM, Andrei Alexandrescu wrote: Destroy. https://github.com/dlang/DIPs/pull/51/files Andrei On first it seems like an awesome idea. That solves ... but wait what? Thinking more about the problem at han

Re: Enabling data-oriented design

2016-12-18 Thread Joakim via Digitalmars-d
On Sunday, 18 December 2016 at 14:58:53 UTC, Stefan Koch wrote: On Sunday, 18 December 2016 at 14:22:29 UTC, Joakim wrote: I was looking at the most popular videos from CppCon and the second-most popular from the last three years is the one on data-oriented design: https://youtube.com/watch?v

Enabling data-oriented design

2016-12-18 Thread Joakim via Digitalmars-d
I was looking at the most popular videos from CppCon and the second-most popular from the last three years is the one on data-oriented design: https://youtube.com/watch?v=1OEu9C51K2A The wikipedia page has a summary, basically focusing on cache effects more, with links to articles: https://

Re: JTransc + Android/iOS status support

2016-11-29 Thread Joakim via Digitalmars-d
On Tuesday, 29 November 2016 at 10:37:53 UTC, soywiz wrote: Amazing! Right now all the generated code uses __gshared. In Java you have to use https://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html to get TLS. And I didn't implemented it yet for multithreading. Because the initial j

Re: JTransc + Android/iOS status support

2016-11-29 Thread Joakim via Digitalmars-d
On Tuesday, 29 November 2016 at 08:49:22 UTC, soywiz wrote: @Joakim: Regarding to D. Yep I think I'm in the right place :) I started using D1 something almost 10 years ago and ended doing this: https://github.com/soywiz/pspemu My main concerns by then were: lack of IDE support for major refac

Re: JTransc + Android/iOS status support

2016-11-28 Thread Joakim via Digitalmars-d
On Tuesday, 29 November 2016 at 01:09:19 UTC, soywiz wrote: On Monday, 28 November 2016 at 17:53:30 UTC, Joakim wrote: On Monday, 28 November 2016 at 14:28:54 UTC, soywiz wrote: I am working on a software that allows to transform JVM bytecode into something else. In last version I have done a D

Re: JTransc + Android/iOS status support

2016-11-28 Thread Joakim via Digitalmars-d
On Monday, 28 November 2016 at 14:28:54 UTC, soywiz wrote: I am working on a software that allows to transform JVM bytecode into something else. In last version I have done a D target: https://github.com/jtransc/jtransc D target already passes my test suite and works just fine (next version wil

More technical material for the blog? Merge the newsletter?

2016-11-20 Thread Joakim via Digitalmars-d
Mike Parker has done a fantastic job with the D blog: I really like the unique direction he's taken, focusing on D users and their first-hand experiences. It is what I tried to do with my interviews that ran in the newsletter, and he's taken it to another level. Compare other recent compiled

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-14 Thread Joakim via Digitalmars-d
On Monday, 14 November 2016 at 08:38:32 UTC, AB wrote: Installing D 2.072.0 on Windows 7 64-bit. After installation is complete I get the following two error (warning?) messages, screenshots here: http://imgur.com/a/5fydB For your convenience they read as follows: "Could not detect Visual St

Re: [OT] web/desktop dying

2016-11-11 Thread Joakim 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: What is the right level of abstractions for D?

2016-11-05 Thread Joakim via Digitalmars-d
On Saturday, 29 October 2016 at 22:38:07 UTC, Danni Coy wrote: The bit that sends group 3 people off screaming is static typing, once you have accepted the need to explicitly type everything then Template functions are pretty straight forward in D. D can probably do well with groups 1 and 2,

[OT] web/desktop dying

2016-11-04 Thread Joakim via Digitalmars-d
On Thursday, 3 November 2016 at 06:32:07 UTC, Patrick Schluter wrote: On Thursday, 3 November 2016 at 06:11:08 UTC, Joakim wrote: On Sunday, 30 October 2016 at 10:04:02 UTC, Patrick Schluter wrote: On Sunday, 30 October 2016 at 06:39:42 UTC, Joakim wrote: It is not worth it, the web is dying.

Re: Linus' idea of "good taste" code

2016-11-02 Thread Joakim via Digitalmars-d
On Sunday, 30 October 2016 at 10:04:02 UTC, Patrick Schluter wrote: On Sunday, 30 October 2016 at 06:39:42 UTC, Joakim wrote: It is not worth it, the web is dying. I was stunned to see this chart of mobile web usage in the US: https://mobile.twitter.com/asymco/status/777915894659964928 Thi

Re: Linus' idea of "good taste" code

2016-10-29 Thread Joakim via Digitalmars-d
On Sunday, 30 October 2016 at 05:53:09 UTC, Walter Bright wrote: On 10/29/2016 10:30 PM, Dicebot wrote: At the same time intended wasm spec (https://github.com/WebAssembly/design) is much more simple than machine code for something like x86_64. If Walter gets interested, that may be a feasible

Re: What is the right level of abstractions for D?

2016-10-28 Thread Joakim via Digitalmars-d
On Thursday, 27 October 2016 at 17:03:09 UTC, Nick Sabalausky wrote: On 10/27/2016 02:22 AM, Joakim wrote: 1. low-level compiled languages like C++, D, Rust, and Swift, meant for performance and usually experts who want to squeeze it out 2. mid-level bytecode languages like Java and C#, mean

Re: What is the right level of abstractions for D?

2016-10-26 Thread Joakim via Digitalmars-d
On Thursday, 27 October 2016 at 06:22:03 UTC, Joakim wrote: I noticed that Richard Gabriel, one of the designers of Common Lisp, is on the committee for the new conference that Andrei mentioned here, so I went back and checked out his website again: http://dreamsongs.com. I mentioned his famo

What is the right level of abstractions for D?

2016-10-26 Thread Joakim via Digitalmars-d
I noticed that Richard Gabriel, one of the designers of Common Lisp, is on the committee for the new conference that Andrei mentioned here, so I went back and checked out his website again: http://dreamsongs.com. I mentioned his famous "Worse is better" essay here a couple years ago: http:/

Re: I close DIP27. I won't be pursuing DIPs anymore

2016-10-17 Thread Joakim via Digitalmars-d
On Monday, 17 October 2016 at 13:02:20 UTC, Steven Schveighoffer wrote: I would say the better attitude to have is that you may not expect results to always go your way, and put out your best effort. If it doesn't work, that's the way it is, move on to something more interesting and/or satisfyi

Suggestion for Walter/Andrei: follow-up to Component Programming in D

2016-10-17 Thread Joakim via Digitalmars-d
I recently reread Walter's 2012 article, as it's _the_ piece I recommend to others who want to know about D from a technical perspective: http://www.drdobbs.com/architecture-and-design/component-programming-in-d/240008321 Given the great success of H.S Teoh's subsequent article with a long ex

Re: I close DIP27. I won't be pursuing DIPs anymore

2016-10-17 Thread Joakim via Digitalmars-d
On Monday, 17 October 2016 at 08:29:27 UTC, Walter Bright wrote: On 10/17/2016 12:58 AM, Joakim wrote: I hope we can set up some kind of DIP review process where Mihails and other well-known community members, like Jonathan, Timon, Steven, or Amaury himself, can whip DIPs into shape before Walt

Re: I close DIP27. I won't be pursuing DIPs anymore

2016-10-17 Thread Joakim via Digitalmars-d
On Monday, 17 October 2016 at 06:43:21 UTC, Andrei Alexandrescu wrote: On 10/17/2016 01:02 AM, Walter Bright wrote: [...] I understand your frustration and please bear with us while we're arranging the DIP process to guarantee timely response. [...] I must say, I finally read this DIP aft

Re: Anyone has time for a unittesting issue?

2016-10-02 Thread Joakim via Digitalmars-d
On Sunday, 2 October 2016 at 01:30:15 UTC, Vladimir Panteleev wrote: On Sunday, 2 October 2016 at 01:23:18 UTC, Andrei Alexandrescu wrote: There, we list the full content of /tmp, recursively. That's not quite the right thing to do. Not only the run time is arbitrarily slow, but the test may fi

Re: Module names shadowing defined functions/templates.

2016-09-28 Thread Joakim via Digitalmars-d
On Thursday, 29 September 2016 at 01:54:42 UTC, Minty Fresh wrote: I ran into this issue just recently when trying to write a least-squares optimization function. Notably, module leastsq; T[] leastsq(alias func, T)(T[] vec, . . .) { . . . } It becomes impossible to import and ca

Re: Required DMD changes for Mir and few thoughts about D future

2016-09-26 Thread Joakim via Digitalmars-d
On Monday, 26 September 2016 at 20:11:19 UTC, Ilya Yaroshenko wrote: Yes, the same true for Mir too. A precompiled library based on top of Mir GLAS can be used with DMD. Are you sure about this? I thought there were ABI incompatibilities between D compilers. On Monday, 26 September 2016 at

Re: iPhone vs Android

2016-09-12 Thread Joakim via Digitalmars-d
On Monday, 12 September 2016 at 22:57:23 UTC, Andrei Alexandrescu wrote: (a) it is likely that in the future more code will run on portable, battery-powered systems; Completely agree, it's why I've been working on the Android port. (b) battery power does not follow a Moore trajectory, so at t

Re: Usability of D on windows?

2016-08-23 Thread Joakim via Digitalmars-d
On Tuesday, 23 August 2016 at 21:15:40 UTC, John Burton wrote: I'm like an honest opinion... Am I wasting my time trying to do this project in D on Windows? I'll continue to use and support the language but I don't want to fight a losing battle and end up having to move away anyway... Is ther

Re: Always false float comparisons

2016-08-22 Thread Joakim via Digitalmars-d
Sorry, I stopped reading this thread after my last response, as I felt I was wasting too much time on this discussion, so I didn't read your response till now. On Saturday, 21 May 2016 at 14:38:20 UTC, Timon Gehr wrote: On 20.05.2016 13:32, Joakim wrote: Yet you're the one arguing against incr

Re: IPFS

2016-08-14 Thread Joakim via Digitalmars-d
On Sunday, 14 August 2016 at 22:07:31 UTC, Karabuta wrote: On Sunday, 14 August 2016 at 21:21:25 UTC, Nordlöw wrote: I advice you all to read about IPFS at https://ipfs.io/ and https://techcrunch.com/2015/10/04/why-the-internet-needs-ipfs-before-its-too-late/ A D frontend is lacking... :) M

Re: D lang for android development

2016-08-14 Thread Joakim via Digitalmars-d
On Sunday, 14 August 2016 at 17:19:17 UTC, eugene wrote: Hello, everyone, did you try to write apps in D for android? Is it ok currently to write in D for android or there are issues or something? In addition to the links Seb gave you, check out these sample apps I ported that show how to cal

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

2016-08-12 Thread Joakim via Digitalmars-d
On Friday, 12 August 2016 at 19:13:12 UTC, Andrei Alexandrescu wrote: At about the time I was ready to give up I found an obscure site of an Israeli company that claimed to make a real i7 fanless machine. It was releases very recently, too, so I'm thinking it might be of interest to some others

Re: DConf Videos

2016-07-22 Thread Joakim via Digitalmars-d
On Thursday, 7 July 2016 at 14:10:12 UTC, Dicebot wrote: On Thursday, 30 June 2016 at 17:56:41 UTC, Jack Stouffer wrote: I've reminded Dylan about it. Should be out soon, but no exact ETA. Still no word? Sorry, getting delayed again >_< Will there be direct downloads, like in previous year

Re: D's exact stack convention for D and C/C++

2016-07-16 Thread Joakim via Digitalmars-d
On Sunday, 17 July 2016 at 01:30:31 UTC, Adam Sansier wrote: I am trying to debug some really messed up code that makes no sense. It calls in some code that doesn't seem to be using the standard calling convention. The function definitions are exactly the same in both D and C++. ->func(param1

[OT] Windows install

2016-07-15 Thread Joakim via Digitalmars-d
On Friday, 15 July 2016 at 05:10:29 UTC, Walter Bright wrote: I'm excluding the pain of Windows reinstall, as it took 14 hours of sitting there blankly "checking for updates". I wonder what it was possibly doing that took 14 hours (the disk was fresh, there was nothing to transmit to the NSA).

Re: Anatomy of a bad test

2016-07-07 Thread Joakim via Digitalmars-d
On Thursday, 7 July 2016 at 13:48:56 UTC, Andrei Alexandrescu wrote: On 07/07/2016 04:27 AM, Joakim wrote: Dan recently found an off-by-one bug in std.conv.toChars from Phobos, that somehow wasn't surfaced by our tests: Nice! Worth a blog entry? -- Andrei Maybe once we do something differen

Anatomy of a bad test

2016-07-07 Thread Joakim via Digitalmars-d
Dan recently found an off-by-one bug in std.conv.toChars from Phobos, that somehow wasn't surfaced by our tests: https://issues.dlang.org/show_bug.cgi?id=16192 I looked into why this opSlice test assert(r[1..2].array == "0"); wasn't triggering it, thought I'd write up what I found and how th

Re: Generalized Ranges

2016-06-04 Thread Joakim via Digitalmars-d
On Sunday, 5 June 2016 at 00:28:36 UTC, Pie? wrote: The point I'm trying to make is that when we deal with structures, the motions specify the structure. Most of the time we deal with simple motions(linear/incremental). Can D deal with the general case? D can be made to do so, but I don't th

Re: Why does DMD on Debian need xdg-utils

2016-06-02 Thread Joakim via Digitalmars-d
On Thursday, 2 June 2016 at 17:36:46 UTC, flamencofantasy wrote: DMD on debian depends on the xdg-utils package. When I install xdg-utils I get many more packages (see bottom of message). Is that really necessary? No, it isn't, apparently it's because the "dman" help tool requires xdg-open

Re: Dealing with Autodecode

2016-06-02 Thread Joakim via Digitalmars-d
On Thursday, 2 June 2016 at 06:53:49 UTC, poliklosio wrote: On Thursday, 2 June 2016 at 00:14:30 UTC, Seb wrote: Just FYI after a short period of ten hours we got the following 45 responses: Yes, with fire! (hobby user) 77% (35) Yeah remove that special behavior (professional user) 35

Re: [OT] Effect of UTF-8 on 2G connections

2016-06-01 Thread Joakim via Digitalmars-d
On Wednesday, 1 June 2016 at 18:30:25 UTC, Wyatt wrote: On Wednesday, 1 June 2016 at 16:45:04 UTC, Joakim wrote: On Wednesday, 1 June 2016 at 15:02:33 UTC, Wyatt wrote: It's not hard. I think a lot of us remember when a 14.4 modem was cutting-edge. Well, then apparently you're unaware of how

Re: [OT] Effect of UTF-8 on 2G connections

2016-06-01 Thread Joakim via Digitalmars-d
On Wednesday, 1 June 2016 at 14:58:47 UTC, Marco Leise wrote: Am Wed, 01 Jun 2016 13:57:27 + schrieb Joakim : No, I explicitly said not the web in a subsequent post. The ignorance here of what 2G speeds are like is mind-boggling. I've used 56k and had a phone conversation with my sister

Re: The Case Against Autodecode

2016-06-01 Thread Joakim via Digitalmars-d
On Wednesday, 1 June 2016 at 10:04:42 UTC, Marc Schütz wrote: On Tuesday, 31 May 2016 at 16:29:33 UTC, Joakim wrote: UTF-8 is an antiquated hack that needs to be eradicated. It forces all other languages than English to be twice as long, for no good reason, have fun with that when you're downl

Re: The Case Against Autodecode

2016-05-31 Thread Joakim via Digitalmars-d
On Tuesday, 31 May 2016 at 20:28:32 UTC, ag0aep6g wrote: On 05/31/2016 06:29 PM, Joakim wrote: D devs should lead the way in getting rid of the UTF-8 encoding, not bickering about how to make it more palatable. I suggested a single-byte encoding for most languages, with double-byte for the on

Re: The Case Against Autodecode

2016-05-31 Thread Joakim via Digitalmars-d
On Tuesday, 31 May 2016 at 20:20:46 UTC, Marco Leise wrote: Am Tue, 31 May 2016 16:29:33 + schrieb Joakim : Part of it is the complexity of written language, part of it is bad technical decisions. Building the default string type in D around the horrible UTF-8 encoding was a fundamental

Re: The Case Against Autodecode

2016-05-31 Thread Joakim via Digitalmars-d
On Tuesday, 31 May 2016 at 18:34:54 UTC, Jonathan M Davis wrote: On Tuesday, May 31, 2016 16:29:33 Joakim via Digitalmars-d wrote: UTF-8 is an antiquated hack that needs to be eradicated. It forces all other languages than English to be twice as long, for no good reason, have fun with that

Re: The Case Against Autodecode

2016-05-31 Thread Joakim via Digitalmars-d
On Monday, 30 May 2016 at 17:35:36 UTC, Chris wrote: On Monday, 30 May 2016 at 16:03:03 UTC, Marco Leise wrote: *** http://site.icu-project.org/home#TOC-What-is-ICU- I was actually talking about ICU with a colleague today. Could it be that Unicode itself is broken? I've often heard criticism

Re: Free the DMD backend

2016-05-28 Thread Joakim via Digitalmars-d
On Sunday, 29 May 2016 at 03:52:33 UTC, open-source-guy wrote: Hi, this is a short ping about one of D's weaknesses - the restrictive license for the backend. IIRC [1, 2, 3] the status is that because some parts have been written by Walter while he was employed by Symantec, it can't get an op

Re: Request for approval: deploying dlang.org on merge

2016-05-27 Thread Joakim via Digitalmars-d
On Friday, 27 May 2016 at 14:34:03 UTC, Jesse Phillips wrote: On Thursday, 26 May 2016 at 15:53:34 UTC, Seb wrote: We already have http://wiki.dlang.org/User:Vladimir_Panteleev/Website_staging so it's not a matter of implementation, just everyone agreeing that it's what we want to do Would t

Re: Split general into multiple threads

2016-05-27 Thread Joakim via Digitalmars-d
On Friday, 27 May 2016 at 09:47:08 UTC, Johan Engelen wrote: On Thursday, 26 May 2016 at 21:45:56 UTC, Seb wrote: 1) Afaik the LDC community moved over to Gitter/Github for most of their communication and I guess for them just Annouce or Develop would be fine. I think the LDC forum has its

Re: Split general into multiple threads

2016-05-26 Thread Joakim via Digitalmars-d
On Friday, 27 May 2016 at 00:21:37 UTC, Mike Parker wrote: On Thursday, 26 May 2016 at 23:13:10 UTC, Seb wrote: So yet another summary: New users: - Learn / Help Community: - General - Annouce (Official annoucements) - Broadcast Development: - Core (Language and standard library development) -

Re: Split general into multiple threads

2016-05-26 Thread Joakim via Digitalmars-d
On Thursday, 26 May 2016 at 21:45:56 UTC, Seb wrote: On Thursday, 26 May 2016 at 21:17:18 UTC, jmh530 wrote: On Thursday, 26 May 2016 at 20:27:25 UTC, Jonathan M Davis wrote: It may be that we want to create another list or two for some specific stuff, but trying to split stuff across a bun

Re: Split general into multiple threads

2016-05-26 Thread Joakim via Digitalmars-d
On Thursday, 26 May 2016 at 19:32:31 UTC, ag0aep6g wrote: On Thursday, 26 May 2016 at 19:12:44 UTC, Joakim wrote: Or we could just go by topic and not bother with separate forums too, as it has largely failed so far. The General/Learn split is working pretty well. It works because people who

Re: Split general into multiple threads

2016-05-26 Thread Joakim via Digitalmars-d
On Thursday, 26 May 2016 at 17:07:54 UTC, Seb wrote: I think we all agree that general is having to much traffic and according to CyberShadow [1] this again is just an approval issue, however I expect this a bit controversial, so please no OT! Only other category proposals. I disagree. You d

Re: Our Sister

2016-05-26 Thread Joakim via Digitalmars-d
On Thursday, 26 May 2016 at 16:20:37 UTC, Adam D. Ruppe wrote: On Thursday, 26 May 2016 at 16:11:22 UTC, Andrei Alexandrescu wrote: I've been working on RCStr (endearingly pronounced "Our Sister") You really should actually mention RCStr in the subject line so people overwhelmed with the stag

Re: Could forum.dlang.org remember how many captchas I filled out?

2016-05-25 Thread Joakim via Digitalmars-d
On Wednesday, 25 May 2016 at 21:52:40 UTC, cy wrote: On Wednesday, 25 May 2016 at 20:24:50 UTC, Joakim wrote: It's run by the company behind Wordpress, which has less than 500 employees. Okay fine, maybe it's not Proctor and Gamble. But do you want to face up against 500 people and tell them

Re: Could forum.dlang.org remember how many captchas I filled out?

2016-05-25 Thread Joakim via Digitalmars-d
On Monday, 23 May 2016 at 20:46:01 UTC, cy wrote: On Monday, 23 May 2016 at 18:54:47 UTC, Joakim wrote: Hmm, I almost never get that CAPTCHA, and I don't log in to the forum. Could be something else about your profile that Akismet flags: have you tried taking it up with them? I login here, n

Re: Could forum.dlang.org remember how many captchas I filled out?

2016-05-23 Thread Joakim via Digitalmars-d
On Monday, 23 May 2016 at 17:56:17 UTC, cy wrote: [...] I've filled out one of these for every post I've made here. Yet I'm logged in, with a persistent state on the server side. Could something be implemented along the lines of: [...] Hmm, I almost never get that CAPTCHA, and I don't log

Re: Chat with Stefan Koch about CTFE reimplementation

2016-05-23 Thread Joakim via Digitalmars-d
On Monday, 23 May 2016 at 16:32:30 UTC, deadalnix wrote: On Monday, 23 May 2016 at 15:57:42 UTC, rikki cattermole wrote: Hello! [...] Call me party pooper or something but this whole things seems to get way out of control. In order to asses the quality of the new design, one need to compa

Re: [OT] On Giving Presentations

2016-05-22 Thread Joakim via Digitalmars-d
On Sunday, 22 May 2016 at 18:35:16 UTC, Walter Bright wrote: http://alumni.media.mit.edu/~cahn/life/gian-carlo-rota-10-lessons.html#expository A lot of us wind up giving presentations now and then, and all of us can improve. This article has some great advice, and is a good read, too. Did yo

Re: D <-> C++ exceptions

2016-05-22 Thread Joakim via Digitalmars-d
On Sunday, 22 May 2016 at 09:45:05 UTC, Manu wrote: On 22 May 2016 at 18:09, Xiaoxi via Digitalmars-d wrote: On Sunday, 22 May 2016 at 05:12:51 UTC, Manu wrote: On 22 May 2016 at 11:35, Walter Bright via Digitalmars-d wrote: On 5/21/2016 5:36 PM, Manu via Digitalmars-d wrote: Where are

Re: Always false float comparisons

2016-05-20 Thread Joakim via Digitalmars-d
On Friday, 20 May 2016 at 11:02:45 UTC, Timon Gehr wrote: On 20.05.2016 11:14, Joakim wrote: On Thursday, 19 May 2016 at 18:22:48 UTC, Timon Gehr wrote: On 19.05.2016 08:04, Joakim wrote: On Wednesday, 18 May 2016 at 17:10:25 UTC, Timon Gehr wrote: It's not just slightly worse, it can cut the

Re: Always false float comparisons

2016-05-20 Thread Joakim via Digitalmars-d
On Thursday, 19 May 2016 at 18:22:48 UTC, Timon Gehr wrote: On 19.05.2016 08:04, Joakim wrote: On Wednesday, 18 May 2016 at 17:10:25 UTC, Timon Gehr wrote: It's not just slightly worse, it can cut the number of useful bits in half or more! It is not unusual, I have actually run into those prob

Re: Always false float comparisons

2016-05-19 Thread Joakim via Digitalmars-d
On Thursday, 19 May 2016 at 12:00:33 UTC, Joseph Rushton Wakeling wrote: On Thursday, 19 May 2016 at 11:33:38 UTC, Joakim wrote: The example he refers to is laughable because it also checks for equality. With good reason, because it's intended to illustrate the point that two calculations tha

Re: Always false float comparisons

2016-05-19 Thread Joakim via Digitalmars-d
On Thursday, 19 May 2016 at 11:00:31 UTC, Ola Fosheim Grøstad wrote: On Thursday, 19 May 2016 at 08:37:55 UTC, Joakim wrote: On Thursday, 19 May 2016 at 08:28:22 UTC, Ola Fosheim Grøstad wrote: On Thursday, 19 May 2016 at 06:04:15 UTC, Joakim wrote: In this case, not increasing precision gets t

Re: Always false float comparisons

2016-05-19 Thread Joakim via Digitalmars-d
On Thursday, 19 May 2016 at 08:28:22 UTC, Ola Fosheim Grøstad wrote: On Thursday, 19 May 2016 at 06:04:15 UTC, Joakim wrote: In this case, not increasing precision gets the more accurate result, but other examples could be constructed that _heavily_ favor increasing precision. In fact, almost

Re: Always false float comparisons

2016-05-18 Thread Joakim via Digitalmars-d
On Wednesday, 18 May 2016 at 17:10:25 UTC, Timon Gehr wrote: It's not just slightly worse, it can cut the number of useful bits in half or more! It is not unusual, I have actually run into those problems in the past, and it can break an algorithm that is in Phobos today! I wouldn't call that

Re: Always false float comparisons

2016-05-18 Thread Joakim via Digitalmars-d
On Wednesday, 18 May 2016 at 12:27:38 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 18 May 2016 at 11:16:44 UTC, Joakim wrote: Welcome to the wonderful world of C++! :D More seriously, it is well-defined for that implementation, you did not raise the issue of the spec till now. In fact, you

Re: Always false float comparisons

2016-05-18 Thread Joakim via Digitalmars-d
On Wednesday, 18 May 2016 at 09:21:30 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 18 May 2016 at 07:21:30 UTC, Joakim wrote: On Wednesday, 18 May 2016 at 05:49:16 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 18 May 2016 at 03:01:14 UTC, Joakim wrote: There is nothing "random" about increasin

Re: Always false float comparisons

2016-05-18 Thread Joakim via Digitalmars-d
On Wednesday, 18 May 2016 at 05:49:16 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 18 May 2016 at 03:01:14 UTC, Joakim wrote: There is nothing "random" about increasing precision till the end, it follows a well-defined rule. Can you please quote that well-defined rule? It appears to be "the

<    1   2   3   4   5   6   7   8   9   10   >