Cannot import mapping rules to services

Followed the master dev instructions https://github.com/3scale/3scale_toolbox/blob/master/docs/import.md
After I ran the command on my test account, it created a service with methods, but not mapping rules
Command:
bundle exec exe/3scale import csv<EMAIL_ADDRESS>--file=import_endpoints.csv
Log:
Method v1_Taxing_RecalculateTax has been created.
Method v1_Lead_Leads has been created.
Method v1_Products_GetProducts has been created.
Method v1_Products_GetCompanyList has been created.
Method SupplierInfo_Supplier has been created.
Method v2_Product_GetProductEligibility has been created.
....
....
....
....
1 services in CSV file
1 services have been created
0 metrics have been created
25 methods have beeen created
Link to download the import_endpoints.csv
Expected result:
Create mapping rules and map that to http method name (Verb) and application plan method name (Metric or Method) in Integrations tab.

should be fixed but better to test it first and then release a new version of the gem.
Log:
...
1 services in CSV file
1 services have been created
0 metrics have been created
25 methods have beeen created
25 mapping rules have been created
can you test it please by yourself and confirm/decline if everything's fine? (branch: 15-mapping-rules)
@VinayBhalerao

👍


Use addition assignment in implicit tendency

Missed in #1748

Purpose

To-do

Content

[ ] I have read and checked the items on the review checklist.

bors r+


Adds tutorial ipynb for routing as a transformer

This PR adds a tutorial for using Cirq's new routing utilities as a transformer. Basic usage is covered as well as ways to build custom extensions on top of the existing utilities.

Any ideas on how to make the links to Cirq, Github, and Colab work?


Enable CSS source maps

Had to remove CSS source maps to fix #61

How would I use webpack-merge and config/webpack.dev.conf.js to turn source maps back on? I tried:
{
  module: {
    rules: [
      {
        test: /\.s[ac]ss$/,
        use: [
          { loader: 'style-loader' },
          { loader: 'css-loader' , options: { sourceMap: true } },
          { loader: 'sass-loader' , options: { sourceMap: true } }
        ]
      }
    ]
  }
}

but no luck. Temporarily I've just done it by editing the node_module, but an example of how to use webpack-merge correctly would be awesome.
I don't use sections or admin during front end development, so #61 doesn't affect me.

Done directly in the shopify-pipeline module this should work. Have you restarted the server after making the changes ?
I'm not aware of any way to re-enable CSS source maps as you need to modify the loader from Shopify-Pipeline itself.

Ah, OK thanks. I was hoping there was a way to do it with custom config. I did get source maps working by editing  shopifyi pipeline directly.


Automated Splunk TA Update 109

This PR contains updates to Splunk TAs made by GitHub Actions workflow.

LGTM! confirmed the link


Fix OpenShift version discovery for 4.x

OpenShift 4.x client returns a version string that looks like Kubernetes
so if the oc binary exists we should first check to see if we have a
Kubernetes-like version string and if not fall back to checking for a
OpenShift 3.x style string.
I have done some minimal testing so far and will continue to test today
on my OCP 4.x cluster

Per discussion on Slack: https://netapppub.slack.com/archives/C1E3QH84C/p1562163688298000

Thanks for the PR, @kincl!  We've merged your commit with proper attribution, so we can close this PR.


Add instructions and/or links for adding/correcting on home of landscape.lfedge.org

Visitors to landscape.lfedge.org have no way of knowing how to improve the landscape because the home page of the landscape does not include any such info. Can we add some helpful instructions and links to the left sidebar?

@mtrifiro That's a good point... I'll take a look. Right off, I'm thinking there's some text as that top we might be able to add. Will look through and see about a suggestion.

Added... it's still not the clearest. We can discuss additional steps on the bi-weekly call if this isn't clear enough.


[Feature request]: Font family drop down with custom fonts family

Description
Is font family drop down possible in the toolbar.
and also can you create some functionality like create custom button in toolbar configuration.
Problem Statement/Justification
Can we add a drop down for the font family to apply on selected text from editor content and until i change the family that will be continue to next text.
custom button in the tool bar that will help us to make any desirable button in tool bar.
Additional Information
the custom button in the toolbar configuration code something like this
[
      {
        name: 'customButton',
        icon: '🔤', // or use an icon from FontAwesome, etc.
        tooltip: 'Custom Button',
        command: () => this.customAction(),
      }
    ]

Willing to submit a PR?
None

Hi, sorry for the delayed response. You can create custom menu items here. https://sibiraj-s.github.io/ngx-editor/menu/#custom-menu.
Adding font family support as part of editor is difficult to manage, May be i can extend a generic command that accepts a string and set as font family attribute to the element.


How correct enable/disable endpoint of Spring Cloud via env variable?

Hello!
How correct enable/disable endpoint of Spring Cloud via env variable?
I see only MANAGEMENT_METRICS_EXPORT_WAVEFRONT_URI
https://github.com/spring-petclinic/spring-petclinic-cloud/blob/master/k8s/api-gateway-deployment.yaml#L48
Thanks!

Change
https://github.com/spring-petclinic/spring-petclinic-cloud/blob/master/spring-petclinic-visits-service/src/main/resources/bootstrap.yml#L26
https://github.com/spring-petclinic/spring-petclinic-cloud/blob/master/spring-petclinic-vets-service/src/main/resources/bootstrap.yml#L26
https://github.com/spring-petclinic/spring-petclinic-cloud/blob/master/spring-petclinic-customers-service/src/main/resources/bootstrap.yml#L26


Update standup.js to support double digit UTC offsets

Adds support for UTC adjustments 10 through 13 (e.g. UTC+10 for AEST without daylight savings) (Fixes #15)

Thanks for the PR :smile:

My pleasure!


Fixes #137: test_everything_else_is_treated_as_true

Fixes #137
In the Python 2 and 3 versions of koans/about_true_and_false.py:
self.truth_value(1,) is an integer argument followed by an optional
comma.  It just happened to produce the desired answer, because bool(1)
is True.
self.truth_value((1,)) is a tuple argument.  Changed the tuple to (0,)
to demonstrate that its truthiness comes from the presence of any
elements, and not from the truth value of the element itself.
Also, added an easier example before it --- self.truth_value([0]) ---
to introduce the same idea with the simpler list-literal syntax (no
"magic" comma to worry about).
Finally, changed the whitespace and line wrapping so the Python 2 and 3
files are identical.
Reported by: egonluo
https://github.com/egonluo
Issue #137:
https://github.com/gregmalcolm/python_koans/issues/137

Kevin, thanks for all the PRs this week! I hope to check them out in the next day or so and get them landed.


updated head of organization email according to the requirements.

https://trello.com/c/Ri9idR5H/637-qae-support-new-email-to-head-of-organisation-of-the-successful-business-categories-winners

:+1:


Update specs2-core, specs2-scalacheck to 4.12.10

Updates

org.specs2:specs2-core
org.specs2:specs2-scalacheck

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2" } ]

labels: test-library-update, semver-patch

Superseded by #277.


Dev xiaoyu

Fixes #ISSUSE_ID.
Changes proposed in this pull request:
-netty some optimize

Code review suggestions:

Please follow code convenient, such as indent, for example: FrontendHandlerFactory line 33
Please make sure checkstyle can pass, for example: MySqlFrontendHandler line 41 and line 42, should only have one blank line.
Please don't rename ShardingProxy to ShardingNettyProxy
Please don't rename MySQLFrontendHandler to MySqlFrontendHandler
MySqlFrontendHandler line 48, use lombok @RequiredArgsConstructor instead of it.
authPluginData of MySqlFrontendHandler is an important field which should use for auth, should not move to a local variable at method handshake.


python3Packages.pystray: 0.19.1 -> 0.19.2

Motivation for this change
Update to latest release https://github.com/moses-palmer/pystray/blob/master/CHANGES.rst#v0192-2022-01-01---allow-tuple-as-menu-argument
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

jellyfin-mpv-shim
python38Packages.pystray
python39Packages.pystray

Change looks good to me.
@ofborg build jellyfin-mpv-shim python38Packages.pystray python38Packages.pystray


Split off and remove old divertor model

In GitLab by @mkovari on Apr 6, 2017, 14:17
The old divertor model is obsoplete, but there are several important variables listed in module divertor_variables in global_variables.f90 which we still need in the machine build, such as rspi and rspo.  They should be put into a different variable module.  The old divertor module should then be removed.
I have moved the following into build_variables:
plsepi, plsepo, plleni, plleno, rspo.

@jonmaddock
Is this issue now obsolete as the Kallenbach model has been removed?

Having looked at the code the issue with removing the old divertor model is no longer needed as this was addressed in the open-sourcing and the Pythonisation of the module.


user story 1 - track weight

Value Proposition
As a user, I want to save the babies weight so that I can keep track of the weight over time
Description

Acception Criteria

[ ] interactive button
[ ] possibility to input weight
[ ] show weight

Tasks

[ ] add clickable button
[ ] add form, in which weight may be added
[ ] create & append card, where input is displayed

This looks already quite good! I have some suggestions to improve it further:

I think this userstory is quite large, you can for example remove the press button and display the input form directoy above or below the list of measurements
You can even remove the input first and display one measurement and that is your first userstory
then you could display a list of mesaurements
then you can add a form for adding measurements
then you put the form into the popup
so this might be 4 userstories ^^

To the Acceptance Criteria

Please write the explicit effect of the button, not that it is merely interactive
use more detail in describing what is displayed where

With the tasks:

please write more detail what tasks need to be done -> create button Component, add button component to home screen, add popup functionality to button etc.
the more the better ;)


Unpublished/Private pages -links rendered in published page to be customisable

Please select if your request is either something new or an enhancement

[x] Enhancement of an existing Feature.
[ ] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[ ] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[x] Publish - External Site Publish
[x] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
Any link to a page which in the front-matter is tagged as publish: false is rendered to the published referencing page from hardcoded formatting. Colour brown; suffix (Private); links to wiki.dendron.so/notes/hfyvYGJZQiUwQaaxQO27q.html; no id or class attributes.
Describe the solution you'd like
More control over what is rendered to the page. At a minimum stop-gap measure adding an id and/or class attribute so that vault owners can easily enough modify some basic aesthetics via CSS etc.

This has been fixed with Dendron 0.99, private links will now have a class on them and won't have a hardcoded color. Please make sure to update both your CLI and template if you are running publishing locally. Let us know if you continue to have issues.

@SeriousBug I think the merge has covered the colour component but we still want to be able to customise the suffix and the destination of the link itself? I am happy to create another issue but feels cleaner to keep it in this one?

@jlongo @rlh1994 I think that should be a different issue, this was just about theming.


Exit with error code when RDFox stops due to an error

In particular, when using the "on-error" option. But also for more general error messages.

This should be picked up by rdfox_runner : https://github.com/ricklupton/rdfox_runner/blob/master/src/rdfox_runner/run_rdfox.py#L214-L219
If we call raise_for_errors the runner should alert us if there's been an error: https://github.com/ricklupton/rdfox_runner/blob/master/src/rdfox_runner/run_rdfox.py#L282C9-L293
This call probably needs to be added to the places like this to report if there has been an error: https://github.com/probs-lab/probs-runner/blob/master/src/probs_runner/runners.py#L312

Here is the "on-error" option talked about above: https://docs.oxfordsemantic.tech/rdfox-shell.html#shell-error-handling

There is already a test (which is currently disabled) to test the expired licence issue -- https://github.com/ricklupton/rdfox_runner/blob/master/tests/test_rdfox_api.py#L177-L183 -- can you check that this passes if you enable it with your fix?


docs(search): Add Algolia's DocSearch to allow searching in docs

Hi @staltz, following your request on the https://community.algolia.com/docsearch/ website, we went further and actually implemented the search input inside Cycle.js docs. I hope you don't mind.
All details have been sent via email too.
Live demo: https://docs-uvevkwxznz.now.sh.
Every time you'll select an item for search it redirects to main website, that's expected so you will have to go back to try again.

Demo GIF

Perfect! Thanks!


MongoDB support

Hi, I was trying to use mongodb, but an error occurs when applying a migration (migrations up) with the following error:
[Blank database, just created]

venv38/lib/python3.8/site-packages/pymongo/helpers.py", line 167, in _check_command_response
raise OperationFailure(msg % errmsg, code, response,
pymongo.errors.OperationFailure: Failed to parse: { find: "emmett_schema", filter: { _id: { $gt: ObjectId('000000000000000000000000') } }, snapshot: false, projection: { id: "_id", version: "version" }, lsid: { id: UUID("2eb7a359-6ca0-4503-b505-1bf47bff61ff") }, $db: "mydb", $readPreference: { mode: "primaryPreferred" } }. Unrecognized field 'snapshot'., full error: {'ok': 0.0, 'errmsg': 'Failed to parse: { find: "emmett_schema", filter: { _id: { $gt: ObjectId('000000000000000000000000') } }, snapshot: false, projection: { id: "_id", version: "version" }, lsid: { id: UUID("2eb7a359-6ca0-4503-b505-1bf47bff61ff") }, $db: "mydb", $readPreference: { mode: "primaryPreferred" } }. Unrecognized field 'snapshot'.', 'code': 9, 'codeName': 'FailedToParse'}

Jose

@josejachuf probably I should improve the migrations docs, because MongoDB is not supported by Emmett's migration system (and there are no plans to add this kind of support in future).
FYI: there's actually this personal repository with a Work In Progress wrapper around pymongo, but it's not using any ORM. In case you wondering why it is actually used by this REST implementation which is a Work In Progress as well. No idea if it sounds interesting for your specific needs.

Thanks @gi0baro


Rename Feature Corrupts Unsaved Files in VS2017 15.7.1

When you rename a symbol that exists in another file that is open with pending changes, the rename operation is computed using the character positions of the unsaved file. This means if you've added any lines or changed target symbol positions in the target files, the replace operation will overwrite any text that existed at the old offsets.
UPDATE: While writing this issue I have now also encountered the crashing issues when renaming symbols added and used within the same unsaved file. (seems related to #4655 and #2204).
Repro steps

Open a source file which contains a symbol that is defined in another source file.

Add a few lines of code above where that symbol is used. DO NOT SAVE YET

Go to the definition of that symbol in the other file (F12). and use the Rename feature (Ctrl+R+R) to rename that symbol.

The Rename operation overwrites code above where the actual symbols were used and saves the file, corrupting the source code.

Bonus Content
Interestingly, I tried it again with Preview Changes enabled, and the resulting preview window actually shows the corruption:

Repro Solution ZIP
VS2<IP_ADDRESS>-BlindRenameOffsetIssue.zip
Expected behavior
Rename feature properly renames usages in open / modified files.
Actual behavior
Rename feature uses old buffer to calculate rename operations, overwriting current buffer and saving the file.
Known workarounds
Only to save all open files before performing any rename operations.
Related information
Provide any related information

Operating system

Windows 10, Version 1709 (16299.309)

Branch

15.7.1 public release

.NET Runtime, CoreCLR or Mono Version

.NET Framework 4.7.1

Editing Tools (e.g. Visual Studio Version)

Visual Studio 15.7.1

Indications of severity

This issue and the related Rename->VSCrash issues can cause data loss.

Renaming does not work on dirty buffers, by design.

If that’s true there are two ways to address this: 1) Force a save before starting the rename operation. 2) Prompt the user to do so before allowing it to continue.
I lean towards #1.

Closing this in favor of #2204 as the canonical issue


Create new materialization, Gated Table Materialization, that allows models to split based on config logic.

resolves #450

Description

Checklist

[X] I have read the contributing guide and understand what's expected of me
[X] I have signed the CLA
[X] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[X] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR

I don't think docs are required for this change, based on the addition of another macro incremental materialization, but happy to write docs if someone disagrees.

[X] I have run changie new to create a changelog entry

In the process of writing tests. I'm not sure if this requires document updates. Really would love any support / suggestions to get this over the finish line, I think that it could be very helpful to a lot of different parties.
Ultimately it satisfies one major issue: Let's say you want to filter out bad data, but you need a record of the bad data too (theoretically so you can fix it).
If you have data quality problems, filtering rows out using CASE/WHEN statements erases the issue entirely, but you never have the chance to see bad data to begin with! Then you can't fix it. Alternatively, you can create multiple models/views, but if you're already working with a mature data hierarchy (like my team at Tempus), then it's pretty hard to make another 500+ models (time consuming, really messes up your existing repositories, requires lots of restructuring).
This materialization allows you to just change the config block, and then it outputs two separate tables. One with good data, one with bad data.

Closing per discussion in https://github.com/dbt-labs/dbt-bigquery/issues/450


Add the Python implementation of the ECLV plot type

Describe the New Feature
Implement a script that builds The Economic Cost Loss Value plot similar to Rscript eclv.R_tmpl.
Corresponding
METviewer issue : https://github.com/dtcenter/METviewer/issues/353
METcalcpy issue: https://github.com/dtcenter/METcalcpy/issues/128
Acceptance Testing
List input data types and sources.
Describe tests required for new functionality.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 3 days of work.
Sub-Issues
Consider breaking the new feature down into sub-issues.

[ ] Add a checkbox for each sub-issue here.

Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[ ] Select component(s)
[ ] Select priority
[ ] Select requestor(s)

Projects and Milestone

[ ] Select Repository and/or Organization level Project(s) or add alert: NEED PROJECT ASSIGNMENT label
[ ] Select Milestone as the next official version or Future Versions

Define Related Issue(s)
Consider the impact to the other METplus components.

[ ] METplus, MET, METdatadb, METviewer, METexpress, METcalcpy, METplotpy

New Feature Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above, including the Time Estimate and Funding source.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>_<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s) and Linked issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

There is a limitation that is described in https://github.com/dtcenter/METplotpy/wiki.
Can't add a title for x2 axis


add font and style to project

Thanks, Rana.
I like what you did here. Only one more thing. Could you move "چطور کار میکنه" DIV to the left of the calculator part?


https proxy set for slack in alertmanager

Hi,
How can I set up https_proxy url in order to send alerts using slack via https proxy?
I have tried to set in /etc/profile but still, the alertmanager is not using https proxy url.
Is there a way to set https proxy specific for alertmanager?
Best Regards

@21kushagra I'm not quite clear on exactly what you are trying to do.
Do you want to reverse proxy your instance so you can secure it with HTTPS?
If so, there's a couple different ways to do this some of which has been discussed here: https://github.com/stefanprodan/dockprom/issues/81.
If you are asking what the url setting for configuring a Slack alert in Grafana should be you should read https://api.slack.com/incoming-webhooks and http://docs.grafana.org/alerting/notifications/.
Both of these go through the appropriate detail on how to set this up.


Can't $ref parameters

Is is possible to have $ref parameters?
When I try this example the parameters are not displayed.
Thanks

@iocast,because this example is not correct. Each path parameter MUST correspond to the associated path segment:

The correct example would be:
swagger: 2.0
info:
  version: "1.0.0"
  title: petstore
parameters:
  productId:
       name: productId
       in: path
       type: string
       required: true
paths:
  /users/{productId}: # <----- change here
    get:
      parameters:
        -
          $ref: '#/parameters/productId'
      responses:
        "200":
          description:  Describe the 200 response in more detail

Here is the link to ReDoc demo with working example: http://rebilly.github.io/ReDoc/?url=https://gist.githubusercontent.com/RomanGotsiy/7b582b6bac7e70b884b0b6143494827a/raw/d7563dc84ad7743b83ff24cf26b7d49fdddf240e/it-works.yaml

@RomanGotsiy so it's not possible to add limit until you add them like /users/{limit}? What about reusableParameters.json as mentioned here?


Release 0.5.0

provide support for multivariate EOF analysis (close #4 )

Codecov Report

Merging #17 (375d675) into main (6a645c9) will decrease coverage by 0.11%.
The diff coverage is 97.89%.

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   97.74%   97.63%   -0.12%
==========================================
  Files          28       28
  Lines        1329     1605     +276
==========================================
+ Hits         1299     1567     +268
- Misses         30       38       +8

Impacted Files
Coverage Δ

xeofs/utils/tools.py
96.15% <83.33%> (-3.85%)
:arrow_down:

xeofs/pandas/_transformer.py
92.95% <92.95%> (ø)

xeofs/models/_transformer.py
96.10% <94.82%> (ø)

xeofs/xarray/_transformer.py
98.21% <98.21%> (ø)

tests/models/test_eof.py
100.00% <100.00%> (ø)

tests/models/test_eof_wrapper.py
100.00% <100.00%> (ø)

tests/models/test_rotator_wrapper.py
100.00% <100.00%> (ø)

tests/models/test_transformer.py
100.00% <100.00%> (ø)

tests/pandas/test_transformer.py
100.00% <100.00%> (ø)

tests/xarray/test_transformer.py
100.00% <100.00%> (ø)

... and 6 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 934677b...375d675. Read the comment docs.


[FEATURE] Auto Force Tagging during Post Proccessing

I wish to have an option in the autoProcess.ini to force tag a video during post processing. The tag would re-tag e.g: an EVO release to the filename instead, due to Plex not matching correctly otherwise. See two examples in the attached picture.

Best regards,
M.Z.

I don't know what you're asking

I was asking if it’s possible for you to implement an option in the script to force file name tagging during the post process. If the file is already tagged e.g: “EVO”. It would re-tag it to filename instead.
If and when you have time, is this possible ?

I'm still not 100% sure what you're looking for here. The tagging you see in Plex is independent of the metadata written to the file itself. The script also doesn't use Plex's metadata when it does its tagging.
The script also does not do file renaming and there's no plans to add that feature, as this is better handled by the media managers the script is intended to integrate with. I admit I still don't fully understand what you want here but I think its outside of anything that has to do with the script. Feel free to provide more concrete examples if I'm misunderstanding still.


⚠ ClamAV has degraded performance

In 543a8f4, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 78 ms

Resolved: ClamAV performance has improved in 97b9750.


WIP branch for Jetpack 5.1/L4T R35.2.1

I guess that libnvgbm was dropped from the bsp for this release? The tegra-udrm-gbm does need it, so it may require an update to get what it needs if there won't be a libnvgbm. It does seem that tegra-libraries-gbm-backend does not need it.

I guess that libnvgbm was dropped from the bsp for this release? The tegra-udrm-gbm does need it, so it may require an update to get what it needs if there won't be a libnvgbm. It does seem that tegra-libraries-gbm-backend does not need it.

That's correct, I noticed that as well.
I started with demo-image-full and tried to fix the issues at build time.
I will check definitely the requirement of some recipes regarding libnvgbm and will keep you updated.


Place 404 error page design to the new grid & add to Zeplin

Applying to all devices

3 screens uploaded to Zeplin for desktop, tablet, & mobile
Text styles are updated
Image logotype symbols are updated
Error image was already uploaded to Github (2 versions: 1x & 2x) last year by the previous designer under develop branch > sitemedia > img


feat: slack client

This is a "classic" slack app instead of a "new" slack app, but "new" slack apps aren't really oauth so probably out-of-scope for this module.
We decided to go with the "new" slack oauth option for now. Please make some noise if you need the old one for some reason.

Thanks! Are you able to update this PRs initial comment and add Slack to the list in the README?

Has this been tested? My initial tests show that the redirectUri property is also needed.

Should be fine. Tested classic but didn't get around to testing this.
The docs state:

When you ask for scopes, you also need to tell Slack where to send your temporary authorization code afterward. Include a redirect_uri parameter in the URL above. The redirect_uri is where Slack will send the user back to, along with the temporary authorization code, once the user okays your app. The redirect_uri must use HTTPS.

but right under that they also state:

Alternatively, you can configure a Redirect URL in the App Management page under OAuth & Permissions. A Redirect URL must also use HTTPS.

so I think it's optional.
source: https://api.slack.com/authentication/oauth-v2#asking


Unitless line-height

Changes

Change line-height to 1.5 unitless.
Remove line-height or set it to inherit where applicable.
Change min-height of tile description to fix overflow issue introduced by line-height change.

Testing
Visual tests
Docs
None yet.

Wondering if I should remove all image changes for code review & then add images?  1,150 changes makes my browser lag when opening the files changed.


[logging] Added more detailed rust docs for structured logs

There was some confusion on how structured logs worked with the new
macros, so now the documentation is more comprehensive, including
sampling, and mixing different things in schemas.

/land


RFE: Create class for log filters

Currently there is no mechanism to implement a log filter as part of an AS3 application deployment.

@btully Can you provide an example tmsh configuration of what you need to configure?

Closing for inactivity.

We want to configure something like below:
tmsh modify /sys syslog include "source s_restjavad {file(\"/var/log/restjavad.0.log\" follow-freq(1) flags(no-parse) log-fetch-limit(1) log-iw-size(1));file(\"/var/log/restjavad-audit.0.log\"follow-freq(1) flags(no-parse) log-fetch-limit(1) log-iw-size(1));file(\"/var/log/restnoded.log\" follow-freq(1) flags(no-parse) log-fetch-limit(1) log-iw-size(1));};filter f_alllogs {level (debug...emerg);};log{source(local);source(s_restjavad);filter(f_alllogs);destination(remote_server);};"
If we use as3 for log-destination and log-publisher through as3, can we still use the above tmsh command without impacting the system and having the behavior configured.

@meghdivya This looks like global configuration (rather than per-application) that is better suited for Declarative Onboarding.

Our F5 account managers advised that it's not safe to run DO on production taking nodes. And customers may want to update these filters time to time. Moreover, this configuration will be applied per remote log server.
And AS3 may also have some common objects across applications as per my understanding.
May be this is not the perfect tmsh command. I wanted to add this syslog filter for every remote syslog endpoint.

Dear,
can you reopen this request, please?
We want to use Remote High-Speed Logging as described here.
AS3 is providing some objects but not all of them. The "log filter" for example is available from the GUI but not in AS3. The diagram belows highlight what is missing from AS3:

Thank you.
kr,

@lisonlp If you are looking for configuration similar to what was shared in this other comment, I recommend requesting the feature for Declarative Onboarding instead: https://github.com/F5Networks/f5-appsvcs-extension/issues/155#issuecomment-862209111
Modifying global configuration is outside of the scope of AS3.

Hi @dstokesf5
Thank for you prompt feedback, I understand your point.
On the other side the whole configuration set required to enable Remote High-Speed Logging is composed of objects that are configured through AS3 and DO (assuming "log filter" is on the DO roadmap).
I assume it is the way to go then.
Kind regards,

Hi @dstokesf5 ,
I have to raise this again after doing some more review. DO doesn't do any of the related sys parts, AS3 does. I think AS3 has set a precedent for being the place to configure logs, not DO.
Example DO Issue that was raised by @btully which was closed without comment to add log-filter among others: https://github.com/F5Networks/f5-declarative-onboarding/issues/12
A reference within declarative onboarding issues points to AS3 as the resolution for sys log- classes: https://github.com/F5Networks/f5-declarative-onboarding/issues/284
Specifically these TMSH commands are in question on this issue:
tmsh create sys log-config destination management-port name ip-address  port 514 protocol tcp
tmsh create sys log-config destination remote-high-speed-log name distribution adaptive pool-name  protocol tcp
tmsh create sys log-config publisher  destinations add {  }
tmsh create sys log-config filter filter_hsl_err_mcpd publisher publish_hsl source mcpd level err
Today, AS3 implements sys log-config destination and sys log-config publisher.
I think AS3 has set a precedent for being the place to configure logs, not DO.
Can your product team work with the DO product team and get this adjusted to whoever wants to own it?
Built?
By the next non-lts release?
I am sure there are a number of parties that would appreciate the finalization.
Many thanks from us here if it happens!


Search Editor for current document

Hi all,
First off I love this new Search Editor feature! One thing that would be handy is the ability to use the search.action.openInEditor command to lauch the editor from the search box if the cursor is in the search box. By search box I mean the little search box that comes up when pressing Ctrl + F not the search sidebar.
Thank you for this new feature I'll be using it a lot!

How would this work exactly? Start a new workspace search with the configuration you have in you in-editor search?

That is what I had in mind. Though now that I think about it, it might be nice to have an option to just search the current document and open those results in the search editor.

That could be cool.

Going to fold this in to #95582.

With #95582 you should now be able to do something like:
    {
        "key": "ctrl+shift+g",
        "command": "search.action.openNewEditor",
        "args": {
            "query": "${selectedText}",
            "filesToInclude": "${relativeFile}"
        },
        "when": "editorTextFocus"
    }


Improve dependency management

Hello again!
This PR reduces the number of dependencies a consumer downloads when installing tachometer. Below is a summary of how:

Move chai-as-promised and @types/chai-as-promised to devDependencies since they are only for testing during development of tachometer
Move other TS types to devDependencies. I went through the output of the build (i.e. the lib/ folder) and looked for any imports in the .d.ts files. Any package imported in those files I left in the package.json dependency.
Removed the unused koa-router package. Couldn't find where it was imported.

Published v0.4.19 which has this change, plus some fixes for recent versions of Firefox/Safari. Thanks again for PRs @andrewiggins


Grafana app platform: add new cmd to grafana build

Sibling PR to https://github.com/grafana/grafana/pull/77826

Adds a new cmd to the list of binaries to package in grafana tar/container

hey @charandas !
These changes need to be compatible with all active versions of Grafana (9.4.x, 9.5.x, 10.0.x, 10.1.x, 10.2.x, and main). Since that change isn't being backported, we need to check for the existence of that Go package before we try to compile it, otherwise it'll most likely return an error.
Once that is in place we can merge this PR :)

Does that check look good to you @kminehart? I added a continue even though its the last item. Should help somebody in the future when they add another binary.

@charandas This would not work because technically the source code isn't available on the filesystem. This is all docker containers just built using Go instead of the Dockerfile syntax, so it still needs to be done via Bash with the WithExec(...) methods on the Containers. Which is an unusual paradigm for sure.
I think this would accomplish the same thing as what you're trying with os.Stat:
		builder = builder.
-			WithExec([]string{"/bin/sh", "-c", strings.Join(cmd, " ")})
+			WithExec([]string{"/bin/sh", "-c", fmt.Sprintf(`if [ -e %s ]; then %s; fi`, strings.Join(cmd, " ")})

Thanks! I can make that change. Dagger builds keep dying on my macOS on yarn or some such other step. #218 helps but not completely.
I will commit the change and try some more. If it works on your setup better, could you give it a whirl and approve?

Yeah, more than happy to run it locally. If you have any more details on the error you're seeing that'd be awesome. I don't have a mac so I'm emulating arm64 to test locally and that doesn't seem to be enough :joy:

All good.
█ [3m1.2s] exec /bin/sh -c if [ -e pkg/cmd/grafana ]; then go build -ldflags="-X \"main.version=9.5.14\" -X \"main.commit=$(cat ./.buildinfo.commit)\" -X \"main.buildBranch=$(cat ./.buildinfo.branch)\" -X \"main.buildstamp=1699459088\" -w -s -linkmode=external -extldflags=-static " -o=bin/grafana/linux/arm64/grafana -trimpath -tags= ./pkg/cmd/grafana; fi
█ [0.83s] exec /bin/sh -c if [ -e pkg/cmd/grafana-server ]; then go build -ldflags="-w -s -linkmode=external -extldflags=-static -X \"main.version=9.5.14\" -X \"main.commit=$(cat ./.buildinfo.commit)\" -X \"main.buildBranch=$(cat ./.buildinfo.branch)\" -X \"main.buildstamp=1699459088\" " -o=bin/grafana/linux/arm64/grafana-server -trimpath -tags= ./pkg/cmd/grafana-server; fi
█ [0.67s] exec /bin/sh -c if [ -e pkg/cmd/grafana-cli ]; then go build -ldflags="-w -s -linkmode=external -extldflags=-static -X \"main.version=9.5.14\" -X \"main.commit=$(cat ./.buildinfo.commit)\" -X \"main.buildBranch=$(cat ./.buildinfo.branch)\" -X \"main.buildstamp=1699459088\" " -o=bin/grafana/linux/arm64/grafana-cli -trimpath -tags= ./pkg/cmd/grafana-cli; fi
█ [0.22s] exec /bin/sh -c if [ -e pkg/cmd/grafana-example-apiserver ]; then go build -ldflags="-X \"main.version=9.5.14\" -X \"main.commit=$(cat ./.buildinfo.commit)\" -X \"main.buildBranch=$(cat ./.buildinfo.branch)\" -X \"main.buildstamp=1699459088\" -w -s -linkmode=external -extldflags=-static " -o=bin/grafana/linux/arm64/grafana-example-apiserver -trimpath -tags= ./pkg/cmd/grafana-example-apiserver; fi

█ [0.53s] export directory /git/src/bin/grafana/linux/arm64 to host dist/bin/grafana/linux/arm64
█ [0.12s] copy /git/src/bin/grafana/linux/arm64 /
┻
• Cloud URL: https://dagger.cloud/runs/1376bbc1-8b65-4499-ac9c-92a683e83dd6
• Engine: 3f3efe3896a2 (version v0.8.7)
⧗ 3m25.3s ✔ 97 ∅ 14

@charandas what error do you get on macOS?

@charandas what error do you get on macOS?

Usually, it's just yarn install failing. It's either:
  // a bunch of these for tons of npm packages
   ➤ YN0013: │ widest-line@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry

Or, last night, I also saw (from my memory - not an exact copy paste) - seemed this one is also from yarn:
ETXTBSY error / child.spawn

So one could safely say, it's the frontend build.

The cache warnings are expected especially if it's a first time running. On slower Internet connections it can take a long time to complete

Running locally just 1 more time and then i'll approve

Haven't seen that error either yet ^_^ Docker For Mac is a gift that keeps on giving 🤪


TensorFlow Lite on Android?

Hello. I'm only slightly familiar with the project (it's very cool by the way), but what do you think about moving the TensorFlow Lite model from the Teensy to an android device? The Teensy 4 chugs aways at 600 MHz, while many mid-grade Android devices are multicored and atleast double the clock speed (my already 3 year old LG clocks at 1.4 GHz). I realize that a phone's bluetooth can't just decide to act as HID device (without root?), so maybe use a process like this?:

use bluetooth to take signals from the Somatic,
send to TF lite on android for processing,
send the result back the the Somatic,
have the Somatic send the result as a HID device to whatever it is paired to

I know you said in the video that the Teensy works fine even when underclocked,  but if the tensorflow processing can be moved off device, maybe something smaller than the teensy could be used.

Good idea, but I have no intention to continue working on this project. It's doable, but I'm not going to do it.


Update Progress Controls TemplateSetting Properties

Description

Update TemplateSettings properties for ProgressBar and ProgressRing to get only.
Motivation and Context

This is to match the WUXC TemplateSetting properties.
How Has This Been Tested?

Existing tests
Screenshots (if appropriate):

/azp run


IOS 12.4

IOS 12.4 is aparenatly unsupported

A12 not supported, only A11 or lower is supported.
You're on a 2019 model iPhone.

A12 not supported, only A11 or lower is supported.
You're on a 2019 model iPhone.

Will it be supported in the future?

A12 not supported, only A11 or lower is supported.
You're on a 2019 model iPhone.

Will it be supported in the future?

Yes definitely, but most probably when iOS 13 is released, but hopefully soon.

Looking forward to it!


Observations of dead agents

Describe the bug
Dead agents receiving non-zero observations.
To Reproduce

Open any multi-agent environment
observe the observations of agents that are dead

Expected behavior
I think it is common for dead agents to receives all zeros as observations.
Additional context

Also, restricting the action-space of dead agents to only no-op is common!

when you say "restricting the action space" do you mean the action masking should only allow no-ops?

Yes, this is an approach we took in SMAC, but I'm not sure if this is something you have to worry about on the Griddly side. The environment designer could just write a wrapper for this.

closed by #194


Case sensitivity fix

Hi,
the first word was in lower case. I just recognized this reading the docs.
Cheers!

 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.


Fix Select component event trigger

In the Select component, when the user selects multiple items, the event trigger fills the selected variable multiple times, creating a huge array.
This PR corrects this behavior and populates the selected variable with only selected items.

In the Select component, when the user selects multiple items, the event trigger fills the selected variable multiple times, creating a huge array.
This PR corrects this behavior and populates the selected variable with only selected items.

@rmotitsuki the issue https://github.com/kytos-ng/ui/issues/34 seems to be related to this PR. I tested without the changes proposed here and it worked.


chore: release oauth_tools 0.1.1

:robot: I have created a release beep boop
0.1.1 (2024-08-22)
Bug Fixes

eliminate a race condition in the dex restart logic (3ca9382)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

oauth_tools-v0.1.1
:sunflower:


Add value to OAuth2PasswordRequestForm in FastAPI

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from datetime import datetime, timedelta
from typing import Optional

from fastapi import Depends, FastAPI, HTTPException, status
from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
from jose import JWTError, jwt

from passlib.context import CryptContext

from pydantic import BaseModel

# to get a string like this run:
# openssl rand -hex 32
SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 30

fake_users_db = {
    "johndoe": {
        "username": "johndoe",
        "full_name": "John Doe",
        "email"<EMAIL_ADDRESS>        "hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
        "disabled": False,
    }
}

class Token(BaseModel):
    access_token: str
    token_type: str

class TokenData(BaseModel):
    username: Optional[str] = None

class User(BaseModel):
    username: str
    email: Optional[str] = None
    full_name: Optional[str] = None
    disabled: Optional[bool] = None

class UserInDB(User):
    hashed_password: str

pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")

oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token")

app = FastAPI()

def verify_password(plain_password, hashed_password):

    return pwd_context.verify(plain_password, hashed_password)

def get_password_hash(password):

    return pwd_context.hash(password)

def get_user(db, username: str):
    if username in db:
        user_dict = db[username]
        return UserInDB(**user_dict)

def authenticate_user(fake_db, username: str, password: str):

    user = get_user(fake_db, username)

    if not user:

        return False

    if not verify_password(password, user.hashed_password):

        return False

    return user

def create_access_token(data: dict, expires_delta: Optional[timedelta] = None):
    to_encode = data.copy()
    if expires_delta:
        expire = datetime.utcnow() + expires_delta
    else:
        expire = datetime.utcnow() + timedelta(minutes=15)
    to_encode.update({"exp": expire})
    encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
    return encoded_jwt

async def get_current_user(token: str = Depends(oauth2_scheme)):
    credentials_exception = HTTPException(
        status_code=status.HTTP_401_UNAUTHORIZED,
        detail="Could not validate credentials",
        headers={"WWW-Authenticate": "Bearer"},
    )
    try:
        payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM])
        username: str = payload.get("sub")
        if username is None:
            raise credentials_exception
        token_data = TokenData(username=username)
    except JWTError:
        raise credentials_exception
    user = get_user(fake_users_db, username=token_data.username)
    if user is None:
        raise credentials_exception
    return user

async def get_current_active_user(current_user: User = Depends(get_current_user)):
    if current_user.disabled:
        raise HTTPException(status_code=400, detail="Inactive user")
    return current_user

@app.post("/token", response_model=Token)
async def login_for_access_token(form_data: OAuth2PasswordRequestForm = Depends()):
    user = authenticate_user(fake_users_db, form_data.username, form_data.password)
    if not user:
        raise HTTPException(
            status_code=status.HTTP_401_UNAUTHORIZED,
            detail="Incorrect username or password",
            headers={"WWW-Authenticate": "Bearer"},
        )
    access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
    access_token = create_access_token(
        data={"sub": user.username}, expires_delta=access_token_expires
    )
    return {"access_token": access_token, "token_type": "bearer"}

@app.get("/users/me/", response_model=User)
async def read_users_me(current_user: User = Depends(get_current_active_user)):
    return current_user

@app.get("/users/me/items/")
async def read_own_items(current_user: User = Depends(get_current_active_user)):
    return [{"item_id": "Foo", "owner": current_user.username}]

Description
In the authentication form i would like to add an extra key/value like "rentalpoint": "berlin" which can be send from the client to the api while authenticate. I think i should edit/overwrite OAuth2PasswordRequestForm class model to do that. Im just starting with FastAPI and it seems im not getting the point. Can anyone give me at least a hint how to do that?
Operating System
Windows
Operating System Details
No response
FastAPI Version
0.68.1
Python Version
Python 3.9.6
Additional Context
No response

i could use the field form_data.scopes. It returns a list with scopes. So i can use this for my frontend. But it would be nicer to have a field "rentalpoint" directly in the form. If someone has an idea how to do that please let me know and leave a comment :-)

I have the exact same requirements and I dont know how to do it.


Function calls not supported in decoratators: Angular 5.2.10 CLI 1.7.4 npm run build:aot:prod

Hey mate
I am trying to get the ng-canvas working in my angular project.
When I building the appliccation with AOT enabled I am getting the following error:
ERROR in : Unexpected value 'GaugesModule in /app/node_modules/ng-canvas-gauges/lib/index.d.ts' imported by the module 'SharedModule in /app/src/app/shared/share.module.ts'. Please add a @NgModule annotation.
I have looked at the src and tried to resolve it with no luck. From what I can tell, your implementation looks fine

Facing the same issue

Any solution ?


Uncertain error

When we try to submit in the branch thread and refresh the page, suddenly an error pops up and disappears suddenly.

Ill fix

Error solved! Thanks for the sharing this issue.
This issue is solved by handling backend api code little bit.
 if (size < 3) {
      const updatedPhaseStage = await prisma.mainThread.update({
        where: {
          id: mainThreadId,
        },
        data: {
          phaseStage: phaseStage,
        },
      });
    } else {
      return { error: "You can't create more than 3 branches." };
    }

    return { threadFromDB };

Thanks again


auth process

Is it correct?

I create in my Google add-on new service with your app
Your app redirect to my web app (I provided link in setAuthorizationBaseUrl param)
I make auth User auth and get access_token
I redirect from Web app to your url from redirect_uri and include access_token in param like this: 'https://script.google.com/macros/d/Mrao93OUGU3zaiCSiX43rSUws0BH81mZ_/usercallback?url=ya29.fQK9F6V-4o1_R0dqsVfioRZHltbEriUXiMQbuJ6zlBPsPbDFBXEHv-Jq_M7rpkIu5iii_BE'

Right now I got result: The state token is invalid or has expired. Please try again.

Building an OAuth2-compliant service is outside the scope of this project. The URL you included looks wrong. Please include the parameters outlined in the OAuth2 spec, as listed here:
http://tools.ietf.org/html/rfc6749#section-4.1.2


[BUG] MSIX Azure DevOps Extension fails if there is a space in build agent path

Describe the bug
When using the Azure DevOps MSIX extensions the tasks will fail if the agent directory has a space in the build path.  An error like the following is thrown
C:\Build : The term 'C:\Build' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Build Agent\_work\_tasks\MsixPackaging_e8789f65-a0e2-472b-98ca-8cf ...

To Reproduce
Use a self hosted Azure DevOps agent, make sure your agent directory has a space in the path i.e. C:\Build Agent. Make a pipeline that includes an MSIX task such as 'Build and Package'. Run the pipeline and the task will fail.
Expected behavior
Task should execute even if space in build agent path.
Screenshots
If applicable, add screenshots to help explain your problem.

Hi @tomaustin700 . This seems to be due to calling a script with an unquoted path. I believe it was the call to the GetMSBuildPath.ps1 script here but I want to confirm. Can you share what was the full content of line 9 in your screenshot?
For now, you may be able to work around this by specifying the full path to MSBuild in the task instead of having it auto-detected. That would skip the call that is causing this error. The path should be similar to "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe".

Hi @tomaustin700 . This seems to be due to calling a script with an unquoted path. I believe it was the call to the GetMSBuildPath.ps1 script here but I want to confirm. Can you share what was the full content of line 9 in your screenshot?
For now, you may be able to work around this by specifying the full path to MSBuild in the task instead of having it auto-detected. That would skip the call that is causing this error. The path should be similar to "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe".

Hi @lechacon, here is the full content of line 9
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted "C:\Build Agent\_work\_tasks\MsixPackaging_e8789f65-a0e2-472b-98ca-8cfd83ccc3c3\1.0.6\GetMSBuildPath.ps1" -PreferredVersion latest -Architecture x86
I will try that workaround for now. Thanks for your help.

Hi @lechacon, here is the full content of line 9
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted "C:\Build Agent\_work\_tasks\MsixPackaging_e8789f65-a0e2-472b-98ca-8cfd83ccc3c3\1.0.6\GetMSBuildPath.ps1" -PreferredVersion latest -Architecture x86
I will try that workaround for now. Thanks for your help.

This should be fixed now, but not yet published. Will update when it is.

@tomaustin700 Version 1.0.7 of the extension is available now with the fix for this. Could you confirm if it solves your problem and close this issue?

Confirmed fixed, thanks @lechacon.


I got 2 BSOD and now my fans are always on high speed... (Not what I wanted)

I wanted to reduce my fans noise, which AWCC never managed to help me with so I tried AlienFX instead.
All I managed to achieve was getting 2 BSOD (very scary), and a resulting louder fan noise.
I now understand that users use this tool to increase their fan speed (and not decrease it), so it was my mistake to use this tool for the opposite purpose.
Now my question is how do I get back to the default settings? I've tried restarting my laptop a few times but my fans are still much louder than before.
Or better yet, is there a way to reduce the fan speed as much as possible using this app? Or do I have to go back to AWCC and stick with their "Quiet" settings?
My laptop is Alienware X15R2, here are my current settings.

Thanks for your help!

BSOD? In case your NOT use v1 variant, it CAN NOT produce BSOD.
So can you be a little bit more specific about what kind of BSOD, and then you get it?
AWCC's thermal modes is still here, it named "Power mode", so you can switch back to quiet as well.
About decrease fan noise, it depends on BIOS settings (yes, even in Manual mode), but quiet is usually calmer one - for the price of reduced performance (power limits).


Calculate kW out of kWh

Hi all,
I'm using graphite to plot some energy meters (power consumption). Now I have a meter that gives the total consumed power, e.g. 100 kWh. I query this meter every 20 seconds so the total is constantly increasing when power is consumed.
I would like to calculate the current wattage in graphite and have it displayed as graph. Somehow I cannot wrap my head around this and all my noobish attempts with summarize and derivative ended in crappy results. Any help would be really appreciated.
 But it sounds like you have a counter value for wattage. If you want to view the current rate, just use the derivative() or nonNegativeDerivative() functions around that metric. If that doesn't get you what you're expecting to see, please elaborate on your results for each attempt.

Many thanks for this first reply. But I could not get plausible values from the derivative nor the summarize functions or a combination here of.
Maybe an example of the mathematical model helps:
Lets assume an electrical device that 2000 Watt power.
You run the device for 2 hours.
Now you have consumed 4 kWh.
During this 2 hours my metric would increase from its [current value] to [current value + 4] in small steps.
The graph I intend to get should read 2000 during this, which is the wattage of the electrical device.

It's probably a resolution issue. What's the time resolution of your data? You're probably seeing 2000 / (number of datapoints in an hour).

I capture the data currently every 20 seconds. Lets assume that my meter has currently a value of 100 kWh. Given the above example, this total would increase by 0.005555556 kWh every 20 seconds and would reach 104 after 7200 seconds (= 2h).

And 20 seconds is also the resolution of your whisper files?
What happens if you take the result of your derivative and do scale(xxx, 180)? (180 being the number of datapoints you have in a 1h)

Yes, 20 seconds matches the whisper file
When analysing it, the "derivative(home.power.ehz.in2)" is at least close to the expected result with respect to the shape of the graph. I cannot give it more precisely but the result is about a factor of 180000 too low. This might somehow be related to the 180 measuring points and the difference between me expecting Watts and the meter counting kilo Watts hours. --> 180 * 1000 = 180000??
scale(home.power.ehz.in2, 180) is way off
but ....
scale(derivative(home.power.ehz.in2), 180000) does the trick and with pretty high accuracy but some small aberrations that remain a mystery

This image is from a test meter that actually delivers both the value (Power in Watts) I'm searching and the total consumption in kWh.
Many thanks for pointing me into the right direction :+1:

Looks good! Not sure why you're seeing these aberrations though.

Thanks a lot for this awesome tool and the support.
The features and possibilities are still quite overwhelming to me and honestly the above results is based on trial and error and not on deeper understanding of the tool but nonetheless I'm totally enthusiastic with it.

My endeavors on electrical measurement continue. Currently I'm using a test meter that displays more values than later my actual setup will to verify the results and test for plausibility of the values.
integral(scale(home.power.ehz.power, 0.000005555555555))
This function gives me the opposite way of what I have done before with the derivative function. It takes the current power usage in Watt and provides the total consumption over time. The 5.555e-6 value in this case is the reciprocal of the 180,000 used above. So far so good, this calculation works and gives me exact results.
Now I wanted to generate a daily consumption as total. So lets assume at the start of the day the graphs last value was 100, at the end of the day it was 119. This means I used 19 kWh and the value I want to get from the graphite functions would exactly be this 19. I used:
summarize(derivative(integral(scale(home.power.ehz.power, 0.000005555555555))), '24h', 'sum', false)
or for better readability:
summarize(derivative(calculation_above), '24h', 'sum', false)
I expected to get 19 as result, but it turned out to be 16. Anyone an idea where this big deviation is coming from?


Fix for named slots

I needed to change the behaviour back to the "unsimplified" version so that it'd work with named slots.
There was a problem where React's props.children wasn't like a regular DOM node, so dom diffing couldn't render anything.

LGTM

lgtm


Feature request: Read nybble

Consider a convenience method that reads 4 bits into a byte:
final BitInput bitInput = new DefaultBitInput( ... );
final byte nybble = bitInput.readNybble();

I thought it's nibble. And I just found aliases such as nybble or nyble. Thanks.

I even regret what I've done such as add (read|write)Int32.
Let me just try in other way.

@DaveJarvis I'm sorry I desided not to implement this feature. Sorry.
You might want to create your own helper class look like this.
class BitInputUtils {

    public static final int SIZE_NIBBLE = Byte.SIZE >> 1;

    public static int readNibble(final BitInput input) throws IOException {
        return requireNonNull(input, "input is null").readInt(true, SIZE_NIBBLE);
    }

    protected BitInputUtils() {
        super();
    }
}


Request to allow transcode-video to continue with default crop values if both tests differ when using detect-crop

When using detect-crop in the same argument as transcode-video, if the results differ between mplayer and handbrake, the script will fail. I'd like to request an option to allow the script to continue with default 0:0:0:0 cropping values instead of the script halting.
The is beneficial if you want to attempt to get correct cropping values, but trust if results differ between the two tests, something must be up, so continue safely with default values.
This is even more beneficial when you load up multiple inputs (like DVD extras or multiple movies) and you want to attempt to crop correctly when the tests agree, but don't want to monitor it.

@cameronks Wow! We were talking about this on Twitter just minutes ago. Thanks for filing the issue request so quickly!
I was actually thinking about this a bit after our tweet storm, and maybe instead of changing the current behavior of --crop detect, I could add a new argument. Maybe something like --crop detect-fallback or --crop detect-safe?
Would that work for you?

Actually that's exactly what I envisioned. --crop detect should stay the way it is, but an alternate like that would be great!

@cameronks Excellent! OK, I'll put that on the TODO list for 0.8.
And I'll report back here by next week on the feasibility once (I'm sober and) I take a look at the code again.

@cameronks It seems I sobered up enough to look at the code tonight. I don't think this is difficult and I can even see two ways to code it. So, the hard part now is to 1) pick the right name for the option argument and 2) think ahead as to whether we may need more argument names in the future.
I can also see (now that I think about it more) an alternate way to do this which is simply to have another option like --fallback-crop T:B:L:R where you could actually specify whether you wanted 0:0:0:0 or another set of values on detection fail. Any opinions on that idea?

@cameronks OK, I have an even better idea for that new option! Instead of specifying a T:B:L:R bounds as a fallback (which, when I think about, almost no one would want to do), how about this instead:
--fallback-crop none|auto

...where you could choose 0:0:0:0 (your original idea) or the automatic behavior from HandBrake?

The name sounds good, and I agree, I can't think of a use case to pick a specific fallback crop. "None" to me is the safe zone when the tests conflict.
I could see a use case for going with the default handbrake settings too, but I'm my experience, Handbrake gets this wrong too many times, especially on sources like DVD extras where the aspect ratio changes quite a bit. But I like it, as it's the opposite of "None". And now there would be three options for the user if the crop tests conflict: 1) Stop, 2) Continue with no crop, 3) Continue with Handbrake crop.

@cameronks Good point about HandBrake getting the crop wrong often enough to be worrisome.
Of course, if you're using --crop detect on a disc image directory instead of a single file, then you never fail because HandBrake data is all you can get. Crop information from MPlayer is unavailable for disc image directory input.
Also, falling back to the automatic crop of HandBrake is probably a bad idea. I should have thought of that. You really want the constrained version of that crop data. And it would be nice to have the choice of using the constrained crop data from MPlayer if it's available.
So, how about this (to add another argument option into the mix)?
--fallback-crop handbrake|mplayer|none

And, looking at the code now, this wouldn't be very hard to implement.

@cameronks Here's a crazy idea: add another option to control whether --detect crop constrains the crop values. That's already available in the detect-crop tool itself.
Here's how the help text would look for all this:
    --crop T:B:L:R  set video crop values (default: 0:0:0:0)
                      (use `--crop detect` for optimal crop values)
                      (use `--crop auto` for `HandBrakeCLI` behavior)
    --no-constrain-crop
                    don't constrain `--crop detect` to optimal shape
    --fallback-crop handbrake|mplayer|none
                    select fallback crop values if `--crop detect` fails

What do you think?

I'm actually not clear on the definition of constrained crop. Is it the lesser (more safe) of the values between handbrake and mplayer?

@cameronks The detected crop is always the lesser of the values from HandBrake and MPlayer which makes it the most safe. "Constraining" means the algorithm to determine optimal shape always crops from the top and bottom or from the left and right, never from both axes.

Ah, I see, so --no-constrain-crop would allow the video to be cropped from both axes using the info from --crop detect?

@cameronks Yes, which is exactly what the detect-crop tool does when you pass it the --no-constrain option.

Well, that looks like it covers all options then. I love it!

@cameronks Excellent! OK, this will definitely go into version 0.8 then. Which will probably be out in the next few weeks. (I'm trying to get some additions and changes to the audio API completed as well which is why it will take so long.)

May I propose yet another option for --fallback-crop?
--fallback-crop ask
where the script would pause and wait for the user to make a decision about the cropping, the user would then be able to supply the cropping in the T:B:L:R format.
This would be nice in the case of batch conversion, where --crop detect can be used, and in the case of a problem, the conversion will stop and wait fo the users decision on cropping, the reason for this is that I'm sometimes converting old movies where the source used for DVD is tape which makes the edges very uneven, which always screws up automatic detection.

@cnrd I'll consider that. But such a feature would be the only case where any of the tools in the package behaved interactively. And if I Implemented the option to ask, I'm not sure it would be for such complicated input. Maybe just a choice between HandBrake and MPlayer.

I don't think 'ask' makes sense. I see the new options as tools to improve the automation of transcoding. If I'm available for interactive input I'll just use detect-crop and input the values manually.

@mrverrall Agreed. Interactive input is the wrong approach for a tool that's typically run in batch mode.

@cameronks OK, I have a patch working for this and I'm testing it now. Even easier than I thought. Stay tuned...

@cameronks OK, the new options have been released in version 0.8.0. Just update to get it.
Thanks again!


The One Ring Second Edition (Basic)

Changes / Comments
This is a basic version of the One Ring Second Edition Character sheet, using a lot of the code from the existing sheet. It has been redesigned and recoded to use the Second Edition Alpha rules
##Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.
[Yes ] Does the pull request title have the sheet name(s)? Include each sheet name.
[No ] Is this a bug fix?
[Yes ] Does this add functional enhancements (new features or extending existing features) ?
[big layout changes ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[attempts to most use the same attributes as the 1ed, but the 2ed changes a bit of attributes ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[Yes new sheet to new standards ] If this is a new sheet, did you follow Building Character Sheets standards ?
If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


ltx file format extensibility (faster encryption + faster hashing + faster compression)

Hi there,
I really like your work around SQLite!
I maintain some benchmark for Go (https://github.com/skerkour/go-benchmarks) and it appears that the selected algorithms are not the fastest, so I was wondering to what extent the ltx file format will be able to evolve to accommodate faster algorithms in the future?
For example, the hashing function blake3 or the checksum function xxh3 are both way faster than crc64 and snappy is generally faster than lz4.
Also, I'm not sure to understand if the current format supports encryption? Can you please enlighten me on this point.
Thank you!

I was wondering to what extent the ltx file format will be able to evolve to accommodate faster algorithms in the future?

The compression algorithm could change in the future as it's just a flag on the file. The checksumming would be tougher to switch out.

For example, the hashing function blake3 or the checksum function xxh3 are both way faster than crc64 and snappy is generally faster than lz4.

We're not generally limited by compression or checksumming in our performance. LZ4 was chosen because of fast decompression speeds, reasonable compression speed, and the available cross-language tooling around it. CRC64 was chosen as it was already in the standard library and performed fast enough for what we need.


make debug failed .. library not loaded CoreSimulator

I just finished installing xcode (only had CLI tool installed) and then ran make debug.  Sorry i'm newb at this, haven't built an osx app before...
  Referenced from: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit
  Reason: image not found, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework, NSLocalizedDescription=The bundle “IDEInterfaceBuilderCocoaTouchIntegration” couldn’t be loaded because it is damaged or missing necessary resources.}}}
2017-11-17 12:51:25.367 ibtoold[20016:12914856] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error getting value for parameter key 'name' of extension 'Xcode.InterfaceBuilderKit.AppleTVIntegration.Singletons' in plug-in 'com.apple.dt.IDE.IDEInterfaceBuilderAppleTVIntegration''
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fffa199b2cb __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fffb67b148d objc_exception_throw + 48
	2   DVTFoundation                       0x0000000106f104dd -[DVTExtensionParameter valueForKey:error:] + 0
	3   IDEInterfaceBuilderKit              0x000000010669dab5 -[IBScopedSingletonRegistry init] + 722
	4   IDEInterfaceBuilderKit              0x000000010669d7c9 __43+[IBScopedSingletonRegistry sharedInstance]_block_invoke + 41
	5   libdispatch.dylib                   0x00007fffb70618fc _dispatch_client_callout + 8
	6   libdispatch.dylib                   0x00007fffb70618b9 dispatch_once_f + 38
	7   IDEInterfaceBuilderKit              0x000000010669d79d +[IBScopedSingletonRegistry sharedInstance] + 45
	8   IDEInterfaceBuilderKit              0x00000001064b6175 -[IBInterfaceBuilderPlugin init] + 146
	9   IDEInterfaceBuilderKit              0x00000001064b60c9 +[IBInterfaceBuilderPlugin ide_initializeWithOptions:error:] + 34
	10  IDEFoundation                       0x0000000107838cd2 _IDEInitializeOnePlugInAndPrerequisites + 2324
	11  IDEFoundation                       0x00000001078385d9 _IDEInitializeOnePlugInAndPrerequisites + 539
	12  IDEFoundation                       0x00000001078385d9 _IDEInitializeOnePlugInAndPrerequisites + 539
	13  IDEFoundation                       0x0000000107836cce _IDEInitializePlugIns + 1604
	14  IDEFoundation                       0x0000000107836085 IDEInitialize + 8547
	15  ibtoold                             0x00000001061ad535 ibtoold + 70965
	16  ibtoold                             0x00000001061ac6b0 ibtoold + 67248
	17  libdyld.dylib                       0x00007fffb7097235 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 6. The tool may have crashed. Please file a bug report at http://bugreport.apple.com with the above output and attach any crash logs for ibtool, ibtoold, Xcode, and Interface Builder Cocoa Touch Tool created around the time of this failure. These logs can be found in ~/Library/Logs/DiagnosticReports or /Library/Logs/DiagnosticReports.

** BUILD FAILED **

The following build commands failed:
	CompileXIB syncthing/UI/STPreferencesWindow/STPreferencesAdvancedViewController.xib
	CompileXIB syncthing/UI/STPreferencesWindow/STPreferencesInfoViewController.xib
	CompileXIB syncthing/UI/STPreferencesWindow/STPreferencesDevicesViewController.xib
	CompileXIB syncthing/UI/STPreferencesWindow/STPreferencesFoldersViewController.xib
	CompileXIB syncthing/UI/STAboutWindowController.xib
	CompileXIB syncthing/STPreferencesGeneralViewController.xib
	CompileXIB syncthing/Base.lproj/STApplication.xib
(7 failures)
make: *** [debug] Error 65

Probably you are missing some tools, which are downloaded when the project is opened first time with xcode. Try to build the Debug target and see what happens. I search a bit and found this similar issue: https://github.com/tekezo/Karabiner-Elements/issues/1050

I have tried myself and get the same error, not sure how to fix this yet:
My system:
OSX 10.12
XCode 9.1 (9B55)
DEInterfaceBuilderCocoaTouchIntegration” couldn’t be loaded because it is damaged or missing necessary resources.}}}
2017-11-18 08:11:20.275 ibtoold[2849:620011] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error getting value for parameter key 'name' of extension 'Xcode.InterfaceBuilderKit.PepperIntegration.Singletons' in plug-in 'com.apple.dt.IDE.IDEInterfaceBuilderWatchKitIntegration''
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fffa0c832cb __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fffb5a9948d objc_exception_throw + 48
	2   DVTFoundation                       0x0000000103e544dd -[DVTExtensionParameter valueForKey:error:] + 0
	3   IDEInterfaceBuilderKit              0x00000001035e1ab5 -[IBScopedSingletonRegistry init] + 722
	4   IDEInterfaceBuilderKit              0x00000001035e17c9 __43+[IBScopedSingletonRegistry sharedInstance]_block_invoke + 41
	5   libdispatch.dylib                   0x00007fffb63498fc _dispatch_client_callout + 8
	6   libdispatch.dylib                   0x00007fffb63498b9 dispatch_once_f + 38
	7   IDEInterfaceBuilderKit              0x00000001035e179d +[IBScopedSingletonRegistry sharedInstance] + 45
	8   IDEInterfaceBuilderKit              0x00000001033fa175 -[IBInterfaceBuilderPlugin init] + 146
	9   IDEInterfaceBuilderKit              0x00000001033fa0c9 +[IBInterfaceBuilderPlugin ide_initializeWithOptions:error:] + 34
	10  IDEFoundation                       0x0000000104785cd2 _IDEInitializeOnePlugInAndPrerequisites + 2324
	11  IDEFoundation                       0x00000001047855d9 _IDEInitializeOnePlugInAndPrerequisites + 539
	12  IDEFoundation                       0x00000001047855d9 _IDEInitializeOnePlugInAndPrerequisites + 539
	13  IDEFoundation                       0x0000000104783cce _IDEInitializePlugIns + 1604
	14  IDEFoundation                       0x0000000104783085 IDEInitialize + 8547
	15  ibtoold                             0x00000001030f2535 ibtoold + 70965
	16  ibtoold                             0x00000001030f16b0 ibtoold + 67248
	17  libdyld.dylib                       0x00007fffb637f235 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 6. The tool may have crashed. Please file a bug report at http://bugreport.apple.com with the above output and attach any crash logs for ibtool, ibtoold, Xcode, and Interface Builder Cocoa Touch Tool created around the time of this failure. These logs can be found in ~/Library/Logs/DiagnosticReports or /Library/Logs/DiagnosticReports.

** BUILD FAILED **

The following build commands failed:
	CompileXIB syncthing/UI/STPreferencesWindow/STPreferencesAdvancedViewController.xib
	CompileXIB syncthing/UI/STPreferencesWindow/STPreferencesInfoViewController.xib
	CompileXIB syncthing/UI/STPreferencesWindow/STPreferencesDevicesViewController.xib
	CompileXIB syncthing/UI/STPreferencesWindow/STPreferencesFoldersViewController.xib
(4 failures)
make: *** [debug] Error 65

@virusman maybe you have an idea?

Builds without issues for me. This is not related to this project, since the error is due to Cocoa Touch (iOS) and Apple TV integrations not working; looks like Xcode is misconfigured. Have you tried launching Xcode and installing the 'additional tools' package when prompted?
Alternatively, you can re-install these tools by running this package: /Applications/Xcode.app/Contents/Resources/Packages/XcodeSystemResources.pkg

Seems also to work for me now, I had indeed the question after opening xcode:

I'm closing this, as we need a full working toolchain. The bad thing is that the console tools don't complain unless you open XCode, to bad but it works now.


docs: remove module-metadata.json and commitlint.config.js

/run pipeline

/run pipeline

:tada: This PR is included in version 1.1.5 :tada:
The release is available on:

GitHub release
v1.1.5

Your semantic-release bot :package::rocket:


Fix php 5.4 build

https://travis-ci.org/jonathantorres/construct/jobs/96497450
:disappointed:

Fixed on latest release :dancers:


Suggestion: formatter to allow extra spaces between relationships and nodes

Hi, let me start by saying I REALLY appreciate your work on the plugin, it makes life SO much easier.
I have a very small suggestion for the formatter options.
At the moment, the formatter "squashes" the relationships and nodes not leaving any spaces between them:
(a)-[:REL]->(b)
The style I much prefer is to have more white space in such situation, i.e.
(a) -[:REL]-> (b)

it makes it more readable to me, especially with longer queries.
I'm not sure how difficult it would be to add this to the plugin as an option but if it's possible, I'd be very happy :)

Hi @lilianaziolek,
Currently it's not available because we have hardcoded all rules, so they are not configurable (official style guide).
Unfortunately making them configurable is not that simple (and not that hard).
We have plans to make rules configurable in future.
But in meantime, unfortunately - no :(

Thanks for your reply and I completely understand.
Would it be possible to keep this issue open so that I can keep track and see when - at some point in the future - it's added as an option?

Sure @lilianaziolek .
I will do exactly that! :)


Bugfix/1669 multiply dim size 0

Summary
Removed restriction on matrix multiply requiring all dimensions to be positive - instead going with Eigen requirement that all dimensions are nonnegative.
Tests
Existing unit tests for dimensions size 0 changed so that size 0 are OK.
Cannot create test for matrices with negative dimension size because Eigen doesn't allow such objects to be created.
Side Effects
none.
Checklist

[x] Math issue #(issue number) 1669

[x] Copyright holder: (fill in copyright holder information)
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses: Columbia University
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

This is failing for mdivide_left_spd because if check_multiplicable doesn't throw anymore on size 0 input, then we get straight into Eigen code, so we'll need an explicit check for size 0 and return early. I think mdivide_left_tri has the same problem, and probably a few more headers. If you need help with this let me know.

This is failing for mdivide_left_spd because if check_multiplicable doesn't throw anymore on size 0 input, then we get straight into Eigen code, so we'll need an explicit check for size 0 and return early. I think mdivide_left_tri has the same problem, and probably a few more headers. If you need help with this let me know.

looks like there's 40 files that call check_multiplicable.
stan/math/fwd/fun/trace_quad_form.hpp
stan/math/fwd/fun/mdivide_left_tri_low.hpp
stan/math/fwd/fun/mdivide_left_ldlt.hpp
stan/math/fwd/fun/multiply.hpp
stan/math/fwd/fun/quad_form_sym.hpp
stan/math/fwd/fun/mdivide_left.hpp
stan/math/fwd/fun/mdivide_right_tri_low.hpp
stan/math/fwd/fun/mdivide_right.hpp
stan/math/rev/fun/trace_quad_form.hpp
stan/math/rev/fun/quad_form.hpp
stan/math/rev/fun/mdivide_left_spd.hpp
stan/math/rev/fun/mdivide_left_ldlt.hpp
stan/math/rev/fun/multiply.hpp
stan/math/rev/fun/mdivide_left_tri.hpp
stan/math/rev/fun/trace_gen_quad_form.hpp
stan/math/rev/fun/trace_inv_quad_form_ldlt.hpp
stan/math/rev/fun/quad_form_sym.hpp
stan/math/rev/fun/mdivide_left.hpp
stan/math/rev/fun/trace_gen_inv_quad_form_ldlt.hpp
stan/math/rev/fun/matrix_exp_multiply.hpp
stan/math/opencl/prim/mdivide_left_tri_low.hpp
stan/math/opencl/prim/mdivide_right_tri_low.hpp
stan/math/prim/fun/trace_quad_form.hpp
stan/math/prim/fun/quad_form.hpp
stan/math/prim/fun/mdivide_left_spd.hpp
stan/math/prim/fun/mdivide_left_tri_low.hpp
stan/math/prim/fun/mdivide_left_ldlt.hpp
stan/math/prim/fun/multiply.hpp
stan/math/prim/fun/mdivide_left_tri.hpp
stan/math/prim/fun/trace_gen_quad_form.hpp
stan/math/prim/fun/mdivide_right_ldlt.hpp
stan/math/prim/fun/trace_inv_quad_form_ldlt.hpp
stan/math/prim/fun/quad_form_sym.hpp
stan/math/prim/fun/mdivide_right_spd.hpp
stan/math/prim/fun/scale_matrix_exp_multiply.hpp
stan/math/prim/fun/mdivide_left.hpp
stan/math/prim/fun/trace_gen_inv_quad_form_ldlt.hpp
stan/math/prim/fun/mdivide_right_tri.hpp
stan/math/prim/fun/matrix_exp_multiply.hpp
stan/math/prim/fun/mdivide_right.hpp

This is failing for mdivide_left_spd because if check_multiplicable doesn't throw anymore on size 0 input, then we get straight into Eigen code, so we'll need an explicit check for size 0 and return early. I think mdivide_left_tri has the same problem, and probably a few more headers. If you need help with this let me know

@mcol - definitely need help.
check_multiplicable currently enforces the following 3 things, in order

dims on result are not 0 (A.rows > 0, B.cols > 0)
compatible size- A.cols == B.rows
inner dimension also > 0 (A.cols > 0, therefore B.rows > 0, by previous condition)

if both A and B can be empty, then the only requirement is that A.cols == B.rows
if A must be positive, then the check multiplicable does the right thing
if B must be positive but A can be empty, allow A.rows == 0

I think that the direction I started going in is wrong - the current PR has reduced check_multiplicable to a wrapper around check_size_match.
instead we need to look at the 19 functions which call check_multiplicable and determine whether or not A or B can be empty and if so, what should the function return.

should I close this PR and revise the issue?

the other option is to just fix the multiply function for now.

hi @mcol

Added file stan/math/prim/err/check_multiplicable_positive.hpp which does what current develop branch version of check_multiplicable does, plus corresponding unit test.

Changed stan/math/prim/err/check_multiplicable.hpp so that it just wraps the call to check_size_match - allows either matrix A or B to have rows, columns of size 0.

Reviewed all stan_math functions which call check_multiplicable - all mdivide* functions now call check_multiplicable_positive; the rest are unchanged and will now allow matrices and vectors of size 0, note that there are several places in the code - e.g., matrix_exp_multiply which explicitly allow matrices of size 0 - perhaps these should have unit tests to exercise this condition?

updated issue - closing this PR.


MFA with non interactive authentication issue with CAS 5.0.0-RC3

MFA authentication with SPNEGO then Yubikey works oddly : MFA is not triggered first time, ending with "Authentication failure" on client application.
I suspect that transition on success after SPNEGO to be incorrect. It's actually hardcoded to CasWebflowConstants.TRANSITION_ID_SEND_TICKET_GRANTING_TICKET.

@pmarasse could you try with RC3 SNAPSHOT? force an upgrade with -U

Hello,
Unfortunately, this is worse than before, I'm getting error code 500 with text : Error: No transition was matched on the event(s) signaled by the [1] action(s) that executed in this action state 'spnego' of flow 'login'; transitions must be defined to handle action result outcomes -- possible flow configuration error? Note: the eventIds signaled were: 'array<String>['authenticationFailure']', while the supported set of transitional criteria for this action state is 'array<TransitionCriteria>[success, error]'
Although I've ported back modification from RC3 to my customized login-webflow :
    <action-state id="startSpnegoAuthenticate">
    	<evaluate expression="negociateSpnego" />
    	<transition on="success" to="spnego" />
    	<transition on="negotiate" to="casSpnegoNegotiateView" />
    	<transition on="error" to="casSpnegoErrorView" />
    </action-state>

    <action-state id="spnego">
    	<evaluate expression="spnego" />
    	<transition on="success" to="sendTicketGrantingTicket" />
    	<transition on="error" to="casSpnegoErrorView" />
    	<on-exit>
    		<evaluate expression="clearWebflowCredentialsAction" />
    	</on-exit>
    </action-state>

	<end-state id="casSpnegoNegotiateView" view="casSpnegoNegotiateView" />

	<end-state id="casSpnegoErrorView" view="casSpnegoErrorView"  />

There's the full catalina log :
catalina.out
Regards.

If you have manually modified the login flow to make changes, then everything else (including adding other transitions and states) is also on you to handle.

I also recommend you avoid modifying the login webflow directly, and think about how "your custom changes" can become part of CAS either directly or via a pluggable strategy. Changing this sort of thing ad-hoc is only going to break you later on.

Indeed.
If needed, I can test a more "vanilla" CAS SPNEGO authentication.

That would be very helpful. Thank you.

My first try on vanilla configuration was not a success, spnego was not triggered. the documentation tells to Replace instances of initializeLoginForm with startSpnegoAuthenticate, if any.
If I change every transitions to initializeLoginForm with startSpnegoAuthenticate: it does not work.
If I change the onSuccess transition of initializeLoginForm state from viewloginForm to startSpnegoAuthenticate : it works.
So when spnego is correctly triggered, yubikey follows this time.

Thanks for the feedback. Sounds like we need to adjust the docs a little bit. Could you handle that with a PR plz?

Done PR #2021


Build of Oxigraph for JS is failing

The build of Oxigraph for JS has started to fail in February 19th. I am not sure what is the cause of this problem, both failing and passing builds are using Rust 1.50 stable and wasm-pack 1.9.1.
I have reported this issue to wasm-pack .

Hi, I was trying out oxigraph over the weekend and I stumbled upon this bug. I looked at the wasm-objdump and I think I found the root cause: at some point quick-xml::escape::unescape() declares about 75000 (!) locals which far exceeds the limit in v8 for wasm function locals (and other engines have similar limits I think). This causes wasm-pack to fail when parsing the module.
au94cf func[28670] <_ZN9quick_xml7escapei8unescape17heccca164dc916471E>:
 a094d0: 68 7f                      | local[0..103] type=i32
 a094d2: 01 7e                      | local[104] type=i64
 a094d4: 0c 7f                      | local[105..116] type=i32
 a094d6: 01 7e                      | local[117] type=i64
 a094d8: 03 7f                      | local[118..120] type=i32
 a094da: 01 7e                      | local[121] type=i64
 a094dc: 09 7f                      | local[122..130] type=i32
 a094de: 01 7e                      | local[131] type=i64
 a094e0: 26 7f                      | local[132..169] type=i32
 a094e2: 01 7e                      | local[170] type=i64
 a094e4: 06 7f                      | local[171..176] type=i32
 a094e6: 01 7e                      | local[177] type=i64
 a094e8: 06 7f                      | local[178..183] type=i32
 a094ea: 01 7e                      | local[184] type=i64
 a094ec: 03 7f                      | local[185..187] type=i32
 a094ee: 01 7e                      | local[188] type=i64
 a094f0: 15 7f                      | local[189..209] type=i32
 a094f2: 01 7e                      | local[210] type=i64
 a094f4: b6 ce 04 7f                | local[211..75784] type=i32
 a094f8: 01 7e                      | local[75785] type=i64
 a094fa: 03 7f                      | local[75786..75788] type=i32
 a094fc: 01 7e                      | local[75789] type=i64
 a094fe: 03 7f                      | local[75790..75792] type=i32
 a09500: 01 7e                      | local[75793] type=i64
 a09502: 02 7f                      | local[75794..75795] type=i32

See line starting with a094f4.
Going further up the chain, I think this behaivour was introduced in quick-xml sometime between release 0.20.0, and 0.21.0. rio = "0.5.2" is the first version that uses quick-xml = "0.2.1". If I pin rio_xml = "=0.5.1" in oxigraph the build runs again.
Disclaimer: I am a Rust and wasm newbiew and this is what I found after googling around for a few hours. I followed the instructions in this blog post for wasm-objdump. Running the build with opt-level = 1 also seems to work.


feat: 🎸 Add support for FIGI asset identifiers

Description
Adds support for FIGI asset identifiers
JIRA Link
DA-250
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 15.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 15.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 15.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to move placement of suggestions?

Is there a way to make the dropdown be placed above the text input (a dropup if you will). I'm using it on a text input that is on the bottom of the page and so the suggestions go off screen.

I solved the issue by using flexbox and the order property, and then setting the bottom property of the awesomplete list to be above my input.


A WYSIWYG editor to create MREs

It'd be nice for those with little programming experience to be able to edit and create MRE apps via What You See is What You Get, similar to HTTP.

I think this should be built as an MRE itself. We have this #339 , so I'll close this as a duplicate

Actually, I read that. This is not a duplicate. I'm talking of having an app that can make MRE apps without prior knowledge, whereas the other is making an MRE that can make a scene via json.

OK, then I must have misunderstood what you mean. I can't quite see what WYSIWYG means for programming. Can you explain in much more detail what you're thinking of here? Are you talking about visual programming like Kodu or MakeCode? react-like layout functionality and hotloading? Are there any examples from other apps or programming environments that you can point to?

What I'm thinking of is similar to an html editor with WYSIWYG, or some of the Game Makers for those with no or little experience coding. A program that can have the ability to guide what you need and possibly allows visual representation of the program while you code it, or have things similar to "blocks" you can move in that allows for making an MRE without simply toying around in the dark trying to get it to work. That way, once done you have the ability to make an MRE from as simple as the "Hello World" MRE, to complex ones like Holograms Against Humanity or similar card games.

What I'm thinking of is similar to an html editor with WYSIWYG, or some of the Game Makers for those with no or little experience coding. A program that can have the ability to guide what you need and possibly allows visual representation of the program while you code it, or have things similar to "blocks" you can move in that allows for making an MRE without simply toying around in the dark trying to get it to work. That way, once done you have the ability to make an MRE from as simple as the "Hello World" MRE, to complex ones like Holograms Against Humanity or similar card games.


Fix Heap Buffer Flow (fixes #1039)

See #1039

This fix is working for me and the output still seems correct (plus tests pass).
Since this change touches hot code, please review it carefully.
I benchmarked my fix against a base compile of version 1.0.2 and saw no speed difference when searching for emails addresses or includes in a Linux Kernel build directory (mainline master, cloned and built with x86_64_defconfig in /tmp so the files to search were in RAM)

Apologies for the delay in replying, but are there any tests for this? I'd love to prevent any regressions.

The ignore_abs_path.t test picks this up if you configure with CC=clang and -fsanitize=address in CFLAGS. Many other tests also point out memory leaks this way.
You can cherry-pick this commit to get my sanitize.sh script which rebuilds with several of clang's -fsanitize options (or valgrind) and runs make test.
Note: the latest version of sanitize.sh builds in a separate directory, but you'd need versions of these commits to get make test to work in non-root build directories.

I cherry-picked your sanitize script. Thanks a lot!


libcnb: Remove use of the stacker crate

Since:

The stdlib remove_dir_all recursive implementation (which this function is replacing) doesn't have stack overflow protection.
Testing has proven it's unnecessary (see #516).

In addition:

The function has been refactored to avoid recursing for every file (now only directories), which reduces depth of recursion by one, and saves an additional stat on every file, since the file type is already retrieved by read_dir so it's redundant to call the more expensive symlink_metadata() again on the next recursion.
remove_recursively has been renamed to remove_dir_recursively to more clearly reflect it's intended to operate on directories (and for closer parity to the name of remove_dir_all).

Closes #516.
GUS-W-11917787.

@Malax I still don't agree that this is an issue in practice (particularly given the constrained environment in which this code runs; in a CNB), and so characterising this as "probably fine" seems unfair. If this genuinely was an issue, then the stdlib would have implemented such protections, or there would be reports of stack overflows when using remove_dir_all (there are no such reports I could find). We obviously want to ensure libcnb is as reliable as possible, however it's also important that we not regularly over-engineer things without proof, just because we can.


ENH: Add Indiana vaccine scraper

Do not merge
In the data's data dictionary,  it reports the following definitions:

first_dose_administered: Total number of individuals who received their first dose of the COVID-19 vaccine, any value <5 will read Suppressed.
new_first_dose_administered: During the previous 24 hours of current_as_of date, number of individuals who received their first dose of the COVID-19 vaccine, any value <5 will read Suppressed.
fully_vaccinated: Total number of individuals who are considered to be fully vaccintaed for COVID-19 , any value <5 will read Suppressed.
new_fully_vaccinated: During the previous 24 hours of current_as_of date, total number of individuals who are considered to be fully vaccinated for COVID-19, any value <5 will read Suppressed.

but the new_{name} and {name} columns are currently the same.
We need to raise this with the state and have the data be fixed prior to actually ingesting... The scraper is ready and reads the data but their data is inaccurate.

Thanks! I'll review when data accurate and ready to go1


Give non-hackers home view

Currently staff/volunteers do not have the home view, would be nice if they did :)

fixed in 484471b