|
Ron Anders wrote: Did you know that dolphins are so smart that within a few weeks of captivity, they can train people to stand on the very edge of the pool and throw them fish?
That's not so far from the truth:
Why dolphins are deep thinkers [^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
Ron Anders wrote:
The reason Mayberry was so peaceful and quiet was because nobody was married. Andy, Aunt Bea, Barney, Floyd, Howard, Goober, Gomer, Sam, Earnest T Bass, Helen, Thelma Lou, Clara and, of course, Opie were all single. The only married person was Otis, and he stayed drunk.
Interesting - I had never considered that
|
|
|
|
|
Ron Anders wrote: If you’re in Denny’s and it’s your birthday, your life sucks!
So true.
|
|
|
|
|
But is being in Denny's any of the other 364 days any better?
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Now that you mention it, nope.
|
|
|
|
|
Let's be honest...
If you’re in Denny’s and it’s your birthday, your life sucks!
|
|
|
|
|
Ron Anders wrote: I read that 4,153,237 people got married last year. Not to cause any trouble, but shouldn't that be an even number? Not necessarily
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Ron Anders wrote: I read that 4,153,237 people got married last year. Not to cause any trouble, but shouldn't that be an even number? That will perhaps be your traditional Western Christian protestant conditioning speaking to you.
Polygmamy and polyandry would enable this number to be odd.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
... or if one (or an odd number) got married twice.
[and I'm still Western, Christian and Protestant]
I'm retired. There's a nap for that...
- Harvey
|
|
|
|
|
Quote: I read that 4,153,237 people got married last year. Not to cause any trouble, but shouldn't that be an even number? I guess that would depend on how you interpret x people got married. I interpret it as equal to if a person gets married x times that counts as 1 as we are counting people getting married not mariages.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
Well if I got married once in 2016 and once in 2017, then I'd say I got married twice.
I'm retired. There's a nap for that...
- Harvey
|
|
|
|
|
In my current MVC project, I wanted to display the last edit date of the view in the footer. It took me about 75 lines of code scattered over three folders and half a dozen files to achieve it, as well as about four hours of research time.
There are things MS could have done to make it simpler...
".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 am sure there's a reason this code won't work, but did you try:
File.GetLastWriteTime(Request.PhysicalPath)
If you did, and it failed, sorry - my bad
|
|
|
|
|
Even if that does work, I'm using the mechanism I implemented to perform some other functionality that is required in my shared layout file.
".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
|
|
|
|
|
So it's not entirely a Microsoft issue then. Don't get me wrong, I consider MVP to be an atrocious development model, but it sounds like you contributed to the issue.
|
|
|
|
|
They already did - and called it ASP.NET Webforms. Then someone decided to make things harder and came up with MVC. I suppose there may be advantages in team environments, but as a sole developer I see no advantage in MVC whatsoever.
|
|
|
|
|
You might like the .Net Core 2 Razor pages.
Keep your friends close. Keep Kill your enemies closer.
|
|
|
|
|
Didn't you know that MVC stands for: Migraine Vomiting and Constipation
|
|
|
|
|
Like almost anything Mickeysoft comes up with.
Normally I like to use the Model View Controller pattern, actually more the Model View Presenter flavor. I rolled my own for WinForms, WPF and even ASP .Net Webforms and can convert whole applications by simply rewriting the views for another UI. The rest remains as it was. These patterns should make life a little easier, but that is not the Mickeysoft way.
I have lived with several Zen masters - all of them were cats.
|
|
|
|
|
Thank you for reminding me why I don't use MVC or ASP.NET, just straight Javascript and AJAX calls to a basic web server.
Latest Article - Code Review - What You Can Learn From a Single Line of Code
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Unfortunately, one must be familiar with MVC in order to remain employable. I'd much rather not have to do any web crap at all...
".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
|
|
|
|
|
John Simmons / outlaw programmer wrote: I'd much rather not have to do any web crap at all... Just wait it out. This web thing will pass soon. It's just a phase.
There are two kinds of people in the world: those who can extrapolate from incomplete data.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
JavaScript is now on the very very slow train out of town. Not immediate panic, but the new Web Assembly is lining up to give it the boot over the long haul.
Web Assembly is what should have been around all along. JavaScript suffers from never having been intended as a serious enterprise-grade programming language. It was only intended to do little short script tasks. Even Google came face-to-face with that reality when they realized a large code base like Angular was totally irresponsible to try and maintain in JavaScript thus leading to their adoption of arch-enemy Microsoft's TypeScript.
Web Assembly is machine readable pseudo-code (similar concept to Microsoft's CIL for .NET). Use the disciplined typed language of your choice and have the compiler output Web Assembly code. Same concept as C#.NET, VB.NET, and F#.NET all compiling to processor independent CIL.
The CPU-independent Web Assembly code gets (ideally) compiled into the browser host CPU's machine code upon loading.
Compiling existing JavaScript to Web Assembly will certainly be possible and largely desirable. No doubt Google is focused on making sure Angular can be compiled into Web Assembly. (TypeScript to JavaScript to Web Assembly.) Thus JavaScript won't be going anywhere anytime soon.
However, very large project code bases are extremely inefficient to maintain in JavaScript. There is a large collection of far better languages that exist to choose from. So new development will migrate to using other languages, and that will be a very large positive for both companies and developers.
The potential for a .NET Standard/Core framework targeting Web Assembly would be a huge development for enterprise-class developers. The ability to use existing .NET (C#, VB, F#) business logic libraries, etc, as part of browser client apps means serious new benefits.
In the long run it can be envisioned Web Assembly might further unify client app development with mobile apps, desktop apps, and browser apps coming closer and closer to using more and more shared code. There are frameworks for accomplishing much of this already for mobile and desktop. Web Assembly may be the key to bringing browser apps into this realm as well.
|
|
|
|
|
John Simmons / outlaw programmer wrote: one must be familiar with MVC in order to remain employable.
This is true. Happily when I write websites for my clients I don't have to adhere to corporate mentality.
Latest Article - Code Review - What You Can Learn From a Single Line of Code
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|