[Wayback/Archive] Jessica Reintjens on Twitter: “De maandelijkse sirenes zijn straks om 12.00u weer te horen, omdat het de 1e maandag vd maand is, Dat is een mooi moment om u rookmelders vandaag ook weer eens te testen! #rookmelder #rookmeldersreddenlevens #rookmelders #veiligheid #testjerookmelder”.
Author Archive
Nationale testdag: Test vandaag ook je rookmelders nu dat de sirenes gegaan zijn (via Jessica Reintjens op Twitter)
Posted by jpluimers on 2022/07/04
Posted in Awareness, LifeHacker, Power User | Leave a Comment »
The only practical way of running x86 VMs on Apple M1 seems to be QEMU based UTM
Posted by jpluimers on 2022/07/01
Few articles exist on running x86 VMs on Apple M1 architecture.
This is the best I found, and clearly states that QEMU based UTM is the way to go, but notably lacks 3D support: [Wayback/Archive.is] Apple Silicon M1: How to run x86 and ARM Virtual Machines on it? | by Dmitry Yarygin | Mar, 2021 | Medium
Without VMs, but running Windows x86_64 code is already possible using Windows 10 for ARM via Parallels: [Wayback] Windows 10 on M1 Macs: What you can do (virtualization, sorta) and can’t (Boot Camp) | Macworld.
VMware Fusion is not going to support x86_64 virtualisation anytime soon as per [Wayback/Archive.is] Fusion on Apple Silicon: Progress Update – VMware Fusion Blog – VMware Blogs
…
What about x86 emulation?
We get asked regularly about running x86 VMs on M1 Macs. It makes total sense… If Apple can emulate x86 with Rosetta 2, surely VMware can do something too, right?
Well, the short answer is that there isn’t exactly much business value relative to the engineering effort that is required, at least for the time being. For now, we’re laser focused on making Arm Linux VMs on Apple silicon a delight to use.
So, to be a bit blunt, running x86 operating systems on Apple silicon is not something we are planning to deliver with this project. Installing Windows or Linux from an x86 ISO, for example, will not work.
…
More on UTM, which is open source:
- Downloads:
- [Wayback/Archive.is] UTM | Virtual machines for Mac
- [Wayback/Archive.is] UTM: Run virtual machines on iOS
- Github:
- [Wayback/Archive.is] utmapp/UTM: Virtual machines for iOS
- [Wayback/Archive.is] UTM/README.md at master · utmapp/UTM
UTM is a full featured system emulator and virtual machine host for iOS and macOS. It is based off of QEMU. In short, it allows you to run Windows, Linux, and more on your Mac, iPhone, and iPad. More information at https://getutm.app/ and https://mac.getutm.app/
…
Features
- Full system emulation (MMU, devices, etc) using QEMU
- 30+ processors supported including x86_64, ARM64, and RISC-V
- VGA graphics mode using SPICE and QXL
- Text terminal mode
- USB devices
- JIT based acceleration using QEMU TCG
- Frontend designed from scratch for macOS 11 and iOS 11+ using the latest and greatest APIs
- Create, manage, run VMs directly from your device
…
- [Wayback/Archive.is] Home · utmapp/UTM Wiki
- [Wayback/Archive.is] Known Issues · utmapp/UTM Wiki
- [Wayback/Archive.is] Install Ubuntu ARM64 on Apple M1 · utmapp/UTM Wiki
- [Wayback/Archive.is] Install Windows ARM64 on Apple M1 · utmapp/UTM Wiki
…
Due to an issue with QEMU handling of VHDX images, sometimes Windows will be corrupted from normal usage. This would result in BSOD or random application crashes/errors. To work around this issue, it is recommended that you convert the VHDX image to a QCOW2 image. Currently, UTM does not provide this functionality in the UI so you have to do it directly from QEMU.- Install Homebrew if you do not have it already.
- Run
brew install qemu - Run
qemu-img convert -p -O qcow2 /path/to/Windows10_InsiderPreview_Client_ARM64_en-us_21286.VHDX /path/to/output/Windows10_InsiderPreview_Client_ARM64_en-us_21286.qcow2replacing the paths with your own. - Use the QCOW2 image with UTM. It is recommended you do this with a fresh VHDX from Microsoft in case your image was already corrupted.
- [Archive.is] How to expand an already created Linux VM’s space? · utmapp/UTM Wiki
- [Wayback/Archive.is] UTM/MacDevelopment.md at master · utmapp/UTM
Now hopefully someone posts a Wiki of running x86_64 Windows on Apple M1 (:
This is a small start that it can be done [Wayback/Archive.is] Has anyone tried running Delphi on Windows ARM? – Delphi IDE and APIs – Delphi-PRAXiS [en]
It works well. I’ve managed to build and run my VCL and FMX projects on Android, iOS, Windows and Mac without any problems.Note that both Windows ARM and the way it runs Delphi are still in preview so tread carefully!On 4/18/2021 at 8:01 PM, Der schöne Günther said:Can you confirm it cannot only build projects but also debug them?I can debug Windows and Android no problem. I’m having issues debugging iOS as it’s stopping in the IDE but showing the CPU rather than code views. I believe this might be a badly built component I need to re-install rather than an issue with the environment but can’t confirm either way at the moment.…
An update on the debugging issues on iOS – it’s all working now. My VM just needed a restart and I can debug without problems now.
--jeroen
Posted in Apple, M1 Mac, Mac, Mac OS X / OS X / MacOS, Power User, Qemu, UTM, Virtualization, Windows, Windows 10 | Leave a Comment »
Unicode symbols in a batch file – Stack Overflow
Posted by jpluimers on 2022/06/30
Even with a batch file saved as UTF-8 (with or without BOM), by default it does not show most non-ASCII Unicode characters.
The reason is that the default codepage usually is an ANSI one like codepage 437.
Thanks [Wayback] niutech for answering [Wayback/Archive.is] Unicode symbols in a batch file – Stack Overflow:
You can manually set the codepage to UTF-8 by typing
chcp 65001at the top of your batch file.
Codepage 65001 is Windows speak for the UTF-8 code page. I have some more blog entries mentioning codepage 65001.
An example where I needed this was to show how to address the localghost from a batch file (see The spookback localghost address to resolve 👻). This was the resulting UTF-8 saved batch file:
chcp 65001 ping 👻 ping xn--9q8h
For single-byte non-ASCII characters, you can usually get away with setting the encoding of your batch file to your default code page as mentioned in [Wayback/Archive.is] cmd – Using box-drawing Unicode characters in batch files – Stack Overflow.
–jeroen
Posted in Batch-Files, Development, Encoding, Scripting, Software Development, Unicode, UTF-8, Windows Development | Leave a Comment »
The end of an era: after more than 25 years, XS4ALL/AS3265 is leaving AMS-IX
Posted by jpluimers on 2022/06/30
Via [Wayback/Archive] Nick Bouwhuis on Twitter: “😢 “ (with OCR text below) via [Wayback/Archive] Kirsten Verdel on Twitter: “:(“:
Posted in History, Internet, ISP, KPN, Power User, xs4all | Leave a Comment »
chocolatey-community/chocolatey-test-environment: A testing setup related to how the Chocolatey Package Verifier runs testing. Used for manual testing or prior to submission
Posted by jpluimers on 2022/06/29
On my list of things to play around with: [Wayback/Archive.is] chocolatey-community/chocolatey-test-environment: A testing setup related to how the Chocolatey Package Verifier runs testing. Used for manual testing or prior to submission
It sort of is a standalone version of the [Wayback] Chocolatey Software Docs | Package Verifier Moderation Service that you can use to check Chocolatey package that you develop/modify.
From the github repository README:
Requirements
You need a computer with:
- a 64-bit processor and OS
- Intel VT-x enabled (usually not an issue if your computer is newer than 2011). This is necessary because we are using 64bit VMs.
- Hyper-V may need to be disabled for Virtualbox to work properly if your computer is a Windows box. NOTE: This may actually not be required.
- At least 10GB of free space.
Setup
To get started, ensure you have the following installed:
- Vagrant 1.8.1+ – linked clones is the huge reason here. You can technically use any version of Vagrant 1.3.5+. But you will get the best performance with 1.8.x+. It appears you can go up to Vagrant 2.1.5, but may have some issues with 2.2.2 and Windows guests (newer versions may be fine).
- Virtualbox 4.3.28+ – 6.1.6 (this flows in the selection of Vagrant – 5.2.22 seems to have some issues but newer versions may work fine)
- vagrant sahara plugin (
vagrant plugin install sahara)NOTE: If you decide to run with version 1.8.1 of Vagrant, you are going to need to set the
VAGRANT_SERVER_URLenvironment variable as described in this forum post, otherwise, you will get an HTTP 404 error when attempting to download the base vagrant box used here.
Related: people wanting to do a similar thing for Linux: [Archive.is] chocolatey/choco: Has anyone ever tried to set up virtual box with linux (e.g. ubuntu) for choco testing ? – Gitter
Yes, it should work for
choco new,choco pack, andchoco push, running on mono.
[Wayback/Archive.is] https://github.com/chocolatey/choco/runs/3660684196?check_suite_focus=true…
There is also a
dockerfileavailable here:
[Wayback/Archive.is] https://github.com/chocolatey/choco/tree/develop/dockerHowever, as @AdmiringWorm said, there are not any official builds or official support at this time.
…
In my own private fork of choco however I’m using such interfaces as RestartManager
//https://docs.microsoft.com/en-us/windows/win32/api/restartmanager/nf-restartmanager-rmstartsession [DllImport("rstrtmgr.dll", SetLastError = true, CharSet = CharSet.Auto)] static extern int RmStartSession(out uint pSessionHandle, int dwSessionFlags, string strSessionKey); //https://docs.microsoft.com/en-us/windows/win32/api/restartmanager/nf-restartmanager-rmendsession [DllImport("rstrtmgr.dll", SetLastError = true)] static extern int RmEndSession(uint pSessionHandle); //https://docs.microsoft.com/en-us/windows/win32/api/restartmanager/nf-restartmanager-rmgetlist [DllImport("rstrtmgr.dll", SetLastError = true)] static extern int RmGetList(uint dwSessionHandle, out uint pnProcInfoNeeded, ref uint pnProcInfo, [In, Out] ProcessInfo[] rgAffectedApps, ref uint lpdwRebootReasons);those will be windows specific indeed, but I’ll reach them later on.
–jeroen
Posted in .NET, Chocolatey, CommandLine, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows | Leave a Comment »
Getting meta data from an image URL – JSFiddle – Code Playground (not sure why it fails on the Chrome console)
Posted by jpluimers on 2022/06/28
It works as a [Wayback/Archive.is] Edit fiddle – JSFiddle – Code Playground.
And it fails on the Google Chrome console:
GET https://anniversary.archive.org/files/2021/07/October-2001-Google-Drive-7-19-2021-3-24-49-PM-768x276.png net::ERR_FAILED
The code is from [Wayback/Archive.is] javascript – Get width height of remote image from url – Stack Overflow (which has many more sync and async code examples that all fail in the same way, not sure why).
Glad the JSFiddle one works.
Via: [Wayback] get image dimensions from url – Google Search
–jeroen
Posted in Development, JavaScript/ECMAScript, JSFiddle, Scripting, Software Development, Web Development | Leave a Comment »
Some links on a ketogenic diet and cancer: does it help prevent for cancer?
Posted by jpluimers on 2022/06/27
Disclaimer: only change your diet after consulting with your doctor!
Various cancer patients I know have switched to a ketogenic diet for quite a few years already.
So I did a bit of digging to see if it helps, or more importantly: if it doesn’t make it worse.
My start was the first hits on [Wayback/Archive.is] ketogenic cancer – Google Scholar:
- [Wayback/Archive.is] Ketogenic diet in cancer therapy – PMC on
www.ncbi.nlm.nih.gov - [Wayback] Ketogenic diet in the treatment of cancer – Where do we stand? – ScienceDirect
- [Wayback] Ketogenic diets as an adjuvant cancer therapy: History and potential mechanism – ScienceDirect
- [Wayback] The calorically restricted ketogenic diet, an effective alternative therapy for malignant brain cancer | Nutrition & Metabolism | Full Text
- [Wayback] Effects of a ketogenic diet on the quality of life in 16 patients with advanced cancer: A pilot trial | Nutrition & Metabolism | Full Text
- [Wayback] Systematic review: isocaloric ketogenic dietary regimes for cancer patients | SpringerLink
Some more specific links are at [Wayback] ketogenic colorectal cancer – Google Scholar.
For now, I’m with these conclusions on the Wikipedia articles on Ketosis and Ketogenic diet:
- Cancer: Preclinical studies have indicated ketosis may have anti-tumor effects, although clinical trials have been limited by small sample sizes and have not shown conclusive benefit.[21]
- Because some cancer cells are inefficient in processing ketone bodies for energy, the ketogenic diet has also been suggested as a treatment for cancer.[61][62] A 2018 review looked at the evidence from preclinical and clinical studies of ketogenic diets in cancer therapy. The clinical studies in humans are typically very small, with some providing weak evidence for an anti-tumour effect, particularly for glioblastoma, but in other cancers and studies, no anti-tumour effect was seen. Taken together, results from preclinical studies, albeit sometimes contradictory, tend to support an anti-tumor effect rather than a pro-tumor effect of the KD for most solid cancers.[63]
–jeroen
Posted in About, Cancer, Personal, Rectum cancer | Leave a Comment »
Some links on grading and classification of polyps in the colon and rectum
Posted by jpluimers on 2022/06/27
Some links as I have (by publication maybe had) a (pre)cancerous polyp in my rectum; pathology will figure out the exact malignancy:
Posted in About, Cancer, Personal | Leave a Comment »
Illustrations for Bowel resection for colorectal cancer
Posted by jpluimers on 2022/06/24
I finally found some great illustrations having to do with my lower anterior resection.
They are from [Wayback/Archive] https://www.uvmhealth.org/healthwise/topic/zm6206 (Bowel resection for colorectal cancer)
The most important for me is this one (as I have end-to-side where “end” is on the very tiny bit of rectum left and “side” is on the descending colon):
Posted in About, Cancer, Health, LifeHacker, Personal, Power User, Rectum cancer | 1 Comment »





