Blog

  • городская электричка

    Сегодня впервые проехался на городской электричке (s-bahn, cityrail). Так получилось, что раньше никогда в Киеве на ней не ездил.
    С Петровки до Левобережки доехали за 10 минут. Даже быстрее, чем на метро. Вообще удивило то, что они ходят очень часто (поезд приехал вообще без опозданий – четко по расписанию), чисто, мягкие кресла и мало людей (половина сидячих мест пустовало).

    Вообще очень похоже на городские электрички в Париже и Будапеште (в других просто не ездил). Единственная разница – там перроны очень часто соединены переходами со станциями метро, а в Киеве с метро их так и не состыковали. С другой стороны меньше шансов перепутать их с метро, а то в Париже случайно сели на нее вместо метро.

  • Excel Reader engine v3.0

    The new Excel Reader engine (dll edition) v3.0 with native xls-file parser is published and available for download.

    Now you may read the formulas (XLSIsCellFormula, XLSGetCellFormula, XLSGetCellFormulaLength functions),  ranges (XLSGetNamedRangeCount, XLSGetNamedRangeLength, XLSGetNamedRangeInfo functions), convert to text, html, xml, Excel xml and Lotus 1-2-3 formats

    Also the sample projects are updated and some new are added (for C#, for example).

  • парк Победы

    На 9 мая приносили цветы к кургану, а вчера решили просто погулять по Парку Победы у метро Дарница. Если раньше там был просто кусок леса с заболоченными кусками, то сейчас просто красивый парк с озерами.
    Куча людей хотя погода была не очень…

     

    IMG_20150516_154209 IMG_20150516_154417 IMG_20150516_155953 IMG_20150516_160153 IMG_20150516_160649 IMG_20150516_160744 IMG_20150516_160811 IMG_20150516_160932 IMG_20150516_160953 IMG_20150516_161412 IMG_20150516_161521 IMG_20150516_162006 IMG_20150516_162521 IMG_20150516_162628

  • стоимость аренды

    Оказывается, риелтеры используют такую формулу при вычислении стоимости аренды – годовая аренда равна 7-8% от стоимости.
    Грубо говоря – объект стоит 100K и его аренда стоит 600 в месяц

  • XE8 support

    Embarcadero released the new RAD Studio XE8 and we added the support for this IDE.

    All our VCL components updated and new trial and registered archives are available for download and test.
    The shareware and freeware components released for XE8 (both Delphi and C++Builder).

  • Технически образованные зеки пошли

     

    Со смартфона в тюрьме создал левый сайт, послал руководству тюрьмы фейковый email о своем освобождении и ссылкой на этот левый сайт и спокойно вышел через главные ворота:
    http://www.bbc.com/news/uk-england-london-32095189

    Таким орлам точно не стоит варежки шить или конверты клеить сидя в тюрьме…

  • Windows 7: weather gadget

    In February the weather gadget in sidebar stopped to work. I get the “cannot connect to service” error.

    If you have the same problem, you need change the date/time for config.xml file in C:\Users\<your account>\AppData\Local\Microsoft\Windows Live\Services\Cache folder.
    Just set the 01/01/2020 as date there.

    If you’re not developer and have no tools to change the date for file, you may do the next:
    – change the current date in Windows
    – open the config.xml in NotePad
    – without any changes in document you need save the file
    – return the real date in MS Windows
    – after a few minutes you’ll see the real weather in gadget

    PS: you do not need re-install anything or add any changes for DNS in hosts file as suggested in many sites. Just change the date of file and it’s enough for correct work.

  • Paradox Direct Engine (ActiveX edition) v2.95

    Paradox Direct Engine (ActiveX edition) v2.95
    http://www.scalabium.com/pdx/pdxa.htm

    The new SaveToXML method you may generate the xml-file which is compatible with .NET DataSet class.
    Now you may do not use the ado recordset and load the xml directly in Dataset().
    For example:

    // create unbound recordset for temporary storage (from Paradox table)
    DataTable table1 = new DataTable("country");
    table1.Columns.Add("Name");
    table1.Columns.Add("Capital");
    table1.Columns.Add("Continent");
    table1.Columns.Add("Area");
    table1.Columns.Add("Population");
    
    DataSet set = new DataSet("map");
    set.Tables.Add(table1);
    
    // convert the records in Paradox table to xml-file
    PdxViewA.TScalabiumParadoxReader pdx = new PdxViewA.TScalabiumParadoxReader();
    pdx.FileName = Application.StartupPath + "\\country.db";
    pdx.SaveToXML(Application.StartupPath + "\\country.xml", "country", false);
    if (pdx.LastErrorMessage != null)
    MessageBox.Show(pdx.LastErrorMessage);
    
    //load converted xml into dataset
    set.ReadXml(Application.StartupPath + "\\country.xml");
    
    //view records in datagrid
    dataGridView1.DataSource = table1;
  • SMMsg suite and time zone for dates

    Today I fixed the issue in SMMsg suite for dates in .msg-files. Now the dates processed and converted to local time zone correctly (function FileTimeToElapsedTime)

    The correct code is

      function FileTimeToElapsedTime(FileTime: TFileTime): TDateTime;
      var
        SystemTime, LocalSystemTime: TSystemTime;
        TZ: TTimeZoneInformation;
      begin
        Result := 0;
        try
          if FileTimeToSystemTime(FileTime, SystemTime) then
          begin
            if (GetTimeZoneInformation(TZ) <> 0) then
              if SystemTimeToTzSpecificLocalTime(@TZ, SystemTime, LocalSystemTime) then
                Result := SystemTimeToDateTime(LocalSystemTime);
          end;
        except
        end
      end;
    
  • mobile usability issues

    Google sent to me the notification to fix the mobile usability issues for blog.

    As I use the WordPress with standard classic theme, I upgraded the theme and installed the WPTouch plugin. Now no any errors detected there