• Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Python 3.6 Beginner here, need help

    Even though I am clearly debating ^_^
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Python 3.6 Beginner here, need help

    In mathematics, when a range is specified as `(a,b)` it is referred to as an open range and does not include the endpoints. When it is specified as `[a,b]` it …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Python 3.6 Beginner here, need help

    INABIAF. It's not a bug. It's a feature. As much as it has been "explained" as to how this makes programming easier I still consider it a failing of the …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Trying to find efficient method of cross referencing values

    How about a [dictionary](https://msdn.microsoft.com/en-us/library/xfhwa508(v=vs.110).aspx)? If you're unfamiliar with dictionaries (also called associative arrays), a dictionary is a hash table of key-value pairs. Keys and values may be just about any …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What language is this program made in ?

    Why do you need a program to "launch" another program? I clicked the "learn more" button on their website. The first time it brought up a betting site, the second …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Rewards Points

    Fine by me. I've never cashed out anyway.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Oh no! My user account has been deleted

    Another suggestion which won't help you this time but definitely will next time. Install Macrium Reflect. I have the free version and I have it set to automatically image my …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Trump

    I was reminded of this quote from the beginning of the Republican primaries... Bernie Sanders is the president we need. Donald Trump is the president we deserve. - Alec Baldwin
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Oh no! My user account has been deleted

    If you have the room and the user folder is not too big you might try to just copy the guid-named profile to the correct username. At least this would …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Internet Explorer

    I can't answer that question, but I **have** noticed that things are more like they are now than they have ever been.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Trump

    ##Word of the Day **Kakistocracy:** Government under the control of a nation's worst or least-qualified citizens.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to bob_16 in convert c++ code to python

    ` #include<stdio.h> #include<conio.h> #define max 25 void main() int frag[max],b[max],f[max],i,j,nb,nf,temp,highest=0; static int bf[max],ff[max]; clrscr(); printf("\n\tMemory Management Scheme - Worst Fit"); printf("\nEnter the number of blocks:"); scanf("%d",&nb); printf("Enter the number of …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Random Facts

    The 2005 Energy Policy Act exempts drilling companies involved in fracking from almost all regulations designed to protect the environment. – [Source](http://en.wikipedia.org/wiki/Energy_Policy_Act_of_2005)
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    "You may be able to drive a tractor but you will never be able to handle a Ferrari properly.” - Enzo Ferrari This statement was directed at a man who …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    “I have offended God and mankind, by doing so little with my life.” - Leonardo Da Vinci’s last words
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Arrays

    Put a for loop around If num[x] < avg Then Display num[x] End If
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Arrays

    Hello! So far I've done what I've wanted: input ten numbers in an array, calculated the average (of said numbers), and printed them. But now I'd like to print out …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    Even a complete whack-job can be right occasionally. To wit... ... if devotion to truth is the hallmark of morality, then there is no greater, nobler, more heroic form of …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Jokes

    My Dad was a conjoined twin at birth. I called his brother my uncle on my father's side. "That is sick", said my friend Scott. It's ok, they were surgically …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Life of a Programmer

    A surgeon's job is not necessarily to operate but to operate only when absolutely necessary. I see most programming jobs in the same light. My job as a programmer was …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Life of a Programmer

    I found that anything important in a meeting got said within the first 15 minutes. As such, I had a program that I could set to send me a text …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in A dictionary application

    Start with a small dictionary of only a few words during development and debugging. Populating the dictionary is just rote work. Do the hard stuff first. Make it work, then …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Laptop doesn't boot windows

    Try this: 1. power down the laptop 1. remove the battery 1. disconnect the AC power 1. hold down the power button for 15 seconds 1. plug in the AC …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in USB Flash drive opening in Read-Only mode

    I'm a little late to the party but I have found that when all else fails, I can often "rescue" the media with `diskpart.exe` via the `clean` subcommand. This is …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Revoked Solved Status for Dynamically add components to a form by button click VB 2010

    Hi. Im using vb 2010. I want to dynamically add textboxes to my form by clicking on a button. I've google searched and so far this code worked: Private Sub …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Revoked Solved Status for Dynamically add components to a form by button click VB 2010

    Hi. Im using vb 2010. I want to dynamically add textboxes to my form by clicking on a button. I've google searched and so far this code worked: Private Sub …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Dynamically add components to a form by button click VB 2010

    I posted [this code snippet](https://www.daniweb.com/programming/software-development/code/423678/create-controls-at-run-time-with-events) a while back that I think will show you how to do what you want.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Dazah

    The problems (google) with Daniweb are not due to Dazah or to neglect on Dani's part. They are (google) due to outside forces (google) that have conspired (google) to push …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in a hard-refresh doesn't seem to clear the cache anymore in Chrome

    I usually do a clear with CTRL-SHIFT-DEL. What happens when you try that?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in sql server 2008 issue

    Are all of the SQL related services currently running (check by running services.msc)? What is the name of your SQL instance and how are you trying to connect? Please provide …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Display stops when I touch tower

    Just a thought here... Do you have any loose cables inside your case that might be making contact with the cover? Are all the cards seated properly?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Does latency ever get lower?

    >It's here now Well, almost. In the US, at least, the major providers have little incentive to actually make major improvements to infrastructure that would provide substantial improvements. They have …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to ddanbe in Visual Basic 6

    VB6, is this what your teacher wants you to use?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Visual Basic 6

    Read the file line by line. Convert each line to integer and add each number into a total. At the end, divide the total by the number of numbers processed.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to Dani in Is it bad to include columns with date parts if there is a datetime column?

    While I'm certainly not disagreeing about this particular instance, personally I don't think that it's always best practice to never duplicate data in a database. There are many instances in …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Is it bad to include columns with date parts if there is a datetime column?

    It is bad practice to have duplicate data. That could lead to inconsistencies. I advise you to store the date as one column and create a view with the derived …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Guys, what happened to our Mighty Viking?

    I hope is is happy and doing well.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in i need help creating a batch file

    My mistake. The original code had a typo (which I have fixed in the original post). The code if fso.FolderExists(arg(0)) then ScanFolder fso.GetFolder(".") has been changed to if fso.FolderExists(arg(0)) then …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in i need help creating a batch file

    Yeah, but powershell requires an enormous amount of effort to learn before you can do anything really useful. And once you have a powershell script it is essentially unreadable. The …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Guys, what happened to our Mighty Viking?

    Two reasons that I can surmise: 1. He finished his PhD/post doc work and took a job in Silicon Valley (time suck) 1. There is not much left on Daniweb …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Created What's with the light fonts?

    Have a look at [this page](https://madeby.google.com/wifi/). <rant> This seems to be the thing lately to take fonts in colours that were easy to read and make them lighter so that …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in i need help creating a batch file

    Copy the following code into a file named `empty.vbs` set fso = CreateObject("Scripting.FileSystemObject") set arg = Wscript.Arguments if arg.Count > 0 then if fso.FolderExists(arg(0)) then ScanFolder fso.GetFolder(".") else Wscript.Echo "Folder",arg(0),"not …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for VB.Net linked forms

    Hi, can some one please help? I want to double-click on a "customer name" in form1 datagridview and then see "customer details" of selected customer on form2.. (in ms access …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited regarding the usage of taking slice from multi-dimensional array in python

    There is a multi-dimensional array, e.g., ` data is of shape (1,320,320,1)` I once saw a function which uses x=data[:,c:-c,d:-d] I am not very clear about what does this mean, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Is it possible to start Computer without any RAM?

    I am curious to know Is it possible to start Computer without any RAM?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in arrays

    I want to learn to play the guitar.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Good luck America

    >In a way I think it is too easy to denigrate a leader for people who do nothing but watch the world events on TV. How would you prefer them …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Windows 10 Can't access metered connection

    The problem is that on some systems the `Advanced` option has been removed from the GUI. Thus the only way to set/unset the metered option is via the command line.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Good luck America

    In the case of Obama, the smear campaign consisted of things like "he was not born in America" and "he's a Muslim". In the case of Bush, the "smear" campaign …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Good luck America

    When Bush was president the GOP shouted "America - Love it or leave it". Any criticism of the sitting president was unpatriotic. Until Obama was elected. Before this ekection the …

The End.