- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
((deal*)nullptr)->buy();
Admin
memcpy((void*)false, "%1$s", 5);
Admin
Grandma3 designer? What is that thing supposed to do, exactly?
Admin
AccessVIolation. Memory not writable.
Admin
Null pointer assignment.
Admin
" I imagine someone might have gotten a greater / less than operator backwards."
It's more likely that someone coded the message as a literal string, including "256 fixtures", then the limit was reduced without changing the string. If the comparison was backwards, everyone trying to order a small quantity would have been unable to place their order, many would have complained, and management would have (rightfully) demanded an immediate fix.
Admin
signed char 128 is less than signed char 256
Admin
There's nothing wrong with the Amazon order's math.
First, the ad clearly states (albeit with tiny little letters) that the advertised discounted price for ONE item is only available with a promo code.
Second, the order summary does not state WHAT items have been purchased.
Third, at least one of the items purchased must be a two-pack of the Echo Flex product, which qualifies for a discount (unrelated to the ad) of $4.98.
The discount is applied before sales tax is applied, which is normal practice here in the States, where we don't have those VAT things you continental folks have.
Admin
Here in the EC, it is required by law that all consumer prices have to include taxes, fees, and similar. So that the customers don't have to do the math in their head.
All to make life easier to you stupid Americ... oh wait...
Admin
It looks like they are ordering two "Echo Flex 2-pack"s, so 4 Echo flexes. The math checks out, one "2-pack" should be worth 24.99, i.e. double the price advertised for a single echo flex (12.50 * 2, minus one cent I guess). Two of these means 2 * 24.99 = 39.98. Nothing wrong with it indeed.
Admin
"Two of these means 2 * 24.99 = 39.98. Nothing wrong with it indeed."
2 * 24.99 = 39.98
Fancy Math?
Admin
Taxes vary wildly within the US. There are parts that pay 0% sales tax and some that pay 13% combined city and state sales tax; there is no national sales tax.
Not really a surprise that companies like Amazon prefer to list the prices before tax, particularly since US laws don't require them to list prices with tax.
Admin
"2 * 24.99 = 39.98. Nothing wrong with it indeed."
Indeed.
Admin
Not only sales tax differs across the states, but also there's an intrinsic value to displaying the tax portion of the final amount, to remind people how much the government takes. I firmly believe one of the reasons for taxes being so high in the west in general is this propensity to hide taxes as a part of the total, which prevents people from thinking too much about the burden.
Admin
It looks like the answers have been arranged in alphabetical order without considering the consequences, rather than in random order. However, there is a 1 in 24 chance that I'm wrong.
Admin
p<0.05, so you must be right
Admin
Nobody hides the taxes in Europe. They are written on the receipt.
Admin
Well VAT is written on receipt, other taxes generally are not. Like for example tax on car fuel.
Admin
It's 3rd party software to assist with some of the more tedious aspects of programming large-scale light shows using GrandMA (https://www.malighting.com/grandma3/) lighting consoles.
I am acutely aware of just how ludicrous the name sounds when you first hear it, however they're European, and are the current industry leader in high-end entertainment lighting controllers, so once you've been desensitized to it by the industry, you don't really think about it any more. I'd be disturbed seeing that name without context too.
For the most part this software is a huge time-saver (although, like the consoles it creates showfiles for, it's also expensive and European, so getting support is a nightmare, especially in the entertainment industry which is HIGHLY time sensitive).
Admin
"It's more likely that someone coded the message as a literal string, including "256 fixtures" No, if you select exactly 256 fixtures it works, if you select more, the program crashes, if you select more than 1 it gives you this error, yet pushing [OK] instead of [Cancel] still does what you want. It's European, and for the entertainment lighting industry, so if there is some way of making it do what you want, nobody cares, because as they say "the show must go on" and nobody is going to write a support ticket when they have a very hard and public deadline to meet.
Admin
On that note, I'm a software engineer by day, but do entertainment lighting as sort of a hobby-job, because for me there is nothing more satisfying than pressing a button and seeing an entire stadium light up, in a way it kinda makes you feel like a God "Let there be light!".
Hey, I'm not a sysadmin, so I need an outlet for my narcissism.