Better HN
topnewbestaskshowjobs
Log inSign up

wellsjohnston

143 karma · joined Mar 29, 2013 (13y ago) · 69 submissions

Submissions

comment 8mo ago · link · parent

Wonderful product :)

comment 2y ago · link · parent

no Roblox Studio, no nothin.

comment 4y ago · link · parent

I tried "hacking" on Atom recently for a side project and found it was full of bugs and not performant at all. Next.

comment 7y ago · link · parent

I started a project called Go++ which was exactly this lol

comment 9y ago · link · parent

They are incentivized to give new phones better battery life, while being disincentivized to optimize battery life for previous generation iPhones.

comment 9y ago · link · parent

Metroid Prime was so good.

comment 9y ago · link · parent

No.

comment 9y ago · link · parent

Oh snap.

comment 9y ago · link · parent

And my pet snake is one of them, so I'm not sure what that really means.

comment 9y ago · link · parent

How is this different from Upwork?

comment 9y ago · link · parent

Is setting unknown ages to the median really the right way to go about this? Feels strange to me.

comment 9y ago · link · parent

I stopped reading when I saw they were quoting Ellen Pao.

comment 9y ago · link · parent

I'm not aware of S3's consistency constraints. What are those?

comment 9y ago · link · parent

Good point...I will make it so that destructive is opt-in

comment 9y ago · link · parent

I've had the same frustration with S3, and the reasons you went over are what drove me to create this. It seems like they made S3 (10 years ago now?) and just forgot about it. There is no way to sort/filter or even list all the objects in a bucket without writing a recursive algorithm using one of their SDKs.

comment 9y ago · link · parent

This does not have to do with AWS Lambda, I'm thinking about renaming it to "functional-s3", or something similar.

To answer your question, there isn't really a workaround for this yet, although indexing should be much quicker than "days". All the keys are listed recursively before running the lambda expression locally. If you have a huge number of files, this can take several minutes, maybe hours depending on the scope.

A workaround I've been considering is using a generator function to list the keys; that way, the lambda expression can start immediately, generating keys as it needs them.

comment 9y ago · link · parent

Okay this seems like a good alternative. I just renamed the repo. Renaming it on npm...is a bit cumbersome :|

comment 9y ago · link · parent

I did not know about this...looks like Amazon's version of BigQuery. Fantastic!

comment 9y ago · link · parent

Sure. We have application logs that come in to s3 and are stored by date prefix. I have CRON jobs that run node scripts that do various counts/statistics.

comment 9y ago · link · parent

Ah yeah, just realizing this...what would you recommend?

comment 9y ago · link · parent

First, a list of keys is generated based on the set context (and modifier functions). "context" returns a Request object, allowing you to call a lambda function (each, forEach, map, reduce, filter). Each lambda function returns a Promise, allowing you to chain them together. They will operate over the same context, in sequence.

Edit: This is not related to aws lambda...sorry for the confusion

comment 9y ago · link · parent

Thank you :)

Writing this was a necessity for me, being a 1-person data team coming from a Node.js background.

23.

Show HN: s3-lambda – Lambda functions over S3 objects: each, map, reduce, filter(github.com ↗)

177 points · by wellsjohnston · 9y ago · 74 comments

comment 9y ago · link · parent

This is just wrong. For example, the "best" recording microphone (to many artists), the U67, can no longer be made because the parts aren't available anymore. Yet it is the most popular mic, and 100% not obsolete.

Similarly, Python 2 might not be made anymore, but it is used everywhere, and people are making new things with it. So...it's also not obsolete.

comment 9y ago · link · parent

I made a gui for this https://github.com/wellsjo/JSON-Splora

comment 9y ago · link · parent

Thanks :) https://github.com/wellsjo/JSON-Splora/issues/38

comment 9y ago · link · parent

I made a gui for it, if you're interested https://github.com/wellsjo/JSON-Splora

comment 10y ago · link · parent

Thank you for this! Accepted & merged!

comment 10y ago · link · parent

Yes, in addition to JavaScript. The filter is first run through a JavaScript VM, then jq, allowing you to manipulate the object with either.

30.

Show HN: JSON-Splora, a gui for editing, visualizing, and manipulating JSON data(github.com ↗)

54 points · by wellsjohnston · 10y ago · 4 comments

123