www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - D programming language specification ebook

reply Walter Bright <newshound2 digitalmars.com> writes:
The code to generate the first D spec ebook is now checked in to

https://github.com/D-Programming-Language/d-programming-language.org

You'll need to download kindlegen from Amazon to generate the actual ebook.

http://www.amazon.com/gp/feature.html?ie=UTF8&docId=1000234621

To build:

make -f win32.mak ebook

I still haven't figured out how to mark chapters and add a cover.
Jul 08 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
Here's a binary of it. Try it out on your ebook reader!

http://digitalmars.com/d/2.0/dlangspec.mobi
Jul 08 2011
next sibling parent reply Russel Winder <russel russel.org.uk> writes:
On Fri, 2011-07-08 at 19:30 -0700, Walter Bright wrote:
 Here's a binary of it. Try it out on your ebook reader!
=20
 http://digitalmars.com/d/2.0/dlangspec.mobi
Walter, Is there a PDF of this? The URL http://www.digitalmars.com/d/2.0/ has a link to a PDF page http://www.prowiki.org/wiki4d/wiki.cgi?LanguageSpecification/PDFArchive which has a circualr reference back to the Digital Mars site and no PDF about D 2.0, just various old PDFs about D 1.0. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 08 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/8/2011 8:58 PM, Russel Winder wrote:
 Is there a PDF of this?  The URL http://www.digitalmars.com/d/2.0/ has a
 link to a PDF page
 http://www.prowiki.org/wiki4d/wiki.cgi?LanguageSpecification/PDFArchive
 which has a circualr reference back to the Digital Mars site and no PDF
 about D 2.0, just various old PDFs about D 1.0.
The makefile for the documentation has a build target for pdf's, but I haven't tried it. Amazon has a kindle app for Windows which will display it, there's probably one for Linux too.
Jul 08 2011
next sibling parent reply Jordi Sayol <g.sayol yahoo.es> writes:
Al 09/07/11 06:20, En/na Walter Bright ha escrit:
 Amazon has a kindle app for Windows which will display it, there's prob=
ably one for Linux too.
=20
'fbreader' properly handle 'dlangspec.mobi' on Ubuntu 11.04 Best regards, --=20 Jordi Sayol
Jul 08 2011
next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/8/2011 9:59 PM, Jordi Sayol wrote:
 Al 09/07/11 06:20, En/na Walter Bright ha escrit:
 Amazon has a kindle app for Windows which will display it, there's probably
one for Linux too.
'fbreader' properly handle 'dlangspec.mobi' on Ubuntu 11.04
That's good to know! Russel?
Jul 08 2011
prev sibling parent reply Dmitry Olshansky <dmitry.olsh gmail.com> writes:
On 09.07.2011 8:59, Jordi Sayol wrote:
 Al 09/07/11 06:20, En/na Walter Bright ha escrit:
 Amazon has a kindle app for Windows which will display it, there's probably
one for Linux too.
'fbreader' properly handle 'dlangspec.mobi' on Ubuntu 11.04 Best regards,
You can also try this file conversion web service: http://www.convertfiles.com/ saved me a whole lot of trouble in the past. -- Dmitry Olshansky
Jul 10 2011
parent reply "Mike James" <foo bar.com> writes:
"Dmitry Olshansky" <dmitry.olsh gmail.com> wrote in message 
news:ivce6f$kjj$1 digitalmars.com...
 On 09.07.2011 8:59, Jordi Sayol wrote:
 Al 09/07/11 06:20, En/na Walter Bright ha escrit:
 Amazon has a kindle app for Windows which will display it, there's 
 probably one for Linux too.
'fbreader' properly handle 'dlangspec.mobi' on Ubuntu 11.04 Best regards,
You can also try this file conversion web service: http://www.convertfiles.com/ saved me a whole lot of trouble in the past. -- Dmitry Olshansky
I tried the convertfiles website. It converted the file to PDF but the Formatting went to pot... A lot of blank pages inserted. I downloaded a free mobireader for Windows PC from here: http://www.mobipocket.com/en/DownloadSoft/ProductDetailsReader.asp -=mike=-
Jul 11 2011
parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/11/2011 7:03 AM, Mike James wrote:
 I tried the convertfiles website. It converted the file to PDF but the
 Formatting went to pot... A lot of blank pages inserted.
 I downloaded a free mobireader for Windows PC from here:

 http://www.mobipocket.com/en/DownloadSoft/ProductDetailsReader.asp
The kindle reader is also a free download from amazon.
Jul 11 2011
prev sibling next sibling parent reply Russel Winder <russel russel.org.uk> writes:
On Fri, 2011-07-08 at 21:20 -0700, Walter Bright wrote:
[ . . . ]
 The makefile for the documentation has a build target for pdf's, but I ha=
ven't=20
 tried it.
Whilst e-books and tablets may be the current fashion, PDF is still the most portable document distribution format. It would be good if PDFs were made and released -- especially for those of us who do most of our coding whilst disconnected from the Internet and so not able to reach websites. (It appears that Go now assumes you have 100% connectivity to the Internet 100% of the time both for execution and development :-(
 Amazon has a kindle app for Windows which will display it, there's probab=
ly one=20
 for Linux too.
Apparently Amazon believe that with a Windows product and a Mac OS X product they have 100% of the universe covered. Sadly the "Linux on Desktop" community has no sway. Using Wine is supposed to work, but I can't be bothered with it. I suspect I must be in a community of 1 :-) --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 08 2011
next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/8/2011 10:12 PM, Russel Winder wrote:
 Whilst e-books and tablets may be the current fashion, PDF is still the
 most portable document distribution format.  It would be good if PDFs
 were made and released -- especially for those of us who do most of our
 coding whilst disconnected from the Internet and so not able to reach
 websites.
I understand, and I'll see about generating a pdf. However, although the e-readers can read pdf's, they do so very badly, because pdf's are designed for 8*11.5 paper, and will not reflow the text for the smaller screens.
 Apparently Amazon believe that with a Windows product and a Mac OS X
 product they have 100% of the universe covered.  Sadly the "Linux on
 Desktop" community has no sway.  Using Wine is supposed to work, but I
 can't be bothered with it.

 I suspect I must be in a community of 1 :-)
There's gotta be an e-reader for Linux. .mobi files are a standard as far as I can tell.
Jul 08 2011
next sibling parent reply Russel Winder <russel russel.org.uk> writes:
On Fri, 2011-07-08 at 22:36 -0700, Walter Bright wrote:
[ . . . ]
 I understand, and I'll see about generating a pdf.
Thanks.
 However, although the e-readers can read pdf's, they do so very badly, be=
cause=20
 pdf's are designed for 8*11.5 paper, and will not reflow the text for the=
=20
 smaller screens.
Well PDF isn't designed for 8x11.5 per se, the page size can be anything you want, but it is fixed. (I wonder when the USA, Canada and Mexico will drop their non-standard paper sizes and use ISO standard ones. OK never, I know :-(=20
 There's gotta be an e-reader for Linux. .mobi files are a standard as far=
as I=20
 can tell.
FBReader is there. Thanks Jordi for pointing this out. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 09 2011
parent Walter Bright <newshound2 digitalmars.com> writes:
On 7/9/2011 1:01 AM, Russel Winder wrote:
 Well PDF isn't designed for 8x11.5 per se, the page size can be anything
 you want, but it is fixed.
Format it for one ereader, and it won't work (reasonably) on any other, despite them having pdf support.
Jul 09 2011
prev sibling next sibling parent Andrew Wiley <wiley.andrew.j gmail.com> writes:
On Sat, Jul 9, 2011 at 1:01 AM, Russel Winder <russel russel.org.uk> wrote:

 On Fri, 2011-07-08 at 22:36 -0700, Walter Bright wrote:
 [ . . . ]
 I understand, and I'll see about generating a pdf.
Thanks.
 However, although the e-readers can read pdf's, they do so very badly,
because
 pdf's are designed for 8*11.5 paper, and will not reflow the text for the
 smaller screens.
Well PDF isn't designed for 8x11.5 per se, the page size can be anything you want, but it is fixed. (I wonder when the USA, Canada and Mexico will drop their non-standard paper sizes and use ISO standard ones. OK never, I know :-(
 There's gotta be an e-reader for Linux. .mobi files are a standard as far
as I
 can tell.
FBReader is there. Thanks Jordi for pointing this out.
I've generally used Calibre as my e-reader on Linux (and Windows), and it will most likely work as well. I'll be trying it in the near future. It can also convert nearly any format to nearly any other format.
Jul 09 2011
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2011-07-09 07:36, Walter Bright wrote:
 On 7/8/2011 10:12 PM, Russel Winder wrote:
 Whilst e-books and tablets may be the current fashion, PDF is still the
 most portable document distribution format. It would be good if PDFs
 were made and released -- especially for those of us who do most of our
 coding whilst disconnected from the Internet and so not able to reach
 websites.
I understand, and I'll see about generating a pdf. However, although the e-readers can read pdf's, they do so very badly, because pdf's are designed for 8*11.5 paper, and will not reflow the text for the smaller screens.
Just generate the documentation in several formats, no harm done. -- /Jacob Carlborg
Jul 09 2011
prev sibling next sibling parent "Nick Sabalausky" <a a.a> writes:
"Russel Winder" <russel russel.org.uk> wrote in message 
news:mailman.1487.1310188380.14074.digitalmars-d-announce puremagic.com...
(It appears that Go now assumes you have 100% connectivity to the
Internet 100% of the time both for execution and development :-(
an operating system.
Jul 09 2011
prev sibling parent reply Jeff Nowakowski <jeff dilacero.org> writes:
On 07/09/2011 01:12 AM, Russel Winder wrote:
 Whilst e-books and tablets may be the current fashion, PDF is still the
 most portable document distribution format.
I don't get it. HTML flows correctly to different screen sizes, unlike PDF. HTML is widely portable. Where's the advantage to PDF?
Jul 10 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/10/2011 8:31 AM, Jeff Nowakowski wrote:
 I don't get it. HTML flows correctly to different screen sizes, unlike PDF.
HTML
 is widely portable. Where's the advantage to PDF?
For reasons that are a mystery to me, the same text on the same operating system on the same display will render much nicer as a pdf than in a browser. This is true for Windows/IE as well as Ubuntu/Firefox. It's why I gave up on using a browser to display my presentations, and now use pdf's. Projecting a browser display on a screen is cringeworthy bad.
Jul 10 2011
parent reply Jeff Nowakowski <jeff dilacero.org> writes:
On 07/10/2011 01:33 PM, Walter Bright wrote:
 For reasons that are a mystery to me, the same text on the same
 operating system on the same display will render much nicer as a pdf
 than in a browser.

 This is true for Windows/IE as well as Ubuntu/Firefox.

 It's why I gave up on using a browser to display my presentations, and
 now use pdf's. Projecting a browser display on a screen is cringeworthy
 bad.
Were you using the same fonts in the browser as the PDF? Personally, I've never had a problem reading the fonts in my browser versus PDF. What I really hate about PDF is that it doesn't flow and doesn't respect my viewing preferences -- which is fine for printed paper, but sucks for reading on a myriad of devices.
Jul 10 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/10/2011 1:11 PM, Jeff Nowakowski wrote:
 Were you using the same fonts in the browser as the PDF?
I've tried many different fonts in the browser, to no avail. And as an aside, the *DEFAULT* font in a browser should display very well. It doesn't; not in IE, not in FF.
 Personally, I've never
 had a problem reading the fonts in my browser versus PDF. What I really hate
 about PDF is that it doesn't flow and doesn't respect my viewing preferences --
 which is fine for printed paper, but sucks for reading on a myriad of devices.
Sure, but I use PDF's for printing and for presentations, for which it is well suited.
Jul 10 2011
next sibling parent "Nick Sabalausky" <a a.a> writes:
"Walter Bright" <newshound2 digitalmars.com> wrote in message 
news:ivdbdp$2cg7$1 digitalmars.com...
 On 7/10/2011 1:11 PM, Jeff Nowakowski wrote:
 Were you using the same fonts in the browser as the PDF?
I've tried many different fonts in the browser, to no avail. And as an aside, the *DEFAULT* font in a browser should display very well. It doesn't; not in IE, not in FF.
Always looked fine to me...
Jul 10 2011
prev sibling parent reply Mirko Pilger <pilger cymotec.de> writes:
 I've tried many different fonts in the browser, to no avail. And as an
 aside, the *DEFAULT* font in a browser should display very well. It
 doesn't; not in IE, not in FF.
some fonts look very ugly in all browsers if you have switched off "font smoothing". eg. on windows this is the case if you have reduced or turned off all ui effects and disabled the "cleartype" subpixel rendering. mirko
Jul 11 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/11/2011 1:22 AM, Mirko Pilger wrote:
 some fonts look very ugly in all browsers if you have switched off "font
 smoothing". eg. on windows this is the case if you have reduced or turned off
 all ui effects and disabled the "cleartype" subpixel rendering.
I've dinked around with those settings on IE and FF. Doesn't make much of any difference.
Jul 11 2011
parent reply Mirko Pilger <pilger cymotec.de> writes:
 I've dinked around with those settings on IE and FF. Doesn't make much
 of any difference.
i should have emphasized it better that i was talking about system settings. for example on windows xp you can activate "cleartype" by right clicking the desktop-> properties-> appearance-> effects-> "use the following method to smooth edges of screen fonts"-> clearType. changing these settings will also effect font rendering in browsers. mirko
Jul 11 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/11/2011 1:51 AM, Mirko Pilger wrote:
 I've dinked around with those settings on IE and FF. Doesn't make much
 of any difference.
i should have emphasized it better that i was talking about system settings. for example on windows xp you can activate "cleartype" by right clicking the desktop-> properties-> appearance-> effects-> "use the following method to smooth edges of screen fonts"-> clearType. changing these settings will also effect font rendering in browsers.
Looking at my screen with a magnifying glass, it has no effect I can see on the browser fonts. With the larger fonts, the blockiness is quite obvious. Looking with a magnifying glass on the pdf display, and the improvement is pretty clear.
Jul 11 2011
parent reply Mirko Pilger <pilger cymotec.de> writes:
 Looking at my screen with a magnifying glass, it has no effect I can see
 on the browser fonts.
i've attached a png image to show how cleartype effects font rendering in google chrome on my system (windows xp professional sp3). the example site is http://www.google.com/webfonts. on the left side you see the render with cleartype turned off and on the other side it is turned on. the differences are clearly visible. mirko
Jul 11 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/11/2011 3:15 AM, Mirko Pilger wrote:
 Looking at my screen with a magnifying glass, it has no effect I can see
 on the browser fonts.
i've attached a png image to show how cleartype effects font rendering in google chrome on my system (windows xp professional sp3). the example site is http://www.google.com/webfonts. on the left side you see the render with cleartype turned off and on the other side it is turned on. the differences are clearly visible. mirko
So you're using Chrome, not IE!
Jul 11 2011
parent Mirko Pilger <pilger cymotec.de> writes:
 So you're using Chrome, not IE!
i wanted to show you an example how rendering looks with and without cleartype and help you identify the problem. of the major browsers only safari has its own subpixel algorithm. all others based on webkit, gecko or trident engines depend on the cleartype technology for "font smoothing", whether they inherit the system display settings or overwrite them by default. mirko
Jul 11 2011
prev sibling next sibling parent Jordi Sayol <g.sayol yahoo.es> writes:
Al 09/07/11 07:12, En/na Russel Winder ha escrit:
=20
 I suspect I must be in a community of 1 :-)
=20
=2E..a community of 2... at least :-) --=20 Jordi Sayol
Jul 08 2011
prev sibling next sibling parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 7/8/11 9:20 PM, Walter Bright wrote:
 On 7/8/2011 8:58 PM, Russel Winder wrote:
 Is there a PDF of this? The URL http://www.digitalmars.com/d/2.0/ has a
 link to a PDF page
 http://www.prowiki.org/wiki4d/wiki.cgi?LanguageSpecification/PDFArchive
 which has a circualr reference back to the Digital Mars site and no PDF
 about D 2.0, just various old PDFs about D 1.0.
The makefile for the documentation has a build target for pdf's, but I haven't tried it.
I don't think the current approach to generating PDFs is good - it's essentially using a bridge for generating PDF from HTML. What we need is a set of macros to generate TeX from ddoc followed by compilation. That will produce beautiful PDF files. I'll get to that once the Kindle pipeline is finished. BTW we can choose the page size to be different from 8.5*11, but indeed reflowing is not possible. Andrei
Jul 09 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/9/2011 12:05 AM, Andrei Alexandrescu wrote:
 I don't think the current approach to generating PDFs is good - it's
essentially
 using a bridge for generating PDF from HTML.

 What we need is a set of macros to generate TeX from ddoc followed by
 compilation. That will produce beautiful PDF files. I'll get to that once the
 Kindle pipeline is finished.

 BTW we can choose the page size to be different from 8.5*11, but indeed
 reflowing is not possible.
I think the pdf should be set at 8.5*11 so it will serve as the version of the document most suitable for printing.
Jul 09 2011
parent Russel Winder <russel russel.org.uk> writes:
On Sat, 2011-07-09 at 00:24 -0700, Walter Bright wrote:
 On 7/9/2011 12:05 AM, Andrei Alexandrescu wrote:
 I don't think the current approach to generating PDFs is good - it's es=
sentially
 using a bridge for generating PDF from HTML.

 What we need is a set of macros to generate TeX from ddoc followed by
 compilation. That will produce beautiful PDF files. I'll get to that on=
ce the
 Kindle pipeline is finished.

 BTW we can choose the page size to be different from 8.5*11, but indeed
 reflowing is not possible.
=20 I think the pdf should be set at 8.5*11 so it will serve as the version o=
f the=20
 document most suitable for printing.
In the USA, Canada and Mexico maybe. In the rest of the world A4 is the paper size to use. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 09 2011
prev sibling next sibling parent Russel Winder <russel russel.org.uk> writes:
On Sat, 2011-07-09 at 06:59 +0200, Jordi Sayol wrote:
[ . . . ]
 'fbreader' properly handle 'dlangspec.mobi' on Ubuntu 11.04
I loaded fbreader on Debian Testing and it can read the file -- not sure it is "properly" though, there seems to be a lot of formatting missing.=20 --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 09 2011
prev sibling next sibling parent Thomas Mader <thomas.mader gmail.com> writes:
Am 09.07.2011 07:13 schrieb "Russel Winder" <russel russel.org.uk>:
 (It appears that Go now assumes you have 100% connectivity to the
 Internet 100% of the time both for execution and development :-(
Please tell more about this or give some references I am very interested.
Jul 09 2011
prev sibling next sibling parent Jordi Sayol <g.sayol yahoo.es> writes:
Al 09/07/11 09:55, En/na Russel Winder ha escrit:
 I loaded fbreader on Debian Testing and it can read the file -- not sur=
e
 it is "properly" though, there seems to be a lot of formatting missing.=
=20 You're right. Many format messing wen open with fbreader. As Andrew Wiley said, "calibre"'s viewer properly open "dlangspec.mobi" w= ith all it's format, in GNU/Linux. Regards, --=20 Jordi Sayol
Jul 09 2011
prev sibling next sibling parent reply Russel Winder <russel russel.org.uk> writes:
Thomas,

On Sat, 2011-07-09 at 10:19 +0200, Thomas Mader wrote:
=20
 Am 09.07.2011 07:13 schrieb "Russel Winder" <russel russel.org.uk>:
 (It appears that Go now assumes you have 100% connectivity to the
 Internet 100% of the time both for execution and development :-(
=20 Please tell more about this or give some references I am very interested.
Hummm... it was incorrect of me to say this was true for execution, as all Go executables are statically linked. Therefore they only require the Internet if the application make use of it. Development, and particularly compilation, is a different matter. The introduction of the ability to import from a non-local Git, Mercurial or Bazaar repository embeds the assumption of permanent connectivity of the developer's machine to the Internet. This is not in the Go language specification just now as far as I know, but is an extension in goinstall, which is purported to be becoming part of the Go specification. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 10 2011
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/10/2011 1:02 AM, Russel Winder wrote:
 Development, and particularly compilation, is a different matter.  The
 introduction of the ability to import from a non-local Git, Mercurial or
 Bazaar repository embeds the assumption of permanent connectivity of the
 developer's machine to the Internet.
That'd cut my productivity in half. My internet connection frequently goes down for a minute to 5 minutes. Cloud applications are just not feasible.
Jul 10 2011
parent Daniel Gibson <metalcaedes gmail.com> writes:
Am 10.07.2011 12:19, schrieb Walter Bright:
 On 7/10/2011 1:02 AM, Russel Winder wrote:
 Development, and particularly compilation, is a different matter. The
 introduction of the ability to import from a non-local Git, Mercurial or
 Bazaar repository embeds the assumption of permanent connectivity of the
 developer's machine to the Internet.
That'd cut my productivity in half. My internet connection frequently goes down for a minute to 5 minutes. Cloud applications are just not feasible.
There have been suggestions to add something like this to dmd. imports from URLs or something like that - because its faster than having a build tool do this (try to build - realize that dependency is missing from DMDs error message - download dependency from central repository - try to build again ...) Cheers, - Daniel
Jul 10 2011
prev sibling parent Thomas Mader <thomas.mader gmail.com> writes:
Thanks for explaining this, Russel.
For me this looks like a nice feature even though i realize that it can and
will be frustrating if people use it the wrong way.
I can imagine that it is helpful for importing different tags or branches of
something for testing purposes and the like. But only for temporary use,
when this is used for a release version of a program than I see it
definitely negative.

Thomas
Am 10.07.2011 10:03 schrieb "Russel Winder" <russel russel.org.uk>:
 Thomas,

 On Sat, 2011-07-09 at 10:19 +0200, Thomas Mader wrote:
 Am 09.07.2011 07:13 schrieb "Russel Winder" <russel russel.org.uk>:
 (It appears that Go now assumes you have 100% connectivity to the
 Internet 100% of the time both for execution and development :-(
Please tell more about this or give some references I am very interested.
Hummm... it was incorrect of me to say this was true for execution, as all Go executables are statically linked. Therefore they only require the Internet if the application make use of it. Development, and particularly compilation, is a different matter. The introduction of the ability to import from a non-local Git, Mercurial or Bazaar repository embeds the assumption of permanent connectivity of the developer's machine to the Internet. This is not in the Go language specification just now as far as I know, but is an extension in goinstall, which is purported to be becoming part of the Go specification. -- Russel.
=============================================================================
 Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.net
 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk
 London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 10 2011
prev sibling next sibling parent Thomas Mader <thomas.mader gmail.com> writes:
Very nice!
Maybe it is also possible that you create an epub. It is the most widley
used ebook format and it seems to be possible to genarate the kindle format
out of it.
See: http://en.wikipedia.org/wiki/Comparison_of_e-book_formats#IDPF.2FEPUB

I would go for epub since it is the most widley used format out there.
Am 09.07.2011 04:35 schrieb "Walter Bright" <newshound2 digitalmars.com>:
 Here's a binary of it. Try it out on your ebook reader!

 http://digitalmars.com/d/2.0/dlangspec.mobi
Jul 09 2011
prev sibling parent "Tyro[a.c.edwards]" <nospam home.com> writes:
On 7/9/2011 11:30 AM, Walter Bright wrote:
 Here's a binary of it. Try it out on your ebook reader!

 http://digitalmars.com/d/2.0/dlangspec.mobi
Awesome... But I'm using an iPad and don't plan on using the kindle software because requires me to open an account with Amazon -- Not interested. I took the liberty of converting it to ePub so I can read it on iBook. Unfortunately, I couldn't upload it because, at 390KB, it exceeds the size limits allowed to be posted on the newsgroup.
Jul 09 2011