# Search:

Type: Posts; User: OptionBase1

Page 1 of 13 1

1. ## Thread: Sign and Signn Functions (w/o IF's, math only!)

by OptionBase1
Replies
11
Views
272

### Re: Sign and Signn Functions (w/o IF's, math only!)

Amazing. Solid math principles, like that the sign of 0 = 1? Oh yeah, your code is right because you don't care about the case(s) where it is provably wrong. What a great programming attitude...
2. ## Thread: Sign and Signn Functions (w/o IF's, math only!)

by OptionBase1
Replies
11
Views
272

### Re: Sign and Signn Functions (w/o IF's, math only!)

That's fantastic that you don't care about what the sign of 0 is, at least your code is consistent with that sentiment. This thread is about math, which is more stringent than code, as is...
3. ## Thread: Sign and Signn Functions (w/o IF's, math only!)

by OptionBase1
Replies
11
Views
272

### Re: Sign and Signn Functions (w/o IF's, math only!)

By definition, the sign of 0 is 0
Using your "Sign = 1 + 2 * (Value < 0)" function in VB6, when value = 0, Sign = 1, which is wrong.

By definition, the absolute value of 0 is 0...
4. ## Thread: Sign and Signn Functions (w/o IF's, math only!)

by OptionBase1
Replies
11
Views
272

### Re: Sign and Signn Functions (w/o IF's, math only!)

Those definitions fail when value = 0.
5. ## Thread: Sign and Signn Functions (w/o IF's, math only!)

by OptionBase1
Replies
11
Views
272

### Re: Sign and Signn Functions (w/o IF's, math only!)

Also, I haven't thought about your ABS example thoroughly, but I thought abs was traditionally simplified down to (n^2)^(1/2)
6. ## Thread: Sign and Signn Functions (w/o IF's, math only!)

by OptionBase1
Replies
11
Views
272

### Re: Sign and Signn Functions (w/o IF's, math only!)

For signn, doesn't your use of a comparison violate the rule of no programming statements? Or is the <> a typo?
7. ## Thread: HP Universal PCL5 Driver download locations found!

by OptionBase1
Replies
1
Views
192

### HP Universal PCL5 Driver download locations found!

Long story short - I have an old HP LaserJet 4 Plus that is still plugging along. Windows 10 no longer offers a driver for it. The only HP Universal Driver offered via Windows Update is the PCL6...
8. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: Corona virus, China major city lockdowns, etc.

Being forced to be injected with cutting edge, unproven science juice is a bridge too far for me, and I'm not alone.

I've also never smoked a cigarette in my life, nor done any sort of drugs. I...
9. ## Thread: Calculate angle between points

by OptionBase1
Replies
9
Views
347

### Re: Calculate angle between points

As I see it, the overflow is happening because some of your consecutive values in the array are the same, resulting in a call of something like:

math.atan2(0, 1)

Which overflows because the...
10. ## Thread: Hamilton 5x World Champion ?

by OptionBase1
Replies
438
Views
64,738

### Re: Hamilton 8x World Champion ? Not yet!!!

"Suspected loss of oil and water pressure" is the reason given for the Perez retirement. So, the panicky message to Perez to pit and retire immediately could have been because they didn't want to...
11. ## Thread: Hamilton 5x World Champion ?

by OptionBase1
Replies
438
Views
64,738

### Re: Max 1x World Champion ? You bet!

Based on my past posts in this thread, you should see that I'm very much a Max and Red Bull fan, so keep that in mind.

There needs to be a full review of all communications (radio, text, computer,...
12. ## Thread: TwinBasic

by OptionBase1
Replies
861
Views
280,590

### Re: TwinBasic

Nobody doesn't like Sara Lee.
13. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

This may have been linked to earlier in this thread, I don't feel like trudging through the slog to check.

https://www.nytimes.com/2021/08/18/world/middleeast/israel-virus-infections-booster.html...
14. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

From now on I'm calling you out if you reply to any programming threads asking for clarity or more information from the OP, because you can clearly discern things not written.
15. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

Maybe this information is known and I'm behind on it, but from the beginning I've wondered if there is anything fundamentally different from Shot 1 vs. Shot 2, and now, vs. Booster?

Are they all...
16. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

The math is deaths / cases, so I would kindly ask you to point out what the mathematical flaw is in my post.

Do those numbers tell the whole story? Of course not. But we're not getting granular...
17. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

Interesting and sobering data inside on pages 22 and 23.

In the...
18. ## Thread: [RESOLVED] SQL - Basic math issue

by OptionBase1
Replies
21
Views
1,425

### Re: SQL - Basic math issue

Has nothing to do with calculator math. In many programming languages, the result of an int divided by an int is an int. And an int has no decimal value, so values are truncated.

So 53 / 100 is...
19. ## Thread: [RESOLVED] Convert text box to integer

by OptionBase1
Replies
5
Views
470

### VS 2015Re: Convert text box to integer

Please post the code that you tried and post the error(s) you received.
20. ## Thread: [RESOLVED] SQL - Basic math issue

by OptionBase1
Replies
21
Views
1,425

### Re: SQL - Basic math issue

Can't test it, and not sure how SQL handles it, and not motivated enough to look it up right now myself, but could it be that dividing of integers results in an integer type, so (53/100) = 0?
21. ## Thread: To Afghan or to not Afghan

by OptionBase1
Replies
171
Views
9,831

### Re: To Afghan or to not Afghan

This was the obvious (unfortunate) outcome regardless of when troops were pulled out and who was in the White House. People blaming Biden (or Trump for that matter) for this don't have a clue what...
22. ## Thread: [RESOLVED] Need to remove embedded line feeds from csv file

by OptionBase1
Replies
4
Views
584

### Re: Need to remove embedded line feeds from csv file

Is it consistent that the unwanted new lines come in pairs as demonstrated by your post? If so, you could do something like this untested code:

Dim strData As String
strData =...
23. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

And feel free to use obnoxiously larger fonts as well as colors when you use the word "lies". Don't worry, I won't cry to the mods either, I'll let you get it out of your system.
24. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

I edited my earlier posts to more accurately reflect what I meant. As originally written, they were implying that, all things being equal, getting the Covid vaccine leaves you as vulnerable to...
25. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

Final thoughts. Don't let my words or anyone else's words on any internet forum guide your decision about getting a Covid vaccine or not getting one. If I were old and had pre-existing conditions...
26. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

I'm glad we're in agreement then. We were promised magic and the vaccine isn't magic.
27. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

Looks like dialing it up to 11 it is. Good luck everyone.
28. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

I'll send him an invitation.
29. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

https://www.health.state.mn.us/diseases/coronavirus/stats/vbt.html

5599 cases
514 hospitalizations (9.18%)
57 deaths (1.02%)

But, keep screaming lies!
30. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

I will agree with that, for now. Time will tell if "breakthrough" cases are indeed some sort of one-off, or the norm.

But I stand by my statements earlier that what we've been told over, and...
31. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

lol.

Edit to add: Another lol.
32. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

I'm just curious if the venomous vitriol against unvaccinated people subsides (as it should) or ramps up to 11 (just for the hell of it) if the statistics continue to demonstrate that the vaccination...
33. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

Clearly your post wasn't a response to mine. You're better than that, right?
34. ## Thread: Corona virus, China major city lockdowns, etc.

by OptionBase1
Replies
4,899
Views
419,958

### Re: [RESOLVED] Corona virus, China major city lockdowns, etc.

I just saw some local statistics for cases of Covid among the vaccinated. Of course, the data was presented with a moronic statistical analysis that obscures the severity of Covid among the...
35. ## Thread: [RESOLVED] VB.Net add PictureBox1.Image into Email Body

by OptionBase1
Replies
13
Views
1,122

### VS 2019Re: VB.Net add PictureBox1.Image into Email Body

I read your current code as adding the literal string "SigBase64" as the image source, rather than the contents of the variable SigBase64.

I would imagine it would need to look something more like...
36. ## Thread: [RESOLVED] [.NET Core 2.1] StreamReader ReadToEnd Hangs

by OptionBase1
Replies
4
Views
560

### Re: [RESOLVED] [.NET Core 2.1] StreamReader ReadToEnd Hangs

Not sure, never worked with it myself. I found a few similar old threads here that didn't really have a resolution given. I did find this one, but not sure how helpful it is.
...
37. ## Thread: [RESOLVED] [.NET Core 2.1] StreamReader ReadToEnd Hangs

by OptionBase1
Replies
4
Views
560

### Re: [.NET Core 2.1] StreamReader ReadToEnd Hangs

Possibly this?

38. ## Thread: Appending to an existing Excel spreadsheet, without Office or Excel installed

by OptionBase1
Replies
4
Views
716

### Re: Appending to an existing Excel spreadsheet, without Office or Excel installed

In the past (and presumably is still the case, but I don't have the most current Office to reference), the "Microsoft Excel ##.0 Object Library" that you would be using a reference to points to the...
39. ## Thread: Go for the Olympics

by OptionBase1
Replies
121
Views
6,779

### Re: Go for the Olympics

Speed-walking requires an odd "hip swinging" gate in order to be fast. Ages ago I would do it for a bit here and there while out for a walk, but always felt super self conscious because of how dumb...
40. ## Thread: LIKE Operator speed-up without additional references

by OptionBase1
Replies
7
Views
556

### Re: LIKE Operator speed-up without additional references

This could be a terrible idea, I don't have the time to test this out, but one thought is this:

In your LikeEx function, instead of splitting the string by the delimiter and then trying to match...
Results 1 to 40 of 500
Page 1 of 13 1

Click Here to Expand Forum to Full Width