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

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

building with rust...

Posted on Tue 22 November 2022 in tech • Tagged with Solana, rust, web3, rustc

"Even high-spec machines can run out of memory while compiling parts of the Solana codebase."

🤣


building solc

Posted on Thu 17 November 2022 in tech • Tagged with Ethereum, Solidity, web3, c++, devops

Building Solidity's compiler solc is nothing short of a bear. It is using complex external dependencies like boost with some optional dependencies. Moreover the build depends on specific versions of these packages. This amount of complexity for a compiler is a topic of another post but it does give me …


Continue reading

Store a value globally by address on chain

Posted on Fri 11 November 2022 in tech • Tagged with Ethereum, Solidity, web3

This simple solidity example is super useful for testing transaction processing. It globally sets a value by address which will default to sender but may also be specified.

Solidity AddressStore - Save a value globally on chain