Recent submissions

Comment · 2 years ago
https://github.com/petermattis/fastcgo, which is now 7 years old seems to do something similar without the need to about obscure CGO FFI configuration. It also seems to be more generally applicable for any language with C interop.

There had been an issue for having something similar in the language itself - https://github.com/golang/go/issues/42469, but the Golang compiler team rejected it. If you have followed similar discussions around this with the Golang compiler team, you will notice a pattern of interaction that strongly indicates that they are very much opposed to ever accepting this into the compiler.

Comment · 3 years ago
As the sibling comment by eternityforest says, OPFS does not create real files on your file system. It is backed by sqlite or some other embedded key value store.

So, if you want to backup your webapp data, you cannot use any filesystem backup tool.

And since OPFS cannot access your local files you cannot use it for webapps that largely use local file system data.

Something like scoped storage would have been great. Each webapp gets a separate directory where they can store your data. Easy to backup and you can also drop any local files or directory in there with existing OS tools.

Comment · 3 years ago
Looks like clickbait to me. OPFS is not a real filesystem. It's basically indexedDB with filesystem-like characteristics. It does not give you access to the host filesystem.

The File System access API can do that, but it needs the user to grant permissions for each file or directory accessed separately, and this permission cannot be persisted between sessions. So it is a constant nuisance and cannot be used to create an ergonomic mostly local web application.

Comment · 3 years ago
As of now, blocking the sender of the ad has worked out for my Indian number. No repeat attempts to shove crap down my throat.

One problem in ensuring doesn't become a problem or gets solved is that WhatsApp is incentivised to allow Business customers to spam us, as that is how they make money.

It is sad that a subscription based model for comms is not longer economically feasible.

Comment · 3 years ago
You have all these issues with cash added along with additional inconvenience of handling change, counting and making sure to keep enough of it. Most Cash on delivery options also let you pay via card or UPI on spot.

Almost every small shop vendor I know accepts UPI today without complaint.

Comment · 3 years ago
You can keep your points.

Congress supports religion specific exceptions for personal laws - marriage, inheritance, etc.

BJP stated policy position opposes this, which by definition is more close to French secularism.

I don't even like BJP, but y'all seriously need to get over your Gell-Mann amnesisa.

Comment · 3 years ago
How are they supposed to fund the development then?

Open source would have been ideal, but when people ask for open source it's mostly them asking for free. We know that most developers don't truly care about open source beyond the surface level given how popular VSCode is.

If you want to make money and pay rent, Open Source has shown to be disastrous for almost all business models.

Comment · 3 years ago
Aren't countries like Japan or South Korea known for gruelling work hours?

I think the economic system itself is not conducive for healthy families where both parents get sufficient time to spend with kids or family.

In the past this may have been papered over with the cultural expectation that the woman takes care of the house and family and the man works, but this cultural framework has been broken and done away with without any replacement, cultural or economical.

Comment · 3 years ago
> very few interesting accounts from Twitter are available on Mastadon Would you mind sharing what topics your twitter consumption centers on?

For me it was the opposite, since a lot of Tech folks I followed moved over.

Folks I follow for IR/Politics and Linguistics still seem around. So, my twitter consumption has tilted away from Tech to those topics.

Comment · 3 years ago
For me it's search. I loved search (and search operators) on Twitter. Used it heavily to curate my twitter lists, to only get tweets pertaining to topics I was interested in.

When many tech folks began moving to Mastodon, I also decided to kick the tires to see what all the buzz is about. But I got tired of sifting through unrelated toots from people to find technically relevant ones.

Now, I know proper search support will never be added to Mastodon, so I don't plan to use it. I understand their reasons for it, but it's not for me.

Thankfully twitter for other topics I am interested in seems largely untouched.

Comment · 3 years ago
How do you find the time to go through it all?

A lot of open source developers also post about other topics like their cats, dogs and favorite types of bread.

Which is fine. It's their profile. With twitter I could filter out these with carefully crafted search queries on separately maintained lists since I only have so much time in my day to devote to Tech,

I cannot do this on Mastodon since no one is diligent about hashtags and it is an explicit policy to cripple search. I've most stopped following open source developers since then.

Comment · 3 years ago
But most people do not think critically. Even if we try we do not have access to perfect information.

You read a news article. Is it fact? Is it a tilted spin? Is it truth that omits strategic nuances?

No matter how critically I approach it, I will not be able derive objective truth from biased and fuzzy information.

At some point you will need to trust someone to curate.

Comment · 3 years ago
Unchecked Censorship by the government can be a problem, but I find it hard to take voices in this space on face value since they are often the most vocal cheerleaders when a government or political party they like is doing the censorship since it's "Human rights" not politics.

Given the dissolving line between Social media and the Town square, who should be the arbiters of speech on Social media?

A committee appointed from "Interest groups" with all the right "credentials" and "expertise"? Effectively an incestous group with circular pats on the backs.

A separate body elected by the people just for this purpose?

Something else?

Comment · 3 years ago
That still doesn't solve the issue of surnames being an imperfect signal of caste. Many surnames are shared between castes.

Plus there is no common naming system in India. In the same region within the same caste you can have

- Surnames based on ancestral village

- patronymic surname (Take name of father as your surname)

- "Normal" surnames

You have folks from my caste that follow each of these. How will you now find their caste from their Father's name in Delhi or Mumbai?

It is not easy to narrow down on the caste of the person unless it's a common surname like Iyer, Iyengar, Agarwal, etc. And India has a hell lot of surnames across multiple regions.

Even if I tried, I would fail to recognise the caste of a majority of my neighbours from my hometown. Forget my coworkers who come from all over the country.

It would only work for families that have lived in the same village for multiple generations.

Comment · 3 years ago
Thanks for pointing this out.

I can now ignore anything you say about caste since it shows you don't know anything about it.

Most last names are used by multiple castes.

Except for popular surnames like Iyer, Sharma or Agarwal the link between surname and Caste can be quite ambiguous.

Given how regional some castes are, in Geographically mixed work places it's really hard to narrow down the caste via surname.

What does a Punjabi know about the caste their Telugu coworker belongs to?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton