Skip to content
Avatar
🏠
Working from home
🏠
Working from home

Organizations

@pulumi
Block or Report

Block or report iwahbe

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
iwahbe/README.md

Hello world

  • I'm currently working at Pulumi as a Software Engineer.
  • I'm available on twitter at @iwahbe or at linkedin at the same name.
Anything can be complicated. Let's make the simple things simple.

fn fizzbuzz(n: usize) {
    let factory = move |div_by: usize, then: Box<dyn Fn(usize)>, otherwise: Box<dyn Fn(usize)>| {
        move |k: usize| {
            if k % div_by == 0 {
                then(k)
            } else {
                otherwise(k)
            }
        }
    };
    macro_rules! box_me {
        ($e: expr) => {
            Box::new($e)
        };
    }
    let print_k = box_me!(|k| println!("{:?}", k));
    let buzz_yes = box_me!(factory(
        5,
        box_me!(|_| println!("fizzbuzz")),
        box_me!(|_| println!("fizz")),
    ));
    let buzz_no = box_me!(factory(5, Box::new(|_| println!("buzz")), print_k));
    let fizz = factory(3, buzz_yes, buzz_no);
    (1..n + 1).for_each(fizz)
}

Popular repositories

  1. jsonian Public

    Emacs Lisp 70 6

  2. ion-mode Public

    Emacs major mode for scripting with the ion-shell

    Emacs Lisp 8 1

  3. This is my Emacs initialization setup

    Emacs Lisp 2

  4. rdma-fs Public

    A file system over RDMA

    Rust 2 1

  5. brew-rs Public

    Rust interface with the home-brew cli

    Rust 1

  6. cpython Public

    Forked from python/cpython

    The Python programming language

    Python

1,876 contributions in the last year

Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Mon Wed Fri
Activity overview
Contributed to pulumi/pulumi, pulumi/pulumi-yaml, pulumi/pulumi-lsp and 51 other repositories

Contribution activity

November 2022

Created a pull request in pulumi/pulumi that received 20 comments

Handle field name overlaps

Fixes #11251

+408 −35 20 comments
Opened 45 other pull requests in 9 repositories
pulumi/pulumi 26 merged 2 open
pulumi/pulumi-yaml 6 merged
iwahbe/jsonian 3 merged
pulumi/pulumi-terraform-bridge 2 open
pulumi/pulumi-go-provider 2 merged
pulumi/pulumi-aws-apigateway 1 merged
pulumi/docs 1 merged
pulumi/registrygen 1 merged
pulumi/pulumi-lsp 1 merged
Reviewed 42 pull requests in 8 repositories
pulumi/pulumi 24 pull requests
pulumi/pulumi-yaml 8 pull requests
pulumi/pulumi-hugo 3 pull requests
pulumi/templates 2 pull requests
pulumi/pulumi-terraform-bridge 2 pull requests
pulumi/pulumi-command 1 pull request
pulumi/examples 1 pull request
pulumi/pulumi-go-provider 1 pull request

Created an issue in minad/vertico that received 11 comments

Vertigo does not respect :exit-function from completion-extra-properties

completion-extra-properties can be let bound to give extra behavior to a completion session. According to the doc comment for completion-extra-prop…

11 comments
Started 1 discussion in 1 repository
pulumi/pulumi
  • v3.46.0
    This contribution was made on Nov 3

Seeing something unexpected? Take a look at the GitHub profile guide.