Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I tried walking up a hill without a watch, but I had neither the time nor the inclination.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Werner Heisenberg, Kurt Gödel, and Noam Chomsky walk into a bar. Heisenberg turns to the other two and says, "Clearly this is a joke, but how can we figure out if it's funny or not?" Gödel replies, "We can't know that because we're inside the joke." Chomsky says, "Of course it's funny. You're just telling it wrong."

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

An infinite number of mathematicians walk into a bar. The first orders a beer, the second orders half a beer, the third orders a quarter of a beer and so on. After the 7th order the bartender pours 2 beers and says, "you fellas out to know your limits."

jkon commented: haven't heard it , made me laugh +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Why do computer programmers confuse Halloween with Christmas?

Because Oct 31 = Dec 25

Lihui Zhang commented: The two Chinese AI I used couldn't understand this joke until I reminded them to calculate 31 in octal +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I'd tell you a UDP joke but you might not get it.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

With me? No. She and her husband were much older. But she obviously did with my parents because I recall them mentioning that she had had problems for years after.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

A friend of the family (friend of my parents) was one of the people who got dosed in the MKULTRA program.

Johannes C. commented: Wow, that’s chilling. Did they ever talk about their experience? +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

From CodeProject:

Shortly the site will be switched into read-only mode. Our hope with this change is to allow another party to maintain the site as an archive of great code, articles and technical advice. We are working hard to make that happen and while in no way guaranteed, things look very promising so far. However for the foreseeable future, and possibly permanently, new postings will be disabled, for articles, for forums, for QuickAnswers and the other portions of the site.

My hope is that it remains online, even if only in read-only mode. There is a lot of good stuff there.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I'm sad to see codeproject go. I was a daily visitor there.

John_165 commented: me too +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

The solution should be obvious. If the error message says something is undeclared then declare it.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb. Please take a few moments to read the Daniweb Posting Rules and Suggestions For Posting Questions.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

hwnd is the window handle returned when you created the window with CreateWindow or CreateWindow Ex. Or you can get the handle from an existing window via the title with

hWnd = FindWindow(NULL, "Window Title");
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Your statement does not set a form location. It just creates a point structure. To set a form position in C++ you can do

SetWindowPos(hwnd, NULL, x, y, 0, 0, SWP_NOSIZE | SWP_NOZORDER);
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Doing just dandy, thanks. Welcome to Daniweb.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

What do you mean by incomplete? Does it compile? Does it give you output? How does it differ from what you expect?

If you went to the doctor because of a pain you would at least tell him things like where it is, how intense it is, how long it lasts, etc.

Sejal_8 commented: deleteNode function is incomplete .. it complies only if that function has been removed +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

We will offer help but we won't write your code for you. Please revies the community rules/guidelines which state, Do provide evidence of having done some work yourself

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

That may be. It's also true that there is no evidence to back up its claims. As James Randi used to say, no amount of belief establishes a fact.

Dani commented: IMHO you’re coming across as bashing someone’s culture/religion. There’s no evidence of God either. +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Astrology is BS. The only reasons to consult an astrologist are:

  1. You want bad advice
  2. You have too much money and you want to throw some away

If #2, consider donating to an animal shelter instead.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

What help are you looking for? Do you need help picking a design tool? A framework? What is your current skill set?

SabaKhaaan commented: Hi Jim, thanks for asking :) I want to know about which design tool is easy to use? I am a Node.JS full stack developer. developer +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Without knowing what opportunities are available for each, would you be happier building the tools, or using them? In both cases you'll need the same core skill set. In my case I found it much more fulfilling to build the tools.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I'd say it works more than 75% of the time. Another thing that works sometimes is when you get the "press #" menu prompt on the phone, press zero, even if it isn't offered as an option. It may take you directly to a person.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I have never had any success dealing with a chatbot so the first thing I type is "speak to an agent".

Salem commented: 100% +16
rproffitt commented: 💯% +17
Synergy_1 commented: but it never once worked for me -_- +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Wekcome to Daniweb.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Never mind the robots. They've been promising me flying cars since 1950. Where is my flying car?

Flying_Cars.jpg

bijutoha commented: I'm not holding my breath. We've been hearing about flying cars for decades. I'll believe it when I see it. +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Forty-two.

ruhiparveen0310 commented: can you tell me the name +0
rproffitt commented: Lay off the Pan Galactic Gargle Blasters. +17
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb. Do you have any particular areas of comp sci that interest you especially?

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Hola back. Welcome to Daniweb.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Pinky swear?

Chimdiebube commented: Sure. +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I highly recommend the book Mind Storms: Children, Computers & Powerful Ideas by Seymour Papert. Emphasis on the Logo language.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Jimmy Carr once did a short gag on something similar:

Here's how to tell if your house is haunted. It isn't. Ghosts aren't real.

rproffitt commented: "We're Ready To Believe You!" Some advertisement. +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

You can't. Psychic readings are nonsense.

rproffitt commented: I knew you would write that. Am I Psychic? No. +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Welcome to Daniweb

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

It is not specifically known for discussions on astrology or numerology

However, we probably have no shortage of people who would be willing to point out that astrology and numerology (and several other "ologies" and "opathies") have no basis in reality.

rproffitt commented: Weather-ology? Born under a dark cloud! +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Are you sure you posted this in the right place?

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I suppose that will partly depend on whether or not the inserted records are an "all or nothing" transaction. When I had to bulk insert 8000+ records at one time it was important that either all the records go in, or none. Recovering from a partial insert would have taken hours and would have interfered with further (every five minutes) inserts as well as the downstream processes.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Calling someone out for being uninformed is the epitome of rude in my head

One thing that came up recently was Y2K. In 1996 I was part of a small team that was tasked with keeping our existing AGC/SCADA system running through the change in the event that our replacement system was not in service by that time. We spent hundreds of hours poring through the entire code base (system and apps) looking for problems. In the end we had found three possible plans to keep it up and running. A week or so ago I was with a group of people when one of them made a comment like, "That reminds me of the Y2K thing. They made it out to be a coming disaster and in the end it was all nothing." I had to point out that the reason it was "nothing" was the thousands of hours that highly trained specialists worked to make "nothing" happen.

His was an uninformed opinion that really offended me, so I called him on it. I wasn't nasty about it. I just pointed out things that he had no way of knowing as an outsider.

On the other hand, if someone says to me "I think the Earth is flat." I have no problem replying "and I think you are a moron."

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Is it nasty to have an opinion? Yes, if the comment is akin to "you are a dick", and no if the comment is like "You dislike software 'X' but did not give any reasons to back it up". I have no problem calling out someone for an uninformed or offensive post.

Also, nasty for the sake of being nasty is not something I have to accept.

rproffitt commented: Here's my opinion. +0
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I can't speak on optimization in general without seeing the code. In my previous life I was a Windows SysAdmin/dbadmin as well as a digital plumber. I wrote many apps that had to move large quantities of data from place to place, for example, importing 16000+ records into a SQL database every five minutes. I did all this with vbScript (today I would choose Python). The trick to processing that many records quickly was using vbScript to format the records, then using BULK INSERT to insert all of the records in one transaction. This drastically reduced the processing time by not having to submit each insert separately. The import load later grew to 16,000 records on the hour and 16,000 at five past the hour, plus the regular 16,000 every five minutes. Scripting easily handled the load. You could easily write the massaging code in c/c++ and compare it to the equivalent in Python. Considering the overhead for file I/O would be the same in both, I'd be surprised if the difference was significant.

cored0mp commented: Thank you. I have decided that I shall go for the bulk insert. +1
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

You could start with w3schools.com java tutorial

rproffitt commented: One of my go-to sites when I need a refresher. +17
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

Correct. It was a typo. Should have said "15 years too late" because that was when the question was first posted. I have noticed a number of new posts in old threads that essentially just rephrase (sometimes with only very minor changes) previous posts. There is no Daniweb rule against doing this but I think it is worth a comment and a down-vote.

rproffitt commented: Recommending what was possible malware should be a rule breaker. +17
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

I developed a Sudoku app in Python and doing it without using OOP would have been torturous. Using wxPython without OOP would be near impossible.

Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster

What about eden100 who 8 years ago posted

Use Long Path Tool, Long Path Tool can simplify and probably end your problems in unlocking, managing and renaming files that appear to have a long filename.