stderred: init at unstable-2021-04-28

Upstream hasn't seen a release in forever (2012)
so let's just go with unstable

Motivation for this change
Fixes https://github.com/NixOS/nixpkgs/issues/123057
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

theres now 2 prs for this https://github.com/NixOS/nixpkgs/pull/143746

theres now 2 prs for this #143746

linked one got merged earlier.


layers: Rewrite ViewportState checks and tests

deal with #1685
report correct object type
improve? msg texts a bit
add extension structs to pNext check
use correct printf token where possible
make tests to match  changes + improve coverage (nullptr +
multiViewport)
remove viewport state (and other stuff) from tests that do not use it
merge some tests together that are too related
remove unnecessary dynamic state from PSOLineWidthInvalid)
correct invalid VkViewport in some places
correct missing/null pViewport and pScissors in some places
update and correct the VUID database

This LGTM and is passing testing so I'll merge.
In general this is alot of code for a single CL. In the future, if possible, it would be good to split all of the test changes across multiple CLs to simplify review.

Hey @tobine, something in this (we think) last patch set is causing Nvidia Linux to crash when running DynViewportAndScissorMismatch, can you take a look?

Yes I'm looking at this. Crashing on pipeline creation. Also crashing on Nvidia PixelC w/ Android OS.

@tobine That's odd, the set up should be very similar to the other tests. Do they crash too?

Note to self:

The VkPipelineRasterizationStateCreateInfo is weird (`lineWidth?!)
gp_ci is missing the shader_stages_size
VkDescriptorSetLayouts should not be necessary for the tests


Using napari reader plugins without napari

🚀 Feature
At the EMBO course that @kevinyamauchi, @jo-mueller had a couple of questions that I think are doable but pretty hard to do currently. I know @tlambert03 had made efforts in this direction but I don't have them in my head right now.
It would be useful to be able to do something along the lines of napari.read_path that uses all of our plugin infrastructure but returns the list of layer data tuples rather than a viewer.

The main issue that came up when this was discussed last at https://github.com/napari/napari-plugin-engine/issues/24 is the API.    If you want to weigh in on exactly how you'd like the api to be, I can pick it up again

(There is a minimal example on how to achieve this over on that thread too)


[OCPCLOUD-1416] Add ControlPlaneMachineSet to Machine API group

This PR adds the new ControlPlaneMachineSet CRD to the machine api group as described in openshift/enhancements#1008
To provide an example, a valid ControlPlaneMachineSet will look something like
apiVersion: machine.openshift.io/v1
kind: ControlPlaneMachineSet
metadata:
  name: cluster
  namespace: openshift-machine-api
spec:
  replicas: 3
  strategy:
    type: RollingUpdate
  selector:
    matchLabels:
      "machine.openshift.io/cluster-api-machine-role": master
      "machine.openshift.io/cluster-api-machine-type": master
  template:
    machineType: machines_v1beta1_machine_openshift_io
    machines_v1beta1_machine_openshift_io:
      failureDomains:
        aws:
        - placement:
            availabilityZone: us-east-1
        - placement:
            availabilityZone: us-east-2
      metadata:
        labels:
          "machine.openshift.io/cluster-api-machine-role": master
          "machine.openshift.io/cluster-api-machine-type": master
      spec:
        providerSpec:
          value:
            // Configuration for the provider specifics goes here

As this project is not part of the no-ff process, I'll apply the labels manually
/label docs-approved
/label px-approved
/label qe-approved

@deads2k I've switched the machines.v1beta1.machine.openshift.io to use underscores instead as I'm now thinking some json libraries won't like it, even though initial testing looked ok.
Just got one outstanding question on the default, which I've left alone for now, PTAL https://github.com/openshift/api/pull/1112#discussion_r819451262

Actually, the more I think about this, this resource has to be namespace scoped, PTAL https://github.com/openshift/api/pull/1112#discussion_r819497734

Actually, the more I think about this, this resource has to be namespace scoped, PTAL https://github.com/openshift/api/pull/1112#discussion_r819497734

I suggest against taking this approach and instead building the API that will allow evolution of different things to be different.  I've left a comment above explaining why, but I will let this play out.
/approve

Made some minor changes adding missing optional tags for the status fields and making the AWSResourceReference a discriminated union, I think this is now ready to go

/lgtm


Compatibility with Symfony 6

Both symfony/options-resolver and symfony/yaml report "no significant changes" in their v6 changelog.

Thank you @Philipp91

Thanks for the swift release! Five-star package maintenance :star: :star: :star: :star: :star:


Updates distribution spec to system spec

Closes #831
We had another PR attempting to do this too, but it the stuff has all been updated a ton since then so I just did it fresh to GTD.

Hi @armahillo, thanks so much for the pull request! It looks like you have a rubocop violation on your PR. If you run rubocop -a it will fix that for you and your PR should be good to go!
:trollface:


Added HTML login page

[-] Created static folder - will contain any 'static' related files such as images, videos, text files, etc..
[-] Add falcon logo to static folder.
[-] Created templates folder.
[-] Created login.html file - display falcon's initial login form.
[-] Change layout using css
[-] Add CSS design
Resolve #9.

Sorry for opening a new PR, the previous had a few commits which I couldn't squash for some reason.
@kobihk @nunnatsa @mgold1234 @avraham1992 @AvivLiberman @aradz1997

[-] Created static folder - will contain any 'static' related files such as images, videos, text files, etc.. [-] Add falcon logo to static folder. [-] Created templates folder. [-] Created login.html file - display falcon's initial login form. [-] Change layout using css [-] Add CSS design Resolve #9.

why it was closed without being merged?

[-] Created static folder - will contain any 'static' related files such as images, videos, text files, etc..
[-] Add falcon logo to static folder.
[-] Created templates folder.
[-] Created login.html file - display falcon's initial login form.
[-] Change layout using css
[-] Add CSS design
Resolve #9.

Please be consistent with the timing of the sentences.

I closed it by mistake:(

Done, but no success with squashing these commits.. any advice ?

Done with commit squashing.


fix: MD029/ol-prefix

Ordered list item prefix should be either 1 or a consecutive number

Docs Build status updates of commit 64387ba:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/ai/real-time-recommendation.md
:white_check_mark:Succeeded
View

docs/reference-architectures/dmz/secure-vnet-dmz.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Is there a "recommended" way of cloning a graph? (is this on roadmap?)

Is there a "recommended" way of cloning a graph?
Will cloning be added to the API at some point?
Thanks

If you use the graphlib-dot library you can just parse it from json back and forth multiple times to get multiple graphs

@coli thanks. I'm closing the issue but have not confirmed your solution as I'm not even sure in which "project" I needed it.
Thanks again


Micro bosh deployment doesn't work for dhcp based networks in Openstack Ice House.

Hi,
I have been trying to deploy micro_bosh using openstack icehouse and dhcp based networks.
Following is the network section of my micro_bosh.yml file:
            network:
              type: dynamic
              cloud_properties:
               net_id: <dhcp_net_id_from_neutron>

When i execute
bosh micro deployment micro_bosh
I am getting the following error:
/usr/local/rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/uri/generic.rb:213:in `initialize': the scheme https does not accept registry part: :25555 (or bad hostname?) (URI::InvalidURIError)
However this error is not seen when i specify an IP address in the network section like this:
            network:
              type: dynamic
              ip: x.y.z.f
              cloud_properties:
               net_id: <dhcp_net_id_from_neutron>

I am sure that the DHCP address should not require us to specify an IP address.

...+1


Chat button and the bottom to top button mobile view aligned fixed

issue #308 solved
Description
Chat button and the bottom to top button mobile view aligned fixed
Motivation and Context

How Has This Been Tested?
Responsive added
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@MAVRICK-1 review the PR


Quickstart

增加 megflow_quickstart 功能
run_with_plugins 改名为 megflow_run
增加 build .whl 的 dockerfile

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Unable to turn off "breeze" modes on Breezeless device

The device made 2 beep signals and the mode stayed ON. IP of the Breezeless device is <IP_ADDRESS>.
I am sharing with you the debug log from HA:
home-assistant_midea_ac_2024-08-10T20-00-44.710Z.log

You can't turn off any of them or just breezeless?

On breezless device I can't turn off any mode. For non breezless device the mode "Breeze Away" is working (you can turn it off)

+1, I just noticed the same issue with my Midea Breezeless E devices

Ok. Thanks for the update. I'll look into this

Can you switch between modes? e.g. Breezeless to breeze away?

Tracking this issue in msmart-ng here: https://github.com/mill1000/midea-msmart/issues/161

Can you switch between modes? e.g. Breezeless to breeze away?

Yes, that works fine

Can you switch between modes? e.g. Breezeless to breeze away?

Yes, it is possible to change the modes. But on every mode change and mode turning on device has 2 beeps instead of one like is on all other functions.

This should be fixed in 2024.8.1

Thank you for the quick fix.

Thanks for the quick fix! Much appreciated!
On Fri, 16 Aug 2024 at 20:43, Zeljko Lav Pispek @.***>
wrote:

Thank you for the quick fix.
—
Reply to this email directly, view it on GitHub
https://github.com/mill1000/midea-ac-py/issues/212#issuecomment-2293985969,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADVF5WFRUILDU624OGVFUDZRZB3TAVCNFSM6AAAAABMKC2WMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJTHE4DKOJWHE
.
You are receiving this because you commented.Message ID:
@.***>

No problem. We've all been there

I can confirm that all modes are working.


How to override CoreDNS forward?

Hi. I'm having trouble using my private DNS for coredns as described here: https://github.com/k3s-io/k3s/discussions/7822
My host's /etc/resolv.conf contains only one nameserver
nameserver <My-Private-DNS-Server>

DNS resolving on the host works fine but not in CoreDNS.
What I tried:
Create a custom-dns configmap (not working)
forward.override: |
    forward . <My-Private-DNS-Server>

Using resolv.conf (not working)
forward.override: |
    forward . /etc/resolv.conf {
      policy sequential
    }

Hacking the coredns ConfigMap
What works is the following in Corefile:
forward . <My-Private-DNS-Server>

But I don't want to override /var/lib/rancher/k3s/server/manifests/coredns.yaml or coredns ConfigMap.
Creating an own zone
What also works is creating a custom zone.
  custom.server: |
    example.com {
      forward . <My-Private-DNS-Server>
    }

But I don't want to create a specified zone but using the forward for all requests not known to the cluster.  I want either to add coredns-custom to override the default forward or get coredns using the host's DNS (/etc/resolv.conf)
References:

https://github.com/k3s-io/k3s/discussions/7822
https://github.com/k3d-io/k3d/issues/816
https://github.com/k3s-io/k3s/issues/462

You can't use a local resolver on <IP_ADDRESS> with pods, as each pod has its own loopback address within the pod's network namespace - it will not reach the host's loopback interface.
You should give your local resolver an actual IP on your network, and either put that in the host's resolv.conf, or create another resolv.conf with the preferred configuration, and point k3s at that file with the --resolv-conf flag.


K8SPS-276 - Remove SetSemiSyncSize and SetSemiSyncSource functions

CHANGE DESCRIPTION
Problem:
Seems they are orphaned functions since semi sync replication is removed completely.
Solution:
Remove
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Are the manifests (crd/bundle) regenerated if needed?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PS version?
[ ] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-bootstrap
passed

gr-demand-backup
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 24 out of 24

commit: https://github.com/percona/percona-server-mysql-operator/pull/420/commits/6cbd3988f3a433858419e951295af7602877e66e
image: perconalab/percona-server-mysql-operator:PR-420-6cbd398


Toolbar Left Positioning

Related Issue
Fixes #294
Proposed Changes
Fixes positioning of toolbar for selections made on the left hand side of an editor.

Merged!


Can I use Julia 1.1 with the code now?

Hi,
I tried to install ngsim_env with Julia 0.7 on Mac. Met a lot of problems. Will it be easier to install with Julia 1.1? Is the 0.7fixes branch working now?

In the instruction, at the end of Install ngsim_env part:

Add the local AutoEnvs module to our julia environment
] dev ~/ngsim_env/julia

I guess "] dev" is a typo?

Hi, I am executing this command:
julia extract_ngsim_demonstrations.jl
This is like extremely slow, 1 second per frame for the total of 9500*6 frames. Is it normal?

Thanks for the question. We apologize for not updating the branch name. The 0.7fixes branch should work with Julia 1.1 now. Please go ahead and follow the install instructions and they should get you up and running.
No the ] dev is not a type. The ] key enables you to enter the package mode in the Julia REPL

Also, we don't currently offer support for Mac. In the past we have encountered many errors. If you can get it to work, that is great, and please let us know. I will close the issue now since the main question has been answered.


CI: Don’t run tests in parallel

An attempt to reduce flakiness by not parallelizing, until the tests can be reworked to not rely too much on internet connectivity.

Superseded by https://github.com/JohnSundell/Marathon/pull/142


Consider using crypto to generate md5/sha1 hashes

First of all, thank you for the library!
Have you considered using crypto.createHash to create md5/sha1 hashes instead of the js dependencies?
This would allow us to use your libraries in non-node runtimes like cloudflare workers (currently it fails because js-md5 contains eval which is usually a no-no for security reasons).
I created a temporary fork and replaced the dependencies for the native crypto and all tests passed succesfully, can create a PR if you agree.
Thanks!

First of all, thank you for the library!
Have you considered using crypto.createHash to create md5/sha1 hashes instead of the js dependencies?
This would allow us to use your libraries in non-node runtimes like cloudflare workers (currently it fails because js-md5 contains eval which is usually a no-no for security reasons).
I created a temporary fork and replaced the dependencies for the native crypto and all tests passed succesfully, can create a PR if you agree.
Thanks!

Hi, is it possible to adapt this script to work in a browser?

I think this library is only exported as a commonjs module. If it is exported as an esmodule + those two dependencies I mentioned are replaced, this would be 100% browser compatible.

First of all, so cool that a service I've used in the past (forwardemail) cloned one of my repos :D
Sure, just added node:crypto @titanism

Also created the PR #37 to merge back to upstream. Rebased my changes on top of current master so the commit is clean 👍🏽
Let me know if you have any questions @danakt


Update pg_partman in the message_queue stack

I assume no breaking changes right? its only here because pgmq needs it, i havent checked 5.2's behavior.

Via Slack, @keithf4 tells me only bug fixes and new features.


split/copy inventory items

In GitLab by @Eligor on Nov 2, 2021, 10:22
Hi, i wanted to suggest a feature to split items into the inventory of a PC.
Right now, if you have a stack of potions (or any other items), to split the item, you need to pass it through another sheet, so when a player need to to split potions, scrolls, etc between the backpack, bag of holding, bandoliers, they need to do this workaround every single time. Is there a way to implement a command to split items? like ctrl+click or shift+click and a popup appear the same way when u give an item to another sheet.
Also, could be useful to have a button (same as modify/delete) for copying the item, especially for Loot Sheet.

Probably related issues:
#4543
#2429


I've made such a module, hopefully will be included soon.


Added Kotlin UTC example

Your PR isn't UTC only, as it is using the system's timezone that you run it on.


need a way for users to host JS

see https://github.com/twosigma/beaker-notebook/issues/421
the user should not copy files deep into the app.
instead, they should configure the app to find the user's files.
ie there should be a JS loadpath and all directories in the path should be served by the core.

actually, i am not sure a JS loadpath is the only solution to this.
in particular, that would not work for sharing notebooks, or saving and loading elsewhere.
to handle that, the image would need to be stored in the notebook.
we already plan on supporting drag-n-drop of images into the notebook, but the plan was they would show up as a cell.  there could be a drop-target to just put them in the namespace, and then there could be a way to get them into a data URI for an img.

So whereas the native way of doing this is through the notebook namespace, users need to import code that refers to files using their regular APIs.  There is ample demand to provide files for beaker's internal web server.
Perhaps beaker.mapDirectoryToWeb(path, mountPoint) that maps a directory into the namespace of Beaker's web server?  Then your files get stored in a location that you make and manage,
and so you can generate the files there, and then you can refer to them in your html as "mymount/myfile.csv".
Perhaps Beaker should always just map "tmp" to ~/beaker/v1/nginxXXXX/web?
And the location of this directory is also made available by beaker.tmp().
This also brings up the cwd issue.  If it were always set to the location of the notebook itself,
then perhaps that directory could always be mapped from "notebook"?  then your python
code could write a file with a local name "xxxx" and you could refer to it in html as "notebook/xxxx",
no configuration required?  dangerous?

Unfortunately Java has very weak support for setting the CWD so I don't see how we can make it track the current notebook unless we use a different JVM for each notebook.  And using ~/.beaker/v1/nginxXXX/web means it would be different every time you run Beaker, which means you couldn't just throw some files in there and load them at your leisure.  That leaves beaker.mapDirectoryToWeb or a constant location like ~/.beaker/v1/web.  Or JVM/notebook...

We talked about this and came up with the following plan for v1.3:

when the rest of the dot files are created also create ~/.beaker/v1/web and use nginx to serve the contents of this directory from http://<IP_ADDRESS>:8801/user, hence in HTML in a notebook can say something like  (absolute). Contents are managed by user.

with every session, create ~/.beaker/v1/nginxXXX/web/$sessionID and use nginx to serve its contents from http://<IP_ADDRESS>:8801/beaker/#/session/sWTIJo/notebook.  Then in a notebook you can say  (relative) and to generate that file you need the absolute path to that directory which you can get with a new API beaker.getWebPath().

The plan's part 1 was implemented and has been merges. Part 2 is very tricky: My diego/430 branch already creates the per-session directories, and uses a cookie to tell nginx the session-id, so that nginx can route to the correct session temporary directory. However, cookies are not a reasonable solution, since multiple tabs on different sessions would fight for control of the cookie. The true solution is adding the session-id to the notebook's relative path (i.e. instead of //beaker/notebook/, use ///beaker/notebook/)/

Part 2 will have to wait for v1.4

https://github.com/twosigma/beaker-notebook/issues/1371


RemoveUnusedProperties in removePrimitiveAttributes tries to remove undefined technique

After removing the normals in the Pipeline with removeNormals a material is left without a technique. The technique referenced before the normals where removed is also no longer available. In the removeAll step of the pipeline following the removeNormals, the removePrimitiveAttributes tries to access the material and its technique at line 400 of RemoveUnusedProperties.js . The material exists, but the technique returns undefined, causing an unhandled rejection.
Im not sure if a) the material should have been removed at the same time as the technique its using was removed in removeNormals or b) the removePrimitiveAttributes function should be able to handle a missing technique.

If I try to ignore the missing technique in the material, the issue reemerges in processModelMaterialCommons.ensureSemanticExistenceForPrimitive at line 806, when the program should be accessed. This leads me to believe the issue actually lies in the removeNormals step?

removeNormals should regenerate the technique, but I guess it doesn't update the material properly. I'll look into this in a bit. Thanks for the detailed report!


German umlauts won't work.

I press "test äöüß".
a gives me:

In earlier versions, this was resolved by running the program with a -u to enable utf8 support.
In the current version, this won't work. The program will run, but will crash when a utf8 multi-byte glyph is rendered due to a known but untracked bug in the as/fonts package.
Ultimately, there should be a way to render valid utf8 runes and revert to byte representation when an error replacement character is normally encountered. I haven't looked into that yet, but there would need to be an efficient way of doing that.
In the meantime, this is a good reminder for me to write up that fonts bug and fix it when time permits so that the -u flag actually works.

Yes, eventually. The problem of utf8 not being idempotent prevented this from being the default before (invalid utf8 is converted one way into a replacement character which is unacceptable for binary files).
The flag -u is off by default because it's not well tested yet, but it shouldn't crash when enabled anymore.

FYI, -u is still not quite working.
New Windows 10 machine, fresh Go installation, typing "Zäune und Bäume" ("fences and trees", does not need to make sense, does it?) inside a -u:

You might see the superfluous spaces.


[BUG] Windows 2019 - Disk 1 has the same disk identifiers as one or more disks connected to the system

Describe the bug
In Windows 2019 we can see this warning in the eventlog:
Disk 1 has the same disk identifiers as one or more disks connected to the system. Go to Microsoft's support website (http://support.microsoft.com) and search for KB2983588 to resolve the issue.

To Reproduce
Install Windows 2019 as a VM within Harvester, reboot and verify eventlog
Expected behavior
All disks attached to a VM should have unique IDs.
Environment

Harvester ISO version: 1.0.2
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): KVM

I see this a lot in my win server VM too. Any work around？


Enable ReqMgr2MS Transferor module in read-only mode

The idea is to keep running this daemon in a dry-run mode such that we can check whether it's coming up with reasonable data-placement results. We also have to x-check the MicroService output with what is done by Unified.

@vlimant is Unified logging how data gets placed? Is the data-placement done in a campaign or request-basis? If you can give us some pointers, we'll definitely need those for the consistency checks here.

There are logs in transferor and trace in phedex of what block went where.
Given that there is a random choice it’s going to be hard to make a one to one comparison

For the purpose of this issue title it is implemented already and we can close it. The readOnly mode is configuration parameter now and MSTransferor and MSTransferorMonit classes perform the status transition.

Title is ambiguous! How about we close it once we have reqmgr2ms running in read-only mode in cmsweb production?

ok
On  0, Alan Malta Rodrigues<EMAIL_ADDRESS>wrote:

Title is ambiguous! How about we close it once we have reqmgr2ms running in read-only mode in cmsweb production?
--
You are receiving this because you were assigned.
Reply to this email directly or view it on GitHub:
https://github.com/dmwm/WMCore/issues/9136#issuecomment-496517750

Service is now in production, with the status transition enabled, but data transfer disabled. As supported by the configuration file:
https://github.com/dmwm/deployment/blob/master/reqmgr2ms/config-transferor.py#L70-L71
I'm closing this ticket.


[screengrab] updated the falcon dependency version

fixes: #15074

I think we can now close this in favor of https://github.com/fastlane/fastlane/pull/15217
I'm assuming that PR gets merged, of course.

Waaaiittt... How did Github close this?! I force pushed a rebase and it closed it 😱

@RishabhTayal Do you want to open a new PR for this or do you want me to? I'm super confused on what happened here

Let me try.

Oh wait... it looks like the AndroidX PR had the same version in it so no diff 😛 So this change is already in master
🙄 at me

no problem.


Does not work behind reverse proxy

Like the LinkedIn authenticator plug-in, this one does not work when used behind a reverse proxy. This is the case because the callback uses the URL of the request instead of computing the callback as was done when redirecting to Dropbox.

Fixed in release 1.0.0


proxyWindow on mlc-layout

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
0

💛  - Coveralls


No documentation on how to use GqlThrottlerGuard with Subscription

Is there an existing issue that is already proposing this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe it
I am using global throttler guard for my graphql api. But I get an error when I am adding subscriptions
"Cannot read properties of undefined (reading 'ip')",
It is thrown bu GqlThrottlerGuard
Describe the solution you'd like
It would be great to have section in documentation here: https://docs.nestjs.com/security/rate-limiting#graphql how to handle it. I had to dig into your github code to see that there is a @SkipThrottle() decorator
Teachability, documentation, adoption, migration strategy
No response
What is the motivation / use case for changing the behavior?

GraphQL Subscriptions, like general websockets, act a little bit differently. Can you get me a reproduction with subscriptions enabled and I can work on the documentation of how to make it work with the throttler?

@vytautas-pranskunas- it is just a matter of @SkipThrottle() - which I have found by diging into your repo code or you can make something else for people who wish to Throttle subscription messages :)

I am running into a similar issue where all Query, Mutation operations are fine but the GqlThrottlerGuard throws Cannot read property 'header' of undefined error for GraphqQL subscription. Do I need to be doing something different? Or is skipping the only option at the moment?

@aliabbasrizvi you'd need to find a reliable way to allow for writing headers of the websocket. The error comes from around here. If you can get a reproduction I can probably find something to use here

For those who are facing with the issue like @aliabbasrizvi, you just need to put context: ({ req, res }) => ({ req, res }) into your GraphQLModule configuration!

Simply adding this to the GraphQLModule configuration works, maybe this should be added to the ReadMe and this problem should be closed @jmcdo29 :)

For those who are facing the issue like @aliabbasrizvi, you just need to put context: ({ req, res }) => ({ req, res }) into your GraphQLModule configuration!

Simply adding this to the GraphQLModule configuration works, maybe this should be added to the ReadMe and this problem should be closed @jmcdo29 :)

@jmcdo29  any update?
Still do not know how to use GqlThrottlerGuard with Subscription.
When use
@Injectable()
export class WsThrottlerGuard extends ThrottlerGuard {
  async handleRequest(context: ExecutionContext, limit: number, ttl: number): Promise<boolean> {
    const client = context.switchToWs().getClient();
    const ip = client._socket.remoteAddress;
    const key = this.generateKey(context, ip);
    const { totalHits } = await this.storageService.increment(key, ttl);

    if (totalHits > limit) {
      throw new ThrottlerException();
    }

    return true;
  }
}

Throw  Cannot read properties of undefined (reading '_socket')
if use
@Injectable()
export class GqlThrottlerGuard extends ThrottlerGuard {
 getRequestResponse(context: ExecutionContext) {
   const gqlCtx = GqlExecutionContext.create(context);
   const ctx = gqlCtx.getContext();
   return { req: ctx.req, res: ctx.res };
 }
}

Throw error Cannot read properties of undefined (reading 'ip')
Is there an example to set GqlThrottlerGuard  with subscriptions


Program is inoperable when trying to download large lists of videos

Version
v1.10.3
Platform
Windows 10
Steps to reproduce
If you try downloading a whole youtube channel the app gets impossible to operate. Channel doesn't matter and the settings are default. The number of videos on the channel might be the key factor as to why the program gets inoperable.
Details

Copy link of any youtube channel
Paste it in the program
Long wait and program starts to chug and freeze

Checklist

[X] I have looked through existing issues to make sure that this bug has not been reported before
[X] I have provided a descriptive title for this issue
[X] I have made sure that that this bug is reproducible on the latest version of the application
[X] I have provided all the information needed to reproduce this bug as efficiently as possible
[ ] I have sponsored this project

I downloaded my private music youtube playlist with more than 500 videos and it worked quite fine. A few videos failed to download but then I clicked the retry button and everything worked.
Are 500+ videos not enough to trigger this problem?

The move to Avalonia should have made this better


Track2 flaky test improvements

Fix a test that sometimes fails if autolockrenew occurs an additional time before expiry, by having flexible wait durations.
(These changes were made in T1, but I may not have carried all changes over when porting tests.)

/azp run python - servicebus - tests

/azp run python - servicebus - tests

/azp run python - servicebus - tests


Disable Appsignal monitoring for bulk email sending

When sending large email responses (greater than 200,000 emails) the job appears to lock up at the end of queuing all the emails. Since we are also seeing a great deal of memory usage by the delayed_job processs our working theory is that Appsignal is tracking all of the SQL queries and then trying to send gigabytes of data to the API causing it to hang.
We are attempting to workaround this issue by suspending instrumentation for the period of the loop - hopefully this will still give us some usable information such as the job duration and queue time.
Our initial source for this information was appsignal/appsignal#57

LGTM

LGTM too


Azure OpenAI updates

Nuget package updates:

System.ClientModel to version 1.1.0
OpenAI to version 2.0.0-beta.12

Latest API updates for Azure OpenAI

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.AI.OpenAI


[MM-11274 & MM-10797] Add profile pop-up to combined system messages and fix it's translation issue

Summary
Add profile pop-up to combined system messages and fix it's translation issue
Ticket Link
Jira ticket:

MM-11274
MM-10797

Checklist

[x] Added or updated unit tests (removed related tests due to transpiling issue on babel/jest that need to deal with separately)
[x] Has UI changes
[x] Includes text changes and localization file updates

Device Information
This PR was tested on: [iOS simulator and Android emulator]
Screenshots
iOS screen capture and screenshots

https://youtu.be/qW9QDhHR-yk
on other themes:

Android screen capture:

https://youtu.be/rCDGaJ9FKP0

Thanks @asaadmahmood and @hmhealey for helping out on how to fix inline text issue!

Looks good as long as the changes to the translation files won't cause a conflict. I'll defer to @enahum on that though

:+1: on using the new lifecycle methods


Only use ChangeLog to inform users, not for acknowledgement

As announced on the mailing list, we are no longer using the changelog file to credit external contributors. This is effective retroactively from the latest release (2.24). As a consequence:

Remove pending changelog entries that were for acknowledgement only.
Update the rules in the changelog readme file. I also wrote a summary of when (not) to write a changelog entry.

Backports: 2.16, 2.7

CI failures are because of error in CI infrastructure and this PR is documentation only.


ng-file-upload gives error message twice

Hi,
Html
<button ngf-select="vm.addPictures($files)" ngf-multiple="true" ngf-pattern="'.jpg,.png,.jpeg,.bmp'"
                        accept="image/*">
                    Select Files
                </button>

JS
 //to add Pictures
   vm.addPictures = function ($files) {
          vm.upload = [];
          if ($files && $files.length) {
          //$files: an array of files selected, each file has name, size, and type
              for (var i = 0; i < $files.length; i++) {
                      var $file = $files[i];
                        (function (index) {
                          vm.upload[index] = upload.upload({
                             url: "/api/Picture/AddPictures",
                             method: "POST",
                             data: {},
                                    file: $file
                                }).progress(function () {
                                }).success(function (data) {
                                    vm.pictureList.push({
                                        id: vm.pictureList.length + 1,
                                        url: '/common/pictures/' + data.newImageName,
                                        note: '',
                                        isSelected: true,
                                    });

                                }).error(function () {
                                });
                            })(i);
                        }
             } else {
  abp.message.error('Invalid file format', 'Error');//this is the error msg which it fires twice.
             }
          };

Question : When user selects the wrong format it gives the error message as expected.But after that when user tries to select the image again by just pressing the "Select" button,It shows the same error message again even without selecting the image.Could you tell me how to fix this ? Thanks.
When I select a wrong file type,it looks like this...
Debug mode

follow stackoverflow.

@danialfarid Can you give me an example of how to handle ngf-model-invalid with the multiple File select ? I cannot use Angular form with the submit button.Thanks.
Please update the below mentioned fiddle and let me know the new url.
Fiddle

The first fiddle and demo page are using ngf-model-invalid

@danialfarid Yes,But it is with the form no ? I need to do it without the submit button.So how can I do that ? Thanks.
 *required

replace it with file.$error.required

@danialfarid Yes,We can use in-line messages as you mentioned above.But unfortunately we cannot use Sweetalert kind of popup messages with this api. I think it's a BUG on this api.I have created a Fiddle by using Doc's 2 fiddle.Please see the issue.Thanks.
Test case 1 : Select the non jpg file from the popup.Then it will show the Invalid File alert box.That is fine.
Test case 2 : After that close the alert and try to open a file select box by using Select File button.Then simultaneously it will open an Alert box and the Image box.That is the BUG here.
Here is the Fiddle : Alert Bug On This Api

@Sampath-Lokuge That's expected behaviour previous files will be reset and set to null upon clicking on the button. There are other issues and mentions in the docs about this.

@danialfarid Where is this note in the docs (did not find it), and how to prevent this need of double clicking ?

@DmitryGonchar https://github.com/danialfarid/ng-file-upload#file-select-and-drop and see the validation section.


Not able to create container on BananaPi

I recently got the ir-reader for my Viessmann heating system and tried to get the data to Home Assistant.
MQTT is the way I need to go as I have a docker instance of Home Assistant running where no Add-Ons are working.
The BananaPi is in the heating room, a x86-Server running other containers in another room.
I installed docker and portainer on the BananaPi successfully but when I try to deploy the stack for vcontrold I get the following error:
docker: no matching manifest for linux/arm/v7 in the manifest list entries.
I'm using Arnbian 23.02.2 Jammy with Linux 5.15.93-sunxi Kernel.
Is it possible to run an armV7 container of vcontrold? I successfully compiled an started the original version but this version don't have MQTT as far as I see.

I think if you build the container on your BananaPi it should be compiled with your current architecture and you should be able to start the image. But you can also try to add the tag arm32v7 to the base image of debian-slim FROM arm32v7/debian:stable-slim

Hey, thanks for the reply.
If I try to make a Stack with Portainer the following error occurs during deployment:

failed to deploy a stack: vcontrold Pulling vcontrold Error Error response from daemon: pull access denied for michelmu/vcontrold-openv, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Then I downloaded the code and replaced the string in it to FROM arm32v7/debian:stable-slim.
During the deployment of the image a lot of apt-get and installations are working in the background but it stops with an error:

Step 6/9 : ADD config /docker/vcontrold/config/
ADD failed: file not found in build context or excluded by .dockerignore: stat config: file does not exist

I think this is related to the config file. I tried default and a link to my docker-data directory.

The build fails because you don't have the config folder. I would suggest to clone my repo and then do the docker build process on the command line.

Looks good for now - I can't test at the moment because the reader isn't connected and I'm not at home. But build was okay:

[+] Building 415.9s (12/12) FINISHED
=> [internal] load build definition from Dockerfile                                                                          0.2s
=> => transferring dockerfile: 538B                                                                                0.1s
=> [internal] load .dockerignore                                                                                0.4s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/arm32v7/debian:stable-slim                                                         0.0s
=> [1/7] FROM docker.io/arm32v7/debian:stable-slim                                                                           0.1s
=> [internal] load build context                                                                                0.3s
=> => transferring context: 214B                                                                                0.0s
=> CACHED [2/7] RUN apt-get update &&     apt-get upgrade -y                                                                 0.0s
=> [3/7] RUN apt-get install -y build-essential vim subversion automake autoconf libxml2-dev mosquitto-clients git cmake   282.5s
=> [4/7] RUN mkdir openv && cd openv && git clone https://github.com/openv/vcontrold.git vcontrold-code                      5.2s
=> [5/7] RUN cd /openv && cmake ./vcontrold-code -DVSIM=ON -DMANPAGES=OFF &&     make &&     make install                   31.2s
=> [6/7] ADD config /etc/vcontrold/                                                                                1.0s
=> [7/7] ADD startup.sh /                                                                                0.6s
=> exporting to image                                                                                94.1s
=> => exporting layers                                                                                94.0s
=> => writing image sha256:2dd734eb42efbc5b3bb029d374174172c51cccb58ab70b5f88f46a3dd8df1641                                  0.0s

Building stack now also worked (after excluding USB-device) and container is up and running.
I got some messages in logs but maybe they are related to missing reader? What about the last line about mqtt?

Device /dev/vitocal
chmod: cannot access '/dev/vitocal': No such file or directory
vcontrold gestartet (PID 10)
MQTT: aktiv (var = true)
Aktualisierungsintervall: 30 sec
Lese Parameter: getTempWWObenIst,getTempWWsoll,getNeigungHK1,getTempVL,getTempRL,getPumpeStatusZirku,getBetriebArtHK1,getTempVListHK1,getTempRListHK1,getStatusVerdichter,getJAZ,getJAZHeiz,getJAZWW,getTempA,getPumpeStatusHK1
/startup.sh: 24: /config/mqtt_sub.sh: not found

One thing - I tried to manually import your image from dockerhub but this also doesn't work.

Maybe you can add the tag "arm" to the project then it could work without manually steps? Because the ludoviclehmann/vcontrold
image is downloading fine.

Some more errors appearing:
SRV ERR: command unknown
/startup.sh: 27: /config/mqtt_publish.sh: not found

It's working now - I can connect to the controller using commands and also see MQTT messages in MQTT-Explorer.
Thank you very much for helping so far.
Your commands in expamle are not working so I connected to the controller with vclient -h <IP_ADDRESS> -p 3002 -c "command" and read a list of possible commands.
Some commands are working like getLZSNH or getStatusStoerung but a lot of temperature values are at -0,1°C
The controller is a Viessmann Vitotronic 200 Typ KW2 and I selected this one in the vcontrol.xml.
Do I have to replace the xml files?

Yes - I had to replace the xml files. I configured a new set from the original project and now it's working fine.
Next step is to configure sensors in Home Assistant.
Yeah!


Support GetAllSecrets for the fake provider

Problem Statement
SSIA. I've added the GetAllSecrets method to the fake provider to support dataFrom.find.
Related Issue
Closes https://github.com/external-secrets/external-secrets/issues/2835
Proposed Changes
Add the GetAllSecrets method to the fake provider.
For Reviews
Feel free to use the following manifests to check the behavior locally 🙂
apiVersion: external-secrets.io/v1beta1
kind: ClusterSecretStore
metadata:
  name: fake
spec:
  provider:
    fake:
      data:
      - key: "some-key1"
        value: "HELLO1V1"
        version: "v1"
      - key: "some-key2"
        value: "HELLO2V1"
        version: "v1"
      - key: "some-key2"
        value: "HELLO2V2"
        version: "v2"
      - key: "another-key"
        value: "Hi"

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: example
spec:
  refreshInterval: 1h
  secretStoreRef:
    name: fake
    kind: ClusterSecretStore
  target:
    name: secret-to-be-created
  dataFrom:
  - find:
      name:
        regexp: some-key.*

Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

Thank you! Merging...


Add homebrew installation method

Would it be possible to add a way to install this via homebrew? Cool project btw!

Hi thanks for the suggestion. I'm glad that you liked this app.
Unfortunately, I don't have any experience for packaging apps to homebrew since I don't use it and don't have enough interest for that. But I would be happy to review PRs that provides this installation method.

tap ownership
@AmmarAbouZor The tap should be owned by the same user who owns the app:

example src repo: https://github.com/GabAlpha/basilk
example tap repo: https://github.com/GabAlpha/homebrew-tap

So you'probably have something like: https://github.com/AmmarAbouZor/homebrew-tap
rough sketch of your formula
class Tjournal < Formula
    desc "Your journal app if you live in a terminal"
    homepage "https://crates.io/crates/tui-journal"

    on_macos do
      on_arm do
        url "https://github.com/AmmarAbouZor/tui-journal/releases/download/v0.12.0/tjournal-mac.tar.gz"
        sha256 "6cfe22af1a2478f87c366cfb9433746e40c5e443ced94966a34a5221472bddd8"
      end
      on_intel do
        url "https://github.com/GabAlpha/basilk/releases/download/0.2.0/$MAC_OS_INTEL.tar.gz"
        sha256 "$MAC_OS_INTEL_SHASUM"
      end
    end

    on_linux do
      on_intel do
        url "https://github.com/AmmarAbouZor/tui-journal/releases/download/v0.12.0/tjournal-linux-gnu.tar.gz"
        sha256 "15b5a5eb924d7cc2553bd5eec8175975108d806684e4a59354696f73815cf540"
      end
    end

    def install
      bin.install "tjournal"
    end
  end

Another thing: is your macOS tarball release Intel or ARM? You'll notice I have foo values in the formula for Intel.

@zachvalenta Thanks for the information. I didn't know that the owner only is the one how supposed to provide the formula.
I'll have a deep dive into this soon.
I think the current release workflow targets MacOS on arm only. I'll need to adjust it as well

@piersolenski @zachvalenta
Homebrew with custom tab is implemented now.
However, I tested it on Linux brew only since I don't have access to MacOS.


Add TemplatePartAttribute for Controls

Is your feature request related to a problem? Please describe.
Named parts in control templates are not always clear to control authors, designers and other IDE tooling.
Describe the solution you'd like
WPF has the TemplatePart attribute used with templated controls. This indicates the named parts of the template, and their type, that are used within code-behind. This information was historically used in designers (Blend) as well as with automated checks to ensure default styles and their templates are complete.
This TemplatePart attribute should be added to avalonia and used for all controls (example from WPF). This should be used for all elements that start with the "PART_" prefix in the name.
[TemplatePart(Name="PART_ContentHost", Type=typeof(FrameworkElement))]
public abstract class TextBoxBase

Microsoft Docs TemplatePartAttribute
Template parts and custom controls (quick tip)
WPF TemplateParts

Describe alternatives you've considered
The alternative is no attribute at all as currently exists.
Additional context
Information for PseuodClasses is provided in another attribute. This one should be included as well for completeness.

WinUI is now doing something interesting with template parts. Enums are generated for the named parts and then 'magic' strings are removed from code usage.
First example I saw: https://github.com/microsoft/microsoft-ui-xaml/blob/2a6d2d69c809c141ca7916c9730fd5305487501e/dev/TeachingTip/TeachingTipTemplatePartHelpers.h

WPF (MIT License): https://github.com/dotnet/wpf/blob/a71d94d93b4af94061f6cd27c57b1d00efaccaab/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/TemplatePartAttribute.cs

I wasn't really thought about code generation, it sounds like a good argument to have this attribute even without support IDE support.
Created issue for that https://github.com/AvaloniaUI/Avalonia.NameGenerator/issues/77
Though there is couple of problems what I see there.

I wasn't really thought about code generation

Neither did I until I noticed what WinUI is doing recently.

Created ticket in Rider's YouTrack - https://youtrack.jetbrains.com/issue/RSRP-488276
Though I noticed they did not implemented support for the same attribute in WPF https://youtrack.jetbrains.com/issue/RSRP-330024 .

Though I noticed they did not implemented support for the same attribute in WPF

Well, WPF has been on life support for years now. I can understand they didn't want to invest much. I was already surprised they did full Avalonia support so this has a better chance in my opinion.
Separately, I'll probably add the attributes for all templated controls with a style XAML file next weekend. I imagine I'm going to find naming issues as well (missing PART_ prefix) and we'll have to discuss if a breaking change is worth it. 11.0 is the best time to do this though.


Image resizing codes of iOS example camera apps might be wrong

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
TensorFlow installed from (source or binary): N/A
TensorFlow version (use command below): N/A

Describe the current behavior
I think in_x = (y * image_width) / wanted_input_width; statements (mentioned below) would be in_x = (x * image_width) / wanted_input_width;. (The former perhaps rotates the input image?)

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/ios/camera/CameraExampleViewController.mm#L302

  for (int y = 0; y < wanted_input_height; ++y) {
    float *out_row = out + (y * wanted_input_width * wanted_input_channels);
    for (int x = 0; x < wanted_input_width; ++x) {
      const int in_x = (y * image_width) / wanted_input_width; <--
      const int in_y = (x * image_height) / wanted_input_height; <--
      tensorflow::uint8 *in_pixel =
          in + (in_y * image_width * image_channels) + (in_x * image_channels);
      float *out_pixel = out_row + (x * wanted_input_channels);
      for (int c = 0; c < wanted_input_channels; ++c) {
        out_pixel[c] = (in_pixel[c] - input_mean) / input_std;
      }
    }

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/examples/ios/camera/CameraExampleViewController.mm#L133

void ProcessInputWithFloatModel(
    uint8_t* input, float* buffer, int image_width, int image_height, int image_channels) {
  for (int y = 0; y < wanted_input_height; ++y) {
    float* out_row = buffer + (y * wanted_input_width * wanted_input_channels);
    for (int x = 0; x < wanted_input_width; ++x) {
      const int in_x = (y * image_width) / wanted_input_width; <--
      const int in_y = (x * image_height) / wanted_input_height; <--
      uint8_t* input_pixel =
          input + (in_y * image_width * image_channels) + (in_x * image_channels);
      float* out_pixel = out_row + (x * wanted_input_channels);
      for (int c = 0; c < wanted_input_channels; ++c) {
        out_pixel[c] = (input_pixel[c] - input_mean) / input_std;
      }
    }
  }
}

@brownbro Could you provide any results showing the bug? Thanks!

The x and y values of the inputs are flipped. Its affect is that the output are flipped as well.
Therefore, the images from original code will have predictions that is flipped according to the diagonal line. As shown below (an incorrect image):

Images from original code (incorrect):
const int in_x = (y * image_width) / wanted_input_width;
const int in_y = (x * image_height) / wanted_input_height;

Images from corrected code:
const int in_x = (x * image_width) / wanted_input_width;
const int in_y = (y * image_height) / wanted_input_height;

Other information:

Demo from cloning the repository from GitHub.
Using SSD with post processing with export_tflite_ssd_graph.py and tflite_convert. Thus, the output will include bounding boxes.
Using TensorFlowLiteGpuExperimental 0.0.1

Hi @brownbro!
It seems you are using  older versions(1.x versions) of Tensorflow. We recommend that you upgrade  your code base to 2.x  versions as many features and bug fixes has been done in newer versions and let us know if the issue still persists in newer versions. Thanks!


Flight 34 (Amos-6) - "land_success" is false, should be null

Would make more sense seeing as no landing was attempted

Looking closer, it seems that a lot of missions have land_success set to false when there wasn't a landing attempt in the first place. Flights 2, 5, 6, 7, 8, 9, 10, 12, 13, 16, 17, 21, 23, 37, 40, 44, 56, 57, 58, and 59.

Null might be the better option, so it doesn't cause confusion when trying to tell if a landing was attempted at all.

Exactly. If I want to get a count of how many landing attempts there have been, I only need to use something like this:
if core["land_success"] is not None:

	if core["land_success"]:
		successful_landings += 1

	landings_attempted += 1

Everything should be corrected, Thanks for the suggestion 👍


Fix: Arabic text mark rendering

Source issue: https://github.com/metanorma/xmlgraphics-fop/issues/4
Original issue: https://github.com/metanorma/isodoc/issues/354

Done in the branch fix/characters_issues.


Security: BaGet possibly affected by Remote Code Execution in SQLite

A new Security bug has been found in SQLite. I would like to raise awareness to the possibillity that this could also affect BaGet.
you can find more information here.
According to the above information the issue has been fixed as of SQLite version 3.26.0. I'm unsure if BaGet is severely affected since i could not find any version information for the time that i looked around the project.

from the link above:

and allows an attacker to run arbitrary SQL statements

assuming that EF prevents this (by concept) we can assume that the risk at this moment is very low and we can wait for regular updates.
( to many assumptions ?)


Support typscript in vue-country-flag-next

I'm using the next library in a Vue 3 project with Typescript. When I import the library with import CountryFlag from 'vue-country-flag-next';  I get this error Cannot find module 'vue-country-flag-next' or its corresponding type declarations.
I created a new file  vue-country-flag-next.d.ts  in my project with declare module 'vue-country-flag-next'; as a workaround but It could be nice to support typing :D

When you think this will be added? Causing some pain when testing stuff that require your component inside jest :) will be really appreciate if you add the declaration.


ability to embed external files

it would be nice if perhaps for things like web idl or railroad diagrams the source could be stored in standalone files that are embedded into the document at build-time.

retrieving the IDL from a spec appears possible with the following:
console.log([...document.querySelectorAll("pre.idl")].map(v=>v.innerText).join(""))
but it would be nicer if .idl source files were external to the .bs files so that parsing html wasn't strictly necessary
and you could depend on the spec git repos directly

appears https://github.com/w3c/webref/tree/main/ed/idl/ also has this content :O

It sounds like you have two separate requests:

You want all the IDL from specs (including ones you're not in control of) - any solution I give in Bikeshed won't help with this, as people write their source markup in many ways, and when they're actually published to the W3C the source files aren't included anyway. But yes, WebRef is a W3C project to parse all the IDL (and a lot more) from all web-relevant specs, so you can use that instead. (Bikeshed uses it for its own autolinks!)

You want to write some things, like IDL, outside of your own source file (for ease of editting, or syntax highlighting, or what-have-you), and just include them into your final file. Bikeshed has this feature already, and in particular lets you do source code inclusion, like WebIDL.


Massive increase in CPU usage since version 3.0.0RC1 and 3.0.0 final release

Since the upgrade to version 3.0.0RC1, and continuing with version 3.0.0 final release, my system is showing a massive increase in CPU usage.
Anybody else noted the same situation?
Desktop (please complete the following information):

OS: Ubuntu 22.04
Python Version 3.9
Pytubefix Version 3.0.0RC1 and 3.0.0

I could locate the issue.
It started at the same time the upgrade was done, but it is not related to pytubefix.


example of post using ajax

Hello, I have been using this library for some time now using axios.
I am considering using ajax as I had some issues with the set-up for axios post.
Can you please point me to an example of the ajax post for a simple post action, where I then get the response back which contains confirmation of action and other metadata from the server.
Also, in case of failure, I would like to dispatch another action.
I have looked at the examples and could not find one close to what I need. I have only seen ajax.getJson examples.
Thanks in advance.

Sure. I can whip one up. I'll get back to you soon.

Here is one where I use the latest RxJS v6 with ajax post. I just post hard coded values but you could easily change the body to be whatever.
https://codesandbox.io/s/async-rxjs6-ajax-post-bq2us?file=/src/index.js
Let me know if you have any questions.

Thank you very much. That is exactly the example I was after.
Much appreciated.

You are quite welcome. I am glad I was able to help.


Remove the executable flag from files.

I don't get. What this is about?

These are wrongfully marked as executable files in git. There's no reason for them to be executable AFAICT.

How did you detect and edit them?

Well, I saw the files being marked as modified when I edit the repo through Windows on WSL, but you can run this to check:
\\wsl$\Ubuntu\home\xmr\repos\svgo>git ls-files -s . | findstr 100755
100755 0c2945204b74d462e5b5ddb31f32d1fa8655fdea 0       bin/svgo
100755 42d8eb20a69bc4ff95e797a02be4064e384a1355 0       lib/svgo.js
100755 de69ac891b42a4b1bdb8ed8e10eccea2b7fb10ec 0       logo/isotype-white.svg
100755 fda127ed1f58b2534a30286453d59bae102d0ef9 0       logo/isotype.svg
100755 a7df137e401020bcc32beb015584f4cb95f8b9e1 0       logo/logo-web.svg
100755 81a63f876b3c41dc719918fb1021295ed6a96e5f 0       logo/logo-white.svg
100755 1385c26565fd2be52aba007f66c50a41fcb73156 0       logo/logo.svg
100755 5cb822c3b00a2e0eab11d43e3b72d0abce40f925 0       plugins/minifyStyles.js
100755 d8a989b51ca3fa58857fd6f4c20da8a4ffd6b533 0       plugins/prefixIds.js
100755 9e8b029d2fc24e0a5b96d49c2c800ec921594698 0       test/plugins/minifyStyles.01.svg
100755 7b4a1ceaf9f97d91bcd54b1a59a990ba667edc28 0       test/plugins/minifyStyles.10.svg

Thanks

@XhmikosR Actually bin/svgo is an executable. And now I can't run it directly locally.
$ ./bin/svgo input.svg -o output.svg  --pretty
zsh: permission denied: ./bin/svgo

@TrySound this is just what's tracked in git, not your system? You can make it an executable, but if it should be tracked by git, I don't know. You can revert the bin/svgo change if it works again, although I'm still not sure if it should be tracked by git or not.


[angular-xmcloud][xmcloud-proxy] Personalization support

[x] This PR follows the Contribution Guide
[x] Changelog updated
[ ] Upgrade guide entry added

Description / Motivation
Adds personalization and A/B testing support into angular-xmcloud setup.
Personalization works through xmcloud-proxy and should allow for personalization support for react and vue in future.
Testing Details

[x] Unit Test Added
[x] Manual Test/Other (Please elaborate)

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

One more thing - do we need some migration instructions to the upgrade guide?

@illiakovalenko @yavorsk Addressed your comments, please take a look.
In regards to upgrade guide, I added some light instructions. Otherwise, there's not much to instruct, right? Xmcloud proxy is a new product, users would simply need to make the switch and start using it.

@art-alexeyenko Can you, please, check code coverage as well? use "npm run coverage", I've seen that code snippets are not covered


opentelemac not yet compatible with numpy 2.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Salut Nico,
thanks for the reactivity (on a 14 of august! ;) !)
Has PR #9 fixed things for py312 too? https://gitlab.pam-retd.fr/otm/telemac-mascaret/-/issues/946#note_76279

@tomsail good catch, forgot about that.
I don't think this is fixed but it compiles without issue, we should test the 3.12 build


Add support for testing aws-hosted-cp

Break KubeClient helpers into provider specific file
Add cmd.Wait support and use it to wait for cloud-nuke to finish before trying to continue AfterAll's
Finish aws-hosted-cp test and add comments through test to make it easier to understand.
Use GinkgoHelper across e2e tests, populate hosted vars from AWSCluster.

I'm gonna reopen this ticket on a fork within the repo so I can test the E2E test workflow so I can iterate on the test and fix it, then last minute before merge we can change the workflow to pull_request_target


A more portable way to handle long running scripts

I think this should work on all platforms... @codeadict would you be able to test this on OSX?

The -s works on OSX, i'm testing now with VerneMQ

Tested using your branch of node_package, works perfect, i can do some testing on FreeBSD and Fedora over the weekend

Great - let's go with this for the moment then.

Hey @larshesel , I tested this in both Fedora and FreeBSD and worked like a charm

Awesome, thanks!

Awesome, thanks!


Syntax error

Traceback (most recent call last):   File "/content/Yoimi/yoimi.py", line 1, in <module>     from common import *   File "/content/Yoimi/common.py", line 9, in <module>     from ext import unext_v2 as Unext_v2   File "/content/Yoimi/ext/unext_v2.py", line 189     logger.info(f" ! {title_name_logger} require {message["minimumPrice"]} point", extra={"service_name": "U-Next"})                                                            ^^^^^^^^^^^^ SyntaxError: f-string: unmatched '['
python 3.10.12

Update python to 3.12

If this still results in an error, I'll check it out.

If you access from outside Japan, you will be blocked. vpn or proxy is required.

However, the functionality of the proxy has not yet been created...

I'm testing the proxy function right now. Will drop in 0.6 when completed.

Ok proxie check is done. 0.6 is soon

Ok proxie check is done. 0.6 is release! here

Thanks for the quick job, but how can I use it?

It should be at the bottom of the readme.

python yoimi.py download --username EMAIL_HERE --password PASSWORD_HERE "URL_HERE"
Sample:
python yoimi.py download --username<EMAIL_ADDRESS>--password example123 "https://video.unext.jp/play/SID0093173/ED00476928"

if use proxie,
--proxy ip:port

Hmmm... Could you try this one?
Yoimi-0.6-hot-fix.zip

if use proxie, add "--proxy" --proxy ip:port

Suggestion: Add proxy list support

If you write a little more detail about the functionality, we will implement it right away!

I know the login isn't working, but I can't figure out why... It appears to be failing near the oauth...

It's getting to be a long conversation by now, so if you have a discord or something, please dm nyanyakko005

Hmmm... Could you try this one? Yoimi-0.6-hot-fix.zip

Have you tried it? It should give you a variety of logs. ....


Update mpv.md

Updated the portable build with MPV updated, scripts updated and added mpv-v3

thanks for the PR, a maintainer will not look at it
closed

feed your cats, john.


[nmstate-0.3] Backport run tests out of containers

This backport is needed in order to enable CI gating for Fedora packages.

The CI failed on yamllint: https://travis-ci.com/github/nmstate/nmstate/jobs/361511589#L927

The CI failed on yamllint: https://travis-ci.com/github/nmstate/nmstate/jobs/361511589#L927

I've removed yamlint as this PR is not backporting that.


fix (BPopover): cancel show if hide called #1300

close #1300
we cancel show (clearTimeout) if hide is called.

It may be preferred to use the https://vueuse.org/shared/useTimeoutFn/#usetimeoutfn utilities to get rid of the showTimeout/clearTimeout stuffs

I feel that just hides the clear timeout logic behind the curtains of vueuse function. we don't save on code lines or complexity, just change the functions to non native.


Why longest and not max_length?

When this model was regenerated into doc_tokenization, it used the padding method longest. Does that mean that each text_batch sent will have a different length? Why did you take longest instead of max_length?
Thanks!

This is just done for efficiency reasons, shouldn't make a difference for actual ouputs since any padding is removed from documents before indexing


ESPHome Updated Board config?

Is there updated config for the board you reference in the example.yaml
esp32:
  board: esp32-s3-devkitc-1
  variant: ESP32S3
  framework:
    type: arduino
    version: 2.0.3
    platform_version: 5.1.1

I'm getting compilation errors on ESPHome 2023.11.2 when trying to use MQTT and it only seems to be specific to this board. I have an issue open with ESP Home here: https://github.com/esphome/issues/issues/5136

It looks like updating the board info to:
esp32:
  board: esp32-s3-devkitc-1
  variant: ESP32S3
  framework:
    type: arduino
    version: 2.0.5
    platform_version: 5.2.0

Fixed my issues - your example might want to be updated

Glad you got it working! I'll test on my end tonight and update the example.
Thanks for pointing it out.


Api_key argument

Pass api_key as an argument

Not sure if we are referring to the same issue, but it would be nice if the user could set and get API keys from within the code. For example:
arcas.Ieee.set_key_api ('enter your API key here, will store it in key_api of arcas.Ieee')
arcas.Ieee.get_key_api ('no argument needed, will return API key from memory)
The same holds for the API keys from arca.springer and arca.nature
I would include that in the example code since it will be the first thing users would need to do, also mention that arcas.Arxiv and arcas.Plos do not require an API key.
I would like to incorporate Arcas example code within our text mining methodology and template code (currently under review).


Option to include units in .plot()

I find myself editing the label on the colorbar of xarray plots often to include the units of the plotted variable.
Would it be possible to extract the value of DataArray.attrs['units] (if present) and add it to the colorbar label?
Given an example DataArray with name='temperature' and attrs['units']='deg C', the current colorbar label says 'temperature'.
A 'plot_units' keyword could possibly be used like this for example:
da.plot(plot_units=True)

Then the colorbar label should be 'temperature [deg C]'.

Can be closed.

closed via #2151


Remove LinkedVocabs

LinkedVocabs introduced a bug surrounding blank node identity, causing
new nodes to be minted in cases where the node is not already in the
cache (e.g. when the graph has been loaded from turtle).
Rather than waiting for a LinkedVocabs patch, this simply removes it,
since we aren't using the validation features anyway.
I made some minor generalizing changes to a pair of Krikri enrichments to move them away from reliance on LinkedVocabs. Krikri is already tightly pinned to a specific MAP version, so an update and release would be needed anyhow.

The diff to get Krikri compatible with this change is here: https://github.com/dpla/KriKri/compare/feature/updrade-map

Revised.

:+1:

:rocket:


Thinking in React : 3 paragraph translation done

Hi @kumard3
can you make the changes which I have suggested, once those are done. please leave a comment here. So I can reivew and continue further review of the file.

Hi @kumard3
can you make the changes which I have suggested, once those are done. please leave a comment here. So I can reivew and continue further review of the file.

i think i have made all the requested changes

@kumard3 There are few missed and in few I had done one typo. Can you update those. Post that with can continue with review.

@kumard3 There are few missed and in few I had done one typo. Can you update those. Post that with can continue with review.

i have completed the translation of this page .

@kumard3 You have missed following comments, can you get these fixed
https://github.com/reactjs/hi.reactjs.org/pull/173#discussion_r780792526
https://github.com/reactjs/hi.reactjs.org/pull/173#discussion_r780740358
https://github.com/reactjs/hi.reactjs.org/pull/173#discussion_r780740524

Thank you for working on fixes.
Added review till line 59.
Can you get these also fixed, then we can continue further

i have resolved all the changes .

@kumard3
You can check my review comments above. I have mentioned wrong value and correct value at lines, you just need to do find and replace at that line

Added 3 more comments till line 79.
@kumard3 Most of the translation seems wrong, I have to change complete sentences in review.
Can you revisit the doc from line 80 once and cross check with english version and fix the obvious once? Atleast the sentences itself, most of the hindi version of sentences are not making sense.

i am having a confusion for top down what should i write ऊपर नीचे  (टॉप डाउन)

Added 3 more comments till line 79.
@kumard3 Most of the translation seems wrong, I have to change complete sentences in review.
Can you revisit the doc from line 80 once and cross check with english version and fix the obvious once? Atleast the sentences itself, most of the hindi version of sentences are not making sense.

i am having a confusion for top down what should i write ऊपर नीचे or टॉप डाउन and for compute what should i use कम्प्यूट or गणना करना

I am adding some more comments, you can make changes post that.

@kumard3 Please take a pull of your branch, I have made some fixes in the code

Hi @kumard3
Any updates?
Let me know if you need any help

Hi @kumard3 Any updates?
Let me know if you need any help

I am sorry, will be completed by next Sunday

@kumard3 Can you resolve the conflict in the file? I will get this merged and we will take care of the commnets in a followup PR

Sure.

ah ok. then I guess we can close this PR.


modal-position

update nextui version, change position for modal

updating nextui doesn't fix a bug with screen


Ft/asset rip01 testnet

Looks good to me.  Voting is enabled in approx. 2 days.  Round votes are roughly daily and we take the last 7 round votes to form an update vote.  Let 'er rip!


Memdraw fix

Removing unused memsetb and using memset for 8 bit.
Added a forced little endian conversion by default
in memfillcolor() (from Plan9 port)

Signed-off-by: Álvaro Jurado<EMAIL_ADDRESS>

This solves the effect in native (didn't happen in drawterm) of minimizing a window and rising it again through winwatch which was corrupting the memory.


new version release

Could you please release a new version into rubygems? I would want to reference to this gem from another gem, but I need the addition on #11
thanks!

Done, v0.3.4.


Remove node-fetch dependency

Once we implement #82 we should remove the dependency for node-fetch and just use native fetch implementations.

@liam-lloyd I'm going to mention this in my review of https://github.com/PermanentOrg/stela/pull/13, fyi.

Are we sure Node's native fetch is in a state where we want to be using it? Node still considers it experimental, and without (hacky looking, to my eye) workarounds Typescript won't compile if we use it.

Information on the Typescript problem can be found here https://github.com/DefinitelyTyped/DefinitelyTyped/issues/60924. Also, on closer inspection it looks like native fetch stopped being considered experimental at the beginning of this year (as of Node 18.13); I'd been looking at the original Node 18 release announcement.

Fine questions!  It seems to be the future, but understood it might not be ready now.
I'm not advocating it be used everywhere (e.g. in stela) but given the nature of the bug I'm facing in sftp service it may be something that we decide is worth using here (in the absolute worst case it's possible to disable the type safety for the line that uses it).  I'll know a bit more after trying, but I'm also partly grasping at straws in an attempt to resolve silent failures currently going on related to fetch.

I might know that answer; I tried to use<EMAIL_ADDRESS>for stela and it seemed like it wanted to force me into modules, which is why I stuck with v2.

+1 on using axios it's well tested, reliable and has huge community.

Ah yes @liam-lloyd that was it; sigh, that's reason enough to switch away from node-fetch honestly.
I do think the ultimate goal would be to just not have a third party dependency at all, but I appreciate that is not yet possible in TypeScript!  I'll keep digging a bit.


Transitive resources

Motivation
Each operation associated with a resource might create/update/deleted other resources.
For example when updating broker, new plans might be created/deleted and existing updated. Also visiblities and notifications might be created along the way.
These resources should be saved in the operation associated with the main resource, meaning the broker itself.
Pull Request status

[x] Initial implementation
[x] Refactoring
[x] Unit tests
[ ] Integration tests

Coverage decreased (-0.2%) to 87.271% when pulling 259d3030187f00a74dde5987a9dc5ade19d547b5 on transitive_resources into b07f9168e160a5b20b841689b87455f15c07c5be on notifications_ready.


Add doc about resolving trim warnings

Summary
Should serve as an introduction to trim warnings and guidance about how to fix the most common problems.

@sbomer Yup, there's a lot of overlap here. My approach was to try to get this in first, then I was going to try to consolidate and get your review. Happy to include whatever you think is useful

Thanks! I'll try to follow-up later by removing duplication in other files and centralizing links.


pg:* add-on resolve with API

Similar to #1706, this teaches the pg:* commands to resolve add-on identifiers with the API when no obvious local match is found locally. This is a minimal change because the current code uses APIv2 extensively and a lot of commands rely on it. It seemed the most prudent thing, for now, to just add an additional look up instead of rewriting the whole lookup logic.
cc @heroku/add-ons @dickeyxxx

Hooray for consolidating logic!

bump @dickeyxxx

so ultimately does this perform a second http request if the match isn't found? I'm a bit concerned how this would work with paranoid apps

Yes it does, sometimes even 2. I think the ultimate answer here is to port these commands to JS plugins, but that's a lot of work out of the gate. Though I did briefly discuss it with @uhoh-itsmaciek and @kvlou yesterday. Is there a way to address the paranoid concern safely?

any command that uses these will need to have requires_preauth it's hard to tell which ones though

@bjeanes @mattreduce @dickeyxxx is the 0.08% drop in coverage enough to block this?  If so, could one of you top that up quickly?  I'd really love to see this merged and closed ASAP.  Thank you!

I'm looking at the coverage now and trying to orient myself, will defer to @mattreduce if he's got a quicker solution.

I don't care about the coverage. I'm out at lunch with a friend but I can release this after.

There are merge conflicts though

Resolved conflicts, @dickeyxxx can you confirm that these files are supposed to be deleted? Seeing this many things disappear on a merge was worrying:
lib/heroku/command/two_factor.rb lib/heroku/command/status.rb lib/heroku/command/run.rb lib/heroku/command/maintenance.rb lib/heroku/command/local.rb lib/heroku/command/git.rb lib/heroku/command/fork.rb lib/heroku/command/apps.rb (apps:info commad, not the whole file)

yes since they all moved into v4 plugis

Awesome thank you @mathias and @dickeyxxx !

:tada:


User overloadable unitary modifiers (dagger, control, power)

It is assumed there is some mechanism for automatically daggering, quantum controlling or powering (repeating) unitary subroutines. This may be higher order, with blocks. See #158 #361  etc.
Users should also be able to specify specialist implementations of these.
I propose using dunder methods for this:

@guppy_unitary
class MyOracle[N: int]:
    param: int # can be parametric instances
    __impl__(self, q: array[qubit, N]):
        ...
    __control__(self. q: array[qubit, N], ctrl: qubit):
        ...
    # dagger and power are still default

For context, this was one of the features users really enjoyed in qlibs regarding the speed of algorithm development.

I will happily review this PR.

Extension request: provide __control__sqrt__ and __control_sqrt_inv__ to enable an arbitrary number of control qubits via recursion.


Errors in the event log when deploying package with debug option

I am testing one of our add-ons converted to ExtV2 and I can successfully create the package, deploy it, run the application and also work with the add-on but I can also see some strange error in the event log.
The problems appear when running with F5 (publish + debug). When running using CTRL+F5 everything is OK (no errors in the log).
I am running NAV on Docker, I have already consulted it with @freddydk and probably it has nothing to do with Docker.
The relevant part of Docker inspect output:
            "Image": "microsoft/dynamics-nav:devpreview",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {
                "country": "W1",
                "created": "201710262345",
                "cu": "october",
                "eula": "https://go.microsoft.com/fwlink/?linkid=861843",
                "legal": "http://go.microsoft.com/fwlink/?LinkId=837447",
                "maintainer": "Freddy Kristiansen",
                "nav": "devpreview",
                "osversion": "10.0.14393.1770",
                "tag": "<IP_ADDRESS>",
                "version": "11.0.18712.0"
            }

The errors:
TimeGenerated : 11/5/2017 4:38:28 PM
EntryType     : Error
Message       : Server instance: NAV
                Category: Development
                ClientSessionId: 00000000-0000-0000-0000-000000000000
                ClientActivityId: 00000000-0000-0000-0000-000000000000
                ServerSessionUniqueId: 00000000-0000-0000-0000-000000000000
                ServerActivityId: 00000000-0000-0000-0000-000000000000
                EventTime: 11/05/2017 15:38:28
                Message <ii>Failed request -- Method:GET; Url:<ii>http://lima18
                :7049/NAV/dev/signalr/negotiate?clientProtocol=1.4&connectionDa
                ta=[{"Name":"DebuggerHub"}]</ii>; StatusCode:NotFound;
                ReasonPhrase:Not Found; ResponseBody: <pi>{"Message":"No HTTP
                resource was found that matches the request URI 'http://lima18:
                7049/NAV/dev/signalr/negotiate?clientProtocol=1.4&connectionDat
                a=[{\"Name\":\"DebuggerHub\"}]'."}</pi></ii>
                ProcessId: 2056
                Tag: 00000LY
                ThreadId: 14
                CounterInformation:

TimeGenerated : 11/5/2017 4:38:29 PM
EntryType     : Error
Message       : Server instance: NAV
                Category: Development
                ClientSessionId: 00000000-0000-0000-0000-000000000000
                ClientActivityId: 00000000-0000-0000-0000-000000000000
                ServerSessionUniqueId: 00000000-0000-0000-0000-000000000000
                ServerActivityId: 00000000-0000-0000-0000-000000000000
                EventTime: 11/05/2017 15:38:29
                Message <ii>Failed request -- Method:GET; Url:<ii>http://lima18
                :7049/NAV/dev/signalr/start?clientProtocol=1.4&transport=webSoc
                kets&connectionData=[{"Name":"DebuggerHub"}]&connectionToken=AQ
                AAANCMnd8BFdERjHoAwE%2FCl%2BsBAAAAG%2BPtJJjPxE%2BAMWg4MD1DZAAAA
                AACAAAAAAAQZgAAAAEAACAAAADAWPZmsptQUWSJS2Qm4UqpBHCUD7mPC8MI8Qh%
                2F9R56PAAAAAAOgAAAAAIAACAAAABtP7JXvCOOESlo99%2FDtOIaeAN2AoS13PG
                xU5%2FivQxBGUAAAAChVi6KmXAUtEv373L3d9cI7iTGNr%2BJ0oLWIIZM7Fef42
                nu2E7HBwrVuAJmN%2FvbNRnkLcdPv5znisC71pl%2BFVEDQAAAADWvymke3BfLv
                8X8YDrWvJkgjpTkR%2FI1%2BuWjTqwR5zSvEEB277KTB41IHE8oGteBtq4gGtk2
                WbTP%2F%2F%2F%2Bnue6ht8%3D</ii>; StatusCode:NotFound;
                ReasonPhrase:Not Found; ResponseBody: <pi>{"Message":"No HTTP
                resource was found that matches the request URI 'http://lima18:
                7049/NAV/dev/signalr/start?clientProtocol=1.4&transport=webSock
                ets&connectionData=[{\"Name\":\"DebuggerHub\"}]&connectionToken
                =AQAAANCMnd8BFdERjHoAwE%2FCl%2BsBAAAAG%2BPtJJjPxE%2BAMWg4MD1DZA
                AAAAACAAAAAAAQZgAAAAEAACAAAADAWPZmsptQUWSJS2Qm4UqpBHCUD7mPC8MI8
                Qh%2F9R56PAAAAAAOgAAAAAIAACAAAABtP7JXvCOOESlo99%2FDtOIaeAN2AoS1
                3PGxU5%2FivQxBGUAAAAChVi6KmXAUtEv373L3d9cI7iTGNr%2BJ0oLWIIZM7Fe
                f42nu2E7HBwrVuAJmN%2FvbNRnkLcdPv5znisC71pl%2BFVEDQAAAADWvymke3B
                fLv8X8YDrWvJkgjpTkR%2FI1%2BuWjTqwR5zSvEEB277KTB41IHE8oGteBtq4gG
                tk2WbTP%2F%2F%2F%2Bnue6ht8%3D'."}</pi></ii>
                ProcessId: 2056
                Tag: 00000LY
                ThreadId: 14
                CounterInformation:

I had similar warnings and errors for a while now and Freddy mentioned they should be gone. Do they affect behaviour of your deployed packages?

I have tested it again, now I have been using the standard project generated using AL: Go and the symptoms are the same:

I can see the same errors when running with F5.
I can deploy the package.
I can work with NAV and the extension works (Hello World appears).
I can also debug.

We will investigate it.
Does it have any functional impact or is it just unexpected errors in the event log?

As you can see in the previous comment, everything seems to be working fine. It is just the log that reports some issues... I was expecting some debugging problems but no, the debugger works correctly as well.

Same here, we did not identify any issues either.

I also had this problem on the October release. But after I created a new Azure VM last week, then it have gone away. Now F5 works fine.

I am running docker on my Win10 notebook. Maybe this makes the difference.

These are a bit evasive telemetry events. What is signaled here is that the server(NST) has lost connection with debugger client in VsCode, but than the connection was recreated and things just continued working.

So maybe we should close the issue... ;) Actually, everything works fine :)
But now seriously - from my end-user perspective, there are no obvious issues.
I am closing the issue.


Not working on a multi-user linux production server

I've run the following as the root user:
	- install chruby
		wget -O chruby-0.3.9.tar.gz https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz
		tar -xzvf chruby-0.3.9.tar.gz
		cd chruby-0.3.9/
		make install
	- configure chruby
		vim ~/.bashrc						#And two lines below
		source /usr/local/share/chruby/chruby.sh
		source /usr/local/share/chruby/auto.sh

		vim /etc/profile.d/chruby.sh		#Add three lines below
		if [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ]; then
		  source /usr/local/share/chruby/chruby.sh
		fi

	- install ruby-install
		wget -O ruby-install-0.5.0.tar.gz https://github.com/postmodern/ruby-install/archive/v0.5.0.tar.gz
		tar -xzvf ruby-install-0.5.0.tar.gz
		cd ruby-install-0.5.0/
		make install

	- install rubies
		ruby-install ruby 2.2.2
	- default ruby
		vim ~/.bash_profile			#Add line below
		chruby ruby-2.2.2

However when I log in to the server as a different linux user, the ruby that shows with ruby -v is the OS installed Ruby (Yet I have installed 2.2.2 with Chruby). I have added the two lines as per the first step to this users own .bashrc, but still, it's showing the default OS installed Ruby.
Do I need to install Rubies with each linux user? (We have different sites/apps per linux user). When I do that I get: "user_account is not in the sudoers file.  This incident will be reported. !!! Installing dependencies failed!"
I assume that I need to run bundle install when logged in with each user?
Not sure what I am doing wrong here, but any help appreciated.

When running ruby-install as a normal user, it installs into ~/.rubies. When running ruby-install as root (or via sudo), it will install into /opt/rubies/ and be available to all users. Try sudo ruby-install ruby .... Also consider configuring chruby globally.

Thanks for the reply @postmodern.
I installed 2.2.2 with the root user (and it is there in /opt/rubies/) however when I ssh in to the server with a different user, the default Ruby is the OS installed Ruby. I can chruby 2.2.2 but if I log out and back in again it has reverted to the OS installed default.
Is there anyway I can get it to use 2.2.2 for this user and the apps installed for it? I have added the three lines to /etc/profile.d/chruby.sh to configure it globally, and the two lines to .bashrc (source /usr/local/share/chruby/chruby.sh and source /usr/local/share/chruby/auto.sh)
Am I missing something else?
(I am running CentOS 7)

I'm so sorry @postmodern - I hadn't run ./scripts/setup.sh after make install (it's working fine now :)
However can you please confirm that the following needs to be added for additional (non-root) users on the system once Chruby has been installed please?
	- Configure linux users (SSH as user)
		vim ~/.bashrc				#And lines below
		source /usr/local/share/chruby/chruby.sh
		source /usr/local/share/chruby/auto.sh

		vim ~/.bash_profile			#Add line below
		chruby ruby-2.2.2

		vim ~/.ruby-version			#Add line below
		ruby-2.2.2

If you want chruby to be available by default for all users, do the system wide configuration. If you just want a newer version of ruby for all users, install it into /usr/local via ruby-install --system ... or use brightbox's ruby-ng packages.

Thanks for the reply @postmodern.
We need different Ruby versions for different apps, which run under different Linux users:
/home/app_one/
/home/app_two/
/home/app_three/
Where 'app_' is the name of the linux user.
I've done the sys wide config and the steps as per my last post (also added a .ruby-version in the root of the Rails app) but Passenger is still using the OS installed Ruby.
Are there additional steps I am missing for Passenger. Sorry to keep replying here, please let me know if you would prefer I post this as a question on SO.

Passenger will use whatever ruby is currently in the $PATH. So if you have chruby setting the ruby in ~/.bashrc (at the top, as Ubuntu's .bashrc will abort if it's not in interactive mode) Passenger should use it. However, it's usually easier to explicitly set the desired PassengerRuby in the Apache configuration for the app. Deploying the apps would just require invoking chruby MY_RUBY or explicitly calling /opt/rubies/.../bin/ruby -S bundle install --deployment. Imho, explicit always trumps implicit when it comes to server configuration and deployment.

I think I know what was wrong - I installed passenger with yum install passenger which used the OS installed Ruby. I'm not sure whether I tried PassengerRuby now, but I started again and installed passenger with:
gem install passenger
passenger-install-apache2-module

And used PassengerRuby /opt/rubies/ruby-2.2.2/bin/ruby and it's working fine :)
Thanks for all your help! :+1:
In case it's of any use to anyone else in future, here are my set-up notes:
======
CHRUBY
======

	yum install curl
	- install chruby
		wget -O chruby-0.3.9.tar.gz https://github.com/postmodern/chruby/archive/v0.3.9.tar.gz
		tar -xzvf chruby-0.3.9.tar.gz
		cd chruby-0.3.9/
		make install
		./scripts/setup.sh

	- configure chruby
		vim ~/.bashrc						#And two lines below
		source /usr/local/share/chruby/chruby.sh
		source /usr/local/share/chruby/auto.sh

	- system wide config
		vim /etc/profile.d/chruby.sh		#Add three lines below
		if [ -n "$BASH_VERSION" ] || [ -n "$ZSH_VERSION" ]; then
		  source /usr/local/share/chruby/chruby.sh
		fi

	- install ruby-install
		wget -O ruby-install-0.5.0.tar.gz https://github.com/postmodern/ruby-install/archive/v0.5.0.tar.gz
		tar -xzvf ruby-install-0.5.0.tar.gz
		cd ruby-install-0.5.0/
		make install

	- install rubies
		ruby-install ruby 2.2.2
	- default ruby
		vim ~/.bash_profile			#Add line below
		chruby ruby-2.2.2

	#Setup sites
	- put a .ruby-version file in directory to specify ruby version for apps
		vim ~/.ruby-version			#Add line below
		ruby-2.2.2

	- in Passenger apache config specify ruby with:
		PassengerRuby /opt/rubies/ruby-2.2.2/bin/ruby

	- bundle with:
		/opt/rubies/ruby-2.2.2/bin/ruby -S bundle install --deployment


NewVanillaSolver Step too small

Hi,
I am testing on the linearregression example code.
"example_linearregression_test.go"
I have change from y=2x+random to y=2x+5000
It takes very long as the steps is very small (0.005) to reach 5000
solver := NewVanillaSolver(WithLearnRate(0.005), WithClip(5))
Any other solver can speed this up?
Thank you in advance.

In the example it's done on purpose (for tests). You can simply change the learn rate. Also feel free to play with the other solvers. For linear regression, vanilla solvers work best

Hi,
Understood. Thank you very much.

FWIW my next favourite solver is Adagrad (also provided by Gorgonia)


how to post in middleware

Hello,
How can I send a POST require with a JSON? I was thinking in use a middleware but I dont know if requestOptions is available with the post data inside.
Thanks in advance

Hello,
sorry I didn‘t understand your question.
Could you explain it more detailed maybe with an example?
Thanks


Moving dockerfile and making minor changes for best practice compliance.

Adding to readme and re-requesting.


Feedback on name length for ID and Acc creation

Description
Currently when you create a new ID or a new Acc, there is no feedback given when the max of 35 characters is reach on the names.
It would be nice if there were some more clear feedback given, when the max length has been reach, instead of just not adding more characters to the string.
Steps to Reproduce

Start making a new account or ID.
Enter long name and notice how no characters are added after the max has been reached.
Notice how there is no feedback given.

Expected Result

The app gives some sort of feedback on max length, when it has been reached.

Actual Result

No feedback is given, the user just can't add more characters.

Versions

Software Version: 1.0.21
OS: iOS

Verified.
Versions

Software Version: Testnet 2.0.35
OS: iOS 14.8
Browser: N/A
Mobile device: iPhone SE


Update business-partner-validation documentation

Describe the bug
The documentation (e.g. README.md) of the business-partner-validation extension is outdated.
Expected behavior
It should be always in sync with the real implementations!

Definitely not a bug, maybe the README could be less detailed about the json format and only specify what's the leftOperand name that's used for the validation, with a link to the ODRL documentation.

on a broader scope, the business-partner-validation is based on a fundamentally flawed design, as it hard-codes the BPNs into the policy, which means the policy must be updated everytime an asset should be shared with a new participant.
I don't disagree that documentation should be up-to-date, but maybe a larger refactoring is in order here?

Since the bpn-validation extension was reworked and is properly documented, I would close this issue.


ERROR ITMS-90056 The Info.plist file is missing the required key: CFBundleVersion

When submitting to the app store I'm getting this error when including BlueRSA via Carthage.
I think the fix is to add CURRENT_PROJECT_VERSION to the Xcode project settings, and I will post a PR for that shortly.
ERROR ITMS-90056: "This bundle Payload/Application.app/Frameworks/CryptorRSA.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion."
Return status of iTunes Transporter was 1: ERROR ITMS-90056: "This bundle Payload/Application.app/Frameworks/CryptorRSA.framework is invalid. The Info.plist file is missing the required key: CFBundleVersion."
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.

Fixed with #41


Access to mutable references from tasks via Shared

In init I have:
let mut flash = c.device.FLASH.constrain()

Then I have a module that requires mutable reference to flash and need to put it into Shared. Is there a way to accomplish this without using unsafe? It seems that there isn't, as I would need some lifetime in Shared to attache the reference to.
If there isn't, is doing (unsafe) stm32f1xx_hal::pac::Peripherals::steal() in tasks an acceptable solution?

Not sure how your use case looks like, can you paste the relevant parts here and we can have a look.
/Per

Hi, for this you need to promote the reference to a static lifetime.
It can be done like this:
#[init(local = [flash: Option<FLASH> = None;]]
fn init(cx: init::Context) {
    // Make the flash static and get a 'static reference
    let flash = cx.local.flash.insert(cx.device.FLASH);

    // Create your thing that now has 'static lifetime
    let mut flash = flash.constrain();

    // ...
}

Unfortunately still doesn't work:
let mut flash = flash.constrain();
    |                         ^^^^^^^^^^^^^^^^^ move occurs because `*flash` has type `stm32f1xx_hal::pac::FLASH`, which does not implement the `Copy` trait

Huh then it's not working on references it seems. It should just work then by letting flash take ownership of the hardware peripheral.
But at least you know how to generate a static lifetime if needed.

I gave the HAL a check and it takes the peripheral by move, so you don't need to work with references.

Yes! This works! Thank you!


Improved docs for std.range.refRange

I'm skeptical about merging documentation of RefRange and refRange. refRange does not always return a RefRange, so this may be a little confusing.

@aG0aep6G Fixed

LGTM

@quickfur Fixed

Ping

Auto-merge toggled on

Sorry for the delay, have been busy.

Thanks :)