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

I'd use https://www.phpmydirectory.com/support.html because, that's their answer for support.

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

It appears there is no association for .PDF so Windows will use Edge.

From the web, and it looks correct (I use a different viewer/editor):
"C:>assoc .pdf
.pdf=AcroExch.Document"

https://answers.microsoft.com/en-us/windows/forum/all/assoc-command-has-no-effect-for-pdf-extension/3456b282-3eac-46dd-a5e2-8f3d7b965439 notes where in the registry this association exists in case you want to forcibly remove the association before you make a new on.

Given ASSOC and FTYPE output, it should use Edge.

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

You seem to be using the Comment feature instead of replying. Look at the bottom of this page and see/use "Reply to this Topic"

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

Wait, what?

When you understand a problem, dont comment

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

Actually I do need to know the compiler and environment so I can see if we can handle the FPE exception. I double checked the link and it looks spot on for handling a divide by zero exception. However a new programmer may be unaware of error handling. It's a slightly advanced topic so when I bring it up, I like to share a link with working code.

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

@jephito. When the questions are unclear you can't answer it. Also, you didn't answer it.

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

So much omitted by you here. The compiler and environment is unknown but still there are known ways to handle divide by zero in C.
Read http://technopark02.blogspot.com/2005/10/handling-sigfpe.html for example.

As to your proposed solution, why not test those variables and not do the divide?

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

@J
At the very least the trust in this author is lost. And such actions are fodder for the anti-open source pundits to write "see, we told you it's not trustworthy."

Beyond that, there's the https://github.com/RIAEvangelist/peacenotwar module. Another way to possible break things.

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

This action could undermine the whole concept of open-source software. Putting the power back in the hands of Microsoft and Apple.

Given how this could damage the trust that we gave open-source I'm going to write that the price beyond the personal price is too high.

jwenting commented: Not really. It undermines the trust in that specific package and specifically it's mechanisms for vetting contributions. Not all of open source +0
rproffitt 2,701 https://5calls.org Moderator

In the past if you issued code that was outside the scope of the app, you would be banned from contributing to the code base.

I'll refrain from a long analysis here and say the contributor's rights should be lost.

pritaeas commented: Spot on! +0
rproffitt 2,701 https://5calls.org Moderator

I've worked on Android apps and on a team making Android apps and you are right that from one phone to another, it does change.

The only solution I can think of is going to challenge even the most advanced programmer. But hey, I'm going to agree you would have to clone the device. That is, you would capture its ROM and run that in some emulator. Then that emulator's display would be shared via some system.

-> I'm going to stop here and write this better be worth the pain since even the P40 Lite can vary from user to user if they rearrange the screen or skin their Android. And then the Android phone can update and then what version ROM/update do you run?

For now my advice is to set aside the exact emulation and go for any Android because you have so much else to develop. I also won't broach the systems already out there when we Google "android emulator on the web".

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

While quite the undertaking, such has prior tutorials. Here's how I find them:
https://www.google.com/search?q=xda+forums+how+to+build+os+for+android+site:forum.xda-developers.com

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

What? No questions? Also, you can post code using the <Code Block> button. There is no question here so it's anyone's guess what the issue is here.

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

At the very least do the usual SEO which has so many discussions already that I don't see any need to rehash that. DO ADD the missing information about you and your website to your profile so everyone here can see it and maybe make suggestions.

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

Today the servers are switching from hard disk to SSD along with the usual bumps in CPU and RAM. I can't tell from your post if you are using a cloud or self hosting but MySQL is fairly common and about speed. A lot of speed is about your database design and then the query(s). I decline from duplicating the web here but there's a lot to consider so I'll suggest you get a team member dedicated to the database design and using a modern system for hosting.

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

I lived in Canada for 8 years. We only had to go to the ICBC since we were in BC and ask. Our drivers license from the USA was good for many months as we navigated ICBC's requests and testing.

zimbayla commented: You could have just answered his question. You were out of topic +0
rproffitt 2,701 https://5calls.org Moderator

If you wanted reaction you may have achieved that. Maybe ask the questions, number them, end the question with the usual question mark next time.

I find that such a post works pretty well as long as it's not a lot of questions.

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

Thanks for clearing this up that you are hunting for a programmer, team member or other person. This is not a discussion about your idea or how to do such without a programmer. I re-read your top post and it wasn't clear that this is a job posting.

stratozyck commented: But I am a programmer too. Just seeing reaction. I will go elsewhere. +0
rproffitt 2,701 https://5calls.org Moderator

I've thought again about your discussion. Maybe you are looking for programmers here. I am likely wrong but hey, let's hear exactly what you are looking for.

stratozyck commented: Someone that gets it. Dont need a ton of work, someone that could do more if it grew. Thats it. +0
rproffitt 2,701 https://5calls.org Moderator

As to comment limits here, I use a reply when I need to write at length. However I see what you want so far as something you either dive in and pick Dani's reply with the usual year of work or go with WordPress and add the components you want.

HOWEVER, you may be blissfully unaware of the power of the dark side, err, WordPress.

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

https://www.php.net/manual/en/pdostatement.execute.php tells us this statement returns something of interest.

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

Why I thought you wanted the full product is simple. After decades of working in many capacities, when the client wants a prototype they want something where everything works. The more you work in this area, the more you understand the code or language the clients speak.

stratozyck commented: Cant explain more. Comment limits too much. Is there another option? +0
jwenting commented: correct. And most often they order a prototype, take that into production while canceling the full product, and then complain over and over again +16
rproffitt 2,701 https://5calls.org Moderator

Taking the cue from Dani, it appears you can advertise. https://meta.discourse.org/t/official-advertising-ad-plugin-for-discourse/33734 for example.

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

Maybe you don't need programmers. Given the downsizing of the project why not a WordPress template? Examples are ready for you to see which comes close enough. Example search: https://www.google.com/search?&q=Social+Media+WordPress+Themes

stratozyck commented: To generate rev, you must own the data. All I need is rough location of users and thats how you sell ads. With more data mining can do more. +0
rproffitt 2,701 https://5calls.org Moderator

@strato. Change the word duplicate to mimic, be like, similar, etc.

What apps have you created so far? Most that want to do such things misjudge the cost. As to cost, that's not just money but hours, years and how many developers and more they need.

stratozyck commented: I made a 4X TBS game engine and have two +0
rproffitt 2,701 https://5calls.org Moderator

I still encounter people that want to duplicate Facebook, Reddit, Microsoft Windows and other things. All are oblivious to the effort and cost to do this. Let me be clear here, they want to duplicate what all these have today, not what they were at launch.

Unsure whether to nod and move on or to tell them the truth.

stratozyck commented: Everything starts as a seed. Nothing starts as full Windows +0
rproffitt 2,701 https://5calls.org Moderator

My take is that folk want to re-create what Reddit or Quora is TODAY. What they started with is possible with a small crew but to duplicate what they have today? Millions.

Also, folk like Mark Weinstein have to try and try again. If you look at his history, crash and burn more than a few times.

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

Given you are creating your own up/downloader all I can offer is that Mediafire looks like a dead end as well, reasons.

I see from your other discussion you were trying the single line of PHP to send the file and that fails for the reasons Dani and maybe others noted.

So what to do but write your own up/downloader. It will have to read and send in chunks like we see at https://www.tutorialspoint.com/how-to-download-large-files-through-php-script Sorry but I can't write this for you.

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

@jawas, I'd like to see an example of what you claim. Here I am with USB Barcode Scanners such as we see at https://www.amazon.com/Barcode-Scanner/s?k=Barcode+Scanner and not one has a google or microsoft connection. The barcode is read by these as you pull the trigger and the output (most if not all) arrives as if someone typed the contents into a keyboard.

Very simple to support in almost any app or web page.

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

I've read such before and the person who asks is usually unaware that such projects are huge. So much so there are usually dozens of programmers working the project. For what you are asking the day when a lone programmer would create a Facebook or Reddit are long gone. Unless you pare down the project to what we could expect from one person.

Reddit is currently and mostly written in Python using and this is from memory the Pylons framework. Beyond that there is a lot of cloud resources along with many other assets such as graphics and so on.

You may want to do more research into the scale of this project you are proposing.

stratozyck commented: Why do you think I am trying to make a full FB or reddit. Keyword: prototype. +0
rproffitt 2,701 https://5calls.org Moderator

All the sites I've seen use Mediafire supply a link to the file and we end up on the Mediafire site to complete the download. Why this is, is likely because Mediafire is ad supported and more. I'm guessing you want to bypass all that and hide the URL of the actual download. But I could be wrong.

Also, when I tried the URL from line 14 Mediafire coughed up errors. Such as "This file is currently set to private." so not only do you have to research if what you are asking is possible but would have to login to Mediafire via PHP or such.

In other words, Mediafire for what I'm guessing you are trying to do looks like a dead end. But if you want to present a page with the download link, Mediafire is fine here.

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

I've read your comment and can't see what's stopping you. For us the USB barcode scanner was just like someone typing at the keyboard. Since it works like that, your app would be no different than any other app that has a text box that someone typed into. And storing that to SQL, well, so many examples that I won't think that's the problem.

My bet is you don't have the hardware so it's all a mystery right now.

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

See your other question.

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

Small world. I added bar code support to our apps long ago. The work wasn't all that hard. That is we picked up a few USB Bar Code readers which for all intent look like keyboard input. Then I printed out a few barcodes along with what the client provided. In the end the code didn't really change that much from working with the human typing on the keyboard.

Later as I shared with others my experience I would find in most cases the programmer didn't have the barcode scanner. Without the scanner they were essentially lost in a basement with no light.

pkmilton31 commented: how to barcode scanner in xamarin.form and connect sql server DataBase +0
rproffitt 2,701 https://5calls.org Moderator

Why is the letter r in the line with pd.read_file()?

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

For Mr.M. Now that you have the idea down pat what about ORDER? Maybe the ORDER can pop the row you want to the top. I don't see enough code and table information so I could be very far off base or my rocker.

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

Without seeing your code this will be a possibly bad guess. I'd review my SQL and look at either the UNIQUE or LIMIT 1 options.

lukwagomedia commented: Thank you for the tip! +1
rproffitt 2,701 https://5calls.org Moderator

I don't see any error message from that by you. So I'll guess that line 36 is where it fails.
Remember that without error messages this is only a guess. Try the ideas at https://stackoverflow.com/questions/11786734/php-readfile-and-large-files

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

Did you figure it out? I see your comments in the emails that DANIWEB sends out.

Jeph_1 commented: I was able to fix it myself. Thanks +0
rproffitt 2,701 https://5calls.org Moderator

How can someone write about foreign keys, relational databases and not have been exposed to SQL?

My advice is to spend the time on the usual PHP MySQL Tutorials and get up to speed over the next month.

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

What mistake is there? You haven't told us why you write in C and test the compiler's assembly output. No one I know has done this.

If there is a test that wasn't done, maybe it's the lone IF test on line 14? I'm really stretching here that there is no code to handle when there is no true result to line 14. That does not mean it's bad code!

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

You'll need to tell me what you tried.

As an example make any character a match I could break checkch() like this:

# checkch is a function which just says yes.

checkch:
yes:    li $v0,1
        jr $ra
rproffitt 2,701 https://5calls.org Moderator

I've been programming since the 1970's and never heard of MIPSMARK so I leave it to you to tell the story. Also how I can see what book this assignment came from. I've written code for dozens of micros over the years so let me share that automatic code checkers are not infallible. Maybe MIPSMARK is some new AI grading app? You may want to discuss this one with the professor if the code works but the AI is complaining.

Schol-R-LEA commented: I've never heard of it either, but apparently it has been around since 1998. Go figure. +15
rproffitt 2,701 https://5calls.org Moderator

I was left guessing here. That is, you didn't explain why we use MIPSMARK and more. Maybe this is some homework that I'd have to know which course and the book chapter or assignment to get a clear picture but as presented I don't see how I can pass this MIPSMARK test.

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

This one is simple as checkch tells us you only consider aeiou to be characters. If you want to include all characters you don't need to call checkch at all.

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

As more years pass, the less I remember of VB6 and database work. You may have to outsource this one if research fails you. Try Upwork.com.

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

Please add a tag indicating which computer language this is.

I'll take it as Python but missing the right parens on a few lines.
You didn't supply what output was expected so I'll pause here.

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

I don't think it ever went away as I read https://en.wikipedia.org/wiki/Structured_programming

rproffitt 2,701 https://5calls.org Moderator
dnBunnie commented: ftype gives these results +2
rproffitt 2,701 https://5calls.org Moderator

OK, let's check something else. Do you use a Microsoft EMAIL LOGIN?

I purposed don't use that because reasons.