profile
viewpoint
TJ Holowaychuk tj Apex London, UK https://apex.sh Founder of Apex https://apex.sh, a non-startup. medium.com/@tjholowaychuk • twitter.com/tjholowaychuk • tjholowaychuk.com

startedtdewolff/canvas

started time in 8 hours

issue closedapex/apex

美国大学学历认证/美国大学文凭www.diplomaclub.net

英国大学学历认证/英国大学文凭www.diplomaclub.net 加拿大大学学历认证/加拿大大学文凭www.diplomaclub.net 澳大利亚大学学历认证/澳大利亚大学文凭www.diplomaclub.net 澳洲大学学历认证/澳洲大学文凭www.diplomaclub.net 马来西亚大学学历认证/马来西亚大学文凭www.diplomaclub.net 新加坡大学学历认证/新加坡大学文凭www.diplomaclub.net 新西兰大学学历认证/新西兰大学文凭www.diplomaclub.net 美国大学学历认证/美国大学文凭www.diplomaclub.net

closed time in 5 days

fgd21fg

startedgampleman/elm-visualization

started time in 5 days

startedopenacid/slim

started time in 7 days

issue commenttj/node-prune

Does not exclude anything

It should keep the essentials, package.json and .js files are required to run your program. Looks like you may have already run it, or maybe your node_modules is just very clean :D haha. It removes this stuff https://github.com/tj/node-prune/blob/master/prune.go#L17-L108

paulogr

comment created time in 9 days

issue commentgolang/go

proposal: leave "if err != nil" alone?

As a side note I think we could use some conventions on who does the decoration. In the stdlib some functions do this, ex copy: x to y or similar, I've personally been leaving the decoration up to the caller, as it has the arguments.

For example if I had a Copy() I'd do something like return errors.Wrap(err, "writing") and the caller using Copy() would wrap with errors.Wrapf(err, "copying from %v to %v", src, dst) or similar. These two don't mix and match too well, and sometimes can end up with duplicate strings, is it best to just say the stdlib style is idiomatic? I don't recall them all behaving like this though.

miekg

comment created time in 9 days

startedklazuka/elm-hot-webpack-loader

started time in 10 days

startedklazuka/elm-hot

started time in 10 days

issue closedelm-tooling/elm-language-server

Uses 100% cpu and seems to hang

This only seems to happen with certain files, I'll try to figure out how to reproduce it but I'm running into scenarios where it just gets stuck using 100% cpu, and I have to manually kill it.

closed time in 11 days

tj

issue commentelm-tooling/elm-language-server

Uses 100% cpu and seems to hang

nevermind I'm an idiot, I was missing the module declaration, I'll re-open if it happens anywhere else

tj

comment created time in 11 days

issue openedelm-tooling/elm-language-server

Uses 100% cpu and seems to hang

This only seems to happen with certain files, I'll try to figure out how to reproduce it but I'm running into scenarios where it just gets stuck using 100% cpu, and I have to manually kill it.

created time in 11 days

issue openedBrowserSync/browser-sync

Resets scrolling on each change

Issue details

It would be awesome if scrolling was retained, or perhaps it was supposed to and this is a bug I'm not sure.

Please specify which version of Browsersync, node and npm you're running

$browser-sync --version
2.26.7

$ node --version
v10.15.3

$: npm --version
6.4.1

Affected platforms

  • [ ] linux
  • [ ] windows
  • [x] OS X
  • [ ] freebsd
  • [ ] solaris
  • [ ] other (please specify which)

Browsersync use-case

  • [ ] API
  • [ ] Gulp
  • [ ] Grunt
  • [x] CLI

If CLI, please paste the entire command below

{cli command here}

for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync

# Start development server.
start:
	@browser-sync start \
		--no-open \
	  --server . \
		--files .
.PHONY: start

created time in 11 days

issue closedapex/up

502 errors before even starting app ("connection reset by peer" from 127.0.0.1)

Prerequisites

  • [x] I am running the latest version. (up upgrade)
  • [x] I searched to see if the issue already exists.
  • [x] Are you an Up Pro subscriber?

Description

We get intermittent 502 errors when hitting our API. This happens across the different endpoints and even when hitting a simple status API that only gets NOW() from a PG database. The logs indicate that it's due to a network error within up before even starting our app, but it's otherwise hard to interpret.

Steps to Reproduce

It's hard to reproduce as it's intermittent, but here's the logs of a request (other request logs look similar):

{"fields":{"app":"tango","commit":"19c54ca","id":"7858566e-92e2-11e9-a389-25bdbd04ebc2","ip":"35.180.189.112","method":"GET","path":"/v1/status","plugin":"logs","query":"","region":"ap-south-1","stage":"launchpad","version":"392"},"level":"info","timestamp":"2019-06-19T22:34:59.095948852Z","message":"request"}
{"fields":{"app":"tango","commit":"19c54ca","error":"read tcp 127.0.0.1:43456-\u003e127.0.0.1:39249: read: connection reset by peer","id":"7858566e-92e2-11e9-a389-25bdbd04ebc2","plugin":"relay","region":"ap-south-1","stage":"launchpad","version":"392"},"level":"error","timestamp":"2019-06-19T22:34:59.460487734Z","message":"request network error"}
{"fields":{"app":"tango","commit":"19c54ca","id":"7858566e-92e2-11e9-a389-25bdbd04ebc2","plugin":"relay","region":"ap-south-1","stage":"launchpad","version":"392"},"level":"warn","timestamp":"2019-06-19T22:34:59.460523384Z","message":"restarting"}
{"fields":{"PORT":42963,"app":"tango","command":"node build/index.js --no-deprecation","commit":"19c54ca","id":"7858566e-92e2-11e9-a389-25bdbd04ebc2","plugin":"relay","region":"ap-south-1","stage":"launchpad","version":"392"},"level":"info","timestamp":"2019-06-19T22:34:59.4605941Z","message":"starting app"}
{"fields":{"app":"tango","commit":"19c54ca","id":"7858566e-92e2-11e9-a389-25bdbd04ebc2","plugin":"relay","region":"ap-south-1","stage":"launchpad","version":"392"},"level":"info","timestamp":"2019-06-19T22:34:59.474959157Z","message":"started app"}
{"fields":{"app":"tango","commit":"19c54ca","id":"7858566e-92e2-11e9-a389-25bdbd04ebc2","plugin":"relay","region":"ap-south-1","stage":"launchpad","version":"392"},"level":"info","timestamp":"2019-06-19T22:34:59.474991685Z","message":"waiting for app to listen on PORT"}
{"fields":{"app":"tango","commit":"19c54ca","duration":6120,"id":"7858566e-92e2-11e9-a389-25bdbd04ebc2","plugin":"relay","region":"ap-south-1","stage":"launchpad","version":"392"},"level":"info","timestamp":"2019-06-19T22:35:05.595953542Z","message":"app listening"}
{"fields":{"app":"tango","commit":"19c54ca","id":"7858566e-92e2-11e9-a389-25bdbd04ebc2","plugin":"relay","region":"ap-south-1","restarts":1,"stage":"launchpad","version":"392"},"level":"warn","timestamp":"2019-06-19T22:35:05.595991099Z","message":"restarted"}
{"fields":{"app":"tango","commit":"19c54ca","duration":6500,"id":"7858566e-92e2-11e9-a389-25bdbd04ebc2","ip":"35.180.189.112","method":"GET","path":"/v1/status","plugin":"logs","query":"","region":"ap-south-1","size":0,"stage":"launchpad","status":502,"version":"392"},"level":"error","timestamp":"2019-06-19T22:35:05.596034615Z","message":"response"}

closed time in 11 days

bfelbo

issue commentapex/up

502 errors before even starting app ("connection reset by peer" from 127.0.0.1)

closing this one now that it's resolved :D

bfelbo

comment created time in 11 days

issue openedparcel-bundler/parcel

Elm error formatting

Low priority, but the originals in the CLI and browser have nicer output. I'll try and look into this some time, seems like it should be an easy fix

Screen Shot 2019-07-03 at 1 33 27 PM

Screen Shot 2019-07-03 at 1 33 16 PM

created time in 13 days

push eventtj/vscode-snippets

TJ Holowaychuk

commit sha 41efba1a7240c292bcaa0c9525558864f7ae9991

add elm.json

view details

push time in 13 days

push eventtj/elm-svg-loaders

TJ Holowaychuk

commit sha ada4e58d9f36c9617298e93d0055dbd0cb11c08f

refactor indentation

view details

push time in 13 days

push eventtj/elm-svg-loaders

TJ Holowaychuk

commit sha 810e50509374fd2036d8699d9f188f264ce1a970

add color to the examples

view details

TJ Holowaychuk

commit sha d06df7a332cf62d40af2113477e176f91c8d424b

refactor fold

view details

push time in 13 days

created tagtj/elm-svg-loaders

tag1.0.0

A collection of SVG loading indicators for Elm.

created time in 13 days

create barnchtj/elm-svg-loaders

branch : master

created branch time in 13 days

created repositorytj/elm-svg-loaders

A collection of SVG loading indicators for Elm.

created time in 13 days

starteddmy/elm-doc-preview

started time in 13 days

pull request commentelm/virtual-dom

Allow CSS custom properties by using style.setProperty()

👍 this would be nice, it does seem like a bit of a bug, elm-css and others are cool but writing regular CSS should definitely be allowed—and in many cases it's just easier. I personally don't like to couple styles in my components, and themeing is much easier externally, just passing in a few relevant vars.

This also makes migrating to Elm from JS easier, since I can share styles between the two.

harrysarson

comment created time in 14 days

issue commentelm/html

Support for CSS custom properties

👍 this would be nice, it does seem like a bit of a bug, elm-css is cool but writing regular CSS should definitely be allowed. I don't like to couple styles in my components personally, and this allows styles to be portable between JS and Elm if necessary, just passing in a few vars.

johanalkstal

comment created time in 14 days

push eventapex/logs

Stephen Mathieson

commit sha 97cd74a1f4b9314a9ab82ab4a4443e8d61460937

typo

view details

TJ Holowaychuk

commit sha 4735c8490b881f5dbfc6f827a8ca5b85346d2fdc

Merge pull request #2 from stephenmathieson/patch-1 docs: fix a typo

view details

push time in 14 days

PR merged apex/logs

typo
+1 -1

1 comment

1 changed file

stephenmathieson

pr closed time in 14 days

pull request commentapex/logs

typo

derp :D thanks

stephenmathieson

comment created time in 14 days

issue commentmicrosoft/vscode-go

using auto complete package with gopls enabled doesn't complete everything

hmm FWIW I don't get autocompletes or suggestions for unimported packages at all anymore, with "go.autocompleteUnimportedPackages": true, in a go module at least,

primalmotion

comment created time in 14 days

issue commentmicrosoft/vscode-go

using auto complete package with gopls enabled doesn't complete everything

hmm FWIW I don't get autocompletes for unimported packages at all anymore, with "go.autocompleteUnimportedPackages": true, in a go module at least

primalmotion

comment created time in 14 days

issue commentgolang/go

proposal: spec: untyped composite literals

It kind of reduces clarity a bit but editors should be able to expand the type easily, 👍 from me I think. I'd much prefer this to the "functional options" convention going around, those have horrible discovery unless they're all prefixed with With* etc, we need some stronger conventions here IMO.

neild

comment created time in 14 days

startedjoakin/elm-canvas

started time in 14 days

issue openedapex/logs

ts: always return a Promise?

just realized I'm generating:

  async removeAlert(params: RemoveAlertInput) {
    await call(this.url, 'remove_alert', params)
  }

etc

created time in 15 days

create barnchapex/logs

branch : master

created branch time in 15 days

created repositoryapex/logs

Apex Logs client libraries for Go, TS, and JS — (WIP, come back later :D)

created time in 15 days

issue openedelm-tooling/elm-language-server

Completion for variables

I can't quite nail down when variables do or do not complete properly, but here are a few scenarios:

Screen Shot 2019-06-28 at 12 38 19 PM

Screen Shot 2019-06-28 at 1 27 14 PM

created time in 18 days

issue commentgolang/go

Proposal: leave "if err != nil" alone?

Agreed, I think the current technique encourages best practices. Personally I really like to see the flow of how an error is handled right at the source, I don't want to look elsewhere to see how it's handled or wrapped.

Also +1 for some kind of structured contextual information, it would be more valuable when querying structured logs instead of trying to query sub-strings that were arbitrarily formatted/printed.

miekg

comment created time in 18 days

issue openedelm-tooling/elm-language-server

Completion of record fields and variables

First of all thanks this is awesome! I just started learning Elm this week and it's exciting to see there's some nicer tooling. I'm sure you already know these but I thought I would open an issue.

fields:

Screen Shot 2019-06-28 at 12 33 08 PM

variables:

Screen Shot 2019-06-28 at 12 38 19 PM

created time in 18 days

startedelm-tooling/elm-language-client-vscode

started time in 18 days

startedelm-tooling/elm-language-server

started time in 18 days

startedelm-community/list-extra

started time in 19 days

issue commentapex/up

502 errors before even starting app ("connection reset by peer" from 127.0.0.1)

In this case at least yep it's definitely Up -> App. In the scenario where it's API GW the logs would actually be in a different CloudWatch Logs group specific to API GW, they're a little more difficult to get at

bfelbo

comment created time in 19 days

issue commentapex/up

502 errors before even starting app ("connection reset by peer" from 127.0.0.1)

hmm I think your app is dropping the connection, hard to say why exactly without knowing more about the app, if possible can you reproduce from an endpoint in your app that just responds with 200?

bfelbo

comment created time in 19 days

push eventapex/apex

Micheál Looney

commit sha 85ae0f8b710b1390e919af35895e1fe49380b96c

Add notice that project is currently not actively maintained (#954) Software that is unlikely to see another release should not be used for new projects. This should be made clear to people reading the README

view details

push time in 21 days

PR merged apex/apex

Add notice that project is no longer maintained

Software that is unlikely to see another release should not be used for new projects. This should be made clear to people reading the README

+5 -0

0 comment

1 changed file

looneym

pr closed time in 21 days

issue commentreworkcss/css-value

Doesn't parse number sign character

Post CSS is more or less the same as Rework (but actively maintained), you might be better off using that these days

radarfox

comment created time in 22 days

created tagapex/log

tagv1.1.1

Structured logging package for Go.

created time in 22 days

push eventapex/log

TJ Holowaychuk

commit sha a00529b7e23f9a79337e26400a58d34293c381ab

refactor apexlogs handler with Events() method

view details

TJ Holowaychuk

commit sha d5bb8069d993d48d67f6135bc662bdffb664c8e0

add go.mod

view details

TJ Holowaychuk

commit sha 295021f518f737dd0bfdca2c98136517703196b9

Release v1.1.1

view details

push time in 22 days

issue commentapex/up

Deploying to us-west-2, stack attempted to register certs in us-east-1.

The certs are always created in us-east-1 when using API Gateway's "edge" endpoints, it's just some strange requirement, the regional endpoints are created in a specific region

trace-andreason

comment created time in 24 days

startedxi-editor/xi-editor

started time in 25 days

issue commentapex/gateway

Support for multi-valued headers

not too worried about the performance side of things, if you use API Gateway for that kind of traffic it's going to be like 1000x the cost of running on EC2 :D, happy to merge a PR for the multi-header stuff if anyone needs it

odusseys

comment created time in 25 days

created tagtj/go-logformat

tagv1.0.0

created time in 25 days

startedmdn/data

started time in a month

startedopvasger/elm-devtools

started time in a month

issue commentKrzysztof-Cieslak/vscode-elm

Hover and GoToDefinition don't work

the package vscode-elm-jump seems to do the trick

subhash

comment created time in a month

startedSidneyNemzer/elm-text-editor

started time in a month

startedpablohirafuji/elm-markdown

started time in a month

startedwking-io/elm-live

started time in a month

startedmdgriffith/elm-style-animation

started time in a month

startedfeathericons/elm-feather

started time in a month

startedgicentre/elm-vegalite

started time in a month

startedgicentre/elm-vega

started time in a month

startedNoRedInk/elm-json-decode-pipeline

started time in a month

startedKrzysztof-Cieslak/vscode-elm

started time in a month

startedbvaughn/react-window

started time in a month

push eventapex/log

TJ Holowaychuk

commit sha 6c04db17c5a78c2586b4565beacbcf5f545a0fb2

fix tests, need a mock for apexlogs

view details

push time in a month

push eventapex/log

TJ Holowaychuk

commit sha 064e581013a583b8d4d55637507ba91b3a9f86bf

add rough pass at apexlogs handler

view details

push time in a month

issue commentopentracing/opentracing-go

Simplify capturing errors from Spans

👍 would be cool to have something like .Finish(&err) for the defer

savaki

comment created time in a month

startedinfluxdata/flux

started time in a month

startedoakmac/vscode-parinfer

started time in a month

push eventapex/gateway

TJ Holowaychuk

commit sha c3ed8854592bc881eecb4e06e26048e3aa483ff5

add go.mod. Closes #21

view details

push time in a month

PR closed apex/gateway

go mod init

Made package ready to be used with go mod.

+1 -0

0 comment

1 changed file

AMKuperus

pr closed time in a month

push eventtj/go-logformat

TJ Holowaychuk

commit sha 30c79dd0aadf76ed92d22783e84c1a6ffc6def10

add WithDateFormatter() option

view details

push time in a month

issue commentapex/up

Up 2.0 — feature requests

True true, so far I haven't seen much of a return when free things are offered but I'll still keep that in mind.

tj

comment created time in a month

issue commentapex/up

Up 2.0 — feature requests

My problem with the vanity urls I guess is that it's unlikely side projects without a domain would produce any income, so I'm assuming it's not something people would be willing to pay an Up subscription for :D

tj

comment created time in a month

push eventtj/vscode-snippets

TJ Holowaychuk

commit sha 7357749d83953d76c7b1c8a39514fa65a3a6e051

remove stuff I dont use anymore

view details

push time in a month

pull request commentapex/up

nodejs10.x support

Unfortunately I think we have to update the shim as well, I was having issues getting it to run, but no errors either, still have to look into that

morugu

comment created time in a month

startedjhspetersson/fselect

started time in a month

startedkoute/stdweb

started time in a month

issue commentapex/up

Up 2.0 — feature requests

Understandable, that's my general impression of more series companies as well, even personally I really prefer to know everything I build is going to be around long-term without trouble.

The downside of this semi-PaaS would be that I'd require access to a zip of your app upon deploy. I can look into making this fan-out portion self-hosted as well, it's probably worth it. Nice to not be on-call anyway :D haha.

tj

comment created time in a month

issue commentapex/up

Up 2.0 — feature requests

Any opinions about PaaS? I prefer self-hosting things personally, but it'd be pretty trivial to compete with existing PaaS stuff, UX could be a bit nicer with the PaaS route, but I have a hard time imaging larger companies using any kind of PaaS even if it's effectively just AWS etc under the hood.

tj

comment created time in a month

startedGoogleCloudPlatform/professional-services

started time in a month

startedlfairy/maud

started time in a month

startedbodil/typed-html

started time in a month

startedglycerine/zygomys

started time in a month

issue closedsegmentio/ui-box

Relatively large for use in static sites

Not a huge problem really in practice but 75kb is a little heavy for use in sites. I'm not sure anything could be done to shrink it down though unless some changes were made to the enhancers etc. Might come back and investigate this later, I'm not sure I want to use React for static sites it's pretty bulky

closed time in a month

tj

issue commentsegmentio/ui-box

Relatively large for use in static sites

nvm, not going to use React for static stuff

tj

comment created time in a month

issue openedsegmentio/ui-box

Relatively large for use in static sites

Not a huge problem really in practice but 75kb is a little heavy for use in sites. I'm not sure anything could be done to shrink it down though unless some changes were made to the enhancers etc. Might not be a concern at all for you guys if it's just used in the app but I'll probably look into this in my "fat trimming" phase of my new site

created time in a month

startedmathieudutour/medium-to-own-blog

started time in 2 months

pull request commenttj/parse-curl.js

opposite operation : serialize

sweet! But I think since this pkg is called parse-curl we're probably better off publishing another pkg

d-damien

comment created time in 2 months

push eventapex/up

TJ Holowaychuk

commit sha 87d77e14ed2349b43a841b0650c40393e271b790

Release v1.3.0

view details

TJ Holowaychuk

commit sha 692fe726aead5534f2bd46a143799df5ac405777

Release v1.3.0-pro

view details

push time in 2 months

created tagapex/up

tagv1.3.0

Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.

created time in 2 months

release apex/up

v1.3.0

released time in 2 months

issue closedapex/up

How to turn off some/all logging messages to CloudWatch (e.g. "started app")

Prerequisites

  • [x] I am running the latest version. (up upgrade)
  • [x] I searched to see if the issue already exists.
  • [x] Are you an Up Pro subscriber?

Description

Up logs a few messages to CloudWatch. This increases our logging output, thereby making it more cumbersome to handle and analyze our CloudWatch logs.

This is particularly the case for the logging message set variable, which is printed for every env variable that up sets. We have quite a few env variables, and would therefore like to turn these messages off.

closed time in 2 months

bfelbo

issue commentapex/up

How to turn off some/all logging messages to CloudWatch (e.g. "started app")

v1.3.0-pro will be uploaded in about 30m

bfelbo

comment created time in 2 months

push eventapex/up

TJ Holowaychuk

commit sha a8a42983bbc413bfbfd178a86f45bbc4e87f8c56

docs: add mention of logs.disable

view details

TJ Holowaychuk

commit sha 5ba5f63e880efc03895d71633d5e61ce2bcf1fde

remove discount message didnt work :(

view details

TJ Holowaychuk

commit sha 95b7f50487c33162ab4e12dd147e804128ca7a8c

regenerate parser with updated peg

view details

push time in 2 months

issue commentapex/up

Up 2.0 — feature requests

Just to set expectations it would coming after my next product, which is a few months away, so it could still be a while but I'm a huge fan serverless stuff so I'd love to try and "perfect" this stuff as much as possible!

tj

comment created time in 2 months

issue commentapex/up

How to turn off some/all logging messages to CloudWatch (e.g. "started app")

I have { logs: { disable: true }} but I think I missed wrapping the env variable parts with that, I'll add it in next release!

bfelbo

comment created time in 2 months

startedwasmerio/go-ext-wasm

started time in 2 months

issue commentapex/up

Support for Nodejs10

still looking into the bug, I think it's a problem with the shim, the Node changes seem to break compatibility with the previous version, but I don't get any errors haha

cloudkite

comment created time in 2 months

issue commentapex/up

Up 2.0 — feature requests

Thanks for the feedback guys! Super helpful

tj

comment created time in 2 months

more