feat: Add py.typed file to package so type annotations are exposed

Hello all!
Would you be interested in adding a py.typed file to your package?
Per PEP-561 (https://peps.python.org/pep-0561/), library authors who want to support type-checking of their code must add a py.typed file to their package and include it as part of the package data so it's redistributed.
Doing so would allow downstream users of the library to benefit from the inline type annotations you have, freeing them of the need to create and maintain type stubs.

Thanks for flagging this @ConnorBaker , I'm looking into this. Also feel free to raise a PR directly if you have a recommended approach for the py.typed change.
On a related note, I also noticed that we don't currently run type-checking as part of our CI. I'll take a look at both things.

@ConnorBaker are you using MyPy for your project's downstream type checking? My hunch is that we have some work to do on the syne-tune side before we are ready to redistribute the type annotations.

Hi Wes!
I use both MyPy and Pyright for my projects. Why two? They manage to catch different things! Pyright is, in my opinion, the more advanced of the two, being the first to add support for recursive types. It's also closely related to the type checker VS Code uses by default for Python, Pylance (which is unfortunately closed-source).
I also run type checking as part of the CI, so if you wanted an idea of what it could look like for your project, I have two examples:

https://github.com/ConnorBaker/hypothesis_torch_utils
https://github.com/ConnorBaker/mfsr_utils

Those projects also have a py.typed file present, if that's helpful.
The problem matchers in the .github directory aren't necessary but are nice to have. If you're unfamiliar, problem matchers are essentially regular expressions which you can run on portions of job outputs to get nice annotations in the web UI about errors or warnings without having to dig through the logs.
I'll keep that in mind about the PR!

@wesk any suggestions on the best way to handle adding type annotations? File-wise, it's going to touch a lot of the repository and make rebasing on top of new changes painful. That makes me think an incremental approach would be best.
I've got a branch where I've typed the majority of the backend module (well, mypy is still unhappy about a few things but it's close!). I saw there's a PR to refactor the estimator file in backend and it looks like it won't merge cleanly (though it should be easy enough to add types to).
Would you like pull requests targeted to the file-level or the module level? I think the module-level makes more sense, but I don't know how much makes sense for you all to review at a time.
Let me know your preferences!

Hi @ConnorBaker, I agree that an incremental approach would make sense.
Regarding a file-level or module-level approach, what are the tradeoffs for the two approaches?
Feel free to directly raise a PR if you already have something working (or close to it), and we can continue the conversation there as well.

We can re-open


Add T2 compiler and benchmarks

By submitting this pull request, I promise I have read the contribution guidelines twice and ensured my submission follows it. I realize not doing so wastes the maintainers' time that they could have spent making the world better. 🖖
⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆

Thanks and congrats for you first contribution 🎉


Feature/filter course admin

Checklist

[X] I tested the changes and all related features on the test server https://artemistest.ase.in.tum.de.
[X] I documented my source code using the JavaDoc / JSDoc style.
[X] I added screenshots/screencast of my UI changes
[X] I translated all the newly inserted strings

Motivation and Context

As described in ARTEMIS-405, there is currently no way to filter out old courses on the course administration site. This change should allow the admins to do so.
Description

I added a toggle button in the upper right corner of the course list, which filters out any outdated courses from the overview list if the user doesn't want to see them. The filter is active as per default.
Steps for Testing

Log in to ArTEMiS
Navigate to Course Administration
Click on the button "Include expired courses" to show all courses
The button changes its state and now reads "Hide expired courses"; click on it to filter out all old courses

Screenshots

@maxr96 regarding 2.):

@maxr96 regarding 2.):
Actually, the table entries do change in your example. There is a course on the test server, that ends on May 14th. If you try it locally only with active courses, the table shouldn't resize.


Elisp updates

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Is this a thing now?

It is added in https://github.com/NixOS/nixpkgs/pull/235947

OK, I will update update-from-overlay too.


how to produce mobilenet.a

In android example, the CmakeLists need a mobilnet.a as following:
/mace/examples/android/macelibrary/CMakeLists.txt:18:set(mobilenet_file ${CMAKE_SOURCE_DIR}/src/main/cpp/model/mobilenet.a)
But I convert the model only output two file as following:
mobilenet_v2.data  mobilenet_v2.pb
How can I convert data and pb to *.a?

You can modify model_graph_format and model_data_format to code. Here is the what android demo use: https://github.com/XiaoMi/mace/blob/master/mace/examples/android/mobilenet.yml

I can not understand how to convert mobilenet_v2.data and mobilenet_v2.pb to mobilenet_v2.a yet.

You don't convert convert mobilenet_v2.data and mobilenet_v2.pb to mobilenet_v2.a.
Just like you use tools/converter.py to convert mobilenet_v2.yml to mobilenet_v2.data and mobilenet_v2.pb, you can also use tools/converter.py to convert mobilenet_v2.yml to mobilenet_v2.a.


Fix typo in features page

I think this might be the pronoun we want.  It seems that "it" probably originally referred to can-ssr.

You have write access to the repo right?


split a long method into multiple ones

No logic change, simply splits the update_alerts into multiple sub methods for code reuse purpose.
@igor47 @wyao

looks pretty good to me! this will make the code more testable, too.


Fix hover issue in product list

Note: DefectDojo is now on Python3 and Django 2.2.1 Please submit your pull requests to the 'dev' branch as the 'legacy-python2.7' branch is only for bug fixes. Any new features submitted to the legacy branch will be ignored and closed.
Fix motivated by #1616
Thanks to @MarianG for finding the solution in an identical situation.
Fix motivated by #1717
Additionally, fix the discrepancy between descriptions and mitigation/impact text boxes when viewing a finding. the same text would appear differently between fields.

[x] Your code is flake8 compliant
[x] Your code is python 3.5 compliant
[ ] If this is a new feature and not a bug fix, you've included the proper documentation in the ReadTheDocs documentation folder. https://github.com/DefectDojo/Documentation/tree/master/docs or provide feature documentation in the PR.
[ ] Model changes must include the necessary migrations in the dojo/dd_migrations folder.
[ ] Add applicable tests to the unit tests.

Hello @Maffooch

https://github.com/DefectDojo/django-DefectDojo/issues/1717 fix is OK
https://github.com/DefectDojo/django-DefectDojo/issues/1616 is not working very well: when the mouse rollover, it's adding a scrollbar and the information is hidden behind the below rows. same kind of issue as https://github.com/DefectDojo/django-DefectDojo/issues/1643

if this is a side effect of e49bbb5 too, maybe we should try and find out why it has so many side-effects. there may be a naming conflict in the css or something like that. maybe try to change the templating structure so that the surveys templates don't impact anything else that the survey screens?

I see the issue now. These issues came from #1586 since there was so much new css and js. The hover position is just getting clobbered by everything else.

well done @Maffooch it works now :)


Issue running the base example on Windows

Polaris version
0.9.1
Python Version
3.11
Operating System
Windows
Installation
Using pip into a conda env
Description
Running the first example in the docs, after successfully logging in, gives an error on a Windows 11 machine.
Steps to reproduce
import polaris as po

dataset = po.load_dataset("polaris/hello-world")

File [~\.conda\envs\molgp\Lib\site-packages\polaris\hub\storage.py:74](http://localhost:8888/lab/tree/notebooks/~/.conda/envs/polaris-test/Lib/site-packages/polaris/hub/storage.py#line=73), in S3Store.__init__(self, path, access_key, secret_key, token, endpoint_url, part_size, content_type)
      63 def __init__(
      64     self,
      65     path: str,
    (...)
      71     content_type: str = "application/octet-stream",
      72 ) -> None:
 ---> 74     bucket_name, prefix = path.split("/", 1)
      77     self.s3_client = boto3.client(
      78         "s3",
      79         aws_access_key_id=access_key,
    (...)
      82         endpoint_url=endpoint_url,
      83     )
      84     self.bucket_name = bucket_name

 ValueError: not enough values to unpack (expected 2, got 1)

Adding a print statement to the path variable, gives path=polaris\dataset\polaris\hello-world. Windows/Unix path differences strike again :( .
Quick fix suggestion for enabling Windows users: use proper handling of paths (built-in path library, one of the dozens local&cloud path handlers).
Looking forward to trying the library again once this is solved!
Additional output
No response

Thanks for reporting this, @EmilNichita ! We'll look into it.
We should also look into running the test suite on Windows through the Github CICD. Most maintainers of Polaris work on Unix, so Windows is a bit of a blind spot. We also don't have integration tests setup yet for the client-hub communication, but now that #221 is merged this is something we should do as well.

Hey @EmilNichita, it should be fixed with #228 . We also added Windows to our CICD and added an integration test with the Hub, so we'll spot this sooner next time. Thanks again for raising this! I'll release a new Polaris version soon!

Just released 0.9.3 with the fix. Let me know if you run into any other issues. Thanks again! 👍

Can confirm the 0.9.3 version works as expected, thanks again for solving this so quickly!


Hide useLayoutEffect warning when using SSR

When using SSR and invoked useLayoutEffect inside the component, a warning
is prompted.

Warning: useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.

I followed the hack proposed by @alexandereardon to resolve the issue.

Hey @adi-li ! Thanks a ton for this PR!
Do you mind if you change (I can also do it) the title of your PR to fix: hide useLayoutEffect warning when using SSR? In that way an auto release will be done containing this modification :)

Sure, let me change it.


4.x HttpSpecializedException Constructor Fix

We didn't catch this during the code review for the 4.x-ErrorMiddleware PR #2398.
The local variable setting logic for the $message variable was omitted in the HttpSpecializedException constructor logic.
public function __construct(ServerRequestInterface $request, $message = null, $previous = null)
{
    parent::__construct($request, $message, $this->code, $previous);
}

When you extend HttpSpecializedException and set the $message variable locally it gets nulled because of the missing parent constructor logic.
class HttpMethodNotAllowedException extends HttpSpecializedException
{
    $message = 'My locally set message.';
}

Coverage decreased (-0.1%) to 96.118% when pulling 22e1519ad1f2fe2f31db5968628b346b13f8f725 on l0gicgate:4.x-HttpSpecializedExceptionFix into 73cf4c390be0b1f68d0c17d99066595f90b16bb0 on slimphp:4.x.


Angular2 RC6 errors

Just managed to run with Meteor 1.4.1 and RC5, now RC6 is out and it's broken again  :-)
With this npm package versions:
{
  "name": "sbs",
  "private": true,
  "scripts": {
    "start": "meteor run"
  },
  "dependencies": {
    "@angular/common": "^2.0.0-rc.6",
    "@angular/compiler": "^2.0.0-rc.6",
    "@angular/core": "^2.0.0-rc.6",
    "@angular/forms": "^0.3.0",
    "@angular/platform-browser": "^2.0.0-rc.6",
    "@angular/platform-browser-dynamic": "^2.0.0-rc.6",
    "@angular/router": "^3.0.0-rc.1",
    "angular2-meteor": "^0.7.0-beta.1",
    "angular2-meteor-polyfills": "^0.1.1",
    "bootstrap-sass": "^3.3.7",
    "bootswatch": "^3.3.7",
    "meteor-node-stubs": "^0.2.3",
    "ng2-bootstrap": "^1.0.24",
    "reflect-metadata": "^0.1.8",
    "rxjs": "^5.0.0-beta.11",
    "zone.js": "^0.6.17"
  },
  "devDependencies": {
    "tslint": "^3.14.0",
    "typescript": "^2.0.2"
  }
}

I get the following errors:
=> Started proxy.
=> Started MongoDB.
W20160901-19:11:44.711(2)? (STDERR) C:\_Workspaces\Webstorm\sbs\.meteor\local\build\programs\server\packages\modules.js:27659
W20160901-19:11:44.797(2)? (STDERR) export function scheduleMicroTask(fn) {
W20160901-19:11:44.798(2)? (STDERR) ^^^^^^
W20160901-19:11:44.799(2)? (STDERR)
W20160901-19:11:44.800(2)? (STDERR) SyntaxError: Unexpected reserved word
W20160901-19:11:44.800(2)? (STDERR)     at Object.exports.runInThisContext (vm.js:53:16)
W20160901-19:11:44.801(2)? (STDERR)     at C:\_Workspaces\Webstorm\sbs\.meteor\local\build\programs\server\boot.js:287:30
W20160901-19:11:44.802(2)? (STDERR)     at Array.forEach (native)
W20160901-19:11:44.803(2)? (STDERR)     at Function._.each._.forEach (C:\Users\Stefan\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160901-19:11:44.803(2)? (STDERR)     at C:\_Workspaces\Webstorm\sbs\.meteor\local\build\programs\server\boot.js:128:5
=> Exited with code: 1
W20160901-19:12:05.724(2)? (STDERR) C:\_Workspaces\Webstorm\sbs\.meteor\local\build\programs\server\packages\modules.js:27659
W20160901-19:12:05.725(2)? (STDERR) export function scheduleMicroTask(fn) {
W20160901-19:12:05.725(2)? (STDERR) ^^^^^^
W20160901-19:12:05.726(2)? (STDERR)
W20160901-19:12:05.727(2)? (STDERR) SyntaxError: Unexpected reserved word
W20160901-19:12:05.727(2)? (STDERR)     at Object.exports.runInThisContext (vm.js:53:16)
W20160901-19:12:05.728(2)? (STDERR)     at C:\_Workspaces\Webstorm\sbs\.meteor\local\build\programs\server\boot.js:287:30
W20160901-19:12:05.729(2)? (STDERR)     at Array.forEach (native)
W20160901-19:12:05.729(2)? (STDERR)     at Function._.each._.forEach (C:\Users\Stefan\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160901-19:12:05.730(2)? (STDERR)     at C:\_Workspaces\Webstorm\sbs\.meteor\local\build\programs\server\boot.js:128:5
=> Exited with code: 1
W20160901-19:12:21.412(2)? (STDERR) C:\_Workspaces\Webstorm\sbs\.meteor\local\build\programs\server\packages\modules.js:27659
W20160901-19:12:21.413(2)? (STDERR) export function scheduleMicroTask(fn) {
W20160901-19:12:21.413(2)? (STDERR) ^^^^^^
W20160901-19:12:21.414(2)? (STDERR)
W20160901-19:12:21.415(2)? (STDERR) SyntaxError: Unexpected reserved word
W20160901-19:12:21.415(2)? (STDERR)     at Object.exports.runInThisContext (vm.js:53:16)
W20160901-19:12:21.416(2)? (STDERR)     at C:\_Workspaces\Webstorm\sbs\.meteor\local\build\programs\server\boot.js:287:30
W20160901-19:12:21.417(2)? (STDERR)     at Array.forEach (native)
W20160901-19:12:21.417(2)? (STDERR)     at Function._.each._.forEach (C:\Users\Stefan\AppData\Local\.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)
W20160901-19:12:21.418(2)? (STDERR)     at C:\_Workspaces\Webstorm\sbs\.meteor\local\build\programs\server\boot.js:128:5
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.

THANKS for any help!

I am using meteor 1.4.1 with RC5 right now too, updating to RC6 works for me, like at least the meteor server starts up. I am getting some errors later on in the browser console about meteorInstall etc. though.
This is my package.json, although I don't think the problem is there as rather - if at all in the packages - in the meteor packages...
  "dependencies": {
    "@angular/common": "2.0.0-rc.6",
    "@angular/compiler": "2.0.0-rc.6",
    "@angular/core": "2.0.0-rc.6",
>>"@angular/forms": "2.0.0-rc.6",
    "@angular/http": "2.0.0-rc.6",
    "@angular/platform-browser": "2.0.0-rc.6",
    "@angular/platform-browser-dynamic": "2.0.0-rc.6",
>>"@angular/router": "^3.0.0-rc.2",**
    "@angular/upgrade": "2.0.0-rc.6",
    "angular2-meteor": "^0.7.0-beta.1",
    "angular2-meteor-polyfills": "^0.1.1",
    "bcrypt": "^0.8.7",
    "bcryptjs": "^2.3.0",
    "client": "0.0.1",
    "es6-shim": "^0.35.1",
    "meteor-node-stubs": "~0.2.0",
    "ng2-meta": "^1.0.0",
    "reflect-metadata": "0.1.8",
    "rxjs": "5.0.0-beta.11",
    "tether": "^1.3.3",
    "zone.js": "^0.6.12"
  }```
Just chill a few days and let the angular2-meteor guys do their magic, RC6 has only been released yesterday after all :)

You're right, the error messge sounds more like a meteor issue. Can you please post your atmosphere versions for comparison? Thx!

sure thing, here you go:
accounts-password              1.3.0  Password support for accounts
angular2-compilers             0.6.0* Angular 2 Templates, HTML and TypeScript compilers for Meteor
anti:fake                      0.4.1  Random text and data generator
barbatus:angular2-polyfills    0.5.0  Polyfills for Angular2
barbatus:angular2-runtime      0.5.0  Polyfills for Angular2
ecmascript                     0.5.8  Compiler plugin that supports ES2015+ in all .js files
es5-shim                       4.6.14  Shims and polyfills to improve ECMAScript 5 support
fortawesome:fontawesome        4.5.0  Font Awesome (official): 500+ scalable vector icons, customizable via CSS,...
jquery                         1.11.9  Manipulate the DOM using CSS selectors
meteor-base                    1.0.4  Packages that every Meteor app needs
mobile-experience              1.0.4  Packages for a great mobile user experience
mongo                          1.1.12  Adaptor for using MongoDB and Minimongo over DDP
orgztion:meteor-global-tether  1.0.0  HupSpot Tether exposed on global Meteor 1.3
reactive-var                   1.0.10  Reactive variable
seba:minifiers-autoprefixer    1.0.1  Standard minifiers used with Meteor apps by default + css autoprefixer.
shell-server                   0.2.1  Server-side component of the `meteor shell` command.
standard-minifier-js           1.2.0  Standard javascript minifiers used with Meteor apps by default.
tmeasday:publish-counts        0.7.3  Publish the count of a cursor, in real time
tracker                        1.1.0  Dependency tracker to allow reactive callbacks
twbs:bootstrap                 4.0.0-alpha2  The most popular front-end framework for developing responsive, mob...

I got the export error as well, and it made me think about it a little deeper.
The recent changes in Angular, which really moved it from a framework to a platform and with meteor being a platform as well, the inevitable time of clash has arrived.
The newly introduced functionality of angular, such as router based lazy loading and AoT compilation, and the fact that meteor has a different way of doing things on the client side, I do not see how you can use both framework without compromising one or the other. I can see why majority of people are using react, as those issues do not exist there (being just a view rendering layer).
Time to rethink Angular and Meteor?

I already feared something like this after all the smart guys started focusing on apollo. :) To be honest thats exactly what I need, only a proper datalayer for an angular app. Too bad it's not yet reactive ...

So right now AoT compilation and lazy loading may not be usable yet. But if that is due to Meteor, then how is React better regarding that? You can use Angular without lazy loading and AoT compilation for now and maybe some day it will be compatible with Meteor.
The issues simply don't exist with React because React doesn't offer such features AFAIK. But you can perfectly fine use Angular just as a view rendering layer too, the other features are optional...

@bergben I did not mean to say react is better, just easier to integrate because it is not not a platform, but then again I might be wrong here.

@Tallyb I get your point. I think you are right about that, React is also supposed to be learnt way faster than Angular. React sure has its advantages as a light-weight easy to learn rendering tool.

Hm, now I'm really stuck. Even if I go back to Meteor 1.4.0 and the same packages as bergben, I get the export error.

are you on RC5 @stefanholzapfel  ?

Tried to go back from RC6 to RC5, but it doesn't work, still get the same error message..

That is weird.

Make sure you got all like this:
"@angular/common": "2.0.0-rc.5",
and not
"@angular/common": "**^**2.0.0-rc.5", (note the ^)
Try to run npm prune / delete the node_modules/@angular directory

Jep, I already deleted the node_modules directory and reinstalled via "meteor npm install".
So obviously the problem is not RC6 but some other dependency/version :)

Well... I am running RC5 with those packages:
  "dependencies": {
    "@angular/common": "2.0.0-rc.5",
    "@angular/compiler": "2.0.0-rc.5",
    "@angular/core": "2.0.0-rc.5",
    "@angular/forms": "2.0.0-rc.6",
    "@angular/http": "2.0.0-rc.5",
    "@angular/platform-browser": "2.0.0-rc.5",
    "@angular/platform-browser-dynamic": "2.0.0-rc.5",
    "@angular/router": "^3.0.0-rc.2",
    "@angular/upgrade": "2.0.0-rc.5",
    "angular2-meteor": "^0.7.0-beta.1",
    "angular2-meteor-polyfills": "^0.1.1",
    "bcrypt": "^0.8.7",
    "client": "0.0.1",
    "meteor-node-stubs": "~0.2.0",
    "ng2-meta": "^1.0.0",
    "reflect-metadata": "^0.1.8",
    "rxjs": "5.0.0-beta.11",
    "tether": "^1.3.6",
    "zone.js": "^0.6.17"
  }

I am out of ideas what it could be, maybe one of the guys that is more into Meteor can help, sorry :(

It indeed is weird..
I have now copied over the package.json and versions/packages/release files from an empty project which is working properly (with RC6), cleaned the .meteor/local and node_modules directory and I still get this error.
So obviously it's a problem with my own code. Interesting that tallyb got the same error....
Thanks for your support so far @bergben

Ok I have now nailed the problem down to this line of code:
let itemCollection = new MongoObservable.Collection('item');
So the instantiation of a new MongoObservable causes the error.

I'm Stuck too.
As @bergben my server is starting, but the app is crashing at browser. With tons of meteor related "Uncaught TypeError: Cannot read property".
It like look likes meteor modules didn't get imported.

I was getting the same error,
export function scheduleMicroTask(fn) {
^^^^^^
SyntaxError: Unexpected reserved word
When I remove MongoObservable the error goes away. That is as far as I got.

Some updates:
RC6 NPM files are ES6 modules now (see first point [here] (https://github.com/angular/angular/blob/master/CHANGELOG.md#breaking-changes)); RC6 package.jsons rely now on UDM files.
We are upgrading to RC6 currently and are stuck at this issue https://github.com/angular/angular/issues/11309. So we decided (because of that and not) to move observables into a separate package, which we'll then recommend to use by default with Meteor.
Current package will persist though and will be updated as soon as the issue fixed.
After, Angular2 compiler (ngc) will likely be integrated into angular2-compilers package as soon as possible.

Finally Angular 2 has been released here and here
With this in mind do we have any idea about a timeline for updating angular2-meteor? I imagine we would start a new issue since the above comments are probably no longer relevant?
I know it is a bit soon but I only ask so that know if I should continue on the current files (RC4) or whether I should wait a few days for an update to be compatible with the release version.
Thanks for all the great work!

There is only one issue that prevents upgrading: https://github.com/angular/angular/issues/11309.
It didn't get to the release for some reason.

@barbatus: ah too bad! Is there a fork or a hack to make this work right now?

@Kamshak I am looking into one.

Does anyone know some existing workaround for this problem?
export function scheduleMicroTask(fn) {
^^^

I am having this problem as well.  No idea why

You can fix this by updating your zone.js

I'm trying to use the latest zone version but still have this error :(

This works for me (well it compiles & runs):
package.json
{
  "name": "angular2-meteor-base",
  "private": true,
  "scripts": {
    "start": "meteor run",
    "test": "meteor test --driver-package practicalmeteor:mocha",
    "test:ci": "meteor test --once --driver-package dispatch:mocha-phantomjs"
  },
  "devDependencies": {
    "chai": "3.5.0",
    "chai-spies": "0.7.1",
    "typescript": "^2.0.2"
  },
  "dependencies": {
    "@angular/common": "2.0.0",
    "@angular/compiler": "2.0.0",
    "@angular/core": "2.0.0",
    "@angular/forms": "0.2.0",
    "@angular/platform-browser": "2.0.0",
    "@angular/platform-browser-dynamic": "2.0.0",
    "angular2-meteor"<EMAIL_ADDRESS>    "angular2-meteor-polyfills": "0.1.1",
    "angular2-meteor-tests-polyfills": "0.0.2",
    "bootstrap": "^4.0.0-alpha.4",
    "es6-shim": "0.35.1",
    "express-cors": "0.0.3",
    "meteor-node-stubs": "0.2.3",
    "meteor-rxjs": "git+https://github.com/Urigo/meteor-rxjs.git",
    "reflect-metadata": "0.1.3",
    "rxjs": "^5.0.0-beta.12",
    "ui-router-ng2": "^1.0.0-beta.2",
    "zone.js": "^0.6.23"
  }
}

.meteor/packages
# Meteor packages used by this project, one per line.
# Check this file (and the other files in this directory) into your repository.
#
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.

<EMAIL_ADDRESS>           # Packages every Meteor app needs to have
<EMAIL_ADDRESS>     # Packages for a great mobile UX
<EMAIL_ADDRESS>                 # The database Meteor supports right now
<EMAIL_ADDRESS>                # Helpful client-side library

<EMAIL_ADDRESS>              # ECMAScript 5 compatibility for older browsers.

angular2-compilers
<EMAIL_ADDRESS>  # JS minifier run for production mode
barbatus:angular2-polyfills

practicalmeteor:mocha
xolvio:cleaner
hwillson:stub-collections
dispatch:mocha-phantomjs
shell-server
check

please try 0.7.0-beta.2, it should work with Angular2

@barbatus "There is only one issue that prevents upgrading: angular/angular#11309."
Was this about upgrading to 2.0.0 or aot? Will AoT be supported in near future by angular-meteor?

@laser-me this issue was related to the Component API and also has been avoided so there is no blockage on updating.
The current recommended way is to use the RxJS API - https://www.angular-meteor.com/meteor-rxjs


feat(mux-uploader): Add support for directly setting file reference.

Completely untested and would want to move some bits and bobs around, but this should work for direct file ref support.
Also need to add prop to react component, but that should be an easy lift I can hit later this evening.

closing as it's stale and has conflicts


Fixed links in repository.md

[x] Have you signed the Contributor License Agreement?
[ ] Are you working against an Issue?

Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-cli/pull/1313#issuecomment-882852550


Some little Gradle clean-up

Pre-dex is really outdated and is no longer recommended to disable. The flag was not even used.
gradlePluginPortal() function is used. It adds the same maven url.

@tasomaniac re. the preDexLibraries option being outdated and not being recommended to disable, is that the case for CI (clean) builds as well?
I'm still seeing this comment in AGP 4.1.0-alpha05:
/**
 * Whether to pre-dex libraries. This can improve incremental builds, but clean builds may
 * be slower.
 */

Or was it based on the assumption that most CI builds should be incremental?

That comment is also outdated. I heard this from Xavier Duchoret

pre-dex shouldn't be a slow down on CI anymore since we fixed the dx merging.

TIL!


Support --unretire on retire provider

add support for --unretire
add doc
add retire/unretire helpers on rebar3_hex_client

Ready but depends on #274


[bug]: wifi does not work on the raspberry pi compute module 4 (CM4)

Prerequisites

[X] I have searched for existing issues that already report this problem.

StartOS Version
<IP_ADDRESS>
Device
Laptop/Desktop
Device OS
Linux
Device OS Version
N/A
Browser
Firefox
Browser Version
N/A
Current Behavior
Wifi does not work on the raspberry pi compute module 4. Going through the web based setup, I get an error message:
RPC ERROR: WiFi Internal Error wlan0: ERROR while getting interface flags: No such device
Expected Behavior

Wifi works and it allows me to set everything up.
Wifi doesn't work and it still allows me to set everything up via ethernet.

Steps to Reproduce

Image a CM4 with start9
boot
try to setup start9
error comes up after setting your password.

Anything else?
Solution:
sudo /usr/lib/embassy/scripts/chroot-and-upgrade
cd /usr/lib/firmware/brcm/
ln -s brcmfmac43455-sdio.raspberrypi,4-model-b.txt brcmfmac43455-sdio.txt
exit

I'm not sure if this is the best way to fix the problem, but it works for me.
Alternatively, I can also run
sudo /usr/lib/embassy/scripts/chroot-and-upgrade
apt update
apt install firmware-brcm80211
exit

and that also works.
Also, this issues suggests that all raspi are not created equal: https://github.com/geerlingguy/pi-router/issues/4 . There may be more things that should be done to make reliable wifi on all raspi.

firmware-brcm80211 is already included in our raspberry pi image. Are you using the latest raspi image?

I just tried again with the new release that you published a few hours ago. It works! If only I would have waited a few days to have tried this........


Reference Implementation : Adding with sharing for apex DeliverySmaple and TaxSample classes

What does this PR do?
Updating the reference implementation to have 'withsharing' keyword
What issues does this PR fix or reference?
@ W-12214313@
@https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00001HP6zfYAD/view@
Functionality Before
Checkout did not had strict record level access checks
Functionality After
This would enforce record level access checks for checkout integrations.
How to Test/Testing Effort
run the checkout

@unandyala


Installation problem Catalina 10.15 Developer Preview 6

This happens to me as well. Not sure what I can really do.

I went back and forth with this too, but ultimately settled on the fix someone else suggested, installed clover to a efi partition on another drive. after I did that, macOS stopped reporting the error when installing. eventually ill use it from the efi on my main drive.

This'll need to wait for a fix from the Clover developers. Catalina split the EFI partition into two (one read-only, one read-write), which complicates things for Clover, but should be a relatively easy fix for them.

I went back and forth with this too, but ultimately settled on the fix someone else suggested, installed clover to a efi partition on another drive. after I did that, macOS stopped reporting the error when installing. eventually ill use it from the efi on my main drive.

could you elaborate? I'm getting the same error and don't quite get what the work-around is.

have a nice day,
I have the 10.15 update today, can I install?


Fix class types to PascalCase in flutter-freezed

🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of
the pull request.
Description
Classes are created PascalCase, but they are called snake-cased, I fixed that by calling the classes PascalCase as well.
Related # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as
expected)
[ ] This change requires a documentation update

Screenshots/Sandbox (if appropriate/relevant):
Adding links to sandbox or providing screenshots can help us understand more about this PR and take
action on it as appropriate
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can
reproduce. Please also list any relevant details for your test configuration

[x] Unit test cases
[x] Test the final result

Test Environment:

OS: MacOS
@graphql-codegen/flutter-freezed:
NodeJS:

Checklist:

[x] I have followed the
CONTRIBUTING doc and the
style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose
the solution you did and what alternatives you considered, etc...

@oriollpz  Thank you for your contribution to this plugin.
Cheers :beers:


Get push notifications working

I believe this has something to do with firebase

we already have an issue for the #59


SW-2933 Use French number formatting for gibberish

Replace the custom separator characters in gibberish number formatting with the
French ones. This eases implementation on the client side, where it's harder to
define custom locales with custom formatting rules.

Current dependencies on/for this PR:

main

PR #958   👈

This comment was auto-generated by Graphite.


[input1.txt] file could not be opened

hi,
i ma trying to learn from your code and when I run it ,
I always get this error "[input1.txt] file could not be opened"
can you guide me how to run it?

are you sure file "input1.txt" is located in the same folder? otherwise you have to put [path]/input/input1.txt

I had the same problem,always get this error "[input1.txt] file could not be opened"
can you teach me how to solve it?


[YBUG.IO] I wrote a small description on...

I wrote a small description on the screenshot should have done it yesterday when I entered at around 38410 and it says start price 39,213?  Just wondering why?
#1. I wish I had screenshot this yesterday.  I entered this trade around 38, 400 and it says the start price was 39213?  Does a trade automatically refresh or do we have to keep refreshing to see our p/l?\
Source url: https://live.sovryn.app/
Reported by<EMAIL_ADDRESS>Reported at: 08 Feb at 20:15 UTC
Location: US, New Hampshire, Dover
Browser: Chrome 88.0.4324.146
OS: Windows 10.0
Screen: 1366x768
Viewport: 1366x657
Screenshot:

For more details please visit report page on Ybug:
https://ybug.io/dashboard/reports/detail/6s0zf7ta53dz39bajr8y

Duplicate of #374


Problem using PHP8.0

Connecting with Siemens LOGO OBA8 and PHP7.4,  read and write examples works (/phosphor7/examples/ ).
Using PHP8.0 DBRead function return wrong values.
Any feedback with PHP8?

I think we have a classic big/little endian issue here...
Can you post the var_dump($buffer), the output you get and the expected value?
Thanks

Using "read_db.php" code as follows:
ConnectTo("<IP_ADDRESS>", 1, 0);

$buffer = "";

$c->DBRead(1, 132, 4, $buffer);

var_dump(bin2hex($buffer));

$c->Disconnect();
?>
*using PHP7.4, the var_dump($buffer) output is:
/Test.php:12: string(8) "00000005"
*using PHP8, the var_dump($buffer) output is:
/Test.php:12: string(0) ""
The expected value is 5, according with PHP7.4. I'm using LOGO OBA8 last version. With PHP7.4 I can use examples "read_db" and "write_db" correctly.

Thanks, I was wrong, the problem lies deeper. From PHP7 to 8 PHP changed a lot of recources to Objects:
https://www.php.net/manual/en/migration80.incompatible.php#migration80.incompatible.resource2object
we need to change is_resource($this->FSocket) to is_resource($this->FSocket) || $this->FSocket instanceof Socket
I am already working on this. @FabrizioC or @chaosben expect a pull request in the coming days. I don't have access to a LOGO! 8 but i have S7-300 and a 1200 available to test stuff. if this works a LOGO should work a well. I think @JosepFarreLlados can confirm this if it works


Regarding general direction of use

Hello,
I read the documentation. I am planning to use this package into my existing project to reduce a lot of boilerplate - mainly around validation.

Are there some obvious limitations I should be aware of ? (Which are not in documentation)
What is the future direction of the project?

Hello @TwistingTwist, sorry for the late response.
There are no limitations I am currently aware of. I am not sure about the future direction of the project because now it seems to be complete. After some time and possible bugs found, I’ll make it v1.0. If something new will come into my mind, it would probably leak into the project, but for now I think it does not require any further features.

That gives me a lot of confidence to start using it.
Thank you so much for reply!


Custom note skin week 6 crash

Describe your bug here.
When I use my custom note skin and try to play week 6 the game crashes. I think it happens because there is no pixel skin for my custom note skin
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
N/A

try to copy base game's noteskins and rename then

I found a fix. If you make a pixelUI folder in mods/images and add a noteskin folder to it then copy the base pixel note and rename it to your custom note skin


Current Measure Script via Docker Container is not creating "model.json"

looked in the wrong folder - model.json IS created! Sorry for opening a issue for that.


Issue with k8s.io/docs/reference/command-line-tools-reference/kube-apiserver/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
Stray HEAD tags breaking table formatting
Proposed Solution:
Removal of HEAD tags and old changes
Page to Update:
https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/

#11543 duplicate


Update Karabiner.app to 10.13.0

Thank you for the contribution. It was merged directly as 45d2e3170b33dd825ff2e2336381a3cdfd4fa3c9 to keep commit history cleaner. Your contribution is still credited to you.


Optional trailing slash in path regexp (like /?) is broken after upgrading from 0.55.1 to 0.60.1

After upgrading from 0.55.1 to 0.60.1 all of my endpoints containing an optional trailing slash in the path regex (like "/?") now result in 404 Not Found.
Example to reproduce in 0.60.1:
from fastapi import FastAPI

app = FastAPI()

@app.get("/items/{item_id}/?")
async def read_item(item_id):
    return {"item_id": item_id}

Description
In 0.55.1 the above code works fine, allowing the optional trailing slash as expected. In 0.60.1 this behavior is now resulting in 404 Not Found with or without the trailing slash.
Reproduce By:

Open the browser and call the endpoint /items/1/ or /items/1.
It returns 404 Not Found but expected is {"item_id": 1}

Environment

OS: Reproduced on Windows 10 and Ubuntu
FastAPI Version: 0.60.1  (upgraded from 0.55.1)
Python version: 3.6

Same problem here after upgrading to 0.60.1. I was able to restore functionality by just adding to separate routes, one with slash and one without.

This is not fastapi but starlette issue.
https://github.com/encode/starlette/issues/1008

duplicated with https://github.com/tiangolo/fastapi/issues/1648

Hey there, could you check with a recent version of FastAPI and see if your use case is working?

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


EMP formats require Phred designation

Bug Description
Currently it looks like they assume Phred33 and does not check otherwise.
Screenshots
Importing Phred64 works, but makes a mess:

References
forum xref

hey yeah we could close as phred64 is rare these days, though it still crops up (e.g., with re-use of old datasets)


Spiff login page errors in Chrome/Edge, but works fine for Firefox

What is your Scenario?
Run tests that start at https://app.spiff.com/login.
What is the Current behavior?
The site show an error message in Chrome and Edge.
It works fine in Firefox.
What is the Expected behavior?
The site to load properly in all browsers (as it does when navigating to the site manually).
What is your public website URL? (or attach your complete example)
https://app.spiff.com/login
What is your TestCafe test code?
import { Selector } from 'testcafe';

fixture `Spiff`
    .page `https://app.spiff.com/login`;

test('Visit the site', async t => {
    await t
        // Expect there to not be an error
        .expect(Selector('h1').withText('Sorry, something went wrong.').exists).notOk();
});

Your complete configuration file
N/A
Your complete test report
testcafe chrome spiff.test.js --skip-js-errors
 Running tests in:
 - Chrome <IP_ADDRESS> / Windows 10

 Spiff
 × Visit the site

   1) AssertionError: expected true to be falsy

      Browser: Chrome <IP_ADDRESS> / Windows 10

          4 |    .page `https://app.spiff.com/login`;
          5 |
          6 |test('Visit the site', async t => {
          7 |    await t
          8 |        // Expect there to not be an error
       >  9 |        .expect(Selector('h1').withText('Sorry, something went wrong.').exists).notOk();
         10 |});
         11 |

Screenshots

Steps to Reproduce

Save the above test code as spiff.test.js.
Run testcafe firefox spiff.test.js --skip-js-errors. The test should pass.
Run testcafe chrome spiff.test.js --skip-js-errors. The test should fail.

TestCafe version
Tested 1.17.0 and 2.0.1
Node.js version
v16.18.0
Command-line arguments
testcafe chrome spiff.test.js --skip-js-errors
Browser name(s) and version(s)
Chrome <IP_ADDRESS>, Firefox 107.0
Platform(s) and version(s)
Windows 10
Other
No response

Thank you for sharing the example. I managed to reproduce the issue.
To the team:
The issue is reproducible in the hammerhead http-playground. Also, I got the following js error:

The issue is not reproduced with<EMAIL_ADDRESS>


DeprecationWarning: ssl.PROTOCOL_TLSv1_2

linkfinder returns this output
/LinkFinder/linkfinder.py:133: DeprecationWarning: ssl.PROTOCOL_TLSv1_2 is deprecated
sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
cat: standard output: Bad file descriptor

Yeah, ssl.PROTOCOL_TLSv1_2 is deprecated.
Referring to https://docs.python.org/3/library/ssl.html#client-side-operation, update those line with:
sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
sslcontext.load_verify_locations("/etc/ssl/certs/ca-bundle.crt")
I didn't have that cert. But cert from ncat work fine. I'm using /usr/share/ncat/ca-bundle.crt

above thing didn't work for me

python -W ignore foo.py

for MacOS this worked for me
sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
sslcontext.load_verify_locations("/usr/local/Cellar/nmap/7.92/share/ncat/ca-bundle.crt")

python -W ignore foo.py

This works for me!

guys i am a little beginner here could someone please help me a bit more clear on how to clear this issue
LinkFinder/linkfinder.py:133: DeprecationWarning: ssl.PROTOCOL_TLSv1_2 is deprecated
sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)

python -W ignore linkfinder.py

Can't fix with this or please reproduce the step . Any solution ?

This issue was fixed by the pull request update for latest #133 . Change the old depreciated function as per this Files changed:- try: sslcontext = ssl.create_default_context() response = urlopen(q, timeout=args.timeout, context=sslcontext) except: sslcontext = ssl.create_default_context() response = urlopen(q, timeout=args.timeout, context=sslcontext)
This issue can close now.

It worked perfectly here. Thanks!

I change urlopen to requests lib then it works well

Fixed by 1debac5dace4724fd6187c06f133578dae51c86f


Fix some lingering flink tests

In https://github.com/apache/beam/pull/24228 we applied a general fix for some classes of flink failures - this cleans up some previous attempts to work around the issues

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

 I'm going to close and just go with a sickbay approach for now.

More Examples_Python_Flink tests failing with Insufficient number of network buffers after I fixed a test in #24159 where two more pipelines ran. Looks like this test suite can run a finite number of pipeline. If one adds more tests, then this error occurs. Note that these tests are all run on flink minicluster (a built-in flink implementation when flink-master not set). Not sure if this is a limitation of minicluster. If so we could run it on Dataproc as we're doing for load tests.

More Examples_Python_Flink tests failing with Insufficient number of network buffers after I fixed a test in #24159 where two more pipelines ran. Looks like this test suite can run a finite number of pipeline. If one adds more tests, then this error occurs on some other irrelevant test. Note that these tests are all run on flink minicluster (a built-in flink implementation when flink-master not set). Not sure if this is a limitation of minicluster. If so we could run it on Dataproc as we're doing for load tests.

I think that would probably work, I won't have bandwidth to take it forward though. In the meantime, I added #24342 to at least sickbay some test and get us green

More Examples_Python_Flink tests failing with Insufficient number of network buffers after I fixed a test in #24159 where two more pipelines ran. Looks like this test suite can run a finite number of pipeline. If one adds more tests, then this error occurs on some other irrelevant test. Note that these tests are all run on flink minicluster (a built-in flink implementation when flink-master not set). Not sure if this is a limitation of minicluster. If so we could run it on Dataproc as we're doing for load tests.

I think that would probably work, I won't have bandwidth to take it forward though. In the meantime, I added #24342 to at least sickbay some test and get us green


Finish Viber bot service

What does this PR do?
This PR adds the rest of the missing methods from the Viber bot API
The PR fulfills these requirements:

[x] Tests for the proposed changes have been added/updated.
[ ] The documentation has been updated according to the introduced/changed components.
[x] ApexDoc comments have been attached to all global classes, fields, properties and methods.

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.03% :tada:

Comparison is base (e036501) 97.57% compared to head (79b35cd) 97.60%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #22      +/-   ##
==========================================
+ Coverage   97.57%   97.60%   +0.03%
==========================================
  Files         112      115       +3
  Lines        2888     2925      +37
==========================================
+ Hits         2818     2855      +37
  Misses         70       70

Flag
Coverage Δ

Apex
97.60% <100.00%> (+0.03%)
:arrow_up:

unittests
97.60% <100.00%> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

src/main/viber/classes/ViberBotMethod.cls
100.00% <100.00%> (ø)

src/main/viber/classes/entities/ViberAccount.cls
100.00% <100.00%> (ø)

src/main/viber/classes/entities/ViberLocation.cls
100.00% <100.00%> (ø)

src/main/viber/classes/entities/ViberMessage.cls
84.78% <100.00%> (-1.22%)
:arrow_down:

.../main/viber/classes/entities/ViberOnlineStatus.cls
100.00% <100.00%> (ø)

...rc/main/viber/classes/services/ViberBotService.cls
96.00% <100.00%> (+7.11%)
:arrow_up:

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


Add wide nodes source with edges and list properties

Similarly to the wide node source, a data source that supports edges and list properties could be useful. Edges are predicates that have a list of uids as the value. Similarly, any predicate can have a list of values, which is not supported right now. A wide node with edges and list values would provide all data in one DataFrame. Spark's ArrayType column type can be used here. The schema read from the alpha contains information on list values.

While we are at it, check if other sources flatten array values, because they could. This would easily make them support list-values without changing their schema / adding complexity (array object values for each type).


table Filters

Package
filament/filament
Package Version
v3.2.0
Laravel Version
v10.10
Livewire Version
v3.0.0
PHP Version
PHP 8.1.0
Problem description
Just upgrading from 3.0-stable to 3.2.0 I got multiple toogle filters on a table. The data didn't refresh after the first click on the toogle, i need to click a second toogle for the first to be applied ( or refresh the page )
public static function getFilters(): array
    {
        $filters = [];

        // get all possible metadatas keys for Sessions
        $metadatasKeys = Session::all()->map(function ($session) {
            return collect($session->metadatas)->keys();
        })->flatten()->unique();

        foreach ($metadatasKeys as $metadatasKey) {
            $fi = Filter::make('hasMetadatas'.$metadatasKey)
                ->label('metadatas '.$metadatasKey)
                ->query(fn ($query) => $query->ByMetadataKeyExist($metadatasKey));
            $filters[] = $fi;
        }

        return $filters;
    }

Expected behavior
those filters used to work properly in 3.0-stable
Steps to reproduce
place multiple toogle filters on the top of a table. click on the first, nothing append, click on the second, dataset is refresh but only with the first filter.
Reproduction repository
https://github.com/yagogak/filamentphp-bug-filter
Relevant log output
No response

It may be similar to a bug I found. Here's a copy from Discord:
We are using DatePicker in filter like this:
Filter::make('filter')
    ->form([
        DatePicker::make('date-filter')
            ->native(false),

        TextInput::make('text-filter'),
    ]);

After updating to 3.2.0 it breaks.
If I update date filter - nothing happens. When I select text field and leave it - update triggers.
v3.2.0 changed filters here: https://github.com/filamentphp/filament/blob/a1fe2b159e94c9e0a6bf7405001eff074e3df4eb/packages/tables/src/Concerns/HasFilters.php#L35
In my specific scenario I tried adding live() on DatePicker, but it also happens when using toggle(), where I'm not in control of form elements.
Reproduction: https://github.com/filamentphp/demo/compare/main...saulens22:filament-demo:3.2.0-break

Should be fixed by #10825

Should be fixed by #10825
confirmed !


Chainwork calculation (strongest, not longest chain)

Some background:
https://bitcoin.stackexchange.com/questions/29742/strongest-vs-longest-chain-and-orphaned-blocks/29744#29744
https://learnmeabitcoin.com/technical/blockchain/longest-chain/
Make sure we are able to calculate the chain work value as well as select the chain with the most proof-of-work when syncing.

related #292
current implementation needs test vectors


Quiz exercise: Refactor Quiz Exercise Detail Page

Checklist
General

[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I followed the coding and design guidelines and ensured that the layout is responsive.
[x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I documented the TypeScript code using JSDoc style.
[x] I added multiple screenshots/screencasts of my UI changes.

Motivation and Context

The implementation of the Quiz Pool Configuration Page will reuse the functionalities of the Quiz Exercise Detail Page. Therefore, The Quiz Exercise Detail Page is refactored so the functionality can be reused later by the Quiz Pool Configuration page.
Description

Move the UI of the list of Quiz Question Cards to a separate component: QuizQuestionListEditComponent
The list of Quiz Question Cards will also be used on Quiz Pool Configuration Page. Therefore, the UI elements are refactored to a new reusable component.
Move the UI for importing existing Quiz Questions to a separate component: QuizQuestionListEditExistingComponent
Move the checking of Quiz Questions (if it is valid or not) to the isQuizQuestionValid method.
The checking of Quiz Questions will also be used by the Quiz Pool Configuration Page, so the logic is moved to a separate reusable method.
Add ViewEncapsulation.None to MultipleChoiceQuestionEditComponent to make the style consistent with DragAndDropQuestionEditComponent and ShortAnswerQuestionEditComponent.

Steps for Testing

Prerequisites:

1 Instructor
1 Course

Log in to Artemis
Navigate to Course Administration
Select the Course
Navigate to Exercises
Create a new Quiz Exercise
Verify that adding new Quiz Questions works
Add new Quiz Questions, then Save
Edit the newly created Quiz Exercise
Verify that the Quiz Questions are displayed correctly
Import existing Quiz Questions from either another course, exam, or JSON file.
Verify that the import still works

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage

Class/File
Branch
Line

multiple-choice-question-edit.component.ts
87.5%
95.06%

quiz-exercise-detail.component.ts
76.49%
89.88%

quiz-exercise-validation.directive.ts
81.96%
93.22%

quiz-question-list-edit-existing.component.ts
80.55%
96.7%

quiz-question-list-edit.component.ts
100%
97.05%

Screenshots

https://user-images.githubusercontent.com/10885503/230735986-53187e78-aac8-4552-a872-a42fa7c6d3cf.mov

Codecov Report

Merging #6428 (78dc9ab) into develop (8dc3ea3) will decrease coverage by 4.41%.
The diff coverage is 81.26%.

:exclamation: Current head 78dc9ab differs from pull request most recent head c6f430a. Consider uploading reports for the commit c6f430a to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #6428      +/-   ##
=============================================
- Coverage      84.84%   80.43%   -4.41%
  Complexity     13005    13005
=============================================
  Files           1073     2320    +1247
  Lines          42056    89072   +47016
  Branches        4398    13165    +8767
=============================================
+ Hits           35681    71644   +35963
- Misses          3934     9612    +5678
- Partials        2441     7816    +5375

Impacted Files
Coverage Δ

.../exercises/quiz/shared/quiz-manage-util.service.ts
61.90% <62.24%> (ø)

.../quiz/manage/quiz-exercise-validation.directive.ts
71.18% <71.42%> (ø)

...ises/quiz/manage/quiz-exercise-detail.component.ts
71.16% <75.00%> (ø)

...nage/quiz-question-list-edit-existing.component.ts
85.71% <85.71%> (ø)

...s/quiz/manage/quiz-question-list-edit.component.ts
97.05% <97.05%> (ø)

...uestion/multiple-choice-question-edit.component.ts
82.71% <100.00%> (ø)

...ain/webapp/app/shared/constants/input.constants.ts
100.00% <100.00%> (ø)

... and 1240 files with indirect coverage changes

Flag
Coverage Δ

client
76.49% <81.26%> (?)

server
84.84% <ø> (ø)

Continue to review full report in Codecov by Sentry.

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


Upgrade to CDH 6.3.x

It should be pretty simple. Basically upgrading (check CDH 6.3.4 Packaging)

hbaseVersion: current 2.1.0-cdh6.2.0 => should be set to 2.1.0-cdh6.3.4
hadoopVersion: current 3.0.0-cdh6.2.0 => should be ste to 3.0.0-cdh6.3.4
sparkVersion: current 2.4.3 => I think it's safe to use the latest 2.4 published for Scala 2.11 and 2.12 (it should be 2.4.7)

Maybe we can ask somebody from Cloudera if versions are correct. Maybe @patrickangeles or @busbey (Sorry to bother guys).

Maybe we can ask somebody from Cloudera if versions are correct. Maybe @patrickangeles or @busbey (Sorry to bother guys).

FYI I no longer work for cloudera.
I would recommend using the maven coordinates docs for C6.3.4 to get this info.  The ones you have listed for Hadoop and HBase are correct. If you're trying to use the Spark packaging that comes with C6 then your version number is incorrect. Additionally, I think C6's spark is only packaged for scala 2.11.
that said, why use this project rather than the hbase-spark integration that comes in C6? it already has a bunch of RDD support (and then some)

FYI I no longer work for cloudera.
I would recommend using the maven coordinates docs for C6.3.4 to get this info.  The ones you have listed for Hadoop and HBase are correct. If you're trying to use the Spark packaging that comes with C6 then your version number is incorrect. Additionally, I think C6's spark is only packaged for scala 2.11.
that said, why use this project rather than the hbase-spark integration that comes in C6? it already has a bunch of RDD support (and then some)

Thanks for the heads-up! We've been developing and using this internally and are quite happy (we found this to be better for our purpose ~ and we're mainly using it with Scala). Not sure the status of the thing you mention. Care to share a link?
Also, if you do know, does Cloudera CDP work any differently? We're also investigating moving to it at some point.
Thanks anyways!

Thanks for the heads-up! We've been developing and using this internally and are quite happy (we found this to be better for our purpose ~ and we're mainly using it with Scala). Not sure the status of the thing you mention. Care to share a link?
Also, if you do know, does Cloudera CDP work any differently? We're also investigating moving to it at some point.
Thanks anyways!

Not sure the status of the thing you mention. Care to share a link?

Sure, the feature has been under development in the hbase community for quite some time but only started making releases in 2020:

http://hbase.apache.org/book.html#spark
https://github.com/apache/hbase-connectors/tree/master/spark

In CDH it's been a supported shipped feature since ~CDH5.7 I think?

Also, if you do know, does Cloudera CDP work any differently? We're also investigating moving to it at some point.

There's a Cloudera community write up "HBase-Spark in CDP" that does a good overview of the version of this feature Cloudera has shipped across CDH, HDP, and CDP versions. The focus there is on scala. If pyspark comes up there's a recent blog post series that has a good intro to the integration.

Not sure the status of the thing you mention. Care to share a link?

Sure, the feature has been under development in the hbase community for quite some time but only started making releases in 2020:

http://hbase.apache.org/book.html#spark
https://github.com/apache/hbase-connectors/tree/master/spark

In CDH it's been a supported shipped feature since ~CDH5.7 I think?

Also, if you do know, does Cloudera CDP work any differently? We're also investigating moving to it at some point.

There's a Cloudera community write up "HBase-Spark in CDP" that does a good overview of the version of this feature Cloudera has shipped across CDH, HDP, and CDP versions. The focus there is on scala. If pyspark comes up there's a recent blog post series that has a good intro to the integration.

The focus there is on scala
Our focus as well!

Thank you so much!

The focus there is on scala
Our focus as well!

Thank you so much!

https://github.com/apache/hbase-connectors/tree/master/spark

Yeah, I knew this bit.

The focus there is on scala

Our focus as well!
Thank you so much!

https://github.com/apache/hbase-connectors/tree/master/spark

Yeah, I knew this bit.

The focus there is on scala

Our focus as well!
Thank you so much!


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.8 to before v5.14.16",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=db5ad6b7f8cdd6d78efef62a1557461d0cbaee54",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c7752ec9ad39708c85859ada3417d85bc4b6cf69"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "db5ad6b7f8cdd6d78efef62a1557461d0cbaee54",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "c7752ec9ad39708c85859ada3417d85bc4b6cf69",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "nvme-tcp: fix possible req->offset corruption\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.14.16 by commit c7752ec9ad39708c85859ada3417d85bc4b6cf69, it was introduced in version v5.8 by commit db5ad6b7f8cdd6d78efef62a1557461d0cbaee54. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002133


What software should we look at

We should look more at GitHub!

http://www.nltk.org/

ITTT

FWIW: here's a little bit on Markdown. https://code.google.com/archive/p/markdown-for-lawyers

I finally made it....Issue #3 how to use GitHub....j/k

http://ravellaw.com/
https://www.goclio.com/
https://lexicata.com/

I've started using atom.io for purposes of editing large pieces of text. Their interface is awesome.

http://www.neotalogic.com/artificial-intelligence-in-law-the-state-of-play-2016-part-3/

Should we figure out a way to incorporate the weekly legal tech presentations into the github repo. I think it would be more helpful to have it in a place besides an issue, but it's something we can go over tonight.

Apparently, there is an integration for Clio that allows you to pull cases into a slack channel. https://www.goclio.com/blog/how-attorneys-can-use-slack-for-legal-research-2/


Mock out additional readthedocs libraries

Some libraries were already present on Drone (e.g. requests) and not readthedocs; from now on Drone should fail whenever readthedocs is missing a dependency or mock library.
Also fixes a docstring indentation warning.

:+1:

stefanv: :+1:

I like how I have become a Jeff Dunham special.

Also, this PR is going to come and bite us in the ass, but at least we'll know it when it happens.  Or perhaps we can build a small tool to generate a list of all external imports automatically?

stefanv: :+1:
On Thursday, December 17, 2015, Stefan van der Walt <
<EMAIL_ADDRESS>wrote:

Also, this PR is going to come and bite us in the ass, but at least we'll
know it when it happens. Or perhaps we can build a small tool to generate a
list of all external imports automatically?
—
Reply to this email directly or view it on GitHub
https://github.com/mltsp/mltsp/pull/123#issuecomment-165702557.

:wink:

¯_(ツ)_/¯

@bnaul let's look into building a tool that auto-generates a :+1: from
Stefan as soon as one of us creates a PR.
On Friday, December 18, 2015, Brett Naul<EMAIL_ADDRESS>wrote:

¯_(ツ)_/¯
—
Reply to this email directly or view it on GitHub
https://github.com/mltsp/mltsp/pull/123#issuecomment-165857152.

What have I done.


Add audio normalization device config option

This adds a device configuration option, supported by LibreSpot, to set whether the audio is normalized. Turning normalization off can significantly improve sound quality and detail.
By default, normalization is on (Spotify's default), but this allows to set it to false.

Thanks for the feedback. Just updated with those two changes.

@jsbmg can you fix the CI failure?

@jsbmg can you fix the CI failure?

Hey, sorry, had a busy week, but thanks for fixing that and merging it. Appreciate your work.


Alacritty doesn't close until the first event after exiting shell

Which operating system does the issue occur on? Linux, Ubuntu 18.04
If on linux, are you using X11 or Wayland? Running Wayland with XWayland (env WAYLAND_DISPLAY= alacritty)
When I leave the shell with ^d or "exit", alacritty will stay alive until I do the next thing (move my mouse, click, type a character, or defocus). I'd expect it to die immediately after exiting the shell.
Screen recording of the issue: https://webmshare.com/DdYGG
glxinfo:
$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.0-rc5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.0.0-rc5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

According to #1342 this issue is not only present with Wayland, so removing the wayland tag and changing the title to be more accurate.
More information about this issue on X.Org is present in the referenced issue.

I took a peek at this one. Looks like when https://github.com/jwilm/alacritty/blob/6cbae83f174fa6d114ea66b1f8dd6185950ca835/src/event.rs#L384 is blocking, it doesn't notice SHOULD_EXIT until an event occurs. This blocks the main loop as well.
New to the codebase, but it seems like the super hacky solution is to send a notify to the process handler upon SIGCHLD; the more reasonable solution is finding out how to do away with the unsafe SHOULD_EXIT.

This is the same as #915 right?

Yes it is, thanks for the heads-up.


m2e: plugin should be run on configuration

Hi,
Because the plugin adds a source directory, the lifecycle configuration should be run on configuration for m2e to pick-up the extra source folder.
The change would be trivial in lifecycle-mapping-metadata.xml
Note that it seems that the default plugin maven-jaxb2-plugin is ok, but the jaxb20, jaxb21 and jaxb22 are wrong.

Thank you for the report!
I'll make lifecycle-mapping-metadata.xml identical in all the four cases, as in the maven-jaxb2-plugin.

Is fixed now, will be released in 0.12.4. Thank your the report!


"DependsOn"-like relationships between components

We should expose a way to express dependencies between resources. This won't have any immediate impact on startup order but will come in handy for other things (diagrams and the manifest).
Original
Do we need to implement depends on like relationships between components. Right now, we've just added AddExecutable(...) to support things like running arbitrary executables as part of bringing up the dev host. But it has been pointed out that for things like migrations we might want to hold starting a project until the executable finishes running (kind of like an init container).
For other dependencies (between projects) we might want to express startup dependencies, but because they are long running we would probably need to introduce the concept of health probes.

Is there any plan to add this?
I want to migrate the database when the application starts but because the database is not already up, the application start failed.
see this.
Here I just created a delay for a temporary fix.
A lot of scenarios need this feature to work.

@Alirexaa we are working on this. In Aspire 8.1 we are adding a WaitForResourceAsync(...) extension for use in testing scenarios which is very similar to what we need here. We just need to figure out how we want this API to work outside of test scenarios.
It's in our list of day-0 issues that we want to fix :)

@mitchdenny Can we expect it in a prerelease package any time soon?
If my DB is not up and running, the application does not crash (as it should), but a background process keeps failing in a loop. This is a third-party component I have no control over, so this WaitForResourceAsync seems exactly what I need..

This didn't make the cut for 8.1 I'm afraid. It is still high on the priority list and will be considered for 8.2

I'm using the sample code by @davidfowl for now, which worked like a breeze btw 🥇

Closing this in favor of: https://github.com/dotnet/aspire/issues/5275


Update branch 2.2.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

We can merge this PR to continue moving forward in the 2.2 branch.


Latvian localization

Whoops, somehow deleted a quote.

@dmitrykurmanov any idea what's happening with the Travis build?

@faso hello, thanks for your pull request. It is our problem with travis we'll fix it and merge your work. Thanks again.


"'Product' object has no attribute 'node'" when extending "Product" on federated schema

What I'm trying to achieve
I'm trying to use Saleor and local Saleor Reviews App with federated(Ariadne) schema to 'extend' User and Product fields with simple product reviews.
Steps to reproduce the problem

Setup environment:

Run saleor
Run minimal federated review implementation: Gist based on Ariadne example
Run Graphql Federation Gateway with export ENDPOINTS="saleor:http://localhost:8000/graphql/ reviews:http://localhost:3033/reviews"

Run Saleors tokenCreate mutation and use that token for next query:
Run a query:

{
  me{
    id
    email
    reviews{
      id
      body
      rating
      product {
        id
        name
      }
      user{
        email
        isActive
      }
    }
  }
}

What I expected to happen
I expect it to return data without errors:
{
  "data": {
    "me": {
      "id": "VXNlcjox",
      "email"<EMAIL_ADDRESS>      "reviews": [
        {
          "id": "1",
          "body": "Love them Apple Juices",
          "rating": 5,
          "product": {
            "id": "UHJvZHVjdDox",
            "name": "test"
          },
          "user": {
            "email"<EMAIL_ADDRESS>            "isActive": true
          }
        }
      ]
    }
  }
}

Instead it return an error "'Product' object has no attribute 'node'".
It happens because "__resolve_reference" @ /saleor/graphql/product/types/products.py line 877 expects "ChannelContext" but receives "models.Product". It looks to me like resolvers aren't handling federated shema well.
If you check for types/attributes in resolvers and return proper id attribute for type(ie. root.id instead of root.node.id) "Product" query on reviews also resolves all fields.
"User" query on reviews can resolve all its fields without errors.
I'm relatively new to the whole graphql / relay / federation thing, so it's possible that I'm misunderstanding something and doing something wrong, if so please advise how I coud run an federated app with Saleor and extend it's User and Product schema with external fields.
Ps. Looks like graphene-federation is unmaintained, there was some effort to maintain it's fork
PPs. saleor/graphql/core/tests/test_federation.py is testing only "User" query, maybe add a couple more, something like:
diff --git a/saleor/graphql/core/tests/test_federation.py b/saleor/graphql/core/tests/test_federation.py
index 693400035..fa1edfc6b 100644
--- a/saleor/graphql/core/tests/test_federation.py
+++ b/saleor/graphql/core/tests/test_federation.py
@@ -14,6 +14,10 @@ def user_representation_by_id(staff_user):
 def user_representation_by_email(staff_user):
     return {"_representations": [{"email": staff_user.email, "__typename": "User"}]}

<EMAIL_ADDRESS>+def product_representation_by_id(product):
+    product_id = graphene.Node.to_global_id("Product", product.id)
+    return {"_representations": [{"id": product_id, "__typename": "Product"}]}

 FEDERATED_QUERY = """
 query($_representations: [_Any!]!) {
@@ -27,6 +31,17 @@ query($_representations: [_Any!]!) {
 }
 """

+FEDERATED_QUERY_PRODUCT = """
+query($_representations: [_Any!]!) {
+  _entities(representations: $_representations) {
+    ... on Product {
+      name
+      slug
+    }
+  }
+}
+"""
+

 def test_get_user_data_through_federated_query_by_id(
     staff_api_client, user_representation_by_id, staff_user
@@ -48,3 +63,16 @@ def test_get_user_data_through_federated_query_by_email(
     assert len(content) == 1
     assert content[0]["id"] == graphene.Node.to_global_id("User", staff_user.id)
     assert content[0]["isStaff"] == staff_user.is_staff
+
+
+def test_get_product_data_through_federated_query_by_id(
+    staff_api_client, product_representation_by_id, product
+):
+    response = staff_api_client.post_graphql(
+        FEDERATED_QUERY_PRODUCT, product_representation_by_id
+    )
+    content = get_graphql_content(response)["data"]["_entities"]
+    print(content)
+    assert len(content) == 1
+    assert content[0]["name"] == product.name
+    assert content[0]["slug"] == product.slug

Screenshots and logs
{
  "errors": [
    {
      "message": "'Product' object has no attribute 'node'",
      "path": [
        "_entities"
      ],
      "extensions": {
        "code": "DOWNSTREAM_SERVICE_ERROR",
        "serviceName": "saleor",
        "query": "query ($representations: [_Any!]!) {\n  _entities(representations: $representations) {\n    ... on Product {\n      name\n    }\n  }\n}",
        "variables": {
          "representations": [
            {
              "__typename": "Product",
              "id": "UHJvZHVjdDox"
            }
          ]
        },
        "exception": {
          "code": "AttributeError",
          "stacktrace": [
            "Traceback (most recent call last):",
            "  File \"/usr/local/lib/python3.9/site-packages/promise/promise.py\", line 489, in _resolve_from_executor",
            "    executor(resolve, reject)",
            "  File \"/usr/local/lib/python3.9/site-packages/promise/promise.py\", line 756, in executor",
            "    return resolve(f(*args, **kwargs))",
            "  File \"/usr/local/lib/python3.9/site-packages/graphql/execution/middleware.py\", line 75, in make_it_promise",
            "    return next(*args, **kwargs)",
            "  File \"/usr/local/lib/python3.9/site-packages/graphene_federation/entity.py\", line 47, in resolve_entities",
            "    model_instance = resolver(model_instance, info)",
            "  File \"/app/saleor/graphql/product/types/products.py\", line 879, in __resolve_reference",
            "    return graphene.Node.get_node_from_global_id(_info, root.node.id)",
            "AttributeError: 'Product' object has no attribute 'node'"
          ]
        }
      }
    },
    {
      "message": "Expected \"data._entities\" in response to be an array",
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "exception": {
          "stacktrace": [
            "Error: Expected \"data._entities\" in response to be an array",
            "    at /home/deni/dev/saleor/gql-federation-gateway/node_modules/@apollo/gateway/dist/executeQueryPlan.js:148:23",
            "    at Generator.next (<anonymous>)",
            "    at fulfilled (/home/deni/dev/saleor/gql-federation-gateway/node_modules/@apollo/gateway/dist/executeQueryPlan.js:5:58)",
            "    at processTicksAndRejections (internal/process/task_queues.js:95:5)"
          ]
        }
      }
    }
  ],
  "data": {
    "me": {
      "id": "VXNlcjox",
      "email"<EMAIL_ADDRESS>      "reviews": [
        {
          "id": "1",
          "body": "Love them Apple Juices",
          "rating": 5,
          "product": null,
          "user": {
            "email"<EMAIL_ADDRESS>            "isActive": true
          }
        }
      ]
    }
  }
}

System information

Saleor version:

[x] dev (current master)
[ ] 3.0
[ ] 2.11
[ ] 2.10

Operating system:

[ ] Windows
[x] Linux
[ ] MacOS
[ ] Other

Thanks for reporting and providing code for repro!
I've investigated this and found that indeed current approach for products/variants/collections/ect. where we wrap Django model instances in ChannelContext breaks Graphene type model and prevents federated queries from being executed correctly.
We also have other problem where are federation is only resolving those items by ID whereas { id channelSlug } is required instead.
I think I'll have PR with the fix for this tomorrow 👍


Add a partial that check expected partial exists before including it

And print a custom friendly error message if it doesn't exist.
That would be much clearer for users that what modules they're missing.

It may be worth nothing, since it's the duty for developer to specify required modules in config file.


[Extensibility] Too(?)-tightly coupled

Is your feature request related to a problem? Please describe.
Extensibility is tightly-coupled.
Protocol changes require agent, controller and CRD rebuilds and redeployments.
It seems that this system would benefit from being dynamic though I can't provide guidance on how to achieve this beyond it being a good use-case for gRPC.

Definitely agree. We would love to have discovery protocol handlers to be modularized such that they do not require changes to Akri's core components. We've created a proposal for this here.

Outstanding!
FWIW #3 and #4 seem to be the most compelling

A benefit of option 3 is that you don't prescribe the language used to implement the discovery agent.

As I explore extending the Agent to support ZeroConf, it (actually the Rust zeronconf crate specifically) requires additional shared libraries. Such additions:

Require revising the Dockerfiles to include the additional packages;
Increase the possible attack surface of the images;
Increase the size of the images;
Possibly contaminate other protocols (dependency mismatch etc.)
May require enterprise security re-ups on auditing, licensing etc.

Example:
zeroconf (0.6.2) requires: xorg-dev, libxcb-shape0-dev, libxcb-xfixes0-dev, clang

... and, shared library additions require providing|testing equivalent changes for each platform


Empty Mempool?!

Mempool went empty:
> http 'https://api.counterparty.io:4000/v2/mempool/events'
HTTP/1.1 200 OK
Alt-Svc: clear
Content-Length: 1625
access-control-allow-headers: *
access-control-allow-methods: *
access-control-allow-origin: *
content-type: application/json
date: Wed, 25 Sep 2024 01:54:17 GMT
server: Werkzeug/3.0.1 Python/3.10.12
via: 1.1 google
x-bitcoin-height: 862741
x-counterparty-height: 862741
x-counterparty-ready: True

{
    "next_cursor": null,
    "result": [],
    "result_count": 0
}

Now it's  back?
> http 'https://api.counterparty.io:4000/v2/mempool/events' | jq .result_count
4

See https://github.com/CounterpartyXCP/counterparty-core/issues/2266


doc: How to deploy it on k8s?

How to deploy it on k8s?

我也需要一份详细的部署文档

@gxthrj please take a look

here is the doc for k8s
https://github.com/api7/ingress-controller/blob/master/doc/deploy/deploy.md

this issue will be closed


sbt/exec should send respond to request

steps
Send sbt/exec command following the steps described in https://developer.lightbend.com/blog/2017-11-30-sbt-1-1-0-RC1-sbt-server/?final?final
problem
The sbt server never responds to request number 2.
Content-Length: 93^M
^M
{ "jsonrpc": "2.0", "id": 2, "method": "sbt/exec", "params": { "commandLine": "compile" } }^M

According to the json rpc specification, every request should have a response. By not responding the request, the client will keep an open request hanging forever.
expectation
On command success, I expected to receive some response once the command completes execution
{ "jsonrpc": "2.0", "id": 2, "result": null }

On command failure, I expected an error object with a "Server error" code. Sbt should maybe define the categories of errors it can respond with and document which codes it returns with their meanings.
notes
sbt version: 1.1.0

I'm trying to use sbt server as a way to speed up a Jenkins pipeline that need to repetitively invoke sbt commands. A python script is called instead of sbt and forwards the command over the server socket. This script need to wait until the command is done and then exit with the appropriate code to indicate either a success or a failure.
The fact that there is no response to sbt/exec messages is a major pain. I'm currently using the window/logMessage (Processing / Done) messages to find out whether the command finished and use the presence of type: 2 (error severity) messages as an indicator of failure, otherwise I assume a success.
This is mostly working, though a bit hackish. The whole system would be a lot more robust with an appropriate response from the server. I believe that this response should at least include whether the execution was successful or failed. This information is displayed by sbt as a [success] / [error] line, even for commands received from the server.
On the other hand, the speed gain is massive. I don't know if sbt server was ever intended as a way to script the shell instead of integrating with IDEs, but this is working wonderfully!

@galedric That sounds awesome. Could you please blog/opensource your stuff?

I think this was fixed in https://github.com/sbt/sbt/pull/3991

I think so too.


fix: Update required ibm provider version to >= 1.56.1

/run piipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Example: Mixed datatypes with ColumnTransformer

It would be useful to include an educational example of how to handle data with mixed datatypes, including both text and numerical data.  This would possibly force some development on ColumnTransformer, ensuring that that gets built out and that the API is reasonable.
This came out of conversation with @ogrisel

I'm looking at this today.


CLI specification of compute environment

Description of the problem
When using the Tower CLI to launch a pipeline that you have added on Tower via the GUI, use of the -c option to set the compute environment does not override the default selection made when the pipeline was added. As a result, there does not appear to be any way to change the compute environment, and it is necessary to add a 'new' pipeline on Tower if a different environment is required for a run.
Environment
Version: Version 22.2.0_aa6e332d
Tower CLI version 0.6.2 (build 967c8ec)

Comment from Freshdesk:

Freshdesk: 1301 linked successfully.

                  Freshdesk: #1301
By: Matteo Fiandesio<EMAIL_ADDRESS>

Comment from Freshdesk:
Matteo Fiandesio : I added the issue on github and linked to the FD issue manually

                      Freshdesk: #1301
By: Matteo Fiandesio<EMAIL_ADDRESS>


Fixing a issue with authorimage not being found

This happens when using another baseurl then /
For example /blog/

Have issues with /img/authorimage when I generate my static page for github when i play around with this theme.
If you want to see the code and the issue: https://nissessenap.github.io/blog/
I had the same issue when i ran hugo localy and i managed to fix it with this.


Fly your jet and blast the boxes

How to play your game?

Example  : You control the jet. WASD to move. You must get to the yellow square
and blast it with "J" to open a path. If you aren't in
front of the open path by the time the green dot on the
right hits the top (representing your distance from the wall),
you crash.

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file. Example: sokoban_plus.js -> sokoban_plus.png.

Thanks for PR!

second game! looks good to me, Congrats:)
If you're a teen, you can get your sprig here! https://sprig-order.hackclub.dev/


fix - TLS handshake failure for oci pull(artifact repo).

What this PR does / why we need it:
fix for #10597

Added 2-way TLS Support for oci pull for artifact repository which causes TLS handshake failure error.

Special notes for your reviewer:

For now this fix will be going to support Linux only.
If applicable:
[ ] this PR contains documentation
[ ] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

closed due to some error


Appcrash

When starting the desktop application, it'll crash during loading.
Problem signature:
Problem Event Name:	APPCRASH
Application Name:	RetSimDesktop.exe
Application Version:	<IP_ADDRESS>
Application Timestamp:	6195442d
Fault Module Name:	KERNELBASE.dll
Fault Module Version:	6.1.7601.24384
Fault Module Timestamp:	5c6e248c
Exception Code:	e0434352
Exception Offset:<PHONE_NUMBER>00be0d
OS Version:	6.1.76<IP_ADDRESS>.256.48
Tried in a clean VM with same OS (win7) and WebView2 runtime installed. .Net runtime 4.7.2.
Initially issues with api-ms-win-core-winrt-l1-1-0.dll missing, but sorted by dumping a copy from a realtek driver into the install dir.
Source tree mentions a non-desktop version, but would need a little more info on how to get that working, in case the above isn't solvable.

Took the liberty of cloning and building the solution with an updated .net 6.0.201 x64 sdk on VS Code.
Solution builds a debug binary for the RetSimDesktop and dll for RetSim.
App loads and then crashes with same exception code. On first attempt, the UI was loaded just before crash.
Event viewer shows the exception as:
Application: RetSimDesktop.exe
CoreCLR Version: <IP_ADDRESS>705
.NET Version: 6.0.1
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException: Value does not fall within the expected range.
at Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Controller2.set_DefaultBackgroundColor(COREWEBVIEW2_COLOR backgroundColor)
at Microsoft.Web.WebView2.Core.CoreWebView2Controller.set_DefaultBackgroundColor(Color value)
at Microsoft.Web.WebView2.Wpf.WebView2.DefaultBackgroundColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at Microsoft.Web.WebView2.Wpf.WebView2.set_DefaultBackgroundColor(Color value)
at RetSimDesktop.WoWTooltip.InitializeAsync() in C:\Users\Tasos\Programming\Visual Studio\RetSim\cs\RetSim\RetSimDesktop\View\WoWTooltip.xaml.cs:line 60
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run()
at RetSimDesktop.App.Main()

Sorry for the late response - this looks like a version issue with WebView. Are you sure you got the x64 version of Webview2?


warnings while pushing using normal git client

2 warnings reporting during push, however the status of both client and server seems to be okay
https://github.com/git/git/blob/35f6318d44379452d8d33e880d8df0267b4a0cd0/sideband.c#L92
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 598 bytes | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0)
send-pack: protocol error: bad band #117
error: error in sideband demultiplexer
To http://localhost:8000/sap/zabapgitserver/git/CLAS.git
   373b413..d2cdfcf  master -> master

Same error in Eclipse,

https://github.com/git/git/blob/80145b1e412719c960036c8c62a9e35dd23a5b2d/builtin/receive-pack.c#L1890


Label Studio can't load image from local storage on Windows 11

Describe the bug
Label Studio can't load image from local storage
To Reproduce
Steps to reproduce the behavior:

Open Git Bash, activate conda environment
Start Label Studio:   LABEL_STUDIO_LOCAL_FILES_SERVING_ENABLED=true LABEL_STUDIO_LOCAL_FILES_DOCUMENT_ROOT=D:\data\media label-studio start
Create new Project, set up local storage, Absolute path I set up is  D:\data\media\dataset1. Click "Sync Storage"
The images stored in dataset1 directory appear in project. but can't display the image. It shows error:

There was an issue loading URL from $image value
Things to look out for:
URL is valid
URL scheme matches the service scheme, i.e. https and https
The static server has wide-open CORS, more on that here
Technical description:
URL: /data/local-files/?d=dataset1%5C3293148.jpg
Expected behavior
Label Studio can load image from local storage on Windows
The docs should provide clear instructions for Windows
Screenshots

Environment (please complete the following information):

Windows 11 Pro
Label Studio Version = 1.7.2

Additional context
Add any other context about the problem here.

Hello bn999286,
Are you able to just open the images if you click on the link?

I also have the same problem.

me too

This https://github.com/heartexlabs/label-studio/blob/7daeee9da92cdfc5c063e825099c143c62d5fcd8/label_studio/core/views.py#L187C9-L191 seems to cause the issue!

Is there supposed to be a % in your path ( /data/local-files/?d=dataset1%5C3293148.jpg), and does the link open the image? I've debugging and I realized that my paths were off. Additionally, based on what I saw from the codebase LOCAL_FILES_DOCUMENT_ROOT should be set instead of LABEL_STUDIO_LOCAL_FILES_DOCUMENT_ROOT. Let me know if that works!! I managed to get it to work on my machine.

Same exact issue using Label Studio == 1.8.0. Any one find a work around?

I can try helping since I figured it out for myself.
Just like me, I think the OP has an issue in their relative path. The
percent in the path doesn't look right to me.
What is the absolute path on your machine of the data you want to serve and
what is the parent path and absolute path supplied to your source storage
(the image shown in OP). Lastly, what is the error shown (so I can see the
relative path that's loaded).
On Tue, Aug 1, 2023, 1:09 PM 1andDone @.***> wrote:

Same exact issue using Label Studio == 1.8.0. Any one find a work around?
—
Reply to this email directly, view it on GitHub
https://github.com/HumanSignal/label-studio/issues/4121#issuecomment-1660758585,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACP4PFBNDLZKXYA6DNN4NITXTEZ4ZANCNFSM6AAAAAAXP4HGQU
.
You are receiving this because you commented.Message ID:
@.***>

To answer your questions, I'm noticing a "%5C" in my path in place of single or double escape sequences (i.e. \\). For instance, I think OP is trying to display an image that is located at the following path: D:\\data\\media\\dataset1\\3293148.jpg and the URL is /data/local-files/?d=dataset1%5C3293148.jpg. If you click on the corresponding URL, it does not display the image. What paths were you using where you got it to work?

问题已解决，只需要把环境变量按照如下设置后，再按照下图设置数据集路径即可。

That worked! The key was going into my Windows settings and adding LABEL_STUDIO_LOCAL_FILES_DOCUMENT_ROOT and LABEL_STUDIO_LOCAL_FILES_SERVING_ENABLED System variables. The local/absolute paths were the exact same.

hey! I have enabled the  LABEL_STUDIO_LOCAL_FILES_DOCUMENT_ROOT and LABEL_STUDIO_LOCAL_FILES_SERVING_ENABLED as System variables. Even though it is showing the Validation error.
have a look to the below image.

You have to set this variables in the same terminal where you run LS. Or if you use docker, you have to pass this variables to the docker run command, something like this:
docker run -d \
  -e LABEL_STUDIO_LOCAL_FILES_DOCUMENT_ROOT=/path/to/your/local/files \
  -e LABEL_STUDIO_LOCAL_FILES_SERVING_ENABLED=true \
  -v /path/to/your/local/files:/path/to/your/local/files \
  ...

I am closing this issue as a non-active, and it seems like it has been resolved.