HNHacker News
TopNewBestAskShowJobs

stephenjayakar

12 karma · joined September 15, 2021

submissionscomments
stephenjayakar··on Project Genie: Experimenting with infinite, interactive worlds
I gotcha. https://www.linkedin.com/posts/yann-lecun_big-changes-for-ai..., https://ai.meta.com/blog/fair-10-year-anniversary-open-scien...
stephenjayakar··on [dead]
side note: if anyone has Notion alternatives they're excited about please please let me know your experience + the tradeoffs of the platform. i'm really getting angsty
stephenjayakar··on I made a web app to get better at adding half-steps to notes
Also, some insight into how I think about personal projects plus some mind-blowing (to me) ChatGPT4 abilities.
stephenjayakar··on Notifications Suck
yes, you might be spending too much time on the internet.

on capital letters: https://www.aspendailynews.com/news/for-bayer-capital-letter...

i'm sorry this post bothered you so! we're both clearly bothered by attention grabs -- it's what motivated me to write this post to begin with, and for you to write your comment.

stephenjayakar··on Replit's new Code LLM: Open Source, 77% smaller than Codex, trained in 1 week
this feels like an attempt to hive mind against anything cool from this company
stephenjayakar··on Staring into the abyss as a core life skill
I think you should give staring into the abyss another try on Christianity. Maybe though get it out of the dichotomy, and also expand your search beyond Evangelicals. I’ve found learning about Jewish history (Jonathan Sacks is a great author, Jewish Rabbi) or Biblical authorship has been really enlightening.
stephenjayakar··on Staring into the abyss as a core life skill
Thank you so much for your response. Christianity is so often misrepresented in HN / Reddit that it’s ridiculous how often it’s forced into false dichotomies. Your references in the last paragraph were exactly in line of what I was going to link.

I think though also we should be careful to judge things as heretical. It’s always been a dangerous word, and it’s unlikely that any one person or group of people are capable of fully grasping a religion or even God himself.

stephenjayakar··on Adopting the OpenAPI schema to generate Plaid’s SDKs
~ I'm the author of the article ~

Hello! I'm assuming you're talking about Python type hints: https://docs.python.org/3/library/typing.html.

I love these :). I remember back in uni I would fill my program with them, but then fail the autograder because they were using an older version of Python 3 (support was only added in 3.5). I also remember back when the system didn't even have support for self-hoisting, so you couldn't make recursive type definitions and would have to do string annotations like `(x: 'LinkedListNode')`. Fun times.

Assuming that strongly typing the library in some way is beneficial (which we believed), let's look into the options we're provided here. Python's current type hint system requires external tools to enforce it and isn't enforced at runtime or "compilation." The system we have in our library creates a ton of objects that end up enforcing runtime constraints on input values. Failing at runtime because of invalid input is good. I've worked on Python stacks that totally do not use type hints (and my Emacs setup probably didn't back then either), and would have been saved tons of time debugging if the library just told me I was doing things wrong. This is at a definite cost of verbosity. There are definitely ways we can cut verbosity in this model (enums was actually a great example). Considering we were working on 5 languages at the same time though, it was difficult to do everything we wanted before shipping.

There's also the final reality that the generator we chose to use defaults to this behavior. We didn't find a better OpenAPI generator out there, and we weren't opposed to this generated output. There wasn't much wheel invention here, but we did attempt to make it spin smoother at times :D.