Tag: programming

  • Electron 4 and 2 versions conflict

    Build locally two versions of electron. 4.0.0 first and then 2.0.14 later.
    Have error on 2.0.14 electron start.

    
    .\electron\out\D\electron.exe --enable-logging 
    
    [7992:1204/204023.135:ERROR:connection.cc(1964)] Cookie sqlite error 1, errno 0: no such column: persistent, sql: DELETE FROM cookies WHERE persistent != 1
    [7992:1204/204023.135:FATAL:connection.cc(1458)] SQL Error in DELETE FROM cookies WHERE persistent != 1, no such column: persistent
    Backtrace:
    base::SequencedWorkerPool::EnableForProcess [0x000001D6A7F545A5+669541]
    base::SequencedWorkerPool::EnableForProcess [0x000001D6A7F540C8+668296]
    base::SequencedWorkerPool::EnableForProcess [0x000001D6A7FC6F90+1139024]
    sql::Connection::OpenInMemory [0x000001D6BD333027+66427]
    blink::mojom::PresentationServiceResponseValidator::Accept [0x000001D6B1C09602+71857488]
    blink::mojom::PresentationServiceResponseValidator::Accept [0x000001D6B1C0CDB3+71871745]
    blink::mojom::PresentationServiceResponseValidator::Accept [0x000001D6B1C0D976+71874756]
    blink::mojom::PresentationServiceResponseValidator::Accept [0x000001D6B1BFFCA7+71818229]
    blink::mojom::PresentationServiceResponseValidator::Accept [0x000001D6B1C0034F+71819933]
    blink::mojom::PresentationServiceResponseValidator::Accept [0x000001D6B1C00B5A+71821992]
    blink::mojom::PresentationServiceResponseValidator::Accept [0x000001D6B1C0FA33+71883137]
    base::SequencedWorkerPool::EnableForProcess [0x000001D6A7ECF5C0+124800]
    base::SequencedWorkerPool::EnableForProcess [0x000001D6A7F5DBCD+707981]
    base::SequencedWorkerPool::EnableForProcess [0x000001D6A81BDE9B+3199067]
    base::SequencedWorkerPool::EnableForProcess [0x000001D6A81BE8DA+3201690]
    base::SequencedWorkerPool::EnableForProcess [0x000001D6A81A7499+3106393]
    base::SequencedWorkerPool::EnableForProcess [0x000001D6A81CCD01+3260097]
    BaseThreadInitThunk [0x00007FFFF9743034+20]
    RtlUserThreadStart [0x00007FFFFC181471+33]
    

    System: Windows 10. Visual Studio 2017, etc.

    To have electron 2 running remove files from C:\Users\USERNAME\AppData\Roaming\Electron what looks like they have something with cookies and db.

  • Жизненные истины почерпнутые из программирования:

    Размер имеет значение, #define sizeof() random()

    Если есть условие должно быть действие, if then

    За созданное ктото должен отвечать, onExit->remove( subobj[] )

    Нужно чтото иметь чтобы чтото сделать, if (not null) then

  • Trends in information technologies

    Presentation “Just You Wait” by Kent Beck on QCon. A look at trends and how they affect us. Communication, simplification, unintended consequences, disappearing models, and new approaches of design and tests are examined. Kent takes diverse set of issues that are changing in our world and asks “why are we doing this?”