Re: Logo for D

2016-01-18 Thread DaveG via Digitalmars-d-announce
On Monday, 18 January 2016 at 22:48:52 UTC, Brad Anderson wrote: On Monday, 18 January 2016 at 10:28:48 UTC, Guillaume Piolat wrote: On Saturday, 16 January 2016 at 17:55:13 UTC, karabuta wrote: How do you see it? http://amazingws.0fees.us/wp-content/uploads/2016/01/dlang2.png Many variants

Re: dlang.org redesign n+1

2015-01-21 Thread DaveG via Digitalmars-d
On Wednesday, 21 January 2015 at 18:01:14 UTC, Vladimir Panteleev wrote: On Wednesday, 21 January 2015 at 17:34:46 UTC, H. S. Teoh via Digitalmars-d wrote: On Wed, Jan 21, 2015 at 05:27:09PM +, anonymous via Digitalmars-d wrote: On Wednesday, 21 January 2015 at 14:46:22 UTC, Sebastiaan

Re: New menus are up

2015-01-21 Thread DaveG via Digitalmars-d
On Wednesday, 21 January 2015 at 13:39:29 UTC, Jacob Carlborg wrote: On 2015-01-21 08:21, Jacob Carlborg wrote: The icons need higher resolution for retina displays. Especially the expand (plus) icons in the menu. Using glyphs/text as icons, with a special font should be considered, i.e.:

Re: Please help me with improving dlang.org

2015-01-19 Thread DaveG via Digitalmars-d
On Tuesday, 20 January 2015 at 01:49:45 UTC, Mike Parker wrote: Fork first, clone your fork, create a new branch, make changes, push to your fork, create a PR from the new branch [1]. As I learned on my first PR, you'll want to create separate branches for each unrelated change. Once you

Re: Please help me with improving dlang.org

2015-01-19 Thread DaveG via Digitalmars-d
On Monday, 19 January 2015 at 07:56:39 UTC, Jacob Carlborg wrote: On 2015-01-19 03:50, DaveG wrote: https://dl.dropboxusercontent.com/u/114394/D-site/redesign/index.html It would be better if the menu could become some kind of drop down. Look at how Bootstrap is doing it [1]. The menu

Re: Please help me with improving dlang.org

2015-01-19 Thread DaveG via Digitalmars-d
On Monday, 19 January 2015 at 16:44:04 UTC, Andrei Alexandrescu wrote: On 1/18/15 6:50 PM, DaveG wrote: Here's where I'm at. The menus don't use javascript (except when the screen gets so small it needs a button to open the navigation, the button uses js). It scales with screen size and

Re: Please help me with improving dlang.org

2015-01-19 Thread DaveG via Digitalmars-d
On Monday, 19 January 2015 at 18:46:24 UTC, Andrei Alexandrescu wrote: Should we pull my stuff so the others come on top of it? I'm new to git (and github) so I don't know the process. I just cloned your branch locally and have been working off that. I assume I can fork master and push my

Re: Please help me with improving dlang.org

2015-01-18 Thread DaveG via Digitalmars-d
On Monday, 19 January 2015 at 02:21:41 UTC, Andrei Alexandrescu wrote: On 1/18/15 11:15 AM, Adam D. Ruppe wrote: On Sunday, 18 January 2015 at 17:56:41 UTC, aldanor wrote: And yet another thing you gain with (most) frameworks is having access to the original SASS/LESS. I think that's a con,

Re: Please help me with improving dlang.org

2015-01-18 Thread DaveG via Digitalmars-d
On 1/18/15 5:41 AM, Kiith-Sa wrote: Also, note that the collapsible menu can be done in pure CSS, no JS needed, which would allow it to work consistently even with NoScript. It is possible with CSS only (I think), but fancy features like animations require CSS3 transitions which has

Re: Please help me with improving dlang.org

2015-01-17 Thread DaveG via Digitalmars-d
On Sunday, 18 January 2015 at 04:44:56 UTC, Israel wrote: On Sunday, 18 January 2015 at 02:18:16 UTC, Andrei Alexandrescu wrote: I took the better part of today working on this: https://github.com/D-Programming-Language/dlang.org/pull/780. See demo at http://erdani.com/d/. What do you all

Re: Is it possible to collect object usage information during compilation?

2015-01-11 Thread DaveG via Digitalmars-d
On Sunday, 11 January 2015 at 09:54:42 UTC, Jacob Carlborg wrote: On 2015-01-11 02:08, DaveG wrote: In the past I have used FreeTDS, through PHP, and it had a lot of problems. This was several years ago and could have been at least partially due to the PHP layer. Last year I messed around

Re: Is it possible to collect object usage information during compilation?

2015-01-11 Thread DaveG via Digitalmars-d
On Sunday, 11 January 2015 at 10:06:53 UTC, Paolo Invernizzi wrote: On Saturday, 10 January 2015 at 20:53:47 UTC, DaveG wrote: On Saturday, 10 January 2015 at 18:31:18 UTC, Paolo Invernizzi wrote: I would like to see, someday, something in D that: - can check at compile time the syntax of

Re: Is it possible to collect object usage information during compilation?

2015-01-10 Thread DaveG via Digitalmars-d
On Saturday, 10 January 2015 at 13:19:19 UTC, Martin Nowak wrote: On 01/10/2015 01:52 PM, Jacob Carlborg wrote: On 2015-01-10 13:36, Martin Nowak wrote: The idea isn't bad, but the performance will suck. This is generally known as N+1 query, only that this is even worse, as each field is

Re: Is it possible to collect object usage information during compilation?

2015-01-10 Thread DaveG via Digitalmars-d
On Saturday, 10 January 2015 at 18:31:18 UTC, Paolo Invernizzi wrote: On Saturday, 10 January 2015 at 17:31:42 UTC, DaveG wrote: On Saturday, 10 January 2015 at 13:19:19 UTC, Martin Nowak wrote: Here is a sketch for an optimal solution. I'm actually eagerly waiting that someone finally

Re: Is it possible to collect object usage information during compilation?

2015-01-10 Thread DaveG via Digitalmars-d
On Saturday, 10 January 2015 at 20:57:00 UTC, Adam D. Ruppe wrote: On Saturday, 10 January 2015 at 20:51:44 UTC, Jacob Carlborg wrote: That would be FreeTDS [1] with D bindings [2]. Unless Microsoft have headers available for interfacing with SQL Server. You can use ODBC if it is a Windows

Is it possible to collect object usage information during compilation?

2015-01-09 Thread DaveG via Digitalmars-d
Let me preface this by saying I only have a general conceptual understanding of compilers and know nothing about actual implementation. One common problem with Object-Relational Mapping (ORM) is what data to load and when. There is basically 2 options: 1. Load everything: This certainly

Re: TKD AddProtocolCommand example

2014-05-15 Thread DaveG via Digitalmars-d-learn
On Thursday, 15 May 2014 at 17:30:22 UTC, Gary Willoughby wrote: On Wednesday, 14 May 2014 at 21:23:02 UTC, DaveG wrote: tkd\window\window.d(426): Error: undefined identifier CommandCallback Added the missing import and now all works fine. Fixed in v1.0.5-beta. Any more issues open them up

TKD AddProtocolCommand example

2014-05-14 Thread DaveG via Digitalmars-d-learn
Hello Could someone provide an example how to use addProtocolCommand? The following is how I would expect it to work: import tkd.tkdapplication; // Import Tkd. class Application : TkdApplication // Extend TkdApplication. { private void exitCommand(CommandArgs

Re: TKD AddProtocolCommand example

2014-05-14 Thread DaveG via Digitalmars-d-learn
Hopefully better formatting of code here: import tkd.tkdapplication; class Application : TkdApplication { private void exitCommand(CommandArgs args) { this.exit(); } private void saveMeCommand(CommandArgs args) { new