Re: why Unix?

2009-04-07 Thread Jesse Phillips
On Tue, 07 Apr 2009 22:39:03 -0400, Jussi Jumppanen wrote: > Christopher Wright Wrote: > >> The GUI is better than that of cmd.exe, but not anywhere near as good >> as, say, GNOME Terminal. (It's still fixed width, as I recall; just >> wider by default.) > > The cmd.exe terminal window can be re

Re: D, so it happend...

2009-04-07 Thread Ellery Newcomer
Mikola Lysenko wrote: downs Wrote: Ellery Newcomer wrote: Baas wrote: Tech info: - Parse the code into XML using Regular Expressions. *double take* It's all about the better optimizations that are now possible! I know of a pumping lemma or two that would disagree with you: http://en.wiki

Re: D, so it happend...

2009-04-07 Thread Mikola Lysenko
> downs Wrote: > > > Ellery Newcomer wrote: > > > Baas wrote: > > >> Tech info: > > >> - Parse the code into XML using Regular Expressions. > > > > > > *double take* > > > > It's all about the better optimizations that are now possible! > I know of a pumping lemma or two that would disagree wi

Re: why Unix?

2009-04-07 Thread Jesse Phillips
On Tue, 07 Apr 2009 22:12:07 +0200, Ralf Schneider wrote: >> Well at least you've got to make up your mind. It's amazing how you >> mention instability in three instances and stagnation in two instances, >> without ever noticing the irony. What's happening? > > Instability: Red hat crashes most o

Re: why Unix?

2009-04-07 Thread Jussi Jumppanen
Christopher Wright Wrote: > The GUI is better than that of cmd.exe, but not anywhere near > as good as, say, GNOME Terminal. (It's still fixed width, as > I recall; just wider by default.) The cmd.exe terminal window can be resized. With the cmd.exe window visible click on the icon in the top

Re: why Unix?

2009-04-07 Thread Jarrett Billingsley
On Tue, Apr 7, 2009 at 8:21 PM, Steven Schveighoffer wrote: > Might I suggest that this not be the case.  I'd rather see a statement like > the following in the script (if you wish to do miniD by default): > > #!/bin/mdsh > %shell.setMode(scripted) > > // and to set it back > shell.setMode(intera

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Michel Fortin
On 2009-04-07 16:55:05 -0400, Walter Bright said: Andrei Alexandrescu wrote: sudo apt-get install virtualbox That's too hard for me. Can you make it easier? alias please="sudo apt-get" then please install virtualbox -- Michel Fortin michel.for...@michelf.com http://mich

Re: why Unix?

2009-04-07 Thread Sergey Gromov
Tue, 07 Apr 2009 21:03:54 +0200, grauzone wrote: >> I can log into ANY Linux, Solaris, BSD, OSX, etc system and have a >> reasonable /bin/sh that allows at least bourne shell functionality. The >> same can't be said for almost any other scripting language you can throw >> at me. > > Sure, /bi

Re: why Unix?

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 20:02:33 -0400, Jarrett Billingsley wrote: On Tue, Apr 7, 2009 at 7:53 PM, Steven Schveighoffer wrote: OK, that was *really* confusing, let me re-explain: if you are in interactive mode, the default is shell mode, and % turns miniD on and off, which continues beyond

Re: why Unix?

2009-04-07 Thread Sergey Gromov
Tue, 07 Apr 2009 19:06:04 -0400, Steven Schveighoffer wrote: > On Tue, 07 Apr 2009 18:48:19 -0400, Sergey Gromov > wrote: > >> Using Cygwin tools is a pain because Cygwin emulates a Unix-like file >> system view while other tools produce and expect native Windows paths. > > just as an aside,

Re: why Unix?

2009-04-07 Thread Jarrett Billingsley
On Tue, Apr 7, 2009 at 7:53 PM, Steven Schveighoffer wrote: > OK, that was *really* confusing, let me re-explain: > > if you are in interactive mode, the default is shell mode, and % turns miniD > on and off, which continues beyond a single line > if you are in a script file, then you are always

Re: why Unix?

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 19:41:36 -0400, Jarrett Billingsley wrote: On Tue, Apr 7, 2009 at 7:14 PM, Steven Schveighoffer wrote: (It also follows that if you wrote a full shellscript, in a .mdsh file or something, the compiler would, when compiling it, start in MiniD mode by default so you would

Re: why Unix?

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 19:52:12 -0400, Steven Schveighoffer wrote: On Tue, 07 Apr 2009 19:41:36 -0400, Jarrett Billingsley wrote: On Tue, Apr 7, 2009 at 7:14 PM, Steven Schveighoffer wrote: (It also follows that if you wrote a full shellscript, in a .mdsh file or something, the compiler

Re: why Unix?

2009-04-07 Thread Christopher Wright
Yigal Chripun wrote: ever heard of powershell? it is in fact a superior design for a shell compared to most unix shells. I have tried it briefly. Too briefly to give a good analysis of it. The GUI is better than that of cmd.exe, but not anywhere near as good as, say, GNOME Terminal. (It's sti

Re: why Unix?

2009-04-07 Thread Jarrett Billingsley
On Tue, Apr 7, 2009 at 7:14 PM, Steven Schveighoffer wrote: >> (It also follows that if you wrote a full shellscript, in a .mdsh file >> or something, the compiler would, when compiling it, start in MiniD >> mode by default so you wouldn't have to escape every statement with a >> %.) > I'm a lit

Re: why Unix?

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 18:17:12 -0400, Jarrett Billingsley wrote: On Tue, Apr 7, 2009 at 3:30 PM, Steven Schveighoffer wrote: And regarding using it as an user shell: there's an interactive command line interpreter. if you type ls, does it work, or do you have to type __run__("ls") or whate

Re: why Unix?

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 18:48:19 -0400, Sergey Gromov wrote: Using Cygwin tools is a pain because Cygwin emulates a Unix-like file system view while other tools produce and expect native Windows paths. just as an aside, have you looked at cygwin's cygpath tool? Not a complete solution, but i

Re: why Unix?

2009-04-07 Thread Sean Kelly
== Quote from Sergey Gromov (snake.sc...@gmail.com)'s article > > Windows is my main development platform, and it drives me nuts. I'd > move to Linux but I'm afraid of little important things getting in the > way, like a requirement to use Outlook for my corporate mail, and Flash > CS4 for develop

Re: why Unix?

2009-04-07 Thread Sergey Gromov
Mon, 06 Apr 2009 20:19:40 -0400, Jussi Jumppanen wrote: >> As a commandline utility, it can be combined with other stuff such >> as ls, sort, grep, sed, awk, etc... I don't know if I'd start there >> though... > > Replace ls with dir, download the Win32 version of grep, sed, awk > and you can

Re: why Unix?

2009-04-07 Thread Jarrett Billingsley
On Tue, Apr 7, 2009 at 3:30 PM, Steven Schveighoffer wrote: >> And regarding using it as an user shell: there's an interactive command >> line interpreter. > > if you type ls, does it work, or do you have to type __run__("ls") or > whatever? I think it's things like this that are the reason a lo

Re: why Unix?

2009-04-07 Thread Walter Bright
grauzone wrote: Walter Bright wrote: rdmd? Some things wouldn't be so beautiful with rdmd: 1. You need a main function, you can't just start typing. 2. You need at least one import statement. This is kind of annoying, because you'd probably always import the same single module, that contains

Re: why Unix?

2009-04-07 Thread Yigal Chripun
On 07/04/2009 05:29, Christopher Wright wrote: Jussi Jumppanen wrote: Replace ls with dir, download the Win32 version of grep, sed, awk and you can run all those tools just fine from the Windows command line, or from within any decent editor. You don't have to go to Unix to find the command lin

Re: why Unix?

2009-04-07 Thread grauzone
Walter Bright wrote: Andrei Alexandrescu wrote: There's been a number of experiments to replace the shell with scheme, perl, or python. I'm not sure how successful they were for particular people, but they didn't quite take. My speculation is that general languages are "too powerful" for shell

Re: why Unix?

2009-04-07 Thread Walter Bright
Andrei Alexandrescu wrote: There's been a number of experiments to replace the shell with scheme, perl, or python. I'm not sure how successful they were for particular people, but they didn't quite take. My speculation is that general languages are "too powerful" for shell scripting. rdmd?

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Walter Bright
Don wrote: (My pet hate is the way Windows copied the 'folder' idea from the Mac as an analogy for a directory structure, I agree. It is especially annoying when trying to help someone with their Windows box, and you say "go to this directory" and they say "what's a directory"? I learned t

Re: The new, new phobos sneak preview

2009-04-07 Thread Sergey Gromov
Mon, 06 Apr 2009 14:23:20 -0700, Andrei Alexandrescu wrote: > I just committed all of Phobos into svn on dsource.org. That is not an > official release and has known and unknown bugs, limitations, and > rhinodemons. I expect some ripples before we stabilize, but when we will > we'll stabilize at a

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Walter Bright
Andrei Alexandrescu wrote: sudo apt-get install virtualbox That's too hard for me. Can you make it easier?

Re: why Unix?

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 15:58:34 -0400, grauzone wrote: The complete language reference (including index) has 102 pages. Considering that it's probably more formal than the sh description in your Nutshell book, it's not that much compared to sh. The nutshell description is formal and complete

Re: why Unix?

2009-04-07 Thread superdan
grauzone Wrote: > > Stagnation: On *NIX: same (command line) tools, same concepts > > (everything is a file) as decades ago. New ideas are usually copied > > badly from Apple or Windows years later. > > What exciting new concepts are there under Windows? Drive letters? fuckin' ole. bill gates

Re: why Unix?

2009-04-07 Thread grauzone
Stagnation: On *NIX: same (command line) tools, same concepts (everything is a file) as decades ago. New ideas are usually copied badly from Apple or Windows years later. What exciting new concepts are there under Windows? Drive letters?

Re: why Unix?

2009-04-07 Thread Ralf Schneider
Well at least you've got to make up your mind. It's amazing how you mention instability in three instances and stagnation in two instances, without ever noticing the irony. What's happening? Instability: Red hat crashes most often. AIX, Solaris and HP-UX just run. Windows crashes sometimes.

Re: why Unix?

2009-04-07 Thread grauzone
About your general point, I think that's only because all the shell commands are available by default. To delete a file, there's simply "rm". A general purpose language would normally require more code to delete a file, and that additional code is perceived as "noise". The thing to do would be

Re: why Unix?

2009-04-07 Thread grauzone
Steven Schveighoffer wrote: On Tue, 07 Apr 2009 15:03:54 -0400, grauzone wrote: Steven Schveighoffer wrote: On Tue, 07 Apr 2009 14:35:04 -0400, grauzone wrote: But shell scripting in itself is so powerful for this kind of stuff. I've written lots of little scripts to do fantastic things

Re: why Unix?

2009-04-07 Thread Don
Andrei Alexandrescu wrote: Ralf Schneider wrote: If I were to quickly give the most significant bit of my opinion, that would be this: Unix is for programmers and Windows is for end users. As such, even though both ultimately accomplish the task of putting a computer's resources at your dispos

Re: Array Appenders

2009-04-07 Thread Denis Koroskin
On Tue, 07 Apr 2009 17:24:07 +0400, Andrei Alexandrescu wrote: Denis Koroskin wrote: Well, actually I think that having an Appender object is an overkill. I never use, although I wrote a few implementations. Instead, I found the following method to be extemely handy, very fast and cover al

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Andrei Alexandrescu
Walter Bright wrote: Jarrett Billingsley wrote: VMs have nothing to do with multiboot. I have Ubuntu in a Sun Virtualbox on my desktop and it's wonderful. It's fun to watch an OS start in a window. I can also share a folder across the boundary; the clipboard works seamlessly; input grabbing i

Re: why Unix?

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 15:03:54 -0400, grauzone wrote: Steven Schveighoffer wrote: On Tue, 07 Apr 2009 14:35:04 -0400, grauzone wrote: But shell scripting in itself is so powerful for this kind of stuff. I've written lots of little scripts to do fantastic things that on Windows would be so

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Walter Bright
Jarrett Billingsley wrote: VMs have nothing to do with multiboot. I have Ubuntu in a Sun Virtualbox on my desktop and it's wonderful. It's fun to watch an OS start in a window. I can also share a folder across the boundary; the clipboard works seamlessly; input grabbing is nearly seamless. An

Re: why Unix?

2009-04-07 Thread Andrei Alexandrescu
Ralf Schneider wrote: If I were to quickly give the most significant bit of my opinion, that would be this: Unix is for programmers and Windows is for end users. As such, even though both ultimately accomplish the task of putting a computer's resources at your disposal, their foci are different

Re: why Unix?

2009-04-07 Thread Walter Bright
Steven Schveighoffer wrote: For example, here's a script I wrote to change which D compiler I want to use: What would be fun is seeing how that script would look written in D, then run using rdmd!

Re: why Unix?

2009-04-07 Thread bearophile
Walter Bright: > Andrei Alexandrescu: > > It took me a couple of minutes to write under her eyes a script that > > downloaded HTML, scraped the code for links, followed those of interest, > > and output a concatenation of all pages she was interested in, with > > details highlighted, that was lo

Re: why Unix?

2009-04-07 Thread Jarrett Billingsley
On Tue, Apr 7, 2009 at 12:38 PM, Andrei Alexandrescu wrote: > I'll risk an example. A while ago my wife was looking for a place for her > medical residency. There was an online service that would give her a long > webpage with links to all institutions she was interested in. The links were > in th

Re: why Unix?

2009-04-07 Thread Andrei Alexandrescu
Jarrett Billingsley wrote: On Tue, Apr 7, 2009 at 12:38 PM, Andrei Alexandrescu wrote: I'll risk an example. A while ago my wife was looking for a place for her medical residency. There was an online service that would give her a long webpage with links to all institutions she was interested in

Re: why Unix?

2009-04-07 Thread Andrei Alexandrescu
grauzone wrote: Sure, /bin/sh is the least common denominator. But is there a UNIX that can't run python? Well one good part about these tools is that there's plenty of overlap between them. Like stick-shift cars, you can drive at a given speed in two gears without ruining the engine. I use

Re: why Unix?

2009-04-07 Thread Alexander Pánek
Adam D. Ruppe wrote: On Mon, Apr 06, 2009 at 10:29:57PM -0400, Christopher Wright wrote: The Windows terminal emulator sucks. This is not subject to debate. What terminal emulator? This might be a bit of a nitpick, but Windows doesn't try to emulate a terminal (not in the OS anyway; there are

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Don
grauzone wrote: Andrei Alexandrescu wrote: grauzone wrote: I'm not expecting anything from Linux GUIs anymore. Seriously, Linux on the desktop sucks. God, does it suck! What standard are you holding it against? The Mac GUI is snappier, but First, I didn't ever use a Mac. Hell, these things

Re: why Unix?

2009-04-07 Thread Ralf Schneider
If I were to quickly give the most significant bit of my opinion, that would be this: Unix is for programmers and Windows is for end users. As such, even though both ultimately accomplish the task of putting a computer's resources at your disposal, their foci are different. You're a programmer.

Re: why Unix?

2009-04-07 Thread grauzone
Steven Schveighoffer wrote: On Tue, 07 Apr 2009 14:35:04 -0400, grauzone wrote: But shell scripting in itself is so powerful for this kind of stuff. I've written lots of little scripts to do fantastic things that on Windows would be so painful (without cygwin of course). Like renaming all

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Walter Bright
Lutger wrote: Have you ever tried virtualbox? It has a seamless mode, which tears out windows apps in the virtual instance and make them behave just as if you started them under linux. It's very pleasant, you don't have to switch anything anymore and just run those windows userthings next to yo

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Jarrett Billingsley
On Tue, Apr 7, 2009 at 2:26 PM, Walter Bright wrote: > Lutger wrote: >> >> Have you ever tried virtualbox? It has a seamless mode, which tears out >> windows apps in the virtual instance and make them behave just as if you >> started them under linux. It's very pleasant, you don't have to switch >

Re: why Unix?

2009-04-07 Thread Alexander Pánek
Walter Bright wrote: Andrei Alexandrescu wrote: It took me a couple of minutes to write under her eyes a script that downloaded HTML, scraped the code for links, followed those of interest, and output a concatenation of all pages she was interested in, with details highlighted, that was loadab

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Christopher Wright
Steven Schveighoffer wrote: On Tue, 07 Apr 2009 13:02:34 -0400, Steven Schveighoffer wrote: The only thing it lacks is iTunes (yeah, screw you, I like iTunes :) The probability of iTunes on Linux just got a whole lot higher http://tech.yahoo.com/news/macworld/20090407/tc_macworld

Re: why Unix?

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 14:35:04 -0400, grauzone wrote: But shell scripting in itself is so powerful for this kind of stuff. I've written lots of little scripts to do fantastic things that on Windows would be so painful (without cygwin of course). Like renaming all files of a certain type to

Re: why Unix?

2009-04-07 Thread grauzone
But shell scripting in itself is so powerful for this kind of stuff. I've written lots of little scripts to do fantastic things that on Windows would be so painful (without cygwin of course). Like renaming all files of a certain type to something else, or copying select files to another direc

Re: why Unix?

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 14:11:44 -0400, Walter Bright wrote: Andrei Alexandrescu wrote: It took me a couple of minutes to write under her eyes a script that downloaded HTML, scraped the code for links, followed those of interest, and output a concatenation of all pages she was interested in

Re: why Unix?

2009-04-07 Thread Walter Bright
Andrei Alexandrescu wrote: It took me a couple of minutes to write under her eyes a script that downloaded HTML, scraped the code for links, followed those of interest, and output a concatenation of all pages she was interested in, with details highlighted, that was loadable back in the browser

Re: why Unix?

2009-04-07 Thread Adam D. Ruppe
On Tue, Apr 07, 2009 at 11:11:44AM -0700, Walter Bright wrote: > Andrei Alexandrescu wrote: > >It took me a couple of minutes to write under her eyes a script that > >downloaded HTML, scraped the code for links, followed those of interest, > >and output a concatenation of all pages she was intere

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Steven Schveighoffer
http://tech.yahoo.com/news/macworld/20090407/tc_macworld/itunesisdrmfreeaddsvariablepricing_1 I doubt it will happen within the next five years. Apple admits that Windows exists because it has to; it won't ignore >85% of the market. But it will never admit that any other desktop o

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread grauzone
Steven Schveighoffer wrote: On Tue, 07 Apr 2009 13:56:34 -0400, grauzone wrote: only thing it lacks is iTunes (yeah, screw you, I like iTunes :) and it There are lots of iTunes clones. Maybe you should try to get used to one of them? I'm sorry, but I'm ignorant of such issues. Do they al

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 13:56:34 -0400, grauzone wrote: only thing it lacks is iTunes (yeah, screw you, I like iTunes :) and it There are lots of iTunes clones. Maybe you should try to get used to one of them? I'm sorry, but I'm ignorant of such issues. Do they allow downloading music from

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread grauzone
only thing it lacks is iTunes (yeah, screw you, I like iTunes :) and it There are lots of iTunes clones. Maybe you should try to get used to one of them? (Personally, I'm still looking for a decent music player, now that xmms got removed from Debian. xmms was very crappy, but useable.)

Re: htod not support stlport stuff good enough

2009-04-07 Thread Walter Bright
davidl wrote: htod seems not able to convert stlport stuff well.. Since D cannot interface with C++ template generated code, and that's pretty much all stl is, it's moot that htod doesn't work on stl. Sorry about that.

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Steven Schveighoffer
On Tue, 07 Apr 2009 13:02:34 -0400, Steven Schveighoffer wrote: The only thing it lacks is iTunes (yeah, screw you, I like iTunes :) The probability of iTunes on Linux just got a whole lot higher http://tech.yahoo.com/news/macworld/20090407/tc_macworld/itunesisdrmfreeaddsvariablepricing_1

Re: htod not support stlport stuff good enough

2009-04-07 Thread Clay Smith
davidl wrote: err, I tried a little bit with htod seems it always bug me with error messages. any idea? void operator delete(void* ptr, const std::nothrow_t&) throw(); ^ d:\digitalmars\dm\include\../include/new.h(77) : Error: must

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Steven Schveighoffer
On Mon, 06 Apr 2009 19:36:11 -0400, Daniel Keep wrote: I desperately wish my computer-illiterate family members would move off of Windows as well, since it would eliminate basically every tech- support call I field from them. Perhaps I've simply had good luck with other OSes, but Windows i

Re: htod not support stlport stuff good enough

2009-04-07 Thread davidl
在 Wed, 08 Apr 2009 00:53:09 +0800,davidl 写道: err, I tried a little bit with htod seems it always bug me with error messages. any idea? void operator delete(void* ptr, const std::nothrow_t&) throw(); ^ d:\digitalmars\dm\include\

htod not support stlport stuff good enough

2009-04-07 Thread davidl
err, I tried a little bit with htod seems it always bug me with error messages. any idea? void operator delete(void* ptr, const std::nothrow_t&) throw(); ^ d:\digitalmars\dm\include\../include/new.h(77) : Error: must be void oper

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Lutger
Walter Bright wrote: ... > I find myself more and more switching back and forth between the two for > specific tasks (I use a KVM switch to go back and forth). Have you ever tried virtualbox? It has a seamless mode, which tears out windows apps in the virtual instance and make them behave just a

Re: why Unix?

2009-04-07 Thread Andrei Alexandrescu
Jesse Phillips wrote: Many people suggest Live-CDs for introduction, but this is only go to show that you have a browser in Linux. It doesn't give a true Linux experience. I agree. Somehow I'm surprised that the discussion drifted into a pure user-level feature comparison though. Below I'll

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Lutger
grauzone wrote: > Andrei Alexandrescu wrote: >> grauzone wrote: >>> I'm not expecting anything from Linux GUIs anymore. Seriously, Linux >>> on the desktop sucks. God, does it suck! >> >> What standard are you holding it against? The Mac GUI is snappier, but > > First, I didn't ever use a Mac.

Re: Loading DLLs

2009-04-07 Thread Jarrett Billingsley
On Tue, Apr 7, 2009 at 5:13 AM, Georg Wrede wrote: > Any large application benefits from being able to load DLLs, sooner or > later. Some applicatons seem to do it effortlessly, even in very disparate > environments. For example, the Lua interpreter appears to consider it a > trivial excercise. >

Re: why Unix?

2009-04-07 Thread Ellery Newcomer
Jesse Phillips wrote: You will find little things that make your life easier, I will state some here, but they don't sound very important and some you may not like. Multiple desktops (If you have tried this on Windows you have been cheated in how it really should work). The middle mouse copy/pa

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Sean Kelly
Saaa wrote: Yah, I too remember my Windows-only days the way I'd remember a temporary disability. (I recall to this day: any little thing I wanted to do, I'd start off a wizard in Dev Studio. It was kind of a surprise for me to find out that all those programs had been written, along with plent

Re: why Unix?

2009-04-07 Thread Jesse Phillips
On Tue, 07 Apr 2009 01:10:38 +0200, Saaa wrote: > Thanks, > I really do feel impaired. Not so much as in that I don't use unix, but > more in that I see software lagging behind hardware. I think maybe this > lag is a bit less when using unix but only if I would start using the > right tools (yes I

Re: why Unix?

2009-04-07 Thread Jesse Phillips
On Tue, 07 Apr 2009 09:48:57 -0400, Jason House wrote: > Saaa Wrote: > > >> "Andrei Alexandrescu" wrote in message >> news:grduhp$1rk...@digitalmars.com... >> > Saaa wrote: >> >>> When you'd be writing computer programs. >> >> >> >> But that would go like this: install eclipse, check how to com

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread grauzone
bearophile wrote: grauzone: The font rendering is very very ugly. At which point size/DPI is this font supposed to be displayed? I use it at about this size, and I find it the most readable among all the ones I have tried so far: http://www.fantascienza.net/leonardo/ar/inconsolatag/two_incons

Re: Array Appenders

2009-04-07 Thread grauzone
bearophile wrote: Andrei Alexandrescu: Denis Koroskin wrote: void append(T)(T[] array, ref size_t index, T value) I'm pretty sure you meant to pass array by reference. AH, that's the bug of mine I was talking about here: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars

Re: Array Appenders

2009-04-07 Thread bearophile
Andrei Alexandrescu: > Denis Koroskin wrote: > > void append(T)(T[] array, ref size_t index, T value) > I'm pretty sure you meant to pass array by reference. AH, that's the bug of mine I was talking about here: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=87

Re: D, so it happend...

2009-04-07 Thread Alexander Pánek
grauzone wrote: Alexander Pánek wrote: grauzone wrote: Christopher Wright wrote: Tom S wrote: How is compilar formed? How is compilar formed? How executable get maked? They need to do way> instain programer, who wriet thier compilars, just becuase these compilars cant get debuged? It was

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread bearophile
grauzone: > The font rendering is very very ugly. At which point size/DPI is this > font supposed to be displayed? I use it at about this size, and I find it the most readable among all the ones I have tried so far: http://www.fantascienza.net/leonardo/ar/inconsolatag/two_inconsolata_20090213.pn

Re: D, so it happend...

2009-04-07 Thread grauzone
Alexander Pánek wrote: grauzone wrote: Christopher Wright wrote: Tom S wrote: How is compilar formed? How is compilar formed? How executable get maked? They need to do way> instain programer, who wriet thier compilars, just becuase these compilars cant get debuged? It was on the newsgroup

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread grauzone
bearophile wrote: grauzone: Will try later. Success depends from how well freetype renders it at low resolutions. I use it as my default programming font on my Ubuntu (for Python, D, etc), it's nonproportional. But I use it at high enough sizes, to spot bugs better. The font rendering is ve

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread grauzone
Andrei Alexandrescu wrote: grauzone wrote: I'm not expecting anything from Linux GUIs anymore. Seriously, Linux on the desktop sucks. God, does it suck! What standard are you holding it against? The Mac GUI is snappier, but First, I didn't ever use a Mac. Hell, these things even require spe

Re: minimal evaluation

2009-04-07 Thread TomD
downs Wrote: [...] > .. Wait. Did I just read that right - when an argument is null, isNull > returns *false*? > > What the hell? At least that is what he had written. Seems to be a case of "double negation is still a negation", an idiom quite common here in Bavaria. Not in programming, though

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread grauzone
Andrei Alexandrescu wrote: grauzone wrote: Why does everyone think "Ubuntu" when talking about Linux? I find the Ubuntu desktop almost as annoying as the Windows one. Even worse, Ubuntu feels like a Windows clone. Most of this is because it uses GNOME by default. If you really want to use Li

Re: why Unix?

2009-04-07 Thread Lutger
Jason House wrote: > Saaa Wrote: > >> >> "Andrei Alexandrescu" wrote in message >> news:grduhp$1rk...@digitalmars.com... >> > Saaa wrote: >> >>> When you'd be writing computer programs. >> >> >> >> But that would go like this: install eclipse, check how to compile under >> >> Linux and start

Re: why Unix?

2009-04-07 Thread Jason House
Saaa Wrote: > > "Andrei Alexandrescu" wrote in message > news:grduhp$1rk...@digitalmars.com... > > Saaa wrote: > >>> When you'd be writing computer programs. > >> > >> But that would go like this: install eclipse, check how to compile under > >> Linux and start programming. > > > > Nope :o). W

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Andrei Alexandrescu
grauzone wrote: I'm not expecting anything from Linux GUIs anymore. Seriously, Linux on the desktop sucks. God, does it suck! What standard are you holding it against? The Mac GUI is snappier, but overall the Mac is still not as stable as Ubuntu. I don't miss anything from the Windows GUI.

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread Andrei Alexandrescu
grauzone wrote: Why does everyone think "Ubuntu" when talking about Linux? I find the Ubuntu desktop almost as annoying as the Windows one. Even worse, Ubuntu feels like a Windows clone. Most of this is because it uses GNOME by default. If you really want to use Linux, don't use a crappy desk

Re: The new, new phobos sneak preview

2009-04-07 Thread Andrei Alexandrescu
Lutger wrote: This is looking very impressive, will you be covering some of these concepts and idioms used in phobos in your upcoming TDPL? This url returns a 404: http://www.erdani.dreamhosters.com/d/web/phobos/std_patterns.html Sorry, that module is not meant to be visible yet. Andrei

Re: Array Appenders

2009-04-07 Thread Andrei Alexandrescu
Denis Koroskin wrote: Well, actually I think that having an Appender object is an overkill. I never use, although I wrote a few implementations. Instead, I found the following method to be extemely handy, very fast and cover all my cases: void append(T)(T[] array, ref size_t index, T value) {

Re: The new, new phobos sneak preview

2009-04-07 Thread Andrei Alexandrescu
bearophile wrote: dsimcha: Two things that had been discussed on this NG that I noticed are conspicuously absent: eager(), which converts a lazy range to an array, eager() name is bad. Better array(), or toArray(), or something like that. More descriptive. At best this is a more general fun

Re: D, so it happend...

2009-04-07 Thread Alexander Pánek
grauzone wrote: Christopher Wright wrote: Tom S wrote: How is compilar formed? How is compilar formed? How executable get maked? They need to do way> instain programer, who wriet thier compilars, just becuase these compilars cant get debuged? It was on the newsgroup this mroing, a programe

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread bearophile
grauzone: > Will try later. Success depends from how well freetype renders it at low > resolutions. I use it as my default programming font on my Ubuntu (for Python, D, etc), it's nonproportional. But I use it at high enough sizes, to spot bugs better. Bye, bearophile

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread grauzone
bearophile wrote: grauzone: Why does everyone think "Ubuntu" when talking about Linux? I am ignorant about this topic, but I think the answers to your questions are: 1) Because it's one of the very few distros that seem designed by people that care a bit about ergonomics, usability studies, u

Re: D, so it happend...

2009-04-07 Thread grauzone
Christopher Wright wrote: Tom S wrote: How is compilar formed? How is compilar formed? How executable get maked? They need to do way> instain programer, who wriet thier compilars, just becuase these compilars cant get debuged? It was on the newsgroup this mroing, a programer in d.D who had

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread grauzone
bearophile wrote: grauzone: The free fonts suck, and I still use some Microsoft fonts on Linux.< Have you tried my version of Inconsolata? :-) http://www.fantascienza.net/leonardo/ar/inconsolatag/inconsolata-g_font.zip Will try later. Success depends from how well freetype renders it at low

Re: D, so it happend...

2009-04-07 Thread Alexander Pánek
Christopher Wright wrote: Tom S wrote: How is compilar formed? How is compilar formed? How executable get maked? They need to do way> instain programer, who wriet thier compilars, just becuase these compilars cant get debuged? It was on the newsgroup this mroing, a programer in d.D who had

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread bearophile
grauzone: >The free fonts suck, and I still use some Microsoft fonts on Linux.< Have you tried my version of Inconsolata? :-) http://www.fantascienza.net/leonardo/ar/inconsolatag/inconsolata-g_font.zip Bye, bearophile

Re: Multithreaded I/O in the DMD compiler (DDJ article by Walter)

2009-04-07 Thread bearophile
grauzone: > Why does everyone think "Ubuntu" when talking about Linux? I am ignorant about this topic, but I think the answers to your questions are: 1) Because it's one of the very few distros that seem designed by people that care a bit about ergonomics, usability studies, user interfaces, etc.

  1   2   >