Include SMTP server

The email notifications require user/pass/host/port for the SMTP configuration. Can the alm-integration include an SMTP server where you can define the user and domain the email is coming from?
example:

name: my-email
type: email
enable: true
domain_sender: #Mandatory: The email address to use as a sender and domain for the SMTP server

@cpt-redbeard Email integration parameters contain sender field, this is Sender's email address.
Can this parameter help you? Or should add a new logic?

The request is to not require those parameters or the use of an external smtp. I believe this would require an internal smtp ?

I need to better understand the use case - if you want to use an "internal" smtp server you can run an smtp server container (like this one https://hub.docker.com/r/namshi/smtp/) and configure the alm-integration to work against it.
I don't think we want the alm-integration to have a full-blown smtp server inside of it.

Done. We added "UseMX" flag to the email settings.

Done. We added "UseMX" flag to the email settings.


Couldn't deploy when including a specific note

Hi! I was trying the plugin and all my deploys failed. Reading more about the error, a specific note (this one) was causing the error.
When I didn't include the note, everythin went good so I don't see a clear reason why it's failing.
Here's the log, thanks in advance
8:24:57 PM: build-image version: d55944c047ef0aee2ac01971edde72cb2a50acfe (focal)
8:24:57 PM: build-image tag: v4.16.1
8:24:57 PM: buildbot version: a1ec8307ac4591dcd155485cdfce7d7be735ab26
8:24:58 PM: Fetching cached dependencies
8:24:58 PM: Starting to download cache of 110.8MB
8:24:59 PM: Finished downloading cache in 998.152947ms
8:24:59 PM: Starting to extract cache
8:24:59 PM: Finished extracting cache in 824.903039ms
8:24:59 PM: Finished fetching cache in 1.902971641s
8:24:59 PM: Starting to prepare the repo for build
8:25:00 PM: Preparing Git Reference refs/heads/main
8:25:01 PM: Parsing package.json dependencies
8:25:02 PM: Starting build script
8:25:02 PM: Installing dependencies
8:25:02 PM: Python version set to 2.7
8:25:02 PM: Started restoring cached node version
8:25:03 PM: Finished restoring cached node version
8:25:03 PM: v16.19.0 is already installed.
8:25:03 PM: Now using node v16.19.0 (npm v8.19.3)
8:25:03 PM: Enabling node corepack
8:25:03 PM: Started restoring cached build plugins
8:25:03 PM: Finished restoring cached build plugins
8:25:04 PM: Attempting ruby version 2.7.2, read from environment
8:25:04 PM: Using ruby version 2.7.2
8:25:04 PM: Using PHP version 8.0
8:25:04 PM: No npm workspaces detected
8:25:04 PM: Started restoring cached node modules
8:25:04 PM: Finished restoring cached node modules
8:25:05 PM: Started restoring cached go cache
8:25:05 PM: Finished restoring cached go cache
8:25:06 PM: go version go1.19.4 linux/amd64
8:25:06 PM: Detected 1 framework(s)
8:25:06 PM: "eleventy" at version "1.0.2"
8:25:06 PM: Installing missing commands
8:25:06 PM: Verify run directory
8:25:06 PM: Section completed: initializing
8:25:07 PM:
8:25:07 PM:   Netlify Build
8:25:07 PM: ────────────────────────────────────────────────────────────────
8:25:07 PM:
8:25:07 PM: ❯ Version
8:25:07 PM:   @netlify/build 29.4.0
8:25:07 PM:
8:25:07 PM: ❯ Flags
8:25:07 PM:   baseRelDir: true
8:25:07 PM:   buildId: 63b7866397c92000086d7b8e
8:25:07 PM:   deployId: 63b7866397c92000086d7b90
8:25:07 PM:
8:25:07 PM: ❯ Current directory
8:25:07 PM:   /opt/build/repo
8:25:07 PM:
8:25:07 PM: ❯ Config file
8:25:07 PM:   /opt/build/repo/netlify.toml
8:25:07 PM:
8:25:07 PM: ❯ Context
8:25:07 PM:   production
8:25:07 PM:
8:25:07 PM:   1. build.command from netlify.toml
8:25:07 PM: ────────────────────────────────────────────────────────────────
8:25:07 PM:
8:25:07 PM: $ npm install && npm run build
8:25:10 PM: up to date, audited 605 packages in 2s
8:25:10 PM: 72 packages are looking for funding
8:25:10 PM:   run `npm fund` for details
8:25:10 PM: 12 vulnerabilities (6 moderate, 5 high, 1 critical)
8:25:10 PM: To address issues that do not require attention, run:
8:25:10 PM:   npm audit fix
8:25:10 PM: Some issues need review, and may require choosing
8:25:10 PM: a different dependency.
8:25:10 PM: Run `npm audit` for details.
8:25:10 PM: ><EMAIL_ADDRESS>build
8:25:10 PM: > npm-run-all build:*
8:25:10 PM: ><EMAIL_ADDRESS>build:eleventy
8:25:10 PM: > cross-env ELEVENTY_ENV=prod NODE_OPTIONS=--max-old-space-size=4096 eleventy
8:25:12 PM: [11ty] Problem writing Eleventy templates: (more in DEBUG output)
8:25:12 PM: [11ty] 1. Having trouble rendering njk template ./src/site/notes/Aritmética/Potenciación.md (via TemplateContentRenderError)
8:25:12 PM: [11ty] 2. (./src/site/notes/Aritmética/Potenciación.md) [Line 7, Column 260]
8:25:12 PM: [11ty]   expected variable end (via Template render error)
8:25:12 PM: [11ty]
8:25:12 PM: [11ty] Original error stack trace: Template render error: (./src/site/notes/Aritmética/Potenciación.md) [Line 7, Column 260]
8:25:12 PM: [11ty]   expected variable end
8:25:12 PM: [11ty]     at Object._prettifyError (/opt/build/repo/node_modules/nunjucks/src/lib.js:36:11)
8:25:12 PM: [11ty]     at Template.init (/opt/build/repo/node_modules/nunjucks/src/environment.js:511:19)
8:25:12 PM: [11ty]     at Template.Obj (/opt/build/repo/node_modules/nunjucks/src/object.js:62:15)
8:25:12 PM: [11ty]     at new Template (/opt/build/repo/node_modules/nunjucks/src/environment.js:478:18)
8:25:12 PM: [11ty]     at Nunjucks.compile (/opt/build/repo/node_modules/@11ty/eleventy/src/Engines/Nunjucks.js:480:14)
8:25:12 PM: [11ty]     at Markdown.compile (/opt/build/repo/node_modules/@11ty/eleventy/src/Engines/Markdown.js:63:28)
8:25:12 PM: [11ty]     at TemplateRender.getCompiledTemplate (/opt/build/repo/node_modules/@11ty/eleventy/src/TemplateRender.js:232:26)
8:25:12 PM: [11ty]     at Template.compile (/opt/build/repo/node_modules/@11ty/eleventy/src/TemplateContent.js:296:42)
8:25:12 PM: [11ty]     at processTicksAndRejections (node:internal/process/task_queues:96:5)
8:25:12 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
8:25:12 PM: [11ty]     at async Template._render (/opt/build/repo/node_modules/@11ty/eleventy/src/TemplateContent.js:390:16)
8:25:12 PM: [11ty] Benchmark    359ms  26%     1× (Data) `./src/site/_data/meta.js`
8:25:12 PM: [11ty] Copied 1 file / Wrote 0 files in 1.16 seconds (v1.0.2)
8:25:12 PM: ERROR: "build:eleventy" exited with 1.
8:25:12 PM:
8:25:12 PM:   "build.command" failed
8:25:12 PM: ────────────────────────────────────────────────────────────────
8:25:12 PM:
8:25:12 PM:   Error message
8:25:12 PM:   Command failed with exit code 1: npm install && npm run build (https://ntl.fyi/exit-code-1)
8:25:12 PM:
8:25:12 PM:   Error location
8:25:12 PM:   In build.command from netlify.toml:
8:25:12 PM:   npm install && npm run build
8:25:12 PM:
8:25:12 PM:   Resolved config
8:25:12 PM:   build:
8:25:12 PM:     command: npm install && npm run build
8:25:12 PM:     commandOrigin: config
8:25:12 PM:     publish: /opt/build/repo/dist
8:25:12 PM:     publishOrigin: config
8:25:12 PM:   functionsDirectory: /opt/build/repo/netlify/functions
8:25:12 PM:   redirects:
8:25:12 PM:     - from: /api/*      status: 200      to: /.netlify/functions/:splat    - from: /*      status: 404      to: /404  redirectsOrigin: configCaching artifacts
8:25:12 PM: Started saving node modules
8:25:12 PM: Finished saving node modules
8:25:12 PM: Started saving build plugins
8:25:12 PM: Finished saving build plugins
8:25:12 PM: Started saving pip cache
8:25:12 PM: Finished saving pip cache
8:25:12 PM: Started saving emacs cask dependencies
8:25:12 PM: Finished saving emacs cask dependencies
8:25:12 PM: Started saving maven dependencies
8:25:12 PM: Finished saving maven dependencies
8:25:12 PM: Started saving boot dependencies
8:25:12 PM: Finished saving boot dependencies
8:25:12 PM: Started saving rust rustup cache
8:25:12 PM: Finished saving rust rustup cache
8:25:12 PM: Started saving go dependencies
8:25:12 PM: Finished saving go dependencies
8:25:12 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
8:25:12 PM: Failing build: Failed to build site
8:25:12 PM: Finished processing build request in 15.053125076s

Hi, I also have the same problem, the log is as follows:
2:49:25 PM: build-image version: d55944c047ef0aee2ac01971edde72cb2a50acfe (focal)
2:49:25 PM: build-image tag: v4.16.1
2:49:25 PM: buildbot version: a1ec8307ac4591dcd155485cdfce7d7be735ab26
2:49:26 PM: Fetching cached dependencies
2:49:26 PM: Starting to download cache of 142.0MB
2:49:26 PM: Finished downloading cache in 821.918457ms
2:49:26 PM: Starting to extract cache
2:49:27 PM: Finished extracting cache in 980.350356ms
2:49:27 PM: Finished fetching cache in 1.858219542s
2:49:27 PM: Starting to prepare the repo for build
2:49:28 PM: Preparing Git Reference refs/heads/main
2:49:28 PM: git clone --filter=blob:none git@github.com:Gonglja/digitalgarden
2:49:29 PM: Parsing package.json dependencies
2:49:30 PM: Starting build script
2:49:30 PM: Installing dependencies
2:49:30 PM: Python version set to 2.7
2:49:31 PM: Started restoring cached node version
2:49:31 PM: Finished restoring cached node version
2:49:31 PM: v16.19.0 is already installed.
2:49:32 PM: Now using node v16.19.0 (npm v8.19.3)
2:49:32 PM: Enabling node corepack
2:49:32 PM: Started restoring cached build plugins
2:49:32 PM: Finished restoring cached build plugins
2:49:32 PM: Attempting ruby version 2.7.2, read from environment
2:49:32 PM: Using ruby version 2.7.2
2:49:33 PM: Using PHP version 8.0
2:49:33 PM: No npm workspaces detected
2:49:33 PM: Started restoring cached node modules
2:49:33 PM: Finished restoring cached node modules
2:49:33 PM: Started restoring cached go cache
2:49:33 PM: Finished restoring cached go cache
2:49:34 PM: go version go1.19.4 linux/amd64
2:49:34 PM: Detected 1 framework(s)
2:49:34 PM: "eleventy" at version "1.0.2"
2:49:34 PM: Installing missing commands
2:49:34 PM: Verify run directory
2:49:34 PM: Section completed: initializing
2:49:36 PM:
2:49:36 PM:   Netlify Build
2:49:36 PM: ────────────────────────────────────────────────────────────────
2:49:36 PM:
2:49:36 PM: ❯ Version
2:49:36 PM:   @netlify/build 29.4.0
2:49:36 PM:
2:49:36 PM: ❯ Flags
2:49:36 PM:   baseRelDir: true
2:49:36 PM:   buildId: 63b7c474c97f3a0008e0e08a
2:49:36 PM:   deployId: 63b7c474c97f3a0008e0e08c
2:49:36 PM:
2:49:36 PM: ❯ Current directory
2:49:36 PM:   /opt/build/repo
2:49:36 PM:
2:49:36 PM: ❯ Config file
2:49:36 PM:   /opt/build/repo/netlify.toml
2:49:36 PM:
2:49:36 PM: ❯ Context
2:49:36 PM:   production
2:49:36 PM:
2:49:36 PM:   1. build.command from netlify.toml
2:49:36 PM: ────────────────────────────────────────────────────────────────
2:49:36 PM:
2:49:36 PM: $ npm install && npm run build
2:49:38 PM: up to date, audited 605 packages in 2s
2:49:38 PM: 72 packages are looking for funding
2:49:38 PM:   run `npm fund` for details
2:49:38 PM: 12 vulnerabilities (6 moderate, 5 high, 1 critical)
2:49:38 PM: To address issues that do not require attention, run:
2:49:38 PM:   npm audit fix
2:49:38 PM: Some issues need review, and may require choosing
2:49:38 PM: a different dependency.
2:49:38 PM: Run `npm audit` for details.
2:49:38 PM: ><EMAIL_ADDRESS>build
2:49:38 PM: > npm-run-all build:*
2:49:38 PM: ><EMAIL_ADDRESS>build:eleventy
2:49:38 PM: > cross-env ELEVENTY_ENV=prod NODE_OPTIONS=--max-old-space-size=4096 eleventy
2:49:39 PM: [11ty] Problem writing Eleventy templates: (more in DEBUG output)
2:49:39 PM: [11ty] 1. Having trouble rendering njk template ./src/site/notes/D-软件技能/obsidian/obsidian 插件 DigitalGarden 的测试.md (via TemplateContentRenderError)
2:49:39 PM: [11ty] 2. (./src/site/notes/D-软件技能/obsidian/obsidian 插件 DigitalGarden 的测试.md) [Line 1884, Column 23]
2:49:39 PM: [11ty]   expected variable end (via Template render error)
2:49:39 PM: [11ty]
2:49:39 PM: [11ty] Original error stack trace: Template render error: (./src/site/notes/D-软件技能/obsidian/obsidian 插件 DigitalGarden 的测试.md) [Line 1884, Column 23]
2:49:39 PM: [11ty]   expected variable end
2:49:39 PM: [11ty]     at Object._prettifyError (/opt/build/repo/node_modules/nunjucks/src/lib.js:36:11)
2:49:39 PM: [11ty]     at Template.init (/opt/build/repo/node_modules/nunjucks/src/environment.js:511:19)
2:49:39 PM: [11ty]     at Template.Obj (/opt/build/repo/node_modules/nunjucks/src/object.js:62:15)
2:49:39 PM: [11ty]     at new Template (/opt/build/repo/node_modules/nunjucks/src/environment.js:478:18)
2:49:39 PM: [11ty]     at Nunjucks.compile (/opt/build/repo/node_modules/@11ty/eleventy/src/Engines/Nunjucks.js:480:14)
2:49:39 PM: [11ty]     at Markdown.compile (/opt/build/repo/node_modules/@11ty/eleventy/src/Engines/Markdown.js:63:28)
2:49:39 PM: [11ty]     at TemplateRender.getCompiledTemplate (/opt/build/repo/node_modules/@11ty/eleventy/src/TemplateRender.js:232:26)
2:49:39 PM: [11ty]     at Template.compile (/opt/build/repo/node_modules/@11ty/eleventy/src/TemplateContent.js:296:42)
2:49:39 PM: [11ty]     at processTicksAndRejections (node:internal/process/task_queues:96:5)
2:49:39 PM: [11ty]     at async Template._render (/opt/build/repo/node_modules/@11ty/eleventy/src/TemplateContent.js:390:16)
2:49:40 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
2:49:39 PM: [11ty] Benchmark    115ms  24%     1× (Data) `./src/site/_data/meta.js`
2:49:39 PM: [11ty] Copied 1 file / Wrote 0 files in 0.25 seconds (v1.0.2)
2:49:39 PM: ERROR: "build:eleventy" exited with 1.
2:49:39 PM:
2:49:39 PM:   "build.command" failed
2:49:39 PM: ────────────────────────────────────────────────────────────────
2:49:39 PM:
2:49:39 PM:   Error message
2:49:39 PM:   Command failed with exit code 1: npm install && npm run build (https://ntl.fyi/exit-code-1)
2:49:39 PM:
2:49:39 PM:   Error location
2:49:39 PM:   In build.command from netlify.toml:
2:49:39 PM:   npm install && npm run build
2:49:39 PM:
2:49:39 PM:   Resolved config
2:49:39 PM:   build:
2:49:39 PM:     command: npm install && npm run build
2:49:39 PM:     commandOrigin: config
2:49:39 PM:     publish: /opt/build/repo/dist
2:49:39 PM:     publishOrigin: config
2:49:39 PM:   functionsDirectory: /opt/build/repo/netlify/functions
2:49:39 PM:   redirects:
2:49:40 PM:     - from: /api/*
      status: 200
      to: /.netlify/functions/:splat
    - from: /*
      status: 404
      to: /404
  redirectsOrigin: config
Caching artifacts
2:49:40 PM: Started saving node modules
2:49:40 PM: Finished saving node modules
2:49:40 PM: Started saving build plugins
2:49:40 PM: Finished saving build plugins
2:49:40 PM: Started saving pip cache
2:49:40 PM: Finished saving pip cache
2:49:40 PM: Started saving emacs cask dependencies
2:49:40 PM: Finished saving emacs cask dependencies
2:49:40 PM: Started saving maven dependencies
2:49:40 PM: Finished saving maven dependencies
2:49:40 PM: Started saving boot dependencies
2:49:40 PM: Finished saving boot dependencies
2:49:40 PM: Started saving rust rustup cache
2:49:40 PM: Finished saving rust rustup cache
2:49:40 PM: Started saving go dependencies
2:49:40 PM: Finished saving go dependencies
2:49:40 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
2:49:40 PM: Failing build: Failed to build site
2:49:40 PM: Finished processing build request in 14.467408046s

In the place where the error was indicated, I found that I was using the following syntax
```mermaid
graph TB
	s=start  e=end  f=fork  n=normal

	s([开始])-->f1{{if条件}};

	f1--true-->n1[if语句块]-->e([结束]);
	f1--false-->f2{{else if条件}};

	f2--true-->n2[else if语句块]-->e;
	f2--false-->n3[else语句块]-->e;
```

I raised the same issue as #271 not realizing that this ticket already exists
The {{if条件}} gets treated as jinja template which eleventy attempts to execute. It fails to do so because it isn't fully valid jinja code


Cannot start gui or cli client

I cannot start the GUI or cli client for keybase. Looking at the output of keybase ctl start makes me think it's an issue with how it's finding the keybase CLI client potentially.
my log id: c00a4747b1333835b5c3831c
5c56d46df64c3ecd89f02e1c
$ keybase ctl start
▶ INFO Saving /Users/km022926/Library/LaunchAgents/keybase.service.plist
▶ INFO Starting keybase.service
▶ INFO Waiting for keybase.service to be loaded...
▶ ERROR Error installing Keybase service: keybase.service is not running
▶ ERROR keybase.service is not running
▶ ERROR stat /keybase: no such file or directory
▶ INFO Saving /Users/km022926/Library/LaunchAgents/keybase.updater.plist
▶ INFO Starting keybase.updater
▶ INFO Waiting for keybase.updater to be loaded...
▶ ERROR Error installing updater service: keybase.updater is not running
▶ ERROR keybase.updater is not running
▶ INFO Opening /Applications/Keybase.app
▶ ERROR There were multiple errors: keybase.service is not running; stat /keybase: no such file or directory; keybase.updater is not running

What are the permissions on /Users/km022926/Library/LaunchAgents/?
Also, relatedly, do you run LastPass?

I run 1passoword but not lastpass. Permissions on LaunchAgents looks fine from what I can tell
$ ls -lh /Users/km022926/Library/ | grep LaunchAgents
drwx------    4 km022926  Domain Users   136B Oct  9 15:41 LaunchAgents

Yeah, it sure does. Do you see keybase.service.plist in that directory?

I do not
$ ls -lh /Users/km022926/Library/LaunchAgents/
total 16
-rw-r--r--  1 km022926  Domain Users   588B Aug 25  2016 net.tunnelblick.tunnelblick.LaunchAtLogin.plist
-rw-r--r--@ 1 km022926  Domain Users   677B Apr 18  2016 org.virtualbox.vboxwebsrv.plist

Yeah, that's our bug here, but damned if I can figure it out.  launchctl says it works, but then it noops.
Do you think your mac is in a state where it wants to restart due to an OS upgrade?

actually i think it is. I can try giving it a restart and see if that does anything

I had a case like this where a restart "fixed" it.  Ug!

yeah. looks like a restart fixed it :( kinda strange/annoying but at least i know now!

thanks for your feedback. Sucks that the remediation is so unsatisfying. We'll continue to scratch our heads over here.


basic formating

First round of tidying up by bringing consistency to the text layout.  Moved paragraphs to a single line, and tidied up some of the empty lines before headings etc.
No content was changed.

I appreciate the time spent... but is there a strong reason to put paragraphs in single lines when thry are not in lists? My current theory is that using multiple lines will reduce the likelihood of merge conflicts when multiple people edit text.   That may be complete untrue though.  I just want to make sure that we accept changes that make this better, not worse.

There were multiple different formats in the document.  If part of the rationale was to use different lines to avoid merge issues then i'll drop through and put each sentence on a separate line (which will be merged into one paragraph later).
Once we've got the basic formatting right I'll do my second sweep and try and bring some consistency to the language and structure for each of the criteria. Just trying to keep content changes separate from the formatting to avoid any confusion.

This reformatting of markdown doesn't really help end-users and may increase the risk of unnecessary git merge conflicts, so let's not do this.


Radial Line Of Sight fails on Pro (missing viz modifier fields)

Because Pro doesn't support feature sets, and we are forced to use map notes we are missing the requisite visibility modifier fields that RLOS uses to determine ranges and offset heights. So we are missing a major component that will make this tool unusable in Pro. The error will be something like ...
Start Time: Mon Apr 18 14:22:31 2016
Executing (Copy Features): CopyFeatures PicnicCanyonCamp C:\Users\<users>\Documents\ArcGIS\Projects\MilestoneRevDemo\MilestoneRevDemo.gdb\copyObs # 0 0 0
Start Time: Mon Apr 18 14:22:31 2016
Succeeded at Mon Apr 18 14:22:32 2016 (Elapsed Time: 0.56 seconds)
Executing (sourceRLOSscript): sourceRLOSscript C:\Users\<users>\Documents\ArcGIS\Projects\MilestoneRevDemo\MilestoneRevDemo.gdb\copyObs Elevation C:\Users\<users>\Documents\ArcGIS\Projects\MilestoneRevDemo\MilestoneRevDemo.gdb\LFViz false GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]]
Start Time: Mon Apr 18 14:22:32 2016
Running script sourceRLOSscript...
RLOS will use local RADIUS2 values for calculation.
PYTHON ERRORS:
Traceback info:
  File "C:\Users\<users>\Documents\GitHub\military-tools-geoprocessing-toolbox\toolboxes\scripts\RLOS.py", line 151, in main
    obsMaximums = maxVizModifiers(observers)

Error Info:
Row: Field OFFSETA does not exist
ArcPy ERRORS:
Completed script sourceRLOSscript...
Failed to execute (sourceRLOSscript).
Failed at Mon Apr 18 14:22:33 2016 (Elapsed Time: 0.61 seconds)
Failed to execute (RadialLineOfSight).
Failed at Mon Apr 18 14:22:33 2016 (Elapsed Time: 2.00 seconds)

Visibility modifier fields are discussed under "Controlling the Visibility Analysis:
http://desktop.arcgis.com/en/arcmap/10.3/tools/spatial-analyst-toolbox/using-viewshed-and-observer-points-for-visibility.htm

To solve this one I've added Add Observer Fields into the Pro toolbox for Visibility and Range Tools.tbx. This tool is to be used on the input observer point features before running Radial Line Of Sight. The new tool will add default or user-defined values in the requisite fields in the point features.
This was added in PR #434
@topowright since i logged this one and fixed it, can you verify?


Generated Tests Fix

Fixed broken generated tests in 2.3.x branch.

Sorry, based on wrong branch, will submit a new PR for this.


⚠ Bofrost.fr has degraded performance

In 04ec637, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1500 ms

Resolved: Bofrost.fr performance has improved in e1c84d5 after 12 minutes.


youtube url is not getting

hello ,
i am unable to get youtube URL it says something wrong for signature etc ...
thanks

You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.


Implement get_enrichments in cg_enrich

Need to implement the cg_enrich->enrich()->get_enrichments function to make it possible to query what enrichment options are loaded in the class instance.

May want to give the ability to pick specific enrichments rather than those which meet criteria.

Implemented in gabe branch.

(still needs testing)


Wrong %USERPROFILE% path being informed in docs

Hi there, I'm new in dapr ecosystem and I'm walking through the documentation, trying to learn a little bit more about how could I use this amazing cloud-native platform.
Describe the issue

Trying to follow all the step-by-step in the Initialize Dapr in your local environment instructions I tried to run this command here:
explorer "%USERPROFILE%\.dapr\"
but if this command is run using PowerShell, it will outcome without anything.
URL of the docs

Initialize Dapr in your local environment
Expected content

This would be the expected result:

Screenshots

Additional context

So, to achieve the expected result from this part of the documentation, the docs should be fixed to add the instruction below:
explorer $env:USERPROFILE\.dapr

Thanks @jr-araujo and welcome to the Dapr community!
Would you be willing to submit a PR to fix the docs?

@jr-araujo - Windows has PS and CMD options. The setup process in the docs on Windows uses CMD for the initialization. If we do add PS, then this should really be added and tested for the https://docs.dapr.io/getting-started/install-dapr-cli/ and the https://docs.dapr.io/getting-started/install-dapr-selfhost/ topics. Is this the only place this failed in PS for you in the setup?

closing for now - feel free to reopen if other commands fail in PS as well


ci test: split each dagger do to own test name

Even though we export to GHA using per-test scopes, there are often
multiple invocations of dagger do within a single test, each of which
will use the same export target and thus overwrite each other's cache
manifests.
This meant that we would pay the price to export cache (quite expensive
for large blobs), eat up our bandwidth limit uploading that cache
(causing more throttles) and then never actually reuse the cache
because the manifest got overwritten.
For one example, the ./container.cue test in the go universe package
would take ~8 seconds to execute w/out cache hits, but then spend ~30
seconds exporting cache. If you run the test on its own in GHA so that
the cache manifest doesn't get overwritten, it will only take 3 seconds
to run. So in this single test case we were wasting ~37 seconds most
runs. There are many other test cases in the same boat.
This immediately solves the problem in order to stop our CI from taking
forever and getting so many throttles from GHA cache. In general, we
need a better way of configuring cache that's easy to turn on and off
per-plan.
Signed-off-by: Erik Sipsma<EMAIL_ADDRESS>Related to #2140 and #2365
Also, another lesson from this is that it was very difficult to find out any of this; our current observability into cache performance is next to nothing. I hacked together in my fork a bunch of stuff for collecting Jaeger traces in GHA that can be exported and orchestrating tests that let you more easily compare multiple test runs with different cache settings. I will prioritize productionizing this so we can more quickly diagnose these types of issues in the future.

Just as an example, after letting the universe tests run once to upload the cache w/out manifest overwrites, I re-ran them and the execution time went from 15m30s -> 6m37s.


Making the CI match better with EasyDiffraction

This is a good pausing point in a larger project related to getting EasyReflectometry and EasyDiffraction running on a shared CI system. This PR focuses on getting the tools/Scripts directory and the build.yml to match more closely between EasyReflectometry and EasyDiffraction. There should be a PR in EasyDiffractionApp that mirrors this.

The branch of easyDiffraction that mirrors this is https://github.com/easyScience/easyDiffractionApp/tree/update_ci

Closing, as I will investigate a new approach to the CI (removing the use of poetry as much as possible).


Expose API to provide expandable message in notifications

Expose API to provide expandable message in notifications (showInformationMessage / showWarningMessage / showErrorMessage ). The API could be something like: showInformationMessage(summaryMessage: string, fullMessage: string, ...items: string[])
Currently, if actions are present in these notification messages, the view is automatically expanded. Instead:

minimize it and display a summary message by default
make it expandable and display the full message exposed through API when expanded

//cc @jrieken

dupe of https://github.com/microsoft/vscode/issues/125750?

Yeah maybe, if we end up implementing the new detail option like that for notifications, an extension could use message for the brief variant and add additional content to details. Let's move into that issue, @nelango maybe comment there.


Fix firework explosion

Fixes:

#821: Boosting an elytra with a firework that have explosions effects crashes the server, because the distance beetween the owner and the firework is 0. (not sure about the solution that I came with)
Projectile in ProjectileDamageSource was the target itself.

This has been fixed since. Thanks for the PR!


Get the list of expected equipment definitions for each deployment

Just like in fleet organization, compute the EquipmentRequirements and retrieve the possible list of eqiupment. This requires some consideration:

Is it OK to just enumerate equipment instances? Equipment definitions instead?
How to determine availability? Just enumerate definitions that passed the filter?

Maybe some more.

Fixed with<PHONE_NUMBER>8b49acada8536c1843ae9b03e75682.
To answer the above question,

This should enumerate equipment instances. Later, when this expectation is required to load a fleet, instances are needed instead of definitions.
When editing a deployment, availability does not need to be based on whether they are equipped or not. That will be determined when loading a fleet.


Fix a bug when getting in sync and old requests are still lingering.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/1469/
Not completely green, but highly likely that this is unrelated.


Appstudio update test-component-pac-lcrc

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-lcrc-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
15 seconds
init

✅ Succeeded
13 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
25 seconds
sanity-inspect-image

✅ Succeeded
25 seconds
deprecated-base-image-check

✅ Succeeded
48 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
9 seconds
sanity-optional-label-check

✅ Succeeded
9 seconds
sanity-label-check

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-lcrc-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
15 seconds
clone-repository

✅ Succeeded
28 seconds
build-container

✅ Succeeded
8 seconds
sanity-inspect-image

✅ Succeeded
8 seconds
deprecated-base-image-check

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
10 seconds
clair-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
9 seconds
sanity-label-check

✅ Succeeded
7 seconds
show-summary


Write a C++ program to find volume of cube

Description
Write a C++ program to find volume of cube
Volume of cube = (edge of cube)^3
Input  : 2
Output : 8

How to contribute

Save the solution in FindVolumeOfCube.cpp file
Add FindVolumeOfCube.cpp file in find-volume-of-cube folder

assign me

!assign

@harshraj8843


table view with zero rows or fulscreen image view

I want a small table view (2 rows) or just not table view with small circular image in middle and the enlarged blurred image in background and the scroll effect enabled. Also I dont want the scroll up effect. Can you tell how do I do that? I tried setting the number of rows in table view to 2 but it looks bad. I did set the small circular image view in middle. I'm no getting how do I set the image of mainImageView to be enlarged and covering nearly entire screen.

I made the frame size of mainImageView to CGRectMake(0,0,320,568) in the initialize method. This shows perfectly the way I want in the beginning but when I scroll it returns back to original size.

Ok I changed the frame size in scrollViewDidScroll method also to 0.0-diff/2, 0.0, 320+absoluteY,568+absoluteY.


Function Names

Thanks for this great documentation!
In the Best Practices section, GETZIPCODE is recommended against to ZIPCODE function name. However, custom functions / UDFs are not "action" functions, but "calculate/transform and return" functions.  All Excel functions have a return purpose, user simply GETs something from all Excel functions, but none of the Excel native functions (except GETPIVOTDATA as I can see) have this rule applied.
In my opinion, ZIPCODE looks to be the right usage as the best practice in the documentation. Otherwise we should be prefixing almost all user defined functions with GET.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 714da1e2-6053-0328-b31e-0bf514ecc774
Version Independent ID: be1e524c-1198-c288-f71e-f9d7f84abeb7
Content: Naming guidelines for custom functions in Excel - Office Add-ins
Content Source: docs/excel/custom-functions-naming.md
Product: excel
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @smozgur - thanks for your suggestion! I definitely see your point - all custom functions do technically return something. (And even Excel's built in functions, "SHEET" would return information without saying "GETSHEET"). However, in a lot of cases I think it is helpful to add a verb that says what the function is going to do so your user is clear on what kind of calculation is occurring, particularly if you have multiple things being done to or returned from one noun. For example, "ADDTOBANKACCOUNT" is quite different than "DISPLAYBANKACCOUNT" and "SUBTRACTFROMBANKACCOUNT". Just "BANKACCOUNT" might be confusing on it's own. Built-in functions in Excel use varied approaches ("SHEET" is just a noun but there's also "GETPIVOTDATA" using both noun and verb and then just verb like "ADD").
That being said, these are just guidelines, so feel free to name your functions the way that you thinks makes the most sense for you! If we hear more feedback like this, we can definitely look into changing the best practices page. Thanks!

Thanks for the reply, @mscharlock.
I totally agree about using the descriptive names in any kind of procedure in coding as it is the best practice to use long function names in applications as the first rule of efficient programming.
Actually I am particularly against to GET prefix as I tried to explain. Some other prefixes are indeed very useful, and I agree with you on that.
However, readability is more important when it comes to use those function names inside a small editor, so I am also not very sure about using really long names for the functions as I also thought that Excel native functions are mostly short considering this limit. Long names containing more than 2 words will cause difficulty to read the entire formula with multiple functions in it. Especially when they are all uppercase as in Excel.
I was reading the docs and wanted to share my ideas on this. Hope I am not bothering you :) You are doing really great! Thank you.

No, definitely not a bother at all, I totally welcome the feedback! We have debated as a team about how long names should be and even whether or not a namespace is necessary (because it adds a lot of length). Also, we have found that some of our partners who are trying out custom functions tend to name things with really short abbreviations (even as short as two letters!) instead of using two or more word phrases. Just depends on your user base :) Many thanks for sharing your ideas and contributing! I definitely think your point about GET is a good one - I will put an item on my to do list to change it to a different verb. Let me know if you need anything else or have other feedback about the docs, we definitely want to hear what you have to say! I will go ahead and close this issue for now, but feel free to reopen if you have additional feedback :)


⚠ Bofrost.nl has degraded performance

In 4d9143e, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1264 ms

Resolved: Bofrost.nl performance has improved in 51cc845.


Inspecting an AST node with a breakpoint freezes the image

Same as https://github.com/feenkcom/gtoolkit/issues/3994


minor image builder improvements

Issue #, if available:
Description of changes:

stop showing s3 upload progress. for image uploading it overloads the logs and its unnecessary
extract the br raw image requires lz4
avoid removing the downloaded files because they are intermediate targets. the fix is a bit ugly and this is a pretty minor case, it really only comes up when running locally multiple times, but feels like a low risk to avoid some "strange" behavior that I have to re-remember every time.
improve the host interface for the packer host IP detection

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


How to run DEBUG mode, how to configure logs

1.Where is no information about how to run etcd in debug mode(or verbose) in etcd --help
1.Where is no information about how to configure logs(level, path to file) in etcd --help
I tried to search it in source code, but with no success.
./etcd --version
etcd version 2.0.4

@xcrezd I am afraid there is no such option now. For the log, I think you can find some in your data dir.

@AdoHe is correct. We don't have debug mode now.
For current stage, we could get enough information from the stderr output.

@xcrezd More info: We will use level logging: https://github.com/coreos/etcd/issues/2398


Setup the Kanban Board

Our Kanban board
We are group of two students
@Mofuhidy & @clin2on3mun

Hi Team,
Good job so far, indeed you have spent time on this project!
There are some issues that you still need to work on to go to the next project but you are almost there!

Highlights

Fair distribution of tasks ✔
Good use of Kanban board ✔

Required Changes ♻
Check the comments under the review.

[ ] I will encourage you to see the N+1 as serious as other tasks because at the moment, it does not reflect in your project tasks. These N+1 queries can lead to a lot of unnecessary database hits, causing performance issues so I will encourage you to add it and remember to work on it in your project.

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi @Mofuhidy and @clin2on3mun,
Highlights!

Descriptive issue ✔

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Status: Approved ✔
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


How do I close Hamburger menu which is open, from the drop down list item inside the hamburger

How do I close Hamburger menu which is open, from the drop down list inside the hamburger. If user clicks in the list of items in the drop down list. the user navigates to that page. but the hamburger menu will still be in the open state when it the user has navigated to new page. I want the menu to be closed when the user clicks on the list item in the drop down list.

@digish777 can you provide a little bit of example by using StackBlitz (here you could find an easy to start template projects) so we could get a better picture of the problem?

https://clarity-v4-dark-theme-lvpxkg.stackblitz.io/home
please increase the zoom size to 250% and then navigate from home to about us page. You can see that the Hamburger menu stands still. It does not close after the navigation completes from one page to another. It would be nice to have an event which could close the Hamburger left menu.

Thanks for the demo!
You are trying to put the dropdown with the header-actions inside the header-nav.
They have to be in separate sections and as they constitute a dropdown menu on their own, they do not need to be packed inside the hamburger.
See this updated version of your example:
https://stackblitz.com/edit/header-nav-vs-actions-demo?file=src/app/app.component.html

What if my requirement is like that?

Then you need to write your own custom responsive container that suits your custom needs.


[QUESTION] - How to override some XMin stylesheet parameters in styles.css

Hey, I am trying to override some XMin stylesheet parameters such as the padding-left of article:

I have tried including:
.article {
   padding-left: 5%;
}

but it doesn't override the xmin stylesheet

Hi, before you post more questions, let me quickly remind you that I'm extremely busy this year and I don't think I'm able to act as a personal help desk or answer general CSS questions, so I recommend you to ask this type of questions elsewhere, such as Stack Overflow, where you might get quicker answers, otherwise you may have to wait until next year for my schedule to clear up to be able to help you. Thanks!

Hey @yihui, sorry to bother you, as you can tell I am still very new to CSS and web development. I shall learn from some course soon enough and hopefully I can answer these questions myself, thanks again for the great theme!

Completely understood. No need to apologize. I was definitely a CSS beginner some years ago, too!