Category: Soft/Programming

  • position tracker

    Если стоит задача отслеживать текущее положение коммуникатора на Windows Mobile, то есть два метода:
    1. GPS
    получать позицию из встроенного gps можно либо с помощью GPSID (идет в поставке с VS .NET 2008), или открываю порт COM1 и читая данные оттуда (pure binary data+парсить их)

    2. phone cell towers
    с помощью RIL драйвера получается CellID, который конвертируется в Latitude/Longitude либо с помощью открытых баз, либо через API к серверам (Yahoo, SonyEricson, Yandex…)

    Ссылки по теме:
    http://msdn.microsoft.com/en-us/library/dd938890.aspx
    http://dalelane.co.uk/blog/?p=241
    http://sourceforge.net/projects/opencellclient/

    Кстати показать потом карту с координатами легко:
    – Google Map:
    http://maps.google.ru/maps?q=55.882244,37.618561
    – Карты.Яндекс (сложнее):
    http://n.maps.yandex.ru/?ll=30.466768%2C50.429686&spn=0.03931%2C0.019929&z=15&l=wskl&oid=7383247

  • .net renewal

    Just now paid for next 3 years for scalabium.net domain

    I used the next coupon gdz637c and paid the $7.25 for every year. So saved more than $9 in total

  • ускорение brute force

    Можно рассчитать заранее значения хеша для большой части паролей и хранить их в какой-то базе данных. Тогда при взломе пароля можно сначала поискать значение хеша в этой базе и только потом продолжать взлом уже дальнейшим перебором

    Нужно попробовать такое сделать для Paradox Password Recovery и DBISAM Password Recovery и сгенерировать для них такие таблицы предрасчитанных хешей

  • no unicode

    У меня база пользователей лежит не в уникодном виде. Всякие умляуты у немцев и шведов особых проблем не создают.

    Было пару заказов от греков, которые упорно вбили все свои данные на греческом. Особых проблем с “латинизацией” руками для этих заказов не было.

    А сегодня пришел заказ от китайца, которые тоже вбил все свои данные на китайском:-( Я-то перевел все это с помощью Google Translate, но в принципе нужно переводить и базу, и само приложение на уникод.

    Осложняется еще и тем, что все пользовательские тулзы (которые они покупают) тоже нужно переводить на уникод. И только ради того, чтобы они там увидели свое имя на родном языке. Ломает как-то, но рано или поздно придется этим заняться…

  • PayPro

    Оказывается они даже не проверяют заказы с оплатой через WebMoney:

    PayPro security reviewers are checking Credit Card, PayPal, Phone, Fax orders.
    Webmoney orders are verified by webmoney on their own side.

    Это из их ответа мне на явный fraud (the IP is from Canada but user is from Belarus, the user name is John Travolta with payment via WebMoney.)

    Это однозначно минус в их карму. Мне фиолетово каким способом проведена оплата, но заказ они должны валидировать в любом случае. Делать мне бьольше нечего, как вылавливать потом в сети свои продукты, выложенные “крякерами”-траволтами.

  • .com renewal

    I paid for next 3 years.
    Used the gdz372s as coupon in Godaddy (save 31%) and saved $8.65. So in result, the fee is $6.60 per year

  • hosting paid

    Just now I paid for next year for our Canadian server (59.50 CAD) via PayPal

  • MAPI Message Flags

    Today I added in SMMsg suite and Viewer for MS Outlook Messages the functions to work with flags in message (PR_MESSAGE_FLAGS attribute)

    The list of flags published at http://msdn.microsoft.com/en-us/library/cc839733(v=office.12).aspx

    const
    //The message is marked as having been read
    MSGFLAG_READ            = $00000001;
    //The outgoing message has not been modified since the first time that it was saved; the incoming message has not been modified since it was delivered
    MSGFLAG_UNMODIFIED      = $00000002;
    //The message is marked for sending
    MSGFLAG_SUBMIT          = $00000004;
    //The message is still being composed. It is saved, but has not been sent
    MSGFLAG_UNSENT          = $00000008;
    //The message has at least one attachment
    MSGFLAG_HASATTACH       = $00000010;
    //The messaging user sending was the messaging user receiving the message
    MSGFLAG_FROMME          = $00000020;
    //The message is an associated message of a folder
    MSGFLAG_ASSOCIATED      = $00000040;
    //The message includes a request for a resend operation with a nondelivery report
    MSGFLAG_RESEND          = $00000080;
    //A read report needs to be sent for the message.
    MSGFLAG_RN_PENDING      = $00000100;
    //A nonread report needs to be sent for the message
    MSGFLAG_NRN_PENDING     = $00000200;
    //The incoming message arrived over an X.400 link
    MSGFLAG_ORIGIN_X400     = $00000400;
    //The incoming message arrived over the Internet
    MSGFLAG_ORIGIN_INTERNET = $00000800;
    //The incoming message arrived over an external link other than X.400 or the Internet
    MSGFLAG_ORIGIN_MISC_EXT = $00001000;

    Now it looks so:


    Message Flags

  • RegSoft

    Two years ago in February 2009 the Emetrix closed the service
    In end of January I got the notification from RegSoft and suggestion to move to RegNow/ShareIt/SwReg because February 26 is last day for sales via RegSoft

    I opened the accounts in Avangate and PayPro because in ShareIt I have two accounts (USD and EUR)
    I updated all html-pages and some sales are processed in Advantage and PayPro. I don’t know why but I think that they have the same roots somewhere in Romania (PayPro say that they are Canadian company with development center in Lugansk, Ukraine)

    The Advantage is more “standard” (like ShareIt, RegNow etc) but there I must “confirm” each processed order because I delivery the licenses myself without their service). This is not good but now there are a few orders only.
    But cheques are free.

    The PayPro have the Control Panel written in flash, send the cheques for $4 and the chargeback costs the $15
    Anyway the ShareIt is main registrar now.