Inane Observations $ sudo fix_it
  • Beta ratio distribution for SciPy

    05 October 2022 | mathematics statistics programming python | Comment

    The quotient of 2 independent beta-distributed random variables has a known distribution, but its closed-form expression is a little hairy [1, 2]. One Python implementation of this distribution is available from Julian Saffer [3], but it suffers from some numerical issues… »

  • Porting NU-Prolog (c. 1995) from BSD Unix to modern Linux

    07 September 2021 | programming | Comment

    NU-Prolog is a Prolog variant designed by the members of the Machine Intelligence Project at the University of Melbourne, released circa 1986, with a version 1.6.9 released circa 1995.

    Recently, I sought to port some software written in NU-Prolog (written by one of its creators, … »

  • Investigating and disabling hard-coded certificate pinning in an Android application

    23 December 2020 | programming reverse engineering obfuscation security cryptography encryption | Comment

    mitmproxy is an open source interactive HTTPS proxy, which makes it easy to intercept HTTPS for reverse engineering, including an Android clients. It does this by installing its own CA certificate on the client device.1

    Recently, I was attempting to reverse engineer the HTTPS… »

  • Customising Pretix defaults with a plugin

    04 September 2020 | pretix programming guide | Comment

    Pretix is an open source ticket sales platform with a self-hosted ‘Community’ edition. Pretix is highly versatile, and features a plugin system making it highly customisable, and the API is fairly well-documented. However, complete examples of how exactly to use the API to accomplish certain… »

  • Using selenium to scrape/import bank transactions for ledger-cli

    29 April 2020 (updated 18 May 2020) | bookkeeping ledger plain-text accounting programming | Comment

    Ledger is a powerful command-line plain-text double-entry bookkeeping system, with the capacity to import transactions from CSV files. In America, many banks provide APIs to access transaction feeds, which can be then directly imported into Ledger. However, in Australia, this is not the case.

    Some… »

  • Customising OsmAnd voice navigation to remove route numbers

    25 January 2020 | android programming open source | Comment

    OsmAnd is an open-source offline map and navigation app for Android, based on OpenStreetMap data.

    In my experience, OsmAnd's voice navigation is the most polished of all open-source Android navigation apps. However, it has a frustrating habit of always announcing street names in conjunction with… »

  • Line wrapping with cgit and correct line numbers

    25 October 2019 | programming | Comment

    cgit is a ‘hyperfast web frontend for git repositories’.

    cgit's display of file contents (example) renders everything inside a pre block, and therefore does not support wrapping of long lines. cgit handles line numbers by coding them separately to the actual content, so… »

  • A new home for my git projects

    25 October 2019 | programming | Comment

    Yesterday, GitLab, where git projects were formerly hosted, announced changes to their terms of service to incorporate mandatory1 telemetry – both on its GitLab.com SaaS website, and its proprietary self-managed products – causing significant consternation among many. This follows the acquisition of GitHub… »

  • Home
  • Git (Archives: GitLab, GitHub)
  • Research
  • Quick Links
  • Posts
    • February 2023 (1)
    • December 2022 (4)
    • October 2022 (4)
    • September 2022 (5)
    • August 2022 (2)
    • More…
  • Tags
    • linux (30)
    • misc (21)
    • opentally (20)
    • copyright (19)
    • medicine (19)
    • single transferable vote (19)
    • drm (18)
    • monash (11)
    • encryption (10)
    • mathematics (9)
    • proportional representation (8)
    • statistics (8)
    • law (7)
    • meeting procedure (7)
    • victoria (7)
    • defective by design (6)
    • digital rights management (6)
    • ptv (6)
    • public transport (6)
    • creative commons (4)
    • ledger (4)
    • plain-text accounting (4)
    • rust (4)
    • webassembly (4)
    • politics (3)
    • python (3)
    • asexuality (2)
    • gsrm (2)
    • tax (2)
    • victorian electoral commission (2)
    • android (2)
    • security (15)
    • cryptography (10)
    • programming (8)
    • bookkeeping (4)
    • television (2)
    • review (8)
    • med in review (11)
    • obfuscation (9)
    • music (9)
    • parliamentary procedure (7)
    • video editing (3)
    • reverse engineering (16)
    • voting systems (8)
    • elections (12)
    • ebook (16)
    • guide (33)
  • Pages
    • Financial statements
    • Musical arrangements
    • Random draws
  • Lee Yingtong Li
  • blog@yingtongli.me
  • My CV · CV of Failures
@RunasSudo

Most material on this website is available under an open licence. See https://yingtongli.me/blog/copyright.html for details.