mcrblg-header-image

search

Useful Firefox/Windows Hacks

Posted by in Windows

Disable Firefox Update Prompt run in cmd reg ADD HKLM\SOFTWARE\Policies\Mozilla\Firefox /v DisableAppUpdate /t REG_DWORD /d 1 /f or run ff_update_dis.reg Disable Windows Keys reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoWinKeys /t REG_DWORD /d 1 /f or run win_key_dis.reg Disable Shutdown Prompt Ending Application reg ADD HKCU\Control Panel\Desktop /v AutoEndTasks /t REG_SZ /s “1” /f or run win_end_task.reg…


RegEx: My Greatest Fear

Posted by in Linux

Regex, Sed, and AWK are freaks in programming but they are pretty simple, well not at the beginning though. Here I summarize some of the most amazing ones for RegEx To Be or Not To Be, is possible with: LookAround Stop Worrying! Regex101 is all you need to know


Qt MSVC vs MinGW in Windows

Posted by in Software, Windows

I starting to use WinRT with Qt today and now after long time with MinGW, I’m switching to MSVC in Windows. Here is why MinGW is opensource but deep down if you are in Win32, MSVC compiler always offers better API compatibility WinRT is available only on MSVC MSVC is better with memory control access…


COM Object and C++

Posted by in Software, Windows

• CoInitialize: Initializes the COM library for use by the calling thread, sets the thread’s concurrency model, and creates a new apartment • CoInitializeEx: More advanced version CoInitialize that specify the thread’s concurrency model • CoUninitialize: Should be called on deconstructor


And Bash Is Awesome!!!

Posted by in Linux

Here I list cool bash tricks I learned: – Bash Heredoc


Chrome DevTools Remote Control in Linux Bash

Posted by in Linux

Ok the title is a bit long but why google create such a nice debug interface and make it so difficult to access it. 1. open chrome with remote debug enabled chromium –remote-debugging-port=9222 https://github.com/ 2. Install websocat to create websocket to chrome sudo pacman -S websocat 3. Find magic chrome ws url. To do that…


Kaldi Confidence Score

Posted by in Speech Recognition

To calculate word level confidence score Kaldi uses a method called MBR Decoding. MBR Decoding is a decoding process that minimize word level error rate (instead of minimizing the whole utterance cost) to calculate the result. This may not give the accurate result but can be use to calculate the confidence score up to some…


Kaldi Delta Features

Posted by in Speech Recognition

Delta-Delta feature is proposed in 1986 by S. Furui and Hermann Ney in 1990. It’s simply add first and second derivative of cepstrum to the feature vector. By doing that they say it can capture spectral dynamics and improve overall accuracy. The only problem is that in a discrete signal space getting derivative from the…


Kaldi FSTs Jargons

Posted by in Speech Recognition

• Lattices: Are a graph containing states(nodes) and arcs(edges). which each state represent one 10ms frame • Arcs: Are start from one state to another state. Each state arcs can be accessed with arc iterator and arcs only retain their next state. each arcs have weight and input and output label. • States: Are simple…


Kaldi Lattice Decoder

Posted by in Speech Recognition

• Link: Same as arc • Token: Are same as state. They have costs • FrameToks: A link list that contain all tokens in a single frame • Adaptive Beam: Used in pruning before creating lattice and through decoding • NEmitting Tokens: Non Emitting Tokens or NEmitting Tokens are tokens that generate from emitting token…


‹ previous posts next posts ›
close
menu