How to disable past time and meridians too

You cannot disable the past time. Because the user may wants to select tomorrow's time, but for today it can be past time. This is possible in date picker but not with time picker.


beg for the code of training part

Hello, I'm not sure if it's possible to provide a code sample for the training part. I would like to see the effect on our own dataset. Thank you very much.

The same request.😀


const variables declared not in global scope don't seem to be respecting the const keyword

The following compiles but X is not actually constant evaluated. If we move the definition of X to the global scope, then we get an error saying Could not evaluate initializer to a const declaration. as expected.
script;

fn bla(x: u64) -> u64 {
    x + 1
}

fn main() -> u64 {
    const X = bla(0);
    X
}

It is possible that this behavior is desirable. If so, we should properly document it. If not, then this is a bug.

I don't think we want this -- just use a let if you need a local non-const var.  This might be related to the way we use TypedVariableDeclaration instead of TypedConstDeclaration ala #1957.


Clean up legacy code using the old message type. (Not QueueMessage)

User Story
As a report stream developer, I would like to remove deprecated legacy code
Description/Use Case
As a part of putting a message on the queue in the JSON format, we had to leave in the old code so that anything still in the queue upon deployment could still be sent.
Risks/Impacts/Considerations
Dev Notes
The spots that need to be clean are marked with the ticket
Acceptance Criteria

[ ] Old code paths and related tests are removed

Hey team! Please add your planning poker estimate with Zenhub @arnejduranovic @jack-h-wang @jalbinson @JessicaWNava @JFU-NAVA-PBC @jimmyfagan @mkalish @thetaurean

JSON serialization didn't make the build today and we won't be releasing next week, so this will need to wait until after the 1/2/24 build to be merged.


[controller] Enable flow cluster in controller apps

Problem
The Flow Measurement cluster attributes cant be read from the Matter controllers.
Change overview

Added the FLOW_MEASUREMENT_CLUSTER (client) to endpoint 1 of the src/controller/data_model/controller-clusters.zap file
Added the FLOW_MEASUREMENT_CLUSTER to the server and client cluster lists in src/app/zap_cluster_list.py to make  it known to the data model.
Re-generated the code.

Testing
Rebuild the pump-app (example), chip-tool (CLI) and chip-device-ctrl (Python) and verified it could build and run.

Looks like a real failure:
Failing tests:
40851
	CHIPTests:
40852
		-[CHIPClustersTests testSendClusterFlowMeasurementReadAttributeClusterRevisionWithResponseHandler]
40853
		-[CHIPClustersTests testSendClusterFlowMeasurementReadAttributeMaxMeasuredValueWithResponseHandler]
40854
		-[CHIPClustersTests testSendClusterFlowMeasurementReadAttributeMeasuredValueWithResponseHandler]
40855
		-[CHIPClustersTests testSendClusterFlowMeasurementReadAttributeMinMeasuredValueWithResponseHandler]
40856

@tlykkeberg-grundfos It looks like this should be added to all-clusters-app endpoint 1 (as a server) because we have tests that try to do all attribute reads/writes that a controller supports against that app.

@saurabhst @msandstedt @Damian-Nordic ?


Old -> new setting

Hey,
please provide some php or js function or convert table which will help to convert old setting of slider into new settings.
I have array with all possible settings like this:
$sliderAnimationsList:
'Shift LR'=>'{$Duration:1200,x:1,$Easing:{$Left:$Jease$.$EaseInOutQuart,$Opacity:$Jease$.$EaseLinear},$Opacity:2,$Brother:{$Duration:1200,x:-1,$Easing:{$Left:$Jease$.$EaseInOutQuart,$Opacity:$Jease$.$EaseLinear},$Opacity:2}}',
$captionAnimationsList:
'L|IB'=>'{$Duration:1200,x:0.6,$Easing:{$Left:$Jease$.$EaseInOutBack},$Opacity:2}',
And I need change it into new settings.
Thank you very much.

$Jease$.$EaseLinear => $Jease$.$Linear
Shift LR
{$Duration:800,x:1,$Easing:{$Left:$Jease$.$InOutQuart,$Opacity:$Jease$.$Linear},$Opacity:2,$Brother:{$Duration:800,x:-1,$Easing:{$Left:$Jease$.$InOutQuart,$Opacity:$Jease$.$Linear},$Opacity:2}}
The caption transition of old style will not work anymore. Please use slider maker to add layer with animation.

And what is for slideshow-transition-builder-controller.min.js?
How to use it, I can not find any documentation.

I need some default caption transitions. Is any way how to do it please? Otherwise slider maker is not user friendly solutions for end users. End users need predefined transitions.

I know some settings like these:
$Duration:1200 -> d:1200
$Easing:$JssorEasing$.$EaseInCubic -> e:{x:5}

I still need this list of changes.


Transaction failed message when Adding Collateral for My Nami Wallet

I have been trying to add collateral for my nami wallet for the first time but every time i try it says "Transaction Failed"
Note that I have not added any collateral before. This is my first time adding collateral. Kindly help. Thanks

@B3ast86 Talk to Cardano Support on the Live support page so that your issue can be looked into.


OS clipboard func return null/no result in android os

Please, provide more information, like android version, godot version, etc.

Ops sorry :)

Godot 2.0 stable
Android 4.4.2
Device LG-D325

set/get clipboard seems no response/nothing

this is unimplemented on android, if anyone wants to do it feel free to do it

I tried to implement this a few months ago but stopped halfway through as it was a lot more work than I initially expected :p
I can try to dig out that code for anyone interested in implementing this.

@akien-mga , @xsellier: What is the status of this?

@reduz it has been fixed by the merge request.

It's not fixed in the master branch.

If someone wants to copy this code from the 2.1 branch to 3.1, help would be appreciated!

Fixed by #21783.


fix(docs): fix broken link

What ❔
Unable to open link
Why ❔

Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.
[ ] Spellcheck has been run via cargo spellcheck --cfg=./spellcheck/era.cfg --code 1.

@web3jacker Thanks for the contribution but that has been resolved in #869


build driver-os-monitor (0.5.2-dev) fails with seg fault

When I try to build driver-os-monitor, branch 0.5.2-dev, npm/node exit with segmentation fault (e.g. at npm install step):
$ docker build -t databoxsystems/driver-os-monitor-amd64:0.5.2  .
Sending build context to Docker daemon  262.1kB
Step 1/10 : FROM amd64/alpine:3.8
 ---> 491e0ff7a8d5
Step 2/10 : WORKDIR /app
 ---> Using cache
 ---> 4d2f5e899dae
Step 3/10 : RUN addgroup -S databox && adduser -S -g databox databox && apk --no-cache add build-base pkgconfig nodejs npm libzmq zeromq-dev libsodium-dev python  && npm install<EMAIL_ADDRESS>--zmq-external --verbose && apk del build-base pkgconfig libsodium-dev python zeromq-dev
 ---> Using cache
 ---> 97161b42183f
Step 4/10 : ADD ./package.json package.json
 ---> Using cache
 ---> 28b0e780cad0
Step 5/10 : RUN npm install --production && npm run clean
 ---> Running in f363a5802d4f
Segmentation fault
The command '/bin/sh -c npm install --production && npm run clean' returned a non-zero code: 139

strangely, if i edit the Dockerfile to end at that point and run it then node / npm segfault, but if I apk del then re-add npm it seems to work again. So the seg fault only appears when npm has been installed at an earlier step in the docker build (i.e. in a previous build container).
This is on an alpine VM running Docker version 18.09.1-ce.

Hi Chris,
I've just run docker build -t databoxsystems/driver-os-monitor-amd64:test  . --no-cache on my build machine and can't replicate the issue. Can you rerun with --no-cache and see if it builds?

I have replicated this issue but only on an Alpine VM (e.g. it doesn't occur in Docker for Mac or in a Debian Stretch VM). It is repeatable with --no-cache.
The Alpine VM Is based on Vagrant's "alpine/alpine64" base image, plus
sudo apk update
sudo apk upgrade

and docker installed as per alpine docs
I've confirmed that alpine (which didn't work) and debian (which did) both report docker is using the overlay2 storage engine.
So my best guess is that there is something different about the overlayFS support in the alpine kernel vs debian, or something like that :-/
So I'm using debian for now in Intel.

would that be Alpine 3.9 or 3.8?

/etc/alpine-release says 3.9.0.
/etc/apk/repositories are
http://nl.alpinelinux.org/alpine/v3.7/community
http://nl.alpinelinux.org/alpine/edge/main
http://nl.alpinelinux.org/alpine/edge/community


Fix CC incompatibility in Kotlin model building

by avoiding capturing of the project reference in an onConfigure action

@bot-gradle test without pts

I've triggered the following builds with parameters: -DenablePredictiveTestSelection=false for you. Click here to see all build failures.

PullRequestFeedback build

I've triggered a build for you. Click here to see all failures if there's any.


Metadata API request failed: UNKNOWN_EXCEPTION

Summary
Hello!
During ours validation flow, we encounter this strange error:
Error (20): Metadata API request failed: UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 193357600-12117

This is the log how catch the problem:
>> Show operation status for job '0AfMA0000042Lao0AE'
└─▶ $ sf project deploy report --target-org 'TSTAMSAUTO_RMX' --job-id 0AfMA0000042Lao0AE --wait 12000
Status: {status} | 0/0 Components{errorInfo}{testInfo}{trackingInfo}
Status: In Progress | 1/231 Components
Status: In Progress | 5/231 Components
Status: In Progress | 7/231 Components
Status: In Progress | 219/231 Components
Status: In Progress | 230/231 Components
Status: In Progress | 231/231 Components
Status: In Progress | 231/231 Components | 0/100 Tests
Status: In Progress | 231/231 Components | 1/100 Tests
Status: In Progress | 231/231 Components | 2/100 Tests
Status: In Progress | 231/231 Components | 3/100 Tests
Status: In Progress | 231/231 Components | 5/100 Tests
Status: In Progress | 231/231 Components | 6/100 Tests
Status: In Progress | 231/231 Components | 7/100 Tests
Status: In Progress | 231/231 Components | 8/100 Tests
Status: In Progress | 231/231 Components | 9/100 Tests
Status: In Progress | 231/231 Components | 10/100 Tests
Status: In Progress | 231/231 Components | 11/100 Tests
Status: In Progress | 231/231 Components | 13/100 Tests
Status: In Progress | 231/231 Components | 15/100 Tests
Status: In Progress | 231/231 Components | 17/100 Tests
Status: In Progress | 231/231 Components | 18/100 Tests
Status: In Progress | 231/231 Components | 20/100 Tests
Status: In Progress | 231/231 Components | 21/100 Tests
Status: In Progress | 231/231 Components | 23/100 Tests
Status: In Progress | 231/231 Components | 24/100 Tests
Status: In Progress | 231/231 Components | 25/100 Tests
Status: In Progress | 231/231 Components | 26/100 Tests
Status: In Progress | 231/231 Components | 27/100 Tests
Status: In Progress | 231/231 Components | 28/100 Tests
Status: In Progress | 231/231 Components | 29/100 Tests
Status: In Progress | 231/231 Components | 30/100 Tests
Status: In Progress | 231/231 Components | 31/100 Tests
Status: In Progress | 231/231 Components | 32/100 Tests
Status: In Progress | 231/231 Components | 33/100 Tests
Status: In Progress | 231/231 Components | 34/100 Tests
Status: In Progress | 231/231 Components | 35/100 Tests
Status: In Progress | 231/231 Components | 36/100 Tests
Status: In Progress | 231/231 Components | 37/100 Tests
Status: In Progress | 231/231 Components | 38/100 Tests

Error (20): Metadata API request failed: UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 193357600-121176 (-102518988)

But in the org, the the run test work well, as you can see from this screenshot:

Steps To Reproduce
Normal flow, but unexpected error
{
  "architecture": "darwin-arm64",
  "cliVersion"<EMAIL_ADDRESS>  "nodeVersion": "node-v20.14.0",
  "osVersion": "Darwin 23.5.0",
  "rootPath": "/Users/ea_enel/.local/share/sf/client/2.46.6-191291b",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.1.2 (core)",
    "@oclif/plugin-commands 4.0.2 (core)",
    "@oclif/plugin-help 6.2.1 (core)",
    "@oclif/plugin-not-found 3.2.3 (core)",
    "@oclif/plugin-plugins 5.2.4 (core)",
    "@oclif/plugin-search 1.1.2 (core)",
    "@oclif/plugin-update 4.3.5 (core)",
    "@oclif/plugin-version 2.2.3 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.5 (core)",
    "@oclif/plugin-which 3.2.2 (core)",
    "@salesforce/cli 2.46.6 (core)",
    "apex 3.1.18 (core)",
    "auth 3.6.21 (core)",
    "data 3.4.6 (core)",
    "deploy-retrieve 3.9.4 (core)",
    "info 3.3.6 (core)",
    "limits 3.3.12 (core)",
    "marketplace 1.2.12 (core)",
    "org 4.2.1 (core)",
    "packaging 2.4.6 (core)",
    "schema 3.3.11 (core)",
    "settings 2.3.1 (core)",
    "sobject 1.4.11 (core)",
    "source 3.4.2 (core)",
    "telemetry 3.4.0 (core)",
    "templates 56.2.11 (core)",
    "trust 3.7.5 (core)",
    "user 3.5.13 (core)",
    "sfdx-plugin-source-read 1.2.0 (user) published 245 days ago (Tue Oct 24 2023)"
  ]
}

@Alfystar - unfortunately, this is not something the CLI can fix.  Whenever you see an error that looks like that (193357600-12117) it's when the server has a problem and the CLI (by design) doesn't continue.  That command requests the deployment status until the timeout is reached and in one of the status requests the metadata API returned an unexpected error so the CLI command exited.  The deploy most likely continued and when you checked the status in the org UI it was successful.
If you want to know what happened during deploy status polling you can open a support case and they can provide a more specific answer.  If this is happening regularly I would definitely do that.

Okay, I understand
For now, it's the first time, but if it happens again, we'll open a ticket
Thank you very much!


python3Packages.cherrypy fails to build on 19.03

Describe the bug
python3Packages.cherrypy fails to build after upgrading to python 3.7.4. Samme issue that was fixed in master already.
To Reproduce
$ nix-shell -p python3Packages.cherrypy
[...]
-------------------------------------------------------------------------------
TOTAL                                             13375   2909    78%

15 files skipped due to complete coverage.
Coverage XML written to file coverage.xml

=========================== short test summary info ============================
XFAIL cherrypy/test/test_logging.py::test_tracebacks
  failing
XPASS cherrypy/test/test_caching.py::CacheTest::test_antistampede #1536
XPASS cherrypy/test/test_conn.py::LimitedRequestQueueTests::test_queue_full #1535
XPASS cherrypy/test/test_static.py::StaticTest::test_file_stream #1475
SKIPPED [1] /build/CherryPy-18.1.0/cherrypy/test/helper.py:330: skipped (not running HTTPS)...
SKIPPED [4] /build/CherryPy-18.1.0/cherrypy/test/test_session.py:412: memcached not available
SKIPPED [1] cherrypy/test/test_static.py:194: Windows only
 1 failed, 277 passed, 6 skipped, 10 deselected, 1 xfailed, 3 xpassed, 654 warnings in 98.43 seconds
builder for '/nix/store/2rl28qx5plfk0gp5dzs4r8qvvb9c52qd-python3.7-CherryPy-18.1.0.drv' failed with exit code 1
error: build of '/nix/store/2rl28qx5plfk0gp5dzs4r8qvvb9c52qd-python3.7-CherryPy-18.1.0.drv' failed

Expected behavior
No build failures ;-)
Additional context
This PR needs to be backported to 19.03: https://github.com/NixOS/nixpkgs/pull/65217
Metadata
$ nix run nixpkgs.nix-info -c nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.1.16, NixOS, 19.03.git.ef4753d (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - nixpkgs: `/etc/nixos/nixpkgs`

(on nixos-19.03 at ef4753de2aa07424fdbb4b691bf612ea2787d909)

same as #65030

ping @marsam @FRidh . don't know if you're aware of this?

Have the same Problem

How can that not be backported in over a month?

@spiderbit sorry, I tried to backport it, but it doesn't apply cleanly. I'm going to try again this weekend

is there some workaround tried something like that:
(let newpkgs = import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) {};
in
newpkgs.flexget)
also with cherrypy but it does not work... some overwrite attribute magic?

Bump here can't rebuild my server since 3 months because of this bug? Really nobody trying to solve this?

@spiderbit feel free to open a PR with a fix

if Nixos would use a good programming language like lisp in a eyeblink but this very strange Programming language and project structure makes it very hard to contribute to.
Also I don't understand that

I never got such requests when I reported bugs in other distros
I don't get why people update something when it just brakes it, why not keep it intact instead of doing work to create a regression?
As far as I understand everybody that tries to build it will become the same error so how could that go through any quality system?
why does nobody just revert the commit that upgraded that package to the defect version?

If somebody guarantees that if I find the commit that introduced that bug and revert it and send that as PR it get's accepted I do it.

Yes 19.09 works or at least the rebuild works. I don't know if that is good enough to close that bug and how well 19.03 is still supported?

builds on master and 19.09, I'm in favor of closing
@FRidh thoughts?

it's ok with me but I don't know how nixos handles their stable branches when do you stop "supporting" stable branches after the next is out?

You would have to ask the release managers, but seeing as NixOS is largely volunteer driven, I wouldn't expect too long


Docker image for contributors

A ready-to-use docker image for project contributors as alternative to (local) Python environment via Poetry. The image probably would need to include things like

base image (e.g. ubuntu)
(py)spark
delta
python libs
environment vars
etc.

I just tried to find examples for other oss repos but didn't find any in the short research time. So maybe this is not useful to most contributors or there are other reasons not to have it. Nothing would come to my mind atm.

@Triamus - thanks for adding this.
Anyone in the community can feel free to grab this.

@MrPowers I have built this kind of docker images in the past. Mind if I take a stab at this?

@souvik-databricks you probably know this but a few things I already researched.

delta lake project seems to work on a docker quickstart but I couldn't find it in the official docs, however, it's in GitHub/delta-io/delta-docs: quickstart_docker
apache spark has non-docker reviewed official images at GitHub/apache/spark-docker: Official Dockerfile for Apache Spark
there is an open jira issue [Spark Jira: SPARK-40513 - SPIP: Support Docker Official Image for Spark](SPIP: Support Docker Official Image for Spark) with corresponding google doc SPIP: Support Docker Official Image for Spark
for an "official", i.e. docker certified image

I would think that ideally any image is building on top of those efforts but I don't know the timeline. In Jira they speak of Spark 3.4.

@souvik-databricks I'd be happy to test things out if needed.

@souvik-databricks - yea, sure, go for it!
I think there are some Delta Lake docker images around.  Let me take a look.

Actually, looks like @Triamus has already provided the link, here it is: GitHub/delta-io/delta-docs: quickstart_docker

@MrPowers I have a local branch ready to go for Docker and docker-compose support for mack if you want it. Runs the unit tests inside the container and also has instructions for dropping into the container for development as well. Container has Spark, Delta, etc, everything needed to develop and test.

@danielbeach - yea, that sounds great.  Any chance you could send a PR?  I'll be happy to test, document in the README, and market.  Thank you!

@MrPowers I tried to push a PR, but need access.

@danielbeach - sent you an invite to collab on the repo ;)

In the opening of the issue, I mentioned that I didn't find nice OSS examples of creating a reproducible local dev setup for contributors of a project. By coincident, I saw a talk from PyData Global 2022 which was recently uploaded to youtube on exactly that topic from one of the core Airflow devs. And it turns out that Airflow has invested a lot in what they call a breeze environment to cover everything from local dev and test to deployment. It is certainly overngineering for mack at this point but it has some nice insights and potential ideas that one can draw inspiration from. I leave the talk and Airflow Breeze docs here for future reference.

Jarek Potiuk - Managing Python Dependencies at scale | PyData Global 2022 on Youtube
Airflow Breeze Docs

From the docs:

Airflow Breeze is an easy-to-use development and test environment using Docker Compose. The environment is available for local use and is also used in Airflow's CI tests. We call it Airflow Breeze as It's a Breeze to contribute to Airflow. The advantages and disadvantages of using the Breeze environment vs. other ways of testing Airflow are described in CONTRIBUTING.rst.


\ instead of \

This path cmdlet
Convert-VHD –Path c:\test\MY-VM.vhdx –DestinationPath c:\test\MY-NEW-VM.vhd -VHDType Fixed
Should not use \, so it should be
Convert-VHD –Path c:\test\MY-VM.vhdx –DestinationPath c:\test\MY-NEW-VM.vhd -VHDType Fixed

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

ID: cdad1b23-8c75-cd08-41cc-6313fc7016bd
Version Independent ID: f7979a0f-a1be-100f-33b5-01627c45f783
Content: Prepare and customize a master VHD image - Azure
Content Source: articles/virtual-desktop/set-up-customize-master-image.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@WillyMoselhy Thanks for pointing this out. I have updated the doc and changes will go live soon.


Update an account in the service

As a developper

I need connection to the REST API

and an existing account on the service (that can be querried

by name or ID)

So that I could modify an account from the service

Details and Assumptions

-There are existing accounts on the service already

-DB has a known schema

Acceptance Criteria

 gherkin

Given the REST API populated with a number of accounts

And a successful connection to the service

When a specific account is queried and (a) given field(s) is

modified

Then said account details should be updated


read_c3d doesn't work with more than 255 markers or 255 analogs, or with no labels

Relates to pull request #190
Bug request to fill when I will have a test file with more than 255 markers.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Python installation
Select: python.org, Anaconda, conda-forge, etc.
Operating system

OS: [e.g. macOS, Windows, Linux]
Version [e.g. Big Sur, 10]

Additional context
Add any other context about the problem here.

@jorgomezga Warm thanks for your help. This issue is now solved in the master branch, and will be part of the next release (0.13).


Refactored shaderc such that its functionality can be used in runtime

A possible fix issue #405.

I'm planning to do this soonish.


poetry breaks if license is unspecified (>=0.12.0a4, <=12.0)

[x] I am on the latest Poetry version.

[x] I have searched the issues of this repo and believe that this is not a duplicate.

[x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: Ubuntu 18.04 LTS

Poetry version: poetry 0.12

Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/rooterkyberian/230f1d60074192396891509e51b09c91

Issue
poetry stopped working for me after update to poetry 0.12
poetry 0.12.0a3 seems to work fine
problem seems to be that if license identifier is missing an attribute exception is risen, breaking (all?) commands
poetry shell -vvv

[AttributeError]
'NoneType' object has no attribute 'lower'

Exception trace:
 /home/rooter/.local/lib/python3.6/site-packages/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 /home/rooter/.local/lib/python3.6/site-packages/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 /home/rooter/.local/lib/python3.6/site-packages/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 /home/rooter/.local/lib/python3.6/site-packages/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 /home/rooter/.local/lib/python3.6/site-packages/cleo/commands/base_command.py in run() at line 136
   self.initialize(input_, output_)
 /home/rooter/.local/lib/python3.6/site-packages/poetry/console/commands/env_command.py in initialize() at line 16
   o, self.poetry.package.name, cwd=self.poetry.file.parent
 /home/rooter/.local/lib/python3.6/site-packages/poetry/console/commands/command.py in poetry() at line 62
   return self.get_application().poetry
 /home/rooter/.local/lib/python3.6/site-packages/poetry/console/application.py in poetry() at line 60
   self._poetry = Poetry.create(os.getcwd())
 /home/rooter/.local/lib/python3.6/site-packages/poetry/poetry.py in create() at line 120
   license_ = license_by_id(local_config.get("license"))
 /home/rooter/.local/lib/python3.6/site-packages/poetry/spdx/__init__.py in license_by_id() at line 14
   id = identifier.lower()

shell

this is duplicate of #501 , I haven't refreshed issues before submitting mine


WRU and FS autocompletion

modified:   Resources/Prototypes/Accents/word_replacements.yml
modified:   Resources/Locale/en-US/speech/speech-chatsan.ftl

About the PR

Added wru (where are you) and fs (for sure) to chatsan for auto-completion
Why / Balance

I'm tired of typing fs, and it not auto-completing.
Technical details

added two chatsan-word and replacements
Media

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

Changelog

:cl:

add: Now fs (for sure) and wru (where are you) are changed to their full version in text

I have never in my life seen this 2 used.

I have never in my life seen this 2 used.

wru is pretty situational but definitely useful on radio!
fs is just a common abbreviation.

i have definitely heard these used


Nuxt 3 SSR Constuct - or Generic SSR Construct as base?

Hi,
Apologies for requesting features via a Github Issue!
However i was wondering what plans ( if any ) there were for supporting a Vue/ Nuxt 3 SSR construct.  Nuxt 3 uses the Nitro engine to generate lambda code ( in .mjs format )?
Or another alternative, do you have any plans for creating a generic SSR Site construct that could be extended?
I have used the generic SSR serverless-lift construct  with Nuxt 3 so far.
Cheers,
Jamie

Hey Frank,
No not that i'm aware of.
Essentially - Nuxt 3 / Nitro generates the Lambda handler from the nuxt build command. ( .mjs modules )
This is with the aws-lambda preset. https://nitro.unjs.io/deploy/providers/aws
It generates output folders /output/server & /output/public.
I bundled the server into a server.zip file.
Then configured the Serverless Lift plugin minimally with the following in the serverless.ts, with the runtime set to nodejs16.x:
  constructs: {
    nuxt: {
      type: "server-side-website",
      apiGateway: "http",
      assets: {
        "_nuxt/*": `${NUXT_OUTPUT}/public/_nuxt`,
        // and all other top level folders/files found in public folder
        // these are copied to S3 and used as CloudFront origin paths by the Lift Plugin
      },
    },
  },

Then the function handler looked like :
  functions: {
    nuxtHandler: {
      package: {
        artifact: `${NUXT_OUTPUT}/server.zip`,
      },
      handler: "index.handler",
      events: [
        {
          httpApi: {
            method: "GET",
            path: "/{any+}",
          },
        },
      ],
    }
  },

I haven't seen any errors so far. But early days :)

Hey @jamieowen, quick update. SST now has an SsrSite construct that does the heavy lifting of setting up CloudFront distribution, Lambda/Lambda@Edge, domains, etc. NextjsSite, RemixSite, AstroSite, and SolidStartSite all extend from it.
If you'd like to give it a go, u can try using SsrSite to put something together for Nuxt. Here's the code for AstroSite — https://github.com/serverless-stack/sst/blob/master/packages/sst/src/constructs/AstroSite.ts
Let me know if there's anything I can help w/.

For anyone trying this I had success with the methods Frank and Jamie have mentioned.

Build with the env NITRO_PRESET=aws-lambda set.
Create a construct using SsrSite,  AstroSite's format can be reused.

I managed to get it working in this test repo .
Caveat is lambda@edge support is waiting on this pr from the nuxt unjs team.

For anyone trying this I had success with the methods Frank and Jamie have mentioned.

Build with the env NITRO_PRESET=aws-lambda set.
Create a construct using SsrSite,  AstroSite's format can be reused.

I managed to get it working in this test repo .
Caveat is lambda@edge support is waiting on this pr from the nuxt unjs team.
Edit: I had some success adding a lambda edge adapter (preset in nitro) to the nuxt project. Seen here. Unfortunately I was unable to package this into it's own npm package.

Hi @jdevdevdev, thanks for working on this 🙏🏽 At nitro, we have 2 PR open for lambda-edge support. We will look into it and take SST into consideration. Just to confirm for SST support, you need an aws-lambda-edge without the cdk, correct ?

@Hebilicious Correct. In my test repo deployment was handled by sst.
Thanks for looking into it!

I'm hoping this can be official supported at sometime because at viteconf Solidjs announced they were going to leverage nitrojs, the webserver that powers nuxt too.

Hey @jdevdevdev! Is your test repo still working for you?

@robokozo No, SsrSite was restructured. I don't think it will work the the most current version.

@robokozo No, SsrSite was restructured. I don't think it will work the the most current version.

I made a simple PoC for a simple NuxtSite with no edge support but handling IPX (for @nuxt/image, i.e., image compression). Here's the gist: https://gist.github.com/EnzoAlbornoz/b7a72f4651d404e756e18f8ca9fdde97

Thanks @EnzoAlbornoz ! I'll give it a try in a few days...

If you need edge support I have an experimental plugin.
I used this construct.

@jdevdevdev just to let you know I did start a PR based mostly on your existing work https://github.com/unjs/nitro/pull/1557

@EnzoAlbornoz hmm.. I couldn't get it working. The amplify gen 2 stuff looks promising though. It worked right away

@robokozo No, SsrSite was restructured. I don't think it will work the the most current version.

I made a simple PoC for a simple NuxtSite with no edge support but handling IPX (for @nuxt/image, i.e., image compression). Here's the gist: https://gist.github.com/EnzoAlbornoz/b7a72f4651d404e756e18f8ca9fdde97

Sorry I keep getting this when I'm trying to deploy
AWS::CloudFront::Distribution: The parameter globPattern can only contain these characters: [a-zA-Z0-9_-.*$/~"'&@:?+\]. (Service: CloudFront, Status Code: 400, Request ID: 017def16-e275-4374-821a-108f929703d4)"

@robokozo No, SsrSite was restructured. I don't think it will work the the most current version.

I made a simple PoC for a simple NuxtSite with no edge support but handling IPX (for @nuxt/image, i.e., image compression). Here's the gist: https://gist.github.com/EnzoAlbornoz/b7a72f4651d404e756e18f8ca9fdde97

Sorry, I keep getting this when I'm trying to deploy
AWS::CloudFront::Distribution: The parameter globPattern can only contain these characters: [a-zA-Z0-9_-.*$/~"'&@:?+\].
(Service: CloudFront, Status Code: 400, Request ID: 017def16-e275-4374-821a-108f929703d4)"

Any idea how to debug this? I'm trying to search all the places but maybe it's not correct direction...

@8bu  I keep getting this too! did you manage to solve it?

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Provision > Build > Deploy Process Exceedingly Slow

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
d1v6pv2eihui24
AWS Region
us-east-2
Amplify Hosting feature
Deployments
Describe the bug
My app appears to be stuck at "Pending":

The provision > build > deploy process is also exceedingly slow. For the "in progress" build, I see no movement from the provision stage. I used to be able to watch this process complete in real time over the course of a couple of minutes.
Expected behavior
The entire process used to take <5 minutes.
Reproduction steps
??
Build Settings
version: 1
applications:
- appRoot: user_docs
  frontend:
      phases:
        preBuild:
          commands:
            - dir=$(pwd)
            - echo $dir
            - ls
            - npm install
        build:
          commands:
            - npm run build
      artifacts:
        baseDirectory: /build
        files:
          - '**/*'
      cache:
        paths:
          - node_modules/**/*

Log output

# Put your logs below this line

Additional information
No response

Hi @nategoethel 👋🏽 apologies for the delay in assistance here. It seems like you have been able to successfully build your application since opening this issue, including being able to deploy your application the same day this issue was created.
All of your frontend builds appear to take anywhere from 7-9 minutes to complete. There were a few builds that took around 2.5 minutes but it appears the frontend builds were skipped during those attempts. The AMPLIFY_DIFF_DEPLOY variable was likely set to true during these instances.
Please let us know if you need further assistance or clarification on your build times. Thank you!


Add Permutate exporter to onnx_chainer

This PR adds Permutate exporter to onnx_chainer.

Jenkins, test this please!

Jenkins CI test (for commit 3173af0796816c76b578ca6a6a305493cb134619, target branch master) succeeded!

Jenkins CI test (for commit 3173af0796816c76b578ca6a6a305493cb134619, target branch master) failed with status FAILURE.


message pack disconnect

If I send data used message pack, It logged WebSocket connection to 'wss://localhost:3333/' failed: Could not decode a text frame as UTF-8. this and disconnected

Hello. I use notepack like this:
      ws.send(notepackIo.encode({key: 'value'}), true)
   // ....
      message: (ws, message, isBinary) => {
        const m = notepackIo.decode(Buffer.from(message))

Works just fine

Hello. I use notepack like this:
      ws.send(notepackIo.encode({key: 'value'}), true)
   // ....
      message: (ws, message, isBinary) => {
        const m = notepackIo.decode(Buffer.from(message))

Works just fine

Just need set second argument isBinary in method send  as true

Just need set second argument isBinary in method send  as true


In a squashed commit? Or later?


Add java texture examples

@ajpmaclean : Please review.

earth.ppm is actually used in the Cxx example for testing.

Please review.

Thanks


SwiftUI: KFImage should accept optional URL

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[x] I have read the wiki page and cheat sheet, but there is no information I need.
[x] I have searched in existing issues, but did not find a same one.
[x] I want to report a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
What
Using xcode11 branch and KingfisherSwiftUI, the struct KFImage should accept an optional URL.
Having to handle that case on our own is a hassle....

I am now just following Apple's Image API, in which there is no optional value accepted. The best practice of SwiftUI is evolving every day, so I want to choose a strict way first. If later it is proven an optional value is better, we can change to it without breaking current things.

Thank you for your prompt reply!
I understand! But it is superduper common that models have optionals, right?
Right now I solved it like this:
extension ProfileRowView {
    final class ViewModel: ObservableObject {
        let profile: Profile
    }
}

extension ProfileRowView.ViewModel {
    var name: String { profile.name }
    var iconUrl: URL { profile.iconUrl ?? URL("<IP_ADDRESS>") }
}

Using localhost like that triggers lots of network errors... of course...
So I still think it would be better if KFImage accepts optional. Then thousands of Kingfisher users dont have to retort to the same ugly hack as me :D

Optional URL is now accepted.


Set value to parent node

Hey, I'm using this widget and it's really good. But now I'm wondering, how can I set the value for a parent node? I mean, I have this:
<option data-section="All/Image" value="someValue">HD</option>
<option data-section="All/Image" value="someValue">Series</option>
<option data-section="All/Image/Books" value="someValue">Dutch</option>
<option data-section="All/Image/Books" value="someValue">English</option>

So, its displayed as:
|---All
|-------Image
|-------------HD
|-------------Series
|-------------Books
|-------------------Dutch
|-------------------English
And it's going well until here, but now, How I set a value only for the Image option? when the users select Image I want to send a value for it

There's no way to do that right now.

@patosai
after several years, is this possible now to get the value of Parent node??


Client Err: 400 broadcast <ClientError:TX_NOT_ACCEPTED The transaction proposal is not accepted>

Running BWS<EMAIL_ADDRESS>getting error while broadcasting a TX already signed by 2-of-3
info Client Err: 400 /v1/txproposals/01484038655905243f8171-025c-4661-86b3-c2d6cce23529/broadcast/ <ClientError:TX_NOT_ACCEPTED The transaction proposal is not accepted>
What to do?

My mistake.


Skip raw blueprint from OpenAPI generating

Some extension will create the blueprint, APIFlask needs to skip them when generating the OpenAPI spec file.
Checklist:

[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[x] Run pytest and tox, no tests failed.

Codecov Report

Merging #37 (4413432) into master (dcf8a61) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        14
  Lines          790       790
  Branches       146       146
=========================================
  Hits           790       790

Impacted Files
Coverage Δ

apiflask/app.py
100.00% <100.00%> (ø)

apiflask/route.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


ruby: fix build on darwin

Motivation for this change
cc-tools 949.0.1 added a warning on linking which ruby misinterprets as
an error with LDFLAGS.
fixes https://github.com/NixOS/nixpkgs/issues/101330
cc: @r-burns
Things done

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

[x] NixOS
[x] 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 nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Hmm, I still have the same issue with this. Fails at something wrong with LDFLAGS="" but works when using -Wl,-w.

that is weird, I can build it on darwin:
$ nix-build -A ruby
/nix/store/rvb7avdslzv8rc60cgj13pzkqyr0a8bx-ruby-2.6.6

did you use nixpkgs-review? could you please create a pastebin with the output?

I'm also still getting the same error with this PR.
The output is the same as https://hydra.nixos.org/build/128219205/nixlog/2 except for the patch being applied:
patching sources
applying patch /nix/store/sg8ilal3zr70fislb01yhbn9afpwgx6s-ignore-cc-tools-ld-warning.patch
patching file tool/darwin-cc
autoreconfPhase

Would you mind checking whether it works with the following patch?
diff -Naur ruby.old/tool/darwin-cc ruby.new/tool/darwin-cc
--- ruby.old/tool/darwin-cc
+++ ruby.new/tool/darwin-cc
@@ -2,5 +2,6 @@
 exec 2> >(exec grep -v \
   -e '^ld: warning: The [a-z0-9_][a-z0-9_]* architecture is deprecated for macOS' \
   -e '^ld: warning: text-based stub file /System/Library/Frameworks/' \
+  -e '^ld: warning: passed two min versions' \
   >&2)
 exec "$@"

if it doesn't work, I think we can apply https://github.com/NixOS/nixpkgs/issues/101330#issuecomment-716068007

Would you mind checking whether it works with the following patch?

Same error unfortunately.

@marsam Does not work.
checking whether LDFLAGS is valid... no
configure: error: something wrong with LDFLAGS=""
builder for '/nix/store/9vzh08m75bvh4xyazdj6ch6b3qqnfhra-ruby-2.6.6.drv' failed with exit code 1
cannot build derivation '/nix/store/94lf9wij83nhz7xrz41m8hrnfkh4h10c-ruby-2.6.6.drv': 1 dependencies couldn't be built
error: build of '/nix/store/94lf9wij83nhz7xrz41m8hrnfkh4h10c-ruby-2.6.6.drv' failed

I opted to use @r-burns solution with LDFLAGS="-Wl,-w", because AFAIK that warning is harmless, and ruby is the only one affected

Sounds good to me. I imagine we'll just revert this and https://github.com/NixOS/nixpkgs/pull/101602 once the underlying issue is fixed.


installation problem

Hi
I am having problem installing the CD. Here is what i have done:

unzip the CD package
install VeriStand Dev tools VIPC
built all without any error: RefMem DMA Custom Device Project.lvproj
Copy the inf file to my PXI controller /ni-rt/system/ and reboot the target
Copy RefMem DMA folder and .xml (under Built folder) to C:\Users\Public\Documents\National Instruments\NI VeriStand 2017\Custom Devices of my gateway

When i create a veristand project and open system explorer i see RefMem DMA under Custom Device tab, but, when selecting that i get an error page with the following message:
Broken page:
C:\Users\Public\Documents\National Instruments\NI VeriStand 2017\Custom Devices\RefMem DMA\RefMem DMA Configuration.llb\RefMem DMA Main Page.vi
when i try to open broken vi from llb  directly from labview, it gives the following error:
Loading:
NationalInstruments.VeriStand.SystemDefinitionAPI.dll
Searching:
C:\Program Files (x86)\National Instruments\LabVIEW 2017\instr.lib\GE 5565 PIORC\Public\Utility
I appreciate any help in resolving this issue.
Thanks

Forgot to mention that i am using Labview and Veristand 2017.

I worked off-line with customer.

Hello, I also encountered the same problem. I guess it is a build setting problem. The path setting inside is incorrect, but I changed some dependencies and still cannot solve the problem. Is your problem solved? How did you solve it?


quicl mypy fix

:books: Documentation preview :books:: https://pymc-marketing--1.org.readthedocs.build/en/1/

You do not need to merge this one and you can do the suggested change yourself hehe


RuntimeError: uvloop does not support Windows at the moment

Using source directory: 'C:\Users\pierr\.virtualenvs\OpenDevin-t35PKA65\src'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
Traceback (most recent call last):
File
"C:\Users\pierr\AppData\Local\Programs\Python\Python310\Lib\site-packages\pipenv\patched\pip_vendor\pyproject_hooks_in
_process_in_process.py", line 353, in
main()
File
"C:\Users\pierr\AppData\Local\Programs\Python\Python310\Lib\site-packages\pipenv\patched\pip_vendor\pyproject_hooks_in
_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File
"C:\Users\pierr\AppData\Local\Programs\Python\Python310\Lib\site-packages\pipenv\patched\pip_vendor\pyproject_hooks_in
_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File
"C:\Users\pierr\AppData\Local\Temp\pip-build-env-24a_jl7o\overlay\Lib\site-packages\setuptools\build_meta.py", line 325,
in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File
"C:\Users\pierr\AppData\Local\Temp\pip-build-env-24a_jl7o\overlay\Lib\site-packages\setuptools\build_meta.py", line 295,
in _get_build_requires
self.run_setup()
File
"C:\Users\pierr\AppData\Local\Temp\pip-build-env-24a_jl7o\overlay\Lib\site-packages\setuptools\build_meta.py", line 311,
in run_setup
exec(code, locals())
File "", line 8, in
RuntimeError: uvloop does not support Windows at the moment
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]:   × Getting requirements to build wheel did not run successfully.
[pipenv.exceptions.InstallError]:   │ exit code: 1
[pipenv.exceptions.InstallError]:   ╰─> [15 lines of output]
[pipenv.exceptions.InstallError]:       Traceback (most recent call last):
[pipenv.exceptions.InstallError]:         File "C:\Users\pierr\AppData\Local\Programs\Python\Python310\Lib\site-packages\pipenv\patched\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
[pipenv.exceptions.InstallError]:           main()
[pipenv.exceptions.InstallError]:         File "C:\Users\pierr\AppData\Local\Programs\Python\Python310\Lib\site-packages\pipenv\patched\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
[pipenv.exceptions.InstallError]:           json_out['return_val'] = hook(**hook_input['kwargs'])
[pipenv.exceptions.InstallError]:         File "C:\Users\pierr\AppData\Local\Programs\Python\Python310\Lib\site-packages\pipenv\patched\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
[pipenv.exceptions.InstallError]:           return hook(config_settings)
[pipenv.exceptions.InstallError]:         File "C:\Users\pierr\AppData\Local\Temp\pip-build-env-24a_jl7o\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
[pipenv.exceptions.InstallError]:           return self._get_build_requires(config_settings, requirements=['wheel'])
[pipenv.exceptions.InstallError]:         File "C:\Users\pierr\AppData\Local\Temp\pip-build-env-24a_jl7o\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
[pipenv.exceptions.InstallError]:           self.run_setup()
[pipenv.exceptions.InstallError]:         File "C:\Users\pierr\AppData\Local\Temp\pip-build-env-24a_jl7o\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
[pipenv.exceptions.InstallError]:           exec(code, locals())
[pipenv.exceptions.InstallError]:         File "", line 8, in
[pipenv.exceptions.InstallError]:       RuntimeError: uvloop does not support Windows at the moment
[pipenv.exceptions.InstallError]:       [end of output]
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]:   note: This error originates from a subprocess, and is likely not a problem with pip.
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: × Getting requirements to build wheel did not run successfully.
[pipenv.exceptions.InstallError]: │ exit code: 1
[pipenv.exceptions.InstallError]: ╰─> See above for output.
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Couldn't install package: {}
Package installation failed...
C:\Users\pierr\AppData\Local\Programs\Python\Python310\lib\subprocess.py:1067: ResourceWarning: subprocess 41956 is still running
_warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=5 encoding='utf-8'>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=6 encoding='utf-8'>
ResourceWarning: Enable tracemalloc to get the object allocation traceback

Here's your issue:

RuntimeError: uvloop does not support Windows at the moment

Are you running in WSL?

Here's your issue:

RuntimeError: uvloop does not support Windows at the moment

Are you running in WSL?

No because there is no WSL Guide so I had to use AI to Guide me through.

Seems like uvicorn won't run directly on Windows--you'll need WSL

Seems like uvicorn won't run directly on Windows--you'll need WSL

Okay but I mean I needed to to ask AI to give me a guide how to install it everything which should be in the readme actually.

I just added WSL as a hard requirement to the readme, so that uvloop works

I have the same issue. Iam also running on windows in normal mode without wsl. But iam wondering that there is no active code use of uvloop. It is only in Pipfile.lock. So I tried to delete the whole node in that file. -> Are you sure the project needs it?
Then I had other problems with Makefile and i asked chatgpt to help me to translate to windows style.
And now it works at least for 5minutes but its maybe not good enough to publish to all in repo. I have no clue what i have done. No idea what happens with that kind of file Pipfile.lock when i deleted there something and no idea about cmd or powershell but i have seen the results and they seems to be fine.  But not really repeatable.

delete the node uvloop with all brackets out of Pipfile.lock
install docker desktop i have it done without use of wsl, setup of wsl was for me a pain
install gnu make see the hardcoded path in makefile, had issue on installing to program files(X86) so C user was better
install node.js
pip install pypiwin32
look in makefile below and switch the paths of makefile
I think the agents are using linux commands for the work on your windows filesystem so be carefull! for me worked a simple calculator python task but i dont know the rest of it maybe my concerns are not serious because of the use of docker

So here is my Makefile for Windows:
Makefile.txt
First results were fine but in the end there were errors:
Failed to stop container: 500 Server Error for http+docker://localnpipe/v1.44/co
ntainers/47b16445f5e6652f2c7bda6941d742defda5b2752c85c444e4eba11548cb620a/stop:
Internal Server Error ("cannot stop container: 47b16445f5e6652f2c7bda6941d742def
da5b2752c85c444e4eba11548cb620a: tried to kill container, but did not receive an
exit event")
Error creating controller.


Introduce preprocess step into the mixer dispatch.

This PR adds a Preprocess() method to the AspectDispatcher. This
method (and the associated logic used to invoke it before other
mixer dispatch for Check, Report, and Quota) will be used to
execute Aspects that must preceed all further processing. Example
uses include: environment-specific attribute generation and
identity-related tasks.
Attributes generated in preprocess step will be merged back in
with the original request bags and passed to the existing dispatch
methods.
Currently, there are no existing Aspects that are associated
with the preprocess step (as a result, it acts as simple pass-thru).
However, a new aspect kind was added for testing purposes. It is
expected that that aspect will be used in follow-on PRs.
Note: it is expected that the preprocess aspects will behave and
be configured in the exact same manner as other aspects. However,
in subsequent PRs, we may want to restrict the ability to
configure some of these aspects to only be globally-configurable
to prevent possibly conflicts between selectors and the attributes
they depend on. More thinking is needed here. For now, this potential
problem is left alone.
In addition to unit testing, this change was tested via mixs/mixc as follows
(from two different prompts):
$ ./bazel-bin/cmd/server/mixs server --globalConfigFile=testdata/globalconfig.yml --serviceConfigFile=testdata/serviceconfig.yml
Istio Mixer: version: stable-b875f9f-4-g5230128 (build: 2017-03-31-5230128, status: Modified)
Starting gRPC server on port 9091
{"logName":"access_log","labels":{"timestamp":"2017-03-31T15:33:39.157182481-07:00"},"textPayload":"- - - [31/Mar/2017:15:33:39 -0700] \"- - -\" - -"}

$ ./bazel-bin/cmd/client/mixc report
Report RPC returned OK

Related Issue: #475

This change is

I haven't reviewed the code yet, but there's a few potential problems we need to think carefully about:

If preprocess adapters are not global, config cannot be validated outside of the request context

This is because at config validation time we need to know all attributes that are available so that we can ensure we can satisfy all expressions in config for a given selector; if preprocess adapters are under a selection, we must know if that section applies when determining if its valid for another section to depend on attributes produced by those preprocess adapters. This can only be determined in the request context.*

How do we describe the attributes produced by those adapters? Today the only place it's possible for us to ingest attribute descriptors is via the global config (obviously this is changing with @mandarjog's config API work)
How do we handle the case that preprocess adapter B depends on an attribute produced by preprocess adapter A? In general the only way we can guarantee successful execution is to compute a DAG of attribute-dependencies, topologically sort it, and execute adapters in top-sorted order

The simplest thing to do here is disallow preprocess adapters depending on anything but proxy attribute. That kills much of their power, especially in the context of platform specific preprocess adapters, where no other preprocess adapter can have access to e.g. k8s specific attributes.

* Barring @geeknoid's plan to remove attributes from config resolution.
@geeknoid did I miss any of the other potentially tricky cases we discussed the other day?

@ZackButcher a few responses:

first pass, there is no ordering allowed between preprocessor adapters - just as we have no support for ordering amongst adapters for other aspects. In the short term, this should not be a limitation (we don't even support any preprocessing adapters now).
describing attributes produced by a kind of preprocessing adapter is a problem that is a bit orthogonal to supporting the notion of preprocessing. we can start to figure that out when it comes time to implement the attribute-generation aspect kind.
i think config validation should fail for non-global use of any attribute-generation preprocess adapters. i'm not 100% convinced that all preprocess adapters will generate new attributes.

I'm confused. Preprocessing, in this PR, is being treated as middleware. It wraps all dispatch calls to the various API handlers -- functioning like an interceptor or a http.HandleFunc.

Yes, SG.

PTAL. I've made the following changes:

added a Resolver.ResolveUnconditional() method that will only evaluate rules with an empty selector ("").
shuffled around some of the adapterManager dispatch code to load and resolve before passing to dispatch (this should set the stage for a follow-on refactor to completely separate adapter dispatch from config resolution)
added a few tests

Jenkins job mixer/presubmit passed

merging to unblock @mandarjog 's pending PR, as discussed.

Jenkins job istio/mixer-pr-master passed


Carthage Attribute Panel Dont shows.

Hello i added inside with cartfile your framework and when i adding custom class area DesignableView and dont shows Attribute Panel ? why ?
Ty

Issue is still not solved. Can anyone help?

https://github.com/Carthage/Carthage/issues/335
It's an issue with XCode, not Carthage, and not this library.


[py3] CredentialProxy - convert to bytes the input of hashlib.sha1()

Fixes #10912
Status
not-tested.
Before asking to merge this, I would like to test it. I will upate the labels and ask for a review when this is ready.
Description
We need to make sure that the input of hashlib.sha1() is always bytes, in both py2 and py3.
This PR is based on: https://github.com/belforte/WMCore/commit/1be8e3c564f39f67eaa948a758a82b0b734811c8
fyi: @belforte
Is it backward compatible (if not, which system it affects?)
yes
Related PRs
none
External dependencies / deployment changes
none

about testing, please be aware that this code is only used by CRAB TaskWorker and (from now on) only in python3. WCredetial/Proxy is effectively made of two parts, one used by CRAB, one by WMA & C. even if they are under same umbreall interface, there is almost no method shared. I.e. the testing we did already in CRAB is good, IMHO. And of course we'll do more.

Does it mean it can be merged? Or you'd rather run more tests first?
Would you also need a new tag? Does it need to be backported to any given branch?

I run some tests and they are looking good. We do not need any backporting, this can stay in dmwm/WMCore/master.

so were thinking of waiting for all of those to be fully sorted out before messing with your already very busy schedule.

yes, we temporarily switch to using our own private branch of WMCore for building python3 crabserver images exactly for this purpose. While we are finalizing the migration, we benefit from using dmwm/WMCore/master branch and applying our own logging and fixes on top. We will take care of how we build crab, no new action items on Alan and the rest of wmcore team!

assuming it is same code as I already used in my branch (Dario?)

Not really. I used encodeUnicodeToBytes instead, to be python2 compatible (which i assume is still a requirement for WMCore, even if we are the only users of some parts of its code), and i changed the input of hashlib.sha() in every place where it is used, not only the couple of places where you added .encode()


Unit test passes if there is no data in the unit test input table

To replicate:
Create a unit_test_input table in your database, but do not add any values.
Create a unit_test_output table in your database and populate with your golden data.
Associate these with the first and last steps of your transformation.
Enable the Unit Test and Run
Actual result:
The unit test runs successfully and logs 'Test passed succesfully against unit test'     -- successfully has 2 s.
Expected results:
The unit test to fail as no comparison is being made.

+1 If a step with a golden data set receives 0 rows, the unit test passes instead of failing with an incorrect number of rows error.  This could be for any reason including an upstream hop being disabled, or an upstream step being disabled.

Confirmed the issue

I added a warning message and made sure the situation fails now: "WARNING: no test results found for step 'Output' : check disabled hops, input and so on."


checking return codes in CFE

For example, in CFE_SB_CreatePipe, it calls CFE_ES_GetAppID but does not confirm that it returned CFE_SUCCESS. Should it check that return value? (The AppID is zeroed by GetAppID.) This could create a situation where an app creates a lock (and somehow an error is generated) and the app could not later delete the pipe as it does not "own" it.
It would be good to scrub all CFE code, looking for calls to internal functions that do not verify the return.
Also, what should be the behavior when these calls do not return CFE_SUCCESS? Should they generate events (when EVS may not be functional) or syslog messages or OS_printf?

Imported from trac issue 195.  Created by cdknight on 2017-05-09T13:51:48, last modified: 2019-07-03T12:58:32

Trac comment by jphickey on 2018-05-14 14:30:21:
Agreed, we should scrub for unchecked return codes.  cppcheck has a ignoredReturnValue rule that might be useful to find and fix these types of instances.
We could combine this ticket with #149

Trac comment by jhageman on 2019-07-03 12:58:32:
Moved unfinished 6.7.0 tickets to next release

Related to #549


Support building for Windows under Visual Studio

Description
Support building for Windows under Visual Studio.
Testing instructions
Requirements

Visual Studio 2022
CMake
Ruby

Build
powershell .\tools\windows-dependencies.ps1
powershell .\tools\windows-generate.ps1
powershell .\tools\windows-build.ps1
powershell .\tools\windows-samples.ps1
powershell .\tools\windows-tests.ps1

[==========] 1464 tests from 313 test suites ran. (13231 ms total)
[  PASSED  ] 1464 tests.

As explained, we will not merge Win support into mainline as of now.  If there are parts of it which are not very Windows specific, not very high impact, consider creating different PRs with them.

Any more simple parts of this PR that is worth consider separately?

Added to readme: https://github.com/trustwallet/wallet-core#community


Request plugin: pcrcopy

Hi @lelegard ,
After many changes in TSDuck project regarding PCR marks, I request for a new plugin pcrcopy.
Please, comment about it!
Usage:

tsp -P pcrcopy [options]

Options:

-p value | --pid value: SOURCE pid with PCR marks.
-d value| --destination value: TARGET pid where new PCR marks are "copied".
--pmt-pid value: When specified this PID carrying a PMT table is modified to point to the Target pid, instead of the Source pid, as the Master Clock.
--copy-only: When used not remove the PCR marks in the Source pid (incompatible with --pmt-pid).

You can call this plugin pcrmove if you prefer it.
The idea is to "change" the pid carrying the PCR marks in a service. This has sense when you like to remove the pid with current PCR marks. For example, when removing the video to obtain a radio service.
What you think?

Hi @lelegard ,
No response about this suggestion for a long time.
I suspect this proposal sounds boring to you.
Perhaps the problem is the "space" required in a packet for inserting the PCR data. As the TSDuck does the processing packet-by-packet, I feel it's complex to "repack" the entire Elementary Streams to just add the header with the PCR. Right?
So, one "simple" solution can be this: when the PCR mark is required to be incorporated in a packet of the new stream, then insert it "in the first packet with free space". And if this may be impossible, then write a warning message. Therefore, the user must be responsible for applying the plugin to a sequence that meets the free space requirement in the headers.
What you think?

Hi @lelegard ,
I like to generate some TS as described here: https://github.com/tsduck/tsduck/issues/220#issuecomment-462743281
I analyzed the service in this example file and the PID with PCR marks is a simple dummy private data with PCRs. You think is possible to develop a TSDuck plugin that generates this stream? That's to copy the PCR from the video (or the corresponding PID described in the PMT) to a new generated packet of this type. For sure it will clears too the original PCRs and changes the PMT.
I'd rather get your answer than do anything.
Regards and thank you for this impressive project!

Hi,
Only to comment that this can be done (with the only restriction that PCR packets doesn't have payload) applying the PR #283.
I hope it will me merged soon.
Regards.

Hi,
I close this topic as this can be done with current tools (duplicate + craft + filter + labels). Even it's not trivial, we can do it:

In fact we can't include the PCR marks in existing packets with payload, but it's possible to do it copying the original packets with PCR, converting them to empty packets, chaging them to the new pid, and removing the PCR from the original packets.

So, I close it.


missing functions

The following functions are missing from Environmental_Processes_Analysis
Perhaps eliminate the filedialog.askdirectory() since it seems that code doesn't work on Macs. Instead pass the function the directory path.
def aeration_data(DO_column):
""" This function extracts the data from folder containing tab delimited files of aeration data.
The file must be the original tab delimited file.
All text strings below the header must be removed from these files.
The file names must be the air flow rates with units of micromoles/s.
An example file name would be "300.xls" where 300 is the flowr ate in micromoles/s
The function opens a file dialog for the user to select the directory containing the data.
Parameters
----------
DO_column: index of the column that contains the dissolved oxygen concentration data.

Returns
-------
filepaths: list of all file paths in the directory sorted by flow rate
airflows: sorted numpy array of air flow rates with units of micromole/s attached
DO_data: sorted list of numpy arrays. Thus each of the numpy data arrays can have different lengths to accommodate short and long experiments
time_data: sorted list of numpy arrays containing the times with units of seconds. Each
"""

dirpath = filedialog.askdirectory()
#return the list of files in the directory
filenames = os.listdir(dirpath)
#extract the flowrates from the filenames and apply units
airflows=((np.array([i.split('.', 1)[0] for i in filenames])).astype(np.float32))
#sort airflows and filenames so that they are in ascending order of flow rates
idx   = np.argsort(airflows)
airflows = (np.array(airflows)[idx])*u.umole/u.s
filenames = np.array(filenames)[idx]

filepaths = [os.path.join(dirpath, i) for i in filenames]
#DO_data is a list of numpy arrays. Thus each of the numpy data arrays can have different lengths to accommodate short and long experiments
# cycle through all of the files and extract the column of data with oxygen concentrations and the times
DO_data=[Column_of_data(i,0,-1,DO_column,'mg/L') for i in filepaths]
time_data=[(ftime(i,0,-1)).to(u.s) for i in filepaths]
aeration_collection = collections.namedtuple('aeration_results','filepaths airflows DO_data time_data')
aeration_results = aeration_collection(filepaths, airflows, DO_data, time_data)
return aeration_results

def O2_sat(Pressure_air,Temperature):
"""
This equation is valid for 278 K < T < 318 K
Parameters
----------
Pressure_air: air pressure with appropriate units.
Temperature: water temperature with appropriate units

Returns
-------
Saturated oxygen concentration in mg/L
"""
fraction_O2 = 0.21
Pressure_O2 = Pressure_air *fraction_O2
return (Pressure_O2.to(u.atm).magnitude)*u.mg/u.L*np.exp(1727/Temperature.to(u.K).magnitude - 2.105)

def Gran(data_file_path):
""" This function extracts the data from a ProCoDA Gran plot file.
The file must be the original tab delimited file.
Parameters
----------
data_file_path : string of the file name or file path.
If the file is in the working directory, then the file name is sufficient.
Example data_file_path = 'Reactor_data.txt'

Returns
-------
V_titrant (mL) as numpy array
ph_data as numpy array (no units)
V_sample (mL) volume of the original sample that was titrated
Normality_titrant (mole/L) normality of the acid used to titrate the sample
V_equivalent (mL) volume of acid required to consume all of the ANC
ANC (mole/L) Acid Neutralizing Capacity of the sample

"""
df = pd.read_csv(data_file_path,delimiter='\t',header=5)
V_t = np.array(pd.to_numeric(df.iloc[0:,0]))*u.mL
pH = np.array(pd.to_numeric(df.iloc[0:,1]))
df = pd.read_csv(data_file_path,delimiter='\t',header=-1,nrows=5)
V_S = pd.to_numeric(df.iloc[0,1])*u.mL
N_t = pd.to_numeric(df.iloc[1,1])*u.mole/u.L
V_eq = pd.to_numeric(df.iloc[2,1])*u.mL
ANC_sample = pd.to_numeric(df.iloc[3,1])*u.mole/u.L
Gran_collection = collections.namedtuple('Gran_results','V_titrant ph_data V_sample Normality_titrant V_equivalent ANC')
Gran = Gran_collection(V_titrant=V_t, ph_data=pH,V_sample=V_S, Normality_titrant=N_t, V_equivalent=V_eq, ANC=ANC_sample )
return Gran;

@monroews I'll begin working on adding those in today. We were probably working off an old version of EPA and didn't add the functions in you created once it was copied into aguaclara_research from the 4530 repo


Docs rebuild

Testing build to test new folder structure for missing files
Attempted the following command from the parent directory
sphinx-build -b html docs-src/source docs

End result is only needing to add an additional folder in the .gitignore


chart: support custom redis host

I should be able to provide a custom redis host to the chart on install. This should disable the redis dependency and instead configure Monocular to use the custom host.
see also #363

@felixPG moving the discussion from #363 here:
A value could be added for this, e.g. redisHost, and then we could check for this in api-config.yaml and use {{ template "redis.fullname" . }}:6379 as a default if redisHost is empty.
Also, we would need to disable the Redis chart dependency (see https://docs.helm.sh/developing_charts/#tags-and-condition-fields-in-requirements-yaml) so that if redisHost is defined, we don't deploy Monocular's Redis.

Thanks so much @prydonius I will make the change in api-config for test purpose.

If you're able to PR the change that would be awesome :)

Sure, when I have a little time I will make the change.

Hi @prydonius , after a little pause I make the following work:

Download the official redis chart, change the PVC to use my custom like NFS
Package with helm this custom chart of redis
Download monocular chart
Change requirements.yaml and specify a custom redis chart as file
Package custom monocular chart
Install my custome chart

After that all working ok, but appear that monocular cant see the redis server:
FROM LOGS:
2017/09/27 16:13:07 Can not configure repository cache dial tcp <IP_ADDRESS>:6379: getsockopt: connection refused.

Only to confirm, like a charm with specific redis host.

@felixPG did you get this working?

yeah!, Im now translating the UI to spanish, is possible to submit the translate as PR too?

Oh nice, feel free to create another issue for that. Assuming you're using an i18n plugin for the translation I would be happy to accept a PR for that :)

oh wait, I make manually the translation, then compiling and uploading in a private repo my custom image tu use in ui-deployment.yaml. When I have a little time I will make both PRs.
Regards


As a user I can define my skill level in a certain technology as "want to learn/can work/I am a pro"

Estimation
TBD
Acceptance criteria
The feature fulfils the DoD - criteria. The feature is demonstrated to a client from staging environment. After clients approval feature is deployed to production server.

Completed in Sprint #3.


Raspberry Pi / CPU frequency remains maxed out after influx TSM compacting job

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

every day when InfluxDB compacts the InfluxDB logs the CPU frequency of my Raspberry Pi is at maximum and not returning to lower level until reboot of device

Expected behavior:
CPU behaviour should return to normal levels after compacting job.
Actual behavior:
Once the TSM compacting job is started around 5am, the utilisation goes up and causing high CPU frequency which remains on highest level
Environment info:

System info: Linux 5.10.17-v7l+ armv7l
InfluxDB version: InfluxDB v1.8.4 (git: 1.8 bc8ec4384eed25436d31045f974bf39f3310fa3c)
Other relevant environment details: no docker

Logs:
Include snippet of errors in log.

I've also problems with the compact job
Apr  9 23:13:19 raspberrypi influxd[479]: ts=2021-04-09T21:13:19.673321Z lvl=info msg="Error replacing new TSM files" log_id=0TQ6QzdW000 engine=tsm1 tsm1_level=1 tsm1_strategy=level trace_id=0TQ7Ydg0000 op_name=tsm1_compact_group error="cannot allocate memory"
Apr  9 23:13:20 raspberrypi influxd[479]: ts=2021-04-09T21:13:20.674115Z lvl=info msg="TSM compaction (end)" log_id=0TQ6QzdW000 engine=tsm1 tsm1_level=1 tsm1_strategy=level trace_id=0TQ7Ydg0000 op_name=tsm1_compact_group op_event=end op_elapsed=11125.831ms
Apr  9 23:13:21 raspberrypi influxd[479]: ts=2021-04-09T21:13:21.548257Z lvl=info msg="TSM compaction (start)" log_id=0TQ6QzdW000 en
Influxdb is eating all Memory

This is rely annoying even the 1.85 Version eats all memory and CPU. Please fix this Issue.

This is rely annoying even the 1.85 Version eats all memory and CPU. Please fix this Issue.

Hi @Tux12Fun , I have switched to the Raspbian Buster 64bit kernel which seems to be significant improvement for influxdb.

I have shut down influxdb now. It's not use able for me anymore.
It eats up all resources.
If the next release doesn't solve the Problems. I look forward to a other solution (product). If this happens i will also switch the databases at our company network that uses influxdb. The pi is my prototype system with little data for testing. If the version causes there so many trouble then i don't risk an upgrade at our productive environment that holds up to 10.000x more data.

@bondskin
I've currently running
lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
uname -a
Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux
I've only 3 data points per 5 Minutes for 1 Year in the Database. And a Continues Query for 1d 1m 1y
At your prod environment I have 3000 to 30.000 data points per 5 Minutes (also not so much data) as I normally mange Databases with 1TB and more of Data.

@bondskin
I've currently running
lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
uname -a
Linux raspberrypi 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l GNU/Linux
I've only 3 data points per 5 Minutes for 1 Year in the Database. And a Continues Query for 1d 1m 1y
At your prod environment I have 3000 to 30.000 data points per 5 Minutes (also not so much data) as I normally mange Databases with 1TB and more of Data.

here now with 64bit kernel:
Linux raspberrypidns 5.10.17-v8+ #1403 SMP PREEMPT Mon Feb 22 11:37:54 GMT 2021 aarch64 GNU/Linux


IdentityErrorMessages - IStringLocalizer based default localization of ASP.NET Core Identity

@skoruba @TomasHubelbauer
A correct reopen of https://github.com/skoruba/IdentityServer4.Admin/pull/420
A simple implementation of ASP.NET Core Identity translation via inbuilt IStringLocalizer.
I have already used these in several projects.
I can add another layer of abstraction (for example IIdentityLocalizer/IIdentityErrorMessageLocalizer) so consumers can implement it independently, and pull that out into
(namespacebefore).AspNetCore.Identity.Localization
Opens up multiple implementations not coupled to ASP.NET Core localization implementation.
It may be reinventing wheel, though it's quite easy thing to do.
What's your opinion about this? :)

Thank you @duki994 for this PR, is it possible to setup some condition - if current translation will be missing - use default english?

@skoruba
Thanks for suggestion. I used two pronged approach (don't know if that's good phrase for this approach :P).

It uses IdentityErrorDescriber.resx (without culture name)
This is based on official .NET Core  https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-3.0#culture-fallback-behavior

Case when approach one fails (localizer can't find resource)
Code is defaulting to base methods in default IdentityErrorDescriber from ASP.NET Core Identity.

All cases are covered with unit tests.

This is perfect 👍🏼🙂

@skoruba
Thanks 💯
I just added missing test data for PasswordRequiresUpper method.
That would be 100% public API coverage of IdentityErrorMessages with tests.
Merge when ready :)

Great work, thanks Dusan - @duki994. 👍


[question] new release?

@dericed If you make a new release, I am happy to update the formula.

done at https://github.com/amiaopensource/pbprotracktor/releases/tag/v2020-04-30. thx!

Thank you! https://github.com/amiaopensource/homebrew-amiaos/pull/238


Encoding issue with generated csv files when changed in Visual Studio

I get a weird bug where characters like æ in my csv files merge with other characters.

It only happens in very certain cases. Here's what I do to reproduce:

Select Yarn Program asset and create a new Danish localization
open the created csv file in Visual Studio Community 2017 15.9.19, add an æ somewhere and save
In the inspector for the csv file the æ will now appear as something weird

Here are cases where this doesn't happen:

If I make the same change but with Visual Studio Code or other editors (even Notepad is fine)
If the .yarn file already contains an æ and I add more æs in Visual Studio

Note: It should be noted that I've edited the YarnImporter line 100 to make the CsvWriter culture invariant. I don't know if this makes a difference. (I've done this for IL2CPP reasons)
var csv = new CsvHelper.CsvWriter(textWriter,new CsvHelper.Configuration.Configuration(CultureInfo.InvariantCulture));

@stalhandske Going to go ahead and close this since it hasn't seen any more activity for a while, but please add a comment to this thread or create a new issue if you want to resume this!


Remove FullContact cask

FullContact doesn't provide a way to do this anymore + this cask hasn't been updated to a newer version for 2 years. The proper way to install the FullContact Mac app is via Mac App Store.

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[ ] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[ ] Named the cask according to the token reference.
[ ] brew cask install {{cask_file}} worked successfully.
[ ] brew cask uninstall {{cask_file}} worked successfully.
[ ] Checked there are no open pull requests for the same cask.
[ ] Checked the cask was not already refused in closed issues.
[ ] Checked the cask is submitted to the correct repo.

Thank you and welcome.


Docker image changing without a corresponding version change.

The docker tag of LATEST seems to be it's own image rather than pointing to a distinct version. Doing it this way makes me wonder if the most recent, non-latest image (2.0.0) is a reasonable alternative when LATEST breaks.
As of March 31, defining jnovack/autossh yields this on my RPi4 (image hash: sha256:51114f14d3f42a0142f5056d73ac92bb97a4a6ed5d2e9ad8221c15d190b4fce9):
autossh_web_1        | jnovack/autossh v2.0.0-4-g91ad8b5 revision 91ad8b5 built 2021-02-11T21:09:05Z
autossh_web_1        | Agent pid 9
autossh_web_1        | Identity added: (stdin) (autossh_user@router)
autossh_web_1        | [INFO ] Using STRICT_HOSTS_KEY_CHECKING
autossh_web_1        | sh: clock_gettime(MONOTONIC) failed

Yet jnovack/autossh:2.0.0 works as expected (image hash: sha256:8517e3b5f377fba6cbb81248285409ac588459f341acee3e2a78d65dda39ba81):
autossh_web_1        | jnovack/autossh v2.0.0 revision 1cb6609 built 2020-11-25T11:05:43Z
autossh_web_1        | Agent pid 10
autossh_web_1        | Identity added: (stdin) (autossh_user@router)
autossh_web_1        | [INFO ] Using STRICT_HOSTS_KEY_CHECKING
autossh_web_1        | [INFO ] Using autossh 1.4g
autossh_web_1        | [INFO ] Tunneling <IP_ADDRESS>:58080  on root@example.com:22  to caddy:80
autossh_web_1        | [INFO ] # autossh -M 0 -N -o StrictHostKeyChecking=yes -o UserKnownHostsFile=/known_hosts -o ServerAliveInterval=10 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -t -t -R <IP_ADDRESS>:58080:caddy:80 -p 22<EMAIL_ADDRESS>
Really this issue is less about the breakage in LATEST and more about the broken image versioning.

The docker tag of LATEST seems to be it's own image rather than pointing to a distinct version.

Correct.

... non-latest image (2.0.0) is a reasonable alternative when LATEST breaks.

If you need to use it in production, ALWAYS use a numbered release.  NEVER use latest.
latest is built off of the "latest" commit in the master branch.  While I take best efforts to ensure it should be working before pushing it, no developer is going to guarantee that.


CStyleTranslator support generating temp variables.

CStyleTranslator support generating temp variables.
MetalStageInTranslator use temp variable to optimize OpCompositeConstruct,
OpMatrixTimesMatrix, OpMatrixTimesVector and OpVectorTimesMatrix.

Cool, we should also do that for function calls and texture reads.


support cmdliner 1.0 interface

The Cmdliner.Arg.conv is now abstract, so it fails with this on Cmdliner 1.0:
# File "src/datakit_log.ml", line 66, characters 19-23:
# Error: This expression has type
#          ?docv:string ->
#          (string -> ('a, [ `Msg of string ]) Result.result) *
#          'a Cmdliner.Arg.printer -> 'a Cmdliner.Arg.conv
#        but an expression was expected of type
#          'b Cmdliner.Arg.conv =
#            'b Cmdliner.Arg.parser * 'b Cmdliner.Arg.printer
# Command exited with code 2.

The Cmdliner.Arg.conv is now abstract, so it fails with this on Cmdliner 1.0

No it's not. The problem is that the Arg.conv value was added to the Arg module so the conv on that line is not the one up there that is supposed to be, but the one from the module.

Fixed by https://github.com/moby/datakit/pull/531.


Version 2.1.0.RC1

First release candidate for upcoming 2.1.0 release 🎉

Codecov Report

Merging #17 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #17   +/-   ##
=========================================
  Coverage     51.25%   51.25%
  Complexity      238      238
=========================================
  Files            51       51
  Lines          1198     1198
  Branches        131      131
=========================================
  Hits            614      614
  Misses          527      527
  Partials         57       57

Continue to review full report at Codecov.

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


Diff Builder and Reader Writer Tests

Description
This PR introduces the start of a mocking/testing framework (pending other changes) along with an example of how to use it with some basic reader/writer injection tests.

DiffBuilder for creating diffs in a nice way (this likely will be wrapped into a MockConnectionHandler : IConnectionHandler when that lands @samiwh)

Note that this is in the test-project as there seems to be a Unity bug re asmdefs and test assemblies. When the above is done the Mock could live in the Core?

DynamicConvert class for generically converting snapshots -> updates. This can be expanded in the future to a full conversion suite.
Reader Writer tests for injection using the above utilities.

Will rebase this PR once #777 is merged
Tests
Ran them tests.
Documentation
Some of this will want to be documented (particular for users testing scenarios). Not yet though.
Did you remember a changelog entry?
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.
@samiwh

Superseded by #789


error: no matching package named iota-streams found

Bug description
Briefly describe the bug.
Rust version
Which version of Rust are you running?

Rust version:rustc 1.69.0 (84c898d65 2023-04-16)

Hardware specification
What hardware are you using?

Operating system:MAC OS Monterey
RAM:16 GB 2667 MHz DDR4
Cores:2.3 GHz eight-core Intel Core i9
Device:MacBook Pro (16-inch, 2019)

Steps To reproduce the bug
Explain how the maintainer can reproduce the bug.

add the following dependencies to cargo.toml
anyhow = { version = "1.0", default-features = false }
iota-streams = { git = "https://github.com/iotaledger/streams", branch  = "develop"}
copy the example code to main.rs file
run 'cargo build'  in the terminal

Actual behaviour

It occurs an error : error: no matching package named iota-streams found
How can i fix it?

streams = { git = "https://github.com/iotaledger/streams", branch = "develop"}


additions to troubleshooting

There was an error while validating job aa8898cb-407a-446a-ae1f-cebe9fb2150e Message:Error clonning repositoryDetails:System.ArgumentException: Error clonning repository ---> System.Exception: Error when trying to initialize shared repository ---> LibGit2Sharp.NotFoundException: Branch 490 not found. Available branches:
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetBranch(Repository repo, String name)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.<>c__DisplayClass3e.b__3d()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.b__0()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func1 func)    at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction(Action action)    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.InitializeSharedRepository(String url, IDictionary2 branches, String sharedRepoPath)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.VerifySharedRepository(String url, IDictionary2 branches, String tempPath)    --- End of inner exception stack trace ---    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.VerifySharedRepository(String url, IDictionary2 branches, String tempPath)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)    --- End of inner exception stack trace ---    at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository(String url, IDictionary2 branches)
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.CloneRepository()
at Microsoft.DPS.Services.LibGit2SharpSourceControlProvider.GetTreeAsync(String path, Boolean includeSubDirectories, String excludePath, IList1 extensionWhiteList)    at Microsoft.DPS.Commands.IdentifyDocumentsToPublish.ListSourceControlFilesCommand.Do(IDictionary2 context)
at Microsoft.LightweightJobEngine.Core.Language.JobWorkflow1.RunCommands(Guid jobId, IDictionary2 context, CancellationTokenSource cancelSignal)


Pages sometimes load without styles for a split second

I know we've been aware of this for some time but wanted to get it written down.
It seems we're depending on @modulz/design-system here so we're on a really old version of stitches. I'm guessing that might have something to do with it.
It would be good to upgrade to @radix-ui/design-system if possible.

@jjenzz hmm, the DS is already using the latest version of Stitches. How often are you seeing this?

@peduarte yes the @radix-ui/design-system is using the latest version but we're using @modulz/design-system for the website which is still using stitches canary.

What is @radix-ui/design-system? There's no such package
Stitches 0.2.0 is available from<EMAIL_ADDRESS>But that also come up lots of breaking changes. Colors, API, components, etc.
This is all happening in this PR: https://github.com/radix-ui/website/pull/160

I know I’ve got the rona but please don’t make me feel insane 😩😅 you committed to that repo 14 minutes ago: github.com/radix-ui/design-system
I assumed that’s what we needed because the package.json there has the latest stitches and the @modulz/design-system repo has been archived.

I know I've got the 'rona but please don't make me feel insane 😩😅 you committed to that repo 25 minutes ago https://github.com/radix-ui/design-system
I assumed that's the one we need as the package.json there has the latest stitches and this repo is using @modulz/design-system which depends on canary and has been archived.

Oh i see the confusion here, we have a repo with a mismatching package name. Well that's hella confusing.
In that case I don't know what's causing the bug but the report still stands. I get a real noticeable flash of unstyled content in the docs.

Oh 🤣 yeah, I see why it's confusing. We haven't renamed the package name yet - on purpose.
Let's leave this on, it will be solved when the PR is merged 👍

This has been resolved.


[DEP-2009] Turn off debug mode in Mendix Cloud v4

Updated https://docs.mendix.com/howto/monitoring-troubleshooting/debug-microflows-remotely to reflect the Mendix Cloud v4 process .

Approved by Tom via email.


error message: Could not find module '../encodings'

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:05:38.342Z)
OS Version: Windows 10 Pro 64
Extensions:

Extension
Author (truncated)
Version

python
don
0.7.0

code-runner
for
0.7.1

mssql
ms-
1.1.0

csharp
ms-
1.12.1

PowerShell
ms-
1.4.1

vscode-autohotkey
sle
0.2.1

Steps to Reproduce:

Uninstall VS Code 32-bit
install VS  Code 64 bit
launch
click on File/Settings

Reproduces without extensions: No

Relaunched and problem went away


Python lib examples only working with "with"

Current python lib uses "context managers" to enable usage in with statements. The canonical example from the documentation is
with VSSClient('<IP_ADDRESS>', 55556) as client:
    current_values = client.get_current_values([
        'Vehicle.Speed',
    ])
    print(current_values)

the following code does not work
databroker=VSSClient('<IP_ADDRESS>', 55556)
current_values2 = databroker.get_current_values([
    'Vehicle.Speed',
])
print(current_values2)

this is unexpected and not how it works for example with file io in python. here
file = open("some.file", "r")

can achieve the same as
with open("some.file", "r") as file:

The root cause seems to be, that without with``__enter__is not called, see the error message for the second example
Traceback (most recent call last):  File "/Users/scs2rng/Documents/Dev/kuksa-prometheus/test.py", line 11, in <module>    current_values2 = databroker.get_current_values([  File "/Users/scs2rng/.local/share/virtualenvs/kuksa-prometheus-n8PS3LmC/lib/python3.10/site-packages/kuksa_client/grpc/__init__.py", line 586, in get_current_values    entries = self.get(  File "/Users/scs2rng/.local/share/virtualenvs/kuksa-prometheus-n8PS3LmC/lib/python3.10/site-packages/kuksa_client/grpc/__init__.py", line 738, in get    resp = self.client_stub.Get(req, **rpc_kwargs)AttributeError: 'NoneType' object has no attribute 'Get'

It seems a bit unclear what the best python (coding) practice to achieve a better behavior is

If we change something we must make sure feeders, still work. As an example dbcfeeder creates client with:
 vss_client = self._exit_stack.enter_context(kuksa_client.grpc.VSSClient(
                host=self._kuksa_client_config['ip'],
                port=self._kuksa_client_config['port'],
            ))

(Which results in that __enter__method is called)

Hah, that is likely the "workaround" if you want a vss_client object.
I have seen code where __enter__ basically just returns ´self´, and the initialisation/acquiring of resources is already done in __init__. Not sure that is how context managers are intended to be used, but it still gives the advantage of cleanup via __exit__  should something go wrong, and would probably be compatible with existing code.
So that seems like a possible solution to me, that would make it easier/more obvious to use for the average py rookie. Not sure it is clean though.
Maybe @romainletendart  is still around having an opinion?

Hi guys!
Yes, in its current state, VSSClient is only meant to be used as a context manager.
In order to get it working the way you want, you could move logic from __enter__ to a new connect method (respectively moving logic from __exit__ to a new disconnect method).
Then you could call connect from within __enter__ to keep on supporting the context manager usage (respectively disconnect from within __exit__).
However, I wouldn't recommend calling connect from within __init__ as one should be able to create a client object without initiating I/O. However you could check from within get, set, subscribe methods if the client is connected and connect it if it isn't.

fixed in #526


Import custom component/endpoint into karavan

I am new to camel, apologies if this is obvious. Basically I've defined a custom component/endpoint which could be used in Java/Xml DSL. But I was not able to find a way to allow karavan aware it. Tried to build it as mvn jar and add it into application.properties in jbang dependencies but didn't work.

This is not possible yet to import custom components into the Karavan palette of components. But its a nice idea, and for this to work, then I think Karavan needs a wizard where you then upload the JAR for it to introspect the JAR for custom component metadata so it knows all its options etc.
This also means that custom components must be build and package like the standard components.
And mind that the component should ideally be the same version of Camel that Karavan uses (eg 3.18.x etc.)


Install via cli throws error

Description
The plugin throws an error if you install it through the cli.
$ ./craft install/plugin cp-nav
*** installing cp-nav
    > create table {{%cpnav_layout}} ... done (time: 0.018s)
    > create table {{%cpnav_navigation}} ... done (time: 0.023s)
    > add foreign key cpnav_navigation_layoutId_fk: {{%cpnav_navigation}} (layoutId) references {{%cpnav_layout}} (id) ... done (time: 0.023s)
*** failed to install cp-nav: Calling unknown method: craft\console\Request::getUrl()

Steps to reproduce

composer require verbb/cp-nav
./craft install/plugin cp-nav

Additional info

Plugin version: 2.0.8
Craft version: 3.0.28

same here.
verbb/cp-nav/src/CpNav.php:80 refers to Craft::$app->getRequest()->getUrl() which is not available on CLI