Fixing bug where looking for discriminator recursively without requir…

…ed fields

Pull Request Test Coverage Report for Build 167

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 97.762%

Totals

Change from base Build 161:
-0.2%

Covered Lines:
390

Relevant Lines:
392

💛  - Coveralls


Bump version to dev after release

Codecov Report
Base: 95.15% // Head: 95.15% // No change to project coverage :thumbsup:

Coverage data is based on head (5bf16f2) compared to base (6a04b76).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #103   +/-   ##
=======================================
  Coverage   95.15%   95.15%
=======================================
  Files          22       22
  Lines         764      764
=======================================
  Hits          727      727
  Misses         37       37

Flag
Coverage Δ

unittests
95.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Restricting OAuth to allow only POST method in check_token endpoint

Fixes: #1710

Restricting /oauth/check_token in CheckTokenEndpoint to allow only POST requests
Writing some unit testcases to make sure that the endpoint functionality does not cause regression issues

continuous-integration/travis-ci/pr failures doesn't seem to be caused by this patch. I hope it will succeed after rerun.

Thanks for the PR @sourabhsparkala. This is now in master.


Email validation error when using Firefox

Versions

vee-validate: 2.0.9
vue: 2.5.7

Describe the bug
Using firefox, email is showing as not validated even though it is.
To Reproduce
Steps to reproduce the behavior:

On a field with email and required set. Using Firefox, click on the input and write a valid email address.
Click on another field, and the error message will appear.

Expected behavior
When you have entered a correct email address, you should not be shown an error message.
Desktop (please complete the following information):

OS: 10.13.1 macOS HIGH SIERRA
FireFox
60.0.1

Duplicate of #1027

Like #1024 I cannot reproduce this issue on my Windows machine using Firefox 60.0.1 or 61.0
Can you post a sample that produces this reliably?


Default keyboard bindings are messed up

SQL Operations Studio Version: master

Steps to Reproduce:

Copy a text
Open a new script
Try to paste it using CTRL+V

Expected: clipboard text gets pasted in the new script file
Actual: nothing happens
Looking at the default keyboard bindings i find this:

I have tried using the latest stable sqlopsstudio which works as expected.
Copy, pasting and selecting all text (CTRL+A) are the only commands I have tested so far. Might be more commands that doesn't work as expected.

I have no custom bindings that I know of. My user specific keybindings.json is the default one.

When I run Ops Studio I see the following errors in the console, maybe they're related?
[5520:0917/134105.963:INFO:CONSOLE(2280)] "Error: The module '\\?\C:\repos\sqlopsstudio\node_modules\native-keymap\build\Release\keymapping.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 54. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).", source: C:\repos\sqlopsstudio\node_modules\zone.js\dist\zone-node.js (2280)
[5520:0917/134105.964:INFO:CONSOLE(2280)] "TypeError: Cannot read property 'getKeyMap' of null", source: C:\repos\sqlopsstudio\node_modules\zone.js\dist\zone-node.js (2280)
Debugger listening on ws://<IP_ADDRESS>:5876/32a2c08c-6f6f-4a98-883f-6d3d569d64da
For help see https://nodejs.org/en/docs/inspector

Running a clean build (git clean -ffxd followed by yarn; yarn run watch) seems to have fixed things for me. Looks like this is a dev issue that needs to be fixed with a clean build by anyone running into it

I'll also double check if things are working correctly in the latest daily build

Verified things work correctly in the daily builds so this is definitely just a dev issue

Yes, that solved it. Thanks!


Update refined to 0.9.18

Updates eu.timepit:refined from 0.9.17 to 0.9.18.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "eu.timepit", artifactId = "refined" } ]

labels: library-update, semver-patch

Codecov Report

Merging #519 (be69bf1) into master (013b6fc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #519   +/-   ##
=======================================
  Coverage   86.09%   86.09%
=======================================
  Files         127      127
  Lines        2956     2956
  Branches      102      102
=======================================
  Hits         2545     2545
  Misses        411      411

Continue to review full report at Codecov.

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


datacarpentry/r-intro-geospatial

tracking issues for https://github.com/datacarpentry/r-intro-geospatial

[x] gap in challenge block: https://github.com/datacarpentry/r-intro-geospatial/blob/8c4ce2a7d835055dda7ed4b7425ba3c0e944e44e/_episodes_rmd/07-plot-ggplot2.Rmd#L95-L97
[x] glossary definition list needs auto links
[x] investigate that text-center div is needed (yes, this is fine. It's highlighting a Vince Buffalo tweet)
[x] fix data frames link in reference (I am not going to fix this because that link does not make any sense and I would rather for the maintainers see the warning and fix it themselves)
[x] fix raw githubusercontent link in code blocks: https://fishtree-attempt.github.io/r-intro-geospatial/04-data-structures-part2.html#realistic-example

342:episodes/02-project-intro.Rmd:31 [unknown div] text-center
348:learners/reference.md:59 [missing file]: [Data Frames](05-data-structures-part2)
349:learners/reference.md:222 [missing anchor]: [floating-point](#float)

raw links that actually still work 😱
sandpaper/datacarpentry/r-intro-geospatial/episodes/02-project-intro.Rmd
168:- [nordic country data](https://raw.githubusercontent.com/datacarpentry/r-intro-geospatial/master/_episodes_rmd/data/nordic-data.csv)
169:- [nordic country data (version 2)](https://raw.githubusercontent.com/datacarpentry/r-intro-geospatial/master/_episodes_rmd/data/nordic-data-2.csv)
170:- [gapminder data](https://raw.githubusercontent.com/datacarpentry/r-intro-geospatial/master/_episodes_rmd/data/gapminder_data.csv)

sandpaper/datacarpentry/r-intro-geospatial/episodes/04-data-structures-part2.Rmd
55:download.file("https://raw.githubusercontent.com/datacarpentry/r-intro-geospatial/master/_episodes_rmd/data/gapminder_data.csv",
66:gapminder <- read.csv("https://raw.githubusercontent.com/datacarpentry/r-intro-geospatial/master/_episodes_rmd/data/gapminder_data.csv")

fixed in 10a522d1974eeb28a2c243dc60b7da729458eb2a


⚠ Fortnite has degraded performance

In cf3a663, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1735 ms

Resolved: Fortnite performance has improved in 07db41d.


Moving to Node20 has broken self-hosted runner(s)

Recent changes to leverage Node20 include an underlying dependency on GLIBC_2.25 according to an error observed in this failed run: https://github.com/department-of-veterans-affairs/vetext/actions/runs/6491063440/job/17643489013 (/opt/github-actions/vetext-runner/actions-runner/externals/node20/bin/node: /usr/lib64/libc.so.6: version 'GLIBC_2.25' not found (required by /opt/github-actions/vetext-runner/actions-runner/externals/node20/bin/node)).
Unfortunately, our self-hosted runner lives on an on-prem virtual host that is held to a requirement to use RHEL satellite servers for package updates. The latest available glibc version on the satellite server(s) is 2.17.
I attempted to pin a version of the called action to a commit that pre-dated the Node version change, but because of how the action is set up this doesn't resolve our issue. This is due to a call to an action within the action of Run department-of-veterans-affairs/codeql-tools/validate-emass-json@main which is where the breakdown occurs (https://github.com/department-of-veterans-affairs/codeql-tools/blob/68fae9c747abe3bcb64b0c91da2312dda0032137/validate-emass-json/action.yml#L21)j.
Please advise as our current usage of the codeql-analysis action is impacted.

Another finding in relation to CentOS / RHEL 7 and GLIBC issue: https://github.com/actions/runner/issues/2906

One suggested workaround was described here: https://github.com/actions/runner/pull/2844#issuecomment-1753531757 and pertains to setting an env var of GITHUB_ACTIONS_RUNNER_FORCED_NODE_VERSION=node16, but I assume that won't work while this called action is still being directed to use node20...

@lindluni, any advice / suggestions on the above?

Hey @jbritt1
I am running a revert back to Node16 node

Hi @jbritt1
I am running a revert of this now: #96
Should be merged in a few minutes after CI finishes, then you should be able to set that property.
I am also working with the GitHub engineering team to figure out what their path forward is.

Thank you so much Brett!

We may have to look at reverting some of the other Actions to lower tags to get versions before they pinned on Node20. I'm digging into that as well

I take that back, all of the versions of 3rd party Actions we use in the Composite Workflow are currently pinned on a version that uses node16

@jbritt1
Done, change is merged.

We are also going to add a RHEL 7 runner to our test suite for the codeql-tools repo to ensure backwards compatibility for that OS

Full circle, I've added a job using RHEL 7.9 to verify compatibility. The GLIBC version on the runner we are using is 2.17, same as you are.

Full circle, I've added a job using RHEL 7.9 to verify compatibility. The GLIBC version on the runner we are using is 2.17, same as you are:
https://github.com/department-of-veterans-affairs/codeql-tools/pull/97/files

Full circle, I've added a job using RHEL 7.9 to verify compatibility. The GLIBC version on the runner we are using is 2.17, same as you are:
https://github.com/department-of-veterans-affairs/codeql-tools/pull/97/files
This job runs on all PR's prior to us updating our packages.

Thank you so much for all the responses, transparency, and effort here @lindluni. It is greatly appreciated!

I'm going to leave this open until we get resolution on the GitHub side to the issue

Hey @jbritt1
I will reach out in about an hour. We HAD to upgrade due to a 0-day vulnerability. We have a workaround for you.

You are the best @lindluni

Hey @jbritt1
Can you point me to one of your repos, I will open a PR showing you two possible solutions for you to choose from.

Hey @jbritt1
Can you point me to one of your repos, I will open a PR showing you two possible solutions for you to choose from.

https://github.com/department-of-veterans-affairs/vetext

Hey @jbritt1
I opened a PR here to move to raw CodeQL. This would actually be the path I would use: https://github.com/department-of-veterans-affairs/vetext/pull/2552
Note, that I had to do some additional work because the Maven installer Action you were using had some additional side effects that weren't evident to you. Instead I pinned on the underlying Maven tool they were using from stCorolas. You actually get a huge speed up because you were actually suffering from hidden cache issues that weren't evident after GitHub migrated to their new caches (which require Node20). So you see significant speed up in scans on your Java applications. So you no longer can use the cache (because you need Node20 and action/upload-artifact@v2 to use is), but you get huge speedups from the cache misses no longer happening.

Hey @lindluni, all looks and sounds good to me. Thank you so much for your continued support and time spent assisting us.


Having trouble adding phishlets

Having trouble adding additional phishlets with Filezilla. I always get file transfer failed.

Do it manually bro

Hello! If you were already able to resolve your doubts and achieve your goals, close the issue so that we know which ones are pending.
Thank you!


Feat: Add "authorization_response" and "access_token_response" to "resource response"

Return any data gotten by endpoint responses.

On iOS the used lib (OAuthSwift) does not let me access the authorization response in a code flow. I will add access_token_response though and postpone everything else until #13


Passing on development?

@IlgarLunin, there seems to be some need to keep this wonderful project alive and also some recent momentum to maintain and develop a fork (e.g. here).
Since you mentioned in #106, that you stopped working on it (which is really a pity, because this is some fabulous piece of software!), would you be prepared to pass on the development? I believe, this is always a better choice than to start a fork (with a new name etc ets), which often causes confusion and upgrading problems.
What do you think?

Hi @sphh !
We have just noticed this project, which seems to be stalling. Nodedge is also a Python-based graphic environment, and it is geared toward dynamic system analysis and simulation. Dev is ongoing. If you wish to test it for your application or contribute, you can find the open-source repository here: https://github.com/nodedge/nodedge
Have a good day!

There is another answer from another program:
https://github.com/leon-thomm/Ryven/issues/101

Related question:
https://softwarerecs.stackexchange.com/questions/87166/python-framework-for-block-simulations-with-graphical-user-interface-like-openm/87169#87169


Moved question deliverable submitted event to fire on submission

#2457  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite


Default duration for !superstar command if no duration is specified

Context
The !superstar command currently requires a duration to be specified when invoked.
Often we want to change someone's nickname from something very noisy or that takes up a lot of room until the user can respond and change it themselves. The duration in these cases is not usually that important as we want it to be a quick change.
Proposal
It would be useful if there was a short default duration for this command. Something like 5 or 15 minutes. It would function similarly to the !mute command where if no duration is given, it opts for a 1 hour duration.

I'd be willing to implement this.


Add e2e test cases

Proposed changes
This PR adds e2e test cases.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update only documentation, not any source code.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[X] I have read the CONTRIBUTING doc
[X] I have signed the CLA
[X] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
N/A

Coverage remained the same at 100.0% when pulling 5c2380052a96f013a981922867a39f4e05139d9b on fisuda:feature/e2e_test into 40aa95e66f00fec250b94841ad7704cde1c5f8b4 on lets-fiware:main.


[Remote Debugging] Error dialog pops while trying to attach to a remote process

The error dialog:
Error Attaching to Process
Error while attempting to debug the specified process.
OK

Some remote machine information:
OS: Win 8.1
Host version: 5.0.10105.0

As per our in person conversation, you didn't start the PowerShell on Windows 8.1 as admin. So this is expected behavior.


Mysql.load not working as expected

It looks like mysql.load isn't working correctly. Its not pulling the right password or env.setting.

In your roles/local/settings_local.yaml, make sure you have MySQL's root password entered like:
mysql_root_logins:
"localhost":
password: yourpassword


Fill the vector using javascript

Hello,
I'm reading wonderful Rust 🦀 and WebAssembly book, trying to play around with some examples from this book.
What I'm trying to do is to initialize the Image struct and populate its' data from the JS side.
mod utils;

use wasm_bindgen::prelude::*;

// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

#[wasm_bindgen]
pub struct Image {
    data: Vec<u8>,
}

#[wasm_bindgen]
impl Image {
    pub fn new() -> Image {
        Image { data: vec![] }
    }

    pub fn get_pointer(&self) -> *const u8 {
        self.data.as_ptr()
    }

    pub fn get_length(&self) -> usize {
        self.data.len()
    }

    pub fn get_first_element(&self) -> u8 {
        match self.data.get(0) {
            Some(v) => *v,
            None => 0,
        }
    }
}

import { memory } from "wasm-example/wasm_example_bg";
import { Image } from "wasm-example";

const image = Image.new();

const buf = new Uint8ClampedArray(memory.buffer, image.get_pointer(), 10);

for (let i = 0; i < 10; i++) {
  buf[i] = 255;
}

console.log(image.get_length());
console.log(image.get_first_element(), buf[0]);

However, even though I see the correct value "255" storing in buf I'm not able to read it from the wasm side. Instead I get 0 as a length and as a first element inside self.data.
What am I doing wrong and how to fill the vector in my struct?

Found solution - vector needs to be initialized with the length
    pub fn new(length: usize) -> Image {
        Image { data: vec![0; length] }
    }

in that case, it works as expected.
Feel free to close this issue, I would be also very pleased for some suggestions there, mostly whether it's the right way to solve this task.

Another solution is to create a method in Rust to set values in the Vec<u8> directly.
Note this doesn't clamp like the Uint8ClampedArray, you still need to initialize the length of data, and I did not compile/test this code...
#[wasm_bindgen]
impl Image {
    pub fn set(&mut self, i: usize, value: u8) {
        self.data[i] = value;
    }
}

import { Image } from "wasm-example";

const image = Image.new(10);

for (let i = 0; i < 10; i++) {
  image.set(i, 255);
}

For this very particular case, you'd probably be best off with initializing it it's values:
 pub fn new(length: usize) -> Image {
        Image { data: vec![0xFF; length] }
    }

But it seems like enough solutions have been raised already, maybe this should be closed now?

Oh, and btw, you should look into other attributes that would allow the Rust getters to map to JS getters, Rust constructors to JS constructors, etc, e.g., .get_pointer() => .pointer, or Image.new() => new Image()

thanks a lot for your answers, @CrimsonCodes0 !


Return proper status codes

Status codes from remote HTTP and GRPC requests should be returned so a client can adjust its behavior. Specially when authentication is required from the remote side.

This was done in https://github.com/go-dataspace/run-dsp/pull/46


Music issue (pls fix)

The Trammell Starks music is too shortened, please fix

The length of the songs are as they were downloaded from https://twcclassics.com/audio/
If there is a long version please let me know

On youtube there's about 120+ videos all 40 minutes to 4 hours long that may have longer/uncut versions of the originals. I could research this further and see if there's anything that beats what twcclassics.com has.

Closed due to no activity


[Strava] Add segment support

As titled 😄

@timonus how do I test locally?

Haven't added a way to test locally unless you have the source for the app 😜. I can try it out.


Header icon color now changes on hover

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description
On hover the icon color is now change in the header closes #757 .
Fixes # (issue)
Type of change

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

How Has This Been Tested?
Locally ran and tested it.
Checklist:

[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

@Hat52 Resolve conflicts

@atapas conflict resolved

@atapas cypress tests are failing for this PR

@murtuzaalisurti Changes implemented.

@murtuzaalisurti Done


Byte sending issue

Hi all,
I'm trying to serialize the data I'll be sending over BLE. Let me explain the problem as simple as I am able to. Let's say, we have the following situation:
uint8_t a = 1;
uint8_t b = 255;
uint16_t ab = 0;
ab = ab << 8 | a;
ab = ab << 8 | b;
Above example works fine. However, when a=0, then there is an issue that the first byte is all 0's, and libraries treat it an a NULL character. Logs, to prove (some other example, but same point):
sizeof(temp_test): 4
Starting to print temp_test as HEX from buffer: 	0FFFFFF
Starting to print temp_test one byte as HEX at a time from buffer: 	0FFFFFF
buffer_test size: 4
[D][BLECharacteristic.cpp:664] setValue(): >> setValue: length=0, data=, characteristic UUID=6e400003-b5a3-f393-e0a9-e50e24dcca9e
[D][BLECharacteristic.cpp:671] setValue(): << setValue
[D][BLECharacteristic.cpp:524] notify(): >> notify: length: 0
I've looked over in the BLECharacteristic files, but I'm not sure how to solve this issue.
Ultimately, the goal is to pack some of the variables from two sensors, attach a packet_ID variable, and send it over BLE. Thanks for any help.
Edit: I apologize, I was pretty tired when writing this yesterday. At the end, the variable ab is packed into a string and send over BLE. That's why the code interprets it as a NULL character if the first byte is 0.

Did you try with this overloaded function? It works for me.
https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/BLECharacteristic.h#L76

Thanks, but this does not answer my question.

Check my edit, please. Also, how do you use the function that you pointed out if the ab is uint16_t? I'm using Arduino IDE.

Pseudocode:
uint16 = 2 x uint8;
val[0] = uint16;
val[1] = uint16 >> 8; <--- right shift (google it)
now you have uint8_t* val or uint8_t val[2]

Oh man, saving the day again. Dzięki!

By the way, in function buildHexData, there is a guard against too much data (now it's set to 100). Isn't this depended on the MTU size? I'm using 517, therefore the max length for me would be 258. Just a note if somebody ever finds this issue.

@robson31 If you could point me to that line in code it would be nice.

@chegewara sure, here:
https://github.com/nkolban/esp32-snippets/blob/937a81c18d742e86305df5184ccfb70f35b77c85/cpp_utils/BLEUtils.cpp#L789


Update README.md

use echo for messages; exit for exit code. also cosmetics to terminate messages with newline.
exit(NUMBER); is good for checking from (shell) scripts that the previous command failed.

I see build is failing, but not due your changes. Could you please submit another PR with travis ci config changes to enable openssl extension for PHP 5.3.3.

or put 5.3.3 to allow failures?

or put 5.3.3 to allow failures?

Of course not, because all previous PHP 5.3.3 builds have passed. Probably Travis CI issue with missing extension, but if we can fix it ourselves, then it would be good too.

i updated only README.md, having this PR blocked due travis issues is silly.

I'm not saying that PR can't be merged due travis build fail due unrelated reason 😄
I'm just suggesting to send PR (if you can) fixing travis build.

i came across again to this repository and wanted to submit the exact same PR. ugly!

Thanks @glensc


lisa.target: Update the cricital tasks list

Since all commands part of the systemd package are named
systemd-, we need a more refined pattern in order to properly
freeze systemd-journald process for example.
This commit is ported from LISA legacy:
263dec9685b79351ff16020130fc67e99c82e166

indeed


Publish latest version to npm

Hi
Ive noticed the package hasn't been published to npm for a while and 0.5.1 isnt actually reflected on master.
Is there something blocking releasing the master branch to npm? Anything I can help with?

I'm working on finishing up a few changes that I want to have for the next release. I don't want to update quite yet since the API for handling changes was removed and I haven't gotten the new one in yet.


phantomjs susceptible to XML expansion attack

I use phantomjs as part of the test automation suite for our product's backend. I used phantom to run the http://en.wikipedia.org/wiki/Billion_laughs attack through our product's scanners, which handled it fine--but phantomjs hung and eventually exploded with a segfault.
To reproduce, copy the sample XML from the wikipedia page into a file and try to open it with phantomjs. Kaboom!

This issue still persists! Is it planned to fix this in near future?
With this I can kill every phantom.js server if I can make it somehow load an arbitrary page.


Calisphere frontend updates to use OpenSearch and new content/media hosting infrastructure

Calisphere frontend updates to use OpenSearch and new content/media hosting infrastructure

Note: Frontend UI work includes OpenSearch talking to Calisphere; there may be additional back-end changes. Legacy currently has one Solr index; Rikolti will have multiple indices (one per collection)

As part of this:

Ensure frontend works with OpenSearch (spin up a completely new CSphere stage front-end that is working with OpenSearch data)

Update the environment variable about where to find the OS index; permissions associated with searching the OS index.
Ensure the Registry custom metadata facets & Aeon requests work
Image mosaics (collections listing mosaics; related items carousel results; exhibit item lightbox) – need these to call from OS (instead of Solr)
New cloudfront configuration

Frontend depends on media.json to understand which viewer to use (e.g., zoomer, video player, etc.) as well as display the child metadata; will need to change the source of the child metadata.

Note that our current operations include several layers of requests! Instead this will streamline to one request.

@christinklez I think all of the things mentioned in the description here are covered by other cards, so this one can be closed.

Oh actually I'm not sure that this is done: "Ensure the Registry custom metadata facets & Aeon requests work". Should we create a separate issue for it?

Thanks @barbarahui! Custom metadata facets/filter (on collection pages) & Aeon request buttons (on certain item record pages) both seem to work in -stage! I've been checking while QA-ing collections that are harvested through. I can plan to create new issues for these if I observe any cases in which they don't work. Thank you!


[WIP] Webmock uses old hashdiff gem with non-standard constant

https://github.com/bblimke/webmock/issues/822
Hashdiff 0.4.0 was realised which fixed it's non-standard constant.
Updating Webmock to the lastest version to use Hashdiff 0.4.0

@Fryguy @jrafanie note this is a big version change for a small annoyance of an error message.

Update: my mistake the error will still be there until Hashdiff 1.0 https://github.com/bblimke/webmock/issues/822#issuecomment-500314374

@juliancheal did you test this change with the plugin repos?

@juliancheal did you test this change with the plugin repos?

No not yet, I should have marked this PR as WIP :)

@juliancheal What's the word? Tired of this warning.

bundle update --source webmock fixed it for me, I too was tired of this warning and am glad to have it solved 🎉

@kingdonb No worries, but that's good to know the warning is removed updating webmock :)

@miq-bot assign @Fryguy

@juliancheal looks like you can close this one courtesy of https://github.com/ManageIQ/manageiq/pull/19335


Add license to source distribution

The LICENSE file in the git repository contains the Apache license text
but it not included the source .tar.gz distribution.
This PR adds a MANIFEST.in file with a directive to include the LICENSE.

Thanks!


Please add Chuo University to your list

Please add Chuo University to your list

@Saggitarie Could you please clarify what is email address pattern in this university? Is it<EMAIL_ADDRESS>or g.chuo-u.ac.jp? Please note the difference ("-" or "." before "ac").

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

@philipto
Sorry for the late reply.
Email pattern for our university is  [username@g.chuo-u.ac.jp]("." before "ac").

The username part is rather unique for each student.

@Saggitarie I just created a correct file to represent your university in this repository: https://github.com/JetBrains/swot/blob/master/lib/domains/jp/ac/chuo-u/g.txt
I remove this request now as obsoleted, and you can start requesting your free licenses in about an hour. Thank you!


XMPP host/port setting

Hey there,
Would it be possible to add a host and port setting to the XMPP MUC service? The connect method should accept host and port: https://github.com/github/github-services/blob/master/lib/services/xmpp_muc.rb#L34

cc @lloydwatkin

Hey @hhaidar, I hadn't built the two plugins to work on a different host or non-standard port but certainly this is something I can add. @kdaigle I'll get this coded up ASAP and make a new PR. Lloyd.

@lloydwatkin awesome, you're the best :)

Pull request made :)

@hhaidar thanks, but I wouldn't go that far ;)


click_link causes some random errors

I have very simple spec for checking whether sth is displayed after a link was clicked:
    click_link 'Add a new company'

    within 'form#company-for-advisor' do
      fill_in 'company_name', with: 'Another Company'
      fill_in 'company_subdomain', with: 'anothercompany'
      click_button 'Submit'
    end

Sometimes this test fails because capybara can't find a new form.
In inspection logs I have the following error:
{"name"=>"find", "args"=>[".//a[./@href][(((./@id = 'Add a new company' or normalize-space(string(.)) = 'Add a new company') or ./@title = 'Add a new company') or .//img[./@alt = 'Add a new company'])]"]}
{"response"=>{"page_id"=>4, "ids"=>[3]}}
{"name"=>"visible", "args"=>[4, 3]}
{"response"=>true}
{"name"=>"visible", "args"=>[4, 3]}
{"response"=>true}
{"name"=>"click", "args"=>[4, 3]}
{"response"=>{"x"=>137.5, "y"=>371}}
{"name"=>"find", "args"=>[".//form[@id = 'company-for-advisor']"]}
{"response"=>{"page_id"=>4, "ids"=>[]}}
{"name"=>"find", "args"=>[".//form[@id = 'company-for-advisor']"]}
{"response"=>{"page_id"=>4, "ids"=>[]}}
{"name"=>"find", "args"=>[".//form[@id = 'company-for-advisor']"]}
{"response"=>{"page_id"=>4, "ids"=>[]}}
{"name"=>"find", "args"=>[".//form[@id = 'company-for-advisor']"]}

... and so on

..whereas inspection log for passing example looks like:
{"name"=>"find", "args"=>[".//a[./@href][(((./@id = 'Add a new company' or normalize-space(string(.)) = 'Add a new company') or ./@title = 'Add a new company') or .//img[./@alt = 'Add a new company'])]"]}
{"response"=>{"page_id"=>8, "ids"=>[3]}}
{"name"=>"visible", "args"=>[8, 3]}
{"response"=>true}
{"name"=>"visible", "args"=>[8, 3]}
{"response"=>true}
{"name"=>"click", "args"=>[8, 3]}
{"response"=>{"x"=>137.5, "y"=>457}}
{"name"=>"find", "args"=>[".//form[@id = 'company-for-advisor']"]}
{"response"=>{"page_id"=>8, "ids"=>[4]}}
{"name"=>"visible", "args"=>[8, 4]}
{"response"=>true}

Anyway, it's not a single case. Unfortunately poltergeist for my tests could be very non-deterministic and I have a lot of random errors mostly connected with missing content on the page.
ps. and the worst thing is dead client error

Closing due to lack of response


How to set expiry for Redis cache

Hi,
I use the Redis cache via NodeJS app.
Can I know how to set an expiry for Redis cache?
~AG.

@BridgeAR: Can you someone give me some suggestions?

@arjungowdaa https://github.com/NodeRedis/node_redis/issues/1000#issuecomment-193155582


[Bug][dolphinscheduler-api] When I went online and offline, I found that the "t_ds_process_definition.update_time was not updated

Describe the bug
When I went online and offline process definition, I found that the t_ds_process_definition.update_time was not updated
When I went online and offline process schedules, I found that the t_ds_schedules.update_time was not updated too
Which version of Dolphin Scheduler:
-[1.2.0 and 1.3.3]
and some others version
Requirement or improvement
I think where change online status ,t_ds_process_definition.update_time and t_ds_schedules.update_time should be update!

The design is such that only the editing workflow will update the time


images/samplerlessReads/test_samplerless_reads CL_FLOAT fails where the float is subnormal

For kernels such as:
__kernel void sample_kernel( read_only image1d_t input, sampler_t sampler, __global int *results )
{
int tidX = get_global_id(0);
int offset = tidX;
float4 clr = read_imagef( input, tidX );
int4 test = (clr != read_imagef( input, sampler, tidX ));
if ( test.x || test.y || test.z || test.w )
results[offset] = -1;
else
results[offset] = 0;
}
Exact equality should not be required for sampled and samplerless read when it comes to subnormals.
One option would be to avoid subnormal values in images (by replacing them with 0 or normal).  The other option would be for the kernel to replace any subnormal values with 0 before comparing.

duplicates #512

duplicates #512

Closing as a duplicate of #512

Closing as a duplicate of #512


Several fixes for make install

To make this easier to package

Perhaps instead of "Don't install DebugDraw.h" it should install every header to /usr/include/recastnavigation ?

I'll answer my question: DebugDraw.h is used by OpenMW, so can't be just deleted...

@jakobbotsch hi?

@DarthGandalf Thank you, sorry for the late reaction!


Explicitly set the namespace field in the yaml

Why?
https://www.reddit.com/r/kubernetes/comments/uglbn3/should_i_define_the_namespace_metadata_info_on_my/
If helm template | kubectl -f - is used, this pr will ensure the desired namespace is used.

We had a previous PR to remove this: https://github.com/opencost/opencost-helm-chart/pull/79
The consensus was that we should provide the namespace from the CLI, it made automating easier.

The consensus was that we should provide the namespace from the CLI, it made automating easier.

Can you please show me an example of such command? I am trying to follow helm template | kubectl apply -f - format.

You can use --namespace opencost
https://helm.sh/docs/helm/helm_template/


Stream wrapper for Google Compute Engine metadata

I have a prototype code for a stream wrapper for Google Compute Engine metadata.
https://cloud.google.com/compute/docs/metadata?hl=en
I'd like to contribute it. What do you think?

Hey Takashi! I could certainly see something like this being beneficial and would be interested in taking a look at a PR.
@jgeewax Do you have any thoughts on this?


feat: SMS to Two-factor authentication

[x] Two-factor authentication interface
[x] Two-factor authentication API
[x] Add accountItem
[x]  Two-facto ui in user page
[x]  Setup two-factor UI
[x] Setup two-factor backend
[x] Complete the authenticate process
[ ] Improve code qulity and error handle
[ ] i18n

Now, the basic function has complete. Here is a video. Next, I will to test all the scenario to make sure the program doesn't crash.
@hsluoyz
By the way, what do you think could be improved about the UI? At present, the UI is only a prototype that can basically complete the function, I will continue to optimize.
https://user-images.githubusercontent.com/71440988/235618952-8593faf4-687a-4616-aee3-476fa30a6573.mp4


Remove metadata uuid

This is the implementation of https://github.com/bigchaindb/bigchaindb/issues/852 and has the following changes:

No more tx.metadata.data, now the user dict is tx.metadata.
Remove bigchaindb.common.transaction.Metadata class.
Remove metadata DB index.
Queries to get metadata go: bigchaindb.get_transaction(tx.id).metadata rather than bigchaindb.get_metadata(tx.metadata.id).

Question:
Should metadata be a nullable field? Arguably, it should default to an empty dict, and not be nullable, to remove the (somewhat meaningless) distinction between null and {}.
Fixes #852.

Since metadata to transaction is 1:1, I agree that:

bigchaindb.get_transaction(tx.id).metadata is better than
bigchaindb.get_metadata(tx.metadata.id)

Should metadata be a nullable field? Arguably, it should default to an empty dict, and not be nullable, to remove the (somewhat meaningless) distinction between null and {}.

The asset.data may be nullable right now, so perhaps these two should be considered together. There's a lot of really small trade-offs on going either way, but the small distinction between the two:

null: No metadata provided at all
{}: Metadata provided, but it's empty.

Makes allowing for both plausible to me.

null: No metadata provided at all
{}: Metadata provided, but it's empty.

My question was if this is useful at all. Removing the ambiguity now may save someone a headache in the future.

:+1: assuming that we go with null for the empty field. This seems to be the behavior for fields that can be empty asset.data, input, ...
If we feel that we should change this behavior to empty dicts or empty lists then this behavior should be done to all data models in a different pull request

Current coverage is 96.77% (diff: 100%)

Merging #856 into master will increase coverage by 0.04%

@@             master       #856   diff @@
==========================================
  Files            27         27
  Lines          1708       1672    -36
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           1652       1618    -34
+ Misses           56         54     -2
  Partials          0          0

Powered by Codecov. Last update 024c858...0413959

@libscott Please hold off on merging this pull request until after we've released version 0.8.0 (which should be soon), because after merging this, changes will have to be made to the Python driver docs, at least, if nothing else.


Mismatch error when generate yolox_n onnx file

I generate yolox_n onnx file by the following command.
$ python3 export_onnx.py --dynamic --model=yolox_n --weight=./../weights/plate/yolox_n/yolox_n_best.pth

But htere is errors as following. how to fix it?Thank you very much.
$ python3 export_onnx.py --dynamic --model=yolox_n --weight=./../weights/plate/yolox_n/yolox_n_best.pth
2023-10-13 10:19:53.980 | INFO     | __main__:main:74 - args value: Namespace(batch_size=1, conf_thresh=0.1, dynamic=True, exp_file=None, experiment_name=None, fuse_conv_bn=False, img_size=640, input='images', model='yolox_n', nms_class_agnostic=False, nms_thresh=0.5, no_onnxsim=False, num_classes=80, opset=11, opts=[], output='output', save_dir='../weights/onnx/', topk=100, weight='./../weights/plate/yolox_n/yolox_n_best.pth')
==============================
Model: YOLOX_N ...
==============================
Build YOLOX_N ...
==============================
Model Configuration:
 {'backbone': 'cspdarknet', 'pretrained': True, 'bk_act': 'silu', 'bk_norm': 'BN', 'bk_dpw': False, 'width': 0.25, 'depth': 0.34, 'stride': [8, 16, 32], 'max_stride': 32, 'fpn': 'yolox_pafpn', 'fpn_reduce_layer': 'conv', 'fpn_downsample_layer': 'conv', 'fpn_core_block': 'cspblock', 'fpn_act': 'silu', 'fpn_norm': 'BN', 'fpn_depthwise': False, 'head': 'decoupled_head', 'head_act': 'silu', 'head_norm': 'BN', 'num_cls_head': 2, 'num_reg_head': 2, 'head_depthwise': False, 'multi_scale': [0.7, 1.25], 'trans_type': 'yolox_nano', 'matcher': {'center_sampling_radius': 2.5, 'topk_candicate': 10}, 'loss_obj_weight': 1.0, 'loss_cls_weight': 1.0, 'loss_box_weight': 5.0, 'trainer_type': 'yolox'}
==============================
Head: Decoupled Head
==============================
Head: Decoupled Head
==============================
Head: Decoupled Head
--------------------------------------
Best model infor:
Epoch: 299
mAP: 83.4
--------------------------------------
2023-10-13 10:19:54.068 | ERROR    | __main__:<module>:135 - An error has been caught in function '<module>', process 'MainProcess' (153225), thread 'MainThread'<PHONE_NUMBER>85248):
Traceback (most recent call last):

> File "export_onnx.py", line 135, in <module>
    main()
    └ <function main at 0x7f2d970bfdc0>

  File "export_onnx.py", line 87, in main
    model = load_weight(model, args.weight, args.fuse_conv_bn)
            │           │      │    │       │    └ False
            │           │      │    │       └ Namespace(batch_size=1, conf_thresh=0.1, dynamic=True, exp_file=None, experiment_name=None, fuse_conv_bn=False, img_size=640,...
            │           │      │    └ './../weights/plate/yolox_n/yolox_n_best.pth'
            │           │      └ Namespace(batch_size=1, conf_thresh=0.1, dynamic=True, exp_file=None, experiment_name=None, fuse_conv_bn=False, img_size=640,...
            │           └ YOLOX(
            │               (backbone): CSPDarkNet(
            │                 (layer_1): Conv(
            │                   (convs): Sequential(
            │                     (0): Conv2d(3, 16, kernel_size=(6, 6...
            └ <function load_weight at 0x7f2daec275e0>

  File "/home/david/code/paper/PyTorch_YOLO_Tutorial/tools/../utils/misc.py", line 187, in load_weight
    model.load_state_dict(checkpoint_state_dict)
    │     │               └ OrderedDict([('backbone.layer_1.convs.0.weight', tensor([[[[ 8.1130e-02,  8.9618e-02,  1.5810e-01,  1.5324e-01,  9.4843e-02,
    │     │                 ...
    │     └ <function Module.load_state_dict at 0x7f2dbb6d9ee0>
    └ YOLOX(
        (backbone): CSPDarkNet(
          (layer_1): Conv(
            (convs): Sequential(
              (0): Conv2d(3, 16, kernel_size=(6, 6...

  File "/home/david/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 2041, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(

RuntimeError: Error(s) in loading state_dict for YOLOX:
        size mismatch for non_shared_heads.0.cls_feats.0.convs.0.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([80, 64, 3, 3]).
        size mismatch for non_shared_heads.0.cls_feats.0.convs.1.weight: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.0.cls_feats.0.convs.1.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.0.cls_feats.0.convs.1.running_mean: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.0.cls_feats.0.convs.1.running_var: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.0.cls_feats.1.convs.0.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([80, 80, 3, 3]).
        size mismatch for non_shared_heads.0.cls_feats.1.convs.1.weight: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.0.cls_feats.1.convs.1.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.0.cls_feats.1.convs.1.running_mean: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.0.cls_feats.1.convs.1.running_var: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.1.cls_feats.0.convs.0.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([80, 64, 3, 3]).
        size mismatch for non_shared_heads.1.cls_feats.0.convs.1.weight: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.1.cls_feats.0.convs.1.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.1.cls_feats.0.convs.1.running_mean: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.1.cls_feats.0.convs.1.running_var: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.1.cls_feats.1.convs.0.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([80, 80, 3, 3]).
        size mismatch for non_shared_heads.1.cls_feats.1.convs.1.weight: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.1.cls_feats.1.convs.1.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.1.cls_feats.1.convs.1.running_mean: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.1.cls_feats.1.convs.1.running_var: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.2.cls_feats.0.convs.0.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([80, 64, 3, 3]).
        size mismatch for non_shared_heads.2.cls_feats.0.convs.1.weight: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.2.cls_feats.0.convs.1.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.2.cls_feats.0.convs.1.running_mean: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.2.cls_feats.0.convs.1.running_var: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.2.cls_feats.1.convs.0.weight: copying a param with shape torch.Size([64, 64, 3, 3]) from checkpoint, the shape in current model is torch.Size([80, 80, 3, 3]).
        size mismatch for non_shared_heads.2.cls_feats.1.convs.1.weight: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.2.cls_feats.1.convs.1.bias: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.2.cls_feats.1.convs.1.running_mean: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for non_shared_heads.2.cls_feats.1.convs.1.running_var: copying a param with shape torch.Size([64]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for cls_preds.0.weight: copying a param with shape torch.Size([2, 64, 1, 1]) from checkpoint, the shape in current model is torch.Size([80, 80, 1, 1]).
        size mismatch for cls_preds.0.bias: copying a param with shape torch.Size([2]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for cls_preds.1.weight: copying a param with shape torch.Size([2, 64, 1, 1]) from checkpoint, the shape in current model is torch.Size([80, 80, 1, 1]).
        size mismatch for cls_preds.1.bias: copying a param with shape torch.Size([2]) from checkpoint, the shape in current model is torch.Size([80]).
        size mismatch for cls_preds.2.weight: copying a param with shape torch.Size([2, 64, 1, 1]) from checkpoint, the shape in current model is torch.Size([80, 80, 1, 1]).
        size mismatch for cls_preds.2.bias: copying a param with shape torch.Size([2]) from checkpoint, the shape in current model is torch.Size([80]).

Thans, I have solved this issue because I did not add --num_classes parameter.


Better SLURM sharding integration

If we support SLURM job arrays, then we can remove the hacks in helm-run for running shards on SLURM.

Don't need this any more since we're swapping to using CodaLab #1320


basic.consume args: alias no_ack

Other clients typically use "manual_ack" as a more descriptive name, although auto_ack also works well, and is an alias for "no_ack" (the protocol field).
Closes #83

@gftea ready for another round.


Frankfurter changed their api endpoint

Hello,
Frankfurter changed their api from https://api.frankfurter.app/ to https://api.frankfurter.app/v1/.
Currently the library returns
ExchangeError: NyroError: Request failed with status code 522

since the old Frankfurter endpoint does not exist anymore.

Thanks for the report ^^


airCloud working ?

Apologies for using this as a means of communications to other users, but I cannot find a forum or similar. I have not been able to use this i integration or the native airCloud app and getting various messaged like "unable to contact server" or time outs for the last two weeks. I want to make sure there's nothing wrong on my side and check if airCloud is working for other people and it's just me having issues ? The Hitachi airCloud service has been flakey since I got these adapters installed, but never this long. If anyone have some comments of seeing something similar would be appreciated.
I also wish there was a way to get the Hitachi cloud service out of the picture and send these commands locally, if anyone has any thoughts on this would also be appreciated.
Thanks !

Hi!
The API consists of 2 modules, REST for sending commands and a web socket for receiving status. The web socket has been unstable for a long time, but unfortunately, sending a command requires an ID that can only be extracted from the status. But at the same time, if you did not reboot, HA integration may continue to work, since device identifiers are stored in the cache but without updating state. I was unable to reverse engineer the cloud protocol because it runs over HTTPS. Typically, the air conditioner board has several connectors for connecting external thermostats operating using the “dry contact” method or using a special protocol. Using these connectors is the only way to control without the cloud. A description of the control device can be found here https://hackaday.io/project/179797/logs. There is a discussion thread on the HA community forum, but there are almost no messages there https://community.home-assistant.io/t/hitachi-hvac-ducted-ac-integration/349449/16

So, I actually got an email response from Hitachi saying they resolved their problems and I have managed to re-pair my units and it looks like it's a bit snappier now to respond. However, after deploying some termperature meters in my house, I can see that the temperature showing from the Aircon units is vastly off the real temperature (like 2-3 degrees), would it be possible to plug a different current temperature source into the climate card than the built in one in the aircon unit ?

I looked at that but I am not sure how I would create a Heating/Cooling switch to turn on/off the Aircon's with a static temperature to let this generic thermostat manage the temperature. Have you got any suggestions how I would go about with this ?

I will add the temperature correction value to the configuration in a few days

I added the parameter for adjustment a current temperature.
It should be in your config.yml:
 air_cloud:         email: "login" #supported only email authorization         password: "pass"         temp_adjust: -1 #optional parameter for adjustment current tem


FormatException (FormatException: WAV is corrupted, or not a WAV file.)

I have a file audio that is loaded on all the devices except for some (eg. samsung s23) the error is FormatException (FormatException: WAV is corrupted, or not a WAV file.). I added the wav file as attachment
IT_DECL_02S01.zip

Can you tell me which devices it works on and which it doesn't? List as many devices as possible. It could be something to do with CPU architecture (samsung s23 appears to be arm64), but I can't tell without more information.

That wav loads fine on my x64 linux laptop. It's probably not a byte order issue, because my laptop is little-endian, and so is the samsung s23.

That is super weird. Since it's so device specific there's not much I can do about it on my end as I don't have an S23. This package is pretty simple though, so if you want to try debugging it yourself you can probably figure out the issue. The parsing code is all contained in this function, and is only about 30 lines.
Can you post the stack trace? That will at least tell us which line of the parsing function is failing. Then we can try and figure out exactly what bytes of the wav file are failing to parse, and maybe figure out why it's device specific.


Fix issues reported by PHPStan

When we introduced PHPStan, we added lots of errors to a "baseline file" to ignore them instead of fixing them. So, let's fix them.
In my opinion there are two kinds of issues:
(1) Issues that are PHP errors or improvements. Such as https://github.com/symfony/demo/pull/1331/files We need to fix those.
(2) Issues that are solved by adding metadata for PHPStan. I'm not sure 100% about fixing these. This is a Symfony Demo app, so only Symfony is important. If these issues require lots of changes and future maintenance, I wouldn't fix them.
What do you think?

About (2) @stof added the following in https://github.com/symfony/demo/pull/1332#discussion_r866011366

Well, it also helps IDEs that support generic classes (PHPStorm has partial support for them, improving it in each release).
Generics are actually a de-facto standard, being supported with the same syntax by phpstan, psalm, PHPStorm (and maybe VSCode but I haven't checked)
And MakerBundle generates that @extends tag now. So users generating a User entity today will have it.

No errors found. PHPStan said [OK] No errors. Details below:
$ ./vendor/bin/phpstan --memory-limit=-1 -vvv
Note: Using configuration file phpstan.neon.dist.
 44/44 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% < 1 sec/< 1 sec 40.0 MiB

Result cache is saved.

 [OK] No errors

Used memory: 40 MB


TadGAN window size, detect & score_anomalies methods

Orion version: 0.3.2
Python version: 3.6
Operating System: Windows

First Question:
I am trying to run TadGAN window size to a different value rather than the default value (100), but I am facing the following Exception whenever I do that:
ValueError: Negative dimension size caused by subtracting 5 from 4 for 'model_3/sequential_3/conv1d_2/convolution' (op: 'Conv2D') with input shapes: [?,1,4,64], [1,5,64,64].
From what I understood from previous discussions that the window size is constant value, is there any possibility to update TadGAN regarding this matter? That would be really helpful.
Second Question:
I used the detect method to see the anomalies that TadGAN produced after the training. I noticed that it always shows me 5 anomalies at max, even when I tried it on different datasets. Is it possible to show more than that? Is there a threshold or a parameter in detect method that I am unaware of, that I can change to show more anomalies?
Third Question:
I want to use score_anomalies method, but it is unclear for me, since it requires multiple parameters. I already saw the example provided in https://sintel.dev/, but it is still not clear for me. Can you please give me an example for this method, explaining each parameter and its use? Thank you in advance!
Your support is valuable to us.

Hi @Moneera! Thank you for using Orion!
Q1
Can you give a bit more detail on the setup?
The following code works for me, let me know if it works for you!
 hyperparameters = {
     "mlprimitives.custom.timeseries_preprocessing.rolling_window_sequences#1": {
         "window_size": 100
     },
     'orion.primitives.tadgan.TadGAN#1': {
         'epochs': 5,
         'verbose': True
     }
 }

 orion = Orion(
     pipeline='tadgan_gpu',
     hyperparameters=hyperparameters
 )

Q2
Definitely! the constant 5 anomalies among different datasets is a pure coincidence. There are multiple hyperparameters that you can toggle to view more/less anomalies. Take a look at the documentation of the primitive find_anomalies.
Q3
score_anomalies primitive is typically used for the output of TadGAN primitive. It requires four inputs, the details can be found here.
The Tulog notebook might be helpful to understand the primitives and give more insight on the hyperparameters.


force UTF-8 encoding when creating byte arrays from Strings

We have a problem on Windows machines with product names containing umlauts. Forcing the UTF-8 encoding fixes this problem.

@dr0ps Thanks for the PR - we'll review it and update.


No allocator thread panicked

I just built yofi from master as well as the 0.1.5 tag and when executing yofi apps I get the following error:
❯ yofi apps
thread '<unnamed>' panicked at 'Must provide allocators in no-stdlib code', /home/griff/.cargo/registry/src/github.com-1ecc6299db9ec823/brotli-decompressor-2.3.2/src/ffi/alloc_util.rs:185:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'Must provide allocators in no-stdlib code', /home/griff/.cargo/registry/src/github.com-1ecc6299db9ec823/brotli-decompressor-2.3.2/src/ffi/alloc_util.rs:185:13
thread '<unnamed>' panicked at 'Must provide allocators in no-stdlib code', /home/griff/.cargo/registry/src/github.com-1ecc6299db9ec823/brotli-decompressor-2.3.2/src/ffi/alloc_util.rs:185:13
thread '<unnamed>' panicked at 'Must provide allocators in no-stdlib code', /home/griff/.cargo/registry/src/github.com-1ecc6299db9ec823/brotli-decompressor-2.3.2/src/ffi/alloc_util.rs:185:13
thread '<unnamed>' panicked at 'Must provide allocators in no-stdlib code', /home/griff/.cargo/registry/src/github.com-1ecc6299db9ec823/brotli-decompressor-2.3.2/src/ffi/alloc_util.rs:185:13
[2022-04-27][20:48:47][yofi][ERROR] panic: Must provide allocators in no-stdlib code

I tracked down the crate generating the error. It is a dependency of allsorts_no_std which is a dependency of rust-fontconfig. The allsorts_no_std crate has brotli-decompressor as a dependency with default features off making it no_std and requiring that an allocator be set. It looks like allsorts_no_std may have moved to allsorts and likely might just need to be updated.
Let me know if you have any questions, need additional info, or would like me to assist in troubleshooting further.

 So I simply cannot override it without manual patching. As a workaround you may try different backend, fotkit: cargo b --release --no-default-features --features font-fontkit.
I wounder though why it fails for your setup. May you provide output of ldd $(which yofi) and strace -e open,openat $(which yofi)?

Hm, I just remembered there's a similar case described at #88. Could you try this patch (i.e just add allsorts = "0.8.0" to Cargo.toml)?

Adding allsorts as a dependency did fix the issue. As you hinted at in 88 the entire all_srts crate is not necessary. It seems because all_sorts declares brotli-decompressor as a dependency with default feautures it is built with std lib support. I tested just adding brotli-decompressor = "2.3" to the dependencies for yofi and that worked as well. I could create a PR for this if you would like me to.

Yeah, sure


[ZF3] Split out resource factories / manager

One of the most confusion part of the current cache component is the usage of resource manager.
The resource managers are used to instantiate resources (like an instance of Memcache/d) and to share the same resources over different instances of the fitting interface. Sharing resource is required to not open a new resource (like a network connection) to the same thing only to be able to use different storage instances with different options (like namespace / TTL).
In my opinion the cache adapters should not contain so much complexity and I would like to remove this functionality and simply let inject the resources into the adapters if required.
But where move this functionality to?

Should this be part of another component like zend-servicemanager?
Should this be done completely by the user?

Related:

zendframework/zf2#5787
zendframework/zf2#6381
zendframework/zf2#6584

@weierophinney @ezimuel @Maks3w @Ocramius Thoughts?

I used to think that db module is a good choice. but db use a table gateway model to process with ORM, it's much more RDBMS oriented.
since NoSQL is widely used today, I think it's a better idea to have a new design on data persistence and data process. Something like POJO implements hydrator interface with annotation to define the data source  seems a good choice for me to unified persistence and cache operation. I suggest a data source manager module to do all this.

This repository has been closed and moved to laminas/laminas-cache; a new issue has been opened at https://github.com/laminas/laminas-cache/issues/13.


Distilling labels as well as images

It seems that you fix the label associated with each image when producing a weight update with it.
This, I presume, helps the images you learn be specialised to single classes. E.g. the MNIST digits you produce (for random initialisation) are clearly distinct digits.
However, the labels are also a vital part of the dataset.
Did you consider randomly initialising them and backpropagating the training signal to learn them too?

We actually demonstrated this in a recent paper where we extended dataset distillation:
Code: https://github.com/ilia10000/dataset-distillation
Paper: https://arxiv.org/abs/1910.02551v2

Thank you. It seems that in your work, the learned labels are initialised to hard values.
Can you give some more details about what happened when you tried random initialisation of labels, which in section 3.2 you say does badly? What was the performance?

In cases where there are a moderate number of images (e.g. 1+ distilled image per class), there is a noticeable drop in performance if soft-labels are initialized completely randomly before being learned instead of initializing as hard labels before being learned. On MNIST, that was about a 1% difference if using 10 distilled images. On CIFAR, I believe it was 2-5% when using 100 distilled images.
However, in cases where we used much fewer images than classes, there was interesting behavior. Generally, randomly initialization was actually better here (e.g. double-digit difference in performance when using a single distilled image to represent all of MNIST). Hard label initialization could perform better than random initialization only if the hard labels were chosen very carefully (e.g. for representing MNIST with 5 images, we got the best performance by starting with the following label initializations: 1 2 4 5 9).
We think this is because using the hard initializations leads to better class separation early on in the distillation process. It's possible that there are smarter random initializations for the labels than the uniform random one we used. Perhaps it might be more optimal to start with smoothed versions of the hard labels? We haven't explored this.

Thank you.


Can you add the text support too?

Allow us to choose text support or slash command  support

Hello @corropted! You can already use both slash and text command, or just one of them. You can check this wiki page to have more info about it: https://github.com/utarwyn/discord-tictactoe/wiki/Using-slash-command-in-V3#what-about-the-text-command

Hello @utarwyn as you already told me about text cmd is supported but i still didn't understand how could i actually use after reading doc? Would you please explain me how could i use text cmd too ?

I am sorry that the wiki is not comprehensive enough. If you look into the example configuration file, you can see that two values named command and textCommand are configurable using version 3+.

"command" is the name of the slash command (defaults to tictactoe)
"textCommand" is the name of the text command (no default value)

You can fill both values or one of them based on what you need. An empty value means "Desactivated".
First example: no slash command, only a text command
{
  "command": "",
  "textCommand": "-tictactoe"
}

Second example: both slash and text commands
{
  "command": "tictactoe",
  "textCommand": "!ttt"
}

Just a one more question can't i use the textcommand with command handler ?! And can you make a textcommand hander too like for interaction

Hello, yes you can use method handleMessage to handle custom messages too 😄
You can find an example in the wiki: https://github.com/utarwyn/discord-tictactoe/wiki/Usage-examples-with-Node.js#handle-messages-by-your-own


chore: proper error message on 409 error

I wonder if this case can ever be hit

yup there has been quite a few times, with routing failures and pending lightning paymant that are not confirmed where people retry the payment


Akshat-TLI-04-Multiple-Model

Code functionality is exactly the same as the model that Armagan and I made. The return value is a dictionary of MetricFrames with the key being the model_file path that we receive in a list for the function.

Does this ensure that if the data doesn't have "age" for example, it leaves the age part of the dictionary as age: "" ?
dashboard2 has hard coded full_single_transaction cuz that's what we're testing on

Does this ensure that if the data doesn't have "age" for example, it leaves the age part of the dictionary as age: "" ?
dashboard2 has hard coded full_single_transaction cuz that's what we're testing on

ok I believe I can use this class - EvaluateModelsUseCase - to call the function?

Does this ensure that if the data doesn't have "age" for example, it leaves the age part of the dictionary as age: "" ?
dashboard2 has hard coded full_single_transaction cuz that's what we're testing on

ok I believe I can use this class - EvaluateModelsUseCase - to call the function?

yes you can


Run tests for different PySpark / Delta Lake version combinations in matrix

See here for an example for how to setup matrix when running CI: https://github.com/MrPowers/quinn/pull/98/files
Would be good to run tests for all supported versions.  We should always document the supported versions whenever we make a release (and should be deliberate about whenever we stop supporting a specific version).

I'll start tackling this in #118!


Closing ...

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Sorry , i drop this card (ones again) , can't get use to the 2 hours "gap", id rather have a 5-hours/every hour overview, than a 10hours/every second hour view ... A LOT can change/happens in an hour :)


NullReferenceException

When I create an empty object and add the path creator script, I get the following error messages.
NullReferenceException: Object reference not set to an instance of an object
PathCreation.BezierPath.CalculateBoundsWithTransform (UnityEngine.Transform transform) (at Assets/PathCreator/Core/Runtime/Objects/BezierPath.cs:409)
PathCreationEditor.PathEditor.DrawBezierPathSceneEditor () (at Assets/PathCreator/Core/Editor/PathEditor.cs:433)
PathCreationEditor.PathEditor.OnSceneGUI () (at Assets/PathCreator/Core/Editor/PathEditor.cs:289)
(wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,UnityEditor.Editor)
UnityEditor.SceneView.CallOnSceneGUI () (at <7d481861b3d34328a9633ade22dcedd6>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <7d481861b3d34328a9633ade22dcedd6>:0)
UnityEditor.SceneView.DoOnGUI () (at <7d481861b3d34328a9633ade22dcedd6>:0)
UnityEditor.SceneView.OnSceneGUI () (at <7d481861b3d34328a9633ade22dcedd6>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <107446276b724792a53cd389e03a278b>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

NullReferenceException: Object reference not set to an instance of an object
PathCreationEditor.PathEditor.DrawBezierPathInspector () (at Assets/PathCreator/Core/Editor/PathEditor.cs:119)
PathCreationEditor.PathEditor.OnInspectorGUI () (at Assets/PathCreator/Core/Editor/PathEditor.cs:89)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass62_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <795c477f4b8b45c2b2848ba27f9a227b>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Having the same error on Unity 2022.1.21f1 Mac Silicon.

Having the same error on Unity 2022.2.1f1 Ubuntu 22.04

I had the same issue. The issue seems to be at line 47 of PathCreatorData.cs it checks if the bezier path is null. For some reason it seems to already be initialized but the points array in BezierPath was not initialized. To fix it I added the following lines in BezierPath.cs:
/// Is the points array null?
public bool HasPoints
{
    get
    {
        return points != null;
    }
}

and then i added the check at line 47 of PathCreatorData.cs:
- if (_bezierPath == null) {
+ if (_bezierPath == null || !_bezierPath.HasPoints) {
    CreateBezier (Vector3.zero, defaultIs2D);
}

I'm not very familiar with the codebase so i'm not sure if it will have impacts somewhere else in the code.

If BezierPath having zero points is a valid scenario then I would change the method name from HasPoints to IsPointsValid or IsPointsNull.
If it is not a valid scenario then I think it is worth adding an empty check after the null check.
It is an old bug. I think I'll create a pull request. @SebLague can you confirm if it makes sense for the BezierPath to have an empty points list?


Question: is the combination of limit and predicate push-down safe in ParquetExec?

Describe the bug
We push pruning predicates and limits down to ParquetExec but it seems like the combination could be unsafe, or perhaps I am not comprehending the logic?
Given the predicate x > 10 and a limit of 10, suppose we have the following 2 partitions:

Partition 0 has 100 rows and 5 rows match x > 10
Partition 1 has 100 rows and 5 rows match x > 10

As we iterate over row groups we have
for row_group_meta in meta_data.row_groups() {
    num_rows += row_group_meta.num_rows();

we break out of this loop once hitting the limit, based on num_rows
if limit.map(|x| num_rows >= x as i64).unwrap_or(false) {
    limit_exhausted = true;
    break;
}

This stops processing the file once the limit is reached, without considering how many rows the predicate would match.
Finally we stop processing partitions as well, here:
// remove files that are not needed in case of limit
filenames.truncate(total_files);
partitions.push(ParquetPartition::new(filenames, statistics));
if limit_exhausted {
    break;
}

To Reproduce
When I have time will write a test to see if there is an issue here.
Expected behavior
Perhaps we should not apply the limit when we are pushing predicates down?
Additional context
N/A

I think in actually enabling the pushdown, it shouldn't push down the limit when it has a filter. So it also will not be pushed to the parquet exec.
Doesn't hurt to have some extra tests around this, or maybe some code in the parquet exec to disable / do limit after pruning when the ParquetExec has a predicate.


[Refactor] Invalid DDP on multi-nodes single-card environment

Hi, masters, recently I endeavored to run through mmlu in the big-refactor branch.  But I got some unexpected situations.
My environment is multi nodes and each node only includes one GPU card. Are there some omissions in such an environment?
Unexpected situations
Here I list some errors I met. (All tests were based on llama2-13b on mmlu dataset)
In the master branch, The overall inference time is about one hour.

But in big-refactor:
it may take more time than the master's. (Please ignore the total number here because the dataset I tested myself overlaps with the latest commit, dividing  2 is the actual time)
[3 nodes ]

[5 nodes ]

Through further investigation, I found that huggingface.py#L104 can only return 1 in my environment, and it will not enter the huggingface.py#L301  conditional statement.  Therefore in task.py#L364 I got the parameter rank=0, world_size=1 (But the ideal value is rank=(0,..n), world_size=n )).
So among all my nodes, each node executed the full mmlu data set.
After I modified 'task.py#L364' like below. (and some other modifications). Seems each node can obtained correctly segment.
.
Questions

I want to check if have you ever considered a multi-nodes single-card environment before. If not I can push a PR for this,  If have already considered it, could you let me know how to set the config to startup evaluation in my environment? (but I don't have other machines like single-node multi-card or multi-nodes multi-cards. So it may be a bit hard to test the compatibility for different environments.)
This may only be compatible with single-node multi-card situations:

Will you consider adding more explanations of possible situations in the readme?
Finally, I test with the command(Can it serve as a supplement to readme?):
accelerate launch --num_machines $WORLD_SIZE --num_processes $WORLD_SIZE --main_process_ip $MASTER_ADDR --machine_rank $RANK --main_process_port $MASTER_PORT --multi_gpu -m lm_eval --model hf --model_args pretrained=$MODEL_PATH --tasks mmlu --batch_size auto:10 --num_fewshot 5

Hi! We have not considered a multi-node environment historically and have assumed that either one writes a custom model integration with your distributed library (see https://github.com/bigscience-workshop/architecture-objective/blob/main/t5x/eval_harness.py , https://github.com/EleutherAI/gpt-neox/blob/main/eval_tasks/eval_adapter.py . ) We'll clarify this assumption in the README.
I think that for the multi-node case, it would be better to integrate data parallelism alongside faster inference libraries that also allow one to spin up APIs that can be queried locally, such as vLLM or TGI, in terms of speeding evaluation up.


In case my method of loading themes is slow due to reading files, I'll need to somehow construct something in memory that can be referred to by any controls like I did for UXL Launcher.

At least it's working so far.

This is really important on the PinePhone as its eMMC is really slow and will make performance worse to keep hammering the disk over and over. Might be able to do a module thing in a QML file like I did for the font stuff so it's shared throughout the program and within the Qt layer rather than having to consult Python. Then the only time the disk will be accessed for theme stuff is whenever the theme changes, and we'll load it in. It would make it easier to deal with theme-related code too, as it would be out of the way of the stuff that does things and won't have to run functions all the time to get the current values. This does mean though that I'd have to write another theme engine, but fortunately it's simpler because all I need is the code to load from storage and place it into the variables in memory. Could probably use Rust actually, that should make it fast enough instead of having to worry my Python would be slow, use a lot of memory, or make things take longer to load. Probably would be an application that gets run and returns JSON through standard out that we'll throw at Qt to store away.

Maybe if I go the Rust route, I could use configparser (not to be confused with Python configparser): https://docs.rs/configparser/latest/configparser

Wait a minute, should I write a daemon that provides theme data over D-Bus so fewer apps have to access the drive all at once when the theme changes? Or is that too much? The theme change signal would also be sent through D-Bus anyway, but probably when first starting an app it could load directly from the theme file.


Global Service Request Naming Support

Solves #68

Great stuff getting this in so quickly @Dynatrace-Adam-Gardner !
For releasing this as 1.1.0 I'd wait for a few more PRs that should happen today


Add window logo

We now have project logos. https://github.com/XapaJIaMnu/translateLocally/tree/master/logo
We need to make the application have a nice icon and create the .desktop file. Sadly there isn't one cross-platform way to do it: https://doc.qt.io/qt-6/appicon.html

Fixed


feature request multi dynamic styles

hello
i love CVA however it would be a great addition if you include 1 cva themes for component that have mutli parts example accordion
i want mutli thems of accordion including costum ons
the output would be somthing like this

Duplicate of https://github.com/joe-bell/cva/discussions/94


RSDK-8551 - update cli dependencies

Update dependencies for CLI to include python and pip. These are necessary as part of RDK#4315.
edit: putting this into draft while I do some refactoring of the RDK#4315 work, which may remove the need for this.

Now that we're building template generation tools in a separate repo and downloading them directly when building CLI, there's no longer a direct python dependency so this is no longer needed.


[Snyk] Fix for 4 vulnerabilities

Snyk has created this PR to fix 4 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

package.json
package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Prototype Poisoning SNYK-JS-QS-3153490
  696

Regular Expression Denial of Service (ReDoS) SNYK-JS-SEMVER-3247795
  696

Prototype Pollution SNYK-JS-TOUGHCOOKIE-5672873
  646

Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
  631

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Poisoning
🦉 Regular Expression Denial of Service (ReDoS)

👷 Deploy Preview for fabulous-malabi-166ad0 processing.

Name
Link

🔨 Latest commit
a316b2adef06cf5604087c715b1b32f55d4090b0

🔍 Latest deploy log
https://app.netlify.com/sites/fabulous-malabi-166ad0/deploys/66dad877b3da2600097dbf60


Unable to use exclude option with bundle

Thanks for this great plugin!
While I was able to bundle my code for AWS Lambda using this plugin, I wanted to exclude some files and directories (such as configuration files, sources - which use Typescript and are bundled/minified by webpack; etc.).
Having a look at the sources I found the undocumented exclude option:
https://github.com/ojkelly/yarn.build/blob/b0f35c7a5d47091a20ddb26dea805e591a0009e0/packages/plugins/plugin-build/src/commands/bundle/index.ts#L34-L35
Unfortunately I am not sure to understand how it works. After adding a couple of console.log:
diff --git a/packages/plugins/plugin-build/src/commands/bundle/index.ts b/packages/plugins/plugin-build/src/commands/bundle/index.ts
index 00a065d..570521a 100644
--- a/packages/plugins/plugin-build/src/commands/bundle/index.ts
+++ b/packages/plugins/plugin-build/src/commands/bundle/index.ts
@@ -106,22 +106,26 @@ export default class Bundler extends BaseCommand {

   async removeExcluded(tmpDir: PortablePath, excluded: PortablePath[]) {
     const gitDir = `${tmpDir}/.git` as PortablePath;

     try {
       if (await xfs.lstatPromise(gitDir)) {
         await xfs.removePromise(gitDir);
       }
     } catch (e) {}

     await excluded.map(async (p) => {
+      console.log('****');
+      console.log(p);
+      console.log(tmpDir);
+
       if (!p.startsWith(tmpDir)) {
         // Don't remove anything not in the tmp directory
         return;
       }

       if (await xfs.lstatPromise(p)) {
         await xfs.removePromise(p);
       }
     });
   }

and running yarn bundle --exclude aaa --exclude bbb we can see the following output:
****
aaa
/private/var/folders/3s/_2m5qbkj6czcwc8xsvwbg4n40000gn/T/xfs-d6e54876
****
bbb
/private/var/folders/3s/_2m5qbkj6czcwc8xsvwbg4n40000gn/T/xfs-d6e54876
****
/private/var/folders/3s/_2m5qbkj6czcwc8xsvwbg4n40000gn/T/xfs-d6e54876/packages/lambda-api/bundle.zip
/private/var/folders/3s/_2m5qbkj6czcwc8xsvwbg4n40000gn/T/xfs-d6e54876

The last trace is the output artefact excluded by default. But, as you can see, to use the exclude option you need to prefix each path by the tmp. directory - which does not exist yet at invocation time 😬
Here are my thoughts:

I understand the exclude option is not yet public (not mentioned in CLI help text, README.md, config.js, etc.) and may not yet be ready for usage;
The plugin could certainly prefixes all paths from exclude with the tmp. dir. (as it already does with the artefact);
Given my usage, a include option may be better (I just want to ship dist directories);
Currently exclude accepts a list of strings, we could also accept regex in .yarnbuildrc.yml.

I would love to get some feedbacks. And of course I am willing to create a PR if maintainers are interested 🚀

Hey 👋
The intent was to look at package.json#main and use that folder for bundling.
https://github.com/ojkelly/yarn.build/blob/b0f35c7a5d47091a20ddb26dea805e591a0009e0/packages/plugins/plugin-build/src/commands/bundle/index.ts#L214
There has also been work done to enable per folder customisation for what you're talking about there. the folderConfiguration described in the readme.
The general approach to bundling here, is to copy the whole repo to a temporary directory, and then remove everything not needed. Then drop the entrypoint.js and zip it all up.
The main question just comes down to what's removed. So we remove anything the package we are bundling has not declared as a dependency.
Because the yarn 2+ setups use PnP, and possibly reference other local packages (ie in your repo, not on npm), we need to preserve the structure of the whole repo.
So bundle won't just bundle the dist folder. It bundles the whole workspace, with a file that starts whatever script you reference in package.json#main.
You should be able to set that to something like "main": "dist/index.js" and then run node entrypoint.js in your lambda or docker container.

Exclude is probably ready to pull up into public use. The questions around it have mainly been should it be configured per package, or globally. The answer seems to be per package.
It does sound like it would be useful to extend exclude a bit, to allow you to specify folders to remove for bundling as well.

I'm going to close this issue, but feel free to re-open or comment if you are still having trouble or have more information.


Issues after last commit to src/MacVim/MMBackend.m

Describe the bug
I have several issues with the current master:
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 30 2020 15:13:09)
macOS version
Included patches: 1-830
At startup, at least some of the highlight commands from gvimrc are not executed. For example, I have:
set cursorline
set cursorlineopt=screenline
hi CursorLine	NONE
hi CursorLine	gui=underline	guisp=gray

but do not get a underline. Furthermore I sometimes see artifacts of my status bar while scrolling.

I suspect the latest changes in src/MacVim/MMBackend.m as the reason for this behaviour. If I revert this part of the commit:
         while (CFRunLoopRunInMode(kCFRunLoopDefaultMode, 0, true)
                   == kCFRunLoopRunHandledSource)
              ;   // do nothing
+       [self processInputQueue];
  }
  - (void)flushQueue:(BOOL)force

I can no longer reproduce the issues and MacVIM behaves as before.
Can someone please check whether the [self processInputQueue]; is necessary at this point or whether it can cause such problems?
Environment (please complete the following information):

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 30 2020 15:13:09), Included patches: 1-830
OS: macOS 10.15.5
GUI: MacVIM

Sorry, I could not reproduce... Please present the minimal executable example: vimrc, gvimrc, a few user input, using Core Text renderer or not.

The missing highlightings seems to be caused by my colorscheme (NeoSolarized). Strange, that worked before.
For the rendering issue:

empty ~/.vimrc

~/.gvimrc with the following content (ther's a space at the end of the first line):

set statusline=\ %<%f\ [%{&ff}]%h%m%r\ \ %=%-20.(%l/%L,%c%V%)\ %P\
set laststatus=2

start MacVim
open MMBackend.m
scroll the buffer up and down

With this minimal setup this does not happen as often as in the screenshot above, but it happens.
% defaults read org.vim.MacVim
{
    MMAppearanceModeSelection = 0;
    MMAutosaveColumns = 191;
    MMAutosaveRows = 50;
    MMCurrentPreferencePane = Advanced;
    MMDisableLaunchAnimation = 1;
    MMLastWindowClosedBehavior = 2;
    MMOpenInCurrentWindow = 1;
    MMRenderer = 1;
    MMSuppressTerminationAlert = 1;
    MMTitlebarAppearsTransparent = 1;
    MMTopLeftPoint = "{17, 855}";
    MMUntitledWindow = 1;
    NSFontPanelAttributes = "1, 4";
    NSQuotedKeystrokeBinding = "";
    NSRepeatCountBinding = "";
    "NSWindow Frame NSFontPanel" = "929 110 445 237 0 0 1440 877 ";
    SUEnableAutomaticChecks = 0;
    SUHasLaunchedBefore = 1;
    SUSendProfileInfo = 0;
}

Hmm.. I could not reproduce.
What your configure/build steps of MacVim?
My env and steps:
On macOS 10.13.6 / 10.15.5,
export CPPFLAGS=-DWE_ARE_PROFILING
export CFLAGS=-Wall -Wextra -Wshadow -Wno-unknown-pragmas -g -glldb -O0
export LDFLAGS=-Wl,-no_pie
./configure --prefix=/usr/local --enable-gui=macvim --disable-nls --enable-multibyte --enable-terminal --with-tlib=ncurses --with-features=huge --enable-fail-if-missing --enable-luainterp=dynamic --with-lua-prefix=/usr/local/opt/luajit --with-luajit --enable-perlinterp=dynamic --enable-python3interp=dynamic --enable-rubyinterp=dynamic --with-ruby-command=/usr/local/opt/ruby/bin/ruby --with-xcodecfg=Debug
make

launch from
./src/MacVim/build/Debug/MacVim.app/Contents/MacOS/Vim -g src/MacVim/MMBackend.m

or from ./src/MacVim/build/Debug/MacVim.app (double-click App icon),
and then input <C-f>, <C-b>, j, and k several times.

macOS 10.15.5, no CPPFLAGS, no LDFLAGS
% echo $CFLAGS
-O2 -fno-caret-diagnostics -fno-color-diagnostics -fno-diagnostics-fixit-info -pipe -pedantic -Weverything -Wunused-macros -Wno-padded -Wno-format-nonliteral -Wno-switch-enum -Wno-covered-switch-default -Wno-sign-conversion -Wno-shorten-64-to-32 -Wno-reserved-id-macro -Wno-disabled-macro-expansion -Wno-documentation-unknown-command -Wno-documentation-deprecated-sync -Wsign-compare

I run configure and make like this
./configure && make -s -j 4

./src/MacVim/build/Debug/MacVim.app/Contents/MacOS/Vim -g src/MacVim/MMBackend.m

I made a screen recording where I scroll with two fingers on the trackpad of the MacBook Pro (28,6MB): http://d--p.de/tmp/2020-06-08_MacVim.mov
Test conditions as described above, empty ~/.vimrc and ~/.gvimrc with two lines (first line ends with a space):
set statusline=\ %<%f\ [%{&ff}]%h%m%r\ \ %=%-20.(%l/%L,%c%V%)\ %P\
set laststatus=2

Maybe scrolling with the trackpad makes the difference.

I made a screen recording where I scroll with two fingers on the trackpad of the MacBook Pro (28,6MB): http://d--p.de/tmp/2020-06-08_MacVim.mov

Ups, the url got lost. http://d--p.de/tmp/2020-06-08_MacVim.mov

I could reproduce on my new Retina machine (I had only non-Retina machines until yesterday..).
Reverting [self processInputQueue] makes CI fail, thus I'll do it and comment-out the test as workaround, and then I'd like to consider other solution.


Crashes when adding annotations on iOS7

The app crahes when trying to add an annotation on a mapView from which a number of annotations has been just removed.
The issue can be reproduced launching the ClusterDemo on an iOS7 device on simulator: add all annotations via "+All" and remove them via "-All". If "+All" is pressed again, it crashes at:
ADClusterAnnotation.m (row 58)

(void)reset {
self.cluster = nil;
self.coordinate = kADCoordinate2DOffscreen;
}

@iMone Should be fixed in latest update. Thanks

I am still having this problem with the latest version of the pod ... both on simulator and device.

@ehealthADMatt I can't recreate  the issue in the example project.  When does the problem arise?

The crash is happening on iOS 7 for me too. This is a stack trace of the crash:
Crashed Thread
0
libobjc.A.dylib                    	0x3973c626 objc_msgSend + 6
1
Foundation                         	0x2f8cce87 NSKeyValueWillChange + 472
2
Foundation                         	0x2f8b9a29 -[NSObject(NSKeyValueObserverNotification) willChangeValueForKey:] + 178
3
Foundation                         	0x2f8de97f NSKVOForwardInvocation + 128
4
CoreFoundation                     	0x2ef99f95 forwarding + 350
5
CoreFoundation                     	0x2eee9058 _CF_forwarding_prep_0 + 22
6
APP NAME                       	0x00186559 -[ADClusterAnnotation reset] (ADClusterAnnotation.m:58)
7
APP NAME                       	0x00191db1 __30-[TSClusterOperation resetAll]_block_invoke (TSClusterOperation.m:436)
8
Foundation                         	0x2f8dc64f -[NSBlockOperation main] + 128
9
Foundation                         	0x2f8cc875 -[__NSOperationInternal _start:] + 770
10
Foundation                         	0x2f970745 __NSOQSchedule_f + 58
11
libdispatch.dylib                  	0x39c1bd3f _dispatch_client_callout + 20
12
libdispatch.dylib                  	0x39c1e6c3 _dispatch_main_queue_callback_4CF + 276
13
CoreFoundation                     	0x2ef62641 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 6
14
CoreFoundation                     	0x2ef60f0d __CFRunLoopRun + 1306
15
CoreFoundation                     	0x2eecb729 CFRunLoopRunSpecific + 522
16
CoreFoundation                     	0x2eecb50b CFRunLoopRunInMode + 104
17
GraphicsServices                   	0x33e3a6d3 GSEventRunModal + 136
18
UIKit                              	0x3182c871 UIApplicationMain + 1134
19
APP NAME                       	0x0005e84b main (main.m:16)
20
libdyld.dylib                      	0x39c30ab7 start + 0

I am still looking into this but it looks like it crashes after this line in my code.
self.mapView showAnnotations:self.mapView.annotations animated:YES];
I am using this line of code because it figures out the best region and zoom to display all annotations.  This is important because I filter my annotations via a search input box.

@yorgosg @ehealthADMatt your issues are both a bit different but see if they are fixed in this latest update


arpwatch: init at 3.6

Description of changes
Arpwatch maintains a database of Ethernet MAC addresses seen on the network, with their associated IP pairs. Alerts the system administrator via e-mail if any change happens, such as new station/activity, flip-flops, changed and re-used old addresses.
Closes #293197
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This PR should be merged before #293311


Vendor folder and goxc not compatible ?

This is not an issue with gvt, but it might be that gvt can easily adapt to this problem.
I use goxc to cross compile, and i just starting using gvt to do my vendoring, and when i tried to do a goxc compile (which was working fine the last few months) it went nuts.
It seems that others might be hitting same issue.
https://github.com/laher/goxc/issues/99
thoughts ?

Not sure I see the issue here. Can you report exactly what breaks?

I fixed it. Nothing to do with gvt
The goxc json file needed to exclude the vendor folder like this.
"MainDirsExclude": "./vendor,./_infra/dev/rethinkdb-vm/.clear,./nodes/sync"


Fix some more SQL set op + PartiQL bag op tests

Issue #, if available:

Related to https://github.com/partiql/partiql-lang/issues/76 and https://github.com/partiql/partiql-tests/pull/120
Same tests changed as https://github.com/partiql/partiql-tests/pull/122

Description of changes:

Fixes some more PartiQL bag op tests related to https://github.com/partiql/partiql-tests/pull/120. Specifically for strict mode, error when an outer bag op argument is a non-collection
Also fixes some PartiQL bag op tests that incorrectly allowed ORDER BY, LIMIT, and OFFSET to be applied to PartiQL bag ops

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

From offline discussion, decided we shall allow for LIMIT, OFFSET, and ORDER BY to be applied to outer bag ops. And also modify the coercion logic for NULL and MISSING (i.e. wrap the absent value in a bag rather than empty bag). I will update the PR to reflect those changes.


Teams Tab with SSO and Microsoft Graph Toolkit usage (on behalf of yo teams)

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?

What's in this Pull Request?
This is a little sample (as requested by Wictor recently which shows how to use the Micorsoft Graph Toolkit (MGT) in a Teams Tab with/without implementing SSO as well.
Detailed description in README and in my blog post
https://mmsharepoint.wordpress.com/2021/09/01/microsoft-graph-toolkit-in-a-teams-application-with-yo-teams-and-sso/

Thanks this is awesome!
@Wajeed-msft this is on your list, yes?


How can I fix the error?

Remove proxy and try if you get the error

Remove proxy and try if you get the error

I ran it with a proxy on the emulator, everything worked.


chore(master): release 0.44.4

:robot: I have created a release beep boop
0.44.4 (2024-07-19)
Bug Fixes

do not initialize lunr multiple times, fixes #155 (0b323d9)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/easyops-cn/docusaurus-search-local/releases/tag/v0.44.4 :sunflower:


chore(deps): update common-dev-assets digest to f0d2efd

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
d1bcbc8 -> f0d2efd

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

ℹ Artifact update notice
File name: tests/go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

1 additional dependency was updated

Details:

Package
Change

github.com/IBM/platform-services-go-sdk
v0.70.0 -> v0.71.0

/run pipeline

ℹ Artifact update notice
File name: tests/go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

1 additional dependency was updated

Details:

Package
Change

github.com/IBM/platform-services-go-sdk
v0.70.0 -> v0.71.0

/run pipeline