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

Be sure to try each command at the bash prompt to see how it works.

Also, try the older string concatention method. Example:
foo="$result $v"
Or forget v and foo then write:
foo="$result test"

JIBY_2 commented: (I have tried it using awk also but the result is same)result=`awk '$0 ~ /Dir=/{print}' $xv | cut -d'=' -f 2`; +0
rproffitt 2,701 https://5calls.org Moderator

Here's an example discussion about this. Another look and it appears your first line 1 is not correct.
https://stackoverflow.com/questions/17813423/cout-with-char-argument-prints-string-not-pointer-value

Try
char *x='"Test";

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

Latest W10? There's some issue with associations. No, I can't tell if this is your issue but I found myself back at the command line to fix it.
https://www.cnet.com/forums/discussions/windows-10-file-associations-text-files/

"Use the ASSOC then the FTYPE command in an elevated command prompt. Read how at https://superuser.com/questions/841497/windows-open-with-application-not-appearing-as-an-option/1020255

Using this I changed my text editor to Notepad++. Screen shot follows."

as1.PNG

Since this is a rather recent W10 glitch, my bet is you'll have to ask the source for what to do.

Curious Gorge commented: What the heck are you talking about? This has nothing to do with filetypes. +0
rproffitt 2,701 https://5calls.org Moderator

I did answer something eerily similar on CNET so here's the rundown. For this laptop I'd change the HDD to SSD and max out the RAM for such work.

As to use the real Android device I do that because it's fast and I get a better feel for how the app is going to work IRL.

vampz commented: Thanks a lot, but i read online that using a real device has drawback that you can not check how you app will work on every device? +0
rproffitt 2,701 https://5calls.org Moderator

I think I see why. Lines 6 to 10 "New" or create columns. Line 11 adds 5 more columns.

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

@Camille_2

Just so you know, it's rare to find responders in 7+ year old discussions. You want the best help so here's how to get that.

  1. Use old or other discussions for ideas about your issue or problems.
  2. Create a new discussion so you get your discussion it's own platform.

In your new discussion you must supply the laptop make, model, age and the story or you just get asked for that rather than getting down to ideas.
If you can, for Windows PCs I like to check out the PC details with a Web Speccy report. How? Read https://www.piriform.com/docs/speccy/using-speccy/publishing-a-speccy-profile-to-the-web

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

I'm going to upset someone here. After decades of such work, we backup the entire server when it is not "live." We can use any number of methods you find on the web to backup the entire server and have never had to look for software to do this for us as almost every Live Linux on USB, DVD can give us the "dd" command to clone the entire drive. I'm going to skip supplying google searches since you are running a RedHat from the year 2000 and by now you know how to do that work.

But when you ask about converting your physical RedHat 6.x to a virtual machine, RedHat gives GOLD in the instructions at
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/v2v_guide/chap-v2v_guide-p2v_migration_converting_physical_machines_to_virtual_machines

I have to ask why anyone would run a server without performing backups on a regular basis. I won't write badly about you but it's always interesting why folk do this.

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

Sorry about your problems but your post is suffering from a few issues. It's a typical copy and paste of the assignment and a horribly formatted code dump which makes it hard to read.

I don't see any questions by you so to some of us there are no questions but someone that did a dump and run hoping someone will complete the assignment.

Try fixing your post by telling all what issue(s) you are having on what lines plus fixing up the code formatting.

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

Leem_1 commented: How I can edit the post? +0
rproffitt 2,701 https://5calls.org Moderator

The hamburger menu is also dead on my iPhone 6 64GB iOS 12.1 Safari browser.

Yes, I cleared cache. Still dead.

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

Let's see, Lenovo bought the Motorola line so here's the GSMARENA link for my model:
https://www.gsmarena.com/motorola_moto_g5_plus-8453.php Hmm, I see 8.x listed. Might look into that but it's stable, works, gets days on a charge so you know how engineers love to fix things that work.

Over on my Nexus 9.0 by Google on Android 7.1.1 and the hamburger is dead. Confirmed.

alan.davies commented: Cheers rp! +0
rproffitt 2,701 https://5calls.org Moderator

PS. My first reply was from my Moto G 5th Gen on Android OS 7.0. This is back on my W10 PC. I wonder what Android device and version you are using.

alan.davies commented: Heh heh, my Samsung is pretty old, but my OS is newer than 7.0. What's a moto?? +0
rproffitt 2,701 https://5calls.org Moderator

So you now have a way to print more than one lable but I bet you want to preview a screen full of different labels before printing. For that you are going to have to change your thought pattern.

Long ago, we would print labels and did not use the print preview but just showed on screen the data that would print. So you could instead make up some screen with text boxes (?) and fill those with the data you are really going to print. I take it the reason for the preview is to check prices, text, etc. and not type setting.

Nbrase commented: I did as you advice and i change my pattern, and i was able to preview more than 1 label thank you for support :) +0
rproffitt 2,701 https://5calls.org Moderator

I'm going to answer how I might go about this. Since you have a method to get one print out, then you would step back one step to build a loop to repeat that printout but one for each item in some list or what have you. Just like any machine that makes something, to make more you repeat that over and over till done.

Nbrase commented: your idea are great and it work, but i'm trying to Preview the Price label before printing them +0
rproffitt 2,701 https://5calls.org Moderator

Test upload from Opera. Doesn't appear to work here.

insolus commented: I think have to check the Flash status. +0
rproffitt 2,701 https://5calls.org Moderator

I've noted how the home page seems sparse but why is that lone upvote there at all? It's not that interesting and there's no way to dismiss it or fill the page with what I choose.
See attached screen. NOPE. The image upload looks broken. I'll try Imgur and it's markdown.

No other forum leaves this so barren. I was hoping to see it flourish over time. Or see controls, options to have it be a place to go often.

And when there are items besides this, they seem to be random in size and match as to my interests. It's such a mismatch that I've not getting the point at all about that page.
BTW, https://www.daniweb.com/articles/latest/recommended coughs up the Oops! page.
Imgur

I don't see the Imgur markdown working either. Here's a link.

Reverend Jim commented: Handsome devil though. Right? +0
rproffitt 2,701 https://5calls.org Moderator

So far the home page shows me an upvote and very little else. I was waiting till you settled in but the home page I see is a desert. To me the view looks like a missed opportunity with all that empty space and one lone upvote that just hangs there like the lone ornament on a Charlie Brown Christmas tree.

To me it seems that giving up control of what's on a page to user prefences would go a lot way to member satifaction and alan.davies.

Even hear the story of Windows Mobile's Home screen? Microsoft refused to let users custimize that screen only allowing cellular carriers to change it. Apple came along, then Android and it was game over.

This one is one I know of intimately because of apps we made in 2009. Microsoft was actually pretty close to having a good smart phone but this area of NOT allowing the user to change the home screen was a killer. Our apps ran fine, we do really well but the platform is now history. I have more story here such as being in the meetings with Microsoft reps and carriers and hearing first hand they were going to only allow carriers access to that screen.

So back to here. Why not give up control to the members?

alan.davies commented: How about skins? Remember when you could choose which style you viewed a forum in? I wonder if Dani would offer the old purple and vomit yellow? +0
rproffitt 2,701 https://5calls.org Moderator

Yes I forgot to note host details. Windows 10, Firefox shows this behavior. Opera and Chrome just fine with a single image in a tab.

Thanks alan. I know details like this matters.

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

From your reply, all that is possible once you set up your database server on your network or even the Internet. All that you need to know is not going to be in my reply unless I note web content.

Admit you are just starting out and take a few classes on SQL administration and if you are paying attention then it will start to make sense.

That is, your database server (not a file!) is on some server then your app connects to that and you allow, or not, changes per your SQL rules and your code.

PS: Can't go to school? Get started with web content like this: https://www.google.com/search?q=your+first+vb.net+mysql+project

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

I've been hanging back on this one to give time to think.

My view is this should be in the member's control. It's that simple. Sure, setup the defaults, but let the members decide.

Reverend Jim commented: I agree. +0
rproffitt 2,701 https://5calls.org Moderator

Please take time when you create a new discussion. This reads as if you dumped some homework assignment here. That rarely ends well.

Show your work, explain where you had an issue you couldn't overcome.

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

You may want to count yourself lucky. If an update fails to install, DO NOT FORCE IT IN. I've seen folk end up having to start over.

These usually work themselves out as the update failure reports back to Microsoft and it might be reinssued.

-> To carry on here, tell which update failed such as KBnnnnnnn where nnnnnnn is the number so others and you can research.

Finally updates are not activations. Please don't confuse those two things.

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

@johh_165. I've seen folk just dump their code without telling where the error is. When I have an issue I narrow it down to the line that is giving me trouble then I examine the variables for that line and think over how that line works. For me that's how I work most of the errors I encounter.

Dumping your project and asking for a fix may get you no answers.

John_165 commented: you're right +2
rproffitt 2,701 https://5calls.org Moderator

Don't get me wrong. I think that was a bad move as home users lost some easy repair paths. Microsoft's future according to them is the subscription model which is what IBM, Digital and others had and where the PC broke that model. Strange how history repeats or goes all "Animal Farm."

If Microsoft flipped the model to subscription only tomorrow, we'd all be talking about other OSes PDQ.

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

It appears to be a well done question. https://www.google.com/search?q=java+password+asterisks

My question is does research on google and such being put down in such classes?

jwenting commented: apparently many schools in certain countries tell kids to post their questions on forums rather than do their own research these days. +0
rproffitt 2,701 https://5calls.org Moderator

I think this would require using what was in the course material leading up to this assignment to be a valid answer. Go back over your course notes to see what should be used in your new system.

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

The more I read about Coach the more I see it's a CMS or content management system and once you exit what they made easy you are back into the usual work of MySQL, PHP, code and design. I did not find any example of what you wanted to do in the usual Coach discussions.

This means it's just plain design work, then understanding your database, crafting the SQL command to get what you want from some input form then writing code. If you don't do PHP or MySQL you will want to do tutorials on that first.

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

Can you expand on what line 9 does or was supposed to do? It's odd to see that PIPE CHARACTER in there.

catastrophe2 commented: its supposed to check for if the service in csv file is actually available on the server, if not it errors the message, else prints server with servic +2
rproffitt 2,701 https://5calls.org Moderator

I'd rewrite that question. Maybe you wanted to ask which Samsungs have OTG. But OTG is a minefield so I'd be very exact in your question.

udayaprakash1 commented: Good point :) +0
rproffitt 2,701 https://5calls.org Moderator

@OP. If you think everyone wants to steal the ideas and code then you may fall into that trap where you never produce apps. I've seen this happen where a person has an idea but is stuck. As I've published many apps and designs over the years I offer to chat about it and they clam up or won't show their app to anyone.

Did you google up "Bob's Game"? It's a different sort of developer's hell but getting stuck on "everyone is going to rip off my ideas" is a common way to never get your app out the door and into the world. I've seen this happen numerous times.

-> The next trap is searching for the "best" code protection. The app is delayed as the author tries more and more protection schemes. Each time they dicover it's not 100% secure so they are trapped in a never ending cycle and never publish . Also they burn up their productive hours on this rather than getting that great idea, code and app out the door.

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

In your post is " review your lesson" which I find interesting. This class should have been building up to this bigger app. Where are you with this assignment? Are you stuck with a specific step?

Jay Kenneth commented: im stuck with a specific step i dont know what to do with it, im just a newbie on this program c ,i dont know what to start (T.T) +0
rproffitt 2,701 https://5calls.org Moderator

I want to repeat prior advice on this. If you do this it won't be OS agnostic. Read https://www.daniweb.com/programming/software-development/threads/168176/how-to-get-disk-info and other priors on how to solve but my thought is "This is a bad idea."

tony75 commented: I test the code but the code was bad! also Its better to diplay on screen not write to text file for future investigation +3
rproffitt 2,701 https://5calls.org Moderator

That's the usual story. What happens next is up to you. You might find a new web master, learn more about your web site and the languages your site uses but eventually you have to make a decision.

Maybe put off changes until they can't be ignored?

As it stands it's unclear what this Firstpage is. PHP is a language that you could learn as there are tutorials out there but that may not be the right move as it won't tell you how this web site works. It's like learning how how to rebuild an engine but no one covered how to put the engine back into the car.

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

I'm going to write no because you added "low authority." To me this means your goal is not about Web 2.0 at all as defined at https://en.wikipedia.org/wiki/Web_2.0

That is, if your needs are SEO and not participating in the discussions, adding your content then no, it's not good for you.

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

This sounds to me that you are vey displeased with how PHP and other frameworks, languages progress over time and what used to work, breaks as they upgrade. I've seen that with JAVA as well as PHP, Python and other systems.

While the new PHP broke your code, repairing what broke should be cheaper (hours invested) than moving to yet another framework or system.

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

Sorry I passed this discussion up. Why I skipped it is the unsupported Sierra. I've found such installs to be troublesome so my advice is to restore to when it worked (even Apple computers must have full backups.) Or bite the big one and install something supported.

JamesCherrill commented: Yes. Should we be trying to support something Apple that Apple themselves can't support? +15
rproffitt 2,701 https://5calls.org Moderator

Here's the words to find the tutorials: https://www.google.com/search?q=VBoxManage+apple+os+resize+vhd

Pick the solution you like.

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

Seems there are a lot of prior examples. Pick your solution or ideas from https://www.google.com/search?q=save+image+from+computer+client+to+server+using+java

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

@dorey, The insider thing is for those that want to be beta testers. I'm encountering folk that don't understand the risks.

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

We have paused the rollout of the Windows 10 October 2018 Update (version 1809) for all users as we investigate isolated reports of users missing some files after updating,
-Microsoft on its support site for Windows Update.

So if you have already downloaded the latest ISO from the Media Creation Tool and not installed it, DON'T. Wait for a newer version of the ISO.

See the link below:

https://www.theverge.com/2018/10/6/17944966/microsoft-windows-10-october-2018-update-documents-deleted-issues-windows-update-paused

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

Thanks for the code dump. This seems to have cleared up that the issue is not how to test at all but that your real issue is you have some site that was made without an API or design document and now you need to do that.

I'd restate your question. Maybe start a discussion with the real question.

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

That's something I would google. It's also a common SHILL POST that we banned from another forum. The poster turned out to be selling cables. This and another post is word for word what we removed on CNET forums.

happygeek commented: He's already had one post deleted for advertising cables as well +16
rproffitt 2,701 https://5calls.org Moderator

Please add what line you think the issue is at and "what is the issue" to this. As it stands your post looks to be a how-to.

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

@Claire. How about some source for your claims? I'll share my example for W10 size. I took an old 2006 Dell Inspiron E1505 with dual core 32 bit Intel cpu with 1GB RAM and 120GB SSD. After a clean install there was 100GB free. And that was a stock, didn't change a thing install.

Why would I need a smaller install size? Also, the machine would boot and pull up a web page in 35 seconds from a cold start. Why go back to XP?

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

I do not have this version to test with but some other. But I did have build issues a few years back and after some thinking I tried the CLEAN SOLUTION and the next time it did build. https://docs.microsoft.com/en-us/visualstudio/ide/building-and-cleaning-projects-and-solutions-in-visual-studio?view=vs-2017 and other articles note this.

Choose Clean Solution to delete any intermediate and output files.

When you copy projects around you could trip over this and will need to use the clean option.

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

This is the old "letter frequency" code. You can see it done in 91 languages at https://www.rosettacode.org/wiki/Letter_frequency
Just take that and adapt.

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

Good luck in your cable business but moving on.

Let's hear more about this USB drive. You and I will encounter failed USB sticks, SD cards and more that do this. You omitted details so let's here more.

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

Small world. At my brother's office we had a pair of K55's and a K53. Due to use and age the keyboards did give out and I picked up new ones on Amazon.com. I only have this one in my history but it's nearly the same for either k53 or k55. Just find the part number to search on Amazon.

The change out is about 5 minutes and total cost to repair was 15USD. Link:
https://smile.amazon.com/gp/product/B01823P8EE/ (don't know if this was the k55 or k53.)

I have ordered parts from Asus.com but I'm in the USA and the only complaint I have is the 7 to 10 day delay vs 2 days on Amazon.

PS. I never thought of getting a service manual. I just hit YouTube and searched for Asus K55 Keyboard replacement. There were plenty of videos on how to change it out. Also, must be Asus Canada. How unfriendly....

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

To add to Reverend Jim's F8, once in a while the F8 or Fkey to cover all PCs seems hard to hit at the right time. So once you know the key to press such as Esc, Del, Fkey or other, here's the old tech trick.

Power off then press and hold the key down. Don't let up. Power up and only let up when you see the PC responded to that keypress.

You won't run into this on many PCs but here we would see it a few times a month with just a few hundred random PCs.

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

I was able to write this in one line. Here it is.

print "9\n89\n789\n6789\n56789\n456789\n3456789\n23456789\n123456789\n"

In case this doesn't fit your top post's requirement, I would be guessing if more was required.
If I'm wrong, read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question first.

pty commented: Brilliant, efficient and succinct. 10/10 +9
ddanbe commented: Great! +15
rproffitt 2,701 https://5calls.org Moderator

I want to share a small resource that I used years ago and due to your question I went and checked out again. It now includes some writing about Python! For your library. I consider this a must have.

Go get it at http://greenteapress.com/semaphores/LittleBookOfSemaphores.pdf