LĢIA kartes uz OziExplorer – maija versija

LĢIA ļoti centīgi maina savu lapas struktūru, kā rezultātā Lgia2Ozi programmiņa jau atkal nestrādāja. Beidzot atradu laiku pielāgot to jaunajām izmaiņām un pie reizes uztaisīt papildus funkciju, kam vajadzētu automātiski pamanīt, ja šāda pati izmaiņa tiks veikta tuvākajā laikā vēlreiz.

Lejupielāde šeit.

LĢIA kartes uz OziExplorer – atkal strādā

Kārtējo reizi LĢIA izveica pārmaiņas savā karšu servisā un Lgia2Ozi pārtrauca strādāt.

Paldies par pacietību visiem tiem, kas komentāros gaidīja jaunu versiju, kas atkal strādātu. Tāda nu ir nopublicēta.

Lejupielāde šeit.

VS2012 Windows 8 profilēšana ar NGEN bibliotēkām

Izmantojot Visual Studio 2012 profilētāju uz Windows 8, rezultātu tabulā liela daļa bibliotēku uzrādās kā, piemēram, 'System.Web.ni.dll' – '.ni.dll' norāda, ka tas ir native image – bibliotēka, kas ģenerēta, izmantojot ngen aplikāciju.

Visual Studio ALM blogā ir aprakstīts, kā ar šo problēmu tikt galā. Diemžēl tur piemērs prasa palielu darbošanos komandrindā, apstrādājot katru bibliotēku atsevišķi. Lai tas nebūtu regulāri jādara, izveidoju nelielu PowerShell skriptu, kas to dara automātiski visām bibliotēkām, kuras šobrīd instalētas sistēmā.

Lejupielādēt skriptu. Skripta sākumā ir mainīgais, kurā jāievada sev vēlamā direktorija, nekas cits nav jāmaina, ja pieņem, ka 'C:\Windows' ir īstā direktorija.

Skriptā ir paredzēta arī funkcionalitāte, kas lejupielādē PDB ar pirmkoda informāciju no Microsoft servera un izmanto tos, lai ģenerētu jaunos, taču šobrīd tur pieejamie PDB faili kaut kādā mērā neatbilst tam, ko uzstāda .NET Framework 4.5 uz datora, līdz ar to šo funkcionalitāti nav iespējams izmantot. Ja ir vēlme paeksperimentēt, tad skriptā ir nepieciešamie komentāri.

English version

Download a PowerShell script that automatically creates PDB symbols for all NGEN-ed images on your machine. You will need to change the target path at the start of the script. If 'C:\Windows' is not your path, you will need some more modifications as well to accomodate that.

The details on this topic are available on Visual Studio ALM blog.

The script includes the functionality to download PDB files with source information from Microsoft and use those to generate the new ones. Unfortunately these PDB files do not match the files installed by .NET Framework 4.5 so the code is commented out. If you want to experiment, there are comments what needs to be done in the script.

Vecās spēlītes tīkla uz Windows 7

Viena no, manuprāt, visu laiku labākajām spēlēm ir Baldur's Gate 2. Pirmā daļa tikko izlaista no jauna, drīz gaidāma arī otrā (nosaukumā klāt nāk Enhanced Edition). Bet arī oriģināls strādā vēl joprojām bez problēmām (nu gandrīz, skatīt zemāk). Pie tam tai ir milzīgs laika gaitā izveidots modu klāsts, kas ļauj pārvērst spēli pavisam savādāku.

Viens no lielajiem BG plusiem ir iespēja spēlēt tīklā - pat mūsdienās to piedāvā gandrīz tikai hack-n-slash RPG, bet tādas spēles kā SW:KoTOR un Dragon Age nekā (par pēdējo vēl neilgi pirms izlaišanas bija cerība, ka būs, bet nekā). To arī veiksmīgi darījām pāris nedēļu garumā. Tiesa gan, katru vakaru vispirms vajadzēja izcīnīties, lai tīkls strādātu.

Pirmā lieta, kas palīdzēja vismaz 10 reizes, tiesa gan, nav ne jausmas, vai tā tomēr nebija sagadīšanās – tā kā uz viena datora spēle tika laista no ārējā diska, izskatījās, ka Windows (7 64bit) katru reizi nojauc ugunsmūra (iebūvētā) uzstādījumus. Palīdzēja izdzēst esošo atļauju un, palaižot spēli, atļaut no jauna. Bet, kā jau rakstīju, tā varēja būt arī sagadīšanās.

Otrā un, visdrīzāk, īstā problēma ir Windows 7, DirectPlay un UPnP kopējā nesaderība. Kad pameklē ar šādiem vārdiem internetā, tad atrodami diezgan daudzi līdzīgi gadījumi, kad šo lietu kombinācija izsauc problēmas. Zāles ir pavisam vienkāršas - uz rūtera ir jāatslēdz UPnP funkcionalitāte. Mēģināju izdzēst UPnP uzstādītos nosacījumus, bet tas nepalīdzēja. Arī tikko restartēts rūteris neko nedeva. Tā arī neesmu sapratis, kas pēkšņi vakar mainījās, jo pirms tam viss strādāja... Lai arī konceptuāli šis nav tas labākais risinājums, pēc vairāku stundu čakarēšanās arī tas der.

GeoTransformer 4.3

Izlaista jauna GeoTransformer versija 4.3.

Galvenais jaunums ir “transformāciju” (datu ielādes vai publicēšanas) logs – tagad tas rāda progresa indikatoru ilgākiem procesiem (piemēram, attēlu ielādei), kā arī atsevišķi parāda brīdinājumus (piemēram, ja izmantotais pocket query ir pārāk vecs).

Kā parasti, esošās versijas atjaunojas automātiski, lejupielāde pieejama http://geotransformer.codeplex.com/

Pilns izmaiņu saraksts:

  • Transformation status window now displays progress indicator for long running tasks.
  • Transformation status window displays warnings and errors separate from other messages.
  • Pocket query download now warns if the query is not available or is too old.
  • Pocket query download uses local copies when network connection is not available.
  • Pocket query download no longer remove fresh copies of pocket queries that are unselected.
  • User can now choose to ignore even fatal errors in the transformation process.
  • Refresh Images will no longer duplicate images if it is used together with Refresh Data.
  • Previously downloaded geocache images will be removed from disk one month after last use.

LĢIA kartes uz OziExplorer – jauna versija

LĢIA nesen pamatīgi izmainīja savas kartes, kā rezultātā Lgia2Ozi programmiņa kārtējo reizi pārtrauca darboties.

Saņēmos un beidzot uztaisīju, lai karšu dati tiktu ielādēti dinamiski, nevis būtu ierakstīti programmas kodā. Tas nes līdz šādus jaunumus:

  • palaižot programmu, tā ielādē visas LĢIA karšu pārlūkā šobrīd pieejamās rastra kartes;
  • Rīgas centra kartei tagad redzams, kādu teritoriju tā nosedz;
  • tagad tiek apstrādātas arī kartes, kuras sadalītas citos izmēros, ne tikai 512x512.

Jārēķinās, ka iepriekš lejupielādētie karšu fragmenti vairs nav derīgi.

Lejupielāde šeit.

miga.lv disku nedienas

11. jūlijā lapas, kas izvietotas uz miga.lv servera, nebija pieejamas, jo vienlaicīgi nomira uzreiz divi cietie diski. Visu informāciju izdevās atgūt un naktī uz 12. jūliju viss atkal sāka strādāt, šoreiz tika pievienots vēl trešais disks, lai samazinātu iespēju, ka šādas nedienas atkārtotos.

Atvainojos par sagādātajām neērtībām!

GeoTransformer 4.2

A new version of GeoTransformer has been published to CodePlex. As usual, GeoTransformer will autoupdate itself.

The biggest change is the support for automatically publishing images (photos) to Garmin GPS devices. This requires Live API to be enabled (it works even for basic members) and a bit of patience while the needed data is loaded.

The first screenshot below shows the ability to load the URLs for images from Live API (both of the options do this but the “missing data” takes much more time since it will load much more data to fully refresh the caches).

The second screenshot shows the default (and recommended) configuration for publishing to Garmin GPS devices.

Remember that this does not work if you publish to a folder instead of choosing the GPS device directly from Export/Publish menu.

image
image

SpoilerSync and Garmin geocache photos

Garmin not so long ago added ability to view geocache images directly on the GPS unit (more details). The functionality is not limited to caches from opencaching.com and can be used by anyone.

Since currently the most popular way of downloading photos from geocaching.com is using SpoilerSync, I created a small application that converts the output from SpoilerSync into structure that is supported by Garmin devices.

Download the application (5Kb). You will need .NET Framework 4.0 to run it.

To run it, open a console window and run SpoilerSync2Garmin.exe “C:\Where\SpoilerSync\Saved\The\Images” “G:\”

The first parameter is the folder where SpoilerSync saved all the pictures (it will have a lot of images, the file names starting with GC12345 style codes).

The second parameter is the drive letter where the Garmin GPS (must be the internal storage; for now the SD card does not work for photos) is located.

The application can also resize the images but that most probably will not be used since you can specify the size in SpoilerSync. If you need the resize, add resize 240x400 before the folder parameters. First value is width in pixels, the second – height in pixels (240x400 is the screen size for Oregon 450).

Note that GeoTransformer will soon support this out of the box.

GeoTransformer 4.1

GeoTransformer 4.1 is now available. Download, issue tracker, discussions and documentation is now available at CodePlex.

Release notes:

  • Added an option to put geocache attributes in a log entry so it can be read on GPS.
  • Added an option to select which caches should be ignored when publishing.
  • Inner workings of GeoTransformer changed to strongly-typed objects which mean better performance and support for GPX 1.1 files. Partial support for Groundspeak 1.0.2 extensions is also implemented (this version is still under development by Groundspeak and not yet available for geocaching.com users).
  • Virtual caches are now displayed on the map with the correct symbol.
  • Geocache list tables now remember sort, column widths and hidden columns.
  • List view / editor size proportion is now saved between restarts.