Blog

  • 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

  • AdSense и Приватбанк

    Раньше я всегда получал выплаты от Google AdSense чеком и потом обналичивал его в банках. С учетом того, что суммы маленькие и чеки приходили раз в год, то меня это устраивало. Даже не смотря на то, что комиссия банка была большой и много времени на это уходило  (месяц чек идет к тебе, потом ты его относишь в банк и через полтора месяца получаешь выплату).

    Еще весной Google добавил возможность выплаты банковским переводом и Приватбанк активно летом пиарил свою услугу по SWIFT-платежам от Google. При этом с ноября месяца практически все банки перестали принимать на инкассо чеки в EUR, а поменять валюту в Adsense account уже невозможно (пару лет назад еще можно можно было это сделать).

    В общем открыл я месяц назад карту для выплат в евро и привязал ее счет в Adsense. Сегодня получил нотификацию, что деньги зачислены на карту.
    Быстро, удобно и бесплатно. Пока доволен.

    Интересно можно ли таким же образом перевести выплаты с чеков на банковские переводы от ShareIt или Avangate?

  • Архитектура приложения

    http://habrahabr.ru/post/249453/

    Неплохая статья про трехуровневую архитектуру приложения (слой хранения=БД, слой бизнес логики=сервер приложений, слой UI=клиентские приложения).

    По крайней мере, автор на простом примере показал, почему нужно отталкиваться именно от бизнес процессов и БД проектировать уже в самом конце, а не основной упор делать на слое хранения.

  • Визуализация многомерных данных с помощью диаграмм Эндрюса

    http://habrahabr.ru/post/248623/

    Позволяет быстро найти “красную” группу, визуально выделяющуюся от остальных однотипных данных