FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

This sucks

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
zeka



Joined: 23 Mar 2007
Posts: 6

PostPosted: Sat Mar 24, 2007 12:12 am    Post subject: This sucks Reply with quote

I have never seen such unfriendly environment like everything that surrounds D. I had no issues picking up Ruby or Python and other languages/libs in the past. Using primarily online forums and short docs. Online communities are usually friendly and often demonstrate some sort of collective will to BE HELPFUL.

I have been trying to get GTK+ (for D) installed and compiled on my box and do my "hello world" in it for a whole freaking evening. The damn thing does not even have a name that everybody agrees on. Is it GTKD? Or UID? How many ZIP files with cryptic names I have to download and unzip to compile and run? And WHERE should I unzip them?

Some guys tried to provide "tutorials" that are usually like... 4 (four!) lines big. Try following your tutorials on a clean XP box, dudes. I do realize that most of us are programmers, not documentation people, but I am not surprised that D is not picking up: apparently it is impossible to have 100MB archive that can be unzipped into D:\ and everything runs from there.

Even DMD's own website is weird. Why the hell there are TWO zip files? DMD and DMC? With somewhat duplicated directory structures and identically named files with different sizes? How freakin dedicated I must be to keep trying not to lose interest?

What a pity. The language sounds like dream come true but I just can't see how can it be useful because, as it seems, D+libraries package I've been looking for apparently is spread across bizillion obscure zip files hosted by bizillion little websites and only a handful of people know how to put this mess together and they're too smart and too busy to waste their time to put that collective wisdom in a document.

When they do, I will promise to contribute and create a web site promoting D which is actually normal and I will have an installer (or even a single ZIP file) for Windows that allows newcomers to play with a goddamn thing.
Back to top
View user's profile Send private message
zeka



Joined: 23 Mar 2007
Posts: 6

PostPosted: Sat Mar 24, 2007 12:17 am    Post subject: Reply with quote

Even this forum is a joke. Why its creators and maintainers are so paranoid that they require stupid accounts? Will anonymous guests hurt anybody? Do you REALLY have so much traffic that you should be worried about bots posting porn links?

And even when you do try to open an account (most people simply leave and never try to learn D again) you slap visitors in the face by that ridiculous sign up form with apple images and capchas.

Are you really that popular to afford scaring few precious visitors away? How old are you folks?
Back to top
View user's profile Send private message
miasma



Joined: 08 Feb 2007
Posts: 13

PostPosted: Sat Mar 24, 2007 7:56 am    Post subject: Re: This sucks Reply with quote

zeka wrote:
I have never seen such unfriendly environment like everything that surrounds D. I had no issues picking up Ruby or Python and other languages/libs in the past. Using primarily online forums and short docs. Online communities are usually friendly and often demonstrate some sort of collective will to BE HELPFUL.


That's sad to hear. We have quite limited resources currently (many are tied up in projects that can be found e.g. here). If you have had problems with the official installation guide and are using Windows, you might want to try another one.

I have written an alternative guide that is easy to follow. It includes prepackaged support for Tango (alternative standard library), Derelict (SDL, OpenGL, etc.), DDBI (database access) and Flectioned (reflection support). The guide can be found here. I'll update it more or less regularly, usually once every week or two. It's using the svn version of Tango, but should work. It's also possible to update it manually if I don't have a new version ready.

zeka wrote:
I have been trying to get GTK+ (for D) installed and compiled on my box and do my "hello world" in it for a whole freaking evening. The damn thing does not even have a name that everybody agrees on. Is it GTKD? Or UID? How many ZIP files with cryptic names I have to download and unzip to compile and run? And WHERE should I unzip them?


Yes, there are several (maybe even too many) GUI projects to choose from. I'm not sure which one is the best atm. Maybe Tioport, DFL or Harmonia?

http://dsource.org/projects/tioport
http://www.dprogramming.com/dfl.php
http://harmonia.terrainformatica.com/

zeka wrote:
Some guys tried to provide "tutorials" that are usually like... 4 (four!) lines big. Try following your tutorials on a clean XP box, dudes. I do realize that most of us are programmers, not documentation people, but I am not surprised that D is not picking up: apparently it is impossible to have 100MB archive that can be unzipped into D:\ and everything runs from there.


D is currently a fast moving target. There has been a lot of progress in metaprogramming capabilities lately and some other bigger changes. Also Tango was released a little while ago. I suppose the situation will stabilize after a while.

zeka wrote:
D+libraries package I've been looking for apparently is spread across bizillion obscure zip files hosted by bizillion little websites and only a handful of people know how to put this mess together and they're too smart and too busy to waste their time to put that collective wisdom in a document.


The Digital Mars compilers' license doesn't allow redistribution. Most of the other projects don't have that strict restrictions, but it takes a lot of work to keep those all in sync.

zeka wrote:
When they do, I will promise to contribute and create a web site promoting D which is actually normal and I will have an installer (or even a single ZIP file) for Windows that allows newcomers to play with a goddamn thing.


Great to hear. You might want to use GDC instead of DMD in the installer because of the license issues I explained above. I hope you find D useful. Smile
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Sat Mar 24, 2007 8:02 am    Post subject: Reply with quote

http://www.d-riven.com/ might help you too. Getting yourself set-up with D is the hardest part, but once you know that, it's easy.
Back to top
View user's profile Send private message AIM Address
Auria



Joined: 29 May 2006
Posts: 44

PostPosted: Sat Mar 24, 2007 8:36 am    Post subject: Reply with quote

Hi,

your exeprience is understandable, but you have to understand D is much younger than Ruby and Python, and this GTK binding is still Alpha i think.

If you use alpha stuff you need to expect everything won't be smooth

I think D is a really great language, but it needs a bit more time.

The language has gone 1.0 not so long ago. Now that the language is stabilized, it's the turn of lib and IDE makers.

After then will D be easy to use for everyone

Quote:
Will anonymous guests hurt anybody?

Ever heard of spam? Wake up, 90% of the forums i go to require registration.
Back to top
View user's profile Send private message
Ant



Joined: 06 Mar 2004
Posts: 306
Location: Canada

PostPosted: Sat Mar 24, 2007 10:46 am    Post subject: Re: This sucks Reply with quote

zeka wrote:
I have never seen such unfriendly environment like everything that surrounds D. ...

I'm sorry you don't find my efforts useful.

here is an bit of the license:

"
NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM
"

I released my work in the hope it would be useful for someone
and that someone would help to complete it.
I'm sorry you don't fall into any of those categories.
This project (and a couple more) is also my contribution to D.
I have no control over other projects related to D.

Please visit again sometime in the future as the project might evolve.

Ant

PS please accept also my apologies on my poor English.
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Sat Mar 24, 2007 10:07 pm    Post subject: Reply with quote

zeka wrote:
Even this forum is a joke. Why its creators and maintainers are so paranoid that they require stupid accounts? Will anonymous guests hurt anybody? Do you REALLY have so much traffic that you should be worried about bots posting porn links?
I think the registration is required because it reduced the spam. The moderators are all volunteers and no one enjoys spending there free time deleting spam. These forums aren't all that active, but I think that's because the newsgroups are so popular.

If it were that much trouble to create an account for the forums, perhaps you should have posted in a newsgroup instead.
Back to top
View user's profile Send private message AIM Address
zeka



Joined: 23 Mar 2007
Posts: 6

PostPosted: Tue Mar 27, 2007 1:16 am    Post subject: Reply with quote

Thank you for all your replies. Also I must apologize for somewhat harsh post, it was one of those evenings we all sometimes have.
Back to top
View user's profile Send private message
zeka



Joined: 23 Mar 2007
Posts: 6

PostPosted: Tue Mar 27, 2007 4:06 pm    Post subject: Re: This sucks Reply with quote

demise wrote:

I have written an alternative guide that is easy to follow. It includes prepackaged support for Tango (alternative standard library), Derelict (SDL, OpenGL, etc.), DDBI (database access) and Flectioned (reflection support). The guide can be found here. I'll update it more or less regularly, usually once every week or two. It's using the svn version of Tango, but should work. It's also possible to update it manually if I don't have a new version ready.


Demise,

I was able to complete only 3 first steps, i.e. download and unzip dmd.zip, dmc.zip and bup.zip. The 4th link (utils1968.rar.md5sum) was kind of pointless. Why would I need that md5 hash for?

So I looked at the source of your HTML page and pulled the HTTP directory manually (http://users.utu.fi/jmjmak/stuff/d/). Went there and found utils1940.rar. Downloaded and unzipped it into c:\d directory.

However... that still did not get me c:\d\utils folder that your instructions suggest I should have by now.

When I try to compile your "hello world" program I get "Console cannot read file tango\io\console.d"

At this point I realize that I should go and find and download Tango, modify my sc.ini and possibly do some additional steps (I will make it work, eventually) but I think it demonstrates the overall high cost of entry. I have about 10 years of C++ under my belt and eventually I will get it to work, but someone coming from java/ruby/python or simply a college kid WILL GIVE UP... Well, most of those folks.
Back to top
View user's profile Send private message
zeka



Joined: 23 Mar 2007
Posts: 6

PostPosted: Tue Mar 27, 2007 4:14 pm    Post subject: Reply with quote

May I ask why dmd.zip and dmc.zip are well... why are there two of them? With overlapping directory structures and file names?

How come run.bat in dmd\samples\d does not work? It uses unix notation for paths, without the drive letter required by windows. How was that supposed to work?

Which editor/IDE do you guys use that can debug? All I need is some basic breakpoint support with "watch" and "stack" windows.

I am coming from many years of C++/Win32 development and some Linux/Python/Ruby scripting.

Thank you.
Back to top
View user's profile Send private message
zeka



Joined: 23 Mar 2007
Posts: 6

PostPosted: Tue Mar 27, 2007 4:17 pm    Post subject: Reply with quote

Also DMD is trying to use microsoft linker (link.exe) that I do not have. Do I have to use it? DMD does not have its own?
Back to top
View user's profile Send private message
csauls



Joined: 27 Mar 2004
Posts: 278

PostPosted: Tue Mar 27, 2007 4:22 pm    Post subject: Reply with quote

dmd.zip and dmc.zip are two seperate files because they are two seperate things. Also, generally when updating the compiler you only need dmd.zip -- the other one rarely changes. The D compiler shares the DigitalMars C++ compiler's back-end and utilities, and these are in the dmc.zip.


The "link.exe" it is using is OptLink from "(install-dir)\dm\bin" and included in the dmc.zip contents.
_________________
Chris Nicholson-Sauls
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
miasma



Joined: 08 Feb 2007
Posts: 13

PostPosted: Fri Mar 30, 2007 6:51 am    Post subject: Re: This sucks Reply with quote

zeka wrote:

I was able to complete only 3 first steps, i.e. download and unzip dmd.zip, dmc.zip and bup.zip. The 4th link (utils1968.rar.md5sum) was kind of pointless. Why would I need that md5 hash for?


It's several megabytes large and one fellow had problems using it. It revealed later that the problem was a corrupted download. The md5sum might help then.

I should mention this is a very unofficial way of installing D on Windows. I only use Windows to compile win32 binaries for my programs and test them, but this has worked for me and many others and I regularly fix things if something breaks.

There must have been some bug in the php script or an update underway. It should point to the .rar directly, not to the .md5sum.

Quote:
However... that still did not get me c:\d\utils folder that your instructions suggest I should have by now.


You probably have had some problems unpacking that .rar.

Quote:
When I try to compile your "hello world" program I get "Console cannot read file tango\io\console.d"


Yeah, seems like the .rar has not been unpacked successfully.
Back to top
View user's profile Send private message
miasma



Joined: 08 Feb 2007
Posts: 13

PostPosted: Fri Mar 30, 2007 6:55 am    Post subject: Reply with quote

csauls wrote:
dmd.zip and dmc.zip are two seperate files because they are two seperate things. Also, generally when updating the compiler you only need dmd.zip -- the other one rarely changes. The D compiler shares the DigitalMars C++ compiler's back-end and utilities, and these are in the dmc.zip.


Actually some of the files are in both packages (like lib.exe, make.exe and snn.lib). I really have no idea why.
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Fri Mar 30, 2007 7:58 am    Post subject: Reply with quote

When the same file appears in both packages, I always use the newer one (which is usually in the DMD package). I think that's the recommended practice.

Some tools and libraries are used by both DMC and DMD. When Walter improves a shared tool, he tends to just include the improved version in the package that needs it first.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group