Search |
||
joconner's BlogWriting CSV files as UTF-8 for ExcelPosted by joconner on March 24, 2010 at 12:13 AM PDT
Yesterday a coworker complained that Excel wasn't displaying a CSV (comma separated values) file correctly. Our application allows the user to send a report via email. The application provides the report as a CSV file. Because the report can contain multilingual text, we've decided to encode it in UTF-8. Unfortunately, when users click on the file to display it, usually in Excel, all of the multi-byte UTF-8 characters display incorrectly. »
Related Topics >>
Blogs Programming Comments
Comments are listed in date ascending order (oldest first)
Geeky predictions for 2010Posted by joconner on January 4, 2010 at 9:43 AM PST
Everyone has something to say about the past. Few can see the future. Here are my predictions for 2010!
Got predictions of your own? Let's hear them!
»
Comments
Comments are listed in date ascending order (oldest first)
JavaFX Authoring Tool
Submitted by wsnyder6 on Mon, 2010-01-04 12:14.
My pessimistic side would agree with you about the JavaFX authoring tool. Sigh. Why annouce it, saying a dev preview by end of 2009 - then keep absolultey silent about it? hope you are wrong
Submitted by lstroud on Mon, 2010-01-04 12:35.
1. I think this would be detrimental for java. Eclipse was already having trouble keeping pace. Not having a competitor would make it worse. More over, IBM will become Oracle's chief rival. I would imagine they would like to force IBM to spend money on dev tools.
2. don't care, but this would seem better 3. Don't care...but this would seem better 4. Oracle needs the hardware to compete with IBM for the BIG contracts. IBM's bundling of software with hardware has been a thorn in Oracle's side. If they can offer the hardware as well, then oracle gains a strategic selling advantage. I think this may be real. However, I would expect it to focus on midrange and high end and let the commodity stuff go. 5. I think the authoring tool will be announced as soon as the merger is final. I have no way of knowing, but that is my suspicion. Of course, this would be a dev preview with the final release occuring at JavaOne...which will be OracleWorld. agree w/lstroud's #4, except...
Submitted by johnl4 on Mon, 2010-01-04 12:48.
I read a comment somewhere a while ago (on slashdot, I think, which has a few thinkers mixed in w/all the kiddies) that said Oracle probably wanted a complete stack (hardware up) to go head-to-head against Microsoft.
Sounds plausible to me, as does your comment. The only thing is: you cannot sacrifice the entry-level. That's how MS became so big. Oracle will not sell Sun's hardware business
Submitted by fauigerzigerk on Mon, 2010-01-04 15:41.
I'm surprised about (4). Why would anyone spend billions of dollars to buy a hardware company just to sell off its hardware business? I don't think Sun has significant software revenues and what it has is closely linked to the hardware business. I think Oracle wants to be the one stop shop for big enterprises and to keep IBM and HP out Oracle needs to sell servers and storage.
No way
Submitted by rdelaplante on Tue, 2010-01-05 07:38.
Oracle really WANTS Sun's hardware business, it was a major reason they bought Sun. Just look at their Exadata system. They used to build a "database appliance" with HP hardware to compete with Teradata, but now Exadata 2 is build with their own hardware. Plus Solaris is the most popular platform for running the Oracle database, and therefore Sun hardware is very popular with Oracle customers. Now Oracle can provide an end to end stack, from the CPU and hardware right up to the middleware and services.
I also disagree with you point on NetBeans. Based on your logic, they would have dumped JDeveloper a long time ago. They didn't. That's because there is a large number of internal employees that use it, it is used for some of their tools like SQL Developer, and there are a lot of Oracle customers that use it for Oracle specific development. Once they buy Sun, there will be a lot of Sun employees that use and prefer NetBeans, and Sun products built on the NetBeans platform like Visual VM, and GlassFish Enterprise Monitor. There is a PDF on Oracle's website that talks about the future of many Sun software products including NetBeans, and Oracle said they will continue to develop NetBeans to provide choice to their customers. There would be LOT of angry developers if they cut NetBeans loose because the large NetBeans fan base finds it far superior to Eclipse.
I don't get your point about Adobe announcing a designer tool. They already have one, and I doubt they will ever touch JavaFX. I predict that the release of JavaFX 1.3 along with the 1.0 release of the designer tool and composer tool (like matisse) will be the real 1.0 release. Once developers have a full stack that they can use, then I predict most *Java* developers using Adobe Flex will choose Java FX instead because it is an all Java solution, and integrates really well with existing Java code and technologies. The same reason .NET developers prefer Silverlight over Flex. Even if some existing Java developers who use Flex choose not to abandon their new Flex skills, anyone new to RIA will find the use of Java FX a much better option than Flex.
JavaOne 2010?
Submitted by dwalend on Tue, 2010-01-05 17:34.
"... limp into existence at JavaOne 2010" You're predicting that there will be a JavaOne 2010? Well, considering that there
Submitted by fabriziogiudici on Wed, 2010-01-06 09:07.
Well, considering that there has not been any CFP, that usually took place in Fall, I'd bet that there will no J1 2010, or it won't be in June, or it will be very different from the past (refinement process for talks has always been very complex, with multiple reviews and edits - too complex IMO - and took months). For the record, the Moscone
Submitted by fabriziogiudici on Wed, 2010-01-06 09:09.
For the record, the Moscone is still booked for J1 2010: http://www.moscone.com/site/do/event/view?nav.type=0&nav.filter=1005&nav... RE:Geeky predictions for 2010
Submitted by manishhiray on Wed, 2010-01-06 02:57.
The hardware part of sun (app servers,storage,networking etc.) will be quite useful to Oracle if they are planning to venture into cloud software service offerings, where they wont have to rely on/procure 3rd party physical infrastructure by paying up additional costs.
One thing to watch for in 2010 will be where Oracle parks the MySQL or how it plugs that in the existing RDBMS game plan.
i also see Java Fx Vs. Flex in the same boat as the Netbeans Vs. Eclipse. Both of them are good tools but challenges are in terms of current market share/developer community support.
I don't make predictions as
Submitted by fabriziogiudici on Wed, 2010-01-06 09:04.
I don't make predictions as 99% of predictions are wrong, so I frankly find them a wasted effort ;-) ButI think that NetBeans is palatable for Oracle for some reasons, one very important being the NetBeans Platform. JDeveloper doesn't have anything similar; IDEA has recently introduced it, but it's focused on IDE tasks; so basically there are only two products around, NetBeans and Eclipse RCP. Sun, among other bad things, has never historically pushed it, and in spite of it there's a huge platform of users - it sufficed for Geertjan Wielenga to devote some time to this task, and it discovered dozens, and many are very large (manufacturers, telcos, military). If you read at the interviews, most of these customers choose the NetBeans RCP because it's Swing and would never go the way of the Eclipse RCP - thus, basically the two products fit two very complementary portfolio of users. Sun's management, also considering the input from the community, has acknowledge that and recently changed attitude towards it. This segment alone can be immediately profitable by selling consultancy and education - after all, third parties and freelances (as me) are already doing business on it. IDE Platform
Submitted by gdavison on Thu, 2010-01-07 06:47.
Actually JDeveloper does have an equivalent core platform that is used to build other tools in Oracle such as SQL Developer; but it is not something that has been externalized.
Gerard
Speculations regarding Google Chrome OSPosted by joconner on July 9, 2009 at 1:57 AM PDT
Today's announcement of Google's Chrome OS is exciting in a few ways. I think it has implications for Java developers. With hindsight, I now think that Larry Ellison was hinting about Google's Chrome OS when he expressed some of his desires for JavaFX on small netbook-like devices. So, without any real knowledge and armed with nothing more than a vivid imagination, I provide some of my predictions/speculations for the upcoming Google Chrome OS and the devices it will power:
Ok, some of that's just silly, crazy talk...or is it? We'll see over the next few months. Oh, one last thing. I just cannot resist the urge to compare Google Chrome OS to Sun's Java OS. Do you remember that? I could hardly find any references to it, although I did find an old article called Inside the IBM JavaOS Project. At some point, Sun apparently enslisted IBM to help. At any rate, the Java OS project started (and ended) a long, long time ago. It's been a decade at least. Remember the Hot Java browser? I actually ran it and used it. I remember that one of our tests at Sun was to run the SwingSet demo on it. But now I'm just distracted. What was I saying? Oh yes, there are even more similarities. Java OS is to Google Chrome OS as the Hot Java browser is to the Chrome browser. Maybe Google Chrome OS will finally be the successful reincarnation of JavaOS? It's all fun to think about, and as I suggested, pure speculation at this point. »
Related Topics >>
Business Comments
Comments are listed in date ascending order (oldest first)
Submitted by fabriziogiudici on Thu, 2009-07-09 04:50.
Probably a better comparison would be with OpenMoko.
Submitted by opinali on Thu, 2009-07-09 06:28.
According to some reports, e.g from Ars, you are off the mark with some items: Chrome OS will not be based on Android, will not have a Java SDK - unless they add this as a bridge to run Android apps but that would be certainly secondary, and probably optional. Its browser will be Google Chrome with the V8 JavaScript VM (Android uses SquirrelFish); and the brower will be the primary SDK - augmented by Google's RIA tech like Google Gears and O3D. In this sense, the best comparision is with Palm's new webOS.
Of course I'd expect Google to reuse many low-level components from Android, like their customized Linux kernel, network stack, core media support, and other components that would be needed in a netbook.
Chrome OS will be powerful enough to run the full Java SE, so we can forget the major distraction that Android was. ;-)
Submitted by fabriziogiudici on Thu, 2009-07-09 06:36.
"Chrome OS will be powerful enough to run the full Java SE"
... it depends on whether Google will allow us to run it.
Submitted by opinali on Thu, 2009-07-09 08:28.
If the Chrome OS's browser is basically identical to the Chrome we know, i.e. a full featured browser including the interfaces necessary for plugins, then there's litte Google can do technically to stop somebody else to provide a JRE. Even in Android it should be relatively easy to port Java, remarkably after they introduced the native SDK.
And considering that Chrome OS will be a browser-centric OS, I doubt very much that Google would remove the plugin capacity to exclude not only Java but other important plugins like Flash, Acrobat Reader, custom security plugins used by online banks, etc. Smartphones can get away with this because the devices are not powerful enough, have no decent displays or keyboards, for a first-class unrestricted browsing experience; and users don't expect full PC-level functionality from these devices.
Submitted by mikeazzi on Thu, 2009-07-09 11:59.
The one thing I like about the Chrome OS/Browser is that they are taking the isolation concept to a new level within the browser with the use of separate address space for each tab. I wonder when Sun will wake up and smell the coffee and add Isolates support to the JVM.
Submitted by fabriziogiudici on Fri, 2009-07-10 11:46.
"Google can do technically to stop somebody else to provide a JRE"
Technically. In the perspective of "moral suasion", I'm sure Google can do a lot (surely a lot on Sun in the current situation, maybe after the Oracle buy things will be different). This would not be a problem for Java, as it's FLOSS and everybody could do the port. It could be a problem for JavaFX. I think there are no technical reasons for not having JavaFX on Android, but...
Submitted by fabriziogiudici on Fri, 2009-07-10 11:48.
"add Isolates support to the JVM."
Do you know that there is a complete specification for that? It's JSR 121 and it's three years old. Nothing has been done after the specification.
Submitted by coxcu on Fri, 2009-07-10 17:37.
I have lobbied (well, the occasional annoying email and random blog or forum post) Sun in the past to release the sources for both JavaOS and HotJava. Much of that was driven wanting to see what they could do for the Java Isolate problem space.
http://books.google.com/books?id=w7BQAAAAMAAJ&q=javaos&dq=javaos&ei=tMxX...
Speculations regarding Google Chrome OSPosted by joconner on July 9, 2009 at 1:57 AM PDT
Today's announcement of Google's Chrome OS is exciting in a few ways. I think it has implications for Java developers. With hindsight, I now think that Larry Ellison was hinting about Google's Chrome OS when he expressed some of his desires for JavaFX on small netbook-like devices. So, without any real knowledge and armed with nothing more than a vivid imagination, I provide some of my predictions/speculations for the upcoming Google Chrome OS and the devices it will power:
Ok, some of that's just silly, crazy talk...or is it? We'll see over the next few months. Oh, one last thing. I just cannot resist the urge to compare Google Chrome OS to Sun's Java OS. Do you remember that? I could hardly find any references to it, although I did find an old article called Inside the IBM JavaOS Project. At some point, Sun apparently enslisted IBM to help. At any rate, the Java OS project started (and ended) a long, long time ago. It's been a decade at least. Remember the Hot Java browser? I actually ran it and used it. I remember that one of our tests at Sun was to run the SwingSet demo on it. But now I'm just distracted. What was I saying? Oh yes, there are even more similarities. Java OS is to Google Chrome OS as the Hot Java browser is to the Chrome browser. Maybe Google Chrome OS will finally be the successful reincarnation of JavaOS? It's all fun to think about, and as I suggested, pure speculation at this point. »
Related Topics >>
Business Comments
Comments are listed in date ascending order (oldest first)
Submitted by fabriziogiudici on Thu, 2009-07-09 04:50.
Probably a better comparison would be with OpenMoko.
Submitted by opinali on Thu, 2009-07-09 06:28.
According to some reports, e.g from Ars, you are off the mark with some items: Chrome OS will not be based on Android, will not have a Java SDK - unless they add this as a bridge to run Android apps but that would be certainly secondary, and probably optional. Its browser will be Google Chrome with the V8 JavaScript VM (Android uses SquirrelFish); and the brower will be the primary SDK - augmented by Google's RIA tech like Google Gears and O3D. In this sense, the best comparision is with Palm's new webOS.
Of course I'd expect Google to reuse many low-level components from Android, like their customized Linux kernel, network stack, core media support, and other components that would be needed in a netbook.
Chrome OS will be powerful enough to run the full Java SE, so we can forget the major distraction that Android was. ;-)
Submitted by fabriziogiudici on Thu, 2009-07-09 06:36.
"Chrome OS will be powerful enough to run the full Java SE"
... it depends on whether Google will allow us to run it.
Submitted by opinali on Thu, 2009-07-09 08:28.
If the Chrome OS's browser is basically identical to the Chrome we know, i.e. a full featured browser including the interfaces necessary for plugins, then there's litte Google can do technically to stop somebody else to provide a JRE. Even in Android it should be relatively easy to port Java, remarkably after they introduced the native SDK.
And considering that Chrome OS will be a browser-centric OS, I doubt very much that Google would remove the plugin capacity to exclude not only Java but other important plugins like Flash, Acrobat Reader, custom security plugins used by online banks, etc. Smartphones can get away with this because the devices are not powerful enough, have no decent displays or keyboards, for a first-class unrestricted browsing experience; and users don't expect full PC-level functionality from these devices.
Submitted by mikeazzi on Thu, 2009-07-09 11:59.
The one thing I like about the Chrome OS/Browser is that they are taking the isolation concept to a new level within the browser with the use of separate address space for each tab. I wonder when Sun will wake up and smell the coffee and add Isolates support to the JVM.
Submitted by fabriziogiudici on Fri, 2009-07-10 11:46.
"Google can do technically to stop somebody else to provide a JRE"
Technically. In the perspective of "moral suasion", I'm sure Google can do a lot (surely a lot on Sun in the current situation, maybe after the Oracle buy things will be different). This would not be a problem for Java, as it's FLOSS and everybody could do the port. It could be a problem for JavaFX. I think there are no technical reasons for not having JavaFX on Android, but...
Submitted by fabriziogiudici on Fri, 2009-07-10 11:48.
"add Isolates support to the JVM."
Do you know that there is a complete specification for that? It's JSR 121 and it's three years old. Nothing has been done after the specification.
Submitted by coxcu on Fri, 2009-07-10 17:37.
I have lobbied (well, the occasional annoying email and random blog or forum post) Sun in the past to release the sources for both JavaOS and HotJava. Much of that was driven wanting to see what they could do for the Java Isolate problem space.
http://books.google.com/books?id=w7BQAAAAMAAJ&q=javaos&dq=javaos&ei=tMxX...
Link and run: Binding var and def variablesPosted by joconner on June 27, 2009 at 12:22 PM PDT
The Flex guys have enjoyed this for a long time. When I discussed JavaFX with a friend who is familiar with Flex, he shrugged the feature off, clearing unimpressed with JavaFX despite his appreciation for the feature itself. Still, for Java enthusiasts, Another link and run post. Read more about using the »
Related Topics >>
Programming Comments
Comments are listed in date ascending order (oldest first)
Link and run: Binding var and def variablesPosted by joconner on June 27, 2009 at 12:22 PM PDT
The Flex guys have enjoyed this for a long time. When I discussed JavaFX with a friend who is familiar with Flex, he shrugged the feature off, clearing unimpressed with JavaFX despite his appreciation for the feature itself. Still, for Java enthusiasts, Another link and run post. Read more about using the »
Related Topics >>
Programming Comments
Comments are listed in date ascending order (oldest first)
JavaFX for-loop considerationsPosted by joconner on June 23, 2009 at 8:50 PM PDT
I hate to simply drop a link and run, but that's essentially what I'm doing here until others learn about my new blog Learning JavaFX. My most recent dip into JavaFX involves for-loop constructions. And this experience brings up an interesting question for me. How do you access a variable outside the loop if it contains the same name as the "formal parameter" of the loop itself? For examples of this and more details, read the blog entry: »
Related Topics >>
Programming Comments
Comments are listed in date ascending order (oldest first)
JavaFX for-loop considerationsPosted by joconner on June 23, 2009 at 8:50 PM PDT
I hate to simply drop a link and run, but that's essentially what I'm doing here until others learn about my new blog Learning JavaFX. My most recent dip into JavaFX involves for-loop constructions. And this experience brings up an interesting question for me. How do you access a variable outside the loop if it contains the same name as the "formal parameter" of the loop itself? For examples of this and more details, read the blog entry: »
Related Topics >>
Programming Comments
Comments are listed in date ascending order (oldest first)
Learning JavaFX?Posted by joconner on June 14, 2009 at 8:19 PM PDT
Long ago, I started a series called JavaFX Learning Curve Journal. Those articles/journals were on java.sun.com at the very beginning of the JavaFX project. I recently tried to find some of those articles, and I think they've been removed or improved significantly. They're certainly not recognizable in their original form. That's probably a good thing. The language has changed since then, and we all know how absolutely misleading and frustrating an outdated article can be. I'm still interested in this new language though, more so now than then really. When I moved from Sun a couple years ago, I knew JavaFX wasn't ready for prime time. I stopped tinkering with it. I stopped reading about it. I stopped writing about it. However, I'm re-evaluating now. JavaFX certainly seems to be the future of desktop applications. I know there was a lot of denying that Swing and JavaFX were competing. But let's just face the truth ok. Limited resources, limited time, limited developers....Sun can't put its continuous efforts into both, right? Something will get starved for resources. I spent a lot of time becoming proficient with Swing. If you are a Swing developer, you most certainly put in a lot of time learning it as well. However, if you want to continue developing Java desktop user interfaces, I think the future is JavaFX. Sun just isn't backing down from it. Despite its shaky start, JavaFX does seem ready for serious consideration at this point. So, I've done two things to jump back into the JavaFX mix:
I'm just getting started of course. So this isn't a bad time to start listening in, especially if you're just getting started too. We'll tackle this learning curve together, and hopefully have some fun along the way. »
Related Topics >>
Programming Comments
Comments are listed in date ascending order (oldest first)
Submitted by fabriziogiudici on Mon, 2009-06-15 04:59.
Well, but with Oracle stepping in, I don't think we will have resource problems in future. Oracle's style is either to stop it, or to properly develop it.
Given that, it's not necessary that the most important parts of Swing are developed by Sun. The most interesting developments IMO are with SwingLabs, that is an independent open source project.
Submitted by hanxi001 on Tue, 2009-06-16 07:35.
Hi John,I'm a Chinese boy! I have started to learn JavaFX a week ago.Glad to follow you!
Submitted by osbald on Tue, 2009-06-16 07:36.
I'd have no problem trading up my 8+ years of Swing development exp for JavaFX if they're was any demand in the marketplace for those skills - but right now there isn't any. Well any in this part of the UK at any rate, stated my current position at end of http://tinyurl.com/myvrlc I can't find much of any cliently-Java work. Not that I'm singling out JavaFX here, theres a general lack of significant interest in Silverlight, Flex RIAs in general. Seems to be a big difference between what technologies developers find hot (ruby,groovy,grails) and what employers are asking for right now. Actually I'm a little shocked/horrified it hasnt changed much in last 10 years, still very much archetypal Java/J2EE/C++, Struts(1.0), JSF(1.0), EJB(2.0). I depend on my job to pay my bills, learning JavaFX almost certainly won't for the immediate future (if ever).
I also touched on the outdated JavaFX posts http://twitter.com/osbald/status/2116031308 last week and Josh said send him links to old articles and he'll get rid of them http://twitter.com/joshmarinacci/status/2118421756 (only on his sites?) I thought maybe some article guidance notes might help, always state the version article written by, where possible tag blog posts with relevant javafx version category? possible even use badges? just because an articles using an outdated API dosnt necessary mean its useless. ref http://twitter.com/osbald/status/2123031242 , http://twitter.com/osbald/status/2123047900 , http://twitter.com/osbald/status/2123065276
Learning JavaFX?Posted by joconner on June 14, 2009 at 8:19 PM PDT
Long ago, I started a series called JavaFX Learning Curve Journal. Those articles/journals were on java.sun.com at the very beginning of the JavaFX project. I recently tried to find some of those articles, and I think they've been removed or improved significantly. They're certainly not recognizable in their original form. That's probably a good thing. The language has changed since then, and we all know how absolutely misleading and frustrating an outdated article can be. I'm still interested in this new language though, more so now than then really. When I moved from Sun a couple years ago, I knew JavaFX wasn't ready for prime time. I stopped tinkering with it. I stopped reading about it. I stopped writing about it. However, I'm re-evaluating now. JavaFX certainly seems to be the future of desktop applications. I know there was a lot of denying that Swing and JavaFX were competing. But let's just face the truth ok. Limited resources, limited time, limited developers....Sun can't put its continuous efforts into both, right? Something will get starved for resources. I spent a lot of time becoming proficient with Swing. If you are a Swing developer, you most certainly put in a lot of time learning it as well. However, if you want to continue developing Java desktop user interfaces, I think the future is JavaFX. Sun just isn't backing down from it. Despite its shaky start, JavaFX does seem ready for serious consideration at this point. So, I've done two things to jump back into the JavaFX mix:
I'm just getting started of course. So this isn't a bad time to start listening in, especially if you're just getting started too. We'll tackle this learning curve together, and hopefully have some fun along the way. »
Related Topics >>
Programming Comments
Comments are listed in date ascending order (oldest first)
Submitted by fabriziogiudici on Mon, 2009-06-15 04:59.
Well, but with Oracle stepping in, I don't think we will have resource problems in future. Oracle's style is either to stop it, or to properly develop it.
Given that, it's not necessary that the most important parts of Swing are developed by Sun. The most interesting developments IMO are with SwingLabs, that is an independent open source project.
Submitted by hanxi001 on Tue, 2009-06-16 07:35.
Hi John,I'm a Chinese boy! I have started to learn JavaFX a week ago.Glad to follow you!
Submitted by osbald on Tue, 2009-06-16 07:36.
I'd have no problem trading up my 8+ years of Swing development exp for JavaFX if they're was any demand in the marketplace for those skills - but right now there isn't any. Well any in this part of the UK at any rate, stated my current position at end of http://tinyurl.com/myvrlc I can't find much of any cliently-Java work. Not that I'm singling out JavaFX here, theres a general lack of significant interest in Silverlight, Flex RIAs in general. Seems to be a big difference between what technologies developers find hot (ruby,groovy,grails) and what employers are asking for right now. Actually I'm a little shocked/horrified it hasnt changed much in last 10 years, still very much archetypal Java/J2EE/C++, Struts(1.0), JSF(1.0), EJB(2.0). I depend on my job to pay my bills, learning JavaFX almost certainly won't for the immediate future (if ever).
I also touched on the outdated JavaFX posts http://twitter.com/osbald/status/2116031308 last week and Josh said send him links to old articles and he'll get rid of them http://twitter.com/joshmarinacci/status/2118421756 (only on his sites?) I thought maybe some article guidance notes might help, always state the version article written by, where possible tag blog posts with relevant javafx version category? possible even use badges? just because an articles using an outdated API dosnt necessary mean its useless. ref http://twitter.com/osbald/status/2123031242 , http://twitter.com/osbald/status/2123047900 , http://twitter.com/osbald/status/2123065276
|
||
|
CSV as utf-8