Better HN
topnewbestaskshowjobs
Log inSign up

eandre

543 karma · joined Dec 27, 2018 (7y ago) · 122 submissions

Backend engineer with a passion for developer productivity. Ex- Spotify. Now building https://encore.dev to make it easy and fun to build great backends.

@_eandre on Twitter

Submissions

comment 5y ago · link · parent

In my experience languages have a culture of their own.

For example, C++ has a culture of caring about low-level details to squeeze out maximum performance. I once found myself writing something that wasn't performance critical in C++ due to a library I needed, and just minutes later I caught myself reading up on move semantics for maximum efficiency. I couldn't help myself getting sucked in by the language culture!

Java's culture, in my opinion, is one of abstractions. There's little in the language to force you down that path, other than decades of it being the prevalent way Java is written, which bleeds into the standard library, core frameworks, and becomes the Java Way of Thinking.

comment 6y ago · link · parent

I don't think they're the same, but I do think low-code has become synonymous with incredibly special-purpose tools that barely resemble programming.

We've been building Encore [1] to improve on this. It's a backend framework that simplifies not only how you write code, but also integrates with your cloud provider and automates the infrastructure management.

We're still early, so feedback appreciated!

[1] https://encore.dev

comment 6y ago · link · parent

Awesome! I have lots of fond memories from the days of writing World of Warcraft addons (CTMod, CT_RaidAssist, ...). Great to see the community is still going.

comment 6y ago · link · parent

Thanks, it's back up now.

comment 6y ago · link · parent

Unfortunately not – this is what building modern cloud based software is like! This software complexity crisis is what we're trying to fix with Encore [1], if you're interested.

[1] https://encore.dev

96.

Git clone over gRPC(encore.dev ↗)

3 points · by eandre · 6y ago · discuss

comment 6y ago · link · parent

I've been working on something that might be interesting to you [1]. It gives you the full flexibility of a programming language while removing all the boilerplate surrounding your business logic through static analysis.

Have a look at the Encore Playground [2] to see a real-world example.

[1] https://encore.dev

[2] https://play.encore.dev/vHZHuXf2zca3dg

comment 6y ago · link · parent

Thanks, that means a lot! Unlike other offerings the focus is really on the development experience, hence the focus on ease-of-use and simplicity as you say. The goal is to provide a best-in-class developer experience; the serverless part is really just a piece of that, if that makes sense?

comment 6y ago · link · parent

Great article. Working on my own startup (https://encore.dev) I also feel the urge to measure my progress in terms of output, not outcomes. I have to constantly remind myself that what matters is the outcome. Focus on producing a concrete, visible artifact every day and use that as your measure of progress instead.

And make sure to stay sane; startups are not a balanced lifestyle but that just means we need to push ourselves harder to find balance, as opposed to pushing ourselves even further out of balance.

comment 6y ago · link · parent

I can really recommend "How to Take Smart Notes" [1] by Sönke Ahrens. It's made a real difference for me. Ignore the self help-sounding title and give it a chance.

[1] https://www.goodreads.com/book/show/34507927

comment 6y ago · link · parent

Wow, this looks great! Will check it out immediately tomorrow morning!

comment 6y ago · link · parent

I think the confusion comes from that not everybody thinks of "passing data to the database layer" as an output, but only an input to the next layer. If you think of this input as an output from the previous layer, then your advice makes perfect sense. But I don't think everyone thinks that way so it might help to clarify what "output" means in this context.

103.

Service-Oriented Architecture Tradeoffs(encore.dev ↗)

2 points · by eandre · 6y ago · discuss

comment 6y ago · link · parent

That's a reasonable point. Maybe I should update the post to guard it with a mutex to discourage newcomers from doing something subtle. Thanks for the feedback!

105.

Advanced Concurrency Patterns in Go(encore.dev ↗)

5 points · by eandre · 6y ago · 2 comments

106.

The Blank Page(encore.dev ↗)

1 points · by eandre · 6y ago · discuss

comment 6y ago · link · parent

I agree with the article and am facing the same challenges in my own startup: how much, and what, to open source?

It's a platform that offers a simpler way of building serverless backends [1], and so it's naturally targeting developers. As a developer myself I know how much I appreciate things being open-source and free. At the same time it would come with huge business model challenges in my case and kind of erode what my product is all about (simplicity and having things taken care of for you).

While the article does not really offer any answers, I'm curious if anyone else has any experience to offer in this regard?

[1] https://encore.dev

comment 6y ago · link · parent

Good point, I didn't necessarily mean simpler primitives but rather "higher-order" primitives. We need to move to a higher level of abstraction on top of a new layer of primitives (even if those primitives themselves are more complex than the ones we have today).

comment 6y ago · link · parent

This article is conflating the benefits of a particular way of doing implementation, and JWT as an implementation of that approach to authentication. That's dangerous because it n discourages people from thinking carefully about the semantics involved. Authentication is a topic where the trade-offs should be carefully evaluated for your particular situation.

I do agree that if you need the particular way of doing authentication that JWT is designed for, JWT is indeed a great implementation and can save you a lot of time.

comment 6y ago · link · parent

I agree! But isn't that the beauty in abstractions? If you are using an unmaintained file system with a CVE, the beauty of the POSIX interface means you can just migrate to another file systems and basically all applications would just continue working. I'm not advocating for having nobody at the wheel to notice and address security vulnerabilities, just that those concerns should be isolated from the application code to a much greater extent than they are today.

comment 6y ago · link · parent

I agree that the parts are needed and the complexity essential. What I mean is that we need higher-order primitives that abstract away and shield us from the conplexity. Just like we don't need to spend time crafting TCP packets by hand, I don't think we should have to mess with transport protocols, writing RPC calls by hand, juggling yaml files to stand up Kubernetes clusters, and so on.

I've been working on building something like this for a year now [1] and it's certainly quite different from how we do backend development normally,but that's also the point :). The tricky part is to find abstractions that are general and non-leaky so they can be leveraged to build a wide variety of software. Feedback appreciated!

[1] https://encore.dev

comment 6y ago · link · parent

I used TailwindCSS which I can highly recommend, but the design and components were all custom made by myself :)

comment 6y ago · link · parent

I share Nelson's belief that we can conquer the rampant complexity in modern software applications. I'm generally in favor of the approach he's advocating for -- working to understand the layers of the stack rather than treating them as a black box.

That said I can't help but feel that the problem is a missing abstraction. As computers and the internet grew we did a lot of experimentation, learned from it, and came up with abstractions to help us conquer higher-order complexity through chunking.

But for cloud-based software today, creating a "simple" (in terms of business logic) backend API requires an insane amount of moving parts and complexity to have it up and running, but there is no underlying abstraction that offloads this complexity from the engineer writing the business logic. It's as if the people writing business logic were hand-crafting IP packets, but instead of juggling bits we're juggling build pipeline definitions and Kubernetes yaml files.

We need higher-order primitives for writing software.

comment 6y ago · link · parent

That was a quite interesting read; I hadn't heard that analogy before. It's a shame the formatting of the page really makes it difficult to engage with the content.

comment 6y ago · link · parent

That's the Baader-Meinhof phenomenon talking [1] :)

[1] https://science.howstuffworks.com/life/inside-the-mind/human...

116.

Writing a Reliability Strategy (2019)(lethain.com ↗)

2 points · by eandre · 6y ago · discuss

comment 6y ago · link · parent

This is certainly true, but it strikes me that the solution must be a move towards simpler primitives so that managing a cloud-based piece of software doesn't require so many moving parts.

comment 6y ago · link · parent

I really appreciate the approach of building something simple (in user experience but also in implementation). These days it's so easy to get sucked in and end up spending months setting up Kubernetes clusters and the "that won't scale"-type thinking.

comment 6y ago · link · parent

Liste looks great! I've been looking around for a better tool to aid in note-taking after all the posts around this space over the last few weeks. Will keep an eye on it and good luck with the launch.

How did you decide to start a company around the idea before launch?

12345