|
Marc Clifton wrote: Just tell the user they can't use the number 1.2 or 1,2. I've considered converting it to an int. It's quite easy for me to use 120 instead of 1.2 or 85 instead of -0.15.
They're sort of "magic" numbers that I got from some calculation I need to use.
I'll gladly divide them by 100 if that means I don't have all that double/decimal trouble in JavaScript and .NET.
Anyway, I figured out what was wrong before I went there
Marc Clifton wrote: seriously consider using Moment.js | Home My go-to library when I need to work with dates (especially when I need to support Klingon culture as well! )
|
|
|
|
|
Sander Rossel wrote: I figured out what was wrong before I went there
Enlighten me. I'm curious.
|
|
|
|
|
It's actually in a post above, but it seems the permalink to posts has disappeared...
Here's a copy/paste (spoiler: I messed up).
Sander Rossel wrote: FOUND IT!!!
Apparently, I wasn't posting JSON at all...
The entire thing got posted as form data and that uses different deserialization rules for obvious(???) reasons
Changed the type of AJAX to JSON and 1.22 is now serialized as 1.22 (but 1,22 is completely invalid ).
|
|
|
|
|
VM with mozilla thunderbird crashed.
I could still get the data but couldn't run any apps (Including thunderbird).
Googled where Thunderbird stores email and email setup.
%appdata%\roaming\thunderbird
Installed Thunderbird on new machine. Did not start it.
Copied %appdata%\roaming\thunderbird from old to new machine.
Started Thunderbird...
All email accounts and email available with no wait and works exactly like it did on the first machine.
Phew...
Very cool, Mozilla.
|
|
|
|
|
Yeah, I use Seamonkey. Integrated browser, email and other stuff.
The email is thunderbird for all intents and purposes. It handles rss feeds nicely too.
Good stuff.
|
|
|
|
|
Cross-platform too! I copied my profile from Win7 onto a USB, then to Ubuntu, now my primary machine. Works seamlessly. The only significant difference I noticed is that I get two copies of the "Master Password" dialog at startup. I think that's because I have two email accounts. And yes, it does RSS well, particularly using message filters.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Peter_in_2780 wrote: Cross-platform too! I copied my profile from Win7 onto a USB, then to Ubuntu, now my primary machine. Works seamlessly.
That is truly amazing. Great work by the Thunderbird team.
|
|
|
|
|
digging down in the stored email you will find the messages stored in plain text,
i.e. there's a files in there called Inbox, Inbox.msf (also Sent, Trash ...) The ones without extensions are your messages.
If for some weird reason thunderbird wont play (which is rare) you can read those files with nothing more than notepad/np++ and see messages - A bit messy for the html formatted but you can search for and find body text.
- in fact many other mail clients will recognise those files as RFC-whatevernumber email files and open them correctly.
as usual it's only microslop that does things differently, they broke [and attempted kill] that standard decades ago, and never fixed it.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
Lopatir wrote: you can read those files with nothing more than notepad/np++ and see messages
That's really cool stuff.
Lopatir wrote: as usual it's only microslop that does things differently, they broke [and attempted kill] that standard decades ago, and never fixed it.
Most likely in their attempt to own your data which is locked up in their proprietary software. Really too bad.
|
|
|
|
|
Thunderbirds are go !
|
|
|
|
|
similar with firefox also
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
abmv wrote: similar with firefox also
it's very cool to see developers think this type of stuff through and solve it properly.
Of course, it probably does have to do with being very open and not trying to lock your data up in proprietary software so you can never move away from them.
I didn't even expect what I did (simple copy) to actually work and I was stunned when it did.
|
|
|
|
|
At some point this is thought to be too easy, too simple. So a developer comes up with a bright idea, perhaps to encode the emails because it is 'more secure', or to put it in XML because 'thats the way things are done these days' and he wants to put it on his CV, or to use some new technology, because its like playing with a new toy to him.
And it f***s up.
This is why oldversion.com exists. Because so many software engineers are twats, and I have worked with quite a few.
|
|
|
|
|
Munchies_Matt wrote: This is why oldversion.com exists. Because so many software engineers are twats, and I have worked with quite a few.
Thanks need something like this.
|
|
|
|
|
In Transact-SQL anyway...
Mostly they're optional.
Sometimes they're required.
But never put one between END TRY and BEGIN CATCH .
(SQL Server 2014)
|
|
|
|
|
What about full colons? People sometimes put that in their stored procedures.
throughout my life, my two greatest assets have been mental stability and being, like, really smart.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
If your colon's full, you've probably eaten too much.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: you've probably eaten too much
and thus, need a procedure, for sure.
|
|
|
|
|
A mention of STORED PROCEDURE might lead this thread to the Soapbox, so I'll refrain.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Or it's just full of sh*t.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
I had a full colon, then I had a massive dump.
|
|
|
|
|
Harmful? HARMFUL?
Semi-colons are the spawn of the Devil!
VB RULEZ OK!
|
|
|
|
|
VB!? VB!?
What's with the V?
Real men code in BASIC (without the V)!
|
|
|
|
|
Damned straight VB in a bottle[^]
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Victual BASIC? Surely not.
https://www.codeproject.com/script/Membership/Uploads/2587207/BASICbooks.jpg
Hmm, linkifier no worky today.
|
|
|
|