Re: Programming in D paper book is available for purchase

2015-08-19 Thread dnewbie via Digitalmars-d-announce

On Wednesday, 19 August 2015 at 00:57:32 UTC, Ali Çehreli wrote:

I am very happy! :)


Ordered Thank You Ali.



Re: DMD v2.066.0-rc2

2014-08-11 Thread dnewbie via Digitalmars-d-announce

On Friday, 8 August 2014 at 12:01:43 UTC, Andrew Edwards wrote:

DMD v2.066.0-rc2 binaries are available for testing:

http://wiki.dlang.org/Beta_Testing


curl.lib not found in
dmd.2.066.0-rc2.windows.zip\dmd2\windows\lib


Re: DMD v2.066.0-rc2

2014-08-11 Thread dnewbie via Digitalmars-d-announce

On Monday, 11 August 2014 at 19:32:27 UTC, Brad Anderson wrote:

On Monday, 11 August 2014 at 19:02:18 UTC, Brad Anderson wrote:

On Monday, 11 August 2014 at 15:51:16 UTC, dnewbie wrote:
On Friday, 8 August 2014 at 12:01:43 UTC, Andrew Edwards 
wrote:

DMD v2.066.0-rc2 binaries are available for testing:

 http://wiki.dlang.org/Beta_Testing


curl.lib not found in
dmd.2.066.0-rc2.windows.zip\dmd2\windows\lib


Should be fixed by 
https://github.com/D-Programming-Language/installer/pull/108


I accidentally left it out so Andrew had to quickly fix it but 
he did it shortly after he rolled some of the release. You'll 
note he regenerated the installer to include it but the zip 
must have not had a fixed version uploaded.


The dmd.2.066-rc2.windows.zip I just downloaded has 
dmd2/windows/lib/curl.lib


OK!


Re: DConf 2013 Day 1 Talk 2: Copy and Move Semantics in D by Ali Cehreli

2013-05-13 Thread dnewbie

On Friday, 10 May 2013 at 12:08:10 UTC, Andrei Alexandrescu wrote:

Enjoy!

https://www.youtube.com/watch?v=mPr2UspS0fE

Andrei


Very good presentation. Thank you Ali.



Re: D 2.062 release

2013-02-17 Thread dnewbie

On Monday, 18 February 2013 at 01:02:43 UTC, Walter Bright wrote:

http://digitalmars.com/d/download.html

The dlang.org site isn't updated yet, but the downloads are 
there.


Thank you Walter Bright. I appreciate your work.



Re: dmd 1.075 and 2.060 release

2012-08-02 Thread dnewbie
Memory usage of my program when compiled by dmd2.057, 2.058, 
2.059  2.060:

http://postimage.org/image/hqn6l4l8p/

It's a great improvement. Thanks for the new release.


Re: Wiki page for C bindings / wrappers and reimplementations

2012-08-01 Thread dnewbie

On Wednesday, 1 August 2012 at 17:18:36 UTC, Marco Leise wrote:

Am Mon, 30 Jul 2012 16:50:57 +0200
schrieb Marco Leise marco.le...@gmx.de:

I have now written a simple web site the lists C bindings by 
category. It is updated every day.

http://mleise.abcz8.com/d/bindings.php
Currently it only lists Deimos repositories and includes them 
even if they only contain C headers. Oh and it is ugly.


libnotify description is truncated.


Re: dpj for Windows

2012-06-27 Thread dnewbie
The dpj mini-ide now displays the name of the current function 
(from caret position): http://postimage.org/image/exbtxftqv/ 
Click on the combobox item to jump to the selected function.
Thanks dscanner by Sir Alaran 
https://github.com/Hackerpilot/Dscanner


Link: https://github.com/dnewbie/dpj




Re: dpj for Windows

2012-06-16 Thread dnewbie

On Tuesday, 22 May 2012 at 07:28:04 UTC, Ary Manzana wrote:

On 5/22/12 8:55 AM, dnewbie wrote:

On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:

On 5/20/12 10:37 PM, dnewbie wrote:


It started as a D project, then I've moved it to C.


o_O

Why?


Because the d version of the program has a lot of weird bugs 
and

I wasn't able to kill them.


Then why did you still write a D IDE if you couldn't even write 
it in D?


Did you report the bugs? Are they known? Did you try to fix 
them or to ask the community?


Hi. The dpj mini-ide is now written in D and the source code is 
available:

https://github.com/dnewbie/dpj
Sorry, there's no new feature.
Screenshot: http://postimage.org/image/6mtk293s7/




Re: dpj for Windows

2012-05-26 Thread dnewbie

On Tuesday, 22 May 2012 at 07:28:04 UTC, Ary Manzana wrote:

On 5/22/12 8:55 AM, dnewbie wrote:

On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:

On 5/20/12 10:37 PM, dnewbie wrote:


It started as a D project, then I've moved it to C.


o_O

Why?


Because the d version of the program has a lot of weird bugs 
and

I wasn't able to kill them.


Then why did you still write a D IDE if you couldn't even write 
it in D?


Did you report the bugs? Are they known? Did you try to fix 
them or to ask the community?


Yeah. The development in D should be resumed.
For now, there's a minor update available:
http://my.opera.com/run3/blog/2012/05/20/dpj
The program now uses dscanner 
https://github.com/Hackerpilot/Dscanner for tag finding.






Re: dpj for Windows

2012-05-21 Thread dnewbie

On Monday, 21 May 2012 at 12:08:33 UTC, Ary Manzana wrote:

On 5/20/12 10:37 PM, dnewbie wrote:


It started as a D project, then I've moved it to C.


o_O

Why?


Because the d version of the program has a lot of weird bugs and
I wasn't able to kill them.


Re: dpj for Windows

2012-05-20 Thread dnewbie

On Sunday, 20 May 2012 at 03:53:43 UTC, Nick Sabalausky wrote:

dnewbie r...@myopera.com wrote in message
news:qufvdhexcdzabuzqr...@forum.dlang.org...

dpj is a mini-ide for the D programming language.
http://my.opera.com/run3/blog/2012/05/20/dpj



That's a good start! Not bad. Is it written in D?



It started as a D project, then I've moved it to C.


A few notes:

- It's much faster to just pass all the files to dmd at once and
compile/link all in one step. So, instead of this:

dmd -wi -c a.d -ofoutput\a.d
dmd -wi -c b.d -ofoutput\b.d
dmd -ofa.exe output\a.obj output\b.obj

Just do this:

dmd -wi -ofa.exe -odoutput a.d b.d

It's a lot faster, plus in my experience compiling separately 
can sometimes
lead to linking problems (somehting to do with how dmd handles 
templates, I

think).


Understood.



- To support things like ldc, gdc and dvm (via ldmd, gdmd,
dvm-current-dc.bat, etc...), the config file should take a path 
to the
actual exe or bat (such as dmd.exe) the users wants to run, 
instead of just

the path to dmd.exe.

So like dmd_path=C:\D\dmd2\windows\bin\dmd.exe insetad of
dmd_path=C:\D\dmd2\windows\bin


The project file is actually a GNU makefile with special 
variables.
I'll see how can I make a makefile that supports multiple 
compilers

and compile/link in one step.




- The first couple times I made a new project I got some error 
about it not
being able to copy a template. But then it seemed to work ok 
anyway. I don't
remember exactly what it said, and it doesn't seem to be 
happening anymore

(don't know why) so I can't check.


It happens when either the destination file already exists, or
when the template file is missing. I'll add a more descriptive 
message.




- It *seems* to start up with a default blank project, but you 
can't use it.
You still have to go to File-New project. That's a little 
confusing.


- It'd be good to be able to select and copy the text in the 
compilation

panel at the bottom.

- It'd be intuitive to be able to add files to a project by 
right-clicking
D source files or whatever and then have Add file(s)... in 
a drop-down

menu.

- More features and configurability with both building and 
interface would

be nice to have in later versions, ie more bells and whistles ;)




Right. I'll improve it as time permits.


I love that the interface is super-fast, light on memory, and 
uses the
native system controls. And the automatic build management and 
Help links

are really nice to have.


Thanks for the feedback!




Re: Oracle Database - ocilib

2012-04-05 Thread dnewbie

On Thursday, 5 April 2012 at 06:15:59 UTC, Walter Bright wrote:

On 4/4/2012 9:47 AM, dnewbie wrote:

On Tuesday, 3 April 2012 at 04:01:07 UTC, dnewbie wrote:
It also works on Linux (I've just tested it on Debian Squeeze 
with Oracle

Express)
Rock'n'roll!


Hi. I'd like to submit these bindings to be reviewed for 
inclusion in Deimos.





Sure. For that I need a url of original C library, and a brief 
description.



Description (from sourceforge.net project page)
OCILIB is an open source and cross platform Oracle Driver that 
delivers efficient access to Oracle databases. It offers a full 
featured, easy and productive API. Written in ISO C on top of 
OCI, OCILIB runs on all Oracle platforms.


Official website: http://www.ocilib.net/
Sourceforge project: http://sourceforge.net/projects/orclib/
Wikipedia: http://en.wikipedia.org/wiki/OCILIB



Re: Oracle Database - ocilib

2012-04-05 Thread dnewbie

On Thursday, 5 April 2012 at 17:58:15 UTC, Walter Bright wrote:


https://github.com/D-Programming-Deimos/ocilib


Thank you.


Re: Oracle Database - ocilib

2012-04-04 Thread dnewbie

On Tuesday, 3 April 2012 at 04:01:07 UTC, dnewbie wrote:
It also works on Linux (I've just tested it on Debian Squeeze 
with Oracle Express)

Rock'n'roll!


Hi. I'd like to submit these bindings to be reviewed for 
inclusion in Deimos.





Re: Oracle Database - ocilib

2012-04-02 Thread dnewbie
It also works on Linux (I've just tested it on Debian Squeeze 
with Oracle Express)

Rock'n'roll!




Oracle Database - ocilib

2012-04-01 Thread dnewbie
I've added oracle binding (ocilib). It was tested on Windows with 
Oracle Express Edition.

http://my.opera.com/run3/blog/2012/04/02/d-oracle




Re: Linux and D wallpaper :)

2012-03-28 Thread dnewbie

On Thursday, 29 March 2012 at 04:48:39 UTC, F i L wrote:

http://reign-studios.com/d-wallpapers/LinuxAndD.png


Very nice. Thanks!!


Re: D web apps: cgi.d now supports scgi

2012-03-25 Thread dnewbie

Thanks for doing this (and the other misc stuff)
I wonder how can I generate unique, non predictable session ids.


Re: D web apps: cgi.d now supports scgi

2012-03-25 Thread dnewbie

On Sunday, 25 March 2012 at 19:22:02 UTC, Adam D. Ruppe wrote:

On Sunday, 25 March 2012 at 19:14:32 UTC, dnewbie wrote:
I wonder how can I generate unique, non predictable session 
ids.


In web.d, there's a Session class that generates them
with std.random.uniform. I suspect this isn't the
best possible, but it's worked pretty well so far.

The session class also uses a file to store persistent
string key/value data.


This is what I was looking for. Rock'n'roll!!


Re: D web apps: cgi.d now supports scgi

2012-03-25 Thread dnewbie

I can't compile web.d

Notice: As of Phobos 2.055, std.date and std.dateparse have been 
deprecated. They will be removed in February 2012. Please use 
std.datetime instead.
arsd\web.d(2671): Error: function std.date.dateFromTime is 
deprecated
arsd\web.d(2672): Error: function std.date.yearFromTime is 
deprecated
arsd\web.d(2673): Error: function std.date.monthFromTime is 
deprecated


Re: StackOverflow Chat Room

2012-03-21 Thread dnewbie
I need 20 reputation. Please help me.


On Wed, Mar 21, 2012, at 12:23 PM, Robik wrote:
 On Sunday, 18 March 2012 at 23:13:47 UTC, James Miller wrote:
  Hey guys,
 
  I made a StackOverflow chat room. You don't have to use it or
  anything, but at least it exists now.
 
  Its called Dlang, http://chat.stackoverflow.com/rooms/9025/dlang
 
  --
  James Miller
 
 Awesome. But it needs to be configured. What's your IRC name(need
 to talk about it)?


mysql tool

2012-03-17 Thread dnewbie
Hi D friends.

I'd like to share with you a little tool. It allows you to execute SQL 
statements in your MySQL database.
It displays the data in a nice data grid widget written by David Hillard.

I hope you like it.

Link
http://my.opera.com/run3/blog/2012/03/17/mysql-tool



Re: D port of dmd: Lexer, Parser, AND CodeGenerator fully operational

2012-03-07 Thread dnewbie
Zach the Mystic - I can't compile it.
dmd\binExp.d(115): Error: function dmd.binExp.AndAndExp.isBit of type bool() 
overrides but is no
t covariant with dmd.expression.Expression.isBit of type int()
dmd\binExp.d(115): Error: function dmd.binExp.AndAndExp.isBit does not override 
any function


On Wed, Mar 7, 2012, at 10:09 PM, Zach the Mystic wrote:
 On Wednesday, 7 March 2012 at 21:06:25 UTC, Zach the Mystic wrote:
  On Wednesday, 7 March 2012 at 20:46:40 UTC, Andrej Mitrovic 
  wrote:
  Hi,
 
  which version of the compiler can this be built with?
 
  I get this with 2.058:
  dmd\binExp.d(324): Error: function dmd.binExp.EqualExp.isBit 
  of type
  bool() overrides but is not covariant with
  dmd.expression.Expression.isBit of type int()
  dmd\binExp.d(324): Error: function dmd.binExp.EqualExp.isBit 
  does not
  override any function
 
  Well, I was using 2.057
 
  But obviously you've found a bug I can fix rather quickly!
 
 OK I think it's fixed.
 
 Zach
 


Re: D port of dmd: Lexer, Parser, AND CodeGenerator fully operational

2012-03-07 Thread dnewbie
It's working..

Pretty cool :)



On Thu, Mar 8, 2012, at 12:07 AM, Zach the Mystic wrote:
 On Wednesday, 7 March 2012 at 21:15:46 UTC, dnewbie wrote:
  Zach the Mystic - I can't compile it.
 
 Still not working?