Hi there! Welcome to mmp-notes. Here, I note some of "my" thoughts, hacks ideas and much more. You may find some of it useful or interesting. Let me know your thoughts/comments on the content here by commenting them on the posts.

The old version of this blog can be found here

Thanks to


Posts

Storyteller pattern
This pattern is UI design pattern useful for consuming user inputs (form filling) when type of inputs consumed are depend on other inputs. Here is an example. You want to build a UI for a service which authenticates user through multiple available w...

ಮಂಗಲ ಭಾರತಿ ದೊರೆಗೆ
hanuma bheema madhva aarati
ಮಂಗಳ ಭಾರತಿ ದೊರೆಗೆ, ಮಂಗಳ ರಾಘವ ಪ್ರಿಯಗೆ, ಮಂಗಳ ಶ್ರೀ ಕೃಷ್ಣನ ಭಕುತಗೆ, ಮಂಗಳ ಗುರುವರಗೆ | ಜಲಧಿಯ ಲ೦ಘಿಸಿ, ದುರುಳ ರಾವಣನೆದೆಗೆ - ಭರದಿ೦ದ ಗುದ್ದಿದ ವಾನರ ನಾಯಕ ಅ೦ಜನಿ ಬಾಲಕಗೆ | ಪೊಡವಿಯೊಳ್ ಕು೦ತಿಯ ಒಡಲಜಾತನು ತನ್ನ- ಮಡದಿಯ ಬಯಸಿದ ಕೀಚಕನಸುವನು ತಡೆಯದೆ ಕೊ೦ದವಗೆ | ಇಳೆಯೊಳು ದುರ್ಮತವ ಅಳಿದು ವ...

Hung sockets, Huh?
gdb hack
So… you have a process hung on doing some socket operation (which you don’t want it to do?) As always here is the story I was trying to debug a hanging python command. pstack said it was connecting somewhere. $ pstack 24372 #0 0x00007f3ea2964c10 i...

Instrumenting Javascript
javascript hack
Today I was trying to write a user action recorder for a website of mine. Most of the coding was just adding a bunch of lines to beginning and end of each javascript function so I asked my brother to do it. He is an amateur so he was kind of copy pas...

Decoding SPNEGO from HTTP headers
Today I was debugging some SPNEGO auth issue and didn’t have the tcpdump capture… How do I proceed? I noticed that I had the HTTP headers logged by the client (curl). > GET /webhdfs/v1/?op=LISTSTATUS HTTP/1.1 > Authorization: Negotiate YIICmgY...