mxnet.initializer.Constant with NDArray as input does not work with hybridize

Description
Hi,
Using mxnet.initializer.Constant with NDArray as input does not work with hybridize, but according to the mxnet.initializer.Constant documentation it can get both float and NDArray.
Environment info (Required)
----------Python Info----------
Version      : 3.6.5
Compiler     : GCC 7.2.0
Build        : ('default', 'Apr 29 2018 16:14:56')
Arch         : ('64bit', '')
------------Pip Info-----------
Version      : 10.0.1
Directory    : /home/ubuntu/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/pip
----------MXNet Info-----------
Version      : 1.4.1
Directory    : /home/ubuntu/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet
Commit hash file "/home/ubuntu/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet/COMMIT_HASH" not found. Not installed from pre-built package or built from source.
Library      : ['/home/ubuntu/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/mxnet/libmxnet.so']
Build features:
No runtime build feature info available
----------System Info----------
Platform     : Linux-4.4.0-1092-aws-x86_64-with-debian-stretch-sid
system       : Linux
node         : ip-XXX-XX-X-XXX
release      : 4.4.0-1092-aws
version      : #103-Ubuntu SMP Tue Aug 27 10:21:48 UTC 2019
----------Hardware Info----------
machine      : x86_64
processor    : x86_64
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                32
On-line CPU(s) list:   0-31
Thread(s) per core:    2
Core(s) per socket:    16
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 79
Model name:            Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
Stepping:              1
CPU MHz:               2699.984
CPU max MHz:           3000.0000
CPU min MHz:           1200.0000
BogoMIPS:              4600.08
Hypervisor vendor:     Xen
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              46080K
NUMA node0 CPU(s):     0-31
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx xsaveopt
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0018 sec, LOAD: 0.5233 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.1289 sec, LOAD: 0.4413 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.2271 sec, LOAD: 0.5561 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0098 sec, LOAD: 0.4055 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0145 sec, LOAD: 0.3227 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0135 sec, LOAD: 0.0799 sec.
----------Environment----------

Package used Python with MXNET1.4.1
Build info (Required if built from source)
N/A
Error Message:
Traceback (most recent call last):
  File "/Users/XX/PycharmProjects/XX/playground.py", line 29, in <module>
    out = net(data)
  File "/Users/XX/PycharmProjects/XX/venv/lib/python3.7/site-packages/mxnet/gluon/block.py", line 540, in __call__
    out = self.forward(*args)
  File "/Users/XX/PycharmProjects/XX/venv/lib/python3.7/site-packages/mxnet/gluon/block.py", line 907, in forward
    return self._call_cached_op(x, *args)
  File "/Users/XX/PycharmProjects/XX/venv/lib/python3.7/site-packages/mxnet/gluon/block.py", line 797, in _call_cached_op
    self._build_cache(*args)
  File "/Users/XX/PycharmProjects/XX/venv/lib/python3.7/site-packages/mxnet/gluon/block.py", line 749, in _build_cache
    data, out = self._get_graph(*args)
  File "/Users/XX/PycharmProjects/XX/venv/lib/python3.7/site-packages/XX/gluon/block.py", line 739, in _get_graph
    params = {i: j.var() for i, j in self._reg_params.items()}
  File "/Users/XX/PycharmProjects/XX/venv/lib/python3.7/site-packages/mxnet/gluon/block.py", line 739, in <dictcomp>
    params = {i: j.var() for i, j in self._reg_params.items()}
  File "/Users/XX/PycharmProjects/XX/venv/lib/python3.7/site-packages/mxnet/gluon/parameter.py", line 555, in var
    init=self.init, stype=self._stype)
  File "/Users/XX/PycharmProjects/XX/venv/lib/python3.7/site-packages/mxnet/symbol/symbol.py", line 2543, in var
    init = init.dumps()
  File "/Users/XX/PycharmProjects/XX/venv/lib/python3.7/site-packages/mxnet/initializer.py", line 116, in dumps
    return json.dumps([self.__class__.__name__.lower(), self._kwargs])
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type NDArray is not JSON serializable

Minimum reproducible example
import mxnet as mx
from mxnet import nd, autograd, gluon

class LYR(gluon.HybridBlock):
    def __init__(self, **kwargs):
        super(LYR, self).__init__(**kwargs)
        with self.name_scope():
            # Not working:
            self.w1 = self.params.get('w1', shape=(1),
                                                   init=mx.initializer.Constant(mx.ndarray.array([33])),
                                                   grad_req='null')
            # Working:
            # self.w1 = self.params.get('w1', shape=(1),
            #                                        init=mx.initializer.Constant(33),
            #                                        grad_req='null')

    def hybrid_forward(self, F, x, w1):
        out = F.broadcast_mul(w1, x)
        return out

model_ctx = mx.cpu()
net = LYR()

net.collect_params().initialize(mx.init.Constant([1]), ctx=model_ctx)
net.hybridize()

data = nd.ones((128, 64, 16, 16)).as_in_context(model_ctx)
out = net(data)

Steps to reproduce
Run the code above.
What have you tried to solve it?
N/A

@leezu Should be related to the Gluon refactor.

@sxjscience  What's the intended behavior? Shouldn't it simply call value.asscalar() if it's an ndarray?

@leezu I mean, would we support ndarray (or nparray) as the input of constant in the future? Also, we should have a better error message to the user.

@zachgk assign [@leezu  ]

Hi @igolan
could you update to MXNet 1.5. This actually works in MXNet 1.5

Great.
Closing.


Fix Function Forwards

Modifies example game to have the Map object as SadConsole's focused object

Properly disposes of starting console

Enables forwarding of ProcessMouse and ProcessKeyboard functions to entities on a map that is the active/focused screen

Allows entities to process keyboard/mouse events while the map is focused

Moved responsibility for forwarding calls to a component

After upgrading Homicide Detective to use the library in this branch (as a form of end-to-end testing), I'm getting an error when I attempt to run. Stacktrace below:
Unhandled exception. System.MissingMethodException: Method not found: 'SadConsole.ColoredGlyph SadConsole.Components.Cursor.get_CursorRenderCell()'.
   at SadConsole.Renderers.CursorRenderStep.Render(IRenderer renderer, IScreenSurface screenObject)
   at SadConsole.Renderers.ScreenSurfaceRenderer.Render(IScreenSurface screen)
   at SadConsole.ScreenSurface.Render(TimeSpan delta)
   at SadConsole.ScreenSurface.Render(TimeSpan delta)
   at SadConsole.ScreenObject.Render(TimeSpan delta)
   at SadConsole.Game.Run()
   at HomicideDetective.Program.Main() in /(???)/HomicideDetective/HomicideDetective/Program.cs:line 18

There were no errors before I upgraded TSR.I. This does NOT happen when I run the example game in the integration library.


Change license from MIT to BSD 3-Clause

We publish everything under the BSD 3-Clause license — this bower package should be under that license too.

:+1:


incompatible with https://github.com/getsentry/raven-ruby

#!/usr/bin/env ruby
require 'gli'
require 'raven'

include GLI::App

desc 'hello'
command :hello do |c|
    c.action do |global_options,options,args|
        puts "hello"
    end
end

exit run(ARGV)

fails with "NoMethodError: private method `desc' called for main:Object"

see also https://github.com/getsentry/raven-ruby/issues/531

I don't understand enough ruby magic to know if gli or raven is the culprit

Looks like the fix proposed in getsentry/raven-ruby#531 worked.

yes indeed, and this was the fix:
require "gli"
require "raven"

class MyApp
  extend GLI::App

  # all the GLI stuff you'd normally put at top-level

end

exit MyApp.run(ARGV)


CA1062 fires on methods with 1 parameter marked as params

For example, the following code will result in a CA1062 in VS2022 Preview 1 (17.0.0), although that parameter can never be null.
public HeaderApiVersionReader( params string[] headerNames ) => HeaderNames.AddRange( headerNames );

Error message I receive is:
Severity  Code	      Description
Error     CA1062      In externally visible method 'HeaderApiVersionReader.HeaderApiVersionReader(params string[] headerNames)', validate parameter 'headerNames' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.

Note that this error is not from StyleCop.
However, the warning is correct as someone could call this as HeaderApiVersionReader(null) or indirectly with an string array variable that is null.

Duplicate of https://github.com/dotnet/roslyn-analyzers/issues/4572


Change MAVSDK-Proto submodule to https since it's anyway public inside auterion

This is necessary for some CI work I am doing in another repo

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6011

Relevant Lines:
17747

💛  - Coveralls


dotnet restore --interactive

Unable to find package OpenAI.Api. No packages exist with this id in source(s): azure-sdk-for-net

Doesn't sound like a credential provider issue. What does your nuget.config look like here?

When I tried 'dotnet restore --interactive', I never received any credential prompt.
Nuget.config :

When I tried 'dotnet restore --interactive',  I never received any credential prompt.
Nuget.config

Not seeing the nuget.config showing up... you probably are not seeing a credential prompt because this is not a credential issue. If you're unable to find a package nuget is informing you that from the available sources in your nuget.config that package was not found.

add key="azure-sdk-for-net" value="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json"

If you check the feed you'll see that there is no package OpenAI.Api and no upstream source to pull it from, hence the error nuget is reporting. You should follow up with the feed owners to get the package added.

I'm simply using the dotnet sample provided by the Microsoft team without making any modifications. I had the impression that this private package was being maintained by the Azure SDK team.

You'll need to follow up with that team then to update the sample as it appears to have gone stale?


Consistently capitalise ECMAScript

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md

I am:

[x] Suggesting edits to an existing Topic page
[ ] Curating a new Topic page

I'm suggesting these edits to an existing topic:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Please explain why these changes are necessary:
ECMAScript is the canonical capitalisation. It should be used consistently.

Thanks so much for your contribution!  You rock, @auscompgeek!


No wildcard redirects possible?

When we started with RTD & MkDocs two years ago we tried to work around some l10n shortcomings ourselves. Turns out we don't need that all; all files can be moved up one level in the directory tree. To avoid dead links we'd like to configure wild card redirects to omit that extra folder in the URL.
Examples:

https://nodemcu.readthedocs.io/en/latest/en/ -> https://nodemcu.readthedocs.io/en/latest/
https://nodemcu.readthedocs.io/en/latest/en/flash/ -> https://nodemcu.readthedocs.io/en/latest/flash/
https://nodemcu.readthedocs.io/en/latest/en/modules/cron/ -> https://nodemcu.readthedocs.io/en/latest/modules/cron/

In short, in mod_rewrite terms this would be /$lang/$version/en/(.*) -> /$lang/$version/$1.
I studied the three redirect options in the documentation and ran a few tests but a) I'm either too stupid to get it or b) then such wild card redirects really aren't supported. If b) then https://github.com/honzajavorek/rtd-redirects might come in handy for us.

I need to do something similar, so I looked at code here: https://github.com/rtfd/readthedocs.org/blob/96f6da57d89a37bdfa6b99de93e8ae6d09e2a586/readthedocs/redirects/models.py
There does not seem to be any wildcards, but I see that exact redirects have a '$rest' parameter. I think this will allow you to do what you want, by the following pattern:

from: /$lang/$version/en/$rest
to: /$lang/$version/
(you might need to tweak the start, not sure how from/to gets set before entering code linked).

Note: The $rest bit seems not to be documented, so here be dragons.

You mean https://github.com/rtfd/readthedocs.org/blob/96f6da57d89a37bdfa6b99de93e8ae6d09e2a586/readthedocs/redirects/models.py#L134 right? I don't see support for either $lang or $version in the code though.
I was recently testing redirects w/ modifying my file structure first (i.e. I didn't have any invalid links) and was then wondering why my redirect rules weren't applied at all. Turns out they're only active after HTTP 404 was detected:

Since we serve documentation in a highly available way, we do not run any logic when we’re serving documentation. This means that redirects will only happen in the case of a 404 File Not Found.

I don't see support for either $lang or $version in the code though.

Yes, looking closer on this I see that. Are you sure your case can't be covered by the prefix redirect?

I have a case needing wildcard redirects that one language of translation is completely hosted somewhere else, so I'd like to redirect /en/(.*) to https://else.where/en/$1.

The rest keyword is now documented https://docs.readthedocs.io/en/latest/user-defined-redirects.html#exact-redirects Looks like it solves all the problems here, not sure if a wildcard is still needed after that.

I believe /en/latest/en/$rest -> /en/latest/ should work (I just tested this and it works!). I'm not completely sure, but for me looks like the rest keyword is the wildcard redirect  p:

@marcelstoer could you please test the solution that @stsewd provided? I think that should achieve your goal.
I want to have something actionable on this issue or close it.


Menu items are constantly highlighted and the first menu item always has a black border with the newly custom title bar style enabled

VSCode Version: Code 1.25.0
OS Version: Windows 10

Quick gif showing the issue:

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

duplicate of #52933 and #52911


{N} & Android M

Research what's new in Android M and check how {N} works against it.

Done, here is the blog.


Home Assistant - Sengled Bulb Integration

After "Home Assistant 2023.6.0" version install I can no longer start this integration anymore.
Up to this update, the integration would not (failed) to start BUT I could always 'reload' it and it would happily run and work.
Would be really good if someone smarter than me (humble network eng) to take on the support for this add-on.
Regards,
Stephen

Hey @shdashley, is the integration still broken? I don't want to upgrade to 2023.6.0 if it permanently breaks this integration.
Anything useful in the logs?

Still broken. I can't work out how to 'reload' each HACS addon. Used to be able to do this. I've tried the 'reload' of the whole HACS integration. But the Sengled integration does not reload (again). Although it did for a reboot (only tried one reboot so far).
Log (breif) -
Error during setup of component sengledapi
June 8, 2023 at 07:18:22 – (ERROR) util/async_.py
Detected blocking call to putrequest inside the event loop. This is causing stability issues. Please report issue to the custom integration author for sengledapi doing blocking calls at custom_components/sengledapi/sengledapi/devices/request.py, line 40: r = requests.post(self._url, headers=self._header, data=self.payload)
June 8, 2023 at 07:18:22 – (WARNING) util/async.py
Setup of sengledapi is taking over 10 seconds.
June 8, 2023 at 07:18:20 – (WARNING) runner.py
Logs Full -
Log Details (ERROR)
Logger: homeassistant.setup
Source: util/async_.py:153
First occurred: June 8, 2023 at 07:18:22 (1 occurrences)
Last logged: June 8, 2023 at 07:18:22
Error during setup of component sengledapi
Traceback (most recent call last):
File "/config/custom_components/sengledapi/sengledapi/sengledapi.py", line 253, in async_do_request
return await Request(url, payload).async_get_response(jsessionId)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/sengledapi/sengledapi/devices/request.py", line 57, in async_get_response
data = await resp.json()
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1104, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: ', url=URL('https://element.cloud.sengled.com/zigbee/device/getDeviceDetails.json')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 283, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/sengledapi/init.py", line 64, in async_setup
sengledapi_devices = await sengledapi_account.async_get_devices()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/sengledapi/sengledapi/sengledapi.py", line 182, in async_get_devices
data = await self.async_do_request(url, payload, SESSION.jsession_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/sengledapi/sengledapi/sengledapi.py", line 255, in async_do_request
return Request(url, payload).get_response(jsessionId)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/sengledapi/sengledapi/devices/request.py", line 40, in get_response
r = requests.post(self._url, headers=self._header, data=self._payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 714, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 415, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.11/http/client.py", line 1283, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.11/http/client.py", line 1294, in send_request
self.putrequest(method, url, **skips)
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 219, in putrequest
return HTTPConnection.putrequest(self, method, url, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/async.py", line 166, in protected_loop_func
check_loop(func, strict=strict)
File "/usr/src/homeassistant/homeassistant/util/async.py", line 153, in check_loop
raise RuntimeError(
RuntimeError: Blocking calls must be done in the executor or a separate thread; Use await hass.async_add_executor_job(); at custom_components/sengledapi/sengledapi/devices/request.py, line 40: r = requests.post(self._url, headers=self._header, data=self._payload)

Following - I have the exact same error


Update the use_library test to remove the HLS and OCL flows

Update the use_library test to remove the HLS and OCL flows since they are no longer supported in the emulation flows.
Existing Sample Changes
Description
Remove the HLS and OCL flows
Fixes Issue#
External Dependencies
n/a
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[x] Command Line
[ ] oneapi-cli
[ ] Visual Studio
[ ] Eclipse IDE
[ ] VSCode
[ ] When compiling the compliler flag "-Wall -Wformat-security -Werror=format-security" was used

LGTM. @JoeOster sorry to ask again, but could you approve/merge this for me? Since I don't have the permissions.

@tyoungsc are these expected errors for 2021.3 ci?

@ajaykumarkannan can you comment? I didn't think that CL/sycl.hpp changed at all from 2021.3 to 2021.4? Wouldn't we see this error in all other designs?

I’ve been looking into this. This particular error is expected, but I noticed another issue with the sycl RTL flow that I’m still digging into. I’ll post an update once I know for sure.

@ajaykumarkannan I believe this PR is dead now, since the sample has been removed?  Closing the PR, pleas reopen if I'm incorrect.


No go module support

go-p9p isn't using Go modules. An update to make this a go module would be much appreciated.

Hi, we are not currently using this code anywhere so are not maintaining it. I will probably archive it, but if there is community interest in maintaining it I could move it.


How to inject web-vitals library function in playwright browsers environment ?

I am trying to get a web-vitals metrics result from the reportWebVitals function from the web-vitals npm package but unable to achieve the result using playwright, it throws an error saying "page. evaluate: ReferenceError: _reportWebVitals is not defined"
import type { ReportHandler } from 'web-vitals';

const reportWebVitals = (onPerfEntry?: ReportHandler) => {
  if (onPerfEntry && onPerfEntry instanceof Function) {
    import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
      getCLS(onPerfEntry);
      getFID(onPerfEntry);
      getFCP(onPerfEntry);
      getLCP(onPerfEntry);
      getTTFB(onPerfEntry);
    });
  }
};

export default reportWebVitals;

import reportWebVitals from '../src/reportWebVitals';
import { Browser, chromium, expect, test } from '@playwright/test';
import { Page } from 'playwright';

const HOME_PAGE_URL = 'http://localhost:4000/';

test.only('Performance Checks using web-vitals library', async ({ browser }) => {
  const context = await browser.newContext();
  const page = await context.newPage();
  await page.goto(HOME_PAGE_URL, { waitUntil: 'networkidle' });
  const getVitals = (args) => {
    console.log('args', args);

  };
  await page.evaluate(async () => {
    reportWebVitals(getVitals);
  });
});

I'm afraid I don't use Playwright and can't really advise but see #180 as one implementation that someone has used (based on an older version of web-vitals) in case that helps.


Added JSON doc to get toll free numbers page

For the Committer

[ ] I made sure that the site looks great and functions perfectly live
[ ] I ran splell check
[ ] I'm ready for these changes to be made live

For the Reviewer
General Review

[ ] All changes/updates requested were intentionally changed or added (no extraneous file or partial updates)
[ ] The live rendered page behaves and looks like intended.
[ ] All links work as intended. (click every link to make sure that it takes the user to the expected place).
[ ] The markdown was rendered to HTML as intended. (Tables look right, code samples are gated properly).
[ ] Any style or CSS changes are tested on multiple different pages to ensure nothing unexpected broke or changed.
[ ] I proof-read the live site (gitbook serve) and there are no oblivious splelling or grammer misteaks.

Gitbook Specific

[ ] Any new documentation pages have been added to the SUMMARY.md file so they are rendered to HTML.
[ ] Any links to other pages within this documentation use relative links ([read more about ...](guides/voice/voicemail.md)).
[ ] Gitbook can install and build the documentation (gitbook install & gitbook build)

Code Specific

[ ] All code has been tested against the live API.
[ ] All code can be run without throwing errors or new warnings.
[ ] All code is formatted correctly and consistently (spaces, tabs).
[ ] All code is legible and idiomatic to the language.
[ ] All code uses sensical method, function, and variable names.
[ ] All code samples use the appropriate syntax highlighting.
[ ] Any examples re-use same phone numbers, uuids, variable names, etc... throughout (IE don't have something like {from: '+19191231234', to: '+19191231234'} unless it's meant to show the same phone number calling/texting itself ).

TL;DR

[ ] I did these things
[ ] I'm ready for these changes to be made live

 Usabilla Feedback Item - add sample JSON response & list of response properties + Grammar Error

Preview Changes at:
http://bw-apdocs-add-json-sample-to-toll-free.s3-website-us-east-1.amazonaws.com/


💅 Shows "All these imports are only used as types" in Vue+typescript

Environment information
Biome 1.9.4(bundled)

Rule name
useImportType
Playground link
https://biomejs.dev/playground/?files.main.vue=PAB0AGUAbQBwAGwAYQB0AGUAPgAKACAAIAA8AFQAZQBzAHQAQwBvAG0AcABvAG4AZQBuAHQAPgAKACAAIAAgACAALgAuAC4ACgAgACAAPAAvAFQAZQBzAHQAQwBvAG0AcABvAG4AZQBuAHQAPgAKADwALwB0AGUAbQBwAGwAYQB0AGUAPgAKAAoAPABzAGMAcgBpAHAAdAAgAHMAZQB0AHUAcAAgAGwAYQBuAGcAPQAiAHQAcwAiAD4ACgAgACAAIAAgAGkAbQBwAG8AcgB0ACAAVABlAHMAdABDAG8AbQBwAG8AbgBlAG4AdAAgAGYAcgBvAG0AIAAnAC4ALwBUAGUAcwB0AEMAbwBtAHAAbwBuAGUAbgB0AC4AdgB1AGUAJwAKACAAIAAgACAAYwBvAG4AcwB0ACAAdABlAHMAdABUAHkAcABlACAAPQAgAEkAbgBzAHQAYQBuAGMAZQBUAHkAcABlADwAdAB5AHAAZQBvAGYAIABUAGUAcwB0AEMAbwBtAHAAbwBuAGUAbgB0AD4ACgA8AC8AcwBjAHIAaQBwAHQAPgA%3D
Expected result
Please see the playground: if the line of typeof doesn't exist, biome won't have problem with unused import or something, but when you have the typeof line and when it is the only reference to the imported component inside the script tag, biome will report All these imports are only used as types. despite the usage outside the script tag.
Code of Conduct

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

We only partially support vue files right now. See: https://biomejs.dev/internals/language-support/#html-super-languages-support
We recommend disabling these rules for these files until they are better supported.
  {
    "overrides": [
      {
        "include": ["*.svelte", "*.astro", "*.vue"],
        "linter": {
          "rules": {
            "style": {
              "useConst": "off",
              "useImportType": "off"
            }
          }
        }
      }
    ]
  }


Fix 2d nhm for dry rising bubble

Fix the equations for 2d nhm. Dry rising bubble is now rising.
It is uglier than ClimaCore bubble because we are not including flux correction or 2nd order diffusion (something to discuss for future work).
closes #263

rho, rho-u, rho-w at 400 sec

bors try

bors try

bors r+


--s1 fails when using --source-map

Setup
Fixtures
in-with-map.css:
/*!
comment 1
*/a{color:#00f}/*!
comment 2
*/b{color:red}/*!
comment 3
*/i{color:green}/*# sourceMappingURL=in-with-map.css.map */

in-with-map.css.map:
{"version":3,"sources":["source.css"],"names":[],"mappings":";;AAGA,EACI,MAAO;;AAMX,EACI,MAAO;;AAMX,EACI,MAAO"}

Versions
$ node -v
v1.8.1
$ npm -v
2.8.3
$ cleancss -v
3.2.4

Test command
1. without --source-map (OK)
$ cleancss --s1 -o out.css in-with-map.css

out.css:
/*!
comment 1
*/a{color:#00f}b{color:red}i{color:green}

(works as expected)
2. with --source-map (not OK)
$ cleancss --s1 --source-map -o out.css in-with-map.css

out.css:
/*!
comment 1
*/a{color:#00f}/*!
comment 2
*/b{color:red}/*!
comment 3
*/i{color:green}/*# sourceMappingURL=out.css.map */

(still contains too many comments despite --s1 flag)

@shinnn Thanks for opening this issue, and reproducing it in just clean-css. I think I've narrowed down what's causing the issue.
In lib/stringifier/simple.js, the restore function is called once. However, in lib/stringifier/source-maps.js the restore function is called multiple times.
Because of this, the counter in the lib/text/comments-processor.js restore function fails to keep track.
Of course, simple moving the function to the end breaks the source maps, so I'm not sure what the cleanest solution to this would be.

Thanks @shinnn for outstanding bug report and @AlexanderOMara for pointing me into the right spot. It's fixed in 3.2.5 now.

@jakubpawlowicz You're welcome. Thanks for the new release!

Cheers!

Awesome! Thanks for the quick fix!


(READY) Make motif database-based reporting optional

Fixes #5
Now when a motif database is provided, the report with the TOMTOM comparison will be written to motifs.tomtom.html

Sure,
for the command:
modisco report -i modisco_results.h5 -o report/

it outputs to reports/motifs.html:

and if we do:
modisco report -i modisco_results.h5 -o report/ -m JASPAR2022_CORE_vertebrates_non-redundant_pfms_meme.txt

it outputs to reports/motifs.tomtom.html:


EROR

PocketMine-MP version: 4.15.3 [Protocol 567]
Git commit: 71e3e3652250130762110c63a2649b04865fc74c
PHP version: 8.0.27
OS: Linux, linux
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: theSpawn
Error: supercrafter333\theSpawn\theSpawn::isPositionSafe(): Argument #1 ($position) must be of type pocketmine\world\Position|pocketmine\entity\Location|false|null, string given, called in phar:///home/container/plugins/theSpawn_dev-174.phar/src/supercrafter333/theSpawn/Commands/HomeCommand.php on line 92
File: plugins/theSpawn_dev-174.phar/src/supercrafter333/theSpawn/theSpawn
Line: 1269

Your world cannot be loaded or isn't existing. This isn't a important bug and won't be fixed. Please update your server to PM5 on 31.03.2023 and use theSpawn v2.0.0 on the PM5 server.


Bumped spellcheck action to latest version (0.19.0)

Hello,
I have just released 0.19.0 of the GitHub Spellcheck Action and I noticed that older versions of the Docker image had been pulled from DockerHub recently.
I was able to locate your configuration via SourceGraph, so I am providing you with a PR proposing an update to a more contemporary version.
It should be backwards compatible even though a lot has happened, but if you experience any issue with the PR please let me know and I will comply.
Take care and stay safe,
jonasbn

@jonasbn do you want to add the dependabot change to this PR or create a new one?

@JasonMorgan I will create a new one, it will require some more documentation


syncthingtray: 1.4.4 -> 1.4.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Martchus/syncthingtray/releases.
meta.description for syncthingtray is: Tray application and Dolphin/Plasma integration for Syncthing
meta.homepage for syncthingtray is: https://github.com/Martchus/syncthingtray
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4.5 with grep in /nix/store/wx02ksvvxcq3l3kpacwxz1if0izjbdna-syncthingtray-1.4.5
found 1.4.5 in filename of file in /nix/store/wx02ksvvxcq3l3kpacwxz1if0izjbdna-syncthingtray-1.4.5

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
syncthingtray
syncthingtray-minimal

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wx02ksvvxcq3l3kpacwxz1if0izjbdna-syncthingtray-1.4.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A syncthingtray https://github.com/r-ryantm/nixpkgs/archive/6b9d2e7252f3f57c27edbf277c94e382d0002d73.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wx02ksvvxcq3l3kpacwxz1if0izjbdna-syncthingtray-1.4.5
ls -la /nix/store/wx02ksvvxcq3l3kpacwxz1if0izjbdna-syncthingtray-1.4.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

syncthingtray
syncthingtray-minimal

Maintainer pings
cc @doronbehar for testing.

Cool, I just found out about this package after years of using syncthing! Thanks for keeping it up to date!

Result of nixpkgs-review pr 249442 run on x86_64-linux 1

2 packages built:

syncthingtray
syncthingtray-minimal


talk: clubs appearing as invitations

Describe the bug, optionally with screenshots
Existing club-DMs are appearing as invitations in the sidebar and in the main message pane (accept/deny).
From the wild:

Small Talk apparently allows you to speak past this gate:

To Reproduce
Steps to reproduce the behavior:
No known steps or conditions.

I have had issues like this where I was invited to a group DM, accepted the invite, and then was able to communicate in the DM. Except, every time I would reopen Talk, the %club would appear as an invitation and I would need to reaccept it to continue the discussion. A few oddities:

It appeared to me as though ~sarlev-sarsen was in the member list twice; once as a full member and once as a pending member.
I was unable to decline the invitation from the full view. But when selecting the sidebar element for that chat row, I was able to decline the invitation from there and now I am no longer in the chat at all.
Since leaving the chat I somehow got an invitation from myself to join a chat with myself:

Wondering if these are related.


The Drawers are not loaded correctly. RACE CONDITION ISSUE!

Environment
Environment:
OS: macOS High Sierra 10.13.5
Node: 8.9.4
Yarn: 1.5.1
npm: 5.6.0
Watchman: Not Found
Xcode: Not Found
Android Studio: 3.1 AI-173.4720617
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: ^0.49.5 => 0.49.5
Description
1] Given: SinglePageApplication with main screen and left and right drawers.
2] When the drawer is tried to be opened
3] Then the drawer is opened on the screen just partially 90% of the cases the rest 10% works good.
Has anyone experienced this sh** ?
Reproducible Demo

Can you share an example of your code or otherwise provide more details?


Problems with purninging tools

Can you use the tool get_channel_units.py to analyze MM3D models?

We are sorry, we don't test MMRazor on any mmdet3d model.
In theory, MMRazor can be applied to any model. Please try to prune a mmdet3d model following our docs.
We make much effort to make MMRazor can prune models automatically. However, there are also some cases we need help to handle. If MMRazor cannot prune a mmdet3d model automatically. Please try the three following steps.

First, we need a demo input for your model to conduct forward. We have implemented some demo inputs for some models. You can implement your demo input if they can't satisfy your model. Please refer to demo input for more details.

We will trace your model using Fx tracer. Fx tracer requires models to satisfy some requirements to make sure the models are traceable. MMRazor has a modified fx tracer to make it more robust by automatically wrapping untraceable parts. However, it's also limited. It would help to change your model to make it traceable when tracing fails. Please refer to fx tracer for more details.

Then, we will convert the traced graph to a ChannelGraph. ChannelGraph is used to analyze the channel dependency with ChannelNodes. Please implement ChannelNodes for the ops that are not pre-defined in MMRazor. Please refer to ChannelNode for more details.


Weird problem with committing

**TL;DR; Commit button disabled despite having changes and untracked files. Previous commits pushed successfully. Deselecting and reselecting check-boxes does nothing. **
I added new images and modified an html page. The changes showed. I also had 2 JSON files I use for English and French translations that I had changed but not committed yet. I decided to commit those 2 files first so I use the check-boxes to select them and hit commit. My brackets became sluggish and the files remained there.
The "commit" button was enabled so I clicked it a few times with intervals of around 10 seconds. I could still select and deselect the individual check-boxes for all the files (although the "select all" box wasn't altering the other check-boxes, just itself). I saw I had 2 un-pushed commits so I pushed them and it worked. The 2 files I had committed disappeared from the list (successfully committed, although I can't recall 100% if it was before or after the push). The "Commit" button was now disabled as well no matter what I selected (4 untracked files and 1 modified html page), clicking it did nothing.
I restarted brackets and the button remains disabled. Made more modifications to my html page and attempted to deselect and reselect the file check-boxes; nothing changed. I can still view the changelog on my html page and brackets is no longer sluggish after restarting it for the first time. Options to delete the untracked files and discard changes are still there. I uninstalled and reinstalled the extension with no luck. My working repo is on a USB key although it shouldn't affect anything. It was not pulled out or accidentally disconnected during this bug.
I'm thinking maybe git in general crashed, so I will reboot my laptop after submitting.
Brackets 1.1.0-15558 (win), Git 1.9.4.msysgit.2 & Brackets-Git 0.14.9

Rebooting has not solved the problem.

@DarkFaith can you please check the logs from the console? (f12)
Ideally turn on the debug mode in the settings before doing so.

Turned out to be pretty obvious. Had a index.lock file remaining from a git crash. Sorry for the bother and thanks a LOT for the help =)

:+1:

i am also getting locks on mac git version 2.1.2


Block connection is buggy in interface inside of the workspace

Sometimes when a block is dragged into the workspace all of the connecting blocks within the block are scattered across the workspace in no particular order. Also some connections are not able to be made on the first try and it may take 3 to 4 tries to get them to connect.

Has been resolved


Messed up display

When used in portrait mode, the sunset hours and last update words get mixed up (in french).

Wider view (it happens when update time has a weekday) :

@cycyx can you give me your phone specs? I will fix the layout /text in French so that it works better

@cycyx should be fixed now, i made text "shorter" to prevent that


Not able to download the Pretrained ESG-BERT

https://drive.google.com/drive/folders/1yfNpMvByz3fJMsOqir3SerS6PwsRS2rt?usp=sharing   This link is giving error. Can you please update the link?

That is fine tuned for classification. but needed the pretrained(MLM) ESG Bert.

Bumping this -- does anyone have the weights for the MLM ESGBERT (not the classifier)


Add Japanese Translation (README_ja.md) to Repository

Is your feature request related to a problem? Please describe.
There is no Japanese Translation for README.md.
Having a Japanese translation of the README.md file will make it easier for Japanese developers to contribute to the project.
Describe the solution you'd like
Creating a new file named README_ja.md, which will contain the Japanese translation of the existing README.md.
If you don't mind, I would like to do it.

Sure @shunm-999


Remove unnecessary installs

sys and image modules are automatically installed as part of the default Torch7 install.

So should we remove image from this list, too?
https://github.com/NVIDIA/DIGITS/blob/v3.2.0/docs/BuildTorch.md#luarocks-dependencies

Yes indeed. Thanks, I have updated the patch.


Z-ordering wrong on stairs, etc

Fixed by https://github.com/snaphat/final_fantasy_vi_widescreen/commit/b8940995938ef57c4a6e53193585f38360de7140
Apparently there are shadow clipping sprites that need to be shifted...


Feature/seb boris

Pull request to merge in the code for the Boris solver with main. The Boris solver currently exists separate to the existing solvers but is called in a similar fashion. The only change made to the code of others is a change in the return value of ExternalField's field calculation function. This is to ensure consistency between the various versions of evaluate_field_at_point

Hi @TomGoffrey I requested a review from you simply because you'd know the solver best and some of your cpp branch is in this PR.

I'd rather see this PR merge in the Boris solver only - the cpp code really is very much WIP.
@sebj101 If you don't object, I'm going to close this PR and re-open with a branch which only contains your changes. Is that OK?

Apologies @TomGoffrey, I forgot that the cpp code hadn't been pushed to main yet. Please feel free to do the above.

@sebj101 No problem. I've just pushed a branch feature/seb_boris_clean - could you open a PR for it please? I'm not sure I can act as a reviewer if I open the request myself.

See #19


feat(deps): update dependency typedoc to 0.23.8

Commit Body

BREAKING CHANGES

The typedoc dependency has been updated to 0.23.8
The CommentParser#tags property has been removed along with #tags in related interfaces. See #blockTags and #modifierTags instead.
The CommentParser#extendedDescription has been removed and merged with #description along with related interfaces.

Codecov Report

Merging #19 (82b1a85) into main (6dc7a28) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Current head 82b1a85 differs from pull request most recent head 5453dcc. Consider uploading reports for the commit 5453dcc to get more accurate results

@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage   21.95%   21.95%
=======================================
  Files          53       53
  Lines        1189     1189
  Branches      184      183    -1
=======================================
  Hits          261      261
  Misses        901      901
  Partials       27       27

Impacted Files
Coverage Δ

src/lib/structures/ConstantParser.ts
20.00% <0.00%> (ø)

src/lib/structures/FunctionParser.ts
16.00% <0.00%> (ø)

src/lib/structures/NamespaceParser.ts
14.08% <0.00%> (ø)

src/lib/structures/TypeAliasParser.ts
17.85% <0.00%> (ø)

.../structures/class-parser/ClassConstructorParser.ts
14.81% <0.00%> (ø)

...c/lib/structures/class-parser/ClassMethodParser.ts
14.28% <0.00%> (ø)

src/lib/structures/class-parser/ClassParser.ts
20.63% <0.00%> (ø)

...lib/structures/class-parser/ClassPropertyParser.ts
11.53% <0.00%> (+0.21%)
:arrow_up:

src/lib/structures/enum-parser/EnumParser.ts
18.51% <0.00%> (ø)

...c/lib/structures/enum-parser/EnumPropertyParser.ts
19.04% <0.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

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

Todo
(You should be able to assign me as a reviewer now)

Todo (You should be able to assign me as a reviewer now)

Negative, it doesn't show you available to assign as a reviewer.


[Bug] Gen-4 Score able to reach Rainbow Rank without doing rolls?

I temporarly set Kiwami to 1M flat since the way Rewrite implemented it made it impossible to reach in most cases for 2P, I'll put it back to og gen-4 calculation later

FIxed


Move (or remove) "Allow Partial Builds" button

I'm sure you've left this here on purpose just to trigger my OCDs and I can't take it anymore.
Put it at the bottom instead of in the middle of all these blue buttons.

It's top down: artifact settings, then one with character select.


Can I include email, phone number, ... into one QR image?

Hi,
Can I include email, phone number, ... into one QR image? How to format the text to achieve that?
Thanks,

You could include any information.  See https://github.com/zxing/zxing/wiki/Barcode-Contents

Hi, can you give me an example:
I have an email address<EMAIL_ADDRESS>and witesite: test.com
What the text should be?
I tried<EMAIL_ADDRESS>But It only recognize the website. Can you give me the format of the text for multi values? Thank you.

QR code just contains some text information. Ut's up to QR-reader to interpret that information. In your case I guess you nedd vCard format.

In vCard format, you could encode this text as/in a QR Code:
BEGIN:VCARD
VERSION:4.0
<EMAIL_ADDRESS>ORG:ACME
TEL:1 234 56789
URL;type=pref:http://www.example.com
END:VCARD


More tweaks to support extending DBT

Follow-up to https://github.com/openedx/tutor-contrib-aspects/pull/877

@pomegranited 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


7.10 support

If integration tests pass, run
npm run links -- --branch master

and commit, before merging in.

The deployments I ran are all 🟢  🥳


Better Docker image tags

It'd be great to tag images by major version (e.g. 3), major + minor version (e.g. 3.1) and major + minor + patch version (e.g. 3.1.0). Currently, only major + minor + patch version tags are present on Quay.

@JoelSpeed Ping.

Hey @lubo,
I'm not sure how I feel about these kinds of tags and have been trying to work out what I'd like to do about this going forward.
This style of tag can be great for large and firmly rooted software projects that have lots of maintainers and thorough release processes and very strict semver coherence. For a small project like this, where we have just taken over the ownership and are not entirely sure what the state of the project is, I don't know if we have enough investment from people to be this strict at present.
I know there are some breaking changes that have been raised in issues already and I'm sure there will be more as the project gains more momentum again. For now I am tempted to create minor tags that move but with the proviso that we aren't strictly sticking to semver and are unlikely to be backporting fixes, we simply don't have capacity for this much work.
On a different note, I personally wouldn't want to use a tag like this for a security themed project, for something like the OAuth2 Proxy that, when broken, would block access to many other services, this is the kind of thing where I would want to vet each release in a staging environment before promoting to production! Does that make sense?
@syscll Do you have anything to add?

Hi, @JoelSpeed. Yes, it makes perfect sense. If the project doesn't strictly follow semantic versioning, then it's not very useful. But if it did, using minor tags in production shouldn't be a problem if the project publisher is trusted and the app is tested thoroughly, and it'd allow the operators to have more self-maintained infrastructure. Other tags, i.e. major and latest, are pretty much just a development convenience.

Closing as this is quite stale. Feel free to reopen if you have any other thoughts.


Upgrade Question / Download Version 2.011

Hi There,
I have recently been advised by an automated email that I need to upgrade to a ACMEv2 client.
I'm currently running an old version of win-acme that is an ACMEv1 client.
[INFO] Software version 1910.1.6661.39349 (RELEASE)
When I read through the install instructions and manual it seems the highest version I will be able to run is Version 2.011 because I'm using Windows SBS 2011 which is essentially the same as Windows Server 2008.  We are planning to upgrade our servers throughout this year but SBS and its implementation of Exchange Server 2010 will likely be the last to go as management drag their feet.
In the download section for win-acme I can't see version 2.011 or any of the previous 1.9 versions.  Where can I get a copy of these, I only see the latest version <IP_ADDRESS>.
The instructions also indicate that I should upgrade incrementally through other 1.9 versions but this isn't clear exactly what I should do.
Does anyone have a known solution in this situation?
I recall this was problematic (for me) when I first installed this to get everything to work automatically and I'm afraid I'll break our email server leaving it without a working certificate.
Any assistance greatly appreciated.
Thanks
David

Hi @pollard, old versions are available from https://github.com/PKISharp/win-acme/releases
Since you're already at 1.9.10 the advice to upgrade to the latest 1.9.x doesn't apply to you, you can upgrade straight to <IP_ADDRESS>.

Hi Wouter,
That is good to know.  I think I read my version number as “One.Nine.0ne Zero” instead of “One.Nine.Ten” making me think I had an older version.
Thanks for the download link.  I probably could have found that if I looked harder :)
I’ll post again if I run into any  upgrade problems after a good read and reread of the manual.
Thanks for the speedy reply.
David
From: Wouter Tinus<EMAIL_ADDRESS>Sent: Wednesday, 5 February 2020 7:12 AM
To: PKISharp/win-acme<EMAIL_ADDRESS>Cc: pollardd<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [PKISharp/win-acme] Upgrade Question / Download Version 2.011 (#1391)
Hi @Pollard https://github.com/Pollard , old versions are available from https://github.com/PKISharp/win-acme/releases
Since you're already at 1.9.10 the advice to upgrade to the latest 1.9.x doesn't apply to you, you can upgrade straight to <IP_ADDRESS>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/PKISharp/win-acme/issues/1391?email_source=notifications&email_token=AFZ4LSTC2DNJJQPVKN6WGLTRBHDX7A5CNFSM4KPN6GYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZAUIY#issuecomment-582093347 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZ4LSWEY2XVHMFKDDXBZTTRBHDX7ANCNFSM4KPN6GYA .  https://github.com/notifications/beacon/AFZ4LSSQLHO24Z5MY4BAZZDRBHDX7A5CNFSM4KPN6GYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZAUIY.gif

Wow I see this latest version <IP_ADDRESS> is only three hours old.
The paint isn’t even dry yet :)
Thanks again for looking after us poor bastards temporarily stuck in the past.
David
From: David Pollard<EMAIL_ADDRESS>Sent: Wednesday, 5 February 2020 9:02 AM
To: 'PKISharp/win-acme'<EMAIL_ADDRESS>'PKISharp/win-acme'<EMAIL_ADDRESS>Cc: 'Author'<EMAIL_ADDRESS>Subject: RE: [PKISharp/win-acme] Upgrade Question / Download Version 2.011 (#1391)
Hi Wouter,
That is good to know.  I think I read my version number as “One.Nine.0ne Zero” instead of “One.Nine.Ten” making me think I had an older version.
Thanks for the download link.  I probably could have found that if I looked harder :)
I’ll post again if I run into any  upgrade problems after a good read and reread of the manual.
Thanks for the speedy reply.
David
From: Wouter Tinus<EMAIL_ADDRESS>Sent: Wednesday, 5 February 2020 7:12 AM
To: PKISharp/win-acme<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Cc: pollardd<EMAIL_ADDRESS><EMAIL_ADDRESS>>; Author<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Subject: Re: [PKISharp/win-acme] Upgrade Question / Download Version 2.011 (#1391)
Hi @Pollard https://github.com/Pollard , old versions are available from https://github.com/PKISharp/win-acme/releases
Since you're already at 1.9.10 the advice to upgrade to the latest 1.9.x doesn't apply to you, you can upgrade straight to <IP_ADDRESS>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/PKISharp/win-acme/issues/1391?email_source=notifications&email_token=AFZ4LSTC2DNJJQPVKN6WGLTRBHDX7A5CNFSM4KPN6GYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZAUIY#issuecomment-582093347 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFZ4LSWEY2XVHMFKDDXBZTTRBHDX7ANCNFSM4KPN6GYA .  https://github.com/notifications/beacon/AFZ4LSSQLHO24Z5MY4BAZZDRBHDX7A5CNFSM4KPN6GYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKZAUIY.gif

Yes it's been quite a big priority for me given that Let's Encrypt is sending out all these emails warning people to upgrade :)


唯一索引创建异常

在archary中提交唯一索引创建工单，执行时异常,并且显示不使用gh-osc，执行速度也很慢，要250s左右，我在命令行直接执行也就2s左右。
创建普通索引是可以的，但是也是很慢
1> Cannot connect to A=utf8,P=2369,h=<IP_ADDRESS>,p=...,u=zhan_admin
No slaves found. See --recursion-method if host a61a01334.cloud.et15 has slaves.
Not checking slave lag because no slaves were found and --check-slave-lag was not specified.
Operation, tries, wait:
analyze_table, 10, 1
copy_rows, 10, 0.25
create_triggers, 10, 1
drop_triggers, 10, 1
swap_tables, 10, 1
update_foreign_keys, 10, 1
Not updating foreign keys because --alter-foreign-keys-method=none. Foreign keys that reference the table will no longer work.
Altering zhan_public_class.tpo_publicclass_signup_users_test...
Event Count
====== =====
INSERT 0
zhan_public_class.tpo_publicclass_signup_users_test was not altered.
You are trying to add an unique key. This can result in data loss if the data is not unique.
Please read the documentation for the --check-unique-key-change parameter.
You can check if the column(s) contain duplicate content by running this/these query/queries:
SELECT IF(COUNT(DISTINCT PassPortId) = COUNT(*),
'Yes, the desired unique index currently contains only unique values',
'No, the desired unique index contains duplicated values. There will be data loss'
) AS IsThereUniqueness FROM zhan_public_class.tpo_publicclass_signup_users_test;
Keep in mind that these queries could take a long time and consume a lot of resources

archery 1.9.1 docker部署，开启pt-osc后 goinception 关闭唯一索引检查就可以了

inception set osc_check_unique_key_change=false;


Feature: shell script to automate downloading and running scorecard for non-tech users

Is your feature request related to a problem? Please describe.
I hope to make running scorecard no more complex than downloading and running a script.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I have a script I'd be happy to contribute, and am only asking if this is OK with you.  The script is below,  and if it looks OK I'm happy to clone/branch/submit a PR for it.  I'm currently calling it scoreme, and am happy to rename it/place it in a subdirectory of the project.
#!/bin/bash
#William Stearns<EMAIL_ADDRESS>#Released under the Apache 2.0 License used in https://github.com/ossf/scorecard

#Param 1: repository location, in the form: "github.com/kubernetes/kubernetes"
#Any params past $1 are passed as is to the scorecard binary
#Examples:
#       scoreme github.com/kubernetes/kubernetes
#       scoreme github.com/kubernetes/kubernetes --show-details

#Feel free to modify this path if you'd like to place the scorecard package somewhere else (that's writable by you):
scorecard_tld="$HOME/scorecardcode"

if [ -z "$GITHUB_AUTH_TOKEN" ]; then
        echo "Please run    export GITHUB_AUTH_TOKEN=token_here   and then rerun this script" >&2
        echo "If you do not yet have a personal access token, please see the instructions at https://github.com/ossf/scorecard#authentication" >&2
        exit 1
fi

repo_location="$1"
shift

mkdir -p "$scorecard_tld"
if [ ! -d "$scorecard_tld" ]; then
        echo "Unable to create $scorecard_tld , exiting."
        exit 1
elif [ ! -w "$scorecard_tld" ]; then
        echo "Unable to write to $scorecard_tld , exiting."
        exit 1
fi

cd "$scorecard_tld"
if [ -d scorecard ]; then
        cd scorecard
        git pull --no-rebase origin main
else
        git clone https://github.com/ossf/scorecard.git
        cd scorecard
fi

go build

if [ ! -x scorecard ]; then
        echo "Unable to create scorecard binary, exiting." >&2
        exit 1
fi

./scorecard --repo="$repo_location" "$@"

Hmm, this could be troublesome since users will build and run Scorecard from HEAD. If there are any unidentified issues at HEAD, users will be effected. Why not simply do:
GO111MODULE=on go get github.com/ossf/scorecard
GITHUB_AUTH_TOKEN="xyz" scorecard --repo=<repo-name> --show-details

Far simpler and more elegant!  I withdraw the post.


change loading standard font path and vfs

works after released https://github.com/bpampuch/pdfmake/pull/1690 , should be version 0.1.55 .
Test
download 0.1 branch build, now works with this patch and library.
Edit: just tested pdf creation in browser not the pdfviewer

@blikblum extended pdfmake is released, now this patch works

Thanks


x86 p-code incorrect jump destination

x86 p-code incorrect jump destination occurs for a very small test-function. The following is a listing of p-code in the problem area.

In x86, CMP would set the Zero Flag (ZF) to 1 if the operands are EQUAL, and if so, JZ would branch to 0x400ca2, otherwise it would follow-through to address 0x400c95. In the p-code above, we are seeing that we will branch to 0x400ca2 if the operands are INT_NOTEQUAL, which is totally incorrect. Please let me know if I am interpreting this incorrectly. Funny enough, when I inspect the p-code basic block within which these instructions are found, and I call .getTrueOut() and .getFalseOut(), I get that the True destination is 0x400c95 and the False is 0x400ca2, which are the correct destinations if we use INT_NOTEQUAL.
Expected behavior
If what I have described is in-fact an issue, we should expect either:
CMP's p-code to go from
dfa.java> 		(register, 0x206, 1) INT_NOTEQUAL (unique, 0x17a0, 4) , (const, 0x9, 4)
to
dfa.java> 		(register, 0x206, 1) INT_EQUAL (unique, 0x17a0, 4) , (const, 0x9, 4)
or the CBRANCH to go from
dfa.java> 		 ---  CBRANCH (ram, 0x400ca2, 1) , (register, 0x206, 1)
to
dfa.java> 		 ---  CBRANCH (ram, 0x400c95, 1) , (register, 0x206, 1)
This second option is less-preferred when compared to the first, as the first would mimic the behavior of CMP and keep the CBRANCH destination to the same as the one listed in JZ.
Environment

OS: Windows
Java Version: 15
Ghidra Version: 9.2.2

It looks like you're working with "high" pcode, i.e., pcode generated by the decompiler.  Essentially, the decompiler starts with "low" pcode generated from SLEIGH and applies various transformations and simplifications (similar to the optimization phase of an optimizing compiler).  During these transformations/simplifications, the decompiler is free to change conditionals in a semantics-preserving way.
If you like, you can examine the low pcode:
currentProgram.getListing().getInstructionContaining(currentAddress).getPcode()
(in a script)
You can also enable the pcode field in the listing if you'd like to see the low pode alongside the other listing data (address/bytes/mnemonic/operands etc)
This will be at a much lower level and will likely be a closer match to what the processor is actually doing.
Two caveats:

The SLEIGH specification writer has some freedom in implementation (as long as semantics are preserved)
The decompiler hasn't done any simplification of low pcode, so you will see all of the effects of an instruction (e.g., you'll see all of the flags that CMP sets, even if particular write to a flag is never read).

If I've misunderstood your question, please post the bytes of the small test function and we can take a closer look.

Thank you for the response! The only issue I have with it is that even if the "high" pcode adds transformations and simplifications, should it not hold that, if it inverts the condition of a jump (!), it should also invert the destination of the jump? It seems that the destination of the jump has not changed in the "high" pcode (see CBRANCH), and yet the condition is inverted (see INT_NOTEQUAL). I'm not sure if there's still some deeper logic that occurs in SLEIGH that I'm not aware of that would make the condition inversion without destination inversion possible, in that sense I hope I am not wasting your time.
https://fromsmash.com/fQQsGbVFct-it
The link above will give you the source code and compiled binary - the function where this behavior occurs is called "struct_ptr_test_function".

We reserve the right to ignore user-supplied links and binaries :smile:
That being said, if you navigate to the function in Ghidra, you can select "Debug Function Decompilation" from the drop-down menu in the upper right corner of the Decompiler window. This will create an xml file; the bytes of the function will be near the beginning of that file.  If you paste them here I can take a closer look.

@ghidracadabra I understand, here are the bytes that I was planning to use to bring you down! ; )
Thanks for the help again.

554889e54883ec4048897df8c645f071
c745f409000000488b7df8837f04090f
840d000000488d7df0e8d2ffffff4889
45d0c745ec630000008b45f40faf45ec
488b4df80341048945ec817decf40100
000f8d1900000048bf1b134000000000
00b000e8e8fbffff8945cce9f2000000
817decf40100000f8e17000000817dec
e80300000f8d0a000000e8c1fcffffe9
c9000000817dece80300000f8e1a0000
00817decd00700000f8d0d000000e8fd
fcffff8945ece99d000000817decd007
00000f8e3a000000817decb80b00000f
8d2d000000488d45f04883c004488945
e08b7dec488b0425382060008a08488b
55e00fbef1e8f6fcffff8945ece95100
0000817decb80b00000f8e3f00000081
7deca00f00000f8d32000000488d45f0
4883c004488945d88b7dec488b042538
2060008a08488b55d80fbef1e8fffcff
ff488945d8488b45d88b308975ece900
000000e900000000e900000000e90000
0000488b45f8c600628b4dec83c10648
8b45f8894804488b45f84883c4405dc3

Thanks!  With your example I was able to take a closer look and after that and some discussions with the decompiler guru I think I can clarify what's going on.
Basically, during the simplification process, the first input of the CBRANCH operation does not change - it will always be the original jump target.  However, the decompiler adds some state to the CBRANCH operation, which can change the meaning of the operation (like whether the jump is taken on a true condition or a false condition).  Also, the branching structure is encoded in the block graph, which explains what you saw with the getTrueOut and getFalseOut methods.  Keep in mind that simplification can make some pretty drastic changes - for example, an entire block could be removed if its pcode ops were all simplified away.
Is there something specific you're trying to do with the high pcode?

Happy to help!
In case you haven't seen it, you might want to check out the script "GraphAST.java", which is included with Ghidra.  In particular, note that it sets the simplification style of the DecompInterface to "normalize" instead of "decompile" which I think is what you must be using.  The high pcode produced with the "normalize" style will not contain certain operations that might be unnecessary for what you're doing (such as CAST).


parseUrl fails when the url contains query

Any url containing a query (?) is currently failing in version 8.1.0.
const link = 'https://www.google.ca/search?q=hello;
  try {
    const parsedUrl = parseUrl(link);
    console.log('parseUrl no problem', parsedUrl);
  } catch (error) {
    console.log('parseUrl problem', JSON.stringify(error));
  }

 LOG  parseUrl problem {"subject_url":"https://www.google.ca/search?q=hello"} in version 8.1.0
 LOG  parseUrl no problem {"hash": "", "host": "www.google.ca", "href": "https://www.google.ca/search?q=hello", "parse_failed": false, "password": "", "pathname": "/search", "port": "", "protocol": "ssh", "protocols": ["ssh"], "query": {}, "resource": "www.google.ca", "search": "", "user": "git"} in version 8.0.0
Any plan to fix that?

Hello Maintainers , Can I work on this issue ?

This was fixed I think:
{
  protocols: [ 'https' ],
  protocol: 'https',
  port: '',
  resource: 'www.google.ca',
  host: 'www.google.ca',
  user: '',
  password: '',
  pathname: '/search',
  hash: '',
  search: 'q=hello',
  href: 'https://www.google.ca/search?q=hello',
  query: { q: 'hello' },
  parse_failed: false
}


add open telemetry support to the demo

@BrynCooke thinking we could add a docker-compose.otel.yaml with the neccesary config


Extracting Vuforia source code from plugin (to stay abreast of the Vuforia license)

I've noticed that the build/include/QCAR and src/vuforia/include/QCAR contain the exact same files.
I recon that the build folder could be remove, what do you think ?

Hi @nleclerc,
You're quite possibly right. I think this has happened because the Android and iOS sections of the plugins were developed within the same team but by two different people.
My concern with just completely ripping out the build folder at the moment is that we may break some people's set ups. Our current iOS instructions involve pointing XCode specifically at the build folder.
We'd be interested to see how you'd like to see it working?
My initial thoughts are that we could (to save backwards compatibility) either move the Vuforia code inside of src/vuforia/* into build or, as you say, delete the build folder all together.
@dsgriffin, @daniel-jackson95 - Would love you get your input on this too?

I think that moving src/vuforia/* into the build folder is probably the best solution.
We just spoke about removing the build folder, but that could possibly break any previous projects where xcode links to files in that directory (and then stops working).

Why not just declare the source files so that they are properly added to the code project ?
There shouldn't be the need for any manual configuration really.
I think the ideal solution would be to move vuforia files outside of this plugin.
I'm not even sure the licensing allows redistribution of the sdk.

Well, with Android that works fine currently - it's all added automatically - the issue is with iOS and Xcode... Having read the developer agreement here:

Well i'm not really sure but for what i understand, the dev agreement allows distribution of the engine so that the software can work but it doesn't seem to cover the case of the associated source and header files.
The only way to be sure would be to contact vuforia and ask.
As recent court cases have proven, it might not be that simple :-)
I looked into making a plugin that automatically downloads the sdk from the vuforia website.
I think it can be done but it's hampered by the download process on the official website (need to send multipart POST request to download).
I haven't had time to get further into it but it could be a nice (and legit) solution.

We think we've come up with a slightly different solution to prevent us falling foul of the Vuforia license.
Our current thinking is you download the Android and iOS SDK zips from Vuforia (thus complying to their license) and then we run a script to move them into a location Cordova can get at them.
Our script currently looks like this:
puts 'Checking for files in \'vuforia\' folder'
@android_zip = Dir['vuforia/vuforia-sdk-android-*.zip']
@ios_zip = Dir['vuforia/vuforia-sdk-ios-*.zip']

puts 'Found Android sdk zip' unless @android_zip.empty?
puts 'Found iOS sdk zip' unless @ios_zip.empty?

abort('Unable to find Android or iOS SDK zips inside \'vuforia\' folder. Expected files with format \'vuforia-sdk-PLATFORM-*.zip\' to exist.') if @android_zip.empty? and @ios_zip.empty?

puts 'Creating build directory'
system('mkdir -p build/include build/lib')

unless @android_zip.empty?
    puts '----------'
    puts 'Processing Android'

    puts 'Creating Directories'
    system('mkdir -p build/java vuforia/android')

    puts 'Extracting Android SDK'
    system("tar -xvf<EMAIL_ADDRESS>--directory vuforia/android")

    puts 'Copying Build Assets'
    system('cp -r vuforia/android/build/include/ build/include/')
    system('cp -r vuforia/android/build/java/ build/java/')
    system('cp -r vuforia/android/build/lib/ build/lib/')

    puts 'Cleaning Android'
    system('rm -r vuforia/android')
end

unless @ios_zip.empty?
    puts '----------'
    puts 'Processing iOS'

    puts 'Creating Directories'
    system('mkdir -p vuforia/ios')

    puts 'Extracting iOS SDK'
    system("tar -xvf<EMAIL_ADDRESS>--directory vuforia/ios")

    puts 'Copying Build Assets'
    system('cp -r vuforia/android/build/include/ build/include/')
    system('cp -r vuforia/ios/build/lib/ build/lib/')

    puts 'Cleaning iOS'
    system('rm -r vuforia/ios')
end

puts 'Done.'

(this is obviously REALLY early) and we haven't even begun to test it yet

This will be a breaking change, so we will be moving this to a 2.0 milestone.

It looks like you can only download Vuforia V5 from the developer site... The current plugin runs on 4 - it looks like a change to 5 would require a re-write of the plugin itself unless someone can find the place where 4 lives?

I've temporarily set this as 'wont fix' - we will update this at a later date. We will not consider this as a pressing issue right now though

I've set this to a 4.0.0 ticket - this is so we don't just forget about it
Well, specifically so I don't forget about it (brain like a sieve)

Seems like you need to be logged in to download the SDK (i'll never understand why people gate those). So unless we create a dummy account to allow direct download, i believe the magic won't happen :-(

I believe we could do a plugin containing only the sdk, that would be easier to manager if they somehow decide to crack down on us and we need a plan b.

that is a good idea @nleclerc - I'll look into this tonight as an option.

I've began extracting the SDK out - it can be found here:

This is now addressed in #95


limit user defined fields

malicious people can probably store ungodly amounts of text in strange places like usernames, or filenames. Set some limits in core and server for the overall size of these fields.

Identify the places that people get to determine fields that are not documents (usernames and filenames I think are the only things @tvanderstad anything else come to mind?).
Fields are encrypted so this isn't an exact science, once you've identified a max size hunt down the 2 places (new account, upsert) where these fields are used, introduce a new error for them being too large, and make the code base compile by addressing the errors throughout the stack.
With regards to upsert, upsert is called during a sync, and we don't want a user to successfully create a file locally and then never be able to sync it. So also validate the name size during file creation.
 You can be rough here, but it should never be possible to successfully create a file and then not be able to sync it.

(these fields are stored in memory, hence the importance of protecting against abuse)

A rogue client could store arbitrary data in anything encrypted, like the user/folder access keys

Yeah so you'd probably want to limit those per key to a reasonable amount as well


Pass through nonce in code flow

Nonces are optional in authorization_code flow, but still should be passed through if the RP provided one.

If present in the Authentication Request, Authorization Servers MUST include a nonce Claim in the ID Token

Also the claims parameter appeared to be processed twice.

How come the tests did pass before that? This implies we're missing coverage for a code branch where nonces are not present.
Can you please add a unit test for this code branch?

Reopening accidental close...

nonce is no longer required as stated by http://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
nonce
OPTIONAL. String value used to associate a Client session with an ID Token, and to mitigate replay attacks. The value is passed through unmodified from the Authentication Request to the ID Token. Sufficient entropy MUST be present in the nonce values used to prevent attackers from guessing values. For implementation notes, see Section 15.5.2.

@wiliamsouza It's always been optional in code flow, but should still be included if present.

With missing tests LGTM

Can you please add a unit test for this code branch?

@thedrow Something like this 13c6cf5?
Also, should the other OIDC params end up as credentials as well? If so, then can add them in similar way.

@skion Can you please rebase this branch?
Also, what other OIDC parameters are we talking about?

I think I did not spot max_age and acr_values anywhere, but we may also want things like claims_locales, request or request_uri eventually?
Rebased!

Frankly I'm not familiar with OpenID as much as OAuth2 to tell you yes or no. Up to you.


Add missing dependencies for Goland

Which issue this PR addresses:

Fixes N/A
What this PR does / why we need it:

When I write codes with Goland, it sometimes tries to run check dependencies, but it fails because of the error.

This is because we have k8s.io/kubernetes in the dependencies.
Although this pkg is not supposed to be used as a library, we are using and can't remove it, so I added replace to get rid of the errors I got.
https://github.com/kubernetes/kubernetes

To use Kubernetes code as a library in other applications, see the list of published components. Use of the k8s.io/kubernetes module or k8s.io/kubernetes/... packages as libraries is not supported.

Test plan for issue:

e2e
Is there any documentation that needs to be updated for this PR?

N/A
How do you know this will function as expected in production?

The packages I added are not used in the code.

/azp run ci,e2e

/azp run ci,e2e


cannot install  python extension

Type: Bug
want to  python
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.19041
Modes:
Sandboxed: No

if it is related to VS Code
Please create your issue here https://github.com/microsoft/vscode/issues


[Feature Request] kubernetes support

Any plan to add kubernetes support? Specially for containerd backend.

It should be supported from the box, but will check and get back to you with an example of usage

in containerd backend (k3s cluster), I'm not understanding where to find .sock file

I haven't tested it yet, but as I've understood, this example should help.
I'll research it better by my own later,
apiVersion: v1
kind: Pod
metadata:
  name: privileged-pod
spec:
  containers:
  - name: onlogs
    image: devforth/onlogs:latest
    securityContext:
      privileged: true # privilegies configuring
  securityContext:
    runAsUser: 0 # run as user with ID 0 (root)

Simply for kubernetes, this one worked for me:
apiVersion: v1
kind: Pod
metadata:
  name: privileged-pod
spec:
  containers:
  - name: onlogs
    image: devforth/onlogs:latest
    env:
      - name: ADMIN_USERNAME
        value: admin
      - name: ADMIN_PASSWORD
        value: admin
      - name: PORT
        value: "9876"
    volumeMounts:
      - name: onlogs-volume
        mountPath: /leveldb
      - name: docker-socket
        mountPath: /var/run/docker.sock
      - name: hostname
        mountPath: /etc/hostname
    ports:
      - containerPort: 9876

    securityContext:
      privileged: true # privilegies configuring
  securityContext:
    runAsUser: 0 # run as user with ID 0 (root)
  volumes:
    - name: onlogs-volume
      hostPath:
        path: /leveldb
        type: DirectoryOrCreate
    - name: docker-socket
      hostPath:
        path: /var/run/docker.sock
        type: Socket
    - name: hostname
      hostPath:
        path: /etc/hostname
        type: FileOrCreate

But containerd support is another question. I'll research this and will see how different it's socket works comparing to dockers one


Provide client library for REST APIs

Make it easier for developers to integrate VSSLite into apps.
Especially it's useful when we use container you provide.

😋👉 https://github.com/uezo/vsslite/commit/44d2bdbe3c03dc094d975fd40cca7b78d0ea7514


feat: Less verbose comment on valid PR

The default config generates a lot of noise even when the PR validation succeeded. I would expect the default behavior to be silent on success and noisy on failure. Optionally, e.g. for debugging, the current verbose report style could be used.
This may also be exacerbated by https://github.com/Namchee/conventional-pr/issues/76.
As a way to circumvent this, I'm using report: false and template: '...'. That way I only get a comment when the checks fail, but on the other hand no new comment is added when the issues were fixed.

@avorima Thanks for showing an interest in this project!
Thinking about your use case, future versions will have report set to false by default to avoid a lot of noise (as edit has its own caveats). As for template, it shouldn't be generated by default, as template is an extra message that will be posted whenever a pull request is invalid.
I don't think #76 will exacerbate the problem. If #77 is merged, you'll only see one pull request comment whenever a pull request validation is executed. That way, it'll generate much lesser noise.

But the issue with report: false is that it forces me to use template to get some kind of comment on my PR. I want the verbose report, just only when there's actually something wrong.
As a side note, template might be a bit of a misnomer because it doesn't really process the text and just passes it on to the REST API.

I see where you're going. Unfortunately, that's the only way you'll get the desired behavior at the moment.
For the template option, I plan to change the option name in future releases. As you've guessed, I've changed the behavior of the template option compared to old releases.
For less verbosity, I think I can create the verbose option so conventional-pr only posts a comment whenever the validation fails. Does it sound good enough for you?

Yes, that would be great!


Impossible to click on a unit-length tensor in the tensor view

The title bar steals the mouse cursor before you can ever select the tensor and/or the view itself.
https://github.com/rerun-io/rerun/assets/2910679/f726b503-def0-4fd9-9cdd-6e39c1092e28

Actually selecting tensors is not a thing at all today, it just doesn't do anything in any case.


[WIP] Separate timezone from date and time.

Added disabling of automatic time synchronization when setting date
and time.
https://bugzilla.redhat.com/show_bug.cgi?id=1316674

Marked WIP because I am still working on a spec test.
@carbonin Please review

@carbonin Please hold off on review. I'm going to refactor this solution to facilitate spec testing.

Removing WIP. @carbonin please review

Coverage decreased (-20.3%) to 12.075% when pulling 00d566aa53f9970b918d678515eb872f13bcdbac on jvlcek:1316674_timezone into 74bb352867a7556841ba704ca6b87c9b2ca4b986 on ManageIQ:master.

I sat with @jvlcek on this and realized that once someone goes to manual they can't go back to automatic, so that could be a problem.  This PR needs to have the ability to go back.

@jvlcek what is the status of this PR?  Still working on it or ready for final review?

@chessbyte Still working on it. I sat with @Fryguy yesterday and we decided to add another piece of functionality. Should be able for review soon.

@Fryguy I've added the ability to enable automatic time sync.

@carbonin I spoke with @Fryguy who is fine with leaving the ask_for_date and ask_for_time methods in the new location instead of promtps.rb

@Fryguy Please review and merge if appropriate. Thank you to all for the review feedback!

@chessbyte It is ready for review now.


[Redirection] [Habit's page] User isn't returned on "My Habits' page_After clicking 'Yes' on pop-up that appeared after clicking Give up

Environment: OS: MacOS Sonoma version 14.6, browser: Google Chrome Version 128.0.6613.138 (x86_64)
Reproducible: always
Preconditions

Https://www.greencity.cx.ua/#/greenCity is opened
The user is logged in
'My habits' tab is active on the 'My Space' page
User has at least one habit in progress

Steps to reproduce

Click pencil icon on the habit's card in 'In progress' section
Click 'Give up' button
Click 'Yes' button on the pop-up window

Actual result
User stayed on the habit’s page
Expected result
User is returned on 'My habits' page
User story and test case links
User story #2167
Labels to be added
"Bug", Priority ("Medium"), Severity ("Medium:"), Type ("Functional").

@kovalsofiia1 The issue still reproduces. It redirected several times and then stopped working.


Constify format string

The format string needs to be declared const, otherwise
the GCC compiler will complain, causing a build error.
Signed-off-by: Jaap Keuter<EMAIL_ADDRESS>

Looks good, thanks


Fix dependency psycopg2-binary

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
267

Relevant Lines:
374

💛  - Coveralls


Test the availability of loadingImagery instead of the tile itself

Since a not available tile  (outside the extent of the terrain or outside range define in the layer.json) can try to download an imagery which has not the same coordinates because the imagery overlaps this tile. That makes more sense to test the avialability of the imagery and not the tile.

@fredj et @gberaudo  review please.

Makes sense @oterral, thanks.


Language server not working - Intellisense doesn't exist

Environment data

VS Code version (VSCodium): 1.61.0
Extension version (available under the Extensions sidebar): v2021.10.1317843341
OS and version: Windows 10
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv and without
Relevant/affected Python packages and their versions: all Python documents
Relevant/affected Python-related VS Code extensions and their versions: Python, Pylance
Value of the python.languageServer setting: default and pylance

Expected behaviour
I expect to have code completion available in Python documents.
Actual behaviour
No code completion works.
Steps to reproduce:
I am not sure how to reproduce this problem, I have installed all of the required extensions and previously it worked. No system changes were introduced apart from updating the VSCodium.
Code completion doesn't work at all on any document with any of the included language server options and settings irrespective of the selected interpreter, with or without virtual environment.

I have fixed this issue for myself by uninstalling VSCodium and switching to VSCode where it seems that the features work as intended.


Utilize walk stabilization

Summary
Stabilize trunk x position with a pitch based pd controller. This allows us to walk a lot faster while being significantly more stable.

Could you rename the controller from pitch to offset?

Could you rename the controller from pitch to offset?

I thought about that, but I refactor this later and pitch it not incorrect, as it is still based on the pitch.


BUG: Increase validator types for thie 'input' parameter of embeddings to match OpenAI API

Lint failed, could you fix it?

Lint failed, could you fix it?

I have no idea where the problem is.

See https://github.com/xorbitsai/inference/actions/runs/8460003388/job/23177384826?pr=1201
You may need to install black and use it to format your code.

See https://github.com/xorbitsai/inference/actions/runs/8460003388/job/23177384826?pr=1201
You may need to install black and use it to format your code.

done

Have you tried if it works?

Have you tried if it works?

yes, of cos. it caused a problem for me, fixed it and solved the problem


az acr credential show fails

Describe the bug
Command Name
az acr credential show
Errors:
API version 2020-11-01-preview does not have operation group 'registries'
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 233, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 659, in execute
    raise ex
cli/core/commands/__init__.py, ln 722, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 715, in _run_job
    six.reraise(*sys.exc_info())
...
cli/command_modules/acr/_client_factory.py, ln 20, in cf_acr_registries
    return get_acr_service_client(cli_ctx).registries
azure/mgmt/containerregistry/_container_registry_management_client.py, ln 304, in registries
    raise ValueError("API version {} does not have operation group 'registries'".format(api_version))
ValueError: API version 2020-11-01-preview does not have operation group 'registries'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Simply running the following command raises the error

az acr credential show --name {}

Expected Behavior
No error raised
Environment Summary
Linux-5.11.0-18-generic-x86_64-with-glibc2.33
Python 3.9.5
Installer: DEB

azure-cli 2.18.0 *

Extensions:
interactive Unknown
azure-devops 0.19.0

Additional Context
OS info
>lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute

I also tried to run az upgrade but it raises the following error
This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Your current Azure CLI version is 2.18.0. Latest version available is 2.25.0.
Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli
Do you want to continue?  Done
E: The repository 'https://packages.microsoft.com/repos/azure-cli hirsute Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
CLI upgrade failed.

BTW, The ADO team rejected this issue as an Azure CLI problem and directed comments to this issue:
https://developercommunity.visualstudio.com/t/packagesmicrosoftcom-intermittent-file/1452350
It appears that the file share hosting the https://packages.microsoft.com/repos/ is having service issues. Anyone have an idea how to get a support case started with Microsoft operations team?

There is now an event tracking this issue:
https://status.dev.azure.com/_event/246136621

The issue is azure CLI version is 2.18 when 2.27 exists
this is caused because a package has not been created for Ubuntu 21.04 hirsute hippo


[CONSOLIDATED] Survey Monkey voting process on MP Compatible Logo

Here are the tasks related to using survey monkey to vote on MP Compatible Logo.

[ ] https://github.com/eclipse/microprofile-marketing/issues/581
[ ] https://github.com/eclipse/microprofile-marketing/issues/568
[x] https://github.com/eclipse/microprofile-marketing/issues/557
[x] https://github.com/eclipse/microprofile-marketing/issues/556
[x] https://github.com/eclipse/microprofile-marketing/issues/591
[x] https://github.com/eclipse/microprofile-marketing/issues/593

@aeiras I have suggested my thoughts in the document

Excellent follow up, Edwin. Wiki has been exported which leads to the completion of the DPIA draft awaiting Admins feedback. Gracias!

completed with https://github.com/microprofile/microprofile-wg/wiki/MPWG-SurveyMoney-Data-Protection-Impact-Assessment-(DPIA)


Improve the error detection logic in Salt Provider

Closes #2841
TODO
Write tests

/release-pr

/release-pr

Just confirmed the fix works.


Is this still up to standards of Java?

:) long time no update, just wanted to make sure.

Sorry for my late. I think it is. The algorithm will not be affected by programming language.


My Sit is not loading due to same issue related to ZipFS

For deployment issues, please provide us with the following information:

Repro steps.

After deploying web app into Azure web app in event log we are able see below issue.
Locally it is working fine.

The log/error given by the failure.

0
1
0
Keywords

-2090867343
Application
dw1sdwk0000QZ

Failed to open siteversion.txt. ZipFS setup failed. Error: 0x80070003

0
1
0
Keywords

-2090867328
Application
dw1sdwk0000QZ

Failed to copy zip from remote source.

0
1
0
Keywords

-2090867328
Application
dw1sdwk0000QZ

Adding virtual directory from failure zip file \\?\d:\local\SitePackages\2204094828.zip

0
1
0
Keywords

-2066110468
Application
dw1sdwk0000QZ

Invalid operation on Read Only File System: Create New File

0
1
0
Keywords

-2066110453
Application
dw1sdwk0000QZ

Invalid operation on Read Only File System: Write to File

0
1
0
Keywords

-2066078078
Application
dw1sdwk0000QZ

Invalid operation on Read Only File System. Create New File failures in last 32 seconds: 3

0
1
0
Keywords

-2066078078
Application
dw1sdwk0000QZ

Invalid operation on Read Only File System. Write to File failures in last 32 seconds: 3

0
1
0
Keywords

-2066053359
Application
dw1sdwk0000QZ

Invalid operation on Read Only File System: Delete File

0
1
0
Keywords

-2066022750
Application
dw1sdwk0000QZ

Invalid operation on Read Only File System. Delete File failures in last 30 seconds: 2

2303
2
0
Keywords

-2011934843
Application
dw1sdwk0000QZ

supportservice-westus2-dev__b339
02000780

2303
2
0
Keywords

-2011934750
Application
dw1sdwk0000QZ

supportservice-westus2-dev__b339
02000780

0
1
0
Keywords

-2009245828
Application
dw1sdwk0000QZ

Failed to load dwasmod.dll

### Debug your Azure website remotely.
>it is not public
Mention any other details that might be useful.

Target framework : .NET 6.0
Thanks! We'll be in touch soon.

Hi,
did you figure out where the problem was?

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Document Jinja integration into AFT Pipeline

The sample repositories provided by AWS for use in account requests and account customization include files with the .jinja extension.  Since this is not a natively-supported Terraform file, one must therefore conclude that Jinja processing has been added somewhere in the pipeline associated with account vending and customization.  However, there isn't a single word of documentation about this in any of the AFT material provided by AWS.  The closest to any kind of documentation is the statement AFT provides Jinja templates for Terraform backend and providers. These render at the time Terraform is applied. found in the HashiCorp tutorial on AFT at https://github.com/hashicorp/learn-terraform-aft-account-customizations
If Jinja support is available for developer use as part of the pipeline, it should be documented - what input variables are available to templates, naming conventions, etc., since this is potentially a very useful feature.
If it is an "internal" thing that isn't to be touched by developers, then at least some documentation should appear related to the existing files with the .jinja extension so that developers understand how those are processed and why they are Jinja templates instead of straight Terraform files.
This appears to be a gap in the ability of developers to get more sophisticated in their use of AFT.

Hey Kevin, thanks for the reach out. As you had mentioned, the usage of Jinja files in AFT is an implementation detail of the AFT framework. That is, they must be included in the sample repos as a part of the structure AFT expects during runtime. Assuming you're referring to the aft-providers and backend Jinja templates, they're used as a convenience to generate providers and a TF backend that's used internally for AFT so that users don't need to introduce boilerplate that differs for each vended account.
All that said, I can understand it's kind of confusing because there's no documentation in that directory or in the AFT public docs that explains that, so I can see how it looks like you could put arbitrary Jinja in there and have it processed. I've created a backlog item for us to be a little clearer about what the intention of those files is.

Hey @KevinDHunter, Release 1.5.2 adds some clarifying language about AFT's internal use of Jinja files to the README.
I'm closing this issue as resolved, but please feel free to open new issues with additional feedback.


Problem with animation window

The sprites look black in animation windows & there's no way to detect which sprites has what

Can you attach an example project with the animation window and this issue?  The reason an area/window is usually not styled correctly is simply because I have no assets/project set up to preview and base the styles from.

can i share the github project with assets folder and project settings. You can clone the project & open it...in Unity
However. I haven't version controlled @Theme 5.6 ......I ignored that...if you want I can remove it from .gitignore and version control it too

Sure, that sounds fine.  No need to version control the themes system.

@bradsmithee https://github.com/AbhimanyuAryan/Glitch-Garden

it's fixed now. Changed pallet

Hmm.  Did not get a chance to check your link and examine the issue before it was taken down.  What palette entry was this related to?  I assume you needed to make something semi-transparent rather than solid?

Link to project: https://github.com/AbhimanyuAryan/Glitch-Garden
I have been using these theme and sharing with my friends as well. I want to suggest some improvement if you can do in free time....These a selection issue that I have already opened which stays till next update. Please include these changes in update as well

Please make the corner round for animation windows. The bottom scroll bar in animation windows has weirdly square corners. Whereas entire Unity3d uses round corners for scroll bars

I'll get to all of these when I do my next round of fixes, but here's what I assume the issues are off-hand.

A GUIStyle dealing with these background selections likely need to be adjusted to a transparent texture.

Likely a sub-element scrollbar style that isn't assigned in the GUISkin.

Definitely a style I have not touched yet.

If the font is not correct, then it's likely not using one of the proxy fonts in the style.  If you are refering to the difficult to read colors, this is more palette related.  Unity automatically adds a black drop-shadow on this particular area (not adjustable).  To make it visible, it needs to use lighter colored text.

That's very interesting that you have these issues.  Are you using the standalone dll release zip or a clone of the repository?  If the dll, which version of the dll?  What version of Unity?  MacOS/Linux/Windows?  I'll need to be able to recreate these issues (or at least get the full stack trace of each) to find the problem and fix.

This looks like a padding issue caused by different fonts having different widths.  I'm assuming it looks fine on several other standard fonts?  Beyond tweaking the x offset values in the Advanced Font header of the Theme system, this one might be tricky to address.

I'm using Zios.Themes.r573.Windows.560.zip & Unity version is 5.6.0f3


Dead article link

The https://endaphelan.me/guides/git/using-git-hooks-to-enforce-conventional-commits/ link which should point to the article responds with an HTTP 404.

There seems to be a copy here.

Thanks <3 fixed now.


Issue in /src/pages/guides/oauth.md: Deprecated JWT example in OAuth examples section

URL of documentation issue
https://developer.adobe.com/analytics-apis/docs/2.0/guides/oauth/#example-code
Description
The Example Code section in the OAuth guide links to examples of deprecated JWT authentication instead

Thank you for letting us know. This has been updated and changes should appear within a few days.


feat(OverlayView): add OverlayView component

This adds support for custom OverlayViews. Please check out the example!
This allows for some pretty cool stuff when used in conjunction with React. For instance, it's pretty simple to create a custom marker or cluster component.

This is great! Thanks @petebrowne !

Released as v1.6.0


Progress Dialog in v3

What module does this apply to?
core
Description what you'd like to happen:
Google clearly stated in its design guidelines that progress dialogs are deprecated and that they should not be used.
Despite this, almost every google app (Gmail, Drive, Sheets, Slides, Docs) make use of dialog progress bars to display downloads/uploads.
Since this library is opinionated it may be worth the effort packing a progress layout and creating an extension function that transforms the dialog into a progress dialog.

I don't want to include a progress dialog, cause I still prefer and want to encourage the use of inline progress indicators.


[Feature Request] Keep input line at top

Not sure if this is already implemented but would like to see an option to fix the input line at top. (Constantly looking down can't be good for your neck..).

What theme/prompt/plugin would you says implement this mode well?