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

pull request commentapex/up

Add Rust runtime

LGTM! I'll give this a try hopefully tomorrow, I haven't used Rust in a long time so if I run into anything I'll adjust the docs haha. Thanks man!

darkhelmet

comment created time in 15 hours

push eventtj/vscode-snippets

TJ Holowaychuk

commit sha 4ab3455d51317a04e058bfa13b695ac0488ef8fc

add defer, context.WithTimeout, Buffer

view details

push time in 17 hours

issue commentapex/up

Add --profile and --region flags

yeah potentially, but honestly there's not enough money in this to start adding other providers anyway :D

tj

comment created time in 3 days

push eventapex/up

TJ Holowaychuk

commit sha 84bcf672611c1860e5ff0d11af68a30e73fe2b4a

add 60% coupon

view details

TJ Holowaychuk

commit sha e64303907ca5574530a6b772da36bd39314478d3

Release v1.2.0

view details

TJ Holowaychuk

commit sha fcba76fed2359939877f64909703ccb4f5158831

docs

view details

TJ Holowaychuk

commit sha e7cfa52b3f3806e059d2214aba06ef8beaacf52d

docs: adjust multi-region mentions for now

view details

TJ Holowaychuk

commit sha cf664497c268ecab36ecfa094b4684579c8ebe36

docs

view details

TJ Holowaychuk

commit sha 5975406991305c907f2dac5c8236f8eacd3bb981

add ./vendor to excluded directories by default small chance this is used by non-Go projects, let me know if that is the case

view details

push time in 6 days

issue commentjmoiron/sqlx

Structure instead of map in NamedExec

Check out NamedExec(), you can just use :name etc in there

sarathsp06

comment created time in 8 days

startededgedb/edgedb

started time in 11 days

startedjoncrlsn/

started time in 12 days

startedjoncrlsn/

started time in 12 days

fork tj/sqlx

general purpose extensions to golang's database/sql

http://jmoiron.github.io/sqlx/

fork in 12 days

fork tj/sqlx

general purpose extensions to golang's database/sql

http://jmoiron.github.io/sqlx/

fork in 12 days

issue commentjmoiron/sqlx

Generic *sqlx.DB or *sqlx.Tx?

Maybe it's just me but I'd still love to see this, bit of a pain to need yet-another layer

mewben

comment created time in 12 days

issue commentjmoiron/sqlx

Structure instead of map in NamedExec

You can do this already no? I've been using structs forever using the db:"..." tag for fields

sarathsp06

comment created time in 12 days

issue commentapex/apex

Use issue labels more?

ah I don't really time sorry! The project is more or less left as-is, it's too hard to maintain OSS

cktang88

comment created time in 12 days

issue closedmicrosoft/vscode-go

Auto-complete fails in snippet completion

I'm not sure if this is a VScode-level problem or something specific to Go / the language server but I think this used to work.

Screen Shot 2019-04-25 at 2 47 28 PM Screen Shot 2019-04-25 at 2 47 37 PM

closed time in 13 days

tj

issue commentmicrosoft/vscode-go

Auto-complete fails in snippet completion

That did the trick! Closing this one, sorry for the noise!

tj

comment created time in 13 days

push eventtj/vscode-snippets

TJ Holowaychuk

commit sha 9ece1091a795dc8e82f055e66e5796a1a9d714a3

add pretty print and string enum

view details

TJ Holowaychuk

commit sha 511d16a272b46400bd8053691e8858647228cc47

add params

view details

TJ Holowaychuk

commit sha 1a86113178634b00bc6042a4db1caf4c30247466

fix range

view details

push time in 13 days

issue commentmicrosoft/vscode-go

Auto-complete fails in snippet completion

@stamblerre ahh that makes sense, my snippet goes to the right-hand side first and then left, but you're right, for that moment it's not valid Go, that makes sense now

tj

comment created time in 13 days

startedalecthomas/jsonschema

started time in 17 days

issue commentapex/up

WebSocket support

I still have to try it, I think it's extra awkward because your API has to be WS or REST as well which is a little weird haha, not sure if I'll be able to make it very comparable to vanilla WS

tj

comment created time in 18 days

issue commentapex/up

WebSocket support

I don't think there's a trivial way to make them work transparently as "regular" websockets implementation-wise, since you have to write messages to a particular AWS endpoint and they get published. Tt's still kind of a layer of lock-in since you have to code for it explicitly, I'll have to look into it more but not sure there's much I can do

tj

comment created time in 19 days

issue closedbvaughn/react-virtualized

Single concurrent loadMoreRows call?

Hello!

In my case I have to query the backend via a cursor, so there is no notion of start/end indexing I can use to query; currently loadMoreRows is called many times concurrently, which will end up using the same cursor, as the previous response has not come back yet with another. It might be nice to have a way to lock the in-flight loadMoreRows() calls to one, any thoughts?

closed time in 19 days

tj

issue commentbvaughn/react-virtualized

Single concurrent loadMoreRows call?

nvm it's not a huge problem to just ignore duplicates while in-flight, would be nice but not a big deal, closing!

tj

comment created time in 19 days

issue openedbvaughn/react-virtualized

Single concurrent loadMoreRows call?

Hello!

In my case I have to query the backend via a cursor, so there is no notion of start/end indexing I can use to query; currently loadMoreRows is called many times concurrently, which will end up using the same cursor, as the previous response has not come back yet with another.

I can probably hack around it but it might be nice to have a way to lock the in-flight loadMoreRows() calls to one, any thoughts?

created time in 19 days

issue commentMicrosoft/vscode-go

Auto-complete fails in snippet completion

hmm ok interesting about defer. I see the same behaviour with snippets though, for example typing for range flag.P is correct in showing Parse in my case, but if I have a for range $1 snippet and start to type flag.P it shows all that other built-in stuff.

tj

comment created time in 20 days

issue commentMicrosoft/vscode-go

Auto-complete fails in snippet completion

Looks like I have gopls there

tj

comment created time in 21 days

issue commentMicrosoft/vscode-go

Auto-complete fails in snippet completion

Sure! It may be a gopls issue, but if you have:

package main

import (
	"flag"
)

func main() {
	flag.Parse()
}

typing flag.P will show Parse, but typing defer flag.P gives me:

Screen Shot 2019-04-30 at 5 27 26 PM

I had the same results when using auto-complete in snippets but it looks like the same issue

tj

comment created time in 21 days

issue commentMicrosoft/vscode-go

Auto-complete fails in snippet completion

Reverting back to the latest non-beta fixes the tabSize

tj

comment created time in 21 days

issue commentMicrosoft/vscode-go

Auto-complete fails in snippet completion

@ramya-rao-a looks like it's still happening in the latest beta

tj

comment created time in 21 days

startedweaveworks/footloose

started time in 21 days

push eventtj/d3-bar

TJ Holowaychuk

commit sha ed5d6c50a3e3421271c2e4c23b993a767fa47919

add better example data

view details

push time in 21 days

startedkmandov/d3-horizon-chart

started time in 22 days

startedrcrowley/go-metrics

started time in 23 days

startedborisyankov/react-sparklines

started time in 23 days

issue commentMicrosoft/vscode-go

Auto-complete fails in snippet completion

Looks like it's not just snippets (manually typed defer in this case):

Screen Shot 2019-04-27 at 2 50 18 PM Screen Shot 2019-04-27 at 2 50 23 PM

tj

comment created time in 24 days

startedbet365/jingo

started time in 25 days

issue commentMicrosoft/vscode

Proposal for customization autocomplete sort priority

Local scope should definitely get priority by default IMO, in Go's case you get a bunch of import suggestions for packages you're not even using before you get a local variable

artalar

comment created time in 25 days

issue commentMicrosoft/vscode-go

Auto-complete fails in snippet completion

I think this is different, this only happens during a snippet's execution

tj

comment created time in 25 days

create barnchapex/products

branch : master

created branch time in 25 days

created repositoryapex/products

Product ideas, roadmaps and suggestions

created time in 25 days

issue openedMicrosoft/vscode-go

Auto-complete fails in snippets

I'm not sure if this is a VScode-level problem or something specific to Go, or the Go language server but I think this used to work.

Screen Shot 2019-04-25 at 2 47 28 PM Screen Shot 2019-04-25 at 2 47 37 PM

created time in a month

issue commentMicrosoft/vscode-go

Autoimport not working

actually formatting on save is broken now as well

asdine

comment created time in a month

issue commentMicrosoft/vscode-go

Autoimport not working

ditto, auto-import and auto-complete for unimported packages fail for me

asdine

comment created time in a month

startedbitly/go-hostpool

started time in a month

startedhashicorp/memberlist

started time in a month

startedWordPress/gutenberg

started time in a month

issue commentapex/up

Some folder inside node_modules disappeared on lambda server

I think /dist would work for root-only, maybe try that and up build --size to see if the others are still in node_modules

timqian

comment created time in a month

startedgcla/termshark

started time in a month

created tagapex/up

tagv1.2.2

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

created time in a month

release apex/up

v1.2.2

released time in a month

created tagapex/up

tagv1.2.1

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

created time in a month

release apex/up

v1.2.1

released time in a month

created tagapex/up

tagv1.2.0

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

created time in a month

release apex/up

v1.2.0

released time in a month

issue commentstorybooks/storybook

Module parse failed: You may need an appropriate loader to handle this file type

I'm not familiar with webpack at all, I try hard to avoid it :D. It would be amazing if whatever the defaults are supported npm-linked stuff but I'll try

dmmarmol

comment created time in a month

issue commentstorybooks/storybook

Module parse failed: You may need an appropriate loader to handle this file type

Seems like npm-linked projects aren't supported or something? I get these errors when linking a React project, makes it kind of hard to use private packages

dmmarmol

comment created time in a month

startedfrancoischalifour/medium-zoom

started time in a month

startedclauderic/react-tiny-virtual-list

started time in a month

push eventapex/apex

Nate Silva

commit sha c31f0a78ce189a8328563fa6a6eb97d04ace4284

update docs to reflect nodejs8.10 support (#948)

view details

push time in a month

pull request commentapex/apex

update docs to reflect nodejs8.10 support

thanks!

natesilva

comment created time in a month

PR merged apex/apex

update docs to reflect nodejs8.10 support

Simple update to the docs.

+1 -0

0 comment

1 changed file

natesilva

pr closed time in a month

startede-oj/Magic-Grid

started time in a month

issue commentnozzle/react-static

[Bug] Local development server broken

I wonder if the webpack-dev-server is manipulating the config object passed, so devServer.host ends up having the port concatenated by the time you use it in that second snippet, just a guess haha definitely looks odd

ScottSmith95

comment created time in a month

issue commentMicrosoft/vscode-go

Go modules projects makes intellisense and many other functionality is very slow

@stamblerre hmm no luck for me, I have to run "Go: Add Import" and add them that way, I've been using "go.formatTool": "goreturns"

ahmetb

comment created time in a month

issue commentMicrosoft/vscode-go

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

In my case I was also using modules and "go.autocompleteUnimportedPackages": true

primalmotion

comment created time in a month

issue commentMicrosoft/vscode-go

Go modules projects makes intellisense and many other functionality is very slow

ah silly me, that's because you can't just write statements at the package level, that's invalid Go :D haha, interesting that it behaves this way though, seems like a problem with gopls I'll report there

ahmetb

comment created time in 2 months

issue commentMicrosoft/vscode-go

Go modules projects makes intellisense and many other functionality is very slow

wow it seems muuuuch faster, thanks!

ahmetb

comment created time in 2 months

startedjondot/goweight

started time in 2 months

GollumEvent
GollumEvent

push eventapex/up

TJ Holowaychuk

commit sha acadc0c8b9da914a2d8a2018a5932e2ed8df44df

docs: mention global

view details

push time in 2 months

push eventapex/up

TJ Holowaychuk

commit sha 949e851bd9db37d83f97fa815ebf00fc0d6cc3c4

docs: remove old coupon

view details

push time in 2 months

push eventapex/up

TJ Holowaychuk

commit sha 86e9a8c41c96d0666e1d4d4f5709c1931b25c8ad

docs: add EU (Stockholm)

view details

push time in 2 months

push eventapex/up

TJ Holowaychuk

commit sha 7c311780474626f647a3760b1e840de7389ce552

update tj/aws dependency for duplicate logs fix

view details

TJ Holowaychuk

commit sha 43f0b1bbba3a9b15b4ee66657c8af2a622a09df8

Release v1.1.3

view details

TJ Holowaychuk

commit sha 43eef3cd479aa1314d1488268ebedd43adbb56e5

fix typo in cors config, max_age not max_int

view details

TJ Holowaychuk

commit sha 50bfd3aa8d967a1d751297bdd2b3788a8016eaaf

add --region flag this makes multi-region deployments easier, as you dont have to tweak AWS_REGION or up.json

view details

TJ Holowaychuk

commit sha c6008b193c6cc6b769a56c671e43435f802d69da

Release v1.1.3-pro

view details

TJ Holowaychuk

commit sha a40b78f4913023cd8a6f931862f54a302b169d3a

Release v1.2.0-pro

view details

push time in 2 months

GollumEvent

created tagapex/up

tagv1.1.3

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

created time in 2 months

release apex/up

v1.1.3

released time in 2 months

push eventtj/aws

TJ Holowaychuk

commit sha 1e123f25c59eb69cc3b47ed2d1f8112cb391ae89

fix potential duplicate events this happens when one fetch() contains no events and nextToken is nil, resetting start back to the original start for the subsequent fetch().

view details

push time in 2 months

created tagtj/aws

tagv0.1.4

Higher level AWS package for Go

created time in 2 months

issue commentsegmentio/evergreen

Large bundle size with webpack v4

would be nice if it were light enough to use for marketing sites as well as apps, could be a pain to strip all the css-in-js colors/typography and port them back into vanilla CSS, but might be a non-goal for Evergreen I imagine?

epitaphmike

comment created time in 2 months

issue commentsegmentio/evergreen

Large bundle size with webpack v4

😢 definitely huge haha, I like Feather's icons better anyway personally, leaving them out would be nice

epitaphmike

comment created time in 2 months

startedgregtillbrook/

started time in 2 months

startedgregtillbrook/

started time in 2 months

issue commentstripe/react-stripe-elements

API Review: Hooks & Beyond

👍 I think injectStripe() is getting in the way of using React.forwardRef() in my case

caseybaggz

comment created time in 2 months

push eventapex/up

TJ Holowaychuk

commit sha 2cb194cf2f5bbb106fbc3878d7d8de373cdc324e

update tj/aws dependency for ThrottlingException logs fix

view details

TJ Holowaychuk

commit sha 4e4e569fbcb6e1988feb4158052cd263e72904d4

refactor: go mod tidy

view details

TJ Holowaychuk

commit sha d29f4f4ed7905ef3f99a365100fd1cd6be68d588

Release v1.1.2

view details

TJ Holowaychuk

commit sha 9a6473f0ed9af6469b446c66925a07ffb46b89ed

Release v1.1.2-pro

view details

push time in 2 months

created tagapex/up

tagv1.1.2

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

created time in 2 months

release apex/up

v1.1.2

released time in 2 months

issue openedsegmentio/evergreen

Popover hover support

It would be sweet if you could hover the contents to show the popover, for hover menus. I was going to use Tooltip but it's missing the optional callback with { close }.

created time in 2 months

startedstreamich/react-use

started time in 2 months

startedvugu/vugu

started time in 2 months

startedfastly/lucet

started time in 2 months

issue commentsegmentio/ui-box

Integrate primitive with any CSS-in-JS library

In my case I just have an account menu with name/team/avatar, and upon hovering that entire box I just wanted to tweak the icon color, but it's a little tricky todo stuff like that without classnames.

I don't have too much experience with shadow dom / custom elements yet, it seemed a bit awkward to use since you can't have anonymous custom elements but I'll investigate that a bit soon hopefully!

Just using style sounds good to me!

blakeembrey

comment created time in 2 months

startedbgrins/TinyColor

started time in 2 months

issue commentsegmentio/evergreen

v5 Roadmap

wouldn't mind if most of it was themeable with regular CSS, I'm porting over my typography and whatnot but it takes quite a while to move it into js-isms. CSS vars have decent adoption these days too, might be more portable to have the bulk of vars/styling in CSS so you can use it in marketing sites etc as well

jeroenransijn

comment created time in 2 months

startedmmcloughlin/avo

started time in 2 months

startedandybalholm/brotli

started time in 2 months

created tagtj/aws

tagv0.1.3

Higher level AWS package for Go

created time in 2 months

push eventtj/aws

TJ Holowaychuk

commit sha 985a8244bc767ebb21a92d1634f0cb5d191376c1

fix ThrottlingException handling, return the current token and start position

view details

push time in 2 months

push eventtj/aws

TJ Holowaychuk

commit sha cc7f68fd14bdcec41ce27d8a3dc4ddc2f7c81384

add History.md

view details

TJ Holowaychuk

commit sha d206c4aa7c49a3895a39af45647b50946dd6f75b

add go.mod

view details

TJ Holowaychuk

commit sha 09a6af3ce7ef64498b6e012e1893c6c781947d11

add quick ThrottlingException handling should have backoff but it works for now

view details

push time in 2 months

created tagtj/aws

tagv0.1.2

Higher level AWS package for Go

created time in 2 months

issue closedapex/up

Warming: lambda runtime node 6.10 to be EOL by AWS

Prerequisites

  • [x] I am running the latest version. (up upgrade)
  • [x] I searched to see if the issue already exists.
  • [x] I inspected the verbose debug output with the -v, --verbose flag.
  • [x] Are you an Up Pro subscriber?

Description

I got an email today from AWS that they will be EOL-ing node 6.10 for Lambda in the next month(s). When I looked through my lambdas to see what was running Node 6.10, most of them were Up Warming functions.

I tried disabling and re-enabling warming after running up upgrade to see if the latest up would use Node 8.10, but the warming functions were deployed again with Node 6.10.

Presumably these functions will continue working after the EOL, but new warming functions won't be able to be deployed with 6.10 on April 30, 2019.

Here's the note from AWS:

Hello,

Your AWS Account currently has one or more Lambda functions using the node.js 6.10 runtime. The Node Foundation has previously published that node.js 6.x "Boron" will be declared End-of-Life (EOL) on April 2019 [1], and will stop receiving bug fixes, security updates, or performance improvements. Per the AWS Lambda runtime support policy [2], language runtimes that have reached their EOL are deprecated in AWS Lambda.

Invokes for functions configured to run on node.js 6.10 will continue to work normally, however the ability to create new Lambda functions configured to use the node.js 6.10 runtime will be disabled on April 30 2019. Code updates to existing functions using node.js 6.10 will be disabled 30 days later on May 30 2019

We encourage you to update your node.js 6.10 functions to a newer version of the Node runtime (node.js 8.10) so that you continue to benefit from important security, performance, and functionality enhancements offered by more recent releases. The newer node.js 8.10 version has improved ECMAScript support, along with other language and API improvements. The AWS Lambda programming model [3] for node.js 8.10 maintains backwards compatibility with previous versions to simplify portability. We recommend that you test your Lambda function to validate its behavior on the newer version of Node.js.

Should you have any questions or concerns please contact AWS Support [4].

[1] Node Foundation’s announcement of EOL: https://nodejs.org/en/blog/release/v6.9.0/ [2] AWS Lambda runtime support policy: https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html [3] Using the AWS Lambda node.js 8.10 runtime: https://aws.amazon.com/blogs/compute/node-js-8-10-runtime-now-available-in-aws-lambda/ [4] AWS Support: https://aws.amazon.com/support

Sincerely, Amazon Web Services

Steps to Reproduce

  1. Enable warming in my up stack:
      "lambda": {
        "warm": true,
        "warm_count": 5,
        "warm_rate": "15m"
      }
  1. Run up stack plan and up stack apply
  2. Inspect AWS console and see that the Warming lambdas are still running 6.10

closed time in 2 months

timchambers
more