[PoC] Provide 'create' option in each filesystem (v2 API)

I'd like to have a discussion on adding the create option to from_url, which I propose a PoC implementation in this PR.
This PR depends on #246
What is done in this PR
In the current from_url (specifically in local and HDFS filesytems), path to a non-existent directory is not accepted.
>>> pfio.v2.from_url("/path/to/non/existent/dir")
ValueError: /path/to/non/existent/directory must be a directory

In this PR, I implemented create option to  each filesystem:

Local and HDFS: When True and if the specified path doesn't exist, it creates the directory
S3: Just ignores
Zip: When True and the specified zip doesn't exist, it raises an error

This allows us to call from_url like this:
>>> with pfio.v2.from_url("/path/to/non/existent/dir", create=True) as fs:
...
>>> os.path.isdir("/path/to/non/existent/dir")
True

(Same for HDFS).
Background
pfio provides so powerful filesystem-agnostic API that we can treat an arbitrary filesytem (pfio.v2.FS object) as a portable IO handler to save things, instead of directly using native open and write.
# A very simple toy example of a native-filesystem dependent data saver.
def save_array(ar, full_path):
    with open(full_path, 'wb') as f:
        np.save(f, ar)

save_array(ar, "/path/to/data.npy")

# A toy filesystem-agnostic saver, which is cool
def save_array(ar, fs, rel_path):
    fs.open(rel_path, "wb") as f:
        np.save(f, ar)

with pfio.v2.from_url("hdfs:///xxx/yyy/dir") as fs:
    save_array(ar, fs, "data.npy")

In this way of use, there would be a situation where we want to specify a non-existent directory to from_url. In such a case we'd expect from_url (or such a saver method) to create the destination if it doesn't exist, but as I mentioned earlier from_url doesn't accept it. Specifying an non-existent directory as an output destination (to be created) is a very common idiom that can be seen in various places, so I want to realize the same thing with from_url.
# In that sense, maybe the above toy examples weren't good - in order to save just one file, the proposed create option won't sound so much beneficial. When we need to save many files into a directory, the proposed feature becomes more practically useful e.g., training snapshots in deep learning workloads using pytorch-pfn-extras writing abstraction.
https://pytorch-pfn-extras.readthedocs.io/en/latest/reference/generated/pytorch_pfn_extras.training.extensions.snapshot.html

/test

/test

/test


java: improve docs to describe SSL connection process

See https://forum.cockroachlabs.com/t/connecting-to-an-ssl-secure-server-using-jdbc-java-and-client-certificate-authentication/400

Related to #631


Empty function parameter between quotation marks, breaks the identification of function parameters

The issue occurs when an empty quoted parameter is passed to a function as in the code below:
Case 1: UpdateItemField({{dataKeyToUpdate}},'SomeValue',true,false,false)
Case 2: UpdateItemField({{dataKeyToUpdate}},'',true,false,false)
In the first case everthing is fine.
But the second case, we have problems because the parameter parse method can't identify the empty quote.
This issue occurs because the parameter parsing method identifies that the start of the quote is when it processes a quote character and the buffer is empty, without checking whether it is already quoted.
This PR fixes the identification of the empty parameter in quotes by checking if there is already a quote character started.

https://github.com/spadrapo/drapo/issues/488


Docs: note about pgsql being the default driver

This will help those using other DBs other that Postgres, I was getting an error when running migrations.
[PDOException]
could not find driver

I had to add this line on the .env:
DB_CONNECTION=mysql

Thanks, someone also had this issue some time back. I'll be super glad if you could raise a PR that states this in the doc @ProfNandaa

Will be on that sir @unicodeveloper


Assigning a List to a published attribute doesn't set the attribute

 Issue by zoechi
Originally opened as dart-lang/sdk#17472

What steps will reproduce the problem?
1.
In the unit test of polymer-selector
https://github.com/PolymerLabs/polymer-selector/blob/master/test/html/polymer-selector-multi.html#L56
s.selected = [0, 2] should invoke the callback of oneMutation
https://github.com/PolymerLabs/polymer-selector/blob/master/test/html/polymer-selector-multi.html#L30
but it doesn't
s.selected = '0' does.
After this assignment s.attributes has an additional key 'selected'.
but assigning [0, 2] doesn't affect s.attributes
and therefore the mutationobserver doesn't fire.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Dart VM version: 1.3.0-dev.3.2 (Mon Mar 10 10:15:05 2014) on "linux_x64"
Polymer 0.9.5
Please provide any additional information below.

 Comment by sigmundch

Removed Polymer-P-1 label.
Added Polymer-Milestone-Next label.

 Comment by sigmundch

Removed this from the 1.6 milestone.
Added Polymer-P-1 label.

 Comment by jmesserly

Removed Area-Polymer label.
Added Pkg-Polymer, Area-Pkg labels.

 Comment by sigmundch

Added this to the 1.6 milestone.
Removed Priority-Unassigned label.
Added Priority-Medium label.

 Comment by kevmoo

Added Area-Polymer, Triaged labels.

 Comment by sigmundch

Removed Polymer-Milestone-Next label.

 Comment by sigmundch

Added PolymerMilestone-Next label.


swap broken video with fixed video

resolves issue https://github.com/Itseez/opencv/issues/6429
What does this PR change?
Add fixed video tree.avi supplied by @garybradski

@alalek could you check this?

Backport: https://github.com/Itseez/opencv/pull/6431

Guessing the reported OpenCL problem has nothing to do with this PR.

@StevenPuttemans Lets put fix into 2.4 at first and then I will propagate this change into master via "merge 2.4" process (to reduce size of patches).

:+1: if that works better for you then sure, go ahead!


Error message that might lead the user astray

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

Description
Lean is providing an strange error message here:
def plus10 (n : Nat) : IO Nat :=
  let q ← (10 : Nat)
  n + q

Steps to Reproduce
Try to compile the code above.
Expected behavior:
I would expect Lean to tell me that I'd need to encapsulate my left arrow using a do. Or to replace it with a :=.
Actual behavior:
It underlines the left arrow in red and says expected '|', apparently expecting me to define a function q, as pointed out here.

Additional Information
Mario suggested this:

Yes, it would make sense to add let x <- t; e to the grammar just for the purpose of better error messages

Closed by https://github.com/leanprover/lean4/commit/136fab07238b508c59a43d9b3cc68cbec7dc35e7


Missing api error type with message that okta-oidc-ios used to provide

Describe the feature request?
The current SDK is not passing back the error string that is being set during web sign in. Currently we are getting a authenticationProviderError error which does not provide any valuable information. In the previous okta-oidc-ios sdk, we used to get an case api(message: String, underlyingError: Error?) error which had the appropriate message set by our custom browser signin client. If this is a missing feature, we would like to request it be added. If it's not a missing feature, we would love some help understanding how to get the actual error message provided by the failed web signin.
New or Affected Resource(s)
WebAuthenticationUI, WebAuthenticationError
Provide a documentation link
https://okta.github.io/okta-mobile-swift/development/webauthenticationui/documentation/webauthenticationui/webauthenticationerror/authenticationprovidererror(_:)
Additional Information?
No response

Hi @shanepadgett, thank you for bringing this to my attention. I'll look into this soon and will let you know here what I'm able to come up with. When you say you were receiving a custom error, what approach did you take to supply that message to the client? I want to make sure I'm able to properly reproduce your situation to ensure it works as expected.

Some more context here. The error being set in the redirect by our custom web flow is something like ?error=customerrorname&error_description=No%20mappings%20found
One of our engineers said it appears that you are manually handling error types here and because this doesn't handle our custom error we never get the error description being set. https://github.com/okta/okta-mobile-swift/blob/master/Sources/AuthFoundation/Responses/OAuth2ServerError.swift#L89

Thank you for bringing this to my attention @shanepadgett. You're quite right, this doesn't make it easy to find the root cause of sign in issues.  I've introduced a new WebAuthenticationError case .serverError in #142 that exposes the error object for you to evaluate.

Great. Going to give this a test to make sure it fixes our issue.

Okay, so unless I'm missing something the PR does not fix the issue. The only message we get back is "An unexpected authorization state was received." Looks like its this line of code getting returned for our redirect error, but its not carrying the custom error description we are setting. https://github.com/okta/okta-mobile-swift/blob/57faa157b37d34340336ee69b913f756914b92de/Sources/OktaOAuth2/Extensions/ErrorExtensions.swift#L68

Oh I see what's happening there. My authorization server was returning the state token along with the error messages in some circumstances, but omits the state value on other conditions. I've pushed a new commit that should handle your condition.

@shanepadgett This has been fixed in version 1.4.1.


AVRO-3939: [Rust] Make it possible to use custom schema equality comparators

AVRO-3939
What is the purpose of the change

Introduce a trait that could be implemented with a custom impl for comparing the equality of two schemas

Verifying this change

All new and old tests should pass

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? RustDoc

@ZENOTME The PR is ready for review and test!
I will add more unit tests!

Sorry for being late. Thanks for this nice job! @martin-g


ut_core: Enchanced release script to support automated release testing

Requirement to support testing for releases

TARGET=linux

TARGET=arm

building the testing suites & running them checking for errors, for all framework & ut-core functions.

clone halif header and trigger cloning of ut-core & framework

run ut test from halif to ensure backwards comaptbility.

ut-core - is on a fixed version of ut-control, so that changes to ut-control will not break ut-core

ut-core - is auto ingested by all halif testing suites on minor changes

ut-core - major change will not be auto-ingested, but will be signal during the compile time, to request a please upgrade, this basically is stating that the latest version of ut-core requires changes to the halif-testing suites to support it. ( Should be used where the API is not longer backwards compatible, or theres a risk to breaking the halif-tests).

ENV
CMAKE(Host)
CURL(Target)
OPENSSL(Target)

Ubuntu+build essentials
NO
YES
NO

VM-SYNC
YES
YES
YES

RDK-DUNFELL(arm)
NO
YES
YES


Add a tag-only flag to publisher.

The --tag-only flag resolves images into tag-only references. This flag is useful when digests are not preserved when images are repopulated. It can only be used when a single tag is specified, and the tag is not latest.

I'm not sure I understand the use case, in what cases are references by digest not preferred?
Images by tag are problematic because the tag can change and you can get unexpected/inconsistent behavior across replicas/nodes.

Codecov Report

Merging #332 (ab03af6) into main (0b96f41) will increase coverage by 0.14%.
The diff coverage is 53.33%.

@@            Coverage Diff             @@
##             main     #332      +/-   ##
==========================================
+ Coverage   38.24%   38.39%   +0.14%
==========================================
  Files          33       33
  Lines        1527     1542      +15
==========================================
+ Hits          584      592       +8
- Misses        849      853       +4
- Partials       94       97       +3

Impacted Files
Coverage Δ

pkg/commands/resolver.go
11.60% <0.00%> (-0.07%)
:arrow_down:

pkg/publish/default.go
61.84% <45.45%> (-2.78%)
:arrow_down:

pkg/publish/options.go
28.12% <100.00%> (+7.43%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b96f41...ab03af6. Read the comment docs.

Sure I could explain more. Our use case is to use ko to generate manifests that supports air-gapped environments, where we repopulate necessary images to containerd from tarballs (similar to docker load). However, such repopulation does not preserve image digests, so we have to use tags to refer to a certain image version in the manifests so they can be deployed in a normal and an air-gapped environment.

I also put a constraint for this tag to disallow people from generating image references that uses the (commonly) moving latest tag.

I'm not sure if we want to be that opinionated about latest. I generally agree with you, but it feels like an artificial constraint. That being said, it is easier to relax this if people complain than it would be to introduce this constraint and break people who rely on it, so I don't have a strong opinion.
I'm ok to merge unless @imjasonh has objections

Sgtm


Test janitoring pt. 2

Comes on top of gh-7568 (pending review) --- the first four commits are there.
More test janitoring, cleaning up stuff that pytest doesn't like.

Remove all use of unittests.TestCase. Nose doesn't care about it, but pytest collects them differently. The only thing to watch out here is that the class names should be Test* so they'll be collected when they don't inherit from TestCase.

Replace all use of self.assert* with numpy.testing methods.

Remove uses of __init__ in test classes --- pytest ignores classes that have it defined. Nose runs the __init__ at some point, but it seems when is not well specified (it comes before setup_module apparently), so probably they shouldn't be used with nose either. There aren't that many of these, and the intent seemed to be the same as for setup().

There's one remaining Test*.__init__ in sparse:test_base.py:_TestCommon --- changing this requires changes in the yield tests, so I'll leave that for later.
NB. this PR doesn't change test count:
Before (456f0ad):
Ran 22314 tests in 1170.538s
OK (KNOWNFAIL=139, SKIP=1439)
After (14088e0):
Ran 22314 tests in 1183.089s
OK (KNOWNFAIL=139, SKIP=1439)

LGTM. Merging it right away to keep the ball rolling. Thanks Pauli

@pv Could you expand on the removal of TestCase? I've noticed more failures from its absence than its presence. Classes that use setUp and tearDown but don't derive from TestCase cause more problems for Numpy as those functions are not run in that case.

I removed the TestCase inheritance because pytest collected also classes starting with names starting with underscore, if they inherit from TestCase. The names for setup and teardown are also different when classes are not derived from TestCase. Also, the special handling for unittest-derived classes seemed like a legacy measure that's probably best avoided since who knows if it's well-tested...


Show nodes in pods list

Rancher versions:
rancher/server or rancher/rancher: 2.0.4
Steps to Reproduce:
Open a workload and check Pods panel
Results:
I cannot see on what node every pod is running.
Is it possible to add a Node column?

Version - 2.0 master 7/3
Verified fixed


Which statistics in iris.analysis are lazy?

📰 Custom Issue

Hi everyone, we are currently working on a feature to make our multimodel calculations lazy in ESMValTool by depending on iris.analysis to perform the calculations (https://github.com/ESMValGroup/ESMValCore/pull/968). The documentation states that MEAN, STD_DEV and VARIANCE already have lazy implementations via dask.
Looking through the code, I have noticed that iris.analysis.MIN and iris.analysis.MAX also have lazy functions associated with them, but these are not mentioned in the documentation as being lazy. I'm wondering if I'm missing something or if this information is not yet available in the documentation.
We would be very interested to also make some of the other statistics lazy on our side, i.e. MEDIAN and PERCENTILE, which also have implementations available via dask.

Hi @stefsmeets, thanks for this.  I agree we ought to have something in the docstrings that tells us which aggregators are lazy.  We have an open issue about doing this for functions generally (#3292), but nobody has got to it yet.
For percentiles, I have an open PR at #3901.  I’d welcome any feedback on that as I’m pretty new to dask.

It looks like dask.array.median is using numpy.median under the hood, so doesn't respect masks:
import numpy.ma as ma
import dask.array as da

arr = ma.array(range(4), mask=[0,0,0,1])
print(ma.median(arr))

larr = da.from_array(arr)
print(da.median(larr, axis=0).compute())

Output:
1.0
1.5

So I think we would need something extra to make lazy median consistent with our existing median aggregator.

Hi @rcomer , I just noticed that a nanmedian function exists in dask. Would this be a way to make the median operation lazy in iris?

Hi @stefsmeets, yes it looks like that should work in principle.  Something like
import numpy as np
import numpy.ma as ma
import dask.array as da

def lazy_median(array, axis):
    array = array.astype(np.float_)
    nan_array = da.ma.filled(array, np.nan)
    median = da.nanmedian(nan_array, axis)
    return da.ma.fix_invalid(median)

arr = ma.array(range(4), mask=[0,0,0,1])
print(ma.median(arr))

larr = da.from_array(arr)
print(lazy_median(larr, axis=0).compute())

Output:
1.0
1.0

Though I am very much not an expert.  Maybe @pp-mo has thoughts on this.

Related: #3292

@fnattino: This issue could be interesting for you

#5066 updated all the aggregator docstrings to indicate which are lazy.  PERCENTILE has been lazy since v3.3.  Is there still appetite to work on MEDIAN?  Obviously you can just use the 50th percentile but perhaps there is an advantage to the separate median function.

@SciTools/peloton let's wait till 2023-01 if anyone really wants MEDIAN to be lazy.
IF not, add a doc note to say "it's not lazy, but percentile is"


Can't play multiplayer on WebGL version

Multiplayer works on desktop, but not on WebGL.

It isn't possible right now


[BUG] Getting disconnected after Scanning QRCode with stream:error ErrorCode:516

Describe the bug
I am using this library from so long but suddenly when I scan QRCode today, it connect and quickly disconnects, also it disconnect from phone but stays connected in PC. I cant receive messages but can send messages, also those messages can only be seen from whatsapp web, they are seen as 'waiting for message' in mobile. Also same code works in other PCs, just doesn't work in my PC.
To Reproduce
Steps to reproduce the behavior:

Created a new connection
Scan QRCode
then suddenly got disconnected.

Expected behavior
Should have been connected
Environment (please complete the following information):

Is this on a server? Yes
What do your connectOptions look like?

   makeWASocket({
       auth: state,
       printQRInTerminal: true,
   });

Do you have multiple clients on the same IP? No
Are you using a proxy? No

Additional context
My Sample code which produces this error.
import makeWASocket, { DisconnectReason, BufferJSON, useMultiFileAuthState } from '@whiskeysockets/baileys'
import { Boom } from '@hapi/boom'

async function connectToWhatsApp () {
    const { state, saveCreds } = await useMultiFileAuthState('auth_info_baileys')

    const sock = makeWASocket({
	auth: state,
        printQRInTerminal: true,
    });

    sock.ev.on ('creds.update', saveCreds)

    sock.ev.on('connection.update', (update) => {
        const { connection, lastDisconnect } = update
        if(connection === 'close') {
            const shouldReconnect = (lastDisconnect?.error as Boom)?.output?.statusCode !== DisconnectReason.loggedOut
            console.log('connection closed due to ', lastDisconnect?.error, ', reconnecting ', shouldReconnect)
            if(shouldReconnect) {
                connectToWhatsApp()
            }
        } else if(connection === 'open') {
            console.log('opened connection')
        }
    });
    sock.ev.on('messages.upsert', m => {
	console.log("Message Received: "+m.messages[0].key.remoteJid);
    });

}

connectToWhatsApp();

Console Output of the error generated from this code:
C:\Users\admin\Desktop\the_baileys_test>npx ts-node app1.ts
{"level":30,"time":"2024-03-27T11:13:35.466Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","browser":["Baileys","Chrome","4.0.0"],"helloMsg":{"clientHello":{"ephemeral":"uheawwz7v5jIs5HEvljX30hPhqvCiX84u5AdUuIUBRU="}},"msg":"connected to WA"}
{"level":30,"time":"2024-03-27T11:13:35.758Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","node":{"passive":false,"userAgent":{"platform":"MACOS","appVersion":{"primary":2,"secondary":2403,"tertiary":2},"mcc":"000","mnc":"000","osVersion":"0.1","manufacturer":"","device":"Desktop","osBuildNumber":"0.1","releaseChannel":"RELEASE","localeLanguageIso6391":"en","localeCountryIso31661Alpha2":"US"},"connectType":"WIFI_UNKNOWN","connectReason":"USER_ACTIVATED","devicePairingData":{"eRegid":"AAAAag==","eKeytype":"BQ==","eIdent":"n1EuW23HRHtYlsNOTc0AOOYH3b7uZ7hSjsHe+m86/Xs=","eSkeyId":"AAAB","eSkeyVal":"XlGQcaAty78TMeFOcwf0j/AGe4laU23aE+9obuZXokU=","eSkeySig":"i4jocyiqHcqtgorukwfnGy6dcYmn7byY2FjzFAgoQA8/jmAzSEVOfOv8QDgF+cKA28rQT8wS5OFRFyq0nF+lCw==","buildHash":"ctjRqW1/JS8QL+XWNBTAYg==","deviceProps":"CgdCYWlsZXlzGAEgAA=="}},"msg":"not logged in, attempting registration..."}
[[QRCODE]]
{"level":30,"time":"2024-03-27T11:14:05.797Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","me":{"id":"918000898790:64@s.whatsapp.net","name":"Galaxy Group"},"platform":"smbi","msg":"pairing configured successfully, expect to restart the connection..."}
{"level":50,"time":"2024-03-27T11:14:06.258Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","node":{"tag":"stream:error","attrs":{"code":"516"}},"msg":"stream errored out"}
{"level":30,"time":"2024-03-27T11:14:06.263Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","trace":"Error: Stream Errored (unknown)\n    at WebSocketClient.<anonymous> (C:\\Users\\galaxygroup\\Desktop\\the_baileys_test\\node_modules\\@whiskeysockets\\baileys\\lib\\Socket\\socket.js:502:13)\n    at WebSocketClient.emit (node:events:517:28)\n    at WebSocketClient.emit (node:domain:489:12)\n    at C:\\Users\\galaxygroup\\Desktop\\the_baileys_test\\node_modules\\@whiskeysockets\\baileys\\lib\\Socket\\socket.js:236:35\n    at Object.decodeFrame (C:\\Users\\galaxygroup\\Desktop\\the_baileys_test\\node_modules\\@whiskeysockets\\baileys\\lib\\Utils\\noise-handler.js:136:17)\n    at WebSocketClient.onMessageRecieved (C:\\Users\\galaxygroup\\Desktop\\the_baileys_test\\node_modules\\@whiskeysockets\\baileys\\lib\\Socket\\socket.js:212:15)\n    at WebSocketClient.emit (node:events:517:28)\n    at WebSocketClient.emit (node:domain:489:12)\n    at WebSocket.<anonymous> (C:\\Users\\galaxygroup\\Desktop\\the_baileys_test\\node_modules\\@whiskeysockets\\baileys\\lib\\Socket\\Client\\web-socket-client.js:46:100)\n    at WebSocket.emit (node:events:517:28)","msg":"connection errored"}
connection closed due to  Error: Stream Errored (unknown)
    at WebSocketClient.<anonymous> (C:\Users\galaxygroup\Desktop\the_baileys_test\node_modules\@whiskeysockets\baileys\lib\Socket\socket.js:502:13)
    at WebSocketClient.emit (node:events:517:28)
    at WebSocketClient.emit (node:domain:489:12)
    at C:\Users\galaxygroup\Desktop\the_baileys_test\node_modules\@whiskeysockets\baileys\lib\Socket\socket.js:236:35
    at Object.decodeFrame (C:\Users\galaxygroup\Desktop\the_baileys_test\node_modules\@whiskeysockets\baileys\lib\Utils\noise-handler.js:136:17)
    at WebSocketClient.onMessageRecieved (C:\Users\galaxygroup\Desktop\the_baileys_test\node_modules\@whiskeysockets\baileys\lib\Socket\socket.js:212:15)
    at WebSocketClient.emit (node:events:517:28)
    at WebSocketClient.emit (node:domain:489:12)
    at WebSocket.<anonymous> (C:\Users\galaxygroup\Desktop\the_baileys_test\node_modules\@whiskeysockets\baileys\lib\Socket\Client\web-socket-client.js:46:100)
    at WebSocket.emit (node:events:517:28) {
  data: { tag: 'stream:error', attrs: { code: '516' }, content: undefined },
  isBoom: true,
  isServer: true,
  output: {
    statusCode: 516,
    payload: {
      statusCode: 516,
      error: 'Unknown',
      message: 'Stream Errored (unknown)'
    },
    headers: {}
  }
} , reconnecting  true
{"level":30,"time":"2024-03-27T11:14:06.706Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","browser":["Baileys","Chrome","4.0.0"],"helloMsg":{"clientHello":{"ephemeral":"BLPhM+AbW/VsjWYKgeMTEwEG1mHl7WEiuoa4c+g9yCE="}},"msg":"connected to WA"}
{"level":30,"time":"2024-03-27T11:14:06.977Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","node":{"username":"xxxxxxx","passive":true,"userAgent":{"platform":"MACOS","appVersion":{"primary":2,"secondary":2403,"tertiary":2},"mcc":"000","mnc":"000","osVersion":"0.1","manufacturer":"","device":"Desktop","osBuildNumber":"0.1","releaseChannel":"RELEASE","localeLanguageIso6391":"en","xxxx":"US"},"connectType":"WIFI_UNKNOWN","connectReason":"USER_ACTIVATED","device":64},"msg":"logging in..."}
{"level":30,"time":"2024-03-27T11:14:07.622Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","msg":"0 pre-keys found on server"}
{"level":30,"time":"2024-03-27T11:14:07.627Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","count":30,"msg":"uploading pre-keys"}
{"level":30,"time":"2024-03-27T11:14:08.065Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","count":30,"msg":"uploaded pre-keys"}
{"level":30,"time":"2024-03-27T11:14:08.344Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","msg":"opened connection to WA"}
opened connection
{"level":30,"time":"2024-03-27T11:14:08.362Z","pid":52552,"hostname":"194-160-178-68","class":"baileys","msg":"handled 0 offline messages/notifications"}

+1

Yes I Have This Same Error Please Fix It Fast

+1

Working now


Implements provisioning of ARO cluster

Signed-off-by: Sean Sundberg<EMAIL_ADDRESS>

A service principal can only be used with a single ARO cluster. As such, have removed the use of the same service principal used for automation and cluster creation from the automation. This will force a new service principal to be created for the cluster. Will need to add service principal creation through this module in the future so it can be removed (a limitation of ARO is it does not delete the created service principals after cluster deletion).


Is this project dead?

There are no commits to this repository anymore and I am asking if I should use this package in a newer project or not.

If you find an alternative and being developed actively, then don't use this one.
If you find an alternative, please do share it with us.

I'm currently looking at node-oidc-provider as an alternative (contrary to this project it's an OpenID-Connect capable OAuth2 provider). It seems to be very well maintained. So far, I have only used the maintainer's client library node-openid-client, which was easy to integrate.

Some of us are trying to get it under new management. Checkout this issue thread

Do you have a plan to release a new version?

@duyleomessi  please follow the linked thread to [the end](Do you have a plan to release a new version?). There will be maintenance until a next moves will be deiced and thus new release will be incoming but we need to support with testing the new releases in order to make it a successful transition.


Hit "bad cbor data type for plutus data"

Somebody using Carp mentioned they hit this error. Presumably this isn't suppose to happen?

I wonder if this
https://github.com/txpipe/pallas/pull/212
Fixed it


fix: enable cross-origin isolation

Fixes #233.
I added a test to confirm that the headers work. I also verified manually that window.crossOriginIsolated was true in Chrome.

Fixed the merge conflicts!

Missed exposing the CLI option, but fixed it ^. Tested manually and it appears to be working – the headers are sent only when the --cross-origin-isolated flag is used, and self.crossOriginIsolated is only true in that case.

Looks like the error above might be CI-related?
This version of ChromeDriver only supports Chrome version 127
Current browser version is 126.0.6478.182


FINOS : "Andrew So & Rajesh Taparia " user entry is missing under APPROVED CONTRIBUTORS list for "Royal Bank of Canada" organization at FINOS project

Steps :

Navigate to Signature tab : https://projectadmin.lfx.linuxfoundation.org/project/a092M00001JwBlEQAV/tools/easycla/overview/5564f18f-3252-40fc-a65b-2eef1ad45fcd/signatures
Open Signed CCLAs tab
Search Organization "Royal Bank of Canada"
Click on View All Approved Contributors

Actual Results : "Andrew So & Rajesh Taparia " user entry is missing

@thakurveerendras  Kindly verify

Issue seems to fixed & all user data added , So making issue status QA-Done


Option to enable all lints

My preferred usage is to enable all lints, then extend-ignore the ones I don't want with a comment. (This strategy only makes sense if using a pinned version of ruff).
Currently to enable all available lints, I list all of the prefixes in extend-select, but that's a bit long and won't catch any new prefixes if/when they become available.
I tried extend-select = [""] (empty string being a prefix of everything), but it's not accepted.
Maybe there's a way to do this that I missed?

Not possible right now! But it’s definitely a reasonable request. I need to think on what the API should look like…

I'm considering adding the special code ALL to signal this, like ruff --select ALL /path/to/file.py.

ALL sounds good I think.
The docs say

When breaking ties between enabled and disabled checks (via select and ignore, respectively), more specific prefixes override less specific prefixes.

So ALL would be treated as least specific right?

Yeah, it would probably be special-cased to be less specific.

This feature is 🔥🔥🔥
Thank you!!!


[argon2] Major overhaul

Cleanup
Omits visibility modifiers from static builds.
Fixes installed pkgconfig files (lib dir, include dir)
Moves the exported config to package unofficial-argon2, matching port name and namespace unofficial::argon2::. (Migration polyfill provided.)
Adds supports  and an actual effect to the hwopt feature.
Adds a feature tool.
Disables building the tool for the debug config.
Build tested with static and dynamic triplets for x64 linux and mingw on linux host.

CC @hmoffatt (https://github.com/microsoft/vcpkg/pull/24747).

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Usage tested pass on x64-windows.

Thanks a bunch!


e2e: Enable use of persistent server fixture

Since e2e test execution today is dominated by the ~9s it takes to start a kcp instance, enabling the use of a persistent server speeds up iteration on test development. Tests must be compatible with this, though, so more work will be needed before any given e2e test will work with persistent fixture.
Usage: go test -v --kubeconfig=/path/to/.kcp/admin.kubeconfig
Only tests that have been explicitly configured to use shared fixture will use a persistent server configured via --kubeconfig.

Rebased


Baseline CSRNG IP files and GitHub verilator workflow

Integrate baseline CSRNG fileset as copied directly from the OpenTitan repository. Subsequent MSFT PR will introduce compatibility fixes and Caliptra integration, originally contributed by @howardtr in the private repository.
Also merging the Verilator GitHub workflow for automated repository checks, and the README links to HTML documentation.

@korran @mcockrell-google @andreslagarcavilla
Can one of y'all grant merging permissions so I can complete this PR?


Fix DefaultChannelPromise will always throws exception when it was from EmbeddedChannel.writeAndFlush

Motivation:
Since EmbeddedEventLoop#inEventLoop will always return true, EmbeddedChannel.writeAndFlush(1L).get() will always throw a BlockingOperationException
Modification:

introduce a sub class named EmbeddedPromise

Result:
Let EmbeddedChannel.writeAndFlush(1L).get() return as other promise

Since writeAndFlush (Object msg, ChannelPromise promise) can customize the promise, we should not make any restrictions on this usage.

@carryxyh why this problem only exists with write* and not with connect etc ?

For the connect operation, the promise is set to success directly in EmbeddedChannel # connect:
public void connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) {
    safeSetSuccess(promise);
}

For disconnect, success is also set in AbstractUnsafe#doClose0.

Your question reminds me that introducing a new promise may be not the best approach. For EmbeddedChannel, the write/writeAndFlush event is also passed to EmbeddedUnsafe. It looks like I just need to set the promise to success in EmbeddedUnsafe#write.

Hi,  I retested and it looks like the get operation didn't throw an exception. I may need to keep checking the code.. Close this pr temporarily.


Suggestion: Feed info page should show which folder it is in

Since the iOS version of NetNewsWire doesn't have a search capability, it would be great if the feed info page showed which folder it was contained in.

You can search by going to All Unread and pulling down slightly to reveal the search bar. You can the search All Articles.

Thanks, that works!


Can't Open The Program

Maybe i´m not doing something right, but i downloaded the latest release and when i try to open it just pops up a CMD window for half a second and then closes. Just that :,^

I managed to take a screenshot, how can I solve it? :,D

You downloaded the CLI version. Download from https://github.com/Aeonss/BubbleBlaster/releases/download/1.2.4/bubbleblaster-v1.2.4.exe instead.


GPT-4O-mini does not support image generation

How to call other models in the art phase

Hi, please check this out.
here is the full params of run.py:
usage: run.py [-h] [--config CONFIG] [--org ORG] [--task TASK] [--name NAME] [--model MODEL]

argparse

optional arguments:
  -h, --help       show this help message and exit
  --config CONFIG  Name of config, which is used to load configuration under CompanyConfig/; Please see CompanyConfig Section below
  --org ORG        Name of organization, your software will be generated in WareHouse/name_org_timestamp
  --task TASK      Prompt of your idea
  --name NAME      Name of software, your software will be generated in WareHouse/name_org_timestamp
  --model MODEL    GPT Model, choose from {'GPT_3_5_TURBO','GPT_4','GPT_4_32K'}

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

How to call different models at different stages

Currently we do not support calling different LLM backends in different phases. You can refer to https://github.com/OpenBMB/ChatDev/issues/27


Return answer and confidence

Could we modify inference to also return the confidence associated with the answer?
Another idea is to have the user ask for x answers from inference. It could return all x answers, each with their confidences, as a JSON.
I'm working on it myself. Any guidance on how to access the confidence of a given answer?

I don't know what kind of confidence you want. If you mean probability, in model.py, the probability matrix is defined as
outer = tf.matmul(tf.expand_dims(tf.nn.softmax(logits1), axis=2), tf.expand_dims(tf.nn.softmax(logits2), axis=1))

so, sum of logits will give us the confidence of the first answer ?
how if i want to output the second/third candidate of answer and its confidence too ?

You need to think how to extract from variable outer not only the best span, but second and third one in these lines (probably by changing tf.argmax to smth else):
self.yp1 = tf.argmax(tf.reduce_max(outer, axis=2), axis=1)
self.yp2 = tf.argmax(tf.reduce_max(outer, axis=1), axis=1)

ohh, i got it.
thanks for the answer.


Use local extension package for OOP tests

Currently the tests pull the sql extension from nuget to test, update this to pick up the local package. This will mean the tests need to know how to load the local version of the package (which likely means a nuget.config pointing to the bin folder as a source)

@MaddyDev I'm reopening this currently isn't working as intended

Locally I can't even build the samples project from a fresh machine. Running dotnet build from the I get an error like

C:\Users\chgagnon\AppData\Local\Temp\ituxhlhb.goj\WorkerExtensions.csproj : error NU1102: Unable to find package Micros
oft.Azure.WebJobs.Extensions.Sql with version (>= 99.99.99)

This is because an OOP function will cause a special "WorkerExtensions.csproj" project to be created and built from a temp directory which means it doesn't pick up the custom nuget.config we have in our repo.
A workaround is to run dotnet nuget add source (from a directory outside the project) and then point it to the local dir. But then this still has a problem where Nuget caches the package - and so that means any future builds won't pick up the latest changes and instead have whatever that first version of the local package it got was.
https://github.com/Azure/azure-functions-dotnet-worker/issues/550 is already open for tracking allowing a custom nuget.config, although that still doesn't solve the second problem I had. For that we should probably look into something like suggested here : https://stackoverflow.com/a/69814363 where we clear the Nuget cache for our 99.99.99 package every time we build.

In the pipelines it builds but that's because we specify the package version as $(versionMajor).-, which means that it'll pick up whatever the latest 1.* version is.

This one is a bit trickier since we need to keep it as 1.* for the actual package we publish, but we want to use a DIFFERENT version when we run the tests. So my thought here is that we're going to need to do something like this :

First build the worker project with the 99.99.99 version and run the tests
After that change the version to the 1.* version and then re-build, and publish the package generated from that

@MaddyDev I'm currently taking a look at it since I had context on the issue and fxing it is important for the bundle verification. So you can keep working on your other tasks for the time being - I'll let you know if I need any help here.


Design Scalable Budget Bar Look

What are we trying to do?
Ensure the budget bar continues to look :nail_care: now that our funds budgets can adjust the maximum.

What feature or behavior is this required for?
A lovely budget bar!

How could we solve this issue? (Not knowing is okay!)
Dunno!

Anything else?

How the budget bar looks at our default scale of $1,000, with various sized pledges:

How it looks with our largest (known) budget of $1,750, with various sized pledges:

I don't know if those are realistic pledge sizes. Might be worth asking our funds about what size pledges tend to be.
We also have at least one fund working on a monthly budget, so they would likely want to use an even larger number for the max.

Playing with some ideas (👋 from Chicago).

Let's start by going dead simple. If it's just a progress bar, how much of the goal does that achieve?
Also suggested a label to show the amount remaining. Seems like that could save some mental math, and perhaps is useful if the budget maximum is changing.

Okay, but let's say we do need more information. By just showing lines, we can give the impression of the different size pledges. For an individual case manager, might this be enough to remind them of the various pledges they've made?
One advantage of this layout is that it preserves chronology: the order in which the pledges were made.
Also shown is a legend style to help connect the labels to the corresponding bar.

Tooltips (which currently exist, although I note there's a bug where they don't disappear) could fill in some details; shown is amount and appointment date. Needing to click/hover might not be ideal, though.

If, on the other hand, we care more about the distribution of pledge amounts, and there's a goodly amount of grouping in common amounts (I seem to recall this was the case?), we could show something like this.
As compared to the last option, this no longer tells a story about the order in which the pledges were made. But it does allow me to see how much money has gone to different amounts easily, and if I've needed to make a particularly large pledge, it would reflect that fact clearly.
If the bar has insufficient width, the label could be hidden (shown in the final two images using extremely large amounts). As shown here, if a number of consecutive bars have their legends hidden, they are grouped into one. A tooltip on hover reveals the specific amounts of individual pledges.
Another thing we lose (at least as shown here) is the ability to link from the tooltip to the patient page. Although the tooltips could list and link to each patient in the group, this could get cumbersome, and without the benefit of chronology, is probably pretty difficult to find a specific patient, at least if they don't have a unique and memorable pledge amount. But it also seems to me like this may be also difficult today? I wonder how often case managers use the progress bar for navigation?


fix(pages/nextjs): don't use route() if path is not passed

If we use handle in the Cloudflare Pages adapter with no second argument:
export const onRequest = handle(app)

With the current implementation,  app will be passed to route()
https://github.com/honojs/hono/blob/b1c50597088c2e4e1d3666f53f3f9de171cbd506/src/adapter/cloudflare-pages/handler.ts#L17-L22
If we do so, the error thrown from app can't be re-thrown:
const app = new Hono().route('/api')

app.get('/hello', (c) => {
  throw new Error('Capture this error in Sentry!')
})

app.onError((e) => {
  throw e // <--- This will not be a real "error", will return 500 response.
})

export const onRequest = handle(app)

This PR fixes this issue.
This will resolve #938

This is a good fix, and there are no side effects. Merge it.


Combine packages on import.

As described in #142 I am not able to import my complete language package at the moment. For now I have uploaded 1/3 of the complete package to Vocascan. I would like to be able to upload the rest of the package, but have the new content be added to the current package instead of creating a new package. I do not want to have to upload 72 groups individually.
Maybe when importing a package that has the same name as an already existing package there can be a warning with a choice to add the new content to the existing package, or create a new one with the same name.

Im thinking of having the possibility to have the group type file as an array type, so a > vocascan/group file can contain multiple groups which can be imported at once into a package.


Ref: CHANGELOG follows package layout conventions

:loudspeaker: Type of change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[X] Refactoring

:scroll: Description
Ref: CHANGELOG follows package layout conventions
:bulb: Motivation and Context
https://dart.dev/tools/pub/package-layout#changelogmd
:green_heart: How did you test it?
:pencil: Checklist

[X] I reviewed submitted code
[ ] I added tests to verify changes
[X] All tests passing
[X] No breaking changes

:crystal_ball: Next steps

Codecov Report

Merging #231 (50de270) into main (704f6ee) will increase coverage by 1.89%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #231      +/-   ##
==========================================
+ Coverage   80.73%   82.62%   +1.89%
==========================================
  Files          52        5      -47
  Lines        1604      213    -1391
==========================================
- Hits         1295      176    -1119
+ Misses        309       37     -272

Impacted Files
Coverage Δ

dart/lib/src/sentry.dart

dart/lib/src/transport/encode.dart

dart/lib/src/protocol/sentry_exception.dart

dart/lib/src/integration.dart

dart/lib/src/version.dart

dart/lib/src/noop_hub.dart

dart/lib/src/diagnostic_logger.dart

dart/lib/src/transport/noop_transport.dart

dart/lib/src/utils.dart

dart/lib/src/hub.dart

... and 37 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 704f6ee...50de270. Read the comment docs.


I wonder if you use Lambda L1 loss to train you model

Hi @hlwang1124 ,
I just checked your source code. And I have one question. You defined a variable called "Lambda L1 loss" in parser. But I am not able to find what you apply it. Can you tell me if you use it to train your model?
Thank you,

Hi, @Cli98 . We do not use it. It is from the original pytorch-CycleGAN-and-pix2pix.

Hi, @Cli98 . We do not use it. It is from the original pytorch-CycleGAN-and-pix2pix.

Good to hear from you and thank you for letting me know this.


removed wrong line

Purpose of this pull request
This pull request (PR) ...
Issue number:

Select the type of change:

[ ] Minor Changes - Typos, formatting, slight revisions
[X] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

@himanshu219 I think we should remove this line from the collection doc as we have made the solution storage account region independent now.

Closing this PR as I misunderstood the necessity of the doc line. It is indeed required.


[Display news:List view] The title of the article is partially displayed

Environment: Fedora Linux 36, Firefox 104.0 (64-bit).
Reproducible: always.
Build found: 12/Sep/22.
Preconditions

Go to https://www.testgreencity.ga/GreenCityClient/#/news
'Eco news' page is opened
Create a new article with a headline of at least 60 characters (e.g. ''XVI International specialized exhibition of ecologic products for the daily life")

Steps to reproduce

Click on 'Eco news' link in the header
Set size of page to 1440px, 1024px, 768px, 576px, 360px in turn
Click on the View as a List option
Pay attention created news UI - title should displayed fully

Actual result
The title of the article is partially displayed
https://jira.softserve.academy/secure/attachment/415118/Titles1440px.png
https://jira.softserve.academy/secure/attachment/415122/Titles1024px.png
https://jira.softserve.academy/secure/attachment/415119/Titles768px.png
https://jira.softserve.academy/secure/attachment/415120/Titles576px.png
https://jira.softserve.academy/secure/attachment/415121/Titles360px.png
Expected result
Title should displayed fully  https://www.figma.com/file/092AhCGadc1Hq8nAysxmYB/ITA-Greencity-УБС?node-id=12671%3A6371
https://www.figma.com/file/092AhCGadc1Hq8nAysxmYB/ITA-Greencity-УБС?node-id=12671%3A6429
https://www.figma.com/file/092AhCGadc1Hq8nAysxmYB/ITA-Greencity-УБС?node-id=12671%3A6458
User story and test case links
User story #460, #595

Duplicate https://github.com/ita-social-projects/GreenCity/issues/4509


BotBuilder 4.8 won't work with direct reference to Cosmos DB packages (3.2.0 or 3.7.0)

Version
4.8.0
Describe the bug
I am using .NET Core 2.1, Bot Builder 4.8.0. If you take the project and add the Microsoft.Azure.Cosmos package 3.7.0 and deploy the project to an App Service, the app service won't run. If you try to run the site manually from kudu, you get a "can't find package Microsost.Bot.Builder.Dialog.dll" error.
To Reproduce

Make bot project for 4.8.0
Add the Microsoft.Azure.Cosmos nuget package v 3.7.0
Deploy to an app service

You get this error:
An error occurred while starting the application.
.NET Core 4.6.28207.03 X86 v<IP_ADDRESS>    |   Microsoft.AspNetCore.Hosting version 2.1.1-rtm-30846    |    Microsoft Windows 10.0.14393    |   Need help?
I also tried adding version 3.2.0 and had the same result.
Expected behavior
Adding a package should work.
If I add the Microsoft.Bot.Builder.Azure pacakge, that will work...but I don't understand why I can't just add the reference directly.
[bug]

@Jeffders are some other steps or prereqs required to reproduce this?
The exact steps I followed:

downloaded the vsix: https://marketplace.visualstudio.com/items?itemName=BotBuilder.botbuilderv4

created an EchoBot

upgraded Microsoft.Bot.Builder.Integration.AspNet.Core to 4.8

added Microsoft.Azure.Cosmos 3.7.0

deployed to Azure from VS 2017, creating a new app service

the app service starts without issue: https://ericechobotdeploytest.azurewebsites.net/

@Jeffders I cannot repeat this, so I'm going to close it.


Support Kubectl Global Config

What would you like to be added:
Support setting global kubectl option for a cluster.
Why is this needed:
I had encounter an issue that when connecting to a cluster, kubectl showed error "specifying a root certificates file with the insecure flag is not allowed" which could be solved by add "--insecure-skip-tls-verify=true" to kubectl command. Since kubectl provides a common option, it would be nice to have the feature supported by lens.

Kubernetes distribution: [EKS, AKS, GKE, Rancher, ...]
Desktop OS: Windows

Can you just remove your CA and add insecure-skip-tls-verify: true to your kubeconfig if necessary.


Interaction Generator Error

Hi, in my logs (Application Insights, running on Azure, ASP.NET Core on full .NET 4.6.2 Framework) I sometimes get "Interaction Generator Error" (no exception, no stack trace, just a log entry with severity level "Error"). Category Name "IdentityServer4.Endpoints.AuthorizeEndpoint" on "GET /connect/authorize"
Reporting because maybe it is an issue, but in any case it would be good to know possible causes of this issue.

Shouldn't this be in the main repo?

Sorry!


378 use value tuples

ℹWork for issue #378

CMS Measures Passing before this PR: 340 / 1822 (18.7%)
CMS Measures Passing after this PR: 340 / 1822 (18.7%)

Removed all generated tuple types and changed them to native c# value tuples. Value tuples are structs, so the changes to nullability operators needed to be taken into account.
The PrettyTypeName method was changed to a new service, TypeToCSharpConverter, which writes out the type as an explicit c# syntax, or if it is a tuple, as a value tuple.
ExpressionConverter renamed to ExpressionToCSharpConverter
Removed the generation of the tuple assembly and binary resource

Other

LibrarySet debugger display now shows the name. (instead of the node and edge counts)
Application Dependency Graph updated

Application Dependencies (excl Logger and Options)
classDiagram
    direction TB

    %% HACK: Mermaid doesnt support commas withing generic, so use a similar looking character (﹐)

    namespace CSharpCode_Generate_And_Compile {
        class AssemblyCompiler {
%%            Compile(librarySet : LibrarySet,definitions : DefinitionDictionary~LambdaExpression~? = null) IDictionary~string, AssemblyData~
        }

        class TypeToCSharpConverter {
        }

        class CSharpLibrarySetToStreamsWriter {
        }

        class CSharpCodeStreamPostProcessor {
            ProcessStream(name : string, stream : Stream) void
        }

        class WriteToFileCSharpCodeStreamPostProcessor {
        }

        class AssemblyDataPostProcessor {
            ProcessAssemblyData(name : string, assemblyData : AssemblyData) void
        }

        class WriteToFileAssemblyDataPostProcessor {
        }
    }

    namespace Expression_Building {
        class LibrarySetExpressionBuilder {
            ProcessLibrarySet(librarySet : LibrarySet) DefinitionDictionary<LambdaExpression>
        }

        class OperatorsBinder {
        }

        class CqlOperatorsBinder {
        }

        class ContextBinder{
        }

        class CqlContextBinder{
		}

        class TypeConverter {
        }

        class ModelInspector {
        }

        class CqlCompilerFactory {
        }
    }

    namespace Fhir_Resource_Building {
        class ResourcePackager {
%%            PackageResources(elmDirectory : DirectoryInfo, cqlDirectory : DirectoryInfo, resourceCanonicalRootUrl : string? = null) IReadOnlyCollection~Resource~
        }

        class FhirResourcePostProcessor {
%%            ProcessResource(resource : Resource) void
        }

        class WriteToFileFhirResourcePostProcessor {
        }
    }

    namespace Cql_To_Resource_Pipeline {
        class CqlToResourcePackagingPipeline {
        }
    }

    namespace Application {
        class PackagerCliProgram {
        }

        class OptionsConsoleDumper {
        }
    }

%%    namespace Dependencies {
        class TypeManager {
            get_TypeResolver() TypeResolver
            get_TupleTypes() IEnumerable~Type~
        }

        class TypeResolver {
        }
%%    }

    %% Inheritance

    CqlOperatorsBinder --> OperatorsBinder : inherits
    CqlContextBinder --> ContextBinder : inherits
    WriteToFileCSharpCodeStreamPostProcessor --> CSharpCodeStreamPostProcessor : inherits
    WriteToFileAssemblyDataPostProcessor --> AssemblyDataPostProcessor : inherits
    WriteToFileFhirResourcePostProcessor --> FhirResourcePostProcessor : inherits

    %% Injected Dependencies

    TypeToCSharpConverter ..> CSharpLibrarySetToStreamsWriter : injected

    AssemblyDataPostProcessor ..> AssemblyCompiler : injected\n(optional)
    CSharpCodeStreamPostProcessor ..> AssemblyCompiler : injected\n(optional)
    CSharpLibrarySetToStreamsWriter ..> AssemblyCompiler : injected
    TypeManager ..> AssemblyCompiler : injected

    AssemblyCompiler ..> CqlToResourcePackagingPipeline : injected
    ILibrarySetExpressionBuilder ..> CqlToResourcePackagingPipeline : injected
    ResourcePackager ..> CqlToResourcePackagingPipeline : injected

    OptionsConsoleDumper ..> PackagerCliProgram : injected
    CqlToResourcePackagingPipeline ..> PackagerCliProgram : injected

    TypeResolver ..> CqlOperatorsBinder : injected
    TypeConverter ..> CqlOperatorsBinder : injected

    ModelInspector ..> TypeConverter : injected

    TypeResolver ..> TypeManager : injected

    TypeResolver ..> ResourcePackager : injected
    FhirResourcePostProcessor ..> ResourcePackager : injected\n(optional)

    TypeResolver ..> CSharpLibrarySetToStreamsWriter : injected

Convert back to draft -  Investigating integration tests


fix(readme): add argument to setup function

Copy-pasting the line from the README results in an error at setup since the argument to setup function is mandatory

Thank you!


[DNM] [PoC]  Pass system uuid as domain uuid and in sysinfo

This change is

First of commits is also separated to #713


[Bug] Execution failed: Error Failed to execute sql: org.apache.doris.common.AnalysisException: errCode = 2, detailMessage = Syntax error in line 2: BUILD DEFERRED REFRESH AUTO ON MANUAL ^ Encountered: BUILD Expected

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
2.1.1
What's Wrong?
使用官方文档上的 demo 创建物化视图报错
https://doris.apache.org/zh-CN/docs/query-acceleration/async-materialized-view/#注意事项
CREATE MATERIALIZED VIEW mv1
        BUILD DEFERRED REFRESH AUTO ON MANUAL
        partition by(l_shipdate)
        DISTRIBUTED BY RANDOM BUCKETS 2
        PROPERTIES ('replication_num' = '1')
        AS
        select l_shipdate, o_orderdate, l_partkey, l_suppkey, sum(o_totalprice) as sum_total
            from lineitem
            left join orders on lineitem.l_orderkey = orders.o_orderkey and l_shipdate = o_orderdate
            group by
            l_shipdate,
            o_orderdate,
            l_partkey,
            l_suppkey;

Execution failed: Error Failed to execute sql: org.apache.doris.common.AnalysisException: errCode = 2, detailMessage = Syntax error in line 2: BUILD DEFERRED REFRESH AUTO ON MANUAL ^ Encountered: BUILD Expected
What You Expected?
能正确创建异步物化视图
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

论坛
已解决


[stable/consul] add flag to support ipv6

What this PR does / why we need it:
Current chart hardcode IPv4 address (<IP_ADDRESS>) as bind and client address, the chart cannot be deployed to an IPv6-only environment.
Which issue this PR fixes
Special notes for your reviewer:
The new flag forceIpv6 is default to false so it does not change default behavior of the chart, people who need IPv6 can change that to true to listen on ::
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @maorfr

LGTM. I've tested this, and it works with IPV6.

/ok-to-test

/lgtm


Update home.css

There are a little more space between "ul" and ".header.marketing", I deleted them. And I think maybe ",ul " is wrong, so I changed it into ".ul ", hope can be helpful!

Thank you!


[Scheduling Tool] Limit the number of meetings teams can schedule

We started to see that some of the teams using the scheduling tool are scheduling many meetings in advance. Some even scheduling 1 meeting every week for a full month. Often these are just place holders in case the team is ready to meet with the arch board at that time but often end up getting rescheduled or cancelled. I propose we limit the number of meetings a team can schedule to at most 2 upcoming meetings. This way teams cannot fill up the calendar with place holder meetings.
@kyle-patterson @ladonnaq @maririos

Yeah definitely a behavior we have been seeing. How do you want us to manage this?

2 upcoming meetings for a month?
2 upcoming meetings in the same week?

As for the who:

Should the filtering happen by Service name + Product Name (not available yet in the tool but it is in the works) + Sub service name ?
Or is there another option/combination we should look into?

As for the experience, what would you like for it to happen?

Error with a specific message? what message?

My recommendation would be a service team can only have 2 upcoming meetings. So, if they scheduled two meetings, they wouldn't be able to schedule another until one of their meetings occurs.
For the who, I think you have it right. The service name + product name.
The message should say something along the lines of: "Service teams can have no more than 2 standing meetings at a time. Please wait until after one of your scheduled meetings to schedule another. If this is related to something urgent, please consider adding this topic into one of your already scheduled review sessions."

Break out the work for this feature into a roadmap

Work to do:
The trigger will be when a user selects a product. Then:

Determine if a service-product has 2 In-progress meetings scheduled for meeting type arch board.
If so:

Create button should be disabled
Have a pop-up with the message:

Service teams can have no more than 2 standing meetings at a time. Please wait until after one of your scheduled meetings to schedule another. If this is related to something urgent, please consider adding this topic into one of your already scheduled review sessions.
The pop-up should have a button that says Ok or something like that. when clicked, I think it will be better to go back to the List meetings screen

Lowering the priority


update(pkg/driverbuilder): debian support for cloud-amd64 extraversion

Co-Authored-By: Leonardo Di Donato<EMAIL_ADDRESS>Signed-off-by: Lorenzo Fontana<EMAIL_ADDRESS>What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area pkg
What this PR does / why we need it:
@danpopSD reported that they wanted to try Falco on a  4.19.0-10-cloud-amd64 kernel.
This PR makes sure that driverkit does not ignore the cloud extraversion and thus can build for said kernel group.

Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
new: build support for debian cloud-amd64 kernels

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign fntlnz
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 14e2e4f035d936da4c101020ee64f3fc526d1fc8

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leodido
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leodido]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


x/mobile: go interfaces become objc protocol and interface with the same name

What version of Go are you using (go version)?

$ go version
go version go1.12.5 darwin/amd64

Does this issue reproduce with the latest release?
The go version is irrelevant, as this is a problem with gomobile.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/jon/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/jon/go"
GOPROXY=""
GORACE=""
GOROOT="/Users/jon/tmp/go-1.12.5/go"
GOTMPDIR=""
GOTOOLDIR="/Users/jon/tmp/go-1.12.5/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/gr/_fggz35x6vj7r2yb0rg8hky40000gq/T/go-build207061710=/tmp/go-build -gno-record-gcc-switches -fno-common"

Report (with a fix)
gomobile bind -target ios does not allow one to declare an interface in go, subclass that interface in swift, and then pass an instance of that subclass to go. When the instance is passed to go a runtime error occurs:
go_seq_go_to_refnum on objective-c objects is not permitted'

Essentially my code is
x.go
package gostuff
type Machine interface {
   Work(data string)
}
func Run(machine Machine){ ... }

x.swift
class MyMachine: gostuffMachine {
   func work(_ data:String!){
   }
}
let m = MyMachine()
gostuffRun(m) // this line causes the runtime exception

The exception is really thrown in the generated code for Run when the incoming objc object is converted to a refnum.
if ([machine conformsToProtocol:@protocol(goSeqRefInterface)]) {
     id<goSeqRefInterface> machine_proxy = (id<goSeqRefInterface>)(machine);
       _machine = go_seq_go_to_refnum(machine_proxy._ref); // I believe its this line
 } else {
    _machine = go_seq_to_refnum(machine);
}

As far as I can tell this is because gostuffMachine has two declarations, one as a @protocol and one as an @interface
@protocol Machine <NSObject>
- (void) work:(NSString* _Nullable) data;
@end

@interface Machine: NSObject<goSeqRefInterface, Machine> {
}
- (nonnull instancetype)initWithRef:(_Nonnull id)ref;
- (void) work:(NSString* _Nullable) data;
@end

When the swift side goes to implemet Machine it picks up the one declared as an interface rather than the protocol (I'm not an objc/swift expert so I don't understand the subtleties here). In any case, the interface version has an initWithRef constructor that only the go code knows how to call when a Machine instance is constructed from go. When swift creates a subclass of Machine it does not call the initWithRef constructor, so _ref is null, and ultimately when the C code gets to
if ([x conformsToProtocol:@protocol(goSeqInterface)])

This condition is true, due to the interface inheriting from goSeqRefInterface, and then the C code dies at trying to invoke go_seq_go_to_refnum(machine_proxy.ref).
The fix I have made so far is to append the word Protocol to the protocols generated by genobjc.go. Essentially this patch:
diff --git a/bind/genobjc.go b/bind/genobjc.go
index 7595fa0..f99ee40 100644
--- a/bind/genobjc.go
+++ b/bind/genobjc.go
@@ -168,7 +168,7 @@ func (g *ObjcGen) GenH() error {
                g.Printf("@class %s%s;\n", g.namePrefix, s.obj.Name())
        }
        for _, i := range g.interfaces {
-               g.Printf("@protocol %s%s;\n", g.namePrefix, i.obj.Name())
+               g.Printf("@protocol %s%sProtocol;\n", g.namePrefix, i.obj.Name())
                if i.summary.implementable {
                        g.Printf("@class %s%s;\n", g.namePrefix, i.obj.Name())
                        // Forward declaration for other cases will be handled at the beginning of GenM.
@@ -874,7 +874,7 @@ func (g *ObjcGen) genInterfaceInterface(obj *types.TypeName, summary ifaceSummar
        }
        prots := []string{"goSeqRefInterface"}
        if isProtocol {
-               prots = append(prots, fmt.Sprintf("%[1]s%[2]s", g.namePrefix, obj.Name()))
+               prots = append(prots, fmt.Sprintf("%[1]s%[2]sProtocol", g.namePrefix, obj.Name()))
        }
        g.Printf(" <%s>", strings.Join(prots, ", "))
        g.Printf(" {\n}\n")
@@ -899,7 +899,7 @@ func (g *ObjcGen) genInterfaceH(obj *types.TypeName, t *types.Interface) {
                g.genInterfaceInterface(obj, summary, false)
                return
        }
-       g.Printf("@protocol %s%s <NSObject>\n", g.namePrefix, obj.Name())
+       g.Printf("@protocol %s%sProtocol <NSObject>\n", g.namePrefix, obj.Name())
        for _, m := range makeIfaceSummary(t).callable {
                if !g.isSigSupported(m.Type()) {
                        g.Printf("// skipped method %s.%s with unsupported parameter or return types\n\n", obj.Name(), m.Name())

This question was asked on stack overflow: https://stackoverflow.com/questions/50815664/gomobile-binding-callbacks-for-objc
and that question was also added to the end of an old gomobile issue but left unaddressed: https://github.com/golang/go/issues/17102#issuecomment-395832885
Anyway, I was initially quite confused about the default behavior of gomobile. Based on the following blog post I had assumed this would all work out fine: https://medium.com/@matryer/tutorial-calling-go-code-from-swift-on-ios-and-vice-versa-with-gomobile-7925620c17a4
In fact that blog post does exactly what I'm trying to accomplish, and even says the protocol name ends with Protocol, yet clearly the genobjc.go file in gomobile does not name protocols this way. The naming of protocols seems to have been done in bf2ca7a93b02169b6f8c221ba13b22919a728994, from 2015.
I have not tested this change with pure objc projects, but I don't think it breaks any functionality there (except for changing naming, same as in swift).
If you need a small test case I can produce one.

Ugh nevermind on this, it was my mistake. The objc protocol can be used directly in swift already by appending the Protocol name.
The generated x.h objc header
@protocol Machine
@end
@interface Machine
@end

class MyMachine: MachineProtocol {
}

Now everything works fine, I can pass an instance of MyMachine directly to go.
I also see that the medium blogpost I referenced discuss this exact point, but I glossed over it before. It would be useful if the gomobile documentation referenced this point perhaps.


Websocket on CEX.io

Why not use Websocket API on CEX.io ? Rest API has very low rate limit.

Because the websocket require a very different architecture than the one being used by all the others exchange.
Websocket could be more interesting since it's the server that calls back on new period but it require lots of changes.

This issue was moved to highvelocityspace/zenbot#74

Dear issue reporter,
We have slightly changed our github issue policy and would now kindly request folks that have questions that they ask them in our zenbot subreddit.
You can find it here: https://reddit.com/r/zenbot
This issue will be closed, but if you disagree with your ticket being marked as a question feel free to leave a comment defending your case.
Thanks for contributing time and effort!
Greetings,
🤖


Trouble building on Windows

When I follow the windows build instructions, I see the following error message:
PS C:\Users\duryanro\nvui> cmake -B build . -DCMAKE_TOOLCHAIN_FILE=.\vcpkg\scripts\buildsystems\vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -G Ninja
CMake Error at CMakeLists.txt:37 (find_package):
  Could not find a package configuration file provided by "msgpack" with any
  of the following names:

    msgpackConfig.cmake
    msgpack-config.cmake

  Add the installation prefix of "msgpack" to CMAKE_PREFIX_PATH or set
  "msgpack_DIR" to a directory containing one of the above files.  If
  "msgpack" provides a separate development package or SDK, be sure it has
  been installed.

It's my understanding that vcpkg should handle installing dependencies like msgpack for me - are the build instructions missing a step?
I have the vcpkg git submodule cloned (I cloned nvui with recursive submodules like the instructions say)
Thanks! Excited to see how this compares to Neovide, once I can get it building :)

Try using cmd for that step, I was having that problem using powershell.

Also beware, it takes a long time to build mainly because of Qt.

I get the same error message if I use cmd instead of powershell

That's weird. Did you clear the CMake files from the build folder before trying again using cmd?

Deleting the cache helped, thanks!


📃: Para-generator

:red_circle: Title : Para-Generator
:red_circle: Aim : It a para-generator web application. In this users only have to enter Number of words. It will automatically generate para with that number of words
:red_circle: Tech Stack Used :  HTML, CSS, JavaScript
Screenshots 📷

:white_check_mark: To be Mentioned while taking the issue :

Full name : Roushan Singh
What is your participant role?
GSSoC ext and Hacktoberfest contributor

Title : Para-Generator
Aim : It a para-generator web application. In this users only have to enter Number of words. It will automatically generate para with that number of words
Tech Stack Used : HTML, CSS, JavaScript
Name Sanat Kumar Gupta
Participation : gssoc'24 ext, hackoctober
I have implemented this project on my local device. I would like you to assign this to me.

If there is any change required do let me know.
Thank you!


agm-oms 1.0.0

When stable version of agm-oms will be available? When I am using @agm/core 1.0.0 and agm-oms 1.0.0-beta.5 I am getting errors like:
TypeError: Class constructor MarkerManager cannot be invoked without 'new'
    at new SpiderManager (spider-manager.js:17)
    at createClass (core.js:31990)
    at _createProviderInstance$1 (core.js:31962)
    at createProviderInstance (core.js:31775)
    at createViewNodes (core.js:44194)
    at callViewAction (core.js:44659)
    at execComponentViewsAction (core.js:44564)
    at createViewNodes (core.js:44238)
    at callViewAction (core.js:44659)
    at execComponentViewsAction (core.js:44564)

We don;t maintain agm-oms. Contact @amorimdev


Adding expression score to XLSX report.

Fixes #101

Coverage increased (+0.02%) to 89.163% when pulling 1d53ccffa99aee48cfb12d10ad51ad615163793d on add-expression-info-to-xlsx into f380b80df11ba4e7429065cbd413126b4d6f78b1 on master.


changing a few config options breaks the charm

Steps to reproduce

deploy landscape bundle as attached
add a few hundred landscape clients
wait for things to settle
charm config changes

juju config postgresql memory_shared_buffers=3128 memory_max_prepared_transactions=500

Heres the bundle I used (attached the yaml as a txt file):
landscape-bundle.txt
Expected behavior
For things to work
Actual behavior

the charms seems to completely break down
units are stuck executing hooks like so
longer trace:
landscape-trace.txt
15 Feb 2024 17:06:38Z  workload   active
15 Feb 2024 17:06:39Z  juju-unit  executing    running commands
15 Feb 2024 17:06:40Z  juju-unit  executing    running restart-relation-changed hook
15 Feb 2024 17:06:41Z  juju-unit  executing    running restart-relation-changed hook for postgresql/1
15 Feb 2024 17:06:42Z  juju-unit  executing    running database-peers-relation-changed hook for postgresql/1
15 Feb 2024 17:06:53Z  workload   waiting      Awaiting restart operation
15 Feb 2024 17:06:54Z  workload   active

Versions

Operating system: DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

Juju CLI: 2.9.46

Juju agent: 2.9.46

Charm revision: 351
postgresql        14.9     maintenance    0/3  postgresql        14/stable      351  no       Beginning rolling restart

LXD:
Log output

Juju debug log:

unit-postgresql-0: 17:00:47 ERROR unit.postgresql/0.juju-log database-peers:4: Failed to get PostgreSQL version: connection to server at "<IP_ADDRESS>", port 5432 failed: FATAL:  the database system is shutting down

unit-postgresql-0: 17:00:47 ERROR unit.postgresql/0.juju-log database-peers:4:
Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 393, in get_postgresql_version
    with self._connect_to_database() as connection, connection.cursor() as cursor:
  File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 115, in _connect_to_database
    connection = psycopg2.connect(
  File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/psycopg2/__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server at "<REDACTED>", port 5432 failed: FATAL:  the database system is shutting down

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-postgresql-0/charm/src/relations/db.py", line 291, in update_endpoints
    postgresql_version = self.charm.postgresql.get_postgresql_version()
  File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 399, in get_postgresql_version
    raise PostgreSQLGetPostgreSQLVersionError()
charms.postgresql_k8s.v0.postgresql.PostgreSQLGetPostgreSQLVersionError
unit-postgresql-0: 17:00:47 INFO juju.worker.uniter.operation ran "database-peers-relation-changed" hook (via hook dispatching script: dispatch)
unit-postgresql-0: 17:00:48 INFO unit.postgresql/0.juju-log Cluster topology changed
unit-postgresql-0: 17:00:48 ERROR unit.postgresql/0.juju-log Failed to get PostgreSQL version: connection to server at "<IP_ADDRESS>", port 5432 failed: Connection refused
        Is the server running on that host and accepting TCP/IP connections?

unit-postgresql-0: 17:00:48 ERROR unit.postgresql/0.juju-log
Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 393, in get_postgresql_version
    with self._connect_to_database() as connection, connection.cursor() as cursor:
  File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 115, in _connect_to_database
    connection = psycopg2.connect(
  File "/var/lib/juju/agents/unit-postgresql-0/charm/venv/psycopg2/__init__.py", line 122, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: connection to server at "<REDACTED>", port 5432 failed: Connection refused
        Is the server running on that host and accepting TCP/IP connections?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-postgresql-0/charm/src/relations/db.py", line 291, in update_endpoints
    postgresql_version = self.charm.postgresql.get_postgresql_version()
  File "/var/lib/juju/agents/unit-postgresql-0/charm/lib/charms/postgresql_k8s/v0/postgresql.py", line 399, in get_postgresql_version
    raise PostgreSQLGetPostgreSQLVersionError()
charms.postgresql_k8s.v0.postgresql.PostgreSQLGetPostgreSQLVersionError

Additional context

wanted to add that at this point landscape (that uses pgsql) is done with server errors.

unsetting the config options gets the postgresql charm into a "working" state again, but landscape is still down after this fiasco

I'm unable to reproduce locally with latest 14/edge (rev. 378) on Juju 2.9.46. Please recheck.

Hi, @nishant-dash. No, I'm unable to replicate locally for either 351 or 363 (latest 14/stable). What I'm deploying is the landscape-scalable bundle against a 3 unit deployment of the charm with the config options set (memory_shared_buffers=3128 memory_max_prepared_transactions=500)

I think the error happens transiently, when the charm is checking for configurations against the database (request_time_zone, instance_default_text_search_config and request_time_zone). If the charm cannot connect at the time to the DB. We should most probably not check if the values are the default (currently the charm checks for None, but the defaults would be set) and defer if the database is not available.

Latest 14/edge (Rev. 380) should check configs against the database only on config change and defer if the database is not available.


Timing and delays in simulation.

Overview of the problem
Delay
CircutVerse gives a user an ability to use a setting called delay which is definitely not working like delay should work (it doesn't affect the time).  Although the delay in some cases may seem like a "slowing factor" of an element, in reality it is not. Currently, the delay is used in a queue as a priority of an element, which is good for a lot of cases (not all of them) but is not really accurate.
Tick counter/Timer
I feel like current implementation is missing a timer or a tick counter that would synchronize everything that is being simulated. There are currently elements such as clock, flag, and simulation steps that are strictly time-related. What may be surprising is that they are (from what I understood from the source code) completely unsynchronized with each other, ie they all use different timing methods. Of course, they shouldn't all fire at the same time, but they should all be part of one mechanism.
My solution
What I propose is to create a system that would,  create ticks one after another with timeouts between each, which would affect all the time-related elements on the page. Such solution would create a possibility for future more advanced simulation manipulations (such as speed manipulation or stoping). Sadly I don't think Javascripts custom event system can be used here, as there is no way to check if all event handlers have done their job. That is why I think that implementation would need an object with an array that would contain promises. The controlling class would call all the functions, wait for them, wait after that and make a loop. Such solution wouldn't really affect whole code, other than changing current queue and current time-related elements as well as delay values, as they should in my opinion contain information after how many ticks they would propagate (maybe even time in ms or ns).
Conclusion
I have not started doing such change as I am not sure if it will be approved, but I am pretty sure it would be possible to make it. Also I think that time based simulation may eliminate simulation limit problems when the circuts are invalid.

@Mazurel , sorry for lack of activity, We have incorporated some of your suggestions in #1929


Make amendments to the installation netowrking requirements

Fixes #3991

I think most Rancher users wouldn't know what the Ember UI is because it's in implementation detail. Can we say something like:

If a server containing Rancher has the X-Frame-Options: DENY header, some pages in the new Rancher UI will not be able to render after upgrading from the legacy UI. This is because some legacy pages are embedded as iFrames in the new UI.

Addressed in the latest commit.


Not able to import inf from torch._six [BUG] Issue title...

Describe the bug
I tried to reproduce submitit_pretrain.py by running:
python submitit_pretrain.py     --job_dir '/home/yewei/ye_wei/jarvis/scripts/mae/experiments'     --nodes 1     --batch_size 64     --model mae_vit_large_patch16     --norm_pix_loss     --mask_ratio 0.75     --epochs 800     --warmup_epochs 40     --blr 1.5e-4 --weight_decay 0.05     --data_path '/home/yewei/ye_wei/jarvis/scripts/hy-tmp/gen1/images/train' --accum_iter .5
but met the following error:
Traceback (most recent call last):
File "/home/yewei/ye_wei/jarvis/scripts/mae/submitit_pretrain.py", line 15, in
import main_pretrain as trainer
File "/home/yewei/ye_wei/jarvis/scripts/mae/main_pretrain.py", line 30, in
import util.misc as misc
File "/home/yewei/ye_wei/jarvis/scripts/mae/util/misc.py", line 21, in
from torch._six import inf
ModuleNotFoundError: No module named 'torch._six'
Please advise. Thank you!
Desktop (please complete the following information):

OS:  Ubuntu 22.04.1
PyTorch version: 2.0.1+cu118; Python 3.9.13
GPU:  NVIDIA RTX A5000 * 4

I submitted the bug to a wrong place. Sorry for any incovenience!

This code, https://colab.research.google.com/github/facebookresearch/mae/blob/main/demo/mae_visualize.ipynb,
works with the following libraries.


mjs module is using require()

I'm getting a  require is not defined error. (Actually getting Error: You must install psl library, but the real error is just swallowed by the catch…).
This is probably because, this package defines an ESM entry point:
  "exports": {
    "require": "./dist/extract-domain.js",
   // here =>
    "default": "./dist/extract-domain.modern.mjs"
  },

But the file extract-domain.modern.mjs is using a dynamic require to get psl on demand here.
which ends up in the .mjs-file.
The thing is, require does not exist in Node ESM.
In other words: The file is stating I'm ESM, while using a CJS-only feature.

IMO, this line inside the runtime should be at the top level so it throws at startup instead of in the runtime execution. It should also be converted to an import and the build step can make the appropriate cjs/mjs builds.
try {
            const psl = require('psl');
            return psl.get(url.slice(offsetStart, offsetPath));
        } catch (_e) {
            throw new Error(
                'You must install psl library (https://www.npmjs.com/package/psl) to use `tld` option'
            );
        }

Currently looking into fixing this @nickluger
Drawback is of course I have to make the code async if the PSL library is used, which makes this a breaking code change.
@crobinson42 I understand what you mean by putting it at the top level, but in that case I can't really load it on demand as the lib huge<EMAIL_ADDRESS>


add 'modality' to glossary

I've seen the word 'modality' used in different context, for instance /anat and /func defined as 2 (MRI) modalities. Within BIDS, these are not since under 'Modality specific files', what is listed is different data types based on technology.
Proposal: a modality corresponds to a technology-driven data type (MRI, MEG, EEG, Behaviour, Eye tracking, etc) and does not separate within modality (e.g. anat vs. func).

ah of course @robertoostenveld was on the case :-)
Having browsed the different items mentioned above, I do see an issue with name inconsistency I do like your proposal 593 with instruments and data types +1
The spec tree would therefore organize along those two names, with data types as top-level folders for data. What happens to the word modality after that?

You may want to have a look at some of my notes that relate to this, see my BIDS bigger picture google doc. It aims to clarify instruments, modalities and suffixes.

I did :-)  and instrument/data type sounds good to me (still not defining what modality would be after that)


Extension should report failure if formatting / binary execution fails

Currently problems like https://github.com/prisma/vscode/issues/40 mean that the extensions sometimes just does not work. It would be much nicer if in such cases the extension would at least report the failure to the user somehow.
That way users need to be confused less, and would probably also be able to report more of these failures.

I think the API is: https://code.visualstudio.com/api/extension-capabilities/common-capabilities#display-notifications

This might need a reproducible crash of the binary for testing.

@janpio I guess we can use a binary from a different platform to simulate a crash

If the error is for example:
prisma-fmt error'd during linting. Error: spawn UNKNOWN Error: spawn UNKNOWN     at ChildProcess.spawn (internal/child_process.js:394:11)     at Object.spawn (child_process.js:553:9)     at Object.exec [as default] (c:\Users\CarmenB\source\prisma\vscode\server\out\exec.js:5:33)     at Object.<anonymous> (c:\Users\CarmenB\source\prisma\vscode\server\out\lint.js:19:48)     at Generator.next (<anonymous>)     at c:\Users\CarmenB\source\prisma\vscode\server\out\lint.js:8:71     at new Promise (<anonymous>)     at c:\Users\CarmenB\source\prisma\vscode\server\out\lint.js:4:12     at Object.lint [as default] (c:\Users\CarmenB\source\prisma\vscode\server\out\lint.js:17:12)     at c:\Users\CarmenB\source\prisma\vscode\server\out\server.js:90:41 {   errno: 'UNKNOWN',   code: 'UNKNOWN',   syscall: 'spawn' }
This error message is shown in the output already. Would it be enough to only show
prisma-fmt error'd during linting. Error: spawn UNKNOWN as an error display notification?

@janpio I guess we can use a binary from a different platform to simulate a crash

As this functionality will also need to be covered by the automated tests, manually replacing files is not enough @pantharshit00.

@janpio I guess we can use a binary from a different platform to simulate a crash

As this functionality will also need to be covered by the automated tests, manually replacing files is not enough @pantharshit00.

For testing, I could just mock the function calling the binary and simulate a crash, or do you want to test something else?

No, that sounds fine as well if it gives you confidence in the functionality.

@janpio I can't find a way to automatically test this behaviour neither in a unit test nor in an integration test. Maybe someone else has an idea for this?


Trying to open a session on ec2 ubuntu server

Getting this error
Cannot proxy the connection to the target HTTP server: dial tcp <IP_ADDRESS>:8000: connect: connection refused tty-share.
What would be causing this? I tried two different internet connections with no luck.

I've tried both a local VM and ec2 instance.

@noahjaskolski pls show how you're running it (and tty-proxy if you're running your instance), it's hard to figure out otherwise.
Also check to see that you're not running anything else on port 8000, or use the -listen param if you do and choose another port.
Could also be that you may have a firewall that blocks connections, although it's localhost, so probably not the case?

Closing it for now, @noahjaskolski . Feel free to open it if you haven't managed, and I'll try to help based on new info you come back with.


Nav bar sometimes displays jibberish

at least on the first render, fixes after refreshing

Also corrects after changing any property on div>.ripple-wrapper


Missing parent: GO:0004583 dolichyl-phosphate-glucose-glycolipid alpha-glucosyltransferase activity subclasses

GO term ID and label for which you request a new superclass

It seems that, based on definition and annotations
GO:0106073  dolichyl pyrophosphate Glc2Man9GlcNAc2 alpha-1,2-glucosyltransferase activity
Catalysis of the addition of the third glucose residue to the lipid-linked oligosaccharide precursor for N-linked glycosylation; the transfer of glucose from dolichyl phosphate glucose (Dol-P-Glc) on to the lipid-linked oligosaccharide Glc(2)Man(9)GlcNAc(2)-PP-Dol. PMID:9597543
and
GO:0042281 | dolichyl pyrophosphate Man9GlcNAc2 alpha-1,3-glucosyltransferase activity
Catalysis of the addition of the first glucose residue to the lipid-linked oligosaccharide precursor for N-linked glycosylation; the transfer of glucose from dolichyl phosphate glucose (Dol-P-Glc) on to the lipid-linked oligosaccharide Man(9)GlcNAc(2)-PP-Dol.
and
GO:0042283 | dolichyl pyrophosphate Glc1Man9GlcNAc2 alpha-1,3-glucosyltransferase activity
Catalysis of the addition of the second glucose residue to the lipid-linked oligosaccharide precursor for N-linked glycosylation; the transfer of glucose from dolichyl phosphate glucose (Dol-P-Glc) on to the lipid-linked oligosaccharide Glc(1)Man(9)GlcNAc(2)-PP-Dol. [PMID:12480927]
should be is_a
GO:0004583 dolichyl-phosphate-glucose-glycolipid alpha-glucosyltransferase activity
Catalysis of the transfer of an alpha-D-glucosyl residue from dolichyl-phosphate D-glucose into a membrane lipid-linked oligosaccharide.

New superclass (parent) suggested

Reference(s), if appropriate
PMID:nnnnnnn

Feedback from Ben Kellman (expect contacted by Frederique Lisacek):
I am not an experienced curator, so I can't comment with certainty on the meaning of parentage. However, I have spent time in glycan biosynthesis, so I may be of help there.
Since you work in yeast, you are likely aware of ALG genes. For citations, PMID:11425794 provides some useful citations in the broader context of Dolichol-P-P-GlcNAc2Man9Glc3 biosynthesis. The final paragraph references the yeast knockouts that uncovered the alg genes responsible for the process.
Here is a more modern figure summarizing the process and context:
image.png
Essentials of Glycobiology [Internet]. 4th edition. Cold Spring Harbor (NY)
I'm pointing at the whole process because when I think of the dolichol-P-glycan precursor to N-glycosylation, I rarely think specifically of the terminal tri-glucose additions. Over a dozen enzymes are responsible for building N-glycan precursor. That said, these three enzymes are similar in that they share a precursor, glucose.
In summary, I think your proposal makes sense due to the similarity of these reactions. And, provided some structure already exists surrounding the context of these three reactions. E.g.:
N-glycan biosynthesis
N-glycan precursor biosynthesis
dol-P synthesis
cytosolic
glcnac additions
DPAGT1, 13/14
mannose additions
ALG1, 2, 2, 11, 11
in ER
flip dol-PP-glycan into ER
mannose additions
ALG3, ALG9, ALG12, ALG9
glucose additions
ALG6, ALG8, ALG10
dolichol to protein transfer ....
Hope this is helpful,
Ben

I agree with the suggestion to create a new superclass for these three genes.

Thanks both I will add!


New Incidents stable version

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[x] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[ ] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Hi @PhoenixHe-msft ,
Can you please add the label "DoNotMerge"?
I don't want it to automatically merge after approval.
Thank you :)

Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

I tried to add you as reviewers, please review :)
@dosegal
@laithhisham
@anat-gilenson

/azp run

Hi @PhoenixHe-msft
Can you please remove the "DoNotMerge" label and help with the review process?
Sorry it took so long, we are looking forward to finishing this :)
Thanks!

@roherzbe is the new apiVersion deployed in prod?

@leni-msft yes, the new apiVersion is deployed to prod.
All that is left is to merge the PR  :)
Is there anything missing?


KOGITO-5074: Multi-file support in .new

This PR introduces the new Multi-file capabilities to the online-editor package.
A more detailed description of this task can be found in the Jira and its related epics:
https://issues.redhat.com/browse/KOGITO-5984

A working version of the features introduced in this PR can be found here:
https://kiegroup.github.io/kogito-online-staging/multifile-v7

Other changes on this PR, necessary to have the main features on online-editor implemented.

Chrome Extension: Changed icons
Chrome Extension: Removed feature to open single files on Online Editor. Now you can open the entire repository by pressing a button. Everything else is the same.
Added two new packages that re-build the contents of feel-input-component and boxed-expression-component. These packages are used on unitables, which is a new package that implements uniforms as a table. The default implementation is custom-made for DMN schemas, but it is possible to make it generic so that in the future other types of schemas are supported.
dmn-json-schema-generator was incorporated by dmn-dev-sandbox-quarkus, which is the app that runs the DMN models when we deploy them to OpenShift.
online-editor webapp now runs on https. This is necessary to test the DMN Dev Sandbox feature locally.
Bumped Quarkus to 2.4.0.Final and Kogito to 1.12.0.Final.
Removed frontend-maven-plugin from dashbuilder-js, as it was causing more problems and it is not necessary, to be honest.
Upgraded PatternFly. Some snapshot tests needed to be updated because this new version adds OUIA attributes by default. Also, some locators in IT tests changed to be compliant with the new ouiaId prop for some PF components.
Some libraries were upgraded as well. (e.g. react-router)
The DMN Dev Sandbox app now supported multiple files, and it's possible to switch between them after the deploy.
Some minor infrastructure changes on editor, like renames and refs.
Ignoring Keyboard Shortcuts for an entire DOM tree is now possible with the useElementsThatStopKeyboardEventsPropagation hook. We use that on the DMN Runner table.
Changed the default name of new files from "new-file" to "Untitled".
New patches for:

LightningFS: We actually have opened a PR directly on the library, but we got no feedback. We'll be using a patched version until we decide what to do.
LightningFS types: To reflect the features we added.
Feel Input: Changing imports
Boxed Expression: Changing imports

The (build) kie-tools-stunner-editors check has failed. Please check the logs.


added debugging for replication-fuzz fails

Port some debug improvements from 3.4 to devel

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/3914/