Puigde/fix custom description from data source params

Last Week I added a feature to add customDescriptions to SqlDatabases. The logic works well if assign the property after db init but it is broken in fromDataSourceParams init.
The reason is because at the time of adding the param in the constructor the allTables property is undefined. So the code does not accept any field for customDescription (see code details in the issue description).
This PR fixes that by:

moving the customDescription assignation after the allTables is set
adding test

Fixes #2453

Weird, thank you! Must have been missed from the start? Since it looks like allTables isn't even an accepted field on the constructor at all.


make the Terms of Use configurable

As the Repository Admin, I need to easily configure the text of the Terms of Use that is displayed to viewers from the repository home page, to include terms that are customized to the requirements of my local institution.
I need to apply basic formatting to the text and to be able to include active links.
I would expect to be able configure the text in the Admin Dashboard, in the Content Blocks section under Settings.

This page is getting a little full already.  Design needed?

It might only be a short- or medium-term solution, but we could move About Page and Help Page into a similar but new section called "Pages," leaving the others in "Content Blocks." So the Settings menu choices would become:

Labels
Appearance
Pages
Content Blocks
Technical

That would allow for a bit more future expansion in both the Pages and Content Blocks sections before we'd face this issue again (at which point I think might consider doing something more flexible with content blocks rather than just adding more static, named ones).

@ggeisler I really like the idea of splitting these out into two separate views: Pages and Content Blocks

Blocked by #538.

No longer blocked.

Done


Empty file creation even on encoding failure.

if an image can't be encoded, at this moment, an empty file will still be created

Can't replicate issue right now ;).


feat: adding copilot-max-char-warning-disable variable

During editing large org file or source code file, the warning could be annoying.
Added a variable to control the msg go to warning, or mini buffer (message)

I have no objection to this, but I might let other maintainers decide whether this should be merged. 🤔

just chiming in to say that this feature could be a useful solution for the problem described in #313


Issue #210 update TCK and doc for Jakarta EE 9 packages

Updates the TCK and a couple of code examples in the documentation to use jakarta packages.
This is hopefully all we need to change with respect to code for the Jakarta EE 9 alignment effort.
See #210 for more detail.
Signed-off-by: Nathan Rauh<EMAIL_ADDRESS>

I tested out the jakarta-based TCK against Open Liberty, where it passes at 86%.  It should be noted that some tests are expected to fail because they require MP Config, of which a release that supports jakarta packages does not yet exist.  So this looks good, and I'll also look into creating an RC build that others can experiment with as well.


Improve didcomm error handling

Is this a regression?
No
Description
Recently @robertocarvajal reported an issue in the Identus typescript edge agent sdk where after starting the agent he was getting a weird Error around usage of URL.
Quickly we find out that the root cause if that they are using an outdated mediator version, moving to the more recent mediator versions fixed the issue.
We should improve error handling in those places where URL is being used and return a more accurate error message. The exception is being cached already but the problem is the error is 0 descriptive and would be helpful for developers to know about it.
Please provide the exception or error you saw
Failed to Construct, invalid URL. The reason is because the mediator URL was wrong due to using an outdated incompatible version of the mediator.

The error is triggered in a private function of Mercury, the component responsible of didcomm communications.

source: src/mercury/Mercury.ts around line 177.

private getDIDCommURL(document: Domain.DIDDocument): URL | undefined {
    const uri = document.services.find((x) => x.isDIDCommMessaging)
      ?.serviceEndpoint?.uri;
    if (uri) {
      return new URL(uri);
    }
    return undefined;
  }

Please provide the environment you discovered this bug in
No response
Anything else?
No response

Merged


ACK'd alert set to open next time the alert is received

When an alert is ACK'd, and new duplicate alert is received, the alert switches from ACK to Open, not sure if this is intended or not, but I would have thought it should stay ACK'd, but have text, value etc.. updated?
To add some context, I have alerts pushing into alertad every 5 minutes (because alerts are cheap).

It should only reopen if the severity of the new alert is higher than the currently Ack'ed alert. See state-based browser in the docs. I've just tried to recreate the issue and I can't ...
step 1 send and alert, ack it, send a duplicate
alerta send -E Production -S Test -r node1 -e BadDisk -s warning
fe26a33c-0cab-476c-8b42-05a5ba8c44b5 (unknown -> warning)
# ack alert in console
alerta send -E Production -S Test -r node1 -e BadDisk -s warning
fe26a33c-0cab-476c-8b42-05a5ba8c44b5 (1 duplicates)
# => open or ack?

step 2 confirm current status is "ack"
alerta query --filter event=BadDisk --details
fe26a33c|2016/09/29 17:16:12|warning|    1|-|Production|Test      |node1             |Misc        |BadDisk         |n/a
    status     | ack

step 3 send same alert but with higher severity
alerta --profile heroku send -E Production -S Test -r node1 -e BadDisk -s minor
fe26a33c-0cab-476c-8b42-05a5ba8c44b5 (warning -> minor)

step 4 confirm status is now "open"
alerta --profile heroku query --filter event=BadDisk --details
fe26a33c|2016/09/29 17:20:22|minor|    0|-|Production|Test      |node1             |Misc        |BadDisk         |n/a
    status     | open

There is a test scenario that checks for something similar ... https://github.com/guardian/alerta/blob/master/tests/test_alerts.py#L221

Did a test, here's the history:
"history": [
{
"event": "RAMUtilHigh",
"id": "7da4d92a-ff84-44bd-a022-e7bb412c8dac",
"severity": "major",
"text": "",
"type": "external",
"updateTime": "2016-09-27T15:31:20.671Z",
"value": "87.87%"
},
{
"event": "RAMUtilHigh",
"id": "7da4d92a-ff84-44bd-a022-e7bb412c8dac",
"status": "ack",
"text": "status change via console by Peter Farmer",
"type": "external",
"updateTime": "2016-09-29T16:43:47.147Z"
},
{
"event": "RAMUtilHigh",
"id": "130085a8-d389-4c0b-8738-bae6dfc814c7",
"status": "open",
"text": "duplicate alert status change",
"type": "auto",
"updateTime": "2016-09-29T16:51:22.699Z"
}
],
Severity didn't change, I'll check the version (a recent checkout from github I think) and do some more testing....

Oh. Are you setting the status of the alert to "open" when you submit it?

That will be the problem, thanks!


drivers: adc: add ads1x1x driver

This adds support for the ads101x (ads1013, ads1014, ads1015) and ads111x
(ads1113, ads1114, ads1115) family of i2c adc devices.
Signed-off-by: Ryan McClelland<EMAIL_ADDRESS>

Just for reference to the addtional reviewers. The data sheets are listed below
ADS111X
ADS101X

Following what happened in https://github.com/zephyrproject-rtos/zephyr/pull/40991. I ought to make the same changes which I will...


st2 trace list does not have the correct execution ID.

SUMMARY
st2 trace list does not have the correct execution ID.  When an execution is made using the trace-tag, in the list of traces "st2 trace list" the execution ID is wrong in the last character, you can see that Stackstorm is adding the last character +1.
Example:
If the id of the execution is 61f98e7f0bd5ceba623a05c6, in the command "st2 trace list" the id of this execution is  61f98e7f0bd5ceba623a05c7
STACKSTORM VERSION
st2 3.6.0.post0, on Python 3.8.10
OS, environment, install method
helm instalation
Steps to reproduce the problem
run commands:
//given
st2 run core.local cmd=date --trace-tag="TEST-TRACE"
st2 run core.local cmd=date --trace-tag="TEST-TRACE"
//when
st2 trace list --trace-tag "TEST-TRACE"
//then
st2 execution get <ID_THAT_TRACE_LIST_SHOWS>
this should work but it doesn't. Because the ID is not the same ID of execution. The stackstorm chaged it adding +1 to the last character of the ID.
Expected Results
The id showing in trace list be correct and be equal of execution ID
Actual Results
The id in trace list is wrong

The ID listed isn't the ID of the execution its the ID of the trace.
$# st2 run core.local cmd=date --trace-tag="TEST-TRACE"
id: 620ff59c6448140d6deaefd4
action.ref: core.local
context.user: st2admin
parameters:
  cmd: date
status: succeeded
start_timestamp: Fri, 18 Feb 2022 19:38:04 UTC
end_timestamp: Fri, 18 Feb 2022 19:38:04 UTC
result:
  failed: false
  return_code: 0
  stderr: ''
  stdout: Fri Feb 18 19:38:04 UTC 2022
  succeeded: true

$# st2 trace list --trace-tag "TEST-TRACE"
+--------------------------+-------------------------------------+------------+-------------------------------+
| id                       | uid                                 | trace_tag  | start_timestamp               |
+--------------------------+-------------------------------------+------------+-------------------------------+
| 620ff5aa6448140d6deaefd8 | trace:1d48828738c2a03962e52c1287bb1 | TEST-TRACE | Fri, 18 Feb 2022 19:38:18 UTC |
|                          | cb7                                 |            |                               |
+--------------------------+-------------------------------------+------------+-------------------------------+

$# st2 trace get 620ff5aa6448140d6deaefd8 --show-executions
id: 620ff5aa6448140d6deaefd8
trace_tag: TEST-TRACE
start_timestamp: Fri, 18 Feb 2022 19:38:18 UTC
+--------------------------+-----------+------------+-----------------------------+
| id                       | type      | ref        | updated_at                  |
+--------------------------+-----------+------------+-----------------------------+
| 620ff5aa6448140d6deaefd7 | execution | core.local | 2022-02-18T19:38:18.950259Z |
+--------------------------+-----------+------------+-----------------------------+

$# st2 execution get 620ff5aa6448140d6deaefd7
id: 620ff5aa6448140d6deaefd7
action.ref: core.local
context.user: st2admin
parameters:
  cmd: date
status: succeeded (1s elapsed)
start_timestamp: Fri, 18 Feb 2022 19:38:18 UTC
end_timestamp: Fri, 18 Feb 2022 19:38:19 UTC
log:
  - status: requested
    timestamp: '2022-02-18T19:38:18.940000Z'
  - status: scheduled
    timestamp: '2022-02-18T19:38:19.091000Z'
  - status: running
    timestamp: '2022-02-18T19:38:19.152000Z'
  - status: succeeded
    timestamp: '2022-02-18T19:38:19.267000Z'
result:
  failed: false
  return_code: 0
  stderr: ''
  stdout: Fri Feb 18 19:38:19 UTC 2022
  succeeded: true


What is the cost to complete this lab?

It would be really helpful if there was an estimated cost to complete this lab.

the free tier that is offered when you initially sign up should probably cover the cost


AesGcm decrypt only works when encryption has been run on the secret first

Check existing issues

[X] I checked there isn't already an issue for the bug I encountered.

Ox Version
0.1.0
Current Behavior
I am running a script to encrypt private keys.  I was running a decryption on the encrypted private key right after the encryption to make sure that I was using the utility functions correctly. This all worked fine. Encrypting and decrypting worked great and I was able to get the same private key.
I then tried to write another script that would grab the encrypted private keys from my cache, and decrypt them. I ended up getting an error:
DOMException [OperationError]: The operation failed for an operation-specific reason
    at AESCipherJob.onDone (node:internal/crypto/util:466:19) {
  [cause]: [Error: Cipher job failed]

I found this strange since in the script where I encrypted and THEN decrypted, everything worked out fine.
I then ran some more tests, and I couldn't decrypt data that had not previously been encrypted in the same scope.
I also find this weird as it's a DOMException, but I am on the server.
Expected Behavior
I expect to be able to decrypt the secret in a different scope from when the secret was encrypted.
Steps To Reproduce
Link Included Below with PoC.
Link to Minimal Reproducible Example
https://github.com/0xSimbo/ox-decrypt-issue
Anything else?
No response

What version of Node?

Ah. You will need to have a deterministic salt for your key (ideally should be unique per password). Will update docs to explain better.
import { AesGcm, Bytes } from 'ox'

const salt = '0x4430dc98a150b05d70f36b52c6c0f8b185e0543063a6dee984d9ee8a6f170838'

const key = await AesGcm.getKey({ password: 'qwerty', salt: Bytes.from(salt) })

const result = await AesGcm.decrypt('...', key)


Add option for specifying S3 endpoint + credentials

Thanks for your tool which is awesome. I would like to use it for managing internal company python packages using Minio, a S3 like server which is 100% compatible with original AWS S3 API. The only thing is that i have to specify the API endpoint to boto, or any AWS S3 related tool. I would like to know if you are ok to add following option to the CLI:

--endpoint URL
AWS credentials which are mandatory for uploading to Minio S3.

It would still be compatible with your solution, just adding option parsing and update boto resources creation as following :
s3 = boto3.resource('s3',
                    endpoint_url='minio_url',
                    aws_access_key_id='YOUR-ACCESSKEYID',
                    aws_secret_access_key='YOUR-SECRETACCESSKEY',
                    config=Config(signature_version='s3v4'),
                    region_name='us-east-1')

If this is not bothering you i would gladly update the tool myself and submit a pull request.

Hi @Faylixe ,
I'm wondering how you guys secure the downloading part (pip install part).
The --secret option is simple but it introduce two problems:

this is a plain text pwd
if someone leaves the team, we have to migrate the packages to another secret key to protect it if we want to revoke his access to the package

I'm currently thinking adding an IP address constraint to the S3 server, which is definitely not a perfect solution.
It would be appreciated, if you can give me some suggestions.
Thanks!

Well we actually does not have such security constraint since this is a very small company and such Minio server would not be accessible from outside company's network. Revoking user from the team would only consists to ban it from internal network. But still this is a real issue, the IP address won't be the best one indeed (in our case, pip call will be performed on developper, machine, as well in container through CI build, which can be executed in a wide range of machine in a cluster)

@Faylixe
I see, actually your approach is essential the same as the constrain IP access.
thanks.

Yes, except that it is handled outside of s3pypi. That is easier to setup since the Minio S3 server is totally under control and ran into our network.

@Faylixe
Yes.
actually, by "adding an IP address constraint to the S3 server", I meant the pypi server at AWS S3
So really the same thing.
This is possibly the most easy solution for now.

Any updates on adding support for credentials? It would be awesome to specify different profiles during the deployment. As far as I can see no PR was opened.

Sorry, just went to the parser code and found profile argument. It would be nice to add this to docs.

It would be really nice to add the options to set specific credentials and endpoints. That would allow the use of other S3 like solutions not hosted in AWS.

#81 adds the --s3-endpoint-url option.
Credentials and other options can be passed via environment variables or the ~/.aws/config file.


Replace self::create() with static::create()

In case someone wants to extend create().

LGTM. Will merge on green.


Change Method Dependency Injection to Constructor Injection

Close #20. Changed method dependency injection to constructor injection for the Search Engine

:tropical_fish: :+1:


Bump package.json to 5.5.4

Hello @paveljanda,
can you please bump package.json to version 5.5.4? Package installed with bower is not same as package installed with npm. Thank you.

npm search ublaboo-datagrid still returns version 5.4.2. Isn't npm publish --tag a solution? I don't know...

Done


Share rust config ownership between web-tooling and turbo-oss

Both teams have an interest in top-level configuration, and we shouldn't block merges on changes to, e.g. Cargo.lock.

Config is valid, sending this one.


AttributeError: module 'readline' has no attribute 'redisplay'

Issue Type: Bug
Context: Python, Terminal,  vscode ver 1.62.2 on Windows 10.
Observation: Encountering error when Running selected lines in Python terminal, when those lines include a tab for indentation. Error doesn't occur when the tab is replaced with spaces. Error halts execution.
Steps to Reproduce: Create a new .py file in vscode editor. Insert this code:
for i in range(5):
print(i)
Select both lines and press Shift+Enter. The Terminal window will throw this error.
VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:56:38.428Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.81GB (7.99GB free)

Process Argv
--crash-reporter-id 614558b7-2fca-49ff-b058-7eb786fbf02d

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

codestream
Cod
12.1.0

copilot
Git
1.7.3822

python
ms-
2021.11.1422169775

vscode-pylance
ms-
2021.11.1

jupyter
ms-
2021.10.1101450599

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.3

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30384386
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsqsis200:30386379
vsaa593cf:30376535
vssld246:30386377

@umashgh Can you provide a screen shot of the error? I am not able to re-produce this:

Here you go:
[image: image.png]
You will notice that in the line below the for-loop, the indentation is
given by a tab and not 4 spaces. In your code, please replace the 4 spaces
with \t (Ctrl+R -> enable regular expressions).
On Wed, 17 Nov 2021 at 04:06, Karthik Nadig @.***>
wrote:

@umashgh https://github.com/umashgh Can you provide a screen shot of
the error? I am not able to re-produce this:
[image: image]
https://user-images.githubusercontent.com/3840081/142077347-3f464693-ea64-4984-ba8f-738ab0e352d8.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-python/issues/18043#issuecomment-970741498,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF274H3BHTFEOKTP4ON7NDTUMLMIBANCNFSM5IFN7OSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@umashgh I can't see the image it did not get attached to the issue. Which version of python do you have? I am not able to repro it even with the tab:

This seems like an issue with the installed python you have. since the error is coming from the repl implementation used by python. Extension just sends the text to it.


localhost 404 error when public path is set to 'dist/' in AspNetCore2

Hi
When i have set publicPath: '/' in webpack config and hit run in Visual Studio2017, browser starts up, waits for webpack until it completes project compile and then displays it. but at this configuration HMR does not work, it says 404 on *.hot-update.json
When I change to publicPath: 'dist/' in webpack config, browser starts up and stops loading page, it gives "404 localhost not found" . after webpack compiles project , then I have to manually write in browser http://localhost:1711/index.html and displays web page. at this time HMR works.
startup.cs config is:
                app.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions                 {                     HotModuleReplacement = true,                 });
how can I make browser to wait for webpack compile finish?
app is Angular5 , webpack 3.11, AspNetCore2.
in case of AspNetCore1, publicPath: '/' and HMR works like charm.
thanks.

This is related to
https://github.com/aspnet/JavaScriptServices/issues/1495
closing this one


lintChecks : WARNING - Optional parameter name opt_arg must be prefixed with opt_

echo "/** @param {boolean=} opt_arg */ function test(opt_arg) { if (opt_arg) alert('ok'); return 0; }" | java -jar compiler-20150609.jar --jscomp_warning lintChecks --compilation_level ADVANCED

stdin:1: WARNING - Optional parameter name opt_arg must be prefixed with opt_
/** @param {boolean=} opt_arg */ function test(opt_arg) { if (opt_arg) alert('ok'); return 0; }
0 error(s), 1 warning(s)

I suspect this happens if you use a coding convention other than the ClosureCodingConvention.

It's not the ClosureCodingConvention but the GoogleCodingConvention that has the rule that optional params start with opt_. Maybe we should move that rule to the ClosureCodingConvention? People using the Closure library are likely to use that style.

I'm what does the coding convention have to do with the lint check?  Generally, we don't want to add conventions that imply things (like opt_ being optional) as that makes it hard to include code with different conventions.  An example: a leading underscore than means "external" in one file and "private" in another.  That is why they only existing in the GoogleCodingConvention which is basically legacy.

We want to warn if a param is optional (has an = in the param annotation) but doesn't start with opt_, or vice versa. The GoogleCodingConvention is the thing that knows that optional params are supposed to start with opt_ so that's why we used it (https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/lint/CheckJSDocStyle.java#L68).
One way to do this might be for CodingConvention to return a tri-state for isOptionalParameter. The GoogleCodingConvention could return true for opt_ params and false otherwise, while the others would return "unknown" in all cases. And then the lint check would do nothing if it got an unknown.

It would be easier just to look for "opt_" text, I think. Rather than using the coding convention here but I could see it would be useful if say the Chrome coding convention has a convention for this.


Centralise of About Page UI

Describe the bug
The components of about page UI looks good when centered
To Reproduce
Steps to reproduce the behavior:

Go to 'https://circuitverse.org/about'

Screenshots

Before

After

Are you working on this issue? (Yes/No)
yes

@nitin10s

@vedant-jain03 are you working on the issue ?

@vedant-jain03 are you working on the issue ?

Yes


Document the availability of the development version.

I checked the Chocolatey Gallery and it doesn't seem like there's a prerelease of hub. So I haven't documented that but Chocolatey itself supports prereleases.

This is now ready to be re-reviewed @mislav.

Thank you!


Interrupt signals not working in shell environment.

Expected behavior: ^C exits running program in session started by mandarinit.
What happens: Nothing.

I think this is being caused by actOnChildProcess not operating on the forked process. Pending further investigation.
I have tested with suckless' sinit (which mandarinit is somewhat based on) and all signals are working in the shell, but with mandarinit, this is not so.

actOnChildProcess needs changing to run inside the call to forkProcess, sequentially after executeFile, and aOCP should retrieve the current PID itself rather than work with what forkProcess returns.

Okay the bottom line of what was happening here is as follows:
First the signal unblocking was occuring in the parent, then it wasn't occuring in the child due to conditionally checking the PID for 0 like C's fork() works.
I amended that, still wasn't working, because I forgot to execute the signal unblocking BEFORE the execv* call! Oops!
Fixed now and working.


Related tab header font size bigger

Hi folks!
Will be possible to change Related font size to match size of video title? Maybe I have bad taste, but UI looks better when headers have the same size :)
If there is any purpose for the font to be smaller, feel free to delete the request. Awesome job, kudos to you guys :)

Thanks for the sugggestion. I don't think we will make it the same size as the file title, but we have some plans to rework that area slightly once we finish building out playlists

Thanks for the sugggestion. I don't think we will make it the same size as the file title, but we have some plans to rework that area slightly once we finish building out playlists


Revamp Moderator system

Eliminate all current moderators and re-choose a select few to have greatly increased permissions in anticipation of further growth.
Choosing Moderators
Moderators should be chosen equally between grades and advisements, with no preference on anybody for any reason other than merit. Being my friend does not get you Moderator Maybe 1 moderator per advisement, which would result in ~30 something moderators.
Perms:

[x] Kick users from server too drastic
[ ] Mute users (per channel or server-wide)
[x] Receive reports from users
[x] Voice mute/deafen users
[x]  Delete Report inappropriate groups to server owner
[x] Change inappropriate nicknames

!mute should not be global, it should be channel-specific

I'm too lazy to do channel-specific !mute I don't think it matters that much


Bounds and Has_Bounds in Problem class with mixed variables

Hello.
The bounds and has_bounds methods in the Problem class, when defining mixed variables, returns None values and False respectively.
Minimal example:
from pymoo.core.variable import Real, Integer, Choice, Binary
class MyProblem(Problem):
    def __init__(self, **kwargs):
        variables = {'x': Integer(bounds=(0, 10)),
                     'y': Real(bounds=(0.1, 0.99)),
                     'z': Binary()
                     }
        super().__init__(vars=variables,
                         n_obj=3,
                         **kwargs)
problem = MyProblem()
print(problem.bounds())
print(problem.has_bounds())

This returns:
(None, None)
False

the problematic lines of code are these
Thanks

Thanks for reporting that you expected a different behavior. I am not sure yet what the solution should be.
For instance, Binary does not really have a lower bound, and the same holds for Choice (not shown in your example).
I feel like this might either be the expected behavior or defining a new problem MixedVariableProblem might be a solution.
What do you think?

Can you check my latest commit? It passes this test:
from pymoo.core.problem import Problem
from pymoo.core.variable import Real, Integer, Binary

def test_mixed_vars_bounds():
    class MyProblem(Problem):
        def __init__(self, **kwargs):
            variables = {'x': Integer(bounds=(1, 10)),
                         'y': Real(bounds=(0.1, 0.99)),
                         'z': Binary(bounds=(0, 1))
                         }
            super().__init__(vars=variables,
                             n_obj=3,
                             **kwargs)

    problem = MyProblem()

    assert problem.has_bounds()
    assert problem.xl == dict(x=1, y=0.1, z=0)
    assert problem.xu == dict(x=10, y=0.99, z=1)

Because the variables are a dictionary, I would as a user also expect the bounds to be a dict. What do you think?


Refer to usage terms for logo asset

This points to the Linux Foundation Trademark Usage page which applies to the IREE logo asset.

This variant makes follows the SPDX specification and adds tags as proposed by https://reuse.software/.

Closing in favor of #18136.


Updated style guide

Extracted heading which was accidentally included in a code example

Please see: https://issues.apache.org/jira/browse/GROOVY-7470
It would be great if you could action. Thanks.


test

Describe the bug
A clear and concise description of what the bug is.
test
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
test

Describe the current behavior
A clear and concise description of what happened.
tesxz
Expected behavior
A clear and concise description of what you expected to happen.
test
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): xxx
Python version: 2.11
HanLP version:1.78

Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
xxxtest

[ ] I've completed this form and searched the web for solutions.

[auto-reply] Thanks for your comment. However, the essential information is required. Please carefully fill out the form then reopen it.


Code coverage reports using isparta

Code coverage would indeed be great, I tried getting it to work with Istanbul before but got stuck helplessly. Would love a PR for this!

I have this mostly working, but of course, another wrench.
The redux-saga code depends on generators, and the output from isparta for the saga files is totally broken.
I had to include babel-polyfill to get generator support in Chrome. From what I can tell, facebook/regenerator does not (fully?) support source maps. So, anything around sagas would be broken.
I'll post what I have, and maybe open an issue on redux-saga to see if anyone else has figured it out.

#155

Closing this now.


Multiline text search over binary files uses lots of memory and CPU

When using multi-file search on multi-line segments of code - i.e. such that include at least one line-break - VSCode locks up my computer by way of rg.exe running wild to eat up all RAM memory. Happens since a few weeks, used to work without problems earlier.
No regular expressions in use when this happens. Not a huge site at approx 50 files. Happens in files of all languages I work with (HTML, CSS, JS, PHP) and just as much with all extensions disabled. There are image and (large) video files in the site, but I exclude all folders containing them from the search (as good as I know how to using the respective field in the multi-file search sidebar).
I searched existing issues on this matter and in VSCode settings deactivated following sym-links, to no avail.

VSCode Version: 1.52.1
OS Version: Windows 8.1

Steps to Reproduce:

Select a code segment across more than one line (i.e. so that at least one line-break is included in the selection)
Press Ctrl-Shift-F to initiate multi-file search
Watch rg.exe eat up all RAM and lock up the computer

Does this issue occur when all extensions are disabled?: Yes

How much RAM is it using? Is your computer low on RAM? I don't see any new issue here and nothing really has changed

It will use up all RAM available at the moment it starts escalating this way.
I have a total of 4 GB RAM which outside of the occurence of the described issue is easily sufficient to run VS Code plus a range of other apps in parallel at full machine performance.
What "new issue" do you reckon you should be seeing? What do you mean by "nothing really has changed"? Since it hangs up my computer every single time, I have refrained on my side from triggering multi-line / multi-file search in expectance of assistance here. Can you reproduce the issue?

No, I can't reproduce an issue. I'll try some more.

Happens since a few weeks, used to work without problems earlier.

By "nothing has changed" I mean that nothing major in the code related to search has changed.
If you want to try to debug a little, you try searching in different folders to look for a way to narrow it down.
Or you could get the logs from the search which include the exact rg command like this:

Run the command "Set log level" and change it to "Trace"
Run the search again
Show the search-related messages in the "Log (Window)" output panel

No, I can't reproduce an issue. I'll try some more.

Happens since a few weeks, used to work without problems earlier.

By "nothing has changed" I mean that nothing major in the code related to search has changed.
If you want to try to debug a little, you try searching in different folders to look for a way to narrow it down.
Or you could get the logs from the search which include the exact rg command like this:

Run the command "Set log level" and change it to "Trace"
Run the search again
Show the search-related messages in the "Log (Window)" output panel

Thank you, Rob.
Following your advice, I tried multi-line/multi-file search in a different folder and indeed everything worked well. So, by way of shifting, one by one, all folders in my site to a fresh root folder and invoking ML/MF search after each move, it appeared that the issue occurs as soon as rg.exe encounters video and large images files. (In my case, a few PSDs and MP4s.) Excluding their containing folders from the search by adding patterns such as "**/__img" under "Search: Exclude" in my user settings has now seemed to resolve the problem.
I will get back to this thread in case the issue re-occurs. Until then - thank you!
On Sat, 02 Jan 2021 19:07:05 +0200, Rob Lourens<EMAIL_ADDRESS>wrote:

No, I can't reproduce an issue. I'll try some more.

Happens since a few weeks, used to work without problems earlier.

By "nothing has changed" I mean that nothing major in the code related to search has changed.
If you want to try to debug a little, you try searching in different folders to look for a way to narrow it down.
Or you could get the logs from the search which include the exact rg command like this:

Run the command "Set log level" and change it to "Trace"
Run the search again
Show the search-related messages in the "Log (Window)" output panel

--
mborn.eu

Thank you, Rob.
Following your advice, I tried multi-line/multi-file search in a different folder and indeed everything worked well. So, by way of shifting, one by one, all folders in my site to a fresh root folder and invoking ML/MF search after each move, it appeared that the issue occurs as soon as rg.exe encounters video and large images files. (In my case, a few PSDs and MP4s.) Excluding their containing folders from the search by adding patterns such as "**/__img" under "Search: Exclude" in my user settings has now seemed to resolve the problem.
I will get back to this thread in case the issue re-occurs. Until then - thank you!
On Sat, 02 Jan 2021 19:07:05 +0200, Rob Lourens<EMAIL_ADDRESS>wrote:

No, I can't reproduce an issue. I'll try some more.

Happens since a few weeks, used to work without problems earlier.

By "nothing has changed" I mean that nothing major in the code related to search has changed.
If you want to try to debug a little, you try searching in different folders to look for a way to narrow it down.
Or you could get the logs from the search which include the exact rg command like this:

Run the command "Set log level" and change it to "Trace"
Run the search again
Show the search-related messages in the "Log (Window)" output panel

--
mborn.eu

Ah, I just realized that ripgrep does not skip binary files when doing a multiline search. Filed https://github.com/BurntSushi/ripgrep/issues/1781 for this.

Ah, I just realized that ripgrep does not skip binary files when doing a multiline search. Filed https://github.com/BurntSushi/ripgrep/issues/1781 for this.

Success! 🤗

Success! 🤗

Looks like it got figured out!


agentpublicosImageSKU isn't used

Is this a request for help?:
No
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
v0.13.0

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
DC/OS
What happened:
I specified the following after the azuredeploy.parameters.json was generated:
"agentprivateosImageSKU": "17.10"
"agentprivateosImageVersion":  "17.10.201802220"
What you expected to happen:
I expected the agents to be 17.10, but they were 16.04 because "osImageSKU" was "16.04-LTS" and that is the only variable used.
How to reproduce it (as minimally and precisely as possible):
As above.
Anything else we need to know:

Hi @plasne, we don't currently support that OS image SKU. If you are experimenting by modifying the acs-engine generate values, make sure you replace all 16.04 references with the appropriate 17.10 replacements, and that the region/account you're building in has access to those SKUs.
I'm going to close this as there is no support at this time for 17.10

I probably could have stated this better, but I realize that 17.10 doesn't work, the issue is that the parameters show 3 variables for SKU and 3 variables for version, but they aren't used, only 1 is, which is confusing.


Release 4.0.1

should that be a minor release due to the rubocop requirement change?

the rubocop change didn't do anything to the code, so I think a bugfix release is fine to highlight that it fixed an actual bug.


Explore Gaia tools for generating embeddings

Explore available tools/node settings to make Gaia the primary provider for generating embeddings.

[x] The aim to find the most lightweight solution to use an embeddings model for text-to-vector-embeddings using Gaia tooling.
[ ] List the pro/cons of potential solutions

Available tools:

https://github.com/GaiaNet-AI/embedding-tools (docs)
https://github.com/GaiaNet-AI/rag-tool

Cons of using current Gaianet rag tools:

Rust-based projects: need to rethink the pipeline architecture to integrate with Rust
Doesn't provide an API Server: the pipeline is designed to generate embeddings via an OpenAI-like API endpoint (/v1/embeddings)

Work done:

Deep dive into GaiaNet install script and gaianet execution script
Deep dive into LlamaEdge and the llama-api-server component
Deep dive into LlamaEdge llama-core package

Solution:

After deep diving into the GaiaNet node architecture and LlamaEdge components, I figured out that there's no need to implement any extra components to spin up a lightweight LLM API server that only provides embedding generation capabilities (just like Ollama). We only need to provide docs on how to start the llama-api-server (included in the gaianet node) in embeddings-only mode (a.k.a embeddings running mode):

cd $HOME/gaianet
wasmedge --dir .:./dashboard --env NODE_VERSION=0.4.7 \
  --nn-preload embedding:GGML:AUTO:nomic-embed-text-v1.5.f16.gguf llama-api-server.wasm \
  --model-name Nomic-embed-text-v1.5 --model-alias embedding --prompt-template embedding \
  --ctx-size 8192 --batch-size 768 --web-ui ./ --socket-addr <IP_ADDRESS>:8080

Under the hood, GaiaNet uses WasmEdge WebAssembly runtime with the wasi-nn plugin for performing AI inference with LLM interfaces. According to the docs, it does support macOS arm64 platform and it will use the built-in GPU by default. We need to do a few performance tests between Gaia embeddings-only mode vs Ollama


docs: strengthen case consistency and improve language choice

I think version is more volatile that edition, thus is better suited.

Thanks :D


Provides options for using a branch other than the master

Provides options for using a branch other than the master

Good!


where is the rust src folder ?

i'm using both linux and windows edtion rust, but there is no source folder....
is that meas i should download the rust souce code tar.gz and uncompress it to some place?

is that meas i should download the rust souce code tar.gz and uncompress it to some place?

Yes, racer uses the rust source code to complete standard library.

Hello, @Shougo
Still need source code today?
I read the README and install plugin step by step. But there is not introduction about requiring source code.
Now, sometimes the suggestion doesn't show.
Even I got the suggestion, it was missing something, for example:
let mut a = vec![];
a.

I can see into_iter(), but iter(). When I tap 's', I can't find the sort() suggestion.

@AurevoirXavier
Please see https://github.com/racer-rust/racer#configuration.
The configuration for racer is required.

@Shougo I have already configure that. But still have this problem.

@AurevoirXavier I don't know about YouCompleteMe rust problem.
It should be asked it in YouCompleteMe issues.

@Shougo Okay, thanks.


Add new swtich: manifests

All yaml resources (topology and policies) would be specified by this new switch 'manifests'.
On live cluster using this switch would override resources from the cluster.
For backward compatibility, preserve existing switches: ns_list, pod_list.

Some aspects to consider:

should manifests include policy files or only topology files?
should support backward compatibility or not?
how would be used for scheme files and for cli queries, with/without live cluster?


⚠ Processors has degraded performance

In 00692ce, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 45 ms

Resolved: Processors performance has improved in 229c429.


Upgrading rancher causes cluster-alerting app to upgrade and subsequently fail

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

Add a notifier (can use dummy values)
Add an alert group in a project (see screenshot at end for my configuration in System project)
Verify the cluster-alerting and monitoring-operator apps are fully deployed and are on version 0.0.7
Upgrade to master-head
Navigate to the System > Apps page.

Result:
cluster-alerting has been upgraded to 0.0.8 and failed upgrade.
monitoring-operator is still 0.0.7 and is running successfully.
Other details that may be helpful:
cluster-alerting should upgrade by default, and that upgrade should pass. I see this in the server logs:
2020/03/09 22:13:49 [INFO] Installing chart using helm version: rancher-helm
[main] 2020/03/09 22:13:49 Starting Tiller v2.16.3-rancher1 (tls=false)
[main] 2020/03/09 22:13:49 GRPC listening on :50852
[main] 2020/03/09 22:13:49 Probes listening on :43292
[main] 2020/03/09 22:13:49 Storage driver is ConfigMap
[main] 2020/03/09 22:13:49 Max history per release is 10
[tiller] 2020/03/09 22:13:49 getting history for release cluster-alerting
[storage] 2020/03/09 22:13:49 getting release history for "cluster-alerting"
2020/03/09 22:13:49 http: proxy error: dial tcp <IP_ADDRESS>:6443: connect: connection refused
[storage/driver] 2020/03/09 22:13:49 query: failed to query with labels: an error on the server ("") has prevented the request from succeeding (get configmaps)
[tiller] 2020/03/09 22:13:49 preparing update for cluster-alerting
[storage] 2020/03/09 22:13:49 getting deployed releases from "cluster-alerting" history
2020/03/09 22:13:49 http: proxy error: dial tcp <IP_ADDRESS>:6443: connect: connection refused
[storage/driver] 2020/03/09 22:13:49 query: failed to query with labels: an error on the server ("") has prevented the request from succeeding (get configmaps)
[tiller] 2020/03/09 22:13:49 failed to prepare update: an error on the server ("") has prevented the request from succeeding (get configmaps)
[tiller] 2020/03/09 22:13:49 performing force update for cluster-alerting
[storage] 2020/03/09 22:13:49 getting last revision of "cluster-alerting"
[storage] 2020/03/09 22:13:49 getting release history for "cluster-alerting"
2020/03/09 22:13:49 http: proxy error: dial tcp <IP_ADDRESS>:6443: connect: connection refused
[storage/driver] 2020/03/09 22:13:49 query: failed to query with labels: an error on the server ("") has prevented the request from succeeding (get configmaps)
UPGRADE FAILED
Error: an error on the server ("") has prevented the request from succeeding (get configmaps)
2020/03/09 22:13:49 [ERROR] AppController p-9whmn/cluster-alerting [helm-controller] failed with : failed to install app cluster-alerting. Error: UPGRADE FAILED: an error on the server ("") has prevented the request from succeeding (get configmaps)

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-2401-head Rancher version 0519da989
Installation option (single install/HA): single

I think this is related to your changes or related to steve is having issues with deploying apps (see https://github.com/rancher/rancher/issues/25742)

Validated Upgrade from Rancher v2.3.5 to Rancher v2.4.0-rc3
Followed same steps as in this issue:

Initial version of cluster-alerting was 0.0.7, and after upgrading it successfully upgrades to 0.0.8

As a side note, Monitoring and Istio also are still operating and functional after rancher server upgrade


Add support for OIDC authentication

Desired Outcome
Add the OIDC authentication logic
Implemented Changes
Add support for the user to authenticate using OIDC.
Exposed a generic option for the user to set the api token and its expiration by himself.
Connected Issue/Story
Resolves #[relevant GitHub issue(s), e.g. 76]
CyberArk internal issue link: ONYX-18050
Changelog

[x] The CHANGELOG has been updated, or
[ ] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[x] This PR includes new unit and integration tests to go with the code
changes, or
[ ] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: insert issue ID
[x] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
[x] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[ ] These changes are part of a larger initiative with a separate security review, or
[ ] There are no security aspects to these changes

It looks like there are some linting errors in Jenkins.

@szh I handled the linting issues.
Regarding the squash, when merging into main I'll squash the entire PR into one commit.
Regarding the manual test, I created a manual test that validates given a JWT a successful authentication (and also test that it fails if suppling it after the expiration date).
I didn't include this test in the commit as the JWT changes over time and it's needed to be retrieved from idaptive (out of the scope of this task)

After a discussion with @nahumcohen and @mbenita-Cyberark we have decided that it would be better to reduce the dependency of the API in the CLI, so instead of the API to assume that the API_TOKEN is passed in the credentials_provider, the CLI would set it using a general set_api_token api.

@AlonBenHorin, although it might come across as strange, I'm going to recommend we use the JWT authenticator instead of the OIDC Authenticator. The Conjur OIDC authenticator doesn't currently support an actual OIDC workflow. It's just a glorified JWT authenticator.
We've begun work to update the OIDC Authenticator to support the full OIDC flow, which means the authenticator will accept the OIDC code returned from the OIDC login redirect and perform the backchannel validation (including validating the returned JWT).
Once we have full support for the OIDC authentication workflow, your current implementation here will need to be completely rethought. Instead, if we use the JWT authenticator, we can support both full and partial OIDC authentication flows in the future.

@jvanderhoof, Even though we started this PR thinking we're going to implement an OIDC authentication, we realized that the better approach is using a generic JWT authenticator and so the implementation in this PR is of JWT.
PS. the title was misleading so i changed it.

I'm going to mark this PR as draft for now to limit the amount of notifications. Please mark it as Ready for Review when you're ready for the C&I team to review and merge it.


HELP: New maintainer needed

I haven't written PHP in years and it seems there are people still using this. If someone from the PHP community is interested in taking over this I will happily hand it over. This package does have a surprising amount of monthly downloads, so while I don't have a particular process in mind, it would be good to see a few people vouch for the new maintainer.

Count me in. My main project uses yours, I've contributed a bit to yours, happy to continue :)

Ping

I've just put in a ton of work on our (@WinterCMS's) wrapper for http_build_url() (inspired heavily by yours and @ivantcholakov's; see https://github.com/wintercms/storm/commit/05e8dc11700303a0ef5f5f1210b1682574b38616 for the latest commit on that front. If you'd like to hand maintaining the package over to a team of highly experienced PHP developers we could easily split out our implementation into a separate package and provide that as the recommended replacement for this package moving forwards.
Let me know if you're interested in doing that @jakeasmith!

@jakeasmith Yes please 🙋♂ I want to be the new maintainer. I use http_build_url(), I also have experience maintaining PHP packages.


Implement Option.ToNullable

Better interoperability with Code which still uses null
Should we hide the function (Advanced)

I reopen the issue, before we release a new Version.
Currently ToNullable is not hidden with a [EditorBrowsable(Advanced)]. I think that was not a conscious decision.


feat(docs): add badges to stories

Adding badges to stories gives users useful meta information about the state of the story.

Preview environments are getting posted here, as soon as they are ready!


upstart: does not wait for Unix socket if multiple host entries in DOCKER_OPTS

Issue
I am trying to create an Upstart service that depends on Docker,  however it is failing because /var/run/docker.sock does not exist yet, despite the fix in #6647.
cat /etc/default/docker:
DOCKER_OPTS="${DOCKER_OPTS} -D -H tcp://<IP_ADDRESS>:2375 -H unix:///var/run/docker.sock"

Additional info:
docker version:
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

docker info:
Containers: 0
Images: 155
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 157
 Dirperm1 Supported: false
Execution Driver: native-0.2
Kernel Version: 3.13.0-72-generic
Operating System: Ubuntu precise (12.04.5 LTS)
CPUs: 2
Total Memory: 3.337 GiB
Name: u70f395136dc555e9f25e
ID: 2VO3:C3GC:IWZ3:JZMP:EER4:4UJG:7S3B:LJO3:WHID:LBVD:4WNU:FINA
Debug mode (server): true
Debug mode (client): false
Fds: 12
Goroutines: 16
System Time: Tue Dec  8 23:11:14 UTC 2015
EventsListeners: 0
Init SHA1: 7f9c6798b022e64f04d2aff8c75cbf38a2779493
Init Path: /usr/bin/docker
Docker Root Dir: /var/lib/docker
WARNING: No swap limit support

uname -a:
Linux u70f395136dc555e9f25e 3.13.0-72-generic #115~precise1-Ubuntu SMP Thu Dec 3 10:52:56 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

The problem is this line:
https://github.com/docker/docker/blob/master/contrib/init/upstart/docker.conf#L52
	if ! printf "%s" "$DOCKER_OPTS" | grep -qE -e '-H|--host'; then
		while ! [ -e /var/run/docker.sock ]; do
			initctl status $UPSTART_JOB | grep -qE "(stop|respawn)/" && exit 1
			echo "Waiting for /var/run/docker.sock"
			sleep 0.1
		done
		echo "/var/run/docker.sock is up"
	fi

This checks to see whether or not a host has been specified in DOCKER_OPTS, if one is not present, it will wait for the socket. However, @ssmall is specifying that he wants the daemon to run on both the socket and a TCP socket. In this case, this check will fail, but the socket may not actually be up. Additionally, this check can fail if you are using any socket other than the default socket.
The most logical fix (in my mind) would be to change the grep to exclude (-H|--host) parameters which begin with unix://
I'll draft up a patch this evening.

Thanks @AndrewGuenther!

#dibs
I've written up a patch, but I need to get on a different machine in the morning to verify.


PrismaJS not working since process.chdir cannot be used in workers

Description of the problem
When trying to use PrismaJS, you'll instantly get the error, that process.chdir() is not supported in workers. The only workaround for that right now, is to use the wsl, which would be very laborious to setup just for one project.
Reproduction steps

install PrismaJS within a project.
fix the N-API error, by setting engineType = "binary" in the client in your schema
generate your prisma client using yarn prisma generate or npx prisma generate
start your server

Expected behaviour
There should be no error saying
[18:07:36][Error] Uncaught exception: Error:
Invalid `prisma.account.count()` invocation:

process.chdir() is not supported in workers

Additional context
No response
Operating system
Windows 10
Version
15.0-dev79
Scope
server
Reproduction tested

[X] I confirm that I have made sure that this issue is also present on the newest dev version

Even if this issue should be fixed, I don't recommend running prisma within the alt:V serverside context, the engineType = "binary" make prisma setup a local websocket server to communicate with their rust query builder rather than using the node ffi api and it is drasticaly slower.

So this would theoretically need to be fixed by alt:V?

Yes

any updates on this issue?

@15322107
https://discord.com/channels/371265202378899476/371271006360436757/1146704764751577152

Leon — 08/31/2023 10:14 AM
And no there is no fix planned, ask the nodejs devs to make it work xd
<...> alt:V uses a completely standard nodejs build
It doesn't have a single line of the source code modified, but it doesn't work because
¯_(ツ)_/¯

Although if you're not querying the database 1000 times per second, that "drastically slower" performance is really not an issue. For loading/saving the player and doing occasional query for some menu you might as well could use google sheets and players would notice no difference whatsoever.

any updates on this issue?

I'm using this setup as workaround:
setup-globals.ts
// Until prisma starts supporting ESM, this is the workaround
import { createRequire } from "module";

global.require = createRequire(import.meta.url);
process.chdir = () => {};


Spring Cloud Gateway fails to propagate server and client spans with same traceId

Describe the bug
I'm using a setup of several microservices running Spring Boot 2.7.5 with one of them being a Spring Cloud Gateway "ingress" service. I've hooked up OpenTelemetry with Open Telemetry Collector and Grafana Tempo consuming the traces.
The services are also running alongside Istio Service Mesh.
Regular Spring microservices are able to properly propagate traces and "inherit" traceIds. Most of them are using HTTP REST calls.
The problem is with the first in line, which is using Spring Cloud Gateway to route traffic to other services.
After the upgrade to new Spring (2.7.5) and obviously excluding the old brave tracing we've lost the ability to "match" traces of Gateway (server span) and the following client calls. Obviously this also impacts our logging because we get several traceIds handling one call to the gateway in logback too.
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-sleuth</artifactId>
            <version>${spring-cloud-starter-sleuth.version}</version>
            <exclusions>
                <!-- Exclude Brave (the default) -->
                <exclusion>
                    <groupId>org.springframework.cloud</groupId>
                    <artifactId>spring-cloud-sleuth-brave</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

It seems that this configuration is not able to properly propagate traceId between handling the call within Spring Cloud Gateway and doing client calls to other services using the same trace context.
Right now we have one traceId for handling the server span and multiple traceIds for each of the downstream client calls.

API Gateway service is running:
        <artifactId>spring-cloud-starter-gateway</artifactId>

Open Telemetry libraries:
        <spring.cloud-version>2021.0.4</spring.cloud-version>
        <spring-cloud-starter-sleuth.version>3.1.6</spring-cloud-starter-sleuth.version>
        <spring-cloud-sleuth-otel-autoconfigure.version>1.1.1</spring-cloud-sleuth-otel-autoconfigure.version>
        <opentelemetry-exporter-otlp-trace.version>1.14.0</opentelemetry-exporter-otlp-trace.version>

Please upgrade to the latest sleuth 3.1.6 release (it's out of the release train release)

@marcingrzejszczak which version do you mean exactly?

I am using the latest it seems.

Turn on the decorate queues reactor wrapping and ensure that you're using the 3.1.6 version of sleuth


Move navigation items to dropdown

This issue is a:

[ ] bug report
[x] feature request
[ ] styling change request

Current behavior:

Requested behavior:
Figma - Move navigation items to dropdown

Why this behavior is better:
to avoid users wrongly pressing the three action buttons there

Hey @althof3, I'm a React developer just like you and would like to contribute to this issue.
Will you please assign me this issue?

Steps to reproduce this?


fix: fix openai prompt behavior on RAI errors

Related Issues/PRs

#xxx
What changes are proposed in this pull request?
Briefly describe the changes included in this Pull Request.
How is this patch tested?

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[ ] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[ ] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

/azp run

Codecov Report
Attention: Patch coverage is 0% with 18 lines in your changes missing coverage. Please review.

Project coverage is 5.17%. Comparing base (392f601) to head (fcd3655).

Files with missing lines
Patch %
Lines

...zure/synapse/ml/services/openai/OpenAIPrompt.scala
0.00%
18 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #2279       +/-   ##
==========================================
- Coverage   84.45%   5.17%   -79.29%
==========================================
  Files         327     327
  Lines       16775   16788       +13
  Branches     1499    1500        +1
==========================================
- Hits        14167     868    -13299
- Misses       2608   15920    +13312

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Convert to ONNX

Hi,
This project is very interesting and I want to use it with DeepStream. I need to convert this model weights to ONNX file using this script in trt_pose. But it seems that the model is different and I get this error:
  File "export_for_isaac.py", line 182, in <module>     main(args)   File "export_for_isaac.py", line 119, in main     model.load_state_dict(torch.load(args.input_checkpoint))   File "/opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1223, in load_state_dict     raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for Sequential: 	Missing key(s) in state_dict: "1.cmap_conv.0.0.weight", "1.cmap_conv.0.0.bias", "1.cmap_conv.0.1.weight", "1.cmap_conv.0.1.bias", "1.cmap_conv.0.1.running_mean", "1.cmap_conv.0.1.running_var", "1.cmap_conv.0.3.weight", "1.cmap_conv.0.3.bias", "1.cmap_conv.0.4.weight", "1.cmap_conv.0.4.bias", "1.cmap_conv.0.4.running_mean", "1.cmap_conv.0.4.running_var", "1.cmap_conv.0.6.weight", "1.cmap_conv.0.6.bias", "1.cmap_conv.0.7.weight", "1.cmap_conv.0.7.bias", "1.cmap_conv.0.7.running_mean", "1.cmap_conv.0.7.running_var", "1.cmap_conv.1.weight", "1.cmap_conv.1.bias", "1.paf_conv.0.0.weight", "1.paf_conv.0.0.bias", "1.paf_conv.0.1.weight", "1.paf_conv.0.1.bias", "1.paf_conv.0.1.running_mean", "1.paf_conv.0.1.running_var", "1.paf_conv.0.3.weight", "1.paf_conv.0.3.bias", "1.paf_conv.0.4.weight", "1.paf_conv.0.4.bias", "1.paf_conv.0.4.running_mean", "1.paf_conv.0.4.running_var", "1.paf_conv.0.6.weight", "1.paf_conv.0.6.bias", "1.paf_conv.0.7.weight", "1.paf_conv.0.7.bias", "1.paf_conv.0.7.running_mean", "1.paf_conv.0.7.running_var", "1.paf_conv.1.weight", "1.paf_conv.1.bias".  	Unexpected key(s) in state_dict: "1.cmap_up.0.weight", "1.cmap_up.0.bias", "1.cmap_up.1.weight", "1.cmap_up.1.bias", "1.cmap_up.1.running_mean", "1.cmap_up.1.running_var", "1.cmap_up.1.num_batches_tracked", "1.cmap_up.3.weight", "1.cmap_up.3.bias", "1.cmap_up.4.weight", "1.cmap_up.4.bias", "1.cmap_up.4.running_mean", "1.cmap_up.4.running_var", "1.cmap_up.4.num_batches_tracked", "1.cmap_up.6.weight", "1.cmap_up.6.bias", "1.cmap_up.7.weight", "1.cmap_up.7.bias", "1.cmap_up.7.running_mean", "1.cmap_up.7.running_var", "1.cmap_up.7.num_batches_tracked", "1.paf_up.0.weight", "1.paf_up.0.bias", "1.paf_up.1.weight", "1.paf_up.1.bias", "1.paf_up.1.running_mean", "1.paf_up.1.running_var", "1.paf_up.1.num_batches_tracked", "1.paf_up.3.weight", "1.paf_up.3.bias", "1.paf_up.4.weight", "1.paf_up.4.bias", "1.paf_up.4.running_mean", "1.paf_up.4.running_var", "1.paf_up.4.num_batches_tracked", "1.paf_up.6.weight", "1.paf_up.6.bias", "1.paf_up.7.weight", "1.paf_up.7.bias", "1.paf_up.7.running_mean", "1.paf_up.7.running_var", "1.paf_up.7.num_batches_tracked", "1.cmap_att.weight", "1.cmap_att.bias", "1.paf_att.weight", "1.paf_att.bias", "1.cmap_conv.weight", "1.cmap_conv.bias", "1.paf_conv.weight", "1.paf_conv.bias".
Have you changed resnet18_baseline architecture?

Hi @mehdiae, have you found a solution for it?

I found a solution. The model name has to be in a specific format I guess. So I just renamed the hand pose model equal to the human pose model and converted the model with this command:
hand_pose_resnet18_att_244_244.pth >>>> resnet18_baseline_att_244x244_A_epoch_249.pth
python3 export_for_isaac.py --input_checkpoint resnet18_baseline_att_244x244_A_epoch_249.pth --input_topology hand_pose.json
Input model is not specified, using resnet18_baseline_att as a default.
Input width/height are not specified, using 244x244 as a default.
Output path is not specified, using resnet18_baseline_att_244x244_A_epoch_249.onnx as a default.
Successfully completed convertion of resnet18_baseline_att_244x244_A_epoch_249.pth to resnet18_baseline_att_244x244_A_epoch_249.onnx.


Seems to be an error in one example

Hi,
I was recently at a conference where someone mentioned your docs here about your coding guidelines and I was browsing your documentation here to try and learn some better practices for writing javascript. While I was reading and working through trying out some examples I noticed something that might be worth pointing out.
It seems in the section about iterators that the goal is to grab a list of fruits out of the peoplesFavoriteFruits object and place it into the fruits variable. When you copy and paste the //good examples into a repl and run it the Object.keys(peoplesFavoriteFruits).map() function does not return a list of fruits but rather returns the first letter of each property name. I thought for anyone in the future looking through this that it might be a bit confusing so I thought I would mention it here in case that was not the result you were looking to demonstrate. Hope this helps!
edit: not the first letter of each property name, rather the index of the property name in the keys list is being used to grab the corresponding character of the properties name itself at that index point.

Oh interesting! Thanks for pointing it out. Can you link me to the specific piece of the documentation. Or better yet do you think you can fix it and submit a PR? 😄

@benmvp I made the changes and submitted the PR. Also, I saw you speak at Music City Code, thank you for your talk, it was great!

Glad to hear it was helpful! Thanks so much!
And thanks too for the PR #76!


MUDROD 132

Commands cleanup. A documentation will be posted here later on

@Yongyao can you or @quintinali please get a page together demonstrating the workflow? Can you base it off of using the PR you've provided here and using the Logs staged by Chris finch?
Thanks

Also can we use tags and milestones for tracking all of this stuff? It makes it MUCH easier to review when we have our meetings. Thanks.

https://github.com/mudrod/mudrod/wiki/Command-instructions
@lewismc @fgreg @quintinali Here is a detailed documentation. All of us should test it as this is very important!!!

Hi @Yongyao this is great, but it doesn't document the workflow. Which flags does someone need to use, in which order to achieve full log ingestion for Mudrod? Thats what we need to address here. Thanks.

@lewismc workflow added. https://github.com/mudrod/mudrod/wiki/Command-Line-Interface

When using -f what should -dataDir be set to? What should the structure of that directory look like? Should it be something like:
dataDir/
    /logs
        /FTP.201611.gz
        /LAS.201611.gz
        /OPeNDAP.201611.gz
        /THREDDS.201611.gz
        /WWW.201611.gz
    /RawMetadata

If -f needs both logs and metadata then there should be an option to configure the location of both.

When using -f, the directory structure should look like below
dataDir/
    /httplog
        /httplog
    /ftplog
        /ftplog
    /RawMetadata
        /1.json
        /2.json

This code can find those log files in this structure as long as you set the prefix correct.

We need to augment the workflow with this information. The pattern of the logs should mimic the formatting given to us by Chris Finch.

Did everyone get a chance to test this?

I have not. Quick comment about the documentation though.
" You can change it from here: https://github.com/mudrod/mudrod/blob/master/core/src/main/resources/config.xml#L47" changing the config.xml file when you are trying to run the command-line app will accomplish nothing at this point since the artifact is already built.
However I did add the MUDROD_CONFIG environment variable which can specify the location to a config.xml file that will be used in place of the one packaged with the application.
So the instructions should read something along the lines of: copy config.xml to the same directory you are running mudrod-engine from; modify that the copied config.xml file; set the MUDROD_CONFIG environment variable to the absolute path of your config; run mudrod-engine.
Also add in the information about expected directory structure.

I've just corrected a bunch of the Command Line Documentation folks as they are incorrect...

When applying this patch, building against master and attempting to ingest logs I get the following
lmcgibbn@LMC-056430 /usr/local/mudrod(MUDROD-132) $ ./core/target/appassembler/bin/mudrod-engine -f -dataDir /usr/local/mudrod_resources/2016/11/
2017-05-03 01:39:05,102 INFO  main.MudrodEngine (MudrodEngine.java:locateConfig(124)) - Loaded config file from /usr/local/mudrod/core/src/main/resources/config.xml
2017-05-03 01:39:06,684 WARN  util.NativeCodeLoader (NativeCodeLoader.java:<clinit>(62)) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2017-05-03 01:39:06,748 WARN  util.Utils (Logging.scala:logWarning(66)) - Your hostname, LMC-056430 resolves to a loopback address: <IP_ADDRESS>; using <IP_ADDRESS> instead (on interface en0)
2017-05-03 01:39:06,748 WARN  util.Utils (Logging.scala:logWarning(66)) - Set SPARK_LOCAL_IP if you need to bind to another address
2017-05-03 01:39:07,082 INFO  util.log (Log.java:initialized(186)) - Logging initialized @2279ms
2017-05-03 01:39:07,170 INFO  server.Server (Server.java:doStart(327)) - jetty-9.2.z-SNAPSHOT
2017-05-03 01:39:07,187 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@3e05586b{/jobs,null,AVAILABLE}
2017-05-03 01:39:07,187 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@35b17c06{/jobs/json,null,AVAILABLE}
2017-05-03 01:39:07,188 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@45545e7a{/jobs/job,null,AVAILABLE}
2017-05-03 01:39:07,188 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@9f674ac{/jobs/job/json,null,AVAILABLE}
2017-05-03 01:39:07,188 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@1da4b3f9{/stages,null,AVAILABLE}
2017-05-03 01:39:07,189 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@23cbbd07{/stages/json,null,AVAILABLE}
2017-05-03 01:39:07,189 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@448b808a{/stages/stage,null,AVAILABLE}
2017-05-03 01:39:07,189 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@7e62cfa3{/stages/stage/json,null,AVAILABLE}
2017-05-03 01:39:07,190 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@46e190ed{/stages/pool,null,AVAILABLE}
2017-05-03 01:39:07,190 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@383c3eb3{/stages/pool/json,null,AVAILABLE}
2017-05-03 01:39:07,192 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@20ab76ee{/storage,null,AVAILABLE}
2017-05-03 01:39:07,192 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@485caa8f{/storage/json,null,AVAILABLE}
2017-05-03 01:39:07,192 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@2703d91{/storage/rdd,null,AVAILABLE}
2017-05-03 01:39:07,193 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@5be052ca{/storage/rdd/json,null,AVAILABLE}
2017-05-03 01:39:07,193 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@2007435e{/environment,null,AVAILABLE}
2017-05-03 01:39:07,194 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@da28d03{/environment/json,null,AVAILABLE}
2017-05-03 01:39:07,194 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@ebda593{/executors,null,AVAILABLE}
2017-05-03 01:39:07,194 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@5792c08c{/executors/json,null,AVAILABLE}
2017-05-03 01:39:07,195 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@4d157493{/executors/threadDump,null,AVAILABLE}
2017-05-03 01:39:07,195 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@54c622a7{/executors/threadDump/json,null,AVAILABLE}
2017-05-03 01:39:07,201 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@37348491{/static,null,AVAILABLE}
2017-05-03 01:39:07,202 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@76e3b45b{/,null,AVAILABLE}
2017-05-03 01:39:07,203 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@10b4e7f8{/api,null,AVAILABLE}
2017-05-03 01:39:07,203 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@75023c53{/jobs/job/kill,null,AVAILABLE}
2017-05-03 01:39:07,204 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@66813e6e{/stages/stage/kill,null,AVAILABLE}
2017-05-03 01:39:07,209 INFO  server.ServerConnector (AbstractConnector.java:doStart(266)) - Started ServerConnector@1ddc6db2{HTTP/1.1}{<IP_ADDRESS>:4040}
2017-05-03 01:39:07,210 INFO  server.Server (Server.java:doStart(379)) - Started @2408ms
2017-05-03 01:39:07,470 INFO  handler.ContextHandler (ContextHandler.java:doStart(744)) - Started o.s.j.s.ServletContextHandler@626d2016{/metrics/json,null,AVAILABLE}
2017-05-03 01:39:07,618 INFO  discoveryengine.WeblogDiscoveryEngine (WeblogDiscoveryEngine.java:<init>(51)) - Started Mudrod Weblog Discovery Engine.
2017-05-03 01:39:07,618 INFO  discoveryengine.WeblogDiscoveryEngine (WeblogDiscoveryEngine.java:preprocess(98)) - Starting Web log preprocessing.
usage: MudrodEngine: 'logDir' argument is mandatory. User must also
       provide an ingest method. -dataDir </path/to/data/directory>
       [-esHost <host_name>] [-esPort <port_num>] [-esTCPPort <port_num>]
       [-f] [-h] [-l] [-m] [-p]
 -dataDir,--logDirectory </path/to/data/directory>       the data
                                                         directory to be
                                                         processed by
                                                         Mudrod
 -esHost,--elasticSearchHost <host_name>                 elasticsearch
                                                         cluster unicast
                                                         host
 -esPort,--elasticSearchHTTPPort <port_num>              elasticsearch
                                                         HTTP/REST port
 -esTCPPort,--elasticSearchTransportTCPPort <port_num>   elasticsearch
                                                         transport TCP
                                                         port
 -f,--fullIngest                                         begin full ingest
                                                         Mudrod workflow
 -h,--help                                               show this help
                                                         message
 -l,--logIngest                                          begin log ingest
 -m,--metaIngest                                         begin metadata
                                                         ingest
 -p,--processingWithPreResults                           begin processing
                                                         with
                                                         preprocessing
                                                         results
2017-05-03 01:39:07,620 ERROR main.MudrodEngine (MudrodEngine.java:main(399)) - Error whilst parsing command line.
java.lang.NullPointerException
	at gov.nasa.jpl.mudrod.discoveryengine.WeblogDiscoveryEngine.getFileList(WeblogDiscoveryEngine.java:63)
	at gov.nasa.jpl.mudrod.discoveryengine.WeblogDiscoveryEngine.preprocess(WeblogDiscoveryEngine.java:100)
	at gov.nasa.jpl.mudrod.main.MudrodEngine.startFullIngest(MudrodEngine.java:240)
	at gov.nasa.jpl.mudrod.main.MudrodEngine.main(MudrodEngine.java:389)
2017-05-03 01:39:07,626 INFO  server.ServerConnector (AbstractConnector.java:doStop(306)) - Stopped ServerConnector@1ddc6db2{HTTP/1.1}{<IP_ADDRESS>:4040}
2017-05-03 01:39:07,627 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@66813e6e{/stages/stage/kill,null,UNAVAILABLE}
2017-05-03 01:39:07,628 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@75023c53{/jobs/job/kill,null,UNAVAILABLE}
2017-05-03 01:39:07,628 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@10b4e7f8{/api,null,UNAVAILABLE}
2017-05-03 01:39:07,628 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@76e3b45b{/,null,UNAVAILABLE}
2017-05-03 01:39:07,628 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@37348491{/static,null,UNAVAILABLE}
2017-05-03 01:39:07,628 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@54c622a7{/executors/threadDump/json,null,UNAVAILABLE}
2017-05-03 01:39:07,629 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@4d157493{/executors/threadDump,null,UNAVAILABLE}
2017-05-03 01:39:07,629 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@5792c08c{/executors/json,null,UNAVAILABLE}
2017-05-03 01:39:07,629 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@ebda593{/executors,null,UNAVAILABLE}
2017-05-03 01:39:07,629 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@da28d03{/environment/json,null,UNAVAILABLE}
2017-05-03 01:39:07,629 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@2007435e{/environment,null,UNAVAILABLE}
2017-05-03 01:39:07,629 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@5be052ca{/storage/rdd/json,null,UNAVAILABLE}
2017-05-03 01:39:07,629 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@2703d91{/storage/rdd,null,UNAVAILABLE}
2017-05-03 01:39:07,630 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@485caa8f{/storage/json,null,UNAVAILABLE}
2017-05-03 01:39:07,630 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@20ab76ee{/storage,null,UNAVAILABLE}
2017-05-03 01:39:07,630 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@383c3eb3{/stages/pool/json,null,UNAVAILABLE}
2017-05-03 01:39:07,630 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@46e190ed{/stages/pool,null,UNAVAILABLE}
2017-05-03 01:39:07,630 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@7e62cfa3{/stages/stage/json,null,UNAVAILABLE}
2017-05-03 01:39:07,630 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@448b808a{/stages/stage,null,UNAVAILABLE}
2017-05-03 01:39:07,631 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@23cbbd07{/stages/json,null,UNAVAILABLE}
2017-05-03 01:39:07,631 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@1da4b3f9{/stages,null,UNAVAILABLE}
2017-05-03 01:39:07,631 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@9f674ac{/jobs/job/json,null,UNAVAILABLE}
2017-05-03 01:39:07,631 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@45545e7a{/jobs/job,null,UNAVAILABLE}
2017-05-03 01:39:07,631 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@35b17c06{/jobs/json,null,UNAVAILABLE}
2017-05-03 01:39:07,631 INFO  handler.ContextHandler (ContextHandler.java:doStop(865)) - Stopped o.s.j.s.ServletContextHandler@3e05586b{/jobs,null,UNAVAILABLE}

Right now I am struggling to ingest anything into ES... not sure how and why this got so complicated. We need to simplify it significantly... right now it's a bit of a mess to be honest and it's wasting time.

@lewismc I think this error is due to the incorrect data directory structure as @fgreg and I discussed earlier in this thread. Could you please tell me what logs you were using? I saw that you emailed Chris that you cannot access those logs anymore.
In short, to solve this problem, we just need to reach an agreement on what data directory structure,  file format we should be using.

Thanks @Yongyao, the directory structure is as follows
lmcgibbn@LMC-056430 /usr/local/mudrod_resources/2016/11 $ tree
.
├── FTP.201611
├── LAS.201611
├── OPeNDAP.201611
├── THREDDS.201611
├── UserHistoryMatrix.csv
└── WWW.201611

0 directories, 6 files

The UserHistoryMatrix.csv was generated during the full log ingestion using master branch. Everything else was provided directly by Chris Finch and we should make interpretation of these files default. Anything else will not be used within MUDROD anymore.

@lewismc @Yongyao I've fixed one of the errors but have run into a new one. The problem is that this pull request was created from your Fork. I have now created a new branch that incorporates both your changes and mine.
I suggest we close this pull request and open a new one from the feature branch https://github.com/mudrod/mudrod/tree/mudrod-132 so that we are all able to contribute commits.

OK, please feel free to do that. Also, I still cannot access the ftp page Chris set up. Could you please share the data you are using so that I can help debug this issue too?

This discussion continued in https://github.com/mudrod/mudrod/pull/159


Extend PR checklist with a note about breaking changes

Checklist

[x] User relevant changes are recorded in CHANGES.txt
[x] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

retest this please


remote execution using "Enter-PSSession"

Can we execute Get-CertificationAuthority and Get-CertificateTemplate command on remote machine using Enter-PSSession.
if not is there any alternative way collect  templates from remote windows machine.

Can we execute Get-CertificationAuthority and Get-CertificateTemplate command on remote machine using Enter-PSSession.

no, it is not supported, because it will cause double-hop authentication problems. CA-related commands (Connect-CA and Get-CA) allow you to specify remote CA server name you can connect from local computer.
Certificate templates are installed in AD, Configuration Naming Context which is replicated across all domain controllers in the forest, thus you can use any AD-joined machine to query for installed in AD templates.


Calling useQueries with an empty array leads to unlimited rerenders with the latest version of query

Describe the bug
When passing an empty array to useQueries it leads to a rerender loop -> see reproduction example
I think the same bug got also mentioned also in an unrelated other issue: https://github.com/TanStack/query/issues/6631#issuecomment-1875736135
Your minimal, reproducible example
https://stackblitz.com/edit/vite-react-ts-effjcj?file=src%2FApp.tsx
Steps to reproduce
See console for re-render loop :)
Expected behavior
Re-render loop isn't expected...
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
macOS Chrome
Tanstack Query adapter
react-query
TanStack Query version
5.17.1
TypeScript version
No response
Additional context
No response

If it's helpful, I'm also experiencing an infinite re-render loop when passing an empty array to useQueries() in 5.15.5. Works fine in 5.15.4.

Thank you, @TkDodo!


[Tracking] Implement a Website for the TAG

Description
The idea is to have a simple website that visualizes our outcomes, recommendations etc., in a more human-friendly way.
Milestones

Prepare website
Prepare website for Kubecon EU

Todos

[x] create first draft
[x] set website live
[x] define general content
[x] define content for Kubecon EU
[x] add content, general & Kubecon EU

/cc @catblade @caradelia

I'm not a graphic / web designer but happy to help with prose and content.

@caradelia ping

@caradelia just created one within the Env gdrive
https://docs.google.com/document/d/1pP6RSc7QzdWUil_27eOLUEmI037-KaGDG3TzPz-uTyw

Happy to help as well!

Sounds cool! I'd love to contribute.

updated the description, @caradelia PTAL

@berryq460 & @SaxenaAnushka102 great to hear! I added some things to the content document, its open to edit to anyone 🙌  feel free to write directly or comment :)

@leonardpahlke I need help on merging the Github page I created in my personal repo into the TAG. I will invite you to the repo if you could look at.

👍, I will request a repository under the CNCF organization and we can push it over

I talked to the CNCF and they are checking if we can get the website at sustainability.cncf.io. If thats possible we would have a similar setup as tag-contribex, see website folder in the tag repo https://github.com/cncf/tag-contributor-strategy/tree/main/website

@caradelia @berryq460 @SaxenaAnushka102 if you like to help on this effort feel free to add to this document https://docs.google.com/document/d/1pP6RSc7QzdWUil_27eOLUEmI037-KaGDG3TzPz-uTyw/edit 👍

Reviewed the doc quickly. If not included yet I think we could aim to include a section dedicated to showing a key compelling data visualization or chart to drive the point home of what we are measured in our latest survey and what we hope to measure in a future survey.
Ex: It can be a clickable chart that goes to the pdf of the slide deck

We'll be setting up a website with a Github page repository soon, and depending on how the website shapes up over time, we might push it to sustainability.cncf.io.
Thanks @nate-double-u for handling this at the CNCF

Hi All. I can set up sustainability.cncf.io for you. I manage many of the websites across the CNCF ecosystem, including sites like the Glossary, Maturity Model, and App Delivery. We have a theme on those sites we can easily adapt for this purpose.
I would need to know what the Information Architecture needs to be to support your efforts going forward. What is the full vision for the site? You'll see each of the examples above use slightly different nav elements. Once you have all the content done for the site, let me know and I can start work.

@cjyabraham thank you! We started drafting up the topics we would like to put on the website.
We came up with information about the charter, members, events where are at (for example where we meet up in person at Kubecon Eu, which talks are presented by us, which other talks at the conference in our domain, ...). We have some projects in the works at TAG where we're working on best practices, landscape and other things. We will probably expand at some point in the future the list of things we would like to put on the website.
Looking at the pages listed above, I could see that we have an about page and a contribute page + an events page for now.

Sounds good! Do you have a deadline you'd like this live by?

If possible it would be great to have latest in 2 weeks, so we have enough time to update the pages and get all setup before Kubecon EU

Sounds doable. If you could just get the initial content and any images you'd like prepared in the next few days then I can use them to set up the initial pages.
Could you confirm the following?

site name: TAG Environmental Sustainability
url: sustainability.cncf.io
logo will have the word SUSTAINABILITY where you currently see MATURITY MODEL here:

If you could just get the initial content and any images you'd like prepared in the next few days then I can use them to set up the initial pages.

Sounds good. We should be able to get it ready end of the week. cc @caradelia

Could you confirm the following?

✅

that was quick :D thanks! I will update the content in the upcoming days

No worries. I had just launched the appdelivery site so it was fresh in my mind 😂
Once we get the basic content in place we can reconfigure the topnav and sidebar navigation so that it serves the content.

This is awesome! @leonardpahlke I can help populate the content

You may want to set up a local instance as you make edits to see the changes immediately. You can follow the README instructions to get that set up.

Thank you @cjyabraham for setting up the page and getting us ready :)

@leonardpahlke I've merged in your PR and made a few other tweaks myself to tidy things up. As you continue to add more content we can refine things more as needed. Specifically we can turn on or off the left-sidebar nav for each section depending on whether it's needed. Also, if there are going to be multiple Events listed, we can add the date of each in their frontmatter so that they can be listed chronologically and have past events in their own section etc.

@cjyabraham would it be possible to trigger Netlify previews only on changes within /website?

I believe this is how it should be working. Are you seeing something different?

this is done!


Make GLTF Scene Importer populate node metadata with GLTF extras

Introduction
This PR adds the boolean import option nodes/meta to the Scene Importer.
When enabled the imported nodes' metadata is populated from annotation data of the specific file format (currently limited to GLTF "extras").
This PR currently only generates metadata for Meshes, Cameras and
Spatials. Other nodes can be added in later PRs.
The change was discussed with @fire on the engine room of the Godot discord.
Motivation
I would like to be able to write custom import scripts that modify the imported scene based on metadata on objects. e.g. generating physics objects for meshes that are somehow tagged in Blender.
The metadata can also be read at runtime, which makes it very easy to specify values in the 3d model (at modeling time i.e. in Blender) that are then used by the game e.g. physical properties of objects.
@fire expressed the desire to include GDscripts in GLTF files.
Example

Notice the custom property "is_floor" on the box mesh specified in Blender.

We export the model with the GLTF exporter while making sure to have the "Custom properties" option enabled.

We can see that the .gltf file encodes the custom property in the "extras" field.

Importing the .gltf file into Godot results in a MeshInstance with the metadata set to the values specified in Blender.
(the metadata panel is displayed by this plugin)
Breaking behavior
The option is disabled by default so it should not introduce unexpected behavior to anyone.
Disclaimer
I have no prior experience with 3D model formats or game development.

Changes seem OK, but it needs a check by @reduz to confirm that it's wanted.
A PR should be made for the master branch too, as it doesn't make sense to merge a new feature in 3.2 to then lose it in 4.0.

@akien-mga
Thanks for the review!
Unfortunately master does not work on my machine, so I guess someone else will have to port the changes.

If you want, I can spend significant time with helping you get Godot Engine 4.0 to run on your computer.

@fire
I really appreciate the offer. But at the moment I'm really just trying to develop a small game for the first time as free-time (i.e. relax) project. Maybe later on.
Given that it was brought up, this is what the project manager window looks like on master right after start (macOS Mojave Version 10.14.6 (18G4032))

I really want this, so I'll see if I can find time the next available period to work on it for master.

This pr is outdated by https://github.com/godotengine/godot/pull/40474.

Superseded by #40474. Thanks for your work!


Update certificate.js (issue #39284)

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

I think the requirement is misunderstood. This is not what we want. The config on the server is accurate. The map is not, also it need to be unified.

Yes, I am a newbie in contributing. Please help me in being a better contributor!