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

@Chris. 2 things bother me about your last post.

  1. CNET doesn't have this app but download.com and they messed up a few too many PCs with their downloaders.
    Read https://www.howtogeek.com/198622/heres-what-happens-when-you-install-the-top-10-download.com-apps/

Download.com plays this down by writing that was years ago. So you first Mikey.

  1. That app doesn't seem to work on Linux, iOS, Android or "OTW" (other than Windows."
    Do you have another solution?
Stefce commented: You are right download.com and cnet.com are full of viruses +2
rproffitt 2,701 https://5calls.org Moderator

I was on imgur.com and this came up. Enjoy. Link: http://imgur.com/gallery/jqRFq

My favorite comment there?

And now I will too. Genius

ybGghbx.jpg

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

@KM not at all rude. I do have apps in C# and found that styles only appled to just a few things but not the window. So as xrj writes about adding a myWindow class to make an app wide style, it's not styles in the strict sense.

As to points, have a few in kind?

KushMishra commented: Thanks, I'll surely consider this +4
rproffitt 2,701 https://5calls.org Moderator

Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question first.
If you are shopping for a finished app, be sure to tell how much you are paying.

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

I have a question for you as well. Why not create your questions in the right categories?

Also, I googled your question and found it wasn't a new question. I worry that you are treating this forum like Quora where you get points for just asking questions.

gentlemedia commented: too lazy, too google :) +0
Dani commented: If the questions are asked/answered here, then people will find us in the Google search results instead of Quora. +0
happygeek commented: Mikky has been asked many times to do this, as replies (he doesn't ever come back to a thread) and by PM. I assume the end game is sig spamming... +15
rproffitt 2,701 https://5calls.org Moderator

Sadly there are FARMS where you pay for guest posts and other sites like FAKESPOT take you down.

My thinking here is Google will eventually use something like fakespot and your paid posts will burn your site's ranking.

Don't try to game the system.

happygeek commented: Absolutely bang on 100% correct (of course) +15
rproffitt 2,701 https://5calls.org Moderator
rproffitt 2,701 https://5calls.org Moderator

That's not a problem but how splitters should work. Both displays should show same content and in Windows show as "monitor 1."

I get the feeling you want more displays, not duplicate displays. For that, you do not buy splitters.

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

@rubberman. The BIOS password is more of a PC thing. It's really helped in driving down the value of a stolen laptop. If you think a BIOS password is a show stopper, consider Apple's Lost Mode. Look it up and tell me what you think.

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

Actually this is a known thing. The BIOS boot password reset varies with the make and model. If it's a current design ONLY the maker or their service folk can reset that password. Usually a small fee is involved.

Most of the time this reset does not wipe the drive in the PC so that's the good news.

The bad news is that I've seen folk destroy a laptop trying the youtubes and more.

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

I thought the recent outage was British Airways. My reading on this pointed to management issues, quality of the outsourcing and choices on redundancy and backup systems.

The benefits are here, but when your management cuts support and hardware, you see troubles like this.

You can see the same thing in mass transportation where there are not enough trains, planes or automobiles and so on.

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

It's a long shot but how is the card mounted?

Read https://stackoverflow.com/questions/28398905/rsync-copies-unchanged-files-usb-drive-fat32 about the 'shortname=mixed' option.

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

There are millions at https://github.com/open-source

I bet you didn't expect that many.

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

You've broken a few rules. By not revealing cross posts folk here and all over would repeat the same work and waste their time.

Others have called you on this and I get the feeling you don't agree on the rules. My advice is to recant now.

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

Let's be sure to read if others are solving this one at:
http://www.codingforums.com/php/385526-preg_replace-delimiter-problem.html
https://www.sitepoint.com/community/t/preg-replace-delimiter-problem/264750 is from months ago but so close I think it's the same question.

Where else have you asked this?

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

UI
I see you're not listening about cross posting. Initially I was going to try to find a recent post about a visual regex that helps us look at regex another way but then when I searched I found you posting in 4 or more forums. It took me a while to find it.
https://www.daniweb.com/programming/software-development/threads/508393/visual-regular-expressions#post2220172
and http://regviz.org/

It's time for you to pitch in and help others to learn how knowledge sharing works.

rproffitt 2,701 https://5calls.org Moderator
gentlemedia commented: Not cool! +7
rproffitt 2,701 https://5calls.org Moderator

SInce that's not a library I've used, did you try the support at https://github.com/itext or get their books at https://sourceforge.net/projects/itextsharp/#resources
Some of the books are free but why not drop them a little coin?

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

As I was unaware what TPL is or could be I read https://en.wikipedia.org/wiki/TPL_Tables and came away not much wizer.

Don't assume that all can guess what TPL is here. I googled, TPL and didn't find any language that looked like your second code passage.

Before your next reply, read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question

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

@fo2sh. The code is open source which means open to inspection. I neglected to note the algorithm is on the web too but frequency? Nope, it's just setting the clock from NTP sources to within a few milliseconds. If that is not good enough then you need one of those cellular equipment time sources. My background includes cellular base station design.

http://www.cisco.com/c/en/us/about/press/internet-protocol-journal/back-issues/table-contents-58/154-ntp.html has the basics and references on NTP.

I've yet to find anyone ask for more since the goal is the time be set to withing a second. Since system response time can vary under load, it would be silly to think the clock being off by 100 milliseconds to matter. Base stations and the DSP system there would need better than this so they use a station clock (those dedicated highly accurate clocks.)

rubberman commented: Well said. Cell phone clocks are usually synced to the local cell tower. +14
rproffitt 2,701 https://5calls.org Moderator

Since NTP can reduce synchronization offsets to times of the order of a few milliseconds over the public Internet, the ONLY time this question came up is when cellural comms as in base stations were concerned. For all practical considerations NTP is orders of magnitude better than what a human needs.

I can write that is is not phase sync...

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

As someone said "I don't believe you."

Why? You have a web company by your own name and you don't know this or how to research?
Why would folk use your service?

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

Let's go with your idea of a lock. Sure thing. In your frontend app you checkout the doc or file and when it's done check it in. Think of it like books at a library.

So when your next editor/person comes along your front end sees if it's open for check out.

This is not an offer to write any code.

But all this would be best done in a database and not files for most systems. For example I had a client last year that insisted on the database be done in Excel. I would not implement such a system and no one else did either. They were calling in programmer after programmer to fix what they had and no one would accept the job. I did try but they were not interested in why Excel was the wrong answer. Much like files would be for many user editing. As far as I know, they are still crashing and burning.

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

IE and Safari (why not test with Edge?) are problematic browsers. All we need to do is check caniuse.com and well, that's a deep well and Jimmy keeps getting stuck in the well.

-> At this point you have a solved for most browsers and have to see if this is, in the case of Safari something Apple just doesn't allow. One of the common complaints about Safari I've fielded is autoplay of videos. Apple relaxed that last year at https://webkit.org/blog/6784/new-video-policies-for-ios/

So be sure you are not beating your head against a Safari bulkhead.

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

@UI. I'm sorry if my replies upset you. I intend to let you know my view in the open without you getting your site up and then finding out what others think about it. No, I'm not everyone but I did bounce it off others and it went straight down. Keep thinking since many don't do that anymore.

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

I'll share I don't respond well to strong arm tactics like that. If such a company tried that, they'd get a downvote and maybe some harsh words.

happygeek commented: well said +15
rproffitt 2,701 https://5calls.org Moderator

Common causes I run into are:

  1. The drive that had a working OS now does not.
  2. The OS drive has failed. Bad drive, sectors, disconnected or just missing!
  3. The cable to the OS drive is unplugged.
  4. The port on the motherboard is damaged.
  5. The drive is connected to the wrong motherboard port.
  6. The BIOS was changed from one mode to another.

I find many owners today do not know a thing about their PC and have to work down the usual list and watch out for clues along the way.

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

I don't know what IDE you use but I'd examine the cst() function in depth. I fear there's a few chances that the integers in there are not the right choice. Maybe you should try a ready to use function for float to string?
https://www.google.com/search?q=float+to+string finds this has priors to read over.

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

Thanks Dave.

That's a deep subject and can have us discuss a wide range of areas such as what is DaniWeb and social expectations. There is a Read Me First at https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question that covers a lot of what many members expect of those that post but before you go there, find Dani's posts about DaniWeb and see if you can get to what she is trying to accomplish.

That said, many folk don't know how forums work or are in a hurry and may show disrepect at first. Somehow, we need to gently give them feedback and not set them on fire then send them screaming into the world telling everyone how mean we are. This is hard. No one said it would be easy.

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

Then debug your code. Insert print statements so you can find out what it is doing or just go get another sort() function to replace this.

Sorting examples are abundant so no shortage there but I do find new programmers start off with missing debugging skills. To see what your code is doing, add prints or if you use a nice IDE, step step and examine what it is doing.

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

Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question and keep in mind each discussion stands on its own. Don't spread your code in more than one discussion and hope folk will pull it together and guess what your questions are.

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

This just in. Chinese 10,000 phone Like Farm. You can check it out on https://www.google.com/search?q=10%2C000+phone+like+farm

This is the other reason I don't put much value in likes. It can be faked and those that chase after likes are at a severe disadvantage if they don't have a big farm.

Hope you see where this is going.

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

Just so you know, give it a little time on replies here. I've seen it lag on posting so right or wrong, don't do the Mr. Monk and go "Lobby, lobby, lobby, lobby..."

I think you have a much bigger idea you want to ask for ideas how to implement as I read a few of your recent posts. It's like I'm one of the blind men describing the elephant. In other words rather than dole out what your scheme is in small pieces, why not show off the entire elepant?

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

I'd get to the Microsoft forums on this one. Or just call it in.

https://support.microsoft.com/en-us/help/946205/error-message-when-you-try-to-open-a-compiled-database-file-or-a-compiled-project-file-in-access-2007-this-database-is-in-an-unrecognized-format is errily similar and what I'm finding are machines that are not current with service packs or updates.

-> Side note: This is partially why a new ransomware is spreading so quickly.

rproffitt 2,701 https://5calls.org Moderator
Reverend Jim commented: Yes. He did. So I deleted the other one +14
rproffitt 2,701 https://5calls.org Moderator

I don't see enough to give you a straight answer so I'll write you should use VS's debugging tools and break on line 5 or 6 so you can examine what text came back.

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

Just to add to this. It appears some versions work and others do not. I'm reading https://communities.intel.com/thread/109313 about this.

Is this another Dell?

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

I want to add this as an identify theft PSA. An experiment at a coffee shop gave out a free cup when you liked them. What happened?

Coffee shop offers customers a free coffee in exchange for 'liking' their shop on Facebook but they also get...their personal details handed back to them. The time it takes the customer to 'like' and order, the team have their name, occupation, mothers maiden name, place of birth, likes, interests and lots of other personal details, all written on the cup. This was an experiment to show how easily we all leave ourselves wide open to identity theft.
Source: The web and two links:
http://imgur.com/gallery/PHzZX
https://www.youtube.com/watch?v=yrjT8m0hcKU

So beyond what I wrote above, there are other reasons to lock down everything in Facebook. I bet I'll get some heat on this post.

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

Some models have us call in to reset that password if methods you find on the web don't work.

Be ready to prove it's yours since when the maker does this it's a form of theft protection. The makers sometimes get flamed over this but hey, if it's yours legitimately, it's like you locked your keys in your car and pay a little to the locksmith.

It must be worth it to get this done, right?

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

see the processor's state as you run and single-step your code.

Full document at http://fab.cba.mit.edu/classes/863.03/topics/electronics/microcontroller/stuff/mplabtut.pdf

Be sure to show the "Special Function Registers Window".

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

I have a bad feeling about this.

Robots, code forcing likes? Bad robot, sit, stay.

PS. Adding with edit. This is a bad idea in my opinion since it sounds like you seem to want to robotically create likes. If folk were able to do this than it's a useless measure since a robot/code can generate likes and the system we have is now worthless.

I'm reminded of something Douglas Adams wrote.

Thank you. Since we decided a few weeks ago to adopt the leaf as legal tender, we have, of course, all become immensely rich.

cereal commented: So long, and thanks for all the fish! +14
rproffitt 2,701 https://5calls.org Moderator

Take a moment to consider this is like telling a car repair shop your car won't start but you don't tell make, model and much else. It matters.

Without that I can't tell what you mean by the lightbulb.

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

I've never seen this happen. We must have had dozens of Android devices since 2009. Maybe the card is bad or needs a fresh format.

PS. Adding this with edit. Now I do recall when I tried to pop the 64GB card into an Android that only supported up 32GB. It didn't work. Maybe others have stories to add.

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

Read the reply at https://www.daniweb.com/programming/computer-science/threads/508547/need-help-with-a-graphics-sorter

I think you need to read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question FIRST.

I don't mind looking at the line of code you say is problematic or for advice on algorithm but here you seem to be dumping code. You need to do more and add what the issue is and where.

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

Just a tip. Try the PREVIEW in the forum editor to avoid messes like your post here.

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

Ace, I think you misunderstand me. I did not test your code. I only pointed out what looks odd or off. If I fix the code, I need your teacher's email address to share that.

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

I see upvote +1 so far.

Anyhow, do you see it now?
amount = choice * input('How many would you like?')
might need to be.
amount = input('How many would you like?')

I didn't test this to see if you need to write
amount = int(input('How many would you like?'))

Ace_4 commented: thank you sir, i will make the changes and see if it works. +0
rproffitt 2,701 https://5calls.org Moderator

On line 20, why are you multiplying choice (a character) by the input? Looks odd doesn't it?

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

Be sure to make others aware if you are crossposting. Is this you at http://www.dreamincode.net/forums/topic/403609-need-help-putting-together-forest-program/

Also, is it this assignment? This is the cache of the assignment I found.

Did you forget to mention the following requirement?
"You must ...

Do an object oriented analysis and design "

If you only started coding a few days ago in Java, this may be a little deep. Usually you start with smaller apps and something like this is done after you get the basics out of the way. Is this a code boot camp? How did you get here?

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

This is entirely your choice on the hardware. Not one CCNA I know had such. All went with virtual labs. Example?
https://www.google.com/search?q=virtual+cisco+lab

Also questionable is the 3 of each thing. Not only would you need maybe 2 of each (in a stretch?) but how to see if it works without some hundred clients?

My nod is to go virtual.