HackerTrans
TopNewTrendsCommentsPastAskShowJobs

pschanely

no profile record

comments

pschanely
·2년 전·discuss
> I believe your argument on the performance penalty is right, and as a corollary, this implies that contracts are mostly useful if associated with a formal proof system. Contracts in production are probably a bad idea, in most cases.

Agree! There is a sliding scale between testing contracts and proving them too. My labor of love for the past several years has been a tool for checking Python contracts using an SMT solver (using symbolic inputs over concrete paths): https://github.com/pschanely/CrossHair

That said, these days I think property-based testing gets you the ~same benefits as contracts, and is easier for most people to apply.
pschanely
·3년 전·discuss
A little encouragement goes such a long way. Thank you for trying it out, and especially for coming back here to let me know how it went!
pschanely
·3년 전·discuss
Oh, thank you! I don't have any plans for expanding to other music services. But skimming the Apple Music API, I think it's possible. Particularly if you think you'd use it, I'll investigate a bit more and let you know. :)
pschanely
·3년 전·discuss
Music Tonight: https://musictonightapp.com/

Makes a Spotify playlist of artists playing near you, tonight.

No revenue. I really just made it for me; make the playlist in the am, listen during the day, and maybe see something that night.