Inane Observations $ sudo fix_it
  • Implementing a BLT parser by hand in Rust (vs pest and combine): OpenTally dev log

    30 July 2021 | single transferable vote rust webassembly opentally | Comment

    OpenTally is open-source software which can count single transferable vote elections specified using the BLT file format.

    Earlier this month, I replaced OpenTally's previous naive string-manipulation-based BLT parser with one using pest. A new parser was necessary to support extensions to the BLT… »

  • Asyncify with vanilla JS/WebAssembly (wasm-bindgen compatible)

    28 July 2021 (updated 29 July 2021) | rust webassembly opentally | Comment

    Background

    WebAssembly is a technology for executing compiled programs in the web browser at near-native speeds. However, it has a number of current limitations, including that it does not support coroutines/asynchronicity.

    In OpenTally, WebAssembly is used to run code for counting an election. This… »

  • Reducing binary size with DIY dynamic dispatch: OpenTally dev log

    16 July 2021 | rust webassembly opentally | Comment

    Background

    OpenTally is open source software for the counting of preferential voting elections. One feature of OpenTally is support for various different representations of numbers, from floating-point arithmetic through to exact rational representations.

    In OpenTally, these are implemented using generics. For example, consider the following… »

  • Porting Python to Rust/WebAssembly: OpenTally dev log

    05 June 2021 (updated 16 July 2021) | elections voting systems proportional representation single transferable vote rust webassembly opentally | Comment

    Background and motivation

    pyRCV2 is software for open-source election counting. It is intended to be usable across multiple platforms – as a web application, for the convenience of users less technologically inclined, and as a standalone CLI desktop application, for better performance. To this end,… »

  • Home
  • Git (Archives: GitLab, GitHub)
  • Research
  • Quick Links
  • Posts
    • June 2022 (5)
    • May 2022 (2)
    • November 2021 (1)
    • September 2021 (1)
    • August 2021 (4)
    • More…
  • Tags
    • guide (33)
    • linux (30)
    • misc (21)
    • copyright (18)
    • drm (17)
    • opentally (16)
    • reverse engineering (16)
    • ebook (15)
    • security (15)
    • single transferable vote (15)
    • medicine (14)
    • elections (11)
    • cryptography (10)
    • encryption (10)
    • gaming (10)
    • med in review (9)
    • monash (9)
    • music (9)
    • obfuscation (9)
    • proportional representation (8)
    • review (8)
    • voting systems (8)
    • clara hd (7)
    • ereader (7)
    • kobo (7)
    • meeting procedure (7)
    • parliamentary procedure (7)
    • programming (7)
    • law (6)
    • ptv (6)
    • public transport (6)
    • victoria (6)
    • arch linux (5)
    • books (5)
    • defective by design (5)
    • digital rights management (5)
    • windows (5)
    • bookkeeping (4)
    • dota (4)
    • error (4)
    • ledger (4)
    • meme (4)
    • plain-text accounting (4)
    • rant (4)
    • rust (4)
    • science fiction (4)
    • video (4)
    • webassembly (4)
    • amd (3)
    • creative commons (3)
    • dank (3)
    • java (3)
    • mac (3)
    • raspberry pi (3)
    • road rules (3)
    • south australia (3)
    • video editing (3)
    • wine (3)
    • youtube (3)
    • android (2)
    • asexuality (2)
    • ati (2)
    • audio (2)
    • clayton (2)
    • defense of the ancients (2)
    • finances (2)
    • gsrm (2)
    • hybrid graphics (2)
    • ib (2)
    • intel (2)
    • interview (2)
    • kodi (2)
    • league of legends (2)
    • lol (2)
    • macintosh (2)
    • mbbs (2)
    • md (2)
    • metro trains (2)
    • minivmac (2)
    • mmi (2)
    • musical theatre (2)
    • parliament (2)
    • politics (2)
    • steam (2)
    • tax (2)
    • television (2)
    • ukulele (2)
    • undergraduate (2)
    • vline (2)
    • xbmc (2)
    • xbone (2)
    • yarra trams (2)
  • 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.