Skip to content

Instantly share code, notes, and snippets.

### **Epic: Enhance Exit Code Handling in 7ps-agent-common**
### **Summary**
To improve the operational excellence of the **7ps application**, handling exit codes gracefully within **7ps-agent-common** is essential. Currently, some exit codes do not have corresponding error codes, leading to inconsistencies and potential failures in error handling. This epic aims to analyze and enhance the exit code framework to ensure robustness and maintainability.
### **Problem Statement**
Certain exit codes in **7ps-agent-common** lack corresponding error codes, which leads to unclear or inconsistent error handling. The absence of proper error mapping can create challenges in troubleshooting and system monitoring. Additionally, some exit codes may require updates to improve clarity and maintainability, ensuring a more standardized approach to error management.
### **Proposed Solution**
A structured approach will be implemented to address the identified issues. The first step involves conducting a thorough a
__
/::\ _ _ _ _
/: :\ /:\ | \ | |_ ___ _| |_
/: :/ :\ | \| | | | \ \/ / __|
/: :/ :\ | |\ | |_| |> <| |_
/::::::/ .::::\ |_| \_|\__,_/_/\_\\__|
__
/::\ _ _ _ _
/: :\ /:\ | \ | |_ ___ _| |_
# 1 - A Mermaid Diagram
This is an example of a prompt to the LLM which resulted in a code block which represents code for a simple diagram. Without knowing the mermaid language, you can ask the LLM to build a diagram for inclusion in your publication. We've shared the result of a prompt in this document for your reference in the "Example" section. Try your own prompt in the "#Try it yourself" section.
With this file `1-mermaid-diagrams.smd` open in our VSCode plugin, you can click the "Run" button and it will re-run the prompt agains an LLM. This will result in a new version of the diadram being drawn. It may look a little bit different than the one you saw when you first opened the document.
## Example
::: create a mermaid horizontal diagram with rectangular boxes of four major steps in the process of photosynthesis >>>
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 21:31
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 10:31:37 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0ModSettingsFramework(1.0.0), 0MultiplayerAPI(av:0.3.0,fv:0.3.0), 0PrepatcherAPI(1.1.1), ExplosiveTrailsEffect(1.0.7140.31563), GraphicCustomization(1.0.0), HeavyWeapons(1.0.0), KCSG(av:1.1.2,fv:25.2.3), MVCF(2.0.0.1), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(av:1.0.1,fv:22.7.29), RecipeInheritance(1.0.1), RRO(1.0.0), SmokingGun(1.0.0), VanillaStorytellersExpanded(1.0.0), VanillaWeaponsExpandedLaser(0.0.0), VFECore(av:1.1.7,fv:1.1.9), VWEMakeshift(1.0.0)
Vanilla Apparel Expanded(VanillaExpanded.VAPPE)[mv:1.2.0]: (no assemblies)
Vanilla Achievements Expanded(vanillaexpanded.achievements): AchievementsExpanded(1.4.9133.2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS-Only Quiz</title>
<style>
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
{
"metrics": {
"_api_": {
"contains": "default",
"type": "trend",
"values": {
"avg": 631.6030709473683,
"max": 2068.760395,
"med": 488.433992,
"min": 388.672869,
@boegelbot
boegelbot / easybuild_test_report_22292_easybuilders_preasybuild-easyconfigs_20253011-UTC-21-30-32.md
Created February 11, 2025 21:30
EasyBuild test report for easybuilders/easybuild-easyconfigs PR(s) #22292
@boegelbot
boegelbot / Siesta-5.2.2-foss-2023a_partial.log
Created February 11, 2025 21:30
(partial) EasyBuild log for failed build of /tmp/eb-hr81li87/files_pr22292/s/Siesta/Siesta-5.2.2-foss-2023a.eb (PR(s) #22292)
== 2025-02-11 21:30:27,330 easyblock.py:314 INFO This is EasyBuild 4.9.5.dev0-rd0c5506e7fa4a0cec9bb1517904fd98eaaa221b9 (framework: 4.9.5.dev0-rb37f70756960c1686875974f8381491df280cc00, easyblocks: 4.9.5.dev0-rd0c5506e7fa4a0cec9bb1517904fd98eaaa221b9) on host jsczen3c1.int.jsc-zen3.fz-juelich.de.
== 2025-02-11 21:30:27,331 easyblock.py:320 INFO This is easyblock CMakeMake from module easybuild.easyblocks.generic.cmakemake (/home/boegelbot/easybuild/easybuild-easyblocks/easybuild/easyblocks/generic/cmakemake.py)
== 2025-02-11 21:30:27,331 easyblock.py:1069 INFO Build dir set to /tmp/boegelbot/Siesta/5.2.2/foss-2023a
== 2025-02-11 21:30:27,331 config.py:707 DEBUG software install path as specified by 'installpath' and 'subdir_software': /project/def-maintainers/boegelbot/rocky9/zen3/software
== 2025-02-11 21:30:27,331 easyconfig.py:2662 DEBUG Determining software installation subdir for Siesta EasyConfig @ /tmp/eb-hr81li87/files_pr22292/s/Siesta/Siesta-5.2.2-foss-2023a.eb
== 2025-02-11 21:30:27,331 easyconfig.p
@zoravur
zoravur / ziggy.vim
Last active February 11, 2025 21:30
Approximately the color scheme for syntax highlight on ziglang.org
hi clear
if exists("syntax on")
syntax reset
endif
let g:colors_name = "ziggy"
" Base UI
hi Normal guifg=#cccccc guibg=#121212 ctermfg=252 ctermbg=233
hi Cursor guifg=#000000 guibg=#cccccc ctermfg=0 ctermbg=252
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS-Only Quiz</title>
<style>
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;