You don’t need to use TS to avoid common issues. If you add an empty object to an empty array and expect a meaningful result, the problem sits in front of the keyboard.
You don’t need to use TS to avoid common issues. If you add an empty object to an empty array and expect a meaningful result, the problem sits in front of the keyboard.
Unfortunately, people do.
I am a frontend dev. JavaScript (well, TypeScript) is my bread and butter. Even knowing its quirks I never would have thought how inconsistent Date
actually is. I encourage everyone to try this quiz.
This is what JavaScript haters should bring forth, not 0.1 + 0.2 !== 0.3
!
That image you linked requires authentication to download.
I think the homeowners are right regardless. You don’t need to be a genius to figure out that even a moderately higher population density increases transportation demand. Even doubling the density could affect traffic considerably.
Now before the haters come out: I’m not saying that the transportation demand must be addressed by more or bigger roads.
Look at the last table in my original post. It contains 26 columns (A–Z), some of which are not shown, and 27 rows (blank–Z). There are 27 rows and 26 columns, regardless of the contents of the table. If the top-left cell (A, blank) were a 1 and (B, blank) were a 2, then (Z, blank) would contain a 26, and ZZ would contain a 702. Nothing about the layout of that table changes.
To summarize: The table will always be lopsided, if you start counting at 0 or at 1.
The argument stays the same. Only every index gets incremented.
And don’t forget that 1900 still is a leap year in Excel.
Thank you! Saying this finally made me realize why I always need to add/subtract one day when I’m trying to convert dates to and from the Excel representation. 🤦
I have been able to outsource low level parsing to third party libraries
Today I watched a Java server crash because a library decided it needed more than 3GB of heap space to read a 10MB file. That was after manually removed background colors from around 100,000 cells, which apparently caused the parser to create even more objects in its internal representation of the sheet.
I thought about that, but decided to leave it as an exercise for the reader.
Don’t forget that Integer8 (the middle dragon) counts increments of 100 nanoseconds, because… reasons.
And don’t forget that 1900 still is a leap year in Excel.
Windows runs better on Linux than on Windows…
But does it really make less sense to say “a string slice”?
That’s an interesting point. You say “a pizza slice” or “a slice of pizza”, but you only say “a slice of bread”, not “a bread slice” (right? I’m not a native speaker).
An important question no-one has asked yet is, What do you need that info for?
Don’t they get their taste back when they reach room temperature again?
I hadn’t considered bureaucratic obstacles… that sucks.
Well, I commented that before I learned that OP is in New Mexico.
That sounds like something that would be apparent from the get-go, no?
I take it the most pressing issue right now is cooling. If that is right, you might have yet another avenue to explore: Ask facilities with cooling needs if you can store one or two pallets there. I’m thinking schools, (yet again) restaurants, ice cream parlors, ice skating rinks (not sure how they work exactly – is the whole building cooled or just the rink itself?), butchers. You could ask an outdoor gear shop (I mean a place where skis and winter jackets etc. are sold) if they know of a place where one can test jackets. They might know a cool place, too.
extra produce for free and they in turn have to prepare so many meals
Nitpick: If you’re demanding that they do something in return, it’s not free.
In this case your two options are: A) Someone gets the food and puts it to use; B) it spoils. In this scenario I believe giving it away, no strings attached, might be the better option.
The built-in lib is fine for basic stuff unless you do some crazy shit like expecting
"2"
to parse as a valid date.