Better HN
topnewbestaskshowjobs
Log inSign up

evinism

57 karma · joined Mar 15, 2015 (11y ago) · 23 submissions

this handle is pretty consistent throughout the internet. happy sleuthing
Submissions

1.

An Opinionated Python Setup Guide for Mac(evinsellin.medium.com ↗)

16 points · by evinism · 3y ago · 4 comments

comment 5y ago · link · parent

i'd love to hear more about your thoughts on pipes. Any particular reason they don't sit right with you?

3.

Show HN: MistQL, a mini-language for querying JSON-like structures(mistql.com ↗)

55 points · by evinism · 5y ago · 14 comments

4.

Show HN: TinyBaker, a library for defining composable file-to-file transforms(github.com ↗)

4 points · by evinism · 5y ago · discuss

5.

Show HN: TinyBaker, a library for defining composable file-to-file transforms(github.com ↗)

11 points · by evinism · 5y ago · discuss

6.

Timebomb: Tiny lib for failing loudly after a certain time(github.com ↗)

1 points · by evinism · 6y ago · discuss

comment 6y ago · link · parent

Yeah, GraphQL certainly has many of the features that I was looking at here too, and I figure that it's the rough direction in which webdev seems to be going.

I just... like RPCs.

There's also a vague sense of "buttery should work well for multiple services in a way that other methods might struggle to do so." The fact that RPCs are grouped into services means that a load balancer can shift RPCs to different backends based on which buttery service they're talking to. I'm not sure how that actually compares against common solutions, but it IS interesting :)

Thanks for taking the time to think about all these things! It's very helpful for me.

comment 6y ago · link · parent

I'm not sure any answer other than "I felt like it was a good choice" is gonna be 100% accurate, but a few things, some of which are speculative, some of which are reactionary.

(I'm sadly not very familiar with OAS, so it's very possible that OAS supports many of the things I'm going for!)

- This takes very heavily after protos, which use a DSL.

- This rejects protos because of a few reasons, not the least of which is that every field in proto3 is optional. While it makes sense for google, I don't think it makes sense for everybody.

- gRPC is non-http, and I was unhappy with gRPC-web

- I wanted it to be a terse specification, such that just glancing over the definition file gives you a sense of what the API consists of.

- I wanted a solution that handled websockets/server push as a first-class citizen, and not as a secondary add-on

- I wanted to provide library-level validation of request / response shape.

- I wanted to extend it beyond typescript, notably into python (and hopefully beyond)

- I like the idea of generic structs and oneofs (which I'm going to implement in some future version). I think if we had an easy way to define generics in cross-language APIs, we'd probably use it a fair amount.

- I like the idea of having an extensible language, e.g. be able to provide a JSONLogic type. Imagine a field `priceCalculation: JsonLogic<string, number>`. That'd be pretty cool!

9.

Show HN: Buttery, a DSL/runtime for defining HTTP APIs(github.com ↗)

4 points · by evinism · 6y ago · 4 comments

10.

Communicating through UUID conflicts(medium.com ↗)

1 points · by evinism · 8y ago · discuss

11.

What Exactly Is Turing Completeness?(medium.com ↗)

1 points · by evinism · 8y ago · discuss

12.

Teaching Monads Slightly Differently(medium.com ↗)

5 points · by evinism · 8y ago · discuss

13.

Show HN: An Interactive Tutorial/REPL for the Lambda Calculus(lambda-explorer.net ↗)

4 points · by evinism · 9y ago · discuss

comment 9y ago · link · parent

this is one of those problems I've needed to solve for forever, but which i've never explicitly looked up a clean solution for. I can immediately think of 3 instances in the past week where this would have been perfect.

comment 9y ago · link · parent

always used xkcd for this

comment 11y ago · link · parent

This is the question I was going to ask. It seems like porting many of the poor decisions that were made in creating the web to native desktop.