Don't buy too heavily into the "fast" of SWT. It's not fast at all on MacOSX. However, it is blazing fast on Windows. But then again, there are some blazing fast Swing apps on Windows too.
At work, on my Win2k machine, I use WebSphere Studio Application Developer (which is basically just Eclipse with a bunch of extensions from IBM). WSAD/Eclipse is a SWT application, and its performance is excellent. Yes, you can tell it's not written with MFC, but it's very very fast. But I also use jEdit (for stuff like Python or PL/SQL), and it's just as fast, if not faster sometimes. And that's written in Swing.
Re:Does certification actually matter?
on
JCert Is Dead
·
· Score: 1
How can I become a Sun Certified Java Instructor? (I'm already a SCJP, if that matters.)
It's 6:18 in the morning so I'm a little groggy, but I honestly thought the headline read
"Information Pollution" is one of the newer buzz-phrases, appearing in various media to describe unwanted phone calls, faxes, emails, Jakob Nielsen, etc.
Also, this guy has a another funny point about Jakob Nielsen's press photos.
GUI toolkits like Swing and even the infamously "native" SWT perform slowly, but the actual JVM on a Mac supposedly performs on average better than the windows JVM.
Nota bene, this is only what I have heard, and have no evidence.
Thanks for the link and references. I will definitely check these out -- why didn't I think of going to IBM's site for Notes info: I'm so used to looking for [non-commercial] open source sites and mailing lists.
Thanks for the advice. I do hope you write an "Advanced Notes Programming" book. I'm actually a J2EE developer myself, so I'm not intimidated by the idea of writing code for Notes -- except for the fact that it sounds like it's so easy as to be almost boring. But since we're forced to use it, I figure may as well push its limits and make it work for me (in the way that you and others describe is possible).
Not sure if it's something you'd consider, but I bet your book notes would be useful to a lot of people even if you never do publish it in print (if you were to put it online or something).
Lotus Notes mail is a programmer's dream. Every aspect of the application interface is built on open source, meaning you can read it and change it.
We're forced into using Notes at my job too (a small software team, none of us have ever used it before). I can't say I like it very much, but I have heard about how Lotus Notes is supposed to be infinitely customizeable. I have yet to find a book or something that explains how to approach programming on Notes. Or any documentation, for that matter, that goes beyond simple user-level configuration. Can you point me toward some kind of intro to Notes programming?
Re:Javascript insecurity
on
Javascrypt
·
· Score: 1
I used Eclipse at my last job, but now I'm fortunate enough to be using WebSphere Studio Application Developer, which is essentially Eclipse on steroids -- same core technology, but far more features. Anyway, the point wasn't to gloat about WSAD but to support the OP who said that the refactoring support is incredible -- in fact, I really can't imagine working on a large code base without it, now that I've become addicted to its convenience and ease of use. Even something as simple as "rename", no global search and replace can touch the speed, reliability, and convenience with which I reassign better names to locals, members, and classes.
And the refactoring features are all present in the free Eclipse 2.0, so you don't need to pay the primo dollars for WSAD if refactoring ease is your main attraction to an IDE.
The DoD and intelligence community may very well ban picturephones for security reasons.
The DoD and intelligence community have banned picturephones for security reasons. I work on a naval base, and you are not allowed to take a camera of any kind (including cell phones with cameras) onto the base without a special permit. If you are caught with a camera and no permit, it will be confiscated permanently.
OK, I guess I need a programming lesson then. For a database driven application, how do you propose not to have hardcoded SQL statements? Have the SQL statements looked up in the database or something? And how would you do that without hardcoding statements?
I am genuinely interested by the way...
Properties files or equivalent externalizing mechanism.
who absolutely positively -HATES- the idea of 'paired programming'? While I wholeheartedly agree with having lots of meetings and discussions during the design phase (requirements, functional spec, detailed design) and during the review phase (post mortem, code reviews) I feel that having two coders on one computer is extremely wasteful and unbelievably stressful.
Extreme programming moves the design and review phases into tandem with the development phases -- they all go hand in hand, not split into separate sections with "lots of meetings". You should read Robert Martin's Agile Software Development. That would give you a better sense of what it's all about.
So, just so I understand this, you can use an enumeration as an integer, but you can't pass an integer into a function that expects one of the indicated enumerations?
The type-safe enum idiom in Java, which several people on this thread have mentioned, is a great example. In a language with native support for enumerated constants, such as C, the generator and idiom would be unnecessary; you'd simply write the code.
Perhaps it is my misunderstanding, but I thought that the C version of enums are nothing more than integers -- thus, there is no type safety whatsoever to speak of. And this can be easily done in Java (or just about any other language). Whereas the type-safe enum pattern is about making sure that only a reference to the enumerations is allowed to be used, so it's impossible to slip in an illegitimate value.
Like I said, I could be wrong since I'm not much of a C programmer, but I thought that the C compiler simply looks for an integer, which means theoretically a person could pass it any integer and not just one of the enumerations.
Because the AppleScript implementation on MacOSX gives you programmatic access to Apple Events. Those don't exist on any other platform. Apple Events let one application communicate directly to an API established by another application. In other words, AppleScript is less a scripting language (like Perl/Python/etc) and more a way of executing a series of Apple Events, with limited additional scripting capability.
Yes, it's a very niche market, but folks like Pudge have been working on ways to communicate via Apple Events from Perl (and presumably other languages).
(even with OS X, my parents would never know to click on the Apple menu to find system preferences if I didn't tell them).
That's why System Preferences appears in the Dock when the operating system is first installed onto the machine. If someone removes it from the dock, then hopefully they can explain to other users how to get back to the system preferences.
JBoss is already an Open Source implementation. Might it be a better effort to contribute and make JBoss stronger?
Yes, it would. However, the license used by Apache projects is less restrictive than the LGPL that is used in JBoss licensing. Also, many of the developers who are most interested in pushing Geronimo out of the incubator are actually former committers on the JBoss project. There is some bad blood on this issue, and it does not look like JBoss Group is interested in letting these people be committers to both the Apache project and the JBoss project.
My bad. I just remember my father complaining to me about how he bought a DVD burner without realizing he couldn't buy iDVD. But that was last year, before iLife. I didn't know that was in there, I'll have to mention it to him (thanks).
I may be mistaken, but I was under the impression that you cannot buy iDVD -- it must ship on the computer you purchased (which presumably features the hardware that is required to use it). This means that this entire discussion is about how to circumvent copy protection. Under the DMCA, I hereby sue this slashdot story.
Re:Former perl, python, java geek gone to Ruby
on
Ruby 1.8.0 Released
·
· Score: 4, Insightful
AFAIK, Python doesn't let you subclass built-in types, and it certainly doesn't let you treat integers as objects.
>>> class IntegerSubclass(int): ... pass
>>> issubclass(IntegerSubclass, int)
1
In summary though, I don't know Python or Ruby well enough to enumerate all the differences between them. I just find that nearly every program I want to write becomes much shorter and easier in Ruby than it was in Python.
Doesn't sound like you've really spent enough time in Python to make that comparison.
Don't buy too heavily into the "fast" of SWT. It's not fast at all on MacOSX. However, it is blazing fast on Windows. But then again, there are some blazing fast Swing apps on Windows too.
At work, on my Win2k machine, I use WebSphere Studio Application Developer (which is basically just Eclipse with a bunch of extensions from IBM). WSAD/Eclipse is a SWT application, and its performance is excellent. Yes, you can tell it's not written with MFC, but it's very very fast. But I also use jEdit (for stuff like Python or PL/SQL), and it's just as fast, if not faster sometimes. And that's written in Swing.
How can I become a Sun Certified Java Instructor? (I'm already a SCJP, if that matters.)
Nintendo is already using PPC chips in the GameCube (Dolphin is a G4).
It's 6:18 in the morning so I'm a little groggy, but I honestly thought the headline read
"Information Pollution" is one of the newer buzz-phrases, appearing in various media to describe unwanted phone calls, faxes, emails, Jakob Nielsen, etc.
Also, this guy has a another funny point about Jakob Nielsen's press photos.
GUI toolkits like Swing and even the infamously "native" SWT perform slowly, but the actual JVM on a Mac supposedly performs on average better than the windows JVM.
Nota bene, this is only what I have heard, and have no evidence.
Thanks for the link and references. I will definitely check these out -- why didn't I think of going to IBM's site for Notes info: I'm so used to looking for [non-commercial] open source sites and mailing lists.
Thanks for the advice. I do hope you write an "Advanced Notes Programming" book. I'm actually a J2EE developer myself, so I'm not intimidated by the idea of writing code for Notes -- except for the fact that it sounds like it's so easy as to be almost boring. But since we're forced to use it, I figure may as well push its limits and make it work for me (in the way that you and others describe is possible).
Not sure if it's something you'd consider, but I bet your book notes would be useful to a lot of people even if you never do publish it in print (if you were to put it online or something).
Lotus Notes mail is a programmer's dream. Every aspect of the application interface is built on open source, meaning you can read it and change it.
We're forced into using Notes at my job too (a small software team, none of us have ever used it before). I can't say I like it very much, but I have heard about how Lotus Notes is supposed to be infinitely customizeable. I have yet to find a book or something that explains how to approach programming on Notes. Or any documentation, for that matter, that goes beyond simple user-level configuration. Can you point me toward some kind of intro to Notes programming?
You mean the implementation, not the language.
Why was this filed as an "Apache" article?
Note too that Apple has at times violated its own HIG.
I used Eclipse at my last job, but now I'm fortunate enough to be using WebSphere Studio Application Developer, which is essentially Eclipse on steroids -- same core technology, but far more features. Anyway, the point wasn't to gloat about WSAD but to support the OP who said that the refactoring support is incredible -- in fact, I really can't imagine working on a large code base without it, now that I've become addicted to its convenience and ease of use. Even something as simple as "rename", no global search and replace can touch the speed, reliability, and convenience with which I reassign better names to locals, members, and classes.
And the refactoring features are all present in the free Eclipse 2.0, so you don't need to pay the primo dollars for WSAD if refactoring ease is your main attraction to an IDE.
The DoD and intelligence community may very well ban picturephones for security reasons.
The DoD and intelligence community have banned picturephones for security reasons. I work on a naval base, and you are not allowed to take a camera of any kind (including cell phones with cameras) onto the base without a special permit. If you are caught with a camera and no permit, it will be confiscated permanently.
Senator Norm Coleman (R.-Minn.) has announced that he will seek to limit federal penalties for copyright downloads
I didn't realize there were federal penalties for downloading copyrights.
OK, I guess I need a programming lesson then. For a database driven application, how do you propose not to have hardcoded SQL statements? Have the SQL statements looked up in the database or something? And how would you do that without hardcoding statements? I am genuinely interested by the way...
Properties files or equivalent externalizing mechanism.
who absolutely positively -HATES- the idea of 'paired programming'? While I wholeheartedly agree with having lots of meetings and discussions during the design phase (requirements, functional spec, detailed design) and during the review phase (post mortem, code reviews) I feel that having two coders on one computer is extremely wasteful and unbelievably stressful.
Extreme programming moves the design and review phases into tandem with the development phases -- they all go hand in hand, not split into separate sections with "lots of meetings". You should read Robert Martin's Agile Software Development. That would give you a better sense of what it's all about.
So, just so I understand this, you can use an enumeration as an integer, but you can't pass an integer into a function that expects one of the indicated enumerations?
The type-safe enum idiom in Java, which several people on this thread have mentioned, is a great example. In a language with native support for enumerated constants, such as C, the generator and idiom would be unnecessary; you'd simply write the code.
Perhaps it is my misunderstanding, but I thought that the C version of enums are nothing more than integers -- thus, there is no type safety whatsoever to speak of. And this can be easily done in Java (or just about any other language). Whereas the type-safe enum pattern is about making sure that only a reference to the enumerations is allowed to be used, so it's impossible to slip in an illegitimate value.
Like I said, I could be wrong since I'm not much of a C programmer, but I thought that the C compiler simply looks for an integer, which means theoretically a person could pass it any integer and not just one of the enumerations.
Because the AppleScript implementation on MacOSX gives you programmatic access to Apple Events. Those don't exist on any other platform. Apple Events let one application communicate directly to an API established by another application. In other words, AppleScript is less a scripting language (like Perl/Python/etc) and more a way of executing a series of Apple Events, with limited additional scripting capability.
Yes, it's a very niche market, but folks like Pudge have been working on ways to communicate via Apple Events from Perl (and presumably other languages).
(even with OS X, my parents would never know to click on the Apple menu to find system preferences if I didn't tell them).
That's why System Preferences appears in the Dock when the operating system is first installed onto the machine. If someone removes it from the dock, then hopefully they can explain to other users how to get back to the system preferences.
JBoss is already an Open Source implementation. Might it be a better effort to contribute and make JBoss stronger?
Yes, it would. However, the license used by Apache projects is less restrictive than the LGPL that is used in JBoss licensing. Also, many of the developers who are most interested in pushing Geronimo out of the incubator are actually former committers on the JBoss project. There is some bad blood on this issue, and it does not look like JBoss Group is interested in letting these people be committers to both the Apache project and the JBoss project.
My bad. I just remember my father complaining to me about how he bought a DVD burner without realizing he couldn't buy iDVD. But that was last year, before iLife. I didn't know that was in there, I'll have to mention it to him (thanks).
I may be mistaken, but I was under the impression that you cannot buy iDVD -- it must ship on the computer you purchased (which presumably features the hardware that is required to use it). This means that this entire discussion is about how to circumvent copy protection. Under the DMCA, I hereby sue this slashdot story.
You have much higher tolerance than I do!
AFAIK, Python doesn't let you subclass built-in types, and it certainly doesn't let you treat integers as objects.
>>> class IntegerSubclass(int):
... pass
>>> issubclass(IntegerSubclass, int)
1
In summary though, I don't know Python or Ruby well enough to enumerate all the differences between them. I just find that nearly every program I want to write becomes much shorter and easier in Ruby than it was in Python.
Doesn't sound like you've really spent enough time in Python to make that comparison.