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

Mar Na, you have 6 posts now that dance around but never really come out and tell what you are trying to accomplish.

In a few I see ready to use tools that have source so I would be left guessing what your big picture is here.

Do yourself a solid and reveal your big picture.

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

@ddandbe. Wish it was that simple. As to careful consideration, read James gazillion dollar example.

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

It's been kicked around if \n would do. Think of other OSes and this covers them all. Just in case. So much left unasked by Yash. Seems too much like Hello World with well, what you see.

Something I've seen forever is poor specs. Seems odd that you would want just to print out one item like that.

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

One of the best tips I learned long ago was to turn on all warnings and error messages from the compiler or development system.

Yet last week, once again a big system was being worked on and the bug was tracked down to uninitialized variable.

Now this isn't specific to last weeks bug hunt but it amazes me how much [s]time[/s] money is lost over what our tools can report to us for free. I've seen projects invest heavily in code analysis tools yet miss on the basics. Here's a few project manager replies why they don't look for compiler warnings.

"The code runs fine. We test it thoroughly."
"It would cost too much to fix those."
"It's only a warning. Won't hurt."

How about you? Got any good replies like that?

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

Plugin or "out of the box"? Anyhow https://duckduckgo.com/?q=wordpress+file+sharing+theme finds the usual 2 but the site you want to emulate looks to do so much more.

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

So something like this?

public class HelloWorld{

    public static String newline = System.getProperty("line.separator");
     public static void main(String []args){
        String me = "your name" + newline
                            +"your address" + newline
                            +"city, state and ZIP" + newline
                            +"your telephone number" + newline
                            +"your college major";
        System.out.println(me);
     }
}
Reverend Jim commented: Genius. +14
rproffitt 2,701 https://5calls.org Moderator

You'll have to google up free dynamic dns offers but your site is indeed free (somewhat) since you are hosting it. Some folk forget that powering some old 200+ Watt desktop costs money too. Surprise? I took down my old web server years ago for that reason and just remote access a drive on my router now. The Watts for that is about 0.5 Watts or less.

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

The channel is set by the WAP (wireless access point) and not your laptop. It would be nice if they had use channel 9 there as well as 1 and 5 elsewhere but you can get experts to battle over channel choices.

In this case, try another WiFi adapter. I'll give a nod to the Etekcity SI-7200ND

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

I'll share my son just replaced his 5 year old laptop with another gamer laptop. Here's the old and the new.
http://www.amazon.com/gp/product/B0034NGZWM ( ASUS Republic of Gamers G51JX-X3 later upped to 8GB RAM, SSD )
http://www.amazon.com/gp/product/B01578ZKPO ( ASUS ROG GL552VW-DH71 15-Inch Gaming Laptop, Discrete GPU GeForce GTX 960M 2GB VRAM, 16GB DDR4, 1TB ) and for 120 bucks we swapped out the 1TB HDD for a 512GB SSD.

Actually the old laptop could game quite well even after this many years. But he wanted to play a bleeding edge title called Metal Gear Solid 5. He says it's great now.

OK, desktop. my nod is DIY on that. How about the PC Master Race builds? They change over time so here's their link.
https://www.reddit.com/r/PCMasterRace/wiki/builds

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

Sorry but I was unclear. It was a new battery install and while it charged to 100% it seemed a little short on time so we gave the battery calibration a go. Batteries here have dropped in price so rather than the old 150USD it was, these are now well under 99USD for maker issued batteries. There are cheaps that are less but for us the liability would be unacceptble as you can guess.

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

@ddanbe, I had to ask since last year a new hire was stumbling around as we use gcc and later compilers. As to cost, the new online fiddles are currently free but if a teacher is stuck in the 1980's what is to be done but ask. I had to tell the new hire to stop calling the errors "compiler bugs."

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

I have to ask why Turbo C. Maybe it's out there as a free download but to learn such a dated system would have you unlearning what you learned.

https://en.wikipedia.org/wiki/Borland_Turbo_C pegs it out at 1987. You can do far better with say a online system like http://ideone.com/ and other fiddles. Why do this?

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

I'll disagree. Battery calibration is not a single procedure that fits all machines. However since battery makers and others stand to gain from such, we can assure ourselves of more sales over time.

-> At the office, over one hundred laptops and I think we did a battery calibration once last year. It's a rare thing but imagine folk that can't stand the battery reading being off by a percent point. They'll wear out the 300 cycle battery calibrating.

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

Sorry if this sounds harsh but discharging LiOn batteries is only good for those that make and sell such things. You can read from https://www.google.com/#q=fully+discharging+a+battery

Don't do that?

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

Google found this http://projectsgeek.com/2011/05/bcd-to-7-segment-code-conversion.html
Be sure to give attribution to where you get such things.

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

While (missing) items in Hijackthis logs have prior discussions I spotted more than one Antivirus. I see AVG and Quick Heal something.

Make up your mind on that.

Also, there is a long long outstanding issue where Windows Explorer can crash if you place a corrupt JPEG, AVI or other media file in a folder. I was in Redmond and wanted to ask MSFT about that in the 90's. I thought it was something they should fix. Microsoft's answer was an education about the company. Ready?

"Don't do that."

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

http://forum.unity3d.com/threads/complete-c-sharp-beginner-any-tips-on-learning.133974/ points out an absolute begginers book. Try that one since what's on the web won't do.

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

Just a parting comment. Next time reveal what the app is doing. Ever hear the story of https://en.wikipedia.org/wiki/Blind_men_and_an_elephant ? You revealed just half the lines or less and if you had revealed what the function was, folk could have found the C# version faster.

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

I'm guessing this is that image thinning code out there. Maybe a port from other languages would be easier for you.
https://github.com/zehranaz/cs289-final-project/blob/master/thinning.py

Devon_1 commented: Please check my commend below +0
rproffitt 2,701 https://5calls.org Moderator

I forgot a thing. Look in your laptop docs and online about how to calibrate the battery. Many models require a calibration run when you put in a battery.

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

Looking up that series I think this laptop is 4+ years old. You have a new battery but this model did run hot and as such aged pretty fast. At this old I'd count myself lucky it works this well.

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

@OP
Measuring battery level is dicey. Toss in a 2+ year old laptop, old battery and you will never get a good reading. Add a 3rd party app and you are often lost or have disrupted the native charging system. I'd head back to the stock OS, apps and such before my next move.

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

Just so folk know, many laptops have a battery care option to charge only up to 80%. This extends the battery life span. If the complaint is that it only got to 78% then it's a discussion about how it did get there, stopped charging and when they looked, it was 78%. I see nothing to fret over here.

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

Just start a new topic. Be clear what the question is or we'll repeat this discussion.

In parting, anyone can lie to you today. I wish your topic and question was more about what you really wanted to ask. Then we could talk about that.

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

Sorry about that. My mistake. That change would only change the scope.

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

Think it over. Line 8 is in the script so it may have never run. Try line 8 after line 10.

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

Given 2% could be measurement error I would not fix this.

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

It may not be any single IP. Take a read of http://hexus.net/tech/news/software/81661-microsoft-use-p2p-distribute-windows-10-os-app-updates/ and do more research on that. If all you need is this for this one time, allow all for that time period.

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

Yes, your topic is "Verify if data sent by servers? How do bigger companies do that?" so we get to dive into a lot of the MITM.

Later you clarify the messages are not coming from servers and we are now in the weeds as you now have a new topic.

I like what ryantroop wrote but you need to be clearer next time. You lead with data sent by servers and changed that to something else.

My note about Lavabit is to start to learn why we don't have airtight crypto on everything. Even with your reply it's not off topic at all. It's a big topic until you re-state your topic and question. Writing a secure comm is one thing, and here I think it best you try again with a more refined topic and question. As it stands your data reply is not from a server. Try again. I will.

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

This sounds like a job for OnChange. You can find much about it on the web such as http://www.htmlcodetutorial.com/forms/_INPUT_onChange.html

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

If you can't block, add code to your lost focus event handler to put your app back on top.

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

@A,
You lead with "Verify if data sent by servers?" and have changed to where the user is sending the data. There is no accepted ironclad secure comms today. You may askself why this is and the answer is out there for you to read. Start by reading the Wikipedia on Lavabit.

Governments do not want unbreakable cypto. If you want to create such a thing, go right ahead but use what happened to Lavabit to foresee what may happen next.

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

I think I see you posted in many places on the web. HP really lost me over my last HP. 3 months old and found an issue. Off to HP service and the last time the laptop worked for more than 5 minutes. 6 months of calls and surveys it was clear that HP was walking on the warranty.

That was my last HP.

Keep a notebook of every interaction and call to and from HP. You may have to go legal on their end.

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

Formatting sticks? GPT? It sounds like the sticks were not made using prior advice on web pages that have those distros.

While we need to know our PC in regards to UEFI and BIOS settings what you wrote makes me wonder if you made a good bootable stick. Test? Does it boot in other PCs?

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

@A,

Stick with HTTPS. To understand why man in the middle attacks are hard we would have to hold a class on it all. There are long priors such as https://www.google.com/#q=https+man+in+the+middle+attack https://en.wikipedia.org/wiki/Man-in-the-middle_attack and then we have SuperFish.

Now you could create your own checks but for most, https will do.

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

L,
Be sure that bootable USB works in another PC. I lost a day fussing about USB boot and I had the old YDIAW issue. Back to the web for another way to create the USB and it was working.

This doesn't mean you may have other issues such as dealing wth UEFI.

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

Try a very common reset. Unplug power, remove battery, hold power button for 60 seconds, release, slip in battery, apply power, wait a few seconds and then try again.

You may want to remove the HDD and retry.

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

Let me share how I start when I can't decide what model. I use 2 methods over and over.

  1. Pick up the phone and call the maker directly. I never call companies that sell the product as they always have what they want to sell, not what I need.
  2. http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=best+selling+zebra+printer and then start at the top till I find a match.

In parting I'd not print directly from the app. Since I'd want to be able to print from say an iPhone, iPad, PC, Android and more after I'm done I'd create a web app hosted on say an Intel NUC that connects to the printer. This way any device with a web browser can create the badge. Tadah. A solution that will last for years.

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

Try other browsers on the phone. I tend to find the stock browser to be buggy so I install Chrome and look again. You will find that trying to support all browsers a losing battle.

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

Let's say 121.x.x.x is your public IP address. Ever hear of Dynamic_DNS?

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

Some do fail. Until we focus on an absolutely needed update you have 16 updates to research. I know folk want others to do that much research but sometimes I have to do my own work.

The patch I did look at, looked like we can ignore it.

--> That said I am running into folk that didn't know these updates fail. They freak about it and well, sometimes you have to send them to Microsoft support to pay for the answer. That answer may be "we are aware of the issue and working on it." (sort of like the Flint story today.)

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

So you incremented your pointer o. You're sort of lucky the compiler initialized your array.

Example? http://ideone.com/qijRC1

So at line 3 o is point at out(0) and after line 4 o is pointing to out[1]. Code is not broke?

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

PS. This IMGUR just showed up. How coincedental is that? -> http://imgur.com/gallery/vTnqF

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

Show your work so far.

As to character making, https://www.google.com/search?q=How+to+create+a+character+for+my+game&ie=utf-8&oe=utf-8 is a start. You have some thousand ways to create characters. Some don't require graphics. Remember Zork?

rproffitt 2,701 https://5calls.org Moderator
  1. You didn't reveal much about your computer OS and such so for Windows, try a WAMP. (Windows Apache MySQL PHP). For Linux, that's a LAMP.
  2. Better can be a trap. You can always debate if option 1 is better than option 2.
  3. Since this is likely to be a school project, simple https will do. As to database security, there are tomes about it but for now, concentrate on your big project and make the connections secure.
  4. As it's your final project, you need to be bullet proof. If you went with the cloud you don't own, imagine your grade if the cloud is offlined by its owner or something. You must deliver a working system so the cloud is only an option if it's your cloud.
rproffitt 2,701 https://5calls.org Moderator

Let's pick on https://support.microsoft.com/en-us/kb/3080079

That's an update for Remote Desktop. Do you use that? if not, then ignore it.
http://www.bleepingcomputer.com/forums/t/595406/do-i-need-these-downloads/ repeats that advice about ignoring updates on things we don't use.

You have 16? KB numbers to research to see if any are really required.

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

I see you supply the error codes but the KBnnnnnn numbers are missing. Here's a thing. Microsoft does have failing patches. They fail, the reports accumulate and Microsoft re-issues a patch.

Without the KB numbers it's hard to see if this is expected or not.

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

To OP. OK you dumped how many hundred lines of code and ask to fix the errors but didn't list the errors.

Ask yourself if others will have the same compiler, settings, IDE and more. Try sharing the first error and see if others can point out why.

PS. Why does your code look so much like http://www.cplusplus.com/forum/beginner/6840/ ?
If you re-use code, cite source, etc.

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

The neat part of the web today is that many systems and code is on the web. While students should write their own stuff, if you need an app you can modify then start with research like https://www.google.com/search?q=Student+Course+Registration&ie=utf-8&oe=utf-8#q=Student+Course+Registration+in+c%2B%2B