On Tue, 08 Jun 2010 22:22:50 +0200, Matthias Pleh wrote:
It seems, variant b) is the winner.
I've updated to b) with the font and font-size form c) and some minor
changes.
I hope you love it.
Enoy
greets
Matthias
Looks good. :) Thanks for taking the time to do it!
-Lars
Looks good. :) Thanks for taking the time to do it!
-Lars
Thanks! :)
In the most discussions I had with my coworkers, has been been
mentioned, that a community, which even not have a beautiful wiki
(besides other issues), can't be a serious project. So I decided to
improve this. I
On Wed, 19 May 2010 21:48:48 -0700, Phil Deets pjdee...@gmail.com wrote:
On Wed, 19 May 2010 22:28:26 -0600, Phil Deets pjdee...@gmail.com
wrote:
On Wed, 19 May 2010 18:31:53 -0600, Walter Bright
newshou...@digitalmars.com wrote:
Title: The Anatomy of Message Passing
Speaker: Bartosz
Nick Sabalausky wrote:
Stewart Gordon smjg_1...@yahoo.com wrote in message
news:huj8co$od...@digitalmars.com...
Taken the words out of my mouth there. I once came across this:
http://www.wiltshirefarmfoods.com/accessibility.asp
Wiltshire Farm Foods has worked hard to make this site as
On Jun 9, 10 06:44, Nick Sabalausky wrote:
KennyTM~kenn...@gmail.com wrote in message
news:hume1m$310...@digitalmars.com...
(There's no need to modify ddoc, just add a Javascript on the page is
enough.)
Ugh, oh dear God, no!
Hehe. Since DDoc is bound to the spec is D2 is feature-frozen,
Wed, 09 Jun 2010 01:13:43 -0400, Nick Sabalausky wrote:
retard r...@tard.com.invalid wrote in message
news:hun6ok$13s...@digitalmars.com...
Tue, 08 Jun 2010 16:14:51 -0500, Andrei Alexandrescu wrote:
On 06/08/2010 04:05 PM, Walter Bright wrote:
Andrei Alexandrescu wrote:
On 06/08/2010
retard r...@tard.com.invalid wrote in message
news:hunc9t$1c9...@digitalmars.com...
Wed, 09 Jun 2010 01:13:43 -0400, Nick Sabalausky wrote:
retard r...@tard.com.invalid wrote in message
news:hun6ok$13s...@digitalmars.com...
Tue, 08 Jun 2010 16:14:51 -0500, Andrei Alexandrescu wrote:
On
Nick Sabalausky wrote:
Thanks all for the helpful responses. Since we seem to have some real
Unicode-knowledge people here, I'd like to repost a question I had asked
elsewhere awhile back, but didn't get an answer:
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote:
Instead of assuming that I'm simultaneously retard(ed) and stubborn
I'm sorry, that was not my intention.
I wrote BinaryHeap out of necessity. The necessity was to solve the
selection problem (see topN, topNIndex in std.algorithm)
Nick Sabalausky a...@a.a wrote:
He's being a smart-ass and making implementations of max() that are worse
than O(n) :)
Well, I tried. Second try I was apparently too drunk to write bad code.
--
Simen
Pelle pelle.mans...@gmail.com wrote:
On 06/08/2010 08:20 PM, Ruslan Nikolaev wrote:
No. New messages are definitely not created by me. You can verify it
here:
http://blog.gmane.org/gmane.comp.lang.d.general
You can easily see that in none of the top posts (except for the first
one) my
On 06/09/2010 01:04 AM, Leandro Lucarella wrote:
Bane, el 8 de junio a las 14:42 me escribiste:
Is a trade-off. When you don't handle the errors, exceptions might be
a win, but when you do handle them, I'm not so sure. And again, I'm not
saying I particularly like one more than the other, I
On Wed, 09 Jun 2010 07:22:17 -0400, Simen kjaeraas
simen.kja...@gmail.com wrote:
Pelle pelle.mans...@gmail.com wrote:
On 06/08/2010 08:20 PM, Ruslan Nikolaev wrote:
No. New messages are definitely not created by me. You can verify it
here:
http://blog.gmane.org/gmane.comp.lang.d.general
On 2010-06-08 17:41:22 -0400, Simen kjaeraas simen.kja...@gmail.com said:
Now, my favorite way of dealing with this: Where would I look for a
binary heap if I wanted one? I would think of it as a container, and thus
check std.container. If it was not there, I would use the search function
to
retard wrote:
Tue, 08 Jun 2010 19:43:26 +0800, KennyTM~ wrote:
On Jun 8, 10 15:55, retard wrote:
Mon, 07 Jun 2010 18:16:15 -0400, Nick Sabalausky wrote:
Nick Sabalauskya...@a.a wrote in message
news:hujd9m$11o...@digitalmars.com...
Nick Sabalauskya...@a.a wrote in message
bearophile wrote:
Michel Fortin:
But if one of your function has an 'out' parameter, it's impossible to
implement the strong guarantee, as illustrated by this trivial example:
void testOut(out int a) {
throw new Exception(hello!);
}
void main() {
On 06/09/2010 01:28 AM, retard wrote:
Wed, 09 Jun 2010 01:13:43 -0400, Nick Sabalausky wrote:
retardr...@tard.com.invalid wrote in message
news:hun6ok$13s...@digitalmars.com...
Tue, 08 Jun 2010 16:14:51 -0500, Andrei Alexandrescu wrote:
On 06/08/2010 04:05 PM, Walter Bright wrote:
Andrei
On 06/09/2010 06:28 AM, Pelle wrote:
On 06/09/2010 01:04 AM, Leandro Lucarella wrote:
Bane, el 8 de junio a las 14:42 me escribiste:
Is a trade-off. When you don't handle the errors, exceptions might be
a win, but when you do handle them, I'm not so sure. And again, I'm
not
saying I
On 06/09/2010 07:57 AM, Michel Fortin wrote:
On 2010-06-08 17:41:22 -0400, Simen kjaeraas simen.kja...@gmail.com
said:
Now, my favorite way of dealing with this: Where would I look for a
binary heap if I wanted one? I would think of it as a container, and thus
check std.container. If it was
On 06/09/2010 06:20 AM, Simen kjaeraas wrote:
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote:
It's a good point. I agree it would make sense to define a binary heap
container in addition to a binary heap range. I'm only weary that they
don't have very clean means to reuse code, so
Pelle, el 9 de junio a las 13:28 me escribiste:
Yes, I agree that safety is the best argument in favour of exceptions
(as explicitness is the best argument in favour of no-exceptions). The
Python Zen put it this way:
Errors should never pass silently.
Unless explicitly silenced.
That's
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote:
The problem is that operating on a range as a heap is not just one
operation (i.e. heapify), it's a handful of them. STL took the approach
of providing make_heap, push_heap, pop_heap, sort_heap, and is_heap.
Their use is quite
On 06/09/2010 10:13 AM, Simen kjaeraas wrote:
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote:
The problem is that operating on a range as a heap is not just one
operation (i.e. heapify), it's a handful of them. STL took the
approach of providing make_heap, push_heap, pop_heap,
Andrei Alexandrescu wrote:
On 06/09/2010 07:57 AM, Michel Fortin wrote:
On 2010-06-08 17:41:22 -0400, Simen kjaeraas simen.kja...@gmail.com
said:
Now, my favorite way of dealing with this: Where would I look for a
binary heap if I wanted one? I would think of it as a container, and
thus
Leandro Lucarella, el 9 de junio a las 11:37 me escribiste:
Pelle, el 9 de junio a las 13:28 me escribiste:
Yes, I agree that safety is the best argument in favour of exceptions
(as explicitness is the best argument in favour of no-exceptions). The
Python Zen put it this way:
Errors
Andrei Alexandrescu, el 9 de junio a las 09:52 me escribiste:
That's what I like the most about exceptions. I think try/catch is
really ugly though. There has to be something better.
Careful use of scope(exit) and simply avoiding catching exceptions works
well for me. Except when you have
On 06/09/2010 11:14 AM, Leandro Lucarella wrote:
Andrei Alexandrescu, el 9 de junio a las 09:52 me escribiste:
That's what I like the most about exceptions. I think try/catch is
really ugly though. There has to be something better.
Careful use of scope(exit) and simply avoiding catching
Justin Johansson n...@spam.com wrote in message
news:huo7rk$9a...@digitalmars.com...
I re-read that recent post of yours in the context of this new post and I
must say that I agree with you. The ability to return mutiple return
values, as a tuple of sorts, is a good idea. Short of this a
Walter Bright wrote:
Andrei Alexandrescu wrote:
On 06/08/2010 01:27 PM, Jérôme M. Berger wrote:
Please define reasonable performance...
Within 15% of hand-optimized code specialized for the types at hand.
I would have said O(n) or O(log n), as opposed to, say, O(n*n).
Well,
Andrei Alexandrescu Wrote:
On 06/09/2010 06:28 AM, Pelle wrote:
On 06/09/2010 01:04 AM, Leandro Lucarella wrote:
Bane, el 8 de junio a las 14:42 me escribiste:
Is a trade-off. When you don't handle the errors, exceptions might be
a win, but when you do handle them, I'm not so sure. And
I have tried to implement the rosettacode Hamming Numbers Task:
http://rosettacode.org/wiki/Hamming_numbers
I have tried to translate the Python version (but the best version is the
Haskell one). I have tried to perform this translation time ago, and it was too
much early for Phobos2. Now I
On 2010-06-09 11:37:38 -0400, Don nos...@nospam.com said:
Andrei Alexandrescu wrote:
On 06/09/2010 07:57 AM, Michel Fortin wrote:
On 2010-06-08 17:41:22 -0400, Simen kjaeraas simen.kja...@gmail.com
said:
Now, my favorite way of dealing with this: Where would I look for a
binary heap if I
On Wed, Jun 9, 2010 at 03:12, Nick Sabalausky a...@a.a wrote:
http://www.dsource.org/projects/dranges/browser/downloads/Phobos_graph.pdf
(thanks graphviz)
For those interested, the result is there:
Heh, that looks like some of my breadboard projects ;)
Yeah, it's a bit hairy
Andrei Alexandrescu wrote:
On 06/09/2010 07:57 AM, Michel Fortin wrote:
On 2010-06-08 17:41:22 -0400, Simen kjaeraas simen.kja...@gmail.com
said:
Now, my favorite way of dealing with this: Where would I look for a
binary heap if I wanted one? I would think of it as a container, and
thus
On 06/09/2010 02:48 PM, Walter Bright wrote:
Andrei Alexandrescu wrote:
On 06/09/2010 07:57 AM, Michel Fortin wrote:
On 2010-06-08 17:41:22 -0400, Simen kjaeraas simen.kja...@gmail.com
said:
Now, my favorite way of dealing with this: Where would I look for a
binary heap if I wanted one? I
Andrei Alexandrescu wrote:
I wanted to do that but with the singular:
public import std.container.binaryheap;
So if someone imports std.container then they get them all, if someone
imports std.container.something then they only get something.
Having a module and a package with the same name
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote:
Having a module and a package with the same name does not currently
work, and I don't think there's a good rationale for that limitation.
//
module a;
public import a.b;
struct b {
static int c;
}
//
Michel Fortin wrote:
Personally I'd draw the line like this: a module should contain
functions and types which are either tied in their implementation or
which their use are correlated (if you use this thing you'll likely
need this other one).
For instance, a tree set and a tree map are
Leandro Lucarella llu...@gmail.com wrote in message
news:20100609162223.gc16...@burns.springfield.home...
BTW, here is a PhD thesis with a case against exceptions. I didn't read
it (just have a peek) and it's rather old (1982), so it might be not
that interesting, but I thought posting it
Simen kjaeraas simen.kja...@gmail.com wrote in message
news:op.vd05x514vxi...@biotronic-pc.lan...
...I was apparently too drunk to write bad code.
That's officially my favorite sentence of the day :)
Andrei Alexandrescu, el 9 de junio a las 14:59 me escribiste:
On 06/09/2010 02:48 PM, Walter Bright wrote:
Andrei Alexandrescu wrote:
On 06/09/2010 07:57 AM, Michel Fortin wrote:
On 2010-06-08 17:41:22 -0400, Simen kjaeraas simen.kja...@gmail.com
said:
Now, my favorite way of dealing with
Philippe Sigaud philippe.sig...@gmail.com wrote in message
news:mailman.140.1276112857.24349.digitalmar...@puremagic.com...
On Wed, Jun 9, 2010 at 03:12, Nick Sabalausky a...@a.a wrote:
http://www.dsource.org/projects/dranges/browser/downloads/Phobos_graph.pdf
(thanks graphviz)
For
On 2010-06-09 15:44:48 -0400, Andrei Alexandrescu
seewebsiteforem...@erdani.org said:
On 06/09/2010 02:34 PM, Michel Fortin wrote:
Beside the size of the module, there is also the issue of namespace
pollution. If you import std.container and you end up with a dozen of
different containers
It's worse in the UK:
Not yet dispatched
Dispatch Estimate: 28 July 2010 - 29 July 2010
Delivery Estimate: 3 Aug 2010 - 6 Aug 2010
~ Filip
[Bugs (ie, cases where the program deviates from its specification)] should
be corrected before the program is delivered, not handled while it is being
run.
HA HA HA HA HA!!! (/Wipes tear/) AHH HA HA HA HA HA
Translation: He seems to be living in lala-bizarro-land where the
C++ Static Analysis as done on the large Mozilla codebase:
http://blog.ezyang.com/2010/06/static-analysis-mozilla/
It shows that it's important to have a more powerful static reflection in D. It
works well with scoped user-defined attributes too.
Bye,
bearophile
On 2010-06-09 20:41:48 -0400, Andrei Alexandrescu
seewebsiteforem...@erdani.org said:
(b) Promote a change in the compiler to convert immutable(T[]) to
immutable(T)[] when passed by value into a function. This is safe and
sensible.
This looks good to me.
Although I wonder what happens if
Hello Andrei,
(b) Promote a change in the compiler to convert immutable(T[]) to
immutable(T)[] when passed by value into a function. This is safe and
sensible.
What say you?
b.vote++
Making that an implicit conversion on any copy should be safe. But would
it have any side effects?
Also,
On Tue, 08 Jun 2010 17:25:43 -0400, Larry Luther larry.lut...@dolby.com
wrote:
This code:
import std.stdio;
class A {
void get (T:ubyte)(T[] buffer) {
writefln( get (T:ubyte)(T[] buffer)\n);
}
void get (T:byte)(T[] buffer) {
writefln( get (T:byte)(T[] buffer)\n);
}
On Tue, 08 Jun 2010 17:25:43 -0400, Larry Luther larry.lut...@dolby.com
wrote:
This code:
import std.stdio;
class A {
void get (T:ubyte)(T[] buffer) {
writefln( get (T:ubyte)(T[] buffer)\n);
}
void get (T:byte)(T[] buffer) {
writefln( get (T:byte)(T[] buffer)\n);
}
Steven Schveighoffer:
I know this is planned, because it's in TDPL. BTW, are there any bug
reports for this?
Please write one, overloading of functions with templates is an important and
basic thing.
Bye,
bearophile
Hi, I have (sort of) 2 questions:
Background:
I was doing some coding using Phobos, and recently switched to using Tango.
1. I'm trying to build using dsss and it says :
/usr/bin/ld: cannot find -lphobos
collect2: ld returned 1 exit status
--- errorlevel 1
Command /usr/bin/rebuild returned with
On 2010-06-09 21:16, Fred Burton wrote:
Hi, I have (sort of) 2 questions:
Background:
I was doing some coding using Phobos, and recently switched to using Tango.
1. I'm trying to build using dsss and it says :
/usr/bin/ld: cannot find -lphobos
collect2: ld returned 1 exit status
--- errorlevel
I think that the GC doesn't give back memory to the system. It keeps it
for future use.
Ah, but I'm seeing the memory usage increasing over time still...
for a test run of some sort, my largest loss record is:
==3191== 16,240,909 bytes in 35,757 blocks are definitely lost in loss record
Please write one, overloading of functions with templates is an
important and basic thing.
http://d.puremagic.com/issues/show_bug.cgi?id=3941
http://d.puremagic.com/issues/show_bug.cgi?id=3398
--- Comment #3 from Don clugd...@yahoo.com.au 2010-06-09 00:31:56 PDT ---
PATCH: Currently, after processing every field, sc-offset gets changed, and
StructDeclaration::semantic() sets the offset back to zero if it was a union.
This patch moves
http://d.puremagic.com/issues/show_bug.cgi?id=3793
Clemens eriatark...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3966
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=4231
Don clugd...@yahoo.com.au changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
---
http://d.puremagic.com/issues/show_bug.cgi?id=4073
Don clugd...@yahoo.com.au changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
---
http://d.puremagic.com/issues/show_bug.cgi?id=4073
Masahiro Nakagawa repeate...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=4189
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3658
Don clugd...@yahoo.com.au changed:
What|Removed |Added
CC||pillsbury+db...@gmail.com
http://d.puremagic.com/issues/show_bug.cgi?id=3658
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=4073
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3996
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Keywords||ice-on-valid-code
http://d.puremagic.com/issues/show_bug.cgi?id=4296
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3398
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=4231
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3662
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=4270
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3996
Don clugd...@yahoo.com.au changed:
What|Removed |Added
Severity|major |regression
--
Configure
72 matches
Mail list logo