News for hackers. Stuff that matters.

wellsjohnston

Re:Revise – An AI Editor for Documents on Sunday March 22, 2026 @10:19AM (#47477785)
Wonderful product :)
Re:My daughter (7 years old) used HTML to make a website on Thursday July 18, 2024 @02:37PM (#40998468)
no Roblox Studio, no nothin.
Re:Sunsetting Atom on Wednesday June 08, 2022 @04:33PM (#31673625)
I tried "hacking" on Atom recently for a side project and found it was full of bugs and not performant at all. Next.
Re:V Programming Language on Friday March 15, 2019 @09:51PM (#19405897)
I started a project called Go++ which was exactly this lol
Re:iOS 11 is causing massive battery drain problems on Monday September 25, 2017 @10:01PM (#15335616)
They are incentivized to give new phones better battery life, while being disincentivized to optimize battery life for previous generation iPhones.
Metroid Prime was so good.
Re:Should Community Colleges Abolish Algebra? on Wednesday July 19, 2017 @10:01PM (#14809532)
No.
Re:Facebook Hits 2 Billion Users on Tuesday June 27, 2017 @03:15PM (#14648379)
And my pet snake is one of them, so I'm not sure what that really means.
Re:Show HN: Get Paid to Build Your Next Side Project on Wednesday June 14, 2017 @11:52AM (#14553594)
How is this different from Upwork?
Re:How to Score 0.8134 in Titanic Kaggle Challenge on Thursday May 11, 2017 @11:52PM (#14321307)
Is setting unknown ages to the median really the right way to go about this? Feels strange to me.
I stopped reading when I saw they were quoting Ellen Pao.
I'm not aware of S3's consistency constraints. What are those?
Good point...I will make it so that destructive is opt-in
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.
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.

Okay this seems like a good alternative. I just renamed the repo. Renaming it on npm...is a bit cumbersome :|
I did not know about this...looks like Amazon's version of BigQuery. Fantastic!
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.
Ah yeah, just realizing this...what would you recommend?
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

Thank you :)

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

Re:Why I'm Making Python 2.8 on Saturday December 10, 2016 @07:16AM (#13145326)
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.

Re:Jid – Drill down JSON data incrementally on Saturday December 03, 2016 @06:47PM (#13098057)
Re:Jq – Work with JSON on the command line on Friday December 02, 2016 @06:46PM (#13093278)
I made a gui for it, if you're interested https://github.com/wellsjo/JSON-Splora
Thank you for this! Accepted & merged!
Yes, in addition to JavaScript. The filter is first run through a JavaScript VM, then jq, allowing you to manipulate the object with either.

Older »