profile
viewpoint
Tshepang Lekhonkhobe tshepang @panoptix-za Johannesburg tshepang.net

tshepang/actix-website 0

The Actix website.

tshepang/api-guidelines 0

Rust API guidelines

tshepang/app 0

A easy-to-use command-line-parser.

tshepang/argh 0

Rust derive-based argument parsing optimized for code size

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 1bd91da6d86e88733b93fbf1a16c4b510b61e4ea

new

view details

push time in 2 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha f7469cafd3665d683dd5e2b8352c5c5da8b7e7b0

build

view details

push time in 2 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 162324debbca5ad94eac3d7dfc30d928a9e5bc5a

new

view details

push time in 2 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 461b2540a4de7736ed3a7061f1c13acc5791b284

build

view details

Tshepang Lekhonkhobe

commit sha d44963eb932177abe5b426512b0f6faa52aeff0e

build

view details

push time in 2 days

Pull request review commentrust-lang/blog.rust-lang.org

1.45.2 post

+---+layout: post+title: "Announcing Rust 1.45.2"+author: The Rust Release Team+release: true+---++The Rust team is happy to announce a new version of Rust, 1.45.2. Rust is a

The Rust team announces...

Mark-Simulacrum

comment created time in 8 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 0507bf7b2c79a8cd60e35751ea62f964fc569544

I loves Ferrous Systems

view details

push time in 8 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 9704c645c7931b207fa01d2e0fd247aeef433a5a

build

view details

push time in 8 days

issue commentrust-lang/rust

"x.py doc" fails

@jyn514 that worked

tshepang

comment created time in 11 days

issue openedrust-lang/rust

Just bumped onto this with `./x.py doc`, even after `./x.py clean`:

Just bumped onto this with ./x.py doc, even after ./x.py clean:

error[E0460]: found possibly newer version of crate `std` which `synstructure` depends on                                                    
 --> src/librustc_macros/src/lib.rs:4:5                                                                                                      
  |                                                                                                                                          
4 | use synstructure::decl_derive;                                                                                                           
  |     ^^^^^^^^^^^^                                                                                                                         
  |                                                                                                                                                                                                                                                                                       
  = note: perhaps that crate needs to be recompiled?                                                                                                                                                                                                                                      
  = note: the following crate versions were found:                                                                                                                                                                                                                                        
          crate `std`: /home/tshepang/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95e90a1be2e66993.rlib                                                                                                                            
          crate `std`: /home/tshepang/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95e90a1be2e66993.so                                                                            
          crate `synstructure`: /home/tshepang/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps/libsynstructure-7a0d29a374b01f60.rmeta

Originally posted by @tshepang in https://github.com/rust-lang/rust/issues/59105#issuecomment-667036879

created time in 11 days

issue commentrust-lang/rust

Incremental compilation error building rustc (`-i --keep-stage 0`)

Just bumped onto this with ./x.py doc

error[E0460]: found possibly newer version of crate `std` which `synstructure` depends on                                                    
 --> src/librustc_macros/src/lib.rs:4:5                                                                                                      
  |                                                                                                                                          
4 | use synstructure::decl_derive;                                                                                                           
  |     ^^^^^^^^^^^^                                                                                                                         
  |                                                                                                                                                                                                                                                                                       
  = note: perhaps that crate needs to be recompiled?                                                                                                                                                                                                                                      
  = note: the following crate versions were found:                                                                                                                                                                                                                                        
          crate `std`: /home/tshepang/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95e90a1be2e66993.rlib                                                                                                                            
          crate `std`: /home/tshepang/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-95e90a1be2e66993.so                                                                            
          crate `synstructure`: /home/tshepang/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps/libsynstructure-7a0d29a374b01f60.rmeta

Am now running same command with rust.incremental = false, just in case that will avoid the fail.

alexreg

comment created time in 11 days

pull request commentrust-lang/rustc-dev-guide

Rename `src/libstd` to `library/std` etc.

Failure is due to TLS cert that expired yesterday

JohnTitor

comment created time in 13 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 946484c16f9a68aa2595372f122670af596ae05b

fix

view details

push time in 14 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 480ddcc46051f0be770e84e960dff883799cf2d5

build

view details

push time in 14 days

pull request commentrust-lang/rust

mv std libs to library/

Probably move small bits at a time for compiler/ move, to avoid this pain

mark-i-m

comment created time in 14 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 55490a94815adacc70c8eadbe9d475150151ea2e

add missing link

view details

push time in 15 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha ddc12d8bb2bb64c5126ed171507a47a7c264f84d

build

view details

push time in 15 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 2984e3105309f80689cb77e100d1b200d4f3315b

new

view details

push time in 15 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 48cd0336554563d5e1b3b6cbfd7f8cdbd01c8c89

build

view details

push time in 15 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 75b2f75c154f2b000c24878996bc8d64530708e3

broken from being converted from rST (to md) Broken at 08f840023ddb38d614c382d0af4bcb0cb4ffc504

view details

push time in 15 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 1a47c16a8c6a119138cd7d9aa9b8cf237bb58815

build

view details

push time in 15 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha e3af7c13fc750acd7b77d536701066caaf249bac

add missing tag

view details

push time in 16 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha da5cf875eb0306c673dac216ccd030a068b1084e

build

view details

push time in 16 days

pull request commentrust-lang/rust

cleanup: Remove duplicate library names from `Cargo.toml`s

@matklad is it a new feature for it to work without needing to specify path=?

petrochenkov

comment created time in 19 days

delete branch tshepang/rust

delete branch : one-more-example

delete time in 19 days

push eventtshepang/custom

Tshepang Lekhonkhobe

commit sha fe5ebd4e1ef2258680a42b5afedd8d9896154f30

no more rST, lots of yml

view details

push time in 19 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 7383728224ff9ca64bf81be6062920931f2a0f88

too thin

view details

push time in 19 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha b8ee84c120d01e6423f85afb88deb38795845dc7

build

view details

push time in 19 days

Pull request review commentrust-lang/blog.rust-lang.org

Add blog post about moving Rust's CI to GitHub Actions

+---+layout: post+title: "Rust's CI is moving to GitHub Actions"+author: Pietro Albini+team: the infrastructure team <https://www.rust-lang.org/governance/teams/operations#infra>+---++The Rust Infrastructure Team is happy to announce that, as part of the+[evaluation we started last year][eval], most of Rust’s CI is moving to GitHub+Actions! While we don’t expect the change to have any impact to our users, the+switch will considerably improve the experience for compiler contributors.++One of the major pain points for compiler contributors over the past few years+has been waiting for PRs to be merged. We value having an always-green master+branch, and to ensure that we test and merge just one PR at a time, with the+other approved ones [waiting in the queue][homu]. Our CI is extensive too, with+57 machines building and testing the compiler across all the platforms we+support. On our previous system, each of those builders takes between three to
support. On our previous system, each of those builders took between three to
pietroalbini

comment created time in 19 days

Pull request review commentrust-lang/blog.rust-lang.org

Add blog post about moving Rust's CI to GitHub Actions

+---+layout: post+title: "Rust's CI is moving to GitHub Actions"+author: Pietro Albini+team: the infrastructure team <https://www.rust-lang.org/governance/teams/operations#infra>+---++The Rust Infrastructure Team is happy to announce that, as part of the+[evaluation we started last year][eval], most of Rust’s CI is moving to GitHub+Actions! While we don’t expect the change to have any impact to our users, the
Actions! While we don’t expect the change to have any impact on our users, the
pietroalbini

comment created time in 19 days

Pull request review commentrust-lang/blog.rust-lang.org

Add blog post about moving Rust's CI to GitHub Actions

+---+layout: post+title: "Rust's CI is moving to GitHub Actions"+author: Pietro Albini+team: the infrastructure team <https://www.rust-lang.org/governance/teams/operations#infra>+---++The Rust Infrastructure Team is happy to announce that, as part of the+[evaluation we started last year][eval], most of Rust’s CI is moving to GitHub+Actions! While we don’t expect the change to have any impact to our users, the+switch will considerably improve the experience for compiler contributors.++One of the major pain points for compiler contributors over the past few years+has been waiting for PRs to be merged. We value having an always-green master+branch, and to ensure that we test and merge just one PR at a time, with the
branch, and to ensure that, we test and merge just one PR at a time, with the
pietroalbini

comment created time in 19 days

push eventtshepang/rust

Tshepang Lekhonkhobe

commit sha 1ee63ada13f02a49b771f96161f7cf3096741160

address review comment

view details

push time in 19 days

Pull request review commentrust-lang/rust

one more Path::with_extension example, to demonstrate behavior

 impl Path {     ///     /// let path = Path::new("foo.rs");     /// assert_eq!(path.with_extension("txt"), PathBuf::from("foo.txt"));+    ///+    /// let path = Path::new("foo.bar.baz");+    /// assert_eq!(path.with_extension(""), PathBuf::from("foo.bar"));
    /// let path = Path::new("foo.tar.gz");
    /// assert_eq!(path.with_extension(""), PathBuf::from("foo.tar"));
tshepang

comment created time in 19 days

push eventtshepang/custom

Tshepang Lekhonkhobe

commit sha 0e065bad9980935dcecc8e68b04a8823600bdf73

tired of losing stuff

view details

Tshepang Lekhonkhobe

commit sha 77da6e9d14a1fd850dc56a17255474e45884a472

accomodate git change

view details

push time in 20 days

delete branch tshepang/zola

delete branch : patch-2

delete time in 20 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha b16168cb0d0ea11aee281c0f658d692e8e9736fa

was a little too large

view details

Tshepang Lekhonkhobe

commit sha 590cf111ec93aeeba60254e308f8c0dd12520d33

was way too large

view details

push time in 20 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 136f641b3b4b7e1c88e5e7e6840dd89d7eae26b6

build

view details

push time in 20 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 9579fb9b8a4a72c407aa86091575f89a8f9ba4d3

make those headings

view details

Tshepang Lekhonkhobe

commit sha 5d5a88155f9ac9c74f64811b135519165ce22f0a

this runs all the time

view details

push time in 20 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha c0642b98d78ab7fae3d688f474deb737d9cfe13c

build

view details

push time in 20 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 7030387be7358bbef3eedc68da55add96c70eb47

build

view details

push time in 20 days

delete branch tshepang/zola

delete branch : patch-1

delete time in 20 days

PR opened getzola/zola

make text visible on markdown renderers
+1 -1

0 comment

1 changed file

pr created time in 20 days

push eventtshepang/zola

Tshepang Lekhonkhobe

commit sha e82e5d6b9d1fb0804564bc7e01be12bc723ff742

make text visible on markdown renderers

view details

push time in 20 days

push eventtshepang/zola

Tshepang Lekhonkhobe

commit sha d89bd6be81c91f1596b1f9de700ed25935793766

make visible on markdown renderers

view details

push time in 20 days

fork tshepang/zola

A fast static site generator in a single binary with everything built-in. https://www.getzola.org

https://www.getzola.org

fork in 20 days

delete branch tshepang/tinysearch

delete branch : patch-1

delete time in 21 days

issue closedzonyitoo/rust-ini

a way to remove a key-value pair

Using the following as an example

[section]
key = value-1
key = value-2

How do I remove key = value-2?

Closest I could get is Properties::remove, but that removes the first pair (according to docs).

closed time in 21 days

tshepang

issue commentzonyitoo/rust-ini

a way to remove a key-value pair

Ended up with something like:

let v = prop.remove_all(key).collect::<Vec<String>>();
for value in v.into_iter() {
    if value == "value-2" {
        continue;
    }

    prop.append(key.clone(), value);
}

Thanks much

tshepang

comment created time in 21 days

issue openedzonyitoo/rust-ini

a way to remove a key-value pair

Using the following as an example

[section]
key = value-1
key = value-2

How do I remove key = value-2?

Closes I could get is Properties::remove, but that removes the first pair (according to docs).

created time in 21 days

create barnchtshepang/rust

branch : one-more-example

created branch time in 22 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha d765e668f7e57b4cbbb5208747cf4cdde74c3e8d

it remains a masterpiece Also, tags are used to indicate year

view details

push time in 22 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 77c8169d9b25ddd5faca826010a91b7da61b7d45

build

view details

push time in 22 days

push eventtshepang/tinysearch

Tshepang Lekhonkhobe

commit sha 93df633f3a2ce634fc62934757762203bc965719

remove extraneous paren

view details

push time in 23 days

Pull request review commenttinysearch/tinysearch

readme: fix sentence, and make it more simple

 cargo install tinysearch  ## Usage -As an input, we require a JSON file, which contains a the content you like to index.+As an input, we require a JSON file, which contains the content to index. Check out this [example file](fixtures/index.json)).
Check out this [example file](fixtures/index.json).
tshepang

comment created time in 23 days

push eventtshepang/tinysearch

Tshepang Lekhonkhobe

commit sha 0cf445e269135c597a628269a3f369baddc46e1e

readme: fix sentence, and make it more simple

view details

push time in 23 days

fork tshepang/tinysearch

🔍 Tiny, full-text search engine for static websites built with Rust and Wasm

https://endler.dev/2019/tinysearch

fork in 23 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 584ab717f193556af707ec642c942c7aea8aef34

re-watching season 1 not so favorable

view details

push time in 23 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha a4644b5fce9f05d8cdf1ee37ae6aa0f852d2e372

build

view details

push time in 23 days

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha b6d01f38998666f9403c380b35346d342e171608

rename all files to match their slugs

view details

Tshepang Lekhonkhobe

commit sha 2deca15bee21ee6b3838a3bf0064a573f2398277

revisit I did not notice cinematography and production design excellence this time around

view details

Tshepang Lekhonkhobe

commit sha f6f7e941670431f5b96226d6d9a8c6fbaae9ac58

use special internal link syntax

view details

Tshepang Lekhonkhobe

commit sha 3e3d608e8c95984b30777aabd975b8197f09f2f2

fix a bunch of links Tanks to zola internal link feature

view details

push time in 24 days

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha fb4351248936fdb1b4a1378c421047a7957c5fdb

build

view details

push time in 24 days

delete branch tshepang/rust

delete branch : better-filter-map-doc

delete time in 24 days

create barnchtshepang/rust

branch : better-filter-map-doc

created branch time in 25 days

delete branch tshepang/smol

delete branch : move-examples

delete time in a month

PR closed stjepang/smol

move examples/ to demo/

Closes #72

+75 -111

19 comments

28 changed files

tshepang

pr closed time in a month

pull request commentstjepang/smol

move examples/ to demo/

this is made obsolete by #188

tshepang

comment created time in a month

push eventtshepang/post

Tshepang Lekhonkhobe

commit sha d3eb6f0bc088c9b577a41aed026765359a45fa3f

cargo update

view details

Tshepang Lekhonkhobe

commit sha 126c4aca23d1e392de37bd7c09ea90e2362080d0

bump dep: dirs

view details

Tshepang Lekhonkhobe

commit sha 0f05b836cbe373fdf31f97978f5d2d33407e8dae

moved to slugifying filesnames

view details

push time in a month

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 2e1177c1867d3f33fd804ad6b7191c6664ebef51

rename to match title

view details

push time in a month

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 8825c7672e8a74d457399f0dd14938f403825e45

build

view details

push time in a month

pull request commentstjepang/smol

move examples/ to demo/

@leo-lb just checked Cargo book...

Dev-dependencies are not used when compiling a package for building, but are used for compiling tests, examples, and benchmarks.

tshepang

comment created time in a month

pull request commentstjepang/smol

move examples/ to demo/

@leo-lb would it not be enough to add cssparser to [dev-dependencies]?

tshepang

comment created time in a month

pull request commentrust-lang/rust

mv std libs to std/

According to latest proposal, the collection will live in a directory named "library". That collection is today known as the standard library (conflated as that is, given things like "no_std"). I am ok with just calling "lib", or even "stdlib" (with some preference for the latter).

mark-i-m

comment created time in a month

PR opened GuillaumeGomez/sysinfo

Update README.md

fix cross-build line

+1 -1

0 comment

1 changed file

pr created time in a month

push eventtshepang/sysinfo

Tshepang Lekhonkhobe

commit sha 650c1a905ae528ab8d3373a88ac1756b5e1de608

Update README.md fix cross-build line

view details

push time in a month

create barnchtshepang/sysinfo

branch : tshepang-patch-1

created branch time in a month

push eventtshepang/sysinfo

Tshepang Lekhonkhobe

commit sha 4b3373ce15f6a0ab73c005519e9dfdbc45fd9071

readme: fix cross-build line

view details

push time in a month

PR opened GuillaumeGomez/sysinfo

Prevent infinite recursion when getting disk (part 2)

See also #325

+3 -1

0 comment

1 changed file

pr created time in a month

push eventtshepang/sysinfo

Tshepang Lekhonkhobe

commit sha c7db57b17f9d129b62eba5c7b4071c8068cf8525

Prevent infinite recursion when getting disk (part 2) See also #325

view details

push time in a month

fork tshepang/sysinfo

A system handler to get information and interact with processes written in Rust

fork in a month

PR opened nicholasbishop/writedisk

typo
+1 -1

0 comment

1 changed file

pr created time in a month

push eventtshepang/writedisk

Tshepang Lekhonkhobe

commit sha 95ea65ea63f21cfc92cdc42bd97c547900c45b82

typo

view details

push time in a month

push eventtshepang/writedisk

Tshepang Lekhonkhobe

commit sha 98919972c406b076e4ad920cceb87928c40b2eb5

typo

view details

push time in a month

fork tshepang/writedisk

Small utility for writing to a disk image to a USB drive

https://crates.io/crates/writedisk

fork in a month

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 50a85af7dcf3c7b0979f9af0dc4f613c8827814a

fix

view details

push time in a month

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 8fb7d8509a7d4755942e42daeff20fb51328f3b4

build

view details

push time in a month

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 06e8581287396b3b6a19a6f82c279a1d403fe14a

I use apt-cacher-ng a-lot

view details

push time in a month

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 1155120285178bca86bdb23c37a3085d274d5cd0

build

view details

push time in a month

pull request commentrust-lang/blog.rust-lang.org

posts: Rustup 1.22.1 release

Debian folk call it brown paper bag release

kinnison

comment created time in a month

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 9a7c8f79958a5c45bae736ae2ccf62bb8929d09a

nit

view details

Tshepang Lekhonkhobe

commit sha 69e9ebe223c12a4ed3458c4c86e0d88638d51856

fix

view details

push time in a month

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha fa8a9846eb73df0492bfdde04edf61cbf6f47b47

build

view details

push time in a month

delete branch tshepang/mullvadvpn-app-binaries

delete branch : patch-1

delete time in a month

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 4112d80934536980b8772a3df745084157b0764f

date

view details

push time in a month

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha fd08070fcc2933486eab41c4e458bfbc58cab4f2

build

view details

push time in a month

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 222ff364905695458d02277681433d98156fd573

too thin

view details

push time in a month

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 3620d3d3a95b1ba5691963922ea88e09f9c9bce4

build

view details

push time in a month

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha a5528030c1570d7dc807610cfc5b3c48c2964c34

date

view details

push time in a month

push eventtshepang/tshepang.github.com

Tshepang Lekhonkhobe

commit sha 1d6bff07d14dbd963b77ffe12ed1fafe0008ae21

build

view details

push time in a month

push eventtshepang/blog

Tshepang Lekhonkhobe

commit sha 93c477684e4c78637c672b44d5037ee6493dd268

nit

view details

Tshepang Lekhonkhobe

commit sha 54caf4d3e6099426e6fc9ef7413fbe8f301f43cd

typo

view details

push time in a month

more