Find event from Transaction Receipt

Posted on Sat 10 December 2022 in tech • Tagged with ethereum, solidity, typescript, ethers

Here is a trivial example that finds an event from a Transaction Receipt in ethers js.


Continue reading

Find past events in ethers js

Posted on Thu 08 December 2022 in tech • Tagged with ethereum, solidity, typescript, ethers

Although there are examples of getting events from a particular transaction using ethers js. I found it fairly difficult to find an example that searches for events from a particular block or transaction. Here is a code to do just that:


Continue reading

Wow, some of my dotfiles will live forever!

Posted on Wed 07 December 2022 in tech • Tagged with dotfiles, unix, linux, oldschool

Part of my .emacs

    ;; LOL LOL - WOW mid '90s config returns from the grave
    ;; Load ladebug mode on OSF4
    (if (file-exists-p '"/usr/lib/emacs/lisp/ladebug.el")
      (load-file '"/usr/lib/emacs/lisp/ladebug.el"))

Shoutout to all those who used the C++ debugger on OSF with Digital hardware in mid-anthropocene …


Continue reading

Ethers js trivial example

Posted on Mon 05 December 2022 in tech • Tagged with ethereum, solidity, typescript, ethers

The Internet is guilty of having a supreme lack of trivial functional examples. In the past trivial examples frequently functioned as the documentation for various libraries and utilities. While that was probably what we refert to now as the 'bad old days.' The modern focus on documentation and literate code …


Continue reading

History: Mithraism

Posted on Sun 04 December 2022 in history • Tagged with definition, dictionary

Mithraism was one of the most important mystery cults in the Roman Empire. The principal deity of Mithraism was Mithras, a figure associated with Ahuramazda and Zoroastrianism. Mithras was associated with the Sun god. Mithraism was a male-only religion and followers where baptized in the blood of a bull before …


Continue reading

Hardware Offload for Unifi Edgerouter

Posted on Wed 30 November 2022 in tech • Tagged with unifi, edgerouter, performance

I recently discovered Hardware Offloading is not enabled by default on Unifi Edgerouter. To enable it you must give up QoS. However many small office networks don't need that and would benefit from the 3x performance boost instead. I tried it on my network and I observed easily a 3x …


Continue reading