HNHacker News
TopNewBestAskShowJobs

gvkhna

227 karma · joined August 23, 2019

meet.hn/city/37.7792588,-122.4193286/San-Francisco

Socials: - x.com/gvkhna

---

submissionscomments
gvkhna··on Building a better online editor for TypeScript
yet

They could have also contributed to the effort. You can also add types to monaco typescript. I don’t see a need for a Deno specific LSP, am I missing something?

gvkhna··on Cities can cost effectively start their own utilities
Unfortunately most of the CPUC worked at PGE, the people that understand energy regulation are usually energy folks. And so the CPUC is typically quite understanding of PG&E’s pleas, they approved every single rate hike they’ve proposed. 5 times last year alone.
gvkhna··on Dokku: My favorite personal serverless platform
Is anyone running truenas scale for this kind of purpose. I haven’t used it but its architecture around k8s seems extremely promising. For most use cases a simple docker container is all you need but sometimes running other apps like grafana with a k8 manifest is easier to manage in one vps and gives you the flexibility of a cluster. Just curious.
gvkhna··on JavaScript dates are about to be fixed
Yes that works for most use cases but there are use cases where you may need to store or shuttle the time zone. For instance you want to know this UTC timestamp was originally created in PDT. You would have to store two variables. Most other languages have this functionality it can be useful and is good to have, probably only needed by Jedi’s too.
gvkhna··on Apple is America's semiconductor problem
Intel also worked on modems for a long time, ultimately abandoning it and selling it to Apple, who has also not been able to bear fruit with that yet. Modems are hard but Intel with their experience could’ve stuck it out and had a competitive modem chip but instead focused on short term profits which have evaporated now. Note I own shares in both companies.
gvkhna··on DB Browser for SQLite (Windows, macOS, and Most Versions of Linux)
Thank you for your contribution. This is a great piece of FOSS!
gvkhna··on Show HN: ServerlessMaps – Host your own maps in the cloud
This looks great!

I’ve done something similar with tippecanoe and mapshaper from gis files. That allowed me to use mapbox.js with my own hosted custom maps, as flat files. Very fast but still needed to run a server (tileserver-gl-light). This could negate that, very cool!

gvkhna··on Carrier, inventor of the air conditioner, is moving on to the home heat pump
Functionally yes but the VRF (variable rate flow) which leads to more efficiency gains is a bit more added on top just an inverter valve. Otherwise the heat pumps would be cycling on and off. That’s also why ACs are typically oversized here in the US. Because they turn on one massive load for a little while then turn it off (cycling). With VRF they’re running steady at a variable output over longer periods of time.
gvkhna··on TSMC boss says one-trillion transistor GPU is possible by early 2030s
The chiplet design is another innovation like FinFET and even EUV that is allowing for more transistors closer together. The interconnect for instance on the blackwell means no timing issues.

The transistor size is already closing in on 1nm, there will be innovation there eventually, but any step can be a stepping stone. I don’t see the issue here.

gvkhna··on Lcl.host: fast, easy HTTPS in your local dev environment
This looks fantastic! Does it support node extra ca cert etc? I’ve had that issue with mkcert in the past and it’s easy to fix but another thing to keep track of in these already complex dev setups if you’re doing local https.
gvkhna··on Cap'n'Proto: infinitely faster than Protobuf
To be fair protobufs are not purely focused on speed. And what speed exactly? Speed to parse, read, transfer?

Flatbuffers are purely fast read/write by storing buffers that can be mmap’d right into memory. At the cost of some size bloat (slower to transfer over the wire).

Protobufs are a mix of speed but also size over the wire being reduced which does reduce speed of parsing but increases speed transferring over the wire.

I think capnproto is a fantastic project, but considering google is built on top of grpc/protobufs, they will be around for effectively ever which gives it a lot of reliability in my book.

gvkhna··on A decent VS Code and Ruby on Rails setup
Here for standardrb, it’s the only one i use. I would recommend it and don’t deal with rubocop or anything else anymore.

I understand OPs points about ERB it seems to be a wasteland of development. I switched to liquid templates which took a decent bit of effort to implement, but well worth it for shopifys amazing liquid extension/support, which is quite configurable too for custom handlers.

gvkhna··on What if serverless meant no backend servers?
Yes but it’s a lot of code to maintain data integrity between your local store, app state, and networked store. Sqlite is ideal but indexeddb for the browser could work fine too.
gvkhna··on What if serverless meant no backend servers?
I want this too, there isn’t a great FOSS way to currently do this besides supabase or roll your own unfortunately. For PWA local save/write, try network update, refresh local upon success is the gold standard for data integrity. And for network reading fallback to local cache upon offline is great for UX. I haven’t found good tooling for this yet and i’ve been looking.
gvkhna··on How to do OCR on a Mac using the CLI or just Python
Is there any benchmarks on speed/compute/accuracy anywhere comparing to tesseract v5?
gvkhna··on How to do OCR on a Mac using the CLI or just Python
This would probably be pretty easy to do with swift and python processes running side by side with grpc.
gvkhna··on How to do OCR on a Mac using the CLI or just Python
Yes, as long as you pay for the mac hardware it’s yours to do with as you please. I’m not an attorney and this is not legal advice.
gvkhna··on Ruby 3.3's YJIT: Faster While Using Less Memory
I added jemalloc to my rails server and it took avg process mem usage of 1-1.5gb down to 400mb.
gvkhna··on Apple to Halt Watch Sales as It Prepares to Comply with U.S. Import Ban
Some VPN providers provide free dns that is just as “fast” and doesn’t block archive today. If you’re using unbound/pihole. You can set archive today domains specifically to use some other dns, but everything else remains cf.
gvkhna··on Anduril Builds a Tiny, Reusable Fighter Jet That Blows Up Drones
Never thought we would be building protoss carriers but here we are.
gvkhna··on DockerHub Registry Is Down
Yes I mean for users you can just prefix the url to pull the image. For publishers you just need a public repo, it can be empty. And push your image to that as a release or use github actions to build/publish it.

I don’t believe there are any stated limits, they probably have dynamic limits mostly for abuse, but regular/heavy usage will not encounter that.

gvkhna··on Is Something Going on with Archive.ph?
I switched Archive domains from Cloudflare DNS to Mullvad DNS on my unbound, haven’t had issues since. I also would recommend quad9 as a dns resolver, it doesn’t have an issue.
gvkhna··on DockerHub Registry Is Down
Please publish docker images to GHCR, it’s free with much better limits and is as simple to switch to as prepending the docker container url with ghcr.io/. Please do it maintainers!
gvkhna··on Replacing WebRTC: real-time latency with WebTransport and WebCodecs
Great news! It looks like Google GRPC team is probably waiting for Safari Webtransport support to implement grpc over the web in WT. Even though Chrome has had it for 2 years they have kept saying they’ll wait until it becomes GA.
gvkhna··on Replacing WebRTC: real-time latency with WebTransport and WebCodecs
Unfortunately Safari is still a major hold out on WebTransport with no clear update, considering all other browsers have now supported it in GA for 3+ years.
gvkhna··on Pg_bm25: Elastic-Quality Full Text Search Inside Postgres
Great to hear, a benchmark against trigram searching with gin index would also be great. There are multiple ways to do full text search with postgres and they’re all insanely fast and memory efficient. Benchmarking various methods for comparison would be helpful.

https://www.crunchydata.com/blog/postgres-full-text-search-a...

gvkhna··on Pg_bm25: Elastic-Quality Full Text Search Inside Postgres
I had same thought as soon as I read the article, with a gin index the benchmarks would be wildly different and not sure why they didn’t compare against that. Of course a non indexed search is going to be slow.

I was looking for comparison against a gin index specifically, without it pros/cons unclear.

gvkhna··on Pgroll: zero-downtime, reversible schema migrations for Postgres
Thanks for the reply, a write up on pros/cons in these approaches would be fantastic. I have no clue which is better but I believe pgosc is heavily inspired by github/gh-ost, their tool for online schema change for mysql.
gvkhna··on Pgroll: zero-downtime, reversible schema migrations for Postgres
Great to see more innovation in this space! How does this compare to?

https://github.com/shayonj/pg-osc

gvkhna··on Ask HN: Do You Self Host?
You make a good point, with k8 the entire base layer is abstracted away to the point devs aren’t building to linux they’re building to k8 with single process containers. But I guess mileage may vary, you still learn a great deal self hosting typically.
← PreviousPage 2 of 4Next →