Salem 5,265 Posting Sage
Salem 5,265 Posting Sage

It looks like it's really helped a few people already.

Yeah, 4 new members with consecutive user ID's, smelling like sock-puppet accounts.

rproffitt commented: I saw that as well. +1 for you. +17
Salem 5,265 Posting Sage

https://en.wikipedia.org/wiki/Health_Insurance_Portability_and_Accountability_Act

Or the equivalent for your jurisdiction.

It doesn't matter how glossy your website is, if you f-up the basic security, you won't have any customers to worry about.

Salem 5,265 Posting Sage

Congrats on getting going.

Even if i run the setup and ticked the option "add to path", the echo %PATH% command didnt seem to show what i expected.

Yeah, this won't transform the PATH of any existing process.

In increasing annoyance order, you may have to:

  1. Start a new cmd window
  2. Log out and log in again
  3. Reboot the machine
Salem 5,265 Posting Sage

When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt.

So did it even give you print("Waiting for a connection...") ?

Consider making your server main like this.

if __name__ == "__main__":
    print('Server Begin')
    main()
    print('Server End')

You can add more prints in the main() function itself to try and diagnose the point of failure.

Your client failed with the timeout because your server isn't running.

A very basic test: At the console prompt on your client machine, type ping 192.168.0.2

Salem 5,265 Posting Sage

https://xyproblem.info/

  • User wants to do X.

Sometime later...

My boss just asked me to create a prototype as proof of concept. There is no specific language/tool I must use

  • User asks for help with Y.

Initially asked...

Have a webpage with a button, when pressed, it will launch a webpage that runs a server side exe (eg, notepad.exe or ribbons.scr), while at the same time run the same exe on the local client pc.

So, if you'd stated your initial requirement rather than asking how to fix your unworkable approach, we might have gotten somewhere.

You want something like this:
https://en.wikipedia.org/wiki/Remote_procedure_call

There are multiple ways of doing this.

Can you be more specific about what your "hardware product" is. Because "can be seen as a notebook computer" suggests it isn't a notebook computer at all, but maybe something akin to a glorified point of sale terminal.

  • Does it have an operating system on it?
  • Are you able to install software on it?
Salem 5,265 Posting Sage

6 to 12 months is a long time to wait to figure out whether your "seo expert" is genuine, or a fly-by-night cowboy who's already vanished with the cash without producing a result.

How do you tackle this?

Salem 5,265 Posting Sage

So I've seen two (possibly more) threads that end with the phrase "let's discuss" and an exclamation mark of over-enthusiasm (which is ironic, since it's low post count drive-by accounts posting this stuff).

The preambles are well written, but meaningless pith.

It's such an odd way of closing out a post that it stinks of having AI behind it. One post would have been curious, but two posts (and counting) is looking like a pattern.

What is clear though is that whoever replies is expected to do all the heavy lifting if the topic was to be answered properly.

The examples:

https://www.daniweb.com/digital-media/threads/543256/exploring-the-future-of-audio-technology-innovations-and-trends
https://www.daniweb.com/digital-media/ui-ux-design/threads/543236/best-ways-to-print-a-high-quality-book-cover

Salem 5,265 Posting Sage

This https://en.wikipedia.org/wiki/Peterson%27s_algorithm
Plus two different kinds of processors.
Plus an error rate of less than once a week.

After many months, the cause was eventually captured on a bus analyser.

After which, the solution was obvious after a bit of RTFM.

Turned out that one of the processors had the then awesome new feature of out of order memory operations. So very rarely, a write-read in the algorithm turned into a read-write on the bus. Fine if it was the only thing on the bus as the memory logic in the processor would have sorted it out.

But it wasn't the only thing on the bus, and the other processor was in that super critical window for some few uS at exactly the wrong moment.

Result, both spent the rest of eternity waiting for the other one to get on with it.

Turning off said feature, beers all round chaps!

Salem 5,265 Posting Sage

My first thoughts would be

  1. What is large? Are we in the TB range or mere handfuls of GB?
  2. How often do you need to do this? Is it once a day, once a month, or just once.
Salem 5,265 Posting Sage

I use it all day, every day.

TBH, M$ stopped being an OS company after Windows 7 and the so-called OS just became a marketing tool to ram ever more crap in front of your face.

Salem 5,265 Posting Sage
Salem 5,265 Posting Sage
Salem 5,265 Posting Sage

It should be obvious by now from their posting history that the OP is a troll.

Salem 5,265 Posting Sage

TBH, if it's "just me", then password protected tarballs of your .git directory, uploaded to one of the more trustworthy sites might be an option. I wouldn't touch google/onedrive with a barge-pole. Dropbox maybe at a pinch. Personally, I use https://mega.io/

If your DW hosting provider gives you access to filespace outside of the www root hosting daniweb.com, then that would seem to be a good place to store the archives.

Salem 5,265 Posting Sage

Given who owns github (M$), and their location (U$A), I wouldn't trust anything commercially sensitive with them.

Why do you even need it, apart from the simple convenience of it all (that's the trap, make the honeypot sweet enough, plenty will arrive). There's not much there that can't be replicated on a server machine you physically control.

How many people have commit rights on your codebase?
Every contributor has a complete copy of the entire git repo. So even if you lost everything, you can sync with any of your peers and be back up and running to the point of your last push.

Salem 5,265 Posting Sage

And who's head is in the noose when you mess things up with my enterprise account?

Like for example, bad software gets signed with my key, or your "company" is in an embargoed jurisdiction?

If you need it, buy your own.

Salem 5,265 Posting Sage

Is this for remote workers anywhere in the world, or actual bums-on-seats in a downtown office in NY?

Salem 5,265 Posting Sage
Salem 5,265 Posting Sage
Salem 5,265 Posting Sage

@Mr.M, @Dani - you might want to delete/censor the IMEI shown in the screenshots at some point.

rproffitt commented: Is that a real issue? Example: https://www.reddit.com/r/AndroidQuestions/comments/19dwye3/accidentally_posted_pictures_of_imei_number/ +0
Salem 5,265 Posting Sage

https://www.php.net/manual/en/mysqli.select-db.php

I think the key word in all of this is "default".

You can probably do what you want, but you have to refer to each DB by it's own handle.

Using select_db is fine, if you only have one DB and you want to be lazy about referring to it.
So you make it the default DB.

But as soon as you have more than one DB, then forget about select_db and just be explicit about which DB you really want at each transaction.

Salem 5,265 Posting Sage

Your chrome is 9+ months out of date.
https://chromereleases.googleblog.com/2024/07/

rproffitt commented: Thanks for this. +0
Salem 5,265 Posting Sage

Back to the guessing games....

https://learn.microsoft.com/en-us/cpp/extensions/string-cpp-component-extensions?view=msvc-170
Lists 3 different namespaces where things called 'String' are present.

using namespace Platform;
using namespace default;
using namespace System;

Or maybe you have your own String implementation, who knows (we don't).

What version of the compiler are you using?

As a test, does this compile without error?
String^ pcname("Barney");

rproffitt commented: Not OP but tag tells c++ but not which one or code shown. I have also run into VC++ 1.5 users that I can't help with. +17
Salem 5,265 Posting Sage

I tried that but I get this error

Prove it - post some code.

You won't believe how many times people claim "I've done X" only to find out many posts later that they haven't done X at all, or they managed to fumble it and do "Y" instead.

Salem 5,265 Posting Sage

Cannot convert parameter 1 from char[16] to system::String ^

You need to convert your char array to a CLI string in the first instance, before trying to pass it onto some other function expecting a CLI string.
https://learn.microsoft.com/en-us/cpp/extensions/string-cpp-component-extensions?view=msvc-170

I don't know why DaniWeb keep on crashing whenever I try to write

On my phone (in two different browsers), the thing in the rounded square is the number of open tabs.

Maybe you have an enormous number of tabs open, and you just ran out of memory.

Salem 5,265 Posting Sage
Salem 5,265 Posting Sage

How about engaging with the responders on your other thread with basically the same topic?

https://www.daniweb.com/programming/web-development/threads/543080/how-to-implement-lazy-loading-for-faster-web-portals

Salem 5,265 Posting Sage

Dunno - could you run Daniweb at home with that kind of bandwidth and save a chunk on data centre fees?

Or would something like that fall foul of the Terms of Service and/or Acceptable Use Policy?

Salem 5,265 Posting Sage

Use threads - lot's of threads.

Reverend Jim commented: Hah +15
Salem 5,265 Posting Sage

But because the car was made in the US I had to enter the price per US gallon whereas our gas is sold by the litre.

I'd wager the software wasn't, and the software is the same regardless of locale.

<disclaimer>
Do the same youtube "tutorials" also tell you how to do a factory reset?
A lot of tech (phones, computers etc) all start with "choose your language" then "choose your location" after a factory reset.

Or it might brick it, and you need to configure 100's of EMS settings to make the engine compliant with the market you're in.
</disclaimer>

TBH, it sounds like an annoying gimmick that isn't worth the time of day to try, let alone fix.

Reverend Jim commented: There is a button to toggle between metric and imperial but it affects only the speedometer. +0
Salem 5,265 Posting Sage

10+ year old no-name desktop put together by my local computer shop.

Salem 5,265 Posting Sage

And you need 5Gbps because...?

AT&T just became in our neighborhood available and I'd love to go back to it.

Yeah, I'd be letting the neighbours be the guinea pigs. I have little doubt that the "it's available" came from AT&T marketing department as soon as someone in provisioning said "um, maybe". Even if they really are "ready", if there's an initial stampede of early switchers, you might be in a queue.

Even more reason for caution, if your livelihood depends on a stable and reliable connection.

On the plus side, at least you now have a stick to beat your existing provider with.

Salem 5,265 Posting Sage

What's the use-case?

"Black Duck" is an existing application for scanning your in-house proprietary software to make sure it doesn't get tainted with open source software with vague/incompatible licence terms.

Salem 5,265 Posting Sage

The density of popes outside the Vatican is 0.0, invariant of the chosen unit area.

Salem 5,265 Posting Sage

And of course the line "Would you like some toast?" -Talky Toaster, everyone's favorite breakfast companion.

Aah, so you're a waffle man.

Salem 5,265 Posting Sage

I found an advert for a really nice looking DeLorean car.

I asked about the mileage, and they replied it was only used from time to time.

Salem 5,265 Posting Sage

Based on evidence here, s..t-posting on forums seems to be the new use-case.

No end of dweebs drive by with the latest "helpful" pith generated by some LLM.

Salem 5,265 Posting Sage

I'd rather have a phone that can make calls, texts and take UNALTERED BY AI photos.

How long before AI eff's up some key witness photo, resulting in the guilty going free or the innocent jailed?

rproffitt commented: That was the plan all along. +17
Salem 5,265 Posting Sage

Apparently, I joined December 2005.

Probably followed someone's link to some post I guess, then decided to pull up a chair.

Salem 5,265 Posting Sage

Why don't you just type that into a search engine, then go and bother those sites instead?

MasoodDidThat commented: The result i got on search engine was not accurate plus the websites were not particularly related to backlinks +0
Salem 5,265 Posting Sage

Firstly, I'd suggest you edit your post to remove your real email address from the code.

https://www.php.net/manual/en/function.mail.php

Some things to try.

  1. Headers is an optional parameter, can you send without the headers parameter? Many examples I've seen suggest there should be a space after the :, as in 'From: '
  2. Sanitise your subject and/or message. You can't in general feed whatever was typed into your dialog directly into mail.

Does a very simple inline code work?
mail('my@my.address.com','Testing...','1 2 3');

Salem 5,265 Posting Sage

Guidance?

Maybe you should read your topic and post before pressing submit. That would be a starting point.

Salem 5,265 Posting Sage

It's probably going to depend on the number of connections your hardware supports.

https://man.archlinux.org/man/hcitool.1.en

lealsz Read size of LE Accept List

On my machine

$ sudo hcitool lealsz
Accept list size: 25

Bluetooth is generally low bandwidth, so if you're just sending moves as short ascii strings, the machine isn't likely to be troubled.

Salem 5,265 Posting Sage

For someone claiming to be an "SEO Executive", you seem remarkably inept at doing even the most basic web search.

https://duckduckgo.com/?t=ffab&q=blockchain+MVP

But then again, most of your posts look like bait for spam.

Salem 5,265 Posting Sage

But it's also in everyone's interest for AI to be trained on reliable information, if we want AI to be useful to us

Yeah, that ship slipped it's mooring when facebook appeared, drifted out to sea on the twitter tide, and promptly sank when muck took it over.

Domain specific AI's trained on the likes of https://arxiv.org/ might be worth something.

The garbage on social media just needs to be left to rot.

Salem 5,265 Posting Sage

my hard disk has been damaged, and entire project has been collapsed.

Did the disk just "stop working" one day, or has it been rotting slowly over time?
Or does "damaged" mean "I deleted the source folder". If that happened yesterday, you might have a chance. If that was months ago, most of it is probably lost for good.

In any event, the important thing is to stop using the disk immediately, and consult with the data recovery service offered by your HD manufacturer, or other well-regarded service in your area. This will not be a cheap option.

I have exe back up file to run this project and working well

I'm going to assume you're working in a business environment, where your time had a direct $ cost to the business.

Maybe a tool like this can help https://www.vb-decompiler.org/
You will not get back your source code in a form you can directly recompile. But it seems you should be able to recover a useful amount. There's a demo version to try first, so could be worth checking out.

How long would it take you to rewrite the program from scratch?
Say you cost the business $40/hr (that's a low in the west by the way). The $1600 price of the above tool is basically a week of your time.
So if a rewrite were to take "months", but having the above tool would save you at least a couple of weeks, it might …

Syed Zubair Ali commented: best, +0
Salem 5,265 Posting Sage
Salem 5,265 Posting Sage

Since 90% of all posts are AI generated garbage to begin with, perhaps all newbie posts should go into a moderation queue before being allowed on the publicly visible board.

Most of them are 1-post drive-by's that simply don't care where they post. Just so long as the result is visible with a page refresh, they think it's "job done" and move on.

Whilst this might sound like extra work for mods, is it any more work than dealing with "report post" messages?

Salem 5,265 Posting Sage
Reverend Jim commented: Different IP addresses, surprisingly. +0