|
Well, I definitely agree about it not being very convenient to do the quick calculation on a desktop but the app I have on my cell phone is about as good as a dedicated calculator. Before I retired, I would start the app on my phone when I got to work so it would be ready to use when I needed it. It's an old calculator app that appears to no longer be available in the google store. It looks very similar to the RealCalc app.
|
|
|
|
|
That's a no-brainer. Most of what the Windows calculator can do, I can do in my head. For anything mildly challenging, I reach for my trusty HP-35s. I may be biased, but my first calculator was an HP-67, and I wrote immensely complicated programs for that thing that got me through engineering final exams. My favorite was a huge one that would solve the roots of a 20th order linear control system transfer function. I've tried others, but there is nothing as efficient as RPN for complex calculations.
Will Rogers never met me.
|
|
|
|
|
I know that in this area, Java is very big because of all the government work and .Net can be a second class citizen. How is it on the West Coast, SoCal? My nephew is starting his career after college and I am trying to offer some direction. He knows Java and I figure he should leverage what he knows, but it still might be better for him to just jump to .Net. What do you think? How about C++? His brother learned that but I think that is a smaller niche than .Net or Java. Can you suggest other resources to research this?
|
|
|
|
|
|
Fascinating... Java Andriod... That makes sense but his training is primarily in networking so I figure his path will be to learn Linux first, which is also Java friendly. Hmmm.
By the way, there are an awful lot of developers working in SoCal.
|
|
|
|
|
Michael Breeden wrote: awful lot of developers working in SoCal
... and likely a lot of awful developers...
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Well, I mean, I'm no longer in SoCal...
|
|
|
|
|
Honestly, the "most common language" is determined by the target platform on/to which you're coding, and really has no relationship to your geographic location.
I've found that when you get right down to it, all languages are pretty much the same. Hell, java and c# are almost like conjoined twins separated at birth.
".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
|
|
|
|
|
You are correct about the similarities but you can get paid much more for Java around here. It's also easier to get a Java job. I'm partial to C#.
|
|
|
|
|
You spelt communist wrong.
|
|
|
|
|
|
Javascript/Typescript/CSS
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
See if there's a duuuuude language.
|
|
|
|
|
I think one needs a "major": machine learning; "big" data; security; quantum computing; robotics; etc. Otherwise, you'll just wind up maintaining somebody's web site. Which implies continued learning and embracing / avoiding trends (which last year was "blockchain").
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
So I'm wrapping this
The quick brown fox jumped over the lazy dog
And I've traversed all the nastiness with Unicode's non-breaking spaces, and invisible breaks and all of that.
I get this:
The quick
brown
fox jumped
over the
lazy dog
Look at the 2nd line.
"Oh just remove the whitespace around the line" they said
"It will be easy" they said
"You can call char.IsWhitespace()" except wait.
This isn't .NET. It's an IoT machine with C++
C++ doesn't do 32-bit codepoints out of the box.
Do have any idea how hard it is to determine if a character is whitespace in Unicode?
I need a massive table.
*headdesk*
To err is human. Fortune favors the monsters.
|
|
|
|
|
I have a simple(r) solution.
Print the character to an image (in-memory, obviously).
Now connect to some OCR service and let it scan the image.
If the result is null, "", " " or "
" it's whitespace.
Just thinking outside the box
|
|
|
|
|
*angeryface*
To err is human. Fortune favors the monsters.
|
|
|
|
|
Hmmm,
Can you go into technical details about the difficulties? I can't figure out why you need 'a massive table'.
|
|
|
|
|
|
|
I guess they match.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
The table isn't as big as a thought. A long time ago I wrote something to spit out character class tables, and I thought I remembered the whitespace one being huge. It's not, now that I looked it up.
Still, it's larger than I'd like.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: Still, it's larger than I'd like. I don't think you need to check for all of them. I think you can get away with just 12.
isWhitespace[^]
Btw, now that .NET is using ICU[^] this should match the C# behavior. (I just checked ICU docs to confirm)
|
|
|
|
|
Yeah, but I'm not using .NET, and my platform doesn't understand unicode beyond wchar_t which I can't even use.
To err is human. Fortune favors the monsters.
|
|
|
|
|
honey the codewitch wrote: Yeah, but I'm not using .NET, and my platform doesn't understand unicode Nobody in this thread thinks you are using .NET
I'm saying that you can write a C function for your IoT device that will duplicate Java and C# whitespace behavior simply by checking for those 12 values. They are all doing the same thing as ICU.
|
|
|
|