Re: DConf 2018 Call for Submissions

2017-11-16 Thread Mike James via Digitalmars-d-announce

On Thursday, 16 November 2017 at 00:45:58 UTC, codephantom wrote:
On Wednesday, 15 November 2017 at 23:53:40 UTC, Ali Çehreli 
wrote:


I would like to see Chuck Allison talk about the experiences of 
students approaching D. I think that would be really worthwhile 
- or even yourself for that matter, given your strong interest 
in this area. Technical stuff is good and helpful, but I like 
to know about peoples experiences too...that's what really 
interests me the most, and should be at the core of any 
language design. So somebody examining D from this perspective 
could be really insightful to those contributing to the 
language.


It's really critical that D remain accessible to newcomers, or 
its' replacement is just around the corner.


Chucks already done a talk like that - it was berry, berry good...

-=mike=-


Re: DMD now has colorized syntax highlighting in error messages

2017-05-16 Thread Mike James via Digitalmars-d-announce

On Sunday, 14 May 2017 at 14:07:20 UTC, Walter Bright wrote:

https://github.com/dlang/dmd/pull/6777

It turned out to be unexpectedly easy to implement.

The only downside is now we have to rather tediously tweak the 
error message texts so they use backticks.


The next step is Color D...

https://github.com/narke/colorForth

-=mike=-


Re: 2.069.0 Installation problem with .exe for Windows

2015-11-11 Thread Mike James via Digitalmars-d-announce
On Wednesday, 11 November 2015 at 03:13:18 UTC, Martin Nowak 
wrote:

On Tuesday, 10 November 2015 at 14:17:28 UTC, Mike James wrote:

The x64 sub-directory does not exist on my system.


We found the bug and I build a new installer with the fix.
https://dlang.dawg.eu/downloads/dmd.2.069.0~fix15824/
As soon as someone confirms the fix, we'll make a new point 
release.


Hi Martin,

I can confirm it installs correctly on:

Windows 10 64-bit.
Windows Vista 32-bit.
Windows 7 64-bit.

Thanks.

Regards,

-=mike=-


Re: 2.069.0 Installation problem with .exe for Windows

2015-11-10 Thread Mike James via Digitalmars-d-announce

On Monday, 9 November 2015 at 13:44:59 UTC, Martin Nowak wrote:

On 11/09/2015 09:46 AM, Mike James wrote:


Hi Martin,

I've tried the new install with Windows Vista and Windows 7 
and the problem is the same as before.


Regards,
-=mike=-


Can you try again, I updated the installer and tried to revert 
the other part of the change (though I don't see why that would 
fix the problem). More details would help a lot at this point, 
e.g. what windows are open (also look whether the uninstaller 
hides any window) and what files are left in the install dir 
(C:\D by default) while the installation hangs.


And let's please continue this in Bugzilla. 
https://issues.dlang.org/show_bug.cgi?id=15284


Hi Martin,

I've not got a login for the bug tracking so here is part of the 
log file...


Call: 2674
Jump: 2691
Jump: 2708
Check previous dmd installation
Check dmd already installed
Remove dmd already installed
MessageBox: 33,"DMD v2.068.2 is installed on your system

Press 'OK' to replace by DMD 2.069.0"
Call: 2734
Jump: 2756
Exec: command="C:\D\uninstall.exe /IC False _?=C:\D"
Exec: success ("C:\D\uninstall.exe /IC False _?=C:\D")
Exec: command="C:\D\uninstall.exe /IC False /S"
Exec: success ("C:\D\uninstall.exe /IC False /S")
Uninstall done
DetectVSAndSDK
Call: 2564
Read VisualStudio\*\Setup\VC
detect ucrt
detect KitsRoot*
IfFileExists: file "C:\Program Files\Microsoft 
SDKs\Windows\v7.0A\Lib\x64\kernel32.lib" does not exist, jumping 0
IfFileExists: file "C:\Program Files\Microsoft 
SDKs\Windows\v6.0A\Lib\x64\kernel32.lib" does not exist, jumping 0

detect KitsRoot*
IfFileExists: file "C:\Program Files\Microsoft 
SDKs\Windows\v7.0A\Lib\x64\kernel32.lib" does not exist, jumping 0
IfFileExists: file "C:\Program Files\Microsoft 
SDKs\Windows\v6.0A\Lib\x64\kernel32.lib" does not exist, jumping 0

detect KitsRoot*

with the last 2 lines repeating...

The x64 sub-directory does not exist on my system.

Hope this helps.

Regards,
-=mike=-



Re: 2.069.0 Installation problem with .exe for Windows

2015-11-09 Thread Mike James via Digitalmars-d-announce

On Sunday, 8 November 2015 at 23:33:31 UTC, Martin Nowak wrote:

On 11/04/2015 10:05 AM, Mike James wrote:

Copied here for extra visibility...

Hi.

There seems to be an install problem with the .exe version for 
Windows. The installer removes the old DMD then doesn't 
install the 2.069.0 version. In the task manager it's still 
running at 50% CPU time. It fails on Windows Vista and Windows 
7.


Could some try and verify that this installer fixes the issue. 
I wasn't able to reproduce the issue myself. 
https://dlang.dawg.eu/downloads/dmd.2.069.0~fix15824/


Hi Martin,

I've tried the new install with Windows Vista and Windows 7 and 
the problem is the same as before.


Regards,
-=mike=-


2.069.0 Installation problem with .exe for Windows

2015-11-04 Thread Mike James via Digitalmars-d-announce

Copied here for extra visibility...

Hi.

There seems to be an install problem with the .exe version for
Windows. The installer removes the old DMD then doesn't install
the 2.069.0 version. In the task manager it's still running at
50% CPU time. It fails on Windows Vista and Windows 7.

Regards,
--


Re: Release D 2.069.0

2015-11-04 Thread Mike James via Digitalmars-d-announce

On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote:

Glad to announce D 2.069.0.

http://dlang.org/download.html 
http://downloads.dlang.org/releases/2.x/2.069.0/


This is the first release with a self-hosted dmd compiler and 
comes with even more rangified phobos functions, 
std.experimental.allocator, and many other improvements.


See the changelog for more details. 
http://dlang.org/changelog/2.069.0.html


-Martin


Hi.

There seems to be an install problem with the .exe version for 
Windows. The installer removes the old DMD then doesn't install 
the 2.069.0 version. In the task manager it's still running at 
50% CPU time. It fails on Windows Vista and Windows 7.


Regards,
--


Re: 1st Ever Artificial Consciousness to be Written in D Language

2015-09-03 Thread Mike James via Digitalmars-d-announce
On Wednesday, 2 September 2015 at 15:20:13 UTC, Rikki Cattermole 
wrote:

On 03/09/15 2:41 AM, GrandAxe wrote:

[...]


To save time maybe I should send my bank details right now... 
Western Union anyone?


--

[...]


That's quite a large set of features, considering the site 
still says 2014 for copyright I am sure it is worthy of being 
doubted.


I on the other hand hope it is indeed real and will succeed!
Would love to have my own digital personal assistant. Not that 
Cortana / Google Now really works for me.


Humpth maybe my evil bytecode dreams for D may be a good use 
case for it. After all, I'm sure being able to evaluate code 
could be quite useful.




Re: DMD 2.067.0 Programming Language Specifications

2015-04-09 Thread Mike James via Digitalmars-d-announce

On Monday, 6 April 2015 at 12:04:40 UTC, Jordi Sayol wrote:
D Programming Language Specifications for dmd 2.067.0 in 
several formats, available at:




dlangspec-2.067.0.chm  --  (Microsoft Compiled HTML Help)

dlangspec-2.067.0.epub  --  (Electronic Publication for 
e-book readers)


dlangspec-2.067.0.mobi  --  (Mobipocket e-book for Kindle)

dlangspec-2.067.0.pdf  --  (Portable Document Format)


That's great.
Just a small observation - why does the kindle not remember the 
page when you close the mobile file then open it up again?


regards, -=mike=-


Re: DlangUI

2015-03-26 Thread Mike James via Digitalmars-d-announce

On Thursday, 26 March 2015 at 11:47:59 UTC, Vadim Lopatin wrote:

On Thursday, 26 March 2015 at 11:41:17 UTC, Mike James wrote:

On Tuesday, 20 May 2014 at 18:13:36 UTC, Vadim Lopatin wrote:

Hello!

I would like to announce my project, DlangUI library -



Hi Vadim,

I have just installed the latest D 2.067.0, ran the git 
install and the build now fails. The errors are as follows:



C:\D\dmd2\gui\dlangui>dub run dlangui:example1 --build=release
Building package dlangui:example1 in 
C:\D\dmd2\gui\dlangui\examples\example1\

Target gl3n 1.0.1 is up to date. Use --force to rebuild.
Building dlib ~master configuration "library", build type 
release.

Running dmd...
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\dlib-master\dlib\image\io\jpeg.d(681): 
Warning: instead of C-style

syntax, use D-style syntax 'ubyte[64] dezigzag'
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\dlib-master\dlib\filesystem\windows\directory.d(77): 
Error: undefin

ed identifier wcslen
FAIL 
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\dlib-master\.dub\build\library-release-windows-x86-dmd_2067-17

3DBA1310DF90D85EA81F6AA09FBD95\ dlib staticLibrary
Error executing command run: dmd failed with exit code 1.


C:\D\dmd2\gui\dlangui>

any clues?

Thanks.

Regards, Mike.


Try `dub upgrade --force-remove` followed by `dub build --force`


Thanks Vadim, That did the trick.

regards, -=mike=-


Re: DlangUI

2015-03-26 Thread Mike James via Digitalmars-d-announce

On Tuesday, 20 May 2014 at 18:13:36 UTC, Vadim Lopatin wrote:

Hello!

I would like to announce my project, DlangUI library -



Hi Vadim,

I have just installed the latest D 2.067.0, ran the git install 
and the build now fails. The errors are as follows:



C:\D\dmd2\gui\dlangui>dub run dlangui:example1 --build=release
Building package dlangui:example1 in 
C:\D\dmd2\gui\dlangui\examples\example1\

Target gl3n 1.0.1 is up to date. Use --force to rebuild.
Building dlib ~master configuration "library", build type release.
Running dmd...
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\dlib-master\dlib\image\io\jpeg.d(681): 
Warning: instead of C-style

syntax, use D-style syntax 'ubyte[64] dezigzag'
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\dlib-master\dlib\filesystem\windows\directory.d(77): 
Error: undefin

ed identifier wcslen
FAIL 
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\dlib-master\.dub\build\library-release-windows-x86-dmd_2067-17

3DBA1310DF90D85EA81F6AA09FBD95\ dlib staticLibrary
Error executing command run: dmd failed with exit code 1.


C:\D\dmd2\gui\dlangui>

any clues?

Thanks.

Regards, Mike.


Re: DlangUI

2015-02-02 Thread Mike James via Digitalmars-d-announce

Hi Vadim,

When I follow the Build and Run Demo App using DUB I get the 
following...


C:\D\dmd2\src>git clone https://github.com/buggins/dlangui.git
Cloning into 'dlangui'...
remote: Counting objects: 13291, done.
remote: Compressing objects: 100% (186/186), done.
remote: Total 13291 (delta 113), reused 0 (delta 0)
Receiving objects: 100% (13291/13291), 8.78 MiB | 538.00 KiB/s, 
done.

Resolving deltas: 100% (10144/10144), done.

C:\D\dmd2\src>cd dlangui

C:\D\dmd2\src\dlangui>dub run dlangui:example1 --build=release
Building package dlangui:example1 in 
C:\D\dmd2\src\dlangui\examples\example1\

Fetching derelict-util 1.9.1 (getting selected version)...
Placing derelict-util 1.9.1 to 
C:\Users\mikej\AppData\Roaming\dub\packages\...

Building dlib 0.4.1 configuration "library", build type release.
Running dmd...
Building derelict-util 1.9.1 configuration "library", build type 
release.

Running dmd...
Building derelict-ft 1.0.1 configuration "library", build type 
release.

Running dmd...
Building derelict-sdl2 1.9.1 configuration "library", build type 
release.

Running dmd...
Building derelict-gl3 1.0.12 configuration "library", build type 
release.

Running dmd...
Building dlangui:dlanguilib 0.4.35+commit.4.gf902ceb 
configuration "library", build type release.

Running dmd...
src\dlangui\graphics\resources.d(152): Error: file 
"btn_background.xml\x0d" cannot be found or not in a path 
specified with -J
src\dlangui\graphics\resources.d(153): Error: data.length cannot 
be evaluated at compile time
src\dlangui\graphics\resources.d(166): Error: template instance 
dlangui.graphics.resources.embedResource!"res/btn_background.xml\x0d" 
error instantiating src\dlangui\graphics\resources.d(173):


Is the setup missing extra directories?

Regards, -=mike=-


Re: DlangUI project update

2015-01-07 Thread Mike James via Digitalmars-d-announce

On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote:

Hello!

DlangUI project is alive and under active development.

https://github.com/buggins/dlangui

Recent changes:
- new controls: ScrollWidget, TreeView, ComboBox, ...
- new dialogs: FileOpenDialog, MessageBox
- a lot of bugfixes
- performance improvements in software renderer
- killer app: new example - Tetris game :)

Try Demos:
# download sources
git clone https://github.com/buggins/dlangui.git
cd dlangui
# example 1 - demo for most of widgets
dub run dlangui:example1 --build=release
# tetris - demo for game development
dub run dlangui:tetris --build=release

DlangUI is cross-platform GUI library written in D.
Main features:
- cross platform: uses SDL for linux/macos, Win32 API or SDL 
for Windows
- hardware acceleration: uses OpenGL for drawing when built 
with version USE_OPENGL
- easy to extend: since it's native D library, you can add your 
own widgets and extend functionality

- Unicode and internationalization support
- easy to customize UI - look and feel can be changed using 
themes and styles

- API is a bit similar to Android - two phase layout, styles

Screenshots (a bit outdated): 
http://buggins.github.io/dlangui/screenshots.html


See project page for details.

I would like to get any feedback.
Will be glad to see advises, bug reports, feature requests.

Best regards,
 Vadim


Hi Vadim,

When I follow the building and the running of the demo app using 
DUB I get the following error:


C:\D\dmd2\src>git clone https://github.com/buggins/dlangui.git
Cloning into 'dlangui'...
remote: Counting objects: 5700, done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 5700 (delta 21), reused 0 (delta 0)
Receiving objects: 100% (5700/5700), 5.33 MiB | 1.51 MiB/s, done.
Resolving deltas: 100% (/), done.

C:\D\dmd2\src>cd dlangui

C:\D\dmd2\src\dlangui>dub run dlangui:example1 --build=release
Building package dlangui:example1 in 
C:\D\dmd2\src\dlangui\examples\example1\
WARNING: A deprecated branch based version specification is used 
for the dependency derelict-ft. Please use numbered ver
sions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to use 
a b

ranch instead.
WARNING: A deprecated branch based version specification is used 
for the dependency derelict-sdl2. Please use numbered v
ersions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to use a

 branch instead.
WARNING: A deprecated branch based version specification is used 
for the dependency derelict-fi. Please use numbered ver
sions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to use 
a b

ranch instead.
WARNING: A deprecated branch based version specification is used 
for the dependency dlangui:dlanguilib. Please use numbe
red versions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to

use a branch instead.
WARNING: A deprecated branch based version specification is used 
for the dependency derelict-gl3. Please use numbered ve
rsions instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to use a

branch instead.
Target derelict-util 1.9.0 is up to date. Use --force to rebuild.
Target derelict-ft ~master is up to date. Use --force to rebuild.
Target derelict-sdl2 ~master is up to date. Use --force to 
rebuild.

Target derelict-fi ~master is up to date. Use --force to rebuild.
Target dlib ~master is up to date. Use --force to rebuild.
Target derelict-gl3 ~master is up to date. Use --force to rebuild.
Building dlangui:dlanguilib 0.2.2+commit.2.g15226e8 configuration 
"library", build type release.

Running dmd...
Building dlangui:example1 0.2.2+commit.2.g15226e8 configuration 
"application", build type release.

Compiling using dmd...
src\dlangui\core\files.d(114): Error: module windows is in file 
'win32\windows.d' which cannot be read

import path[0] = examples\example1\src
import path[1] = 
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-ft-master\source
import path[2] = 
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-util-1.9.0\source
import path[3] = 
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-sdl2-master\source
import path[4] = 
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-fi-master\source

import path[5] = src
import path[6] = 
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\dlib-master
import path[7] = 
..\..\..\..\Users\mikej\AppData\Roaming\dub\packages\derelict-gl3-master\source

import path[8] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[9] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
FAIL 
examples\example1\.dub\build\application-release-windows-x86-dmd_2066-A150B7CA4D2F564C56024EE584D1E13A\ 
example1 ex

ecutable
Error executing command run: dmd f

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Mike James via Digitalmars-d-announce

On Thursday, 4 December 2014 at 04:02:49 UTC, Mike wrote:
On Wednesday, 3 December 2014 at 19:42:39 UTC, Ary Borenszweig 
wrote:

On 12/2/14, 6:41 PM, Vladimir Panteleev wrote:


...


I had to maintain a technical forum last year that was getting 
spammed like crazy.  I added the question "how many bits are in 
a byte?", and the spam vanished.  Based on that experience, I 
think the bar can be set very low.




Surely you mean "how many bits in an octet" ;-)

I prefer something like the examples above.  Honestly, I don't 
know what the names of many syntax features are, but I usually 
know how to use and interpret them.  But, one positive side 
effect of this is that if I ever do get challenged with a "what 
is the name of this feature?" question, I will finally be 
motivated to go look it up.


Mike




Re: Mono-D v2.4.9 - Parser fixes

2014-09-25 Thread Mike James via Digitalmars-d-announce
"Alexander Bothe"  wrote in message 
news:clmyaoqgxizsicodj...@forum.dlang.org...

Hi everyone,

just wanted to announce a further small version bump of Mono-D. And yeah, 
despite my 2 week-break, development still continues!




Cheers,
Alex


Great. Any news of an integrated debugger... :-)

-=mike=- 



Re: Offtopic: AMA (Was: Interview at Lang.NEXT)

2014-06-07 Thread Mike James via Digitalmars-d-announce

On Saturday, 7 June 2014 at 04:21:15 UTC, Craig Dillabaugh wrote:

On Friday, 6 June 2014 at 19:27:35 UTC, Ary Borenszweig wrote:

On 6/4/14, 3:19 AM, Andrei Alexandrescu wrote:

http://www.reddit.com/r/programming/comments/27911b/conversation_with_andrei_alexandrescu_all_things/


Andrei


This is offtopic, but why are people obsessed with writing 
English acronyms?


I always have to lookup the meaning and then I'm polluting my 
head with acronyms.


Is there any difference in time/convenience between writing 
"Interviewee here. Ask me anything" Between "Interviewee. AMA"?


:-(


Its all the fault of people texting on their cell phones and 
the like! Too much work to write proper English words.  Amirite?


You should see it in the rail industry - it's all TLAs.

-=mike=-


Re: DlangUI

2014-06-05 Thread Mike James via Digitalmars-d-announce

On Thursday, 5 June 2014 at 15:15:48 UTC, Casper Færgemand wrote:

On Thursday, 5 June 2014 at 14:22:46 UTC, Mike James wrote:
I am having problems running (debugging) the example1 program. 
When loading the resources it gets to tab_up_background.9.png 
(line 579 in file resources.d) and then fails with an 
exception:


"Unhandled exception at 0x0044f932 in example1.exe: 
0xC005: Access violation reading location 0x."


Do you have any clues as to what the problem could be?


I didn't compile this, so take it with a grain of salt.

Access violation reading 0x is a null pointer 
dereference. Looking at the source:


_drawbuf = loadImage(_filename);
if (_filename.endsWith(".9.png"))
_drawbuf.detectNinePatch();

I'm making a wild guess that loadImage returns a null if it 
can't find the file. Dereferencing thus throws. You probably 
lack the image or it's in the wrong place.


Hi Casper,

I checked the sub-directory the loading refers to and all the 
pngs seems to be there.


Regards,
-=mike=-


Re: DlangUI

2014-06-05 Thread Mike James via Digitalmars-d-announce
"Vadim Lopatin"  wrote in message 
news:fylchhowgmwmqhkew...@forum.dlang.org...

Hello!

I would like to announce my project, DlangUI library - cross-platform GUI 
for D.

https://github.com/buggins/dlangui
License: Boost License 1.0

Native library written in D (not a wrapper to other GUI library) - easy to 
extend.
As a backend, uses SDL2 on any platform, Win32 API on Windows, XCB on 
Linux. Other backends can be added easy.

Tested on Windows and Linux.
Supports hardware acceleration - drawing using OpenGL when built with 
version=USE_OPENGL.

Unicode support.
Internationalization support.
Uses Win32 API fonts on Windows, and FreeType on other platforms.
Same look and feel can be achieved on all platforms.
Flexible look and feel - themes and styles.
API is a bit similar to Android UI.
Flexible layout, support of different screen DPI, scaling.
Uses two phase layout like in Android.
Supports drawable resources in .png and .jpeg, nine-patch pngs and state 
drawables like in Android.

Single threaded. Use other threads for performing slow tasks.
Mouse oriented.

Actually, it's a port (with major redesign) of my library used for 
cross-platform version of my application CoolReader from C++.



State of project: alpha. But, already can be used for simple 2D games and 
simple GUI apps.

I'm keeping in mind a goal to write D language IDE based on dlangui. :)
Adding support of 3D graphics is planned.


Currently implemented widgets:

TextWidget - simple static text (TODO: implement multiline formatting)
ImageWidget - static image
Button - simple button with text label
ImageButton - image only button
TextImageButton - button with icon and label
CheckBox - check button with label
RadioButton - radio button with label
EditLine - single line edit
EditBox - multiline editor
VSpacer - vertical spacer - just an empty widget with layoutHeight == 
FILL_PARENT, to fill vertical space in layouts
HSpacer - horizontal spacer - just an empty widget with layoutWidth == 
FILL_PARENT, to fill horizontal space in layouts

ScrollBar - scroll bar
TabControl - tabs widget, allows to select one of tabs
TabHost - container for pages controlled by TabControl
TabWidget - combination of TabControl and TabHost

Layouts - Similar to layouts in Android

LinearLayout - layout children horizontally or vertically depending on 
orientation

VerticalLayout - just a LinearLayout with vertical orientation
HorizontalLayout - just a LinearLayout with vertical orientation
FrameLayout - all children occupy the same place; usually onle one of them 
is visible

TableLayout - children are aligned into rows and columns of table

List Views - similar to lists in Android UI API.
ListWidget - layout dynamic items horizontally or vertically (one in 
row/column) with automatic scrollbar; can reuse widgets for similar items

ListAdapter - interface to provide data and widgets for ListWidget
WidgetListAdapter - simple implementation of ListAdapter interface - just 
a list of widgets (one per list item) to show



Sample project, example1 contains demo code for most of dlangui API.

Try it using DUB:

git clone https://github.com/buggins/dlangui.git
cd dlangui
dub run dlangui:example1

Fonts note: on Linux, several .TTFs are loaded from hardcoded paths 
(suitable for Ubuntu).

TODO: add fontconfig support to access all available system fonts.

Helloworld:

// main.d
import dlangui.all;
mixin DLANGUI_ENTRY_POINT;

/// entry point for dlangui based application
extern (C) int UIAppMain(string[] args) {
// resource directory search paths
string[] resourceDirs = [
appendPath(exePath, "../res/"),   // for Visual D and DUB builds
appendPath(exePath, "../../res/") // for Mono-D builds
];

// setup resource directories - will use only existing directories
Platform.instance.resourceDirs = resourceDirs;
// select translation file - for english language
Platform.instance.uiLanguage = "en";
// load theme from file "theme_default.xml"
Platform.instance.uiTheme = "theme_default";

// create window
Window window = Platform.instance.createWindow("My Window", null);
// create some widget to show in window
window.mainWidget = (new Button()).text("Hello 
world"d).textColor(0xFF); // red text

// show window
window.show();
// run message loop
return Platform.instance.enterMessageLoop();
}

DDOC generated documentation can be found there: 
https://github.com/buggins/dlangui/tree/master/docs

For more info see readme and example1 code.

I would be glad to see any feedback.
Can this project be useful for someone? What features/widgets are must 
have for you?



Best regards,
 Vadim  



Hi Vadim,

I am evaluating GUIs for a project I have in mind and the DLangUI looks 
interesting...


First problem: you need to add gl3n to the git clone list for developing 
under Visual-D.


I am having problems running (debugging) the example1 program. When loading 
the resources it gets to tab_up_b

Re: Adam D. Ruppe's "D Cookbook" now available!

2014-05-30 Thread Mike James via Digitalmars-d-announce
"Walter Bright"  wrote in message 
news:lm5924$7r8$1...@digitalmars.com...

http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book

http://www.amazon.com/D-Cookbook-Adam-D-Ruppe/dp/1783287217

http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/

After watching Adam's most excellent presentation at Dconf, I'm sure the 
book will be great! My copy gets here on Friday.


Just got a copy - now I need the time to read it... :-)

-=mike=- 



Re: My D book is now officially coming soon

2014-05-28 Thread Mike James via Digitalmars-d-announce

On Wednesday, 28 May 2014 at 09:06:12 UTC, Alix Pexton wrote:

On 28/05/2014 9:00 AM, Mike James wrote:


On Tuesday, 27 May 2014 at 14:20:49 UTC, Adam D. Ruppe wrote:

On Tuesday, 27 May 2014 at 13:27:56 UTC, Szymon Gatner wrote:

Will epub version be available too?


Yeah, I think it is already on the packt website.


I'm looking at getting the ebook version - does that version 
include the

errata described above?

--
 I've not checked them side-by-side the whole way through but 
the ePub does have the same triple colons as the PDF.


the ePub uses colour instead of font weight for the keywords in 
the text and the notes and tips are styled differently, but as 
far as I've seen so far the content is the same.


A...


Thanks. As 'early adopters' do we get a chance to upgrade :-)

--


Re: My D book is now officially coming soon

2014-05-28 Thread Mike James via Digitalmars-d-announce


On Tuesday, 27 May 2014 at 14:20:49 UTC, Adam D. Ruppe wrote:

On Tuesday, 27 May 2014 at 13:27:56 UTC, Szymon Gatner wrote:

Will epub version be available too?


Yeah, I think it is already on the packt website.


I'm looking at getting the ebook version - does that version 
include the errata described above?


--


Re: DFL can be used by D2.065

2014-03-28 Thread Mike James
" FrankLike" <1150015...@qq.com> wrote in message 
news:btajmssaimcexmnvg...@forum.dlang.org...





I've had a look at DFL and it looks quite good but, looking thru the API, 
I can't see anywhere to draw a filled ellipse - Am I missing something?


Regards,

-=mike=-

https://github.com/FrankLIKE/dfl-examples-d2.git

paint.d will help you.

Seiji Fujita,thank you.


Hi,

I had a look at paint.d in the examples - this example deals with drawing an 
icon. I also looked at draw.d - this deals with drawing to the canvas - the 
only filled shapes are the rectangular ones (fillRectangle) - there is no 
equivalent fillEllipse.


Checking the drawing.d file shows no filled ellipse drawing functions. The 
ellipse functions are explicitely drawn without filling.


It might need a lib addition :-)

Regards,
-=mike=- 



Re: DFL can be used by D2.065

2014-03-28 Thread Mike James

On Wednesday, 26 March 2014 at 06:35:56 UTC, FrankLike wrote:

If you are programming on  win32,now,DFL can be used by D2.065.
Please git clone http://github.com/FrankLike/dfl
Open the folder w32 ->dflexe  double click the 'makedflexe.bat'
file,after some seconds ,press the 'Enter key' ,after some
seconds,dfl.lib,dfl.exe are all in you  d install folders('lib'
and 'bin')  ,that's all ok.

Thanks Christopher E. Miller.



I've had a look at DFL and it looks quite good but, looking thru 
the API, I can't see anywhere to draw a filled ellipse - Am I 
missing something?


Regards,

-=mike=-


Re: My D book is now officially coming soon

2014-03-07 Thread Mike James
"Iain Buclaw"  wrote in message 
news:mailman.10.1394132086.25740.digitalmars-d-annou...@puremagic.com...

On 6 March 2014 14:17, Dejan Lekic  wrote:

I've just pre-ordered it, on Amazon. ;)
Hurry up! :)



Cut the reviewers some lack! :)


Some lack of speed ;-) 



Re: So, You Want To Write Your Own Programming Language?

2014-01-24 Thread Mike James

On Thursday, 23 January 2014 at 10:24:23 UTC, Chris wrote:
On Wednesday, 22 January 2014 at 18:46:06 UTC, Walter Bright 
wrote:

On 1/22/2014 3:40 AM, Chris wrote:
Syntax is getting simplified due to the fact that the 
listener "knows what we
mean", e.g. "buy one get one free". I wonder to what extent 
languages will be

simplified one day. But this is a topic for a whole book ...


There was this article recently:

http://www.onthemedia.org/story/yesterday-internet-solved-20-year-old-mystery/

about how english is so redundant one can write sentences 
using just the first letter of each word, and it is actually 
understandable.


These examples are more about context than redundancy in the 
grammar. This is very interesting, because the burden is more 
and more on the listener and less on the speaker. The speaker 
can omit things relying on the listener's common sense or 
knowledge of the world (or "you know what I mean" skills). In 
the beginning, languages were quite complicated (8 or more 
cases, inflections), but over the centuries things have been 
simplified, probably due to the fact that humans are 
experienced enough and can now trust the "interpreter" in the 
listener's head.
A good example are headlines. A classic is "Driver refused 
license". Now, everybody will assume that it was not the driver 
who refused the license (default assumption or the _unmarked 
case_). If it were in fact the driver who refused the license, 
the headline would have been different, some sort of linguistic 
flag would have been raised. This goes into the realms of 
pragmatics, a very interesting discipline. Some of the concepts 
found in natural languages can also be found in programming 
languages. I find it extremely interesting how the human mind 
(not just language) is reflected in programming languages.


Headlines are a good source. My favourites are from WW2...

MacArthur flies back to front.

British push bottles up Germans.

--


Re: dmd 2.063 released with 260 bugfixes and enhancements

2013-05-31 Thread Mike James
Damn you D - I'm using up a large chunk of my free time reading the improved 
and very-readable Change Log.


A great update to D and Log.

-=mike=- 



Re: GtkD 2.2 released, GTK+ with D.

2013-05-17 Thread Mike James
"Mike Wey"  wrote in message 
news:kn354d$1maa$1...@digitalmars.com...

On 05/16/2013 10:32 AM, Mike James wrote:

Hi Mike,

I've installed GtkD 2.2.0 and Gtk+. When building the cairo clock app I
get the following error...

Error 1 Error 42: Symbol Undefined
_D7gobject7ObjectG7ObjectG11addOnNotifyMFDFC7gobject9ParamSpec9ParamSpecC7gobject7ObjectG7ObjectGZvE4gtkc12gobjecttypes13GConnectFlagsZv
(void gobject.ObjectG.ObjectG.addOnNotify(void
delegate(gobject.ParamSpec.ParamSpec, gobject.ObjectG.ObjectG),
gtkc.gobjecttypes.GConnectFlags))
C:\D\dmd2\GtkD\demos\cairo\cairo_clock\clock\clock\

I've included all the libs built by the build.d app.
Am I missing a lib?

Regards, Mike.


From the error it looks like the demo was build with an older version of 
GtkD, while linking with the new one.


--
Mike Wey


Doh! I forgot to copy the GtkD src to the DMD2 src sub-directory...
It's working now.

Thanks.

Regards, Mike.




Re: GtkD 2.2 released, GTK+ with D.

2013-05-16 Thread Mike James

Hi Mike,

I've installed GtkD 2.2.0 and Gtk+. When building the cairo clock app I get 
the following error...


Error 1 Error 42: Symbol Undefined 
_D7gobject7ObjectG7ObjectG11addOnNotifyMFDFC7gobject9ParamSpec9ParamSpecC7gobject7ObjectG7ObjectGZvE4gtkc12gobjecttypes13GConnectFlagsZv 
(void gobject.ObjectG.ObjectG.addOnNotify(void 
delegate(gobject.ParamSpec.ParamSpec, gobject.ObjectG.ObjectG), 
gtkc.gobjecttypes.GConnectFlags)) 
C:\D\dmd2\GtkD\demos\cairo\cairo_clock\clock\clock\


I've included all the libs built by the build.d app.
Am I missing a lib?

Regards, Mike.

...



Re: GtkD 2.0 released, Gtk+ 3 with D.

2012-09-26 Thread Mike James

"Mike Wey"  wrote in message news:k2isv4$2r67$1...@digitalmars.com...
GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL
license.

With 2.0 GtkD will wrap Gtk+ version 3, if you need Gtk+ 2 you can use the 
latest version from the Gtk2 branch, version 1.6.


GtkD 2.0 and 1.6 are now available on GitHub:
https://github.com/gtkd-developers/GtkD/downloads

--
Mike Wey



Hi,

I tried the install detailed on the github page and got the following error:


C:\D\dmd2\gtkD2\src>dgen
build\gtkD.d(612): Error: module SourceBuffer is in file 
'gsv\SourceBuffer.d' wh

ich cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import


Any clues as to the problem/solution?

Regards, Mike.



Re: NaNs Just Don't Get No Respect

2012-08-19 Thread Mike James



"Walter Bright"  wrote in message news:k0rhp5$2fud$2...@digitalmars.com... 


On 8/19/2012 4:48 AM, Peter Alexander wrote:

Yes, I got this impression as well. What a sad state of affairs.


Yup. NaNs just don't get no respect, I tell ya! No respect at all!

NaNs are the Rodney Dangerfield of D...


Re: dmd 1.075 and 2.060 release

2012-08-03 Thread Mike James
"Jonathan M Davis"  wrote in message 
news:mailman.996.1343981351.31962.digitalmars-d-annou...@puremagic.com...

On Friday, August 03, 2012 08:44:59 Mike James wrote:

"Walter Bright"  wrote in message
news:jvejr8$2s31$1...@digitalmars.com...

> Another big pile of bug fixes. More contributors than ever!
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.075.zip
>
> http://www.digitalmars.com/d/2.0/changelog.html
> https://github.com/downloads/D-Programming-Language/dmd/dmd.2.060.zip

Oh dear...

I've just updated to 2.060 from 2.059 using the Windows Install program. 
The

code that compiled/linked successfully yesterday now comes up with the
following errors...

OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
Debug\DDS_Table_Generator.obj(DDS_Table_Generator)
 Error 42: Symbol Undefined
_D4core6memory2GC6qallocFkkZS4core6memory8BlkInfo_
Debug\DDS_Table_Generator.obj(DDS_Table_Generator)
 Error 42: Symbol Undefined _D4core6memory2GC6extendFPvkkZk
Debug\DDS_Table_Generator.obj(DDS_Table_Generator)
 Error 42: Symbol Undefined _D4core5bitop3bsrFNaNbkZi

Have some files failed to be updated?

Regards, Mike.


I think that that means that you have some old .di files. Uninstall and 
make

sure that everything has been deleted. Then reinstall.


From the sounds of it, the installer needs some improvement though.


- Jonathan M Davis


Thanks - I did a fresh install and now everythings back to normal :-)

Regards, Mike. 



Re: dmd 1.075 and 2.060 release

2012-08-03 Thread Mike James
"Walter Bright"  wrote in message 
news:jvejr8$2s31$1...@digitalmars.com...

Another big pile of bug fixes. More contributors than ever!

http://www.digitalmars.com/d/1.0/changelog.html
http://ftp.digitalmars.com/dmd.1.075.zip

http://www.digitalmars.com/d/2.0/changelog.html
https://github.com/downloads/D-Programming-Language/dmd/dmd.2.060.zip


Oh dear...

I've just updated to 2.060 from 2.059 using the Windows Install program. The 
code that compiled/linked successfully yesterday now comes up with the 
following errors...


OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
Debug\DDS_Table_Generator.obj(DDS_Table_Generator)
Error 42: Symbol Undefined 
_D4core6memory2GC6qallocFkkZS4core6memory8BlkInfo_

Debug\DDS_Table_Generator.obj(DDS_Table_Generator)
Error 42: Symbol Undefined _D4core6memory2GC6extendFPvkkZk
Debug\DDS_Table_Generator.obj(DDS_Table_Generator)
Error 42: Symbol Undefined _D4core5bitop3bsrFNaNbkZi

Have some files failed to be updated?

Regards, Mike. 



Re: You crapper encounter...

2012-02-26 Thread Mike James

The scales fall from my eyes...



Re: dmd 1.071 and 2.056 release

2011-10-28 Thread Mike James
"Walter Bright"  wrote in message 
news:j8c7gj$2ctn$2...@digitalmars.com...

On 10/27/2011 7:00 AM, Mike James wrote:
Yeh, a simple app I've written has gone from 514k to 1098k in release. 
Where has

all the extra 'goodness' come from :-O


Take a look at the .map file (run dmc with -map). It'll tell you where the 
size comes from.


More interestingly if you open up the executable in a hex editor there are 
huge chunks of the .exe padded with zeros...


-=mike=- 



Re: dmd 1.071 and 2.056 release

2011-10-27 Thread Mike James
"John Chapman"  wrote in message 
news:j8a00m$176m$1...@digitalmars.com...
Anyone else experience slow compiles? Seems about 2-3 times slower than 
2.055.


Also, resulting executables are nearly twice as large on Windows.

John.


Yeh, a simple app I've written has gone from 514k to 1098k in release. Where 
has all the extra 'goodness' come from :-O


-=mike=- 



Re: GtkD 1.5 is released.

2011-09-01 Thread Mike James
"Mike Wey"  wrote in message 
news:j3b2gr$1f6k$1...@digitalmars.com...

GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL
license.

New in this Release:
* wraps GTK+ 2.22.x series api (and relative libraries: glib, cairo, 
pango, etc.)

* Improved memory management.
* Implements GtkBuildable.
* Brought Gstreamer up to date with the rest of the bindings, including 
64bits support.


GtkD 1.4 is now available, get it from dsource:
http://www.dsource.org/projects/gtkd/

--
Mike Wey


Hi Mike,

When I try to build gtkD I get the following error:

C:\D\dmd2\gtkD\src\build>build @gtkD
gtkD.d(659): Error: module XOverlay is in file 'gstinterfaces\XOverlay.d' 
which

cannot be read
import path[0] = C:\D\dmd2\gtkD\src\
import path[1] = C:\D\dmd2\gtkD\src\build\../../srcgl\
import path[2] = C:\D\dmd2\gtkD\src\build\../../srcsv\
import path[3] = C:\D\dmd2\gtkD\src\build\../../srcgda\
import path[4] = C:\D\dmd2\src\phobos\
import path[5] = C:\D\dmd2\src\druntime\import\
import path[6] = C:\D\dmd2\dgui\
import path[7] = C:\D\dmd2\gtkD\src\build\
import path[8] = C:\D\dmd2\gtkD\src\glib\
import path[9] = C:\D\dmd2\gtkD\src\gtkc\
import path[10] = C:\D\dmd2\gtkD\src\gthread\
import path[11] = C:\D\dmd2\gtkD\src\gobject\
import path[12] = C:\D\dmd2\gtkD\src\gdk\
import path[13] = C:\D\dmd2\gtkD\src\gdkpixbuf\
import path[14] = C:\D\dmd2\gtkD\src\cairo\
import path[15] = C:\D\dmd2\gtkD\src\pango\
import path[16] = C:\D\dmd2\gtkD\src\gio\
import path[17] = C:\D\dmd2\gtkD\src\atk\
import path[18] = C:\D\dmd2\gtkD\src\gtk\
import path[19] = C:\D\dmd2\gtkD\src\glade\
import path[20] = C:\D\dmd2\gtkD\src\build\../../srcgl\glgdk\
import path[21] = C:\D\dmd2\gtkD\src\build\../../srcgl\gtkglc\
import path[22] = C:\D\dmd2\gtkD\src\build\../../srcgl\glgtk\
import path[23] = C:\D\dmd2\gtkD\src\build\../../srcsv\gsv\
import path[24] = C:\D\dmd2\gtkD\src\build\../../srcsv\gsvc\
import path[25] = C:\D\dmd2\gtkD\src\build\../../srcgda\gda\
import path[26] = C:\D\dmd2\gtkD\src\build\../../srcgda\gdac\
import path[27] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[28] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
import path[29] = C:\D\dmd2\windows\bin\..\..\dgui
import path[30] = C:\D\dmd2\gtkD\src

Am I missing some path declaration?

Regards, Mike.



Re: D programming language specification ebook

2011-07-11 Thread Mike James
"Dmitry Olshansky"  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=- 



Re: Programming Windows D Examples are now Online!

2011-06-24 Thread Mike James
"Steven Schveighoffer"  wrote in message 
news:op.vxjw48ereav7ka@localhost.localdomain...
On Thu, 23 Jun 2011 18:42:45 -0400, Jonathan M Davis  
wrote:



On 2011-06-23 15:10, Steven Schveighoffer wrote:
On Thu, 23 Jun 2011 18:02:02 -0400, Jonathan M Davis 



wrote:
> On 2011-06-23 14:50, Andrej Mitrovic wrote:
>> On 6/23/11, Steven Schveighoffer  wrote:
>> > On Thu, 23 Jun 2011 07:27:34 -0400, Jimmy Cao 
>>
>> wrote:
>> >> Thread.sleep( 70_000_000 ); // 7 sec
>> >
>> > Gah!
>> >
>> > Here, let me fix that for you:
>> >
>> > Thread.sleep(dur!"seconds"(7));
>> >
>> > :)
>> >
>> > -Steve
>>
>> I find it very odd that for seconds we use "seconds", but for
>> everything else we use "msec", "usec", "hnsecs" abbreviations.
>
> Because it makes sense to use the full names up to seconds. After
that,
> they're too long, so they get abbreviated.

You could argue that mseconds is not much longer than seconds. It's 
still

an abbreviation.

You could also argue that seconds is too long, couldn't it be secs? One
thing that sucks about having inconsistent abbreviations, I have to look
them up, even when I know what I'm typing makes sense to a reader, it 
just

may not be what the function expects. For instance, before I sent this
message, I had to look it up to make sure it was valid.


Unfortunately, there are so many variations on what they could be that 
there's
no way to make them so that everyone is going to remember them 
correctly. So,

no matter what I picked, someone would have been unhapy with it.


Right.  I totally agree, if you have to have one, you just have to choose 
and be done with it.  The only reason we can have this conversation is 
because it's really easy to just add another "overload". :)



But here's an idea -- milliseconds, msecs, and mseconds could all map to
the same template function.

hectonanoseconds, hm.. that's a long one :)


I thought about doing that (though it _never_ occurred to me to use 
mseconds,
since that feels to me like you abbreviated half of it, which is just 
weird to

me). The problem is that that feels a bit too much like the inconsistent
horror that is html where it accepts just about anything. I generally 
prefer
things to be strict and consistent over trying to guess what was meant. 
It
also makes the template constraints uglier. I'm not completely against 
the

idea, but I'm not convinced that it's a good one either.


I'm not completely for it either, it was just a thought.  Personally, I 
think super-abbreviated and fully-spelled-out would be the two best 
options to have.  Since you are already sticking it in a namespace (dur), 
it should be rather obvious what each is:


hns or hectonanoseconds
us or microseconds
ms or milliseconds
s or seconds
m or minutes
h or hours
d or days
w or weeks
mo or months (yeah, this one is sucky)
y or years



As it stands, all units seconds and greater are completely 
unabbreviated, and

all of the sub-second units are abbreviated, which if you're going to
abbreviate some but not all feels very consistent to me (though again, 
what

seems perfectly logical to one person may not seem that way to another).


It would be good to highlight this pattern in the documentation.  It makes 
it easier to remember which ones are abbreviated!



I
_don't_ want to change them to something else at this point. There's 
enough in

core.time and std.datetime to get used to already, and that's a pretty
heavily-used feature in those modules. It _might_ be worth making it so 
that
other variants of the units' names work, but I'm not convinced that 
being lax

about it is necessarily a good idea.


To me, an optimal API is one you don't have to look up.  It just makes 
sense.  There are various ways to achieve this, and it's probably 
achievable with your scheme as long as you give an easy rule to remember 
(i.e. subseconds are abbreviated, everything else is not).


One thing that would be good to have is to have a more defined error 
message when you type the wrong term.  i.e.:


Error: millis is not a valid unit, try hnsecs, usecs, msecs, ...

-Steve


Yeh. Use the SI prefixes for units of time, where applicable (and no unicode 
:-) )


-=mike=- 



Re: Phobos unit testing uncovers a CPU bug

2010-11-28 Thread Mike James
If it happens once its a bug, if its repeatable its a feature ;-)

-=mike=-

"Kagamin"  wrote in message 
news:icth6h$1nq...@digitalmars.com...
> Don Wrote:
>
>> The Intel CPU gives the correct answer, but AMD's is wrong. They should
>> both give the correct result.
>
> Really? I think, the answer is neither correct nor wrong. It's 
> approximate.
> If your friend's program operates on ~0x1p+40 values and critically 
> depends on on the value of the last bit, then double precision doesn't 
> suit his needs (on both Intel and AMD), he should take a couple of classes 
> on computational theory and rewrite his algorithm, or use arithmetic with 
> higher precision. 




Re: New home page

2010-10-04 Thread Mike James
"Walter Bright"  wrote in message 
news:i8b2fn$4t...@digitalmars.com...
> http://www.digitalmars.com
>
> Yes, I should add some color and style sheets, but at the moment I am just 
> trying to get the layout right and make it much simpler to get to what I 
> think are the most useful links.
>
> Comments welcome.

Maybe get rid of the "Code of the Nerds" quote - it doesn't look very 
professional and doesn't seem to fit in with the rest of the page which 
looks good.

-=mike=- 




Re: Sept. 15 - The Many Faces of D

2010-09-07 Thread Mike James
"Walter Bright"  wrote in message 
news:i5vr13$13n...@digitalmars.com...
I'll be giving a presentation on The Many Faces of D at the Northwest C++ 
Users' Group meeting on Sept. 15.


http://nwcpp.org/

3 copies of The D Programming Language book autographed by Andrei will be 
given out as door prizes. Light refreshments, too!


See y'all there.


For those of us on different continents - will it be available on youtube 
:-)


-=mike=- 



Re: This just in: authorless TDPL becomes collector's edition

2010-08-04 Thread Mike James
"Serg Kovrov" <%lastna...@gmail.com> wrote in message 
news:i3bmk0$18t...@digitalmars.com...
> On Tue, 13 Jul 2010 18:16:11 +0100, Mike James wrote:
>
>> The downladable version appears in the "Tokens & Downloads" tab of My
>> Safari when I log on. Have you got that Tab?
>>
>> -=mike=-
>
>
> Is it the whole book or a chapter?

It was the whole book My trial period has expired so I can't re-check. I 
couldn't download it right away. The pdf was watermarked with my name and I 
was sent an email to allow me to download the finished book.

>
> All I got there is: "You have not requested any downloads. Click the
> download icon in the Content Reader toolbar to redeem download tokens and
> request content for offline viewing."
>
> And download icons are only for chapters. Each costs one token, but I got
> only one "promotional token" which will expire in 9 days.
>
>
> -- 
> serg.
>
> 




Re: In the Bay Area on August 11?

2010-08-02 Thread Mike James
"Andrei Alexandrescu"  wrote in message 
news:i353ak$1n...@digitalmars.com...
I've been kindly invited by the ACCU Silicon Valley Chapter to give a talk 
on D at their next meeting. The talk starts at 7:00pm on Wednesday, August 
11 and takes place in Mountain View. Attendance is free and opened to 
everyone. For details:


http://accu.org/index.php/accu_branches/accu_usa/next

The talk will use the same slides as my Google talk. I'll give away a few 
free copies of TDPL as prizes to the persons who ask the most embarrassing 
questions.


Is that to the embarrassment of the questioner or the questionee ;-)


Hope to see many of you there!

Andrei 




Re: This just in: authorless TDPL becomes collector's edition

2010-07-14 Thread Mike James
"Jonathan M Davis"  wrote in message 
news:mailman.343.1279145587.24349.digitalmars-d-annou...@puremagic.com...
> On Wednesday, July 14, 2010 14:59:54 Mike James wrote:
>> "Jonathan M Davis"  wrote in message
>> news:mailman.342.1279143025.24349.digitalmars-d-annou...@puremagic.com...
>>
>> > On Tuesday, July 13, 2010 10:16:11 Mike James wrote:
>> >> The downladable version appears in the "Tokens & Downloads" tab of My
>> >> Safari when I log on. Have you got that Tab?
>> >>
>> >> -=mike=-
>> >
>> > Do actually pay for a safari subscription? I didn't have a safari 
>> > account
>> > before
>> > this, and I'm running into the same problem as strtr, so I'm wondering 
>> > if
>> > that's
>> > the difference. Though if that's the case, it seems pretty messed up to
>> > me. I
>> > have no interest in shelling out on a safari subscription to get what 
>> > is
>> > supposed to be a free download.
>> >
>> > - Jonathan M Davis
>>
>> I didn't have a subscription - just the free 30-day by entering the 
>> access
>> code printed in the back of TDPL.
>>
>> -=mike=-
>
> *Sigh* It was reasonable guess, even if it was wrong. I guess that Safari 
> just
> loves you and hates us then. ;)
>
> Maybe I should contact them and complain (about the problem, not that it 
> loves
> you).
>
> - Jonathan M Davis

They only love me short time (30 days) :-)

-=mike=-




Re: This just in: authorless TDPL becomes collector's edition

2010-07-14 Thread Mike James
"Jonathan M Davis"  wrote in message 
news:mailman.342.1279143025.24349.digitalmars-d-annou...@puremagic.com...
> On Tuesday, July 13, 2010 10:16:11 Mike James wrote:
>>
>> The downladable version appears in the "Tokens & Downloads" tab of My
>> Safari when I log on. Have you got that Tab?
>>
>> -=mike=-
>
> Do actually pay for a safari subscription? I didn't have a safari account 
> before
> this, and I'm running into the same problem as strtr, so I'm wondering if 
> that's
> the difference. Though if that's the case, it seems pretty messed up to 
> me. I
> have no interest in shelling out on a safari subscription to get what is
> supposed to be a free download.
>
> - Jonathan M Davis

I didn't have a subscription - just the free 30-day by entering the access 
code printed in the back of TDPL.

-=mike=- 




Re: This just in: authorless TDPL becomes collector's edition

2010-07-13 Thread Mike James
"strtr"  wrote in message news:i1i0up$15p...@digitalmars.com...
> == Quote from Mike James (f...@bar.com)'s article
>> "strtr"  wrote in message 
>> news:i1ck0c$g...@digitalmars.com...
>> > == Quote from Mike James (f...@bar.com)'s article
>> >> "Patrick Byrne"  wrote in message
>> >> news:hvq1dr$30e...@digitalmars.com...
>> >> > On 22/06/2010 10:03, Mike James wrote:
>> >> >
>> >> >> When you get the book it has an access code to download the PDF 
>> >> >> book
>> >> >> from Safari. But you need the book first :-)
>> >> >
>> >> > Can you actually download the pdf? All I can see is the interactive
>> >> > browser - It is quite nice to use but I would much rather have a pdf
>> >> > file
>> >> > to take home with me, at the end of the day.
>> >> >
>> >> Yes you can download the PDF. If you look at the last page of TDPL 
>> >> there
>> >> is
>> >> instructions. Basically you request a PDF and the PDF is generated 
>> >> with
>> >> your
>> >> name and email address as a footer on each page. Safari then emails 
>> >> you
>> >> the
>> >> webpage you can download it from. You just need to signup for the 
>> >> trial
>> >> period.
>> >> -=mike=-
>> >
>> > Could you maybe help me out a bit. Next to the online version, all I 
>> > get
>> > is the
>> > notification I need download tokens :(
>> > I signed up using the coupon code.
>> Have you bought TDPL? You need the access code from the back of the book.
>> -=mike=-
> Yes, as I said, I singed up using the coupon code. Or is there yet some 
> other code
> I missed?
> It automatically added TDPL to the 0-slot bookshelf.
> In the table of contents there are per chapter downloads which each cost 
> one
> download token.
> On the online reading page I can print individual pages (with watermark) 
> but
> downloads again cost tokens.
> Which button am I missing?

The downladable version appears in the "Tokens & Downloads" tab of My Safari 
when I log on. Have you got that Tab?

-=mike=- 




Re: This just in: authorless TDPL becomes collector's edition

2010-07-13 Thread Mike James

"strtr"  wrote in message news:i1ck0c$g...@digitalmars.com...

== Quote from Mike James (f...@bar.com)'s article

"Patrick Byrne"  wrote in message
news:hvq1dr$30e...@digitalmars.com...
> On 22/06/2010 10:03, Mike James wrote:
>
>> When you get the book it has an access code to download the PDF book
>> from Safari. But you need the book first :-)
>
> Can you actually download the pdf? All I can see is the interactive
> browser - It is quite nice to use but I would much rather have a pdf 
> file

> to take home with me, at the end of the day.
>
Yes you can download the PDF. If you look at the last page of TDPL there 
is
instructions. Basically you request a PDF and the PDF is generated with 
your
name and email address as a footer on each page. Safari then emails you 
the

webpage you can download it from. You just need to signup for the trial
period.
-=mike=-


Could you maybe help me out a bit. Next to the online version, all I get 
is the

notification I need download tokens :(
I signed up using the coupon code.


Have you bought TDPL? You need the access code from the back of the book.

-=mike=-




Re: This just in: authorless TDPL becomes collector's edition

2010-06-22 Thread Mike James
"Jacob Carlborg"  wrote in message 
news:hvr503$287...@digitalmars.com...
> On 2010-06-22 14:51, Andrei Alexandrescu wrote:
>> On 06/22/2010 07:45 AM, Jacob Carlborg wrote:
>>> On 2010-06-21 21:23, Mike James wrote:
>>>> Got my "collectors item" delivered today from Amazon UK. Looks good. I
>>>> like
>>>> the bonus of being able to download a PDF version of TDPL.
>>>>
>>>> Thanks for all the hard work Andrei.
>>>>
>>>> -=mike=-
>>>>
>>>> "Andrei Alexandrescu" wrote in message
>>>> news:hu3hq6$2f0...@digitalmars.com...
>>>>> Due to a pretty odd mistake at the printer, the first 1000 copies of
>>>>> TDPL
>>>>> will not have the name of the author on their cover. (The name still
>>>>> appears on the back cover and the spine.)
>>>>>
>>>>> The history of printing is rife with rare printing mistakes that have
>>>>> become collector's editions. Preorder now to be among the first 1000
>>>>> readers who get the authorless TDPL edition.
>>>>>
>>>>>
>>>>> Andrei
>>>
>>> What happened to the nice looking PDF file we saw previews on, that one
>>> with syntax highlighting and a green background in the code example?
>>
>> That's the iPad edition :o).
>>
>> Now seriously, what happens is that what you see is exactly what went to
>> the printer. I can configure colors for a color edition, but for now the
>> publisher asked me for black and white.
>>
>> Andrei
>
> That's too bad. I can understand that the publisher want it in black and 
> withe but the PDF, it would have been nice to the PDF in color.
>
> -- 
> /Jacob Carlborg

Maybe the color PDF will be another collectors item ;-)

-=mike=-




Re: This just in: authorless TDPL becomes collector's edition

2010-06-22 Thread Mike James
"Patrick Byrne"  wrote in message 
news:hvq1dr$30e...@digitalmars.com...

On 22/06/2010 10:03, Mike James wrote:


When you get the book it has an access code to download the PDF book
from Safari. But you need the book first :-)


Can you actually download the pdf? All I can see is the interactive 
browser - It is quite nice to use but I would much rather have a pdf file 
to take home with me, at the end of the day.




Yes you can download the PDF. If you look at the last page of TDPL there is 
instructions. Basically you request a PDF and the PDF is generated with your 
name and email address as a footer on each page. Safari then emails you the 
webpage you can download it from. You just need to signup for the trial 
period.


-=mike=- 



Re: This just in: authorless TDPL becomes collector's edition

2010-06-22 Thread Mike James
"Adrian Matoga"  wrote in message 
news:hvorrg$j3...@digitalmars.com...

Alix Pexton pisze:

On 21/06/2010 20:23, Mike James wrote:
Got my "collectors item"  delivered today from Amazon UK. Looks good. I 
like

the bonus of being able to download a PDF version of TDPL.


Where to find this PDF version? I can only see the contents, excerpt from 
first chapter, and the index. And I can't stand waiting for my paper copy 
in its long way to PL.


When you get the book it has an access code to download the PDF book from 
Safari. But you need the book first :-)


-=mike=- 



Re: This just in: authorless TDPL becomes collector's edition

2010-06-21 Thread Mike James
I wondered that too - looking at the footer thats added to the PDF file it 
doesn't mention that it timeouts after 45 days.

I guess only Andrei can tell us for sure ;-)

-=mike=-


"Alix Pexton"  wrote in message 
news:hvoep9$2ld...@digitalmars.com...
> On 21/06/2010 20:23, Mike James wrote:
>> Got my "collectors item"  delivered today from Amazon UK. Looks good. I 
>> like
>> the bonus of being able to download a PDF version of TDPL.
>>
>> Thanks for all the hard work Andrei.
>>
>> -=mike=-
>>
>> "Andrei Alexandrescu"  wrote in message
>> news:hu3hq6$2f0...@digitalmars.com...
>>> Due to a pretty odd mistake at the printer, the first 1000 copies of 
>>> TDPL
>>> will not have the name of the author on their cover. (The name still
>>> appears on the back cover and the spine.)
>>>
>>> The history of printing is rife with rare printing mistakes that have
>>> become collector's editions. Preorder now to be among the first 1000
>>> readers who get the authorless TDPL edition.
>>>
>>>
>>> Andrei
>>
>>
> Mine arrived today too, yay, very pleasant reading so far.
>
> Bit confused abgout the "free online edition" though, does it go *poof* 
> after 45 days?
>
> A... 




Re: This just in: authorless TDPL becomes collector's edition

2010-06-21 Thread Mike James
Got my "collectors item"  delivered today from Amazon UK. Looks good. I like 
the bonus of being able to download a PDF version of TDPL.

Thanks for all the hard work Andrei.

-=mike=-

"Andrei Alexandrescu"  wrote in message 
news:hu3hq6$2f0...@digitalmars.com...
> Due to a pretty odd mistake at the printer, the first 1000 copies of TDPL 
> will not have the name of the author on their cover. (The name still 
> appears on the back cover and the spine.)
>
> The history of printing is rife with rare printing mistakes that have 
> become collector's editions. Preorder now to be among the first 1000 
> readers who get the authorless TDPL edition.
>
>
> Andrei 




Re: TDPL is #75 on the bestselling list at bestbookbuys.com

2010-04-20 Thread Mike James
== Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s
article
> http://www.bestwebbuys.com/books/bestsellers
> There are only three programming books on their Top 100 list. The
other
> two are Modern C++ Design (#12) and C++ Coding Standards (#28).
> This all sounds great, but it must be because my homepage links to
> bestbookbuys.com. :o)
> Andrei

Interesting. But how can it be a best seller if its not published
yet ;-)

-=mike=-



Re: Tango 0.99.8 Sean released

2009-03-27 Thread Mike James
Cheers.

Regards, mike.


Re: DMD 1.038 and 2.022 releases

2008-12-14 Thread Mike James
Mike James Wrote:

> Jarrett Billingsley Wrote:
> 
> 
> > OK, they've been uploaded and the download links work now.
> 
> 
> I can download the DMD 1.038 zip file but Windows Folders, 7-zip and WinRAR 
> fail to open it - bad EOF.
> 
> -=mike=-


It does now :-)

-=mike=-


Re: DMD 1.038 and 2.022 releases

2008-12-14 Thread Mike James
Jarrett Billingsley Wrote:


> OK, they've been uploaded and the download links work now.


I can download the DMD 1.038 zip file but Windows Folders, 7-zip and WinRAR 
fail to open it - bad EOF.

-=mike=-