"Adam D. Ruppe" wrote in message
news:inj0g1$1hgr$1...@digitalmars.com...
> Nick Sabalausky wrote:
>> Is [Empire] turn-based or realtime?
>
> Turn based.
>
> Here's the site: http://www.classicempire.com/
>
> I like the old version - the text mode graphics are nice.
>
> Don't blame me if it gets
On Wed, 06 Apr 2011 01:53:19 -0400, Robert Jacques wrote:
> The library should work with both and be efficient with both. i.e.
> detect at compile-time whether you have a string or an input range, and
> act accordingly.
I'm actually considering trying to benchmark my two implementations.
However
On Wed, 06 Apr 2011 07:35:19 +, David Wang wrote:
> please view:
>
> http://www.digitalmars.com/pnews/read.php?
> server=news.digitalmars.com&group=digitalmars.D&artnum=134026
The reason this is not getting a lot of attention is the same reason any
one GUI project isn't getting a lot of att
Hi David,
"David Wang" wrote in message
news:inh53n$10fn$1...@digitalmars.com...
> please view:
>
> http://www.digitalmars.com/pnews/read.php?
> server=news.digitalmars.com&group=digitalmars.D&artnum=134026
Do you do a lot of gtk GUI development? How do avoid the grind of
edit-compile-test?
Nick Sabalausky wrote:
> Is [Empire] turn-based or realtime?
Turn based.
Here's the site: http://www.classicempire.com/
I like the old version - the text mode graphics are nice.
Don't blame me if it gets you fired and divorced :) Easy to lose
track of time once you get into it!
"Adam D. Ruppe" wrote in message
news:inipn4$14rq$1...@digitalmars.com...
> Nick Sabalausky wrote:
>> I admit I've never actually played any version of Empire. But then
>> I've never really been particularly into resource-management
>> strategies (I *think* that's what Empire is...something simil
Am 07.04.2011 00:33, schrieb Adam D. Ruppe:
> Nick Sabalausky wrote:
>> I admit I've never actually played any version of Empire. But then
>> I've never really been particularly into resource-management
>> strategies (I *think* that's what Empire is...something similar to
>> Civilazation, right?)
>
OK, I've absorbed enough informtion to transform my thoughts in the
second proposal draft.
I'll be posting it direcltly to GSoC website and correct it, if necessary.
Proposal is situated here:
http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/neku42/1
Comments
are welcome.
Nick Sabalausky wrote:
> I admit I've never actually played any version of Empire. But then
> I've never really been particularly into resource-management
> strategies (I *think* that's what Empire is...something similar to
> Civilazation, right?)
I've never played Civilization! But, I wouldn't ca
On 07.04.2011 1:29, Adam D. Ruppe wrote:
Dmitry Olshansky wrote:
Mmm, am I the only one wondering where did you guys get SetPixel in
OpenGL ? It's must have been GDI.
Oops, looks like you're right. SetPixel is GDI, and it's pretty
slow too. Looking at my code, I used glBegin(GL_POINTS); glVert
On 4/6/11 3:21 PM, Mihir Patil wrote:
Hi,
I am Mihir. I am a Bachelors student of Computer Science. I am
interested in applying for the lexing and parsing project in D. I am
also interested in the garbage collection project. I am doing these
tasks as my term project this semester and would love i
"David Nadlinger" wrote in message
news:inijsn$m9r$1...@digitalmars.com...
> On 4/6/11 10:41 PM, Nick Sabalausky wrote:
>>> I don't think having fixed-size image will be a useful optimization,
>>> except perhaps if you manipulate a lot of tiny images of the same size.
>>>
>>
>> Manipulating image
"Adam D. Ruppe" wrote in message
news:inimg1$t0m$1...@digitalmars.com...
> Nick Sabalausky wrote:
>> And along the NES/SNES lines, I've always been a huge sucker for
>> DOS VGA/EGA gaming.
>
> Another great thing was all you could do with the text mode, like
> Walter's Empire DOS version.
>
I ad
Hi,
I am Mihir. I am a Bachelors student of Computer Science. I am
interested in applying for the lexing and parsing project in D. I am
also interested in the garbage collection project. I am doing these
tasks as my term project this semester and would love if I get this
opportunity.
There are no m
I'm snipping a bit since we're on the same page.
Nick Sabalausky wrote:
> Yea. I see. I wonder if OpenGL's SetPixel was inlined.
Note my mistake: SetPixel is GDI. I got it mixed up in my brain.
> Did you say this would ideally be something for Phobos?
Yes, I hope so. It'll be nice for D if new
"Dmitry Olshansky" wrote in message
news:inik5u$n13$1...@digitalmars.com...
>
> Mmm, am I the only one wondering where did you guys get SetPixel in OpenGL
> ? It's must have been GDI.
> At any rate OpenGL and DirectX is all about sending commands and data back
> and forth between CPU and vide
Dmitry Olshansky wrote:
> Mmm, am I the only one wondering where did you guys get SetPixel in
> OpenGL ? It's must have been GDI.
Oops, looks like you're right. SetPixel is GDI, and it's pretty
slow too. Looking at my code, I used glBegin(GL_POINTS); glVertex2f
[...] glEnd() as the opengl putpixe
Am 06.04.2011 22:50, schrieb David Nadlinger:
On 4/6/11 10:41 PM, Nick Sabalausky wrote:
I don't think having fixed-size image will be a useful optimization,
except perhaps if you manipulate a lot of tiny images of the same size.
Manipulating images in software involves accessing a *lot* of p
http://drdobbs.com/blogs/tools/229401068
Nice article, but after reading the title I was actually expecting an
article more about real user-defined literals (and its quirks as we
recently discussed in
http://www.digitalmars.com/d/archives/digitalmars/D/user_defined_literals_132779.html)
Th
On 07.04.2011 0:11, Nick Sabalausky wrote:
"Adam D. Ruppe" wrote in message
news:ini1jr$2lj3$1...@digitalmars.com...
Nick Sabalausky wrote:
Of course, if you see any fundamental
problems with this, feel free to let me know :)
I'm pretty sure your plan would work and would provide a boost,
but
On 4/6/11 10:41 PM, Nick Sabalausky wrote:
I don't think having fixed-size image will be a useful optimization,
except perhaps if you manipulate a lot of tiny images of the same size.
Manipulating images in software involves accessing a *lot* of pixels, so you
have a very big "inner loop" situ
> Could someone post this to reddit? Thanks.
Looks like someone already did:
http://www.reddit.com/r/programming/comments/gk5ou/userdefined_literals_in_the_d_programming_language/
"Michel Fortin" wrote in message
news:inhnnn$236n$1...@digitalmars.com...
>> Nick Sabalausky wrote:
>>> I haven't benchmarked or even tested this, and heck, maybe I'm just
>>> a dinosaur, but for better speed and flexibility I'd recommend
>>> something more like what I've attached.
>>
>> Yea, tha
On 2011-04-06 02:30:44 +0300, Torarin said:
2011/4/4 Max Klyga :
Thanks to everyone who provided feedback!
I'll post my proposal update tomorrow.
I'm looking forward to it too! I've done a fair amount of research on
these topics and given networking in D a lot of thought. I'd prefer
the st
"Nick Sabalausky" wrote in message
news:inihjp$hnp$1...@digitalmars.com...
> "Adam D. Ruppe" wrote in message
> news:ini1jr$2lj3$1...@digitalmars.com...
>>
>> Aye, even my homegrown DOS would always write them separately.
>> Horrible waste of instructions doing another y << 8 + y << 6 when
>> a
"Adam D. Ruppe" wrote in message
news:ini1jr$2lj3$1...@digitalmars.com...
> Nick Sabalausky wrote:
>> Of course, if you see any fundamental
>> problems with this, feel free to let me know :)
>
> I'm pretty sure your plan would work and would provide a boost,
> but I'm not sure if it's worth the e
http://drdobbs.com/blogs/tools/229401068
Could someone post this to reddit? Thanks.
Andrei
Am 06.04.2011, 20:40 Uhr, schrieb Simen kjaeraas :
Yup. In theory, any immutable Foo declared at module scope (and likely
also those at static class/struct scope) could be elided by the linker
if it not used anywhere, but Optlink does not do that.
Ok, I guess the hack works by replacing every o
"Lutger Blijdestijn" wrote in message
news:inhp3g$25jq$1...@digitalmars.com...
> Nick Sabalausky wrote:
>
>>
>> Ha! I may not need to do much after all: I was just looking through
>> Wikipedia's giant list of browsers, found a few that looked potentially
>> promising, tried them all and...well, w
On Wed, 06 Apr 2011 18:30:43 +0200, Trass3r wrote:
Am 06.04.2011, 17:27 Uhr, schrieb Don :
No. It's just a workaround for an optlink bug: manifest constants that
are never used, still get put into the executable.
What?
Yup. In theory, any immutable Foo declared at module scope (and likely
Great! It can be a good start for my Google Summer of Code Proposal
[ANTLR and Java based D parser for IDE usage].
I was looking for this code
Thank you
On 4/6/11, Ellery Newcomer wrote:
> On 03/29/2011 07:53 AM, Bruno Medeiros wrote:
>> On 28/03/2011 18:19, Luca Boasso wrote:
>>> You can find a
On 03/29/2011 07:53 AM, Bruno Medeiros wrote:
On 28/03/2011 18:19, Luca Boasso wrote:
You can find an ANTLR grammar for D v1 at
http://www.dsource.org/projects/antlrd/browser/toys/v3d/parsed.g (by
Ellery Newcomer)
I never should have uploaded that file.
Indeed, Ellery is (AFAIK) the only o
Am 06.04.2011 17:35, schrieb Michel Fortin:
On 2011-04-06 10:25:42 -0400, Matthias Pleh said:
Am 06.04.2011 14:49, schrieb Michel Fortin:
final class Bitmap(Color) : Image {
void opIndexAssign(int x, int y, Color color) {
pixels[y * width + x] = Color(color);
}
size_t width, height;
Color[]
Hello,
We have an XML library proposal. I know Tomek Sowinski was working on
such. What is the status? Does Tomek or someone else want to apply as a
mentor for this project?
Thanks,
Andrei
Am 06.04.2011, 17:27 Uhr, schrieb Don :
No. It's just a workaround for an optlink bug: manifest constants that
are never used, still get put into the executable.
What?
By default, you should use const, not enum. You should forget that enum
manifest constants even exist.
Don't you mean imm
On 2011-04-06 17:34, Matthias Pleh wrote:
Yes that's true. I don't know how much different it would be compared to
a non-native framework since there you have all the different themes to
maintain.
Maybe, the best aproach would be, when you implement the basic framework
flexible. E.g. a defa
Michel Fortin wrote:
> I played with it yesterday and never found why the blue channel
> didn't work!
Yeah, I noticed that too after posting it. Here's the problem:
this(int a, int b, int c) {
r = cast(ubyte) a;
g = cast(ubyte) b;
b = cast(ubyte) c;
}
Those quick one letter variable
On 04/04/2011 19:56, Andrei Alexandrescu wrote:
One thing that I find a bit odd is that Walter and I need to do most of
this all by ourselves, although there's significant pressure for us to
do many other things for D. For example, after having suggested that the
GTK+ news is shared on reddit and
On 2011-04-06 10:25:42 -0400, Matthias Pleh said:
Am 06.04.2011 14:49, schrieb Michel Fortin:
final class Bitmap(Color) : Image {
void opIndexAssign(int x, int y, Color color) {
pixels[y * width + x] = Color(color);
}
size_t width, height;
Nick Sabalausky wrote:
> Of course, if you see any fundamental
> problems with this, feel free to let me know :)
I'm pretty sure your plan would work and would provide a boost,
but I'm not sure if it's worth the extra time.
I think the best thing to do will be to partially implement it,
write a l
Yes that's true. I don't know how much different it would be compared to
a non-native framework since there you have all the different themes to
maintain.
Maybe, the best aproach would be, when you implement the basic framework
flexible. E.g. a default rendering engine, where you can
draw
Nick Sabalausky wrote:
"Rainer Schuetze" wrote in message
news:ind21j$1si5$1...@digitalmars.com...
Don wrote:
Jonathan M Davis wrote:
Enum values cannot be altered. It is an error to try and assign a value
to an enum. However, the value of an enum isn't really const or
immutable. It's copied
Stewart Gordon wrote:
On 04/04/2011 10:32, Don wrote:
Yes. The ONLY reason those manifest constants exist at all, is so that
they don't exist at
run time. They have no address. Any case where taking a reference to
them works, is a
compiler bug.
Eh what? In the case of simple value-type co
On 03/03/2011 16:29, Lars T. Kyllingstad wrote:
As mentioned in the "std.path.getName(): Screwy by design?" thread, I
started working on a rewrite of std.path a long time ago, but I got
sidetracked by other things. The recent discussion got me working on it
again, and it turned out there wasn't
On 2011-04-06 16:37, Matthias Pleh wrote:
Am 06.04.2011 15:21, schrieb Jacob Carlborg:
On 2011-04-06 13:38, Matthias Pleh wrote:
Am 06.04.2011 11:40, schrieb Nick Sabalausky:
"Matthias Pleh" wrote in message
news:inh91t$1854$1...@digitalmars.com...
Am 06.04.2011 09:00, schrieb Jacob Carlborg:
On 4/4/11 7:58 AM, Andrei Alexandrescu wrote:
There were also a number of bugs on www.d-programming-language.org,
which David Gileadi kindly took care of. Please take a look at
www.digitalmars.com and let me know if you find any issues. In
particular, we've discussed a while ago the new look and
Am 06.04.2011 15:21, schrieb Jacob Carlborg:
On 2011-04-06 13:38, Matthias Pleh wrote:
Am 06.04.2011 11:40, schrieb Nick Sabalausky:
"Matthias Pleh" wrote in message
news:inh91t$1854$1...@digitalmars.com...
Am 06.04.2011 09:00, schrieb Jacob Carlborg:
I think gtkD is out of the question sinc
Am 06.04.2011 14:49, schrieb Michel Fortin:
final class Bitmap(Color) : Image {
void opIndexAssign(int x, int y, Color color) {
pixels[y * width + x] = Color(color);
}
size_t width, height;
Color[] pixels;
}
Yep, exactly. I would impl
On 04/05/2011 06:39 PM, user@domain.invalid wrote:
On 4-4-2011 7:58, Andrei Alexandrescu wrote:
There were also a number of bugs on www.d-programming-language.org,
which David Gileadi kindly took care of. Please take a look at
www.digitalmars.com and let me know if you find any issues. In
partic
On 04/06/2011 02:06 AM, MIURA Masahiro wrote:
Looks clean and professional. I like it.
A typo: In Cheat Sheet / Iteration / group,
tuple(5, 1) is written twice.
Thanks! We got a fix already:
https://github.com/D-Programming-Language/phobos/pull/26
Andrei
On 2011-04-06 13:38, Matthias Pleh wrote:
Am 06.04.2011 11:40, schrieb Nick Sabalausky:
"Matthias Pleh" wrote in message
news:inh91t$1854$1...@digitalmars.com...
Am 06.04.2011 09:00, schrieb Jacob Carlborg:
I think gtkD is out of the question since it's not using native
controls. Don't know a
Nick Sabalausky wrote:
> "Andrej Mitrovic" wrote in message
> news:mailman.3178.1301970383.4748.digitalmar...@puremagic.com...
>> On 4/5/11, Nick Sabalausky wrote:
>>> After all, I
>>> *really* want to get around to making my own web browser (based off
>>> either
>>> Mozilla or Chromium) - I'm g
On 2011-04-06 07:38:30 -0400, Matthias Pleh said:
The problem with OSX is, as I know, that some controls not only look
different, but are also different arranged, and this make it more
difficult to emulate.
And it'll only become harder and harder. Have you seen in Mac OS X Lion
the new tab
On 2011-04-05 23:07:33 -0400, Adam D. Ruppe said:
Note: I just updated my simpledisplay.d. My color constructor
said b = c when I meant this.b = c... hence everything was yellow!
You can download again from the same place.
I played with it yesterday and never found why the blue channel didn't
Am 06.04.2011 11:40, schrieb Nick Sabalausky:
"Matthias Pleh" wrote in message
news:inh91t$1854$1...@digitalmars.com...
Am 06.04.2011 09:00, schrieb Jacob Carlborg:
I think gtkD is out of the question since it's not using native
controls. Don't know about QtD, if I recall correctly it, at lea
On 2011-04-06 10:39, Matthias Pleh wrote:
Am 06.04.2011 09:00, schrieb Jacob Carlborg:
I think gtkD is out of the question since it's not using native
controls. Don't know about QtD, if I recall correctly it, at least,
looks quite native. But I would guess it would too hard to find whole
int th
On 2011-04-06 11:50, Sam Hu wrote:
Jacob Carlborg Wrote:
On 2011-04-06 03:22, Sam Hu wrote:
Jacob Carlborg Wrote:
On 2011-04-05 05:54, Andrej Mitrovic wrote:
You have to be kidding me. Who writes code like this?
http://i.imgur.com/BBQde.png
Is that from a DWT snippet?
--
/Jacob Carlborg
Masahiro Nakagawa wrote:
>> [1] https://github.com/pszturmaj/ddb
>> http://pszturmaj.github.com/ddb/db.html
>>
>
> Hmm.. In what way is your new module different from DDBI?
> What's the new features?
I should state here that work on DDB is in progress, so it's subject to
change. However, notable
Jacob Carlborg Wrote:
> On 2011-04-06 03:22, Sam Hu wrote:
> > Jacob Carlborg Wrote:
> >
> >> On 2011-04-05 05:54, Andrej Mitrovic wrote:
> >>> You have to be kidding me. Who writes code like this?
> >>>
> >>> http://i.imgur.com/BBQde.png
> >>
> >> Is that from a DWT snippet?
> >>
> >> --
> >> /Ja
"Matthias Pleh" wrote in message
news:inh91t$1854$1...@digitalmars.com...
> Am 06.04.2011 09:00, schrieb Jacob Carlborg:
>>
>> I think gtkD is out of the question since it's not using native
>> controls. Don't know about QtD, if I recall correctly it, at least,
>> looks quite native. But I would
Am 06.04.2011 09:00, schrieb Jacob Carlborg:
I think gtkD is out of the question since it's not using native
controls. Don't know about QtD, if I recall correctly it, at least,
looks quite native. But I would guess it would too hard to find whole
int that, specially on Mac OS X.
Qt (and so Qt
=
Nick Sabalausky (a@a.a)
GTK+ apps are crap on Windows. And not real great on KDE either,
AIUI. It
only barely qualifies as "cross-platform".
=
Well, if that so, I think if someone want to build a 'real good'
GUI library which be good on Windows, KDE or other places will
need to
On 2011-04-06 09:35, Nick Sabalausky wrote:
"David Wang" wrote in message
news:inh3v8$u5q$1...@digitalmars.com...
Hi, all,
For the GUI library for D, Why don't consider the GTK+ 3.0?
GTK+ apps are crap on Windows. And not real great on KDE either, AIUI. It
only barely qualifies as "cross-p
Am 06.04.2011 09:32, schrieb David Wang:
===
BTW:
Would be good, if you also can keep our wiki for CodeBlocks up to
date.
http://prowiki.org/wiki4d/wiki.cgi?EditorSupport
http://prowiki.org/wiki4d/wiki.cgi?EditorSupport/CodeBlocks
===
Because I have a user ID in codebl
"David Wang" wrote in message
news:inh3v8$u5q$1...@digitalmars.com...
> Hi, all,
>
> For the GUI library for D, Why don't consider the GTK+ 3.0?
>
GTK+ apps are crap on Windows. And not real great on KDE either, AIUI. It
only barely qualifies as "cross-platform".
please view:
http://www.digitalmars.com/pnews/read.php?
server=news.digitalmars.com&group=digitalmars.D&artnum=134026
===
BTW:
Would be good, if you also can keep our wiki for CodeBlocks up to
date.
http://prowiki.org/wiki4d/wiki.cgi?EditorSupport
http://prowiki.org/wiki4d/wiki.cgi?EditorSupport/CodeBlocks
===
Because I have a user ID in codeblocks.forum, so I can add the
settings for D
"Adam D. Ruppe" wrote in message
news:ingldk$1r9$1...@digitalmars.com...
> Nick Sabalausky wrote:
>> The width is statically-known, so the compiler can optimize the
>> index calculation from multiplication to shifts when appropriate.
>
> One concern I have here is will it be an incompatible type
Am 06.04.2011 06:47, schrieb David Wang:
Dear all,
The CodeBlocks IDE supports DMD compiler and I've described the proper
settings for Codeblocks using in D Language.
Please visit the WiKi page here:
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler
BTW, the "Code Co
Hi, all,
For the GUI library for D, Why don't consider the GTK+ 3.0?
It is a very very good GUI library and has been formally released
(now version maybe is 3.0.7), and it introduced a "GObject
Introspection" which can widely enlarge the programming languages'
bundling using (of course includes D
On 2011-04-06 03:22, Sam Hu wrote:
Jacob Carlborg Wrote:
On 2011-04-05 05:54, Andrej Mitrovic wrote:
You have to be kidding me. Who writes code like this?
http://i.imgur.com/BBQde.png
Is that from a DWT snippet?
--
/Jacob Carlborg
Sorry for my stepping in...
@jacob:May I ask how to build
David Wang wrote:
==
My understanding is that Code::Blocks only supports code
completion for D because their fuzzy C++ parser can sometimes
parse D successfully, and that they don't plan to support D
directly. Has this changed?
==
Acturally everytime when CodeBlocks parse
On 2011-04-06 01:35, Andrej Mitrovic wrote:
Could you tell me what switches I need to build a simple example from scratch?
So far I know I probably need these:
libs dir: \dwt2\lib
libs dir: \dwt2\org.eclipse.swt.win32.win32.x86\lib
imports: \dwt2\base\src
imports: \dwt2\org.eclipse.swt.win32.win
Looks clean and professional. I like it.
A typo: In Cheat Sheet / Iteration / group,
tuple(5, 1) is written twice.
On 2011-04-06 01:35, Andrej Mitrovic wrote:
Could you tell me what switches I need to build a simple example from scratch?
So far I know I probably need these:
libs dir: \dwt2\lib
libs dir: \dwt2\org.eclipse.swt.win32.win32.x86\lib
imports: \dwt2\base\src
imports: \dwt2\org.eclipse.swt.win32.win
On 2011-04-06 09:00, Jacob Carlborg wrote:
On 2011-04-05 23:15, Alvaro wrote:
El 05/04/2011 15:32, Jacob Carlborg escribió:
On 2011-04-05 15:25, Matthias Pleh wrote:
Am 05.04.2011 15:06, schrieb Jacob Carlborg:
On 2011-04-05 13:08, Matthias Pleh wrote:
So I think for short or middle term suc
On 2011-04-05 23:15, Alvaro wrote:
El 05/04/2011 15:32, Jacob Carlborg escribió:
On 2011-04-05 15:25, Matthias Pleh wrote:
Am 05.04.2011 15:06, schrieb Jacob Carlborg:
On 2011-04-05 13:08, Matthias Pleh wrote:
So I think for short or middle term such solution like gtkD, QtD, DWT
are good, but
On Wed, 6 Apr 2011 04:04:50 +0200, Andrej Mitrovic
wrote:
What the funk. I was trying to contact the author but google just
gave
me an invalid email address. If I try to expand his email by
clicking
on "troguant...@gmail.com", I get username "troguantoniodavide",
but I
can't email him at t
On 2011-04-05 22:58, Andrej Mitrovic wrote:
On 4/5/11, Jacob Carlborg wrote:
On 2011-04-05 20:57, Andrej Mitrovic wrote:
On 4/5/11, Jacob Carlborg wrote:
It's handy if you have a common directory with lib files.
Well I've always wanted to do that, but how eactly do you set a
library searc
79 matches
Mail list logo