Cannot build infer on debian sid

I'm trying to build infer on debian sid from source. I used as inspiration official infer debian image based on strech-slim.
The build is failing here:
root@464748bbfd43:/infer# ./build-infer.sh --opam-switch $OCAML_VERSION && rm -rf /root/.opam
initializing opam...
[WARNING] Running as root is not recommended
[WARNING] Running as root is not recommended
# Run eval $(opam env) to update the current shell environment
[WARNING] Running as root is not recommended

installing infer dependencies; this can take up to 30 minutes...
Wrote /opt/infer-linux64-v0.14.0/opam.locked
opam-lock: unknown option `--install'.
Usage: opam-lock [OPTION]... [FILE]...
Try `opam-lock --help' for more information.
preparing build...
checking for .release... yes
checking for .facebook... no
checking whether to use the compilers in /infer/facebook-clang-plugins/clang/install/bin... yes
checking for shasum... shasum
checking for cmake... cmake
checking for python2.7... python2.7
checking for xcode-select... no
checking whether the C compiler works... no
configure: error: in `/infer':
configure: error: C compiler cannot create executables
See `config.log' for more details

Config log contains:
configure:2857: checking for C compiler version
configure:2866: /infer/facebook-clang-plugins/clang/install/bin/clang --version >&5
/infer/facebook-clang-plugins/clang/install/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
configure:2877: $? = 127
configure:2866: /infer/facebook-clang-plugins/clang/install/bin/clang -v >&5
/infer/facebook-clang-plugins/clang/install/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
configure:2877: $? = 127
configure:2866: /infer/facebook-clang-plugins/clang/install/bin/clang -V >&5
/infer/facebook-clang-plugins/clang/install/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
configure:2877: $? = 127
configure:2866: /infer/facebook-clang-plugins/clang/install/bin/clang -qversion >&5
/infer/facebook-clang-plugins/clang/install/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
configure:2877: $? = 127
configure:2897: checking whether the C compiler works
configure:2919: /infer/facebook-clang-plugins/clang/install/bin/clang    conftest.c  >&5
/infer/facebook-clang-plugins/clang/install/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
configure:2923: $? = 127
configure:2961: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Infer"
| #define PACKAGE_TARNAME "infer"
| #define PACKAGE_VERSION "0.14.0"
| #define PACKAGE_STRING "Infer 0.14.0"
| #define PACKAGE_BUGREPORT "https://github.com/facebook/infer/issues/"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2966: error: in `/infer':
configure:2968: error: C compiler cannot create executables
See `config.log' for more details

I can reproduce the problem, if I invoke clang program from infer directory:
# /infer/facebook-clang-plugins/clang/install/bin/clang
/infer/facebook-clang-plugins/clang/install/bin/clang: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

So, clang is installed and can be invoked without any issue:
# clang
clang: error: no input files

System info:
# uname -a
Linux 464748bbfd43 4.18.8-1-default #1 SMP PREEMPT Sat Sep 15 14:10:30 UTC 2018 (f486469) x86_64 GNU/Linux

Debian version:
# cat /etc/debian_version
buster/sid

How did you get the infer source in the first place? It looks like you're starting from a release build of 0.14.0 with clang pre-compiled. Can you install libtinfo5 or possibly libtinfo5-dev? That should solve the issue of the missing library.
Note that 0.15.0 is more recent and comes as pre-built binaries for clang and infer. If you'd like to build from source the master of infer is usually stable enough.

Yes, I'm using 0.14.0. Thanks, installing libtinfo5 fixed it. Next missing dependency was:
configure: error: menhir not found.

And after installing it is failing now with:
checking for menhir... menhir
checking for OCaml findlib package atdgen... not found
configure: error: missing OCaml dependency: atdgen

If you are using opam, please run

  opam update
  opam pin add --yes --no-action infer .
  opam install --deps-only infer

But it seems that I can use binary distribution instead.

For the record using ./build-infer.sh should take care of installing the opam dependencies such as menhir and atdgen, otherwise the commands in the error message you pasted should also help resolve this issue.

But it seems that I can use binary distribution instead.

Sounds good to me as you'll get a more up to date infer too.

Thanks.


knife ssh should not ask for password if the search was invalid

Description
knife ssh (when using --ssh-password for interactive password asking) should not ask for the password until the specified search query has returned w/o error.
Chef Version
12.6
Platform Version
N/A
Replication Case
knife ssh 'some invalid search' 'echo' --ssh-user root --ssh-password
Enter your password:
ERROR: The data in your request was invalid
Response: invalid search query: ...
Client Output
N/A
Stacktrace
N/A

Some prep info:
https://github.com/chef/chef/blob/master/lib/chef/knife/ssh.rb
The run method currently has the password-asking code in configure_password and the search is actually performed in configure_session:
        @longest = 0

        configure_user
        configure_password
        configure_ssh_identity_file
        configure_gateway
        configure_session
...

configure_session performs the search if --manual mode is not in effect and then heads into session_from_list.
To address the reported issue, the search should be performed outside of configure_session and happen before configure_password.


Updated _document.tsx code to remove errors

Original Discussion: https://github.com/nextui-org/nextui/issues/441
and my original code: https://github.com/nextui-org/nextui/issues/441#issuecomment-1116955466
I posted the correct code but I suppose the PR by anoushk1234 forgot to include ctx: any at line 82.
Without ctx: any, the editor would throw an error because ctx requires a type.
Explained here: https://stackoverflow.com/a/50414836/18995569

Hey @NayamAmarshe, the current NextUI + Next.js example targetsJavascript code, if you want to have the _document typescript implementation you can use the Next.js example https://nextjs.org/docs/advanced-features/custom-document#typescript, I hope to add the Typescript example soon as well


React to MemoryPool changes

When we pull in a new CoreFX (https://github.com/dotnet/corefx/pull/27615), we need to update the SlabMemoryPool react to the following changes and fix the following bugs:

The default reference count needs to be set to 1 when referencing counting
We need to change our very simple Interlocked.Increment/Decrement to a loop https://github.com/dotnet/corefx/pull/27615#discussion_r171680369

/cc @pakrym

Done in https://github.com/aspnet/Common/pull/326


[SourceControl] Use stable hash for filesystem ident

rdar://problem/41863472 Use a stable hash for repository directories
For the suffix, we now use first 8 chars of the url's SHA256 hash.
Technically, this can lead to a collision but that shouldn't matter
anyway because we just need a unique suffix.

@swift-ci please smoke test


mvnd in rtMaven

Hi,
I was wondering if we can use mvnd as a tool in rtMaven (https://www.jfrog.com/confluence/display/RTF5X/Working+With+Pipeline+Jobs+in+Jenkins)
We use rtMaven as part of jenkins pipeline file written in groovy and it only uses maven and runs mvn I was wondering if we can somehow use mvnd instead of mvn.
For us the rtMaven.tool equals to maven-3.3.9 and the way it runs maven is as follows -
rtMaven.run pom: 'pom.xml', goals: "clean install -Dmaven.test.skip=${params.skipJUnitTests}".toString()
Not sure if it is possible or if we can get this working, any help will be appreciated.
I want to fully utilize mvnd to improve the build process time.

I do not think we can help with rtMaven specific questions. You may consider contacting rtMaven developers.
Generally, for using mvnd on the CI:

If you expect faster builds thanks to building Maven modules in parallel, then you may consider using stock Maven's -T option.  But be warned that it may lead to issues caused by the fact that stock Maven (as of 3.8.2) does not prevent concurrent writes to the same file in the local Maven repo. BTW mvnd 0.6.0 suffers from this problem as well. You may or may not be affected by this depending on whether your source tree contains modules that (1) can be built in parallel and (2) have common dependencies.
Build time gains resulting from re-using a warmed up JVM and plugin class loaders can only be leveraged if you'd use one daemon instance across multiple CI builds. I have no idea whether this can be done with Jenkins and I am not 100% sure this kind of builds would fulfill the criterion of reproducibility. mvnd is still quite new and it still has bugs in its class loader caching implementation. This is fine when using it locally, because you can easily kill it via mvnd --stop when something goes apparently wrong. But doing this on the CI? I do not know.


Setting time for bucket retention policies is strange

try setting the RP of a bucket. it inserts 0s very aggressively. Let's update it to make it less aggressive.

closing in favor of https://github.com/influxdata/influxdb/issues/15691


[Bug] 在SparkOperation、FlinkOperation、ExecuteStatement是否存在加锁问题？

Code of Conduct

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

Search before asking

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

Describe the bug
在SparkOperation、FlinkOperation、ExecuteStatement等频繁用到了 state.synchronized {代码块}， 请问state是一个变量并且会在SQL执行过程中不断重新赋值， 怎么可以作为锁对象呢？
Affects Version(s)
1.5.0
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Fixed by https://github.com/apache/incubator-kyuubi/issues/4739


Updated the autofill for database querying to remove any underscores

Updated the autofill for annotation database search bars to replace all underscores with spaces to be friendlier for the database search engine.
Currently the autofill text prioritizes any assigned name of a variable before the actual ID.  This effect can be seen below:

Looks good! Tested locally, and everything works as expected.


Profiles

First pass at adding basic profile integration.
Idios will be another PR.

Dang, I thought I commented on this last week.  I think it's ready to merge, but I haven't taken a look at it recently.  Let me review it again and make sure there isn't anything left to do and I'll get it in and get a new version rolled.


Make azure-maps-geolocation appear in the release stage

/check-enforcer override

API change check
API changes are not detected in this pull request.


Fix nil values in mapbox result

Summary
Fixes nil return in the following Geocoder::Result::Mapbox methods: city, state, state_code, postal_code, country, country_code, and neighborhood.
Explanation
Given the following example of a "region" type response, the Geocoder::Result::Mapbox class will not return a value for the state or state_code methods despite the necessary data existing in the payload:
  {
    "id": "region.107756",
    "type": "Feature",
    "place_type": [
      "region"
    ],
    "relevance": 1,
    "properties": {
      "mapbox_id": "dXJuOm1ieHBsYzpBYVRz",
      "wikidata": "Q1384",
      "short_code": "US-NY"
    },
    "text": "New York",
    "place_name": "New York, United States",
    "bbox": [
      -79.8046875,
      40.4771401,
      -71.763627,
      45.0239467
    ],
    "center": [
      -75.4652471468304,
      42.751210955038
    ],
    "geometry": {
      "type": "Point",
      "coordinates": [
        -75.4652471468304,
        42.751210955038
      ]
    },
    "context": [
      {
        "id": "country.8940",
        "mapbox_id": "dXJuOm1ieHBsYzpJdXc",
        "wikidata": "Q30",
        "short_code": "us",
        "text": "United States"
      }
    ]
}

The incumbent logic assumes that there is an array item in context that will have an id containing the "region" string. Since there isn't one, nil is returned from the state and state_code methods. However, the id in the top-level of the object does contain the "region" string because it is a region type response. This means that the top-level text property is the value that should be returned in the state method, and the top-level properties.short_code should be returned as state_code.
This same pattern holds true for the other types of responses. The base payload "type" (id) determines whether or not values for certain methods should be pulled from a context list item or from the base text/properties.

Thanks for this!


Adds test for symlinks with dots in the dirname

This is the test case added for the following issue: https://github.com/paulmillr/chokidar/issues/751

I went ahead and added a solution to this as well. I had some failing tests before adding my fix. All of the tests pass, except the ones that were already failing.


Replace LoginManager dead wood

Followup to #117.
There is now a lot of dead wood in the LoginManager UI (and the code behind it) because all sorts of things like passwords and such are no longer needed. Fix this.
What I can think of:

[ ] Passwords
[ ] The way camera names are in the UserData
[ ] The way microphone names are in the UserData

There are also issues with the settings dialog:

[ ] Saving updates config-user.json but isn't immediately reflected in the running instance.
[ ] Point cloud capturer cannot be specified (only in config.json PCSelfConfig)
[ ] ... but webcam and microphone can!


chore(reports): change default executor to owner

SUMMARY
This changes Alerts & Reports to execute as the primary owner of the alert/report by default. In cases where there are multiple owners, the last modifier and creator are given priority in this order, otherwise the first owner will be used. This option was introduced in #21931.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@villebro This is great, and we're looking forward to testing it out. I assume that this is a 3.0 chore, and we should merge this when the branch opens up for breaking changes, but if someone wants to test out the functionality now, they would only need to change this config? ALERT_REPORTS_EXECUTE_AS: List[ExecutorType] = [ExecutorType.OWNER]

@villebro This is great, and we're looking forward to testing it out. I assume that this is a 3.0 chore, and we should merge this when the branch opens up for breaking changes, but if someone wants to test out the functionality now, they would only need to change this config? ALERT_REPORTS_EXECUTE_AS: List[ExecutorType] = [ExecutorType.OWNER]

@eschutho Yes, I think it's a good idea to slot this for 3.0. I'll tag it accordingly. And by changing the config as as proposed above you can opt in to this behavior.

If this is considered breaking, we should put it on the 3.0 project board and seek lazy consensus. The merge window is open!


Stopped working on the new update 0.115

Stopped working on the new update 0.115.
In the update they changed the integration with broadlink
And it does not work in the new update

Did you also update SmartIR?

Same

Same here. I have the lastest version of SmartIR (1.13.1) and I have this in the logs:
`Logger: custom_components.smartir.climate
Source: core.py:1269
Integration: SmartIR (documentation)
First occurred: 20:46:31 (3 occurrences)
Last logged: 20:46:33
not a valid value for dictionary value @ data['entity_id']
Traceback (most recent call last):
File "/config/custom_components/smartir/climate.py", line 337, in send_command
await self._controller.send(
File "/config/custom_components/smartir/controller.py", line 101, in send
await self.hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1269, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 208, in call
return self._exec((Schema(val) for val in self.validators), v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 287, in _exec
raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 283, in _exec
v = func(v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in call
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
return schema(data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in call
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: not a valid value for dictionary value @ data['entity_id']`

Did you also update SmartIR?

yep

Was controller_data also updated with the new remote.xxx entity?
https://github.com/smartHomeHub/SmartIR/blob/master/docs/CLIMATE.md#example-using-broadlink-controller

Was controller_data also updated with the new remote.xxx entity?
https://github.com/smartHomeHub/SmartIR/blob/master/docs/CLIMATE.md#example-using-broadlink-controller

ohhhh i'm stupid
thanks!!

Was controller_data also updated with the new remote.xxx entity?
https://github.com/smartHomeHub/SmartIR/blob/master/docs/CLIMATE.md#example-using-broadlink-controller

Vasili kalhspera
I need some help with the configuration of the broadlink. I am on 0.115 and I can not install broadling as integration.
Can you give me please an example to place for my configuration yaml?
until yesterday I had the following
`#smartir:
#switch:
- platform: broadlink
host: 192.168.1.xxx
mac: '34:EA:34:xx:42:xx'
type: "rm_mini"`
how I should change it?

Was controller_data also updated with the new remote.xxx entity?
https://github.com/smartHomeHub/SmartIR/blob/master/docs/CLIMATE.md#example-using-broadlink-controller

Vasili kalhspera
I need some help with the configuration of the broadlink. I am on HA 0.115 and SmartIR (1.13.1)
I can not install broadling as integration.
Can you give me please an example to place for my configuration yaml?
until yesterday I had the following
`#smartir:
#switch:
- platform: broadlink
host: 192.168.1.xxx
mac: '34:EA:34:xx:42:xx'
type: "rm_mini"`
how I should change it?

smartir:

switch:
  - platform: broadlink
    host: 192.168.1.xxx
    mac: 34:EA:34:xx:42:xx

same here, all of my fans stopped working after the upgrade.

I had the same issue, but that's what we get when we do not read release notes.
There is some major breaking change in Broadlink component.
Read this: https://www.home-assistant.io/blog/2020/09/17/release-115/#breaking-changes
What I did:

Removed the remote platform and switch platforms in my yaml files
Setup the integration
Rename the entities in yaml files accordingly to the new entity id, or you can change the entity id to the one that is already in your yaml files.
controller_data should now be referencing to the remote entity id rather than the IP or mac address.


ReferenceError: Can't find variable: Twilio

I tried to use your example to try out the plugin: https://github.com/lawchihon/TwilioClientPhoneGapExampleApp
But when I run it, it gives me the error of ReferenceError: Can't find variable: Twilio
If I added the Javascript SDK in index, it will not run the setup at all.
 <script type="text/javascript" src="//media.twiliocdn.com/sdk/js/client/v1.3/twilio.min.js"></script>
Why would it happen?
My system information:
Cordova CLI: 5.4.1
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic CLI Version: 1.7.16
Ionic App Lib Version: 0.7.3
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: Mac OS X El Capitan
Node Version: v6.10.2
Xcode version: Xcode 8.3.1 Build version 8E1000a

Hi,
Thanks - you can't use the Twilio Client Javascript SDK directly in a PhoneGap app. Instead you have to include the PhoneGap plugin's Javascript:
                        <script type="text/javascript" src="js/tcPlugin.js"></script>

Can you try that out?

Thanks for the quick reply. I am using your example which have included the PhoneGap plugin's javascript in the beginning. Or we need to download the Phonegap plugin somewhere else?

I've answered my solution here #86


Improve the Facade for the integration

This branch, essentially, is the "facade" that we're trying to achieve.


Add files via upload

School Website: https://comenius-deg.de
Description of a few IT-Related-Projects:
MINT - Project: https://comenius-deg.de/project/mint-konzept/
Jugend Forscht: A contest in which students work on STEM - Related Projects for a year: https://comenius-deg.de/project/jugend-forscht/
The subject IT and related offers: https://comenius-deg.de/project/informatik/

@AeneasTews Please provide us with a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@AeneasTews You might miss my previous comment. Please react.

Hey Philip,
Please excuse my not replying so far. I am currently still working on getting the original memo telling us to use this e-mail domain.
 Jan 2022, at 14:28, Philip Torchinsky @.***> wrote:
@AeneasTews https://github.com/AeneasTews You might miss my previous comment. Please react.
—
Reply to this email directly, view it on GitHub https://github.com/JetBrains/swot/pull/13327#issuecomment-1017504454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJKTWYF4SYBTTCOXF74WDXLUXAEW7ANCNFSM5L4G2NCA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.

@AeneasTews Do you have any update on the matter?

sadly I wasn't able to get a copy of any official document telling us to use these e-mail addressees, however i have taken a few screenshots of microsoft teams with this account logged in. it is proof that we all have an account and that we use these at our school

@AeneasTews Thank you for the clarification. Pull request merged.
I removed the screenshots for data privacy reason.


Multi line select on search page

Could we get a multi-line select on the search page results?

Can you expand on this a little bit? I'm not entirely sure what you want to select.

On the search results page, it's be handy to multi-select to download
multiple entries, or perform actions against multiple entries
On Wed., Mar. 2, 2022, 8:07 p.m. Garden Shade, @.***>
wrote:

Can you expand on this a little bit? I'm not entirely sure what you want
to select.
—
Reply to this email directly, view it on GitHub
https://github.com/gardenshade/mam-plus/issues/195#issuecomment-1057524859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTWOPU4ERDJZFZNDV6XCBDU577EVANCNFSM5PS2FI2A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah, I see what you're saying now, thanks :)
Select multiple search results and then Download Selected, Bookmark Selected, Open Selected in Tabs, etc


Install the latest dev release feature is broken on new OSes.

Test on any recent system.

This is fixed for version 4.0.0 with new SSL.

Ibrahim confirmed fixed.


TRIDENT-15645 - Okta source update

Purpose of this pull request
This pull request (PR) makes a small update to this article:
https://help.sumologic.com/docs/send-data/hosted-collectors/cloud-to-cloud-integration-framework/okta-source/#create-an-oktasource
Issue number: TRIDENT-15645

Select the type of change:

[x] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions and updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - Updates, maintenance, and new packages for the site, Gatsby, React, etc

Thanks, @kimsauce!


Shared - Export DummyJolokia or modify JolokiaService to serve hawtio-online

I have had to copy this into hawtio-online in order to always return an implementation of jolokia, regardless of error. Can we export it, please?
Of course, it might be that a review of ManagedPod might render this mute.
https://github.com/hawtio/hawtio-online/blob/2.x/packages/management-api/src/managed-pod.ts#L21
https://github.com/hawtio/hawtio-online/blob/2.x/packages/management-api/src/managed-pod.ts#L110

Originally posted by @phantomjinx in https://github.com/hawtio/hawtio-next/pull/569#discussion_r1335655528

Here are my points:

As we discussed, hawtio-online should rather use jolokiaService instead of directly depending on jolokia.js. This way, I don't think we need to export this DummyJolokia class.
What's important to discuss here is really that currently jolokiaService is provided as a singleton service, whereas hawtio-online should expect to use multiple Jolokia instances with each distinct connection, because hawtio-online needs to switch to different Jolokia endpoints provided by pods. We'd rather need to consider how to change the jolokiaService so that it can serve hawtio-online as well.

@phantomjinx Btw, why do we need DummyJolokia here? In hawtio-online, if you cannot create a proper Jolokia instance with the pod, there's something wrong happening and you shouldn't provide a connection to it anyway. I don't see the reason for all the troubles to use DummyJolokia here.
https://github.com/hawtio/hawtio-online/blob/8a4a5f3d78b8b2dbd86a0d5c44268465a80d71cd/packages/management-api/src/managed-pod.ts#L110

@phantomjinx Btw, why do we need DummyJolokia here? In hawtio-online, if you cannot create a proper Jolokia instance with the pod, there's something wrong happening and you shouldn't provide a connection to it anyway. I don't see the reason for all the troubles to use DummyJolokia here. https://github.com/hawtio/hawtio-online/blob/8a4a5f3d78b8b2dbd86a0d5c44268465a80d71cd/packages/management-api/src/managed-pod.ts#L110

Yes. That's true. It was more to satisfy the Typescript requirements of always returning a jolokia instance of some kind rather than undefined. However, I agree it is an error so perhaps better to throw or something similar in that particular case.

I think we can close this issue. For enhancements to jolokiaService , we can discuss each in a separate issue if there need be.


Improve Find Telegram Handle Coverage

Fixed #114

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines
Coverage Δ
Complexity Δ

.../seedu/address/logic/parser/FindCommandParser.java
100.00% <100.00%> (+21.42%)
5.00 <0.00> (+1.00)

... and 13 files with indirect coverage changes


bug in project.html

that demo used to work but now creates an error at:
Uncaught (in promise) TypeError: closestActualFormElement.inScopeVariables.keys is not a function or its return value is not iterable
    at getVariablesInScope (xpath-evaluation.js:216:65)
    at evaluateXPathToFirstNode (xpath-evaluation.js:263:28)
    at FxInsert.evalInContext (ForeElementMixin.js:138:26)
    at FxInsert.execute (abstract-action.js:126:10)
    at forLoop (fx-trigger.js:91:23)
    at FxTrigger.performActions (fx-trigger.js:95:5)
    at HTMLButtonElement.<anonymous> (fx-trigger.js:27:51)

To reproduce:
load the page and click on any '+' button next to a 'Checklist' twice - first insert still works fine but second will raise the above error.
Can fix it with the following test for Array:
    if(closestActualFormElement.inScopeVariables.hasOwnProperty('keys')){
      for (const key of closestActualFormElement.inScopeVariables.keys()) {
        const varElement = closestActualFormElement.inScopeVariables.get(key);
        variables[key] = varElement.value;
      }
    }

for this use case but that will cause var tests to fail.
What do you think @DrRataplan ?

already found this to be a regression caused by my humble attempt to pass in event detail properties into the vars.


GenericOpenApiScanner not working as expected - swagger maven plugin

Hello, I have a java application Jee not using any javax.rs annotation or Spring , I was using swagger maven plugin latest release to generate OpenAPI file. If i add javax annotations in the code on operation methods like @Path , @Get etc. then  the generation happens. If i remove those annotations it does not generate any openapi specs even if the @Operation annotations are used in the java file.
So My question are:-

Is my understanding of the GenericOpenApiScanner  proper, i.e. it should generate specs for Open API annotations even if javax.* annotations are not used in the code.
I tried using my own Scanner implementaation, but it gives Null pointer in execution, DO i need to also implement the Custom Reader also in that case??  For me the error It looks like the OpenAPI configurations were not getting loaded in this case.

Plugin configuration
<plugin>
          <groupId>io.swagger.core.v3</groupId>
          <artifactId>swagger-maven-plugin</artifactId>
            <version>2.2.2</version>
          <configuration>
             <resourceClasses>com.test.AbandonXXX</resourceClasses>
            <outputPath>${basedir}/target/</outputPath>
            <configurationFilePath>${project.basedir}/src/main/resources/openapi-configuration.yaml</configurationFilePath>
            <scannerClass>io.swagger.v3.oas.integration.GenericOpenApiScanner</scannerClass>
            <outputFormat>JSONANDYAML</outputFormat>
            <outputFileName>openapi</outputFileName>
            <readAllResources>true</readAllResources>
            <prettyPrint>true</prettyPrint>
          </configuration>
            <executions>
              <execution>
                <phase>compile</phase>
                <goals>
                  <goal>resolve</goal>
                </goals>
              </execution>
            </executions>

Java File
@Operation(operationId = "operationId",summary = "Abandon",
description = "Abandon")
@Override
public void execute() {
openapi configuration yaml
openapi : 3.0.3
resourcePackages:
  - com.test
prettyPrint: true
cacheTTL: 0
openAPI:
  info:
    version: '1.0'
    title:  App Config File
    description: 'This is the API for  App Module'
    termsOfService: http://swagger.io/terms/
    contact:
      email<EMAIL_ADDRESS>    license:
      name: Apache 2.0
      url: http://www.apache.org/licenses/LICENSE-2.0.html

In the code it is depended on the Annotations  i see


Changing DPI changes the default profile with it

Information

ratbagd version (0.17):
Distribution: EndeavourOS
Kernel version (ex. uname -srmo): Linux 6.9.8-arch1-1 x86_64 GNU/Linux

Device info (if applicable):
$ ratbagctl <device> info
[ruineka@ruineka-desktop ~]$ ratbagctl "Logitech G502 HERO Gaming Mouse" info
screaming-chipmunk - Logitech G502 HERO Gaming Mouse
             Model: usb:046d:c08b:0
       Device Type: Mouse
 Number of Buttons: 11
    Number of Leds: 2
Number of Profiles: 5
Profile 0:
  Name: n/a
  Report Rate: 1000Hz
  Resolutions:
    0: 3950dpi (active) (default)
    1: 100dpi (disabled)
    2: 100dpi (disabled)
    3: 100dpi (disabled)
    4: 100dpi (disabled)
  Button: 0 is mapped to 'button 1'
  Button: 1 is mapped to 'button 2'
  Button: 2 is mapped to 'button 3'
  Button: 3 is mapped to 'button 4'
  Button: 4 is mapped to 'button 5'
  Button: 5 is mapped to 'button 2'
  Button: 6 is mapped to 'button 2'
  Button: 7 is mapped to macro '↕KEY_KP1'
  Button: 8 is mapped to macro '↕KEY_TAB'
  Button: 9 is mapped to macro '↕KEY_6'
  Button: 10 is mapped to macro '↕KEY_5'
  LED: 0, depth: rgb, mode: cycle, duration: 7900, brightness: 255
  LED: 1, depth: rgb, mode: cycle, duration: 8000, brightness: 255
Profile 1:
  Name: n/a
  Report Rate: 1000Hz
  Resolutions:
    0: 4000dpi
    1: 800dpi
    2: 1600dpi (active) (default)
    3: 2400dpi
    4: 100dpi (disabled)
  Button: 0 is mapped to 'button 1'
  Button: 1 is mapped to 'button 2'
  Button: 2 is mapped to 'button 3'
  Button: 3 is mapped to 'button 4'
  Button: 4 is mapped to 'button 5'
  Button: 5 is mapped to macro '↕KEY_LEFTSHIFT'
  Button: 6 is mapped to macro '↕KEY_LEFTCTRL'
  Button: 7 is mapped to macro '↕KEY_LEFTALT'
  Button: 8 is mapped to macro '↓KEY_LEFTSHIFT ↓KEY_LEFTMETA ↕KEY_5 ↑KEY_LEFTSHIFT ↑KEY_LEFTMETA'
  Button: 9 is mapped to macro '↕KEY_6'
  Button: 10 is mapped to macro '↕KEY_5'
  LED: 0, depth: rgb, mode: on, color: c061cb
  LED: 1, depth: rgb, mode: on, color: ed333b
Profile 2:
  Name: n/a
  Report Rate: 500Hz
  Resolutions:
    0: 4000dpi (active) (default)
    1: 100dpi (disabled)
    2: 100dpi (disabled)
    3: 100dpi (disabled)
    4: 100dpi (disabled)
  Button: 0 is mapped to 'button 1'
  Button: 1 is mapped to 'button 2'
  Button: 2 is mapped to 'button 3'
  Button: 3 is mapped to 'button 4'
  Button: 4 is mapped to 'button 5'
  Button: 5 is mapped to 'second-mode'
  Button: 6 is mapped to macro '↓KEY_LEFTCTRL ↕KEY_C ↑KEY_LEFTCTRL'
  Button: 7 is mapped to macro '↓KEY_LEFTCTRL ↕KEY_V ↑KEY_LEFTCTRL'
  Button: 8 is mapped to 'profile-cycle-up'
  Button: 9 is mapped to 'wheel-right'
  Button: 10 is mapped to 'wheel-left'
  LED: 0, depth: rgb, mode: on, color: ffffff
  LED: 1, depth: rgb, mode: on, color: ffffff
Profile 3: (active)
  Name: n/a
  Report Rate: 1000Hz
  Resolutions:
    0: 3200dpi (active) (default)
    1: 100dpi (disabled)
    2: 100dpi (disabled)
    3: 100dpi (disabled)
    4: 100dpi (disabled)
  Button: 0 is mapped to 'button 1'
  Button: 1 is mapped to 'button 2'
  Button: 2 is mapped to 'button 3'
  Button: 3 is mapped to 'button 4'
  Button: 4 is mapped to 'button 5'
  Button: 5 is mapped to 'resolution-alternate'
  Button: 6 is mapped to 'resolution-down'
  Button: 7 is mapped to 'resolution-up'
  Button: 8 is mapped to 'profile-cycle-up'
  Button: 9 is mapped to 'wheel-right'
  Button: 10 is mapped to 'wheel-left'
  LED: 0, depth: rgb, mode: on, color: ffdc00
  LED: 1, depth: rgb, mode: on, color: ffdc00
Profile 4:
  Name: n/a
  Report Rate: 1000Hz
  Resolutions:
    0: 6400dpi (active) (default)
    1: 100dpi (disabled)
    2: 100dpi (disabled)
    3: 100dpi (disabled)
    4: 100dpi (disabled)
  Button: 0 is mapped to 'button 1'
  Button: 1 is mapped to 'button 2'
  Button: 2 is mapped to 'button 3'
  Button: 3 is mapped to 'button 4'
  Button: 4 is mapped to 'button 5'
  Button: 5 is mapped to 'resolution-alternate'
  Button: 6 is mapped to 'resolution-down'
  Button: 7 is mapped to macro '↕KEY_B'
  Button: 8 is mapped to 'profile-cycle-up'
  Button: 9 is mapped to 'wheel-right'
  Button: 10 is mapped to 'wheel-left'
  LED: 0, depth: rgb, mode: on, color: 8000ff
  LED: 1, depth: rgb, mode: on, color: 8000ff

Describe the bug
When I set the DPI to 4000 on profile 2 the default profile became profile 3 on it's own.
To Reproduce
Steps to reproduce the behavior:

Set DPI of the mouse on profile 1 and click apply
Restart piper and ratbagctl
Notice now that your profile is set to profile 2
Change the DPI of profile 2 and now the default profile will be 3 etc.

Logs
Please start the daemon with verbosity and reproduce the issue.

Seems to relate to #1606.


specify machine type for guest-agent amd64 test

Machine type became mandatory for not only arm64 test but also amd64 test. We need to specify it to avoid missing args..

/assign @zmarano
/assign @hopkiw


Add features of RasterizingLayer on map after a checkbox click

If I add RasterizingLayer to mapcontrol map after some button or checkbox click on GUI side, the features appear on map only after some user actions on map (like clicking somewhere).

Is this 4.7?
Do you use the NavigateTo

Don't know, which version we were using at the time, but it also happens after migrating to 2.0.0-beta.8 (that should be the current version of our project).
The code for creating layer is approximately like this:
var features = new Features { };

foreach (pointForLayer in pointsForLayer)
{
	var feature = new Feature { Geometry = pointForLayer.Geometry};
	feature.Styles.Add(CreateBitmapStyle("Path.to.image.jpg", 0.4, new Offset(0, 50)));
	features.Add(feature);
}

var provider = new MemoryProvider(features) { CRS = "EPSG:4326" };
var currentLayer = new RasterizingLayer(new MemoryLayer { DataSource = provider, Style = null, Name = "OurLayer", Enabled = true, IsMapInfoLayer = true }, onlyRerasterizeIfOutsideOverscan: false);
MapControl.Map.Layers.Add(currentLayer);

I added a Refresh on Map.Layers change which I assume fixes this issue (Did not test). It will be part of the next release.
Perhaps you can call MapControl.RefreshData() as a workaround for now.

Thanks! Hmm, I think I did use RefreshData earlier, but it didn't work :) But maybe I did something else in wrong way


Fix typo in 'respond_with' documentation

Just a tiny documentation typo fix. :relaxed:

Thanks 💙


Changelog?

Hello, is there any changelog available or planned? It would be nice to know what new releases contain before upgrading to them thanks!

Changelogs are available in the release notes.
If you don't see any notes for a release it means it was just a chore, not a feature/fix/refactor.

FWIW, using releases as changelogs is not very convenient. There's a new release almost every day, most of them just updating dependencies. And I can't filter those out (that I could see, at least). So if I want to understand what actually changed I have to wade through dozens of pages of empty releases.


Sort job outputs in merge

This is a feature we talked about having in 1.4 but didn't quite get around to implementing. We should add it as part of a point release.
The outputs of job's should be merged based on lexicographic ordering of the inputs, ie if you have 2 datums, foo and bar that both output to a file buzz then once merged the content of buzz should be:
<output from bar>
<output from foo>

because bar comes before foo lexicograpically.

This is something we're doing as part of the broader storage overhaul.


Guidanced Needed in Understanding and Downloading Correct Version of ONNXRUNTIME-GPU and CUDA

I am still a beginner with jetson containers and am trying to understand things conceptually.
I have docker image that is my own image that I want to run as a container utilizing the GPU on my Jetson AGX Xavier. For that, I need to modify the Dockerfile for the image to install Cuda and onnxruntime-gpu, whose versions should match and be compatible with the nvidia driver I have.
It is my understanding that I cannot build the onnxruntime and cuda containers in this repo and use them for my image. So how can I ensure that I am downloading the right versions in the dockerfile for my image?
Guidance would greatly be appreciated. Thank you!
nvidia@ubuntu:~$ cat /etc/nv_tegra_release
R35 (release), REVISION: 4.1, GCID: 33958178, BOARD: t186ref, EABI: aarch64, DATE: Tue Aug  1 19:57:35 UTC 2023
nvidia@ubuntu:~/uswebapp/jetsonserver$ dpkg-query --show nvidia-l4t-core
nvidia-l4t-core 35.4.1-20230801124926

@HShamimGEHC IIRC the onnxruntime dockerfile from this repo currently builds onnxruntime 1.16, however if it's easier for you the appropriate wheels for your environment can just be installed from https://elinux.org/Jetson_Zoo#ONNX_Runtime


support "port" in oracle connection

Currently, when oracle DSN is provided with a port, e.g. oracle://localhost:1234/db, the cx_Oracle driver will report
'port' is an invalid keyword argument for this function

Accordding to the docs, cx_Oracle support port in dsn parameter:

If the database is using a non-default port, it must be specified:
connection = cx_Oracle.connect(user="hr", password=userpwd,
                               dsn="dbhost.example.com:1984/orclpdb1",
                               encoding="UTF-8")

This PR parses port from data-diff into host of cx_Oracle, thus supports port number in oracle connection.
close #370

Hi there, will my PR be reviewed?

Hey! can someone review this PR?

Appreciate the contribution @qsliu2017 !


return upkeep ID after registration

This upkeep ID is used in further operations, such as cancelling an upkeep
CL PR here https://github.com/smartcontractkit/chainlink/pull/6664

closing as i combined changes in https://github.com/smartcontractkit/chainlink-testing-framework/pull/320


⚠ CIOOS Pacific ERDDAP dataset ECCC_MSC_BUOYS has degraded performance

In cf5b7cf, CIOOS Pacific ERDDAP dataset ECCC_MSC_BUOYS (https://data.cioospacific.ca/erddap/tabledap/ECCC_MSC_BUOYS.htmlTable?wmo_synop_id&time>now-3hours&distinct()) experienced degraded performance:

HTTP code: 404
Response time: 10389 ms

Resolved: CIOOS Pacific ERDDAP dataset ECCC_MSC_BUOYS performance has improved in 9f9bf19 after 4 minutes.


Phonetic Fingerprint

I didn't find whether the algorithm "Phonetic Fingerprint" supports other languages that english or german.
If not, is there an idea to implement it in the future?
Thanks for sharing this awesome tool and trying to keep it updated 👍

We use these that support English and German.
(we could add others or you or someone else could with a bit of Java and a pull request)
org.apache.commons.codec.language.Metaphone;
org.apache.commons.codec.language.DoubleMetaphone;
org.apache.commons.codec.language.ColognePhonetic;
org.apache.commons.codec.language.Soundex;
and Metaphone3 ... there are some good code comments from developer Lawrence Philips in here about how Metaphone3 works with English and its keying system https://github.com/OpenRefine/OpenRefine/blob/master/main/src/com/google/refine/clustering/binning/Metaphone3.java
German language is support uses.
https://commons.apache.org/proper/commons-codec/apidocs/index.html?org/apache/commons/codec/language/ColognePhonetic.html


Completion source for vimscript

I've just recently started to look into NCM, and it seems quite good. One thing I miss from neocomplete which I used earlier is a good source for vimscript. Would it be possible to implement something similar through the use of neco-vim?

Would it be possible to implement something similar through the use of neco-vim?

I is definitely possible.
There's a minimal example on how to implement a source with vimscript, :help NCM-source-examples.
Use vim's help system for more information on NCM's api, for example, :help cm#complete()
Feel free to ask questions if the documentation is confusing.

Thanks. I'm trying to implement this now. I've first added this to my own ftplugin/vim.vim file:
augroup cm_complete_vim
  autocmd!
  autocmd User CmSetup call cm#register_source({
        \ 'name' : 'vim',
        \ 'priority': 9,
        \ 'scoping': 1,
        \ 'scopes': ['vim'],
        \ 'cm_refresh': 'personal#vim#cm_refresh',
        \ 'cm_refresh_patterns': ['fo$'],
        \ })
augroup END

The function personal#vim#cm_refresh(opt, ctx) is defined as follows (obv. in my own autoload/personal/vim.vim file):
function! personal#vim#cm_refresh(opt, ctx)
  let l:matches = ['foobar', 'foobaz', 'barbaz']
  call cm#complete(a:opt['name'], a:ctx, a:ctx['startcol'], l:matches)
endfunction

I would expect this to complete foobar and foobaz similar to the minimal source example. However, this does not work. Perhaps I'm missing something crucial here?
Also, I'm wondering, how would I debug this? Do you have any functions that shows which sources are available/loaded? I couldn't find anything like that in the docs, only cm#get_context (which might be more relevant later when I work on the actual completion through the neco-vim plugin).

Ok, if I call the register_source function without the autocmd, then it works. So, it seems the CmSetup fires before the FileType autocmd, or something like that. Do you have any recommendations wrt best practices here?
I also discovered the g:_cm_sources variable, so that provided the other part.
With that, I'm ready to try to couple this with neco-vim.
If I understand correctly, you prefer that sources are provided as external plugins. Thus, I should either make this as a PR to neco-vim, or provide a new plugin with an NCM source on top of neco-vim. Any comments on this?

I'm getting closer now, but it's a bit tricky to understand how things work.  In particular, I am not sure what to pass to the necovim#gather_candidates. It asks for arguments input and complete_str. This version above seems to work for some things, such as autoload functions and intrinsic functions, but not for others such as options, dictionaries, etc.
Perhaps @Shougo would be able to help as well? I think to make this work properly, I would need to be able to translate from NCMs context to the context that is used by neocomplete/deoplete.

Perhaps @Shougo would be able to help as well? I think to make this work properly, I would need to be able to translate from NCMs context to the context that is used by neocomplete/deoplete.

Hm.  If you send PR, I will include it.

@lervag

So, it seems the CmSetup fires before the FileType autocmd, or something like that. Do you have any recommendations wrt best practices here?

Currently CmSetup is triggered on BufWinEnter only once. It should be registered at vim's startup(in .vimrc file, or plugin/ directory). I have a plan to improve this behavior. But it is low priority.
If you put register_source call into filetype, there's no need to use CmSetup.

If I understand correctly, you prefer that sources are provided as external plugins. Thus, I should either make this as a PR to neco-vim, or provide a new plugin with an NCM source on top of neco-vim. Any comments on this?

I do prefer sources provided as external plugins. I may possibly  include a source if it's not language specific or for a popular language that I'm able to mantain, and it should be easy to setup without dependencies.
I'll add it to the sources list either way.

This version above seems to work for some things, such as autoload functions and intrinsic functions, but not for others such as options, dictionaries, etc.

I just tried deoplete version of necovim, there was no completion for vim options as well. There's completoin from current buffer if you type the option string twice.

Ok, thanks. I've opened a PR with necovim now.

FYI: neco-vim now has support for nvim-completion-manager for completing vimscript.


generate js file with token task [CPP-912]

To hide access token, we will compile trajectory_raw.js into trajectory.js replacing %ACCESS_TOKEN% with env var
Creates trajectory.js via task cargo make map-js-token requiring $MAPBOX_TOKEN.
Modify trajectory_raw.js to adjust map, cargo make generate-resources will generate the mapped token via env var.
Will need to create MAPBOX_TOKEN secret for private CI, is ok for public CI.

Frontend and Release Workflow Started here

Frontend and Release Workflow Started here

Frontend and Release Workflow Started here

Frontend and Release Workflow Started here

Frontend and Release Workflow Started here

Frontend and Release Workflow Started here

https://github.com/swift-nav/swift-toolbox-ci/actions/runs/4370355661
built artifacts generates mapbox token OK and tested running on mac


Cache mocking in tests errors when using CacheBasedMaintenanceMode

Laravel Version
10.34.0
PHP Version
8.2
Database Driver & Version
No response
Description
Cache facade mock expectations fail when the CacheBasedMaintenanceMode driver is configured.
I think the driver is configuring the cache store before the mocking occurs, which is perhaps tripping it up later in the test.
Steps To Reproduce
This feature test will pass when in a fresh Laravel application.
<?php

namespace Tests\Feature;

use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Route;
use Tests\TestCase;

class CacheTest extends TestCase
{
    public function test_cache_put(): void
    {
        Route::get('/cache-put', function () {
            Cache::put('foo', 'bar');
            return Cache::get('foo');
        });

        Cache::shouldReceive('put')->once()->with('foo', 'bar');
        Cache::shouldReceive('get')->once()->with('foo');

        $this->get('/cache-put');
    }
}

However, if you enable the cache-based maintenance mode in config/app.php like this:
    'maintenance' => [
        'driver' => 'cache',
        // 'store' => 'redis',
    ],

The first expectation fails:
1) Tests\Feature\CacheTest::test_cache_put
Mockery\Exception\InvalidCountException: Method put('foo', 'bar') from Mockery_0_Illuminate_Cache_CacheManager should be called
 exactly 1 times but called 0 times.

/usr/src/myapp/vendor/mockery/mockery/library/Mockery/CountValidator/Exact.php:28
/usr/src/myapp/vendor/mockery/mockery/library/Mockery/Expectation.php:298
/usr/src/myapp/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:109
/usr/src/myapp/vendor/mockery/mockery/library/Mockery/Container.php:289
/usr/src/myapp/vendor/mockery/mockery/library/Mockery/Container.php:274
/usr/src/myapp/vendor/mockery/mockery/library/Mockery.php:194
/usr/src/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php:221

The logs/laravel.log file has this in it:
[2023-11-28 17:54:03] testing.ERROR: Received Mockery_0_Illuminate_Cache_CacheManager::store(), but no expectations were specified {"exception":"[object] (Mockery\\Exception\\BadMethodCallException(code: 0): Received Mockery_0_Illuminate_Cache_CacheManager::store(), but no expectations were specified at /usr/src/myapp/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(24) : eval()'d code:923)
[stacktrace]
#0 /usr/src/myapp/vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(24) : eval()'d code(979): Mockery_0_Illuminate_Cache_CacheManager->_mockery_handleMethodCall('store', Array)
#1 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Foundation/CacheBasedMaintenanceMode.php(95): Mockery_0_Illuminate_Cache_CacheManager->store('array')
#2 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Foundation/CacheBasedMaintenanceMode.php(75): Illuminate\\Foundation\\CacheBasedMaintenanceMode->getStore()
#3 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(54): Illuminate\\Foundation\\CacheBasedMaintenanceMode->active()
#4 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#5 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#6 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#7 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#8 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#9 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#10 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#11 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#12 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php(573): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#13 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/MakesHttpRequests.php(334): Illuminate\\Foundation\\Testing\\TestCase->call('GET', '/cache-put', Array, Array, Array, Array)
#14 /usr/src/myapp/tests/Feature/CacheTest.php(22): Illuminate\\Foundation\\Testing\\TestCase->get('/cache-put')
#15 /usr/src/myapp/vendor/phpunit/phpunit/src/Framework/TestCase.php(1114): Tests\\Feature\\CacheTest->test_cache_put()
#16 /usr/src/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php(174): PHPUnit\\Framework\\TestCase->runTest()
#17 /usr/src/myapp/vendor/phpunit/phpunit/src/Framework/TestCase.php(653): Illuminate\\Foundation\\Testing\\TestCase->runTest()
#18 /usr/src/myapp/vendor/phpunit/phpunit/src/Framework/TestRunner.php(103): PHPUnit\\Framework\\TestCase->runBare()
#19 /usr/src/myapp/vendor/phpunit/phpunit/src/Framework/TestCase.php(489): PHPUnit\\Framework\\TestRunner->run(Object(Tests\\Feature\\CacheTest))
#20 /usr/src/myapp/vendor/phpunit/phpunit/src/Framework/TestSuite.php(340): PHPUnit\\Framework\\TestCase->run()
#21 /usr/src/myapp/vendor/phpunit/phpunit/src/Framework/TestSuite.php(340): PHPUnit\\Framework\\TestSuite->run()
#22 /usr/src/myapp/vendor/phpunit/phpunit/src/Framework/TestSuite.php(340): PHPUnit\\Framework\\TestSuite->run()
#23 /usr/src/myapp/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(63): PHPUnit\\Framework\\TestSuite->run()
#24 /usr/src/myapp/vendor/phpunit/phpunit/src/TextUI/Application.php(189): PHPUnit\\TextUI\\TestRunner->run(Object(PHPUnit\\TextUI\\Configuration\\Configuration), Object(PHPUnit\\Runner\\ResultCache\\DefaultResultCache), Object(PHPUnit\\Framework\\TestSuite))
#25 /usr/src/myapp/vendor/phpunit/phpunit/phpunit(99): PHPUnit\\TextUI\\Application->run(Array)
#26 /usr/src/myapp/vendor/bin/phpunit(122): include('/usr/src/myapp/...')
#27 {main}
"}

Hey there,
While this may be a legitimate issue, can you first try posting your problem or question on one of the support channels below? If this issue can be definitively identified as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!

@crynobone I'd appreciate if someone could take another look at this, as it's definitely a bug.
Here's a repo that contains a fresh Laravel application. All I've added is a feature test which proves the bug. The readme contains two commands to run the test with maintenance mode in file  (passes) and cache (fails) modes.


Today button

Add today button with some translations and the example.
When moment implements https://github.com/moment/moment/issues/2415, the translations can be taken from there.

Nice work. Can you make sure the CI passes, and would love to see some tests added if you have time for that.

Finishing in #326


Adds support to create/delete metric rollups via dataset-config

Signed-off-by: Harkishen-Singh<EMAIL_ADDRESS>In relation with https://github.com/timescale/promscale_extension/pull/538
Description
This commit adds support for creation or deletion of metric rollups by reading
the dataset-config file. The dataset config file contains a new field downsample:
which supports 2 options: automatic & resolution.
If automatic is false, then connector updates this setting in the database (in the default table) so that _prom_catalog.scan_for_new_rollups does not create any new rollups (Caggs).
resolution is a comma separated list of resolutions for downsampling, in a way that
label:resolution:retention is the format that is needed.
Example: short:5m:90d,long:1h:365d
-> The resolution works in a strict manner. Its aim is to make sure that the database contains
exactly those resolutions that are mentioned in the dataset config. Like, if the database
already contains short and long downsampled data and the dataset is supplied with short:5m:90d,very_long:1d:365d
then long downsampled case is deleted and very_long is created.
-> resolution is applied if automatic is true. If automatic is not given in dataset config, it defaults to true
based on our plan to keep downsampling applied as a default setting.
Merge requirements
Please take into account the following non-code changes that you may need to make with your PR:

[ ] CHANGELOG entry for user-facing changes
[ ] Updated the relevant documentation

Went through the rest of the code. Beside my previous comments I've noticed there are no e2e tests to test DB interaction. I'd recommend including those. Otherwise looks good (left few nits about improving some comments).

This PR will be merged after the merge of https://github.com/timescale/promscale_extension/pull/538

Oops, I just saw that the PR is opened against the master, not the feature branch https://github.com/timescale/promscale/tree/feature_metric_rollup. Need to change this.


v1.0 Metaissue

Items in this list need to be completed before 1.0 is cut, but they will be released incrementally in minor version bumps.
TODO:

[x] PartialEq and Eq implementations for Schedule (See #61)

[x] Allow users to test whether a given DateTime matches their schedule (See #16)

[x] Allow users to iterate over a Schedule backwards, viewing matching historical DateTimes (See #66)

[ ] Provide a convenience method for iterating over a window of time (schedule.from(time1).to(time2))

[ ] ScheduleParserBuilder that allows users to specify different configuration options. Options included TBD, but ideas include:

0- vs 1-based indexing for some fields
Recognizing a different set of strings for days of the week or months of the year
Specifying whether an extra field represents seconds or years (See #13)

No individual option is required for 1.0, but introducing a ScheduleParserBuilder is. Individual options can be added without it being a breaking change.

[ ] Proper documentation

[x] Re-license to dual MIT/Apache2

I suggest to add a high level parse method so you can parse a cron expression using something like this:
let job = cron::parse(some_cron_expr).unwrap();

// ...

This feels much more natural and is easier to read.

Would it be possible to do even a beta or RC release sometime soon? :) The nom update is needed to fix an incompatibility with argonautica v2:
Running cargo outdated gives me this, and I know some others around the internet are reporting the same.
Happy to help test an RC and provide feedback!
error: failed to select a version for `nom`.
    ... required by package `argonautica v0.2.0`
    ... which satisfies dependency `argonautica = "^0.2.0"` of package `<my crate> v0.1.0 (/var/folders/4n/dw119dzd09xg6g65gc2zv1qc0000gp/T/cargo-outdatedFGZAad)`
versions that meet the requirements `^4.2` are: 4.2.3, 4.2.2, 4.2.1, 4.2.0

all possible versions conflict with previously selected packages.

  previously selected package `nom v4.1.0`
    ... which satisfies dependency `nom = "~4.1"` of package `cron v0.9.0`
    ... which satisfies dependency `cron = "^0.9.0"` of package `<my crate> v0.1.0 (/var/folders/4n/dw119dzd09xg6g65gc2zv1qc0000gp/T/cargo-outdatedFGZAad)`

failed to select a version for `nom` which could resolve this conflict

Hi @willbuckner, no need to wait on the full v1.0, I'll try to get a v0.10 with the latest commits published soon.

Thanks so much!
On Mon, Mar 21, 2022 at 6:10 AM Zack Slayton @.***>
wrote:

Hi @willbuckner https://github.com/willbuckner, no need to wait on the
full v1.0, I'll try to get a v0.10 with the latest commits published soon.
—
Reply to this email directly, view it on GitHub
https://github.com/zslayton/cron/issues/67#issuecomment-1073876438, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AALEDNYCIC7GVP7IHF3SADLVBBYMNANCNFSM4W43KG3Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


Add Networkpolicys for istio-system

How to categorize this PR?
/area networking
/kind enhancement
What this PR does / why we need it:
Provide strict network policies for the istio-system so that it can only establish network connectivity to the endpoints that it is configured to reach inside the cluster and the seed api-server.
This is a second line of defence in case of a bug or misconfiguration of istio.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Release note:
Deploy network policies to namespace istio-system to only allow traffic to configured endpoints inside the cluster and the seed api-server.

/test pull-gardener-e2e-kind-ha-single-zone

/milestone v1.58

@axel7born , can you run make format to fix the failing pull-gardener-unit test?


GeneratedCodeAttribute

Tried out this functionality and love the approach.
When running the coverage through coverlet, I noticed a significant drop compared to when running under Resharper.
My project has a lot of auto-generated code for WCF and Swagger clients. These are marked with the GeneratedCodeAttribute. It would be a good idea to add this to the list of attributes that excludes code.

Hi @kimbell, take a look at this https://github.com/tonerdo/coverlet#excluding-from-coverage to get an idea how to ignore your generated code. Let me know if you need any help

We have multiple projects and we use cake as the build system. One of our goals is to keep the cake file the same across each project so that it's easy to update things.
If we need to exclude namespaces, we would need some way of keeping that configuration external to the cake file. It's possible, but seems like a bit of a hassle. This would also mean that you would have to ensure that the code is generating code into namespaces you don't use for your custom code. This is also possible, but not very intuitive.
Would it be possible to provide as list of attributes that should be used for exclusion on the command line?
What is the argument for not excluding generated code?

Why not just exclude the generated files using the ExcludeByFile property? https://github.com/tonerdo/coverlet#source-files

ExcludeByFile is an option, but I would still have to maintain a list for each project if I am to share the build configuration. Doable, but nice to avoid if possible.

You can now use p:ExcludeByAttribute feature https://github.com/tonerdo/coverlet/blob/589e210e740bbf243cb0e57acbff7bf4e1ea8a66/Documentation/MSBuildIntegration.md#attributes


Add Common Lisp (sbcl)

Starter kit is also mostly written, once there is somewhere to put that

Here you go: https://github.com/icfpcontest2020/starterkit-commonlisp/


fix grammatical error

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congrats @JJ-Tu on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Google Signin Popup Language

I am using the Google Javascript API to show Google Login Popup and authenticate user, using the following sample code and it works fine :
https://developers.google.com/api-client-library/javascript/samples/samples
Issue is that i want to have this google login popup in Swedish language and i am unable to do that. Earlier when using gapi.auth.signIn() i was able to do that using the following script, but it DOES NOT work for the above sample code.
window.___gcfg = {
lang: 'sv-SE',
parsetags: 'onload'
};
Kindly help as its urgent. Thankyou!

@rahatjaan the Google Sign-In popup language is defined by the language of the user's main Google Account. Could you explain a bit more your use case? What if some of your users' main language is not Swedish?

Closing the issue, please reopen if it's still a problem for your use case.

Is this still the official answer? Because, in maps for example, you can set the map's language regardless of the user's language..

@rahatjaan the Google Sign-In popup language is defined by the language of the user's main Google Account. Could you explain a bit more your use case? What if some of your users' main language is not Swedish?

But if popup is for the user to sign in (not yet logged in), How can it use the language defined in the users main google account ?

Maybe they're using a Cookie or localStorage?

But my implementation needs me to open it in the language that the user has already selected on our website and I think the requirement seems correct.

I agree that this should be the behaviour. It's working for Google maps..

Do we have solution for this ?


Home page carousel pagination not loading properly

The carousel page is not being imported properly (?)
Can be found in the "Our Projects" section

https://github.com/code4sac/opensac.org/pull/22

Fixed by #22


"in" identified as "imaginary", not "inches"

#!/usr/bin/raku

use     Physics::Unit;
use     Physics::Measure;
use     Physics::UnitPostfix;

my $a;

# Works
$a = Length.new('7.27 in');
say $a;

# Fails
$a = Length.new('7.27in');
say $a;

Here's the output:
Physics::Measure::Length.new(value => 7.27, units => Unit.new( factor => 0.0254, offset => 0, defn => 'ft/12', type => '',
          dims => [1,0,0,0,0,0,0,0], dmix => ("ft"=>1).MixHash,
          names => ['in','inch','inchs']  );
)
Cannot convert 0+7.27i to Real: imaginary part not zero
  in sub extract at [redacted] (Physics::Measure) line 32
  in method new at [redacted] (Physics::Measure) line 53
  in block <unit> at ./intest line 14

Using the same version as last time (0.0.3)
HTH!

Hi @wayland - thanks for the feedback. The the .new constructor will parse Strings with the defn-extract regex /^ (  ) \s* ( <-[±]>* ) $/    [see Measure.rakumod line 102]. In this case, raku genuinely that 7.27i is a complex number. I think the best way to handle this is to test for both number == complex && first letter = 'I' then insert space and reparse.
This to be closed in v0.0.4 - due in a few weeks.

Sounds good!  In the meantime, I'm splitting it apart and putting a space in manually.

Here it is golfed. Turns out that defined assertion also gets Complex which we don't want.
my regex number is export {
\S+                     #grab chars
<?{ +"$/" ~~ Real }>    #assersion coerces via '+' to Numeric (Real && Complex)
##<?{ defined +"$/" }>    #assert coerces via '+' to Real
}
#my $s = '7m';
#my $s = '7 m';
my $s = '7in';
#my $s = '7 in';
$s ~~ /^ (  ) \s* ( <-[±]>* ) $/;
my $v = +"$0".Real if $0.defined;
my $u =  "$1".Str  if $1.defined;
say "extracting «$s»: v is «$v», u is «$u»";

Hi @wayland - I have completed this as a HotFix to the Master branch here at GitHub. You can get right away with:
zef uninstall Physics::Measure
zef install --verbose https://github.com/p6steve/raku-Physics-Measure.git

or similar

Cool, thanks!


Documentation Roadmap

Hi,
I would love to follow a roadmap on the homepage or as milestones on github.

https://github.com/flynn/flynn/labels/P1 is a good place to look for our current priorities

That's a good hint. :)


feat(error): implement std error for EncryptError

Thanks for the recent release!
This makes EncryptError slightly easier to use with anyhow and
other libraries that leverage std::error::Error.

No problem! Happy to help 🙂


add a sepearate contributers.md file

Hey @yuvrajsinghgmx i can add up a contributors.ms file with beginner friendly steps , it will look more organized and easier for contributors to find the steps to contribute , it will potentially boost the engagement with your repo , kindly assign this to me with labels gssoc extd and hacktoberfest accepted

hey @yuvrajsinghgmx ill submit pr soon !!

@aditya07389 Any Update ??

yeah i have exam ill do it soon

by tom??


please include a LICENSE file

your setup.py says "BSD", please include a license file with actual license text.

Done


Stops working after all drops claimed

When i collect all three drops in the campain (rocket league) it stops working sometimes. It still sets timeouts but wont find new campains/streams until i restart it.
Cannot read property 'getProperty' of null TypeError: Cannot read property 'getProperty' of null
at StreamPage.getUptime (/home/pi/Desktop/Twitch-Drops-Bot-master/src/pages/stream.js:51:40)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async watchStreamUntilDropCompleted (/home/pi/Desktop/Twitch-Drops-Bot-master/src/index.js:206:108)
at async processCampaign (/home/pi/Desktop/Twitch-Drops-Bot-master/src/index.js:379:17)
at async /home/pi/Desktop/Twitch-Drops-Bot-master/src/index.js:817:17
This is the error code and after it it only shows this in an infinite loop (there is no stream it can watch)
Watching https://www.twitch.tv/rocketleagueapac | Viewers: 14260 | Uptime: 5:27:34
Fall Split Suite ░░░░░░░░░░░░░░░░░░░░ 0 / 120 minutes
[2021-11-23 17:13:37] [info] Sleeping for 15 minutes...
[2021-11-23 17:16:04] [info] Updating drop campaigns...
[2021-11-23 17:16:04] [info] Found 60 active campaigns.
[2021-11-23 17:16:04] [info] Found 0 pending campaigns.
Also so viewer/time wont change. It just repeats the message over and over

Are you using the latest version of this repo? I'm unable to reproduce the error.

Nope. Im testing right now but there are no campains. I write if it happens again

Works fine now. Still very bad performance with the pi it times out a lot. But i think thats a problem with the pi not ur bot.

There was a load_timeout_secs option added recently, maybe increasing that can help?

I dont know if im doing something wrong but changing the config doesnt work for me.

That's strange. Are you sure you are changing the correct file? You can also provided it as a command-line argument instead: --load-timeout-secs 60.

Also fixed now


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
2f5d739aff9bb2a5b7370f21cd101fef84087bc7
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Too many open files in system

When using the DataDreamer library to interact with Cohere, the system encounters an OSError related to exceeding the maximum number of open files.
    yield llm.format_prompt(
  File "/usr/local/lib/python3.10/dist-packages/datadreamer/llms/llm.py", line 231, in format_prompt
    required_token_count = self.final_count_tokens(construct_final_prompt([]))
  File "/usr/local/lib/python3.10/dist-packages/datadreamer/llms/llm.py", line 92, in final_count_tokens
    return self.count_tokens(value)
  File "/usr/local/lib/python3.10/dist-packages/ring/func/base.py", line 816, in __call__
    return self.run(self._rope.config.default_action, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/ring/func/base.py", line 671, in run
    return attr(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/ring/func/base.py", line 697, in impl_f
    return attr(self, *fargs, pargs=pargs)
  File "/usr/local/lib/python3.10/dist-packages/ring/func/sync.py", line 54, in get_or_update
    result = self.execute(wire, pargs=pargs)
  File "/usr/local/lib/python3.10/dist-packages/ring/func/base.py", line 380, in execute
    return wire.__func__(*pargs.args, **pargs.kwargs)
  File "/usr/local/lib/python3.10/dist-packages/datadreamer/llms/_litellm.py", line 146, in count_tokens
    return token_counter(
  File "/usr/local/lib/python3.10/dist-packages/litellm/utils.py", line 2851, in token_counter
    tokenizer_json = _select_tokenizer(model=model)
  File "/usr/local/lib/python3.10/dist-packages/litellm/utils.py", line 2582, in _select_tokenizer
    tokenizer = Tokenizer.from_pretrained("Cohere/command-nightly")
  File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1201, in hf_hub_download
    os.makedirs(storage_folder, exist_ok=True)
  File "/usr/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)
OSError: [Errno 23] Too many open files in system: '/root/.cache/huggingface/hub/models--Cohere--command-nightly'

Hi, unfortunately, this looks like something to do with your system. Either check your ulimit or if that is fine, then check and see if your folder is one some kind of mounted file system like a S3 bucket, GCS bucket, or NFS, something like that might cause issues. Worst case, I would recommend trying on another machine.
See this post of someone else having a similar issue if it helps: https://discuss.huggingface.co/t/too-many-open-files-when-loading-common-voice/14182


Unavailable URL in Demo

Hi, I found the host(https://api.app.net/) used in iOS example could not be found. Can you update the URL? Thanks :)

Yes, since those were written that service has disbanded. A new example is on the to-do list.


Limit blob file read IO with rate_limiter

Limit Titan blob file read IO with rate_limiter, to avoid burst of IO starve online workloads.

@yiwu-arbug Maybe we should use another limiter for reader?

Codecov Report

Merging #54 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
+ Coverage   84.46%   84.47%   +0.01%
==========================================
  Files          44       44
  Lines        2774     2776       +2
==========================================
+ Hits         2343     2345       +2
  Misses        431      431

@yiwu-arbug Maybe we should use another limiter for reader?

Not really. Check RateLimiter::Mode.

@thanks!

@yiwu-arbug Thanks! Please take a look again?


Corrected misspelling  seperated to separated

Corrected misspelling  seperated to separated

@jpmicrosoft : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Redis:  Output Binding - Get operation does not return nil

Output Binding Error
area runtime
What version of Dapr?
CLI version: 1.10.0
Runtime version: 1.10.2
Expected Behavior
When using an Output Binding on a 'get' operation with Redis, return nil or null if the key does not exist.
Actual Behavior
Dapr throws an exception rather than returning nil.  The problem is that I have to look at the string message to determine if the value does not exist or if there was a network error, as the errors are very similar:
Value cannot be found error message:
== APP == io.grpc.StatusRuntimeException: INTERNAL: error invoking output binding account-database-binding: redis: nil
Redis is currently not running:
== APP == io.grpc.StatusRuntimeException: INTERNAL: error invoking output binding account-database-binding: read tcp [::1]:55697->[::1]:6377: i/o timeout
Steps to Reproduce the Problem

When running an application that uses Output Binding with Redis, call the invokebinding command with the get operation and a key value that has not been added to the Redis database.

Release Note

RELEASE NOTE:

@yaron2 please add additional context and then move to triaged


configure the display of days to sun-mon-tues-wed-thu-fri-sat format

does configuring the display of days in the calendar from mon-tue-wed-thu-fri-sat-sun to sun-mon-tue-wed-thu-fri-sat format is possible?

try to set firstDay to 7

Great it works! Thanks a lot.


Add some NORZ (no-refzero free) refcount macros

Add some "no-refzero free" refcount macros. The macros will decref the target value normally, and if the refcount becomes zero, queue the object for refzero handling. However, the refzero queue won't be processed so there are no side effects. This allows multiple refcount operations to be done without potentially invalidating pointers in the middle due to side effects.

The only place where these macros are used in this pull is for duk_set_top() where side effects are handled after the top has been changed. This improves call handling performance a bit, especially for calls with a lot of arguments (or otherwise involving large value stack top changes):

duk-perf.O2duk.O2mujsjerryduk.O2.masterduk.O2.150
test-call-basic-1.js7.768.056.809.348.259.72
test-call-basic-2.js7.6<IP_ADDRESS>8.419.71
test-call-basic-3.js9.5910.0513.0114.9214.0215.70
test-call-basic-4.js18.2218.3236.5738.5636.3437.86


Idea: kube-aws update --set key=value to override specific setting in cluster.yaml

I think this wouldn't be an essential feature myself.
However, I can't help wishing I had a syntax like this these days, so that I can easily run a sequence of kube-aws commands for testing purpose.
Editing cluster.yaml every time for just changing controller.instanceType to trigger a rolling-update had been just annoying for me 😉
I also had been used to run a adhoc sed command to replace a specific value but that wasn't intuitive for me either. I wish I was able to look for a key by its path, not a string pattern matched against the last part of the path.
I'm really not sure this is accepted or not but leaving anyway to gather comments!
Thanks.

I'll be also ok if I had overrides.json instead, which is then merged into cluster.yaml.
json would be much easier than yaml to be modified by referencing nested keys e.g. with jq?

Abandoning this feature request due to no demand from anyone!


Infinite scroll triggering  continuously out of controll

Version
2.2.2
Vue.js version
2.5
What is expected?
Trigger at first load and trigger again only when user scrolls
What is actually happening?
Triggering continuously at first load until the end of data, so my Y scroll become so height
How to reproduce this problem?
Add this css
body {
     overflow-y: scroll;
}

Btw, I'm keeping overflow-y: scroll; on the body to prevent screen blinking when resetting infinite scroll data.

If your body element is not the real scroll wrapper element, you can add the force-use-infinite-wrapper attribute to force use window element or other element which has infinite-wrapper attribute as the scroll wrapper, it's a workaround :)

Unfortunately, I'm using the body  as the scroll parent element.

@Nagasir got it, I will fix it recently.

Hello @Nagasir , I have been released a new version v2.2.3 to try to fix this problem, you can try it now, if it still now working, please tell me, thanks!

Yes it is fixed, thank you very much!

@PeachScript thx for the great work! Does this also fix https://github.com/PeachScript/vue-infinite-loading/issues/114 ?


[bug] The size of the webview does not change when the tauri app window changes size on MacOs

Describe the bug
When I use window management software like Magnet app on MacOs, the size of the webview does not change when I change the window size. It seems that this only happens on the height, and there is no problem with the width. How can I solve it?
Also, I think Safari kernel is really hard to use, Tauri should give developers an option whether to use Chromium as webview, otherwise adaptation is also painful, developers may not care about increment of a dozen megabytes of software package at all.
Reproduction

On MacOs, init a Tauri app project
Give it a run
Change window size by Magnet or drag the window to top of the desktop to let the window be resized to max.

To demonstrate the issue:
import { appWindow } from '@tauri-apps/api/window'

appWindow.onResized(async () => {
  let size = await appWindow.innerSize()
  console.log('app innerSize', { width: size.width, height: size.height })
})

window.onresize = () => {
  console.log('html innerSize', {
    width: window.innerWidth,
    height: window.innerHeight,
  })
}

When reisze the window by pulling window's frame, it works properly. Because the retina resolution, app's innerHeight - html's innerHeight * 2 always equal 44(title bar height)
[Log] @@@app innerSize – {width: 640, height: 2012} (main.tsx, line 15)
[Log] ***html innerSize – {width: 320, height: 984} (main.tsx, line 21)

But when change the size by magnet, or max the window by drag the window to top of desktop's menubar, the webview's size is incorrect.
[Log] ***html innerSize – {width: 1160, height: 816} (main.tsx, line 21)
[Log] @@@app innerSize – {width: 2320, height: 2054} (main.tsx, line 15)

Also notice the order of the logs printed is not correct .
Expected behavior
No response
Platform and versions
My tauri version is 1.3.0, @tauri-apps/cli version is 1.3.1, safari version is 13.1.3.

Stack trace
No response
Additional context
No response

New discovery:
To reproduce it, do not need Magnet App, as if you drag the bottom frame fast enough, it will occur.

To add to this, on MacOS when double clicking the data-tauri-drag-region area to resize the window, the Webview will also not change its size during transition.


compiler -lib: ignore .dev if library version specified

I think, if a library version specified then dev library version must not be used:
haxe -lib mylib:1.0.0 ...

So, file .dev must be ignored by compiler in this case.

Doesn't that removes the override purpose of dev?
If the version is used then dev is only used when there's no version and becomes just a set.

I think having it as explicit > dev > set makes sense.

I like both approaches,
when you want a version you should get it,
but the override is useful too.
And that is a breaking change, if people upgrade haxelib their compilation will change,
for instance this wouldn't work anymore https://github.com/HaxeFoundation/haxe.org/blob/staging/.travis.yml#L22-L27

bump @nadako do you think that this breaking change is okay? I think a lot of people rely on it.
Maybe it would be better is set could accept a directory, the set version/path would be used if no version/path is specified, unless a version/path is fixed by dev.

Eh... I don't really have an opinion on this.
Using dev mode as an override for everything (as it was before) doesn't sound nonsensical either.
I can guess that the original author's problem takes roots from the fact git/hg checkouts abuse dev mode and implicitly create .dev, which I find really stupid and I think should be changed (see #263).

I vote for reverting to the previous behavior for now,
probably a lot more people rely on the override than people wanting to mix git version and normal version,
and later fix the git/hg dev usage in an update.

My original problem is to have a ways to:

use recent (.dev) libs for active projects (via -lib name);
use old versions for legacy projects (via -lib name:ver).

Can we found another way to solve problem and prevent breaking old behavior?

@yar3333 have you considered using local repos (newrepo) for that?

@nadako I don't hear about newrepo before. It can be solution. Sorry, I don't find any docs about this feature.

Yeah it wasn't really documented and was marked as experimental, but I think people should start using it. We've added some documentation for the next version.
So, I'm gonna revert the behaviour and docs then...

@nadako Thank you!

Just for the sake of keeping track, this ended up being changed again (only for path and libpath) in: 634289105d8c5aee68768f664aeabb0a8fcab62d


Put failure information in AssertionError's message, instead of printing

Fixes: https://github.com/quantumlib/Cirq/issues/828

Just add a few more with pytest.raises tests to cover those lines.


Fix rendering artifacts

Issue #14390

ok

@guilhermefelipecgs did these rendering artifacts show up recently?

Never mind, I missed the issue link. Sorry for the noise.

ah, it was not closed automatically


Bad generic signed vs unsigned comparisons

I finally got around to writing generic comparison test and it turns out some of it is broken.

Generics are great, but they naturally add lots of edge cases...

Negative values get extended by init(load:) so you kind of have to branch by signedness before size.


There is no way to test code guarded by kReleaseMode today.

The only way to test this code is to run it on a device in release mode, which is only possible on a physical device.
We should provide a way for flutter_test to set the constant to true.  However, we have to do so in a way that doesn't remove its const-ness, and doesn't prevent treeshaking from working.
Example:
import 'package:flutter/foundation.dart';

String foo() {
  if (kReleaseMode) {
    return null;
  }
  return _calculateABunchOfStuffAndReturnALongString();
}

Is only testable in the non-release branch currently.

I did make an attempt to pass in -Ddart.vm.product=true to the test kernel compiler, but that didn't seem to make a difference.

In JIT mode the flags don't get loaded from the kernel

Can we tell it to do that? Or is that a dart VM thing?

I believe it requires a pending update to how const evaluation is handled in the VM, though I have not been able to find a tracking issue for it. This was also the case for https://github.com/flutter/flutter/pull/31696 which is why there isn't a separate flag for debug mode.

This is slightly alleviated by adding a smoke test for release mode in #34474
It would still be really nice to be able to unit test stuff that behaves differently based on kReleaseMode.

This is a very useful feature. In our use case, we only want to test whether the exception will be handled in release mode,
  void _tryCatch(VoidCallback callback) {
    if (kDebugMode) {
      callback();
    } else {
      try {
        callback();
      } catch (e) {
        // TODO(littlegnal): Should report the exception to firebase.
      }
    }
  }

but it is not easy to test it at this time.


Network health checks don't include bidirectional pings most of the time

Checklist

[X]  I am not using Home Assistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Docker
Z-Wave JS UI version
8.8.0
ZwaveJS version
10.4.0
Describe the bug
Most of the time, node health checks directed at the controller only include pings from the controller to the nodes and not the other way around.
Rarely I'll get a health check that does include pings from the node to the controller and that communication is universally terrible in comparison to the traffic from controller to node.
This isn't related to specific devices that may or may not support bidirectional pings because ill run a health check on the same device many times and only once in a dozen or so will it attempt bidirectional pings.
And then there are instances where it mixes checks of one way pings with bidirectional pings and that results in wild fluctuations of ratings, like this screenshot:
To Reproduce
Not sure how this could be reproduced. Should I always be expecting attempts of bidirectional pings?
Expected behavior
Bidirectional pings are always attempted since the node comms are equally important to controller comms.
Additional context
No response

As @robertsLando linked to this, similar issue for me it appears. since moving back to the 500 stick as indicated above, I have seen much less issues, but was doing some health checks and noticed some of the same behavior with devices nearest to the controller and I wonder if this isn't causing the issue with my devices at 3-4 hops reporting "Failed to send the command after 3 attempts (Status NoAck) (ZW0204)" They work most of the time and when not marked as dead, work just fine with near 0 latency, but they often just randomly get marked as dead with the above error and come back to life with a ping. looking at the devices in the middle between the controller and these edge devices, several of them have this issue where the controller can talk to them, but they cannot reliably talk back to the controller.

@AlCalzone any news on implementation of application routes?

@AlCalzone any news on implementation of application routes?

I see priority routes were added so you can define them. In some of my problematic nodes, the controller decided going to devices on opposite ends of the house was "ideal" and no amount of healing could convince it otherwise. Telling the device to go directly to the controller or through an alternate route has generally improve my health checks and responsiveness. I'd suggest checking this out and see if it helps you at all. Can be found in the UI under the network graph, click the node you want to set a priority route for and then click the set button order your routes and test away. They apply instantly so adding and deleting with a health check in betwene is quick and easy.


Add option to allow open redirects (standard OIDC behaviour)

Is your feature request related to a problem? Please describe.
See background dicussion https://github.com/IdentityServer/IdentityServer4/pull/3381 (now closed)
We'd like the ability to return errors to the client (relying party) during auth. At the moment this is not possible due to IdentityServer forcing a specific mitigation of a vulnerability.
Describe the solution you'd like
Add a new IdentityServerOptions parameter (likely within AuthenticationOptions) that permits open redirects. Consider cases where the identity server implementation (like ours) has provided an alternative mitigation of the open redirect vulnerability.
Describe alternatives you've considered
Replacing the entire auth endpoint with a custom implementation... which is not easy due to large number of 'internal' classes.

I worry about maintaining the complexity of two different redirect styles. We'd need all new unit/integration tests that do things both ways. If your company really wants this change, then contact us to discuss it as a sponsored feature.

Any update?

Sorry imminent on a release right now.
I did mention to my boss but we didn't really discuss it in detail. For now given time constraints this is something we'll simply try to work around (i.e. returning AccessDenied for all errors and rely on the error description).
Whilst unit/integration tests may a little time the run-time logic required is rather simple, so I had hoped it'd be a minor thing to address.
I won't be coming back to this before 19th August.


How change style of class=preview-sm

Trying change css - help only at start. When i start add new img - start work the startCropper function (193 line in main.js) and img changes to blob and  style of 'preview-sm' changes too. It depended from aspectRatio but i want different sizes for big and small previews.
If i add code like this:
$( "div.avatar-preview.preview-sm" ).css({
				"width": "50px",
				"height": "50px",
			}).each(function(){
				console.log('it work!');
			});
in the end of startCropper function, it work but partly. Sizes of 'preview-sm' stil wrong...

this is an entirely different issue from the one you originally opened. it's a better practice (and easier for maintainer to understand if you make a new unique issue for each question/concern you have.

We don't support this, but you may custom the preview by yourself with the events.

solution:
This code added in the cropper.js in the end of function prototype.preview (line 677)


Add TruffleRuby 19.1.0

cc @hsbt

@hsbt Could I have push rights on ruby-build to add new TruffleRuby releases like this one?
That would make it faster to add new releases :)
FWIW, I already have push rights on ruby-versions and rvm, so this is the last missing bit for fast Ruby installer updates when adding a new release.

@mislav Could you take a look at this and merge this PR?
hsbt is quite busy currently.

Thanks for merging the PR!
@hsbt @mislav Could you consider giving me push rights on ruby-build? (see above)

@mislav @sstephenson @sferik Could one of you consider giving me push rights on ruby-build? (see above)

@mislav Since you have been quite active on ruby-build recently, could I ask you push rights to be able to add new truffleruby definitions in ruby-build?

@mislav Thank you! I received and accept the invitation.


Gaze data is inconsistent with the meta data

I was assuming that the 'has_gaze' field in the metadata indicates whether the corresponding video has the gaze information. However, this field is not consistent with the csv files in the gaze folder. For example, while 0d271871-c8ba-4249-9434-d39ce0060e58.csv exists, the 'has_gaze' field is false in the metadata.
I wonder if this means that the complete gaze data is not released yet or if I misunderstand the metadata?

Thank you for the update. It is indeed caused by the old metadata and is fixed after downloading the latest one.


send via grinbox address error

error: Incoming slate is not compatible with this wallet. Please upgrade the node or use a different one
wallet713 version :v2.0.0
grin node version: v2.0.0
wallet713.toml
chain = "Mainnet"
wallet713_data_path = "wallet713_data"
grinbox_domain = "grinbox.io"
grin_node_uri = "http://<IP_ADDRESS>:3413"
default_keybase_ttl = "24h"
owner_api = true
owner_api_address = "<IP_ADDRESS>:3420"
foreign_api = true
foreign_api_address = "<IP_ADDRESS>:3415"

Yes, I've noticed the same issue. Slates between wallet713 and grin-wallet are not compatible.


Update stack.sh

Update icehouse repo rpm url to the new one.

Thank you for contributing to openstack-dev/devstack!
openstack-dev/devstack uses Gerrit for code review.
Please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


Please add notice that an external ice/turn server is used by default or make it configurable

Hi,
Thanks for your work! I like realtime apps and so I tried this package.
I found the following line, where a external not mentioned external server is used for video calling (or am I wrong?).
https://github.com/PHPJunior/laravel-video-chat/blob/master/resources/assets/js/components/ChatRoom.vue#L283
I think that should be mentioned somewhere or made configurable.
best regards

Thanks bro...  i will change it 😁😁😁


[dart2js] The highest supported language version is 2.10

I'm on the latest flutter.  This use to work on older flutter versions:
$ dart2js -o test.js test.dart
../../../../.pub-cache/hosted/pub.dartlang.org/js-0.6.3-nullsafety.3/lib/js.dart:1:1:
Error: The specified language version is too high. The highest supported language version is 2.10.
test.dart:
@JS()
library worker;
// ignore: avoid_web_libraries_in_flutter
import 'dart:html' as html;
import 'package:js/js.dart';
@JS('self')
external html.DedicatedWorkerGlobalScope get self;
void main() {
UploadWebWorker().setup();
}
class UploadWebWorker {
void setup() {}
}
$ flutter doctor -v
[✓] Flutter (Channel dev, 1.24.0-10.2.pre, on Linux, locale en_US.UTF-8)
• Flutter version 1.24.0-10.2.pre at /home/steve/google/flutter
• Framework revision 022b333a08 (5 days ago), 2020-11-18 11:35:09 -0800
• Engine revision 07c1eed46b
• Dart version 2.12.0 (build 2.12.0-29.10.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /home/steve/Android/Sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /usr/bin/java
• Java version Java(TM) SE Runtime Environment (build 13.0.1+9)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang version 7.0.1-8+deb10u2 (tags/RELEASE_701/final)
• cmake version 3.13.4
• ninja version 1.8.2
• pkg-config version 0.29
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
[✓] VS Code (version 1.51.1)
• VS Code at /usr/share/code
• Flutter extension version 3.16.0
[✓] Connected device (4 available)
• Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64    • Android 10 (API 29) (emulator)
• Linux (desktop)                       • linux         • linux-x64      • Linux
• Web Server (web)                      • web-server    • web-javascript • Flutter Tools
• Chrome (web)                          • chrome        • web-javascript • Google Chrome 87.0.4280.66
! Doctor found issues in 1 category.

@sgehrman It sounds like you probably have both a flutter and dart sdk, and your dart sdk is older than your flutter one which was used to fetch your dependencies. So it got some dependencies which require the 2.12 sdk, but you are trying to run the app with dart2js from a 2.10 sdk.
I would update your dart checkout, or make sure you run dart2js from your flutter sdk (at <flutter-sdk>/bin/cache/dart-sdk/bin/dart2js).

thanks, I found that I did have another dart installed.