Main page:
http://ddili.org/ders/d.en/
1) For the first time, there are eBook formats:
http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub
http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.mobi
I used 'calibre' to generate those alpha quality books. I chose
Awesome!
Fantastic work.
Thx, your book's just helped me last night (opSlice template not
well explained in the official html). Two questions:
- do you know that your website has serious design issue ?
- does paper version mean no more free pdf/ebook ?
This is HUGE!
I've gone through many of your chapters, but it was just now, after
seeing it as a one 700 pages long book, that I truly realized how much
of a work this must have been.
Thank you. Can't wait to have it on the shelf...
Martin
smime.p7s
Description: Elektronicky podpis S/MIME
On Tuesday, 25 November 2014 at 23:58:21 UTC, Brian Schott wrote:
On Tuesday, 25 November 2014 at 23:47:07 UTC, Nordlöw wrote:
On Tuesday, 25 November 2014 at 23:45:17 UTC, Nordlöw wrote:
I guess one solution would be to make warnings non-errors
right but that seems dumb concerning what dfix
On Wednesday, 26 November 2014 at 13:11:28 UTC, Nordlöw wrote:
It would be nice if we could call DUB either as
dub -wi
or in a more generic way as
dub --dmd-flags=wi,...
so I don't have to clone the top-level project and modify its
dub.json myself in order to test dfix built using
On Wednesday, 26 November 2014 at 10:34:24 UTC, Ali Çehreli wrote:
Main page:
http://ddili.org/ders/d.en/
1) For the first time, there are eBook formats:
http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub
One more thing - if you have the book in some wiki form, it may
be a good idea to transform it into AsciiDoc as it has really
nice ePub/PDF/HTML output.
On 11/26/14 2:34 AM, Ali Çehreli wrote:
Main page:
http://ddili.org/ders/d.en/
1) For the first time, there are eBook formats:
http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub
http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.mobi
Fantastic! I wanted
On 11/26/2014 03:42 AM, Anonymous wrote:
- do you know that your website has serious design issue ?
Of course. :(
- does paper version mean no more free pdf/ebook ?
My current thinking is that all of the ebook formats should be free but
also purchasable.
A distributor like Smashwords
On 11/26/2014 06:27 AM, Dejan Lekic wrote:
whenever there is something new, so we readers can go back to the website
and grab the latest version of the book.
That has always been the case with Programming in D. Although there has
been a hiatus of about two months this last time, Luís
On 11/26/2014 09:24 AM, Andrei Alexandrescu wrote:
I wanted to mention this on reddit
That site is fine.
but noticed that (a) http://ddili.org/ders/d.en/ has the left menu in
Turkish
That site sucks! :)
and (b) there are no links to the ebooks from that page.
I intentionally did not
Congrats on (nearly) finishing your book. It's one of the best D
resources available and very high quality.
On Wednesday, 26 November 2014 at 10:34:24 UTC, Ali Çehreli wrote:
Main page:
http://ddili.org/ders/d.en/
1) For the first time, there are eBook formats:
http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub
Why not use a constructor and let the compiler manage the
boilerplate?
this(NSRect frame) [initWithFrame:] {
//my stuff
super(frame);
}
This should emit the same code as the function above (but I
haven't tested). And then you can write:
On 11/26/2014 11:35 AM, Ali Çehreli wrote:
I wonder whether Smashwords would allow me to also provide the book
for free
on my site?
Found the answer to that question:
6c. Free Copies. As administrator of your work, Author may use the
Smashwords platform to distribute complimentary copies
Necht hob was fitted many years ago and still works perfect.
_
[url=http://www.nechtgashob.co.uk]Necht Hob[/url]
On Wednesday, 26 November 2014 at 23:16:11 UTC, Ali Çehreli wrote:
On 11/26/2014 11:35 AM, Ali Çehreli wrote:
I wonder whether Smashwords would allow me to also provide
the book for free
on my site?
Found the answer to that question:
6c. Free Copies. As administrator of your work, Author
when I migrate dfl codes from x86 to 64 bit,modify the drawing.d
,find the 'offset' and 'index',point(x,y),rect(x,y),all be
keep with the 'lengh's type, so I don't modify them to
size_t,only cast(int)length to int,then it's easy to migrate dfl
codes to 64 bit.
Ok,then dfl can work on 64
On Tuesday, 25 November 2014 at 23:41:51 UTC, Walter Bright wrote:
On 11/25/2014 2:26 AM, Robert burner Schadek wrote:
On Tuesday, 25 November 2014 at 00:37:00 UTC, Walter Bright
wrote:
Anyone know anything about this?
On Tuesday, 25 November 2014 at 23:41:51 UTC, Walter Bright wrote:
On 11/25/2014 2:26 AM, Robert burner Schadek wrote:
On Tuesday, 25 November 2014 at 00:37:00 UTC, Walter Bright
wrote:
Anyone know anything about this?
On Wednesday, 26 November 2014 at 07:46:12 UTC, Benjamin Thaut
wrote:
Am 25.11.2014 21:46, schrieb MrSmith:
Is there a bugzilla issue for this? And what is the status of
windows dlls?
If you want a bit more dll support right now, I suggest that
you take a look at these changes and merge them
On Friday, 21 November 2014 at 13:39:43 UTC, monarch_dodra wrote:
I trust everyone here knows about the builder pattern
(http://en.wikipedia.org/wiki/Builder_pattern)? It can be very
useful when the number of (optional) arguments in a function
start to run rampant, and you know the user only
So my computer died on me again last week and I had to buy new
hardware. I was forced to update the software to run the new
hardware... and it is painful.
I hate all software and have learned that if I want a job done
right, I have to do it myself. Rarely, I find other people's
software is
On Wednesday, 26 November 2014 at 20:06:02 UTC, Adam D. Ruppe
wrote:
xterm is one example. I basically like it but it is ugly and
stupid so needs a few fixes. As such, I maintain my own private
fork of it.
I would hate to hear what you have to say about software that you
don't like :o)
On Wed, Nov 26, 2014 at 08:06:01PM +, Adam D. Ruppe via Digitalmars-d wrote:
So my computer died on me again last week and I had to buy new
hardware. I was forced to update the software to run the new
hardware... and it is painful.
I have a high distrust of brand new *hardware*, because
On 25 November 2014 at 19:08, Daniel Murphy via Digitalmars-d
digitalmars-d@puremagic.com wrote:
Johannes Pfau wrote in message news:m5288s$l8$1...@digitalmars.com...
No, unfortunately not. The module where the template is instantiated
needs to be the 'main' module. Or rather toObjfile must
On Wednesday, 26 November 2014 at 20:59:30 UTC, CraigDillabaugh
wrote:
I would hate to hear what you have to say about software that
you don't like :o)
hehe
What is your new linux distro?
Slackware 14.1. I've been a Slackware user for a long time and I
still find it less unbearable than
On Wednesday, 26 November 2014 at 17:42:07 UTC, Robik wrote:
If D would support getting parameter names(currently does not
work for lambdas) of lambdas we could have:
someConnect(host = test, port = 7999);
Just a random thought :)
import std.stdio;
import std.traits;
void main()
{
On Wed, 26 Nov 2014 21:07:00 +
Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote:
Slackware 14.1. I've been a Slackware user for a long time and I
still find it less unbearable than the alternatives, but it often
annoys me.
ah, now i understand why i like your code so
On Wednesday, 26 November 2014 at 21:02:20 UTC, H. S. Teoh via
Digitalmars-d wrote:
I have a high distrust of brand new *hardware*, because they
inevitably are gratuitously incompatible with my current
software and require new-fangled OSes bloated with features I
never use.
Yeah. My old
On Wed, 26 Nov 2014 20:06:01 +
Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote:
xterm is one example. I basically like it but it is ugly and
stupid so needs a few fixes. As such, I maintain my own private
fork of it.
ah, terminal emulators... i ended writing my own
On Wednesday, 26 November 2014 at 21:34:43 UTC, ketmar via
Digitalmars-d wrote:
looking back i must say that i'd better adopt rxvt-unicode
instead of writing my own emulator, 'cause writing terminal
emulator that works with all console software is a PITA.
true but I set my sights lower: I
On 11/26/14, Adam D. Ruppe via Digitalmars-d
digitalmars-d@puremagic.com wrote:
That's in the xterm source code. Yes, it depends on the presence
of a particular include guard.
Oh you should know how much trouble I went through when I was building
my C++ wrapping tool (initially just a wxWidgets
On Wed, Nov 26, 2014 at 09:21:21PM +, Adam D. Ruppe via Digitalmars-d wrote:
On Wednesday, 26 November 2014 at 21:02:20 UTC, H. S. Teoh via Digitalmars-d
wrote:
I have a high distrust of brand new *hardware*, because they
inevitably are gratuitously incompatible with my current software
On Wed, 26 Nov 2014 14:20:37 -0800
H. S. Teoh via Digitalmars-d digitalmars-d@puremagic.com wrote:
The other part of my terminal emulator was also a gnu screen
replacement. I got it to the point where it worked pretty well... but
not well enough to break my inertia toward good old screen.
On Wed, Nov 26, 2014 at 10:46:08PM +0100, Andrej Mitrovic via Digitalmars-d
wrote:
On 11/26/14, Adam D. Ruppe via Digitalmars-d
digitalmars-d@puremagic.com wrote:
That's in the xterm source code. Yes, it depends on the presence
of a particular include guard.
Oh you should know how much
On Thu, Nov 27, 2014 at 12:33:25AM +0200, ketmar via Digitalmars-d wrote:
[...]
i was never big fan of screen and i never used any of it's advanced
features, so once i dumped it in favor of dtach. and now i'm really
happy, 'cause dtach does exactly what i want: allows me to detach from
console
On Wednesday, 26 November 2014 at 22:22:43 UTC, H. S. Teoh via
Digitalmars-d wrote:
Have you considered just replacing the power supply?
That was one of my first thoughts, my last computer refit was
caused by a PSU failure.
I did some measurements on it and everything looked normal in
On Wednesday, 26 November 2014 at 22:39:52 UTC, H. S. Teoh via
Digitalmars-d wrote:
Whoa. Just looked up dtach... I like it I think I might
start using it in favor of screen, which like you said is just
a mess.
I've tried dtach before but never got into it. There's actually a
handful of
Found a bug in the terminal emulator immediately after switching
my hotkeys to use it - there was an escape sequence sent to it
that the controlling terminal usually responded to and now it
didn't have one.
And vim apparently changed its auto indent behavior. Thanks, now
my habit of hitting
On Thu, 27 Nov 2014 03:51:58 +
Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote:
BTW @nogc should have an escape hatch at least for assert(0,
allocate_a_message). The program is dying anyway, at least let me
conveniently format a descriptive error message.
hey, but we
On Thursday, 27 November 2014 at 03:51:59 UTC, Adam D. Ruppe
wrote:
BTW @nogc should have an escape hatch at least for assert(0,
allocate_a_message). The program is dying anyway, at least let
me conveniently format a descriptive error message.
Ownership would solve this.
On Thursday, 27 November 2014 at 05:04:20 UTC, deadalnix wrote:
On Thursday, 27 November 2014 at 03:51:59 UTC, Adam D. Ruppe
wrote:
BTW @nogc should have an escape hatch at least for assert(0,
allocate_a_message). The program is dying anyway, at least let
me conveniently format a descriptive
On Thu, 27 Nov 2014 05:12:51 +
weaselcat via Digitalmars-d digitalmars-d@puremagic.com wrote:
@Adam D. Ruppe : Check out st from suckless, it was made because
xterm is unmaintainable. Also, consider a distro from this
century ;)
heh, that was the base of my own terminal emulator. just
On Thursday, 27 November 2014 at 05:12:52 UTC, weaselcat wrote:
On Thursday, 27 November 2014 at 05:04:20 UTC, deadalnix wrote:
On Thursday, 27 November 2014 at 03:51:59 UTC, Adam D. Ruppe
wrote:
BTW @nogc should have an escape hatch at least for assert(0,
allocate_a_message). The program is
On Wednesday, 26 November 2014 at 21:02:20 UTC, H. S. Teoh via
Digitalmars-d wrote:
soapbox This is one of the reasons I've completely given up
on the
whole desktop metaphor movement. It has become all glitz and
no
substance IMNSHO; all about this font vs. that font rather than
actually
On Thu, 27 Nov 2014 06:50:59 +
Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote:
However, I'm looking forward to voice recognition and some sort
of hand gesture input becoming the dominant interfaces in the
coming years. Those will be even easier to use than anything so
far,
Hi ppl!
When dub builds the project, he tries to load the
http://code.dlang.org/packages/libevent/2.0.1+2.0.16.zip file,
and dub gives out this error:
Running DUB build
dub build
@ /mnt/hdd2_3/ftp/workspace_eclipse/axt-d-base-application
The following changes will
On Wednesday, 26 November 2014 at 06:09:12 UTC, Philippe Sigaud
via Digitalmars-d-learn wrote:
IIRC there is a free function in Pegged that does it.
What's the name of this function?
I did not automate it, because every time I cut down severely a
parse
tree, I later regret it because I lost
Bear Cherian:
Class MyClass{
this(){}
void someFunction(){
//body
}
}
And in my app I had something like
MyClass classObject;
classObject.someFunction();
When I compile, no warnings or errors.
If you compile that code (with lowercase Class) with -O the
This is an issue with your version of dub with a buggy url
encoding method. Download the latest at code.dlang.org
http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/22266/
I want to cache parsers generated by Pegged grammars in a DUB
project by writing the generated parser strings to files.
Is it possible to add this build logic somewhere in DUB or do I
have to resort to SCons for this?
On Wednesday, 26 November 2014 at 10:01:32 UTC, Suliman wrote:
This is an issue with your version of dub with a buggy url
encoding method. Download the latest at code.dlang.org
http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/22266/
thanks, up-dating to version 0.9.22
On Wednesday, 26 November 2014 at 10:26:05 UTC, Nordlöw wrote:
I want to cache parsers generated by Pegged grammars in a DUB
project by writing the generated parser strings to files.
Is it possible to add this build logic somewhere in DUB or do I
have to resort to SCons for this?
On Wednesday, 26 November 2014 at 12:09:34 UTC, Stefan Koch wrote:
preBuildCommand in check if the files are there
if not generate them if yes do nothing
Thanks!
Documented here http://code.dlang.org/package-format
by searching for preBuildCommands
Hello. I can't find siple way to realization this behavior:
[code]
class A
{
A parent;
void someFunc() const { }
void parentCall() const
{
const(A) cur = this;
while( cur )
{
cur.someFunc();
cur = cur.parent;
}
}
}
[/code]
error: cannot modify const
On Wednesday, 26 November 2014 at 12:09:34 UTC, Stefan Koch wrote:
On Wednesday, 26 November 2014 at 10:26:05 UTC, Nordlöw wrote:
I want to cache parsers generated by Pegged grammars in a DUB
project by writing the generated parser strings to files.
Is it possible to add this build logic
Oleg:
how create variable that store const object and can be changed
to other const object?
Take a look at std.typecons.Rebindable/std.typecons.rebindable.
Read all Phobos documentation, it helps.
Bye,
bearophile
On Wednesday, 26 November 2014 at 04:10:08 UTC, Vlad Levenfeld
wrote:
I'm compiling the latest build from github.
(I normally stay up to date with the current builds on 64bit
Debian and everything works more or less without a hitch there,
but now I need to get some of my tools working in a
On Wednesday, 26 November 2014 at 09:38:11 UTC, bearophile wrote:
Bear Cherian:
Class MyClass{
this(){}
void someFunction(){
//body
}
}
And in my app I had something like
MyClass classObject;
classObject.someFunction();
When I compile, no warnings or errors.
If
I have working logic for automatic memoization of
Pegged-generated parsers from Peg grammars here
https://github.com/nordlow/justd/blob/master/firstPegged/source/app.d
Now I wonder if this logic could be modularized in some way
making it more easy to use (and not so verbose).
The key
On Wednesday, 26 November 2014 at 22:31:04 UTC, Nordlöw wrote:
source/app.d(63): Error: no identifier for declarator fileWrites
source/app.d(63): Error: Declaration expected, not '~='
source/app.d(64): Error: no identifier for declarator fileWrites
source/app.d(64): Error: Declaration expected,
I have a class which contains an int[] and some other stuff. I want to
use my class as the key for an AA, so I am overriding toHash(). But the
int[] is the only part which should produce the hash code. I know that
int[].toHash() is defined somehow, because I can put int[] directly into
an
On 11/23/2014 3:12 PM, anonymous wrote:
[...]
And even pointer dereferencing is @safe. Invalid ones will fail
with a segfault at run time:
void foo(int* a) @safe {*a = 13;}
Hmm...throwing an exception is a well-defined behavior, but is
segfaulting a well-defined behavior of correct D
On 11/26/2014 04:25 PM, David Held wrote:
class Foo
{
override
size_t toHash() @trusted pure const nothrow
{
// error: no property 'toHash' for type 'int[]'
return importantStuff.toHash();
}
The getHash() member function of the particular TypeInfo
I would like to know if something has changed in the plans for
the future of D, because I really think it needs some kind of
formalization and standardization to be a good investment,
especially for medium/large/commercial projects .
Thanks.
https://issues.dlang.org/show_bug.cgi?id=13777
Issue ID: 13777
Summary: Value range propagation faild on array function
argument
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=13777
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Comment
https://issues.dlang.org/show_bug.cgi?id=13778
Issue ID: 13778
Summary: Flush stream when std.stdio.writeln() is called
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=1734
Nick Treleaven ntrel-...@mybtinternet.com changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=13779
Issue ID: 13779
Summary: gdb can't print variables with Could not find the
frame base for function error
Product: D
Version: D2
Hardware: x86_64
OS: Linux
https://issues.dlang.org/show_bug.cgi?id=13780
Issue ID: 13780
Summary: Empty ParameterIdentifierTuple for function literal
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=13781
Issue ID: 13781
Summary: Tuple assign should be @nogc
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Keywords: rejects-valid
Severity:
https://issues.dlang.org/show_bug.cgi?id=13782
Issue ID: 13782
Summary: gdc - fails to compile. Unrecognized option -plugin
Product: D
Version: unspecified
Hardware: x86_64
OS: Linux
Status: NEW
Severity:
https://issues.dlang.org/show_bug.cgi?id=13780
sinkuup...@gmail.com changed:
What|Removed |Added
CC||sinkuup...@gmail.com
--
https://issues.dlang.org/show_bug.cgi?id=13759
--- Comment #5 from Manu turkey...@gmail.com ---
I just installed DMD+VisualD on another fresh installation with VS2010, and the
same problem.
It definitely doesn't work on fresh installs with 2010. The linker path just
needs to be set to
https://issues.dlang.org/show_bug.cgi?id=13779
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Summary|gdb can't print variables |gdb can't find frame base
https://issues.dlang.org/show_bug.cgi?id=13779
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Martin
https://issues.dlang.org/show_bug.cgi?id=13703
--- Comment #3 from nick nicolas.jincher...@gmail.com ---
code was updated with workarounds, and the bug is gone.
The last broken commit:
https://github.com/bitwise-github/D-Reflection/tree/593993af078d3b3758909cb070c98d0aaf9440bd
--
https://issues.dlang.org/show_bug.cgi?id=13779
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/26fd7e3699d63aa4c8c31bfb024463c9faabfb4b
fix Issue 13779 - gdb can't
82 matches
Mail list logo