On Monday, 20 March 2017 at 16:56:02 UTC, Gerald wrote:
Terminix, a Linux GTK3 tiling terminal emulator written in D,
has been renamed to Tilix due to trademark infringement issues
with the Terminix International corporation. The new URLs for
Tilix are as follows:
Website:
On Thursday, 22 December 2016 at 14:06:13 UTC, Gerald wrote:
Terminix 1.4.0, a tiling terminal emulator for Linux written in
D, is now available.
[...]
Just checked the website and looks really awesome!
I will install it today on my Ubuntu ;)
On Sunday, 23 October 2016 at 13:04:30 UTC, Stefam Koch wrote:
Hi Guys,
while brushing up on my C and algorithm skills, accidently
created a version of fibbonaci which I deem to be faster then
the other ones floating around.
It's also more concise
the code is :
int computeFib(int n)
{
On Thursday, 2 June 2016 at 20:53:18 UTC, Walter Bright wrote:
On 6/2/2016 11:34 AM, Minas Mina wrote:
I have written a blog post about operator overloading for
structs.
You can find it here:
https://www.reddit.com/r/programming/comments/4m8mgr/operator_overloading_for_structs_in_d/
On Thursday, 2 June 2016 at 18:55:36 UTC, Steven Schveighoffer
wrote:
On 6/2/16 2:34 PM, Minas Mina wrote:
[...]
Cool. You missed one very significant thing. That is using
mixins to take advantage of the operator string.
For example, opOpAssign can be done in one step:
ref Rational
I have written a blog post about operator overloading for structs.
You can find it here:
https://www.reddit.com/r/programming/comments/4m8mgr/operator_overloading_for_structs_in_d/
Comments and suggestions are appreciated.
On Friday, 27 May 2016 at 20:42:13 UTC, Andrei Alexandrescu wrote:
On 05/27/2016 03:39 PM, Dmitry Olshansky wrote:
On 27-May-2016 21:11, Andrei Alexandrescu wrote:
On 5/27/16 10:15 AM, Chris wrote:
It has happened to me that characters like "é" return length
== 2
Would normalization make
On Friday, 27 May 2016 at 20:42:13 UTC, Andrei Alexandrescu wrote:
On 05/27/2016 03:39 PM, Dmitry Olshansky wrote:
On 27-May-2016 21:11, Andrei Alexandrescu wrote:
On 5/27/16 10:15 AM, Chris wrote:
It has happened to me that characters like "é" return length
== 2
Would normalization make
On Tuesday, 19 April 2016 at 22:28:27 UTC, Alex Parrill wrote:
I'm proposing that std.experimental.allocator.make, as well as
its friends, throw an exception when the allocator cannot
satisfy a request instead of returning null.
[...]
I believe it was designed this way so that it can be
On Wednesday, 9 March 2016 at 16:13:38 UTC, Minas Mina wrote:
Hello, I have followed the instructions here
(http://wiki.dlang.org/Starting_as_a_Contributor#POSIX) to
install DMD, druntime and phobos from source.
My platform is Ubuntu 15.10 x64.
This is the error I get:
Hello, I have followed the instructions here
(http://wiki.dlang.org/Starting_as_a_Contributor#POSIX) to
install DMD, druntime and phobos from source.
My platform is Ubuntu 15.10 x64.
This is the error I get:
http://pastebin.com/kWCv0ymn
On Tuesday, 8 March 2016 at 22:53:01 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 8 March 2016 at 18:24:54 UTC, Minas Mina wrote:
I honestly don't care about those. Boost has them. Modules are
far more important for me.
Just found out that Modules weren't supposed to be scheduled
for C++17
On Tuesday, 8 March 2016 at 17:31:58 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 8 March 2016 at 15:54:46 UTC, Dmitry Olshansky
wrote:
This more or less means that we (as in D enthusiasts) have
some more time to carve up some "market" share. Till C++20 I
guess.
Yes, but they got in
On Sunday, 6 March 2016 at 07:38:01 UTC, Ali Çehreli wrote:
Motivated by Dmitry's "Pitching D to a gang of Gophers" thread,
how about pitching it to a gang of professors and graduate
students?
I will be presenting D to such an audience at METU in Ankara.
What are the points that you would
I added a WinMain function to my application because I don't want
it to open a console when running on windows.
But now it doesn't even start...
extern (Windows)
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
bool b = true;
On Friday, 4 March 2016 at 13:53:22 UTC, aki wrote:
Is it okay to modify associative array while iterating it?
import std.stdio;
void main() {
string[string] hash = [ "k1":"v1", "k2":"v2" ];
auto r = hash.byKeyValue();
while(!r.empty) {
auto key =
Hello.
I'm trying to install DCD on windows 8.1 using DUB but I get an
error.
When executing "dub build --build=release --config=client" I get
the following error:
=> Root package dcd contains reference to invalid package
libdparse >=0.5.0 <0.6.0 <=
On Monday, 22 February 2016 at 23:03:38 UTC, Jonathan M Davis
wrote:
On Monday, February 22, 2016 22:22:01 Minas Mina via
Digitalmars-d-learn wrote:
[...]
Short answer:
[...]
Great, thanks.
I'm trying to inherit from Logger, and I my custom logger to
print to stdout using writeln(). But I can't because writeLogMsg
is @safe, whereas writeln() is @system.
Why is writeLogMsg @safe? This is too restrictive.
On Sunday, 7 February 2016 at 19:43:23 UTC, rsw0x wrote:
On Sunday, 7 February 2016 at 19:39:27 UTC, rsw0x wrote:
On Sunday, 7 February 2016 at 19:27:19 UTC, Charles Hixson
wrote:
If I define a shared ulong variable, is increment an atomic
operation?
E.g.
shared ulong t;
...
t++;
It seems
On Wednesday, 14 March 2012 at 05:44:24 UTC, Chris Pons wrote:
I'm new, and trying to incorporate assert and enforce into my
program properly.
My question revolves around, the fact that assert is only
evaluated when using the debug switch. I read that assert
throws a more serious exception
On Wednesday, 3 February 2016 at 18:04:38 UTC, Andrei
Alexandrescu wrote:
On 02/03/2016 10:05 AM, Sönke Ludwig wrote:
For std.move, isn't the only place where an exception can be
thrown in
the destructor (which shouldn't throw)? It uses memcpy to move
the
memory around to circumvent any
On Wednesday, 27 January 2016 at 21:08:54 UTC, Martin Nowak wrote:
Glad to announce D 2.070.0
http://dlang.org/download.html
This release comes with the new std.experimental.ndslice,
heavily expanded Windows bindings, and native exception
handling on 64-bit linux. See the changelog for more
On Wednesday, 27 January 2016 at 14:22:18 UTC, Shachar Shemesh
wrote:
On 26/01/16 11:33, deadalnix wrote:
On Tuesday, 26 January 2016 at 09:16:47 UTC, Ola Fosheim
Grøstad wrote:
[...]
Now if one want to use that, D is very capable of doing it
already. Just
won't make it the default (like it
Another IDE tutorial!
Reddit post:
https://www.reddit.com/r/programming/comments/42gcxi/using_eclipse_ide_with_d/
On Tuesday, 19 January 2016 at 15:46:30 UTC, Andrei Alexandrescu
wrote:
On 01/17/2016 04:29 AM, Minas Mina wrote:
I have written a tutorial on how to set up D with IntelliJ.
https://www.reddit.com/r/programming/comments/41cuud/using_d_with_intellij/
Comments appreciated :)
Great going,
On Monday, 18 January 2016 at 00:14:52 UTC, Israel wrote:
On Sunday, 17 January 2016 at 09:29:02 UTC, Minas Mina wrote:
I have written a tutorial on how to set up D with IntelliJ.
https://www.reddit.com/r/programming/comments/41cuud/using_d_with_intellij/
Comments appreciated :)
Thanks.
I have written a tutorial on how to set up D with IntelliJ.
https://www.reddit.com/r/programming/comments/41cuud/using_d_with_intellij/
Comments appreciated :)
On Wednesday, 6 January 2016 at 12:19:45 UTC, Jacob Carlborg
wrote:
On 2016-01-05 15:44, Minas Mina wrote:
It won't, but to use it again you need to allocate a new one
(If I'm not
mistaken).
Not explicitly. I don't know if the runtime allocates a new
one. This works:
void main()
{
On Monday, 4 January 2016 at 19:58:03 UTC, Martin Nowak wrote:
On 01/04/2016 09:06 AM, Bastiaan Veelo wrote:
This would be a bug (segfault on my machine):
foreach (key; aa.byKey)
aa.remove(key);
Note that, in this example, there is no need to remove every
element separately,
On Sunday, 3 January 2016 at 19:29:05 UTC, Martin Nowak wrote:
On 01/01/2016 04:27 PM, Minas Mina wrote:
On Friday, 1 January 2016 at 13:59:35 UTC, Walter Bright wrote:
http://minas-mina.com/2016/01/01/associative-arrays/
On Friday, 1 January 2016 at 13:59:35 UTC, Walter Bright wrote:
http://minas-mina.com/2016/01/01/associative-arrays/
https://www.reddit.com/r/programming/comments/3z03ji/hash_tables_in_the_d_programming_language/
Thanks for sharing this. I am the author. :)
On Wednesday, 30 December 2015 at 17:17:07 UTC, Israel wrote:
On Wednesday, 30 December 2015 at 17:04:15 UTC, Suliman wrote:
On Monday, 28 December 2015 at 19:23:17 UTC, Kingsley wrote:
On Friday, 25 December 2015 at 17:43:06 UTC, Kingsley wrote:
On Friday, 25 December 2015 at 16:55:32 UTC,
On Friday, 25 December 2015 at 10:41:26 UTC, Kingsley wrote:
Hi
I have released an initial attempt at an IntelliJ plugin for D
to the jetbrains plugin repository.
It's DLanguage version 1.2
It has basic syntax highlighting, autocompletion with DCD,
compile checking and linting with
I'm trying to build on IntelliJ 15, Ubuntu 15.10:
9:05:55 ΠΜ All files are up-to-date
9:05:55 ΠΜ Error running Run DUB: DUB executable is not
specified.Configure DUB settings
How do I configure dub settings?
It seems that "configure" is a link (it's underlined) but nothing
opens when I click
Also, it seems that no [project name].sdl file is created for dub
projects.
On Wednesday, 23 December 2015 at 22:29:31 UTC, Andrew Chapman
wrote:
On Wednesday, 23 December 2015 at 11:46:37 UTC, Jakob Ovrum
wrote:
On Wednesday, 23 December 2015 at 11:21:32 UTC, Jakob Ovrum
wrote:
Dynamic memory allocation is expensive. If the string is
short-lived, allocate it on the
On Thursday, 24 December 2015 at 01:08:38 UTC, Walter Bright
wrote:
This has resurfaced on Reddit:
https://www.reddit.com/r/programming/comments/3xya5v/so_you_want_to_write_your_own_language/
Very good article, thanks!
On Friday, 4 December 2015 at 22:48:03 UTC, Andrei Alexandrescu
wrote:
On 12/04/2015 03:43 PM, Walter Bright wrote:
On 12/4/2015 10:49 AM, Dmitry Olshansky wrote:
Was vaguely terrified reading this whole thread until hitting
this
gem. Seems
like a creative use for UDA.
Yeah, I think it puts
On Thursday, 3 December 2015 at 22:54:53 UTC, Andrei Alexandrescu
wrote:
Nothing. But one thing I was keeping an eye for would be to
allow lst.stable.linear.xxx and lst.linear.stable.xxx with one
body. -- Andrei
Please don't. Choose one to be the outer and one to be the inner.
Otherwise
On Friday, 4 December 2015 at 03:46:39 UTC, Walter Bright wrote:
On 12/3/2015 5:27 PM, Andrei Alexandrescu wrote:
Now this primitive may have three complexities:
* linear in the length of r (e.g. c is a singly-linked list)
* linear in the number of elements after r in the collection
(e.g. c
SDLang is fine. If someone wants to use D, it won't be SDLang
that will stop him.
Keep calm and use SDLang.
On Friday, 27 November 2015 at 20:14:21 UTC, Andrei Alexandrescu
wrote:
There's this oddity of built-in hash tables: a reference to a
non-empty hash table can be copied and then both references
refer to the same hash table object. However, if the hash table
is null, copying the reference won't
On Wednesday, 18 November 2015 at 05:49:00 UTC, tcak wrote:
On Tuesday, 17 November 2015 at 19:32:05 UTC, Adam D. Ruppe
wrote:
On Tuesday, 17 November 2015 at 19:27:15 UTC, tcak wrote:
As far as I know, GC has a separate thread that stops all
other threads periodically to clear the unused
On Tuesday, 13 October 2015 at 08:55:26 UTC, Benjamin Thaut wrote:
On Tuesday, 13 October 2015 at 07:17:20 UTC, Jonathan M Davis
wrote:
Ultimately, I think that we're better off with TDPL's
definition of synchronized classes than the synchronized
functions that we have now, so I do think
I have started a series of tutorials in D.
This is my latest blog post, which is about dynamic arrays:
http://minas-mina.com/2015/08/31/dynamic-arrays/
Constructive criticism is welcome.
On Monday, 31 August 2015 at 21:45:26 UTC, Steven Schveighoffer
wrote:
On 8/31/15 5:09 PM, Minas Mina wrote:
I have started a series of tutorials in D.
This is my latest blog post, which is about dynamic arrays:
http://minas-mina.com/2015/08/31/dynamic-arrays/
Constructive criticism is
On Thursday, 30 July 2015 at 13:44:41 UTC, deadalnix wrote:
On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote:
D is really cool and makes a good candidate for developing a
game. Are there any guys out there using D for indie games?
For some time I have been seeing some cool game
On Thursday, 30 July 2015 at 14:18:21 UTC, Brandon Ragland wrote:
On Thursday, 30 July 2015 at 13:44:41 UTC, deadalnix wrote:
On Thursday, 30 July 2015 at 13:43:35 UTC, karabuta wrote:
D is really cool and makes a good candidate for developing a
game. Are there any guys out there using D for
On Tuesday, 28 July 2015 at 19:30:45 UTC, Jonathan M Davis wrote:
And his scoring system is going to put most projects into fail
territory _very_ quickly.
An interesting read though.
- Jonathan M Davis
Because most project fail?
bump
I have written a script that visits all directories in the
current directory and executes a command. In my case, git pull.
When running the script serially, everything is fine. All git
repositories are pulled.
But I'd like to pull multiple repositories in parallel to speed
things up.
So
I intent to use D to make a small 2D game.
I have downloaded eclipse, DDT plugin and dub. I also set the
path to dub in eclipse.
So I made a new project, tested a writeln and it worked. The next
step was to add some dependencies for derelict. I need SFML for
now (and DerelictUtils of
Oh and another thing: The program compiles right now but I can't
execute it because for some reason:
Failed to create a child process.
Cannot run program
/home/minas/Projects/eclipse_workspace/DTest/dtest (in
directory /home/minas/Projects/eclipse_workspace/DTest):
error=13, Permission denied
On Tuesday, 21 October 2014 at 08:02:52 UTC, bearophile wrote:
Currently this code gets rejected:
const int[] a = [1];
void main() pure {
auto y = a[0];
}
test2.d(3,14): Error: pure function 'D main' cannot access
mutable static data 'a'
test2.d(3,14): Error: pure function 'D main'
55 matches
Mail list logo