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 Ask HN: Do You Self Host?
Agreed email is not worth the hassle.
gvkhna··on Solar
Yea if you look at your bill a lot of the cost is not in generation, it’s in transmission. We’re paying for the grid mostly, upkeep and PGE/SCE profits.
gvkhna··on Astro 3.0
It’s just the time savings, any competent engineer can implement better transitions, it’s just not very high priority these days. A simple one liner built-in is very convenient.
gvkhna··on Astro 3.0
That’s amazing, but others haven’t so it’s nice when a framework makes things more accessible for the rest of us!
gvkhna··on Astro 3.0
Yes but this in contrast specifically to <Link to=
gvkhna··on Astro 3.0
Yes but you still use <a> tag for view transitions native to the browser. That’s the beauty.
gvkhna··on GPTBot – OpenAI’s Web Crawler
I’m working on this problem (heavy user of chatgpt too). What kinds of libraries do you use it for that are out of date. I could hopefully get you into the beta with it having better responses for those libs. Please email me gaurav@gvkhna.com
gvkhna··on Launch HN: Resend (YC W23) – Email API for developers using React
Agreed react doesn’t make sense for email. But the syntax can be better than classic templating languages.

Seems like a better technology would be Astro.build. Basically same syntax as react but it’s really designed around static HTML generation only.

gvkhna··on VanillaJS: Fast, lightweight, cross-platform framework for JavaScript apps
You forgot blazingly fast!
gvkhna··on Ask HN: Is it still safe to use Stripe?
Ding ding ding. Stripe becomes PayPal. New stripe is born, cycle repeats.

As companies age and become more mature, they tend to become more risk-averse. They also become slower moving. The exact opposite of a startup. And why startups can and have beat incumbents.

gvkhna··on Show HN: Whole Git repo was made with ChatGPT
Just have ChatGPT write Rust code, so at least that’s not a concern. Because it’s so fast, it’s probably faster to iterate with ChatGPT than the majority of people writing Rust because it’s a pretty difficult language.
gvkhna··on Ask HN: How do you maintain JavaScript web apps?
I’m curious about this too but there’s really only a few options. Npm update, etc, is the riskiest thing I do at this point, I’m extremely fed up with the state of packages and cross-compatibility.

I merely cross my fingers, if something fails, force peer-legacy install and hope for the best etc.

The only other options are:

- Don’t update, and when you do, update to an already old version not the latest

- Carefully scrutinize released updates and evaluate potential for breakages

I say this because I don’t primarily see any other options but hope we can get some more insight in the comments!

gvkhna··on Digitizing 55,000 pages of civic meetings
I’m not too clear on the intricacies of FOIA requests but some data cities have, they charge for. Would FOIA be able to get that as well?

Otherwise I feel this type of request could be denied for being too large/expensive in nature to fulfill.

For instance many counties provide historical tax records for a fee, companies like Zillow pay for this data. Curious if you know more for the purpose of freeing more data.

gvkhna··on Digitizing 55,000 pages of civic meetings
This is awesome! Cities don’t do a great job of organizing data. It’s unclear if there’s enough funding/interest to have better access to data like this. But I certainly wish there was!

I sent a message to author directly but wanted to add as well. Has anyone used tsvector index on Postgres for this type of full text search?

I’ve had great experience with it (for this type of full text/document data) but there isn’t much information out there about this kind of index and how to best utilize it.

gvkhna··on In benchmarks, Cap’n Proto is INFINITY TIMES faster than Protocol Buffers
Was researching flatbuffers a lot recently. Do you have any updates on thoughts about it.

Capnproto has a just a blurb about it. It looks more widely supported, crazy fast, and quite flexible. I played around with it recently, needs more development but the small amount of additional disk usage is a fair trade off to even faster (basically non existent) encode/decode times.

gvkhna··on Show HN: Game Changing Typed GraphQL
What’s the difference between this and react relay, which generates typescript types for Graphql queries?
gvkhna··on Ask HN: Has Google search become quantitatively worse?
I’ve been using DDG for sometime now and can attest, it’s results are very good for technical queries. It’s fast and private.
gvkhna··on Disney's FastPass: A Complicated History
I saw this last night, this is an incredible watch, from the deep analysis to the excellent commentary. The economics lens for queuing was especially interesting.

Didn’t know it was going to be almost 2 hours long but worth the time.

gvkhna··on You Shouldn’t Use GraphQL
Much of the reasoning specified is invalid with Relay. For example, you can lock queries from the client to predefined queries on the server.

While it may not be needed for your project, this is a downvote from me because I do think Graphql is a far superior means of querying than REST. I’ve personally dealt with cascading queries which make no sense, and declaring format on server, then constantly changing format ingestion on client, you might as well reinvent Graphql.

Some of the innovations Relay+Graphql have are very good including lazy querying with a tie-in to Suspense are very impressive.

gvkhna··on Show HN: GitHub for Docker Images
This is great! I was working on something similar but admittedly didn’t get around to launching it, it wasn’t as nice as this. How do you plan to monetize?
gvkhna··on Faster web fonts
I typically embed the font into the CSS using base64 data URIs. Even typically large CSS files compress with gzip extremely well and if you have one style sheet to load your page will load the fonts and styles in one go very quickly.

I don’t know why more websites don’t do this. Even having one large CSS file with everything compressed is much much faster then the waterfall of more files/connections.

I recommend postcss-import that takes your file paths and embeds the files during build. Use responsibly.

gvkhna··on Apple admits that iMessage for Android was killed to keep its walled garden
They’ve launched products for other platforms with limited success, except for the big one being iTunes for Windows which was a huge success.

There is no reason in the end to support more platforms because problems with other platforms end up being blamed on the service. I think this is also something they strictly want to avoid.

If there are integration issues with X networks, Y devices and Z versions of android. Users will complain to Apple. From this perspective I think it makes sense.

gvkhna··on TailwindCSS JIT with arbitrary values
I like this a lot actually, considering JIT maybe data attributes or some tighter integration into react could easily be done so there isn’t so much reliance on class names.
gvkhna··on TailwindCSS JIT with arbitrary values
I’m ok with a convention but considering how that could become it’s own complete config maybe alphabetical would just be better. Also it typically has less issues with git changes.
gvkhna··on TailwindCSS JIT with arbitrary values
I agree. Also the reason for alphabetical ordering is typically adding in lines will not cause additional changes in git blame.
gvkhna··on TailwindCSS JIT with arbitrary values
Tailwind is great but the horizontal alignment of all classes is definitely not ideal.

Is there a vscode extension that possibly aligns classes in new lines? Alphabetical sorting could be nice as well.

Is this on the horizon for the Tailwind team? The intellisense extension is quite good so it’s possible this is a problem they are working on as well.

gvkhna··on Playwright-test – cross-browser end-to-end test suite with Playwright
If cypress works for you that’s great, playwright doesn’t have all of the same tools but it does excel at cross browser testing. It runs safari, Firefox, and chrome.

We’re working on plugging in playwright into a cloud service for visual testing @superadmin.so, running multiple browsers in Linux can be pretty hairy to setup.

gvkhna··on Semiconductor Startups – Are they back?
This would be really great, I think innovations with GaN transistors could be something that startups could tackle and I would love to hear more about it!

But fab is extremely capital intensive and complex to setup, I don’t think this is the realm of startups anymore.

gvkhna··on Ubiquiti all but confirms breach response iniquity
Based on username/comment, let me ask, what is next?

Because the platform integration and ease of administration, no one else has and it’s great for simple networks.

gvkhna··on Ubiquiti all but confirms breach response iniquity
I’m still on board with Uniquiti, tons of equipment and it wouldn’t make sense to switch everything over for small operations. But this is extremely disappointing, they’re definitely moving in a little bit of a different direction then where many of us would hope.

More shiny products that increase bottom line is great but many IT officials rely on UniFi as well, I wonder how they’re responding to enterprise customers.

I just hope this incident will at least get them to put some emphasis on security again as well.

← PreviousPage 3 of 4Next →