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

8

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

7

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

6

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

5

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

4

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

Tried it here. Could not replicate it. Odd. Thought it might.
3

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

In short I use Android Studio. There are tutorials about it, examples and more on the web but what is this about coding on the Android tablet itself? My view is the current incarnation of Android tablets is all about being a consumption device. Creation is done elsewhere.

Are you running into folk that think they will code all the apps on their Android device?

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

So you want to consume web resources? (that question may make your head hurt.)

I'm thinking you can start with a search like this. https://www.google.com/#q=using+web+api+with+c%2B%2B

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

On a longer discussion the 21st post went to page 2. Yet I could not navigate to the 2nd page or get to the 21st post. Making another post fixed it but still it's something. Not an end of the world type bug. Hope you can replicate it.

First encountered it at https://www.daniweb.com/hardware-and-software/networking/threads/501690/cannot-connect-laptop-to-internet-via-dsl

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

@pritaseas. I clicked on the hamburger (the one that says Forum List) and didn't see a feedback forum. So I sent up a flag.

Seems if there is a discussion with 20 replies that fits on one page. the 21st reply is on page 2 and I couldn't get to it until I added another reply.

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

So how about 8 lines of VB.NET for your first screen saver?

Read https://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1239&lngWId=10

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

Bug? Can't seem to get to my last reply.

Ahh, so where there is one lone reply on Page 2, can't get to it! Add another reply and there it is.

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

i want a working java application with code.

For now you find interns or pay for such work. If this is for school, please watch the old film https://www.google.com/#q=dangerfield+back+to+school to see that more about paying others or having others do your homework.

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

@M The article is not all there is to know about home wiring. But your testing points to that issue. What I find is folk are often put off by it worked before and this works but that doesn't. They often need time to season.

As to the change in powerline networking, might help or get you to the same results you have now.

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

One more time. Back to the upstairs and if the setup works, my nod is to powerline phase issues. Yes the TV working doesn't help us here. It could be less picky as to drops.

Remember I can't know what phase each plug is on. Read "Q: Can TP-LINK powerline adapters work in different phases of three-phase circuit?" at http://www.tp-link.com/en/article-406.html

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

@M OK, that helps to tell me that the laptop works with this plug in this location.

Now we should be able to... But first, powerline networking does rely on the bridges to be on the same "side" or "phase" of the mains. That's all on the web but a clue was in your writing about burnt out sockets and repair of the house mains unless I misread that.

Next test. Now the laptop works at your spot, take the powerline bridge, Ethernet cable and Laptop and move towards the new location. This set works, don't break it up.

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

millz, so where is your .update() method and the doevents if need be? (see prior discussions.)

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

@M, whoa, stop. You wrote "I took the cable and Homeplug I use successfully with my Mac Mini and tried using them with the laptop but I still couldn't get internet so the Homeplugs and cables can't be at fault."

That's not what I would do to test. I would have taken the laptop to the Mac Mini area to unplug from the Mac Mini and try it on the laptop. It's probably that the new mains wiring could be playing a factor here but it's not clear to me that you did the needed test.

-> Also, what is this about the laptop never working on WiFi? Now it's starting to sound as if the laptop is broke.

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

@M "they've been tested."

How? Did you take the laptop to your working desktop area and plug the Ethernet that works with your desktop into this laptop?

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

Just in case, do any prior solutions like https://www.google.com/#q=change+label+text+vb.net work for you?

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

Here's another approach if the PDF is indeed image based and not charaters. There's this project I worked on last year and sorry if I can't share code on it but the ideas are open for re-use.

The scenario was to automate the storage and association of pictures taken on an assembly line.

This was quite a lot of fun to figure out so I'll share the highlights.
1. Pictures were taken with a mid 100 dollar point and shoot camera.
2. Transfer was automated using an EyeFi SD card. (Hey! Secret Sauce ingredient!)
3. The rules were simple for the end user.
a. First 2 shots were of items that clearly showed the work order tag (bar code and text.)
b. Pictures followed of product as the management wanted.
4. Now the work began as the application, all automated would process the images through:
a. PBMPLUS and NETPBM tools to create a B/W image for next step.
b. Run the image through TESSERACT OCR to output text files.
c. The application would sift through the text files looking for the work order number.
d. The pictures would be moved to the folder for the work order and logged in the application's log.

This was one heck of fun project as it pulled together ideas from many areas and leveraged open source code.

What I learned about how to get good Tesseract OCR output was nothing you'd learn in school. …

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

So while there are PDF addons to VB, if I was to do this I might use my old methods instead. My old way was to push the file (doesn't matter what format) through a command line app that outputs to plain text for me to scan with my code for the content I need.

So to google and try PDF2TXT.

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

This looks pretty close to good old ROT13. I see many code examples at https://www.google.com/#q=rot13+in+visual+basic that do string work close to what you are asking.

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

I didn't find anyone that got that to work. Try the AMD Athlon 64 X2 5050e next time. http://www.ebay.com/p/AMD-Athlon-X2-5050e-2-6-GHz-Dual-Core-ADH5050IADOBOX-Processor/74074946 pegs it at about 15 bucks.

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

Such a feat would be ground breaking. Something on the scale of a meteor impact site. Not only would you have to deal with getting all the files back into place but permissions and more. Then you have to deal with boot areas, NTLOADER issues and wow, just wow. This is probably why you haven't seen anyone pull this off. But let's hope you know to clone this drive and operate on the clone so you can try and try again and again. That is, you are off the reservation, 5 Kilometers in the air and no chute. I don't expect success in this effort.

After all these years, and don't get mad, why isn't there a backup made before big changes like this?

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

Are you thinking of one platform to rule them all?
Maybe Unity3D?

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

Small world. In a time not long ago I had to update firmware over serial ports so the design was in 2 parts.

  1. A master app to spawn the update app and issue commands to the update apps.
  2. The update app would get it's instructions on the update, make the connection and perform the update and then respond or send the done message back to the master app.

Since I had over a dozen serial ports this proved to leverage the most from the cores in the PC. You will find that a single thread in C# doesn't tap all the power (of the dark side.)

I'd re-use my old idea if I had your system to design.

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

@josh I think you are waiting for the one answer that cures it all. I see others have pitched in with it's time to start running it down. This isn't a new thing to me as I have run into computer owners that think there is an answer, if only someone will tell them.

I shared a thing that stood out and others have lists of things to start working on. At some point you begin working on it or like many just factory restore it. That works too.

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

There are priors about CPU skyrocketing over the HDD and of course that secure search.

I get the feeling you are hoping for someone to tell you "That's it" and have yet to change a thing. There are suspects but are you removing items from the suspect list?

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

Mozilla has documents on the setting. https://support.mozilla.org/en-US/questions/992338 looks OK.

Many file servers drop your connection if you ask for too many. So it's not a Linux or Firefox thing.

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

So you have Secure Search. https://malwaretips.com/blogs/avg-secure-search-virus-removal/ and other sites are unkind about that. That said many want more security at any cost. Here I use WOT (Web Of Trust) without the usual issues of AVG's Secure Search.

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

@m You just described your app's behavior. In psuedo code it's something like this.

The handler for the W keydown event would change some flag your event or loop that causes that look to stop.

So in the W keydown event handler something like:
' W key pressed
loopflag != loopflag; 'toggle true/false
if (loopflag) event.activate = true; 'tell the function/method to run.

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

Is this the famous? 2 USD keyboard? My thought is you need to take it as a lesson about cheap things and try another keyboard.

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

@jay. All cables I've used over the years have the laptop at one end and the printer at the other end. That's how things are today. I would be guessing that you meant something else like how it is more convenient to use the printers at the library?

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

@jay. Connecting printers via USB was the way for over a decade. Prior to that was decade+ of parallel and serial cables. WiFi is pretty new and I find folk screaming "not easy enough."

My answer is to go back to USB since it avoids having to deal with the router or WiFi AP.

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

How about the old (?) USB cable connection?

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

Just one. Is VB6's SP6 installed?

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

@josh. That 1TB wouldn't be a Seagate? Over the last few months, too many stories. Speccy lets you generate a report of what's in the machine.

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

Is cheating allowed? Such as Emscripten? It's been around for years like https://hacks.mozilla.org/2012/04/porting-me-my-shadow-to-the-web-c-to-javascriptcanvas-via-emscripten/

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

Trevor, share what you've done so far. Also, it seems that the result of random numbers will be random results so is this some odd homework?

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

It looks like your array is 5 in size. So you can put 0 to 4 in the reference and 5 is too much. Fix or cheat? Create a six element array?
I can't guess where you are in learning to code but my view is to understand arrays better. If it's a one off piece of code you are not submitting to review, just make it work.

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

Since it's random, how is the answer different from say your count 0-9 that adds up to 100,000,001 having a random set of numbers?

There is no correct answer so why run this millions of psuedo random sequences when the answer is random so we can head to the random answer?

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

OK, let's start with craps.c at http://www.cs.bu.edu/courses/Old/cs113/F97/roberts-source/PAC/03-Libraries-and-Interfaces/craps.c

What line of code needs explaining?

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

Here's what I'm seeing. Spammers love your question as they spam about their recovery and coverter kits. Ignore and if you can, downvote them. It's a blight on the forums you ask in like https://social.technet.microsoft.com/Forums/windowsserver/en-US/e26ba17a-9dae-43c8-8a0e-e015cf84d85a/exchange-disaster?forum=exchangesvrdeploylegacy

Same answers. Hope you aren't a shill.

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

Here's a thing. Outlook Express didn't come with Windows 7. You may have found a way to run it, but you are out on a limb in some tree in the desert. Without you backing up all the time you may get a hard knock when the limb breaks.

I know folk that love that old email system but my advice is to move to Thunderbird and never run on PCs without backups of what you can't lose.

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

Quick answer.

On line 30 I see integer division so try 100000.0

Also, print out your variables so you can see what's up.

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

Can you not change to color only, you must write a string or character again?

From memory, you must write the string again. So a quick look may be to add a move and addstr after your attron(COLOR_PAIR(2)); line.

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

That's why I didn't use the router's Ethernet ports for other devices. The internet link is rarely enough to cause any concern about your "data will travel" over a single cable. The internet is what speed? In fact I've kicked up router speeds for over a decade with this trick. Don't use the hub in the router (except for the link to the much faster switched hub.)

There are 16 port versions of the Netgear I noted. http://www.newegg.com/Product/Product.aspx?Item=N82E16833122139 was 85 bucks with good reviews.

I've done this so again I'll press pause.

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

To avoid that, run only one gigabit link from the router to your new gigabit switched hub and place all your wired gear on the new switched hub. As to the "best" that's a tough question with so many models available across the world plus you didn't give a count of the total connections you need.

Maybe a Netgear GS108-400NAS or it's lineup is OK? Here that's 40 bucks or 5 bucks a port. As how a switched hub works is on the web I press pause here.