<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Some stuff &#187; transaction</title>
	<atom:link href="http://blog.yhuang.org/?feed=rss2&#038;tag=transaction" rel="self" type="application/rss+xml" />
	<link>https://blog.yhuang.org</link>
	<description>here.</description>
	<lastBuildDate>Wed, 27 Aug 2025 08:50:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>circulating denominations (part 4)</title>
		<link>https://blog.yhuang.org/?p=584</link>
		<comments>https://blog.yhuang.org/?p=584#comments</comments>
		<pubDate>Thu, 14 Jul 2011 15:39:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[canadian money]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[coin]]></category>
		<category><![CDATA[critical element]]></category>
		<category><![CDATA[frequency]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[latter situation]]></category>
		<category><![CDATA[rough sense]]></category>
		<category><![CDATA[transaction]]></category>
		<category><![CDATA[transaction amounts]]></category>

		<guid isPermaLink="false">http://scripts.mit.edu/~zong/wpress/?p=584</guid>
		<description><![CDATA[&#8230; and wallet distributions. This is part of the Toronto visit series. &#8220;Do you have change for $5?&#8221; &#8220;I can only give you one loonie and two lizes&#8221; &#8220;What?&#8221; Dumps coins on counter. &#8220;Oh&#8230;&#8221; (Canada has no bills under $5 and circulates the $1 and $2 coins.) Before playing with Canadian money, I had thought [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; and wallet distributions.</p>
<p><em>This is part of the Toronto visit series.</em></p>
<p>&#8220;Do you have change for $5?&#8221;<br />
&#8220;I can only give you one loonie and two lizes&#8221;<br />
&#8220;What?&#8221;<br />
Dumps coins on counter.<br />
&#8220;Oh&#8230;&#8221;</p>
<p>(Canada has no bills under $5 and circulates the $1 and $2 coins.)</p>
<p>Before playing with Canadian money, I had thought that a $2 denomination, whether coin or bill, would be a great idea. But the problem I encountered here was that I was just unable to get very many $1 coins when the $2 coin was also widely circulating. This makes sense, because each transaction at most ends up giving you one additional $1 coin if done optimally. But if you had to always pay odd dollar-amount fees like the $3 streetcar fares, then you need many $1 coins which you don&#8217;t have. Compare this to the US system, where you get lots of $1 bills from daily transactions &#8212; up to four $1 bills in a transaction ($0-$4 in change). It surprised me that the latter situation is more flexible, because I did not take into account the dynamic effects that repeated transactions have.<br />
<span id="more-584"></span><br />
Perhaps the intellectual impetus behind a $2 denomination is based on the idea of binary denominations, namely $1, $2, $4, $8, etc., which seems intuitively &#8220;nice&#8221; for efficiency. It&#8217;s hard to think why this should be desired now, it just seemed obvious. Perhaps in such a system the fewest coins/bills need to be carried to ensure all transaction amounts within a range are possible. Or perhaps the fewest coins/bills change hands on average over transaction amounts distributed a certain way (exponentially decreasing frequency as amounts go up?). Yet this system may not work so well, because though it is great for one transaction, you always need a complete set to make it work for the next transactions. The more critical element is net wallet change.</p>
<p>In fact you want this <strong>wallet distribution</strong> to be, in some rough sense, stable. At worst it should be invariant, and at best, surplus producing. What I mean is illustrated by this:</p>
<p>transaction amount: wallet change<br />
$1: -1 $1<br />
$2: +3 $1, -1 $5<br />
$3: +2 $1, -1 $5<br />
$4: +1 $1, -1 $5<br />
$5: -1 $5</p>
<p>Why pay with $5 for a $2 fee rather than two $1? Well, we assumed that both payment and change-making use the &#8220;lazy algorithm&#8221; seen in real life: it&#8217;s the choice requiring the fewest coins/bills (and among those, the lowest denomination ones). Note that there is an asymmetry since the payer doesn&#8217;t have to make exact change but the cashier must settle with exact change.</p>
<p>If all transactions were integer amounts between $1 and $5, and we have an endless supply of $5 (let&#8217;s say that&#8217;s what the ATM gives), then some transaction amount distribution would make the wallet distribution invariant (as far as it concerns denominations under $5). For example, this (*):</p>
<p>transaction amount: frequency<br />
$1: 17<br />
$2: 3<br />
$3: 3<br />
$4: 2<br />
$5: 1</p>
<p>On the other hand, a flat distribution would give a net surplus of +1 $1 per transaction. Either case would be fine. But in Canada with the $2 coin, the tabulation is different:</p>
<p>transaction amount: wallet change<br />
$1: -1 $1<br />
$2: -1 $2<br />
$3: +1 $2, -1 $5<br />
$4: +1 $1, -1 $5<br />
$5: -1 $5</p>
<p>With the same transaction amount distribution as (*), we would end up with -3 $1 per transaction, a severe deficit. And unlike any other denomination, $1 is a necessity (it&#8217;s an atom). I&#8217;m not saying this transaction amount distribution is right, but whatever it be, the existence of $2 totally changes the wallet situation and in this case made things worse.</p>
<p>In the US, the existing denominations are kind of close to binary, except there is a magnitude gap between $1 and $5 ($2 bills do exist but rarely circulate), which seemed like a fault. But considering what happened in Canada, maybe this is a blessing in disguise.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.yhuang.org/?feed=rss2&#038;p=584</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remote payment security</title>
		<link>https://blog.yhuang.org/?p=5</link>
		<comments>https://blog.yhuang.org/?p=5#comments</comments>
		<pubDate>Thu, 26 Oct 2006 06:08:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Credit]]></category>
		<category><![CDATA[credit card numbers]]></category>
		<category><![CDATA[detection algorithms]]></category>
		<category><![CDATA[Epitome]]></category>
		<category><![CDATA[hold]]></category>
		<category><![CDATA[moving in the right direction]]></category>
		<category><![CDATA[payment]]></category>
		<category><![CDATA[transaction]]></category>
		<category><![CDATA[using credit cards]]></category>
		<category><![CDATA[wireless channel security]]></category>

		<guid isPermaLink="false">http://scripts.mit.edu/~zong/wpress/?p=5</guid>
		<description><![CDATA[Credit cards. Epitome of security by obscurity? It isn&#8217;t even much obscurity. Whoever gets a hold of a card or makes a mental image of it can pretty much do anything until the account is suspended. I guess banks run fraud-detection algorithms, but still they, and therefore we, absorb the cost of fraud. Fighting fraud: it&#8217;s what [...]]]></description>
			<content:encoded><![CDATA[<p>Credit cards. Epitome of security by obscurity? It isn&#8217;t even much obscurity. Whoever gets a hold of a card or makes a mental image of it can pretty much do anything until the account is suspended. I guess banks run fraud-detection algorithms, but still they, and therefore we, absorb the cost of fraud. Fighting fraud: it&#8217;s what Paypal says it spends its R&#038;D dollars on.</p>
<p>Credit card number, name, billing address, expiration date are informational, so I don&#8217;t know how they have come to be used as &#8220;secrets&#8221; for a secure transaction. Seems like a terrible idea. Then there is the 3-digit CVV code. Would somebody mind explaining its utility to me? How does 3 more digits prevent fraud? (They are on the card just like the front-side numbers and they also must be disclosed during a transaction.)</p>
<p>There exists technology, but little infrastructure, for authenticating and trusting the remote host (or person &#8212; phone orders are even worse). For online transactions, banks have come up with at least two augmentations to the standard procedure to try to plug the hole. One involves password verification directly with the bank&#8217;s web site. Another is to issue single-use credit card numbers. Four soundbites ensue: Inelegant! Ad hoc! Not standardized! Unsatisfactory!</p>
<p>But this is moving in the right direction.</p>
<p>Many are grossly concerned with computer security and wireless channel security. Some are paranoid to the degree that nothing short of provably secure is acceptable for transmitting a few worthless bits that in reality nobody cares about. But we seem to settle for the foundational insecurity that underlies any kind of current remote payment using credit cards. Apparently managed insecurity is accepted, even if it deals with money, about which people should actually care. That&#8217;s a strange social phenomenon.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.yhuang.org/?feed=rss2&#038;p=5</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
