h1

Better Flickr uploader

August 25, 2009

Original flickr uploader is very slow, especially preparing big sets of pictures for a batch. Big, I mean ~500 pictures of 6Mpixels. BBy the way, for me, looks like this tool written on firefox-like platform.

image Flickr uploadr

Than I found Juploadr. Could not download because server gave 500 error :) . And it’s written in java=slow.

Today I’ve tried Vista Flickr Uploader. I was surprised, that same set of pictures it prepared less than in a minute. That’s awesome! It has some UI bugs, but it does the job: uploads pictures to your sets.

Vista flickr uploadrVista flickr uploadr

In general, I find more more interesting projects on codeplex. Sourceforge isn’t any more the only one open source projects’ hoster.

h1

ASP.NET Runtime Cheat Sheet

July 19, 2009

Today I’ve found a great asp.net cheat sheet. You can find it here http://duartes.org/gustavo/articles/Asp.net-Runtime-Cheat-Sheet-HttpRequest-HttpRuntime.aspx

Next I saw a recommendation to read a book about asp.net security in windows. The book is called “The .NET Developer’s Guide to Windows Security.”

h1

How to buy USB hub

July 12, 2009

When buying USB hub, there is one very important fact: USB hub must have external power source.It means, that if you buy USB hub, check if it has power supply. The problem is, that without external power supply, HUB often cannot give enough electrical power to USB devices connected to IT. Computer’s USB port has limited amount of electrical power to share with USB hub.

h1

Naudoto automobilio pirkimas

May 29, 2009

Norėčiau pasidalinti naudoto automobilio pirkimo patirtimi. Yra įvarių ženklų, pagal kuriuos galima atsekti rimtesnius gedimus. Aš remiuosi BMW markės automobiliais, nes jų pirkau daugiausiai.

Deganti oro pagalvės lemputė – reiškia neveikia oro pagalvių apsauga. Gali neveikti svorio daviklis sėdynėje. Arba kitos bėdos. Tokiu atveju galima tvarkyti daviklį arba dėti apgaviką, kuris sistemai sako, kad yra žmogus sėdynėje. Dažniausiai tai pigiausias variantas, bet nėra garantijos, kad suveiks pagalvės. Tvarkingas taisymas kainuotų minimum 300 Lt.

Neveikiantis elektrinis langas – perdegė saugiklis, neveikia el. lango pakėlėjas arba jis visai atjungtas. Greičiausiai mašina buvo daužta ir langas nesutvarkytas iki galo. Vertėtų išardyti duris ir pažiūrėti ar vandens apsauga tvarkingai uždėta. Kitu atveju po pirmo lietaus ar plovyklos salone bus pilna vandens.

Neveikiantys garsiakalbiai – jeigu jie yra įmontuoti durelėse. Galima įtarti, kad buvbo daužtos durelės ir nesurinkta tvarkingai.

Variklio temperatūros daviklis ne per vidurį – vertėtų pilnai pašildyti variklį ir patikrinti per kiek laiko pilnai sušyla variklis (max per 10-15min) ir ar temperatūros  rodyklė atsistyoja reikiamoje vietoje. Jei ne, termostatas, nėra aušinimo skysčio, vandens pompa, kiauras radiatorius ir pan.

Švarus variklis – nelabai verta žiūrėti mašiną, jei jos variklis idealiai švarus, nėra “”natūralaus” dulkių sluoksnio. Aišku neverta ir tepalais ar kitais skysčiais apibėgusio. Nes, jei švarus, reiškia buvo nuplautas norint kažką paslėpti.

Galinio dangčio ženkliukas – jei variklio kūbatūra yra 2.8, o ant bagažinės užlipdyta tarkim 3.0, gali būti kad mašina buvo daužta ir tiesiog dangtis uždėtas nuo kitos mašinos. Labai retai deda netikrą kūbatūrą, ypač jei skirtumas tarp jų 0.2 litro.

Skysčiai – patikrinti ar yra tepalo, aušinimo skysčio, stabdžių skysčio.

h1

  not supported in XSLT file

May 14, 2009

 

Recently, I had to fill some table cells with empty data just to keep table’s structure. Naturally, I tried   entity, but I got error

XslLoadException
—————-
XSLT compile error.

XmlException
————
Reference to undeclared entity ‘nbsp’. Line 125, position 32.

 

So, then I used HEX value of &nbsp, which is  

That worked!

h1

History of Internet

April 1, 2009

Radau įdomų filmuką apie Interneto istoriją.

History of the Internet from PICOL on Vimeo.

h1

Laisvalaikio prekės

March 26, 2009

Šią žiemą užsikrėčiau slidinėjimu ir šiaip geros kokybės laisvalaikio inventoriumi.

Montaro

Labai patiko prekės North 66 gamintojo. Pirkau kasdienę kepurę – labai šilta ir lengva. Brangoka, bet verta buvo. Šią žiemą nesirgau :) ) Vilniuje jų parduotuvė yra Centrinėje Universalinėje parduotuvėje CUP. Jų svetainė Montaro.lt. Ten pat žadu įsigyti apatinį sluoksnį po slidinėjimo kostiumu.

Skysčiai, milteliai, vaškas rubų, batų priežiūrai  gali būti Granger’s gamintojo. Nežinau jų atstovybės Lietuvoje. Kai ką turi ta pati Montaro parduotuvė.

Montis Magia

Montis Magia parduotuvėje nusipirkau gerus batus. Ten daug turizmo ir laisvalaikio prekių.

h1

BAR CODE not rendering in PDF reports

March 26, 2009

In project we had problem, that BAR CODE was not rendered in PDF document. While viewing report in HTML or Business Intelligence Studio 2008, the BAR CODE was showing correctly. Only PDF had problems.

Looked like Reporting Services 2008 on Microsoft SQL Server 2008 didn’t support font embedding in PDF. As much I know, Reporting Services 2005 do not fully support font embedding in PDF.

Font

For BAR CODE the font “Free 3 of 9 Extended” was used. This and other fonts, used in reports must be installed in server, where reports are generated.

Solution

I found post “Do You ▖ Unicode in PDF?”, that says “install Cumulative Update #1 for SQL Server 2008 and font embedding will be enabled on Reporting Services 2008”.

Installed the update, tried to generate PDF report and BAR CODE was rendered!. So this cumulative update solved problem.

Description of update.

Download and install update from Microsoft site.

PDF rendering requirements

Requirements to for PDF rendering described in this page “Exporting to a PDF File”, section “Font embedding”.

Extended font properties

To view extended font properties, like font embedding settings, use Font properties extension utility. Font embedding can be described in 4 levels: No Embedding, Preview & Print, Editable, Installable. More information in Adobe Site. So, the font must NOT have “No Embedding”.

Metadata

Metada mapping from report to pdf fields:

In addition to the report layout, the PDF rendering extension writes the following metadata to the PDF Document Information Dictionary.

PDF property Created from

Title

The Name attribute of the Report RDL element.

Author

The Author RDL element.

Subject

The Description RDL element.

Creator

Reporting Services product name and version.

Producer

Rendering extension name and version.

CreationDate

Report execution time in PDF datetime format.

Fonts

Font name and properties for each embedded font.

To view the metadata, open the file in Adobe Acrobat and from the File menu, view Properties. For example, the Fonts tab displays the list of fonts that are embedded in the file.

Using external assembly

It is possible to use external assembly for particular field, to get desired result. In this case – get BAR CODE. The idea and tutorial can be found in “Microsoft® Reporting Services Barcode Font Tutorial"

h1

Photo sharing, storing service on the web

March 25, 2009

I was looking where to store photos on the web. Because my external hard drive after 3years of using broke down, I decided to store all my photos in the web.
I’m not a photographer, so not so many pictures taken per year.
I had one major criteria for service. The service must allow store pictures in original format, and allow them download later as I saved them in original format. So, no clipping, compressing and etc.
Second – it could show slideshows. It’s very useful, if you want to show them for your friends and family.
Third – unlimited storage.
So now I’m using flickr Pro.

  • Flickr Pro – payed, but cheaper than to buy another external hard drive. Stores pictures in original format. Nice slideshows.
  • Picassa – limited storage, compressed pictures, no slide show. Good, if you have gmail, so you can use same credentials.
  • Microsoft live – that’s a good candidate. Stores pictures uncompressed, slideshow. But limited total space to 25Gb. I whish I found it earlier.
  • Facebook – awful. Compressed pictures, no slideshow. Good just to store pictures to show for friends. You can integrate Flickr into Facebook.
h1

WatiN and IE8

March 12, 2009

Always run WatiN tests in IE 8 compatability view. Otherwise you will get errors, when try to use TypeText function.
WatiN version 1.3