Plot manufactured solutions, and double check initial values for time dependent MMS

I copied the code from assigning initial values to create the following for plotting manufactured solutions:
def plot_manufactured_solution(
        Model,
        meshsize = 128,
        parameters = {},
        time = None):

    MMSVerificationModel = make_mms_verification_model_class(Model)

    model = MMSVerificationModel(meshsize = meshsize)

    model.init_manufactured_solution()

    if time is not None:

        model.time.assign(time)

    for u_m, V in zip(
            model.manufactured_solution, model.function_space):

        model.solution.assign(fe.interpolate(u_m, V))

    model.plot()

but this did not have the expected result; which makes me worry about how initial values are being assigned in the MMS code. By nature the MMS code shouldn't be passing if the initial values aren't being set correctly, so why is the behavior different here?

I forgot about this issue, but it's definitely resolved as of 42ad052e9b804c16c4ea18a706534ae3c1d1baf7


Battery level

Hi!
Is there a way to get the battery level of the robot as a ROS message (i.e. sensor_msgs/BatteryState)?
This would be useful for experiments and real-world deployment.
Thanks!

I wanna check battery level too.
Did you find any solution for that?

Sorry, we didn't add this feature.

Sorry, we didn't add this feature.

Is it possible to add the feature in a future firmware?

This feature has been added to the Go1 SDK, refer to Bms comm.h/BmsState class in SDK for more details.


SonarQube technical debt ratio

Add support for SonarQube's technical debt ratio.
Also implemented #430.

Thanks for your contribution!

@espadrine Thanks for the feedback, please see updates.

Thanks a lot! Great work.


Added hot fix for faulty p3_exporter environment installation.

What Is This For?
This pull request is to introduce a quick  fix for issues in setting up p3_exporter Anaconda environment.

Verified by me as well.


Improvement: save commands in a database

I've thought about using a SQLite DB for this.

In my opinión more simple ever better. I like how  its now…

I agree, I would like it to stay simple, but at the same time I want to add some complex functionalities that work better with a DB. I'll see how I can implement the new features using json files only.

I'm reopening this issue. Future features will require the use of a db, using only JSON files won't do the trick. I'm going for SQLite, a simple relational database.
I'll add a feature to export commands to a JSON file. This will facilitate portability and readability outside Clir.

Done! That took time.
I'm planning to add an import and export function #33.


[Bug] Set bindings for ArrayNode

Tracking issue
fixes: https://linear.app/unionai/issue/COR-1822/mapping-over-launch-plans-w-default-inputs-doesnt-compile
Why are the changes needed?
Compiling a workflow fails when evaluating an ArrayNode that maps over a LaunchPlan contains a default input. This occurs since we don't set the input bindings for the node.
https://github.com/unionai/flyte/blob/926cadac9a8cf406b85c8e7443668a13a3f60dfe/flytepropeller/pkg/compiler/validators/interface.go#L76-L86
Get errors such as:
pyflyte run --remote tests/flytekit/integration/map_ref_lp.py map_regression_line_wf
Running Execution on Remote.
Request rejected by the API, due to Invalid input.
RPC Failed, with Status: StatusCode.INVALID_ARGUMENT
        details: failed to compile workflow for [resource_type:WORKFLOW project:"flytesnacks" domain:"development" name:"tests.flytekit.integration.map_ref_lp.map_regression_line_wf" version:"m6vMatWi-HCjUFD5scx4rQ"] with err failed to compile workflow with err Collected Errors: 3
        Error 0: Code: VariableNameNotFound, Node Id: n0, Description: Variable [val] not found on node [n0].
        Error 1: Code: VariableNameNotFound, Node Id: n0, Description: Variable [x] not found on node [n0].
        Error 2: Code: VariableNameNotFound, Node Id: n0, Description: Variable [y] not found on node [n0].

What changes were proposed in this pull request?

Update create_and_link_node and create_and_link_node_remote functions to create a node and optionally link it to the workflow context
hackily get and set the bindings from creating an ArrayNode's subnode

How was this patch tested?

added unit test to confirm the serialized array node contains the bindings
ran E2E

@task
def slope(x: list[int], y: list[int]) -> float:
    sum_xy = sum([x[i] * y[i] for i in range(len(x))])
    sum_x_squared = sum([x[i] ** 2 for i in range(len(x))])
    n = len(x)
    return (n * sum_xy - sum(x) * sum(y)) / (n * sum_x_squared - sum(x) ** 2)

@task
def intercept(x: list[int], y: list[int], slope: float) -> float:
    mean_x = sum(x) / len(x)
    mean_y = sum(y) / len(y)
    intercept = mean_y - slope * mean_x
    return intercept

@workflow
def slope_intercept_wf(x: list[int], y: list[int]) -> (float, float):
    slope_value = slope(x=x, y=y)
    intercept_value = intercept(x=x, y=y, slope=slope_value)
    return (slope_value, intercept_value)

@task
def regression_line(val: int, slope_value: float, intercept_value: float) -> float:
    return (slope_value * val) + intercept_value  # y = mx + c

@workflow
def regression_line_wf(val: int = 5, x: list[int] = [-3, 0, 3], y: list[int] = [7, 4, -2]) -> float:
    slope_value, intercept_value = slope_intercept_wf(x=x, y=y)
    return regression_line(val=val, slope_value=slope_value, intercept_value=intercept_value)

@reference_launch_plan(
    project="flytesnacks",
    domain="development",
    name="advanced_composition.subworkflow.regression_line_wf",
    version="1jtCscLI-_FBiNcmL8Nr4Q",
)
def ref_regression_line_wf(
    val: int, x: list[int], y: list[int]
) -> float:
    return 1.0

@workflow
def map_regression_line_wf() -> list[float]:
    a = [1, 2, 3]
    b = [[-3, 0, 3], [-8, 2, 4], [7, 3, 1]]
    c = [[7, 4, -2], [-2, 4, 7], [3, 6, 4]]
    return map_task(ref_regression_line_wf)(val=a, x=b, y=c)

Setup process

need to run w/ union's flyte fork

Screenshots
Check all the applicable boxes

[ ] I updated the documentation accordingly.
[x] All new and existing tests passed.
[x] All commits are signed-off.

Related PRs

Docs link

also, one more question, so the unit test with all the asserts... that's how propeller expects the node to be?  It's supposed to bound to the first element of the list?
Can we write an example with unions also?  What if we're mapping over a union, and different elements are of different types of the union, does that matter?

also, one more question, so the unit test with all the asserts... that's how propeller expects the node to be? It's supposed to bound to the first element of the list?
Can we write an example with unions also? What if we're mapping over a union, and different elements are of different types of the union, does that matter?

@wild-endeavor This was the hacky-ness I was referring to.
We don't update the interface of the underlying subnode, launch plan in this case, to a list of a type so we bypass this mismatch during compilation. ArrayNode SubNodeSpec input bindings aren't utilized in propeller.
This input binding would just be used to set a parameter name to get set for a workflow node's input. I guess this could also lead to some issues with GateNodes if/when we add support to map over those as well.
This definitely could lead to other future issues/confusion. Let me look into updating binding_data_from_python_std to handle the mismatch between a simple type and a collection.
I do have this 1 line compiler update to resolve the root problem of ArrayNode mapping launch plans not compiling if default input is not set by setting the ArrayNode inputs on the subnode spec. Ideally I'd like to set the subnode spec's inputs through the SDK rather than doing it when compiling a workflow.


GPL-nnn - As a Pacbio long read user we need to be able to import plates and tubes

User story
As a Pacbio long read user we need to be able to import plates and tubes
Who are the primary contacts for this story
e.g. John S (don't include surnames in public repos)
Acceptance criteria
To be considered successful the solution must allow:

[ ] when I scan a tube barcode into the sample reception it will find the asset and store the samples
[ ] When I scan a plate barcode into the sample reception it will find the asset and store the samples

Dependencies
This story is blocked by the following dependencies:

#<issue_no.>
sanger/#<issue_no.>

Additional context
Add any other context or screenshots about the feature request here.

Duplicate


Aggregate common results

Right now, the fuzzer creates potentially hundreds of comments in results. Let's look into aggregating things that are clearly the same issue into single comments, so we don't have to swim through all the spam.

I've mostly mitigated this problem using a rudimentary equality check in https://github.com/microsoft/typescript-error-deltas/pull/98 as well.


install script delete ~/.ssh/known_hosts file

Seen in InstallTools.py
https://github.com/threefoldtech/jumpscaleX/blob/f814ddd03319139252b823f3a966886d630e521f/install/InstallTools.py#L3063
In no case a script should ever touch to this file on the host system of the use. I don't see any case where you would have to empty this file for any reason.

AAAAh o.O My file is empty indeed :'(

this is not critical, I understand you might not like it but its not hurting anyone

That's very much not true. This file contains public key of server the user trusts. Deleting it means the user is now completely blind and has no way to know if the server he usually access has not been compromised. This is is big security hold you are just creating on everyone computer.
Also, there nothing that requires to do that in the first place, so why do it at all ?

problem is no longer there has been resolved


nixos/tor: add tor hidden service options

Motivation for this change
Having to configure tor hidden services via the extraConfig did not look as nice in the configuration.
This change allows to configure hidden services more conveniently.
Things done
Please check what applies. Note that these are not hard requirements but merely serve as information for reviewers.
Since all changes are only related to generating torrc files i tested it on my local machine.
I was able to generate valid torrc files and host hidden services using those.

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

This should do. I applied the docbook syntax to the previously existing documentation as well.


Changed ISO to be an arbitrary list of values

The exif spec (https://www.cipa.jp/std/documents/download_e.html?DC-008-Translation-2023-E) states in section 4.6.6, Table 9, that "Photographic Sensitivity" (renamed from "ISO speed rating") is an arbitrary number of shorts.
Testing samples from https://github.com/ianare/exif-samples shows that generally, only one value is present. Windows also only recognizes metadata with a single ISO value, so the current implementation produces exif data from which Windows cannot read the ISO value.

huh, well, seems to have changed since revision 1.4 (February 2001). Thanks for the fix!


[BUG] Error running command f5.addHost: command 'f5.addHost' not found.

VSCode: 1.77.0
F5 Extension: 3.11.0
I get 'Error running command' when I click on any of the icons within the F5 page. For example, when I click on the '+' icon in F5 Hosts, I get the following error: 'Error running command f5.addHost: command 'f5.addHost' not found. This is likely caused by the extension that contributes f5.addHost.' I get very similar errors for any other action, such as Refresh Devices and Clear (in Config Explorer).
Developer tools shows me the same errors in addition to the following: 'Activating extension 'F5DevCentral.vscode-f5' failed: Cannot set property lastCheckDate of # which has only a getter. $onExtensionActivationError @ mainThreadExtensionService.ts:112'
When I check the runtime status in the extensions, it says 'Not yet activated'.
I did a full uninstall of VSCode (including removing the roaming folders) and reinstalled everything and get the same results. I am installing the extension from within VSCode Extension tab if that matters.

Hi @bbusner !  Thanks for opening this issue.  All the details you provide still indicate, to me, that there is something wrong the the main vscode installation.  For some reason, the extension is not fully activating.  In some rare instances, I have had to not only uninstall vscode, but also delete the directory and remaining files.  Maybe even a host computer reboot.
Are you on windows, linux or mac?
This thread has some details about the different locations
https://stackoverflow.com/questions/30263459/visual-studio-code-install-location

Hello @DumpySquare I am getting same issue as @bbusner, running latest VS Code on Windows.

@walterk82 .  Thanks.  All the signs still point to a problem with vscode itself.  Are you seeing any issues with any of the other extensions installed?  Have you tried to uninstall vscode and re-install?

I uninstalled the F5 extension, VS Code and deleted %APPDATA%\Code and %USERPROFILE%.vscode as documented in the Clean Uninstall section here: https://code.visualstudio.com/docs/setup/uninstall. I then installed the latest VS Code followed by the F5 extension.
VS Code: 1.78.2
F5 Extension: 3.12.2
I still get the same errors. It seems that all the errors from clicking on things within the F5 extension window are due to the extension not activating. I see this when I open Dev Tools :
Activating extension 'F5DevCentral.vscode-f5' failed: Cannot set property lastCheckDate of #<Object> which has only a getter.
I installed the official Python extension as well as F5 Networks iRules extension and confirmed that they both work as expected.
I'm not sure what would be unique about my installation. My laptop is configured to use a corporate HTTP proxy, but the errors do not appear to be related to any HTTP requests and it didn't seem to have trouble installing the extension through the Marketplace.

I've updated to 3.13 but I still get an activation error:

I performed a full uninstall of the extension and VSCode then reinstalled the latest VS Code (1.79.2) and the updated F5 extension (v3.13.0).
I see the same behavior as before. My Runtime status indicates it is 'Not yet Activated' although I don't see any read property errors like @walterk82.

The console output in Dev tools shows the same activation error that I've seen on the previous versions:
Activating extension 'F5DevCentral.vscode-f5' failed: Cannot set property lastCheckDate of #<Object> which has only a getter.
$onExtensionActivationError @ workbench.desktop.main.js:1972

I've tested the new release but I'm still having activation difficutly.

I get the same "Not Yet Activated".  How do we get past this?
VSCode Version:
1.80.0
OS: Win 10
F5 Extension version: 3.13.1

I get the same "Not Yet Activated". How do we get past this?
VSCode Version: 1.80.0 OS: Win 10
F5 Extension version: 3.13.1

@pedley-f5 , can you please uninstall vscode and remove it's directory?
%USERPROFILE%/.vscode
similar to this issue:  https://github.com/microsoft/vscode-python/issues/18109#issuecomment-985980956
And to everyone else, I haven't forgotten about you.  I've made a dozen changes to attempt to fix this.  It's nothing been able to reproduce or see in any of my installs or demos.  All the errors indicated in this issue, talk about the extension failing to load or a command failing, but the details behind those errors almost seem to be different every time, like a corrupt install.
Maybe it has something to do with the fact that it activates on vscode load "$onExtensionActivationError @ mainThreadExtensionService.ts:112'".  I will look at changing when/how vscode activates.  It might be trying to load too much too soon.
I'm also looking at moving functionality into other extensions and providing an extension pack.  This will help isolate issues, streamline updates, and enable some flexibility.
I really appreciate all the support, patience and feedback here.  I'm still working on this.
Ben

I just push an update. We'll see how it affects this issue

No change in behavior with v3.13.2. I tested the older versions, and it appears that v3.8.6 load fine. Once I go to v3.9.0, I get the same error I get on all the newer versions:
Activating extension 'F5DevCentral.vscode-f5' failed: Cannot set property lastCheckDate of #<Object> which has only a getter.
$onExtensionActivationError @ workbench.desktop.main.js:1972

On v3.8.6, I confirmed I was able to add a host, connect to it and various info such as iRules, RPMs, UCS, etc. Strangely, it only allows me to add a single host within the GUI extension. I get the following error when I click on the plus sign to add a new host: 199 [2023-07-10T15:25:40.835Z] [ERROR]: [object Object] exists or invalid format: <user>@<host/ip>:<port>
I got this error on all the prior versions as well. I was able to import additional hosts by using the right-click import method.
It might help if other affected users can test v3.8.6 to see if it works for them. You can install this version by clicking the uninstall drop down on the F5 extension and selecting Install Another Version.

ouuu.  interesting.  Lemme dig into that difference.  Thanks!

IF it helps, this is reported in the "Extension Host" Output console:
2023-07-10 13:24:49.539 [error] Activating extension F5DevCentral.vscode-f5 failed due to an error:
2023-07-10 13:24:49.539 [error] TypeError: Cannot set property lastCheckDate of # which has only a getter
at AtcVersionsClient. (c:\Users\username.vscode\extensions\f5devcentral.vscode-f5-3.13.2\node_modules\f5-conx-core\dist\bigip\atcVersionsClient.js:201:44)
at Generator.next ()
at fulfilled (c:\Users\username.vscode\extensions\f5devcentral.vscode-f5-3.13.2\node_modules\f5-conx-core\dist\bigip\atcVersionsClient.js:36:58)
at process.processTicksAndRejections (node:internal/process/task_queues:96:5)

Thanks @walterk82 , that does help.  the more data the better.
I will also look at removing all the NEXT work I added during this time.  NEXT will probably come later, in it's own extension.
Here is the comparison
https://github.com/f5devcentral/vscode-f5/compare/v3.8.6...v3.9.0

To add some context network operations fail on this extension because http proxy support is not configured.  Maybe the network startup calls are an issue for firewalled environments.

Got the same issue on 3.14. It was working but after VScode restart it stopped.
VSCode Version:
1.83.0
OS: Win 11
F5 Extension version: 3.14.0
In the extension console getting this
2023-10-04 02:44:43.487 [error] Activating extension F5DevCentral.vscode-f5 failed due to an error:
2023-10-04 02:44:43.487 [error] Error: libsecret-1.so.0: cannot open shared object file: No such file or directory
at Module._extensions..node (node:internal/modules/cjs/loader:1338:18)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at u._load (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:154:5631)
at c._load (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:151:29196)
at t._load (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:118:35261)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/user/.vscode-server/extensions/f5devcentral.vscode-f5-3.14.0/node_modules/keytar/lib/keytar.js:1:14)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at u._load (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:154:5631)
at c._load (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:151:29196)
at t._load (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:118:35261)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object. (/home/user/.vscode-server/extensions/f5devcentral.vscode-f5-3.14.0/out/extension.js:43:33)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at u._load (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:154:5631)
at c._load (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:151:29196)
at t._load (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:118:35261)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Function.i [as __$__nodeRequire] (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/loader.js:5:98)
at s.vb (/home/user/.vscode-server/bin/e7e037083ff4455cf320e344325dacb480062c3c/out/vs/workbench/api/node/extensionHostProcess.js:151:30375)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)

I get the below error.
VSCode Version:
1.83.0
OS: Win 11
F5 Extension version: 3.14.0
Log:
2023-10-06 20:40:00.488 [error] Activating extension F5DevCentral.vscode-f5 failed due to an error:
2023-10-06 20:40:00.488 [error] Error: \?\c:\Users\Foo.vscode\extensions\f5devcentral.vscode-f5-3.14.0\node_modules\keytar\build\Release\keytar.node is not a valid Win32 application.
\?\c:\Users\Foo.vscode\extensions\f5devcentral.vscode-f5-3.14.0\node_modules\keytar\build\Release\keytar.node

Same error
VSCode Version
1.83.0
OS: OSX Ventura 13.5.2
Log:
[error] Activating extension F5DevCentral.vscode-f5 failed due to an error:
2023-10-16 14:27:55.733 [error] Error: dlopen(/Users/molina/.vscode/extensions/f5devcentral.vscode-f5-3.8.5/node_modules/keytar/build/Release/keytar.node, 0x0001): tried: '/Users/molina/.vscode/extensions/f5devcentral.vscode-f5-3.8.5/node_modules/keytar/build/Release/keytar.node' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/Users/molina/.vscode/extensions/f5devcentral.vscode-f5-3.8.5/node_modules/keytar/build/Release/keytar.node' (no such file), '/Users/molina/.vscode/extensions/f5devcentral.vscode-f5-3.8.5/node_modules/keytar/build/Release/keytar.node' (not a mach-o file)
at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1869)
at Module._extensions..node (node:internal/modules/cjs/loader:1401:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1869)
at Module.load (node:internal/modules/cjs/loader:1171:32)
at Module._load (node:internal/modules/cjs/loader:1012:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at u._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:153:5631)
at c._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:29196)
at t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:117:35261)
at Module.require (node:internal/modules/cjs/loader:1195:19)
at g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:647)
at Object. (/Users/molina/.vscode/extensions/f5devcentral.vscode-f5-3.8.5/node_modules/keytar/lib/keytar.js:1:76)
at u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
at Module.load (node:internal/modules/cjs/loader:1171:32)
at Module._load (node:internal/modules/cjs/loader:1012:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at u._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:153:5631)
at c._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:29196)
at t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:117:35261)
at Module.require (node:internal/modules/cjs/loader:1195:19)
at g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:647)
at Object. (/Users/molina/.vscode/extensions/f5devcentral.vscode-f5-3.8.5/out/extension.js:54:33)
at u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
at Module.load (node:internal/modules/cjs/loader:1171:32)
at Module._load (node:internal/modules/cjs/loader:1012:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at u._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:153:5631)
at c._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:29196)
at t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:117:35261)
at Module.require (node:internal/modules/cjs/loader:1195:19)
at g (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:647)
at Object. (/Users/molina/.vscode/extensions/f5devcentral.vscode-f5-3.8.5/out/extLoader.js:15:21)
at u._compile (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
at Module.load (node:internal/modules/cjs/loader:1171:32)
at Module._load (node:internal/modules/cjs/loader:1012:12)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at u._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:153:5631)
at c._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:29196)
at t._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:117:35261)
at Module.require (node:internal/modules/cjs/loader:1195:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Function.i [as __$__nodeRequire] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:5:98)
at s.vb (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:30375)
at async Promise.all (index 0)

ok, I downloaded vscode 1.82.3 and all extensions were loaded successfully including F5 extension

After the Visual Studio Code update to 1.83 extension stopped working, the error message:
Error running command f5.addHost: command 'f5.addHost' not found. This is likely caused by the extension that contributes f5.addHost.
It works correctly on version 1.82.3.

I'd like to second @michal-tomczak experience. The F5 extension works fine on 1.82.3. Also had the same experience as reported for 1.83. I've temporarily disabled automatic updates from MS VSCode for stability.

Hoping to have found the issue team.  Just released 3.15. that should fix this.  Please confirm

VS Code: 1.83.1
OS: Win 10
F5 Extension: 3.15
I just upgraded the F5 extension to 3.15 and it appears to be working now. I haven't done any extensive testing yet, but I can at least connect to my BIG-IP devices and browse the configuration. I have not seen any errors yet.
Thanks!

I also have the problem that the module is displayed as "not activated".
VS Code: 1.84.1
OS: Win 10
F5 Extension: v3.15.1
The problem only occurs with the device that has no internet access. The installation is done via VSIX file. Here I could find the following error message in the "Output" of VS Code (Extension host):
2023-11-07 14:35:09.736 [error] Activating extension F5DevCentral.vscode-f5 failed due to an error:
2023-11-07 14:35:09.736 [error] TypeError: Cannot set property lastCheckDate of # which has only a getter
at AtcVersionsClient. (c:\Users\xxx.vscode\extensions\f5devcentral.vscode-f5-3.15.1\node_modules\f5-conx-core\dist\bigip\atcVersionsClient.js:201:44)
at Generator.next ()
at fulfilled (c:\Users\xxx.vscode\extensions\f5devcentral.vscode-f5-3.15.1\node_modules\f5-conx-core\dist\bigip\atcVersionsClient.js:36:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)_
If I run the same installation on a device with Internet access (also with VSIX), the extension works.
Thanks in advance!

Same issue here - seeing "Not yet activated" in Runtime Status. I am behind a web gateway at work, so some of the background requests made at startup are failing. Example:
  url: 'https://api.github.com/repos/F5Networks/f5-declarative-onboarding/releases'```

Update - I got this to work by disabling the version cache. Manual edit to atcVersionsClient inside f5-conx-core, update getAtcReleasesInfo to bypass refresh
    getAtcReleasesInfo() {
        var _a;
        return __awaiter(this, void 0, void 0, function* () {
            // load info from cache
            yield this.loadReleaseInfoFromCache();
            // if we have cache data, get date
            const checkDate = new Date((_a = this.atcVersions) === null || _a === void 0 ? void 0 : _a.lastCheckDate).getDate();
            // get todays date
            const todayDate = new Date().getDate();
            // is it today?
            if (true) {
                // was already checked/refreshed today, so pass cached info
                this.events.emit('log-info', `atc release version already checked today, returning cache from ${this.cachePath}`);
                return this.atcVersions;
            }
            else {
                // has not been checked today, refresh
                this.events.emit('log-info', 'atc release version has NOT been checked today, refreshing cache now');
                yield this.refreshAtcReleasesInfo();
                return this.atcVersions;
            }
        });
    }

yes, it is a terrible hack and does not "fix" the issue, but maybe it will help show the source of the problem?

@j-zehnder this helps a ton.  Probably more related to issue #239, but your feedback has certainly provided more clarity on where to focus.  I'm hoping to get to this soon now that the holidays are past.  Thanks again.

Hey everyone.  I feel like this should be resolved with the updates over the last couple of months.  If not from the update or keytar, then with the updates from the ATC versions functions.  Is anyone still having this issue?


[Feature] Browser compatibility issues

Search before asking

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

Feature Request
Version 0.8 can be developed in Sogou browser, but version 1.0 cannot. Other browsers have not been tested yet
Are you willing to submit PR?

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

Sorry about that.  At this stage, we will give priority to supporting and testing Chrome. We recommend using Chrome, no other browser is guaranteed now.
Or are you interested in helping US support multiple browsers?


[Bug]: Change light mode UI

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
In light mode, when all tasks are done, the text "All tasks completed" becomes invisible due to UI colour scheme
Add ScreenShots

What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

Sure @shreyansh1410 . I assign this task to you. You can start working on this issue. Thankyou for your contribution.


Sequential batch the base optimizer SHOULDN'T optimize the base acquisition

This has now been fixed. Closing.


How to unlock ETH

I use force bridge to swap my eth to ckb, but the ckb is locked so that I can't transfer. I see my eth is locked, how to unlock my eth or ckb? @huwenchao

This is the lock eth transaction, https://etherscan.io/tx/0x88fde97392ce89e311de124af4b32df1635bccf413dbb812971a4eb49feab3ef
This is the receive ckb transaction,
https://explorer.nervos.org/transaction/0xcb1159472bf6e99c21e049e14ae7cae29e803708f7a4405e8b9e9970f890319a

Force Bridge is a bridge between two chains and should not be used as a swap, after you lock some eth on the ethereum chain, you will get eth on the ckb chain.
here is your eth

You can also use Force Bridge to cross eth back to the ethereum chain

I try the method, but when I connect to Metamask,  I got the address ckb1qz0n46hjl3pe2jwtepcvv5ehf9p6l94qvk9addgmarvfsvvrum6j7qgp9pg4ked2x8qv64t6h7zmupn5qhgr2hw4qqu3tm95, not the address ckb1qzda0cr08m85hc8jlnfp3zer7xulejywt49kt2rr0vthywaa50xwsqgwrapsvszmpa0vrrulptmcf75g4ps70mqu00a8g where my eth exist. Is there any way to use my specific address to cross eth back?


Benchmark contract setup

We should add some benchmarks for our contract setup function as a first step in improving its performance.
I recommend using criterion and benchmark the entire setup_contract::new function. Something to watch out for is the use of spawn_blocking inside the function. I think the warmup procedure of criterion ensures that tokio will launch the threadpool ahead of time and thus, we shouldn't incur the cost of thread spawning as part of the benchmark.
How to use async with criterion: https://bheisler.github.io/criterion.rs/book/user_guide/benchmarking_async.html
I think we will have to use the iter_batched timing loop but I recommend to give the page a read and make your own judgement.
It might also be worthwhile to look at comparing functions and do the benchmarking by duplicating setup_contract::new function and benchmark both of them in parallel.

We did this and solved a few things actually!
Thanks @klochowicz !


Scan/Module: Add wide string support

Fixes #4 (apart of updating bddisasm)
Are you interested in making spdlog optional with a define(not by default)? I can also make a PR for that.

You can do the spdlog change if you want. All the logs are already behind a spdlog macro that can disable logging, so you can reimplement those if spdlog isn't even used at all.


parse_config does blocking I/O in the event loop

https://github.com/dummylabs/thewatchman/blob/23298faaec5bb1ca21f28124844e86b6b3cbf9fa/custom_components/watchman/__init__.py#L344
https://github.com/home-assistant/core/issues/110444#issuecomment-2057934522

Should be fixed in 0.6.2


actions: Build deb package

This builds a Debian (.deb) package for easier installation on Debian/Ubuntu based systems, as suggested in #16.
This PR is currently based on PR #27, but I can easily rebase it onto the current master branch if you want.

Thank you!

Thank you!


gitAndTools.git-annex: wrap binary on not-Linux to use Nixpkgs' coreutils

Motivation for this change
Fixes #53423
~I do have a remaining question of whether to wrap unconditionally, or just on Darwin? Defaulting to just Darwin for now.~
Note: I put this in configuration-nix.nix instead of the existing block in configuration-common.nix because this is a Nix-specific fix; happy to combine the two if people would prefer.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @kirelagin

@basvandijk and/or @peti - Any chance I could get a review on this, when you get a moment?

Wouldn't it be a good idea in general to have coreutils in $PATH before the default utilities? I reckon there's more than one program in Nix that would be confused by seeing one toolset at configuration-time and another toolset at runtime.

@peti - Apologies for the ping, but I saw you approved the PR; is there anything else I need to do to help get this merged?

@ryantm - Thank you!


How to load 3D terrain by loading geotiff data

I want to load and implement terrain through geotiff data, but I don't know how to start. Can you give me some advice

The library by itself does not support geotiff. It uses tiles to compose the world map.
But it should be fairly easy to align geotiff data with the tile system, is this what you are looking for?

ok,thank you


WARN is acceptable for Log4Net IMO

Is your feature request related to a problem? Please describe.
The Log4net Azure Healthcheck only accepts a value of error. Error/Warn are probably acceptable for production.
Describe the solution you'd like
The check should be updated so it accepts either Error or Warn.

Closed as already fixed in a PR and merged


{Telemetry} Disable telemetry for some clouds

Resolve #12373
Resolve #12285
History Notes:
(Fill in the following template if multiple notes are needed, otherwise PR title will be used for history note.)
[Component Name 1] (BREAKING CHANGE:) (az command:) make some customer-facing change.
[Component Name 2] (BREAKING CHANGE:) (az command:) make some customer-facing change.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

is there way to add any automatic testing besides local testing?


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #1

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

I signed it
Sent from Yahoo Mail for iPhone
On Thursday, July 2, 2020, 3:32 PM, googlebot<EMAIL_ADDRESS>wrote:
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Feature/jake/add free text and enter key action params

extend directive to accept and utilize new parameters:

freeText allows for the selection of items not provided in the dropdown
enterAction receives a function that executes whenever the enter key is pressed

start a README for the library

Couple notes about the current state:

src needs to be recompiled
enterAction still does not function as intended

Resolved the compiling issues (though still getting the errors in Terminal).

@teddywing, having trouble installing my fork with bower to facilitate testing. When you're ready to take a look at this, let's talk?

Looks good :rocket:


WIP: Add zync-console statefulset

Adds a zync-console statefulset managed by the saas-operator.
/kind feature
/priority important-soon
/assign

/retitle feat: Add zync-console statefulset

/lgtm

/approve


iOS模拟器运行失败，请问是否支持M1 Mac模拟器？

pod install 时候出现警告
wechatsdk no_pay
/Users/sunjianan/.pub-cache/hosted/pub.flutter-io.cn/wechat_kit-5.0.2/ios/wechat_setup.rb:53:in `block in <main>': uninitialized constant URI (NameError)
        from /Users/sunjianan/.pub-cache/hosted/pub.flutter-io.cn/wechat_kit-5.0.2/ios/wechat_setup.rb:49:in `each'
        from /Users/sunjianan/.pub-cache/hosted/pub.flutter-io.cn/wechat_kit-5.0.2/ios/wechat_setup.rb:49:in `<main>'
Downloading dependencies

然后运行在真机上没问题，运行在M1 MAC的模拟器上显示：
Error (Xcode): In /Users/sunjianan/.pub-cache/hosted/pub.flutter-io.cn/wechat_kit-5.0.2/ios/Libraries/OpenSDK1.9.9_NoPay/libWeChatSDK.a(WechatAuthSDK.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/sunjianan/.pub-cache/hosted/pub.flutter-io.cn/wechat_kit-5.0.2/ios/Libraries/OpenSDK1.9.9_NoPay/libWeChatSDK.a' for architecture arm64

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.

https://developers.weixin.qq.com/community/develop/doc/000c6275b68bf014265b30dc256800


gr-air-modes is out of date

it causes the interface to crash when switching to Mode S https://github.com/kpreid/shinysdr/issues/132

Fixed in 1.1.0 👍


Add interactive helper file, incl. highlighter

Introduce a new TCL file for helper procedures for use in interactive Vivado sessions. The main addition is a cell highlighting proc useful for viewing where the different parts of the logical design have been placed.

Small comment tweaks


Fix #3766

This commit fixes #3766 by adding all the missing impls. It uses the same strategy as #3643 for all implementations.
cc @Ploppz Can you double check that it fixes your example as well.

It works in my project. Thanks for the fix!


Anatomic images with associated detailed descriptions from taxonomic treatments dataset

I'd like to work with the Plazi taxonomic treatments dataset, which includes many images with associated anatomical descriptions. However, the images typically contain several subpanels within each, and likewise the text combines the descriptions for all the sub panels. I'm hoping to separate these into correctly grouped images and descriptions, and further to link the text to taxonomic names and anatomy ontology concepts.

Originally posted by @balhoff in https://github.com/Imageomics/Image-Datapalooza-2023/issues/3#issuecomment-1670562197

@balhoff I hope you don't mind me moving this into an issue of its own for further discussion. I know we've looked into this dataset a bit. Can you post links to what's been done so far? I'm also wondering whether we shouldn't compile a full dataset on HF. I forget what we estimated in terms of full dataset size and sub-sampled (for experimentation) dataset size.

Sounds a bit similar to a project I have planned using illustrations and their reference specimens / descriptions: https://github.com/orgs/KewBridge/discussions/1 and https://github.com/KewBridge/specimens2illustrations/

I'm starting with this RDF dataset: https://github.com/plazi/treatments-rdf
There are about 300,000 figures in the dataset. From some preliminary queries I think there are about 6200 different families with figure data. Here's one representative example: https://dx.doi.org/10.5281/zenodo.5846642
I need to run a SPARQL query to extract a smaller dataset, probably a max of 3 figures from each family. Next I plan to try converting the figure legends into a structured format using OntoGPT SPIRES: https://github.com/monarch-initiative/ontogpt  Then get some advice on now to segment the actual images into subpanels.

I don't want to argue against the SPIRES / OntoGPT route, but for the purpose of making the dataset most suitable for CLIP training, I actually don't think structured subcaptions are necessary.
Rather, for CLIP training the main milestone outcome would, I think, be a dataset where each data item is a pair of one subfigure image (rather than the full figure image consisting of 5-10 subfigure images),  and the corresponding sub caption text (rather than the entire caption, which describes not one but many (sub)figure images).
@work4cs @samuelstevens any thoughts or comments from a CLIP model training perspective?

@nickynicolson if you copy&pasted the specimens2illustrations link (precluding a typo), then the repo is presumably set to be private. (It's inaccessible.) Is it possible to make it public?

Sorry about that - done now

I don't want to argue against the SPIRES / OntoGPT route, but for the purpose of making the dataset most suitable for CLIP training, I actually don't think structured subcaptions are necessary.
Rather, for CLIP training the main milestone outcome would, I think, be a dataset where each data item is a pair of one subfigure image (rather than the full figure image consisting of 5-10 subfigure images), and the corresponding sub caption text (rather than the entire caption, which describes not one but many (sub)figure images).

My main goal with SPIRES was just to use its facilities for extracting a structure from text. The core of this would just be finding the subfigure text parts within the full caption, along with the subfigure ID. The API makes it pretty simple to get back a data structure, given a chunk of text and a small data model.

Another attempt with a different prompt: https://chat.openai.com/share/3473e6cd-9853-4ec7-b932-f6545e34ab0c
That one does a good job of including the relevant information for each sub-panel into its description.

Rather, for CLIP training the main milestone outcome would, I think, be a dataset where each data item is a pair of one subfigure image (rather than the full figure image consisting of 5-10 subfigure images), and the corresponding sub caption text (rather than the entire caption, which describes not one but many (sub)figure images).

I agree with this completely. In general, we don't want super structured text captions with CLIP because the web-scale data (upon which CLIP models were pretrained) don't have structured text captions. So captions with sentences, with overlapping subcaptions, etc is fine for CLIP.


Improve handling of OAuth2 code acquisition

Closes #444

Wait for merge until OpenH.264 is merged.


fix(prefabs): force apply TextMeshPro styles when state is enabled

There is an issue in later versions of Unity where if the TextMeshPro
component is not enabled in the scene then it does not apply the
state styles to the TextMeshPro component. This fix uses a
BehaviourEnabledObserver to check to see whtn the TextMeshPro for
each style is enabled and then force applies the styles.

:tada: This PR is included in version 1.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
v1.2.3
GitHub release

Your semantic-release bot :package::rocket:


The chunk_size_iterator violates multipass guarantee.

https://github.com/STEllAR-GROUP/hpx/blob/e0f0ed18af6a5dd90c9bbc209fb59b7d87b15f64/hpx/parallel/util/detail/chunk_size_iterator.hpp#L23-L85
The chunk_size_iterator has forward iterator tag. But, it violates multipass guarantee.
// The 'iter' is chunk_size_iterator.
auto const& elem = *iter++;
...(usage of elem)...

Above code has a bug because the data which elem referenced is changed when iter is incremented.
Really, I encounted that bug, I consumed my much time for finding bug and fixing it.
http://en.cppreference.com/w/cpp/concept/ForwardIterator
As you can see from the link above, forward iterator tag must satisfy multipass guarantee.
But, the chunk_size_iterator isn't.
So, I think that the chunk_size_iterator should be classified to input iterator tag.

Excellent catch! please prepare a PR for this.


Windows path not resolved correctly

According to https://github.com/juanfran/gulp-scss-lint/issues/51#issuecomment-142983831 it seems there is an issue in the way command line are handled in scss-lint.
Here is the command line input:
scss-lint C:\UwAmp\www\Nouveau_dossier\Nouveau_dossier\Nouveau_dossier\Nouveau_dossier\project_folder\src\styles\**\*.scss C:\UwAmp\www\Nouveau_dossier\Nouveau_dossier\Nouveau_dossier\Nouveau_dossier\project_folder\src\project-root\**\*.scss --format=JSON

and the corresponding output:
Invalid argument @ rb_sysopen - C:UwAmpwwwNouveau_dossierNouveau_dossierNouveau_dossierNouveau_dossierproject_foldersrcstyles***.scss
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/engine.rb:239:in `read'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/engine.rb:239:in `for_file'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/engine.rb:47:in `build_from_file'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/engine.rb:21:in `initialize'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:27:in `new'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:27:in `find_lints'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:19:in `block in run'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:18:in `each'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/runner.rb:18:in `run'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/cli.rb:57:in `scan_for_lints'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/cli.rb:50:in `act_on_options'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/lib/scss_lint/cli.rb:27:in `run'
c:/outils/Ruby22-x64/lib/ruby/gems/2.2.0/gems/scss_lint-0.42.0/bin/scss-lint:6:in `<top (required)>'
c:/outils/Ruby22-x64/bin/scss-lint:23:in `load'
c:/outils/Ruby22-x64/bin/scss-lint:23:in `<main>'
Report this bug at https://github.com/brigade/scss-lint/issues

To help fix this issue, please include:
- The above stack trace
- SCSS-Lint version: 0.42.0
- Sass version: 3.4.18
- Ruby version: 2.2.1
- Contents of C:/UwAmp/www/Nouveau_dossier/Nouveau_dossier/Nouveau_dossier/Nouveau_dossier/project_folder/.scss-lint.yml

The content of .scss-lint.yml is:
# Default application configuration that all configurations inherit from.

scss_files: "**/*.scss"

linters:
  BangFormat:
    enabled: true
    space_before_bang: true
    space_after_bang: false
    severity: error

  BorderZero:
    enabled: true
    convention: zero # or `none`
    severity: error

  ColorKeyword:
    enabled: true
    severity: warning

  ColorVariable:
    enabled: true
    severity: warning

  Comment:
    enabled: false
    severity: warning

  DebugStatement:
    enabled: true
    severity: error

  DeclarationOrder:
    enabled: true
    severity: warning

  DuplicateProperty:
    enabled: true
    severity: error

  ElsePlacement:
    enabled: true
    style: same_line # or 'new_line'
    severity: error

  EmptyLineBetweenBlocks:
    enabled: true
    ignore_single_line_blocks: true
    severity: error

  EmptyRule:
    enabled: true
    severity: warning

  FinalNewline:
    enabled: true
    present: true
    severity: error

  HexLength:
    enabled: false
    style: short # or 'long'
    severity: warning

  HexNotation:
    enabled: true
    style: lowercase # or 'uppercase'
    severity: error

  HexValidation:
    enabled: true
    severity: error

  IdSelector:
    enabled: true
    severity: error

  ImportantRule:
    enabled: true
    severity: warning

  ImportPath:
    enabled: false
    leading_underscore: true
    filename_extension: false
    severity: warning

  Indentation:
    enabled: true
    allow_non_nested_indentation: false
    character: space # or 'tab'
    width: 2
    severity: error

  LeadingZero:
    enabled: true
    style: exclude_zero # or 'include_zero'
    severity: error

  MergeableSelector:
    enabled: true
    force_nesting: false
    severity: warning

  NameFormat:
    enabled: false
    allow_leading_underscore: true
    convention: hyphenated_lowercase # or 'BEM', or a regex pattern
    severity: error

  NestingDepth:
    enabled: true
    max_depth: 3
    severity: error

  PlaceholderInExtend:
    enabled: true
    severity: warning

  PropertyCount:
    enabled: false
    include_nested: false
    max_properties: 10
    severity: warning

  PropertySortOrder:
    enabled: false
    order: concentric
    ignore_unspecified: false
    separate_groups: false
    severity: warning

  PropertySpelling:
    enabled: true
    extra_properties: []
    severity: error

  QualifyingElement:
    enabled: true
    allow_element_with_attribute: false
    allow_element_with_class: false
    allow_element_with_id: false
    severity: warning

  SelectorDepth:
    enabled: true
    max_depth: 3
    severity: error

  SelectorFormat:
    enabled: true
    convention: ^([a-zA-Z]([a-zA-Z0-9])+(_[a-zA-Z]+)*(--[a-zA-Z])*)|(_(is|has)_([a-zA-Z0-9]){2,})$ #hyphenated_lowercase # or 'BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern
    severity: warning

  Shorthand:
    enabled: true
    severity: warning

  SingleLinePerProperty:
    enabled: true
    allow_single_line_rule_sets: true
    severity: warning

  SingleLinePerSelector:
    enabled: true
    severity: error

  SpaceAfterComma:
    enabled: true
    severity: error

  SpaceAfterPropertyColon:
    enabled: true
    style: one_space # or 'no_space', or 'at_least_one_space', or 'aligned'
    severity: error

  SpaceAfterPropertyName:
    enabled: true
    severity: error

  SpaceBeforeBrace:
    enabled: true
    style: space # or 'new_line'
    allow_single_line_padding: false
    severity: error

  SpaceBetweenParens:
    enabled: true
    spaces: 0
    severity: error

  StringQuotes:
    enabled: true
    style: single_quotes # or double_quotes
    severity: warning

  TrailingSemicolon:
    enabled: true
    severity: error

  TrailingZero:
    enabled: false
    severity: warning

  UnnecessaryMantissa:
    enabled: true
    severity: warning

  UnnecessaryParentReference:
    enabled: true
    severity: warning

  UrlFormat:
    enabled: true
    severity: warning

  UrlQuotes:
    enabled: true
    severity: warning

  VariableForProperty:
    enabled: true
    properties: []
    severity: warning

  VendorPrefixes:
    enabled: false
    severity: warning

  VendorPrefix:
    enabled: false
    identifier_list: base
    additional_identifiers: []
    excluded_identifiers: []
    severity: warning

  ZeroUnit:
    enabled: true
    severity: warning

  Compass::*:
    enabled: false
    severity: warning

Could you please tell us if this is a bug in the package, a misuse of the CLI, or something wrong in the yaml file, so that we know what needs fixing ?

Hey @mlarcher,
I don't develop on Windows, but it appears that you are passing a glob pattern (i.e. **/*.scss) to scss-lint via the command line and it is receiving those literal strings. This tells me you aren't using a shell to expand those patterns ahead of time.
In case you aren't familiar, any glob pattern is expanded by your shell (e.g. typically bash/zsh if you're on some *nix distribution; for Windows it's cmd.exe). Since cmd.exe does not support wildcard expansion, this explains why the literal string is being passed along.
scss-lint doesn't expand these patterns for you because asterisks are valid characters in file names. Thus whatever is invoking scss-lint needs to expand the pattern and pass the list of files to scss-lint.
Hope that helps.

Thanks for the quick reply.
The initial problem is that scss-lint needs to operate on a large collection of scss files, and the windows command line is limited to 8192 characters, which is quickly reached when listing a collection of file paths.
Would it be possible to provide an alternative way for scss-lint to get to the actual files ? Surely there must be some options available, don't you think ?

As long as all you're trying to do is lint files in a directory, you can just pass the directory. scss-lint will scan for any files ending with .scss and lint them.
scss-lint /path/to/project/dir

Great, thank you.


Cannot create link between nodes in parent graph

Hi,
I want to do something like this (click for preview):
digraph {
    edge ["dir"="forward"]
    graph ["rankdir"="LR"]

    subgraph "cluster_internal components" {
        edge ["dir"="none"]
        graph ["label"="my app"]
        "B" ["shape"="rectangle"]
    }

    subgraph "cluster_external input components" {
        edge ["dir"="none"]
        graph ["label"="input","style"="dashed"]
        "A" ["shape"="rectangle"]
        "B" ["shape"="rectangle"]
    }

    "A" -> "B"
}

But I can't figure out how to add the link (A->B) to the parent graph. When I call node.addLink() the link always appears within one of the subgraphs, resulting in this:
digraph {
    edge ["dir"="forward"]
    graph ["rankdir"="LR"]

    subgraph "cluster_internal components" {
        edge ["dir"="none"]
        graph ["label"="my app"]
        "B" ["shape"="rectangle"]
    }

    subgraph "cluster_external input components" {
        edge ["dir"="none"]
        graph ["label"="input","style"="dashed"]
        "A" ["shape"="rectangle","label"="A to B"]
        "B" ["shape"="rectangle"]
        "A" -> "B"
    }
}

The link is within the second subgraph, causing the arrow not to show the arrowhead.
I tried adding the link directly to the parent graph using graph.addLink(), but this will always assume that the graph itself is the source of the link, which is not what I want.
Is there a way to add a link to the main graph to get the result in the first code snippet above?

I have found a solution to add a link to the main graph by doing this:
mainGraph.add(node("A")
                        .link("B"))

However, this way, I cannot add attributes (like a label) to the link, ass link() returns a Node and not a Link.
How can I add a link between two nodes to the main graph and manipulate the attributes of the link?


Custom names for GraphQL types, inputs, query and mutations

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (11da1f2) to head (114db60).
Report is 22 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##              main        #9    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           27        29     +2
  Lines         1843      2099   +256
==========================================
+ Hits          1843      2099   +256

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


HubSpot CRM issue

Api Name - shared_hubspotcrm
Bug description - Unable to authenticate Oauth failure
Is this a security bug? N
What is the severity of this bug? Moderate
Couldn’t complete the connection
Insufficient scopes were provided. Please contact the app developer.

#2309 There are two solutions referenced in this thread, it can be resolved through the workaround mentioned by the original poster (Private app + Custom connector) or as the creator suggested setting up oauth through a HubSpot developer account (have not attempted).


Agree on web presence

Verify that our web presence should consist of: (1) public website for users, (2) support section for users on the GitHub, (3) web console for non-Kubernetes users, (4) tutorial section on the GitHub, containing specific tutorials for different events, (5) development documents on GitHub, outlining the architecture, (6) source code on the GitHub

Agreed and ADR created

@bsenel do we still have a code documentation site?

I am not sure what you mean by a code documentation site. However, there is a code page on the website at http://edge-net.org/code.html including an API documentation link to https://documenter.getpostman.com/view/7656709/SzYT4gRL?version=latest. GitHub pages still can be used for different purposes. I hope this answers your question.

Thank you, @bsenel , this is exactly what I meant! Our web presence includes the Postman site. I will add it to the ADR.

Will create a new issue for code documentation, which is still an outstanding question.


V4 Ion-Navbar throws error

I'm working on upgrading my Ionic App to Ionic 4 and Angular 6.  I have a component which uses some of the ionic's components but they seem to not be registered.  I've created a new project and I'm using the Tabs Start,  My Html looks like so:
<ion-header>
  <ion-navbar align-title="center">
     <ion-title>Home</ion-title
  </ion-navbar>
</ion-header>

I changed the home page to use the ion-navbar but now I'm getting an error:

ERROR Error: Uncaught (in promise): Error: Template parse errors:
'ion-navbar' is not a known element

Has the nav-bar been removed from Ionic?

@granthoff1107 This is broken - please see link! Be forewarned, if building to cordova platform there seems to be issues with V4 ionicons - see this bug. I just came across same thing with back arrow icon in nav bar while building to Android.

Interesting, i also noticed ion-search bar throws the same error, I didn’t see anything mentioning that, the then again I’m looking from my phone. Is that deprecated as well

All breaking changes listed here. Do not see ion-search in list, but seems likely it should be.

Navbar has been removed in favor of using Toolbar. Please see the breaking changes here: https://github.com/ionic-team/ionic/blob/master/angular/BREAKING.md#navbar
There shouldn't be any breaking changes with ion-searchbar, please let me know if you are seeing issues there. Thanks!


Blog post: Deploy to AWS with Terraform

Explaining how to use one-click deployer

I started working on changing the text to be more readable and will change the script to read inputs, not a big problem.
I will also add support for Onion in automatic deployment.
Regarding the controlling of tdex daemons etc, I think we might combine it with unlocked on a separate blog post? @tiero

Regarding the controlling of tdex daemons etc, I think we might combine it with unlocked on a separate blog post? @tiero

Yes we can point to docs on how to init, unlock, deposit funds etc..
Poin is that user is running terraform from his local machine, is not quite obvious how from this blog post to go ahead and follow the docs on those matters, therefore we need to mention how the user controls. Simplest thing is to tell the user to SSH in the EC2 and use tdexalias (if we add automatically ie. alias tdex="docker exec -it tdexd tdex ")
Ohter option is to teach the user to install the tdex CLI in the local machine and do the macaroons pairing (more difficult maybe)

Looks like you are pushing with wrong git user locally (ie. no PGP attached to that) @kcoax

still not looking good with markdown table


Unit test problem on Windows

Laravel version: master
Description
I just fork this repo and run composer test on master branch. I got a fail test for my PHPUnit. I already run composer install. Is there anything that I'm doing wrongly?

I'm using windows 10. PHP 7.4.5

Please share the text of the error message with us.

1) Tests\FeaturesTest::testFeatures with data set "Methods\Builder.php" ('E:\Code\Package\larastan\test...er.php')
null

@szepeviktor this one?

😲 Just a lonely null??
Try with --debug or with -v!

yup, same.
There were 47 failures:

1) Tests\FeaturesTest::testFeatures with data set "Methods\Builder.php" ('E:\Code\Package\larastan\test...er.php')
null

E:\Code\Package\larastan\tests\FeaturesTest.php:43
E:\Code\Package\larastan\tests\FeaturesTest.php:33

2) Tests\FeaturesTest::testFeatures with data set "Methods\CarbonExtension.php" ('E:\Code\Package\larastan\test...on.php')
null

E:\Code\Package\larastan\tests\FeaturesTest.php:43
E:\Code\Package\larastan\tests\FeaturesTest.php:33

3) Tests\FeaturesTest::testFeatures with data set "Methods\Contracts.php" ('E:\Code\Package\larastan\test...ts.php')
null

E:\Code\Package\larastan\tests\FeaturesTest.php:43
E:\Code\Package\larastan\tests\FeaturesTest.php:33

4) Tests\FeaturesTest::testFeatures with data set "Methods\Facades.php" ('E:\Code\Package\larastan\test...es.php')
null

This is for test 47
47) Tests\Rules\NoUnnecessaryCollectionCallRuleTest::testNoFalseNegativesQuery
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => 'Called 'max' on Laravel colle...query.'
-    1 => 'Called 'isNotEmpty' on Larave...query.'
-    2 => 'Called 'pluck' on Laravel col...query.'
 )

Please debug the output of sprintf here
https://github.com/nunomaduro/larastan/blob/073778dc8f22de6be70ea66a2ce984c524c9f108/tests/TestCase.php#L33
maybe with error_log();

Like this? I'm using dump

Yes. The complete return value of sprintf, the whole command line.

"C:\laragon\bin\php\php-7.4.5\php.exe" E:^\Code^\Package^\larastan^\tests/../vendor/bin/phpstan analyse --no-progress  --level=max --configuration "E:\Code\Package\larastan\tests/../extension.neon"  "E:\Code\Package\larastan\tests\Features\Methods\Builder.php" --error-format=json

Does it run?
So this produces the null?

I think we don't support MINGW64, only pure Windows.

Does it run?
So this produces the null?

TBH I dont know whether that is the cause that produces the null or not.
I tried using Windows PowerShell and CMD both also same.

"C:\laragon\bin\php\php-7.4.5\php.exe" E:^\Code^\Package^\larastan^\tests/../vendor/bin/phpstan analyse --no-progress  --level=max --configuration "E:\Code\Package\larastan\tests/../extension.neon"  "E:\Code\Package\larastan\tests\Features\Methods\Builder.php" --error-format=json

This is highly abnormal in my eyes.
See #682!

I tried pull the PR 682, and still not solves my issue.

Could you run it actually?
If not what to modify in it?

Could you actually run the dumped value thus command?
If not what to modify in it?

Using Latest PR from #682
I got this value from sprint f
"C:\laragon\bin\php\php-7.4.5\php.exe" E:^\Code^\Package^\larastan/vendor/bin/phpstan analyse --no-progress --level=max --error-format=json --configuration="E:\Code\Package\larastan/extension.neon" "E:\Code\Package\larastan\tests\Features\Methods\Builder.php"

Result after I run above code

Then I modify it to be like this
"C:\laragon\bin\php\php-7.4.5\php.exe" "E:\Code\Package\larastan/vendor/bin/phpstan" analyse --no-progress --level=max --error-format=json --configuration="E:\Code\Package\larastan/extension.neon" "E:\Code\Package\larastan\tests\Features\Methods\Builder.php"

and try run it and got this

I saw this issue, and try follow remove the php command as said they said here. Then I got the output like this

@szepeviktor I update execLarastan function to be like this
public function execLarastan(string $filename)
    {
        $command = escapeshellcmd(dirname(__DIR__).'/vendor/bin/phpstan');

        exec(
            '"E:\Code\Package\larastan/vendor/bin/phpstan" analyse --no-progress --level=max --error-format=json --configuration="E:\Code\Package\larastan/extension.neon" "E:\Code\Package\larastan\tests\Features\Methods\Builder.php"',
            $jsonResult
        );

        return json_decode($jsonResult[0], true);
    }

Then I run PHPUnit, only got 7 failures. Before this 47 failures.

Thank you for your digging!
BTW Do you know how to detect MINGW64? Maybe by PHP_OS and PHP_OS_FAMILY ?

🤔 https://github.com/laravel/framework/blob/8.x/src/Illuminate/Support/helpers.php#L361

This rabbit hole is very deep https://www.php.net/manual/en/function.escapeshellarg.php#123718
You should not get funky stuff like E:^\Code^\Package^\larastan/vendor/bin/phpstan on MINGW64.
Surprisingly this works in cmd.exe: C:^/Windows/explorer.exe :)

This rabbit hole is very deep https://www.php.net/manual/en/function.escapeshellarg.php#123718
You should not get funky stuff like E:^\Code^\Package^\larastan/vendor/bin/phpstan on MINGW64.
Surprisingly this works in cmd.exe: C:^\Windows/explorer.exe :)

Yup can confirm that C:^\Windows/explorer.exe work in cmd.exe. So I update execLarastan method like below. Then try run it in cmd.exe
public function execLarastan(string $filename)
    {
        $command = escapeshellcmd(dirname(__DIR__).'/vendor/bin/phpstan');

        exec(
            'E:^\Code^\Package^\larastan/vendor/bin/phpstan analyse --no-progress --level=max --error-format=json --configuration="E:\Code\Package\larastan/extension.neon" "E:\Code\Package\larastan\tests\Features\Methods\Builder.php"',
            $jsonResult
        );

        return json_decode($jsonResult[0], true);
    }

Then I got same 7 failures as before. I still need to remove "C:\laragon\bin\php\php-7.4.5\php.exe" at front of the command though.
Without PHP at front

With PHP at front

@szepeviktor  is it possible that my PHP environment problem? maybe need someone to test on their windows OS whethere they have same issue like me or not.

From where do you have PHP MINGW64?

I uses MINGW64 because I set Git Bash as default terminal in my vscode. I did not compile PHP by myself, I just download it and put it inside Laragon.

PHP 7.4.11 (cli) (built: Sep 29 2020 13:17:42) ( NTS Visual C++ 2017 x64 ) from windows.php.net says:
C:\usr\php>php -r "echo PHP_OS;"
WINNT
C:\usr\php>php -r "echo PHP_OS_FAMILY;"
Windows

@xitox97 Please run php path\to\composer run-script test:unit with this branch.
...not really Windows junctions: Composer substitutes vendor/bin/* symlinks on Windows with POSIX shell scripts.
Originally posted by @szepeviktor in https://github.com/nunomaduro/larastan/pull/682#issuecomment-706689568

If I run with PHP infront

If without PHP, I got the 7 failures. I think there is improvements than before where I run got 47 failures.

Edit: I tested both in cmd.exe and MINGW64

Thank you!
Have you pulled the recent changed from my branch?

Got it!
Composer uses symlinks on POSIX-compat os-es and POSIX shell scripts on Windows :(

Your path to the Composer tool seems to be a such a POSIX shell script.
Please run php path\to\REAL\PHAR-FILE\composer run-script test:unit

Edit: I tested both in cmd.exe and MINGW64

Thank you!
Have you pulled the recent changed from my branch?

Yup I already pull your latest changes.
@szepeviktor so I run using this command php C:\ProgramData\ComposerSetup\bin\composer.phar run-script test:unit and it does show stop at php "${dir}/composer.phar" "$@" anymore.
However, I still got 7 failures.

All right!
We have a solution.
Please open a separate issue if you are curious about those model property tests. I am!

@szepeviktor Wow. You are legend! :heart_eyes: TQVM. I will open seperate issue for the model property tests. Should I wait for the PR merged first?

Should I wait for the PR merged first?

No, just open that issue.
Please try to fix the failing tests before that!


bpf: use double word for v6 addr copy and comparison

Signed-off-by: Daniel Borkmann<EMAIL_ADDRESS>

This change is

test-me-please

Looks good to me its going to conflict with my encryption rolling key fix PR but lets see which one lands first.

Lets land your PR first, of course.

Coverage increased (+0.02%) to 42.099% when pulling 30fb8869eabf005e9bdb9dd7026c14b2a635c594 on pr/v6-double-word into 1a370790e4f9341e4fafde5140d712b1b5d90149 on master.

test-me-please

provision failed, retesting

test-me-please

test-me-please

Provision failure:
==> k8s2-1.14: Matching MAC address for NAT networking...
10:39:38  ==> k8s2-1.14: Checking if box 'cilium/ubuntu' version '150' is up to date...
10:39:39  ==> k8s2-1.14: Setting the name of the VM: test_k8s2-114_1557398378845_51439
10:39:39  ==> k8s2-1.14: Fixed port collision for 22 => 2222. Now on port 2202.
10:39:40  ==> k8s2-1.14: Clearing any previously set network interfaces...
10:39:40  ==> k8s2-1.14: Preparing network interfaces based on configuration...
10:39:40      k8s2-1.14: Adapter 1: nat
10:39:40      k8s2-1.14: Adapter 2: intnet
10:39:40      k8s2-1.14: Adapter 3: hostonly
10:39:40  ==> k8s2-1.14: Forwarding ports...
10:39:40      k8s2-1.14: 22 (guest) => 2202 (host) (adapter 1)
10:39:40  ==> k8s2-1.14: Running 'pre-boot' VM customizations...
10:39:40  ==> k8s2-1.14: Booting VM...
10:39:41  ==> k8s2-1.14: Waiting for machine to boot. This may take a few minutes...
10:39:41      k8s2-1.14: SSH address: <IP_ADDRESS>:2202
10:39:41      k8s2-1.14: SSH username: vagrant
10:39:41      k8s2-1.14: SSH auth method: private key
10:39:54  The guest machine entered an invalid state while waiting for it
10:39:54  to boot. Valid states are 'starting, running'. The machine is in the
10:47:27  'paused' state. Please verify everythingwrapper script does not seem to be touching the log file in /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated@tmp/durable-adf493a6
10:47:27  (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
10:47:27  Cannot contact jenkins-fixed-new-1: java.io.IOException: No space left on device
10:52:32  wrapper script does not seem to be touching the log file in /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated@tmp/durable-adf493a6
10:52:32  (JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
10:57:38  wrapper script does not seem to be touching the log file in /home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated@tmp/durable-adf493a6

test-me-please

test-me-please


Purchase contract module appears after contract purchase has been completed

Jira ticket created

This UI bug was related to a rendering issue. The problem code has been refactored and is no longer an issue.


Access Handlebars.Visitor in browser

In node land I can get to require('handlebars').Visitor because this is explicitly exposed in lib/index.js. However in browser land (loading dist/handlebars.js) it seems that the Visitor object is closured out of reach. Is there any way to access it without using Browserify or AMD? If not, is there a reason for it being hidden?

Released in 3.0.2

Awesome. Thanks!


Many tests broken on Windows

Summary:
I was finally getting around to making Jenkins run the CmdStan tests on Windows as well (on @sakrejda's suggestion) and found that actually CmdStan tests are mostly broken on windows:
[----------] Global test environment tear-down
[==========] 16 tests from 1 test case ran. (508 ms total)
[  PASSED  ] 1 test.
[  FAILED  ] 15 tests, listed below:
[  FAILED  ] StanUiCommand.printReallyPrints
[  FAILED  ] StanUiCommand.refresh_zero_ok
[  FAILED  ] StanUiCommand.refresh_nonzero_ok
[  FAILED  ] StanUiCommand.zero_init_value_fail
[  FAILED  ] StanUiCommand.zero_init_domain_fail
[  FAILED  ] StanUiCommand.user_init_value_fail
[  FAILED  ] StanUiCommand.user_init_domain_fail
[  FAILED  ] StanUiCommand.CheckCommand_default
[  FAILED  ] StanUiCommand.CheckCommand_help
[  FAILED  ] StanUiCommand.CheckCommand_unrecognized_argument
[  FAILED  ] StanUiCommand.timing_info
[  FAILED  ] StanUiCommand.run_info
[  FAILED  ] StanUiCommand.random_seed_default
[  FAILED  ] StanUiCommand.random_seed_specified_same
[  FAILED  ] StanUiCommand.random_seed_specified_different
You can see more info in a log here: http://d1m1s1b1.stat.columbia.edu:8080/job/CmdStan/job/PR-591/17/execution/node/57/log/ but I also verified on the Windows machine manually.
Current Version:
v2.17.0

Thanks, Sean. I'll try to dig over this week.
On Tue, Dec 12, 2017 at 2:25 PM, seantalts<EMAIL_ADDRESS>wrote:

Summary:
I was finally getting around to making Jenkins run the CmdStan tests on
Windows as well (on @sakrejda https://github.com/sakrejda's suggestion)
and found that actually CmdStan tests are mostly broken on windows:
[----------] Global test environment tear-down
[==========] 16 tests from 1 test case ran. (508 ms total)
[ PASSED ] 1 test.
[ FAILED ] 15 tests, listed below:
[ FAILED ] StanUiCommand.printReallyPrints
[ FAILED ] StanUiCommand.refresh_zero_ok
[ FAILED ] StanUiCommand.refresh_nonzero_ok
[ FAILED ] StanUiCommand.zero_init_value_fail
[ FAILED ] StanUiCommand.zero_init_domain_fail
[ FAILED ] StanUiCommand.user_init_value_fail
[ FAILED ] StanUiCommand.user_init_domain_fail
[ FAILED ] StanUiCommand.CheckCommand_default
[ FAILED ] StanUiCommand.CheckCommand_help
[ FAILED ] StanUiCommand.CheckCommand_unrecognized_argument
[ FAILED ] StanUiCommand.timing_info
[ FAILED ] StanUiCommand.run_info
[ FAILED ] StanUiCommand.random_seed_default
[ FAILED ] StanUiCommand.random_seed_specified_same
[ FAILED ] StanUiCommand.random_seed_specified_different
You can see more info in a log here: http://d1m1s1b1.stat.columbia.
edu:8080/job/CmdStan/job/PR-591/17/execution/node/57/log/ but I also
verified on the Windows machine manually.
Current Version:
v2.17.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/cmdstan/issues/592, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZ_F1b_2BiQKqyyb9rJviNQsh874O9hks5s_tNEgaJpZM4Q_gTX
.

Woops, I think it was on your suggestion that I did the above, my bad. Gmail tends to get the authors wrong in the emails from git and it slipped by me.

No worries... credit doesn't really matter for suggesting things. Doing them matters.
(I didn't really want to suggest it -- I don't like making work for other people.)

✋ thanks again! happy this is all working now.


No documentation on how to troubleshoot non-compliancy with status 'ResourceNotFound'

I have a Policy Initiative assigned at MG scope which contains a deployIfNotExist policy to configure NSG Flow logs. Out of 19 NSG's, 9 are reported non-compliant with status 'ResourceNotFound', while the NSG's are definitely there. The policy appears to be valid, as 10 NSGs are compliant.
Looking for information how to troubleshoot this, I find there's very little documentation on this topic. So hereby, a request to address this topic in either this article, or this one.

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

ID: 7f27a5e9-2bf3-ebbe-7586-affaf9d27635
Version Independent ID: fc9217a0-9a24-1d36-4f68-e5f1029d5b2d
Content: Troubleshoot common errors - Azure Policy
Content Source: articles/governance/policy/troubleshoot/general.md
Service: azure-policy
GitHub Login: @georgewallace
Microsoft Alias: gwallace

thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

#reassign:davidsmatlak

Unfortunately your issue wasn't reviewed in a timely manner. I'm closing this issue, but if you feel that it's still a concern, please post a comment or submit a new issue.
#please-close


Ant Forgery error on first AppHost run after upgrading to 9.0

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
On the first run of an App Host after upgrading from 8.2 to 9.0.0-preview.4.24477.2 the error logs immediately spewed an error about a invalid Anti Forgery token.  This error goes away on subsequent runs, but it's a bit unnerving to get the error.
For what it's worth, a similar antiforgery error can also be reproduced if you downgrade from from 9.0 to 8.2 on the first run after the downgrade and doesn't appear on subsequent runs.
Expected Behavior
No error to be reported.
Steps To Reproduce

Have an AppHost using Aspire 8.2
Run the AppHost
Upgrade to Aspire 9.0.0-preview.4.24477.2
Run the Upgraded AppHost

(Can also be
Exceptions (if any)
info: Aspire.Hosting.DistributedApplication[0]
      Login to the dashboard at https://localhost:17148/login?t=REDACTED
fail: Aspire.Hosting.Dashboard.Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery[7]
      An exception was thrown while deserializing the token.
      Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.
       ---> System.Security.Cryptography.CryptographicException: The payload was invalid. For more information go to https://aka.ms/aspnet/dataprotectionwarning
         at Microsoft.AspNetCore.DataProtection.Cng.CbcAuthenticatedEncryptor.DecryptImpl(Byte* pbCiphertext, UInt32 cbCiphertext, Byte* pbAdditionalAuthenticatedData, UInt32 cbAdditionalAuthenticatedData)
         at Microsoft.AspNetCore.DataProtection.Cng.Internal.CngAuthenticatedEncryptorBase.Decrypt(ArraySegment`1 ciphertext, ArraySegment`1 additionalAuthenticatedData)
         at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
         at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
         at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
         --- End of inner exception stack trace ---
         at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)
         at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.GetCookieTokenDoesNotThrow(HttpContext httpContext)

.NET Version info
<Sdk Name="Aspire.AppHost.Sdk" Version="9.0.0-preview.4.24477.2" />

    <PackageVersion Include="Aspire.Hosting" Version="9.0.0-preview.4.24477.2" />
    <PackageVersion Include="Aspire.Hosting.AppHost" Version="9.0.0-preview.4.24477.2" />
    <PackageVersion Include="Aspire.Hosting.RabbitMQ" Version="9.0.0-preview.4.24477.2" />
    <PackageVersion Include="Aspire.Hosting.Redis" Version="9.0.0-preview.4.24477.2" />
    <PackageVersion Include="Aspire.Hosting.SqlServer" Version="9.0.0-preview.4.24477.2" />
    <PackageVersion Include="Aspire.Hosting.Testing" Version="9.0.0-preview.4.24477.2" />
    <PackageVersion Include="Aspire.Microsoft.Data.SqlClient" Version="9.0.0-preview.4.24477.2" />
    <PackageVersion Include="Aspire.RabbitMQ.Client" Version="9.0.0-preview.4.24477.2" />

Anything else?
No response

cc @JamesNK @adamint

I believe this is caused by different data protection keys being used when the file name or location on disk changes between versions.
@amcasey Is there a way to store the data protection key on disk more constant between versions?

@JamesNK @amcasey Out of curiosity, what was the conclusion of your offline discussion?

None yet. It's ongoing.

I've also started seeing this on 8.x when using with multiple aspire projects - If I swap from one AppHost to a different AppHost, the first time I run the new app host throws the anti forgery error and then everythgn is fine until I swap back to the first app host - on it's first run it throws the error and then is fine until I swap back.

Is the version of Aspire dashboard changing between app hosts? The only scenario we know of that causes this error is moving from one version to another.

This started happen in one of my projects this weekend after upgrading to 8.2.1


Dependent libraries in libmcscf

Fix issue #1175 and #1118

Can confirm that this fixes it.

Thanks!
Are you planning on creating a release with that soon or should I just continue patching this on my side for now?


Source of Truth configurations for Issuer Controller

HI, With the user's ability to direct where to source vaccinations from - by way of passing the fully qualified URLs to the issuer controller we should be clear to design that the issuer controller will have a set of 'trusted' data sources by URL host base. This removes all possibility of the user from directing the controller to issue any random made up data set.   The issuer controller could serve VCs from myriad data sources provided the configurations of those are set. This way, for example, the front end for the user may aggregate records from many sources and would direct those by FQ URL to the controller.

Hey @bradhead, I set up the issuer controller to get the immunization data just using the guid temporarily for the demo, as the URL that is being sent ex: http://localhost:5001/api/immunization/{guid} , has localhost and I need it to be in this format http://immunization-api-dev:5000/api/


New Rule: Spam Campaign with excessive display text

think it'd be worth adding FTS to be safe?

yeah we for sure can, the senders seem to rotate pretty rapidly!


Not working on Termux

Describe the bug
First use and shows error in Termux
Expected behavior
Play movie
Error

Desktop:

OS: Linux (Termux)
Version: 0.5.3

Alredy mentioned here
https://github.com/mov-cli/mov-cli/issues/199


Introduce AdminShop and PlayerShop into the new update.

This is no suggestion or in any way a compelling one. This is just a simple sentence asking if you were supposed to introduce AdminShop and PlayerShop into this new and upcomming release for API 7.0.0. I thought it might be a bit fun to include it in API 7.0.0, since these new features may be useful to the new API. : D
Kind Regards,
Daniel (COLDYY1)

I don't really get why the first official API 7 release would have any special reason to be the Shop release aside from the shops being finished anyways.
As far as I know there shouldn't be significant differences between API 5, 6 and 7 regarding shops as the biggest change in 7 is the cause tracking system.
Anyways, you can expect shops to be released as soon as @Erigitic feels like they're stable enough for a release. (There may be a pre-release though)
Being interested too: @Erigitic how is shop development going? I've haven't had the time to check how the code progressed so far.

Development is going great on shops. Nearing completion, and there will be a pre release when they are at a stable enough point. Depending on how long API 7 stays experimental, it'll most likely be released using API 6 first.

Are you aiming on a sign-based server shop system ? ...
Kind Regards,
Daniel (COLDYY1)

At the moment, it's only going to be chest shops. Sign shops will probably be added some day though.

Closing this issue in favor of https://github.com/Erigitic/TotalEconomy/issues/50.


[BUG]: Wrong links for new deployment.

Link to faulty endpoint
https://github.com/helldivers-2/api
The name of your client/application
Mozilla FF
Request information
Just loading github.com/helldivers-2/api
Steps to reproduce
Clicking on service link or the readme.md's links,

What is expected?
Link to take me to the current function api at -dotnet
What is actually happening?
getting links to the old api

System Info
Windows 10
Firefox FF

Any additional comments?
No response

Seeming as we are sunsetting the Elixir application we should update this. Can we get your confirmation @dealloc?

it's been updated


Ts base

Outdated
Going to follow aproach from :
https://github.com/firebase/firebase-js-sdk
Commits
This is example for TypeScript base.
d3aab6d - contains all required files (not important)
c2dc047 - js core implementation
42e3143 - same implementation in typescript

@wtrocki thanks, i think this branch can be used as the TS example for the discussion around JS vs. TS

@pb82 @david-martin Ready for the final review. Things are now typescripty and everything should be clean.
I have more code/examples to be added as separate PR. We just need base on master to unblock react native.

The addition of all the tooling scripts is very important but I think the example for Config.ts + tests isn't already enough to shed much light into the mail thread discussion around the language for this SDK.
Follow up PRs should be even more interesting :+1:

@paolobueno Going to create follow up PR together with web story (webpack)


allow SafeDictionary<T, number>

SafeDictionary is a really great recent addition, but I found out that omitting the K param is actually insufficient -- I'm using Dictionary<T, number> in multiple places, and I'd like to switch them too to the safe variant.
CC @sz-piotr since you've introduced this.

Released as<EMAIL_ADDRESS>


How to create MutableMultiArray with custom data type?

I am trying to create a matrix of Apcomplex (wrapper class around BigDecimal). When I call mk.empty<Apcomplex, D2> I get java.lang.IllegalStateException: One of the primitive types was expected, got org.apfloat.Apcomplex.

Only primitive types are supported: Byte, Short, Int, Long, Float, Double. Since the implementation is based on primitive arrays.
BigDecimal support is planned.


"No results found"

Any query, and even going to the homepage itself, returns a "no results found" error. Happens in Pale Moon 29.1.0 and Firefox 84.0.2 on Linux Mint 20.

Seeing the same issue on Chrome Version 90.0.4430.212 (Official Build) (64-bit) on Windows 10


Make coincident edges curved

It seems to be very rare, but sometimes the same two nodes can have more than one edge connecting them. In this case, we might consider making the lines curvy to avoid them overlapping.
I consider this to be a somewhat low priority issue, just because there is a much more common and problematic issue of edges overlapping when there are many nodes in the graph, which is a problem that is very difficult or unsolvable.
@dhimmel if you know of any node pairs that have a lot of coincident edges, that'd be helpful for testing.

There are three possible relationship types between Compounds and Genes as well as Diseases to Genes. Genes to Genes also have multiple relationship types.
Try this cypher query to find Compound-Gene pairs with multiple relationships:
MATCH p=(source:Compound)-[rel]->(target:Gene)
RETURN
  source.name,
  target.name,
  count(rel) AS n_edges
ORDER BY n_edges DESC
LIMIT 100

Those nodes could be good testing candidates.

Here is a demo:
https://jsfiddle.net/1braL9ug/

Nice! The behavior looks good and versatile!

closed by #50


Add owner permissions on current subscription

This pull request addresses issue #2 by adding the current subscription to the list of subscriptions where the Launchpad module will receive Owner permissions. This change ensures that the Launchpad has the necessary permissions to manage resources within its own subscription, aligning functionality with the previous plain Terraform Resource Launchpad deployment.
Moreover, this pull request changes two settings: overprovision = false on azurerm_linux_virtual_machine_scale_set and allow_nested_items_to_be_public = false on azurerm_storage_account, following the latest IaC Launchpad configuration.

Using the module from this branch, result in the expected result, when doing moved block correlty:

Plan: 1 to add, 0 to change, 0 to destroy.

The resource which will be added is the Azure Management Lock on the Storage Account:
   # module.launchpad.azurerm_management_lock.storage_account_lock[0] will be created
  + resource "azurerm_management_lock" "storage_account_lock" {
      + id         = (known after apply)
      + lock_level = "CanNotDelete"
      + name       = "storage_account_lock"
      + notes      = "For safety reasons, the Storage Account can not be deleted."
      + scope      = "/subscriptions/4fa1ec77-ea63-45bd-bcd6-ef6f7b1daaf6/resourceGroups/rg-launchpad-prd-gwc/providers/Microsoft.Storage/storageAccounts/stlaunchpadprdgwcb3z"
    }


Update controller_auth_proxy_patch.yaml

Update the reference from gcr.io to registry.k8s.io

kube-rbac-proxy is moving to registry.k8s.io/kubebuilder/kube-rbac-proxy (from gcr.io/kubebuilder/kube-rbac-proxy) because GCR is being sunset. We need to update these references.

Yes, the image is present https://explore.ggcr.dev/?repo=registry.k8s.io%2Fkubebuilder%2Fkube-rbac-proxy


Improve configurator instructions for OpenXR

Overview
This PR updates the instructions for using the Mixed Reality OpenXR plugin to provide a better setup experience.
Changes

Fixes: #10000.

/azp run


Introduce skip parameter

Currently, none of the following components support skipping:

log4j-changelog-maven-plugin
DescriptorGenerator in log4j-docgen
log4j-docgen-maven-plugin

This makes it impossible to skip these executions during build.

Fixed in #121.


Error when finish playing a video on iOS

Hi @manse
I have found an issue on iOS.
When the video ends, it is throwing an error: https://ibb.co/jXFGYT
Do you have any clue on why this would happen?

@manse
I had also face this issue with release 1.1.0

@rafbrightcove @jariwalabhavesh
Thanks for the report.
The issue was fixed in the latest release 1.2.0.


Unify feature probing packages

With this PR we remove the HaveFullLPM() feature probe as it is no longer needed since cilium bumped its minimal supported kernel version to 4.19.
We also migrate any leftover APIs from pkg/probe to pkg/datapath/linux/probes to only have one go pkg for feature probing APIs.
Fixes: #25621

/test

/test

/test

/test-1.16-4.19


Range of time label formats

I'll add it to the documentation in a sec but for now, to quickly generalize to time labels beyond simple years, I'll have the script sort time labels alphabetically.
This give a lot of flexibility with respect to the types of time labels that can be supplied, but it has limitations (e.g., requires Y-M-D format, or does not allow custom orders like Mondays-Tuesdays-Wednesday-Thursday-...).
Let me know if you'd like to implement a different strategy (e.g., allowing users to define custom order, or have a narrower set of acceptable time format with a set implicit order for each, e.g., D-M-Y).

Alphabetical ordering makes total sense to me!

Thanks, will document accordingly.


[MemTracker] make all MemTrackers shared

Ref https://github.com/apache/incubator-doris/issues/3714
We make all MemTrackers shared.
As follows:

all MemTracker raw ptr -> shared_ptr
Use CreateTracker() to create new MemTracker(in order to add itself to its parent)
RowBatch & MemPool still use raw ptrs of MemTracker, it's esay to ensure RowBatch & MemPool dtor exec before MemTracker's dtor. So we don't change these code.
MemTracker can use RumtimeProfile's counter to calc consumption. So RuntimeProfile's counter need to be shared too. We add a shared counter pool to store the shared counter, don't change other counters of RuntimeProfile.

Hello, I have two questions to ask。

shared ptr use for avoid memory leaks. but at the same time, it brings about several problems：
(1）There are additional costs of ref count of ptr
(2)  The interface becomes infectious
So Is it good enough to do this replacement of shared_ptr ? what benefit us?

unique_ptr runtime expenses is close to the raw pointer and it's simple enough to use。
In most cases, should we replacing it with shared_prt.

Hello, I have two questions to ask。

shared ptr use for avoid memory leaks. but at the same time, it brings about several problems：
(1）There are additional costs of ref count of ptr
(2)  The interface becomes infectious
So Is it good enough to do this replacement of shared_ptr ? what benefit us?
unique_ptr runtime expenses is close to the raw pointer and it's simple enough to use。
In most cases, should we replacing it with shared_prt.

As metioned in the first comment, this pr is for showing all MemTracker on BE's website, like kudu. So we need to make all  MemTrackers not owned by anyone. If we get it on web, it shouldn't be destoryed with the obj which created it.

Hello, I have two questions to ask。

shared ptr use for avoid memory leaks. but at the same time, it brings about several problems：
(1）There are additional costs of ref count of ptr
(2)  The interface becomes infectious
So Is it good enough to do this replacement of shared_ptr ? what benefit us?
unique_ptr runtime expenses is close to the raw pointer and it's simple enough to use。
In most cases, should we replacing it with shared_prt.

As metioned in the first comment, this pr is for showing all MemTracker on BE's website #3714 , like kudu. So we need to make all MemTrackers not owned by anyone. If we get it on web, it shouldn't be destoryed with the obj which created it.

So the mainly reason use shared_prt  is only to show MemTracker on website?

So the mainly reason use shared_prt  is only to show MemTracker on website?
Yes. We had met a lot of problems of memory, they usually are accompanied with large MemPool consumption. But we can't figure out, MemPool consumption is the total metric. I think showing MemTracker is valuable.

Hello, I have two questions to ask。

shared ptr use for avoid memory leaks. but at the same time, it brings about several problems：
(1）There are additional costs of ref count of ptr
(2)  The interface becomes infectious
So Is it good enough to do this replacement of shared_ptr ? what benefit us?
unique_ptr runtime expenses is close to the raw pointer and it's simple enough to use。
In most cases, should we replacing it with shared_prt.

As metioned in the first comment, this pr is for showing all MemTracker on BE's website #3714 , like kudu. So we need to make all MemTrackers not owned by anyone. If we get it on web, it shouldn't be destoryed with the obj which created it.

The lifecycle of MemTracker for a query is clear。Now RunningProfile don't use shared ptr, also can show running statistics of query. So it 's really necessary to shared_ptr to manage  lifecycles？Can it be a tree structure like the runningprofile？

The lifecycle of MemTracker for a query is clear。Now RunningProfile don't use shared ptr, also can show running statistics of query. So it 's really necessary to shared_ptr to manage lifecycles？Can it be a tree structure like the runningprofile？

It's not for the lifecycle of MemTracker. How do you know the exact mem consumption of one query? What if the MemTracker node destoryed, when we are traversing the tree?