|
In a way, it reminds me of the way concert tickets are sold. If I order them online and pick them up at the will-call window (which requires human intervention), they're just the face value of the ticket. If I opt to print them at home, on my printer using my paper, they're $$ more.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
... and say Cheeeeeese![^]
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Yeah they were nervous...I would be too!
I'm not sure how many cookies it makes to be happy, but so far it's not 27.
JaxCoder.com
|
|
|
|
|
|
|
I had flight simulators that looked the same. Why did all those games play in Egypt? a flat landscape with lots of pyramids.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
That tank would be completely wrecked if it crashed into those balls of steel
|
|
|
|
|
Using ASP.NET Core Razor Pages for an application.
I've got this really simple thing where I need to let users enter a decimal number.
It seems this is one of the hardest things in programming in 2020.
Insert the "I'm about to end this man's whole career" meme here.
Elephanting thing won't let me enter a comma because my browser says the dot is my decimal separator.
Unfortunately, my Windows begs to differ.
So I enter a dot in the browser, e.g. "1.2", and I get "12" in my back-end.
This is an international application so I need to get it right somehow
Maybe I'll just allow ANY input and just parse the damn thing myself...
The only good thing about this is that I get the same behavior in every browser
|
|
|
|
|
> Maybe I'll just allow ANY input and just parse the damn thing myself
It's not that hard. That's what I would do.
Real programmers use butterflies
|
|
|
|
|
Not hard, but sad that I have to
Or maybe actually harder than we think, because even the smart people at Google, Mozilla and Microsoft did it wrong
|
|
|
|
|
There is a huge gulf between designing frameworks and developing applications. Here, they didn't even get a piss simple thing right. I don't even bother looking at a framework unless it's recommended by someone I trust. Most of them get in the way as much as they help, or worse.
|
|
|
|
|
It's not even framework related, even a simple <input type="number" step="0.1" /> doesn't work.
The number input won't even let me enter a comma whereas the generated text will let me enter it, but the validation tells me it's not valid.
At least with the text input I can override the jQuery validation
This seems to be wrong on a very basic level, either on the browser which looks at my browser settings instead of my OS settings, or .NET, which uses my OS settings instead of browser settings, or something in between I don't know.
|
|
|
|
|
One of my colleagues wrote an ASP.NET Core application, it causes me a lot of headaches trying to stop and uninstall it from an Inno Setup installer, the damn thing just seems to keep running even though I wrote a special "Stopper" application.
Do you have any advice or experience regarding that ?
|
|
|
|
|
Format and reinstall without even getting near that app?
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.
|
|
|
|
|
Nope, all my apps stop when they should and sometimes when they shouldn't
Did your colleague spin up a separate thread that he never disposes?
I've seen applications keep running in the background before, both web and desktop, and it was usually a threading problem (and a bad code base overall, but that's another issue).
|
|
|
|
|
Thanks, I suspect it has something to do with threading too, hope my (young and reckless) colleague realizes that too instead of blaming the installer.
|
|
|
|
|
RickZeeland wrote: instead of blaming the installer Always blame some(thing/one) else!
Even if it turns out to be a thread, it's the thread and not him
|
|
|
|
|
RickZeeland wrote: the damn thing just seems to keep running even though I wrote a special "Stopper" application.
I find that incredibly annoying myself, even asked about it on the Q&A forums and got no answer.
From what I've learned, if it helps: a typical IIS application, the DLL's are shadow copied so you can update the master ones and IIS detects this and copies re-shadows the DLL's, all nice and seemless to the user experience on the browser.
ASP.NET Core applications aren't shadow copied, so IIS "locks" the DLL's regardless of whether there's any endpoint call currently being executed or not. The only solution I've found is to manually stop the associated application pool, do the update, and restart it.
And there seems to be no way to do that from the command line. Extremely frustrating.
|
|
|
|
|
Marc Clifton wrote: And there seems to be no way to do that from the command line.
they don't provide iisreset anymore?
ETA: it might be iisrestart - it has been a long time.
Real programmers use butterflies
|
|
|
|
|
|
Convert the field into cents insted of $ value. That way there is no decimal.
Zen and the art of software maintenance : rm -rf *
Maths is like love : a simple idea but it can get complicated.
|
|
|
|
|
Can uncertainty be quantified as a hot beverage?
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
The certainty of this joke working is quantified as
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
No, but improbability can.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Do they all get entered into the contest - assuming they are popular enough? or just one of them?
I had a couple of popular articles and the one that is slightly less popular has a better chance of winning, I think.
Which is why i ask the question.
Sorry, I love these contests. They are a lot of fun.
Real programmers use butterflies
|
|
|
|