Re: D on Slashdot

2015-01-23 Thread ketmar via Digitalmars-d
On Fri, 23 Jan 2015 12:50:31 +, Kagamin wrote: > On Thursday, 22 January 2015 at 16:13:31 UTC, ketmar wrote: >>> > somehow i can't close cmd.exe by hitting ctrl+c. don't console >>> > programs know what ctrl+c is for? >>> Well, maybe because it's a shell, not a utility? >> shell is a console u

Re: D on Slashdot

2015-01-23 Thread Kagamin via Digitalmars-d
On Thursday, 22 January 2015 at 16:13:31 UTC, ketmar wrote: > somehow i can't close cmd.exe by hitting ctrl+c. don't > console programs > know what ctrl+c is for? Well, maybe because it's a shell, not a utility? shell is a console utility. Hmm... shell is a user interface providing access to

Re: D on Slashdot

2015-01-22 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 22 January 2015 at 19:13:08 UTC, Andrei Alexandrescu wrote: Cool! Is it on dub yet? -- Andrei Actually, I think it is: Robik has a stable fork here: https://github.com/robik/consoled http://code.dlang.org/search?q=consoled contains his simpler api in the console thing and my har

Re: D on Slashdot

2015-01-22 Thread Andrei Alexandrescu via Digitalmars-d
On 1/22/15 8:27 AM, Adam D. Ruppe wrote: BTW you should try the terminal.getline function in my terminal.d. It is fairly new, my own reimplementation of an editable getline with history and completion based on the history. One of the things mine does is show a bit of suggestion of it is unambigu

Re: D on Slashdot

2015-01-22 Thread zeljkog via Digitalmars-d
On 22.01.15 17:27, Adam D. Ruppe wrote: Of course, eventually I'll write my own shell with my own completion function! terminal.d is slowly getting there. I'm used to editor. Execute current line - skip comment tags (keyboard shortcut) is all I need.

Re: D on Slashdot

2015-01-22 Thread Adam D. Ruppe via Digitalmars-d
BTW you should try the terminal.getline function in my terminal.d. It is fairly new, my own reimplementation of an editable getline with history and completion based on the history. One of the things mine does is show a bit of suggestion of it is unambiguous and also if you hit tab twice, it c

Re: D on Slashdot

2015-01-22 Thread ketmar via Digitalmars-d
On Thu, 22 Jan 2015 08:29:57 + Kagamin via Digitalmars-d wrote: > On Wednesday, 21 January 2015 at 16:34:26 UTC, ketmar via > Digitalmars-d wrote: > >> >> > i even knew how to quit vi > >> >> ctrl-c? > >> > nope! it beeps. ;-) > >> Duh! Don't console programs know, what ctrl-c is for? > > so

Re: D on Slashdot

2015-01-22 Thread Kagamin via Digitalmars-d
On Wednesday, 21 January 2015 at 16:34:26 UTC, ketmar via Digitalmars-d wrote: >> > i even knew how to quit vi >> ctrl-c? > nope! it beeps. ;-) Duh! Don't console programs know, what ctrl-c is for? somehow i can't close cmd.exe by hitting ctrl+c. don't console programs know what ctrl+c is for?

Re: D on Slashdot

2015-01-21 Thread deadalnix via Digitalmars-d
On Wednesday, 21 January 2015 at 18:04:02 UTC, H. S. Teoh via Digitalmars-d wrote: Mistyping a recursive rm command is a relatively easy mistake, but there are worse things than that. One time, an OS upgrade gone wrong left me with my entire filesystem intact, but with a broken, non-functional

Re: D on Slashdot

2015-01-21 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 21, 2015 at 06:14:16PM +, Paulo Pinto via Digitalmars-d wrote: > On Wednesday, 21 January 2015 at 16:35:18 UTC, ketmar via Digitalmars-d > wrote: > >On Wed, 21 Jan 2015 10:16:47 + > >Paulo Pinto via Digitalmars-d wrote: > > > >>On Wednesday, 21 January 2015 at 01:52:51 UTC, ke

Re: D on Slashdot

2015-01-21 Thread Paulo Pinto via Digitalmars-d
On Wednesday, 21 January 2015 at 16:35:18 UTC, ketmar via Digitalmars-d wrote: On Wed, 21 Jan 2015 10:16:47 + Paulo Pinto via Digitalmars-d wrote: On Wednesday, 21 January 2015 at 01:52:51 UTC, ketmar via Digitalmars-d wrote: > On Wed, 21 Jan 2015 01:44:07 + > Vlad Levenfeld via Di

Re: D on Slashdot

2015-01-21 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 21, 2015 at 09:06:50AM +0200, ketmar via Digitalmars-d wrote: > On Tue, 20 Jan 2015 22:43:04 -0800 > "H. S. Teoh via Digitalmars-d" wrote: > > > I almost nuked my entire system with a mistyped `rm -rf` command, as > > I'm sure every *nix person has at least once in his life > my expir

Re: D on Slashdot

2015-01-21 Thread anonymous via Digitalmars-d
On Wednesday, 21 January 2015 at 00:11:46 UTC, Kiith-Sa wrote: http://developers.slashdot.org/story/15/01/20/2026221/is-d-an-underrated-programming-language?utm_source=rss1.0mainlinkanon&utm_medium=feed https://www.reddit.com/r/programming/comments/2t6tvt/the_state_of_d_in_2015/

Re: D on Slashdot

2015-01-21 Thread ketmar via Digitalmars-d
On Wed, 21 Jan 2015 13:36:46 + MattCoder via Digitalmars-d wrote: > On Wednesday, 21 January 2015 at 13:19:00 UTC, Adam D. Ruppe > wrote: > > It is a lot easier to just run "wine dmd" and distribute the > > finished exe than it is to copy all the development files to > > the windows comput

Re: D on Slashdot

2015-01-21 Thread ketmar via Digitalmars-d
On Wed, 21 Jan 2015 08:56:53 + Kagamin via Digitalmars-d wrote: > On Wednesday, 21 January 2015 at 08:19:39 UTC, ketmar via > Digitalmars-d wrote: > >> > i even knew how to quit vi > >> ctrl-c? > > nope! it beeps. ;-) > Duh! Don't console programs know, what ctrl-c is for? somehow i can't cl

Re: D on Slashdot

2015-01-21 Thread ketmar via Digitalmars-d
On Wed, 21 Jan 2015 10:16:47 + Paulo Pinto via Digitalmars-d wrote: > On Wednesday, 21 January 2015 at 01:52:51 UTC, ketmar via > Digitalmars-d wrote: > > On Wed, 21 Jan 2015 01:44:07 + > > Vlad Levenfeld via Digitalmars-d > > wrote: > > > > i can see how this thread slowly turning in

Re: D on Slashdot

2015-01-21 Thread Andrei Alexandrescu via Digitalmars-d
On 1/21/15 1:31 AM, Mathias LANG wrote: On Wednesday, 21 January 2015 at 08:56:54 UTC, Kagamin wrote: [...] Windows console does it elegantly without telepathy: it rolls through the list of ambiguous names. Personally I use http://grml.org/zsh/. It's available as an ArchLinux package. It's

Re: D on Slashdot

2015-01-21 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 21 January 2015 at 13:36:47 UTC, MattCoder wrote: For what I'm seeing Wine isn't an emulator like VMWare, it's a layer Yeah, Windows is, from the application programmer's perspective, basically just a giant library. Wine is an implementation of that library on Linux. so you ca

Re: D on Slashdot

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 13:19:00 UTC, Adam D. Ruppe wrote: It is a lot easier to just run "wine dmd" and distribute the finished exe than it is to copy all the development files to the windows computer and run it there. For what I'm seeing Wine isn't an emulator like VMWare, it's a l

Re: D on Slashdot

2015-01-21 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 21 January 2015 at 04:45:23 UTC, Joakim wrote: A nice overview of the current D situation by David Bolton- not the usual filler you see from non-technical authors as he specifically mentions the GC, dub, modules, etc. and details about how they work- D can only hope for more such

Re: D on Slashdot

2015-01-21 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 21 January 2015 at 06:08:50 UTC, Israel wrote: I never understood why you guys use DMD on wine. Theres a DMD for linux... Is it because you want to develop your windows programs without having to run a full virtual machine? My users are on Windows but my files are on a Linux co

Re: D on Slashdot

2015-01-21 Thread Paulo Pinto via Digitalmars-d
On Wednesday, 21 January 2015 at 01:52:51 UTC, ketmar via Digitalmars-d wrote: On Wed, 21 Jan 2015 01:44:07 + Vlad Levenfeld via Digitalmars-d wrote: i can see how this thread slowly turning into "how i was forced to live with windows and how painful it was" thread. ;-) Happy Windows

Re: D on Slashdot

2015-01-21 Thread Walter Bright via Digitalmars-d
On 1/20/2015 10:43 PM, H. S. Teoh via Digitalmars-d wrote: Yah, after I switched to Linux, it suddenly dawned on me that MSDOS was just a crippled cheap imitation of the *real* command prompt... Actually, DOS was modeled after CP/M which was modeled after the DEC PDP-11 operating system. It

Re: D on Slashdot

2015-01-21 Thread Mathias LANG via Digitalmars-d
On Wednesday, 21 January 2015 at 08:56:54 UTC, Kagamin wrote: [...] Windows console does it elegantly without telepathy: it rolls through the list of ambiguous names. Personally I use http://grml.org/zsh/. It's available as an ArchLinux package. It's also the default shell config for the

Re: D on Slashdot

2015-01-21 Thread Kagamin via Digitalmars-d
On Wednesday, 21 January 2015 at 08:19:39 UTC, ketmar via Digitalmars-d wrote: > i even knew how to quit vi ctrl-c? nope! it beeps. ;-) Duh! Don't console programs know, what ctrl-c is for? BTW, is there a way to make the shell autocomplete file names completely instead of partially? huh? sh

Re: D on Slashdot

2015-01-21 Thread ketmar via Digitalmars-d
On Wed, 21 Jan 2015 07:56:47 + Kagamin via Digitalmars-d wrote: > On Wednesday, 21 January 2015 at 02:23:03 UTC, ketmar via > Digitalmars-d wrote: > > i even knew how to quit vi > ctrl-c? nope! it beeps. ;-) > BTW, is there a way to make the shell autocomplete file names > completely inste

Re: D on Slashdot

2015-01-21 Thread Kagamin via Digitalmars-d
On Wednesday, 21 January 2015 at 02:23:03 UTC, ketmar via Digitalmars-d wrote: i even knew how to quit vi ctrl-c? and now i can't understand anymore why i was happy with windows. i really love my terminal and all the power *nix utilities gave me! ;-) BTW, is there a way to make the shell au

Re: D on Slashdot

2015-01-20 Thread ketmar via Digitalmars-d
On Tue, 20 Jan 2015 22:43:04 -0800 "H. S. Teoh via Digitalmars-d" wrote: > I almost nuked my > entire system with a mistyped `rm -rf` command, as I'm sure every *nix > person has at least once in his life my expirience was simply doing `chmod -R 600 /` as root. lucky me. and i really hate that pe

Re: D on Slashdot

2015-01-20 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 21, 2015 at 04:22:54AM +0200, ketmar via Digitalmars-d wrote: [...] > i must confess that i was heavy windows user and windows programmer > 'till 2002 (or something, i don't remember the exact date). i've seen > some *nix systems before, i even knew how to quit vi, LOL... that must be

Re: D on Slashdot

2015-01-20 Thread ketmar via Digitalmars-d
On Wed, 21 Jan 2015 06:08:49 + Israel via Digitalmars-d wrote: > On Wednesday, 21 January 2015 at 01:07:04 UTC, Adam D. Ruppe > wrote: > > On Wednesday, 21 January 2015 at 01:04:11 UTC, ketmar via > > Digitalmars-d wrote: > >> two days making dmd.exe work with Wine to write the simple > >>

Re: D on Slashdot

2015-01-20 Thread Israel via Digitalmars-d
On Wednesday, 21 January 2015 at 01:07:04 UTC, Adam D. Ruppe wrote: On Wednesday, 21 January 2015 at 01:04:11 UTC, ketmar via Digitalmars-d wrote: two days making dmd.exe work with Wine to write the simple utility which i can write in two hours using MinGW cross-compiler. I've been using dmd

Re: D on Slashdot

2015-01-20 Thread Joakim via Digitalmars-d
On Wednesday, 21 January 2015 at 00:33:00 UTC, Adam D. Ruppe wrote: On Wednesday, 21 January 2015 at 00:11:46 UTC, Kiith-Sa wrote: http://developers.slashdot.org/story/15/01/20/2026221/is-d-an-underrated-programming-language?utm_source=rss1.0mainlinkanon&utm_medium=feed I said this earlier on

Re: D on Slashdot

2015-01-20 Thread ketmar via Digitalmars-d
On Tue, 20 Jan 2015 18:06:59 -0800 "H. S. Teoh via Digitalmars-d" wrote: > On Wed, Jan 21, 2015 at 01:56:32AM +, Vlad Levenfeld via Digitalmars-d > wrote: > > On Wednesday, 21 January 2015 at 01:52:51 UTC, ketmar via Digitalmars-d > > wrote: > > >On Wed, 21 Jan 2015 01:44:07 + > > >Vlad

Re: D on Slashdot

2015-01-20 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 21, 2015 at 01:56:32AM +, Vlad Levenfeld via Digitalmars-d wrote: > On Wednesday, 21 January 2015 at 01:52:51 UTC, ketmar via Digitalmars-d > wrote: > >On Wed, 21 Jan 2015 01:44:07 + > >Vlad Levenfeld via Digitalmars-d wrote: > > > >i can see how this thread slowly turning int

Re: D on Slashdot

2015-01-20 Thread Vlad Levenfeld via Digitalmars-d
On Wednesday, 21 January 2015 at 01:52:51 UTC, ketmar via Digitalmars-d wrote: On Wed, 21 Jan 2015 01:44:07 + Vlad Levenfeld via Digitalmars-d wrote: i can see how this thread slowly turning into "how i was forced to live with windows and how painful it was" thread. ;-) Well misery lo

Re: D on Slashdot

2015-01-20 Thread ketmar via Digitalmars-d
On Wed, 21 Jan 2015 01:44:07 + Vlad Levenfeld via Digitalmars-d wrote: i can see how this thread slowly turning into "how i was forced to live with windows and how painful it was" thread. ;-) signature.asc Description: PGP signature

Re: D on Slashdot

2015-01-20 Thread Vlad Levenfeld via Digitalmars-d
On Wednesday, 21 January 2015 at 01:24:35 UTC, ketmar via Digitalmars-d wrote: On Wed, 21 Jan 2015 01:07:03 + "Adam D. Ruppe via Digitalmars-d" wrote: On Wednesday, 21 January 2015 at 01:04:11 UTC, ketmar via Digitalmars-d wrote: > two days making dmd.exe work with Wine to write the simp

Re: D on Slashdot

2015-01-20 Thread ketmar via Digitalmars-d
On Wed, 21 Jan 2015 01:07:03 + "Adam D. Ruppe via Digitalmars-d" wrote: > On Wednesday, 21 January 2015 at 01:04:11 UTC, ketmar via > Digitalmars-d wrote: > > two days making dmd.exe work with Wine to write the simple > > utility which i can write in two hours using MinGW > > cross-compile

Re: D on Slashdot

2015-01-20 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 21 January 2015 at 01:04:11 UTC, ketmar via Digitalmars-d wrote: two days making dmd.exe work with Wine to write the simple utility which i can write in two hours using MinGW cross-compiler. I've been using dmd with wine for a long time... I find it sometimes seems to deadlock,

Re: D on Slashdot

2015-01-20 Thread ketmar via Digitalmars-d
On Wed, 21 Jan 2015 00:51:26 + bearophile via Digitalmars-d wrote: > Kiith-Sa: > > > http://developers.slashdot.org/story/15/01/20/2026221/is-d-an-underrated-programming-language?utm_source=rss1.0mainlinkanon&utm_medium=feed > > One interesting comment: > http://developers.slashdot.org/comm

Re: D on Slashdot

2015-01-20 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 21 January 2015 at 00:51:29 UTC, bearophile wrote: That's the funny thing about languages like D or Go or Rust that try to replace C. C programmers don't use them. If they get any adoption its from elsewhere (rust seems to be hyped by haskell and rubes, Go by pythonistas)< That'

Re: D on Slashdot

2015-01-20 Thread bearophile via Digitalmars-d
Kiith-Sa: http://developers.slashdot.org/story/15/01/20/2026221/is-d-an-underrated-programming-language?utm_source=rss1.0mainlinkanon&utm_medium=feed One interesting comment: http://developers.slashdot.org/comments.pl?sid=6771453&cid=48860193 That's the funny thing about languages like D or G

Re: D on Slashdot

2015-01-20 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 21 January 2015 at 00:11:46 UTC, Kiith-Sa wrote: http://developers.slashdot.org/story/15/01/20/2026221/is-d-an-underrated-programming-language?utm_source=rss1.0mainlinkanon&utm_medium=feed I said this earlier on reddit too, but I think it is a bit too narrow to look for jobs that

D on Slashdot

2015-01-20 Thread Kiith-Sa via Digitalmars-d
http://developers.slashdot.org/story/15/01/20/2026221/is-d-an-underrated-programming-language?utm_source=rss1.0mainlinkanon&utm_medium=feed