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

Try a focused area like on Reddit such as https://www.reddit.com/r/homelab/comments/740ap2/the_unofficial_fujitsu_server_guide/

If these were mine I'd move to Linux or BSD.

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

I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site.

For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online .

You can get there.

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

To VAIBHAV. Recently an instructor at some training site was posting similar questions. Turns out they were directing folk to their course on Udemy. They were found out with a little research by others.

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

To VAIBHAV. I used your business card information to see if you could be found at SRM.

VAIBHAV_20 commented: But why are you trying to find me +0
rproffitt 2,701 https://5calls.org Moderator

Are you attending "SRM Institute of Science and Technology"?

VAIBHAV_20 commented: How do you know +0
rproffitt 2,701 https://5calls.org Moderator

Have you read Vaibhav Jaiswal's article on this?

Dani commented: How are we supposed to know what article you're referring to? A google search turns up nothing -8
VAIBHAV_20 commented: No I’ll read it +0
rproffitt 2,701 https://5calls.org Moderator

This is not an offer of edits or support.

slideDelay at https://www.lightgalleryjs.com/docs/settings/ looks like something I'd look to add or change.
Sometimes website owners don't code so they end up a little frustrated.

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

For RJ,
That looks like Fortran.
Also:
image_2024-01-27_164115263.png

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

What standards are you asking about?

What happens when your standard doesn't fit your use case? (spoiler)
image_2024-01-27_115711909.png
https://xkcd.com/927/

As I wrote more and more code I did gravitate toward standards. But with each job, there was yet another standard to use.
Most of the time it was just a formatting change. Read https://en.wikipedia.org/wiki/Indentation_style to see 9 standards alone.

Then there was the call to use patterns but the embedded system was a mix of assembler and C. Not even C++.
To make that more fun, the program lead wanted to replace the hardware system with "something modern" so we could move to C++. A few weeks later they were reassigned.

So back to you, how do you deal with choosing such standards?

cored0mp commented: thank you, I responded below. +1
rproffitt 2,701 https://5calls.org Moderator

Nod to https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/variant-data-type
Why use Variant here?
Seems Integer would work but since you might exceed 32768 go with long integers.

PS. Added with edit. Be sure all the constants and variables in your math are long as well. 256 isn't long.

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

AFAIK, Netbeans requires those images to be in the resources folder. So much omitted about the dev environment here.

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

I am not using this library so I can't help directly. Also, the code above won't compile so I can't do any testing.

In spite of that, have you ruled out a DNS failure in this app? That is, use the IP address instead the URL/sitename?

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

Our apps worked with (at the time) almost any SQL server. So we didn't have to license MySQL.

If your application works with many databases, either natively or by using one of the database source independent frameworks, then you can freely distribute the MariaDB server with your application without being affected by the GPL. The reason for this is that MariaDB would only be an optional, independent component in your software distribution and section 2 of the GPL explicitely allows this

cored0mp commented: Thanks! That's genius. +0
rproffitt 2,701 https://5calls.org Moderator

Can you tell me more about the License concerns? We've never had to pay for decades. I think my first use was around 1998. That's 25 years of free use.

Is MySQL free or cost?
MySQL is free and open-source software under the terms of the GNU General Public License, and is also available under a variety of proprietary licenses.

cored0mp commented: Yes, it sounds like our use cases are different. Since I plan to resell the software, I think that I can get a better licensing deal with Postgres. +0
rproffitt 2,701 https://5calls.org Moderator
  1. GRANT. Yes, you'll be using the GRANT command.
  2. I can't guess your needs here. If your system is web based or app based (C++, etc.) then the GRANT would be per user. If web or server based, then you grant needs change. This isn't a simple yes/no question. That is, the system designer would know what they need. A new system designer will take time to take a few tutorials about this area and think long and hard about security. i.e. don't grant too much power to all possible users.
  3. The old MySQL vs Postgres question seems to be about if your needs are read or write heavy. Or if there's a feature you absolutely need in either system.
cored0mp commented: Thank you for your insights. +0
rproffitt 2,701 https://5calls.org Moderator

On line 66, it appears you assigning "" to d rather than testing for equality.

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

I read a few discussions about this on Reddit and for now I agree it appears broken. Some note that you do what it tells you and at the last step it fails again. "if you actually tried to set up the msg, right bfr finalizing it will tell you that you already have it running".

The rules look onerous. Especially this one: "You must keep a record of the consent that users have given." Wouldn't this mean we have to add a field to every user?

I don't have an answer for you here except it looks broken for now.

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

While it's ambitious, the only way for you to do this is to dive in and do this.

If you were looking for tutorials, you would do research on Google to start.

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

Maybe the tag system changed but in the past I could create a new tag if there wasn't one. And no bother at all.

Yao889956 commented: Oh, this is my first time using a foreign website and I completely cannot understand the operation. I still need to use a translator... but thank you +0
rproffitt 2,701 https://5calls.org Moderator

Why the Windows-7 tag?

Also, why limit yourself here? Other algorithms such as dynamic programming or heuristic approaches may be more appropriate for achieving the desired outcomes.

Yao889956 commented: Sorry, I am just the person who posted the article and couldn't find a suitable tag. I'm very sorry to bother you +0
rproffitt 2,701 https://5calls.org Moderator

Before we start let's know the following.

“Core Isolation will be on by default for fresh installations and new PCs, so devices are secure as possible,”

  • Microsoft

This is why viewing memory is a dead end today. Maybe you didn't know this.

Please tell more about your project and why you need this.

seth_yu commented: I love working on software reverse, and I thought this project might help me +0
rproffitt 2,701 https://5calls.org Moderator

Add some detail about those tools. Here I use various editors for HTML. What you use isn't clear so for me I can't see why this is an issue as I could edit the code as I wish.

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

In your private messages you save to look at other than the top page but again I don't see a visual issue.

Take a moment to grab a screenshot of the issue so I can tell what you are seeing.

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

I find that Microsoft provided drivers can be hit or miss. Sometimes it fixed something, other times it breaks something.

Unless you own a Microsoft PC such as the Surface, my view is that you go get drivers from the maker and disable Windows Driver Updates. Here's one method:
Disable automatic driver install on Windows 10
Open Settings.
Click on System.
Click on About.
Under the “Related settings” section, click the System protection option.
Click the Hardware tab.
Click the “Device Installation Settings” button.
Select the “No (your device might not work as expected)” option.

As to fixing the bluetooth issue, IF the hardware is good, go to the maker's site, get and install the driver for your hardware after disabling Windows Driver Updates.

Remember that hardware does fail. It can fail unexpectedly and folk might think it's a Windows issue but it wasn't. How I figure this out is the above procedure where I disable driver updates then install the driver myself. If Bluetooth still fails I plug in another Bluetooth adapter along with its drivers then re-test.

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

What computer network?

For home users and mind you I'm talking about current versions of Apple OS and Windows we have drive encryption automatically with the T2 chip and can beef that up with FileVault. On Windows, Bitlocker will do fine.

Now about the home network. By default there are no automatic file shares so there's not much to worry about over a network unless the user is installing or allowing remote access. But on current versions of Apple OS, Windows and Linux the default has no known current exploits to worry about over a network.

HOWEVER, if you are sharing information via the web on social media and such, is that one of your security concerns?

nancykhoo58 commented: Thanks! I got it! +0
rproffitt 2,701 https://5calls.org Moderator

While I use Google drive for images, the images are all far too large (pixel count, x by y size) to be what I'd use on a web site. My camera and screenshots can be 4K or larger images so I would expect them to be awful if I put them up on a web page.

After addressing the image dimensions then I recall the use of Google Drive for image hosting to be unstable. Maybe it still is.

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

No mention of the compiler. For Visual C++ the text file has to be in a certain folder but without knowing which compiler you use and host OS I can't see if that's the problem.

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

Flip the equation. 2,500 soldiers have a 1 in 15K chance to fire per frame. or 2500 in 15000. To get to 15000 in 15000, that's 6 frames for a random arrow. Or 1/10th of a second per arrow.
I only need one random number every 1/10th of a second to select which soldier fired.

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

There are dozens if not over a hundred of these out there. There's no way for me to pick one for you. However there are a lot of folk trying to "script" their way into running sites without putting in the time to learn about what they are using. Google your title question and there are reviews of top 10 or so such templates that you can read about. Try a few until you find what fits for you.

Krisha03 commented: Sure +0
SanjayJoshi commented: WHy 5 calls +0
rproffitt 2,701 https://5calls.org Moderator

I think I see 4 or more problems with this code.

  1. Unbalanced braces.
  2. No matter what happens prior to line 18, $html sets the string unconditionally to data not found.
  3. I see on line 7 you building the string but line 8 negates line 7.
  4. Also, line 16 sets $html to well, what you wrote there.

Check your braces and consider moving line 18 to line 5.

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

For hours less than 40 I see 2 print lines that will execute. Lines 5 and 14.
For hours 40 and over, only line 16 and 17 will print.

Your code does exactly what you told it to do.

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

Please add code for us to look at.

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

This is a fine example of poorly documented code as well as not much written in the design document. Yes, this is just a forum but as presented there's so much missing that any guess will likely be a bad guess.

I can't guess what the requirements are for 'id' so skipping over that, why not log what id is in your php code so you can inspect what is happening?

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

The last reply doesn't appear to be what you asked above. Anyhow, the firewall rules will be in place shortly after a boot but sure, you can do that. Nod to priors like https://unix.stackexchange.com/questions/134682/iptables-add-rule-for-interface-before-it-comes-up HOWEVER this can be distro dependent.

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

Topic question doesn't appear to match your question in the text that follows. Also, we state what we want the firewall to do then write the rules but you seem to have put the cart before the horse.

That is, you have the rules before you determined why you have these rules. Let's start over. What did you need iptables to do here?

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

Where in this code is that id number? I didn't find it.

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

A quick look sees unbalanced curly braces. But that's not important right now.

staffTWB is a structure and not an instance of the object.
See https://www.guru99.com/cpp-structures.html

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

I'd look into filing a GDPR complaint.

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

Still can't see how https://developer.chrome.com/docs/extensions/reference/tabs/#method-sendMessage will let us interact with say, a Facebook page. Now if the pages are all yours then your code could have scripts in said page to receive and act upon your JSON message. But I still don't see a good explanation of what you are trying to achieve so my thought is that you might be trying to automate interaction with Facebook or other sites than your own. If you were CLEAR about what you were trying to do, maybe I could offer ideas but as it stands I don't see how this API will do much with pages that you don't control.

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

Can you think of any example where this works? My thought is if this did work it would show an exploit or bug in the browser since a tab is sandboxed from other tabs. It's valid to expect the messages to work in a single tab but would highlight a security/exploit issue if messages flowed sideways between tabs and browsers.

As Dani wrote, maybe there's another way.

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

If so, a breakpoint on the line in question and the following line to see what's going on.

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

I've supplied two other lines of code to click the button. At this point it's unclear what the issue is. But I see you made some progress on breakpoints so next step is a breakpoint for the timer handler.

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

Long ago I learned to add the usual Timer1.Enabled() (remember I am not checking syntax here) and more to my form startup code.

That is, don't rely on defaults or what you see in the GUI. Set the status, time and enable as you see fit.

Also, you can put a breakpoint on that line two so you can query the state or Timer1.

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

The instance error is not unexpected so I take it you'll add code to handle this issue. Schol has already responded about that.

Also, since you don't use sender or e, why not Form.Button5_Click(null, null) or my first response idea.

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

Many turn to Naudio (https://github.com/naudio/NAudio/wiki) or similar. I have yet to see anyone code this natively.

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

I'd want to seen the button5 event handler code but why not Form11.Button5.PerformClick() ?

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

You'll have to tell more. I often find this is an issue with the mobile's browser. To which I install Chrome and re-test. As to your code, I don't see it here so I can't check it out.

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

I see a good enough tutorial at https://www.youtube.com/watch?v=A95mIE2HdcY
Takes a few lines of code.

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

While I questioned their choice, when my wife worked for such they used Zoom. Both for the rather famous calling but also the Zoom Chat feature.

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

If there are no backups, it's not safe enough. As the other have said before:

No backup, no data.

We only lose what we don't backup.

My take is if it's not backed up, it wasn't worth backing up.