HNHacker News
TopNewBestAskShowJobs

vivegi

1,028 karma · joined January 24, 2022

submissionscomments
vivegi··on A digital payments revolution in India
The digital payments infrastructure in India has done more to bring more people into the banking system than what was possible earlier.

It is pervasive, ubiquitous and very user friendly.

This is all thanks to the mobile data revolution ushered in by the telecoms companies in India over the last decade and a half.

Yes, data privacy is a larger issue that needs to be addressed in India, but that is no different than other digital payment methods like credit/debit cards.

One less mentioned point is that this payments revolution has done a lot to cut the country's carbon-footprint in the form of driving to the ATM or bank to get cash for routine transactions. Also, UPI is extremely consumer-friendly. If you withdrew cash from another bank's ATM, you may be charged fees whereas UPI is free for transactions up to INR 100,000 (approx $1200 USD)/day. This covers almost all day-to-day transaction needs for people.

I can choose a third-party fintech company's UPI app (eg: PayTM, PhonePe etc.,) or my bank's UPI app. So, it is incredibly flexible.

vivegi··on A digital payments revolution in India
> UPI has no dispute resolution (as of now)

Not true. [1]

[1]: https://www.npci.org.in/what-we-do/upi/dispute-redressal-mec...

vivegi··on DoorDash accused of charging iPhone users more than Android users for deliveries
Airlines (and many other industries like hospitality) have been charging dynamic pricing based on customer segmentation for a very long time.

I guess we draw the line of indignation when segmenting customers by OS/device.

/s

vivegi··on I lived in LA and commuted to Berkeley by plane to save on rent
It is creative. I'll give the writer that.

Can't say I have the stomach for such a grueling travel schedule and I have done my share of frequent travels, including intercontinental long-hauls.

Nevertheless, it solved a problem for the writer and made for interesting reading.

vivegi··on Supreme Court rules Andy Warhol’s Prince art is copyright infringement
Just tried the following prompt on Bing Chat.

> generate an image of the face of michael jackson in the style of Andy Warhol painting of Prince

It obliged with 4 variations [1].

I wonder how the legal system views this.

[1]: https://www.bing.com/images/create/the-face-of-michael-jacks...

vivegi··on Google banned me – open sourcing all my apps
There probably needs to be a database of such bans faced by independent app developers by the platform app stores on the lines of the public CVE (common vulnerabilities and exposures) database.

Over time, it should act as a reliable source for a class action suit and further research into monopolistic behavior.

At the very least, it should help counter the propaganda narrative by the platform providers.

vivegi··on Supreme Court rules Andy Warhol’s Prince art is copyright infringement
The obligatory "This is not a pipe" reference

https://en.wikipedia.org/wiki/The_Treachery_of_Images

vivegi··on Stop Saying C/C++
I can write code in C and consume it in C++ (through extern "C"). I can write code in C++ and consume it in C (through extern "C" again).

C and C++ each have their own language idioms, just like other programming languages have their own.

There are usecases where you want to reuse code written in one language from within another. The evolution of C++ took a pragmatic look at this and provided mechanisms for that. If you are not using C++ or don't have that use case, that is fine. But language choice depends on a lot of other factors other than just pedantry.

vivegi··on India's Alphonso mangoes are virtually impossible to find in America (2018)
Try Malgova (malgoa, malgoba) variety. It is a Southern India special variety.

Pulpy, meaty and sweet. Has a distinctive taste.

Comedian Romesh Ranganathan did a bit on Alphonso mangoes and Indians, I think it streams on Netflix.

Just my opinion that the Alphonso is overrated.

vivegi··on Google to delete inactive accounts starting December
I used to have a blog on blogger that I posted to between 2010 and 2012. It was the only Google account I ever used. I stopped blogging after that. Never logged into Google either. The last time I tried logging into blogger was several years ago and, Google wanted me to associate a phone number with the account.

I abandoned the login for that reason and have never even been there since then.

If Google deletes that account, I don't care. I have backed up my posts.

vivegi··on Patient drops request to compel hospital group to pay ransom
So, you would prohibit constructs like key person insurance [1] or cyber insurance [2] that have clauses for settling ransom payment claims for kidnaps or extortion after a data breach?

These already exist.

[1]: https://www.travelers.co.uk/iw-documents/uk/documents/kidnap...

[2]: https://www.thehartford.com/cyber-insurance

vivegi··on Sam Altman goes before US Congress to propose licenses for building AI
It is too early to regulate.

Let them first enforce existing regulation around the blatant unauthorized use of data (such as the creative output of artists, programmers etc.,) without explicit consent. For example, just like how the US Library of Congress receives a copy of each print publication for archival and reference purposes, Congress can enable the archival / storage of datasets for the purposes of AI research. Willing participants can deposit copies of their data sets (or URLs to source) and it would do more for AI research as a public good. The licensing terms could protect the rights of those who own copyrights on the datasets. There can even be commercial licenses enabled (already happens for legal documents such as court judgments ets.,).

If US Congress regulates too soon to constrain rather than enable, the tech companies would just setup shop in other jurisdictions where such regulatory hurdles don't exist.

vivegi··on Patient drops request to compel hospital group to pay ransom
Demanding a ransom is criminal.

Paying a ransom should be a business decision. There are already many business constructs such as key man insurance, cybercrime insurance etc., that are b2b contractual agreements to protect against such losses. How does one reconcile the existence of such agreements while (potentially) outlawing this?

It is horrifying to be on the receiving end of a business' data security and confidentiality mess.

IANAL, but the patient should have sued under PHI disclosure by the covered entity to an unauthorized party without patient consent. This in addition to the federal HIPAA violations and state civil penalties and other legal remedies the patient is entitled to. [1]

[1]: https://www.hipaajournal.com/what-is-the-maximum-penalty-for...

vivegi··on India calls for all mobile phones to include FM radios
The early 2000s era Nokia feature phones that were extremely popular in India had an FM tuner. It was a killer feature and I have seen people young and old playing the radio on their phone with the speakerphone turned on. Others might have their earphones plugged in. It kinda captures the zeitgiest of the time just as boombox toting youth in the 80s or early 90s or the Sony Walkman generation would do for the earlier periods.

It is a shame that the arrival of smartphones made that feature disappear from mobile devices.

vivegi··on Investors brace for a painful crash into America’s debt-ceiling
That's a big assumption.

If dollar payments to settle intl trade is interrupted, the consumption growth of goods and services in the US will stop and begin falling. The trading partners have been servicing this consumption growth for several decades only because of the relative safety of the dollar. Hoping that would continue regardless of the degradation of the safety of the dollar is wishful thinking.

Thinking that this won't impact the purchasing power of the dollar has no basis in logic.

vivegi··on Ask HN: What is new in algorithms and data structures these days?
Are you using a rolling hash (such as the one employed in Rabin-Karp string search algorithm)? You can then store the hash at check points and the intermediate hashes between checkpoints can be regenerated using the rolling hash.

   +[h1] +[batch1] +[h2] [batch2] -[h3] +[batch3] +[h4]
You would then have the operations log for a replica as

   +[forwardhash(null)] +[hello] +[forwardhash(hello)] +[world] -[reversehash(world)] +[ ] +[forwardhash(wor) -[ld]+[k]
This sequence would give the following replica states after processing each hash:

   +[forwardhash(null)] +[hello] -> hello
   +[forwardhash(hello)] +[world] -> helloworld
   -[reversehash(world)] +[ ] -> hello world
   +[forwardhash(wor) -[ld]+[k] -> hello work
The direction of the roll is just a sign bit of the hash.

We don't need to encode positions separately as it is a function of the state of the replica and the sign of the hash.

vivegi··on Investors brace for a painful crash into America’s debt-ceiling
Except for the fact that if the Fed is taken to court for dishonoring a paymrnt order, the impact on the confidence of the dollar as a reserve currency and the psyche of all dollar bond-holders' faith in the redemption value of their bonds will drop.

It is difficult to predict the impact of this. But it is more than likely to be severe financial collapse.

vivegi··on Investors brace for a painful crash into America’s debt-ceiling
Not sure if the following cases offer precedents. Obviously, the Federal Govt enjoys additional legal powers, but these cases offer the circumstances where a party sued their derivatives trader (the opposite of the questions you raise).

Procter & Gamble v. Bankers Trust [1]

P&G sued BT for losses incurred in derivatives contracts that should not have been sold by BT. This article [2] provides some more detail:

> In another high-profile case, Procter & Gamble Co. is suing Bankers Trust, its derivatives dealer, blaming it for a loss of dollars 195 million on two interest-rate contracts the company claims it should not have been sold.

> Procter & Gamble recently upped the stakes dramatically, claiming triple damages under U.S. civil racketeering legislation. In a related development, a shareholder has sued Procter & Gamble for financial irresponsibility.

The outcome of the case is that Bankers Trust settled with P&G as per this article [3].

The same article [2] also mentions the Orange County bankruptcy where OC sued its derivatives broker. At the time, this was one of the largest financial failures.

> Orange County is suing both its main derivatives broker, Merrill Lynch, and the accounting firm Peat Marwick

Merrill Lynch paid OC $437 M to settle as per this article [4].

[1]: https://casetext.com/case/procter-gamble-v-bankers-trust/cas...

[2]: https://www.nytimes.com/1996/01/13/your-money/IHT-moneyloser...

[3]: https://www.nytimes.com/1996/05/10/business/bankers-trust-se...

[4]: https://www.nytimes.com/1998/06/03/business/ending-suit-merr...

vivegi··on The Missing App Economy (2022)
The web already cracked the distribution problem.

Javascript on the browser was the only choice for your frontend code, however, WASM is already shipping on all current browsers except IE and Opera Mini (which is a miniscule percentage of browsers in use today).

It is just a matter of time where WASM becomes the ABI of choice for crossplatform app development as the binary deployment vehicle where you can program in any language and have the app delivered as a WASM package via HTTP/HTTPS.

Apple's App Store moat will dry up when people (esp. devs) realize that they can get close to native performance for web apps delivered this way and the vanity of an icon on the phone/tablet screen isn't worth forking 30% to big apple.

vivegi··on Ask HN: What is new in algorithms and data structures these days?
I was responding to the diamond-types CRDT author's question in the parent comment. Their github project page [1] mentions text editing a lot:

> This repository contains a high performance rust CRDT for text editing. This is a special data type which supports concurrent editing of lists or strings (text documents) by multiple users in a P2P network without needing a centralized server.

> This version of diamond types only supports plain text editing. Work is underway to add support for other JSON-style data types. See the more_types branch for details.

In any case, I agree with the metaphor and batching granular operations can always be done.

[1]: https://github.com/josephg/diamond-types

vivegi··on Every Author as First Author
I agree. The "AKS paper" or "AKS primality test" or "AKS PRIMES in P" paper is a good example of the recall value of human names/initials.

The initials are alphabetical order (of last names) and it provides enough context to do offline lookups.

vivegi··on Random bit-flip invalidates certificate transparency log – again?
Thanks. So, the consequence is that browser vendors and other who utilize CT should ignore this log and use whatever is stood up as its replacement. That makes sense.
vivegi··on Ask HN: What is new in algorithms and data structures these days?
> 1. We don’t want to store a hash for every keystroke a user makes.

So, why does it have to be every keystroke? We can batch them locally. An approximate rule of thumb to use to guide the batching is typing speed. Using 200 keystrokes/minute, we get an average of 3.33 keystrokes/second. If we use 3 seconds latency for the collaborative editing to resolve concurrent edits, we get 10 keystrokes per batch (3 secs). You can also have an override where smaller batches are replicated to nodes if sufficient time has elapsed since last local edit (eg: 10 secs have elapsed and we have a partial batch of 3 keystrokes only).

> 2. If I accidentally paste an AWS key into a document, I don’t want that key in the document history forever. How do I enable that while still getting all the benefits of the hashing system above?

In order for this to work, we should assume that every replica's current state is always obtained by starting with the empty document and then playing the operations log. We should also permit the author of an operation to rollback the operation. So, I suppose if the collaborative editor shows an interface of all operations that originated locally and the author can select the operations that inserted the AWS key into the replica, they can issue a rollback operations op and have it propagated to all replicas.

Since the point-in-time state of the replicas are regenerated by replaying the operations log, we would have deleted the accidentally inserted key.

In order to address the issue of the AWS key still being in the operations log, we can define the semantics of the rollback op to also include secure erasure of the previous operation from the operations log (i.e., the rollback op would update the original operation into a no-op.

So, when all replicas apply the rollback op initiated by the author, eventually all replicas will converge to having the accidentally inserted AWS key removed from the replica and the operations log.

vivegi··on Alpine Linux 3.18.0 Released
Small optimized container image sizes is one of the reasons.

  alpine image is ~5 MB. [1]
  clearlinux image is ~80 MB. [2]
[1]: https://hub.docker.com/_/alpine

[2]: https://hub.docker.com/_/clearlinux/tags

vivegi··on Random bit-flip invalidates certificate transparency log – again?
I have no knowledge of how the CAs maintain the CT logs.

What is the process for a CA to rebuild the CT log, if one exists? Is it something like what is illustrated below?

Let CA1, CA2, CA3 and CA4 be different certificate authorities. The set enumerated alongside each CA is the set of certificates logged into its CT log.

  CA1 : {c1, c2, c3}

  CA2 : {c2, c3'}

  CA3 : {c1, c2}

  CA4 : {c1, c3}
Suppose CA2 is where an issue was detected with certificate c3 (the anomalous cert is denoted by c3') and CA2 trusts CA3 and CA4, then the set {c1, c2, c3} can be constructed after verifying the CT logs of CA3 and CA4 and merging their logs.

Is that kind of how it would work or would CA2 just truncate its log and restart from this point forward?

vivegi··on Language models can explain neurons in language models
Reminds me of the boo Blink, by Malcolm Gladwell -- We feel like we have to come up with a reason why we came up with an answer (paraphrasing)
vivegi··on Every Author as First Author
They are trying to solve a systemic issue of how credit is given/shared in academia/research with bad typography.

My gripe with their proposal is, if I print a research paper, then the author information is just useless for looking up a reference. There is information loss/degradation.

Listing names in alphabetical order and including a statement that all authors share equal credit ought to be sufficient, in theory. Changing centuries of practice across thousands of institutions around the globe --- nearly impossible.

A better solution would be a standard like DOI but for authorship. That should be a simple microformat that has the contributor list, role and who the primary author(s) are. Over a period of time, all citations can be migrated to that format with an authorship URL embedded.

vivegi··on From Netflix to HBO, the terrible design of streaming is ruining TV
I think you just need

  - Continue Watching (1 row)
  - My list (2 - 3 rows)
  - Discover (1 row) - this can also update with the "What's new" content and algorithmic recommendations
and a very efficient search interface that I can reach into. All the genre breakdown lists are not always useful.
vivegi··on Intel OEM Private Key Leak: A Blow to UEFI Secure Boot Security
Yeah, right. Wait until the day when iOS App Store infra keys leak.

Oh no! That will never happen. Because it runs on Apple M1 kryptonite chip that even Superman can't touch. /s

vivegi··on Lorem Picsum: The Lorem Ipsum for Photos
First impressions: This is quite nice and useful for design prototyping.
← PreviousPage 3 of 19Next →