If you're trying to import #VirtualBox VMs and getting 0x80070057 "invalid argument" errors... I saw a forum post that said a reboot fixed it, so I tried closing VirtualBox and removing and re-inserting the VirtualBox kernel modules (systemctl stop vboxdrv && systemctl start vboxdrv) and... that actually did seem to fix it. 😩 #IndiPTips

I was having a lot of interface errors (mostly overruns and frame errors) on one of my #RaspberryPi w/ high traffic... I checked for large MTUs (one of my routers w/ a VLAN running over a bond was making frames too big for the switch, so I fixed that), but the switch didn't have any config issues... I even tried replacing the cable.

Turns out, it was probably the ring buffer on the Pi being too small. Bumped it up w/ a "ethtool -G eth0 rx 8192" and no more errors so far.

😌 #IndiPTips

Looks like a bad #Ubuntu 20.04 kernel update broke #VirtualBox 6: https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2073267

VirtualBox 7 had some issues with certain versions of Windows which I'm not sure if they've resolved yet, so if you need to go back to a working kernel, you can:

- "sudo apt install linux-image-5.15.0-113-generic"
- Set your GRUB_DEFAULT to "Advanced options for Ubuntu>Ubuntu, with Linux 5.15.0-113-generic"
- "update-grub"

And that should get you back to a usable system.

#IndiPTips

Bug #2073267 “Virtualbox Guru meditation on VM start caused by k...” : Bugs : linux package : Ubuntu

BugLink: https://bugs.launchpad.net/bugs/2073267 SRU Justification: [Impact] Commit "randomize_kstack: Improve entropy diffusion" changed the kernel stack for entropy to 1KiB, limiting the thread kernel stack to 15Kib. This impacts virtualbox 6.1.50 on jammy, that is no longer maintained upstream. The issue does not persist on version 7.0.20 due to a code refactoring that probably resulted in less stack usage. Fixing it on the jammy virtualbox package side is not straightfoward because the...

Launchpad

Earlier my Windows gaming PC which I hadn't booted for a while was freezing on a black screen on login... I couldn't even open the Task Manager. Turns out the NAS jail joined to the domain that serves user stuff was locked and needed restarting.

Additionally, I was trying to run my engine on WASM and it was failing with "getWasmTableEntry is not a function"... I was trying to pass NULL to set_main_loop(). Still getting random freezes, tho. All NULL derefs so far. Quality.

#IndiPTips I guess?

So I dug out a 486, put a #PicoGUS in, installed Windows 3.1, and:
- From the drivers control panel, installed unlisted: typed: c:\ultrasnd\windows
- Install failed w/ error.
- Checked that grvsultr.386 was in C:\windows\system and in system.ini under [386Enh]. Ultrasnd.drv was in c:\windows\system.
- Exited windows.
- Reentered windows.
- Checked drivers cpl again... nothing new listed.
- Repeated step 1, chose "current."
- Driver installed w/out issue.

#IndiPTips

@metin Oh this is neat. I got frustrated enough with search I started using hashtags to organize posts I thought I'd want to find later lolol #IndiPTips

Finally managed to parse the new CDC #COVID data in #HomeAssistant:

- resource: "https://www.cdc.gov/wcms/vizdata/NCEZID_DIDRI/NWSSStateMap.json"
scan_interval: 86400
sensor:
- name: New York COVID-19 Wastewater Levels
value_template: "{{ value | regex_findall( find='\"state_name\".\"New York\",.*\"activity_level\".\"([0-9]*)\"' ) | first | float }}"
unique_id: rest_covid_ny
icon: mdi:molecule
state_class: measurement

Had to use a regex 'cause the CDC is serving invalid JSON. 😌

#IndiPTips

Trying to post helpful stuff under #IndiPTips so I can find it again later. 😌

If you wanna get your #PicoGUS working under Windows 3.1, I think I've figured it out:

* Install GUS drivers through the Control Panel > Device Drivers / Browse to C:\ULTRASND\WINDOWS
* This always gives an error. https://www.vogons.org/viewtopic.php?t=52561 says to copy stuff from C:\ULTRASND\WINDOWS\SYSTEM to C:\WINDOWS\SYSTEM but I got away with just trying to do it again and choosing "Current Driver."
* Select your ULTRASND IRQ (5 by default) for >BOTH< GF1 & MIDI!

Don't forget pgusinit! #IndiPTips

Guide: How to install Gravis Ultrasound Drivers in Windows 3.11 \ VOGONS

Trying to write a quick wrapper to add items to the new #HomeAssistant TODO lists a la todo.sh. The CURL syntax seems to be:

curl -s \
-H "Authorization: Bearer $HA_KEY" \
-H "Content-Type: application/json" \
-d "{\"entity_id\": \"$HA_LIST\", \"item\": \"$HA_ITEM\"}" \
"$HA_URL/api/services/todo/add_item"

Where $HA_LIST is the entity ID of the list and $HA_ITEM is the text of the new item, $HA_KEY is the script token, and $HA_URL is the Home Assistant URL.

#IndiPTips