September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky Attachments:
| On Sep 15, 2013 10:55 AM, "Nick Sabalausky" < SeeWebsiteToContactMe@semitwist.com> wrote: > > On Sun, 15 Sep 2013 10:51:11 +0100 > Iain Buclaw <ibuclaw@ubuntu.com> wrote: > > > > I wouldn't say better, but it is a rich environment of functionality and development. Also Linux isn't trying to spy on you, isn't constantly phoning home to Redmond, and isn't sending your fingerprints to the NSA. :-) > > > > That's what Linus *wants* you to think! (...or at least that's what > she said anyway...) > That's got to be the worst twss I've ever had the misfortune to read. :) Regards -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0'; |
September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Sun, 15 Sep 2013 12:06:15 +0200
Jacob Carlborg <doob@me.com> wrote:
> On 2013-09-15 04:58, Nick Sabalausky wrote:
>
> > Even moving the mouse pointer across the screen was (and still is) an effort, no matter what the sensitivity setting. It's no wonder so many Mac users swear by the touchpad - that's the only pointing device where OSX's acceleration is non-broken enough to *let* you move from one end of the screen to the other in *one* motion instead of three or four *and* still be able to hit a button-sized target without surgeon-like hand control.
>
> Apple have never been good at creating computer mice. I'm using a Logitech MX 510 mouse. I can move the cursor across two 24" displays in one motion. No problems.
>
Really? That's weird: I plugged the actual Logitech trackball I always use on Win/Lin into my brother's OSX 10.7 MacBook, and it took on average 3 full "thumb movements" (trackball equivalent to moving the mouse without lifting it) to get from one side of the screen to the other. I've never had trouble going that distance in Windows or Linux with only around 1 full thumb movement.
I tried adjusting the sensitivity (the only mouse sensitivity option it seemed to have), but by the time I could get across the screen in around one movement, it was so hyper-sensitive I could barely hit any specific target without overshooting it a few times.
My old 10.2 eMac had always been the same way, too.
His touchpad, OTOH, was just like on my laptop: Across most of the screen in one big swipe, but still able to do finer-grained movements (at least as well as you can ever do that on a touchpad anyway - admittedly the newer ones are MUCH better than a few years ago, but still not quite mouse/trackball quality...but that's an entirely different matter).
|
September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Sun, 15 Sep 2013 12:08:41 +0200
Jacob Carlborg <doob@me.com> wrote:
> On 2013-09-15 02:09, Nick Sabalausky wrote:
>
> > Assert? That doesn't let you trace the flow. I use this:
> >
> > void trace(string file=__FILE__, size_t line=__LINE__)(string
> > msg="trace") {
> > writefln("%s(%s): %s", file, line, msg);
> > stdout.flush();
> > }
>
> If you use runtime arguments you'll avoid template bloat:
>
> void trace(string msg="trace", string file=__FILE__, size_t
> line=__LINE__)
>
Cool, I didn't know __FILE__/__LINE__ worked as default runtime args. IIRC, they didn't used to (but maybe that was just in D1 where they didn't work as default template args either).
|
September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan M Davis | On Sun, 15 Sep 2013 10:48:38 +0200, Jonathan M Davis <jmdavisProg@gmx.com> wrote:
> As I understand it, a large portion of OpenSuSE users are KDE users rather
> than gnome users, and I've almost never heard anyone say anything good about
> Kubuntu as far as KDE goes. Almost everyone who talks about it seems to talk
> about how poor a KDE distro it is. I used to use OpenSuSE, and I really have
> no complaints about their support of KDE. They actually seem to really go the
> extra mile to make sure that everything is well integrated and works. And
> while there were certainly complaints about their patent agreements with
> Microsoft, I'm not aware of much negative actually coming from that. I'm not
> even sure that any of those are still in effect, particularly since SuSE was
> sold. I'm quite surprised to see someone claiming that Kubuntu is better than
> OpenSuSE with regards to KDE.
I'm a very happy longtime OpenSuSE KDE user. IMO it is the best linux distro out there for desktop use, they are very serious about supporting KDE. OpenSuSE is really very very stable. They have also a LTS version called 'Evergreen' which is of high quality. Besides this the OBS (open build service) is a great initiative which I think should be used to make distro native packages of DMD available.
just my 0.02
|
September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | On 2013-09-15 11:52, Nick Sabalausky wrote: > Windows actually does the same thing, except the filename *is* the > command: > > $ file.txt > > And yea, either way, "open file.txt" or "file.txt", it is kinda nice. > Although I find I use it very rarely, oddly enough. I mostly use "open" to open a directory in the file browser: $ open . That's especially useful when opening hidden folders. When opening text documents or source code, most of the time I open with TextMate, which has it's own command: $ mate main.d By default the shell will not wait for the application. I can force the shell to wait with the -w flag, this is useful when writing git commit messages. > Hmm. What's the benefit over just doing this?: > > $ /Applications/TextEdit.app foo.txt $ /Applications/TextEdit.app foo.txt -bash: /Applications/TextEdit.app: Is a directory .app "files" are bundles, that is, directories which Finder and other tools treat specially. The actual executable is located at /Applications/TextEdit.app/Contents/MacOS/TextEdit In the case of TextEdit, running: $ /Applications/TextEdit.app/Contents/MacOS/TextEdit foo.txt Will complain that foo.txt doesn't exist. The shell will also wait until the application terminates. Running through "open" the shell will not wait for the application and it will open the document properly. -- /Jacob Carlborg |
September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On 2013-09-15 11:51, Iain Buclaw wrote: > I wouldn't say better, but it is a rich environment of functionality and > development. Also Linux isn't trying to spy on you, isn't constantly > phoning home to Redmond, and isn't sending your fingerprints to the > NSA. :-) No, it's phoning home to Google, in the form of Android :) -- /Jacob Carlborg |
September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | On 2013-09-15 12:40, Nick Sabalausky wrote: > Cool, I didn't know __FILE__/__LINE__ worked as default runtime args. > IIRC, they didn't used to (but maybe that was just in D1 where they > didn't work as default template args either). I also keep forgetting that. First it only worked for template arguments. -- /Jacob Carlborg |
September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Attachments:
| On Sep 15, 2013 11:45 AM, "Arjan" <arjan@ask.me> wrote: > > On Sun, 15 Sep 2013 10:48:38 +0200, Jonathan M Davis <jmdavisProg@gmx.com> wrote: > >> As I understand it, a large portion of OpenSuSE users are KDE users rather >> than gnome users, and I've almost never heard anyone say anything good about >> Kubuntu as far as KDE goes. Almost everyone who talks about it seems to talk >> about how poor a KDE distro it is. I used to use OpenSuSE, and I really have >> no complaints about their support of KDE. They actually seem to really go the >> extra mile to make sure that everything is well integrated and works. And while there were certainly complaints about their patent agreements with Microsoft, I'm not aware of much negative actually coming from that. I'm not >> even sure that any of those are still in effect, particularly since SuSE was >> sold. I'm quite surprised to see someone claiming that Kubuntu is better than >> OpenSuSE with regards to KDE. > > > I'm a very happy longtime OpenSuSE KDE user. IMO it is the best linux distro out there for desktop use, they are very serious about supporting KDE. OpenSuSE is really very very stable. They have also a LTS version called 'Evergreen' which is of high quality. Besides this the OBS (open build service) is a great initiative which I think should be used to make distro native packages of DMD available. > Don't think I've come across OBS before, how does that differ from, say, PPAs? Regards -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0'; |
September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | On Sunday, September 15, 2013 06:40:36 Nick Sabalausky wrote:
> On Sun, 15 Sep 2013 12:08:41 +0200
>
> Jacob Carlborg <doob@me.com> wrote:
> > On 2013-09-15 02:09, Nick Sabalausky wrote:
> > > Assert? That doesn't let you trace the flow. I use this:
> > >
> > > void trace(string file=__FILE__, size_t line=__LINE__)(string
> > > msg="trace") {
> > >
> > > writefln("%s(%s): %s", file, line, msg);
> > > stdout.flush();
> > >
> > > }
> >
> > If you use runtime arguments you'll avoid template bloat:
> >
> > void trace(string msg="trace", string file=__FILE__, size_t
> > line=__LINE__)
>
> Cool, I didn't know __FILE__/__LINE__ worked as default runtime args. IIRC, they didn't used to (but maybe that was just in D1 where they didn't work as default template args either).
They have worked as default runtime arguments for quite a long time. That's what all the exception classes use to get their file and line number. I'm not aware of them ever not working as default arguments, but I never used D1, and I certainly don't remember all of the changes early in D2. On a related note, I find it very annoying that in C++, when using __FILE__ and __LINE__ as default arguments, it takes the declaration site rather than the call site. It's really a great innovation of D that they get filled in at the call site in D.
In any case, using __FILE__ or __LINE__ as a default template argument is almost always a bad idea, because it makes it so that you end up with a new template instantiation pretty much every time you use it, which is going to cause a ridiculous amount of code bloat if the template is used much at all.
- Jonathan M Davis
|
September 15, 2013 Re: [OT] Which IDE / Editor do you use? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On Sun, 15 Sep 2013 11:26:16 +0100
Iain Buclaw <ibuclaw@ubuntu.com> wrote:
> On Sep 15, 2013 10:55 AM, "Nick Sabalausky" < SeeWebsiteToContactMe@semitwist.com> wrote:
> >
> > On Sun, 15 Sep 2013 10:51:11 +0100
> > Iain Buclaw <ibuclaw@ubuntu.com> wrote:
> > >
> > > I wouldn't say better, but it is a rich environment of functionality and development. Also Linux isn't trying to spy on you, isn't constantly phoning home to Redmond, and isn't sending your fingerprints to the NSA. :-)
> > >
> >
> > That's what Linus *wants* you to think! (...or at least that's what
> > she said anyway...)
> >
>
> That's got to be the worst twss I've ever had the misfortune to read. :)
>
Usually I do my "twss to things that make no sense" in voice, but then the NG doesn't get to enjoy it! Or at least that's what she wanted them to say...
(I also like combining them in terrible ways. Fun, fun, fun...)
|
Copyright © 1999-2021 by the D Language Foundation