Better HN
topnewbestaskshowjobs
Log inSign up

brianleroux

40 karma · joined Aug 8, 2008 (18y ago) · 36 submissions

[ my public key: https://keybase.io/brianleroux; my proof: https://keybase.io/brianleroux/sigs/ImSJi5eGnj8wzZ7v6f9CV-XQQ0ZPpUt7ku2JoFYtbvg ]
Submissions

comment 2y ago · link · parent

Stable for years. Actual open governance so no more startup bait and switch. https://arc.codes

comment 4y ago · link · parent

FINALLY, both Ruby and Python have had optional types for a while; glad JS is catching up.

comment 4y ago · link · parent

hello author here! personally find AWS extremely boring, very mature and stable. well known limits, and tradeoffs.

comment 5y ago · link · parent

begin.com helps address a lot of the issues here. If you want to deploy your own arc.codes is completely open source, works locally and generates standard aws sam flavored CloudFormation.

5.

Architect 8.4: say hello to Lambda treeshaking(blog.begin.com ↗)

2 points · by brianleroux · 5y ago · discuss

6.

Serverless framework Architect 7.0 released; defaults to httpapis(blog.begin.com ↗)

2 points · by brianleroux · 6y ago · discuss

7.

A Web REPL for Deno(deno.town ↗)

1 points · by brianleroux · 6y ago · discuss

8.

A Web Repl for Deno(deno.town ↗)

6 points · by brianleroux · 6y ago · discuss

comment 7y ago · link · parent

One of the maintainers here; happy to answer your questions / feedback. Thx!

10.

Architect 5.5 Adds SPA Support to API Gateway(blog.begin.com ↗)

3 points · by brianleroux · 7y ago · discuss

comment 8y ago · link · parent

Yes! It's great. Scales very well. Costs almost nothing. Focused only on business logic. Provision in minutes. Deploy in seconds. I will never go back.

- https://begin.com - https://brian.io - https://arc.codes <-- the framework I used

comment 8y ago · link · parent

I'd like to leave the format discussion behind. Its the least interesting part and you rarely interact with it. I'll add YAML and JSON support so ppl can judge for themselves on merit against options that have tradeoffs.

Its absolutely suitable today. We have it in production in several apps. begin.com and arc.codes itself are two examples that have seen non-trivial traffic.

comment 8y ago · link · parent

Also! Killer features galore but folks having trouble seeing past the fmt. You're just making so many assumptions here it's very clear you didn't try it. It's fast.. really fast. Faster than CF.

comment 8y ago · link · parent

Long story short is this existed well before CF support did for Lambda. I don't think you're actually interested in learning and more interested in appearing to know what you're talking about so I'll leave it at that.

comment 8y ago · link · parent

Hey np! Difference of views. No integration w CF is absolutely true but you're also totally free to do that. It doesn't prevent you from using it.

No auth support is false. We support session out of the box and you're free to impl any auth scheme of your choosing.

Custom file format is being well addressed in other comments. If you don't like it thats fine: enjoy YAML elsewhere.

CORS could be implemented in the file format…I'm personally not a fan for a variety of reasons but its open source. PR's welcome.

Magic folders! Absolutely. Structure is a good thing.

I don't find this negative. Serverless framework is an abstraction that is easily as verbose as CF but I'm not interested in comparing to it because we have different goals. Serverless is an abstraction between clouds. If mulitcloud is your goal: use Serverless. SAM is a flavor of CF which is def less verbose but still very vendor specific and …wordy.

This isn't a 'pet framework of the month'. I do take mild offense to that. Development of .arc started in 2015 for begin.com and got met with some serious production traffic (from things like Techcrunch and Venturebeat). It held up beautifully. We decided to pivot from our original producton into CI/CD for arc with begin.com because it is clear to us that it is a better way to build serverless apps.

Architect was officially open sourced in July of 2017 and donated to the JS Foundation to demonstrate the long term commitment to it. Development has been very active since. I stand behind my work, dedication to open governance and approach we're taking and, I think, I have the track record to ask for the benefit of the doubt when I say that.

comment 8y ago · link · parent

There are many issues with both formats:

- JSON has no comments - YAML nesting tends to get deep which makes creating bugs very easy - Both are become hard to read / edit in larger files

The primary issue is translating the intent into a machine syntax. The format we landed focused on minimalism to communicate intent.

The the file format is the least interesting thing about .arc but one of the most distinctive. An .arc file VERY QUICKLY communicates the project intent.

An example:

``` @app hi

@html get / ```

The equiv CloudFormation YAML is 700 lines. You'd have no idea what that project does without digging into the code. The .arc by contrast is extremely easy to both read and author. As the app grows it becomes very clear the project intent and were to find things.

We certainly could have created a new YAML thing but many projects already do that … and I'll let their work speak for itself.

comment 8y ago · link · parent

https://arc.codes for docs and src can be found at https://github.com/arc-repos

comment 8y ago · link · parent

it's precisely true; but I get your gist. if you enjoy writing that much cloudformation then by all means have a good time!

comment 8y ago · link · parent

This has not been our experience at all.

comment 8y ago · link · parent

arc.codes is the main docs site. happy to help if you have any questions.

comment 8y ago · link · parent

Hey, one of the .arc authors and maintainers here.

Only one of each section is what we designed for though the validations for that might be broken (and if so we can fix right away). Nesting is limited to one level. No need for more that we've seen yet.

comment 8y ago · link · parent

To summarize: a three line .arc file yields a 700+ CloudFormation YAML document. Let me know if you have any more questions!

comment 8y ago · link · parent

Author here: we did? Pretty well documented issues w JSON and YAML (coming from CloudFormation perspective). Both have problems (that are unique to each) so we created a format for solving that.

If you like JSON and YAML and don't mind those issues you are well served by existing solutions. Cheers!

24.

Slack JavaScript 9.0.0: full API in 7KB and adds Promise support(medium.com ↗)

1 points · by brianleroux · 9y ago · discuss

comment 9y ago · link · parent

Wow that's complex! Route53 and AWS Certificate Manager are way easier to setup.

26.

Architect: a new cloud function provisioning and deployment tool(arc.codes ↗)

2 points · by brianleroux · 9y ago · discuss

comment 10y ago · link · parent

Be sure to check the followup by @awbjs also https://medium.com/@awbjs/follow-up-tc39-meets-node-js-modul...

28.

Node.js, TC-39, and Modules(hackernoon.com ↗)

2 points · by brianleroux · 10y ago · 1 comment

29.

Slack web and rtm api client(github.com ↗)

2 points · by brianleroux · 10y ago · discuss

30.

Bugbot: open source GitHub Issues client for Slack(smallwins.today ↗)

17 points · by brianleroux · 10y ago · discuss

12