|
Maybe they do it to reduce confusion. A squared + is a plus, but a squared - is also a plus.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
trønderen wrote: Maybe they do it to reduce confusion.
They failed.
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
Because they can and you can not.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
If you wish to format a date in Power Apps, there is a nice set of format letters to provide custom output. So using the Text function I can write
Text(myDate, "mmm dd yy")
Or for time I can write
Text(myTime, "hhmm")
Or I can combine them into
Text(myDateTime, "hhmm mmm dd yy")
Why would anyone think to use the same lower case letters for two very distinct fields?
There is actually a work-around, make sure dd comes first in the date. Good luck 'mercans.
|
|
|
|
|
Because "mm" means minutes, and "mmm" means the three-letter short month name. If you want the two-digit month number, you use "MM".
Custom date and time format strings - .NET | Microsoft Learn[^]
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I wouldn't necessarily assume that Power Apps use the same conventions .NET does.
I've used Power BI just a tiny bit, and I wouldn't assume anything based on any prior knowledge or...dare I say, common sense.
|
|
|
|
|
No, you use lower case "m" for both.
|
|
|
|
|
I thought 'mmm' meant Beer. At least it does when Homer does it.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
I’m begging you for the benefit of everyone, don’t be STUPID.
|
|
|
|
|
Richard MacCutchan wrote:
There is actually a work-around, make sure dd comes first in the date. Good luck 'mercans. Big Grin |
I would make sure dd comes last. yyyy-mm-dd is my default format.
|
|
|
|
|
|
Richard MacCutchan wrote: Why would anyone think to use the same lower case letters for two very distinct fields? Maybe they really like Campbell’s Soup?
Their slogan used to be Mmm Mmm Good.
Jeremy Falcon
|
|
|
|
|
I tried to make a struct with two fields named mm and mmm respectively. The compiler accepted it without any warning. Confusing, isn't it?
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
What if they need the minutes, then the three letter month, then the minutes again, then the two digit numeric month?
We won't ask why, but hypothetically speaking...
|
|
|
|
|
Not for the compiler.
|
|
|
|
|
My father often modified proverbs, just for fun.
His favorite:
"... two birds at hand are worth one in the bush..."
Since I inherited similar life outlook, here is mine , as an outcome of recent discussions.
" you can instruct them to read the rules, then you have something
to brag about if they actually do"
Since I used "inheritance " I hope readers will not label this post as programming post.
|
|
|
|
|
I'm gonna be that guy, because I know it's gonna come up sooner rather than later anyway:
Don't quit your daytime job to start a career in comedy.
Don't look at it as me trying to put you down. Look at it as free advice. I'm doing you a favor. Whether you want to see it that way or not.
|
|
|
|
|
Another modified one:
If what you have to say is not more beautiful than silence... Shut the fvck up!
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I'm a massive fan of butchered sayings... like Biff from Star Trek.
Make like a tree- and get outta here.
My father, mad at my brother, let fly with, "IF THE SHOE FITS, THEN DON'T SAY ANYTHING STUPID!"
|
|
|
|
|
|
See here: Fast Search and Replace in Large Number of Files: A Practical Guide[^]
Hello all,
My name is Dr. Brian Hart, and I am a PhD astrophysicist and one of the original users of The Code Project from back in the year 2000. I've written many articles in C++ and C# programming.
I just wanted to share a link to an article I just posted, today, on The Code Project. I hope you will stop by and take a look.
It's about using memory-mapped files in C# to do a search and replace a large number of files fast. I implemented the algorithm both as a (really bare-bones) console application and a more graphical/user-friendly Windows Forms tool.
It came out of work that I was doing on this .sln file that contains almost 1,000 projects in Visual Studio, and I was pushing my existing Find In Files / Replace In Files tools to the limit. I needed to write my fast algorithm as part of a file- and project-renaming tool I was writing, partly to manage the refactoring of so much code.
The code included with the article compiles (after doing a nuget restore in the Solution directory). It should be informative and a great example of processing a huge number of files really fast.
The impetus of the article was trying to imitate the speed with which Notepad++ processes files with its Find in Files and Replace in Files operations.
I also include code to create a progress dialog in WinForms and report the operation's progress to the user while keeping the GUI responsive. I hope it helps someone with their programming work!
Regards,
Brian Hart
|
|
|
|
|
|
Brian C Hart wrote: I just wanted to share a link to an article I just posted, today
Don't do this.
There is already a feed of recently posted articles[^], and multiple newsletters which list the recently posted articles. Anyone who is interested in the topic will see your article there and read it.
Recent articles are also posted on the CodeProject Twitter feed, for those who still use that site.
Posting in The Lounge to promote your new article stinks of spam / rep-point hunting. Imagine how useless the forum would become if every author did this!
You think it's annoying having a daily Wordle thread? Having page after page of "Check out my new article", "No, check out MY new article", "My new article is better than your new article"" etc. threads would be a thousand times worse.
And it's not going to achieve much. By this time next week, your article promotion post will be buried on page 42, where nobody is ever likely to see it.
So seriously, don't do this.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Spot on!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
And yet he gets 4 up-votes.
|
|
|
|
|
I'm holding off with the spam vote, but the article points to a youtube channel and states that the author may be offered incentives for pointing people to that channel.
|
|
|
|