Serge's Technology View

Talk about Technologies, Software Architecture and Management

Is going Linux means replacing I with We?

There we go again… Marketing wars… Is being Linux means replacing I with We?

Accordingly to a new addition to the Mac-v-PC adv. war – Linux – “WE are Linux” – yes.

Personalization in the look at the computers promoted for last few years by Apple, Microsoft, and then followed by Dell and others with “personalize your computer” campaigns now suggested to be replaced with big “communitification“  a-la Linux.

What is a freedom? Ability to be you through the lens of the Big Brothers or ability to be you as part of the Open (Source) World of WE?

Is it a freedom when someone tells you that “you are free to be me”? Does Linux community need to go into war with others, even if it is just advertisements, to prove itself?

I did not like it when Apple said “you are the sad PC and I am the coolest Mac”…

   There you go…
 
Oh, a wrong one, but funny…  

Microsoft had managed not to mention Apple…

then   or now
 

What now? Now we have a new addition – a Linux’s freedom – The big “O”

Did it worth it? What is in it for Linux?

Honda Insight 2010 – test drive

I have wrote about Honda Insight 2010 coming this year on two occasions here: (1), (2).

And I have expressed some of my concerns already, but now I have actually had a chance to try it last weekend… And there are my thoughts and ramblings.

To say I do like my Honda (Accord) and I was looking to replace my Nissan (Altima) with a new car.

With prices on gas, on cars, new models and personal preferences, a new Honda Insight was my target.

I have tried this EX model and I am afraid that I would have to look elsewhere or enjoy my old car a little longer and there is why…

  • As I said before, 40/43mpg (48/45 mpg for Prius) is not an impressive statement from Honda for the comeback of the Insight. Not at all. Yes, driving in ECO mode and trying to stay in the “green” zone may help improve the mileage, but… There are some reports of 60+ on the highway, but I want to see it first and test-drive is probably not a good test for it and I do not want to turn everything off and drive at cruising speed just to get good mileage as reported here.
  • Car feels very fragile when it comes to driving and acceleration. I am somewhat aggressive driver and it was very hard for me to be “green” and accelerate at the same time. There goes mileage…
  • To be fair, on the cruise control, car stayed steady in the “green” zone.
  • In contrast to some reviews, it was fairly quiet inside a car in all driving conditions and engine noise does not stand out like for ex. in Ford cars I have driven in the past.
  • And engine kick-in was not affected much by the AC running at 20% of airflow power.
  • No mpg estimation while driving. I read somewhere that it is optional and only available in some models, but I think it should be standard to “prove the point”.
  • Small… very. Yes, after Accord and Altima, my expectations are a little bit high, but having 6′ one hits the celling sitting in the back and has claustrophobic feeling sitting in front. Plus foot space was on the verge of rejection/inability to fit.
    In addition it is not as wide as Accord and a rear view was a little bit “compressed”. Otherwise, with bigger side windows, it gives better view to the passing cars.
    Just to compare actual numbers, there is a table showing side-by-side Interior dimensions for Insight, Prius and Accord.
  • I did not like light gray interior plastic though, kind of cheap, but it is personal feeling off course.
  • I have driven in-city and on highway, and aside from the need to stay “green” car did provide enough power to stay in the crowd and not behind most of the time (yes, acceleration may be a problem :) )
  • Price probably could be cheaper all consider, but 20K is few thousands cheaper then Prius. Question remains if it covers the difference between two.

Bottom line: if you are tall person, this car may not be for you. Add to this unimpressive mileage and some “cheap” feeling of EX model and expectations are ruined. I have had higher expectations, and may be I shouldn’t. Will see if anything would change with next year model. I guess it is time to visit Toyota or wait for Chevy Volt.

How to set default file name for export from CrystalReportViewer in ASP.Net

I have had nice discussion about a new Crystal Reports based web-site today. And everything seems to be fine… Except users want to see a proper default name for the exported files…

Environment:

  • Crystal Reports 2008 engine
  • IIS 7
  • ASP.Net 3.0 page with CrystalReportViewer (CRV) being used to show report passed by parameter

When trying export as PDF (just an example), CRV defaults the name of the file to CrystalReportViewer1.pdf.
Not very nice since associated RPT name is MyVeryOwnReport.rpt and I have many other which I would expect export file at least inherit.

One would expect that Viewer would have a property allowing specify default export name. Not so fast… there is no such thing today exists.

After some head scratching and research, it just happen that Default Export File Name is actually based of the ID property value of the CRV which is still named as CrystalReportViewer1.

Options?

  1. Rename ID value of the control as something else. Still, if we use just one page and load reports dynamically, then it would not help much.
    // ReportPreview.aspx file
    <CR:CrystalReportViewer ID="MyVeryOwnExportFile" />
  2. Another option is to populate Default Export file name in the code
    // ReportPreview.aspx.cs file
    protected void Page_Init(object sender, EventArgs e)
    {
         ...
        // Load report here
        ...
        CrystalReportViewer1.ID = "MyVeryOwnExportFile";
    }

    It is important to have it set before any code would use it to manipulate a page view state and create references.

  3. Trying manually set export options for the Report instance, would not help much unfortunately since viewer would disregard it.
  4. Off course there is always an option of coding export functionality yourself and bypass built-in logic…

This concludes another Crystal Reports dance session.

IBM to buy SUN – end of the era?

Updated on 04/07/2009

Talk rumored in 1998 and surfaced once again in 2002 will continue - IBM was in final talks to acquire Sun… It was suspected that some news would be announced by Monday 04/06/2009

http://www.betanews.com/article/IBMs-acquisition-of-Sun-Down-to-the-details/1238698365
http://www.nytimes.com/2009/04/03/technology/business-computing/03blue.html

and they did – it fell apart… offer has been rejected

http://www.bloomberg.com/apps/news?pid=20601103&sid=aijKk7Ur2M0c&refer=news

Will we see negotiation saga continued or would be there another bidder? Or…

In rumors of Sun’s CEO could be replaced, so memorable statement was issued: “As a policy Sun does not comment on rumors or speculation. What we can say is that Sun is committed to its leadership team, growth strategy and building value for its shareholders”. Yahoo anyone?

It is not doom and gloom for Sun, but it all went against market expectations… and what is in there for IBM really?

  • Cannot overrun a competitor, buy it
  • No more patent wars over Java -> IBM JDK to consume final parts of Sun JDK
  • Java push via existing customer base
  • Solaris to replace AIX? Is there market left for Solaris? IBM will keep the goodies and Solaris to go away?
  • NetBeans or Eclipse? Rational or Sun Studio? -> Eclipse+Rational with NetBeans flavor?
  • + IBM JavaFX
  • + IBM X86 virtualization

All good and nice, but remember the Lotus story? Died silently… what would follow? Java? mySQL? New Google DB engine to emerge built by ex Sun employees? Another era of mainframe computers with Java only present on enterprise level?

I am not pro-Java person, but this is the milestone not to miss!

Valid XHTML 1.0 Transitional  Valid CSS!