profile
viewpoint
Odin Dutton twe4ked @cultureamp Melbourne, Australia http://odindutton.com/ @cultureamp, previously @envato.

twe4ked/catacomb 57

Encrypts files using public keys from GitHub

charliesome/mixlab 27

Digital audio workstation

keithpitt/vendorforge.org 5

A site that allows you to publish and share iOS libraries created with the vendor gem

twe4ked/chip-8 5

A CHIP-8 VM implementation

twe4ked/api-docs 2

View API documentation generated by rspec-api-docs

twe4ked/aurora 2

A shell prompt for Bash and Zsh.

eleanorakh/TARS 1

A Slack bot to catch reposted links.

startedAloxaf/silicon

started time in 2 days

push eventtwe4ked/ansi-to-png

Odin Dutton

commit sha 16e9a3f5f4474902accf630edbb6641f89f86d54

Use primary colors for background and foreground

view details

push time in 2 days

push eventtwe4ked/ansi-to-png

Odin Dutton

commit sha 0000ca7218950138b3d184d62e8ca6c6b36897ec

Add README

view details

push time in 2 days

push eventtwe4ked/ansi-to-png

Odin Dutton

commit sha c203e56a4f86034fdecc58d10e63a356e3bb54f2

Move chars_count()

view details

Odin Dutton

commit sha 8dd53e22c63479bd6c601fc30506d717bf69a9f8

Tweak uses

view details

Odin Dutton

commit sha 4cefc28e4c54fb584434fa02bac16ae736b1f7d5

Add comment

view details

Odin Dutton

commit sha 2056f89f1465defc392fb7fe97d24a15eeab88bf

Add README

view details

push time in 2 days

push eventtwe4ked/ansi-to-png

Odin Dutton

commit sha 8611213e3ceaa9243a4dc77c06c3ab933781d9de

Use ansi color table directly

view details

Odin Dutton

commit sha f0c20bbcc64e8fd3eca9f4828c16767164a31fd9

Handle reset

view details

Odin Dutton

commit sha 0842a09ee188cbe7e38ae30533d85ffdba5c0471

Formatting

view details

Odin Dutton

commit sha b9c8bf1193b8092aa5d7eb8f566486d55bba846e

Remove let

view details

Odin Dutton

commit sha 66ba0f37335d387beb0864a019b58d8d3c731e75

Remove unneeded use

view details

Odin Dutton

commit sha 46bc95963c26a994139d5c1e0b170be8c7f4bd30

Use Rgb directly

view details

Odin Dutton

commit sha bac6d3004267792ec12fae9be995dd948a397071

Remove unused pub and CursorColors

view details

Odin Dutton

commit sha 605c162bee94a66912305bdbfdb18a926526e4fa

Extract renderer

view details

Odin Dutton

commit sha 807e4e112361951df2768d910c73a312b49ce541

Extract parse() function

view details

push time in 2 days

startedromkatv/powerlevel10k

started time in 2 days

push eventtwe4ked/ansi-to-png

Odin Dutton

commit sha 7476199497c504886d981b5f422df0aa3837511c

Initial commit

view details

push time in 2 days

create barnchtwe4ked/ansi-to-png

branch : master

created branch time in 2 days

created repositorytwe4ked/ansi-to-png

created time in 2 days

startedftilde/unsegen_terminal

started time in 2 days

startedmooman219/fontdue

started time in 2 days

startedansilove/ansilove

started time in 4 days

startededenhill/kafkacat

started time in 5 days

pull request commentclap-rs/clap

add 'default_missing_value' configuration option

Thanks everyone 🙏

rivy

comment created time in 5 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 6c18adb02212cbf8a175afe33e6604b9c69e0935

Update examples in README

view details

Odin Dutton

commit sha a9f31fe31c2d1bff68b082c67ecce311c5fac6b5

Introduce Style enum to hide crossterm and no-move cursor wrapping

view details

Odin Dutton

commit sha 40177cefda96fde2ce6bd28df4c6f0fcfba9b793

Store reference of Shell

view details

Odin Dutton

commit sha b006ac4760d7d0cb41959cb83eb919de8b10ce9b

Destructure Run struct to simplify ownership

view details

Odin Dutton

commit sha 942a0a70ccfa44ee71f404ded0b88a211bfddd21

Remove short options This isn't meant to be used as a command line tool so people shouldn't need to use the short options.

view details

Odin Dutton

commit sha 72c123c035990f069839d6e79df4bbd101da0894

Return Option<String> or Result<Option<String> from components

view details

Odin Dutton

commit sha 4ea904149f032bd5d083ab8d873a8bdd6e061923

Make Component private

view details

Odin Dutton

commit sha 7c2d8e2dd008c41c64c42e8b40c4717652c33c85

Prefer &[T] over &Vec<T>

view details

Odin Dutton

commit sha 3d6abaa66bc731d8b5ef0447a5b035995ea29cd2

Remove unneeded pubs

view details

Odin Dutton

commit sha e31e22c744b0f921a266d2958ea0a638811e55e8

Inline color and reset "components" These aren't components like the others, they're more similar to "static" and "conditional".

view details

push time in 5 days

push eventtwe4ked/aurora

Odin Dutton

commit sha d13faae072c97053b6391e2205fd7d36cc685b70

Add syntax highlighting to code block in README

view details

push time in 7 days

push eventtwe4ked/aurora

Odin Dutton

commit sha f8d5fa5649378ac3e2e54643db623950db94e54d

Move Reset out of Style Token

view details

Odin Dutton

commit sha 2a24a3085bb75dca4329c168f9e2cf639b35fab9

Rename Style to Color

view details

Odin Dutton

commit sha 551a6d735e47fd0cf524876be410b9079e46ab3c

Add reset heading

view details

Odin Dutton

commit sha 425513e17923ff93a91b07a9a7990c346059c52c

Tweak tests

view details

Odin Dutton

commit sha 736a67dafd37a6edc7e66b3428c227e6e6a7374d

Clear entire group if only color/reset

view details

Odin Dutton

commit sha a91ddb61ef849e4d5f4b2d2b2dc94be043f8e23c

Simplify logic

view details

Odin Dutton

commit sha 72668ef2e514a203114cd03e0876019ef4156bfb

Move group clearing outside filter()

view details

Odin Dutton

commit sha e700031c08d64737c65c7eacefee6d993d83960d

Tweak filter() and rename to should_keep_group()

view details

Odin Dutton

commit sha 71190d29d6c513f21122e5df22a458043509e4af

Tweak should_keep_group() docs and wording

view details

Odin Dutton

commit sha 7d40116402cb3893e6df64f6e0db3b4436afba8a

Expand Context struct

view details

Odin Dutton

commit sha b2ff37dc96a6e03994d50dfe46b92430eab8887a

Switch to clap beta

view details

Odin Dutton

commit sha f8c9ee3ce83fd6de28231aa47718507d3e7009bc

Add line break to error

view details

Odin Dutton

commit sha afa0d67081df9da873301c92f2e235b1797d89e1

Add env component

view details

Odin Dutton

commit sha 5e20f087a805260db17b53c525b75f81d43dae17

Add env precmd example

view details

push time in 7 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 374993a57f3d49924eb0981d237ebb623112ee27

Document underline_repo in README

view details

push time in 11 days

push eventtwe4ked/aurora

Odin Dutton

commit sha c34214c8a64383def7fa748ea3e7aca16e06d1fe

Document underline_repo in README

view details

push time in 11 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 0f1ddc1f88eb21d049f4d85fce6eca53b6f1748f

Add hostname component

view details

Odin Dutton

commit sha e5bd96745ae9c5a9e584ded75a3dd2ae47681696

Add user component

view details

Odin Dutton

commit sha f6697f4152c4245b4034d6d2725a29f4436e204b

Add git_status to list of components

view details

Odin Dutton

commit sha 9af6dec9604c54c1dfc72aca136fa3edfa254003

Add environment variables to conditionals

view details

Odin Dutton

commit sha 47677433ad54825b5455b9e564df8b7173be54ec

Add basic instructions for getting started adding a component

view details

Odin Dutton

commit sha ed2e3b568a5f19e9dc678fb95cb0a005b6ffb1aa

Better invalid options error message

view details

Odin Dutton

commit sha 937d1b485dfd179f681cb875062a75a9ce2ea6c8

Improve style error message

view details

Odin Dutton

commit sha 3883ef87336ab54d80bcf76dbf2d7226979f070d

Move option parsing into component

view details

Odin Dutton

commit sha 915664491157526ad43cf9517c41d36af8c714db

Add option to underline repo in cwd

view details

Odin Dutton

commit sha ee91e666ff554483e911ed25fefc74bab6e12405

Simplify cwd

view details

Odin Dutton

commit sha 204ccea9b1f9712e1e5f95b1c0615e91f747099f

Rename CwdStyle to Style

view details

Odin Dutton

commit sha d382f6e83bfe4c1c72dd4863c59c201321df9516

Move underline_repo into Style::Short variant

view details

Odin Dutton

commit sha 811da36beef69aa5390670db88cd348177c9b4eb

Move default out of parse_boolean

view details

push time in 11 days

push eventtwe4ked/aurora

Odin Dutton

commit sha b1cc2d182b88bba56a964017ca687d5812c650ba

Simplify git_branch

view details

Odin Dutton

commit sha f23bc6a5f0047ff6cfaf4ff9f9253b52980db698

Simplify git_commit

view details

push time in 13 days

push eventtwe4ked/aurora

Odin Dutton

commit sha febec91f54004b8a2990e8dc78cb0ea426769f52

Display "^" in git_status a change is staged

view details

Odin Dutton

commit sha 5124ca3d5ffe49915e40a462a775e463505456d1

Vastly improve parser errors

view details

push time in 13 days

delete branch twe4ked/aurora

delete branch : verbose-error

delete time in 13 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 96d8e13f531d964ea2375382b317c2188b912b90

Move reserved keywords to a static

view details

Odin Dutton

commit sha 565ddb9e1a3daa42b162c97b39e4138dad9c8330

Collapse identifier()

view details

Odin Dutton

commit sha 62d3903c3b9ee1a269bd77a643f9e4488b1c7798

Use all_consuming to ensure all input is consumed

view details

Odin Dutton

commit sha f1c0a4310a58f4c361a9a61cc57913fa058357f1

Improve static component parsing

view details

Odin Dutton

commit sha 4040bf0360d650e753624c24611faf26cd9a4ff9

Use &str for parser output where possible The magic is in using recognize() with many1() to return the consumed input as output.

view details

Odin Dutton

commit sha 61cd7604af80c7d1926df268a461c5ad3184183e

Make style components handle whitespace

view details

Odin Dutton

commit sha ca674f946dff6e4ad688ef5ad06cc948d92c7165

Share start/end tag with whitespace handled

view details

Odin Dutton

commit sha 11a402e6ce5103cde0cb87bfc98ce112736cdc5f

Make use of drop

view details

Odin Dutton

commit sha 44eea60d8d1906e41523a705dae5d97650f8ec7e

Extract stash_count()

view details

Odin Dutton

commit sha 4bb322f0b8a3c4b5f97984ffe56b3082961fb193

Redundant clone

view details

Odin Dutton

commit sha d89dcfe5189539698d3a518f3127f4ca663c1d6c

Simplify if else

view details

Odin Dutton

commit sha f76b07177d180ba12ffd65aa2ea92ecbf4989c12

Simplify struct init

view details

Odin Dutton

commit sha 81bf37417923a8718efad81bd0857003e686dbe7

Prevent allocation in "or" case

view details

Odin Dutton

commit sha 3d89d17c3e1df3f2efc6b369b49c3741add431ba

Simplify jobs::display()

view details

Odin Dutton

commit sha 1b098dd4ac2707e4adab7039f5ccc81cfd30985f

Remove closure

view details

Odin Dutton

commit sha 6953e52d59d38d3e95ea407f8fcd3a7d10f0ce15

Prefer TryFrom over FromStr for Token types

view details

push time in 14 days

issue commentrust-lang/git2-rs

Introduce stash_count(&self) -> Result<usize, Error>

  1. I thought that might be the case but I didn't see it stated explicitly (in my quick look)
  2. It might not need unsafe but ideally we don't need a mutable reference to self which is my main reason for wanting to add another function.

Both of these reasons are why I opened an issue rather than a PR :)

twe4ked

comment created time in 14 days

issue openedrust-lang/git2-rs

Introduce stash_count(&self) -> Result<usize, Error>

Would it be possible to introduce something like this? I'm not sure if the goals of this project are to keep it mapping to the libgit2 directly or not. I'm also not sure if allowing not requiring a mutable reference here is sound.

/// Count number of git stashes
pub fn stash_count(&self) -> Result<usize, Error> {
    unsafe {
        let mut count = 0;
        let mut data = StashCbData {
            callback: &mut |_, _, _| {
                count += 1;
                true
            },
        };
        let cb: raw::git_stash_cb = Some(stash_cb);
        try_call!(raw::git_stash_foreach(
            self.raw(),
            cb,
            &mut data as *mut _ as *mut _
        ));
        Ok(count)
    }
}

created time in 14 days

create barnchtwe4ked/aurora

branch : verbose-error

created branch time in 16 days

push eventtwe4ked/aurora

Odin Dutton

commit sha cd1f5d2b77def45d9ed7df8ee9794a71a1987750

Prefer to_owned() over to_string() You should always be using to_owned(). to_string() is the generic conversion to a String from any type implementing the ToString trait. It uses the formatting functions and therefor might end up doing multiple allocations and running much more code than a simple to_owned() which just allocates a buffer and copies the literal into the buffer. https://users.rust-lang.org/t/to-string-vs-to-owned-for-string-literals/1441

view details

Odin Dutton

commit sha ab4d18593d199a7a19235a47f88694689222a100

The ID here implements display

view details

Odin Dutton

commit sha 928fddc52f881f1ac3a45a1929281d66b3247e9d

Make use of more nom features to simplify parsing

view details

Odin Dutton

commit sha b632aa7857ad4495702eeaf9b0578e50f8c1d258

Refactor if statement parsing

view details

Odin Dutton

commit sha 47e14a64dbba4091ee1fdbbacb67f373c885c99f

Refactor component parsing

view details

push time in 16 days

startedSkallwar/suckit

started time in 16 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 6e273aef56b740ebe1cfe39f4bbfbc8232b3273d

Only create context once

view details

push time in 18 days

delete branch twe4ked/aurora

delete branch : chaz-help

delete time in 19 days

push eventtwe4ked/aurora

Odin Dutton

commit sha ca495078971461d6860b107d8a78351cd0aaa00d

Replace global GIT_REPOSITORY and CURRENT_DIR with Context

view details

push time in 19 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 05582d2e66715911b7fbe4b69fda11c0a95f6da8

Bump dependencies

view details

Odin Dutton

commit sha cadf4e3550b37e048f63cda42c2c854a385038de

Add basic git_status component

view details

Odin Dutton

commit sha ad63193ebc05c8e59c1ad9b6080f8f085743ae59

Show modified/new/deleted file status in git_status

view details

Odin Dutton

commit sha deaa4ecc7c37f1ace4b21d18d6dad1c95543c8c3

Introduce Context for current_dir and git_repository

view details

push time in 19 days

create barnchtwe4ked/aurora

branch : chaz-help

created branch time in 19 days

startedlpxxn/rust-design-pattern

started time in 21 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 9e99dfb8498512208f28a515a4ce47af70e204fd

Use enum for Token::Component name

view details

Odin Dutton

commit sha 0b8c7e19728a636e9b282e617efc97262e05e827

Simplify Component enum Computed isn't a great name and this will probably be refactored further. This is hopefully a stepping stone.

view details

Odin Dutton

commit sha 873d16ba520962d5b5340c16b2486a7a15c44b22

Replace Style(style::Style) with Color and ColorReset

view details

Odin Dutton

commit sha 774e457a5f48ba9f812f1ea52560bcb6c091ebc4

Extract component_from_token

view details

Odin Dutton

commit sha bf597c1c7c333c9803aaa293c33c4f861fbb616c

Make evaluate_token_conditionals private for easier refactoring

view details

Odin Dutton

commit sha 44c373ec103b65a3296f4bb97705666fffd5784d

Evaluate conditonals while evaluating the other components

view details

Odin Dutton

commit sha f2f54679d0c4eb0e72f1b33398fd087bc528135b

Allow sharing components_from_tokens

view details

Odin Dutton

commit sha 82cab91ada0d8fc9f69d814a53b59a7dd38cae92

Pass jobs as Option<&str> rather than Option<String>

view details

Odin Dutton

commit sha 65464eca479c928a998fc728995d83a2328ffc76

Move Component Display impl

view details

Odin Dutton

commit sha 2769a48b57be74366a897e2a649e247367d7cfca

Inline components_from_token() This was originally extracted to make the conditional recursion easier. In the end, components_from_tokens was better suited to the recursion because the left/right branches of conditionals are Vec<Token> not Token.

view details

Odin Dutton

commit sha ba7d5c28bced232aa430d40d98ddd2d44bbc5d15

Formatting

view details

push time in 21 days

push eventtwe4ked/dotfiles

Odin Dutton

commit sha 0c68658f9ba9bc4310cd30c525363ca774d5bc8b

Unset ignorecase when entering insert mode This way completion will be case sensitive.

view details

Odin Dutton

commit sha bb23f0d4f35b5d4aaa5df57a31621186309896a2

Rename aurora_prompt file

view details

Odin Dutton

commit sha 9b46d9423d292ce422b88cf145d520f339f6cea7

Remove unneeded {reset}s from aurora prompt config

view details

Odin Dutton

commit sha 238a292cc2cf717e0cadaf21dd1c9202a3e19a1e

Aurora prompt now sets prompt_subst

view details

Odin Dutton

commit sha 76dad6a97b6de50b1e6f6ce9dfca22966e33747e

Conditionally color prompt "$" red

view details

push time in 23 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 544f1960fde738c22fdb3cbd0632a0a0c000cdcc

Change lib public interface

view details

push time in 23 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 9a2ed11f462e3c5dfab1e8218359248ee60c30da

Document conditionals

view details

push time in 23 days

push eventtwe4ked/aurora

Odin Dutton

commit sha c2b0d5c3b0373f8a2edc31bd8ccf6a946eebcf03

Always try to return at least one Token

view details

Odin Dutton

commit sha 68e5f0f882862cfb0cc4d00ce5fa4f143be02df9

Split out tokens() from parse()

view details

Odin Dutton

commit sha fdd8458a7a521c45b4fde39edb01bb9bf1b11654

Parse error if entire input is not consumed

view details

Odin Dutton

commit sha 4791b19e4496ff880145c31ad085bbc9081dfee8

Simplify identifier()

view details

Odin Dutton

commit sha f29a4ed6ac6269bb2adad81e5dddc32a2802168c

Add reserved words

view details

Odin Dutton

commit sha 07639d3463c1ffb4b3bd26e58c9680062159ca6f

Add basic conditional parsing

view details

Odin Dutton

commit sha 45ca8f6a0b514f4aabda5e33658e52618f8d1e10

Parse else

view details

Odin Dutton

commit sha 364f24d3044de87cef1f42a36025429604f58970

Finish implementing "last_command_status" conditonal

view details

Odin Dutton

commit sha c171826ae8d1313842ac258cf5551960a39a6dfe

Turn on prompt_subst in Zsh init script

view details

Odin Dutton

commit sha de7244b03559f90843c69b81cfb3de93e42fa6d8

Make use of add-zsh-hook API

view details

push time in 23 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 1bc97126234c68efc83f6fbd0d27edbe00237ee6

Remove actioned comment

view details

Odin Dutton

commit sha 37d844a58bee3e4037cd0c51d0a5f1c0ef9cdf6f

Ignore more spaces in options

view details

Odin Dutton

commit sha 4eb884f3ea410ec9dc6d86df0f4501f94b446cc7

Improve whitespace handling

view details

Odin Dutton

commit sha d68746421c90ba3d5c9a352a8485cfa965da426b

Split tests

view details

Odin Dutton

commit sha 3bf0772f3f1b0e30915fc7f0483c300783d86c4f

Simplify key_value parser

view details

Odin Dutton

commit sha 6c2ea306f2d471c5aad248bc04e41b10d95c911d

Simplify identifier

view details

Odin Dutton

commit sha 286b6d051d0d5dc274ed2648db9785350b5ee279

Split out into_groups()

view details

Odin Dutton

commit sha 0d80278e731965a73449a262645ab60b8d949660

Add Groups newtype

view details

Odin Dutton

commit sha 20049082e8a5aaaef8e4adb4387db083e20e3c80

Simplify Groups by using a HashMap

view details

Odin Dutton

commit sha acd165fb9813a12f41104477e85a1bac2d5cda92

Rename s/char/static

view details

push time in 23 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 56fbb7444239c558a1b69cb17a40c48db8581573

Whitespace

view details

Odin Dutton

commit sha 08b5220e01900ca4554dfd2e27b5ff4a4deaec45

Improve options handling

view details

Odin Dutton

commit sha 15f242feb2aef3d4cb9fc85e96983e8820c33b83

Return Result from components_from_tokens()

view details

Odin Dutton

commit sha 0831e8ba4152452ce4070093b5ba573f756127ba

Allow parsing multiple options

view details

push time in 25 days

push eventtwe4ked/aurora

Odin Dutton

commit sha 9bc4a723b3315fbdd616645358dd453b077ea566

Move CURRENT_DIR and GIT_REPOSITORY to lib

view details

Odin Dutton

commit sha 4137068a016cff16592787f134ec9151990ae648

Introduce components_from_tokens()

view details

Odin Dutton

commit sha 8650e4f798bfd8dc4339dfee87b171dd8cdc6387

Move modules into lib

view details

Odin Dutton

commit sha 5ee38ed04bbe81cc4ceacdb977fea247d78f37c7

Remove duplicate comment

view details

Odin Dutton

commit sha 3b6d602638883f768f01de693914a38ee4b2fa47

Move brace parsing higher

view details

Odin Dutton

commit sha 8023c7a0c7cd9ab57a093404d3e7905c659090d5

Move cwd style parsing into cwd()

view details

Odin Dutton

commit sha 102229e64f547c6cb3287c8a1cc6b7405de701a9

Handle escaped opening braces

view details

Odin Dutton

commit sha 0eb1f67cd441bd777d0a1dd911acec3a98298156

Add generic key/value parser

view details

Odin Dutton

commit sha 253be5f1affb26613f76708f2d02db48517c160a

Introduce Token::Component

view details

Odin Dutton

commit sha 8d57377706615aa074ca3a3071492bd2f58a6792

Use preceded and terminated to parse style

view details

Odin Dutton

commit sha d9fcd86771b43738bd645ab521a5816a58e636c9

Improve style parsing

view details

Odin Dutton

commit sha f195fc05513df8c4547e1fdb2408cf24f1e786ed

Introduce Static token and component

view details

Odin Dutton

commit sha 05404f68910242704115acc74df8c3ae40bd9439

Remove Vec nesting in parsing

view details

Odin Dutton

commit sha 358c539fe6a65fcb0389e487731e1380d7cc6449

Remove Char Token and Component

view details

Odin Dutton

commit sha dbd89cc1f3e7ddc8517a36e460d416c47837835d

Clippy

view details

push time in 25 days

push eventtwe4ked/aurora

Odin Dutton

commit sha db8e2d46d81d32189626bb341ab6f4c4f5c0aa33

Make CURRENT_DIR and GIT_REPOSITORY global and lazy

view details

Odin Dutton

commit sha 76ad53a5a93f7fa716448b8b24923aa4a2f20512

Style

view details

Odin Dutton

commit sha 66be711c4148252410e6fd5746645cfb6378c5c6

Replace Component::Empty with Option<Component>

view details

Odin Dutton

commit sha 1c369260e1692c4e412e6bb1751439b17ee03f8c

Import CwdStyle directly

view details

Odin Dutton

commit sha b9107179551716c7f8ea720dae378f93d9441829

Invert match

view details

Odin Dutton

commit sha 4c75dd7bf757e44f899107cb1bfeac29471867ee

Move Token -> Option<Component> into component module

view details

Odin Dutton

commit sha 284206a1f6a57f1af0a7a1845a805563591134a0

Return Vec<Component> from squash()

view details

Odin Dutton

commit sha 0afd35680eaaf4893f663bb3e68f16fe1b5c7026

Introduce newtype for code reuse

view details

Odin Dutton

commit sha 3d86c3fe24795973b42a87128b1b91a77adedb0e

Move filter() call Having the Reset component shouldn't affect the filter() call.

view details

Odin Dutton

commit sha ec3475b628f945a915aeb2128a6c4e96727de8cd

Make it clear that we always add the component to the group

view details

Odin Dutton

commit sha fffd774e6a2d31986ddc3ab50b4c19e1adcca534

Add unreachable!()

view details

Odin Dutton

commit sha ca707f7675332534cf54d17ae1582bfd281f7cf7

Comment

view details

Odin Dutton

commit sha ebc8a684b750eb5f0b175d6f29707a1b09349d8f

Greatly simplify squash() This is essentially moving out the unreachable!().

view details

Odin Dutton

commit sha 1c01c3937276ab85c2b3adc203fd8aaa25e4f590

Make filter() modify Vec in place

view details

Odin Dutton

commit sha 773920fc580fc6207ac8124580f715ef5364ee53

Swap match order

view details

Odin Dutton

commit sha 488289efd92e7e934db40b921a988c596e892c7c

Flip bools

view details

Odin Dutton

commit sha 8730c6dfab44b004f7774b1cfde7b518fdf4da1d

Clean up filter() boolean logic and add lots of comments This removes the `group_contains_none_value` logic as I don't think it was needed.

view details

push time in a month

startedmozilla/sccache

started time in a month

push eventtwe4ked/odindutton.com

Odin Dutton

commit sha af4506ebdb68a25ec98e940a5930f81209620c69

Fix prompt links

view details

push time in a month

push eventtwe4ked/odindutton.com

Odin Dutton

commit sha 6c166d937b3d2cfce08b03dffe80a445c5c02ce1

Remove fancy header scrolling

view details

push time in a month

issue closedtwe4ked/odindutton.com

Jekyll Feed

  • https://github.com/jekyll/jekyll-feed
  • https://github.com/blog/2053-easier-feeds-for-github-pages

closed time in a month

twe4ked

issue commenttwe4ked/odindutton.com

Jekyll Feed

https://github.com/twe4ked/odindutton.com/blob/aba0b206a4fab68b06a11e65d466416a7e4e81a9/feed

twe4ked

comment created time in a month

push eventtwe4ked/odindutton.com

Odin Dutton

commit sha aba0b206a4fab68b06a11e65d466416a7e4e81a9

Use a transparent favicon http://transparent-favicon.info/

view details

push time in a month

push eventtwe4ked/odindutton.com

Odin Dutton

commit sha 183a359438a5dc56073dad26d0eb0f7115a8bfc5

Add summary paragraph

view details

Odin Dutton

commit sha 7335a379dbb227266bb80eb2052f275b9eab55cf

The hl port was done in 2020

view details

push time in a month

push eventtwe4ked/odindutton.com

Odin Dutton

commit sha a92b03e8daf4fc441f23c24fb3827c1ada952864

Add /no-script link

view details

Odin Dutton

commit sha e130f9af87ab8b96c176376ecd7894bdc519ab8d

Add initial "My Rust Journey So Far" post

view details

push time in a month

startedcalibreapp/react-live-chat-loader

started time in a month

issue commentGrayJack/coreutils

Head: support - input

You sure can :)

GrayJack

comment created time in a month

startedrrbutani/PotatoPad

started time in a month

startedtauri-apps/tauri

started time in a month

startedrustwasm/gloo

started time in a month

starteddamncabbage/dotfiles

started time in a month

startedArkweid/lefthook

started time in a month

delete branch twe4ked/cargo

delete branch : install-current-directory-error

delete time in a month

push eventtwe4ked/prompt

Odin Dutton

commit sha 35d3b0d1e9a9c8f1666beef833ed9747dbf0756c

Combine match branches

view details

Odin Dutton

commit sha 978b9260d9ec000457d584c73b95fb7e1ea8b4fa

Reuse group vec

view details

Odin Dutton

commit sha f60ed1f38b11921191f3342937f475465fb75215

Rename static_component to token

view details

Odin Dutton

commit sha 521515c3c3912af0f2c34cb4e78a31e21489560a

Switch from StructOpt to Clap 3.0.0-beta.1

view details

Odin Dutton

commit sha c6382810b28357a7ce8e0270bb2d46c5c6eb899c

Use subcommand to clean up Options

view details

Odin Dutton

commit sha 1fb3402e4d85727b43e19097874f5f353d1633ba

Introduce Shell enum as an entry point to support more shells

view details

Odin Dutton

commit sha e66ecc71fd7655a02862dbc85f589a6b36ee4d12

Rename to Aurora Prompt http://www.antarctica.gov.au/living-and-working/travel-and-logistics/ships/aurora-australis

view details

Odin Dutton

commit sha dc6b8105426d115687dd5fcdceed600c2bf08007

Add inspiration to README

view details

Odin Dutton

commit sha f9cdb7f96d89c3300a503684041c47f77ce4f115

Initial bash support Thanks starship for the init script.

view details

Odin Dutton

commit sha 043d51f346e2ddd7fb7959b56d21a128ba0f049f

Fix style test

view details

Odin Dutton

commit sha 7906ecc9e02371027bae81c274e029080b57535e

Collapse match

view details

Odin Dutton

commit sha 14e5aa1a095de3139cbac5e5a0f540966f04c251

Update README

view details

Odin Dutton

commit sha c54ef71133d32a2834668029fdb1b4351d87a8d4

Introduce run subcommand for better organization

view details

Odin Dutton

commit sha ce92351c3b19d35bcc3f08e6abc93ccf291988c1

Remove AURORA_SHELL environment variable

view details

Odin Dutton

commit sha 6b7bf2db9122407d71487390fa86c92266873516

Tweak run command and init script replacements

view details

Odin Dutton

commit sha e5e3e396e6c49ccb70c97cc7f73ef23890d96192

Update README for bash support

view details

Odin Dutton

commit sha 976ec35689e3cb4210f09da7249778595785195e

Naming

view details

Odin Dutton

commit sha 18b7f61c111841d8092e93effff0acab430b95da

Support colors on Bash

view details

Odin Dutton

commit sha d417db3b4bb34561b93dbaebf710c60eb875a36c

Fix jobs

view details

Odin Dutton

commit sha accb8a02ed6bff39454f3eccf52b04e4796eb5cf

Clippy improvements

view details

push time in a month

PR opened rust-lang/cargo

Improve error message when running `cargo install .`

Existing error:

$ cargo install .
    Updating crates.io index
error: could not find `.` in registry `https://github.com/rust-lang/crates.io-index`

New error:

$ cargo install .
error: To install the binaries for the package in current working directory use `cargo install --path .`. Use `cargo build` if you want to simply build the package.

Existing related errors:

$ cargo install
error: Using `cargo install` to install the binaries for the package in current working directory is no longer supported, use `cargo install --path .` instead. Use `cargo build` if you want to simply build the package.
$ cargo uninstall .
error: invalid package ID specification: `.`

Caused by:
  Invalid character `.` in pkgid: `.`
+23 -0

0 comment

2 changed files

pr created time in a month

push eventtwe4ked/cargo

Odin Dutton

commit sha 0c14dc2e74efbd4a66d7eedb6ee08eaab7288d50

Improve error message when running `cargo install .`

view details

push time in a month

create barnchtwe4ked/cargo

branch : install-current-directory-error

created branch time in a month

startedmaciejhirsz/logos

started time in a month

startedLymia/enumset

started time in a month

startednot-fl3/good-web-game

started time in a month

started8051Enthusiast/regex2fat

started time in a month

startedryanisaacg/quicksilver

started time in a month

startedBurntSushi/walkdir

started time in a month

startedwsargent/circuit_breaker

started time in a month

startedroest01/docker-speedtest-analyser

started time in a month

startedconundrumer/audioscope

started time in a month

Pull request review commentcharliesome/mixlab

Add Makefile aliases for build, run, and check

 build: 	./frontend-exec.sh ./build.sh && cargo build +b: build

Maybe it should stay anyway to match the cargo aliases?

twe4ked

comment created time in 2 months

push eventcharliesome/mixlab

Odin Dutton

commit sha 4a9394a2d4c0990289afc840ff54c222ad8b7ab4

Add Makefile aliases for build, run, and check To match the cargo equivalents.

view details

push time in 2 months

PR opened charliesome/mixlab

Remove itertools

Unused after d17629370a7dface3e86f26276e582f70ce60c37.

+0 -17

0 comment

2 changed files

pr created time in 2 months

create barnchcharliesome/mixlab

branch : twe4ked/makefile-aliases

created branch time in 2 months

create barnchcharliesome/mixlab

branch : twe4ked/remove-itertools

created branch time in 2 months

startedmrdimosthenis/emel

started time in 2 months

delete branch charliesome/mixlab

delete branch : twe4ked/plotter

delete time in 2 months

push eventcharliesome/mixlab

Odin Dutton

commit sha 656780b97986c628b43ed82b21ce0be2be8f9517

Initial plotter implementation This is fun for sine waves but probably not useful in the general case.

view details

Odin Dutton

commit sha 7ad10a802070561188560129141e91374cfb3323

Remove unused canvas context

view details

Odin Dutton

commit sha 2d20a5c8d46f95a7047c4d3223065d7ef9c810a1

Take a single stereo input and split into two graphs

view details

Odin Dutton

commit sha bcb619819fdd683cff4dfd84ac65f4d5e0a94193

Reduce plotter chart size

view details

Odin Dutton

commit sha b852e41d0c32f6a5c3931e6104546e16f7e6af5b

Merge pull request #16 from charliesome/twe4ked/plotter Initial plotter implementation

view details

push time in 2 months

PR merged charliesome/mixlab

Initial plotter implementation

This is fun for sine waves but probably not useful in the general case.

Screen Shot 2020-04-05 at 5 30 33 pm

+812 -1

7 comments

9 changed files

twe4ked

pr closed time in 2 months

issue commentcharliesome/mixlab

[Idea] Serialize module wiring on change and restore on launch

I think serializing WorkspaceState might work, it already implements Serialize and Deserialize for the network.

bjeanes

comment created time in 2 months

pull request commentcharliesome/mixlab

Initial plotter implementation

Screen Shot 2020-04-05 at 7 05 56 pm

twe4ked

comment created time in 2 months

push eventcharliesome/mixlab

Odin Dutton

commit sha 7ad10a802070561188560129141e91374cfb3323

Remove unused canvas context

view details

Odin Dutton

commit sha 2d20a5c8d46f95a7047c4d3223065d7ef9c810a1

Take a single stereo input and split into two graphs

view details

Odin Dutton

commit sha bcb619819fdd683cff4dfd84ac65f4d5e0a94193

Reduce plotter chart size

view details

push time in 2 months

pull request commentcharliesome/mixlab

Initial plotter implementation

That's kinda what @charliesome and I had discussed briefly too, he mentioned VecDeque might be useful. Not sure I've got the chops to pull something like that off. Just pushed this up as is for fun and as a place to discuss how to do it “properly”.

twe4ked

comment created time in 2 months

PR opened charliesome/mixlab

Initial plotter implementation

This is fun for sine waves but probably not useful in the general case.

Screen Shot 2020-04-05 at 5 30 33 pm

+791 -1

0 comment

9 changed files

pr created time in 2 months

push eventcharliesome/mixlab

Charlie Somerville

commit sha 923b87500821ac552957cf7473c2983ffc311716

remove some logging

view details

Charlie Somerville

commit sha fd7cf2ffd01462ae6fe4ea0a420d1ed683cd9ea5

fix warnings

view details

Charlie Somerville

commit sha 41d4f6eb54b73dad407a220e257184974b624eae

add 4 channel mixer

view details

Charlie Somerville

commit sha 5886d9240460764e310be9695c819fd94001f71e

make the project play nice with rustfmt

view details

Charlie Somerville

commit sha dccba18e18ee8bfd449cd42861d877b87fefe9f6

"." -> ["/"]

view details

Charlie Somerville

commit sha a04a26bac4c59548816ced73e7a482921338a912

make fader dragging behave nicely if mouse exits control

view details

Charlie Somerville

commit sha 34e8c08009c6c5026d000e31ed37e88b895cfb2a

pull filth out from Fader into DragTarget componenent

view details

Charlie Somerville

commit sha c9a20eeadea5e256dd4e39010a1404c52b683ce7

hook up cue ui

view details

Charlie Somerville

commit sha 8f45a0314c78ecf901bcf144c308c67762ba050c

implement cue engine-side

view details

Charlie Somerville

commit sha 48fd5e1e45c92fc983b653424858b2bc325e3eae

tidy

view details

Charlie Somerville

commit sha 3b4d0eeb22b63e4bc68468e7704764727d62435d

pull clamp fn out to util mod

view details

Charlie Somerville

commit sha 64be182277afa7c55af221fbcef0dfc1b9ad22f4

Merge pull request #15 from charliesome/charliesome/mixer4ch Implement 4-channel mixer

view details

Charlie Somerville

commit sha 7a6e26fdc1157962a4536b185032f95bfe36d686

gracefully handle websocket send errors

view details

Charlie Somerville

commit sha 9bf476c3df379854c2a5d0cc723664240a7b6588

add a gain knob

view details

Charlie Somerville

commit sha 27bdc8dcbdf395350ec2ca4750a112b580b5a5fc

add clip and lag warning indicators

view details

Charlie Somerville

commit sha 03ea743c023c01c6d99d94cf99c1503505cd2502

don't short circuit output buffer if there's no input

view details

Charlie Somerville

commit sha 8193a1f00c5661df1f3bc902eb30f226690e5969

back off for a couple of ticks if ringbuffer runs empty

view details

Charlie Somerville

commit sha a72d0bd5d09a12ab978a0571ad34bc429e702ec8

fix topsort

view details

Charlie Somerville

commit sha fe8dfbeed6a396b3ca00c460eafe7dd4ec10e21f

add release target to makefile

view details

Odin Dutton

commit sha 656780b97986c628b43ed82b21ce0be2be8f9517

Initial plotter implementation This is fun for sine waves but probably not useful in the general case.

view details

push time in 2 months

startedsearls/fine-ants-app

started time in 2 months

startedjonhoo/arrav

started time in 2 months

push eventcharliesome/mixlab

Jacob Haslehurst

commit sha c8a8bdb70945cf0651e118baebcf3bac020e2853

mono sine generator output

view details

Charlie Somerville

commit sha ccf78b7127c59a6741988e08ecb157dc5dd51ade

fix module topsort logic

view details

Charlie Somerville

commit sha 7bd0513ce610f4269c50dfaaf95b6bcc0c61403f

fix sine generator

view details

Charlie Somerville

commit sha 9f11666354672d46ce7737a251db74fcfa27677e

add system defaults button to output device

view details

Charlie Somerville

commit sha 44ade214504134b9fa56e1d6c938ad847ab2dc7d

check frontend under wasm target to prevent rebuilds

view details

Jacob Haslehurst

commit sha 92be0c6a4b489f8309d1c3721907265692b857e9

scaffold envelope

view details

Jacob Haslehurst

commit sha 1875e81ff81a8693b2a1fde59fc1768e8838d15f

hook up envelope in UI

view details

Jacob Haslehurst

commit sha bb845861ec457b267b79f82e467a005fade86f67

implement envelope amplitude

view details

Jacob Haslehurst

commit sha 08cdeb0b69ac4d760fc64991b9ef0c9a4f534843

tidy

view details

Charlie Somerville

commit sha 417bf14e450a3cede79036f11b629073fe273c93

Merge pull request #13 from charliesome/jacobh/envelope Envelope

view details

Odin Dutton

commit sha 496ac9180d9db0a8b6bbd330e7e0d67c6d4812dd

WIP [ci skip]

view details

push time in 2 months

push eventcharliesome/mixlab

Charlie Somerville

commit sha 335ea1c4ddb571a6f891d84d9116332b7d659177

implement output channel assignments

view details

Charlie Somerville

commit sha e5d73eed247db46472da050a74c79120b98177e4

Merge pull request #8 from charliesome/assign-output-channel Output device channel assignments

view details

Jacob Haslehurst

commit sha faba0b78ef483225247108024edc9206196b1ab8

Add a little makefile with common commands

view details

Jacob Haslehurst

commit sha c750f5473b9d0aafd698ee708bd7bc78b8d874bd

add .PHONY

view details

Jacob Haslehurst

commit sha 4e8dd46b91175effc790f291555f7073e45f1b8b

Merge pull request #9 from charliesome/jacobh/makefile Add a little Makefile

view details

Jacob Haslehurst

commit sha 58cf3cff5700074f003f63ee33fe4781c362cfb4

Add a "now running" message when mixlab boots

view details

Jacob Haslehurst

commit sha 965e873298b40440bb6df129fce45088cd082c9d

add non-functional keyboard gate

view details

Charlie Somerville

commit sha 415b49ca2697638e00762e23d8cb503a95b6d2f4

pull frontend modules out into their own files

view details

Jacob Haslehurst

commit sha 7dd340f06fbb912186db924963adc74739bc31a3

implement trigger button

view details

Jacob Haslehurst

commit sha 25c489330ec448fd9850a39e9725aa1c4154c6a6

strip back gate to bare minimum

view details

Jacob Haslehurst

commit sha 67793471b88950bfe4d122f96b03cafa382dae79

split out gate component

view details

Jacob Haslehurst

commit sha ac3bf915263e276829156346d0c35a7587a4a708

Merge branch 'master' into jacobh/keyboard-gate

view details

Jacob Haslehurst

commit sha e3c6ca882527f83b05e47bcd7b84a0bfa042cc5c

Merge pull request #10 from charliesome/jacobh/now-running Add a "now running" message when mixlab boots

view details

Jacob Haslehurst

commit sha 66a18d332dc4f0075860e42c29a217dedec4da29

completely fill gate buffer

view details

Jacob Haslehurst

commit sha 478068731eb182acd20eb709b8c769acd1bef693

rename Gate to Trigger

view details

Charlie Somerville

commit sha 6cf4967157578f9dcf850ad8c57d889b31a0cd83

Merge pull request #11 from charliesome/jacobh/gate Implement Trigger module

view details

Charlie Somerville

commit sha 7fd130663b67d2937d01d64bc2ef8edec0411a04

resize connections canvas according to viewport

view details

Charlie Somerville

commit sha 582050c4ea1379ebd8287e58635b73b0e2f0098c

re-render on context menu click

view details

Charlie Somerville

commit sha 0aa9cbbdc20ebfc9cdc6f0adbbac3607fa6a0d41

fix resize listener warning

view details

Charlie Somerville

commit sha 4226851ab787d463216db8743a9995e0b0589159

silence warning

view details

push time in 2 months

create barnchcharliesome/mixlab

branch : twe4ked/plotter

created branch time in 2 months

startedamatsuda/database_rewinder

started time in 2 months

CommitCommentEvent
CommitCommentEvent

startedennova/git-s3-cache-buildkite-plugin

started time in 2 months

issue closedtestdouble/standard

Strange indentation for method defined after line continuation

# 1. Weird indentation that standard is happy with:
private \
  def foo
  123
end

# 2. Doesn't like this:
# Layout/FirstParameterIndentation: Indent the first parameter one step more than the start of the previous line.
private \
def bar
  123
end

# 3. Doesn't like this either:
# Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
# Layout/DefEndAlignment: `end` at 14, 2 is not aligned with `private \   def` at 11, 0.
private \
  def baz
    123
  end

I think examples 2 or 3 are nicer than 1. If there is some consensus I can have a look to see if there's a way get it to behave. Thoughts?

closed time in 2 months

twe4ked

issue commenttestdouble/standard

Strange indentation for method defined after line continuation

You're right. It doesn't seem to be something that can be allowed with the currently available cops AFAICT. Closing for now.

twe4ked

comment created time in 2 months

more