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

The thing is, here's the thing. https://en.wikipedia.org/wiki/Pseudocode tells me that for each target language, the format of the psuedocode changes.

HOWEVER for what you wrote, and the tag is "problem" I think what you posted is indeed a form of psuedocode. You could hand that to a few year in the making programmer, tell them the target system (not language today, long story) and they could write your app. So in my mind you have psuedocode.

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

That's what I call a design question. That is, I don't know which design you used but to make it chat across the web you need a server that arbitrates and forwards to the other clients. WIthout that you can't sling a message directly across the web through a router and to that client.

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

Sorry not really. But a long time ago I used some neurons about something else. That registry entry may be specific to the sound card or device in each PC. This means unless you field identical hardware across the fleet, my bet is this will be inconsistant.

I'm finding PC vendors to no longer be more than a packager of goods. If you find a bug in a driver, there's a high probability it may never get fixed. This also means the PC maker often does not have access to source so no one can (dumpster?) dive into the code to see what they do in the registry.

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

Oh dear. Is that the Scanner Java Class or another scanner?

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

Line 9 is not doing what you think. The compiler would complete the OR before doing the comparison. So that's a complete miss.

You should rewrite that to check each name on it's one or try the old is this string in that string (contains.)
example:

if ("Peter John".find(name) != string::npos) {
//.. found.
} 

Alter to fix or to taste.

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

Per your picture it looks like you want to scale a polygon.

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

You tagged this with THREE languages. I have to lead with you know how to use the 3 shells (Demolition Man.)

So while that's a little misleading not one of those languages directly treats a polygon as an object so you have to step back and think about how you would do this as a Human. Now that you can do that on your own, you "port" from Human (some call that Psuedocode) to code in the computer language of your choice.

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

The C Language as in what is in the K&R book isn't too hard to read and practice what's there.

It's when you go beyond what's in that book at move to real apps today that frankly I'm not using C except for embedded work and some legacy apps I wrote in 2000 to present day. All new stuff is not "C."

Tutorials and such are rather plentiful but I fear outside of embedded work or maybe drivers you may want to head to learn other languages.

Then again, I find folk that can write code but can't design an app.

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

Let's change that word scrape to parse. I see that if I do that I can research like this: https://www.google.com/search?q=parsing+html+in+vb.net

Parsing is something we get taught almost from the beginning in programming classes. So you already scraped the HTML and now you need to parse it.

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

I'm going with don't do this. To get your app into the Google store, such a move may trip up the code analyzers or at worst get you banned.

I'd focus on your app quality before this worry.

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

Nothing stands out. I'd just compile it. Try http://pypy.org/

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

The thing is, conversion is one thing, efficient is another. And then you have this: https://www.google.com/search?q=python+cs+c%2B%2B+speed

I can't guess why the move to Python, that's not revealed yet. I know folk learn it as they are new to programming and it has some attraction for ease of learning.

My bet is the overall speed should be slower. Why has been the topic for years so I'll forgo that.

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

That's not python. I dumped it into http://pythonfiddle.com/pysomething and it looks like you have a lot of work ahead.

You didn't post much detail. Just a post title and code. Don't be shy. If you want members to write your code, just ask. But read this first.
https://www.daniweb.com/programming/web-development/threads/435023/read-this-before-posting-a-question

While I port code I have two methods I've used over the years. One is to line by line, the other is consider what it did and then code anew to give the same result or what I feel I need it to do.

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

Let's say you have the XML file. Why all that code when you just want to parse out the url in question?

That is, I've found MSFT XML to blow up on me so when I go to production now I either don't use it or publish it with warnings.

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

@Dani, I'm going to ask a few I know to try joining and doing a test post here and there. Just in case.

And thanks again for not telling me I was crazy about my login issues. It's working now but I wonder if the sign up and login has lead to silence. We can't know since many, when faced with trouble like I had may just think the site went down.

I'll ask a few I know to try joining and logging in.

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

OK, I'll ask you directly. Are you using https or not?

I think the secure http discussion ship sailed a few years back but I guess we can go over that again.

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

I think I want to ask you why do all that if you are on a https connection. Yes, we know that certain governments have cracked https but for the rest of us it's good enough. Unless you want to launch yet another https "is it secure" discussion.

Maybe you are overthinking this?

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

I see no code so I'll offer this.

VB has an event called "onchange" or similar that you can hang your code to fire (run) when a cell changes value.
This is not an offer to write your code or tutor vb.net.

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

Here's how I work with modems and other things on serial ports.

FIRST I use a terminal program and document what I do as the Human step by step.
SECOND I sketch out my new app.
THIRD I meet with my stakeholders and see if they buy in.
FOURTH Coding begins.

I think you skipped step 1.

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

I will add this. The Move To SD Card button comes and goes as you change Android and machines. It's not a sure thing. And right not, at the office if I pick up a dozen Android devices I get a dozen different experiences. Android has this fragmentation issue and as such is a bit of a plaid piece of cake. That is, folk at first expect those that know Android to give a straight answer but for the SD Card it's depends on what piece of cake you have or how you cut it.

I find some get infuriated over this. Here I've been using and later programming on Android for years so while I see it, I only wish it had been keep a little more under control.

I could write why the move to SD card went away and came but but that's in prior discussions. It won't fix an Android that doesn't have ti.

So my advice is keep learning and change apps to use the SD card where you can and look for the Move To SD Card button.

I don't have that issue here since I don't install many apps today. So many apps have ADVERTISING and kill battery time due to how that calls for a network data transfer quite often so that was the end of many apps for me. Luckily if I wanted an app badly I might write it.

Hope this clarifies what a mess this is.

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

That booming varies where you are in the world. I've seen Java be big in one city and C++ be the thing in Redmond, WA, USA.

So there is no one language to learn. You need the skill to solve problems, design a system and use many languages.

For example my last system used C++, MySQL, HTML, XML as well as some serial port protocols. Then I was on my next project working an old system with plain C. The next month was some legacy VB6.

I don't think you can get by with just this and that today.

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

If I delete (archive) my inbox when I go to the Inbox it opens the all my conversations which is pages long.

This is as much fun as the three shells in Demolition Man.

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

Try it now and for the next hour. I'll be sure to have a web browser open to DW.

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

To develop such a system takes years of learning not only the languages and tools but basic design skills. That is, you design in your head on paper what you want the system to do and look like.

It's your design so no one here may do that step. Also, it's odd to call out right click. That's sort of a PC thing. If you want a full on GUI make a web site without coding, I might stick to click and drag then drop since we want to include the Apple gang.

Along the way you'll likely want to have your own web server farm to get early control of the backup that runs this service. That alone may take some thinking time since later you may want to host it on some cloud web service hosting system.

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

https://en.wikipedia.org/wiki/Conio.h tells us this is something from many decades ago. It's no longer used in most compilers and certainly nothing I've seen in the past decade.

If you have a need to use old functions like that, you may want to reasearch replacements for the compiler you choose.

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

I think this was summed up at http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_install/difference-between-windows-7-product-key-and/9de1d99c-f5e4-41e2-9c7b-6b81e39b5b97?auth=1

Product Keys and Product IDs are two completely different things,

despite the similarity of the terms.
The 20 character Product ID is created during the installation
process and is prominently displayed towards the bottom (in the
Activation section) on the opening panel window resulting from
right-clicking the Computer icon and selecting "Properties" from the
context menu. It is used to obtain/qualify for technical support
(limited though that may be) from Microsoft; it is of no use during the
installation process.
The 25 character Product Key is used to "prove" ownership of a
legitimate license and is required to perform the installation, and is
either stored on the DVD packaging on a sticker that says "Do not lose
this number," or is on a Certificate of Authenticity (CoA) label affixed
to an OEM computer.

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

Since you didn't list what you tried, it's tough to add a new idea except to take it into the shop you deal with for such work.

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

Looks like it's time to contact the author to report a bug. Let me share that for our Android work we stick to Android Studio.

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

Hi lewashby.

The thing is that Android memory spaces have been discussed for so long that I take it you are not going to read from the past.

So, check out if any apps show a move to sd card button and move what you can. I am NOT a fan of hacks that move apps to cards and such because folk bring me their busted Android phones over such use.

As to the howtogeek, not all of those work. I'm sticking to stock Android methods for now. That is, if I want to move a few apps, then I do that, but I will in an instant tell my photo app to use the SD card to store pictures.

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

This looks like what you started at https://www.daniweb.com/programming/threads/505842/how-to-concatenate-the-characters-read-from-a-file-with-fgetc

The reply there is spot on. That is you don't have any code to identify number, words as well as didn't specify what is an identifier.

I'd stick with your first post until you solve it.

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

OK, I read this a few times and can guess the query is in PHP. But to get that table output you have to reveal how you will view the result. It might be this is the backend of a server and the viewer is a browser, but that's not told.

ASCII text would not normally have the needed lines and colors. Maybe a few decades ago you could use ANSI on a terminal but that's very rare.

I think you need to complete the picture. That is, reveal what's viewing this ouput.

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

Read https://www.daniweb.com/programming/web-development/threads/435023/read-this-before-posting-a-question again. Your post is too short and if I were to guess you are asking for folk to write this for you or maybe you lost your books on the said products.

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

Tell more. For example some models do not beep but hold in reset when the CMOS battery is too low.

Tell more. As a PC Tech I expect you to have a Volt meter at the very least to measure and check things. If not, just pop in new batteries as they are cheap in bulk.

And again, tell more. I see nothing about the PC and why you replaced the PSU. Did you measure it? What told you to replace that part?

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

@lewashby, why I noted it was so you could test is it's a space in the filename issue. Also can you reveal how many entries are in the root folder? I'm not there to check basics so I ask.

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

And what you shared has no spaces in any folder or file name. I wonder.

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

This sounds like you want to share this array. Here's the docs for NumPy about shared arrays.

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

I looked up that bulldozer and it looks outdated, years old. I think you need to head to https://kivy.org/#home and see what they suggest for setup and what to use to make Android apps.

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

I'm going with no. And it's for the reason I noted. So many use that avenue to spam and the few times I did click it was spam instead of the article or topic they claimed it to be.

If you spam or mis-represent then folk bounce. It's that simple.

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

Malwarebytes should be offering removal. I did find some that scan but didn't remove items found. Be sure to remove if the tool offers or has a removal tool.

-> And here's a thing. Some items you must take care of on your own. For example if the home page is set to a bad place, no scanners change that. You must do that on your own. There have been users that don't get this and are looking for scanners that fix it for them.

If the set of tools and your work can't get it gone, sign up for bleepingcomputer.com, read their rules then post as they ask you to. It's a bit of a wait but there are so many that need help. It's a specialized site for such work.

Finally, you can reset a browser to toss out add ons. I don't want to be Captain Obvious and tell you to google "How to reset Chrome."

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

Tell me more. I had a rough time with some beginner when they filled to root folder of their FAT32 card. Maybe it's something basic?
(tell me how many files in the root.)

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

Here I am on Chrome Version 52.0.2743.116 m (64-bit)

As to the DNS I'm using 8.8.4.4
And the only plug-ins on this machine are Web Of Trust and Adblock+
The ISP is TWC in SoCal, USA
The router is a stock TP-Link AC1900 Wireless Wi-Fi Dual Band Gigabit Router (Archer C9) with current firmware.
Connection at the moment is WiFi.

The laptop is some Asus Windows 10 factory installed system and that's about it. Chrome's just fine here.

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

Your website's bounce rate is a metric that indicates the percentage of people who land on one of your web pages and then leave without clicking to anywhere else on your website -- in other words, single-page visitors.

The most common bounce I see is when you click on a link and it turns out to be a spam link. If you are posting links and they are irrelevant then I bounce.

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

Your code can fail. Why not use sizeof()? It's standard and while I can't guess why your setup doesn't have uint16_t and I can't find what compiler you are using (hint!) there is a standard way to check.

AssertNull commented: One of these days I'll start making my posts as short and to the point as yours. +5
rproffitt 2,701 https://5calls.org Moderator

This sounds like a standard HTML feature. Read http://www.w3schools.com/jsref/event_onmouseover.asp

There are many examples on jsfiddle. https://jsfiddle.net/lannymcnie/abyCW/

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

Frankly I would go get TESSERACT and learn how to use that. I recall it's open source if you wish to dive into this but for me I rarely encounter folk that will spend the years needed to work OCR at the source level or beat TESSERACT OCR.

Just in case your search foo is weak, it's over at https://github.com/tesseract-ocr

Open source, many languages and I've used it.

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

Keep in mind you posted 100 lines of code but didn't point out the line that failed.

However, if you know it fails on empty cells, add code to handle that. As this is your first post, be sure to read the sticky about making a good post at https://www.daniweb.com/programming/web-development/threads/435023/read-this-before-posting-a-question

Tell us which line number fails if you want to drill down on that line.

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

And the code agrees it should be zero. I take it there's more code but I respect your need to keep it under wraps.

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

To check if this is empty, look at the Count. It's noted at https://msdn.microsoft.com/en-us/library/system.net.cookiecontainer(v=vs.110).aspx along with other properties, methods and more.

Just in case you didn't know. A new object should have a count of zero (that's after line 1.)

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

Time to make new logs of what's up. Be sure to remove lines that are common to such logs to not be distracted by DEPRACTED items.

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

This could be where I'd use the sizeof() function instead. You may find int or integer could be 2 or 4 bytes today.