Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:cde:cde:26.4:::::::*
CVE
CVE-1999-0112, CVE-1999-0690, CVE-1999-0713
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
7.0.4
Description
"Confidence: Low"
packages are available in https:/repo.osgeo.org/
see also:

#4346
#4347

Also seeing this for the following:

jar
Package URl
CPE

gt-http-26.4.jar
<EMAIL_ADDRESS>cpe:2.3:a:cde:cde:26.4:::::::*

gt-xsd-core-26.4.jar
<EMAIL_ADDRESS>cpe:2.3:a:cde:cde:26.4:::::::*

it seems this is matching on the version number (does not cause false positives with GeoTools 26.3)
Most / all can be suppressed using
    <suppress>
        <notes><![CDATA[
   any GeoTools 26.4 artifact is not CDE
   ]]></notes>
        <packageUrl<EMAIL_ADDRESS>        <cpe>cpe:/a:cde:cde</cpe>
    </suppress>

it seems this is matching on the version number (does not cause false positives with GeoTools 26.3)

More likely that as of version 26.4 there is something added in the evidences that makes CDE return as a hit, as the NVD listing is for cpe:2.3:a:cde:cde:*:*:*:*:*:*:*:*


error: Imports not contiguous (perhaps a comment separates them?)

(pokeai) cpchung@cpchung:~/.../CypherANTLR$ mvn git-code-format:format-code
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.example:patternmatch:jar:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.version' for org.testng:testng:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 87, column 22
[WARNING] 'dependencies.dependency.version' for org.projectlombok:lombok:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 93, column 22
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.projectlombok:lombok:jar -> version RELEASE vs 1.18.16 @ line 96, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ----------------------< org.example:patternmatch >----------------------
[INFO] Building patternmatch 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- git-code-format-maven-plugin:4.2:format-code (default-cli) @ patternmatch ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.202 s
[INFO] Finished at: 2023-01-10T12:03:08-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.cosium.code:git-code-format-maven-plugin:4.2:format-code (default-cli) on project patternmatch: Execution default-cli of goal com.cosium.code:git-code-format-maven-plugin:4.2:format-code failed: com.google.googlejavaformat.java.FormatterException: error: Imports not contiguous (perhaps a comment separates them?) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Is it something from cosium side?

Bug template bypassed => issue closed.


Support for android customtabs

Can you add some documentation about the coordinates for this extra to the readme docs please?

I cant seem to find the customtabs anymore. Has Google removed that with latest SDK releases? Currently this does not work for me.

Send money bank account soppy and tomorrow


split part of Platformdetector into MutexDetector

Codecov Report

Merging #3443 into dev will decrease coverage by <1%.
The diff coverage is 56%.

@@          Coverage Diff           @@
##             dev   #3443    +/-   ##
======================================
- Coverage     81%     81%   -<1%
======================================
  Files        341     342     +1
  Lines      27785   27785
  Branches    3758    3758
======================================
- Hits       22443   22413    -30
- Misses      4257    4271    +14
- Partials    1085    1101    +16


Implement shapeshift.io for sending altcoin tips

The code is already written, it just need to be commented out and tested

done, and tested for litecoin


Fix #2949: Remove the CLI.

The CLI has been ported over to the separate repository https://github.com/scala-js/scala-js-cli.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4426/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5971/
Test PASSed.


Is there a way to wrap the process bar output?

I want to get all the process bar output, and send them to somewhere else.
And prevent process bar print to stdout or stderr.
I want the process bar's output inject to a iTerm2 session.
https://iterm2.com/python-api/examples/sumselection.html
await session.async_inject(process_bar.output())

Thanks for your help.
Sorry for the bad typing. process should be progress


Fix bad italics in docs

For the four lines below only, bookbinder is incorrectly treating the underscore as an italics marker. This fixes this issue in the CF docs, so if y'all wouldn't mind, it would be great to squeeze this into this release.
@shalako (thanks for the heads up)
@duglin @avade @vaikas-google @pmorie

Does this mess with other markdown renders?

This works with Bookbinder and Github markdown renderers. If anyone uses something else, please check it doesn't break stuff and then L G T M 😄

ok, thanks, Matt.
LGTM

we really need to find a better solution than trying to support two versions of md in one file. Can we please check to see if the CF docs process can be modified so that it doesn't take the md file directly from github but instead can support reading from a local file? Then we can send the github version thru a pre-processor to do things like add these underscores and not have to worry about this going forward. It seems to me that since Bookbinder appears to be a CF owned app it shouldn't be too hard to make this minor change.  I'll volunteer to help create the converter, if someone from the CF side will modify Bookbinder to read from a local file.

@bentarnoff Do you have any idea how difficult it would be to add support for this? I think this is the only discrepancy between how Github renders Markdown vs Bookbinder. Thanks!

In this underscore case, shouldn't BB not pick-up the underscore in this case? it seem to me that an underscore in the middle of a word (no space before or after it) should not be treated as a signal to turn on italics.

If bookbinder is picking up _ in full words then there is an issue. _hello_ should result in italics where hello_hello should not.
Currently, there is no active team on bookbinder so we would need to PR to get this fixed.
@mattmcneeney could your team look into it? or we could pair tomorrow for a bit.

Going to take a look at this today (puts developer hat on). Will feedback any findings.

PR submitted to fix this @shalako @avade @bentarnoff
https://github.com/pivotal-cf/bookbinder/pull/116
Going to close this PR since it will no longer be required.

Awesome!
On 8 Jun 2017 8:39 pm, "Matt McNeeney"<EMAIL_ADDRESS>wrote:

Closed #218
https://github.com/openservicebrokerapi/servicebroker/pull/218.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openservicebrokerapi/servicebroker/pull/218#event-1116138850,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeB1zOij-98sFIj9NH6wsQTYGZ8sb-kks5sCE3-gaJpZM4Nvy2u
.

thanks!


safety packaging dependency conflicts with packages that require newer version of packaging

safety version: 2.3.5
Python version: 3.10
Operating System: Linux

Description
The changelog for release 2.34 says the issue with packaging 22.0 is fixed:
https://github.com/pyupio/safety/blob/d8bd6f7baefba3db6dcdef8f5a2750da15150106/CHANGELOG.md#234---2022-12-07
https://github.com/pyupio/safety/pull/439
However, in 2.3.5 packaging was then fixed to a compatible range being < 22.0:
https://github.com/pyupio/safety/commit/aa1b1532818a1b2cb229b14907cad64c927fa8c6
I noticed this when I was updating dependencies and had a version conflict caused by newer packages requiring packaging
Because no versions of safety match >2.3.5,<3.0.0
 and safety (2.3.5) depends on packaging (>=21.0,<22.0), safety (>=2.3.5,<3.0.0) requires packaging (>=21.0,<22.0).
And because black (23.1.0) depends on packaging (>=22.0)
 and no versions of black match >23.1.0,<24.0.0, safety (>=2.3.5,<3.0.0) is incompatible with black (>=23.1.0,<24.0.0).

What I Did
Temporarily reverted the packages with a conflict and pinned them to an earlier version.

Hi @rktoomey, 2.3.4 fixed the issue temporarily; in the coming days, a new version with multiple improvements will resolve the dependency issue you are reporting.

Is there any update on the release of 2.3.6?

@kevinbowen777, we will release 2.4.0 as a beta with many improvements and a fix for this issue. The release will happen this week.

Thank you. I'm looking forward to testing the new release.

@yeisonvargasf do you have any update on the safety release?

Hi @rktoomey, @kevinbowen777, and @snazy, thanks for your patience here; we released a beta version (Feb 26) with significant changes and additional improvements.
This version ( https://pypi.org/project/safety/2.4.0b1/) should fix this issue. Could you try?
Let me know if this version works for you.

Thanks for the beta release. I've been running it successfully against a couple of my repos and it looks good so far. This version also appears to fail properly with the insecure-package installed.

LGTM (our build's passing w/ 2.4.0b1 + the currently blocked tox + black version bumps)

Hi @yeisonvargasf, do you have an update when 2.4.0 will be released?

Hi, @yeisonvargasf, sorry for the delay.
I just tested my build with 2.4.0b1 and it works great. Thanks for working to get this fixed! Looking forward to the release :)

Hi, @andy-maier agree about the problem with pinning; the pinning was a quick fix as we are under a significant revamp of Safety CLI, which right now is in a closed beta phase for version 3.0
In the coming month, we'll revamp our CI/CD pipelines to catch these issues and release quicker new features and bug fixes. We should have a better changelog, contribute guides, and better PR checks.
Also, as a comment, PyUp is in a rebranding journey, so hoping you all see soon the changes we are working on.

What's the status on a new version release? Is it an option to release 2.4.0 before 3.0, or perhaps even a 2.3.6 bugfix?
It would be nice to avoid this error with an unbound upper-version as on main branch. Also, why not move all content of setup.cfg and test_requirements.txt to pyproject.toml?

Hi @rktoomey and everyone involved,
Thank you for your patience and for bringing this to our attention.
We understand the challenges caused by the dependency conflicts with the packaging library. We are pleased to inform you that Safety version 3 has been released, and it should resolve the conflicts with newer versions of packaging.
However, we recognize that pinning dependency versions can sometimes cause conflicts. To prevent similar issues in the future, we are working on improving our CI/CD pipelines to better test and validate our dependencies.
Please test your environment with the latest version, Safety 3, and let us know if the conflict persists. We are committed to ensuring smoother updates and fewer dependency conflicts moving forward.
Thank you for your continued support and for helping us improve Safety!
Best Regards,
The Safety Team

The conflict is solved here, tested with latest safety == 3.2.6.
Also, why not move all content of setup.cfg and test_requirements.txt to pyproject.toml?


Subdivide

Not really an issue
Just incase you find it helpful. I created a UI component called Subdivide very much with live video editing in mind you may find it helpful for building editors.
https://www.youtube.com/watch?v=3ePrvrx9otk
https://github.com/philholden/subdivide

Hi Phil,
Thanks for passing that on. Looks very interesting. I'll pass it onto some colleagues who may find it useful.
Marking this as closed now.


Update Yosys

Prompt
OpenLane’s SystemVerilog support is restricted by its older version of Yosys.
Proposal
Yosys should be updated. The issue here is though is that some designs break for reasons I cannot yet discern. This isn’t an MPW3 merge window thing, obviously.

This is going to get critical for a project we are considering. Any ETA on when this update is likely? Workarounds exists, but they are painful and not reliable.

Thanks for the heads up, I'll prioritize it.

Appears yosys is exposing a corner case in OpenROAD: https://github.com/The-OpenROAD-Project/OpenROAD/issues/1428

https://antmicro.com/blog/2021/10/openlane-asic-build-flow-with-systemverliog-support/

Thanks. I have come across this blog and while it claims to give instructions on how to support the latest version of Yosys, it really isn't clear. I have no way to know which is the Docker image I need to point to. I also find it less validated in the Openlane environment, so by having Openlane bump up the version of Yosys, I would get more confidence this works.

hi @kauser-rl you need to point to a docker image built in the make merge step. By default it is efabless/openlane:current (see: https://github.com/antmicro/openlane/blob/use-yosys-uhdm-plugin/docker_build/Makefile#L4), but you can change it to any name you want (but you need to use this name consecutively)
try this flow:
git clone https://github.com/antmicro/openlane.git -b use-yosys-uhdm-plugin
cd openlane/
make openlane
make pdk
export IMAGE_NAME=openlane:uhdm
cd docker_build/
make build-yosys
make merge
cd ..
make test

I'll update the blog note so it is more clear. Thanks for the feedback

Hi @kgugala, thanks for the instructions. I gave it a go in my Ubuntu 20.04 machine and got the below error. I'm assuming this has been tested on CentOS and not Ubuntu?
> make build-yosys
mkdir -p logs/docker
docker build --rm --build-arg YOSYS_REPO=https://github.com/antmicro/yosys --build-arg YOSYS_COMMIT=09da6caf076e2d829bdc453eba3f0613a6385ff7 -t yosys docker/yosys | tee logs/docker/yosys.build.txt
Sending build context to Docker daemon  5.632kB
Step 1/39 : FROM centos:centos7 as build
 ---> eeb6ee3f44bd
Step 2/39 : RUN yum groupinstall -y "Development Tools"
 ---> Running in 47ce1dba62d5
Loaded plugins: fastestmirror, ovl
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64
The command '/bin/sh -c yum groupinstall -y "Development Tools"' returned a non-zero code: 1
make export-yosys
make[1]: Entering directory 'openlane-yosys-uhdm/docker_build'
rm -f tar/yosys.tar.gz && echo "Deleted existing tar/yosys.tar.gz"
Deleted existing tar/yosys.tar.gz
mkdir -p tar
id=$( docker create yosys) ; \
   docker cp $id:/build.tar.gz tar/yosys.tar.gz ; \
   docker rm -v $id
Unable to find image 'yosys:latest' locally
Error response from daemon: pull access denied for yosys, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
must specify at least one container source
"docker rm" requires at least 1 argument.
See 'docker rm --help'.

Usage:  docker rm [OPTIONS] CONTAINER [CONTAINER...]

Remove one or more containers
make[1]: *** [Makefile:29: export-yosys] Error 1
make[1]: Leaving directory '/home/kauserjohar/Documents/work/tools/openlane-yosys-uhdm/docker_build'
make: *** [Makefile:20: build-yosys] Error 2

This is tested daily on Ubuntu via the CI that updates Yosys- so no, that's not it.
yum runs over http and not https, make it vulnerable to all sorts of DNS misconfigs, ISP http hijacking, etc. I would try a VPN.

Yosys will be updated after mpw-4 is tagged.


VERSION not in peg.d.ts

Won't block release for this.  Next time someone is in the file, please fix.

not sure I understand, what's missing here?

require('peggy') // ->
{
  VERSION: '0.11.0',
  ...

  That VERSION is maintained by hand, which is why it's wrong.  I'll go fix that, but leave this bug for updating the .d.ts


Support function pre and post hooks to be run prior to and after given commands.

This is necessary because some commands like makemigrations require cache's to be reset etc when run within the same memory space.

The pre hook's return value should be able to tigger the routine to skip the command.


[Outlook] (sideload) Add option to manage add-ins through File > Info…

… > Manage Add-ins
Fixes https://github.com/OfficeDev/office-js-docs-pr/issues/2318.

Docs Build status updates of commit 954ec39:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/sideload-outlook-add-ins-for-testing.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Re-enable pylint on some configuration files

CATEGORY
Choose one

[ ] Bug Fix
[ ] Enhancement (new features, refinement)
[X] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

Re-enable pylint on some configuration-related files.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@john-bodley @dpgaspar @mistercrunch

Codecov Report

Merging #8767 into master will decrease coverage by 6.23%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master    #8767      +/-   ##
==========================================
- Coverage   72.07%   65.84%   -6.24%
==========================================
  Files         123      482     +359
  Lines       12844    24157   +11313
  Branches        0     2770    +2770
==========================================
+ Hits         9257    15905    +6648
- Misses       3587     8074    +4487
- Partials        0      178     +178

Impacted Files
Coverage Δ

superset/legacy.py
100% <ø> (ø)
:arrow_up:

superset/migrations/env.py
0% <0%> (ø)
:arrow_up:

superset/forms.py
95.45% <100%> (+0.45%)
:arrow_up:

superset/stats_logger.py
74.41% <66.66%> (ø)
:arrow_up:

superset/config.py
89.95% <77.77%> (ø)
:arrow_up:

superset/assets/src/components/Checkbox.jsx
100% <0%> (ø)

.../assets/src/dashboard/reducers/dashboardFilters.js
88.46% <0%> (ø)

...ets/src/dashboard/components/dnd/DragDroppable.jsx
94.59% <0%> (ø)

superset/assets/src/components/EditableTitle.jsx
80.28% <0%> (ø)

...src/explore/components/controls/VizTypeControl.jsx
76.92% <0%> (ø)

... and 354 more

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 665e947...c395639. Read the comment docs.


Feature/snippets

Snippets functionality like pandoc-include-code.
For now this should support include for python, r, julia, html, js, ojs, and css. It might work on other documents too, but will have to guess by searching for non-alphanumeric characters.

I hope my answers suffice. Sorry that stylua linted this code pretty aggressively, it might have made review more work than it had to be.

Also, if we want to keep linting in the future there is a config file for stylua. In my case, the config is
# stylua.toml
column_width = 160
line_endings = "Unix"
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferSingle"
call_parentheses = "None"


No such file or directory: 'amplitude/import/265511_2020-11-17_22#41.json'

Traceback (most recent call last):
  File "amplitude-bigquery.py", line 186, in <module>
    import_events_file = open("amplitude/import/" + file_json(file), "w+")
IOError: [Errno 2] No such file or directory: 'amplitude/import/265511_2020-11-17_22#41.json'

Thanks for the script. I created bucket + tables. But I stay stuck to this line of code. I have tried to understand where 'amplitude/import/'  directory is created but I can't find when. Am I missing something?

@stefdelec You're not missing anything, you have to manually create the folder as the script actually doesn't take care of that. I might add that into the script at some point, it's honestly an oversight from my initial build.

thanks for the answer! You mean create the folder locally? I may do a pr if you want.
Out of curiosity, i dont understand the need to upload .json on cloud storage. Can you explain to me?

Glad you figured it out, I noticed your edits too. Let me know if you have more questions!


Remote Connections

Thanks for this docker, everything works as expected, except I am having an issue trying to use Windows RDP to remote into the VM.  The default ip address assigned is on 20.20.20.xxx network, I tried changing it via the network adapter but then it wouldn't connect to the internet. I have it set up as Bridge connection currently, I thought that might have defaulted it to the 192.168.xxx network.

Great to have Windows in a docker so thanks very much.  I am using RDP to gain access but as Windows has no password set I receive the message "user account restriction..." message.  Is there any way to set a password to the Docker account?

I installed this as soon as I saw this in the app store.  I added the password in windows and all works.  cheers


use natural sorting library for sorting unit names

I've noticed that when I used numbers as unit names, units are not correctly sorted because by default sorted function does string sorting.  This causes units to be sorted like this
1
10
11
...
2
20
21
...
3
30
...
I've used natsorted function which is provided by natsort library (available via pip) to solve this problem. natsorted is a function that just works, its even able to correctly sort text that has numbering in it such as "P0, P1, P2...".
I think this line of code could also use natsorted, but I'm not exactly sure?

I looked at your changes. It looked a little clunky using natsorted for the pin names, so I extracted the logic I already had for the pin sorting and made it available for the unit sorting. I ran my tests on it and it gives the same results as using natsorted.
We can return to using natsorted if it has some feature that is necessary. If we do use it, we'll have to add it to the list of dependencies in setup.py.
I put my changes into a branch called hyOzd-natural-sort. Give it a try and let me know if it works OK for your tests. Then we can merge it.

@xesscorp I've tested your branch and it performs as I expected. I agree that natsort dependency is not needed.

OK, I've got the branch merged into master, the readthedocs documentation is in place, and it's updated to version 0.1.17 on pypi.


bug: meltano test - tap-snowflake, reports success but the tap doesn't work

Meltano Version
2.7.1
Python Version
3.8
Bug scope
CLI (options, error messages, logging, etc.)
Operating System
Ubuntu
Description
Follow the steps here https://hub.meltano.com/extractors/tap-snowflake

add snowflake
Configure snowflake incorrectly
Run meltano test tap-snowflake

The test success even though I"m missing a required key of "Tables"

Code
No response

The tap-snowflake was not selected by the test command (0 test(s) successful. 0 test(s) failed).
@visch does meltano config tap-snowflake test work as expected?

@edgarrmondragon  Yes meltano config tap-snowflake test works as expected! Maybe this is a hub issue then as it's asking to run the wrong command

Started a PR to change the suggested command: https://github.com/meltano/hub/pull/881

This is fixed with the doc update I believe!


Revert back from energy to power sensor device class

Since Energy and Power are two different things, revert back to the correct state. Sensor displays power.
The State Class "measurement" can stay.

@flixlix is right, i mixed it up.

Thank you @flixlix.
I applied this change and got another error
  File "/config/custom_components/volkswagen_we_connect_id/sensor.py", line 101, in <module>     state_class=measurement, NameError: name 'measurement' is not defined
In my case I had to revert this line as well to fix this integration. Is that only me ?

This PR can be closed, issue with "NameError: name 'measurement' is not defined" is solved in #155

@mitch-dc this pr have issues, it is #155 that needs to be merged :)


Appstudio update test-component-pac-uhqo

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-uhqo-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
16 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
2 minutes
build-container

✅ Succeeded
4 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
42 seconds
sanity-inspect-image

✅ Succeeded
39 seconds
deprecated-base-image-check

✅ Succeeded
31 seconds
sbom-json-check

✅ Succeeded
23 seconds
sanity-label-check

✅ Succeeded
25 seconds
sanity-optional-label-check

✅ Succeeded
9 seconds
show-summary

Pipelines as Code CI/test-component-pac-uhqo-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
9 seconds
init

✅ Succeeded
24 seconds
clone-repository

✅ Succeeded
30 seconds
build-container

✅ Succeeded
12 seconds
clair-scan

✅ Succeeded
10 seconds
deprecated-base-image-check

✅ Succeeded
12 seconds
sanity-inspect-image

✅ Succeeded
46 seconds
clamav-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
show-summary


The software can't start without any error log

The software can't start without any error log, any big god can help? Thanks very much @AndyFong @ruanhan @scottsut @yuhouchuhe1 @whtblktone
Configure and log file as attach:
davinci.2019-07-31.log.txt
application.yml.txt

1、application log level is INFO，please change to debug
2、check config application.yaml


Docs: status_code for handlers is incorrect

Summary
Documentation for handler states:

status_code: An http status code for the response. Defaults to 200 for mixed method or GET, PUT and
PATCH, 201 for POST and 204 for DELETE.

However, the code is implemented as:
def get_default_status_code(http_methods: set[Method]) -> int:
    """Return the default status code for a given set of HTTP methods.

    Args:
        http_methods: A set of method strings

    Returns:
        A status code
    """
    if HttpMethod.POST in http_methods:
        return HTTP_201_CREATED
    if HttpMethod.DELETE in http_methods:
        return HTTP_204_NO_CONTENT
    return HTTP_200_OK

So a route like the following will return 201 instead of 200, contradicting the documentation.
@route(path="/foo", http_method=[HttpMethod.GET, HttpMethod.POST])

Should be something like:
def get_default_status_code(http_methods: set[Method]) -> int:
    """Return the default status code for a given set of HTTP methods.

    Args:
        http_methods: A set of method strings

    Returns:
        A status code
    """
    if len(http_methods) > 1:
        return HTTP_200_OK
    if HttpMethod.POST in http_methods:
        return HTTP_201_CREATED
    if HttpMethod.DELETE in http_methods:
        return HTTP_204_NO_CONTENT
    return HTTP_200_OK

Cheers,
Pau.

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

Hello, I want to contribute to this issue. Is it a documentation issue? These quotes words are from the basy.py file in http_handlers. I can not understand what the fix will involve.

Yes, the documentation is incorrect. The fix would consist of correcting the documentation, such that it accurately reflects the actual behaviour.

It would be great help if a link is provided to part of documentation where the change is needed .
I could not found that part of the code .

It's in the docstrings of the HTTP route handlers themselves


Cmd_Keys not implemented

I have not found CMD_KEYS implemented in any MatrixOrbital code. I did find it implemented in the Riverdi code and extrapolated to get it into the Matrix Orbital code (nearly identical to the Cmd_Text). However the implementation seems to be somehow flawed. It shows the keys but with the extra "stacking" issue shown below.
Given a single row of keys, each key appears to be on top of a stack of (the same shaped) keys each shifted by a few pixels vertically.
Given multiple rows of keys, just the bottom row appears as above.
Is the EVE engine in the MatrixOrbital hardware not capable of this (hence the lack of current cmd_keys) or is it this implementation?
Here is my implementation..

void Cmd_Keys(uint16_t x, uint16_t y, uint16_t w, uint16_t h, uint16_t font, uint16_t options, const char * str)
{

  uint16_t DataPtr, LoopCount, StrPtr;
  uint16_t length = (uint16_t)strlen(str);
  if(!length)
    return;

  // Create a data the same size as the string only make it in 32 bit chunks instead of 8 bit.
  uint32_t* data = (uint32_t*) calloc((length/4)+1, sizeof(uint32_t));
  // With a length of three this allocates int(3/4 + 1) == 1 uint32.

  // Loop over the incoming  string and combine 4 consecutive elements into a single data element.
  StrPtr = 0;
  //for(DataPtr=0; DataPtr<(length/4); DataPtr++, StrPtr += 4)
  for(DataPtr=0; DataPtr<(length/4); DataPtr++, StrPtr += 4)
    data[DataPtr] = (uint32_t)str[StrPtr+3]<<24 | (uint32_t)str[StrPtr+2]<<16 | (uint32_t)str[StrPtr+1]<<8 | (uint32_t)str[StrPtr];

  // insert the remaining (less than 4) characters into the last element in data array.
  for(LoopCount=0; LoopCount<(length%4); LoopCount++, StrPtr++)
    data[DataPtr] |= (uint32_t)str[StrPtr] << (LoopCount * 8);

  //printf("-- CMD_KEYS -- Size(%d), DataPtr(%d), LoopCount(%d), Data0(%x)\n", sizeof(data[0]), DataPtr, LoopCount,  data[0]);

  Send_CMD(CMD_KEYS);
  Send_CMD( ((uint32_t)y << 16) | x ); // Put two 16 bit values together into one 32 bit value - do it little endian
  Send_CMD( ((uint32_t)h << 16) | w );
  Send_CMD( ((uint32_t)options << 16) | font );

  // Loop over the data array and send each 32 bit chunk to the display.
  for (LoopCount = 0; LoopCount <= length / 4; LoopCount++)
  {
	  Send_CMD(data[LoopCount]);
  }

  free(data);

}

Sorry, I just realized I did not place this in the correct spot. Moving to the Eve2 library.


Fix flaky Python local filesystem test

Filesystem list order is not well-defined. This switches a python test to use assertItemsEqual instead of assertEqual.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @aaltay

Note that :beam-sdks-python:setupVirtualenv has been failing for a while on Jenkins (possibly because virutalenv is not installed on the instance). I expect it to fail here as well. However, I've tested this on my local machine and it fixes the problem.

CC: @robertwb

Test failures look unrelated.


fixed play button missing on episode cell

solves issue #126
I don't know what's up with the project and pod changes, all I did was update cocoapods to 1.3.1 from 1.2.0

This was fixed in my PR ... do not push this


Write and placea TechWire piece

I just talked with @jhibbets about this and he thinks it's definitely worth a run. Would be good to focus on three finalists and blockchain keynote.

Done:  https://docs.google.com/document/d/124Wl7czEhGDF55EpdM5z1U_UFODGj-3tvZ6my4kXj5A/edit#


Support for optional value type out parameters

ie. bool TryGetId(out Guid? id)
I think that's currently an unsupported scenario.
Have to check.

So the reason is that under the cover it's actually a generic Nullable<T>: https://learn.microsoft.com/en-us/dotnet/api/system.nullable-1?view=net-7.0

Example of what such a parameter looks like:

Same applies to primitives btw. ie. int?.

Partial Strategy: Add an extension method to System.Type: bool IsNullableValueType(this Type type, out Type? valueType) so that we can figure out if the targeted type is a nullable value type and if it is, get the underlying type as an out parameter.

I think that once a TypeDescriptor is created for such a type, we can add conversions there which will then be used by later generation phases.

https://github.com/royalapplications/beyondnet/commit/fc54eecb55c8052e82d5f41b5a372d2530fc04b7 added support for nullable structs (no support yet for nullable primitive and enums).


Borderless Windows script

When using Kanan Auto Start, Borderless Windows sometimes applies incorrectly, so half of the client isn't on the screen. In addition, when using Kanan Auto Start to mutliclient with Kanan, sometimes Borderless Windows fails to apply, and only starting a new client with Kanan Auto Start would get the Borderless Windows onto the second client, but not the third one.

Yeah so, Borderless Windowed mode is going to try and make whatever window the win32 FindWindow API returns, which is pretty much random and not guaranteed to be most recently created. This is why when multi-clienting sometimes it will work on the new clients, sometimes it won't.
I know how to fix it. I need to find where mabi is storing the handle to its window instead of using the FindWindow API.
As for it not applying correctly sometimes, I have gotten that issue as well and am still trying to figure out why. It's difficult because it works like > 80% of the time.

I've had this issue....it's pretty odd haha.
However I generally just stop the client and restart it.

There is an issue when using multiple screens if you are initially in windowed mode and try to use a different screen than your main one or have more than one desktop. I experience this only with my left most monitor. When it jumps to the other screen on start it will initialize the window frame to a smaller window, usually thin and tall. It then locks it in place when you use the borderless windowed mode as a full screen application that is only able to cover that same section of screen until you exit full screen. However this was a mabi issue. Change the main monitor display for the game to a different monitor. As for multiclient issue if you don't have multiple monitors I have no idea.


Rendering too many times?

I noticed that the plugin forces lots of renders on swipe or when changing slide (using the arrows).
The way I saw this was by logging a message from the render method of my custom arrow decorators.
I think this is totally fine if there's no logic going on with the slides (case we're only displaying images), but my slides, each of them, has some logic, user interaction, etc... so the slider is getting slow. It's possible that I'm doing something wrong too.
So my question is: is there any way to avoid or improve all the rendering because of the slide position? In the last case, I'll see if I can remove all the animations... and thanks again for the great component!

What kind of logic do your slides have? They are all mounted at all times, so it shouldn't be running setup during the swipe.

Hi Ken!
Yes, you're right, it isn't running setup during the swipe. I mean, the slide/component doesn't get re-rendered with the swipe, but the arrows do. This is what I used to see on my the console just by clicking (mouse down and up) a slide:

Now, I was able to kinda fix this in parts with shouldComponentUpdate. This is what I have now:
	component: class LeftArrow {
		render() {
			console.log('rendering arrow left');
			return (
				<div
					style={this.styleArrow(this.props.currentSlide === 0)}
					onClick={this.props.previousSlide}>
					Previous Slide
				</div>
			);
		}
		shouldComponentUpdate() { return this.props.currentSlide === 0; }
		styleArrow(disabled) { return { opacity: disabled ? 0 : 1 }; }
	}

And for the RightArrow, pretty much the same thing but changing the shouldComponentUpdate:
shouldComponentUpdate() { return this.props.currentSlide === this.props.slideCount - 1; }

Now, on the console log, I really only see the rendering arrow logged to the console on the first and last slides, but when it happens, it gets triggered many times:

So, it's better, but we still have the same problem on first and last slides. The numbers 21, 22, 23, 20 is just how much I dragged or hold the swipe event. I could make that numbers grow really fast just by holding the drag/swipe. The 11, 12, 12, 11 is just how many re-renders it took to put the slide back in its original place (I was trying to slide against the edge).
Do you have any idea why so many repaints on those arrows? Maybe it's the way I'm constructing them?
Tks again!

When you touch the carousel it sets the state on the left key so that the slide left is updated to the position of the finger. As far as why the arrows are rendering, I presume it due to checking them for disabled/enabled states. If you can provide some source I might be able to help pinpoint the perf bottleneck you're hitting.

Hey ken, sure!
I shared the code I'm using here: https://github.com/kenwheeler/nuka-carousel/issues/22
Let me know if you prefer if I paste a copy of it here.
Thanks for checking this!

Hey @rafaelbiten, I'm currently having this problem as well. I wonder if you have solved it. It would be greatly appreciated if you can share/guide me on this.

@sammkj, did you check my code from #22 ?
Let me know if that helps... It's been a while that I finished that project and I would have to check if I really fixed this issue or if I moved to another plugin.

@rafaelbiten, much better now. But still, my arrows get rendered very often.

It took me some hour to debug it, but I found the reason of so many re-renders.
@kenwheeler This is a huge performance problem because the whole Carousel component is re-rendered several times every time slides change, leading to multiple Decorators renders. The cause is react-tween-state and the leftstate applied directly to the main Component. In order for the animation to work the leftproperty of the state is updated different times and each time React renders again the component.
I think this could be solved using a separate React Component for .slider-list with its own left state.
This is a temporary fix:
Change animateSlide to remove tweenState usage:
animateSlide: function animateSlide(easing, duration, endValue) {
    // this.tweenState(this.props.vertical ? 'top' : 'left', {
    //   easing: easing || _reactTweenState2['default'].easingTypes[this.props.easing],
    //   duration: duration || this.props.speed,
    //   endValue: endValue || this.getTargetLeft()
    // });
    this.setState({
      left: endValue || this.getTargetLeft()
    });
  },

and add the CSS transition property to .slider-list:
getListStyles: function getListStyles() {
    var listWidth = this.state.slideWidth * _react2['default'].Children.count(this.props.children);
    var spacingOffset = this.props.cellSpacing * _react2['default'].Children.count(this.props.children);
    return {
      position: 'relative',
      display: 'block',
      top: this.getTweeningValue('top'),
      left: this.getTweeningValue('left'),
      margin: this.props.vertical ? this.props.cellSpacing / 2 * -1 + 'px 0px' : '0px ' + this.props.cellSpacing / 2 * -1 + 'px',
      padding: 0,
      height: this.props.vertical ? listWidth + spacingOffset : 'auto',
      width: this.props.vertical ? 'auto' : listWidth + spacingOffset,
      cursor: this.state.dragging === true ? 'pointer' : 'inherit',
      transform: 'translate3d(0, 0, 0)',
      WebkitTransform: 'translate3d(0, 0, 0)',
      boxSizing: 'border-box',
      MozBoxSizing: 'border-box',
      transition: 'all .5s ease-out',  // add this line
      WebkitTransition: 'all .5s ease-out', // add this line
    };
  },

I would be very glad to collaborate and make PRs, but the code lacks of comments and I'd like to see whether the project is still active.

I'd like to use CSS transitions as well. @jiayihu, maybe you can add them as option?

@ViLPy I'd like to hear @kenwheeler 's opinion first. He probably had a reason for using react-tween-state and not CSS transitions/animations.

hilariously, js animation is more performant than css animation. css animation is buggy imo, and doesn't have a reliable lifecycle. That said, some level of targeting the tween application and shouldComponentUpdate should be implemented to fix this issue.

is this on the roadmap to get fixed and released soon?


Fix bug in CLI arg/env var prioritization + corresponding tests

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Fixes bug in https://github.com/Homebrew/brew/pull/5738
Fixes https://github.com/Homebrew/brew/issues/5736
Explanation of what happened:

When I changed the names of the :env_var value to :env, I left one unchanged
The tests were passingly misleadingly because the stubbing order made it so that all env vars were actually ignored (and one of my tests was testing the non-env-var behavior due to my mistake in the test)

Thanks again @BenMusch!


Change color square position in toolip?

I want to make the color square inside of toolip to be on the right,
not like the default position on the left before label text.
Is there any way to do?
Thank you in advance!

You can use a custom external tooltip: https://jsfiddle.net/Leelenaleee/gy6c31h5/2/

You could set rtl to true


Update Python example

In this PR we change the benchmarks to only run long-running examples instead of all of them.  This is to reduce variance caused by indeterminacy in the memory allocator, which is overly prominent in short benchmarks (https://github.com/oxc-project/backlog/issues/89).
It also updates the Python example to more accurately reflect the current workload, including optimizing, and turning into a final Python string, all with CSE (so the size of the file is smaller than before). It should output a final string with something like this:
def __fn(X, y):
    assert X.dtype == np.dtype(np.float64)
    assert X.shape == (150, 4,)
    assert np.all(np.isfinite(X))
    assert y.dtype == np.dtype(np.int64)
    assert y.shape == (150,)
    assert set(np.unique(y)) == set((0, 1, 2,))
    _0 = y == np.array(0)
    _1 = np.sum(_0)
    _2 = y == np.array(1)
    _3 = np.sum(_2)
    _4 = y == np.array(2)
    _5 = np.sum(_4)
    _6 = np.array((_1, _3, _5,)).astype(np.dtype(np.float64))
    _7 = _6 / np.array(float(150))
    _8 = np.zeros((3, 4,), dtype=np.dtype(np.float64))
    _9 = np.sum(X[_0], axis=0)
    _10 = _9 / np.array(X[_0].shape[0])
    _8[0, :,] = _10
    _11 = np.sum(X[_2], axis=0)
    _12 = _11 / np.array(X[_2].shape[0])
    _8[1, :,] = _12
    _13 = np.sum(X[_4], axis=0)
    _14 = _13 / np.array(X[_4].shape[0])
    _8[2, :,] = _14
    _15 = _7 @ _8
    _16 = X - _15
    _17 = np.sqrt(np.array(float(1 / 147)))
    _18 = X[_0] - _8[0, :,]
    _19 = X[_2] - _8[1, :,]
    _20 = X[_4] - _8[2, :,]
    _21 = np.concatenate((_18, _19, _20,), axis=0)
    _22 = np.sum(_21, axis=0)
    _23 = _22 / np.array(_21.shape[0])
    _24 = np.expand_dims(_23, 0)
    _25 = _21 - _24
    _26 = np.square(_25)
    _27 = np.sum(_26, axis=0)
    _28 = _27 / np.array(_26.shape[0])
    _29 = np.sqrt(_28)
    _30 = _29 == np.array(0)
    _29[_30] = np.array(float(1))
    _31 = _21 / _29
    _32 = _17 * _31
    _33 = np.linalg.svd(_32, full_matrices=False)
    _34 = _33[1] > np.array(0.0001)
    _35 = _34.astype(np.dtype(np.int32))
    _36 = np.sum(_35)
    _37 = _33[2][:_36, :,] / _29
    _38 = _37.T / _33[1][:_36]
    _39 = np.array(150) * _7
    _40 = _39 * np.array(float(1 / 2))
    _41 = np.sqrt(_40)
    _42 = _8 - _15
    _43 = _41 * _42.T
    _44 = _43.T @ _38
    _45 = np.linalg.svd(_44, full_matrices=False)
    _46 = np.array(0.0001) * _45[1][0]
    _47 = _45[1] > _46
    _48 = _47.astype(np.dtype(np.int32))
    _49 = np.sum(_48)
    _50 = _38 @ _45[2].T[:, :_49,]
    _51 = _16 @ _50
    return _51[:, :2,]

This seems wrong to me. We want to be able to catch regressions in our whole codebase, not just in 6 slow tests, right?

I think the issue is that the shorter tests have too much variability to be deterministic enough to benchmark. Alternatively we could try a deterministic memory allocator for our benchmarks. There's a thread I link to above which outlines the issue.
My sense is that if a change doesn't effect our larger benchmarks it's probably fine to pull in... Like as long as they are representative enough of all the code.

If the large tests are representative then this is a good change; I just didn't think that they were.

Looking at the codspeed regressions on a different PR (#448) I'm seeing that a lot of the variance comes from the parser.

Aren't most of the regressions from short-running programs uninteresting because many are one-off costs like parsing, compilation, and bookkeeping? We care more about performance-critical components like query/apply/rebuild, which only become prominent in longer-running programs.

I think the old python example is a good stress test for the type checker. Maybe we can still keep it but under a different name?

I think that we should increase the regression threshold back to 10%: look at this report. Even with a faster, less-variance parser, the rebuild method still gets significantly slower, and this is not one of the tiny benchmarks (takes >10ms).

Another option is I could "ignore" all benchmarks that aren't long running: https://docs.codspeed.io/features/ignoring-benchmarks/
That way they still get recorded and can be viewed manually but won't influence the reports.
The only downside here is that if we add additional short examples, they will be have to manually added to the ignore list in the UI.

That last option seems strictly better than the solution in this PR: opt-out vs. opt-in. Hopefully it would motivate us to create better benchmarks in the future.

That last option seems strictly better than the solution in this PR to me: opt-out vs. opt-in. Hopefully it would motivate us to create better benchmarks in the future.

OK sounds good! I will update this PR to just add the Python benchmark (and keep the old one) and then just ignore the smaller benchmarks for now :)

OK I think this is ready to merge


Fixes issue #782

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

This is not a fix. This is a request to add login and signup pages to the site.
Summarize what this PR fixes:-
This PR fixes the issue mentioned:
1)Responsive login form
2)Changed Login/Register toggle button
3)Added Footer section.
Fixes #782
Checklist
(Add an x between the brackets to check the items)

[ x] I have summarize what this PR fixes above
[ x] I have provided the issue ID/URL above
[ x] I have not added Bootstrap or jQuery and used correct styling guide.
[ x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[ x] I was the first one to claim the issue or I created the issue - I created the issue

Overall the responsive changes and footer are good. However, I really prefer the buttons the way they were before. The font style, no rounded corners, and no spacing is inconsistent with the design of the site. Could you make another pr to change them back? I'm merging this one in.

yes,I'm on it.
[image: Mailtrack]
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
Sender
notified by
Mailtrack
https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&
10/17/20,
08:50:51 AM
On Sat, Oct 17, 2020 at 2:31 AM Brittney Postma<EMAIL_ADDRESS>wrote:

Merged #783 https://github.com/zero-to-mastery/Keiko-Corp/pull/783 into
master.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zero-to-mastery/Keiko-Corp/pull/783#event-3888168289,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHKVVHH3FJUIPQWRIYHJX3DSLCYBNANCNFSM4SSKKVEA
.


Installation

Hi Jordan Rozum!
I recently tried to install StableMotifs in a python environment but I had not success.
I saw a pip version of this package however is no up to date so I uninstalled it, I'd like to install the package, how can I do it?
I also tried pip install -e git+https://github.com/package/name@but it didn't work.
Thanks a lot!

Oops, setup.py wasn't included, but I've fixed it. Running
pip install git+https://github.com/jcrozum/StableMotifs
should work now. Let me know if you run into any further difficulty.

Thanks, now is working.
Any issue I let you know!


Add support for Subresource Integrity

Is your feature request related to a problem? Please describe.
Similar to rails/webpacker#323
Sprockets supported subresource integrity out of the box. It would be nice if
vite_javascript_tag 'application', integrity: true

worked the same.
Describe the solution you'd like
Calculate the hash for each file and add it to the relevant tags
Describe alternatives you've considered
None.
Additional context

webpacker does not support it at the moment. This could be a nice differentiator. See rails/webpacker#323
Github about SRI: https://github.blog/2015-09-19-subresource-integrity/

Pull requests are welcome!
In terms of design:

Should be an optional feature, preferably implemented as a separate Vite plugin
The plugin would add the integrity hash as needed to the entries in the Vite-rendered manifest.json
vite_ruby will parse this additional integrity field in each manifest entry
Tag helpers can relay this integrity attribute to the appropriate tag helper in vite_rails, vite_rails_legacy, vite_padrino, and vite_hanami (if provided in the manifest entry)

This last point makes it so that the tag helpers are decoupled from the way the integrity attribute is calculated, making it possible to use third-party vite plugins instead of bundling this in vite-plugin-ruby (it could even be calculated by a Ruby script, which updates manifest.json).

@tmaier Given that this requires changes to public APIs in ViteRuby::Manifest, it will need to wait for the next major release.
Experimental support is available in the next branch, you can try it now by explicitly adding 4.0.0.alpha1 to your Gemfile:
gem 'vite_rails', '~> 4.0.0.alpha1'

You must also add vite-plugin-manifest-sri to your package.json and configure it in vite.config.ts:
import { defineConfig } from 'vite'
import RubyPlugin from 'vite-plugin-ruby'
import ManifestSRI from 'vite-plugin-manifest-sri'

export default defineConfig({
  plugins: [
    RubyPlugin(),
    ManifestSRI(),
  ],
})

The implementation in [4.0.0.alpha1] lives in the next branch, and is "ready".

Given that this requires changes to public APIs in ViteRuby::Manifest, it will need to wait for the next major release.

This hasn't been a highly requested feature. I'm waiting for either breaking changes in Vite or something else that justifies releasing a new major.

Hey @ElMassimo, is it possible to update the next branch to be based off the latest version of vite_rails? It looks like it's currently based off of the v3.0.8 which was released in 2022.
I'd like to use the Subresource integrity feature, but also need some of the fixes & features that were introduced in later releases (example)
Thanks!

Hi there!
Any news on this feature? Is there something I can do to help?
I am working on replacing Webpacker with Vite for Mastodon (see https://github.com/mastodon/mastodon/pull/24981) and SRI is a requirement for us.

Also curious here ... this feature seems like it's been done for ~2+ years, but hasn't been released yet?
Are you still hesitant to ship 4.0 with JUST this? If so, are you open to PRs that try to fold it into 3.x?
Separately - are there any other changes queueud up (I see some ruby version support changes in last few months, 3.0 is now EOL, etc...) which might help justify a 4.0?

Hi @ElMassimo , just wanted to join the chorus of folks requesting an official release supporting SRI. Happy to help if necessary. Thanks so much!

Hi, I believe this changes is needed for PCI v4 compliance in March 2025. I'm really happy with this library but I will have to look elsewhere if I can't implement SRI in good time for this deadline.

Hello, are there any updates on this story? I think it's quite needed feature, would be nice to see it in the official release.


Uncaught Error: The workspace can only contain one instance of item [object Object]

Minimising the terminal using the icon in the footer will often cause this error.  That terminal will then no longer open
Atom Version: 1.13.1
Electron Version: 1.3.13
System: Ubuntu 16.10
Thrown From: terminal-plus package, v0.14.5
Stack Trace
Uncaught Error: The workspace can only contain one instance of item [object Object]
At /home/andrei/atom-1.11.1/out/app/src/item-registry.coffee:11

Error: The workspace can only contain one instance of item [object Object]
    at ItemRegistry.module.exports.ItemRegistry.addItem (/opt/atom/resources/app.asar/src/item-registry.js:11:15)
    at PaneContainer.module.exports.PaneContainer.addedPaneItem (/opt/atom/resources/app.asar/src/pane-container.js:389:25)
    at /opt/atom/resources/app.asar/src/pane-container.js:374:28
    at Function.module.exports.Emitter.simpleDispatch (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/opt/atom/resources/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at Pane.module.exports.Pane.addItem (/opt/atom/resources/app.asar/src/pane.js:491:20)
    at Pane.module.exports.Pane.activateItem (/opt/atom/resources/app.asar/src/pane.js:434:14)
    at PanelView.module.exports.TerminalView.hide (/home/tim/.atom/packages/terminal-plus/lib/terminal-view.coffee:70:14)
    at /home/tim/.atom/packages/terminal-plus/lib/panel-view.coffee:156:7
    at space-pen-div.<anonymous> (/home/tim/.atom/packages/terminal-plus/lib/panel-view.coffee:186:7)
    at space-pen-div.fn (/home/tim/.atom/packages/terminal-plus/node_modules/jquery/dist/jquery.js:4855:19)
    at space-pen-div.dispatch (/home/tim/.atom/packages/terminal-plus/node_modules/jquery/dist/jquery.js:4435:9)
    at space-pen-div.elemData.handle (/home/tim/.atom/packages/terminal-plus/node_modules/jquery/dist/jquery.js:4121:28)

Commands
  3x -2:52.5.0 blur (input.hidden-input)
  3x -2:51.8.0 vim-mode:move-down (input.hidden-input)
 13x -2:47.3.0 blur (input.hidden-input)
     -2:17.9.0 vim-mode:replace (input.hidden-input)
  6x -2:17.9.0 blur (input.hidden-input)
     -2:17.6.0 vim-mode:reset-normal-mode (input.hidden-input)
     -2:17.3.0 ex-mode:open (input.hidden-input)
  3x -2:17.3.0 blur (input.hidden-input)
     -2:17 core:confirm (input.hidden-input)
  3x -2:17 blur (input.hidden-input)
     -2:16.4.0 vim-mode:move-down (input.hidden-input)
     -2:16 vim-mode:reset-normal-mode (input.hidden-input)
     -2:15.6.0 ex-mode:open (input.hidden-input)
  3x -2:15.5.0 blur (input.hidden-input)
     -2:15.3.0 core:confirm (input.hidden-input)
undefined -2:15.3.0 blur (input.hidden-input)

Config
{
  "core": {
    "disabledPackages": [
      "wrap-guide",
      "whitespace",
      "php-debug"
    ],
    "projectHome": "/srv/www",
    "telemetryConsent": "limited",
    "themes": [
      "one-dark-ui",
      "solarized-dark-syntax"
    ]
  }
}

Installed Packages
# User
atom-beautify, v0.29.17 (inactive)
editorconfig, v2.2.0 (active)
ex-mode, v0.13.1 (active)
hyperclick, v0.0.40 (active)
language-babel, v2.51.0 (active)
language-cfml, v0.16.0 (active)
language-pgsql, v0.2.3 (active)
linter, v1.11.21 (active)
linter-eslint, v8.1.0 (active)
linter-php, v1.3.1 (active)
php-debug, v0.2.4 (inactive)
relative-numbers, v0.7.1 (active)
terminal-plus, v0.14.5 (active)
vim-mode, v0.66.0 (active)
wordpress-api, v1.2.2 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (active)
one-light-ui, v1.8.2 (inactive)
one-dark-syntax, v1.6.0 (inactive)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (active)
solarized-light-syntax, v1.1.1 (inactive)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.3 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (inactive)
wrap-guide, v0.39.0 (inactive)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)

# Dev
No dev packages

[Enter steps to reproduce:]
Got this while minimizing the terminal using the keybinding.
Atom: 1.18.0 x64
Electron: 1.3.15
OS: Ubuntu 16.04.2
Thrown From: terminal-plus package 0.14.5
Stack Trace
Uncaught Error: The workspace can only contain one instance of item [object Object]
At /usr/share/atom/resources/app/src/item-registry.js:11

Error: The workspace can only contain one instance of item [object Object]
    at ItemRegistry.module.exports.ItemRegistry.addItem (/usr/share/atom/resources/app/src/item-registry.js:11:21)
    at PaneContainer.didAddPaneItem (/usr/share/atom/resources/app/src/pane-container.js:265:29)
    at Pane.module.exports.Pane.addItem (/usr/share/atom/resources/app/src/pane.js:532:22)
    at Pane.module.exports.Pane.activateItem (/usr/share/atom/resources/app/src/pane.js:468:20)
    at PanelView.module.exports.TerminalView.hide (/packages/terminal-plus/lib/terminal-view.coffee:70:14)
    at /packages/terminal-plus/lib/panel-view.coffee:156:7
    at /packages/terminal-plus/lib/panel-view.coffee:186:7)
    at /packages/terminal-plus/node_modules/jquery/dist/jquery.js:4855:19)
    at /packages/terminal-plus/node_modules/jquery/dist/jquery.js:4435:9)
    at /packages/terminal-plus/node_modules/jquery/dist/jquery.js:4121:28)

Commands
  2x -7:46.2.0 find-and-replace:show-previous (input.hidden-input)
  2x -7:45.3.0 core:confirm (input.hidden-input)
     -7:44.9.0 editor:consolidate-selections (input.hidden-input)
     -7:44.9.0 core:cancel (input.hidden-input)
     -7:39.7.0 terminal-plus:toggle (input.hidden-input)
     -0:32.2.0 find-and-replace:show (input.hidden-input)
  3x -0:31.7.0 core:confirm (input.hidden-input)
     -0:30.3.0 find-and-replace:show-previous (input.hidden-input)
     -0:30.1.0 core:confirm (input.hidden-input)
     -0:27.7.0 find-and-replace:show-previous (input.hidden-input)
     -0:26.9.0 core:confirm (input.hidden-input)
     -0:26.6.0 find-and-replace:show-previous (input.hidden-input)
     -0:18.3.0 core:copy (input.hidden-input)
     -0:17.8.0 find-and-replace:show (input.hidden-input)
     -0:17.3.0 editor:move-to-end-of-screen-line (input.hidden-input)
  2x -0:16.1.0 terminal-plus:toggle (input.hidden-input)

Non-Core Packages
atom-cscope 1.0.1
ctrl-dir-scroll 0.2.5
git-blame 1.3.1
goto-definition 1.3.4
highlight-selected 0.13.1
jumpy 3.1.3
language-diff 0.7.0
language-log 1.9.0
multi-cursor 2.1.5
multi-cursor-plus 1.2.0
open-files 0.8.2
revert-buffer 0.5.0
split-diff 1.5.1
tab-smart-sort 0.3.0
terminal-plus 0.14.5
tree-view-panes 0.3.7


Fix for native behavior memory leak

This fixes a memory leak which occurs with all native behaviors.
The leak was caused by BehaviorCollection holding a strong reference to the associated object that the behaviour is attached to.
With this change a weak reference is held and is resolved through the property getter. The change is minimal as any private references to the member went via the getter already.

Hi @jamcems, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (James McElroy). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Loading lazy associations via Related Resource Links

Failing tests and fix for #66

Nice work. I am surprised you actually did it, and tested it. I get lots of people wanting me to fix everything for them.

i just made -> v0.9.2 <- that has this fix

Thanks @danielspaniel, happy to help. Great to open the lid on your very useful library and work on it too.

https://github.com/danielspaniel/ember-data-change-tracker/issues/70


Add support for reportFiles option

Closes #177.
This PR adds a new option reportFiles that behaves the same way as as ts-loader. When an array of file path globs are provided, it will use these globs to filter the ts/tslint diagnostics to only include those matching.
Here is an example using create-react-app where there are no errors in the reportFiles (you can see both __tests__/App.tsx and App.test.tsx have type errors):

And an example when there is an error in one of the reportFiles (which is src/App.tsx in this case):

/cc @Timer, @johnnyreilly

You've been killing it with these features, @ianschmitz! Thank you!

Can't find any migration guides. Can someone make it please?


Question: Can PolicyRecordingBot be implemented in Java?

This is a quick question, rather than reporting an issue.
Is it technically possible and supported to implement PolicyRecordingBot in Java? I know that Graph SDK for Java exists (https://github.com/microsoftgraph/msgraph-sdk-java-core), however, it is unclear to me if this SDK contains "everything" needed to fully implement PolicyRecordingBot without losing any of the functionality currently in the .NET version.
Thanks in advance for answer.

Another question (I searched existing issues and could not find pertaining information):
The sample bot contains various logging statements in various classes. However, when I fetch the log page via GET on "/logs" endpoint, it appears to only contain those logging statements pertaining to HTTP requests/responses.
Does anyone know where I can find the rest of the logging? For instance, the OnRecordingStatusFlip function in CallHandler.cs contains a couple of log statements, which I do not see in the page returned from "/logs" endpoint, even though I'm pretty sure this function is called on my deployed bot, judging from the fact that my call is interrupted in a minute or so.
Any tips would be appreciated.

@ssulzer
Thanks.


No pretrained tri3 graph

I would like to decode my own audio files, but I found no pretrained tri3 in exp/

You can (and should!) use the exp chain models (TDNN-HMM) to decode your own audio files, as they have a much better WER. But if there is interest in pre-trained GMM-HMM models, I can also upload them of course.


Change output file naming scheme

This pull request changes the naming scheme for output files (.fits, .png, .ann and .reg) to allow multiple files to be saved for each epoch. Files built from pipeline data will be saved in the form SOURCENAME_INDEX.ext, while files built from regular data will be saved in the form SOURCENAME_FIELDNAME_SBID.ext
This also changes the way that various functions inside vastools.source.Source are called, from being called based on epoch to being called based on index, and removing references to epochs in titles.

@ajstewart can you take a look at this before I update of the docs etc?

It seems to be okay - I've run a few test queries without any issues


CircleCI: Extract build jobs config to be reusable

What changes were proposed in this pull request?
This is the second part of #2531!
It is based on top of https://github.com/cloudera/hue/pull/2553, so it should be merged after #2553 !
This PR extracts the build jobs into commands section so they are reusable for AMD64 jobs, and ARM64 jobs in the next PR.
How was this patch tested?
Only CircleCI's config.yml has been modified. CircleCI jobs should still work!

Would you mind rebasing on master branch? (to fix the conflicts)

Rebased and force-pushed for cleaner git history!

@romainr What is your plan for this PR and #2556 ?
I know that you wanted to give some time between #2553 and those to avoid any problems in the CI setup.

Thanks for adding testing on Linux ARM64, @martin-g !
I hope the PRs will be approved and merged soon!

Thank you for accepting it, @Harshg999 !
I've rebased #2556. It is the last piece for enabling the testing on Linux ARM64!


Question: possible to run part of net? or better to have multiple nets?

In some situations (such as reinforcement learning) you want to run only the forward pass ops repeatedly until an episode is complete, at which point you want to run the backward pass ops multiple times (say for each step of the forward pass).
The problem I'm facing is that if I build forward/backward into the same net, then I can't call RunNet during the episode because it will run both forward and backward ops.
With Caffe2, is the strategy to achieve the above to have multiple nets? As in a forward_net and a backward_net? Or is there a way to have a single net, and only run the forward ops until episode is complete, at which point I can have it run the backwards ops? Any examples out there?
PS: I'm aware of the BlueWhale project but my question is pretty basic, and the BlueWhale repo is cool but pretty abstract to a newb like me.

Hey Keith!  I sent you an email but let me paste it here so others can read:
Yes, you can have two nets: one that just does the forward pass and one that forward and backwards. We do this already in BlueWhale: there are times we need to get an action without yet knowing the reward.   There are two ways to do this: you can create a predictor (see the GridworldEvaluator class) or you can query the model directly, which is what we do for openai gym: https://github.com/caffe2/BlueWhale/blob/master/ml/rl/test/gym/open_ai_gym_environment.py#L111

Thank you Jason!
Will close this issue.


Add podspec file

Allows Azure.iOS to be installed from projects using Cocoapods

 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.:x: bfaist sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Closing pull request.  This allows cocoapods to install Azure.iOS but does not appear to build correctly.
Module AzureCore and AzureData are not able to be imported for use in swift code.  Going to try to migrate to Carthage which works.

Thanks @bfaist we're finishing up compatibility with objective-c now and I'll get the libs up on cocoapods right after that.  Probably not quick enough to help you now, but I'll ping you when they're up anyway.  In the meantime, the example app in this repo uses Carthage if you want to use it as reference.  I'll also create a new tag today so you'll get the latest.


[Question] Am I using redux right?

Hi everyone, this is just a question,
I'd love to double check if I'm doing things right. I'm coming from ages of different frameworks, and I def want to avoid bad practices in the early stage.
I'm using this boilerplate: https://github.com/erikras/react-redux-universal-hot-example
and I'm writing in ES7.
I created:

1 reducer:    earlyUser.js
1 container:   landingPage.js
1 component:  registrationForm.js

In the landingPage, I'm including the methods from reducer in this way:
import { saveEmail, savePreferences, checkEmailExists } from 'redux/modules/earlyUser';
and I declare some handles
 handleSubmitEmail(data) {
    this.props.saveEmail(data);
 }

 handleSubmitPreferences(data) {
    //some data manipulation
    this.props.savePreferences(data);
 }

and in the JSX part I just pass to my component the handlers:
<registrationForm submitEmail= {::this.handleSubmit}   etc... >

Now inside the component, I linked the form submission to this handler:
submitEmail() {
    if (this.validateEmail(this.state.email)) {
      this.props.submitEmailHandler(this.state);
    }
  }

Now my question is, where should I attach the .then  and .catch of the promise returned ?
Ideally I'd like to do inside the component.js  something like
this.props.submitEmailHandler(this.state).then( function emailRegisterCallback(){
   // move to next step
}).catch( function errorHandler(error){
  // there was an error
}

Is that correct?

This is a usage question. Please ask it on StackOverflow, you're much more likely to get a quality answer there.

Done, for future references:
http://stackoverflow.com/questions/33323462/am-i-using-redux-correctly


Allow all configuration supported by FaviconsWebpackPlugin

Hey folks, real happy with the plugin. Y'all made my site much easier to deploy yesterday. 👍
One thing I'd like to see is being able to pass through all options supported by FaviconsWebpackPlugin, rather than just the icons object and logo path. It'd be really great to get the full swath of features that plugin makes available.

Done with the latest version.