Re: Go vs. D [was Re: Rust vs Dlang]

2013-09-01 Thread jokster

On Monday, 18 March 2013 at 19:05:09 UTC, Walter Bright wrote:

On 3/18/2013 3:25 AM, bearophile wrote:

Walter Bright:

That's just not an issue when you have 64 bits of address 
space. You can still

have 4 billion stacks of 4 billion bytes each.


At this point I suggest you to study exactly why Rust 
developers have decided to

use a segmented stack. It seems to work well for them.


If you know a reason, please post one.


I believe the Rust developers are also targeting embedded systems 
that may not have 64-bit virtual address spaces.  Hence the 
spaghetti stacks.


DCD: Autocomplete without the IDE

2013-09-01 Thread Brian Schott

* What is it?
DCD is a client and server program that work together to provide 
autocomplete suggestions and function call tips to almost any 
text editor that supports scripting or plugins.


* Who is it for?
People who would like autocomplete, but don't want to give up 
their favorite editor for an IDE.


* Where is it?
GitHub! https://github.com/Hackerpilot/DCD

* What does it look like?
There's a short demo video on Youtube: 
http://www.youtube.com/watch?v=Vo2POmn2_9U


* What editors does it work with?
Textadept, Kate/KDevelop, Vim, and Emacs. The Textadept 
integration script is the reference implementation.


* This sounds a lot like GoCode
It does, doesn't it?

* Does it work?
Yes and no. DCD is fairly new, and not all of the features you'd 
expect from a D autocompletion engine are present. I do feel that 
it's enough of an improvement over not having autocomplete to 
make this alpha announcement.


* Should I file bug reports in this announcement thread?
No. Add them here: 
https://github.com/Hackerpilot/DCD/issues?state=open


Re: DCD: Autocomplete without the IDE

2013-09-01 Thread ilya-stromberg

On Sunday, 1 September 2013 at 10:58:28 UTC, Brian Schott wrote:

* What is it?
DCD is a client and server program that work together to 
provide autocomplete suggestions and function call tips to 
almost any text editor that supports scripting or plugins.


Do you have any plans to support go to definition function? 
It's really useful in real life.


Re: DCD: Autocomplete without the IDE

2013-09-01 Thread Brian Schott

On Sunday, 1 September 2013 at 13:57:58 UTC, ilya-stromberg wrote:
Do you have any plans to support go to definition function? 
It's really useful in real life.


Yes. I just filed it as issue 26. 
https://github.com/Hackerpilot/DCD/issues/26


XML RPC Client and Server - meet xmlrpc-d

2013-09-01 Thread Pavel Kirienko

Hi everyone,

I am working on some D-based project that needs to call and serve 
XML-RPC procedures with multiple output parameters. Quick 
lookaround revealed that:

1. There are no XML-RPC servers implemented in D, or wrapped in D;
2. There are some simple XML-RPC clients, but no one supports 
methods with multiple output parameters.


So I decided to write ultimate XML-RPC library that could follow 
XML-RPC standard as close as ... well, as I could manage it. :)


Grab your copy here: https://github.com/pavel-kirienko/xmlrpc-d

D's compile-time introspection is utterly amazing, it enables 
such features as automatic conversion of a value which type is 
not known at compile-time to something predefined. This makes 
possible to define XML-RPC methods in the simplest way possible 
(as regular functions), all the boring job of turning the 
function parameters into XML-RPC types and vice versa is carried 
out by compiler with the help of the Variant type:


--
real multiply(real a, real b) { return a * b; }
xmlrpcServer.addMethod!multiply();
--

Which also makes possble such weird things like that:

--
// multiply() expects two arguments of type 'real' and returns 
'real',

// but we call it with strings:
string ret = client.call!(multiply, string)(6, 9);
--

Take a look into the 'example' directory on the Github page to 
see more examples.


It is worth to mention that this is my first project in D - I was 
concurrently studying The D Programming Language by Andrei 
Alexandrescu (great book Andrei!), thus the code may need some 
review.



Good luck with your projects,
Pavel.


Last day! 30% OFF Rip Blu-ray to M2TS with original quality

2013-09-01 Thread HaileyLi

[b]Description[/b]: Are you annoying backup blu-ray main movie
with multiple software? Are you looking for an easy but effective
way to backup blu-ray main movie? Here you will find a
professional way to do it easily.

Because I have a lot of original DVD and Blu-Ray and I need to
transport to an external hard disk for backup and access from my
computer, iTunes and Smart TV

I wanna backup my Blu-ray without keeping the menu and
promotional clips etc. My preference for backup is only the Movie
or main feature, with all other content not copied

There are many demands about going to
[b][url=http://mediaconverting.blogspot.com/2013/08/quick-backup-blu-ray-to-m2ts-with-original-quality.html]backup
blu-ray main movie to M2TS file[/url][/b] with original quality
and no conversion[/b]. It is known that Blu-ray movies are
protected by copyright including AACS, BD+, region code, etc. So
we need a tool to remove these copyright protections and then
backup the m2ts files from original blu-ray. Moreover, one joint
m2ts file should be better for further playback, editing, sharing
or burning disc.

*
[url=http://best-tablet-converter.com/2012/10/23/top-5-best-blu-ray-ripper-review-2012/]Top
5 Best Blu-ray Ripper Review | 2013-2014[/url]

You may consider looking for several tools respectively to rip
Blu-ray, make full copy of Blu-ray and then merge m2ts files into
one. Do not be so complicated. There is a professional way to
[b]backup the intact Blu-ray main movie with amazing speed[/b].
Only one all-in-one program will help you to get everything done.
It is capable of saving a decrypted multi-track m2ts file without
encoding, which will completely keep the quality of original
blu-ray. ([I]Tested a 27GB Blu-ray disc, only 30 minutes to back
up the main movie on Windows 8.[/I])

Free download [b]Pavtube
[url=http://www.pavtube.com/blu-ray-ripper/]Blu-ray
Ripper[/url][/b] ([b]Blu-ray
[url=http://www.pavtube.com/blu-ray-ripper-mac/]Ripper for
Mac[/url][/b] is available for Mac users) to backup intact
blu-ray main movie and install it.

Great news for you now! If you purchase it before Aug.31, 2013,
you can get 30% off for it. Welcome to [b]Pavtube
[url=http://www.pavtube.com/2013-summer-sale.html]Summer Holiday
Sale[/url][/b] to get 30% discount and find more program with
incredible price. Pay attention to deadline and do not miss it.

[b]Key features of Blu-ray Ripper:[/b]
* Rip the latest blu-ray/DVD including 3D blu-ray
* Directly Copy blu-ray/DVD main movie with multiple audio and
subtitle streams
* Convert blu-ray/DVD to a variety of video formats
* Full Disc Copy blu-ray/DVD’s original file structure to BDMV
folder

[b]Guide of how to backup intact blu-ray main movie[/b]:

Step 1: Select blu-ray source.

When launch it, click Load files button on the top left, you will
get three options:

[b]Load the disc[/b]: Inserted discs are usually recognized and
listed automatically, just select the one you desired.

[b]Load from the folder[/b]: When you have copy the content of
disc to computer or hard device, use this option to select the
folder to import.

[b]Load ISO/IFO[/b]: If your blu-ray source is ISO file, use this
option to load.

[img]http://camcordervideoshare.com/wp-content/uploads/2013/08/Backup-blu-ray-main-movie-001.jpg[/img]

Once imported, you will get a list of titles on the source. The
main title with longest duration usually has been selected
automatically.

Step 2: Choose Directly Copy for output.

Firstly, go to select the location of output files. Simply click
Browse button and choose the destination folder.

Secondly, click Format menu you will find lots of format
options in the dropdown list. Here Directly Copy is the best
choice for you because it will copy the intact main movie without
any recoding. In this way, you will get a lossless m2ts file at
amazing conversion speed.

[img]http://camcordervideoshare.com/wp-content/uploads/2013/08/backup-blu-ray-main-movie-002.jpg[/img]

Note: Many other video formats are listed there. You can select
different output video formats according to your different
requirements. If you want to convert blu-ray to various formats
for smartphones or edit software, you are free to choose the one
you need.

Step 3: Backup lossless blu-ray main movie.

Now it is time to start conversion by clicking big Convert
button. Then click Open button you will find a quick way to
locate the generated files. Once completed, you can get one
lossless m2ts file with multiple streams from original blu-ray.

As the generated m2ts file is intact backup of blu-ray main
movie, so it will retain all the multiple audio and subtitle
tracks and it cannot be selected during conversion. If you want
to remove some undesired tracks, you can count to
[b][url=http://www.videohelp.com/tools?filesearch=tsMuxeR_1.10.6.zip]Free
tsMuxeR[/url][/b] for help.

[b]How to select multiple tracks in m2ts file (optional)[/b]:

After having downloaded it, unzip the tsMuxeR you will get the
command line version and 

Re: XML RPC Client and Server - meet xmlrpc-d

2013-09-01 Thread angel

Did you look at std.serialization (currently in the review queue)
? An RPC does need serialization.