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

Wait, did you just ask how to get all 1.86 Billion Facebook user info? Can you rephrase the question?

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

@L So you are telling me the example at developers.google.com example now fails?

Added with edit: A JS Fiddle would be best.

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

@L I worry they broke it again. Did you try an example from say https://developers.google.com/web/updates/2016/12/position-sticky ?

If google's own example fails, it's broke again.

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

Following RJ's comment see tip #7 at http://www.dotnetcurry.com/windows-forms/132/csharp-datagridview-winforms-tutorial

Has both C# and vb.net examples.

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

Your choice. Now that I know you haven't completed eiither I hope you'll research the on change event and code that to do what you want.

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

You forgot a lot when you made this post. For example, not one question was found. So it's anyone's guess what your question or need is here. If you were in a hurry and hoping for someone to write your code for you, you didn't write or ask for that either.

Before you reply, be sure to read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

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

That's not the real problem. For VB, you could write an on change event handler that you sum it up and change the text box value as you wish. I often find folk struggling with this if they didn't complete a programming course or finish a book on programming in vb.net.

Answer: Use an on change event handler.

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

@NA. Actually you show your code so far and where you are stuck. Here's how this works, read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

Maybe there are forums that hand out code, here folk try to help you understand and overcome where you are stuck resulting you you becoming a better designer and coder.

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

That's not good but does seem to agree with our findings so far. If there are disk or file system issues, the updates can do odd things like hang, change the video to some odd mode and so on.

Time to clone that HDD to a good HDD.

The CHKDSK should run at boot time. Did it?

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

Not to make it sound bad on your part. "Typical" overreaching antivirus suites.

That is, raise shields, don't pop up and ask if it's OK for the mail app to connect to where with what protocol, IP, port number etc.

I think this is the dumbing down of apps today. Don't scare the users with technical terms. Be silent and just fail.

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

Now it's starting to sound like the overreaching antivirus suite. I can't fix that. You or the antivirus folk have to tell you.

Again, no mention of the mail server so I can't check if the telnet check should work. I have to leave you to know this.

The final error message on your reply could be correct on both machines (as in fail) if the email server is imap or the DNS didn't resolve the server to an IP address.

Did you ping the server to see if the name resolved? Does the ping work the same on both machines?

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

So the question is:

How do I convert from a unix date code to MM-DD-YYYY?

For PHP we have these functions:
See Conversions at http://avilpage.com/2014/11/python-unix-timestamp-utc-and-their.html
http://php.net/manual/en/function.strtotime.php

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

So this fails on both?

Anyhow, since you didn't share the email server or host I can't doublecheck or supply how it should work or if there might be a DNS issue.

DNS? Did you try it with the DNS you use? Or the Google DNS of 8.8.8.8?

Remember I might assume you know that telnet test is for SMTP and not IMAP servers. That was noted in the articles I read from my link.

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

Any progress? Maybe the non-rotated version would let me see something else?

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

I just ran into this and it turned out to be the owner's choice of AntiVirus Suite. Some are overreaching IMO.

Other reasons are trojans, DNS hijackers and such.

That aside, try the old telnet test. Example: https://www.google.com/search?q=test+email+with+telnet

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

I apologize a little here. I was under the impression that this is your code. Folk seem to be finding scripts and then asking for others to fix them. Something of a pattern developing in many forums.

Anyhow, I do see something wrong with the line I called out. The owner of this code or the person that uses it will have to find where the variable/string is created. It's not in the supplied code unless I missed it.

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

I can not assure you this will fix it. But luck finally landed such a laptop in my hands to figure out.

What was it? It wasn't the updates. Turns out the HDD needed the following command. I won't write at length what it does, in fact nothing but why I ran it.

CHKDSK C: /F /R /X

The reason was that during boot it had the usual disks needed to be checked, press a key to bypass but it would try and fail. So I took the time to run the command, reboot and the video and updates finished and all is well.

GOOD LUCK. REMEMBER I DID NOT CLAIM THIS WILL FIX YOURS BUT IT'S PAID OFF MORE THAN ONCE SINCE I FOUND A FIX FOR THE ONE SOMEONE BROUGHT TO ME.

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

Still didn't find where $sql is created so that means in your first 43 line code passage at line 28 appears and reads to me that the value/variable/string is non-existant.

Try again. I must have missed where you created $sql and gave it meaning and value.

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

I'm looking at the full code of 43 lines and on line 28, why would that work? I don't see where $sql was created so it looks to be an emptry string to me. Explain that one.

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

How did you research this question?

Why I ask is that I'm encountering folk that get upset at using google or taking classes on programming and web creation classes.

A few more think or write "just tell me what I need to know." These folk think that a subject could be covered in one paragraph. Which is true if you tell them google it. They usually melt down to reply it as unhelpful.

So let's hear from you what research you are doing as well as if you were in a school that forbade use of google and wikipedia.

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

I don't see your work to date on this issue. Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question so we can get going.

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

You left out a fine detail. How many rows are there?

Most SQL implementations LIMIT the return set size to so many number of rows. You can override this in your query by the LIMIT option.

PS. Added with edit. You can see the LIMIT in use in the docs at http://php.net/manual/en/mysqli-result.fetch-array.php

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

Maybe I need to see the normal animation? Both examples looked to do the same thing here.

As to why a rotated animation would slow, have you written graphics fill code? To draw a straight line is pretty trivial. Rotate and the math kicks in with sin(), cos(), etc and a performance hit.

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

@Addvantum. Don't be disengenious. Your profile and other post tell us you are into sales or support of these products. You could get called out for possible shilling.

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

With your last reply I get the feeling you are creating form after form after form. That's working very hard in my opinion.

I have this app (not web based) and the form is data driven. Depending on what is feed the form, the form morphs to a new dynamic form. If I were to guess if we created each form on its own we would be over a 1,000 forms. I can see why folk would buckly under the strain.

Is your team seasoned and into data driven systems design? Sometimes the team is just a bunch of folk with grand ideas but no background of system design or coding. That's not a bad thing, but eventually you need a programmer/system designer.

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

I'm on W10 but I didn't see any diff from Firefox on either script. Also looked same on Opera. Maybe it's just not obvious what to look for?

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

Time to hit the documentation?

Do you see where to add your .abc to where in the docs at https://redmine.lighttpd.net/projects/1/wiki/TutorialConfiguration

I can't tell you this as I want to know if you understand the basics. You must figure this out since you're going to have to run this non-standard setup.

Frankly, don't do this. No good reason given so far but as an exercise, you get to dive into the docs of lighttpd and next maybe some PHP config.

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

It also works there. Your web server calls the scripts so you configure your site to use the new extension. This is not a PHP issue at all.

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

Tried it on Firefox 57.0.3. Didn't see any difference. Same result on Opera.

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

Why not? Example:

<?php
 echo 'hello world!';
?>

save it as hello.abc then run it like this.
php hello.abc

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

You posted as if this is a job for hire. Please read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

I also worry you left out a requirement as usually the app/program/code will ask for the first n positive integers.

No matter, I bet this has been written in over 20 languages. Let's find out.
Category: Primes -> https://rosettacode.org/wiki/Category:Prime_Numbers
Classic solutions: -> https://rosettacode.org/wiki/Sieve_of_Eratosthenes

There you go. 130 different languages.

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

Just noticed a double backslash in your last line 1. Why is that there?

PS. https://msdn.microsoft.com/en-us/library/windows/desktop/ms684175(v=vs.85).aspx shows how to use.

Notes:

  1. The filename looks to be case sensitive.
  2. The backslash is a single as in the examples.
rproffitt 2,701 https://5calls.org Moderator

Why was that L there? I've never seen that? Didn't the compiler bark at you?

Also, now that we know a bit more about what you are trying to build. Back to https://github.com/xmrig/xmrig/wiki/Windows-Build

If the build instructions fail, ask them why or how to fix.

PS. I wish folk would share when they are trying to build apps from github.

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

Help me out here. What is the letter "L" doing in the () of line 11?

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

I wonder about that L in the () line 11. Also, just call out the full path since well, may as well try it. Of course if there are permission issues or the dll is bum, none of this applies.

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

Your post reminded me of an old saying.

A painter doesn't blame the brush

The front end is as you make or design it. If you are good with a brush, you get good results. If you are excellent with a spray can, you get excellent results. The tool rarely matters.

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

Same thoughts plus one. IRL or in real life we rarely write the entire thing in assembler. That's only done in homework. At the office we get a C compiler now to make the project maintainable for decades. Also, it's more cost effective.

The second new thought is to pull apart the problem to this, that and the other thing. Divide and conquer. As this is some MIPS board (I'm guessing as you didn't reveal) the output and such and the code only exists in that system. No one ever created a unified system where you write Mips and all those that follow the discussion know what to code to produce input and output.

That's why this is going to be something you have to create. My advice is to work the problem in small steps.

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

Line 11 looks odd to me. Are you sure about what's in the ()? Did you check if the dll exists?

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

I hit your link and the title is "Go From Big Data to Data Scientist in Just Three Days at Boston University" which is either an bad advert of the subject of your web page. I immediately closed it and thought, I wonder what Kann was thinking when they made this page?

As to viral content, the same old system and people are in charge. Let's consider Facebook which has engaged in social engineering experiments. You are their pawn. You are being fed what they want.

More at https://techcrunch.com/2017/09/30/thinking-about-the-social-cost-of-technology/?ncid=rss&utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Techcrunch+%28TechCrunch%29

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

Hi @A.

Let's start with how this forum works. Unless you are hiring and paying which you can tell the forum up front when you post. It's time to read the following.

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

After you read that, you'll know how this place works.

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

@stultuske, good point. Just recently our office picked up on a development project and they were worrying about decompilers so they were expending time (which is money) on that area. They were taken aback that we don't bother with obfuscation at all. Our focus and energy is strictly applied to the app's problems and resolution. If they want obfuscation, we were pretty blunt that their intern could handle that but we don't bother at all.

Mind you we deal with apps that are specialized and of no interest to hackers or just about anyone else.

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

Sorry, I've yet to see perfect code. But I did try to share why your system is broken in both a missing line plus why it's a bad idea to store passwords.

I can only guess you didn't check the example in the PHP document link I shared.

rproffitt 2,701 https://5calls.org Moderator
  1. For starters are you sure you can break lines 11 and 12?
  2. Where is the OCI execute?
    Example at http://php.net/manual/en/function.oci-fetch-array.php

  3. How are you going to avoid breaking one of the cardinal rules about passwords?

It's rather scary what I see folk code today.

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

This looks to have the same bad design I noted at https://www.daniweb.com/programming/threads/511090/login

As I read from https://www.google.com/search?q=php+login+hash+salt+example it appears you are re-creating a wheel. That is, look how it's done already. Save your creative juices for the real work.

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

I see on line 15 a basic flaw. You are storing passwords which is a big no no.
Read why at https://www.google.com/search?q=Never+store+passwords+in+a+database

What should you do? Store a hashed, salted version and compare that to the user's hashed, salted result. There are so many priors in PHP that I get the feeling you are not researching.

Research this area and never ever implement what you have above. It's just not done.

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

ALARMS! Line 19 shows a common gaffe in login and registration systems. Here's the rule.

Never store passwords in a database.

It's just not done. If this is for your school project, I'd mark it down for this. I can't write what a bad idea this is.
Here's how you can research how to do it right.
https://www.google.com/search?q=never+store+passwords+in+a+database

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

PS. I forget at times folks don't know the words to do research with. Here's the search I used showing it's all been done many times in many different ways.

https://www.google.com/search?q=integrating+payment+systems+in+Windows+application

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

You wrote what you want, so now it's time for you to add the button, code and use any of the methods kicked around before.

In other words, take your wants and start coding, using what folk have written about in the past.