profile
viewpoint
Caio Gondim caiogondim @NYTimes New York https://caiogondim.com Playing chess donkey

caiogondim/bullet-train.zsh 2448

:bullettrain_side: An oh-my-zsh shell theme based on the Powerline Vim plugin

caiogondim/blooming-menu.js 273

:cherry_blossom: AwesomeMenu made with CSS

caiogondim/chrome-blank-new-tab 29

Dark blank new tab extension for Chrome.

caiogondim/alfred-chrome-window-workflow 24

Alfred.app workflow for creating new Chrome windows

caiogondim/alfred-iterm-workflow 15

Alfred.app workflow for iTerm2

caiogondim/awesome-shell 10

A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.

caiogondim/alfred-feline-theme 8

An OS X-like theme for Alfred

caiogondim/alfred-credit-card-numbers 7

Credit card fake numbers workflow for Alfred.app

caiogondim/caiogondim.com 6

:pencil: where i write about random things, at random times

caiogondim/city-state.js 6

:crown: Observable and encapsulated state management

startedhttp-rs/tide

started time in 5 days

startedgothinkster/realworld

started time in 5 days

startedleeoniya/uPlot

started time in 9 days

push eventcaiogondim/caiogondim.com

Caio Gondim

commit sha c6f23f7ae11034f56f290ec9534c5a5045b29dda

Fix headers for public assets

view details

Caio Gondim

commit sha 7cd3f5b9e9936033374572c7a6dc98696d4d1b89

Fix cache for static assets

view details

push time in 10 days

push eventcaiogondim/caiogondim.com

Caio Gondim

commit sha 0be02e1700ae94b22570fa8ebf88fb9b05d1a76a

Fix cache for public assets

view details

push time in 10 days

push eventcaiogondim/caiogondim.com

Caio Gondim

commit sha 33f163203a915e9ccf7ee4cae5fc779aa131e127

Fix

view details

Caio Gondim

commit sha 18cacf860a7de0c9e69fa0e5c03d0fa220c533ee

Fix build

view details

Caio Gondim

commit sha 618cc3399eba08cd28989537aa17eff6ca2b554c

Merge pull request #26 from caiogondim/fix-refresh-on-post Fix refresh on post

view details

push time in 10 days

create barnchcaiogondim/caiogondim.com

branch : fix-refresh-on-post

created branch time in 10 days

delete branch caiogondim/caiogondim.com

delete branch : upgrade-nextjs

delete time in 13 days

push eventcaiogondim/caiogondim.com

Caio Gondim

commit sha 3325510f7d28dd93f697cfb9af9e94a00d0370f2

Update packages

view details

Caio Gondim

commit sha c8415739d58480b91f2a81d7ad00ce456a44f5f7

Fix test

view details

Caio Gondim

commit sha 607ad46621395f81173da096858b2759d4de57b2

ADd 404 page

view details

Caio Gondim

commit sha bf8fa9ec380d853cf4db80e908d61897fa8a8532

Update next

view details

Caio Gondim

commit sha a05ed0649d2e9e004f915afea837d357d67ee9e6

Update packages

view details

Caio Gondim

commit sha fd0cfcc74911fd2f67591d79e4492e6a422df455

Update packages

view details

Caio Gondim

commit sha c81e32ce760c10c981b7c5dfea4683131b7b7e35

Fix eslintrc

view details

Caio Gondim

commit sha f749d8018c8f6337b7b89065891fc1c7313e0863

Merge pull request #25 from caiogondim/upgrade-nextjs Update packages

view details

push time in 13 days

PR merged caiogondim/caiogondim.com

Update packages
+7354 -3406

1 comment

87 changed files

caiogondim

pr closed time in 13 days

push eventcaiogondim/caiogondim.com

Caio Gondim

commit sha bf8fa9ec380d853cf4db80e908d61897fa8a8532

Update next

view details

Caio Gondim

commit sha a05ed0649d2e9e004f915afea837d357d67ee9e6

Update packages

view details

Caio Gondim

commit sha fd0cfcc74911fd2f67591d79e4492e6a422df455

Update packages

view details

Caio Gondim

commit sha c81e32ce760c10c981b7c5dfea4683131b7b7e35

Fix eslintrc

view details

push time in 13 days

startedasync-rs/async-std

started time in 22 days

starteddprint/dprint

started time in 22 days

push eventcaiogondim/caiogondim.com

Caio Gondim

commit sha 607ad46621395f81173da096858b2759d4de57b2

ADd 404 page

view details

push time in 23 days

push eventcaiogondim/caiogondim.com

Caio Gondim

commit sha c8415739d58480b91f2a81d7ad00ce456a44f5f7

Fix test

view details

push time in 23 days

PR opened caiogondim/caiogondim.com

Update packages
+6618 -3017

0 comment

81 changed files

pr created time in 23 days

create barnchcaiogondim/caiogondim.com

branch : upgrade-nextjs

created branch time in 23 days

push eventcaiogondim/superstylin

Caio Gondim

commit sha 220615dfbbcd7ea7c5c6359966dd9ba6125c64af

gitignore

view details

push time in 24 days

push eventcaiogondim/superstylin

Caio Gondim

commit sha 0c4d90863026e849e20d0c34cc1c9375d6d4bd38

Fix typography on Chrome

view details

push time in 24 days

startedrustwasm/gloo

started time in 24 days

startedrustwasm/book

started time in 24 days

startedrust-lang/rustlings

started time in a month

startedSBoudrias/mem-fs

started time in a month

startedstreamich/memfs

started time in a month

startedlukechilds/create-test-server

started time in a month

startedhyperswarm/hyperswarm

started time in 2 months

startedRangerMauve/mostly-minimal-spanning-tree

started time in 2 months

startedelavoie/webrtc-tree-overlay

started time in 2 months

startedjsumners/alfred-emoji

started time in 2 months

startednytimes/covid-19-data

started time in 2 months

fork caiogondim/kyt

Starting a new JS app? Build, test and run advanced apps with kyt 🔥

https://open.nytimes.com/introducing-kyt-our-web-app-configuration-toolkit-9ccddf6f6988

fork in 2 months

startedbmild/nerf

started time in 2 months

push eventcaiogondim/react-prefetchable

Caio Gondim

commit sha 8ff10f9c2aacc59e25e41295b5ab6ca172b52a77

Refactor

view details

push time in 2 months

push eventcaiogondim/react-prefetchable

Caio Gondim

commit sha a0c6b91e7773538e0fd2203d3fe9ae059a48847a

Refactor

view details

push time in 2 months

push eventcaiogondim/react-prefetchable

Caio Gondim

commit sha 18c64399759c8fb6770340aaa8b0e18e200bdaf3

Split example page in sections

view details

Caio Gondim

commit sha e6e983b0614d47460bbaca001fae3753566f2533

Add hoverDelay prop

view details

push time in 2 months

push eventcaiogondim/react-prefetchable

Caio Gondim

commit sha 2a6dac0eaa5b59c31ab386d36ec786f9182992d1

Better example page

view details

push time in 2 months

startedmbaertschi/node-vcr

started time in 2 months

startedcoolov/artemis

started time in 2 months

push eventcaiogondim/react-prefetchable

Caio Gondim

commit sha f8805dfdd843663fc3629a34a849dce3a390f35d

Types

view details

push time in 2 months

push eventcaiogondim/react-prefetchable

Caio Gondim

commit sha 3ddf85db0fbe3095f1b86b5a0bb993f5e720242f

POC with SW

view details

push time in 3 months

startedmicrosoft/tsdoc

started time in 3 months

push eventcaiogondim/react-prefetchable

Caio Gondim

commit sha fca3775092b4706389bfae4ec64a69159190447a

POC with Service Worker

view details

push time in 3 months

push eventcaiogondim/caiogondim.com

Caio Gondim

commit sha 88b36528b5e1db312dcc8a8c26dcbe08b84a4c0a

Update superstylin package

view details

push time in 3 months

push eventcaiogondim/superstylin

Caio Gondim

commit sha d76649e563bbb9b4cf8b3b9afaa2eb5b7c90d31c

2.2.1

view details

push time in 3 months

push eventcaiogondim/superstylin

Caio Gondim

commit sha bf309fa7ff3e5a685eada13b619044110e8b0b03

Bump font size

view details

push time in 3 months

pull request commentBorisOsipov/wdio-reportportal-reporter

Fix TS declarations

Thank you! 👍

caiogondim

comment created time in 3 months

PR opened BorisOsipov/wdio-reportportal-reporter

Fix TS declarations

Proposed changes

Fixes https://github.com/BorisOsipov/wdio-reportportal-reporter/issues/109

  1. Enable use of string when LEVEL enum is used
  2. Generate automatic definitions at build time
  3. Remove index.d.ts file from root folder
+5 -14

0 comment

3 changed files

pr created time in 3 months

push eventcaiogondim/wdio-reportportal-reporter

Caio Gondim

commit sha c8b6b4605410d3d46838f68404e8aa426526ddb7

Fix TS declarations

view details

push time in 3 months

fork caiogondim/wdio-reportportal-reporter

A WebdriverIO plugin. Report results to Report Portal.

fork in 3 months

issue commentBorisOsipov/wdio-reportportal-reporter

Not possible to pass a value to `level` that is valid in TypeScript

I don't think it is good to expose all constants because there are a lot of internal things - so we need to extact logs level somehow.

I agree with that. But in the case for LEVELS it's external, so maybe it makes sense to export it. I will push a PR.

caiogondim

comment created time in 3 months

issue openedBorisOsipov/wdio-reportportal-reporter

Not possible to pass a value to `level` that is valid in TypeScript

The problem

It's not possible to pass a value to level that is valid in TypeScript, since LEVELS enum is not exported.

image

Environment

  • WebdriverIO version:
  • wdio-reportportal-version version:
  • Node.js version:
  • WDIO Testrunner and version(mocha\cucumber\jasmine):
  • Additional wdio packages used (if applicable):

Details

Possible ideas to fix this problem:

  • Expose the constants
  • Use this pattern https://github.com/microsoft/TypeScript/issues/17690#issuecomment-361215664

Code To Reproduce Issue [ Good To Have ]

import ReportPortalReporter from 'wdio-reportportal-reporter';
ReportPortalReporter.sendLogToTest('foobar', 'INFO');

created time in 3 months

issue commentcaiogondim/logdown.js

Error when logging empty string

New version published https://www.npmjs.com/package/logdown

matthewoates

comment created time in 3 months

push eventcaiogondim/logdown.js

Caio Gondim

commit sha aa08713ec09b0e486e1836db79a4b583e098204b

3.3.1

view details

push time in 3 months

created tagcaiogondim/logdown.js

tagv3.3.1

:pencil2: Debug utility with markdown support that runs on browser and server

created time in 3 months

push eventcaiogondim/logdown.js

Caio Gondim

commit sha ff702dd250f1d2b5b82d1992bc838b4545494c31

Closes #229

view details

push time in 3 months

issue closedcaiogondim/logdown.js

Error when logging empty string

matt@refuge ~/w/t/tools (master)> cat example.js
require('process').env.NODE_DEBUG = '*';

const logger = require('logdown')('example');

logger.log('');
matt@refuge ~/w/t/tools (master)> node example.js
/home/matt/workspace/tradr/tools/node_modules/logdown/src/markdown/Markdown.js:36
  while (lexeme = lexemes[cursor]) { // eslint-disable-line
                         ^

TypeError: Cannot read property '0' of null
    at Markdown.parse (/home/matt/workspace/tradr/tools/node_modules/logdown/src/markdown/Markdown.js:36:26)
    at Object.parse (/home/matt/workspace/tradr/tools/node_modules/logdown/src/markdown/node.js:14:20)
    at Logdown.<anonymous> (/home/matt/workspace/tradr/tools/node_modules/logdown/src/node.js:122:38)
    at Array.forEach (<anonymous>)
    at Logdown._prepareOutput (/home/matt/workspace/tradr/tools/node_modules/logdown/src/node.js:119:8)
    at Logdown.instance.<computed> [as log] matt@refuge ~/w/t/tools (master)> cat example.js
require('process').env.NODE_DEBUG = '*';

const logger = require('logdown')('example');

logger.log('');
matt@refuge ~/w/t/tools (master)> node example.js
/home/matt/workspace/tradr/tools/node_modules/logdown/src/markdown/Markdown.js:36
  while (lexeme = lexemes[cursor]) { // eslint-disable-line
                         ^

TypeError: Cannot read property '0' of null
    at Markdown.parse (/home/matt/workspace/tradr/tools/node_modules/logdown/src/markdown/Markdown.js:36:26)
    at Object.parse (/home/matt/workspace/tradr/tools/node_modules/logdown/src/markdown/node.js:14:20)
    at Logdown.<anonymous> (/home/matt/workspace/tradr/tools/node_modules/logdown/src/node.js:122:38)
    at Array.forEach (<anonymous>)
    at Logdown._prepareOutput (/home/matt/workspace/tradr/tools/node_modules/logdown/src/node.js:119:8)
    at Logdown.instance.<computed> [as log] (/home/matt/workspace/tradr/tools/node_modules/logdown/src/base.js:130:39)
    at Object.<anonymous> (/home/matt/workspace/tradr/tools/example.js:5:8)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)(/home/matt/workspace/tradr/tools/node_modules/logdown/src/base.js:130:39)
    at Object.<anonymous> (/home/matt/workspace/tradr/tools/example.js:5:8)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)

closed time in 3 months

matthewoates

issue commentcaiogondim/logdown.js

Error when logging empty string

I can reproduce it. Working on a fix.

matthewoates

comment created time in 3 months

push eventcaiogondim/react-prefetchable

Caio Gondim

commit sha 0acb258e22bcbe7d15a18fc6fb5a7a314854b5e9

Prefetch only if inside viewport

view details

Caio Gondim

commit sha 2d4bdc1696cd400364262b973adceb0c0ea25691

Priority based on pixel square of element

view details

push time in 3 months

push eventcaiogondim/react-prefetchable

Caio Gondim

commit sha 9e79a4d50c73fa3724a1c0c4421cf7b9eec07448

Add heap based priority queue

view details

Caio Gondim

commit sha 8053921cd8d7b84a044eef2943fd34cf2c9f198f

POC

view details

Caio Gondim

commit sha bd7a82343e69c33a2659c4cba351927356e786b1

Refactor

view details

push time in 3 months

push eventcaiogondim/fast-memoize.js

Caio Gondim

commit sha 5cdfc8dde23d86b16e0104bae1b04cd447b98c63

Create nodejs.yml

view details

push time in 3 months

push eventcaiogondim/fast-memoize.js

Caio Gondim

commit sha 90dd9a02c32ac221014dc707a2a8144256633fb5

Revert "Merge pull request #76 from yenbekbay/chore/improve-typings" This reverts commit 9c6d3fa05a8025a0edb7301703a1763e7ca9cfaa, reversing changes made to 27d7987b9ba484d10ce24885925f403f8c6fc435.

view details

Caio Gondim

commit sha 166d786bf7a3f036a7de96255408cb7efd30c88e

2.5.2

view details

push time in 3 months

created tagcaiogondim/fast-memoize.js

tagv2.5.2

:rabbit2: Fastest possible memoization library

created time in 3 months

push eventcaiogondim/fast-memoize.js

Ayan Yenbekbay

commit sha fe937479a44b1686fc85ee4b7bf7add16a1fa4fe

Improve TypeScript definitions

view details

Caio Gondim

commit sha 9c6d3fa05a8025a0edb7301703a1763e7ca9cfaa

Merge pull request #76 from yenbekbay/chore/improve-typings Improve TypeScript definitions

view details

push time in 3 months

PR merged caiogondim/fast-memoize.js

Improve TypeScript definitions

With this change, typings for arguments in serializer option can be inferred automatically from the first param:

Screen Shot 2019-07-06 at 21 18 52

+2 -2

0 comment

1 changed file

yenbekbay

pr closed time in 3 months

PR merged caiogondim/fast-memoize.js

Fix cache typings

The cache typings have been fixed in this PR. Probably it will solve this issue: #78 Please check and test it before merge. This type of cache using is the same like with only js, so it is more consequent way. Hopefully it will be helpful for other developers.

+29 -19

1 comment

2 changed files

tdev9

pr closed time in 3 months

push eventcaiogondim/fast-memoize.js

tdev9

commit sha 20c4e75fda8f3d42da9b80893a9cf4719c62850b

Fix cache typings

view details

tdev9

commit sha 4d70d280815fe5da3d96117ab32e527887d3fe48

Modify test for new cache typings

view details

Caio Gondim

commit sha 27d7987b9ba484d10ce24885925f403f8c6fc435

Merge pull request #80 from tdev9/typings-cache Fix cache typings

view details

push time in 3 months

issue commentcaiogondim/logdown.js

Specify log level with Node environment variable

To clarify, if I set NODE_DEBUG_LEVEL as debug I would get:

  • debug
  • log
  • info
  • warn
  • error

If I set NODE_DEBUG_LEVEL as warn I would get

  • warn
  • error

Is that how you see it?

bennyn

comment created time in 3 months

issue openedcaiogondim/logdown.js

Thoughts abbout v4

Let's discuss here about possible features for a v4.

Interceptors

Implement the interceptor pattern so the lib is more extensible.

const logger = logdown('foo;)

const silenceLorem = ({ instance, methodName, args }) => {
  if (args[0] === 'lorem') return
  return { instance, methodName, args }
}

logger.log('lorem') // prints 'lorem'
looger.interceptors.inject(silenceLorem)
logger.log('lorem') // doesnt print 'lorem'
logger.interceptors.eject(silenceLorem)
logger.log('lorem') // prints 'lorem'

Deprecate transports

We could use interceptors which is a more generic API.

TypeScript

I'm now on board of the TS hype train.

Drop IE11 support

It's finally time.

created time in 3 months

startedjd/tenacity

started time in 3 months

startedraylene/eng-handbook

started time in 3 months

issue commentcaiogondim/logdown.js

Specify log level with Node environment variable

Also, we need an env var for the browser as we do for window.localStorage.debug.

bennyn

comment created time in 3 months

issue commentcaiogondim/logdown.js

Specify log level with Node environment variable

I thought log and info meant the same thing in modern implementations since it behaves the same in Chrome. But it's on the spec so I say we go with what @bennyn is proposing.

bennyn

comment created time in 3 months

issue commentcaiogondim/logdown.js

Specify log level with Node environment variable

That's indeed a good feature to have. Are those values enough?:

  • log (should console info as well)
  • warn -error
bennyn

comment created time in 3 months

more