profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/ClementTsang/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Clement Tsang ClementTsang @Shopify Toronto, Ontario https://clementtsang.github.io/ Backend Dev Intern at Shopify and 4th year CS student at the University of Waterloo

ClementTsang/bottom 2805

Yet another cross-platform graphical process/system monitor.

ClementTsang/rustcc 8

A (toy) C compiler written in Rust.

ClementTsang/polify 7

A low-poly image generation library, with WASM support.

ClementTsang/RustNAO 4

A wrapper of the SauceNAO API in Rust.

ClementTsang/aur-bottom 1

AUR PKGBUILDs for bottom.

ClementTsang/choco-bottom 1

Repo for holding chocolatey files for bottom.

ClementTsang/foto 1

A demo image repository backend, written for Shopify's coding challenge.

ClementTsang/homebrew-bottom 1

Homebrew repo for bottom.

ClementTsang/pdf2htmlEX_docker 1

Updated pdf2htmlEX container with MS fonts included by default

ClementTsang/tui-rs 1

Build terminal user interfaces and dashboards using Rust

push eventClementTsang/bottom

ClementTsang

commit sha 7ee85a82f794c44b3a0bb6a50e8075eff96bb4c8

refactor: finish help menu

view details

push time in 2 days

push eventClementTsang/bottom

Clement Tsang

commit sha b853aef7525ad576b8d740b644e843312d8a46fe

ci: disable homebrew auto-gen (#584) Disables homebrew CI file generation, since it's now handled by separate maintainers! See #578 for some more details.

view details

push time in 4 days

PR merged ClementTsang/bottom

ci: disable homebrew auto-gen

Description

A description of the change and what it does. If relevant (such as any change that modifies the UI), please provide screenshots of the change:

Disables homebrew CI file generation, since it's now handled by separate maintainers! See https://github.com/ClementTsang/bottom/pull/578 for some more details.

Test run

See https://github.com/ClementTsang/bottom/actions/runs/1252315120

Checklist

If relevant, ensure the following have been met:

  • [ ] Areas your change affects have been linted using rustfmt (cargo fmt)
  • [x] The change has been tested and doesn't appear to cause any unintended breakage
  • [ ] Documentation has been added/updated if needed (README.md, help menu, etc.)
  • [x] The pull request passes the provided CI pipeline
  • [x] There are no merge conflicts
+4 -25

0 comment

3 changed files

ClementTsang

pr closed time in 4 days

delete branch ClementTsang/bottom

delete branch : disable_homebrew_ci

delete time in 4 days

PR opened ClementTsang/bottom

ci: disable homebrew auto-gen

Description

A description of the change and what it does. If relevant (such as any change that modifies the UI), please provide screenshots of the change:

Disables homebrew CI file generation, since it's now handled by separate maintainers! See https://github.com/ClementTsang/bottom/pull/578 for some more details.

Checklist

If relevant, ensure the following have been met:

  • [ ] Areas your change affects have been linted using rustfmt (cargo fmt)
  • [ ] The change has been tested and doesn't appear to cause any unintended breakage
  • [ ] Documentation has been added/updated if needed (README.md, help menu, etc.)
  • [ ] The pull request passes the provided CI pipeline
  • [ ] There are no merge conflicts
+4 -25

0 comment

3 changed files

pr created time in 4 days

create barnchClementTsang/bottom

branch : disable_homebrew_ci

created branch time in 4 days

push eventClementTsang/homebrew-bottom

Clement Tsang

commit sha 50c52b21dfed22bebb1e0ce94b00eb0934feb554

Add archival message.

view details

push time in 4 days

push eventClementTsang/clementtsang.github.io

ClementTsang

commit sha 687d07256579d6011add7faae8a164d3431e2e23

Update some entries

view details

ClementTsang

commit sha 54a04164c3889f8875c26198b0d165e75b0cfe12

run npm audit fix

view details

ClementTsang

commit sha 59537fdf14adad8becc7f05fcbfff790fed79c51

fix resume path

view details

push time in 4 days

push eventClementTsang/clementtsang.github.io

ClementTsang

commit sha 65193aaf56afe50d3944f10ed39eaf2f2b5c21f0

fix resume path

view details

push time in 4 days

push eventClementTsang/clementtsang.github.io

ClementTsang

commit sha 9b17a725166425964d25f8e7c7e1a6505e7a6dc8

More updates, fixed formatting of some stuff.

view details

ClementTsang

commit sha 512acb16354afee264e862761a4125ec95e7ddd5

More changes, mainly fixed bug with mobile and FA icon area

view details

ClementTsang

commit sha 85c1224d2696487b6aa2d2ca88d98011caa612d0

Fixed assets issue for pdf.

view details

ClementTsang

commit sha 4ff9df085982731ebf53078523cbe71b2797fc62

Lowered opacity a bit, added preloading.

view details

ClementTsang

commit sha 10ac97b920ae4dd7a698a6e4af7cdf22b95e2862

Redid projects section, more formatting.

view details

ClementTsang

commit sha acc42e34b9a9cd87231becbc889846f0f588f12d

Switched order.

view details

ClementTsang

commit sha 36f40fd63b033613d96a18afa59538f61c698fd7

Tweaked article size for projects.

view details

ClementTsang

commit sha f322cf8d8873dc52a711b993697485936add5fd6

Fix colouring issue.

view details

ClementTsang

commit sha e4a09c61fc887261fb6a80d0cbf1d9c7e5c4c546

Fix divider size.

view details

ClementTsang

commit sha 4751a503f3f84e4ffadb774e3444191a705c76b2

ANOTHER fix, forgot to remove underline for bar.

view details

ClementTsang

commit sha cf4c3faa97ad6ae3843cd1a3efc720ee8a341a3e

Added some symbols, fixed some text issues on mobile.

view details

ClementTsang

commit sha 5ff6711c2bbe848b456a15d90497bf55e794dd15

Update readmes.

view details

ClementTsang

commit sha 641a12c4ba05a5bfab9fc49b9ceeea5856a6b2d7

Resized projects on tablet/mobile.

view details

ClementTsang

commit sha 48bc0712ec62f85868a9f6c5f7462368a19ed01b

Add meta.

view details

ClementTsang

commit sha 126117fae2b86c297a3fc0e8466d0e4b2c10a62b

Changed colour again.

view details

ClementTsang

commit sha 2f35767c8e0f41a3717368f747cbdd1f47a1b0df

Changed colours for now.

view details

ClementTsang

commit sha f4fa253efcd025250728074899a76a2233a7030d

Changed mobile a bit for consistency.

view details

ClementTsang

commit sha bdb700faf0b2ca812912afea4bd3754545ff8494

Fix typo

view details

Clement Tsang

commit sha 6211fccc5f52b6c57d48beaed9d8cb46288007fe

Update README.md

view details

ClementTsang

commit sha 133cb4f22e362bc6534fd4854616c99f4efaf43d

Added tooltips and more button options in project cards.

view details

push time in 4 days

push eventClementTsang/clementtsang.github.io

ClementTsang

commit sha ddaf5aa9d92cfcbe421585866b44f426ca7b0b7e

run npm audit fix

view details

push time in 4 days

push eventClementTsang/clementtsang.github.io

ClementTsang

commit sha b2369850add0435d8fa4aa29119754251e67bc2a

Swap ! for .

view details

push time in 4 days

delete branch ClementTsang/clementtsang.github.io

delete branch : gh-pages

delete time in 4 days

push eventClementTsang/clementtsang.github.io

ClementTsang

commit sha 77482af921ebd258f77c060d22e130ba528e4379

Update wording for exp

view details

push time in 4 days

push eventClementTsang/clementtsang.github.io

Clement Tsang

commit sha 8501befa0bc4294e5483d4d0972946f9620c2033

Update README.md

view details

ClementTsang

commit sha 8ac73a32d8e2e4edd4d0a14f944002959159e741

Added tooltips and more button options in project cards.

view details

ClementTsang

commit sha c368cdc6fc1d3836e253f7c6f0d92a44b2912c42

Some tweaks to demos (merged with pages and changed icon) and some spacing changes. No deploy yet.

view details

Clement Tsang

commit sha 0822f525a42870ef88154957ff35bbf7ba728ac0

Create LICENSE

view details

Clement Tsang

commit sha 98dedcf55c46c4e83be80f03d455d3a5d1033749

Merge pull request #4 from ClementTsang/add-license-1 Create LICENSE

view details

ClementTsang

commit sha 00bb6c34c82937bbc5b5433cb5024124b1cb0a20

Add footer

view details

ClementTsang

commit sha 280a9a30f55a301fe9a5413671d14d3097da19de

Some colour refactoring and changes

view details

ClementTsang

commit sha e87262bd105d142693fb320017b89633c372e1b1

Update packages

view details

ClementTsang

commit sha 00b0662e2589ab3a78fa8975570f6c1f3927a1b0

Update gitignore.

view details

ClementTsang

commit sha aa2c9459384c05d52bb35b0efcb4652156c9fd9c

Some minor changes and fix error caused by router update and deduplication

view details

ClementTsang

commit sha a3922318509d76193e118f7b77995fe7b8061f27

Changed router after logic to be less confusing for users

view details

ClementTsang

commit sha 238417b88c8d911c68a29b2c6ea14632398ac436

More router changes

view details

ClementTsang

commit sha 3d1e85fc12a727e23916980773e0ca1fe85a4faf

Footer and background color change

view details

ClementTsang

commit sha 98ec0c7e6b70994ca1532d46a71698c71fd78b41

Some cleaning and add shadow. Re-add router clunk

view details

ClementTsang

commit sha 3672498bd315ed28f8c7acef4fde2949bf097775

Update polyfills for scrollspy start

view details

ClementTsang

commit sha 885780ffd9962940d113ee0b35511e17efdfe193

Fix 1 pixel issue with scroll

view details

ClementTsang

commit sha fc10b8c501395a2ab981abb14b017d3f6de7392b

Add basic scrollspy, need to tune

view details

ClementTsang

commit sha 9cc89825f9759dd7e3e92c1f3d4e5d453f15a172

Add threshold

view details

ClementTsang

commit sha 4c74d6b9477f2d79c5caddcc28093824369c6fc9

Colour change and new scrollspy effect!

view details

ClementTsang

commit sha a4eefc4cc029eba820c4fb6c41496f6216927a66

More colour and animation tweaking

view details

push time in 4 days

PullRequestReviewEvent

push eventClementTsang/bottom

Randy Barlow

commit sha 7600519682103b86cd43ccddac3bde715ccf217b

RUSTSEC-2021-0093: Update crossbeam-deque https://rustsec.org/advisories/RUSTSEC-2021-0093 Signed-off-by: Randy Barlow <randy@electronsweatshop.com>

view details

Randy Barlow

commit sha 72e97a2eafa50d85209018005fbc1ff4774ef524

RUSTSEC-2021-0003: Update smallvec https://rustsec.org/advisories/RUSTSEC-2021-0003 Signed-off-by: Randy Barlow <randy@electronsweatshop.com>

view details

Randy Barlow

commit sha d6a70fcd020033aff7af8994e3e1fbbb482e2f70

Run cargo update Signed-off-by: Randy Barlow <randy@electronsweatshop.com>

view details

Clement Tsang

commit sha 05e6d3e0be3e80475c392c0c406adbfd068615c6

Merge pull request #580 from bowlofeggs/RUSTSEC-2021 RUSTSEC-2021-0003, RUSTSEC-2021-0093, and cargo update

view details

push time in 5 days

PR merged ClementTsang/bottom

RUSTSEC-2021-0003, RUSTSEC-2021-0093, and cargo update

Description

There are three commits in this PR. The first two address RUSTSEC-2021-0003 and RUSTSEC-2021-0093, and the third runs a general cargo update just to get on the latest compatible versions of all dependencies.

Testing

I ran cargo test, cargo check, and cargo run on Fedora 33 (x86_64).

Furthermore, mark which platforms this change was tested on. All platforms directly affected by the change must be tested

  • [ ] Windows
  • [ ] macOS
  • [X] Linux

Checklist

If relevant, ensure the following have been met:

  • [X] Areas your change affects have been linted using rustfmt (cargo fmt)
  • [X] The change has been tested and doesn't appear to cause any unintended breakage
  • [ ] Documentation has been added/updated if needed (README.md, help menu, etc.)
  • [ ] The pull request passes the provided CI pipeline
  • [X] There are no merge conflicts
+224 -240

0 comment

1 changed file

bowlofeggs

pr closed time in 5 days

PullRequestReviewEvent

push eventClementTsang/bottom

allcontributors[bot]

commit sha ba8de4a74d2a55dca3c103290e3ba2e8c70359ad

docs: add bowlofeggs as a contributor for code (#583) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

view details

push time in 5 days

delete branch ClementTsang/bottom

delete branch : all-contributors/add-bowlofeggs

delete time in 5 days

PR merged ClementTsang/bottom

docs: add bowlofeggs as a contributor for code

Add @bowlofeggs as a contributor for code.

This was requested by ClementTsang in this comment

+12 -0

0 comment

2 changed files

allcontributors[bot]

pr closed time in 5 days

issue closedClementTsang/bottom

test_default_battery_movement fails when battery feature is disabled

Describe the bug

I'm working on upgrading Gentoo to bottom-0.6.4, and I'm seeing one test that fails when the battery feature is disabled:

---- test_default_battery_movement stdout ----
thread 'test_default_battery_movement' panicked at 'called `Result::unwrap()` on an `Err` value: ConfigError("\"battery\" is an invalid widget name.\n\nSupported widget names:\n+--------------------------+\n|            cpu           |\n+--------------------------+\n|        mem, memory       |\n+--------------------------+\n|       net, network       |\n+--------------------------+\n| proc, process, processes |\n+--------------------------+\n|     temp, temperature    |\n+--------------------------+\n|           disk           |\n+--------------------------+\n                ")', tests/layout_management_tests.rs:47:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

What operating system/architecture are you using?

This is a Gentoo container in podman on x86_64 (host is Fedora 33, though that's probably not relevant).

What terminal are you using bottom on?

gnome-terminal, though this is probably not relevant.

What version are you on?

0.6.4.

How did you install bottom?

I am building bottom from the 0.6.4 tag with Rust 1.53.0.

How can we reproduce this?

Run cargo test --no-default-features.

What is the actual behaviour?

See error output in Description above.

What is the expected behaviour?

Tests should pass, or automatically skip in environments they can't pass in.

closed time in 5 days

bowlofeggs

push eventClementTsang/bottom

Randy Barlow

commit sha 9acfacb5a5f6feccc3007371876c0b4fce6b3cde

Feature gate test_default_battery_movement test_default_battery_movement() is now feature gated on the battery feature. fixes #581 Signed-off-by: Randy Barlow <randy@electronsweatshop.com>

view details

Clement Tsang

commit sha f036a651356686097e6743aa23a831200bd8b273

Merge pull request #582 from bowlofeggs/bowlofeggs-0.6.4-battery-test Feature gate test_default_battery_movement

view details

push time in 5 days

PR merged ClementTsang/bottom

Feature gate test_default_battery_movement

Description

test_default_battery_movement() is now feature gated on the battery feature.

fixes #581

Signed-off-by: Randy Barlow randy@electronsweatshop.com

Issue

See #581 - Gentoo now passes tests with and without the feature enabled.

Closes: #581

Testing

I ran the test suite with and without the feature enabled, both on Fedora 33 and Gentoo's ebuild environment.

Furthermore, mark which platforms this change was tested on. All platforms directly affected by the change must be tested

  • [ ] Windows
  • [ ] macOS
  • [X] Linux

Checklist

If relevant, ensure the following have been met:

  • [X] Areas your change affects have been linted using rustfmt (cargo fmt)
  • [X] The change has been tested and doesn't appear to cause any unintended breakage
  • [ ] Documentation has been added/updated if needed (README.md, help menu, etc.)
  • [ ] The pull request passes the provided CI pipeline
  • [X] There are no merge conflicts
+4 -1

2 comments

1 changed file

bowlofeggs

pr closed time in 5 days

pull request commentClementTsang/bottom

Feature gate test_default_battery_movement

LGTM.

@all-contributors add @bowlofeggs for code.

bowlofeggs

comment created time in 5 days

PullRequestReviewEvent

push eventClementTsang/bottom

allcontributors[bot]

commit sha a12e68bbb424edadbea35bb2fc27d0715f747a18

docs: add adiabatic as a contributor for doc (#579) * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

view details

push time in 6 days

PR merged ClementTsang/bottom

docs: add adiabatic as a contributor for doc

Add @adiabatic as a contributor for doc.

This was requested by ClementTsang in this comment

+10 -0

0 comment

2 changed files

allcontributors[bot]

pr closed time in 6 days

delete branch ClementTsang/bottom

delete branch : all-contributors/add-adiabatic

delete time in 6 days