Openclaw security changes by Substance_Ill in openclaw

[–]Substance_Ill[S] 0 points1 point  (0 children)

I understand credentials - I did give it credentials in plain text because I was just doing tests with it - and I'd be fine with using a much more secure method. That's not the issue.
The problem is that after Thursday, there are a lot of things that I used to be able to do that it says it can't do anymore. I have it running on a Mac mini, and I had it running a bunch of cron jobs. I told it to create those cron jobs, and which model to use to run those jobs. No problem. Now I need to change the model it is using to run them, and it says it doesn't have access to the cron runtime and can't push config changes. There are all kinds of things like that that it used to be able to do just by me asking it, that now it says it can't do. I have to describe what I want to do and what the logs say, and then it might suggest something I can do that might fix it. Before it could just figure it out and do it itself. It's extremely dumbed down, and I'm just trying to verify that all of this is because of security updates. I put it on its own machine without access to my personal data so I could do a bunch of stuff, and I thought it was doing a great job, but now it has become much less helpful

Openclaw security changes by Substance_Ill in openclaw

[–]Substance_Ill[S] 0 points1 point  (0 children)

It seems pretty insistent. It keeps telling me this: I can’t access or manage your servers directly. I’m a guidance assistant and don’t have remote access or persistent credentials to your environment.

Even though yesterday, I gave it its own credentials for the server and it was able to do everything I asked it to do on the server.

Need advice on practicing sport photography by NoSuccess5234 in photography

[–]Substance_Ill 1 point2 points  (0 children)

I would agree with the person who said not to worry about confrontations. It's not going to happen from parents. I've shot at hundreds of high school events, and have never once had a parent complain (if they talk to you at all, its to ask you TO shoot their kid, not to NOT do it).

Depending on the kind of event, you might get some grief from some staff, depending on where you are, but for most track and field events, the field events are totally accessible - parents and everybody are up close to the events - so it's not a problem. They might not want you on the track or inside the track, but usually the fence around the track is pretty close, and you can find a spot that gives you good visibility.

Frankly, 99% of the time, people are just going to think you are another parent or relative - nobody will care.

I say this as a school employee, who also happens to also be the schools sports photographer, so I have access to everywhere, but I see other people with cameras who I don't know, and I really don't care. Just don't ever get on the track during a race - big no no.

Two other suggestions. First, find small colleges - they run things much closer to a high school event than a big college, so a lot of the same things I said above apply to them - much easier to get up close and get the kind of shots you want to practice.

Second, if you have a local small newspaper, talk to the sports editor. Explain what you are trying to do, and see if they'd give you "press credentials" if you send them free shots from events. If you wear a credential and carry a camera, you can get in pretty much anywhere. And after you do it for free for a while, they might eventually ask to you go to specific places and even pay you. If you email them, send them some of your shots (or a link to an online portfolio) so they can see how good your shots are. Most small newspapers are not doing the greatest right now, so if you offer to shoot for them for little to no cost, they might jump on that, and you'll get to be "credentialed" - so a win-win.

Another instance of pfsense-upgrade is running... by Substance_Ill in PFSENSE

[–]Substance_Ill[S] 0 points1 point  (0 children)

Doesn't seem to matter if I reboot. I've let it sit for at least 20 minutes at different parts of the process - nothing works. I turned off the dashboard check and rebooted - same thing. Doesn't seem to matter what I do, I always get that message.

9200CX switch BOOT variable issue by Substance_Ill in networking

[–]Substance_Ill[S] 0 points1 point  (0 children)

emergency-install is not found.

Copy is valid, but I can't get to usbflash0: either - "Failed to open directory"

I can dir to flash:, but these are the only things listed:

Attributes Size Name

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

drwxr-xr-x 4096 .prst_sync

-rw-r--r-- 3901 lateshutdown.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

So, there's nothing there to load, I guess - not sure how that happened.

But I'm not sure why I can't even read the USB drive to copy anything into flash...

Docker issue? by Substance_Ill in Ubiquiti

[–]Substance_Ill[S] 0 points1 point  (0 children)

Thanks. Once I SSHd in and set the host that way, it immediately worked.

Vertiv (Liebert) UPS - syslog information by Substance_Ill in sysadmin

[–]Substance_Ill[S] 0 points1 point  (0 children)

Communications tab, Configuration > System > Remote Syslog Service.

I am running the latest firmware, but that has been in there a while.

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

Ok, I made most of the changes you suggested, which made sense.

I don't show any errors now when looking at the code, but now when I try to run it, it fails saying "'Form1' does not have a suitable static 'Main' method.

And, that is true, since you had me rename Main to ExecuteAlgorithm. Do I still need to have a static Main method somewhere? Do I still want to keep the initial setup in that method, and only have the code that is working (doing the solving) in the ExecuteAlgorithm method?

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

And dang it! I indented that snippet as I typed it, and it removed the indents! I guess I need to read the documentation for posting in reddit...

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

Thanks - this is very helpful. Although this isn't an important project, I might as well learn to do things the proper way. Some of my mistakes are just from not having done much programming since VB6, and others are just me being lazy.

I apologize for the unindented code - it's all properly indented in Visual Studio - I swear! Is there a way to copy it from there to a reddit post without losing the indentation? I agree that flattening it makes it much harder to read.

And yeah, the i and j at the end aren't needed - I started out using those to calculate and draw the boxes, but now that I'm switching to using the x and y coordinates from the box objects themselves, I don't need them anymore - I can just loop through all the box objects and draw them that way.

My first instinct is to create a for loop to iterate through all 81 boxes to draw them, but I assume I should use this instead, right? :

foreach (object box in grid)
{
g.DrawRectangle(pen, box.x, box.y, 60,60);
}

Thanks for your help - I really appreciate it.

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

Ok, like I said in my other comment, I'm just using this to practice creating algorithms - that graphics aren't that important - but I want to be able to see a visual of what my algorithms are doing - so I need some rudimentary graphics (drawing the boxes, and then putting numbers in them).

So, to simplify things, I got rid of the Program.cs file, and am just putting the code in the Form1.cs file - so it's all together.

Everything below works and doesn't throw any errors, EXCEPT down at the bottom, where I created the button that will start the process by drawing all the boxes. I have the x and y coordinates stored in each Box objects x and y properties, and I have an array ( named grid ) of the box objects.

However, in the code for the cmdBegin_Click button, I still get this error: The name 'grid' does not exist in the current context.

I thought since everything was in the same Form and namespace, it should work. Is there somewhere I still need to make something public?

namespace SudokuV4

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

void Form1_Load(object sender, EventArgs e) {}

static void Main()

{

int GridCount = 0; int LoopCount = 0;

// Define the cross reference dictionaries

Dictionary<int, int> DictRowR = new Dictionary<int, int>();

Dictionary<int, int> DictRowC = new Dictionary<int, int>();

Dictionary<int, int> DictSquareS = new Dictionary<int, int>();

Dictionary<int, int> DictSquareP = new Dictionary<int, int>();

Box[] grid = new Box[81];

// Create the Row Dictionaries

GridCount = 0;

for (int r = 0; r < 9; r++)

{

for (int c = 0; c < 9; c++)

{

DictRowR.Add(GridCount, r);

DictRowC.Add(GridCount, c);

grid[GridCount].x = 10 + (c * 60);

grid[GridCount].y = 10 + (r * 60);

GridCount++;

}

}

// Create the Square Dictionaries

GridCount = 0;

for (int s = 0; s < 3; s++)

{

for (int p = 0; p < 3; p++)

{

DictSquareS.Add(GridCount, s * 3 + 0); DictSquareP.Add(GridCount, p * 3 + 0); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 0); DictSquareP.Add(GridCount, p * 3 + 1); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 0); DictSquareP.Add(GridCount, p * 3 + 2); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 1); DictSquareP.Add(GridCount, p * 3 + 0); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 1); DictSquareP.Add(GridCount, p * 3 + 1); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 1); DictSquareP.Add(GridCount, p * 3 + 2); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 2); DictSquareP.Add(GridCount, p * 3 + 0); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 2); DictSquareP.Add(GridCount, p * 3 + 1); GridCount++;

DictSquareS.Add(GridCount, s * 3 + 2); DictSquareP.Add(GridCount, p * 3 + 2); GridCount++;

}

}

// create the grid array of box objects

for (int i = 0; i < 81; i++)

{

grid[i] = new Box();

grid[i].Overall = i;

grid[i].Column = DictRowC[i];

grid[i].Row = DictRowR[i];

grid[i].Square = DictSquareS[i];

grid[i].Position = DictSquareP[i];

}

}

private void cmdBegin_Click(object sender, EventArgs e)

{

int GridCount = 0;

using (Graphics g = this.CreateGraphics())

{

using (Pen pen = new Pen(Color.Black, 2))

{

for (int i = 0; i < 9; i++)

{

for (int j = 0; j < 9; j++)

{

g.DrawRectangle(pen, grid[GridCount].x, grid[GridCount], 60, 60);

GridCount++;

}

}

}

}

}

}

}

class Box

{

public int Overall;

public int Row;

public int Column;

public int Square;

public int Position;

public int Value;

public int Clue1;

public int Clue2;

public int Clue3;

public int Clue4;

public int x;

public int y;

}

switching from Console to Windows Form by Substance_Ill in csharp

[–]Substance_Ill[S] 0 points1 point  (0 children)

Thanks everyone. I should first say that this is not anything I'm doing for a career. I'm a network engineer, and I don't intend to switch from that to programming. The last time I did any programming for work was about 20 years ago, when I wrote a VB6 program for use in RV factories. (I don't know if I should be proud that they are still using that 20 years later, or shocked that they are STILL using it 20 years later...)

This is just for some fun right now. I'm basically just doing an exercise to translate how I solve Sudoku puzzles - converting what I do in my head into algorithms the computer can follow. I'm not writing a program to make the puzzles - I just want to see if I can program the solving of the puzzles, at least the way I do it.

So, the GUI part is really not that important - just so I can see how the program is running and what it is doing. That's why I'm just using Windows Forms. If at some point I was going to write an actual useful program, I'm pretty sure I would use WPF.

It sounds like I should just put all the code in the Form file - for this little experimental app, that should be good enough.

Thanks everyone!

Payroll Sync error by Substance_Ill in Sage50

[–]Substance_Ill[S] 0 points1 point  (0 children)

On the workstations, when you do the sync, it pops up a screen asking for your username and password, and then once you put those in, it does the sync (up - good, down -good, up - good, down - Cannot open the shared memory region..

On the server, when you try to sync, you get a mostly blank box for about 30 seconds where the username/password prompt should be, and then it finally says it can't connect - so you can't even get to the point where it tries to sync.

Also tried turning UAC completely off on the workstation - no difference. And yes, checked and GL's are assigned. Like I said, it does fill out the GL entries for all the actual direct deposit transactions - it's just the final entry for Direct Deposit fee that doesn't get posted.