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

Line 50 where you write output += (char)('0' + count) is as if you are thinking C code. I see Java in the tag and I'd use the Java's own Integer.toString(count) instead. Try it Sam I am.

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

There are many thoughts about shortening code. There the academics where code must be "just so" and no more.
There is practical where the code met the spec (did the spec call out it must be 10 line long?)
There is long term maintenance where the code must be clear and readable over least number of lines.

I'd make a terrible or great student today.

Without seeing your code, there's not much to add or subtract.

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

There are so many help desk support jobs that are you asking about Nuclear Reactor Support or Windows or something else?

Windows really didn't change too much in 5 years and most support desks have scripts for tier 1 calls and as you learn more the move you up to higher tiers.

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

@Xethiro. I gotta ask now. Didn't a google of that find the document and maybe examples like:
http://www.tutorialspoint.com/java/lang/integer_tostring_int.htm

I don't mind all this but as a programmer I think you could do a little research.

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

@X, with a little rework, line 53 can vanish. That is, just System.out.format instead of lines 45 and 50.

That tosses out the need for the output array.

But let's say you don't want to use System.out.format. Look at Integer.toString

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

So why bother with those pesky number to character conversions (line 50) when we have System.out.format?

https://docs.oracle.com/javase/tutorial/java/data/numberformat.html

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

Read your code. Notice that by line 12, the array is indeed all zeros. And i, j are pointing at the last element of the array. And line 7's effect is wiped out. As in, map[5,5] is zero by line 12.

So read your code at 13 and i, j are 11, and 11 and line 21 could cause a code failure.

i and j are 11 until about line 29.

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

@kouty. Actually I found the discussion useful as I needed a refresher on Unicode. I hope you come back but one thing. Try to put the question mark on your question next time. I thought the question was why the 48 showed up, and not that you wanted some way from Unicode to say Ascii or other character. That is where I mussed up.

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

@Hanif1993. Didn't that just disable the JIT debugging? I fear your app will crash when deployed on other PCs.

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

@kouty. To me your question was why the 48 and such showed up. If we read the article then we see that number and learn more about unicode. The one thing I didn't see in your post is a clear question. You may be thinking in 8 bits?

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

Is this your 3rd post on what looks like the same topic?

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

Since I would write the code differently in C or C++ maybe you need to specify the target language first?

Plus, this question is on the web so there's that.

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

http://stackoverflow.com/questions/33578317/how-many-different-ranks-are-possible-in-an-exam-with-10-students-if-ties-are-al finds same question with -7 and counting.

I take it you are new so why not try again but show your work or ideas next time.

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

James, I supplied the search so you could see the priors. Check the latest HTML5 video standards. I read this:

Quote from the HTML5 spec for <video> tags:

Video content should be rendered inside the element's playback area such that the video content is shown centered in the playback area at the largest possible size that fits completely within it, with the video content's aspect ratio being preserved. Thus, if the aspect ratio of the playback area does not match the aspect ratio of the video, the video will be shown letterboxed or pillarboxed. Areas of the element's playback area that do not contain the video represent nothing.
rproffitt 2,701 https://5calls.org Moderator

I think it's been hurting heads for many years now. https://www.google.com/#q=html5+video+stretch finds you may have to find other video players or just bite the bullet and make the video exactly what you want in the first place.

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

standard deviation 0-9 2.8722813232690143 was my answer. But I did add a line prior to line 1:

import java.lang.Math; // header stuff MUST go above the first class

Ran it at http://www.compilejava.net/

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

My choice would be to redesign. Use 2 scripts the 1st script checks in with your mothership for an update to the 2nd script. If there is an update, the new script is downloaded, and then called.

To delete script 2 you issue a new script as need be. It can be a do nothing script and later you can make it work again.

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

I've seen it change over the years. Most of what folk ask is in a prior discussion like
https://www.daniweb.com/community-center/daniweb-community-feedback/threads/500850/whats-wrong-with-the-website

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

http://wind8apps.com/numlockstartup-windows-10/ notes another method and another value. Here, it works for me. But LOGITECH? If you installed Logitech drivers, all bets are off as it's now up to Logitech rather than MSFT.

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

The thing is, this has been kicked around for years. https://www.google.com/search?q=standalone+WSUS finds the priors yet when I see this it's usually up to those that picked the OSes and more to tailor it to their particulars.

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

On line 262 I see a left brace. but can't find the matching right brace.

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

While a fun idea, if the goal is logic gate simulation and teaching why not well done projects like this.

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

My opinion is secure all pages. No need to leak anything today. And then this -> https://www.google.com/#q=is+ssl+dead

https://www.google.com/#q=why+you+should+secure+all+your+web+pages covers much but today, why give anyone anything by leaking content in the clear?

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

http://viewerjs.org/ doesn't list pptx support. Renaming does not change what the file is. You may have to turn it into some ODP or PDF first. Examples at https://www.google.com/#q=pptx+to+odp

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

@overwraith. What's interesting to that interface question is what the world thinks such a thing is. Well the world according to Google.

I'll admit that too much of my work over the years used the RS232 interface. Not much graphical going on there and plenty of software behind that. Context?

Fast forward to 2015 (now?) and my last app and its human interface on Android is lightyears ahead of my first program. Then again, teletype vs. smartphone!

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

Just limited speed by using the guest network on my spiffy new TPLInk Archer C9 AC1900. Go get its manual and see if it does per user?

Sometimes I wonder why they used that name for the line.

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

The world is upside down. OK, let me expand from there.

If you were making a support Q&A forum the designs you see are upside down. Questions with answers go to the top of most views and oldest are pushed down. That's pretty opposite of how things should be. That is, the person that has the newest question is at the top of the list.

Then we have the idea for commerical app/tool/other support forums just don't work. An example is at Ninja Forms.

Beyond that, I agree that many want the solution without learning how the solution works or why. Sometimes they ask for things that are incredible at first until you understand they are just that new. New wears off eventually.

Then again I wonder what minds are behind questions like "What is TCP/IP?" With all that is on the web, or fine books, you begin to wonder who asks that question.

Then you have spam with shills asking how to recover SQL, Outlook, Excel and the list goes on files. With 99% of those being shills for file recovery answers (spammers) that really makes it rough for the 1% that really needed help.

Forums may not be perfect but if a member applies themself instead of expecting spoonfeeding, there is a lot of knowledgeable folk that will share insight and ideas.

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

My old solution was 2 timers not one. I fire the timer that will later start the second one. The first timer disables itself after it enabled the second timer.

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

Stumper at this point. There are priors on this error all pointing to same. Sounds like it's time for the boss to hand you the credit card.

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

May have to show what code and errors you are seeing.

Also, this.

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

What if this was looked at from a systems analyst point of view. They might consider increasing fees exponentially in areas of over congestion. That would certainly be a way to control traffic.

For traffic control, it's more than a complex piece of software and hardware. You also have fees and system (road management) to put into the design.

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

Small world. Many years ago I was tasked with speeding up a database system. Turned out we denormalized it.
Many articles on the web abotu your 5 items but had to comment that normalization may not be what you want in every situation.
More at https://www.google.com/search?hl=en&as_q=denormalization+in+database

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

Sounds like what happens at a cash register all the time. The checker scans items, the price is looked up and the final tally is the bill.

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

Looks incomplete. Missing right }'s maybe more wrong. GIGO?

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

That's the monitor telling us it's not getting a signal. Since you don't see the BIOS screen either you need to try this monitor on another PC and another monitor on this PC to see where the issue is.

Then call it in for return or repair.

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

That's a big question. It's been kicked around for decades now but new ideas like a CloudOS may change what your server farm looks like. If you're some old school web server person that doesn't want to look at the new ways then you buy something off the usual makers and get service and more. If you just need a server for your own dev work, it could be some laptop you repurpose.

This is like asking what vehicle is best in the Market. You may need it for firefighting, towing, transport or racing. A lot more detail required here.

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

My experience is to keep it simple (KIS.) My longest living project didn't use a simple third party tool or add ons. It's my Duracall Rabbit of apps.

overwraith commented: ty +3
rproffitt 2,701 https://5calls.org Moderator

That's a very thorough test. Unless the 16 devices don't include say iPhones and Samsung Galaxy phones.

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

Parting advice. If your boss has an Blackberry then of course target that. You should know why by now.

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

I looked at that code and didn't see where you couldn't comment out conio.h.

Remember you didn't specify what compiler or such. So any code will do. I took it to an online .c compiler and changed it a bit.

Runs now.

/*******************************************************************
    PROGRAM TO SORT NAMES ALPHABETICALLY USING LINKED LIST
********************************************************************/


#include<stdio.h>
#include<conio.h>
#include <stdlib.h>
#include <string.h>
  struct name
     {
      char info[20];
      struct name *link;
      }*ptr,*start,*node;
    typedef struct name list;
int main()
{
 void create(void);
 void disp(void);
 void sort(void);
 // clrscr();
 printf("Program to enter the names and sort them using linked list.");
 create();   //fun to enter the names
 printf(" The contents of the list were : ");
 disp();     //fun to display the data
 sort();     //fun to sort the data
 printf("After sorting :");
 printf("The contents of the list are : ");
 disp();

 getch();
}

//-------------------------------------------

   void create(void)
     {
      char ch='y';
      node=(list *)malloc(sizeof(list));
      start=node;
      while(ch=='y')
       {
    printf("Enter the name :");
    gets(node->info);
    ptr=node;
    node=(list *)malloc(sizeof(list));
    ptr->link=node;
    printf("Want to continue?(y/n)");
    fflush(stdin);
    scanf("%c",&ch);
    if(ch=='n')
      break;
    ch='y';
    }
       ptr->link=NULL;
      }

//-------------------------------------------

   void disp(void)
    {
       ptr=start;
       while(ptr!=NULL)
     {
      printf("   %s",ptr->info);
      ptr=ptr->link;
     }
     }

//-------------------------------------------

     void sort(void)
    {
     int comp(char [],char []);
     int i;
     char temp[20],s1[20],s2[20];
     list *ptr2;
     for(ptr=start;ptr!=NULL;ptr=ptr->link)
       {
     for(ptr2=ptr->link;ptr2!=NULL;ptr2=ptr2->link)
       {
     strcpy(s1,ptr->info);
     strcpy(s2,ptr2->info);
     i=comp(s1,s2);
     if(i==1)
       {
    strcpy(temp,ptr->info);
    strcpy(ptr->info,ptr2->info);
    strcpy(ptr2->info,temp);
    }
    }
      }
     }

//-------------------------------------------


        int comp(char s1[], char s2[]) {
   return s1 == s2;
}

I'm sure you can fix it up from here at http://www.onlinecompiler.net/ccplusplus

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

By focusing on the 99% plus devices out there such as iOS, Android, Windows browsers, Apple Safari I would not call that focusing on a few devices.

If you get it right for the major devices you are doing very well and it will likely look as good or better than expected on the Diafone v33.267 using Iceweasel (thanks for that diafol.)

I think that's the right word. Mercenary. Make it pay.

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

Seems that was easy to find the source. Try http://www.sourcecodesworld.com/source/show.asp?ScriptID=800

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

That was pasted years ago at http://pastebin.com/GHGcR6uU

What? No progress since then?

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

I've been using it a few ways. Now before I reveal them, some member just couldn't get it done. I don't know why but for me, I can text using Ring.to and Google Hangouts. I can't understand what their issues were but here, all working. That is, they went round and round refusing to get an email account or do whatever it takes to get it working.

You might want to look up XDA Forums and see if you can kick up the Android version a notch or two.

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

Remember this error has been kicking around since about 2002. https://www.google.com/search?q=Run-time+error+%27372%27%3A+Failed+to+load+control+%27DataReport%27+from+C%3A++WINDOWS++SysWOW64++Msdbrptr.dll.+Your+version+of+the+C%3A++WINDOWS++SysWOW64++M&ie=utf-8&oe=utf-8

OK, I still think it's permissions or maybe your VB6 isn't all patched up to SP6. I can't do that work for you.

Story from last week here. I have this legacy VB6 app from 2005 that a new programmer thought they would update. They had all sorts of questions and most vanished after 2 things.
1. They installed VB6 SP6.
2. They installed while logged on as that user.

Yes they had no clue to the all users install options and as they were not paying I didn't do much past this as it worked.

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

@Apolonian. YES. Just look at what's on Steam and 2D scrollers etc. that look like throwbacks to the days of Pong to DK are still there.