HNHacker News
TopNewBestAskShowJobs

pombo

101 karma · joined February 13, 2015

submissionscomments
pombo··on npm i openai-react-native
I recently published a new package on npm that brings the OpenAI APIs to React Native Expo without polyfills.

Today the library supports chat streaming, normal chat completions and file upload with more endpoints coming soon. The goal of the library is to follow the OpenAI Node SDK wherever possible while taking advantage of React Native SSE and Expo FileSystem with streaming and file upload support where the OpenAI Node SDK does not work. Lmk what you think or what you would like to see!

pombo··on The Firebase for AI Apps (Early Access)
Use any Gen AI API from your app without a backend with analytics and rate limits per user
pombo··on Show HN: Marsha – An LLM-Based Programming Language
I'm not sure I agree with the fact that an abstraction is always the answer, but your last sentence outlines precisely one of our motivations behind Marsha. You can specify an imperative set of steps in the description of a function/program, or you can (in the future) write a Python function that you use from Marsha
pombo··on Show HN: Marsha – An LLM-Based Programming Language
I would say that it depends. Python and JS, two of the most used programming languages, abstract away memory management and threading details that most of the time you don't need, but you can "drop down" to write code that does pay attention to that within the language (building an object pool and reusing it, or memoization, etc) and if that's not enough, go to the "deeper" language like C/Rust to handle those cases with first-class primitives.
pombo··on Show HN: Marsha – An LLM-Based Programming Language
one of the contributors here. we have a statistical test script we can run on our branches to test the compile time, cost and reliability. we want to try tree of thought and also something like https://www.reddit.com/r/ChatGPT/comments/14d7pfz/become_god.... that said, we found that when we asked GPT to first explain why a test case is failing and then to correct that failure instead of just asking it to correct the failure, unexpectedly costs went up and reliability went down
pombo··on With plugins, GPT-4 posts GitHub issue without being instructed to
https://github.com/RVC-Project/Retrieval-based-Voice-Convers...
pombo··on Ask HN: What books helped you in your entrepreneurship journey?
Traction by Weinberg. Understanding the distribution of your product, how to think about it and how much resources to devote to it was a missing piece for me as a technical founder. I easily fall into the fallacy of "build it and they will come" even when I don't think I do.
pombo··on [dead]
I'm fully on the Apple ecosystem nowadays so don't feel this pain anymore, but I would have used this before. Not sure if I would have paid for it though
pombo··on Show HN: IaSQL beta – cloud infra as data in PostgreSQL
I fully agree with this. Our dashboard cues you into which tables have rows in them and you can click on them to visualize the rows much like any SQL editor. I find this to be much better than using the AWS console/UI to understand what is in an AWS account. A few people in the community are interested in making cloud visualizations and we will definitely post about those when they happen. The great part of encoding infrastructure in PostgreSQL is that relations between pieces of infrastructure like an EC2 instance, a security group, and a load balancer are encoded naturally as foreign key relations that you can make sense of in a familiar when compared to the AWS console or `depends` clauses in IaC tools.
pombo··on Show HN: IaSQL beta – cloud infra as data in PostgreSQL
Yes! IaSQL currently only supports AWS, but we plan to expand coverage to other clouds
pombo··on Show HN: IaSQL beta – cloud infra as data in PostgreSQL
yes! we have a SQL editor in our dashboard, but you get a connection string that can be used with any compatible PostgreSQL client since we use an unmodified PostgreSQL database. More info here https://iasql.com/docs/connect/
pombo··on Show HN: IaSQL beta – cloud infra as data in PostgreSQL
IaSQL's approach to managing cloud infrastructure as data provides the following when compared to IaC tools:

- No need to manage or modify JSON state files

- Provides a familiar interface for working with infrastructure resources so you don’t need to learn new syntax if you know SQL

- No need to reconcile or recreate existing resources. IaSQL automatically imports all your existing infrastructure into PostgreSQL as it facilitates a two-way connection between your AWS account and a vanilla PostgreSQL database.

- Treat complex or delicate infrastructure changes as transactions such that your AWS account is not left in a bad state if something goes wrong since there is a rollback functionality when that happens

- Better input validation. Typos are often caught by type safety and fk constraints instead of at `apply` with IaC tools

- Easier to inspect and make sense of large infra deployments. This is an example use case of how users save money on their AWS bill by removing unused ECR images https://iasql.com/blog/ecr-save/

pombo··on Cloud Infrastructure as SQL
ah it was a bug in some screens. we think we just fixed it. where you guys on mobile, can you check again?
pombo··on Cloud Infrastructure as SQL
No, just double checked. Why did you think so?
pombo··on AnyCloud: CLI to deploy and autoscale HTTP servers in your AWS/GCP/Azure account
I would say that serverless does a bad job handling databases, especially Postgres, since they are designed around a small number of high-volume TCP connections while serverless causes lots of minimally-used sockets to be spawned putting heavy pressure on Postgres' fork-per-socket design.

I also had very bad experiences with AWS Lambda being very disconnected from how you would typically structure and deploy a backend service; dead endpoints wouldn't actually be deleted without special care being taken, so you could accidentally have code in production that still works using endpoints you thought you removed and no longer have the source for (actual issue in another startup I joined), and of course the API endpoint structure (URLs, HTTP methods allowed, payload provided) were dictated by Lambda, not the needs of your frontend or backend code. This implicit scaffolding in Lambda also makes it very difficult to do integration tests locally.

So AnyCloud lets you structure your backend code how you want, so local testing is about the same as how it would behave in production, and it handles not just autoscaling like Lambda but also the deploy/monitor/autoscale/rollback needs for you, and since it produces instances in your cloud more similar to the kinds of clients DBs expected, its much harder to break postgres.

pombo··on AnyCloud: CLI to deploy and autoscale HTTP servers in your AWS/GCP/Azure account
Yes! We have a guide on how to do it here. https://docs.anycloudapp.com/documentation/how-to/multi
pombo··on Practical Handbook for Applying to YC (v1.0)
I like it. Great startup advice in general beyond getting into YC
pombo··on A programming language to make concurrent programs easy to write
A friend and I created a programming language that looks like Typescript and makes distributed programs shorter and easier to reason about. Alan's compiler and runtime exploits opportunities for parallelization across the computing resources available without being told to do so.
pombo··on Show HN: Let's all work together and get better wellness as we age
I would be more compelled to try it out if it didn't require me to sign up. It is better to provide, or clearly show the value, before asking something from users
pombo··on Ask HN: I'd like to learn vocals, any suggestion on how I can do this?
I have had a tutor in the past, but I have been doing Yousician's singing course for a few months and I am quite happy with it: https://yousician.com/singing. I like that their software is able to detect if you are in tune or not.