Re: implementing --version?

2016-11-21 Thread Karabuta via Digitalmars-d-learn
On Monday, 21 November 2016 at 19:33:54 UTC, mab-on wrote: I would like to implement a "--version" switch for a command line application. Is there a clever way to do that without using the brain on every build? :) A dub-solution would be nice - but i didnt find it. There is a package in the

Re: [vibe.d] showing images

2016-10-26 Thread Karabuta via Digitalmars-d-learn
On Wednesday, 26 October 2016 at 12:42:09 UTC, Nicholas Wilson wrote: doctype html html body -foreach(s; images) // it doesn't seem to like #{s} or !{s} img(src=s) [...] Inherit from Web interface?

Re: getting started with web server - vibe.d dub giving link error

2016-10-25 Thread Karabuta via Digitalmars-d-learn
On Monday, 24 October 2016 at 04:46:34 UTC, aman wrote: On Sunday, 23 October 2016 at 19:23:04 UTC, Karabuta wrote: [...] Oh, I see. Actually it got installed auto-magically during dub installation I guess. Now I installed dmd with the script mention on the dlang download page. curl -fsS

Re: getting started with web server - vibe.d dub giving link error

2016-10-23 Thread Karabuta via Digitalmars-d-learn
On Sunday, 23 October 2016 at 14:53:48 UTC, aman wrote: On Saturday, 22 October 2016 at 17:23:58 UTC, Karabuta wrote: [...] This time i started out with a fresh Ubuntu server and followed instructions on the blog. Here's output. Please help:-

Re: getting started with web server - vibe.d dub giving link error

2016-10-22 Thread Karabuta via Digitalmars-d-learn
On Saturday, 22 October 2016 at 17:21:45 UTC, Karabuta wrote: On Saturday, 22 October 2016 at 14:50:14 UTC, aman wrote: I just started on vibe.d on fedora and the experience is not pretty getting hello-world running. Please help. Below are the details. [...] I wrote a blog post at

Re: getting started with web server - vibe.d dub giving link error

2016-10-22 Thread Karabuta via Digitalmars-d-learn
On Saturday, 22 October 2016 at 14:50:14 UTC, aman wrote: I just started on vibe.d on fedora and the experience is not pretty getting hello-world running. Please help. Below are the details. [...] I wrote a blog post at https://aberba.gtihub.io which has Fedora users covered. But somehow

Re: Render SVG To Display And Update Periodically

2016-10-18 Thread Karabuta via Digitalmars-d-learn
On Monday, 17 October 2016 at 07:18:40 UTC, ketmar wrote: On Monday, 17 October 2016 at 07:05:24 UTC, ketmar wrote: On Monday, 17 October 2016 at 02:07:47 UTC, rikki cattermole wrote: [...] 'cmon, you know that i have a working port of NanoSVG! and it works on top of NanoVG, so no toolkit

Re: Easy sockets - don't exist yet?

2016-10-08 Thread Karabuta via Digitalmars-d-learn
On Monday, 26 September 2016 at 23:40:10 UTC, Vincent wrote: Hello, guys! I was very surprised that module 'socketstream' was deprecated. Usually if something become obsolete, there is some perfect replacement! But my digging in Inet and forums gave nothing, but "outdated" examples with

Re: Using Libraries

2016-09-21 Thread Karabuta via Digitalmars-d-learn
On Wednesday, 21 September 2016 at 16:23:35 UTC, Darren wrote: Also I've been making a bit of a mess in dub apparently. I'm getting: Locally registered package gl3n ~master was not found. Please run "dub remove-local C:\Users\Darren\D stuff\opengl\lib". whenever dub gets used. Then if I

Re: Using Libraries

2016-09-20 Thread Karabuta via Digitalmars-d-learn
On Tuesday, 20 September 2016 at 15:38:55 UTC, Darren wrote: On Tuesday, 20 September 2016 at 15:07:53 UTC, rikki cattermole wrote: Ok lets start at the very beginning... I think I need to start before that, haha. I might need more of a step-by-step guide. I'm a complete beginner to

Re: What blogs about D do you read?

2016-09-19 Thread Karabuta via Digitalmars-d-learn
On Monday, 19 September 2016 at 19:29:25 UTC, A D dev wrote: On Monday, 19 September 2016 at 17:42:51 UTC, A D dev wrote: Hi list, What blogs about D do you read? To be more clear: - what blogs that include posts on D, would you recommend to a D beginner? Thanks. I have one here on

Hosting a vibe.d website

2016-08-24 Thread Karabuta via Digitalmars-d-learn
Hello community, I usually host PHP websites for clients using shared hosting services but I'm not familiar with hosting compiled programming language websites. What processes are involved hosting a vibe.d website developed locally on a web server (shared hosting plan). And what hosting

Re: Why D isn't the next "big thing" already

2016-07-29 Thread Karabuta via Digitalmars-d-learn
On Tuesday, 26 July 2016 at 15:11:00 UTC, llaine wrote: Hi guys, I'm using D since a few month now and I was wondering why people don't jump onto it that much and why it isn't the "big thing" already. Everybody is into javascript nowadays, but IMO even for doing web I found Vibe.d more

Re: Game Development Using D

2016-05-22 Thread Karabuta via Digitalmars-d-learn
On Saturday, 21 May 2016 at 15:53:18 UTC, David wrote: Hi, I want to try to create a game using D. I'm a complete newbie though (other than having C/C++ experience). Where would I start? Does D have an openGL binding? I am assuming I'll need to leverage a good amount C APIs? Any list of

Re: Where do I learn to use GtkD

2016-04-04 Thread Karabuta via Digitalmars-d-learn
On Monday, 14 March 2016 at 03:46:02 UTC, Gerald wrote: On Sunday, 13 March 2016 at 19:53:35 UTC, karabuta wrote: On Sunday, 13 March 2016 at 19:34:36 UTC, WebFreak001 wrote: and in the (not quite complete) documentation you can find widgets you might want to use. Its a great place for getting

Using ffmpeg in command line with D

2016-03-21 Thread Karabuta via Digitalmars-d-learn
Hi all, I'm trying to convert an array of video filenames to another format using spawnProcess() from std.process. I want to convert all files in sequence with the command "ffmpeg -i filename.mp4 -o outputfile.webm" where process will be run one process after the other. I am new to this

Re: Where do I learn to use GtkD

2016-03-13 Thread karabuta via Digitalmars-d-learn
On Sunday, 13 March 2016 at 19:34:36 UTC, WebFreak001 wrote: On Sunday, 13 March 2016 at 19:28:57 UTC, karabuta wrote: Any help on where I can get better leaning materials(GtkD)? Repo, blogs post, etc please there isn't much about GtkD specificly, but as a start there is this:

Where do I learn to use GtkD

2016-03-13 Thread karabuta via Digitalmars-d-learn
Gtk3 from python3 has got I nice book with examples that are not so advanced but enough to get you doing real work(from a beginner point of view). GtkD seem to have changed the API structure compared to python3 Gtk3 and the demo examples just "show-off" IMO :). The documentation is really^ not

Re: Where to go after "Programming in D"

2016-03-02 Thread karabuta via Digitalmars-d-learn
On Wednesday, 2 March 2016 at 01:14:15 UTC, tsbockman wrote: On Tuesday, 1 March 2016 at 17:21:16 UTC, David DeWitt wrote: On Tuesday, 1 March 2016 at 16:50:12 UTC, karabuta wrote: I am aiming to become a hardcore and better coder(quality code) than you :) Please suggest. I'd probably skim

Re: Where to go after "Programming in D"

2016-03-02 Thread karabuta via Digitalmars-d-learn
On Tuesday, 1 March 2016 at 17:53:27 UTC, David DeWitt wrote: On Tuesday, 1 March 2016 at 17:21:16 UTC, David DeWitt wrote: On Tuesday, 1 March 2016 at 16:50:12 UTC, karabuta wrote: I am almost done with the "programming in D" book. Where will you suggest a go from there. My current focus is

Where to go after "Programming in D"

2016-03-02 Thread karabuta via Digitalmars-d-learn
I am almost done with the "programming in D" book. Where will you suggest a go from there. My current focus is on network programming, database systems, data manipulation and software architectures for database related apps(mostly Linux platforms with D). I am aiming to become a hardcore and

Compiling DOtherSide

2015-11-02 Thread karabuta via Digitalmars-d-learn
Well, I use Ubuntu 14.04 and I have managed to get qt5.5 at my /opt/qt55 since the default(usr/lib) directory is occupied by qt4. Since DOtherSide looks for qt5 from usr/lib, how do I change it to now point to /opt/qt55? This is the setup in /opt/qt55 karabuta@mx:/opt/qt55$ ls bin

Re: tkd not linking

2015-09-21 Thread karabuta via Digitalmars-d-learn
On Tuesday, 15 September 2015 at 17:46:42 UTC, Adam D. Ruppe wrote: On Tuesday, 15 September 2015 at 17:37:40 UTC, karabuta wrote: Just incase, I have install version 8.6 of the Tcl/Tk libraries Did you get the development version? sudo apt-get install tk-dev or possibly sudo apt-get

tkd not linking

2015-09-15 Thread karabuta via Digitalmars-d-learn
I have tried several times to compile tkd using dub but I keep getting this message: Linking... /usr/bin/ld: cannot find -ltcl /usr/bin/ld: cannot find -ltk collect2: error: ld returned 1 exit status --- errorlevel 1 FAIL