rproffitt 2,701 https://5calls.org Moderator

From your link I read:

Return a random decimal number (no seed value - so it returns a completely random number >= 0 and <1):

Then I read your question about SELECT SQL and do not get how these two SQL commands/functions are related. I certainly found nothing in the SQL documentation that included both.

On top of that, your question about SQLrand "a system" is about "a system" and not the SQL function.

Do you understand that "a system" is not "a function"?

rproffitt 2,701 https://5calls.org Moderator

The common fix or reply about this with a google search seems to be "wrap your class in code to check for the function/class."

So the entire Class MysqlConnect is wrapped like this:

if (class_exists('MysqlConnect') != true) {

    class MysqlConnect { ... }

}

`

annya commented: its worked +0
rproffitt 2,701 https://5calls.org Moderator

There are a few ways to go here. But keeping the original definition WITHOUT the illegally word would be best IMO.

The legality would depends on the country, laws and permission. If the access was by the owner's request, legal If not, illegal.
I'm thinking of locksmiths. It would be legal or not for them to open a safe depending on permission.

So hacking doesn't mean it's illegal.

rproffitt 2,701 https://5calls.org Moderator

Yes, you've been told it's dead, gone and to move off this old beast of a system from 1998 but here you are, tasked with fixing an old legacy app so let me share that I've been there and how I got around some of the issues. These are:

  1. Install issues on Windows 10.
  2. A workaround to code that seemed fine but failed.
  3. What may never work again.
Installing VB6

Installing Visual Studio 6.0 from 1998 is a challenge. Be sure to have your media ready and if need be, print out the instructions so you can follow them step by step.
I used this search for how to isntall -> https://www.google.com/search?q=Install+Visual+Studio+6.0+on+Windows+10

This seems to work but badly and you have to deal with the install appearing to fail but I was able to pick up the pieces by copying the missing dao35.dll from my Visual Studio 6.0 CD (or VB6 Media) to the folder where the VB6.EXE is. This might be C:\Program Files (x86)\Microsoft Visual Studio\VB98 on a stock install.

Before you try to run VB6, be sure to install Service Patch 6.

When you run VB6 for the first time it may cough up errors and complaints but plow ahead and when it's done, quit and try again. Here it stoped complaining on the second run.

Be sure to experiment with the Compatibility Tab on the VB6.EXE file. For me the usual sluggish behavior in dragging items around vanished when I set compatibility to …

rproffitt 2,701 https://5calls.org Moderator

I'm in year eight since I changed my second home to LED. I have one failure out of 50ish lamps. About all I do is the usual dusting and remove cobwebs when we see them.

Does that help?

rproffitt 2,701 https://5calls.org Moderator

I think I know why you don't see signatures. As part of maybe an anti-spam design, signatures do not show for new members.

This way if a new spammer comes along, their attempts to spam via sig fall flat. I like this design.

rproffitt 2,701 https://5calls.org Moderator

Mmm, stealth code. I like it.

Reverend Jim commented: It's nothing if not concise. +15
rproffitt 2,701 https://5calls.org Moderator

I see you already have a sig. So looking at your deleted post, you spammed. Keep those signatures clean of the spam as well.

rproffitt 2,701 https://5calls.org Moderator

I agree. You need to explain your question.

That said, "Linux" is a big topic with use being from very small embedded boards, servers, user workstations and what else. The topic is so broad that not only what Linux is being used for matters but what distro you are using along with what issue or topic you want to breach.

rproffitt 2,701 https://5calls.org Moderator

Thanks everyone for the entertainment.

I've been told that the price of gas is very important for car sales. I drive a Nissan Leaf and have bought 2 tanks of gas in 2 years since that purchase for my own transportation.

You can imagine I'm not a good candidate for a lot of surveys.

rproffitt 2,701 https://5calls.org Moderator

@pty. It's a solid answer. And as you noted can be used for other industries and services.

rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

It's still good for other things like high speed usb to video cards.

rproffitt 2,701 https://5calls.org Moderator

You asked about some USB to VGA adapter cable but didn't supply the link. That said there has never been a "cable" that adapts USB to VGA without some circuitry but there are scammers that will sell under 10 dollar cables that don't work. Only the new or foolish buy these. Sorry if you feel slighted by me writing that.

I never could find your laptop model so if you want this many monitors the solutions are USB to video convertors which are mildly priced to some USB 3.x to Display Port which will only require one adapter for many displays. The downside is speed but for stock charting, excel and such will be fine.

rproffitt 2,701 https://5calls.org Moderator

I'm calling BS on this one. I lived through the printer wars where companies moved from impact printers to laser and other technologies.

Inkjet and laser print quality is more than just laser and ink. Paper matters too.

If you want to get into higher quality printing then you move to offset printing. I've yet to find any office or consumer printer get to that quality. It's not called for in most cases. But you have some that want it.

happygeek commented: I've removed the spammy link, has no impact on question so let's see if OP joins in the discussion +16
rproffitt 2,701 https://5calls.org Moderator

First, Thunderbird has it's own forum. https://support.mozilla.org/en-US/kb/get-community-support which is fine you can ask anywhere you wish.

Second, setup is no longer "simple." Read https://support.mozilla.org/en-US/questions/1201406 and if you are like most you may need a bottle of aspirin.

rproffitt 2,701 https://5calls.org Moderator

Sure.

Move line 3 to just before line 8. Then after that add your UNIX time like this.
dt = dt.AddSeconds(timestamp); //timestamp is your UNIX time value from your file.

You should be able to read files and all that so let's see you fix that up too.

Of course if you didn't read my supplied link, you will be lost.

ddanbe commented: Great help +15
rproffitt 2,701 https://5calls.org Moderator

So you need "any" title?

Because you might have to actually execute this final, all should be topics you can dig into.

rproffitt 2,701 https://5calls.org Moderator

Daniweb wins hands down. Why? The Dazah page is cluttered with other panels that have not much to do with what I am doing.

Have you heard the story about George R. R. Martin and what he writes on?

While the Dazah message interface is probably considered modern, I'm not messaging all those folk (some are spammers!) on the left, the chat schedule doesn't seem to belong to what I'm doing and recommened users on the bottom right? Never read from them on Daniweb.

Daniweb messaging would be my choice.

ernie.cordell commented: Kudos on the Martin article: I loved PCWrite and the Turbo Pascal editor. Sometimes modern doesn't do the job. +0
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

TL;DR There is no magic for this one. But I will comment about joining. I haven't tried it again since all the changes but there's a rule about the software I write which is "Don't make me think." The apps I currently work on have me thinking about how to automate as much as possible and the right choice is the top choice or if I can devine the answer, use that and move on.

Which means that if Dazah login/account is required you may lose the less technical folk at the door. And yes, most of us know what you were trying to do.

WHERE DO I GO NOW? I may be a very non-typical user. My background is embedded computing since the 70's and progressively moving to bigger and bigger systems along with apps for the embedded systems then automated testing and more than I will write here.

So when I have a problem I used to talk with my coworkers (Engineers all) and later would pick up new skills with books. The Internet happened and as it filled with content, less books, now a book is a rare thing to buy. so....

Where do I go now? Google it is the answer. I find the problems I can't solve are out there and I do solve more problems than I ask for help on.

WHAT ABOUT AVERAGE JOE/JANE? This could just be me but they don't want to google it. They want it fixed. You see …

rproffitt 2,701 https://5calls.org Moderator

Let's watch https://www.codeproject.com/Questions/1247089/Vshost-exe-has-stopped-working too.

What I find interesting is the following:
Crystal reports are no longer shipped along with Visual studio 2010. Crystal Reports for Visual Studio 2010 was planned to be released separately, instead of included with the product.
Thus, Crystal Report are not included in Visual Studio 2010 onwards. They are provided by SAP for free download.

There are settings you have to deal with to marry these two up so I can't guess if you flubbed the install or setup or are running into security or API deprecation issues.

If this app must be made, it may be time to step up to a current Visual Studio or past version that had Crystal Reports.

Further research (google) finds no one clear fix. This means your googlefoo will be tested.

ddanbe commented: Nice +15
rproffitt 2,701 https://5calls.org Moderator

When this news came across I only had to think of MSFT's prior acquisitions to think this may not end well.

As the song goes " Should I Stay or Should I Go"?

rproffitt 2,701 https://5calls.org Moderator

That's probably true. If you tell me you're an expert then start asking me about the topic, I worry you're about to spam.

That out of the way the question is as above.

Whaddya say Bivhab, what are your thoughts on website ranking?

rproffitt 2,701 https://5calls.org Moderator

Wait a second, didn't you just write "I am Bivhab Sarker. I am a student and SEO expert."

Also, since Google doesn't reveal how the search works, how can you know?

rproffitt 2,701 https://5calls.org Moderator

I have had a lot of experience with folk that want to do this. There are and will continue to be folk that think they can find a plug in or template and have an instant Amazon like site.

If you ignore the prior discussions you are doomed to repeat the same mistakes.

rproffitt 2,701 https://5calls.org Moderator

We've updated our privacy policy.

  • Everyone today it seems.
Reverend Jim commented: "Updated" does not necessarily mean "better". +0
rproffitt 2,701 https://5calls.org Moderator

My first thought? Probably it's time for Java and for the IDE NetBeans or Intelli(something) like they use in Android Studio.

Me? Be around since the 70's programming. This week, a client is asking for a VB6 update. What fun it is to open up apps that are over a decade or more old.

rproffitt 2,701 https://5calls.org Moderator

I may upset you but this is something you don't do from scratch. Go get OpenCart or any of the others from a search like:
https://www.google.com/search?q=open+source+online+shopping+site+code

I have watched companies drop thousands into the grinder trying to start from scratch. Don't do that.

rproffitt 2,701 https://5calls.org Moderator

This is where machine details can help. Make, model of the PC or if something made, then make, model of the board and so on.

rproffitt 2,701 https://5calls.org Moderator

This sounds like the classic "The Dead PC." If you google The Dead PC there are many discussions on how to work a dead PC.

Your method isn't one of them. You need the usual Volt meter to check out the PSU leads (how is again on the web) and for discussing in forums NEVER leave out the story and machine details. PUMPS? Whatever for? Most PCs pump air with motorized fans but once in a while a person builds a water cooled system. These are sometimes overclocked and just break. Drives the owners nuts.

Did you at least swap out the cheapest part it could be? (Hint: CMOS battery.)

rproffitt 2,701 https://5calls.org Moderator

Just some response if it helps. The last time I was interviewing was long ago and no t-shirts but the HR in the companies was lead by women.
There was no issue with gender at any company I've worked for since about 1979.

After my years in big companies I struck out on my own as an independant and haven't really interviewed in 20 years. But I do work with companies in US and Canada but few are large enough to have on site child care. In fact none are.

Sadly I fear many companies have farmed out their HR and no longer are the same. But that's a topic unto its own.

rproffitt 2,701 https://5calls.org Moderator

No Apple Company folk here. Just a note, BEWARE the FAKE SUPPORT SCAMS going on. These folk are out for not only your money but are known to take over your Apple and other accounts.

rproffitt 2,701 https://5calls.org Moderator

What's with the need for another user account?

How about GNUPLOT at http://gnuplot.sourceforge.net/demo/

Gribouillis commented: Nice gallery, thanks for sharing +0
rproffitt 2,701 https://5calls.org Moderator

I'm not seeing the cause in the above here. I see why we would want to get into shared code/projects as I read
https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/shared-projects?tabs=vsmac
but if it's creating issues that can't be tamed, why not old fashioned ways?

rproffitt 2,701 https://5calls.org Moderator

So there is more to the error message. If you are missing some .h file you have to add that. Also, the link does make other suggestions. As I noted, the code above does not lead me to any suggestion on its own other than to work on your discussion by adding details and sharing what work you've done.

As it stands, add the missing include and do what the article I linked to above.

rproffitt 2,701 https://5calls.org Moderator

Just so we're clear, FTP today is considered insecure. https://www.secure-bytes.com/blog/why-ftp-is-insecure/ and many others note the clear text password that means well, it's time is over. Some companies no longer supply FTP uploads/access to update your web servers.

It's a shame too since it was one of the fastest file transfers back then.

rproffitt 2,701 https://5calls.org Moderator

Line 40 has another issue. I see a single equal sign. Do you know why that matters?

This is beyone what ryantroop is commenting about.

rproffitt 2,701 https://5calls.org Moderator

There's probable a Reddit for that. -> https://www.reddit.com/r/androidapps/comments/627zrl/can_you_guys_advice_me_a_good_ebook_reader/

I tried Lithium and didn't see and adverts.

rproffitt 2,701 https://5calls.org Moderator

So that just changes my search to multiple operator precedence calculator in c++ windows source or
https://www.google.com/search?q=multiple+operator+precedence+calculator+in+c%2B%2B+windows+source

The first hit is interesting since it writes "uses the same operator precedence and associativity as the C++ programming language" which has that going for it.

rproffitt 2,701 https://5calls.org Moderator

Be aware this is a well done app. https://www.google.com/search?q=windows+c%2B%2B+calculator+source+code finds both source and tutorials.

rproffitt 2,701 https://5calls.org Moderator

https://www.phoronix.com/scan.php?page=article&item=ryzen-linux-10way&num=7 seems to be a recent benchmark of Linux on Ryzen and Threadrippers.

There are (today) three Intel builds at PCMR.

rproffitt 2,701 https://5calls.org Moderator

Something else would still have me update the BIOS then setup BIOS and then the OS. This isn't really a new thing but with Ryzens the BIOS can matter. It's a minor bit of work that I always get done before I commit to using it long term (regardless of CPU choice.)

rproffitt 2,701 https://5calls.org Moderator

Sure. Here's a google so you can pick which you like best.
https://www.google.com/search?q=windows+10+reset

rproffitt 2,701 https://5calls.org Moderator

I have to go with "I wouldn't do that." If I were to pick only boards with more than the usual 4 or so ports my choices get slim or expensive.

Most folk pick a CPU then the board to support the CPU choice. I don't know the goals but that many drives doesn't mean more CPU power. Nod to "Amdahl tried to quantify the characteristics of a well balanced computer in three “laws”."

In your case you elected to find 8 or more SATA ports so you find those then see where the chips fall.

Have you seen this video about coin mining using dozens of drives?
Watch https://www.youtube.com/watch?v=nJ4ea5NNqcg
Off topic but there are machines for holding dozens of drives today.

rproffitt 2,701 https://5calls.org Moderator

OK, here's the deep dive on how all this works. Keep this link handy as I bet you'll have to go back from time to time.

https://medium.com/@damko/a-simple-humble-but-comprehensive-guide-to-xkb-for-linux-6f1ad5e13450

I'd start small with just one change for the key you want to alter or add, then fix the rest one by one.

rproffitt 2,701 https://5calls.org Moderator

You had me till that many SATA ports. I think you should use some PCIe board for more ports if need be.

About shopping boards, the socket changes with your CPU selection (most of the time)

USB 3 ports so far support all my USB 1.x and 2.x devices.

If I were to build today I would not create a new combination. I'd steal designs from PCMR at https://www.reddit.com/r/PCMasterRace/wiki/builds

rproffitt 2,701 https://5calls.org Moderator

Hi Lewashby, I was pleasantly surprised a while back that I could plug in two keyboards via USB and both worked. Sitll had to select a keyboard layout but hey, progress.

To edit the existing keyboard layout I think we'll have to get into the exact OS in use. But I'm sure folk have written much on editing layouts or creating one from new (which I think would be a pain.)

Maybe you could use some old fashioned idea like a macro for the hard to get to characters?

rproffitt 2,701 https://5calls.org Moderator

@divinity02. "Best" is achieved by stating what is best. The above fails one of the criteria of user login systems on a very basic item. Since you are asking for best but didn't detail what best is, I think you have changed your question from your first post to something else.

It's an assignment so for this round you are under the gun to get anything that works. My view is that if this is what is being taught today then you see the genesis of why we see so many data breaches today. Folk are being taught an incorrect system and unlearning is harding than learning.

jkon commented: First achieve sufficiency and then ask about “best” +9
rproffitt 2,701 https://5calls.org Moderator

@Sajid_10. I see lots of help but I fear you want others to write your code for you.

If you want folk to write code for you then post this as a For Hire post and state the rates or use sites like https://www.freelancer.com/work/software-projects-bidding-web-sites/1/

Here you get help where you are stuck on your code. (Again, "your code.") Folk here help when you are stuck at "My code failed at line 20 with this error and I can't find what I did wrong. Ideas?"

Also read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question