instr.query("READ?") returns empty string every-other-time

SOLVED (I think).  I noticed the BeagleBone Black (BBB) was running pyVISA-py 0.2 and the VM running 0.3.dev0.  I updated the BBB and had the same error as reported here https://github.com/hgrecco/pyvisa-py/issues/73 and then had the error that that fix created so went here https://github.com/hgrecco/pyvisa-py/issues/74, but realized it was related to GPIB.  As a last ditch effort, I restarted the BBB, and it seems to be working!  (Also, the system information below isn't right, I am running python 3, so I must have copied the wrong terminal.)
(Updated below (twice), issue still exists, though.)  First of all, thank you for such a great piece of software.  In general, it has worked like a charm, and made my life easier.  Unfortunately, I am now hitting a problem I can't seem to solve:
I am running pyVISA (with pyVISA-py) on a BeagleBone Black with code known to work on another Linux system (using NI-VISA and an older version of pyVISA, though), but for some reason it now isn't working consistently.  The code requests a measurement, then queries for errors, and on the old system, the latter command always returned (luckily) 0,"No Error" but on the new system, it causes issues.  For instance, the SECOND read request will return an empty string, then a third read request will produce a value AND the instrument will error (I would have guessed it would error when an empty string is returned).  The error is "u'-410,"Query INTERRUPTED"\n\x00\x00\x00'"
Using a console, I ran the important parts of the code, shown below, BUT I didn't capture any of the error requests returning an empty string (though it behaves exactly the same as the read requests below, alternating empty and "Query INTERRUPTED").  Note, upon startup, if the first thing was a request to see if there were errors, I would get the expected '0, "No Error"' but if the read query returned an empty string, then I cleared it by querying the error, then querying for errors a second time (which should return the No Error string), it returned an empty string.
When I get rid of the error checking, it seems to work great (though if there's an error, I won't know about it, and this will be running for a long time).  I've looked at using "*OPC?" but it was not as straightforward as I'd hoped, and since this approached worked before...
I found this link: https://github.com/hgrecco/pyvisa/issues/29 but it didn't help (though it seems likely there are multiple "read" requests coming from somewhere).
(I added comments when the instrument (a Keithley K2100 DMM) reported/cleared an error (a red "ERR" on the display).)
>>> import pyvisa as visa
>>> rm = visa.ResourceManager('@py')
>>> keithley = rm.open_resource(rm.list_resources()[0])
>>> keithley.write("*CLS")
(20, <StatusCode.success: 0>)
>>> keithley.write("*RST")
(20, <StatusCode.success: 0>)
>>> keithley.write("VOLTage:DC:RANGe:AUTO ON")
(40, <StatusCode.success: 0>)
>>> keithley.write("TRIGger:SOURce IMMediate")
(40, <StatusCode.success: 0>)
>>> keithley.query("*IDN?")
u'KEITHLEY INSTRUMENTS INC.,MODEL 2100,1,01.08-01-01\n\x00'
>>> visa.log_to_screen()
>>> keithley.query("READ?")
2016-01-15 12:05:41,886 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u'-4.05093664E-04\n'
>>> keithley.query("READ?")
2016-01-15 12:05:48,893 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u''
>>> keithley.query("READ?")
2016-01-15 12:05:54,900 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u'-4.22745440E-04\n'
>>> # Above measurement produced beep from instrument and red "ERR" appears
...
>>> keithley.query("SYSTem:ERRor?")
2016-01-15 12:06:34,459 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u'-410,"Query INTERRUPTED"\n\x00\x00\x00'
>>> # "ERR" has been cleared from instrument
...
>>> keithley.query("READ?")
2016-01-15 12:06:54,439 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u''
>>> keithley.query("READ?")
2016-01-15 12:06:57,723 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u'-4.47112960E-04\n'
>>> # Above measurement produced beep from instrument and red "ERR" appears
...
>>> keithley.query("SYSTem:ERRor?")
2016-01-15 12:07:11,733 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u'-410,"Query INTERRUPTED"\n\x00\x00\x00'
>>>

Install info is:
   Machine Details:
   Platform ID:    Linux-4.1.12-ti-r29-armv7l-with-debian-8.2
   Processor:

Python
   Implementation: CPython
   Executable:     /home/debian/bbbmeas/bbbv1py/bin/python
   Version:        2.7.9
   Compiler:       GCC 4.9.2
   Bits:           32bit
   Build:          Mar  1 2015 13:48:22 (#default)
   Unicode:        UCS4

PyVISA Version: 1.8

Backends:
   ni:
      Version: 1.8 (bundled with PyVISA)
      Binary library: Not found
   py:
      Version: 0.2
      ASRL INSTR:
         Please install PySerial to use this resource type.
         No module named serial
      TCPIP INSTR: Available
      USB RAW: Available via PyUSB (1.0.0b2). Backend: libusb1
      USB INSTR: Available via PyUSB (1.0.0b2). Backend: libusb1
      GPIB INSTR:
         Please install linux-gpib to use this resource type.
         No module named gpib
      TCPIP SOCKET: Available

Thanks and sorry for the long post.
Added 19 Jan 2016:
I installed lantz and have been moderately successful, though issues there ultimately brought me back here.  I failed to notice during original post that it appears a response from "READ?" terminates with "\n", from "SYSTem:ERRor?" its "\n\x00\x00\x00" and from IDN? its "\n\x00":

keithley.query("READ?")
2016-01-15 12:05:54,900 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u'-4.22745440E-04\n'

keithley.query("SYSTem:ERRor?")
2016-01-15 12:06:34,459 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u'-410,"Query INTERRUPTED"\n\x00\x00\x00'

keithley.query("*IDN?")
2016-01-15 12:11:02,909 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
u'KEITHLEY INSTRUMENTS INC.,MODEL 2100,1,01.08-01-01\n\x00'

Update 2 (19 Jan 2016)
I found this post: https://github.com/hgrecco/pyvisa/issues/120 and it seems similar, but the output still toggles.  I put <instr.read_termination = '\n'> before every "READ?" query and <instr.read_termination = '\n\x00'> before the error query.  Putting multiple instances of "\x00" like  <instr.read_termination = '\n\x00\x00\x00'> threw an error (ambiguous ending in termination characters).  The output was:
(bbbv1py3)root@beaglebone:/home/debian/bbbmeas# python k2100_v_bbbv2.py
button pressed
2016-01-19 15:20:44,031 - pyvisa - DEBUG - SerialSession was correctly imported.
2016-01-19 15:20:44,175 - pyvisa - DEBUG - USBSession and USBRawSession were correctly imported.
2016-01-19 15:20:44,217 - pyvisa - DEBUG - TCPIPSession was not imported cannot import name 'TCPIPSession'.
2016-01-19 15:20:44,228 - pyvisa - DEBUG - GPIBSession was not imported No module named 'gpib'.
2016-01-19 15:20:44,232 - pyvisa - DEBUG - Created library wrapper for unset
2016-01-19 15:20:44,236 - pyvisa - DEBUG - Created ResourceManager with session 8150757
2016-01-19 15:20:44,297 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - opening ...
2016-01-19 15:20:44,595 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - is open with session 8013766
('USB0::1510::8448::1407824::0::INSTR',)
2016-01-19 15:20:44,663 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
'-3.80341216E-04'
2016-01-19 15:20:46,126 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
/home/debian/bbbmeas/bbbv1py3/lib/python3.4/site-packages/pyvisa/resources/messagebased.py:407: UserWarning: read string doesn't end with termination characters
  return self.read()
+0,"NO ERROR"

2016-01-19 15:20:52,257 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
''
2016-01-19 15:20:53,318 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
-410,"Query INTERRUPTED"

2016-01-19 15:20:59,446 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
'-3.81103744E-04'
2016-01-19 15:21:00,555 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
+0,"NO ERROR"

2016-01-19 15:21:06,674 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
''
2016-01-19 15:21:07,735 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
-410,"Query INTERRUPTED"

2016-01-19 15:21:13,852 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
'-3.36399936E-04'
2016-01-19 15:21:14,952 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
+0,"NO ERROR"

2016-01-19 15:21:21,036 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
''
2016-01-19 15:21:22,097 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read:<PHONE_NUMBER>>)
-410,"Query INTERRUPTED"

^CTraceback (most recent call last):
  File "k2100_v_bbbv2.py", line 127, in <module>
    time.sleep(time_between_measurements_Int)
KeyboardInterrupt
2016-01-19 15:21:25,400 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - closing
2016-01-19 15:21:25,409 - pyvisa - DEBUG - USB0::1510::8448::1407824::0::INSTR - is closed
2016-01-19 15:21:25,513 - pyvisa - DEBUG - Closing ResourceManager (session: 8150757)
(bbbv1py3)root@beaglebone:/home/debian/bbbmeas#

hi , Is there a way I can mention the instr function to return the position number of the nth occurence of the pattern found in the string ?


Client customization late-join spawner priority for arrivals/cryostorage

About the PR
Adds a new field to the character customizer to configure the late-join spawn system priority between arrivals or cryostorage.
Why / Balance
Requested in #24470.
Technical details
ArrivalsSystem and ContainerSpawnPointSystem no longer subscribe. Their priority is determined by StationSpawningSystem, so their callbacks were exposed and appropriately renamed.
PlayerSpawningEvent data is passed to them directly to avoid ugly parameter juggling, then sent off to the rest of the listeners as normal.
Other/future listeners of PlayerSpawningEvent can still take place between here and SpawnPointSystem.
Breaking Changes
Uhhhh I have no idea how databases work.

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

I have not pushed the results of the migration script yet because I don't know if I'm supposed to.

I have not pushed the results of the migration script yet because I don't know if I'm supposed to.

So what I thought it'd be is using client cvars but what you ended up using was the DB profiles so I'm doublechecking which is preferred because if it's the DB profiles then yes the migrations would need pushing.

Okay per-profile is preferred so you'll need to push the migration.

Note that since the type changed, I had to DELETE the old migration changes (6 files) and run the migration tool again. My build threw an error on about duplicate fields in preferences.db so I also had to DELETE it as well.
I really really really don't know how databases work. Please be sure this was okay.


Proposal: Support Windows/macOS certificate stores for TLS

Proposal
Prometheus may be deployed on managed machines in enterprise environments where TLS certificates are stored primarily on that system's native certificate store.
Operators who wish to use these certificates for Prometheus (i.e., scraping from targets) are forced to export and sync these system certs to files on the filesystem. This synchronization adds a point of failure (what if the synchronization fails) and introduces a security risk, as the files SHOULD have the same permissions as what was assigned to it in the store.
I propose adding support for using certificate store certificates for scraping targets. The schema for an individual scrape_config may be extended as follows:
certstore_config:
  serial_number: xxxx # or some other unique identifier to refer to certificates.

github.com/github/smimesign/certstore could be used to enable this functionality. This capability would only work on platforms that have native certificate stores, which includes Windows and macOS but excludes Linux.

So far, the only agent I've been able to find that allows using the cert store is fluentd.

This seems very specific, we have discussed this in the bug scrub and decided to close this issue for now. We can revisit this discussion if we receive more users requests like this or if this becomes available in the golang stdlib.
Note that this would need to work like other certificates and be reloaded "on the fly" when changed at the operating system level.

I am reopening: apparenly go 1.18 adds support for SystemCertPool for windows. We could use this. https://pkg.go.dev/crypto/x509@master#SystemCertPool

We have discussed this again in the bug scrub!
And decided to close this issue again. There do not seem to have been any further requests.
The same issue is open at https://github.com/prometheus/exporter-toolkit/issues/43, where we would most likely implement it.


Restrict the html students can use when asking questions

Checklist

[x] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Client: I followed the coding and design guidelines.
[x] Client: I documented the TypeScript code using JSDoc style.

Motivation and Context
Closes #2585.
Description
Restricts the html tags students can use to what is listed at https://www.w3schools.com/html/html_formatting.asp. No attributes are allowed. This only changes the Student Questions and Answers, Problem Statements etc. are not affected.
Steps for Testing

Write a question or answer with malicious html
The html should be sanitized before display

Examples:

Test
 should not work. (Displayed as normal text.)
Test should not work. (Displayed as bold text with the default background color.)
Test should work. (Displayed as italic text.)
Test should not work. (Displayed as normal text without a link.)

You can use the Preview of your question, which is not sanitized (since it is only your input), to see how things would look if they weren't properly sanitized.
Not sanitized preview:

Display to you and other students after saving:

What I am missing is that links should still work

I can set it to allow the a tag and the href attribute. I thought that putting in a plain text link was enough.

@airelawaleria, @simonzilker I forgot to apply the same configuration there. :facepalm: Thanks for catching that! (Is fixed now.)
@MaisiKoleni I allowed the usage of a and href now.


Code editor contribution not working in pull-request view

Hey there,
when I alter and modify the sample for the code editor contribution to have my own language supported (Delphi in my case), I see the highlighting working in the Repo hub, when I am browsing files.
(compare https://github.com/microsoft/azure-devops-extension-sample/tree/master/src/Samples/CodeEditorContribution)
However, when I have PRs ongoing, in these views there, I do not see the syntax highlighting.
Is there a separate endpoint to register the language at/on?
Is there a different contribution to use for that?
Weirdly enough, when I use comments in PRs and use the code tags with my specified alias of "delphi", formatting works for the comments.
Is there somewhere a complete list of contributions and endpoints, one can hook and extend?
Kind regards,
Harald
Edit:
Can I somehow target the monaco-diff-editor?

I've noticed it hasn't worked at all for a few months now.
Does it still work for you?


lazily load the instances

make sure when we get into the storedfactory we don't load all instances in mem, just their names and create a proxy object to load the instance on dir/getattr

Verifying


[Bug]: Only a few modules are produced on building, when dev.lazyCompilation is enabled

System Info
  System:
    OS: macOS 14.6.1
    CPU: (11) arm64 Apple M3 Pro
    Memory: 4.03 GB / 36.00 GB
    Shell: 3.7.1 - /opt/homebrew/Cellar/fish/3.7.1/bin/fish
  Binaries:
    Node: 20.17.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.8.2 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 128.0.6613.120
    Safari: 17.6

Details
If I enable dev.lazyCompilation in my rsbuild.config.ts, running rsbuild build produces only a few modules:
❯ NODE_ENV=production npx rsbuild build
  Rsbuild v1.0.2

ready   Compiled in 0.15 s (web)
info    Production file sizes for web:

  File                            Size       Gzipped
  build/index.html                3.5 kB     0.83 kB
  build/static/js/lib-react.js    23.0 kB    6.9 kB
  build/static/js/index.js        37.1 kB    9.2 kB

  Total size:  63.6 kB
  Gzipped size:  16.9 kB

If I disable the option, it produces the full build.
Is there a way to produce the full build on building but use lazy compilation for dev server?
Reproduce link
No response
Reproduce Steps

npm add -D @rsbuild/core @rsbuild/plugin-react on a random React project
Write rsbuild.config.ts as follows:

import {defineConfig} from '@rsbuild/core';
import {pluginReact} from '@rsbuild/plugin-react';

export default defineConfig({
  plugins: [
    pluginReact(),
  ],
  dev: {
    lazyCompilation: true,
  },
  output: {
    distPath: {
      root: 'build',
    },
  },
  source: {
    entry: {
      index: './src/index.tsx',
    },
  },
  html: {
    template: './index.html',
  },
});

npx rsbuild build
You will get a partial build output in the dist folder

You can do it like this:
// check whether it is in dev mode
const isDev = process.env.NODE_ENV === "development";

export default defineConfig({
  // ...
  dev: {
    lazyCompilation: isDev,
  },
  // ...
});


🎁 1.2 Feature List (Shipping end of April)

This is the tentative list of 1.2 features.  These items are not guaranteed to ship, but we will do our best to keep this date and status as up to date as possible. 1.2 is planning to ship in April 2019.

Element-level fallback support
Full bleed background images/containers
Action.ToggleVisibility
More Container styles to match Textblock styles
Better inline text formatting
TextBlock inline Actions
Base64 encode image into URI (Data URIs)
Input.Text with associated action (Quick-Reply)
TextBlock font styles
Action sentiment (primary / destructive)
Place actions anywhere in the card (ActionSet)
Stretch and Repeat for Background Images
MinHeight Property on Containers

Breaking Changes
Coming soon
New APIs
Coming soon
Bug fixes
Coming soon

Do you have an update on this 1.2 release?

@jefflhp it's still underway and coming along nicely! Still targetting end of the month release (+/- a few days). Are you looking for any particular information?

https://github.com/microsoft/AdaptiveCards/releases/tag/v1.2.0


error parsing a search filter with '='

About the quoting of the filter string.
I was able to get it to work via ldapsearch on CLI
now in ldapjs lcient I'm having trouble. This:
filter: "(uniquemember=uuid=930896af-bf8c-48d4-885c-6573a94b1853, ou=users, o=smartdc)",

results in this in the ldap server log:
...  filter=(users, o=smartdc) ...

Fixed in master; pick up in next version bump of ldapjs


Mouseless web page

Upon entering the main page I somehow expected the keyboard shortcuts to guide me around. =)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22009726-mouseless-web-page?utm_campaign=plugin&utm_content=tracker%2F297828&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F297828&utm_medium=issues&utm_source=github).

@techtonik Can you please elaborate a bit? What page, what shortcuts? http://ondras.github.io/rot.js/hp/ has only regular HTML links, they are tab-focusable and enter-activable...

@ondras yes, the page a http://ondras.github.io/rot.js/hp/ but process '?' key to show current keyboard navigation and also highlight some letters in link menu to be one keypress away from following. Like here:

I see. Well, there is nothing interactive on the page (except for those plain links) and HTML link elements (<a>) cannot have an accesskey/accelerator, as shown in your screenshot: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Attribute/accesskey. So I am really not sure what are we trying to achieve, with respect to the HTML platform. Perhaps the "?" key would open a simple alertbox that would explain that you might use "tab" for navigation?

@ondras I expected a demo of rot.js capabilities right away from the first page. I thought it was capable of processing keyboard shortcuts.

Or you can use Vimperator or similar tool if you like mouseless navigation so much.

Just wanted to play with rot.js features. Keyboard control is the primary stuff in roguelikes, so if this problem is not yet solved in browsers, it makes little sense to look further.

Well, the main page is not really a showcase of rot.js features. It does not even include rot.js itself! :-)
I agree that keyboard control is the primary stuff in roguelikes. But the mainpage is basically a responsive screenshot, not an interactive app. The only form of interactivity are those links - and those are proper, responsive, and accessible HTML link elements.

I see. =)


update go version

Addressed https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release-tests/194/pull-ci-openshift-release-tests-master-images/1801420599180922880
Cloning into 'k8sgpt'...
go: go.mod requires go >= 1.22.0 (running go 1.21.9; GOTOOLCHAIN=local)
error: build error: building at STEP "RUN git clone --branch main https://github.com/k8sgpt-ai/k8sgpt.git &&     cd k8sgpt &&     go mod vendor &&     make build": while running runtime: exit status 1

/test images

Replaced Dockerfile FROM image golang:1.22

https://github.com/openshift/release/blob/7c86fe004181ecca3eed753f9070418ec6db7322/ci-operator/config/openshift/release-tests/openshift-release-tests-master.yaml#L10

Close it since the based image will be repalce by
INFO[2024-06-14T02:14:10Z] Running [input:root], [input:tools], [release:latest], src, job-python3, [output:stable:job-python3], oar-python3, k8sgpt, oar, jobctl-python3, [output:stable:oar-python3], [output:stable:oar], [output:stable:jobctl-python3], [output:stable:k8sgpt], [images]
INFO[2024-06-14T02:14:11Z] Tagging openshift/release:rhel-9-release-golang-1.21-openshift-4.16 into pipeline:root.
INFO[2024-06-14T02:14:11Z] Tagging ocp/4.14:tools into pipeline:tools.
INFO[2024-06-14T02:14:11Z] Importing release image latest.
INFO[2024-06-14T02:14:[11](https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release-tests/195/pull-ci-openshift-release-tests-master-images/1801437916023492608#1:build-log.txt%3A11)Z] Requesting a release from https://amd64.ocp.releases.ci.openshift.org/api/v1/releasestream/4.16.0-0.nightly/latest


Add Kafka 1.1.0

Adds Kafka 1.1.0 - simple version bump

Thanks for the contribution! @marcintustin

@1ambda Are you interested in the stuff I’m doing to add the confluent extensions? I assume not. I will open a new pr that just provides the version bump. Let me know if you’re interested in the other stuff.

Sure definitely. Would be happy to have confluent version too by adding different docker tag.

@1ambda I'm not actually sure how to add a separate docker tag, with the build setup you have now. I'll look for your guidance on that.

Thanks for the update! I will take a look and merge this awesome PR soon!


Change term - associatedOrganisms

Change term

Submitter: John Wieczorek
Justification (why is this change necessary?): Consistency and clarity
Proponents (who needs this change): Everyone

Proposed new attributes of the term:

Term name (in lowerCamelCase): associatedOrganisms
Organized in Class (e.g. Location, Taxon): Organism
Definition of the term: A list (concatenated and separated) of identifiers of other Organisms and the associations of this Organism to each of them.
Usage comments (recommendations regarding content, etc.): This term can be used to provide a list of associations to other Organisms. Note that the ResourceRelationship class is an alternative means of representing associations, and with more detail. Recommended best practice is to separate the values in a list with space vertical bar space ( | ).
Examples: "sibling of":"http://arctos.database.museum/guid/DMNS:Mamm:14171", "parent of":"http://arctos.database.museum/guid/MSB:Mamm:196208" | "parent of":"http://arctos.database.museum/guid/MSB:Mamm:196523" | "sibling of":"http://arctos.database.museum/guid/MSB:Mamm:142638"
Refines (identifier of the broader term this term refines, if applicable): None
Replaces (identifier of the existing term that would be deprecated and replaced by this term, if applicable): http://rs.tdwg.org/dwc/terms/version/associatedOrganisms-2017-10-06
ABCD 2.06 (XPATH of the equivalent term in ABCD or EFG, if applicable): not in ABCD

Discussions around changes to relationshipOfResource (#194), around a new term relationshipOfResourceID (#186, #283), and changes to associatedOccurrences (Issue #324) suggest that a clarification should also be made in the associatedOrganisms definition and usage notes, for clarity. Specifically, the directionality of the relationship should be made clear.

dwc:associatedOrganisms does not have dwciri: analog, so no revision necessary in that namespace.

We endorse this proposal on behalf of @SiBColombia

Done.


Necessary file "quality-gates.yaml" is missing.

The quality-gates.yaml file, needed for the pipeline and for testing the workshop is missing.

merged PR #13


media: add GetMediaInfo method

This method will unmarshal the media info JSON into the MediaInfo struct
and return it to the calling code.
I believe we can start exploring an integration test suite to ensure
that all types are compatible with everything.
Closes #7.

LGTM


Local Fallback

Short Description
Network access is not always available, having the ability to run module federation with local files improves both the end customer experience but also the developer experience.
Longer Description
Whether for an “Offline Mode” for an application using technologies similar to Electron or ReactNative, having the ability to work with both locally cached federated remotes and federated remotes over the wire in an easy and transparent fashion is very beneficial for the end user.
Additionally, when developers are working on the codebase it is helpful for them to be able to point federated remotes to their local environment, either to reduce reliance on network connectivity or to inject local files into a more comprehensive remote application.
The functionality for fetching remotes and comparing them to locally cached versions will allow for a more stable and up-to-date local fallback.
Business Value
The desire for higher customer-perceived resiliency for applications and websites is one of the core drivers for adding offline mode. Another driver is greater developer productivity. With network connectivity and potential shared service availability issues having development teams that can work in an offline environment increases overall productivity.
Acceptance Criteria

Offline Mode
If the remote is not available in real-time, the application should use the local copy of the remote that it currently has
TBD: writable: true, to have a local cache of remote containers inMemory or for Disk (to speed up local dev)
TBD: fallback like react suspense fallback option.

Moved to [discussion] (https://github.com/module-federation/nextjs-mf/discussions/443) instead of issue #443


Update FARM ver 2023 Sep

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
In original release of FARM Delta, the linear constraints in MOAS cannot be efficiently removed, which leads to sub-optimal solutions in multi-unit power dispatch
What are the significant changes in functionality due to this change request?
Updated FARM Delta, with a new function that could remove redundant linear constraints more efficiently.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

Hm, we got some diffs, can this be fixed?
Output of'/home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/HERONvalidatorFARMbeta':
Starting HERON ...
 ... RAVEN located at "/home/civet/civet/build_0/raven"
 ... Activating CONDA environment ...
/home/civet/.conda/envs/raven_libraries/bin/mamba
CONDA
raven_libraries       *  /home/civet/.conda/envs/raven_libraries
raven_libraries_alt      /home/civet/.conda/envs/raven_libraries_alt
Running HERON ...
Loading plugin "TEAL" at /home/civet/civet/build_0/raven/plugins/TEAL
 ... successfully imported "TEAL" ...
Loading plugin "HERON" at /home/civet/civet/build_0/raven/plugins/HERON
 ... successfully imported "HERON" ...
Loading plugin "SR2ML" at /home/civet/civet/build_0/raven/plugins/SR2ML
 ... successfully imported "SR2ML" ...
Loading plugin "LOGOS" at /home/civet/civet/build_0/raven/plugins/LOGOS
 ... successfully imported "LOGOS" ...
Loading plugin "SRAW" at /home/civet/civet/build_0/raven/plugins/SRAW
 ... successfully imported "SRAW" ...
Loading plugin "FARM" at /home/civet/civet/build_0/raven/plugins/FARM
 ... successfully imported "FARM" ...
Loading plugin "ExamplePlugin" at /home/civet/civet/build_0/raven/plugins/ExamplePlugin
 ... successfully imported "ExamplePlugin" ...
DISPATCHES has not been found in current conda environment. This is only needed when running the DISPATCHES workflow through HERD.
(            ) UTILS                    : Message         -> importing module /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/transfers
(    1.46 sec) <HERON ARMA>      : Message -> Checking ROM at "/home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/ARMA/ARMA_Sine_12h/arma_Sine_12h.pk"
(    1.48 sec) <HERON ARMA>      : Message -> For DataGenerator <ARMA> "flex", detected:  interpolated,  clustered.
(    1.48 sec) <Template Driver> : Message -> ========================
(    1.48 sec) <Template Driver> : Message -> HERON: writing files ...
(    1.48 sec) <Template Driver> : Message -> ========================
(    1.48 sec) <Template Driver> : Message -> Wrote "outer.xml" to "/home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/"
(    1.48 sec) <Template Driver> : Message -> Wrote "inner.xml" to "/home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/"
(    1.49 sec) <Template Driver> : Message -> Wrote "heron.lib" to "/home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/"
(    1.49 sec) <Template Driver> : Message -> Wrote "write_inner.py" to "/home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/"
 ... HERON completed successfully.

Copyright 2017 Battelle Energy Alliance, LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

      .---.        .------######       #####     ###   ###  ########  ###    ###
     /     \  __  /    --###  ###    ###  ###   ###   ###  ###       #####  ###
    / /     \(  )/    --###  ###    ###   ###  ###   ###  ######    ### ######
   //////   ' \/ `   --#######     #########  ###   ###  ###       ###  #####
  //// / // :    :   -###   ###   ###   ###    ######   ####      ###   ####
 // /   /  /`    '---###    ###  ###   ###      ###    ########  ###    ###
//          //..\\
===========UU====UU=============================================================
           '//||\\`
             ''``

RAVEN Python dependencies located and checked.
Loading plugin "TEAL" at /home/civet/civet/build_0/raven/plugins/TEAL
 ... successfully imported "TEAL" ...
Loading plugin "HERON" at /home/civet/civet/build_0/raven/plugins/HERON
 ... successfully imported "HERON" ...
Loading plugin "SR2ML" at /home/civet/civet/build_0/raven/plugins/SR2ML
 ... successfully imported "SR2ML" ...
Loading plugin "LOGOS" at /home/civet/civet/build_0/raven/plugins/LOGOS
 ... successfully imported "LOGOS" ...
Loading plugin "SRAW" at /home/civet/civet/build_0/raven/plugins/SRAW
 ... successfully imported "SRAW" ...
Loading plugin "FARM" at /home/civet/civet/build_0/raven/plugins/FARM
 ... successfully imported "FARM" ...
Loading plugin "ExamplePlugin" at /home/civet/civet/build_0/raven/plugins/ExamplePlugin
 ... successfully imported "ExamplePlugin" ...
/home/civet/civet/build_0/raven/ravenframework/CodeInterfaceClasses/Prescient/PrescientCodeInterface.py:25: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
/home/civet/.conda/envs/raven_libraries/lib/python3.10/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
  declare_namespace(pkg)
/home/civet/.conda/envs/raven_libraries/lib/python3.10/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
  declare_namespace(pkg)
/home/civet/.conda/envs/raven_libraries/lib/python3.10/site-packages/pkg_resources/__init__.py:2350: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
  declare_namespace(parent)
/home/civet/.conda/envs/raven_libraries/lib/python3.10/site-packages/pkg_resources/__init__.py:2871: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
  declare_namespace(pkg)
/home/civet/.conda/envs/raven_libraries/lib/python3.10/site-packages/pyDOE2/doe_factorial.py:16: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
  import imp
(    0.00 sec) SIMULATION               : Message         -> Global verbosity level is "all"
( XML  UTILS ) Replaced text in <Input> with variable group "GRO_capacities"
( XML  UTILS ) Replaced text in <Output> with variable group "GRO_outer_results"
InputData: Using param spec "DataSet" to read XML node "PointSet.
(            ) UTILS                    : Message         -> importing module /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/write_inner.py
INPUT SPEC ERROR adding checked and unchecked to grid  in  variable len 1
( XML  UTILS ) Replaced text in <vars> with variable group "GRO_capacities"
(    0.00 sec) SIMULATION               : Message         -> Simulation started at 2023-09-15 12:20:39
(    0.00 sec) SIMULATION               : Message         -> -- Beginning MultiRun step "sweep" ... --
(    0.00 sec) STEP MULTIRUN            : Message         -> ***  Beginning initialization ***
(    0.01 sec) SAMPLER GRID             : Message         -> No restart for SAMPLER GRID
(    0.01 sec) GRID ENTITY              : Message         -> Starting initialization of grid
(    0.01 sec) GRID ENTITY              : Message         -> Grid initialized...
(    0.01 sec) CODE MODEL               : Message         -> job "1" submitted!
(    0.01 sec) STEP MULTIRUN            : Message         -> Submitted input 1
(    0.01 sec) STEP MULTIRUN            : Message         -> ***    Initialization done    ***
(    0.01 sec) STEP MULTIRUN            : Message         -> ***       Beginning run       ***
(            ) UTILS                    : Message         -> importing module /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/write_inner.py
current working dir /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/Sweep_Runs_o/sweep/1/Sweep_Runs_i
already exists, this might imply deletion of present files
(    0.03 sec) CODE MODEL               : Message         -> Execution command submitted: python /home/civet/civet/build_0/raven/raven_framework.py inner.xml
(    6.99 sec) STEP MULTIRUN            : Message         -> Just collected job 1 and sent to output "grid"
(    7.03 sec) STEP MULTIRUN            : Message         -> Just collected job 1 and sent to output "sweep"
(    7.03 sec) CODE MODEL               : Message         -> job "2" submitted!
(            ) UTILS                    : Message         -> importing module /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/write_inner.py
current working dir /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/Sweep_Runs_o/sweep/2/Sweep_Runs_i
already exists, this might imply deletion of present files
(    7.05 sec) CODE MODEL               : Message         -> Execution command submitted: python /home/civet/civet/build_0/raven/raven_framework.py inner.xml
(   13.74 sec) STEP MULTIRUN            : Message         -> Just collected job 2 and sent to output "grid"
(   13.78 sec) STEP MULTIRUN            : Message         -> Just collected job 2 and sent to output "sweep"
(   13.78 sec) STEP MULTIRUN            : Message         -> ***       Run finished        ***
(   13.78 sec) STEP MULTIRUN            : Message         -> ***     Closing the step      ***
(   13.78 sec) STEP MULTIRUN            : Message         -> ***        Step closed        ***
(   13.78 sec) SIMULATION               : Message         -> -- End step sweep of type: MultiRun --

(   13.78 sec) SIMULATION               : Message         -> Run complete!

DIFF in /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/Sweep_Runs_o/sweep.csv:
  Columns are not the same! Different: med_TotalActivity__electr_market__production__electricity, var_TotalActivity__SES__production__electricity, perc_5_TotalActivity__BOP__production__electricity, perc_95_TotalActivity__SES__production__electricity, samp_TotalActivity__electr_market__production__electricity, perc_95_TotalActivity__electr_market__production__electricity, std_TotalActivity__electr_market__production__electricity, var_TotalActivity__electr_market__production__electricity, min_TotalActivity__BOP__production__electricity, var_TotalActivity__BOP__production__electricity, mean_TotalActivity__BOP__production__electricity, mean_TotalActivity__SES__production__electricity, perc_95_TotalActivity__BOP__production__electricity, samp_TotalActivity__BOP__production__electricity, min_TotalActivity__SES__production__electricity, med_TotalActivity__BOP__production__electricity, perc_5_TotalActivity__electr_market__production__electricity, std_TotalActivity__BOP__production__electricity, std_TotalActivity__SES__production__electricity, samp_TotalActivity__SES__production__electricity, max_TotalActivity__electr_market__production__electricity, med_TotalActivity__SES__production__electricity, perc_5_TotalActivity__SES__production__electricity, min_TotalActivity__electr_market__production__electricity, max_TotalActivity__SES__production__electricity, mean_TotalActivity__electr_market__production__electricity, max_TotalActivity__BOP__production__electricity
(12F4/12) Diff   ( 19.37sec)/home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/HERONvalidatorFARMbeta
FAILED:
Diff /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_None/HERONvalidatorFARMnone
Diff /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Alpha/HERONvalidatorFARMalpha
Diff /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Gamma_LTI/HERONvalidatorFARMgammaLTI
Diff /home/civet/civet/build_0/raven/plugins/FARM/tests/heron_validator/FARM_Beta/HERONvalidatorFARMbeta

PASSED: 2
SKIPPED: 6
FAILED: 4
... there were failed tests for plugin FARM!

Hm, we got some diffs, can this be fixed?

Joshua, I updated the gold files under HERON 731720c3. Let's see if it passes all the tests now. Thanks, Haoyu

Job Test Ubuntu 18-2 Python 3 on e143cff : invalidated by @joshua-cogliati-inl
Diff tests/framework/PostProcessors/LimitSurface/testLimitSurfacePostProcessor


Bug Report: Netlify-Cli Update Version Error Notification During Deployment

- Do you want to request a feature or report a bug?
This is a minor bug, but I do believe it got quite annoying when I was deploying a few time more and the bug still persist.
- What is the current behavior?
"Update Netlify-Cli Notification" does not align with current version installed. Latest being installed yet notification does not recognise installed version and still poses update notification.

- If the current behavior is a bug, please provide the steps to reproduce.
After doing a compile using "yarn build" for my React code, and subsequently a "netlify deploy" and "netlify deploy --prod" to complete the deployment process, a "Update Available" notification kept showing up though the the current version is already up to date.
This bug seemed to be persistent for quite a while already, so I would just like to double-check is it a bug that is on the system.
- What is the expected behavior?
The tool does recognise the updated version and only notify when there is an update that is really different from the one existing in the system
- Please mention your node.js, and operating system version.
node.js==6.9.2
macosx==10.14.5
"netlify-cli": "^2.11.23"

Closing as stale. Please comment with a reproduction repo and the output of npx envinfo --system --binaries --npmPackages netlify-cli --npmGlobalPackages netlify-cli if still relevant.


Issue with .Net 6 SDK - Failed - Network error for Downloading files

After upgrading to .Net 6 SDK, we are having issues with downloading files.
Failed - Network Error  show.
This issue is through out different environment of our application. Issue is reproduceable in different browsers as well.  I have tried chrome, Firefox, and MS edge.
I already verified, It's not relate to browser or internet issues

@vbukhari-twn we need more info like what exception you are seeing in the backend, the front end error you provided could be just issue within your application. Further it would be great if you could provide sample repro application that we could investigate

@vbukhari-twn Where do you try it? Work or home? Maybe it's related to your corporate proxy.


Buff paper -> boards

Needs to be done eventually. Consider if it could be done in a way that could be merged back into Angel's.

Paper 3 creates sodium carbonate apparently. Which has no real demand

The sodium carbonate is great in paper 3 because you put in a loop to get back to sodium hydroxide.
I just looked at this recently and I think the problems are (considering paper and pulp recipes separately):

Paper to board recipe
Sheer number of machines
Progression isn't buffed sufficiently, so no reason to go past paper 1
paper-2, sodium hypochlorite output is non-voidable, unhelpful
paper-2, sodium hydroxide (and chlorine) input is really hard without access to sodium processing (blue science), also requires tones of saline water which means a compact build is locked behind salination plants (requires advanced (red) circuits up and running)
paper-3 is a well balanced recipe, but throughput is a problem . It just requires too many machines: 1.1 board/sec per advanced chem plant
pulp-2, requires too much sulphur for when it's unlocked. The sodium sulphate output can't be effectively used until sodium processing is unlocked, so it just drains sulphur. However it's reasonable once that's unlocked (it becomes positive sulphur and sodium hydroxide). This is OK, as you could stick with the pulp-1 recipe until that's done, but likely going to skip right over it for pulp-3 unless pulp-3 is much deeper into the tech tree

So here's some suggestions for fixes

Add electronic assembler for paper -> board recipe (early game that doubles the speed)
Reduce paper -> board recipe time (at least halve)
OR consider adding new "bulk" paper -> board recipes to paper 2, 3 so that it scales with tech level (e.g. extra inputs for "drying" or different machines but large input/output amounts)
Increase the amount of paper created in paper-2 and throughput, remove waste product, reduce NaOH input. Recipe becomes: 3 pulp, 1 NaOH, 30 Cl -> 9 paper
Increase amount of paper created in paper-3 and throughput by reducing recipe time. 2 pulp, 2 NaOH, 60 H2, 40 SO2, 100 H20 -> 10 paper, 2 Na2CO3, 100 SWW, change recipe time from 4s -> 1s
Allow prod modules??
Move paper 3 into pink or purple science

And the intent would be that paper is used for all boards, so need to remove wood->board recipes
For some other ideas:

Consider introducing paper to phenolic board, etc. directly instead of via board as a way of scaling the paper->board recipe better (e.g. unlocks that in paper-3, now can produce phenolic boards at double the rate with same level machines)
Have paper-2 produce CWW or a useful by product (but what?)

From discord: "A thought occurred to me. Sodium hypochlorite decomposes when heated to sodium chloride with the release of oxygen. Maybe it makes sense to add something like 5 NaOCl --> 5 NaCl + 50 O2 as an early way to recycle by-products of kraft paper for the red level of sciences, say chlorine recycling 2"

I want to add, that arboretums are obscenely efficient in producing wooden boards, even at T1. Maybe it should scale a bit harder, that T1 a lot less efficient, but T3 is untouched.

I have another proposal for this issue:
https://github.com/Arch666Angel/mods/issues/803
Please check in Angels, pullrequest in draft at the moment.
Happy for suggestions, if this approach is something you like.

Closing as this has been done in Angel's.


Docker Image Size arch error

Are you experiencing an issue with...
shields.io
🐞 Description
Shield.io cannot handle loongarch64.
Example: https://hub.docker.com/layers/qinka/dockerroot-base/unstable/images/sha256-cc1db4e19dcb60613ae7fa3e6e1c8600af609a0d606f48622e751220f609bce9?context=repo
🔗 Link to the badge

💡 Possible Solution
Add tag for loongarch

Hello @Qinka, thanks for the report, a fix is on its way!


Listen for command events in the extensions API: onCommand/onCommandDidExecute

I'm interested in creating an extension for macro recording, which has been a requested feature in VSCode since 2016. (https://github.com/Microsoft/vscode/issues/4490)
If the extension API exposed some way to listen for commands to be executed, I think I'd be able to do it.  Something along the lines of onCommandDidExecute('*', (command) => {}) to subscribe to all commands being executed would be great.
The onCommand event listener feature was requested back in 2017, but it seems that it was not a priority at the time. https://github.com/Microsoft/vscode/issues/1431
Any chance this could be revisited?

It looks like there's actually an onWillExecuteCommand event emitter in the commands service already.  Would it be possible to expose this?
https://github.com/Microsoft/vscode/blob/5fb0f1ead7c411dd678bcd96df70f452ba73c31b/src/vs/platform/commands/common/commands.ts#L21

I have unlocked #1431 and I am closing this a duplicate


"No URL defined for remote: ."

This just appeared today.... never seen this error before, and I haven't changed any configurations

Oh sorry, this isn't from your extension


feat: add test for resource management

Summary

Test plan

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.495%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4716

Relevant Lines:
4820

💛  - Coveralls


godep save is replacing the content of Godep.json file.

Hi ,
I'm using go 1.6 and godep for dependency management.
Initially added  github.com  and gopkg.in files   to vendor folder that generates on running the godep save command.
When i tried to add the package "github.com\golang\protobuf" to existing vendor folder, Import statements of godep.json file are replaced with the with the subfolders of the protobuf folder import paths.
Please let me know how to add the new package/folder to the existing godep.json file  in Go 1.6.

 It sounds like you are running godep save github.com\golang\protobuf, which is telling godep to analyze github.com\golang\protobuf for dependencies and vendor that.
Does that help explain usage? I should probably take another pass at the README, especially give go1.6.

I'm running below command
godep save gopkg.in/natefinch/lumberjack.v2
It's replacing content of godep.json file.
Could you please help me to resolve this issue.

That is not the way godep is used. Godep looks at your source code and figures out what packages your code is using and vendors those packages. So something like this ...
$ cd $GOPATH/github.com/<you>/<your project>
$ vim main.go
package main

import "gopkg.in/natefinch/lumberjack.v2"

func main() {
  // make a logger, use it, etc
}
$ godep save

Give the above the godep save looks at the code in the current directory and discovers that gopkg.in/natefinch/lumberjack.v2 is being used and copies $GOPATH/src/gopkg.in/natefinch/lumberjack.v2 to vendor/ (or Godeps/_workspace/src/gopkg.in/natefinch/lumberjack.v2 if you are using go1.5 w/o the vendor experiment).
Does that make sense?

It's making sense now .
Thanks for your support.
I will as you said in above comment  and let you know.

I tried got the below error.
Did i miss anyting?
godep: error while inspecting "\\src\vendor\github.com\Sirupsen\logrus" is not using godep:error loading dependencies

What version of godep are you using? godep version output ?

godep v53 (windows/amd64/go1.5.1)

go version go1.6 windows/amd64

Please upgrade to v57 and see if the issue is resolved or not.


Close the sockets so that the OS doesn't get confused

Credit to @blackdaemon: https://github.com/blackdaemon/ulogme/commit/85598fa5763d2c626af859cae6b03a8cee17a3d0 . I find these by looking at this graph: https://github.com/karpathy/ulogme/network
Doing this means the OS won't think the port is still occupied for a minute.
Let me know if submitting suggestions in issues is better for you than submitting pull requests.

That's smart, thanks. Done, 77f4ae7.
I am thankful for the PR as well as the issues! I usually prefer to modify the code myself (as it gives me more ideas), so I guess PR are the best, but don't feel bad if if close it (after merging your suggestions manually and a little bit differently).


Rc2.0 performance

Description
WIP
Checklist

[ ] Code commented & docstrings added
[ ] New tests were needed and have been added
[ ] A new version number was needed & changelog has been updated
[ ] A new PyPI version needs to be released

Benchmarking:
import numpy as np
import sciris as sc
import numba as nb

rng = np.random.default_rng(1)
n = int(1e3)
m = int(1e5)

@nb.njit
def nb_rand_raw(rng, size, high):
    ints1 = rng.integers(0, high, size=m, dtype=np.uint32)
    ints2 = rng.integers(0, high, size=m, dtype=np.uint32)
    ints = np.bitwise_xor(ints1*ints2, ints1-ints2)
    rvs = ints / high
    return rvs

@nb.njit
def nb_32(rng, size):
    f1 = rng.random(size=m, dtype=np.float32)
    f2 = rng.random(size=m, dtype=np.float32)
    ints1 = f1.view(np.uint32)
    ints2 = f2.view(np.uint32)
    ints = np.bitwise_xor(ints1*ints2, ints1-ints2)
    rvs = ints / np.iinfo(np.uint32).max
    return rvs

with sc.timer('rand_raw'):
    for i in range(n):
        rng._bit_generator.random_raw(size=m)
        ints1 = rng._bit_generator.random_raw(size=m)
        ints2 = rng._bit_generator.random_raw(size=m)
        ints = np.bitwise_xor(ints1*ints2, ints1-ints2)
        rvs = ints / np.iinfo(np.uint64).max

with sc.timer('32'):
    for i in range(n):
        f1 = rng.random(size=m, dtype=np.float32)
        f2 = rng.random(size=m, dtype=np.float32)
        ints1 = f1.view(np.uint32)
        ints2 = f2.view(np.uint32)
        ints = np.bitwise_xor(ints1*ints2, ints1-ints2)
        rvs = ints / np.iinfo(np.uint64).max

with sc.timer('nb_rand_raw'):
    high = np.iinfo(np.uint32).max
    for i in range(n):
        nb_rand_raw(rng, m, high)

with sc.timer('nb_32'):
    for i in range(n):
        nb_32(rng, m)


Updated validations.py python script.

Fixed a bug that did not return false when username does not start with a letter.

Google Contributor License Agreement


Why have the 10.01 offsets been removed?

Why have the 10.01 offsets been removed?

Nevermind it's being worked on.

@AstaFatherSatan Yes, v10.01 is now supported.

I closed the issue for a reason, I already used them.


OSISM 8.0.0 (20240905)

Ubuntu 24.04 support
Debian 12 support
OpenStack 2024.1
Ceph Reef

Pre-release/RC scheduled for the end of this week 23.08.2024.

1st RC available as 8.0.0-rc.1 (we changed the format from 8.0.0a -> 8.0.0-rc.1 according to https://semver.org)

During the image pull we ran into issue where cinder-volume with tag <IP_ADDRESS>40825 is not available in below link.
https://quay.io/repository/osism/cinder-volume?tab=tags
failed: [control2-dev2-az0.pco.ps-intern.de] (item=cinder-volume) => {"ansible_loop_var": "item", "attempts": 3, "changed": true, "item": {"key": "cinder-volume", "value": {"container_name": "cinder_volume", "dimensions": {}, "enabled": true, "group": "cinder-volume", "healthcheck": {"interval": "30", "retries": "3", "start_period": "5", "test": ["CMD-SHELL", "healthcheck_port cinder-volume 5672"], "timeout": "30"}, "image": "quay.io/osism/cinder-volume:<IP_ADDRESS>40825", "ipc_mode": "host", "privileged": true, "tmpfs": [""], "volumes": ["/etc/kolla/cinder-volume/:/var/lib/kolla/config_files/:ro", "/etc/localtime:/etc/localtime:ro", "/etc/timezone:/etc/timezone:ro", "/dev/:/dev/", "/lib/modules:/lib/modules:ro", "/run:/run:shared", "cinder:/var/lib/cinder", "", "", "kolla_logs:/var/log/kolla/", ""]}}, "msg": "'Traceback (most recent call last):\\n  File \"/usr/lib/python3/dist-packages/docker/api/client.py\", line 268, in _raise_for_status\\n    response.raise_for_status()\\n  File \"/usr/lib/python3/dist-packages/requests/models.py\", line 943, in raise_for_status\\n    raise HTTPError(http_error_msg, response=self)\\nrequests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.43/images/create?tag=<IP_ADDRESS>40825&fromImage=quay.io%2Fosism%2Fcinder-volume\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n  File \"/tmp/ansible_kolla_container_payload_g24ntoyk/ansible_kolla_container_payload.zip/ansible/modules/kolla_container.py\", line 425, in main\\n  File \"/tmp/ansible_kolla_container_payload_g24ntoyk/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_docker_worker.py\", line 209, in pull_image\\n    json.loads(line.strip().decode(\\'utf-8\\')) for line in self.dc.pull(\\n  File \"/usr/lib/python3/dist-packages/docker/api/image.py\", line 428, in pull\\n    self._raise_for_status(response)\\n  File \"/usr/lib/python3/dist-packages/docker/api/client.py\", line 270, in _raise_for_status\\n    raise create_api_error_from_http_exception(e)\\n  File \"/usr/lib/python3/dist-packages/docker/errors.py\", line 31, in create_api_error_from_http_exception\\n    raise cls(e, response=response, explanation=explanation)\\ndocker.errors.NotFound: 404 Client Error for http+docker://localhost/v1.43/images/create?tag=<IP_ADDRESS>40825&fromImage=quay.io%2Fosism%2Fcinder-volume: Not Found (\"manifest for quay.io/osism/cinder-volume:<IP_ADDRESS>40825 not found: manifest unknown: manifest unknown\")\\n'"}

The cinder-volume tag looks wrong. It should be <IP_ADDRESS>40825 and not <IP_ADDRESS>40825. I will check this.
- image: osism.harbor.regio.digital/kolla/release/cinder-backup:<IP_ADDRESS>40825
- image: osism.harbor.regio.digital/kolla/release/cinder-volume:<IP_ADDRESS>40825
- image: osism.harbor.regio.digital/kolla/release/cinder-api:<IP_ADDRESS>40825
- image: osism.harbor.regio.digital/kolla/release/cinder-scheduler:<IP_ADDRESS>40825

@sbilalps Yesterday I pushed the 8.0.0-rc.2 tag which fixes the problem with the cinder-volume image. I have just been able to deploy everything with it. Should be fine now.

Thank you for the prompt response. We proceeded with 8.0.0-rc.2, update went smooth but at the moment we face below issue while upgrading Prometheus.
TASK [prometheus : Copying over prometheus web config file] ******************** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.errors.AnsibleUndefinedVariable: {{ prometheus_basic_auth_users_default + prometheus_basic_auth_users_extra }}: [{'username': 'admin', 'password': '{{ prometheus_password }}', 'enabled': True}, {'username': '{{ prometheus_grafana_user }}', 'password': '{{ prometheus_grafana_password }}', 'enabled': '{{ enable_grafana }}'}, {'username': '{{ prometheus_skyline_user }}', 'password': '{{ prometheus_skyline_password }}', 'enabled': '{{ enable_skyline }}'}]: 'prometheus_skyline_password' is undefined failed: [monitoring] (item=/ansible/roles/prometheus/templates/prometheus-web.yml.j2) => {"ansible_loop_var": "item", "changed": false, "item": "/ansible/roles/prometheus/templates/prometheus-web.yml.j2", "msg": "AnsibleUndefinedVariable: {{ prometheus_basic_auth_users_default + prometheus_basic_auth_users_extra }}: [{'username': 'admin', 'password': '{{ prometheus_password }}', 'enabled': True}, {'username': '{{ prometheus_grafana_user }}', 'password': '{{ prometheus_grafana_password }}', 'enabled': '{{ enable_grafana }}'}, {'username': '{{ prometheus_skyline_user }}', 'password': '{{ prometheus_skyline_password }}', 'enabled': '{{ enable_skyline }}'}]: 'prometheus_skyline_password' is undefined"}

This is already mentioned in the upgrades nodes (https://github.com/osism/osism.github.io/pull/671/files#diff-e126a7b82f18fef72fe27bafd389b55040ac7b7e4a879c67efe3c8bb5a1d5cdbR22-R36). You have to add the new secret (prometheus_skyline_password) in environments/kolla/secrets.yml.

@berendt where can I find Removals / Deprecations etc. for the SCS release notes?

There are no removals & deprecations with the OSISM 8.0.0 release. Everything that should be removed was already removed in 7.x releases. We have not made any deprecations for OSISM 8, all that can potentially be removed are technical previews only.
The only thing that could be deprecated but is not yet possible because Rookify has not been finalised would be ceph-ansible.

While deploying osism 8.0.0-rc3 I encountered below error. Meanwhile when I checked the image tag seems to be not available at below address
https://quay.io/repository/osism/osism-ansible?tab=tags&tag=8.0.0-rc.3
`fatal: [manager]: FAILED! => {"changed": true, "cmd": ["/usr/bin/docker", "compose", "--progress", "plain", "--project-directory", "/opt/manager", "pull"], "delta": "0:00:01.844875", "end": "2024-09-09 13:29:20.379219", "msg": "non-zero return code", "rc": 18, "start": "2024-09-09 13:29:18.534344", "stderr": " beat Skipped - Image is already being pulled by watchdog \n api Skipped - Image is already being pulled by watchdog \n openstack Skipped - Image is already being pulled by watchdog \n kolla-ansible Pulling \n watchdog Pulling \n ara-server Pulling \n inventory_reconciler Pulling \n redis Pulling \n mariadb Pulling \n osismclient Skipped - Image is already being pulled by watchdog \n ceph-ansible Pulling \n osism-ansible Pulling \n 43c4264eed91 Pulling fs layer \n cc1711cdd203 Pulling fs layer \n b3db14da7d7e Pulling fs layer \n 23bd8946cf04 Pulling fs layer \n a6faf94f7383 Pulling fs layer \n c5a6f4d557ce Pulling fs layer \n 4f4fb700ef54 Pulling fs layer \n 1b67933c677e Pulling fs layer \n c5a6f4d557ce Waiting \n 4f4fb700ef54 Waiting \n 23bd8946cf04 Waiting \n a6faf94f7383 Waiting \n 1b67933c677e Waiting \n 31e907dcc94a Pulling fs layer \n 5f1ca115b417 Pulling fs layer \n 5f79816720d8 Pulling fs layer \n 1a674d3e0d95 Pulling fs layer \n 2f5436342963 Pulling fs layer \n 11d8a022d3df Pulling fs layer \n a0478840c499 Pulling fs layer \n ecc1ceb4f1da Pulling fs layer \n 2f5436342963 Waiting \n 11d8a022d3df Waiting \n a0478840c499 Waiting \n ecc1ceb4f1da Waiting \n 31e907dcc94a Waiting \n 5f79816720d8 Waiting \n 1a674d3e0d95 Waiting \n cc1711cdd203 Downloading [==================================================>]     961B/961B\n cc1711cdd203 Verifying Checksum \n cc1711cdd203 Download complete \n b3db14da7d7e Downloading [>                                                  ]  2.087kB/171.2kB\n b3db14da7d7e Downloading [==================================================>]  171.2kB/171.2kB\n b3db14da7d7e Download complete \n 43c4264eed91 Downloading [>                                                  ]   37.5kB/3.624MB\n 43c4264eed91 Verifying Checksum \n 43c4264eed91 Download complete \n 43c4264eed91 Extracting [>                                                  ]  65.54kB/3.624MB\n 43c4264eed91 Extracting [==================================================>]  3.624MB/3.624MB\n 43c4264eed91 Pull complete \n cc1711cdd203 Extracting [==================================================>]     961B/961B\n cc1711cdd203 Extracting [==================================================>]     961B/961B\n cc1711cdd203 Pull complete \n b3db14da7d7e Extracting [=========>                                         ]  32.77kB/171.2kB\n b3db14da7d7e Extracting [==================================================>]  171.2kB/171.2kB\n b3db14da7d7e Extracting [==================================================>]  171.2kB/171.2kB\n a6faf94f7383 Downloading [>                                                  ]    127kB/12.35MB\n 23bd8946cf04 Downloading [>                                                  ]   10.3kB/1.003MB\n 23bd8946cf04 Verifying Checksum \n 23bd8946cf04 Download complete \n b3db14da7d7e Pull complete \n 23bd8946cf04 Extracting [=>                                                 ]  32.77kB/1.003MB\n 23bd8946cf04 Extracting [==================================================>]  1.003MB/1.003MB\n 23bd8946cf04 Extracting [==================================================>]  1.003MB/1.003MB\n 23bd8946cf04 Pull complete \n c5a6f4d557ce Downloading [==================================================>]     100B/100B\n c5a6f4d557ce Verifying Checksum \n c5a6f4d557ce Download complete \n a6faf94f7383 Downloading [===========================================>       ]   10.8MB/12.35MB\n osism-ansible Error \n ceph-ansible Error \n kolla-ansible Error \n watchdog Error \n inventory_reconciler Error \n ara-server Error \nError response from daemon: manifest for quay.io/osism/osism-ansible:8.0.0-rc.3 not found: manifest unknown: manifest unknown", "stderr_lines": [" beat Skipped - Image is already being pulled by watchdog ", " api Skipped - Image is already being pulled by watchdog ", " openstack Skipped - Image is already being pulled by watchdog ", " kolla-ansible Pulling ", " watchdog Pulling ", " ara-server Pulling ", " inventory_reconciler Pulling ", " redis Pulling ", " mariadb Pulling ", " osismclient Skipped - Image is already being pulled by watchdog ", " ceph-ansible Pulling ", " osism-ansible Pulling ", " 43c4264eed91 Pulling fs layer ", " cc1711cdd203 Pulling fs layer ", " b3db14da7d7e Pulling fs layer ", " 23bd8946cf04 Pulling fs layer ", " a6faf94f7383 Pulling fs layer ", " c5a6f4d557ce Pulling fs layer ", " 4f4fb700ef54 Pulling fs layer ", " 1b67933c677e Pulling fs layer ", " c5a6f4d557ce Waiting ", " 4f4fb700ef54 Waiting ", " 23bd8946cf04 Waiting ", " a6faf94f7383 Waiting ", " 1b67933c677e Waiting ", " 31e907dcc94a Pulling fs layer ", " 5f1ca115b417 Pulling fs layer ", " 5f79816720d8 Pulling fs layer ", " 1a674d3e0d95 Pulling fs layer ", " 2f5436342963 Pulling fs layer ", " 11d8a022d3df Pulling fs layer ", " a0478840c499 Pulling fs layer ", " ecc1ceb4f1da Pulling fs layer ", " 2f5436342963 Waiting ", " 11d8a022d3df Waiting ", " a0478840c499 Waiting ", " ecc1ceb4f1da Waiting ", " 31e907dcc94a Waiting ", " 5f79816720d8 Waiting ", " 1a674d3e0d95 Waiting ", " cc1711cdd203 Downloading [==================================================>]     961B/961B", " cc1711cdd203 Verifying Checksum ", " cc1711cdd203 Download complete ", " b3db14da7d7e Downloading [>                                                  ]  2.087kB/171.2kB", " b3db14da7d7e Downloading [==================================================>]  171.2kB/171.2kB", " b3db14da7d7e Download complete ", " 43c4264eed91 Downloading [>                                                  ]   37.5kB/3.624MB", " 43c4264eed91 Verifying Checksum ", " 43c4264eed91 Download complete ", " 43c4264eed91 Extracting [>                                                  ]  65.54kB/3.624MB", " 43c4264eed91 Extracting [==================================================>]  3.624MB/3.624MB", " 43c4264eed91 Pull complete ", " cc1711cdd203 Extracting [==================================================>]     961B/961B", " cc1711cdd203 Extracting [==================================================>]     961B/961B", " cc1711cdd203 Pull complete ", " b3db14da7d7e Extracting [=========>                                         ]  32.77kB/171.2kB", " b3db14da7d7e Extracting [==================================================>]  171.2kB/171.2kB", " b3db14da7d7e Extracting [==================================================>]  171.2kB/171.2kB", " a6faf94f7383 Downloading [>                                                  ]    127kB/12.35MB", " 23bd8946cf04 Downloading [>                                                  ]   10.3kB/1.003MB", " 23bd8946cf04 Verifying Checksum ", " 23bd8946cf04 Download complete ", " b3db14da7d7e Pull complete ", " 23bd8946cf04 Extracting [=>                                                 ]  32.77kB/1.003MB", " 23bd8946cf04 Extracting [==================================================>]  1.003MB/1.003MB", " 23bd8946cf04 Extracting [==================================================>]  1.003MB/1.003MB", " 23bd8946cf04 Pull complete ", " c5a6f4d557ce Downloading [==================================================>]     100B/100B", " c5a6f4d557ce Verifying Checksum ", " c5a6f4d557ce Download complete ", " a6faf94f7383 Downloading [===========================================>       ]   10.8MB/12.35MB", " osism-ansible Error ", " ceph-ansible Error ", " kolla-ansible Error ", " watchdog Error ", " inventory_reconciler Error ", " ara-server Error ", "Error response from daemon: manifest for quay.io/osism/osism-ansible:8.0.0-rc.3 not found: manifest unknown: manifest unknown"], "stdout": "", "stdout_lines": []}
`

There is no 8.0.0-rc.3.


Datepicker - changing date format

I'm trying to find an example of changing the default date format of ng2-sematic-ui datepicker, but unfortunately without success. For example, suppose I want the output to look like this: "1/03/2018".
Thanks.

Apologies for my slow reply, this is all doable via the localization service. You want to provide a custom format for the datepicker, then either inject that into the global service, or attach it to the datepicker instance.


Fixes incorrect dialog node sizing when launching program

Fixes https://github.com/coppolaemilio/dialogic/issues/42

I don't understand what you are attempting to fix by removing this. This was added so the size is properly set from the start, if you don't do this in the ready event it will only happen when being resized, but if the window is never resized it will never adapt to the entire screen.

I don't understand what you are attempting to fix by removing this. This was added so the size is properly set from the start, if you don't do this in the ready event it will only happen when being resized, but if the window is never resized it will never adapt to the entire screen.

It doesn't work as intended on my end, if it works on yours idk why, worth investigating

It doesn't work as intended on my end, if it works on yours idk why, worth investigating


Does not work

Hi, I always have a number of notes open using the tabs plug-in. When I move between 2 open notes in Edit it does not remember the cursor position, nor when I move between notes in Preview, nor between a note in Edit and one in Preview.
I am on MacOS.

Hello. Is it the problem with the joint work with the tabs plugin? Does everything work without it?

What do you mean by everything?

This plugin)

Yes, everything works without it.

Which tab plugin are you using? Have you tried using remember-cursor-position plugin without the tabs plugin?

The tab plug-in is called Obsidian tabs by "foreveryone".
No, I have not tried to use your plug-in without the tabs plug-in because I cannot use Obsidian without the tabs plug-in.
I have been using the tabs plug-in before your plug-in and had no trouble with it.

Thanks for your feedback. I'll see what I can do about it.

OK, thank you 👍. I do not wish to cause you unnecessary work, so if you think my case is unique, i.e. no else has it, don't fix it for me 😀


Get-CMPackage doesn't return all packages.

This document doesn't describe the behavior of the cmdlet. This cmdlet only returns "ordinary packages", not all packages. The causes issues when attempting to identify packages from ID only. It would be helpful to explain the behavior Ray Jia outlines here:
https://social.technet.microsoft.com/Forums/en-US/64fe70aa-3ada-48af-a135-04987435e05d/getcmpackage-missing-packages?forum=ConfigMgrPowerShell

Note that "get-cmpackages" only get ordinary packages which means what we could see under the tab "\Software Library\Overview\Application Management\Packages", while your SQL query could return all types of packages, and under Content Status we also could see all types of packages except Task Sequence Packages.

The smsprov.log shows the package info when I run get-cmpackage on a software update package, but it is not delivered to the PS console. This is very odd since the info is being successfully queried, but they are not returned???

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

ID: 4ee8cbc6-02f1-cf6e-99a6-bbd4764a4822
Version Independent ID: 3d394c71-412a-9612-36ca-af84f6e37244
Content: Get-CMPackage - Configuration Manager
Content Source: sccm-ps/ConfigurationManager/Get-CMPackage.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @Daren9m for the feedback. Get-CMPackage just gets legacy packages that you'll find under the Application Management node. Technically, we refer to other objects as packages, but you have to use other cmdlets for them, for example:

Get-CMDriverPackage]
Get-CMSoftwareUpdateDeploymentPackage
Get-CMTaskSequence

I added a note to help clarify, and added these to the related links section. The changes will publish live soon with the 2006 content release.


fix: properties and mediaUri on gallery detail

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #5171

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at https://deploy-preview-5174--koda-nuxt.netlify.app/rmrk2/gallery/12336941-ac5e7ba2c1384a7463-FCSORC-ORC_SOCIETY_34-00000034
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

pay 20 usd

😍 Perfect, I’ve sent the payout
💵 $20 @ 35.01 USD/KSM ~ 0.571 $KSM
🧗 DY4SQF2iD456tH89aQtz5wv1EV3BbSW8wKKuMcwbmXaj1pM
🔗 0x8f8166ccca83f3add51de674cb89be5ff73751eb901ff9fb80fdb98c88fad37a
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


cURL Import ignores Basic Auth values

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Steps

New request
Select  'from cURL'
Enter following as cURL command: curl -u "sk_live_my_octopus_user:" "https://api.octopus.energy/v1/electricity-meter-points/12345/meters/12345/consumption/"
Press Create

Expected
Created request has Basic Auth configured with user sk_live_my_octopus_user and blank password
Actual
Auth tab says No Auth.  Basic Auth is not configured
.bru file to reproduce the bug
curl-import-bug.bru.json
Screenshots/Live demo link

Looks like an easy fix, I will get a PR implementing this later today!


Push Sales Orders from OMS to NetSuite

Firstly, we need to prepare a CSV file for approved sales orders to push the sales order from OMS to NetSuite. After importing the sales order to NetSuite, we will prepare a CSV file for brokered sales orders.
Here is a sample CSV file for approved sales orders.

Order # -> OrderHeader.orderName
Order Line Id -> OrderItem.orderItemSeqId
External Id -> OrderHeader.orderId
SalesChannel -> OrderHeader.salesChannelEnumId (Enumeration.enumId) -> o/p Enumeration.description
Item -> Product.internalName (Product SKU)
Price -> OrderItem.unitPrice
Quantity -> OrderItem.quantity
Item Location ->
Shipping Method -> UPS Ground (Need to discuss)
Shipping Cost -> Shipping Total
Tax Code ->
Shipping Tax Code ->
Date -> OrderHeader.orderDate
Customer -> PartyIdentification.idValue (partyIdentificationTypeId = 'NETSUITE_CUSTOMER_ID')
Address 1 -> PostalAddress.address1
Address 2 -> PostalAddress.address2
City -> PostalAddress.city
State -> PostalAddress.stateProvinceGeoId
Country -> PostalAddress.countryGeoId
Zip -> PostalAddress.postalCode
Phone -> TelecomNumber.countryCode + TelecomNumber.areaCode + TelecomNumber.contactNumber
Line Id -> Please keep it blank in first time
Tag ->
Closed -> TRUE (If order item is cancelled otherwise blank)

Here is a sample CSV file for Brokered sales orders

Line Id -> NetSuite line id (we will discuss it)
External Id -> OrderHeader.orderId
Item -> Product.internalName (Product SKU)
Item Location -> Facility.externalId
Closed -> TRUE (If order item is cancelled otherwise blank)

Test_Sales_Order_10783.csv

Update_Sales_Order_10602 copy.csv

Hello @gurveenbagga,
Case 1: Broker Sales Order
We need to push all sales orders which will be fulfilled from NetSuite warehouse/store.
To handle this case, we will fetch sales orders which are in created status and PartyIdentification record exists for sales order customers.
After importing these sales orders in NetSuite, we will export sales orders (pending fulfillment) from NetSuite on a scheduled basis (hourly) and upload the CSV file on the SFTP server.
OMS will consume the CSV file from the SFTP server and create an OrderIdentification record in OMS. Once the OrderIdentification record is created in our system, we will approve the sales order in OMS.
When the brokering engine will run and assign a location to sales order items, we will prepare a CSV file with the item location value and update the sales order with the location on NetSuite. So that the Warehouse manager could fulfill the sales order from NetSuite.
Note: On the NetSuite sales order page, the “Fulfill” button will be disabled until we don’t assign the item location to the sales order. So we are not importing the sales order with location on the first time.
Case 2: Mix Cart Sales Order
We need to push a sales order which has mixed cart order items which means one order item will be fulfilled from NetSuite and the second order item is BOPIS which will be fulfilled from the HotWax BOPIS app.
Example: Sales Order Id 1000
Item A -> Qty 5 -> Fulfill from NS
Item B -> Qty 2 -> Fulfill from BOPIS app
To handle this case, when we will push a sales order, we will not send the location for Item B in the CSV file. Once the BOPIS item is completed in HC, we will prepare a CSV file to create an item fulfillment record in NetSuite and will update the location for the BOPIS item on the NetSuite side by Suitescript. Here Item A will send by case 1.
Case 3: BOPIS / Store Fulfilled Sales Order
We need to push sales orders to NetSuite which are fulfilled from HotWax BOPIS App or Store Fulfillment App.
To handle this case, we will prepare a CSV file for BOPIS and store fulfilled sales orders without the location, and push the orders to NetSuite.
Once the orders are fulfilled/completed in OMS, we will make an item fulfillment record on NetSuite and update the sales order item with the location.

Here is updated sample CSV file
Test_Sales_Order_10797.csv

Test_Sales_Order_Latest.csv

Update_Sales_Order.csv

Test_Sales_Order_Latest copy 2.csv

Update_Sales_Order.csv

This task has been completed. So I am closing it


the first or last underscore

thanks for creating such a useful plugin plugin!
now here has some collation for use underscore  on itaic or bold while enabling the choice of treat an underscore as a part of words
the pre and suffix underscore should not be treated as part of words.
hope these suggestions would help us improve the plugin.😸thanks.

Hi, @Atticuszz :)
Thank you for your suggestion. I fully agree with your opinion and will definitely take it into consideration 👍


Issues with files.autoSave

VSCode Version: Code 1.10.1 (653f8733dd5a5c43d66d7168b4701f94d72b62e5, 2017-03-02T00:27:09.350Z)
OS Version: Darwin x64 16.4.0
Extensions:

Extension
Author
Version

vscode-elixir
mjmcloug
0.1.1

Ruby
rebornix
0.10.4

rewrap
stkb
1.3.0

Since the 1.10.1 update, autosave works intermittently. I've tried both onFocusChange and onWindowChange. Currently, "onWindowChange" appears to work.
Steps to Reproduce:

Use "files.autoSave": "onFocusChange"
Edit code, switch away from window and see it's unsaved.

Let's continue in https://github.com/Microsoft/vscode/issues/21948


Entity Extensions

Breaking change

Proposed change

Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (which adds functionality to an existing integration)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[x] The code change is tested and works locally.
[x] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the [development checklist][dev-checklist]
[ ] The code compiles without warnings (code quality chek)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

I think most of what was in this PR is now also present in the new HassModel. and #498  #499


How to get a fixed url when using the same client id?

I tried generating with the same client id, the result is url different.
How to get a fixed url when using the same client id?
Thanks
EYN

Can you share more details on what you are trying to achieve?
We have documentation on the CLI at https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/cli-commands

Can you share more details on what you are trying to achieve? We have documentation on the CLI at https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/cli-commands

I am using DevTunnel CLI.
I successfully created a tunnel with a specific tunnel id.
After I host it, I get the url
Connect via browser: https://dxs78mj1-10433.asse.devtunnels.ms
Inspect network activity: https://dxs78mj1-10433-inspect.asse.devtunnels.ms

Then I delete the tunnel.
And I repeat creating a tunnel with the same tunnel id as before, but I get a new url:
Connect via browser: https://r1l4z1ln-10433.asse.devtunnels.ms
Inspect network activity: https://r1l4z1ln-10433-inspect.asse.devtunnels.ms

How do I make the url not change when generating with the same tunnel id?
Thanks

If you want to keep the same tunnel URL, keep the tunnel (i.e. do not delete it).
When you stop hosting, the tunnel will be stopped (i.e. not accept any traffic). Then, when you wish to use the tunnel again, you can re-host the existing tunnel.


simplify() on MultiLineString yields unexpected results if lines are intersecting

Expected behaviour and actual behaviour.
Expected: considering two LineStrings which are themselves simple but are intersecting each other, using simplify() on each of them individually should yield the same result as using simplify() on a MultiLineString containing both of them.
Actual: no simplification is applied on the MLS, unless preserve_topology=False.
I am unsure if this actually expected (then it's a documentation issue) or unexpected (in this case it may be a bug).
Steps to reproduce the problem.
from shapely.geometry import LineString, MultiLineString

line1 = [[0, 0], [5, 0], [10, 0]]
line2 = [[5, -5], [5, 0], [5, 5]]  # crosses line1
line3 = [[15, -5], [15, 0], [15, 5]]  # doesn't cross line1

print(LineString(line1).simplify(tolerance=0.1).to_wkt())
print(LineString(line2).simplify(tolerance=0.1).to_wkt())
print(LineString(line3).simplify(tolerance=0.1).to_wkt())

print("Two intersecting lines:")
mls1 = MultiLineString([line1, line2])
print(mls1.is_valid)
print(mls1.is_simple)
print(mls1.simplify(tolerance=0.1).to_wkt())
print(mls1.simplify(tolerance=0.1, preserve_topology=False).to_wkt())

print("Two non-intersecting lines:")
mls2 = MultiLineString([line1, line3])
print(mls2.is_valid)
print(mls2.is_simple)
print(mls2.simplify(tolerance=0.1).to_wkt())

This yields the following output (spacing manually added and precision manually reduced for readability):
LINESTRING (0.0 0.0, 10.0 0.0)
LINESTRING (5.0 -5.0, 5.0 5.0)
LINESTRING (15.0 -5.0, 15.0 5.0)

Two intersecting lines:
True
False
MULTILINESTRING ((0.0 0.0, 5.0 0.0, 10.0 0.0), (5.0 -5.0, 5.0 0.0, 5.0 5.0))
MULTILINESTRING ((0.0 0.0, 10.0 0.0), (5.0 -5.0, 5.0 5.0))

Two non-intersecting lines:
True
True
MULTILINESTRING ((0.0 0.0, 10.0 0.0), (15.0 -5.0, 15.0 5.0))

All three lines are strictly straight, with one point in the middle that simplify() must remove. A MLS with two such lines that intersect each other will not be simple (notwithstanding the fact that is_simple is irrelevant for MLS according to the documentation), and applying simplify() on it will actually not simplify the lines, unless preserve_topology=False.
Operating system
macOS 10.14.6
Shapely version and provenance
Shapely 1.7.0 installed with pip.

@abey79 can you show where it is in the docs that we say that simplicity isn't a concern for multi line strings? Multi line strings with internal intersections are not simple, so the refusal to simplify with preserve_topology=True is to be expected.
It looks like mls1.simplify(tolerance=0.1, preserve_topology=False).to_wkt() and mls2.simplify(tolerance=0.1).to_wkt() produce expected results, yes?

@sgillies I understand from your comment that one should not, in fact, expect a "good" result from simplify(preserve_topology=True) on non-simple MLS. My initial report is thus to be considered a documentation issue rather than a bug report.
Non-simple MLS: the first note box of object.is_simple paragraph states:

The simplicity test is meaningful only for LineStrings and LinearRings.

One could think that MLS, being LS/LR collections, would be covered but, on second thought, it calls for clarification. Is a MLS non-simple if any two, individually-simple LS/LR intersect? Or is it required that at least one LS/LR is non-simple by itself? It appears that the former is true, as is confirmed by Fig 6's legend in the MultiLineString paragraph. I think the object.is_simple paragraph would still gain from a clarification on the MLS case as it initially threw me off.
Interaction between preserve_topology and is_simple: even with MLS "simple-ness" clarified, I found it non-obvious that preseve_topology had anything to do with it (that's probably due to my lack of knowledge in computation geometry). So again the object.simplify() paragraph would maybe benefit from clarification.
If you agree with the above, I can try to prepare a PR with doc fixes.
Finally, if simplify(preserve_topology=True) has undefined (is it really undefined?) behaviour on non-simple geometries (or is it just about non-simple MLS?), wouldn't it make sense trigger an error or, at least, a warning?


uninstall fails with systemd

This issue affects agent version <IP_ADDRESS>8, which is not published on this repository yet. On systems using systemd the ./install -r command fails. Looks like it is trying to stop and disable waagent via systemctl if it detects the systemctl binary. The issue is that afterwards it is also trying to stop and disable it via chkconfig. There are a couple of if statements to determine which method to use to stop and disable waagent, though the first if, which detects systemctl, is not elif'ed to the other conditions, as is the case with all the other methods. Hope this makes any sense. Would be clearer if I could link to the source code.
From d8ec11585fc1922d97176e83fdd88495c8508859 Mon Sep 17 00:00:00 2001
From: Ferdinand Holzer<EMAIL_ADDRESS>Date: Tue, 4 Oct 2022 13:52:53 +0200
Subject: [PATCH] fix: installer fails to remove agent

Installer tries to cleanup walinuxagent and fails due to
erroneous logic when dealing with systems using systemd.
---
 vmm/dev/scripts/install | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/vmm/dev/scripts/install b/vmm/dev/scripts/install
index bba7ed9..6f3da9f 100644
--- a/vmm/dev/scripts/install
+++ b/vmm/dev/scripts/install
@@ -164,15 +164,13 @@ function removeAgent {

    #SystemD
    if [ -x /bin/systemctl  -o -x /usr/bin/systemctl ]
-   then
-	if [ `systemctl is-enabled walinuxagent 2>/dev/null|grep enabled|wc -l` -eq 1 ]
 	then
-		systemctl disable walinuxagent
-		systemctl stop walinuxagent
-	fi
-   fi
-
-   if [ -x /sbin/insserv ]
+      if [ `systemctl is-enabled walinuxagent 2>/dev/null|grep enabled|wc -l` -eq 1 ]
+      then
+         systemctl disable walinuxagent
+         systemctl stop walinuxagent
+      fi
+   elif [ -x /sbin/insserv ]
    then
 	/sbin/insserv -r waagent
    elif [ -x /sbin/chkconfig ]
--
GitLab

Anyone?

@KrisBash
@microsoftopensource
@blakedrumm
@khusmeno-MS
@x-limitless-x
@mcoskuntr

Please, someone at @microsoft raise this project and its issues at the appropriate positions.

I would recommend opening a support case with Microsoft Support for assistance on this.

@blakedrumm Well, no. All the information is here in this issue. I'm not gonna go jump through additional hoops just to to help @microsoft fix a broken product component.

@blakedrumm Well, no. All the information is here in this issue. I'm not gonna go jump through additional hoops just to to help @microsoft fix a broken product component.

The problem is, I don't believe this is the latest production code.
But no worries, have a great day! ;)


[Important] Improve passing of parameters for all tools

Some tools, like sigh can only be passed some of the available command like options, not all of them.
Also, sometimes users want to have a parameter for a tool, for which there is already an environment variable available (https://github.com/KrauseFx/sigh/issues/45)
There needs to be a more unified way:

Pass any option as either command parameter or environment
fastlane can then pass any option per environment variable to any of the other tools

Any other ideas? Concerns?

This would result in one class of each tool, defining all available options, with a short description of what they're for.
We then iterate through all available options and pass it to commander

@KrauseFx How does this effect #28 since that is added listening in an the --env option? I'm all for improving this! Just curious :grin:

There are 3 ways to pass configuration to the individual fastlane tools:

Configuration file (only for snapshot and deliver)
Command line parameter (e.g. deliver -u<EMAIL_ADDRESS>Environment variables

The user should be able to set every option in all 3 ways.

I'm finding this to be particularly important with sigh, as it'd be great to be able to specify the file name and output directory from within fastlane when fetching provisioning profiles.

I completely agree. Any feedback appreciated! I want to get this right when working on this issue.

I've just started diving into developing a pipeline with fastlane, so I don't have the best insight into all use cases yet. With sigh in particular, I'd want to be able to define parameters per lane. The usage that I see would involve updating the sigh action to work with parameters in a similar manner to produce. This would enable me to define the parameters inline to the call, or as environment variables externally first.

Right now, it's not clear which environment variables to use: https://github.com/KrauseFx/cert/issues/1#issuecomment-74852448

The current plan is to provide a ConfigurationManager-Class in the fastlane_core, which each individual tool can call with its available options.
From then on, each tool can call the ConfigurationManager and ask for specific values. If there was no command line option given, no configuration in the configuration file and no environment variable, it will ask the user for the value and show information on how to set this value programatically.
Thanks @joshdholtz :+1:

Hello, I think it may be a little late, since we already make a big use of ENV, but I'd propose to use ENV only for sensitive information.
For other information I think we should take from configuration file, fastlane options, and command line arguments (the latter overwrites former). What do you think of this?

Why wouldn't we also allow passing of any information from the environment?

I don't know, just think would be nice to have one place of input.

Also maybe use something like this but generalised for all tools?

Ok, I'll check out how other established tools (cocoapods, homebrew, etc.) handles this and write back.

Started with the pull request: https://github.com/KrauseFx/fastlane_core/pull/8
Will take a few more days until fully finished :rocket:

Everything except for the configuration file is finished :rocket:


Reload "config" file

I'm using docker to run multiple instances, it's possible to reload changes in config file using some command or webhook?

Now it's implemented new options for reload instance over request, check it: Reload Instance


[DPE-3352] Fix #164 - check _cluster/settings instead of opensearch.yml for plugins

This PR fixes #164 .
Adds a GET /_cluster/settings, which returns the configuration of the cluster at the moment, including defaults.
Format the output from a json to a config.config... = value format.
Closes #164

I need to check the option: flat_settings=true to see if I need to format the json output in the code or not.

Noticed at this run of h-scaling that, at test_safe_scale_down_remove_leaders, the opensearch/7 tries to acquire the lock twice in a roll, after losing the leadership. That means only once the -relation-changed is triggered for opensearch/7, and it never gets the lock as another unit takes over as leader.


Update become a tech partner page

add image of suggested timeline

agree with all comments, fixed all of them


Dynamic Screen Size

hello,
After connecting to the server when we auto rotate the device the screen resolution should change according to landscape and portrait, So is there any way to dynamicly update the screen size height and width after connecting to the server.

Thanks in advanced.

and you are using what?

we are using in android with openUri

android has currently no disp channel implemented. with that the session can be reconfigured during runtime to adjust for resolution/orientation/highDPI changes.

Can you please help with example or How we can reconfigured to adjust for resolution/orientation/highDP to the session?

check X, SDL or wayland clients