Re: "Programming in D" book, "User Defined Attributes (UDA)" chapter
On 8/29/14, Andrei Alexandrescu via Digitalmars-d-announce wrote: > Awesome!! Put it on Amazon too! -- Andrei Yeah, I'd be the first in line to buy it as well! If you do consider publishing the book, do let us know before it happens so those of us who want to can go through a thorough review and let you know of any typo's or mistakes before it's set in stone (or on paper :P). I'd be glad to review it in-depth.
Re: 438-byte "Hello, world" Win32 EXE in D
Am Tue, 09 Sep 2014 10:20:43 + schrieb "Don" : > On Monday, 8 September 2014 at 08:18:32 UTC, Ola Fosheim Grøstad > wrote: > > On Monday, 8 September 2014 at 08:08:23 UTC, Kagamin wrote: > >> But that downloaded file is bloatware, because it has to > >> implement functionality, which is not provided by the system. > >> That tiny pe file doesn't download anything, it's completely > >> done by the system. > > > > Yeah… > > > > http://stackoverflow.com/questions/284797/hello-world-in-less-than-20-bytes > > My personal best -- > > At my first job, a customer once made a request for a very simple > DOS utility. They did mention that they didn't have much disk > space on their machine, so they asked me to try to make the > program small. > That was a once-in-a-lifetime opportunity. Naturally, I wrote it > in asm. > The final executable size was 15 bytes. > The customer loved it. Vladimir: Good job! Don: Nice story. What did it do? During my time at a vocation school I wrote some stuff like a tiny Windows media player with some of the ASM in the DOS/PE header area. And an animated GIF player in ASM as a .com executable with the GIF included in it. (Easy since GIF algorithms are 16-bit and they use 8-bit color palettes) -- Marco
Re: 438-byte "Hello, world" Win32 EXE in D
On Wed, 10 Sep 2014 16:02:01 +0200 Marco Leise via Digitalmars-d-announce wrote: > > The final executable size was 15 bytes. > > The customer loved it. and they never knows that it took at least 512 bytes anyway. or even more, depending of claster size. heh. signature.asc Description: PGP signature
digitalmars-d-announce@puremagic.com
On 09/09/2014 20:16, Jacob Carlborg wrote: On 2014-09-09 15:06, Bruno Medeiros wrote: Oh I see. Do people like this behavior BTW? Eclipse could also be configured to work like this, but I'm not sure I would like it, (even if there are no problems such as slow autocompletion.). But maybe it just cause I'm used to it. I wouldn't mind having an option for it. It's already possible to do it (although not obvious at all). Just go to Preferences/DDT/Editor/Content Assist and put the ".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" string in the Auto activation trigger characters field. (It works for JDT too) -- Bruno Medeiros https://twitter.com/brunodomedeiros
digitalmars-d-announce@puremagic.com
On 2014-09-10 16:37, Bruno Medeiros wrote: It's already possible to do it (although not obvious at all). Just go to Preferences/DDT/Editor/Content Assist and put the ".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" string in the Auto activation trigger characters field. (It works for JDT too) It does? Haha, cool, I'll give it a try. -- /Jacob Carlborg
digitalmars-d-announce@puremagic.com
On Tuesday, 9 September 2014 at 13:46:06 UTC, Bruno Medeiros wrote: The reason I ask is because there seems to be some functionality only present in dscanner that would be useful for IDEs too, such as "dscanner --declaration" I added that feature because I wanted something usable from the command line that was more accurate than grep or ack. There's an enhancement request for adding something similar to DCD: https://github.com/Hackerpilot/DCD/issues/162.