HNHacker News
TopNewBestAskShowJobs

nileshtrivedi

2,584 karma · joined December 13, 2009

submissionscomments
nileshtrivedi··on Show HN: Svelvet – A component library for building interactive flow diagrams
Are you planning to offer authoring of such flow diagrams as a capability? Users should be able to nost just reposition nodes, but add/modify/remove nodes and edges both and edit their metadata.

This would be super-useful because currently not many tools exist for non-tech users for creating graph datasets AND visually laying them out in a sensible way.

nileshtrivedi··on Apple is discontinuing the iPod
Since smartphoners have taken over, we are seeing most businesses insisting on users' owning and sharing their phone numbers. WiFi-only devices like iPod Touch could have played an important role in resisting this trend - especially with kids. Too bad there never were any popular WiFi-only models in the Android world.
nileshtrivedi··on Fediverse
ActivityPub is a generalization of Email. Email gives you a cloud-hosted inbox that others can put stuff in. ActivityPub gives you both an online inbox AND a "outbox" that YOU can put stuff in that others can check out. Check out this diagram: https://activitypub.rocks/static/images/ActivityPub-tutorial...

The stuff here is called an "Activity" around "Objects". Follow request is a "Follow" activity with the "Actor" as the object. A tweet is a "Create" activity with the "Note" being the object. There's an entire vocabulary defined in the spec: https://www.w3.org/TR/activitystreams-vocabulary/#object-typ...

This way, all kinds of social platforms - from YouTube to GitHub - can be modeled in this general distributed pub/sub system.

nileshtrivedi··on SDLang – Simple Declarative Language
JSON5 might be a good candidate for these attributes.
nileshtrivedi··on Meritocracies Are Unfair – and That’s the Point
Wealth inequality leads to inequality of dignity as it's directly tied to power balance among those unequal individuals.
nileshtrivedi··on Evidence that no one cares about crypto-denominated wealth
> Unlike say house. Which might retain the same value to me even if its market dollar value doubled overnight.

I think this needs to be thought carefully. A house, because it's saleable, represents an opportunity cost. If the market value doubles overnight, a rational actor should re-evaluate whether it is still the best course to continue to live in it, rather than sell it.

nileshtrivedi··on Bitconnect founder indicted in global $2.4B cryptocurrency scheme
MobileCoin whitepaper didn't make any claims about untraceability, AFAIK.
nileshtrivedi··on Facebook, Google other tech firms must verify identities under proposed UK law
The followup question is: how do we prevent the powerful members of the society from abusing the anonymity (fake news, fake support, corruption, other kinds of sybil attacks) that is intended for the weakest ones?
nileshtrivedi··on Don't rely on LocalStorage
> some other way to tell the server that Device A and Device B are the same person

Browsers already have both user identity across multiple devices and ability to sync data. It just needs to be extended to cookies and localstorage.

nileshtrivedi··on Show HN: Lurnby, a tool for better learning, is now open source
Fantastic! I'll have a deeper look and see if there's any opportunities for integrating this into https://learnawesome.org (which is also open-source).

One of the most frustating thing about the current generation of note-taking apps has been that either they are available as an offline app, or as a VS Code plugin. Many of them have turned into VC-funded startups - keeping the web version as a proprietary product, blindlt following Roam.

nileshtrivedi··on Ask HN: What is your “I don't care if this succeeds” project?
I am building https://learnawesome.org

It's an attempt to organize world's knowledge. Right now, it looks like GoodReads-like social network for learning resources organized by topics, formats, difficulty levels etc. But there's a knowledge-graph that separates ideas and the medium those ideas are expressed in. For eg: "Sapiens - the book" and "TED Talk given by Yuval Harari" are connected to the same node.

This idea isn't anything new. Here is Danny Hillis talking about it at OSCON 2012: https://youtu.be/wKcZ8ozCah0

The code is open-source on github: https://github.com/learn-awesome/learn/

nileshtrivedi··on Show HN: A Penny – answer questions, earn dollars
This feels like spam. Currently, the same link is submitted 3 times on the Show HN page:

https://news.ycombinator.com/item?id=30208558

https://news.ycombinator.com/item?id=30218660

https://news.ycombinator.com/item?id=30203507

nileshtrivedi··on Postman Now Supports gRPC
Try Insomnia or Hoppskotch.
nileshtrivedi··on Building single-page-apps with PostgREST
I used Preact+HTM for the same reason. The latter uses tagged templates which are well supported in browsers now, instead of JSX which would have required a compiler of some kind. Do have a look at the frontend.js mentioned in the article.
nileshtrivedi··on Building single-page-apps with PostgREST
I am using Gitbook. They seemed to have changed things in a big way and a number of issues seem to have cropped up. Unlikely I can fix these myself.
nileshtrivedi··on Building single-page-apps with PostgREST
Open-source apps meant for personal self-hosting as the article mentions?

- Scaling is not a worry.

- Simplicity is essential because developers are volunteering their time.

- Users also benefit because they only need to manage a database and not 6 different server language runtimes. Can even use managed services like Supabase or RDS.

nileshtrivedi··on Building single-page-apps with PostgREST
The first page gives users control on what code ends up being loaded with access to their data over API. First page coming from CDN, would not just be an issue for cross-origin resource sharing, also removes the ability to use SRI hash for subsequent JS.

Also, the HTML page on CDN wouldn’t know what endpoint (domain, port) user has deployed their API on. One more thing for user to configure. Here, the HTML configures window.postgrest_url which the JS code can use.

nileshtrivedi··on Building single-page-apps with PostgREST
Pretty cool! Was the function being named "index.html", made it available on /rpc instead of /rpc/index.html ?
nileshtrivedi··on Building single-page-apps with PostgREST
The use case is what I mentioned in the article: Easier development and deployment of open-source, self-hosted apps. This paradigm makes things a lot easier both for the user and the volunteer developers.

It simplifies the 3-tier architecture (DB, server, client) into effectively 2-tier because the server environment is replaced by a standard binary (PostgREST) with zero hand-written code. This is 33% improvement in language/framework complexity if nothing else.

If needed, one can also write postgresql functions/triggers in Javascript/Python/etc for productivity - although this doesn't seem to have taken off yet.

nileshtrivedi··on Building single-page-apps with PostgREST
Absolutely. Also, somehow, the ability to write postgresql triggers and functions in standard languages (Python, Javascript) seems to be vastly underutilized.

The times are changing though. If there's anybody here from Supabase team, would love to chat about these topics.

nileshtrivedi··on Building single-page-apps with PostgREST
"Reversible SQL" is such a great idea. PostgreSQL does have pub/sub semantics via LISTEN and NOTIFY. At some level, we should think about removing the centralized database completely, and let all of user's devices synchronize with each other somehow. Perhaps SQLite database files synchronized with syncthing? That would really be fantastic!
nileshtrivedi··on Building single-page-apps with PostgREST
The site is made with Gitbook which seems to have gone through major changes recently. I'll see what I can do about it.
nileshtrivedi··on Building single-page-apps with PostgREST
Author here.

I really think there's a lot of value in this model for users to self-host apps. PostgreSQL can run cron jobs, operate on external data with foreign data wrappers, and even do some number-crunching with Madlib right within SQL.

So, the user only has to manage a postgresql db, retains control on data and can easily get upgrades of webapps via CDN and mobile apps via app stores. Developers benefit because (a) there is no server-side programming language to deploy/maintain and (b) PostgREST API is very well thought-out and very predictable - leading to easier development across frontend/mobile frameworks.

nileshtrivedi··on Google Workspace Alternatives for Families
This should also list Zoho which offers a free plan albeit without features like email forwarding.
nileshtrivedi··on Selling Tiny Internet Projects for Fun and Profit
This is exactly why I end up making usernames non-unique in many of my online projects (such as learnawesome.org). It makes things more complex to implement, but at least nobody has to compromise on the online nicknames they want.
nileshtrivedi··on Apple Music Announces Spatial Audio and Lossless Audio
Since most of the music is consumed on headphones, I'm not sure if spatial music will appeal to many. What I would really like to see in purchased music is individual soundtracks for each instrument/vocal (which I can mix as per my taste) and one default mix made as per the producer's taste.

This would not only help with music practice, karaoke,

nileshtrivedi··on Signal Server code on GitHub is up to date again
Here's a response by MobileCoin folks:

> Signal had to verify that MobileCoin worked before exposing their users to the technology. That process took a long time because MobileCoin has lots of complicated moving parts.

> With respect to price, no one truly understands the market. It’s impossible to predict future price.

- https://twitter.com/mobilecoin/status/1379830618876338179

Reeks of utter BS. As the reply on this tweet says, features can be developed while being kept switched off with a flag.

nileshtrivedi··on Ask HN: Best resources to learn about stock trading and investing?
You will find links to some MOOCs here: https://learnawesome.org/topics/cd05721c-f47f-4351-a637-8d1a...

The one called "Trading Basics" by ISB seems like a good starting point.

nileshtrivedi··on Apple rejects Hey for second time, threatens removal from App Store
Either way, Apple loses nothing.
nileshtrivedi··on Light-Weight Identity for the Web Using Browser Sync and Push
This is just a rough idea triggered by an observation on how browsers are adapting push notifications to be more user-friendly. See this: https://www.mobiloud.com/blog/google-web-push-notification-p...

We users trust our browsers a lot already. And they've been good stewards so far (such as end-to-end encryption of sync data). This proposal in meant to leverage browser sync and push to replace social logins such as Google, Facebook etc.

← PreviousPage 3 of 24Next →