Archive for the ‘Development’ Category
Posted by jpluimers on 2025/01/21
Fork of a repository that shows how to do this with normal Homebrew installs [Wayback/Archive] Install an old version with homebrew for macOS · GitHub has my notes to do a similar thing with Homebrew cask installs.
Fork of: [Wayback/Archive] Install an old version with homebrew for macOS · GitHub.
TODO: check notes to ensure they really work on a different system and were not a lucky shot.
Notes:
Read the rest of this entry »
Posted in Apple, Development, DVCS - Distributed Version Control, gist, GitHub, Home brew / homebrew, Mac OS X / OS X / MacOS, Power User, Ruby, Scripting, Source Code Management | Tagged: 18365 | Leave a Comment »
Posted by jpluimers on 2025/01/21
Sometimes the XKCD episodes are hard to get, so I wanted a Bookmarklet to navigate to [Wayback/Archive] explain xkcd.
Here is the regular expression to change the domain name part if it matches: [Wayback/Archive] regex101: build, test, and debug regex: VI34VW with this generated sed code:
Read the rest of this entry »
Posted in *nix, *nix-tools, Bookmarklet, Development, JavaScript/ECMAScript, Power User, Scripting, sed, Software Development, Web Browsers, Web Development | Leave a Comment »
Posted by jpluimers on 2025/01/17
Een paar quotes van Laurens Verhagen’s column [Wayback/Archive] ChatGPT is een soort waarzegger, die net iets vaker de waarheid vertelt | de Volkskrant:
‘Mensen vrezen dat computers te slim worden en de wereld zullen overnemen, maar het echte probleem is dat ze te dom zijn en de wereld al hebben overgenomen.’ Deze vaak aangehaalde uitspraak van computerwetenschapper Pedro Domingos is al zo’n tien jaar oud, maar heeft nog niets aan actualiteit ingeboet.
…
ChatGPT in de basis is: een slimme woordvoorspeller.
…
Nog erger is misschien wel dat er bij Harper’s Bazaar blijkbaar niemand meer is die nog een boek leest. Ze zijn daar te druk met lijstjes maken aan de hand van chatbots, maar vooral met zichzelf in rap tempo overbodig te maken.
Dat laatste geldt natuurlijk voor iedereen die zwaar leunt op generative AI zonder veel moeite te steken in te verifiëren dat wat de woord- en beeldvoorspellers produceren klopt. Die moeite wordt steeds groter juist door de vervuiling van trainingsdata doordat AI trainingsmodellen niet kunnen onderscheiden of hun bron nu door mensen of door AI wordt gemaakt.
De trainingspool van menselijke data (feit of fictie – waaronder uiteraard satire, dat kunnen de modellen ook niet onderscheiden) – al dan niet uit materiaal dat zonder toestemming is opgenomen – is overigens inmiddels doodgebloed:
“Het had waar kunnen zijn” had van ChatGPT kunnen komen. Als die term faschineert, lees dan vooral [Wayback/Archive] Van Aarsvink tot Zeebreker – O.C. Hooymeijer.
Links uit de quotes van de column:
--jeroen
Posted in AI and ML; Artificial Intelligence & Machine Learning, ChatGPT, Development, Generative AI, GPT-3, LLM, Software Development | Leave a Comment »
Posted by jpluimers on 2025/01/15
I have a lot of old Power Point slide decks that I want to reuse in current presentations. By now however, I learned prepare all my presentation stuff in either Markdown or reStructuredText: far easier to publish and put under version control.
After searching, I could only find one tool that is still maintained doing a decent job doing a PowerPoint to Markdown conversion: [Wayback/Archive] GitHub – ssine/pptx2md: a pptx to markdown converter. The tools which works great, in big part of PowerPoint content being highly structured with styles like title, subtitle and various heading levels and content types.
The thing it does not document is the prerequisites, which are these:
- a
venv (which, despite having used Python quite often, but not proficient in it, still makes me nervous: one forgotten step and you pip everything in your global environment).This links helps me every time [Wayback/Archive] Install packages in a virtual environment using pip and venv – Python Packaging User Guide. From it, I created this little table:
Steps for setting up and using a Python virtual environment
| Step |
*n*x/MacOS |
Windows |
Comment |
| 1. |
python3 -m venv .venv |
py -m venv .venv |
Only needed once |
| 2. |
source .venv/bin/activate |
.venv\Scripts\activate |
Switch to virtual environment |
| 3. |
which python |
where python |
Check if python is used from the virtual environment (should result in
.venv/bin/python on *n*x/MacOS or
.venv\Scripts\python on Windows) |
| 4. |
which pip |
where pip |
Check if pip is used from the virtual environment (should result in
.venv/bin/pip on *n*x/MacOS or
.venv\Scripts\pip on Windows) |
| 5. |
./.venv/bin/pptx2md</precode
|
.venv\bin\pptx2md |
Force a module which didn’t add itself to the path when installed via pip |
| 6. |
deactivate |
deactivate |
Leave the virtual environment |
- missed during
pip install pptx2md (in order I discovered them):
Future enhancements
Read the rest of this entry »
Posted in Development, Lightweight markup language, MarkDown, Office, Power Point, Power User, Python, Scripting, Software Development, venv | Leave a Comment »
Posted by jpluimers on 2025/01/14
For my link archive: below a series of articles my Raymond Chen on “The AArch64 processor (aka arm64)” in the order of appearance from a few years back and still very relevant today.
It is part of a few more series on processors that (were) supported by Windows. A good reference to find which version supported which processor architecture is the tables in List of Microsoft Windows versions – Wikipedia.
Read the rest of this entry »
Posted in AArch64/arm64, ARM, Assembly Language, Development, History, MIPS R4000, PowerPC, Software Development, The Old New Thing, Windows Development, x64, x86 | Leave a Comment »