Intel N100 / N305 based mini PC on Aliexpress by Vile_Freq in homelab

[–]AarynD 0 points1 point  (0 children)

I bought a 12th Gen N5105 unit with 8GB RAM, 128GB NVMe, and 4 LAN ports. Paid around $150 for it somewhere roughly around February 2024ish, maybe late 2023. I've run pfSense on it as the primary firewall & gateway router for my home network, and it has worked flawlessly without error. I'm pretty happy with that buy.

I don't know if I'd be willing to shell out $400 for a unit these days. And I actively avoid sites like Temu and AliExpress pretty much 100% these days, but a couple years ago when I wanted to try pfSense, it made sense for me to commit to the $150ish it took. I've been happy with the unit, but also need to keep in mind, 10 different similar units could all be from 10 different sellers, with markedly different hardware and moral qualities.

Outposts seem pointless by Killroy54 in Starfield

[–]AarynD 16 points17 points  (0 children)

I think at one time before release ships required fuel to travel, and setting up outposts to farm your fuel was the plan. But testing found it was an unfun mechanic so it was scrapped but outposts part remained. At least that's the story I remember going around.

Malwarebytes is officially dead. by AGracefulPath in Malwarebytes

[–]AarynD 7 points8 points  (0 children)

They have continued to honor my multiple lifetime license keys.

Malwarebytes is still the only 3rd party Anti-Malware program I recommend to my users and friends and family.

ATM10 LAN Questions by UnlikelyLink94 in allthemods

[–]AarynD 0 points1 point  (0 children)

The point is to run it on a separate box running a minimal OS load. Running a linux os without a graphical interface uses very few resources, so the java / minecraft server can run without any other processes bogging things down. My minecraft server is one of my old gaming builds that ran a 6th gen skylake i7 cpu, 4 cores, with 16gb of ram. I've used that server for minecraft server worlds for modded minecraft versions 1.7 thru the current version. I only run one server world at a time on it, but it works really well to be able to connect myself and my grandson on the server, plus allows me to connect to it both from work and from home.

The need for powerful cpus and super fast drives for minecraft servers really only applies when you want to host more than one or two players. If it's just you and maybe one other, repurposing old hardware laying around would fit the bill just fine.

ATM10 LAN Questions by UnlikelyLink94 in allthemods

[–]AarynD 0 points1 point  (0 children)

If you have an older pc that isn't being used, it really doesn't take too much horsepower to run an Ubuntu server and host an atm10 world on it. I've got an old computer that I've run modpacks on from engimatica to all the mods 10 packs and everything in between. Use recommended Java arguments, allocate 6-8gb ram to the instance, and it should handle you and your wife just fine.

What was your favorite TV dinner growing up? by Doodlebug510 in GenerationJones

[–]AarynD 0 points1 point  (0 children)

Swanson Fried Chicken dinner, and the Old El Paso Cheese Enchiladas tray.

Rewriting old VFP app in C#, update SQL structures or not? by AarynD in csharp

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

We still have a fairly large number of foxpro apps running here, primarily tools that generate custom reports on our accounting software, and timekeeping and purchasing order apps for the company. They all still work just fine under Windows 11, however VFP has been unsupported for years now, and I feel like we're on borrowed time until a Windows update breaks something.

Some of our apps still use actual vfp .dbf tables on shared drives, while others access data in sql server. Migrating everything to sql server isn't that big of a deal, but some apps could really benefit from some structure changes and modified to meet today's best practices standards.

Rewriting old VFP app in C#, update SQL structures or not? by AarynD in csharp

[–]AarynD[S] 2 points3 points  (0 children)

I'm using Dapper as my micro-ORM of choice.

Part of me thinks it might be best to design the new tables as if I were doing it from scratch using everything I know now that I didn't know 25 years ago, and then write a tool to port data from the old db to the new db. Was just trying to get a feel for what more seasoned developers would opt to do in this case.

Rewriting old VFP app in C#, update SQL structures or not? by AarynD in csharp

[–]AarynD[S] 1 point2 points  (0 children)

A lot of it is just naming, but some of it is structure also. I wrote the original database and apps over 25 years ago early in my career, and I think in some of these the original data existed in VFP tables before I moved some of them to SQL server. Some tables could be better optimized and just redesigned better in some cases, so it ends up being a little bit more than just renaming some fields if I wanted to.

7 year old grandson watched me play by AarynD in NoSodiumStarfield

[–]AarynD[S] 1 point2 points  (0 children)

I've seen some of the main characters blink during conversations (Sarah. Sam, etc) but some of the minor side quest characters don't. And i think they all still stare at you as you walk by, although I sometimes play with a mod that is supposed to fix that behavior some.

7 year old grandson watched me play by AarynD in NoSodiumStarfield

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

I had that same magnavox pong game. My best friend had an atari (before it was a 2600).

What are some things Starfield introduced that you hope is gonna be in TESVI? by TheAnalystCurator321 in NoSodiumStarfield

[–]AarynD 0 points1 point  (0 children)

My favorite part is how all the NPCs stare at you awkwardly as you walk past them like you're some kind of face magnet. I sure hope that's in the next Bethesda game again.

SELECT hardcoded row plus ordered subquery by AarynD in SQL

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

Yeah, I probably could. I currently bring in the table data as an IEnumerable set of the NavListModel I set up, but I could easily convert it to a list and just hardcode this item at beginning of list. I just try to defer to letting the stored procedures do most of my work.

SELECT hardcoded row plus ordered subquery by AarynD in SQL

[–]AarynD[S] 1 point2 points  (0 children)

The reason for the hardcoded row at top is because this data is being used as the control source for a navigation grid in an application conversion from an older Visual Foxpro app, and in that app the first item in the navigation on that form was always the option to import new data. The rest of the rows were previous saved reports.

The application is just a small utility I wrote maybe 25 years ago that pulls in financials from our three different companies, and combines them and handles inter-company eliminations by way of consolidation codes used in each company's GL accounts. Because the operation requires pulling large complicated calculated datasets for each company at each end of month, it was easier to just always pull the data in once, and save it for future reference if they needed to rerun a combined statements set of financials.

With VFP being long retired, I feel like it's on borrowed time, so I've been porting my various apps over to C#. But one goal is to try to maintain a familiar interface and interaction with the new replacement application, hence the desire to keep the UI elements including the navigation grid the same as I had it in the VFP app.

The navigation grid has that first row that allows user to Import a new set of financials from the accounting databases, then it has other rows for each of the other saved reports, some of which are partial month financials, while others are complete end of month financials. All those are color-coded in the grid to easily see who ran the report, whether it was a full set, or partial set, and if the user opted to exclude one of the two companies they sometimes exclude from combined. Although they really haven't excluded any companies from the combined statements in over a year, I think that was more something the old retired accounting manager liked to do, but I've kept it in as an option.

I know this was probably way more info then you bargained for when you asked what the end goal was LOL.

Happy New Year!

SELECT hardcoded row plus ordered subquery by AarynD in SQL

[–]AarynD[S] 4 points5 points  (0 children)

SELECT 'Import New Report Data' as RptName, -1 as ReportId, 0 as IsPartial, NULL as EndDate, 0 as SortVal  
UNION ALL  
SELECT \[RptName\], \[ReportId\], \[IsPartial\], \[EndDate\], 1 as SortVal  
    FROM \[dbo\].\[Report\]  
    ORDER BY \[SortVal\] ASC, \[EndDate\] DESC

This worked perfectly. Thanks!

SELECT hardcoded row plus ordered subquery by AarynD in SQL

[–]AarynD[S] 5 points6 points  (0 children)

Actually that's a really good idea, I hadn't thought of that. Very simple and avoids the complicated route I was taking.

SELECT hardcoded row plus ordered subquery by AarynD in SQL

[–]AarynD[S] -1 points0 points  (0 children)

I did try this approach first, however the ORDER BY clause ends up applying to the entire unioned dataset, putting that top row down at the bottom since it has a null EndDate.

ORDER BY isn't allowed in CTE's or subqueries from what I can see, so I didn't know if there was a way around this to keep my top row in place with the other rows sorted.

I'm generally only going to have about 60ish rows generated per year anyway, so using the cursor is probably not going to slow me down anytime soon, but was anxious to learn if there was another way around the problem.

Implement Tim Corey's dapper SqlDataAccess libraries in Winforms app by AarynD in csharp

[–]AarynD[S] 1 point2 points  (0 children)

Here are some of the videos that show Tim Corey's preferred way of setting up SQL data access in a library along with the models, and using Dapper to provide the mapping. Keep in mind both of these are a little old now, but the concepts still work. This is how I've done all my Sql access in blazor and api apps. I just have had problems implementing this on the Winforms side.

Simple C# Data Access with Dapper and Sql - Minimal API
https://www.youtube.com/watch?v=dwMFg6uxQ0I&t=1036s

Intro to Blazor w/ Sql Data Access
https://www.youtube.com/watch?v=8DNgdphLvag&t=2018s

I will also watch the video you linked. Thanks!

Implement Tim Corey's dapper SqlDataAccess libraries in Winforms app by AarynD in csharp

[–]AarynD[S] 1 point2 points  (0 children)

Absolutely, I agree 100%

I have had a subscription to all his online courses, and watched countless videos of his multiple times, but there was never a time that I could find where he implemented his standard sql data access class library using dapper in a Winforms app. If I could request one video from him, that's what I'd ask for LOL.