[CFM_26] feat: Create AppBar component

done: Update the Logo Title so it is compact and complies with the Figma design.

Similar comment to the comment I made in the first PR: https://github.com/CollectiveFocus/CFM_Frontend/pull/9#issuecomment-1162595952
Can we try something closer to this for the mobile menu https://mui.com/material-ui/react-app-bar/#responsive-app-bar-with-drawer in order to be closer to what the figma design displays?
I think its a good call to display the mobile menu on the right side (figma design has the mobile menu on the left)


Should it depend on Biopython

pip3 install ncbi-acc-download installed and succeeded, but it didn't install biopython.
I ran ncbi-acc-download NC_005278.1 and got the error message…
Traceback (most recent call last):
  File "/Users/sjackman/.homebrew/bin/ncbi-acc-download", line 7, in <module>
    from ncbi_acc_download.__main__ import main
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ncbi_acc_download/__main__.py", line 6, in <module>
    from .core import download_to_file, Config, HAVE_BIOPYTHON
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ncbi_acc_download/core.py", line 24, in <module>
    from ncbi_acc_download.validate import HAVE_BIOPYTHON, run_extended_validation, VALIDATION_LEVELS
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/ncbi_acc_download/validate.py", line 7, in <module>
    from Bio import SeqIO
ModuleNotFoundError: No module named 'Bio'

Should setup.py specify that ncbi-acc-download depends on biopython?

Huh? Did Python 3.7 change from ImportError to ModuleNotFoundError? Darn...
BioPython is an optional dependency for when you want the extended biopython-based validation. I have an extra import try/except dance in validate.py for that: https://github.com/kblin/ncbi-acc-download/blob/master/ncbi_acc_download/validate.py#L6
But I'm catching ImportError, which works fine on my machine :tm:. I'll see if I can reproduce.

Should be fixed in 0.1.2


Schema Tool can't load descriptions and set optional fields to be required

I've tried following instruction using the schema tool to generate CRD for rabbitmqsources in eventing-rabbitmq.
If you run go run ./ dump RabbitmqSource, the output crd looks like:
type: object
properties:
  spec:
    description: 'not found: unable to parse dir: error parse dir "./pkg/apis/sources/v1alpha1": open ./pkg/apis/sources/v1alpha1: no such file or directory'
    type: object
    required:
      - sink
    properties:
      brokers:
        description: 'not found: unable to parse dir: error parse dir "./pkg/apis/sources/v1alpha1": open ./pkg/apis/sources/v1alpha1: no such file or directory'
        type: string
      channel_config:
        description: 'not found: unable to parse dir: error parse dir "./pkg/apis/sources/v1alpha1": open ./pkg/apis/sources/v1alpha1: no such file or directory'
        type: object
        required:
          - prefetch_count
        ...
      observedGeneration:
        description: 'not found: unable to parse dir: error parse dir "vendor/knative.dev/pkg/apis/duck/v1": open vendor/knative.dev/pkg/apis/duck/v1: no such file or directory'
        type: integer
        format: int64
      sinkUri:
        description: 'not found: unable to parse dir: error parse dir "vendor/knative.dev/pkg/apis/duck/v1": open vendor/knative.dev/pkg/apis/duck/v1: no such file or directory'
        type: string

It can't find fields descriptions and set some optional fields to be required instead.
Used fork

@n3wscott @mattmoor Since it looks like you all added the tool

Doing a little manual cleanup. If this is still an issue please reopen this issue.


[NR-92548] Mobile Logging Support

This branch will be merged after all sub-features (Logging API, configuration and forwarding) are in a stable state.

@approved


Transition to daru-io

Should be done in daru-1.0 branch:

daru-io becomes hard dependency for daru
All Daru#from_something and Daru#to_something functionality should be removed from daru gem, alongside with corresponding dependencies and tests.
Documentation on import/export should explain clearly where to look for importing and exporting data.
Make sure no functionality (even minor/outdated) will be lost, at least without good reason for it. Interface changes, on the contrary, accepted and welcome.

@athityakumar, it is for you :)

Documented as a to-do in issue #434
Taken care of, by PR #430 (yet to be merged)
Would it be enough to include something like this in daru's YARD docs?
I think there has been no lose (Except the Marshal methods, as suggested in PR #430). Any suggestion for interface changes?


Default state for time

Hi there,
Looking at your demo page, ( https://allenwooooo.github.io/rc-datetime-picker/ ) the default state of the hour/min sliders is 0/0 even if the time is set. Do you have a resolution/work-around for this?
Other than that, great module.... thanks! :)

Hi dubsy,
I have the same problem :(, you figure out something?

Hi @dubsy & @CezaryRynkowski
I think this repository/package will not be active any more.
Please use this improved package and if that issue was still exist, report that issue to the improved package repo and help us making it better than before.
Thanks :wink:


Bug in the copy constructor of iterator

https://github.com/lemire/simdjson/blob/49332d3e907971a1927468ecc4a76673b0d718c8/src/parsedjsoniterator.cpp#L37
This line should be:
memcpy(depthindex, o.depthindex, pj.depthcapacity * sizeof(depthindex[0]));

Or it is violating o being constant. Semantically, I believe the copy target should be the newly constructed iterator.

You are, of course, correct.

Should I submit a PR or it is easier to just fix it on your side?

The benefit of a PR is that you get credit for the fix in the logs. A PR is invited.
However, if you do not issue a PR, we will fix the bug otherwise.


fix: Register event annotations when loading event message descriptor

This ensures that annotated event templates are found in the descriptor set passed to --event-message-descriptor-set
Closes #1934

This change is

I was able to manually test this specific case by bringing up a local cluster, passing in the descriptor set for halo_cmm.uk.pilot.Event, and modifying the synthetic population spec to reference that message type.


PORTALS-3140

Add cbioportal linkify rule, and additional column to NF dataset card

Also double-checked that each value in the String_list will be processed.


Does root have a password?

I muffed something up and need to su but not sure what the root password is or if there is one.
Didn't want to destroy if I don't have to.
Thanks

Can you just do sudo su? I do that all the time to quickly switch to the root account.

Closing since no response within 1 week. Let me know if this is still an issue!


Create istruzione.it

domains beloging and related to the Italian Ministry of Education, so all the teachers beloging to the public italian schools.

@lellomele lib/domains/it/istruzione: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@lellomele I am sorry, this domain seems to represent an umbrella institution, not a specific single university or a college. Please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
I have to close the request without merging. Please also notice that this request duplicates request #16355.
Thank you for your understanding!


feat(snap): use updated environment variable injection

Signed-off-by: Siggi Skulason<EMAIL_ADDRESS>

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/device-mqtt-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[x] I have added unit tests for the new feature or bug fix (if not, why?) - tested manually and in external integration tests
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?) N/A

Testing Instructions

$ sudo snap install edgexfoundry
$ snapcraft
$ sudo snap install ./edgex-device-mqtt_2.2.0-dev.9_amd64.snap --dangerous
$ sudo snap set edgex-device-mqtt apps.device-mqtt.config.a.b.c=1234
$ sudo snap set edgex-device-mqtt config.e.f.g=value
$ sudo snap set edgex-device-mqtt apps.device-mqtt.config.service.port=6000
$ more /var/snap/edgex-device-mqtt/current/config/device-mqtt/res/device-mqtt.env
export E_F_G=value
export A_B_C=1234
export SERVICE_PORT=6000

$ sudo snap connect edgexfoundry:edgex-secretstore-token edgex-device-mqtt
$ sudo snap install mosquitto
$ sudo snap start mosquitto
$ curl http://localhost:6000/api/v2/ping
{"apiVersion":"v2","timestamp":"Wed Mar 23 14:42:18 GMT 2022","serviceName":"device-mqtt"}

## New Dependency Instructions (If applicable)
<!-- Please follow [vetting instructions](https://wiki.edgexfoundry.org/display/FA/Vetting+Process+for+3rd+Party+Dependencies) and place results here -->

Codecov Report

Merging #341 (320761d) into main (9225b54) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #341   +/-   ##
=======================================
  Coverage   21.90%   21.90%
=======================================
  Files           5        5
  Lines         484      484
=======================================
  Hits          106      106
  Misses        365      365
  Partials       13       13

Continue to review full report at Codecov.

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

Thanks @siggiskulason for this PR. We are making some follow up fixes and submitting the change as part of another PR: https://github.com/edgexfoundry/device-mqtt-go/pull/365
This PR should be closed without being merged.


Tests for Feign Content-Encoding responses

After strugling with issue: https://github.com/spring-cloud/spring-cloud-netflix/issues/489#issuecomment-132094542 in version 1.0.3.RELEASE
I would like to propose this simple test case that verifies whether content-encoded responses succeeds, though it's not so simple to test that since the ApacheHttpClient will strip the Content-Encoding header :(

looks like how to setup things, is that the purpose (eg to make sure the setup doesn't break)? I'm asking as I don't see any assertion anywhere that shows the response is indeed encoded.

This is problematic to do, because the Apache HttpClient will remove the Content-Encoding header, although when you run this tests against the version 1.0.1 you will get an exception during decoding.
So this is kind of binary test - either it passes without any error or it fails.

By the way I had build on top of that this little thingy: https://github.com/jmnarloch/feign-encoding-spring-cloud-starter, I could turn that into pull request, but I do not know whether you want it or not.

specifying gzip encoding seems like something desirable. @spencergibb wdyt about the impl? does  https://github.com/jmnarloch/feign-encoding-spring-cloud-starter match spring cloud/boot world well enough to convert to a PR?

seems like it would be generally useful

iotw @jmnarloch go for it :) I suspect you could repurpose this PR or drop an open another.. up to you!

OK, it's done.
This triggers in fact the Feign build in support  by specifing the proper headers. I made an attempt to spring-ify this commit adjusting to your conventions, but if you prefer to rename some classes, or do any other changes this is fine with me.
I've myself started to think whether not to rename the annotations into something user friendly like @EnableRequestCompression / @EnableResponseCompression etc. but for now I've left the existing ones.
I've have any comments just shoot.
cc @adriancole @spencergibb

@jmnarloch thanks! I'll take a look next week after I'm home from spring one.

Looking good. I like what it does. See my comment about how to enable.

Sure, so since we have to distinct part the request/response compression controlled by two different HTTP headers my proposition is to introduce fallowing properties:
feign.compression.response.enabled=true # will be disabled by default

feign.compression.request.enabled=true # false by default
feign.compression.request.mime-types=text/xml,application/xml,application/json
feign.compression.request.min-request-size=2048

I've fallowed the naming convention from Spring Boot 1.3.0
What do you think?

Closed via 0c2c564be54ba671338ef7fb4ff5138d229bc104.
@jmnarloch thanks! how about a followup PR that adds this to the docs?


No map visible because the map container's width or height are 0

I'm getting this warning with OpenLayers 7.4.0, even though I've set the container div to have a width and height via CSS. Then, the map appears, but the copyright message is incorrectly placed. Here is my web page:
<!DOCTYPE html>

	<meta charset="utf-8"/>
	<title>My First Parcel App</title>

Open Layers Tutorial

Though I doubt it's relevant, I'm using parcel for my dev server since it supports hot reloading. I previously got the very same behavior when using SvelteKit, but there's a lot of complexity there so I wanted to do the same with a simple web server. FYI, I install the Open Layers library using  /
Expected behavior
Should get no warning. Furthermore, though the copyright message is placed part way down the page, i.e. not at the bottom, any mouse clicks above the copyright message don't work, i.e. can't be captured via an on click handler.
Screenshots
There's no explanation of how to add a screen shot, nor an item in the above menu for that
Desktop (please complete the following information):

OS: Windows 11
Browser Firefox, Chrome (latest versions)
Version of Open Layers: 7.4.0

@johndeighan your code refers to Openlayers itself and not to this Vue3 specific wrapper library. Please raise an issues there or check out the existing one.
https://github.com/openlayers/openlayers
Furthermore "No map visible because the map container's width or height are 0" has already been answered here: https://github.com/MelihAltintas/vue3-openlayers/issues/22#issuecomment-1622569687

How can you close this issue??? I can also search for the issue and the one you reference has solutions that simply don't work, plus that's a very old issue with an old version. Also, this has absolutely nothing to do with Vue3 - I have no idea where you got that from. I don't think you even looked at my code.

Exactly, this seems to have nothing to do with vue, your code in the description is plain OpenLayers, so please open an issue in the Openlayers repo. This Project simply wraps the Openlayers API, meaning a problem that occurs in Openlayers will also occur here. Nonetheless, the references issue has also been closed as there was a solution by defineing the width/height using CSS.
In your code above, you are importing all Classes directly from Openlayers ol/*. So you don't use anything from this library.
If you think your problem still belongs to this project, please:

provide example code, that shows your actual problem, ideally using the provided Stackblitz starter template
re-open this issue and describe the problem in detail with the related code

Update:

This was my mistake. I did a web search for the error message I was receiving, came to this page, and didn't notice that it was specific to Vue3. Sorry about that. I'll post the issue on the main openlayers page.
The problem that I was having, even with a very simple web page using OpenLayers, was due to not linking to the OpenLayers CSS file. I'm now doing that with <link rel="stylesheet" href="../node_modules/ol/ol.css"> in my  section. Note that I've installed OpenLayers with npm install ol, so this is specific to NodeJS. There's probably a better way to link to the stylesheet - this way won't work if they change the placement of the ol.css file inside the node_modules folder.
The error message I was receiving is completely bogus. I had set the height and width of the map container, but due to the missing link to ol.css, it wasn't being recognized.


Missing strings to be able to translate to PT-BR

Hi,
Missing strings to be able to translate to PT-BR

Other:

Other:


Standardize YAML rules between repositories

:speaking_head: Foreword
Thank for taking the time to fill this feature request fully. Without it we may not be able to , and the issue may be closed without resolution.
:person_frowning: Problem Statement
Since we are enforcing yaml linting we should standardize the ruleset we apply to our repositories.
:grey_question: Possible Solution
Adding a .yamlrc file to each repository will apply a standardized set of rules for repositories.
:arrow_heading_up: Describe alternatives you've considered
:heavy_plus_sign: Additional context
A base .yamlrc file that I have used is below. Let's start with this and update/extend.
extends: default
ignore: .kitchen/
rules:
  line-length:
    max: 120
    level: warning

All Generic files are now handled by github-file-manager, this file should be added to repo-management/standardfiles and then it will automatically be handled


Resolves issue #24 - Add support for stdin matching.

Add feature for --match-stdin and --stdin-match-type arguments to allow testers to mock and match functions based on stdin as well as the argument list.

@CaptainQuirk would you want to look at this one as well?  This was your request.  I added additional options to allow matching on stdin.  I treat them separately meaning you can match on one or the other or both.  If both are provided it is basically an AND of the two that determines whether they match.
Also were you ever able to see merge buttons?  I have been trying to give you that permission but we have had some challenges it seems.

Thanks @ckstettler ! I'll get to it next week !

@CaptainQuirk no worries if you don't have time to review this, just want to make sure that's the case before I take a look


Replace buffer implementation with standard Uint8Array

The conditional use of node's Buffer versus a shim based on Uint8Array leads to subtle incompatibilities between node and the browser. I just spent a couple hours debugging an issue in mapbox-gl-js that stems from the following difference:
var Pbf = require('pbf');
var pbf = new Pbf();
pbf.writeVarint(0);
console.log(pbf.finish().buffer.byteLength);

In the browser, this prints 16, as expected. In node, it prints 8192.
To eliminate this gotcha, pbf should use standard Uint8Array's everywhere, and drop usage of Buffer.

Upstream issue: https://github.com/nodejs/node/issues/6744

I think the main reason to use Buffer instead of Uint8Array was that native write, toString and other shimmed methods were simply much faster in the Node internal version. This may have changed with new Node versions — we need to check this again.

Yeah, just confirmed by running the benchmark in Node on both:
# Node Buffer
decode vector tile with pbf x 750 ops/sec ±2.59% (84 runs sampled)
encode vector tile with pbf x 596 ops/sec ±1.70% (80 runs sampled)

# Uint8Array shim
decode vector tile with pbf x 404 ops/sec ±1.17% (83 runs sampled)
encode vector tile with pbf x 631 ops/sec ±1.96% (84 runs sampled)

Writing is surprisingly slightly faster, but reading performance drop is dramatic — we can't allow such a regression.

It's on the writing side that I lost most of a day to debugging a subtle difference between Buffer and Uint8Array, namely that slice() returns a new Uint8Array but a view of the underlying Buffer.
Can we use Uint8Array unconditionally for writing, or at least ensure that finish() returns a fresh Uint8Array in both implementations?

I don't yet see a good solution here. We can't switch the shim for writing only because you create a Pbf object once and can then mix read/write on it. And converting from Buffer to Uint8Array in finish would require a full copy of the data.
Would it be acceptable to leave the current implementation but add a warning to the finish method description in the docs? E.g. warning about type difference and advocating the use of pbf.length instead of result.buffer.byteLength.

Nobody will find that comment until they've already spent a long time debugging some obscure issue.
You've already benchmarked that using Uint8Array for writes is actually faster. So why not use them?

Workaround in gl-js: https://github.com/mapbox/mapbox-gl-js/commit/57be2ce2821793c5c592572e72b9a9370ddcfd30

You've already benchmarked that using Uint8Array for writes is actually faster. So why not use them?

As I mentioned earlier, we can only switch to Uint8Array for both read/write at the same time, and making reads 2 times slower is not an option. I'm investigating why exactly it's slower, but can't promise to find an actionable cause.

I still think we should just use and accept the performance of Uint8Array.
The current code forces copying the data in the browser when you do new Pbf(uint8Array).

Working on this. Managed to get the Uint8Array decoding perf drop to ~9% from ~46%.


Jupyterlite integration

Hello,
I'm trying to compile and install this kernel to built it with Jupyterlite.
Finally, I think the build is good, but there is an error when I try to integrate it inside Jupyterlite :
$ jupyter lite build --XeusAddon.prefix=/home/davy/miniforge3/envs/xeus-cpp
....
/home/davy/miniforge3/envs/xeus-cpp/lib/python3.12/site-packages/jupyterlite_xeus/add_on.py:56: UserWarning: kernel binaries not found for xcpp
  warnings.warn(f"kernel binaries not found for {path.name}")

Any idea on why this is not detecting xcpp bin which have been build and install ?
Any chance we can get it out of the box soon ?

Looks like we are not installing the xcpp binary at the expected place. Do you know where it is expected to be?

I read more carefully [Jupyterlite xeus doc]https://github.com/jupyterlite/xeus/tree/main?tab=readme-ov-file#build-the-kernel and setup emsdk to build the js kernel.
I got the following error, due to  upgrade from xeus 3->4 :
[ 72%] Building CXX object CMakeFiles/xeus-cpp-static.dir/src/xinterpreter_wasm.cpp.o
/home/davy/Bureau/xeus-cpp-0.4.0/src/xinput.cpp:36:69: error: too few arguments to function call, expected 3, have 2
   36 |                       value = xeus::blocking_input_request("", false);
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~          ^

When I revert to xeus=3.2.0 and xeus-lite=1.0.3, I got plenty errors of this kind :
error: undefined symbol: LLVMInitializeWebAssemblyAsmPrinter (referenced by root reference (e.g. compiled C/C++ code))
warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0`
warning: _LLVMInitializeWebAssemblyAsmPrinter may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: LLVMInitializeWebAssemblyTarget (referenced by root reference (e.g. compiled C/C++ code))
warning: _LLVMInitializeWebAssemblyTarget may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: LLVMInitializeWebAssemblyTargetInfo (referenced by root reference (e.g. compiled C/C++ code))
warning: _LLVMInitializeWebAssemblyTargetInfo may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library

I guess it's not functional right now. It's far from my skills, so I'll have to wait before playing with c++ on Jupyterlite ...
I already can play with python, js, ocaml and sql  :)
Thnaks for your work !

The code base shoud not be upgraded to xeus 4 yet. we need to upgrade other dependencies before.

Hi,
Thanks for guiding me to CI : indeed Jupyterlite actually builds with C++ kernels. I got it with this artifact.
However when I try to run this jupyterlite build locally, I can choose C++ kernels, but they don't work  : I'm not even able to declare variables.
Am I missing something ?

If you are referring to being able to run with wasm inside a web browser we know that's still broken and we have a plan how to fix it. That requires some changes to llvm.

Ok, thanks for your answer. I'll wait for you to work this out then.

Hello @davy39
I was trying out the jupyterlite integration. Indeed JupyterLite builds the c++ kernel and keeps it in the _output directory. I am facing some errors running the build locally though. I am doing it correctly ? (or did you encounter any similar error)
(xeus-lite-host) anutosh491@spbhat68:~/QuantStack/xeus-cpp/build$ jupyter lite serve --port=8888
static:jupyter-lite.json
.  pre_status:static:jupyter-lite.json
    tarball:         jupyterlite-app-0.3.0.tgz 13MB
    output:          /home/anutosh491/QuantStack/xeus-cpp/build/_output
    lite dir:        /home/anutosh491/QuantStack/xeus-cpp/build
    apps:
    sourcemaps:      True
    unused packages: True
archive:archive
contents:contents
icons:icons
lite:jupyter-lite.json
mimetypes:jupyter-lite.json
serve:contents
settings:overrides
translation:translation
.  status:archive:archive
[LiteServeApp] No archive (yet): build-jupyterlite.tgz
.  status:contents:contents
    contents: 0 files
.  status:icons:icons
    favicon files: 7 files
.  status:lite:jupyter-lite.json
[LiteServeApp]     jupyter-lite.(json|ipynb): 0 files
.  status:mimetypes:jupyter-lite.json
    filetypes:         26
.  status:serve:contents
    url: http://<IP_ADDRESS>:8888/
    server: tornado
    headers:
.  status:settings:overrides
    overrides.json: 0
.  status:translation:translation
    translation files: 2 files
static:output_dir
-- pre_init:static:output_dir
static:unpack
-- init:static:unpack
federated_extensions:copy:ext:jupyterlab_pygments
federated_extensions:copy:ext:@jupyterlite/xeus
-- pre_build:federated_extensions:copy:ext:jupyterlab_pygments
-- pre_build:federated_extensions:copy:ext:@jupyterlite/xeus
icons:copy
translation:copy
.  build:icons:copy
.  build:translation:copy
federated_extensions:patch
federated_extensions:settings
Channels:
 - conda-forge
 - https://repo.mamba.pm/emscripten-forge
 - nodefaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done

==> WARNING: A newer version of conda exists. <==
    current version: 24.1.2
    latest version: 24.5.0

Please update conda by running

    $ conda update -n base -c conda-forge conda

## Package Plan ##

  environment location: /tmp/tmp9rowkcua/env/envs/xeus-env

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate /tmp/tmp9rowkcua/env/envs/xeus-env
#
# To deactivate an active environment, use
#
#     $ conda deactivate

Channels:
 - conda-forge
 - https://repo.mamba.pm/emscripten-forge
 - nodefaults
Platform: emscripten-wasm32
Collecting package metadata (repodata.json): done
Solving environment: / warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
- warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides __win needed by ipython-8.4.0-pyh08f2357_1

Could not solve for environment specs
The following package could not be installed
└─ xeus-python is not installable because it requires
   └─ ipython but there are no viable options
      ├─ ipython [8.10.0|8.11.0|...|8.9.0] would require
      │  └─ __win, which is missing on the system;
      ├─ ipython [8.10.0|8.11.0|...|8.9.0] would require
      │  └─ __linux, which is missing on the system;
      ├─ ipython [8.10.0|8.11.0|...|8.9.0] would require
      │  └─ __osx, which is missing on the system;
      ├─ ipython [8.18.1|8.19.0|...|8.24.0] would require
      │  └─ __unix, which is missing on the system;
      └─ ipython [8.14.0|8.20.0|...|8.24.0] conflicts with any installable versions previously reported.

[LiteServeApp] ERROR | [lite] [post_build] [jupyterlite-xeus] [ERR] Command '['/home/anutosh491/conda_root/condabin/conda', 'install', '--yes', '--prefix', PosixPath('/tmp/tmp9rowkcua/env/envs/xeus-env'), '-c', 'conda-forge', '-c', 'https://repo.mamba.pm/emscripten-forge', 'xeus-python']' returned non-zero exit status 1.
Traceback (most recent call last):
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/doit_cmd.py", line 294, in run
    return command.parse_execute(args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/cmd_base.py", line 150, in parse_execute
    return self.execute(params, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/cmd_base.py", line 570, in execute
    return self._execute(**exec_params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/cmd_run.py", line 265, in _execute
    return runner.run_all(self.control.task_dispatcher())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/runner.py", line 254, in run_all
    self.run_tasks(task_dispatcher)
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/runner.py", line 213, in run_tasks
    node = task_dispatcher.generator.send(node)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/control.py", line 629, in _dispatcher_generator
    next_step = node.step()
                ^^^^^^^^^^^
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/control.py", line 336, in step
    return next(self.generator)
           ^^^^^^^^^^^^^^^^^^^^
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/control.py", line 345, in _func
    for value in decorated(*args, **kwargs):
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/control.py", line 473, in _add_task
    new_tasks = generate_tasks(to_load, task_gen, ref.__doc__)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/loader.py", line 390, in generate_tasks
    for task_dict, x_doc in flat_generator(gen_result, gen_doc):
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/doit/loader.py", line 27, in flat_generator
    for item in gen:
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/jupyterlite_core/manager.py", line 138, in _delayed_gather
    yield from _gather()
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/jupyterlite_core/manager.py", line 131, in _gather
    raise error
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/jupyterlite_core/manager.py", line 123, in _gather
    for task in getattr(addon, attr)(self):
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/jupyterlite_xeus/add_on.py", line 116, in post_build
    self.create_prefix()
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/jupyterlite_xeus/add_on.py", line 142, in create_prefix
    create_conda_env_from_specs(
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/jupyterlite_xeus/create_conda_env.py", line 69, in create_conda_env_from_specs
    _create_conda_env_from_specs_impl(
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/jupyterlite_xeus/create_conda_env.py", line 129, in _create_conda_env_from_specs_impl
    return _create_env_with_config(CONDA_COMMAND, prefix_path, specs, channels_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/site-packages/jupyterlite_xeus/create_conda_env.py", line 144, in _create_env_with_config
    subprocess_run(
  File "/home/anutosh491/y/envs/xeus-lite-host/lib/python3.12/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/anutosh491/conda_root/condabin/conda', 'install', '--yes', '--prefix', PosixPath('/tmp/tmp9rowkcua/env/envs/xeus-env'), '-c', 'conda-forge', '-c', 'https://repo.mamba.pm/emscripten-forge', 'xeus-python']' returned non-zero exit status 1.

The port 8888 is even blocked but I don't see the jupyter lite frontend.


Performance in NCHW layout operations

Hello!
I saw that you write about NCHW to NHWC transfer.

Could you provide list of layers in next release which will be affected?

Hi @allnes
There won't be any layers affected in 24.02. This deprecation notice is an advanced warning about our decision to focus the development efforts on NHWC in the future releases. In order to get the best performance it's better to use NHWC.
Hope this helps.


Unable to display all content

First of all, thanks for this amazing plugin!
I view class diagrams in Meraid doc. in Defining Relationship chapter.
I copy example code to obsidian. after renderer render the code, The image has been truncated.
It include class M N O P, but they didn't display in image.I attempted to zoom in and out using ctrl.But it's useless.
Maybe it could add move and zoom function.
link is Defining Relationship
The code is not far behind the title.
code:
classDiagram
classA <|-- classB
classC *-- classD
classE o-- classF
classG <-- classH
classI -- classJ
classK <.. classL
classM <|.. classN
classO .. classP

@shadedcastle please remember that this plugin has no control over how Obsidian renders mermaid! So, unfortunately, I can't help with this problem. It's best to raise this issue in official Obsidian forums.


Unable to operate after upgrade to 5.1.0 version

Describe the bug

Steps to reproduce

do this
do that
now this happens

Expected behavior
Old bpmn fils should work without any issue
Environment

OS: [e.g. MacOS 10.2, Windows 10]
Camunda Modeler Version: [e.g. 2.0.0]
Execution Platform: [e.g. Camunda Platform, Camunda Cloud]
Installed plug-ins: [...]

Additional context
No response

Please attach a diagram / concrete steps to you took so we're able to reproduce your case.


Add a script to check differences

Fixes https://github.com/kubernetes/website/issues/14416

/lgtm

/approve


Update README.md

In the future, please perform tests like this on your own repositories instead of spamming those of others.


I want to only find the first,Can you provide the method?

Done with: https://github.com/klinker24/Android-TextView-LinkBuilder/commit/06c41790443304a1a0e07d3b82a726edc3e1ccbc
V1.5.0 will be available on maven central soon.


Release/p1

Codecov Report

Merging #28 (ce6598b) into main (152c89a) will decrease coverage by 0.54%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
- Coverage   32.80%   32.25%   -0.55%
==========================================
  Files          12       12
  Lines         125      124       -1
  Branches       31       30       -1
==========================================
- Hits           41       40       -1
  Misses         79       79
  Partials        5        5

Impacted Files
Coverage Δ

src/pages/about.tsx
61.53% <ø> (ø)

src/pages/blog/index.tsx
71.42% <ø> (-3.58%)
:arrow_down:

Continue to review full report at Codecov.

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


Integrate "how rich are you" calculator in main site

Bianca is working on a design reskin of this

Duplicate


Documentation suggestion to tools/experimental_features.yaml

I think e.g. should be i.e. in
https://github.com/dart-lang/sdk/blob/0a05e3f9994d58f3c8c83bc5721cc3bdf6ec5779/tools/experimental_features.yaml#L21-L23
There is also a typo introduced in https://github.com/dart-lang/sdk/commit/5642199dd05919c4b7cfface2311a97d531066be#diff-84c30c6b87a13921ae01137b1c0caa14100e594fabc89e456a4f1aad417d43c3R103

https://dart-review.googlesource.com/c/sdk/+/278512


Adjust height of textarea for no JS case

Datasette Lite: https://lite.datasette.io/?sql=https://gist.githubusercontent.com/simonw/1f8a91123ccefd8844187225b1832d7a/raw/5069075b86aa79358fbab3d4482d1d269077d632/recipes.sql#/data?sql=select+id%2C+name%2C+ingredients%2C+(
++select+json_group_array(value)+from+json_each(ingredients)
++where+value+in+(select+value+from+json_each(%3Ap0))
)+as+matching_ingredients
from+recipes
where+json_array_length(matching_ingredients)+>+0
order+by+json_array_length(matching_ingredients)+desc&p0=["sugar"%2C+"cheese"]

Would be neat if it could adjust the non-JS height of the test area to fit the query displayed when the page is loaded.

I went with number of lines + 2 ems in height:

It gets confused by wrapping text but I think that's OK:

Hard to demo this because the JavaScript kicks in, but if you view source on this page:
https://latest.datasette.io/_memory?sql=select+id%2C+name%2C+ingredients%2C+(
++select+json_group_array(value)+from+json_each(ingredients)
++where+value+in+(select+value+from+json_each(%3Ap0))
)+as+matching_ingredients
from+recipes
where+json_array_length(matching_ingredients)+>+0
order+by+json_array_length(matching_ingredients)+desc
If you view source on that page:

<textarea id="sql-editor" name="sql" style="height: 9em"
            >select id, name, ingredients, (
  select json_group_array(value) from json_each(ingredients)
  where value in (select value from json_each(:p0))
) as matching_ingredients
from recipes
where json_array_length(matching_ingredients) > 0
order by json_array_length(matching_ingredients) desc</textarea>

Demo in Datasette Lite: https://lite.datasette.io/#/fixtures?sql=select
++pk1%2C
++pk2%2C
++content%2C
++sortable%2C
++sortable_with_nulls%2C
++sortable_with_nulls_2%2C
++text
from
++sortable
order+by
++pk1%2C
++pk2
limit
++101


Exception: No such host is known when using s3 .NET API PutObjectAsync

I'm not sure if what I'm trying is actually supposed to work with s3ninja:
using System;
using System.Threading.Tasks;
using Amazon.Runtime;
using Amazon.S3;
using Amazon.S3.Model;

namespace s3demo
{
    class Program
    {
        static async Task Main(string[] args)
        {
            var key = "...";
            var secret = "...";
            var creds = new BasicAWSCredentials(key, secret);
            var config = new AmazonS3Config {
                ServiceURL = "http://localhost:9444"
            };
            var client = new AmazonS3Client(creds, config);
            var buckets = await client.ListBucketsAsync();
            foreach (var bucket in buckets.Buckets) {
                Console.WriteLine(bucket.BucketName);
            }
            var putObjectRequest = new PutObjectRequest {
                    BucketName = "mybucket",
                    Key = "blah",
                    ContentBody = "sample text"
            };
            var response = await client.PutObjectAsync(putObjectRequest);
            Console.WriteLine(response.HttpStatusCode);
        }
    }
}

This code works fine against a real s3 account in the us-east-1 region.
The exact same code, when run against an s3ninja instance running locally gives the following after about 30 seconds:
Unhandled exception. System.Net.Http.HttpRequestException: No such host is known.
 ---> System.Net.Sockets.SocketException (11001): No such host is known.
   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken
cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cance
llationToken)
   at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellati
onToken)
   at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, Cancellat
ionToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationToke
nSource cts, Boolean disposeCts)
   at Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken cancellationToken)
   at Amazon.Runtime.Internal.HttpHandler`1.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.RedirectHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.Unmarshaller.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.ErrorHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CredentialsRetriever.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.RetryHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.CallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.S3.Internal.AmazonS3ExceptionHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeAsync[T](IExecutionContext executionContext)
   at Amazon.Runtime.Internal.MetricsHandler.InvokeAsync[T](IExecutionContext executionContext)
   at s3demo.Program.Main(String[] args) in s3demo\Program.cs:line 30
   at s3demo.Program.<Main>(String[] args)

The MetricsHandler holding up the show here is clearly trying to talk to something that doesn't exist, but after tinkering with a bunch of options on AmazonS3Config I can't make it work.
Any ideas?

Hello @lesscodedotnet 👋 Thanks for getting in touch. Looks to me like a problem relating to subdomain-style access, i.e. <bucket>.<host>/<key>. Can you enable path-style access somehow, i.e. <host>/<bucket>/<key>? (I am not set up to check .NET samples myself 😔) To make subdomain-style access work, you may need to edit your hosts file to route traffic to your local S3 Ninja server.

Ah, thank you! I had to use ForcePathStyle = true on the AmazonS3Config. Seems so obvious to me now.


lookup_linke_turbidity speed improvement (Issue #437)

[x] Closes issue #437
[x] Fully tested. Added and/or modified tests to ensure correct behavior for all reasonable inputs. Tests must pass on the TravisCI and Appveyor testing services.
[x] Code quality and style is sufficient. Passes git diff upstream/master -u -- "*.py" | flake8 --diff and/or landscape.io linting service.
[x] New code is fully documented. Includes sphinx/numpydoc compliant docstrings and comments in the code where necessary.
[x] Updates entries to docs/sphinx/source/api.rst for API changes.
[x] Adds description and name entries in the appropriate docs/sphinx/source/whatsnew file for all changes.

Note: git diff upstream/master -u -- "*.py" | flake8 --diff is giving me fatal: bad revision 'upstream/master'. I use pylint though and it didn't complain on additions.

Looks like the build is passing now. I can squash commits if needed.

Looks finished to me. I plan to merge tomorrow, so now is the time to comment if anyone has objections.


Opaque error reporting

I've been playing with staticman and built the following site:
https://purpleidea.com/blog/hello-world/
Code is here: https://github.com/purpleidea/purpleidea.com/
When I submit the form I get a "success" message, but no PR is delivered.
Everything else is setup properly AFAICT.
Is there a way to access logs? Should we add an API call to show some logs?
Thanks,
James

Here are a few common errors I found which are hard to figure out since there are no logs available:

If the path (directory) doesn't exist in the destination repo at the configured spot, you'll get a GITHUB_WRITING_FILE error.

If the configured path either starts or end with a / (slash) you'll get a GITHUB_WRITING_FILE error.

If you try to expand a placeholder that doesn't exist, you'll get an error.

If you don't specify the transform dictionary, it will default to email md5 AIUI. You need to specify email: "" (empty string) if you want it to leave the emails alone.

HTH to someone else who finds this. It would be really awesome if you could get better error output.


Update profiles

Hi, and sorry for my English!
There was a question about the updates profiles. I downloaded a profile in which 3000+ publications, from which 700 publications downloaded. Now, when I want to download this profile with the option --fast-update - the download stops on the files already downloaded. And when I want to download this profile without the --fast-update option - the download starts, but the already downloaded files go along for a long time, along with pauses and "Too Many Requests" messages. Is there a solution for this situation?
Full command I am using:
"%PYTHON%" "%FOLDER%\instaloader.py" --sessionfile="%FOLDER%\.session" --login=LOGIN --password=PASS --comments --geotags --stories --highlights --no-metadata-json --no-video-thumbnails --max-connection-attempts=0 --post-metadata-txt="{caption}" --dirname-pattern={profile} --filename-pattern={date_utc}_UTC.{shortcode} PROFILE

There has been a short discussion related to your concern in #216, however we are not aware of any solution for this problem.


How can I make my GDAX bot make maker trades so that I dont have to pay fees?

Basically the title says it all. I want to avoid taker fees and make maker trades (limit trades). How can this be done?

Gekko can only create maker orders. You don't have to do anything manually. Though if you simulate (backest, paper trader), you have to confiugure the paper trader to use fees that mimic your real environment.


v0.1 - Standard Library on the BEAM

Summary
While #6 is about getting support for a set of OCaml language features, this issue is about putting together a standard library that can be used to interface with the Erlang standard library in a more-or-less idiomatic way.
This likely means 2 things: FFIs and a small runtime library. Some modules might be a combination of both.

Checklist
FFIs
In any case, some of these modules will have to break direct compatibility with their Erlang equivalents due to their APIs being uncomfortably unidiomatic OCaml or untypeable in OCaml.

[x] Process -- as per the experiments i've done on typing message passing, it's likely that we'll need a way to constrain the process types and expose a receive function as a stand in for receive expressions. This module would implement that runtime overhead.

[x] spawn/2
[x] contramap/2
[x] send/2

This seems good as it is right now. We'll open a new issue to collect missing FFIs before we tag v0.1


Possible Bug in RefreshTokenGrant: public clients always raise UnauthorizedClientError

According to Section 6 of RFC-6749 there is no special requirement that clients must be confidential to use the refresh_token type grant. See line 40 in RefreshTokenGrant where there's an extra check for confidential clients:
class RefreshTokenGrant(BaseGrant):

    def _validate_request_client(self):
        # require client authentication for confidential clients or for any
        # client that was issued client credentials (or with other
        # authentication requirements)
        client = self.authenticate_token_endpoint_client()
        log.debug('Validate token request of %r', client)

        if not client.check_client_type('confidential'):
            raise UnauthorizedClientError()

        if not client.check_grant_type(self.GRANT_TYPE):
            raise UnauthorizedClientError()

        return client

Unless I'm misunderstanding something, this is a bug. If someone can confirm I'll make a PR to fix.

        # require client authentication for confidential clients or for any
        # client that was issued client credentials (or with other
        # authentication requirements)

Here, we need confidential client to exchange an access token.
Via https://tools.ietf.org/html/rfc6749#section-2.1
   confidential
      Clients capable of maintaining the confidentiality of their
      credentials (e.g., client implemented on a secure server with
      restricted access to the client credentials), or capable of secure
      client authentication using other means.

   public
      Clients incapable of maintaining the confidentiality of their
      credentials (e.g., clients executing on the device used by the
      resource owner, such as an installed native application or a web
      browser-based application), and incapable of secure client
      authentication via any other means.

require client authentication for confidential clients or for any
client that was issued client credentials (or with other
authentication requirements)

That is correct, confidential clients have the requirement that they be authenticated by appropriate mechanisms. However, public clients do not have that requirement. This endpoint uses the same rules for client authentication as the other token endpoints, there is no extra requirement that the client be confidential to use the refresh token grant type.

fixed.


Put the app online

Hi there,
ELECTRON-4-PHP is really good !
but just how can we acess to our online PHP version ?
actualy the php is in local, should we keep it or get an online php from a web server ?

Looking for same answer. Did you found solution?

You can have api to work with online. Electron4php is specially for offline.
On Thu, Dec 24, 2020, 5:48 AM nUKEmAN4<EMAIL_ADDRESS>wrote:

Looking for same answer. Did you found solution?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/AJ-TechSoul/ELECTRON-4-PHP/issues/30#issuecomment-750622709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGP4QIB4SGW62MQXJFS2LWLSWKCGDANCNFSM4UGRAJJQ
.

I also have this doubt. I've been looking for a solution to this for a while. Have any of you managed to use anything satisfactory?

I also have this doubt. I've been looking for a solution to this for a while. Have any of you managed to use anything satisfactory?

If you want to just view the online PHP website app as desktop app, then no problem, you can just create a page in index.php and redirect that to the URL. But if you want only post request from online version then use Rest Api. (Google Rest API)
Do let me know if this solved your problem ?

You can have api to work with online. Electron4php is specially for offline.
…
On Thu, Dec 24, 2020, 5:48 AM nUKEmAN4 @.***> wrote: Looking for same answer. Did you found solution? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGP4QIB4SGW62MQXJFS2LWLSWKCGDANCNFSM4UGRAJJQ .

How about building/packaging it as .exe application in order to make it installable? Will that be possible?


#26

#26

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

It seems your PR base on main branch not dev branch, dependencies and code style  both different.

It seems your PR base on main branch not dev branch, dependencies and code style both different.

what should i do now?

you can use some diff merge tool, pick up your code into new branch that based on dev.

will do. Thx


SwiftSyntax Parser: expose parser diagnostics via C API.

This allows SwiftSyntax to listen to emitted diagnostics during
parsing.
rdar://48439271

@swift-ci please smoke test

Please consider adding an in/out parameter for the length of any C strings this API takes/returns.  LLVM’s abstractions that map raw strings have an interesting relationship to NUL bytes, especially internal NUL bytes.

@CodaFi would it really be a problem? These null-terminated string segments will be used in the SwiftSyntax side to copy to a Swift string and discarded immediately afterwards.

@akyrtzi  all comments are done

@swift-ci please smoke test


setup.py: make it works with python3 based tox.

Make tox work if it has been installed to use python3 (like
it is in recent ubuntu).

Current coverage is 65.47% (diff: 100%)

Merging #1668 into master will not change coverage

@@             master      #1668   diff @@
==========================================
  Files            54         54
  Lines          6105       6105
  Methods           0          0
  Messages          0          0
  Branches       1205       1205
==========================================
  Hits           3997       3997
  Misses         1904       1904
  Partials        204        204

Powered by Codecov. Last update 1f56f51...3a7adac

👍

I don't see any obvious regressions for Python 2.x but I wonder why we'd want this in there? Are you running Graphite successfully with Python 3.x?

I'm not running Graphite with Python 3, but my tox command seems to use python3 to run setup.py

Maybe something wonky with your python environment? IMHO you should be developing and running your tests in a virtualenv anyways.

Regardless I don't see any problems with this going in for now with the expectation that One Day :tm: we'll support Python 3. 😜

@iksaif I'm tempted to merge it, but given that it's largely an unnecessary change and that the same hasn't been submitted for the other projects, I'm going to pass on this for now.
@deniszh You have any strong opinion on this?

@obfuscurity - I also have no idea why this change is needed for @iksaif
So - ¯_(ツ)_/¯

Ok I'm closing this one now but I'm gonna hold onto it like that last piece of bubble gum for when we really need it. :wink:

To add more context: this change is needed to simply be able to run "tox" on modern systems (such as my ubuntu box where python3 is default). Running tox in a virtualenv works, but is kind of counter-intuitive because tox will then install more virtualenv to run the tests.

Modern systems or not, Python 2.x is still a requirement for Graphite. Our own tox.ini requires Python 2.7 as the basepython.


crypto: fix the EnsureSubCA function failing to read the serial.txt file

The EnsureSubCA function would fail if the serial.txt file did not exist before it's called.
This PR fixes the above, adds unit tests for the Ensure* functions, and removes the deprecated ioutil module use from the crypto package.

/assign @deads2k

/approve


npm install (nodejs 4.1.1) errors, cannot find config.gypi

gyp: deps/libmariadbclient/config/config.gypi not found (cwd: /Users/myname/local_dev/bfmweb/server/node_modules/mariasql) while reading includes of binding.gyp while trying to load binding.gyp
i checked what npm downloads and it just excludes config.gypi from the package, really strange....

ok, yes, it just doesn't like the name... i renamed the file and references to it and it started to work.  This is the name of the file that npm automatically generated and there was a security flaw and they just decided to probably remove all files with this name from the package..... :)

Duplicate of #102.


heater-shaker: allow loading a labware w/ universal adapter on h/s

Overview

If not using a dedicated & supported labware+adapter combo listed in #9443, then we will be recommending users to use the universal adapter, which is a flat plate of aluminum, to conduct heat well. Decide on how to incorporate the adapter's height when loading a labware.

Implementation details

Maybe add an optional arg like load_labware(...., universal_adapter: bool =True)
Or maybe we assume that users will always have this adapter and hence, add the adapter's height to all labware by default
Also think about how skirted labware will sit on top of this adapter. If the skirt sits around the adapter, then the adapter height won't add up to the overall labware height.

Acceptance criteria

Loading a labware loads the correct labware info & geometry

It has been decided that we will not be implementing this, instead users will be directed to creating a custom labware definition with their labware & universal adapter.
Closing this one.


className is undefined with css-modules enabled and enzyme

I add sass-loader, css-loader with css-modules enabled in webpack config and use enzyme to test components. After shallow rendering of a react component, className is undefined.
Below is my package script
"test": "mocha-webpack --webpack-config webpack.config-test.js --watch 'src/components/**/*.spec.js'"

And webpack.config-test.js
var nodeExternals = require('webpack-node-externals');

module.exports = {
  target: 'node',
  externals: [nodeExternals()],
  devtool: 'cheap-module-eval-source-map',
  resolve: {
    extensions: ['', '.js', '.jsx']
  },
  module: {
    loaders: [
      { test: /\.jsx?$/, loader: 'babel-loader', exclude: /node_modules/ },
      { test: /\.svg$/, loader: 'svg-url-loader', exclude: /node_modules/ },
      { test: /\.(jpe?g|png|gif)$/i, loader: 'file-loader', exclude: /node_modules/ },
      { test: /\.css$/, loaders: [
        'css-loader?importLoaders=1&modules&localIdentName=[local]',
      ], exclude: /node_modules/ },
      { test: /\.scss$/, loaders: [
        'css-loader?importLoaders=1&modules&localIdentName=[local]',
        'sass-loader'
      ], exclude: /node_modules/ }
    ]
  }
};

And Button.jsx
import React, { PropTypes } from 'react';
import styles from './Button.scss';

class Button extends React.Component {

  render() {
    const { text } = this.props;
    return (
      <button
        className={styles.default}
      >
        {text}
      </button>
    );
  }
}

Button.propTypes = {
  text: PropTypes.string,
};

export default Button;

And the test spec
import React from 'react';
import { expect } from 'chai';
import sinon from 'sinon';
import { shallow } from 'enzyme';
import Button from './Button';

describe('<Button />', () => {
  it('should render properly', () => {
    const wrapper = shallow(
      <Button
        text="Test"
      />
    );

    console.log(wrapper1.find('button').props());
    expect(wrapper.find('.default').text()).to.equal('Test');
});

The test failed because it cannot find anything with className default. The log showed that button has a className of undefined.
I'm wondering if css-modules is supported in mocha-webpack.

Replace css-loader with css-loader/locals.

@zinserjan thank you, it works now. I think it worth mentioning in readme :-)

@zinserjan Thanks a lot! It works for me too!Note: For prerendering with extract-text-webpack-plugin you should use css-loader/locals instead of style-loader!css-loader in the prerendering bundle. It doesn't embed CSS but only exports the identifier mappings.


Fix lens example

Fix typo, and modified some lenses in accordance with the wiki (https://github.com/milessabin/shapeless/wiki/Feature-overview:-shapeless-2.0.0#boilerplate-free-lenses-for-arbitrary-case-classes)

Thanks!
The spelling correction ("Lense" -> "Lens") is good ... mea culpa.
The examples are correct as they are though, and it would be better to update the wiki to match rather than the other way around.

Thank you for replying for my PR. For now, I will fix only typo.

Current coverage is 73.94% (diff: 100%)

Merging #640 into master will not change coverage

@@             master       #640   diff @@
==========================================
  Files            68         68
  Lines          3589       3589
  Methods        2850       2850
  Messages          0          0
  Branches        186        186
==========================================
  Hits           2654       2654
  Misses          935        935
  Partials          0          0

Powered by Codecov. Last update 77d4782...de3a6e7

I have fixed typo ("Lense" -> "Lens").

Many thanks ... merging :-)


De-vendor vendored dependencies

Comment:
Hello @conda-forge/onnxruntime ! I am interested in trying to fix https://github.com/conda-forge/onnxruntime-feedstock/issues/31, and if you think it may be useful become mantainer, to handle possible future Windows problems.
I started trying to tackle the Windows compilation in https://github.com/conda-forge/onnxruntime-feedstock/pull/56, but I soon realized that a possible source of problem is the various packages that are vendored by the package. So a possible way forward is to first work on de-vendoring the various dependencies currently used by the package, and then work on the Windows port. Are you ok with that plan, or you see possible problems?
For what regard de-vendoring, I saw some interesting work done on the conan side in https://github.com/conan-io/conan-center-index/pull/16849  and merged upstream in https://github.com/microsoft/onnxruntime/pull/15323 (thanks a lot and kudos to @mayeut), so a possible way forward is to adapt those patches for conda-forge .

Thank you very much @traversaro for looking into this and apologize for the late response: I was on holiday.
A lot has changed upstream in the build-setup since #31. Most importantly, most dependencies are now fetched via cmake's FetchContent module. While not pretty/pure it actually makes packaging easier if we just accept it. Onnxruntime has been very picky with dependency versions in the past. If we de-vendor the dependencies I expect that we will have to pin quite a lot of them explicitly and maintain those pins with each release. If upstream indeed manages to get their dependencies up to date and in-tree we can consider de-vendoring.
In the meantime, it would be great to get Windows working using the vendored dependencies. I don't have experience with packaging for windows but I think this should also work with protobuf, too, but @xhochy might have much better insights on this regard.


Add support for encoding control points as half precision fp

Allow representing path control points as half precision floating point numbers. This reduces the size of most binary assets by nearly half, which helps with size comparisons versus compressed text SVGs. Since we flatten out all path transforms into a single coordinate set, its unlikely that there are substantially large enough values to fall outside of the range of valid half floats.
Nevertheless, we could still conditionally enable half precision by analyzing the path data in the compiler, as the codec handles either encoding by using a different path tag. In this PR though, a single compiler flag controls this setting to make it easier to test in google3.
Still testing if this reduces binary size substantially enough at scale, but locally this makes the bundle of encoded and zipped svgs in the flutter_svg package smaller than the equivalent text encoding
Flutter svg repo test:

SVG assets zipped: 55Kb
single precision float vector format zipped: 73Kb
half precision float vector format zipped: 43 Kb

Will plan on validating in g3 first


Streamline Admin Set creation process

Current admin set creation
Adding a new admin set requires

Take "Administrative Sets" option from Administration sidebar menu to open the List of Administrative Sets.
Select "Create new administrative set" button
Fill in title and abstract/summary sections. Click "Save". You are returned to the List of Administrative Sets.
Select the administrative set that you just created from the bottom of the list.
Click the "Edit" button from the display Administrative Set.

Comments
After creating a new administrative set, it would be helpful to be routed directly to the Edit Administrative Set form so the remaining permissions could be modified and the workflow assigned as necessary.
The create form is identical to the first tab of the edit form. If these could be combined somehow, it might be ideal, since you would generally want to access all of the tabs as part of the add process as well as when editing.

Thoughts on the above, @ggeisler @jcoyne @hannahfrost?

I agree with @laritakr. On the successful creation of a new admin set, I'd display a flash message and re-present the page as if you were editing the admin set, with the additional tabs and edit title, etc.

The main drawback I see from a UX point of view is the possibility that the user will not understand why they see the same form again, but 1) the flash message will hopefully clue them in to what's going on, and 2) presumably most users with privileges to create admin sets will do it enough for the workflow to be clear.

@ggeisler Building on that, I wonder if it may be worth adding another sentence highlighting the new tabs, and "welcoming" the user to explore them.

In the flash message, right @mjgiarlo? Sure, maybe something like:

The administrative set "Test Admin Set" has been created. Use the additional tabs to define other aspects of the administrative set.

I'd suggest not getting more specific or verbose than that, because that is probably enough and getting more specific will lead to maintenance complications in the future if the purpose of the tabs change or are extended, etc.

@ggeisler :+1:

Something to be added to the other issue to actually get the flash message working? :D

@laritakr Yeah, that'd be good. ;)


1GB Resource Creation from iRODS Fails

When one uploads a >1GB file into users.hydroshare.org and attempts to create a HydroShare resource from said file, it fails with the message "Error.  Sorry, an error occured."  Small files work though.

@rayi113 This has been fixed and the fix has been manually applied on www. It appears to work as expected on www based on my testing. Can you test to see if it works now, and if it works, close this issue?

@hyi @mjstealey Yes, works now on www.  Thanks very much!


KC-827: Use TruncationOffset from the Fetch response

Simplify the fetch response by only returning a truncation offset when
necessary. In most situation one round (fetch resquest-response) of truncation
using just the offset should be enough. We expect to see multiple rounds of
truncation if there where multiple sequential leaders that wrote records to the
log but didn't get committed. We feel that this condiditon is rare.
More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I am going to close this issue. @hachikuji made the change against Apache Kafka.
https://github.com/apache/kafka/pull/9275
https://github.com/apache/kafka/pull/9290


Android Keyboard does not load

On Android, tapping into the chat box does not load the keyboard. As a result, the chat widget is not usable on Android.
(tested using a Pixel 5).

@ayoubamine Has anyone previously reported this? Do you see the same issue?

Good to know it's not only me. Would love a solution if anyone has.

@manorceo do you already fix this issue? i found this issue when trying to improve my old project. in past time, this bug not exist

I haven't gotten around to trying to fix it yet but would still be
interested in a fix.
On Tue, Jul 5, 2022, 23:44 Alvin Ramadhani @.***> wrote:

@manorceo https://github.com/manorceo do you already fix this issue? i
found this issue when trying to improve my old project. in past time, this
bug not exist
—
Reply to this email directly, view it on GitHub
https://github.com/ayoubamine/flutter_tawk/issues/8#issuecomment-1175745036,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ5BZTAE52DJ36KYVUYUY2DVST6J7ANCNFSM5J47IVKQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Publish 7.4.1-20220219003207+0000

Publish 7.4.1-20220219003207+0000

@bot-gradle test and merge

OK, I've already triggered a build for you.


Changed project url in nuspec to point to github

resolves #13

Hm, the checks failed because of something I didn't touch...

Hm, the checks failed because of something I didn't touch...

Yes, all PR builds seem to be failing... hopefully it will be fixed soon
BTW, it looks like you removed the UTF-8 byte order mark from the files; I suppose it wasn't intentional ;)

The files you are patching are no longer used.
Thank you for your help though :)


feat: support image scanning

What this PR changes?
This PR adds support for image scanning in the latest version of Kubescape. Requires kubescape/kubescape#1288. TODOs rely on merging and releasing the linked PR.

@dwertent last time we spoke about this, we handed this over to @Daniel-GrunbergerCA some time ago to add support for all the new image scanning features, like changed output, views etc
I can pick this back up if needed.

We will add this to the backlog

Waiting for oficial release to be merged (and changing the branch to main)

I talked to @Daniel-GrunbergerCA about it already... we should build the image kubescape-cli here instead of kubescape repo. Also we could then base it on busybox:latest or similar.
Also it looks like the github action is rebuilding the image on every run?

we should build the image kubescape-cli here instead of kubescape repo

Yeah, that would be ideal. I thought we had a reason to use an image tag in your Quay. The ideal scenario is that the Github Action repo takes mainline Kubescape as a base image, adds Busybox or a working shell and then uses it to run the action.

Also it looks like the github action is rebuilding the image on every run?

Since our Action definition points to a Dockerfile in the repo now, yes, it does rebuild the image on every run. The best practice is to build it only once per release, but that would require us to revisit our build steps here. You can see the Git blame for context.

Since our Action definition points to a Dockerfile in the repo now, yes, it does rebuild the image on every run. The best practice is to build it only once per release, but that would require us to revisit our build steps here. You can see the Git blame for context.

I want to revisit everything... so either:

we move entrypoint.sh and all needed modifications for the action in kubescape/kubescape and we build kubescape-cli there as part of the release
we build kubescape-cli here from the latest binary published in kubescape/kubescape and as you say we have an orchestration issue

@dwertent @matthyx @Daniel-GrunbergerCA
We seem to be tacking a lot of things onto this PR: first it was about supporting image scanning, then we would like it to be released faster to incidentally solve #48, and now we are talking about changing the build flow for our Action image.
In my opinion, we should focus on:

releasing a version with updated Kubescape (essentially, solving for distroless)
making a stable tag so that people will use kubescape/github-action@v1 instead of kubescape/github-action@main.

The first one is working. We can improve the way it’s done. The second can be done manually if we’re strapped for time. But I would really love if we added automated tagging on release label for this repo.
If we get a blank check on time for improving the Github Action, let’s change the build flow for sure. If not, I suggest we create issues for things we mentioned here and put them in our backlog, too.
Assuming we want to solve #48 ASAP, I suggest we do this:

include Busybox when building the Action image here, not anywhere else. Meaning, we build our image based on mainline Kubescape (FROM github.com/kubescape/kubescape:v2.9.1) and then install Busybox ourselves. I consider this essential.
Make a tag for the Github Action.
Make an automated step in our workflow that creates releases for PRs merged with the release label.
Create an issue for building the image only once per tag, not before every run, and put it in the backlog.

How does that sound?

You cannot use github.com/kubescape/kubescape:v2.9.1 as the base image since it only contains ksserver:
https://github.com/kubescape/kubescape/blob/master/build/Dockerfile#L17

You cannot use github.com/kubescape/kubescape:v2.9.1 as the base image since it only contains ksserver:
https://github.com/kubescape/kubescape/blob/master/build/Dockerfile#L17

You’re right, my bad. The correct image would be github.com/kubescape/kubescape-cli:v2.9.1 now, correct?

You’re right, my bad. The correct image would be github.com/kubescape/kubescape-cli:v2.9.1 now, correct?

Yes the one that didn't build because of libgit on Windows... it will be 2.9.2 if we're lucky

For now it was decided that we would only update the cli image on this PR. The tagging and building process will be handled later

@dwertent see results here: https://github.com/kubescape/github-action/security/code-scanning?query=pr%3A46+is%3Aopen

I noticed the results say:

Detected by Grype

ready for review


Causing high cpu consumption of system

Software version: 1.2, downloaded from release page
System version: 10.14.6(18G2022)
Problem: After starting this app, the utilization of CPU(i5-8265u) is about 25%-30%, which makes the cpu stuck at high frequency(3GHz+) and consume a lot of energy. I take a look at the Activity Monitor app, and the cpu usage of this app is quite low. So the nettop command maybe the root cause.
Screenshot:

That's right, using nettop is not a cpu efficient way of monitoring network bandwidth, and I'm looking for new solution to this. Right now I have to leave it as it is.

Got it. Thanks for developing this App.😆

A more cpu-efficient method is used now, please check the new release, and let me know if there's any problem.

Sorry for my late to see this. I have tried it out just now. Very nice. Great work~😄


Lat/Long reversed in GeoJSON MultiPolygon

http://jsfiddle.net/6Bvus/1/
I'm finding it strange that I have to reverse the lat/long on my polygons for it to render in the correct location (I've included comments in the JavaScript on what's correct).
Reproducible on all Safari, Chrome, FF using Leaflet 0.7.2.

Maybe an inverse option could be added to do this. In my use case, I extract features from GeoJsonLayer and work with them individually and I have to deal with it.

@ajshukury dealing with special cases like that is outside the scope of Leaflet.
Have you looked at the toGeoJSON methods in Leaflet? This should give you the expected coordinate order.
If you have deal with flipping the axis yourself, you could use an external library to help you deal with it. For example, Turf.js has the function flip, which will handle flipping coordinate order for you.

@perliedman yeah. I use the flip function and was wondering if it is something useful and widely used by others too then maybe adding to leaflet worth but other than that not necessary.  Thanks

Just a quick comment because it gave me so many headaches.  I was trying add geojson into Leaflet and I thought I had to use a loop to swap the coordinates and put them into L.polygons.  But the only real problem was that I was using L.geoJSON(geojson).addTo(map) instead of L.geoJson(geojson).addTo(map) to bring the shape into the map. This is because the syntax is different between the two versions.


Interrupted downloadDir() fails to resume

Steps to reproduce:

call downloadDir on a large bucket with lots of nested folders
Interrupt script halfway (ctrl-c)
Re-run script

You will receive various filesystem errors, seemingly on the files that were being touched when the process was ended.
Examples:
Error: EISDIR: illegal operation on a directory, open
Error: EPERM: operation not permitted, unlink
Error: ENOENT: no such file or directory, open
This happens every time, it is not intermittent.
Is there any way I can work around this? I don't mind if the sync takes forever, I'm more concerned that it doesn't get stuck in an invalid state.

Having the same issue.
unable to download: Error: EISDIR, open...

Same issue here... I updated graceful-fs dependency to version 4 and seems to work so far. I'm downloading 3 prefixes? from a bucket... over 7.500 files and 250 folders. There's an issue open to upgrade graceful-fs from version 3 to 4, as monkey-patching is no longer supported.

Not working here. I've already try to update graceful-fs.

Any updates on this subject?

Bump, this error interrupts downloadDir() at about 1/4 progress consistently for me.


feat: Support Chart.transform_filter(*predicates, **constraints)

Will close #3657
Description
This PR enables the same syntax from alt.when to be used in alt.TopLevelMixin.transform_filter.
Honestly, I'm still a bit shocked by how little needed changing in the implementation.
Besides tweaking the signature and handling the deprecated argument, it really was just these 2 lines:
https://github.com/vega/altair/blob/2d57d6ec74f868eb08811602475d7beb2a57fd8a/altair/vegalite/v5/api.py#L3102-L3103
To explain this, _parse_when returns our version of VL-Condition.
We can either use that as-is or unwrap the "test" key, which stores an already parsed test VL-Predicate.
Besides this small change, most of the PR consists of new docs & tests.
Doc (Examples)
Setting up a common chart:
source = data.population.url
chart = (
    alt.Chart(source)
    .mark_line()
    .encode(
        x="age:O",
        y="sum(people):Q",
        color=alt.Color("year:O").legend(symbolType="square"),
    )
)
chart

Singular predicates can be expressed via datum:
chart.transform_filter(datum.year <= 1980)

We can also use selection parameters directly:
selection = alt.selection_point(encodings=["color"], bind="legend")
chart.transform_filter(selection).add_params(selection)

Or a field predicate:
between_1950_60 = alt.FieldRangePredicate(field="year", range=[1950, 1960])
chart.transform_filter(between_1950_60) | chart.transform_filter(~between_1950_60)

Predicates can be composed together using logical operands:
chart.transform_filter(between_1950_60 | (datum.year == 1850))

Predicates passed as positional arguments will be reduced with &:
chart.transform_filter(datum.year > 1980, datum.age != 90)

Using keyword-argument constraints can simplify compositions like:
verbose_composition = chart.transform_filter((datum.year == 2000) & (datum.sex == 1))
chart.transform_filter(year=2000, sex=1)

Tasks

[x] Deprecate using filter as a keyword argument

plan
related PR
commit

[x] Replace current .transform_filter() implementation
[x] Review current tests/failures

Was expecting this to be more complicated
No test failures
One typing issue

[x] Add new tests for (*predicates, **constraints) syntax (https://github.com/vega/altair/pull/3664/commits/b49703968d9ca2a3493eaa3f7b2e7a54ed0476e2)
[x] Address predicate dict typing issue

Found in (https://github.com/vega/altair/pull/3664/commits/fc672bccf1f15c310b0e882e63d07a4cfa3de48c)
thread

[x] Update .transform_filter() docstring (https://github.com/vega/altair/pull/3664/commits/7a0cc42a99a0e2ba4f3e9c1e662ce7dbfeece5a2)

Thanks @dangotbanned! This looks great!
Would it be possible to add the examples that you describe within the docstring of the .transform_filter() method also within the data transformations in the official documentation around here: https://altair-viz.github.io/user_guide/transform/filter.html#logical-operands?

Thanks @dangotbanned! This looks great!
Would it be possible to add the examples that you describe within the docstring of the .transform_filter() method also within the data transformations in the official documentation around here: altair-viz.github.io/user_guide/transform/filter.html#logical-operands?

Thanks @mattijn!
Yeah that sounds like a good idea, will try and take a look later today

@mattijn preview from (https://github.com/vega/altair/pull/3664/commits/3efc144c25be4acaf2b642f59c5ee23add88e383)
I'm quite happy with the flow in the transform_filter() docstring.
But the other parts are already covered earlier in the page

Thanks @dangotbanned 🥳!


Bug fix 3.7/escape jquery uploadfile plugin filestring and fileliststring

Same as: https://github.com/arangodb/arangodb/pull/13986
Please click the link for details.

One Jenkins run is enough and has been started in the linked origin PR.


fix PR 3962 ec2_securitygroup_allow_ingress_from_internet_to_any_port

Context
As  mentioned on prowlers slack channel, I think the PR #3962 contained some semantic glitches and redundant code that this PR fixes.
Description
I think the newly introduced check ec2_securitygroup_allow_ingress_from_internet_to_any_port does not need to call again for each security group, respectively for each of their rules, the method check_security_group because this had been done already beforehand when collecting all data about security groups and their rules.
However, I had to sligthly modify the method check_security_group in security_groups.py to return not only True if ports is None but also if ports is an empty list.
Doing so, security_group.public_ports becomes True on security groups without ingress filtering (<IP_ADDRESS>/0) and as such the check ec2_securitygroup_allow_ingress_from_internet_to_any_port does not need to iterate all security groups, respectively their rules again, to let FAIL the check in case of open ports.
Last but not least, the method __describe_security_groups__ in ec2_service.py needs to test whether check ec2_securitygroup_allow_ingress_from_internet_to_any_port is being executed (and not ec2_securitygroup_allow_ingress_from_internet_to_all_ports) because ec2_securitygroup_allow_ingress_from_internet_to_any_port may set all_public_ports to True.
All 60 unit tests from within aws_provider_test.py were executed successfully.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I withdraw my PR because it seems that I did not execute all related unit tests just by running aws_provider_test.py  because I thought this test will include all the unit tests located in its subfolders. So, if really all unit tests are run, some are failing because of my code changes.
Unfortunately I don't have yet an idea how to optimize  @sergargar's PR #3962  to avoid the code redundancies and to save some CPU cycles.
Also the "semantic glitches" I mentioned earlier are due to my mix of prowler v3 and prowler v4. In pure prowler v4 I don't see these "semantic glitches" anymore, so @sergargar's PR #3962 is fine for me.

I opened PR #3979 to address the code redundancies and to save some CPU cycles.


Try to recover when encountering JPEG markers with too short marker lengths (issue 8169)

The issue with the JPEG image in question, is that the COM (Comment) marker has an incorrect length entry.
Fixes #8169.

/botio-linux preview

/botio test

/botio test

/botio makeref


Create Organization site Admin on Organization Create

Add the following fields to the createOrganization mutation
adminFirstName: String!
adminLastName: String!
adminEmail: String!
adminWorkPhone: String!
adminCellPhone: String!

update the createOrganization call to also create and creat a new okta user with the new admin fields and add them to the ADMIN group

Worth considering: add an input type to the schema for InputContact or InputPersonName so we can start to chip away at our mammoth flat argument lists.

Question on this... createUser in the ApiUserService doesn't take a phone number, nor do we store work or cell phones on any of our entities currently. What should I do then with adminWorkPhone and adminCellPhone? Should I just put them into the userProfileMap of the Okta user? cc @benwarfield-usds since Tim is out

@aliciabeckett-gov, where do we want the admin's contact information stored? Okta profile seems reasonable to me, if we have any reasonable likelihood of being able to find it there later--otherwise possibly we need to store it somewhere in the DB? There isn't a place for it right now, though.

Also I decided to try putting together NameInput as an input type and it works quite well, so I'd love to get it integrated with this story if it doesn't slow you down unduly.

We don't need it. We have it in the sign up form, which is going to be put in our CRM and tied to the org there. Today we don't use it beyond setting up their okta account.


Adjust timeout for lock renewal related tests

This PR is to fix few of the lesser occurring test failures on CI.
Specifically, since ones related to lock renewal (non-sessions) all take time 85 - 92 seconds and the timeout is at 90s, the CI logs some of these as timeout failures.

won't we need a similar change to the "sessions" versions of these tests?

Yes, I had checked - they are already updated to be 95s and don't seem to require an update (no such failures on CI)


chore: Alphabetise

Changes no actual contents, but puts lists in alphabetic order.
Also applies semantic line breaks to markdown content.
@isaacs Unless you've other new types in mind, I could release a 0.3?

LGTM. Everything that tap-yaml is doing is here now, so I'm not aware of anything else. I have a sort of long-ish term goal of getting nice YAML representations of React components, but that might not be reasonable 😅


JBEHAVE-1416 Fix comment output for commented steps

https://travis-ci.org/github/jbehave/jbehave-core/builds/728273069 Passed build

https://github.com/jbehave/jbehave-core/commit/e06bc45135553f3ccc2731b84aab060b841aa648 in master


Handle auto indent correctly after unicode representation of =>

No tests provided because no test suite exists. The unicode
representation may be used in pattern matching, function literals and
self references. For all of them a new indentation level needs to be
introduced.
Fixes #1002383

LGTM


Clarify Legacy RSE specialization

Closes #324, trying to distill what was already discussed there and what was discussed in our meeting yesterday.

Do you want to include a link to the HPC Specialisation?

No, I think this is close enough (same section).
I deliberately did not say "above"/"below" as well, to allow reordering.


Fix error when using process_info/2 on remote PIDs

Small patch to not throw when parsing stacktraces.
This function currently throws right now when you have a remote pid in your call chain, which may happen if you are passing module/function/arguments from one node to another, since :erlang.process_info throws a badarg when it's pass a pid from a remote machine (https://www.erlang.org/doc/man/erlang#process_info-2).
Since this function is private I didn't add any tests, but this can be tested in iex by manually making this function public and:
# Open one iex Session
iex --name<EMAIL_ADDRESS>-S mix
> pid = spawn(fn -> :timer.sleep(:infinity) end)
> :global.register_name(:test_process, pid)

# Open second iex session
iex --name<EMAIL_ADDRESS>-S mix
> remote_pid = :global.whereis_name(:test_process)
> Sentry.LoggerBackend.get_sentry_from_callers([remote_pid])
** (ArgumentError) errors were found at the given arguments:

  * 1st argument: not a local pid

    :erlang.process_info(#PID<21647.324.0>, :dictionary)
    (sentry 8.1.0) iex:128: Sentry.LoggerBackend.get_sentry_from_callers/1
    iex:6: (file)

Great catch @peixian, thank you! 💟


[SPARK-19986][Tests]Make pyspark.streaming.tests.CheckpointTests more stable

What changes were proposed in this pull request?
 I observed the scheduled delay was keeping increasing for dozens of seconds locally.
This PR increases the batch interval from 0.5 seconds to 2 seconds to generate less Spark jobs. It should make pyspark.streaming.tests.CheckpointTests more stable.
How was this patch tested?
Jenkins

Test build #74686 has started for PR 17323 at commit 6dddaab.

cc @tdas

Test build #74686 has finished for PR 17323 at commit 6dddaab.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/74686/
Test PASSed.

Merged build finished. Test PASSed.

LGTM. Merging to master and 2.1


docs: Update link to complete example

Description
Fix link to complete example.

This PR is included in version 5.0.0 :tada:


add custom replication port

Allow to run the cluster on a non-standard replication port

Rebased and fixed some things, let's see how the tests go now..


Empty loginProvider no longer supported.

Docs clearly state that you can leave out loginProvider and this allows the user to pick a login provider. As of last week, type definitions state loginProvider is required and the webpage requests setting loginProvider.
The functionality was important for my application because it allowed users to pick their least worrisome sign in method. If this functionality is removed, how can we support specifying all LOGIN_TYPES or provide an array ?

@chaitanyapotti  Saw you commit "Make loginProvider Mandotory" https://github.com/Web3Auth/web3auth-react-native-sdk/commit/9b705a6d5bd067dc301e4fa88bde3735ff040166

Bump

Hello..
apologies for the delayed response.
the docs are under a revamp and aren't updated yet.
We've made the loginProvider parameter as mandatory because of complaints received from play store and app store.
Both of them have informed us that all login(OAuth) buttons have to be present within the app itself. So, we had to make this change.!


Apple's HomeKit app and Tuya's Smart Life app displayed not same(cover device )

Excuse me, when I tested the curtains with the example of a plugin, Apple's HomeKit app worked fine, but Tuya's Smart Life app displayed a light bulb. What's the reason for this? thank you.
https://github.com/Luligu/matterbridge-example-accessory-platform

Hi,
thanks for your interest.
Can you provide a complete guide about pairing to Tuya's Smart Life app please.
As you see https://github.com/Luligu/matterbridge/issues/97 other users have issues on that.


Fix UI theming for skinned desktops

This PR adds proper foreground and background theming to the program to fit in with an existing system's theme, and also fixes an issue with dark theme systems. That also includes icons, which now properly contrast with their backgrounds.
This does not cover everything, but it does fix most windows and panels.
This PR also changes the default color pallet to be more appealing. I suggest the devs build this, run it, and see what they think before accepting it. It is subjective, but overal improves readability and lessens the harsh contrasts.
Here is a screenshot of the main window + the about page on a dark theme system after my changes:

Summary by Sourcery
Improve UI theming to align with system themes, particularly for dark mode, and update the default color palette for better readability.
Bug Fixes:

Fix UI theming issues for dark theme systems by adjusting foreground and background colors to ensure proper contrast.

Enhancements:

Update the default color palette to improve readability and reduce harsh contrasts.

I probably would have chosen a more central location to apply the color changes, but I appreciate any effort to help address our Achilles heel = UI

I probably would have chosen a more central location to apply the color changes, but I appreciate any effort to help address our Achilles heel = UI

Where would such setting be applied? To be honest, i have never worked with wxpython a single time prior to this, and rarely ever with python in general. Only reason i could navigate well was due to prior experience in other languages. Does WX python have a 'default' property i can set somewhere? I looked once before but i couldn't find any reference about it.


after upgrade app is crashing when entering background

Hi,
im getting the following error after entering background mode:
017-02-24 15:59:16.569903 core[17405:4486648] Disconnected from FCM
[DEBUG] Did enter background
[DEBUG] Did close IPv6 listening socket 10
[DEBUG] Did close IPv4 listening socket 9
[INFO] GCDWebServer stopped
GWS_DCHECK(_options == nil);  // The server can never be dealloc'ed while running because of the retain-cycle with the dispatch source
is this a known issue?
Regards,
kab

Workaround is:
ionic plugin add<EMAIL_ADDRESS>

could possibly be related to this:
https://github.com/swisspol/GCDWebServer/pull/292/commits/f45963007ba383aa570241eaa9914dc00a36524d

yeah same here

Same problem here! It's a real problem for my user...

same here

same here :)

I would appreciate a fix too

same problem here :C

This is working ok:
https://github.com/driftyco/cordova-plugin-wkwebview-engine.git#4221015eb3f309fe593a7d81205b691e27088743

@gabrielbazan7 suggestion prevents the app from crashing, but "PATCH" xhr request are not working anymore (CORS), "GET" is working fine.

For the interim, edit GCDWebServer.m:
_suspendInBackground = [_GetOption(_options, GCDWebServerOption_AutomaticallySuspendInBackground, @NO) boolValue];

On resume from iOS lock screen, all local user file resources are unavailable:
"Failed to load resource: Could not connect to the server. http://localhost:8080/var/.."

NOTE: Resume from User app-switching responds differently for each of the following scenarios:

Run from Xcode
1.1. Debug cable attached - App freezes as per @kabus202.
1.2. Debug cable detached - App resumes by reinitialising completely
Testflight - App local user file resources are unavailable:
"Failed to load resource: Could not connect to the server. http://localhost:8080/var/.."

Add key to your XCode project -info.plist 'Application does not fun in background' = YES.

I tried to add in Xcode projet -info.plist Application does not run in background' = YES
but it's not working. can you copy paste the full key exemple?

I have identical config but it's doesn't work...

We are using https://github.com/driftyco/cordova-plugin-wkwebview-engine/commit/4221015eb3f309fe593a7d81205b691e27088743, have not tested that setting with latest master.

Seems that 3e6840d0ec5395e768932d5a3c469558e5f6e1eb is working for me, others?

Yep, I can confirm that it's working with the master.