Glad to see this. MATLAB doesn't even have consistent/sensible syntax, or at least doesn't have consistent syntax relative to almost all other programming languages in existence.
> HTML parsing is not stable and a line of HTML being parsed and serialized and parsed again may turn into something rather different
This is why people should really use XHTML, the strict XML dialect of HTML, in order to avoid these nasty parsing surprises. It has the predictable behavior that you want.
In XHTML, the code does exactly what it says it does. If you write <table><a></a></table> like the example on the mXSS page, then you get a table element and an anchor child. As another example, if you write <table><td>xyz</td></table>, that's exactly what you get, and there are no implicit <tbody> or <tr> inserted inside.
It's just wild as I continue to watch the world double down for decades on HTML and all its wild behavior in parsing. Furthermore, HTML's syntax is a unique snowflake, whereas XML is a standardized language that just so happens to be used in SVG, MathML, Atom, and other standards - no need to relearn syntax every single time.
I don’t think this is right. XHTML guarantees well-formedness (matched closing tags et al) but doesn’t do anything for validity. It’s not semantically valid for <td> to be a direct child of <table>, so the user agent has to make the call as to what to display regardless of the (X)HTML flavor. The alternative is parsing failure on improperly nested HTML which I don’t think is desirable.
> The alternative is parsing failure on improperly nested HTML which I don’t think is desirable.
It was that decision that resulted in the current mess. Browser vendors could have given us a grace period to fix HTML that didn't validate against the schema. Instead they said "there is no schema"
The issue as I see it is that XML schemas are fine[0] for immutable documents but not suited for dynamic content. As a user it would be extraordinarily frustrating for a site or web app to break midflow because of a schema validation failure after a setHTML call or something.
[0]: I’ve worked with XML schemas a lot and have grown to really dislike them actually but that’s neither here nor there
> The ia64 is a very demanding architecture. In tomorrow’s entry, I’ll talk about some other ways the ia64 will make you pay the penalty when you take shortcuts in your code and manage to skate by on the comparatively error-forgiving i386.
If you as a consumer care about rounding, then just buy three of them: 3× $0.99 = $2.97, which rounds down to $2.95 USD, netting you a $0.02 bonus (the maximum possible).
The rounding is done at the end of the transaction, not per item. I speak from experience in Canada - it is indeed possible to execute this transaction in real life. And basic food items have no sales tax, so the price you see on the shelf is the price that you pay at checkout. It is 100% realistic to go into a food store, grab 3 items at $0.99 CAD each, and pay $2.95 CAD in cash.
Because you as a consumer has control over the transaction, I find any arguments against rounding to be ridiculous.
We eliminated pennies in Canada in 2012 and the transition was a non-issue. The vast majority of retailers would round cash transactions to the nearest $0.05, but a few would round down to the nearest $0.05 in favor of the customer. https://en.wikipedia.org/wiki/Withdrawal_of_low-denomination...
Canadian cash is better than American cash in several ways: No penny, durable polymer banknotes (instead of dirty wrinkly cotton paper), colorful banknotes (instead of all green) that are easy to distinguish, $1 and $2 coins in wide circulation (instead of worn-out $1 bills).
I'm reminded of when Minnesota passed the Minnesota Clean Indoor Air Act (MCIAA) close to 20 years ago. (Some) restauranteurs - along with the GOP - made pronouncements about how this would destroy the economy. No one would go to out to eat or for a drink again. Doom and gloom.
Last I checked, there are plenty of restaurants open in the state, and things are going fine. In fact, just before the MCIAA went into effect, I had a newborn, and we went out to eat one time with him in tow. We asked for a non-smoking area but were placed immediately next to a family chain smoking. We decided to never go out to eat again until we could do so without risk of second-hand smoke.
My point is that there are frequently these predictions of things being impossible or even just incredibly difficult and not worth the effort, and in the end, it's not a big deal.
> I'm reminded of when Minnesota passed the Minnesota Clean Indoor Air Act (MCIAA) close to 20 years ago. (Some) restauranteurs - along with the GOP - made pronouncements about how this would destroy the economy. No one would go to out to eat or for a drink again. Doom and gloom.
Yeah, they had done the same thing when California did the same thing 30 years ago. The fact that it didn't happen then didn't stop them from doing it everywhere else similar laws were subsequently proposed.
People overestimated the importance that smokers placed on being able to smoke in public.
A Japanese airline (Air Do) tried reintroducing the smoking section in the 1990s. It did not go well for them, and Japan's tobacco use rate was several times the US's.
I'll agree on all but one point. The cotton/linen notes feel so much better in the hand than the candy wrapper plastic of Canadian bills. I know it's a dumb reason, but I just hate the feeling.
Australian here. Barely anyone uses cash anymore. It's weird to see debates about moving towards technology we had 35 years ago which we don't even use anymore.
But, a cashless society is not a panacea. It may be higher tech and more convenient, but it can have significant privacy costs, not to mention the issues with payment card networks engaging in censorship, charging fairly high transaction fees, and pushing the problem of fraud on their networks to every merchant. Considering the payment card network market is seemingly impossible to enter, and governments don't seem to be able or perhaps willing to regulate things, there are ways in which cashless is a downgrade. It would be nice if we could back up and try to resolve some of these issues in a durable by-design way, but sadly it's probably never happening.
I wasn't aware the satellites also beamed down power, and that all ATMs were connected to satellites instead of cellular networks or wires.
It would also take quite a lot of refilling when everyone in a city needs to use the ATM.
We still need to be able to function during weeklong post-storm/flood power outages, which happen with quite some regularity. Here in New Zealand, the most recent weeklong outage in Southland was only last month, primarily due to 200kph winds.
Let us not sacrifice everything to the gods of convenience.
My politics and his don't line up but I'm not against this. It would be pretty interesting to see the impact on cash usage, and faces on money are pretty archeologically useful-- at least on coins.
let's wait a few years before rotating faces to avoid debating another blatantly illegal thing Dear Leader would propose (actually he already did but it was out of the news rather quickly)
I am suspicious of any claims about relative cleanliness. As with wooden vs plastic cutting boards, our intuitions are likely misleading.
To be an effective fomite the currency has to not kill the microbe, and it has to readily give up the microbe to the next recipient. Organic materials like cotton or linen seem more likely to simply absorb a viral envelope or bacterial cell wall, thereby rendering it ineffective. Furthermore, the porous nature makes it more difficult for the note to give up any microbe that isn't immediately killed before it naturally dies over time.
A brief search of the scientific literature doesn't seem to show any conclusive results, but it does seem like the relative performance is pathogen specific.
The linked article raises a few problems that the US could have with that solution:
> Four states - Delaware, Connecticut, Michigan and Oregon - as well as numerous cities, including New York, Philadelphia, Miami and Washington, DC, require merchants to provide exact change.
This seems like a non-issue as long as they round the price down. Because there's no law that the store can't discount their total by a small amount and then provide exact change.
"Congratulations customer, we have a special coupon today for $0.03 off your purchase. Here's your change :)"
> In addition, the law covering the federal food assistance program known as SNAP requires that recipients not be charged more than other customers. Since SNAP recipients use a debit card that’s charged the precise amount, if merchants round down prices for cash purchases, they could be opening themselves to legal problems and fines, said Jeff Lenard, spokesperson for NACS.
So just round snap transactions too, not just cash ones. Now SNAP recipients are never paying more than any other customer for the same basket of goods.
So how do they account for people who use coupons or rewards cards today? Those create a discount that technically result in charging some customers less than others, including SNAP users. In the case of rounding, you wouldn't be charging SNAP user any more that other users who use cards for payment. The point of the law was to prevent stores from charging surcharges etc on food stamp users back in the day.
Rewards are taken from merchant fees. The retailer isn't party to that rebate. Likewise, coupons are almost always funded by the manufacturer who returns those monies to the store.
That would be true for credit card fees, but not for stuff like loyalty card discounts.
"Likewise, coupons are almost always funded by the manufacturer who returns those monies to the store."
It doesn't matter. The store is the one charging the customer. As stated, the law says the store cannot charge SNAP recipients more. Thus it would be a violation if we are taking it strictly.
When I lived in Australia, those paying with card were charged the exact amount. Those paying cash would round to the nearest 5 cents, in the customer’s favor. I suspect the same will happen here.
I don't see why you couldn't do it in either case. If you modify the actual price, then you are giving exact change. Why wouldn't round() be as valid a price modification as floor()?
Presumably "increase the price a small amount to avoid giving exact change" is exactly the sort of thing that laws requiring giving exact change were designed to prevent.
There will surely be some customer pissed about the extra 2 cents they were charged who will raise hell over the exact change law.
But what customer is going to be upset over a small discount?
At big retailers the price tag code indicates what type of price it is. For example the last digits can mean:
0: full
9: sale
8: reduced
7: clearance (item will not restock)
I forget the exact system Sears used but we could tell at a glance if a deal was really “good”.
I’m curious if Sears and WalMart used different systems and if WalMart exploited knowledge of the Sears system to signal better prices to shoppers. Like a full WalMart price being .97 and clearance being .94.
That sounds close to the Sears system to me, but they used the tens place. 8x was used for returned big ticket items, like appliances and treadmills. It would start at 88 and the rightmost digit would decrement to indicate how many weeks it had been sitting there.
It was 00 for full, 99 for sale (the majority of items, except for the one week every year they established the full price for that product), 8x for clearance.
Ah yeah, I forget the details. It was a sophisticated system. I’m curious of the origins. Did this have bookkeeping or business reporting benefits in the pre-digital age? Even when we were using computers at the turn of the millennium it helped signal discount eligibility without having to update and synchronize inventory with promotional offers.
It’s far more complicated than that. There is no one sales tax for everyone.
Oregon residents didn’t pay sales tax when making purchases in Idaho. Washington charges sales tax on out of state purchases if that state’s sales tax is less than Washington’s, including if it is zero.
If the US properly got rid of pennies (instead of Trump just doing another end-run around congress, by ordering the Mint to stop making them, on shaky legal ground), the legislation could easily supersede those state laws.
As far as I can tell the relevant statute is 31 USC §5112, and it does not require the minting of all authorized coins:
“(a) The Secretary of the Treasury *may mint* and issue only the following coins: ... (6) ... a one-cent coin that is 0.75 inch in diameter and weighs 3.11 grams.”
(Emphasis mine)
There may be another clause somewhere that requires the Treasury to issue all coins, but that seems unlikely to me. The _number_ of coins to issue of each type is left to the discretion of the Treasury; why wouldn't that include the option to issue none?
I addressed in another reply that "'none' is all that's necessary" is probably a defensible interpretation of the law (the more relevant portion being in 5111 rather than 5112), but the penny being explicitly listed makes it clearly not the intention of congress. That's why I said it's a "shaky" and not "baseless" legal ground. The law is clearly written with the expectation that there will be some, which is why Congress felt the need to pass the Coinage Act of 1857 to phase out the half cent.
I think we should get rid of the penny, but it's Congress's responsibility to do that, and they haven't. I'm opposed to Congress abdicating its power and responsibility like that.
5111(a)(1) says “shall mint and issue coins” but qualifies it explicitly with “in amounts the Secretary decides are necessary to meet the needs of the United States”. This is a clear delegation of authority.
If you don't think zero pennies is a permissible amount, what about one penny? Two? What minimum number are you arguing for here, and what's your justification for it?
If Congress had wanted to set a minimum number, they could have done so.
Reading it as ”shall mint” is wrong, I think. “Shall” qualifies the whole clause “mint in amounts the Secretary decides (etc.)”.
Understood that way, 5111 makes it unlawful to mint any pennies if the Secretary decides that none are necessary.
> If Congress had wanted to set a minimum number, they could have done so.
I don't think this is necessarily a sound argument. The current presidency is full of examples of aspects of laws being used in ways no president previously had. Those laws existed, but I don't think it follows that congress intended for those powers to exist.
If Congress had wanted to get rid of the penny, they would have done so, since they specifically have the power to “coin money” under Article 1, Section 8.
In fact they have introduced a bill to do just that, that has not passed yet, which means they have not done that.
Article 1, Section 8 of the constitution gives Congress the authority responsibility to coin money. And in the coinage act of 1792, 31 USC 5111(a)(1), congress directs that the treasury "shall mint and issue coins described in section 5112 of this title in amounts the Secretary decides are necessary to meet the needs of the United States", with the list in section 5112 explicitly listing the penny (31 USC 5112(a)(6)). It's clearly intended to instruct the treasury to mint pennies without congress needing to proscribe the varying amount every year. It also clearly demonstrates the intent that pennies "shall" be produced.
The fact that all of that gives leeway for "'none' is all that's necessary" is why I said the legal basis was "shaky" and not "baseless". I think getting rid of pennies is good, but this is something that Congress needs to do, rather than continually abdicating its responsibilities.
Exactly. I believe the treasury will continue minting commemorative pennies, which would even not make it "none" and give a stronger argument that "well yeah we are meeting the [numismatic] needs"
> The United States is the only country that prints all denominations of currency in the same size. The US and Switzerland are the only two countries that use the same colors for all of their various bills. Needless to say, this sameness of size and color make it impossible for a blind person to locate the correct bills to make a purchase without some sort of assistance, or confirm that he or she has been given the correct change by the sales clerk. Even people with partial sight may have trouble distinguishing a $1 bill from a $10, especially if the bill is old and worn.
> The United States is the only country that prints all denominations of currency in the same size
Let me assure you that all Canadian banknotes are the same size too, 6.00 inch × 2.75 inch (152.40 mm × 69.85 mm). I'm not sure how the article got this fact wrong.
As a Canadian, I'm amused to hear this because it is basically true as a first approximation.
Random factoid - Canadian coins ($2, $1, $0.25, $0.10, $0.05, $0.01 (withdrawn)) come in almost the same denominations as US coins ($1 (uncommon), $0.05 (rare), $0.25, $0.10, $0.05, $0.01), and they are the same diameter and thickness, but maybe having different weight and magnetic properties. It's kind of scary that Canadian coins are essentially state-sanctioned counterfeits of US coins.
Another weird thing is that the National Basketball Association (NBA) has 29 American teams and 1 Canadian one... making it more of an international basketball association. I think another sports league with "national" in its name also crosses national boundaries.
If you take a random person and teleport them between a random mix of Canadian and US cities, I think they'll find it hard to tell the two countries apart. The primary language is English, the accent is the same, the streets and buildings look the same, people watch/listen/read much of the same media, and so on.
One party trick that I practice when traveling in America is to not volunteer information about where I'm from, and see how long I can blend into groups of people and conversations until someone suspects something or asks a direct question. Needless to say, I can last pretty long, and even debated things like US federal politics. The internal diversity of people within the US (e.g. skin color, accent, beliefs) really helps an outsider like me blend in.
Also note that there is a one-way relationship going on. Canadians know more about the US than what's necessary for life. Heck, even the state broadcaster CBC will put out entire news segments (e.g. 5 to 20 minutes) on US-specific issues. Knowing about the US - whether it's major companies, cities, TV series - is unavoidable to Canadians. But ask the average American about anything related to Canada, and you'll likely get a blank stare.
However, some of the differences between Canada and the USA include: Guns(!), personal and state violence, healthcare, social safety net, political polarization, income, prestige, number of big companies, French language, atmospheric climate.
> If you take a random person and teleport them between a random mix of Canadian and US cities, I think they'll find it hard to tell the two countries apart. The primary language is English, the accent is the same, the streets and buildings look the same, people watch/listen/read much of the same media, and so on.
On the surface, I agree 100%. Dig deeper and the differences are stark.
Years ago I came from Australia to work at a ski resort in the US. I stayed 6 months, had a great time. At the end I went to Canada to see a friend. After 30 minutes in Canada I felt more at home than after 6 months in the US.
Canada is a friendly, kind, gentle place, everything the US is not.
I’ve now lived in Canada for 20 years, been to almost every province and territory. I’ve also and travelled extensively in the US (40+ states). It’s a fun place to visit and parts are spectacularly beautiful, I do not want to live there. Now I have a young daughter it’s doubly so.
Yes, I’m generalizing and using broad strokes. The thing about generalizations is they’re usually right.
Canada feels like being surrounded by friends and family, I have no doubt the expression “dog eat dog” comes from the US.
As I was driving my daughter to daycare this morning I saw the garbage men. A road worker filling in pot holes, a person holding the stop sign and someone digging a hole in the road. They all have the same healthcare I do. Canadians all pay taxes, and work together for the betterment of everyone, and it shows.
It’s a community, a society people are happy strangers have a good standard of living.
The US is a competitive sport where everyone is competing with everyone else. Driving past a lowly person holding a stop sign it’s just literally “sucks to be them” and no ability to help or do anything about it.
There are 30 million people in the US without health insurance. There are none in Canada. Medical issues are the number one cause of bankruptcy in the US. In Canada there are none.
Obviously health care is just one example, and there are plenty of kind and friendly people in the US. But living under conditions like that is not a happy, healthy society of people that care about strangers and care for each other. It’s a “look out for me” place.
The more I go there (I was down there last week), the more I see the vast majority of Americans live in a scarcity mindset. Of course the high GDP means not scarce in terms of consumption, but in terms of things that actually impact quality of life day to day.
Sounds like a lot of projecting... The U.S. doesn't have single-payer healthcare therefore it's a dystopian hell-scape where everyone hates each other.
> “sucks to be them”
There are large swathes of the US where I would be shocked to hear anyone express that sentiment. There are other parts where I would not be shocked, but then the US is 10X bigger than Canada so you do get to pick and choose which version you'd like to be part of.
Of course healthcare is just one example of many, and as I said originally, yes I’m generalizing a very large country and population.
I’m giving my observations over 20 years in Canada and exploring the us extensively.
> so you do get to pick and choose which version you'd like to be part of.
Thank you, you have proved my point better than I did.
You literally just said “there are parts of the country where my fellow countrymen, People who make the country function, have families , hopes and dreams have a crappy life. I just choose not to be there”
That is my point exactly. The us is not a community where people care for each other. They just ignore or move away if they can.
Presumably that's "I think another sports league with "national" in its name also crosses national boundaries." in the OP.
With the recent conclusion of the "World" Series, my mind actually went to the Blue Jays first, but they're in the American League. At least that one's technically correct.
It's a bit odd that the mint doesn't emboss the denomination in braille on each note. I'd think that there would be a way to do that and have it hold up pretty well in circulation?
I think I've seen that blind people in the US have a little machine that they can use to add the braille themselves. Also from a quick google search there's also electronic bill readers that can be provided to blind people for free if they qualify.
In Canada the bills are embossed with braille by the mint. There may be other accommodations too, but I haven't looked it up.
In canada it's "one cluster of dots = $5, two clusters = $10, three = $20" and so on. You just feel the number of dot clusters & count, no braille involved.
It's wild to see you downvoted. Only about 10% of blind people know braille. There are many more people who have visual impairments but are not blind. Braille is not a universal solution (though I would rather have it than not have it).
Chiming in to complain that a good, working solution to a problem just doesn't happen to solve ALL PROBLEMS is just banality or perhaps pedantry. Unless it was also proposing an alternative that might do better...
Braille on money also doesn't help dyslexic quadrplegics with dysesthesia... Checkmate.
I think that's an extremely ungenerous read here. The thread is about how different size bills and different color bills solve a lot of problems with people who have low vision. Adding braille solves the same problem, but for a subset of people that different sized/color bills solves.
If you have a good, working solution that's widely used worldwide, and someone suggests a worse solution that works for fewer people, it's more than fair to point out that "your solution is worse, less common, and works for fewer people".
Your last sentence is a low effort strawman, I'm not sure why you felt it necessary to include.
> The US and Switzerland are the only two countries that use the same colors for all of their various bills.
Factually absolutely incorrect for Switzerland, and easy to verify. Swiss bank notes are and have been some of the most colorful (and pretty, I should say) around, and all have different sizes.
From dealing with Euro notes, I like being able to look down at the money in the wallet and pull the right notes out based on color. With USD I need to take the bills out of the wallet.
Which is great if you are fully abled! But for folks for whom sight isn't as strong, additional aids (different colors, different sized banknotes for different denominations) are super helpful.
One thing about accessibility and usability, is that when you design something for the minority it tends to make things better for the majority. Take ramps for example, they not only server those in wheel chairs, but also families with strollers and elderly with walkers.
Does the Canadian solution of adding brail to the notes inconvenience you, or is that an acceptable way to make sure that people with disabilities can participate in cash transactions safely?
Does having different sized coins strike you as an inconvenience?
Why does a feature that can be used by anyone, regardless of disability, strike you as "inconvenient for almost everybody"?
What, exactly, is inconvenient about having notes be different sizes?
Different sized bills are harder to stack in a wallet. Braille is a much better way to handle the problem. No cost to the majority, while solving the problem for the minority.
It seems like having equivalent sized notes is just your personal preference, and that you are projecting that as an inconvenience onto "the majority". Based on the comments it seems like even people without disabilities mostly don't care, or actually think that it is a good feature.
For my side, even if I did agree with your preference, I am perfectly willing to deal with the incredible hardship of slightly different sized notes in my wallet in exchange for a society where disabled people need not fear being ripped off.
For (very fancy) cloth/paper bills like American ones, some counterfeiters wash the inks out of $1 bills to make $100 ones. Only possible if the $100s are the same or smaller size.
Quite the opposite. As a fully abled person I find it incredibly annoying to have to flip through US notes instead of just immediately picking out the right one by size and/or color.
Use a wallet with a divider, and sort your bills. Won't have to flip through until you carry several each of five or more denominations. If you regularly do, then use two dividers.
It seems like a roundabout way to reduce the impact of a symptom of a self inflicted problem.
It's clearly not a solution, and it seems like it's a suggestion that can only come from a place of "but we've always done it this way" without experiencing a world without the problem.
Even if 5s and 10s are the only ones mixed together, I still have to look for a number. In every other currency you just… immediately take the right one.
That's not even taking into account that wallets are getting smaller and smaller as people need to bring them less. So adding dividers would be like acquiring George Costanza's wallet.
Hell, if they're different size you can even feel the value of a loose note in your pocket.
> Once the design and substrate were chosen, the Bank of Canada negotiated a contract with Note Printing Australia (NPA) for the supply of the substrate polymer and the security features implemented in the design. The substrate is supplied to NPA by Securency International (now known as Innovia Films Ltd). The Bank also negotiated for the rights to the use of intellectual property associated with the material and security features owned by the Reserve Bank of Australia.
US $1 coins are available at banks but most Americans don't know they exist and if you hand one to a service person as a tip they sneer at you as though you handed them a quarter or foreign money.
There are several US states where, by law, retailers are not allowed to give preferential treatment to credit card paying customers over cash paying ones. Which means, in those states, retailers will be required to always round transactions to the cash paying customer's benefit, where in other states the retailer is allowed to round to the nearest 5 cents. This is going to cost large retailers millions.
Interestingly many of them had already put the work into updating the cash register software to allow for this due to the penny shortages during covid.
Let those large retailers put pressure on their suppliers. Prices haven't exactly been stable recently. I really don't think it matters, but if it did (as you claim) then surely some downward pressure is a good thing.
Unfortunately I think this is much easier said than done. No single store is going to want to make this change, because it'll make their prices look higher than the competitors'. It'd require legislation, (and even that'd likely be state-by-state legislation).
It also means a company wouldn't be able to advertise a single price for a product nationwide, since sales tax rates vary by state (and many times even within a state).
Also worth noting that Canada also doesn't include sales taxes.
When we got rid of the half-penny, it was worth more in 2024 cents than the dime is now.
We waited so long past when we should have gotten rid of the penny that now a coin ten times as valuable is also worthless enough that we ought to get rid of it.
The US has too many tax permutations for this to be practicable. Companies would have to make prices a bit higher to accommodate unexpected sales tax increases in some or other jurisdiction.
There's a small industry that specializes in knowing what the sales tax for a particular transaction should be at the moment it goes through.
That would centralize power to the larger taxing authority.
Right now, there's a huge number of elected people in the US who wield real local power through these taxes and other rules that they can make.
It's a headache but we live in the computer age and we can automate administrative things like tax calculation at checkout; we should be using systems to aid decentralization and democratization instead of the opposite.
So how would you propose paying for something that cost $0.40, or would you just like to see all prices be multiples of 25c?
BTW, the reason for wanting to get rid of the penny isn't so much the low purchasing value, but more that they cost more to make (~4c) than their face value, so the government loses money making them. The same is true of nickels.
I was once at a place that had a vending machine that accepted U.S. Currency as well as coupons. I wish I saved one of those coupons and reverse-engineered it and see if it worked on other machines, oh well.
> $1 and $2 coins in wide circulation (instead of worn-out $1 bills).
This has its own pros/cons...
One advantage of $1 bill over coin is the majority of people in US don't need a wallet with zipper to hold coins. Five $1 bills is much less bulky and much lighter than five $1 CAD or five 1€ coins
I would contend that 5 bills are more bulky than 5 coins. The only upside of dealing with US bills when travelling in the US is that you feel like a millionaire when you pull out the massive wad of bills from your pocket.
I mean. I can't remember last time I used cash. Not in the last 5 years that is for sure. Once I paid someone with Venmo as that was the only way they could take it. Other than that time, I don't remember using cash at all. In SF the two only moments I can recall needing cash for is either some old self-service laundromats or funnily, chinatown where most of it is still cash. In fact recently a bunch of locations I go to often have become cashless. So you wouldn't be able to pay cash even if you wanted to. Business that are cash only do it for one reason, and one reason only, and we all know what that reason is. Slowly but steadily the volume of retail consumer cashflow is turning to digital. Cash is not going away today. Many seniors don't want / know how to use digital payments. Trends show we are moving toward all-digital. Probably 10 years from now +95% of retail will be cash-less.
> We eliminated pennies in Canada in 2012 and the transition was a non-issue.
That's because Canada had a plan, thought it through, and rolled it out.
In the US...
“We had a social media post (by Trump) during Super Bowl Sunday, but no real plan for what retailers would have to do,” he said, referring to the president’s February announcement.
We have a deranged old man posting random shit on social media determining federal policy, so of course it's a chaotic shitshow.
Unlike serving as a Republican politician, clowning requires a lot of work and training. It's nothing resembling an unskilled job. Ringling Bros. would do a lot better.
Better is very subjective here. I hate the colorful, plastic, canadian money. It feels toyish, like monopoly money. Whereas USD feels much more nice to deal with.
When I was in university a decade ago, a classmate of mine shared the same name as some high-ranking university staff. The classmate's university email account received some unsolicited confidential messages that were intended for the staff, not him.
Exactly. I was hoping that this law would be the pushback to the overzealous prosecution of DeCSS, people who defeat DRM locks in order to lawfully back up the multimedia data that they already paid for, etc.
I also wonder what the impact of the law is on TPM chips on computers (restricting your ability to boot whatever OS you want), the locked-down iOS mobile app store, etc.
In Rust, one way I use shadowing is to gather a bunch of examples into one function, but you can copy and paste any single example and it would work.
fn do_demo() {
let qr = QrCode::encode_text("foobar");
print_qr(qr);
let qr = QrCode::encode_text("1234", Ecc::LOW);
print_qr(qr);
let qr = QrCode::encode_text("the quick brown fox");
print_qr(qr);
}
In other languages that don't allow shadowing (e.g. C, Java), the first example would declare the variable and be syntactically correct to copy out, but the subsequent examples would cause a syntax error when copied out.
> What is a "variable" if not something that varies?
If I define `function f(x) { ... }`, even if I don't reassign x within the function, the function can get called with different argument values. So from the function's perspective, x takes on different values across different calls/invocations/instances.
I would broadly expect software made by most camera brands to be shit, while I would expect a developer who creates their own hardware projects (generally, not talking specifically about cameras) to range from idiots who have no idea what they're doing (like me, though to be fair I also wouldn't release it believing it to be good) to highly skilled coders who would get it right despite being on their own.
So I wouldn't automatically assume that a product like this would be better designed, but I would think there's a chance it might have been!
reply