Sat, 6 Jan 2024

6:53 PM - Using HPE ILM v4

If you need to use HPE ILM v4 on a server, there is usually a sticker on the server with the default hostname and username/password combination. You can then hit that with a web browser to the standard port and login.

In the bios, you can also add users and set permissions for it.

()

6:51 PM - HPE dl20 gen9 debian 12 software

If you need to install HPE management software in linux for the agent or ssa configuration, do the following

create a file in /etc/apt/sources.list.d/

deb http://downloads.linux.hpe.com/SDR/repo/mcp/debian/ bookworm/12.80 non-free non-free-firmware

for keys:

curl -fsSL https://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | gpg --dearmor -o /usr/share/keyrings/hpPublicKey2048.gpg
curl -fsSL https://downloads.linux.hpe.com/SDR/hpePublicKey2048_key1.pub | gpg --dearmor -o /usr/share/keyrings/hpePublicKey2048_key1.gpg
curl -fsSL https://downloads.linux.hpe.com/SDR/hpPublicKey2048_key1.pub | gpg --dearmor -o /usr/share/keyrings/hpPublicKey2048_key1.gpg

For agent:

apt install amsd

For ILM (LOM)
apt install hponcfg

()

Tue, 24 Oct 2023

12:10 AM - Tuning for search engine traffic

When you have a small site, the worst-case scenario is a spider indexing you that doesn't honor robots.txt. Yandex is particularly bad about this. Trying to tune for a large indexing operation becomes the bottleneck.

It's effectively the load test.

()

Fri, 15 Sep 2023

4:17 PM - The problem with benchmarks

I frequently see folks arguing about CPUs to buy. Many want everyone to buy a 5600x or 12600k or some other variant that's last gen and cheap. The idea is that gamers don't need anything more so these should be the only choices for 99% of the world.

The problem with that is gaming and even more specifically, people who would build their own PC also are a very niche group also. If you think the most common workload should dictate all benchmarks, we'd only benchmark Microsoft Office apps and web browsers. That's what most people use a computer for right?

Don't be that guy who thinks his own use case is the only one that matters.

I care about compiler and lzma performance more than anything else when selecting a CPU. Other people need to make youtube videos, play games, work on AI/ML workloads, CAD, or other tasks. It's not universal. That's what is great about PCs and not so great about modern Macs.

()

Tue, 20 Jun 2023

12:05 AM - The system from hell

I bought a11700 CPU to upgrade an existing 10th gen system. Big mistake. Many motherboards for 10th gen do not support 11th gen CPUs. I didn't check and fried the motherboard and RAM. Bought new motherboard and RAM. 2 months later, the integrated graphics fails. This could be the motherboard ports or the iGPU in the CPU. I could test another CPU in the motherboard to see which but I don't trust it to risk the good CPU lol.

I should have done a 13th gen build instead. Didn't know I needed to buy new MB/RAM.

()

12:02 AM - Sonarqube

I've used Sonarqube for many years in various roles. I've used the cloud version. I've used the on-prem version. I used to administer it at U-M on FreeBSD systems.

There are a few issues that are getting increasingly annoying about it. It's always had some bugs with respect to guessing the merge state on master. However, it seems to have gotten worse in newer versions. It can be way off in terms of coverage or duplicate detection.

Then there are some of their newer "major" issues, like using guava's ImmutableMap. There is NO REPLACEMENT in Java for this data type as is. You can almost fake part of it with a combination of LinkedHashMap plus the immutable wrapper but it's still not there. If you want to guarantee data will be in insertion order and also have access to of() style creation, there is nothing like it in base java. So dinging people as though there's a compatible Java feature is insane, especially at major level. It's info at best since it's something to check but likely not an issue! Map.of doesn't work because it doesn't guarantee insertion order.

Finally, there is should be a more reasonable UPPER limit on code coverage with the tool. My employer's configuration requires 95% coverage for new PRs at this point. That shouldn't even be a thing! 95% is crazy town. You start writing bad code to avoid sonar dings. Many teammates won't do null checks or write in a way that avoids null now. This tool hurts quality when you push devs to that level of frustration.

I think code coverage should be around 80-85% in Java. Anything more and you're just doing obnoxious things.

()

Mon, 5 Jun 2023

3:33 PM - $3499 Vision Pro

Vision Pro: The pico, newton, iPod socks, and g4 cube are looking really good right now!

Tim nailed his legacy on this one.

()

Sun, 28 May 2023

2:55 PM - Intel Arc A750 on Linux

I just got a new Intel Arc A750 for my Ubuntu box.? It's an upgrade from a rx570.? The card is much bigger and requires two power connectors vs the old card.? In the process, I had to upgrade ubuntu to 23.04 to use it.? That didn't go well.

As far as the Arc GPU, it's working pretty well.? There was one issue with the upgrade.? Ubuntu's UI was completely unstable until I enabled rebar support in the BIOS.? Then it worked fine.?

Unlike AMD GPUs, the Arc card can still run enemy territory and et:legacy without random crashes and video artifacts on some maps.? AMD can't be bothered to fix their broken drivers for over a year now.? My other GPU is a much newer AMD card and it's still broken.??

The arc card has been able to run cs:go, timberborn, et so far.? I need to test more with it.? Performance isn't mind blowing by any means, but it's stable.? I wasn't expecting that.? Considering the hurdle, Intel has done a good job with this GPU to date.

()

Sat, 22 Apr 2023

2:47 PM - The upgrade from hell

This 10700 -> 11700 upgrade has turned into the bigest shitshow.? First, problem was on me.? The z490 motherboard I had didn't support the 11700.? Some can run 11th gen, but this one could not.? It killed the motherboard.? Wouldn't work with 10th gen or 11th gen chip.??

Ordered an asus tuf b560m plus motherboard. It works with the 11th gen or 10th gen CPUs with the caveat that one nvme m.2 slot is not supported on 10th gen.? VMWare will not boot on 11th gen reliably.? It has all sorts of random crashes.? It also requires turning off some bios options to even get that far (see previous post)?

Now I'm planning to remove all the drives, and put in two new drives and install FreeBSD 13.2 and setup bhyve instead. I'm over vmware esxi.? On supported hardware, it can be OK but after reading the bugs they fixed between 8.0 and 8.0.1 aka 8.0U1, it's not worth it.??

I have an old HP desktop with a 10700 in it.? I'm going to try to get some of the vmware drives working in that system to recover some of the VM data.? Then I'll do fresh installs in bhyve on the freebsd host, and copy the relevant stuff from the HP over.? Not sure if this is going to work but it seems like a better plan than trying to fight vmware any further.?

Had I upgraded to an AMD system, this would have worked. (at least through x570/b550 + ryzen 5000)? Now that I had to buy a CPU and motherboard, a side grade to AMD would have been a good call.? I didn't know that at the time.

()

11:29 AM - VMWare 8.0U1 buggy AF

Attempted to update to VMWare 8.0U1.? There are a lot of bug fixes for race conditions and a few CVEs patched since 8.0.? It won't install.? Every time it boots, a new failure happens.? One time it couldn't extract something. Another time it failed to detect the NIC.? I tried burning the image again after confirming the md5 hash.? Same thing.

()

Fri, 21 Apr 2023

9:45 PM - VMWare esxi 8 and Intel 11th gen CPUs

I had an issue where VMWare esxi wouldn't boot on my new motherboard + cpu.? Come to find out, it's incompatible with two BIOS settings.? Disable Turbo Boost 3.0 tech and Intel Speed Shift Technology.

VMWare incorrectly checks a register and assumes it will always have the same value.? This causes a crash.? It appears they added this check in 7.0U3.? Any version after that including 8.0 esxi will fail to boot.

()

Fri, 23 Sep 2022

6:48 PM - GPS on Ubuntu

Purchased a USB gps device to play around with on Ubuntu 22.04. Device ishttps://smile.amazon.com/dp/B00NWEEWW8?ref=ppx_yo2ov_dt_b_product_details&th=1

The device isrecognized as /dev/ttyACM0. You can cat it to see it's working.

Setup for ntpd

sudo apt-get update
sudo apt-get install gpsd gpsd-clients ntp

sudo vi /etc/defaults/gpsd
DEVICES="/dev/ttyACM0"
GPSD_OPTIONS="-n"

n flag is required for NTP to work.

sudo vi /etc/ntp.conf

gps

server 127.127.28.0 minpoll 4 maxpoll 4 prefer
fudge 127.127.28.0 time1 0.000 refid GPS stratum 15

Test lock with:
cgps -s

ntpq -p
...and you'll see a line in the resulting text that looks something like this:
*SHM(0) .GPS. 15 l 14 16 377 0.000 3.505 3.556
If "poll" and "reach" are zero it's not working.

()

Sun, 19 Dec 2021

1:49 AM - Setting up an OpenGrok server on FreeBSD

FreeBSD has OpenGrok in the ports tree. You can install it two ways. One is to use the devel/opengrok port which will also pull down tomcat85 and java 8 currently. The second is the py38-opengrok-tools which includes utilities to install an opengrok instance via the opengrok-deploy script.

This post assumes you went with the first opengrok port.

Once it's installed, (1.3.x release) you will find that the port is partially broken. You need to hand edit the /usr/local/bin/opengrok script to remove the -w opengrok flag and change extags to uctags.

Next, you will want to enable the tomcat instance to startup via sysrc tomcat85_enable=YES

Based on recommendations, you likely want to tune RAM usage although it can run on less than the recommended 8GB if you don't have big codebases.

Before you start tomcat, there are a few more things to do. You need to edit the WEB-INF/web.xml file in the /usr/local/apache-tomcat-8.5/webapps directory to point at the correct config file location. We assume /var/opengrok/etc/configuration.xml

Next you must run the indexer! This part is confusing because if you try to run the app first, it will blow up and possibly show a 404 in tomcat.

Make sure you have some code checked out in /var/opengrok/src (make it a subdirectory)
Also make sure all the directories exist and can be accessed by the www user tomcat runs under

Example command line for that:
/usr/local/bin/opengrok -r on -O on -s /var/opengrok/src -P -d /var/opengrok/data -H -U http://localhost:8080/opengrok -W /var/opengrok/etc/configuration.xml
-c /usr/local/bin/uctags

It should generate a default config file although that doesn't always seem to work. It's supposed to overwrite this every time you run it.

()

Thu, 16 Dec 2021

9:38 AM - log4j2 vulnerability

It's been a crazy week trying to deal with the log4j2 vulnerabilities with all my apps. Just had thought I got it done when I find more things impacted. Now we get another version to patch 2.16.0.

()

Thu, 2 Dec 2021

4:46 PM - No more macs

I gave up using macOS this year after 21 years of use. I was really into apple computers for a long time. There have been many negative changes to the OS and the products in the last decade since Tim Cook took over. I just finally took the hint I'm not their customer.

Some folks think it's weird with M1 macs.. thing is I went through a CPU transition once with PPC->Intel. I knew what they were going to do to intel users. When no viable macs showed up on the market for me this far into the transition, I just gave up on the whole thing. I don't want a throw away computer that isn't repairable. I like to hand-me-down macs to my mom as she can't afford computers on her own. The way I use a computer, I need to replace the SSD before giving it to her. I just do too much disk IO and hit the wear level on SSDs.

macOS also has some problems. For instance, it's now quite locked down for security purposes which also means it's getting harder and harder to install third party software, compile apps, use macports or similar tools, use X11, etc. Apple killed OpenGL, OpenCL. They killed my game library. They made big sur painfully slow on fusion drives. It was never fixed.

My transition plan was to setup an ubuntu box for day to day stuff. I'm hoping to switch this to a BSD box next year. Working on some missing software and figuring out what i need to virtualize to pull it off. The system also boots MidnightBSD on another SSD for testing. It's so much faster than the mac. It's like going from a 486 to a p4. I mostly blame macOS disk I/O for this and the upgrade to a m.2 drive from a fusion drive. Granted the CPU is faster (i7-10700 vs i5-7600).

I'm finding that without a mac, a lot of the apple ecosystem is no longer appealing though. At this point, it might be easier to go to android for example. There's still no decent replacement for the apple watch though.

()

4:38 PM - Resident Alien

I've just rewatched the first season of the series for 3rd time. Some of the jokes don't work on that many rewatches anymore but there are a few episodes that are still quite funny. I'm rather excited about the new season.

()

4:37 PM - Smart Vent Hell

I've been running keen home smart vents for a few years. Initial setup on the vents wasn't bad, but they have a few problems.

First, the vents go through batteries like crazy. This doesn't seem to be entirely based by distance from the repeater or bridge either. The worst one in my home was actually very close to the bridge. Sometimes the batteries leak and it's difficult to clean the battery compartment at the bottom due to the design. I found that I had to take the smart vent apart and then had to clean it with a cotton swab and even gently scrape them a few times to clean up the contacts.

Second, the integrations with thermostats original advertised are no longer valid. Granted Google pulled the original nest integration, but many companies have since fixed their integrations or added them. Samsung smartthings has nest support now for example. The intelligence of the system, even with temp sensors isn't as good as one would hope either.

One has to tweak settings on each vent for winter and summer configurations.

The vents would get things stuck in them sometimes, debris, cat litter in one room.

The height of the vent cover on top was tall enough that you could hit your toe on it and it would also cause problems for robot vacuums. It wasn't quite high enough to avoid it, so they would often try to go over it and get stuck. This happened with neato, samsung and roomba models. With roomba, the virtual wall was a good solution in one room where the couch was near the vent and the vacuum would wedge.

They did regulate temperature in some rooms well. It worked great on the first floor. The second floor had uneven heating and we were trying to help with some of the bedrooms. It just didn't have enough flow even with the vents to keep it regulated. We would have been better off to spend the money on a in duct fan/blower.

The vents did work with smartthings, but they lost a lot of functionality. We could open or close them. We could try to manually make rules to do that for each vent based on temp sensors. It wasn't clear if they would open under pressure with smartthings. it was much worse on batteries and not as adaptive during one cycle as their own hub. With smartthings, we'd replace batteries every few weeks. Some vents could go a few months with their own hub. A few rooms even longer.

The last straw though was the lack of new vents. During the last year, they've been sold out. We had two eventually fail due to battery issues and connectivity issues. I was able to replace one from a third party seller but the company effectively has had no stock for some time. It started to concern me they would close up because they just don't have vents. They don't have revenue with no vents.

Some of the other brands look more promising now like flair but the downside is the puck cost and the lack of integrations with other smart home products. In the end, we decided to go back to traditional vents because the hassle of maintaining them far outweighed the benefits.

()