Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ashishb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
241.
▲
by
ashishb
1y ago
> Since you've used them at this state for the whole of app's existence, you can continue to do so without any extra maintenance? Well, not, for example, "OkHttp 4.12.0 does not support Happy Eyeballs which is a major issu
242.
▲
by
ashishb
1y ago
> Native NDK is another can of worms Thanks for sharing this. I agree with your sentiment as one of my Android apps use vox SDK. However, my experience is very limited compared to you to write about it. > The absolute nightmare is abo
243.
▲
by
ashishb
1y ago
> It's really copied from Apple's anti-consumer measures, which seem to be targeting free software AFAIK, Apple also charges $99 per year to maintain a developer account on the Apple App Store, effectively shutting out any hobb
244.
▲
by
ashishb
1y ago
Exactly. I use it all the time to disable over-aggressive notifications.
245.
▲
by
ashishb
1y ago
> Really tired of installing an app, forgetting about it, I don't think that app can send a notification to you anyway. An app that's never opened by the user cannot be launched programmatically and cannot run background code.
246.
▲
Maintaining an Android app in Google Play Store is a lot of work
(ashishb.net)
156 points
by
ashishb
1y ago
|
79 comments
247.
▲
by
ashishb
1y ago
O(n^2) is fast enough to end up I'm production and slow enough to cause problems at scale. The worst troublesome cases of inefficient production are almost always O(n^2).
248.
▲
by
ashishb
1y ago
Speaking from my experience, it does scale to zero except you pay for 15 mins after the last request. So if you get all your requests in a 2 hours window then that's great. It will scale to zero for rest of the 22 hours. However, if yo
249.
▲
by
ashishb
1y ago
Yeah, anyone who uses GCP and AWS thoroughly will agree that GCP is a superior developer experience. The problem is continuous product churn. This was discussed at length at https://news.ycombinator.com/item?id=41614795
250.
▲
by
ashishb
1y ago
> But due to the instance-based behavior, it stayed up the whole time, and I ended up with a $1,000 charge for relatively little usage. Indeed. IIRC, if you get a single request every 15 mins (~100 requests a day), you will pay for Cloud
251.
▲
by
ashishb
1y ago
I love Google Cloud Run and highly recommend it as the best option[1]. The Cloud Run GPU, however is not something I can recommend. It is not cost effective (instance based billing is expensive as opposed to request based billing), GPU choi
252.
▲
by
ashishb
1y ago
> I'm not sure if there's a Python library that solves this out of the box without requiring manual tuning too There are Python libraries that will simplify the task by giving a better structure to your problem. The knobs will
253.
▲
by
ashishb
1y ago
I rewrote a simple RAG ingestion pipeline from Python to Go. It reads from a database. Generates embeddings. Writes it to a vector database. - ~10X faster - ~10X lower memory usage The only problem is that you have to spend a lot
254.
▲
by
ashishb
1y ago
> What are the advantages vs having a mono repo per team? If you have two internal services you can change them simultaneously. This is really useful for debugging using git bisect as you always have a code that passes the CI. I might wr
255.
▲
by
ashishb
1y ago
> there a way to set permissions on certain directories / force partial clones. No. And that's one reason small startups should separate frontend code into a separate monorepo. If you would like to hire a contractor for SEO&#x
256.
▲
by
ashishb
1y ago
I would have loved more details on what you can accomplish with Devia that you can't do with Gradio or streamlit.
257.
▲
by
ashishb
1y ago
Here's a general rule that I follow along with this and that is "write tests along the axis of minimum change"[1]. Such tests are more valuable and require less maintenance over time. 1 - https://ashishb.net/p
258.
▲
by
ashishb
1y ago
Imagine you are reading files which can be of varying size (KB to GB). A byte array will do a contiguous allocation of the file size. A Reader can be much more thoughtful. And I say "can be" because someone can make Reader as inef
259.
▲
by
ashishb
1y ago
> Breaking changes in dependencies end up in production only if you don't have tests. That's true. However, you have now replaced the work of a compiler with testing.
260.
▲
by
ashishb
1y ago
> The outcome is the same, statically typed or dynamically. In both cases one need to perform refactoring in case of breaking changes. No. In statically typed languages, failures are usually caught in CI. In dynamically typed languages,
261.
▲
Google Search is losing to Perplexity
(ashishb.net)
8 points
by
ashishb
1y ago
|
0 comments
262.
▲
by
ashishb
1y ago
I was skeptical too because of the version number and then uv won me with a quick migration and insane speed. There docs around GitHub Actions and docker are also pretty succinct and usable.
263.
▲
by
ashishb
1y ago
> So, I really like using themes as modules in Hugo, then your blog repository will be just your content directory `themes` are small in size, why not copy them into your repository to keep the build hermetic?
264.
▲
by
ashishb
1y ago
Congrats on the launch. Here are my two cents, as I am very familiar with this space[1][2] The problem of trying to position your product as "an easy way to deploy on over GCP" or "an easier way to do K8s" is that your p
265.
▲
by
ashishb
1y ago
> (unfortunately the norm for python projects). Yeah, that's how it is because it is costly for maintainers to maintain. What's your point though, is poetry better in this regard or what are you suggesting as a better alternati
266.
▲
by
ashishb
1y ago
> Perhaps better titled as something like “my personal preferences for how I like to run python in production”. Isn't that always implicit?
267.
▲
by
ashishb
1y ago
Exactly.
268.
▲
by
ashishb
1y ago
Last I checked, 6 months back, it didn't. However, ruff keeps evolving rapidly, so I am hopeful that I can get rid of all other linters and formatters over time. If you have a suggestion on streamlining my `make format` and `make lint`
269.
▲
by
ashishb
1y ago
> The way it worked was that they stored new/existing notes in an SQLite table with UUIDs. This of course makes it very difficult to use bash tools, other IDEs, etc. to work with your notes after Joplin has ingested them. This is th
270.
▲
by
ashishb
1y ago
> "Consider using an unstable package manager" is a really really rough start. You can use poetry instead. Poetry is stable. I wish `uv` was version 1.0 or later. However, despite it not being version 1.0 yet, I do see that it
More ›