[WIP] Support for WCH CH32V003xx

Implement preliminary support for WCH CH32V003xx targets
Pending hardware verification.

Hey @ikskuh, I'm still waiting on the actual hardware to get shipped to me to test this. Maybe put this on hold until I can verify this works IRL

Maybe put this on hold until I can verify this works IRL

Sure! I have the HW available but sadly no time to play with electronics right now :(

Mine came in! Have yet to actually power it up but may try building this + flashing when I get a sec :)

Hey @nosuz I just noticed this PR, did you introduce its changes into #286 ?

@mattnite No, unfotunately this PR if not inluded in #286. However, I am going to make a PR to include or merge this after the current problem, the examples for CH32V fail to compile,  is fixed.

I have updated this Pull Request for the latest main branch and sent it as PR #302.
Recently, PR #286, port for WCH's CH32V series, is merged and I also exteded this PR for that one.
If the PR #302 is merged, this PR may be closeable.


Fix handling of CA certificates.

In the current implementation of TLS communication between the manager and connector, it is assumed that CA certificates must be provided for the client (aka manager) and are expected to be set for the servers (aka connectors) if mutual TLS is used. This is not correct as the system CA certificates are used by default (found in directory/etc/ssl/certs/ for example) if a private one is not provided.
This PR fixes this behavior.

@revit13 , my previous comments were not answered.

@roytman sorry, I am still working on the updated version this is why I did not answer.

@roytman btw, I planned to add to this pr the changes as described in https://github.com/fybrik/fybrik/issues/1628. is that OK or should I address them in separate pr Thanks

@roytman btw, I planned to add to this pr the changes as described in #1628. is that OK or should I address them in separate pr Thanks

we definitely need to merge it into the new release. You can continue with this PR, and we will merge it.

Can you check if the functions GetClientTLSConfig and GetServerTLSConfig can be combined. There are a lot of common code.
can you add a unittest to run TLS without CA certificates. (you had a test to connect to a well known server)

@roytman I refactor tls.go file to address your comment.
I now waorking on adding a test.
The PR also now contains the change to mount the certificate secret as described in #1628

can you add a unittest to run TLS without CA certificates. (you had a test to connect to a well known server)
@roytman I added run-notebook-readflow-tls-cacerts-preloaded-tests

@roytman I addressed your comments, thanks


Add a release step to the ci

Closes #37

[x] Build release in CI
[x] Commit release builds
[x] Push to repo
[x] Only run on master (no tags)

Ready to merge as far as I am concerned.
Lots of manual testing and fiddling with CircleCI settings.
After merge, about 20 minutes later a release build should be pushed to master for Linux and OSX. This may be tagged.
If this works, I would make a new PR to use cosmwasm 0.7.1 and then upon merge, CI will build the dlls and we can just manually tag

Ready to merge as far as I am concerned.
Lots of manual testing and fiddling with CircleCI settings.
After merge, about 20 minutes later a release build should be pushed to master for Linux and OSX. This may be tagged.
If this works, I would make a new PR to use cosmwasm 0.7.1 and then upon merge, CI will build the dlls and we can just manually tag


Add offstage attribute to OffStage

Also, add a few more debugging flags.

@Hixie
Not quite ready to use this yet, but progress.


Manual Integration: Merge changes to the test client and objects from Bo...

...sch SI in bsinno:cond_observe branch.
Signed-off-by: David Navarro<EMAIL_ADDRESS>

Hi David,
from my short review some remarks:

minor bug: in tests/client/object_connectivity_moni.c in line 362: should be
strcpy(myData->ipAddresses[1], VALUE_IP_ADDRESS_2);
Error related to our original source: A read request from leshan-standalone from /4/0 does now generate an alert: "Unable to read instance /4/0 for testlwm2mclient : 500 [Unable to decode tlv.] ([/4/0])"
...My first idea was: This belongs to the now missing "blockwise" functionality, because the response is truncated could not be confirmed because a double-check with the original cond_observe PR does have the same problem. So I can't drill it down at the moment.

yes the payload is truncated to 128 in er-coap-13/er-coap-13.c
set_payload(..) function.
So yes lack of block transfer is hurting here

The alternative would be to shrink the multi-instance resources in the example to fit in one block-size, having a working still working object?

or raise the 128 bytes limit which is really low for usual Internet MTU

Hi,
I just fixed the two minor issues. What about letting the "Read /4/0" issue as a test for the block transfer integration ?

+1

my new PR contains modified Connectivity Montiring implementation with reduces resource instances fitting to the current 128 Byte payload ... up to the blockwise implementation.


Project media file from folder results in 404

Describe the bug
Adding a media file - here: a logo - in a folder and trying to project the file results in 404.
Not Found: /media//foobar/logo.png
HTTP GET /media//foobar/logo.png 404 [0.03, <IP_ADDRESS>:55035]
How to Reproduce

Go to "Files"
Click "Create new folder" on top right
Name: "foobar", access group "Default"
Click "Save"
Click on folder name ("foobar") to "chdir()" into folder
Click "Add" on top right
Drag file (image format) onto drop area
Access groups "Default"
Click on "Upload"
Click media files menu right of file entry (three dots)
Click on "Project"
Select "Default projector"
Click on "Project"
Open projector view
Media file URL contains two slashes - between media root and path: "/media//foobar/..."

Expected behavior
The media file should be projected and visible.
System information

OpenSlides-Version: 3,0
Additional version information (if any): [e.g. commit hash or installation-month]
Python Version: 3.7
Device: MacBook
OS: macOS Mojave
Browser: Safari
Browser-Version: 12.1.2

Additional context
Add any other information to comprehend your problem
Screenshots

I can confirm this on nightly and demo.
However, I cannot confirm this on my local instances of OpenSlides. No matter if I use redis, SQlite or postres.
Seems like a setup issue
@gsiv @FinnStutzenstein any ideas?

Was a little more severe than I thought. Thanks for reporting that.


Add Contributor guidelines

Created contributor guidelines for consistency and to encourage quality contributions to the project.

@djnewbould it might be worth putting a link on the main README.md page to link to this.


added headers to individual files with build and execution instructions: re issue #23

Will try and add for more files soon.

Thanks a lot, this is very cool.


Fix #781 - Ignore schema without data_length

Fix #781

Please open it on centreon-plugins repository notre yours si we can merge it.
Thanks !!


Kanister docs update to version 0.96.0

Kanister docs update to version 0.96.0

Merge after #2351


[fix][broker] Reject create non existent persistent partitions.

Fixes #19085
Master Issue: #19085
Motivation
See #19085
ML: https://lists.apache.org/thread/3s7b7dh0h9qcnn8x3lclxmw75okkqf37
Modifications

Add check to avoid create non-existent persistent partitions.

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Codecov Report

Merging #19086 (ea4d3b4) into master (492a9c3) will increase coverage by 22.81%.
The diff coverage is n/a.

:exclamation: Current head ea4d3b4 differs from pull request most recent head 3c7b9e9. Consider uploading reports for the commit 3c7b9e9 to get more accurate results

@@              Coverage Diff              @@
##             master   #19086       +/-   ##
=============================================
+ Coverage     47.46%   70.27%   +22.81%
+ Complexity    10727      434    -10293
=============================================
  Files           711       26      -685
  Lines         69456     2247    -67209
  Branches       7452      245     -7207
=============================================
- Hits          32964     1579    -31385
+ Misses        32810      495    -32315
+ Partials       3682      173     -3509

Flag
Coverage Δ

unittests
70.27% <ø> (+22.81%)
:arrow_up:

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

Impacted Files
Coverage Δ

...java/org/apache/pulsar/proxy/stats/TopicStats.java
58.82% <0.00%> (-41.18%)
:arrow_down:

...a/org/apache/pulsar/proxy/server/ProxyService.java
80.00% <0.00%> (-0.94%)
:arrow_down:

.../pulsar/broker/admin/impl/SchemasResourceBase.java

...va/org/apache/pulsar/client/impl/ConsumerImpl.java

...lsar/client/impl/conf/ClientConfigurationData.java

...java/org/apache/pulsar/broker/admin/v2/Worker.java

...kkeeper/mledger/impl/LedgerOffloaderStatsImpl.java

...er/service/persistent/GeoPersistentReplicator.java

...ulsar/client/impl/schema/AbstractStructSchema.java

...roker/service/PulsarMetadataEventSynchronizer.java

... and 677 more

without this change, the test also can pass @mattisonchao
https://github.com/apache/pulsar/blob/ea4d3b4840ba57cfb8edfcf14b6e28e859fdce9b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java#L1031
this line has already guaranteed can't create partition-4 topic.

Aha, sorry. I need to change the topic name to persistent.

I use the workaround method to fix the restful endpoint updatePartitionedTopic. It's ugly though. I will refactor it in the next PR.
@eolivelli  @codelipenghui @liangyepianzhou  Could you review it again?


buildRustCrate: support proc-macro in default prelude

Motivation for this change
With rust 1.42.0 "proc_macro" is supposed to be part of the standard prelude. For reasons that are beyond my understanding this language level change isn't part of the compiler but rather a change in cargo.
This PR updates our behavior to be compatible with what rust/cargo "proper" are doing.
cc @alyssais @nagisa

@GrahamcOfBorg build buildRustCrateTests


store: Ensure we've upgraded to firefly v80.8

A new release for firefly: http://ceph.com/releases/v0-80-8-firefly-released/
I'm thinking we may actually automatically have this point release if this was published to the apt repo before the store components were built and pushed to Docker Hub last time, but we should confirm.

I had a brainfart - we're running giant, not firefly...


While 'private browsing' - no code samples in Beta

When I am trying to navigate through out the challenges in a private session using Safari, I cannot see any code sample:

Hi @cristianvnica safari has a lot of problems. One of which is that it doesn't like our web workers which give the effect of multi-threading can you attach a screen shot of your web console? I think it'll have something to the effect of a blob being undefined.

It is also possibly cause by safari blocking access to/from web-storage. Something again that our editor relies on

Okay the private browsing is stopping the web-storage


Review comments that haven't been addressed yet and convert them to GH issues

Meta issue to review un-addressed comments in PR #1 and convert them to workable issues

We decided to stay with the bash scripts


chore: update dependencies

Updated everything except execa and normalize-url (ESM-only).
Closes: https://github.com/adonisjs/validator/issues/153

Starting to go through all the PR's now. Thanks in advance for all of them :)


Adjusting Argo CD sync parameters for cnv/image-builder apps.

Addresses 1 and 2 in issue #126.

This fix seems to be step in the right direction. I see that cnv was correctly deployed and image-builder vm was created correctly. Unfortunately there are still other issues preventing the vm to boot. I tried it several times on different machines and different clusters and at each time the cluster end up being in slightly different state. Sometimes I see quay or nexus issues. I noticed openshift-gitops-application-controller-0 crashes as well. I think we need to update https://github.com/redhat-cop/rhel-edge-automation-arch/issues/126 or create new issue to track those issues.


Heap sort algorithm

This sorting algorithm sorts an array in ascending order in O(nlogn) time.

Already implemented


fix: add missing style to filter autosuggest (FX-2730)

This PR addresses FX-2730 by adding style to the "No results found." text that is displayed under the filter search interface when a user's search term doesn't match any options. It also updates the copy to "No results." to match the design spec.

@dzucconi this is a tiny PR, but I asked you to review it to double-check that the Text component (as opposed to Sans or Serif) is what we want to use going forward.

@dzucconi thanks for the confirmation. I think we will address the behavior of autosuggest filters in FX-2731, but that's a good reminder to ask what exactly will be involved in that ticket.


controling servo

hi
Would you like this feature to be included?
runing a servo motor instead of relay
turning 180 degre and goes to 0 after 5 sec...
.
sometimes ppl using servo and i think its a good option to add

Hi,
I think this is a very good idea.
Also button switch to control servo from inside and outside door.


docs: Restructure flagd docs

This PR

consolidate /docs and the wiki page
add doc page providing links to flagd providers
introduced README table of contents
update main readme to point to docs folder

Related Issues

Fixes #1234523
Notes

Follow-up Tasks

once merged the following banner will be added to each of the WIKI pages

[DEPRECATED] Active documentation can be found here

Merge the following PRs

https://github.com/open-feature/docs.openfeature.dev/pull/215

Following the merging of the above Prs there should no longer be any references to the flagd wiki page in any of the organisations repositories
How to test

https://github.com/open-feature/flagd/issues/208


Increase triton-vm to 0.3.1

Increase triton-vm to version 0.3.1
Bigger changes:

Use AlgebraicHasher instead of simple_hasher::Hasher.

Remove H: Hasher type parameter from ProofItem: It was only needed for FriProof, which contains digests, but Digest is now a concrete type and not an associated type of Hasher (H::Digest).

Adjust Fri/FriDomain after Neptune-Crypto/twenty-first#41 optimization:
Let offset and omega be BFieldElements in all cases, and add additional constraints:
FF: FiniteField + From<BFieldElement> + MulAssign<BFieldElement>

This ensures that the optimized NTT's interface is compatible with FriDomain at a relatively small loss to abstraction.

Smaller changes:

Rename all FiniteField type parameters to FF
Fix all linting errors (including tests)
Remove impl Default for ProofItem: This was and should not be necessary.

Looks very good to me. Lots of nice cleanup code here.

Now that we have the option of multiplying an X field element with a B field element, there might be possibilities for speedups multiple places. Maybe we should also have the option of evaluating an X field element in a MPlynomial<BFieldElement>, since this amounts to the same thing. There might be a factor 4 speedup for many of the transition constraints waiting there.


CameraUtil.hasCamera2 API judge issue

final CameraCharacteristics characteristics = manager.getCameraCharacteristics(str);
final int supportLevel = characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL);
if (supportLevel == CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY) {
       notNull = false;
       break;
}

there is a problem in the 'if' statement, some old but updatable devices just support Camera2 API, but its system parameter just match 'supportLevel == CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY' condition, so they would use incorrect ratio old camera API... ex: Nexus 4/Nexus 7(2rd-gen)...

why add these code back in v 0.2.6?

The change that removed it broke a lot for other devices.
On Tue, May 10, 2016, 12:42 PM Joseph Lin<EMAIL_ADDRESS>wrote:

why add these code back in v 0.2.6?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/afollestad/material-camera/issues/44#issuecomment-218234462

--
Regards,
Aidan Follestad
http://aidanfollestad.com
651-528-1662


Admin user features backend

Fixes #28, #137, #29, #22, #23, #142
Describe your changes
Main changes:

No longer using dummy user in the backend.
Implemented admin api command for searching users by name.
Implemented admin api command for deleting a user.
Implemented admin api command for editing user info (first name, last name, user name, password, admin status, email).
Added poll owner's user name info to poll private info.
Changed answer percentages for 0-answered questions from 100% to 0%.

No documentation, since that will be done in the last QA sprint. I also don't have time to do the documentation this week. No new unit tests, although the integration tests in poll.test.ts were updated and new integration tests to user.test.ts were added.
Checklist before requesting a review

[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added thorough tests

Codecov Report

Merging #143 (a2a9820) into dev (5fcf7d2) will increase coverage by 8.32%.
The diff coverage is 22.00%.

@@            Coverage Diff             @@
##              dev     #143      +/-   ##
==========================================
+ Coverage   51.33%   59.66%   +8.32%
==========================================
  Files          69       46      -23
  Lines        2879     2375     -504
  Branches      379      194     -185
==========================================
- Hits         1478     1417      -61
+ Misses       1376      926     -450
- Partials       25       32       +7

Flag
Coverage Δ

backend
59.66% <22.00%> (-2.03%)
:arrow_down:

dev
59.66% <22.00%> (?)

frontend
?

staging
?

unit
59.66% <22.00%> (+8.32%)
:arrow_up:

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

Impacted Files
Coverage Δ

backend/src/controllers/pollController.ts
0.00% <0.00%> (ø)

backend/src/models/Answer.ts
67.79% <0.00%> (ø)

backend/src/models/BooleanQuestion.ts
21.21% <0.00%> (-2.13%)
:arrow_down:

backend/src/models/Poll.ts
66.18% <0.00%> (ø)

backend/src/routes/v1/poll/public.ts
0.00% <0.00%> (ø)

backend/src/routes/v1/user.ts
0.00% <0.00%> (ø)

backend/src/controllers/userController.ts
64.28% <13.04%> (-35.72%)
:arrow_down:

backend/src/services/AccountManager.ts
64.61% <20.68%> (-35.39%)
:arrow_down:

backend/src/models/user/User.ts
58.00% <33.96%> (-6.29%)
:arrow_down:

backend/src/services/VotingService.ts
75.65% <50.00%> (+0.09%)
:arrow_up:

... and 28 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Raspberry Pi

What is Happening
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
standard_init_linux.go:219: exec user process caused: exec format error
What is expected
Successful install
Describe which steps should be followed to reproduce the issue
docker run --rm --hostname dns.mageddo
-v /var/run/docker.sock:/var/run/docker.sock
-v /etc/resolv.conf:/etc/resolv.conf
defreitas/dns-proxy-server
Specs
Raspberry Pi 3b+
Linux rbpi-00 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
Docker version 20.10.5+dfsg1, build 55c4c88

The default image is a linux amd64 then that's why you're getting this error as raspberry PI runs on top of an arm processor.
Give a look at the arm images available https://hub.docker.com/r/defreitas/dns-proxy-server/tags?page=1&name=aarc


[R] Correcting lgb.prepare output comment

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

Please update the .Rd files with roxygen2.

@dah33 thanks for doing this! Echoing @Laurae2 , can you please run Rscript -e "devtools::document() from the root of the R package to re-generate the documentation? Then we will merge this up.

ping @dah33

@jameslamb It seems it's not straightforward anymore to create documentation for the R-package.
Something as simple like this doesn't seem to work anymore:
library(devtools)
setwd("E:/GitHub/LightGBM/R-package")
devtools::document()

> devtools::document()
Updating lightgbm documentation
Loading lightgbm
Re-compiling lightgbm
"C:/PROGRA~1/R/R-35~1.0/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL "E:\GitHub\LightGBM\R-package"  \
  --library="C:\Users\Laurae\AppData\Local\Temp\RtmpOUA4AK\devtools_install_8e94312939c5" --no-R --no-data --no-help --no-demo --no-inst --no-docs --no-exec --no-multiarch --no-test-load --preclean

* installing *source* package 'lightgbm' ...
** libs
c:/Rtools/mingw_64/bin/gcc  -I"C:/PROGRA~1/R/R-35~1.0/include" -DNDEBUG          -O3 -Wall  -std=gnu99 -mtune=native -c R_init.c -o R_init.o
c:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o lightgbm.dll tmp.def R_init.o -LC:/PROGRA~1/R/R-35~1.0/bin/x64 -lR
installing via 'install.libs.R' to C:/Users/Laurae/AppData/Local/Temp/RtmpOUA4AK/devtools_install_8e94312939c5/lightgbm
Error in eval(ei, envir) : Copying CMakeLists failed
* removing 'C:/Users/Laurae/AppData/Local/Temp/RtmpOUA4AK/devtools_install_8e94312939c5/lightgbm'
In R CMD INSTALL
Error: Command failed (1)


Tests for functions that interact with system state

Closes #482
Changes

Add tests for the file ~\models\system-state.server.ts.
Adjust setIsReconciliationNeeded() to allow initialize() to execute, in cases where the system state row doesn't exist in database table SystemState. Previously, it instead produces a serialization error and does not execute the function call for initialize() in the catch block.

Test

setup test database via npm run setup:test
run the test file via npm run test system-state.server.test.ts

I updated the code. Thank you for suggesting a different way of adjusting setIsReconciliationNeeded.

Thank you all for the feedback.


feat: update plugin configuration options

Renamed keys accessKey secretAccessKeyName and s3Bucket in configuration and updated bucket name to accept only bucket name
BREAKING CHANGE: plugin configuration has changed

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


METRON-2223 Reconcile Versions in Root POM with HDP 3.1

This change includes a few clean-up items that are needed prior to the feature/METRON-2088-support-hdp-3.1 feature branch being merged into master.  I validated each of the component versions that we are building against to ensure they match against HDP-3.1.
Each of these changes are included in separate commits to make review a bit simpler.  These include.

Removed the legacy HDP-<IP_ADDRESS> profile from the root POM.
Changed the Spark dependency from 2.3.1 to 2.3.2 to match HDP-3.1
Removed a storm-kafka dependency from the root POM that was never needed.
Moved all properties defining versions of core platform components to the HDP-3.1 profile.
Reorganized existing version properties into separate sections for (1) build dependencies (2) test dependencies and (3) build tooling
Removed unused properties.
Pulled out some of the build tooling versions into properties to match what we had done in other places.

I validated this by comparing the version numbers output by mvn dependency:tree from before and after the change.  The only version changes introduced by this PR involve the Spark change. This in addition to the basic acceptance testing were used to validate the change.
I'd be happy to break any of these changes out into separate PRs should a reviewer think that is needed.
Acceptance Testing
This PR should be tested using the centos7 development environment.

Start up the centos7 dev environment.cd metron-deployment/development/centos7
vagrant destroy -f
vagrant up

Basic Indexing and Enrichment
Ensure that we can continue to parse, enrich, and index telemetry.  Verify data is flowing through the system, from parsing to indexing

Open Ambari and navigate to the Metron service http://node1:8080/#/main/services/METRON/summary

Open the Alerts UI.  Verify alerts show up in the main UI - click the search icon (you may need to wait a moment for them to appear)

Go to the Alerts UI and ensure that an ever increasing number of telemetry from Bro, Snort, and YAF are visible by watching the total alert count increase over time.

Ensure that geoip enrichment is occurring.  The telemetry should contain fields like enrichments:geo:ip_src_addr:location_point.

Head back to Ambari and select the Kibana service http://node1:8080/#/main/services/KIBANA/summary

Open the Kibana dashboard via the "Metron UI" option in the quick links

Verify the dashboard is populating

Batch Profiler

Install Spark2 using Ambari.

Stop Metron and Sensor-Stubs to free-up resources.

Install the MySQL Connector and ensure Ambari can find it.
yum -y install mysql-connector-java
ln -s /usr/share/java/mysql-connector-java.jar /var/lib/ambari-server/resources/mysql-connector-java.jar

Install Spark2 using Ambari. YARN must be kept running for the install to complete successfully.

Ensure that Spark can talk with HBase.
cp /etc/hbase/conf/hbase-site.xml /etc/spark2/conf/

Use the Batch Profiler to back-fill your profile.  To do this, follow the direction provided here.

Retrieve the entire profile, including the back-filled data.
[Stellar]>>> PROFILE_GET("hello-world", "global", PROFILE_FIXED(30, "DAYS"))
[1203, 2849, 2900, 1944, 1054, 1241, 1721]

Pull Request Checklist

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?
[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?
[x] Have you included steps or a guide to how the change may be verified and tested manually?
[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
[x] Have you written or updated unit tests and or integration tests to verify your changes?
[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

This is labeled "METRON-2232", but is this actually "METRON-2223"? It's not syncing with Jira currently.

I see a file here named manual install centos 6 - after https://github.com/apache/metron/pull/1542, should this file be renamed? Other than that, this looks good.

Yeah it looks like there are some centos6 installation files in Ansible that are effectively dead code now.  I can remove those.

@mmiklavc I believe I cleaned-up all the centos6 Ansible files that you referenced.  Let me know if I missed something.

This file is still showing up as "metron-deployment/other-examples/manual-install/Manual_Install_CentOS6.md" - https://github.com/apache/metron/pull/1551/files#diff-c547d25b027d9643c35d4a9d78894112

Ok, removed those bits.

@nickwallen - sorry, I take back my comments on that manual install file. I started looking at the details and it hasn't been touched since 0.4. I think we should leave it alone (name and all) for now and tackle that as a follow-on.

+1 on this (pending bringing that manual install file back)

Yes, agreed.  We can handle that in a follow-on.  I reverted the last commit (aka restored the file.)

This has been merged into the feature branch.


python -c "import fewshot; fewshot.make_challenge('flex');"  Unable to download

Error message：
Downloading and preparing dataset flex_challenge/flex (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/zhr/.cache/huggingface/datasets/flex_challenge/flex-ebe90660aa525d14/0.0.1/e5706b643506c30eaea9d75cf6d7cccccd7b2a87583e02892efab5b10291f493...
HF google storage unreachable. Downloading and preparing it from source
0 examples [00:00, ? examples/s]Downloading and preparing dataset flex/fewrelbao (download: Unknown size, generated: Unknown size, post-processed: Unknown size, total: Unknown size) to /home/zhr/.cache/huggingface/datasets/flex/fewrelbao/0.0.1/4d897199532a37859555f12a74cee1cabc88d46d86afafa9cecbedfd2cf992b5...
HF google storage unreachable. Downloading and preparing it from source
Traceback (most recent call last):
File "/home/zhr/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 652, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/zhr/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/builder.py", line 986, in _prepare_split
for key, record in utils.tqdm(
File "/home/zhr/anaconda3/envs/flex/lib/python3.9/site-packages/tqdm/std.py", line 1133, in iter
for obj in iterable:
File "/home/zhr/.cache/huggingface/modules/datasets_modules/datasets/flex/4d897199532a37859555f12a74cee1cabc88d46d86afafa9cecbedfd2cf992b5/flex.py", line 171, in _generate_examples
dataset = datasets.load_dataset(**load_dataset_kwargs)
File "/home/zhr/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/load.py", line 708, in load_dataset
module_path, hash, resolved_file_path = prepare_module(
File "/home/zhr/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/load.py", line 320, in prepare_module
local_path = cached_path(file_path, download_config=download_config)
File "/home/zhr/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 281, in cached_path
output_path = get_from_cache(
File "/home/zhr/anaconda3/envs/flex/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 623, in get_from_cache
raise ConnectionError("Couldn't reach {}".format(url))
ConnectionError: Couldn't reach https://raw.githubusercontent.com/huggingface/datasets/1.5.0/datasets/few_rel/few_rel.py

That URL is reachable for me https://raw.githubusercontent.com/huggingface/datasets/1.5.0/datasets/few_rel/few_rel.py


Fix repo mirror url in build script

Since we've made repo.gradle.org a mirror of repo.grdev.net, there's no longer
enterprise-libs-release-candidates-"local". Fix this so that builds are not failing
on release6x branch.

@bot-gradle test and merge

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

Pre-tested commit build failed.

@bot-gradle test and merge

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


[Docs] : Fix typos in docs

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x ] Documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Please delete options that are not relevant.
Checklist:

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

Maintainer Checklist

[ ] closes #xxxx (Replace xxxx with the GitHub issue number)
[ ] Made sure Checks passed

 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.

Changes looks good, thanks for the contribution @FarukhS52


Adding new Encoders as plugins

Added BMX as external plugin (6cc99c017a98f48d3254a60078c13106385dcee8)

(ae3140d0c8608a4831539e8fd5f7d9cb907972c0) Added mxbai-large binary embeddings.

Add BAAI models not supported by FastEmbed. e.g. https://huggingface.co/BAAI/bge-en-icl


New dependency on ai-dialog element

Since #141 there is a dependency on the existence of an <ai-dialog> element:
(DialogRenderer._createDialogHost)
let dialogHost = modalContainer.querySelector('ai-dialog');
I am using the dialog plugin with bootstrap-style modals and don't have ai-dialog elements in my components (my root element is <div class="modal-dialog">). To avoid the dependency, could this be changed to something like:
let dialogHost = anchor.firstElementChild;
Or will I need to add <ai-dialog> as the root in all my modals?

@timbell Yes. This is a bug. We've done a lot of refactoring of the dialog
plugin. The dialogHost in this instance should be the containing div, not
the ai-dialog element.
2016-05-27 5:45 GMT-04:00 timbell<EMAIL_ADDRESS>
Since #141 https://github.com/aurelia/dialog/pull/141 there is a
dependency on the existence of an  element:
(DialogRenderer._createDialogHost)
let dialogHost = modalContainer.querySelector('ai-dialog');
I am using the dialog plugin with bootstrap-style modals and don't have
ai-dialog elements in my components (my root element is ). To avoid the dependency, could this be changed to
something like:
let dialogHost = anchor.firstElementChild;
Or will I need to add  as the root in all my modals?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aurelia/dialog/issues/158, or mute the thread
https://github.com/notifications/unsubscribe/ACEz9lOwyhEtVapyMVkD9SVrLoYjHluMks5qFr1EgaJpZM4IoVzQ
.

I'm being bitten by this bug. I want to use a Bootstrap style modal instead of the default aurelia-dialog style. Is there any workaround for this bug?


Remove res (argument) from LinkedIn.auth.getAccessToken call

You can safely ignore the res (HTTP response object) argument by passing in the access code as the first argument.
linkedin.auth.getAccessToken(req.query.code, req.query.state, function(err, results) { /*...*/ });

@zgianos Thanks for the help. Did you added it in README as well?

@ArkeologeN There is a comment in the example code that was already there.


[FR]: Performance: Allow adding custom attributes to built-in traces

Description
Firebase performance is tracking the number of built-in events, such as

App lifecycle (_app_start, _app_in_background, _app_in_foreground)
Network requests
Time spent on a screen

Currently, it is not possible to assign custom attributes to those traces. It would be great to allow this. Luckily, it is a mere question of making an API public.
API Proposal
Performance class has private compliance to PerformanceAttributable (FRPerformanceAttributable). If this compliance would be public, it would be possible to set the attributes on the Performance singleton, which are in turn propagated as default attributes for all traces.
Firebase Product(s)
Performance

This is already available to use in the Android SDK, so would be great to have it in the iOS one too.


反链的按照创建时间排序，能否精确到块的创建时间呢？

目前是文档的创建时间

已经更新了，可以试一试看。

From: @.*** @.> on behalf of Tisamn @.>
Sent: Sunday, September 29, 2024 9:37 PM
To: IAliceBobI/sy-tomato-plugin @.>
Cc: Subscribed @.>
Subject: [IAliceBobI/sy-tomato-plugin] 反链的按照创建时间排序，能否精确到块的创建时间呢？ (Issue #47)
目前是文档的创建时间
―
Reply to this email directly, view it on GitHubhttps://github.com/IAliceBobI/sy-tomato-plugin/issues/47, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAZEGN4GQA4EFWDL6B54PVDZY77CJAVCNFSM6AAAAABPBXHD4OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TIOJUGEZDSNY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Change kwargs type to str

I think kwargs is a dict, but either my IDE and/or mypy recognize it already as a dict, and in the pydoc comments we can put just the value of the type stored in it (my guess & from this mypy page).
Here's what it looks like whenever I use an extra variable in a family:

Hovering the mouse, the warning shown says “Expected type 'dict', got 'str' instead”. After this change:

I was going over other places where kwargs is used, but I found one where it was actually using an object that extends Script. I was inclined to use Any there, but preferred to first raise this PR/issue, and see what others prefer :+1:
Thanks!
-Bruno

Hi @kinow, it's a small detail but it makes sense. We shouldn't do it only for the Family class though. Could you push a version that fixes all the Nodes families?

Hi @kinow, it's a small detail but it makes sense. We shouldn't do it only for the Family class though. Could you push a version that fixes all the Nodes families? Thanks for this!

Sure thing! Thanks @corentincarton !

I agree that dict is wrong according to PEP 484. We need to make sure that str isn't too restrictive in some cases, or rather, make sure all non-variable kwargs are documented separately.

I will try to add it to the other parts of the code, and try to run mypy too (PyCharm already integrates it, but I will run separately) and report here. Then we can do another :eyes: review again to see if it's looking OK.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: kinow:x: tlmquintinoYou have signed the CLA already but the status is still pending? Let us recheck it.

Done. Updated all nodes to use **kwargs(str) type. Had a look at the code, and couldn't find any problem. Also tried:
(pyflow) kinow@ranma:~/Development/python/workspace/pyflow$ pip install mypy
Collecting mypy
  Downloading mypy-0.991-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 2.3 MB/s eta 0:00:00
Collecting typing-extensions>=3.10
  Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Requirement already satisfied: tomli>=1.1.0 in /home/kinow/mambaforge/envs/pyflow/lib/python3.10/site-packages (from mypy) (2.0.1)
Collecting mypy-extensions>=0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Installing collected packages: mypy-extensions, typing-extensions, mypy
Successfully installed mypy-0.991 mypy-extensions-0.4.3 typing-extensions-4.4.0
(pyflow) kinow@ranma:~/Development/python/workspace/pyflow$ mypy pyflow/nodes.py
Success: no issues found in 1 source file

Although not sure if we need  mypy.ini or some other configuration in order for MyPy to perform more tests (i.e. no idea how good is its default parameters).
Cheers

Thank you @corentincarton , @oiffrig !


[Bug] 使用 S3 TVF 异常

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
1.2.1
What's Wrong?
csv:
1,ftw,12
2,zs,18
3,ww,20
sql:
select * from s3("uri" = "https://hugoluo-test-130108xxxx.cos.ap-guangzhou.myqcloud.com/tvf.csv",
"ACCESS_KEY"= "xxxOhqpiQvDH7nFWcaOzMlMnNkto23rxxxx",
"SECRET_KEY" = "xxxzlKm492g6IMEsCJExTmCOUxxx",
"format" = "csv",
"use_path_style" = "true") order by c1;
报错：
ERROR 1105 (HY000): errCode = 2, detailMessage = parse file failed, path = s3://tvf.csv
设置了 use_path_style 为 false：
select * from s3("uri" = "https://hugoluo-test-130108xxxx.cos.ap-guangzhou.myqcloud.com/tvf.csv",
"ACCESS_KEY"= "xxxOhqpiQvDH7nFWcaOzMlMnNkto23rxxxx",
"SECRET_KEY" = "xxxzlKm492g6IMEsCJExTmCOUxxx",
"format" = "csv",
"use_path_style" = "false") order by c1;
报错：
ERROR 1105 (HY000): errCode = 2, detailMessage = Error: [:curlCode: 28, Timeout was reached] at <IP_ADDRESS>
What You Expected?
如官网所示，正常使用 tvf 功能 https://doris.apache.org/zh-CN/docs/dev/sql-manual/sql-functions/table-functions/s3/
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

"use_path_style" = "true" 时
"uri" = "https://cos.ap-guangzhou.myqcloud.com/hugoluo-test-1301087xxx/tvf.csv"


Is resumable download required?

Currently our underlying REST library only supports direct media download - a single HTTP request, which is downloaded in chunks. This has no "resume" functionality.
We used to perform downloads in chunks, but this was removed in https://github.com/google/google-api-dotnet-client/commit/0307285f1abe603dfab62d978d94e15909a25e69 to simplify the code... even then, there was no retry or resume.

So long as there's a decent cancellation and resume model (e.g., the App needs to serialize and shut down and be relaunched later and pick up where it left off), that's fine. The less work the client has to do to make that happen, the better.
If there's just some async request floating around that will eventually be done, that doesn't work very well. If there's an object tracking the request the client has access to that has a pause/serialize/deserialize/reauthenticate/unpause, that makes it easier for the user than to try and just hard shutdown with outstanding async work, and then having to manually determine what progress had been made and continue from there.

Okay. Will see what we can do.

We have (or will have) a workaround for clients to do this themselves by specifying the range of data to download. We will punt on anything more until 1.1, when we'll probably have an extra set of methods to keep the simple case simple.

Closing for the moment, as I'm not expecting to put any active work into this any time soon.


Suggestion: improve customisation

Unsure the best way to do it but I'd like a QOF for highlighting crypt NPCS for 86.36% eg 2 skeletons and 1 bloodworm with all brothers complete.

Dupe of https://github.com/Godofdrakes/barrows-potential/issues/1


[AutoPR web/resource-manager] Add 201 response to AppServicePlans_CreateOrUpdate.

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3774

(message created by the CI based on PR content)


Exclamation mark in the filepath

I'm not internally sure if i'm posting this at the right place.
I started learning, dotnetcore + angular a few days ago, and i run into a frustrating issue:
"Content root path: F:\VS2012!dotNetCore\vega"
notice the Exclamation mark in the filepath: !dotNetCore
F:\VS2012\!dotNetCore\vega>dotnet watch run
watch : Started
Hosting environment: Development
Content root path: F:\VS2012\!dotNetCore\vega
Now listening on: http://localhost:5000
Application started. Press Ctrl+C to shut down.
fail: Microsoft.AspNetCore.NodeServices[0]
      Hash: 948b4c81daa498cd5248
      Version: webpack 2.5.1
      Time: 10553ms
                   Asset     Size  Chunks                    Chunk Names
          main-client.js  2.91 MB       0  [emitted]  [big]  main-client
      main-client.js.map  3.52 MB       0  [emitted]         main-client
      chunk    {0} main-client.js, main-client.js.map (main-client) 2.78 MB [entry] [rendered]
          [1] ./~/<EMAIL_ADDRESS>489 kB {0} [built]
         [37] ./ClientApp/boot.browser.ts 989 bytes {0} [built]
         [38] ./~/event-source-polyfill/eventsource.js 22.2 kB {0} [built]
         [39] (webpack)-hot-middleware/client.js?path=__webpack_hmr&dynamicPublicPath=true 6.68 kB {0} [built]
         [42] ./~/<EMAIL_ADDRESS>5.88 kB {0} [built]
         [46] ./ClientApp/app/app.browser.module.ts 1.35 kB {0} [built]
         [52] ./~/bootstrap/dist/js/npm.js 484 bytes {0} [built]
         [76] ./~/querystring-es3/index.js 127 bytes {0} [built]
         [77] ./~/reflect-metadata/Reflect.js 48 kB {0} [built]
        [106] ./~/strip-ansi/index.js 161 bytes {0} [built]
        [109] (webpack)-hot-middleware/client-overlay.js 1.82 kB {0} [built]
        [110] (webpack)-hot-middleware/process-update.js 3.88 kB {0} [built]
        [111] (webpack)/buildin/module.js 517 bytes {0} [built]
        [112] ./~/zone.js/dist/zone.js 96 kB {0} [built]
        [113] multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts 52 bytes {0} [built]
           + 99 hidden modules

      WARNING in ./~/<EMAIL_ADDRESS>      5704:15-36 Critical dependency: the request of a dependency is an expression

      WARNING in ./~/<EMAIL_ADDRESS>      5720:15-102 Critical dependency: the request of a dependency is an expression

      ERROR in ./ClientApp/app/components/app/app.component.css
      Module not found: Error: Can't resolve '../../../../../..' in 'F:\VS2012\!dotNetCore\vega\ClientApp\app\components\app'
       @ ./ClientApp/app/components/app/app.component.css 2:21-181
       @ ./ClientApp/app/components/app/app.component.ts
       @ ./ClientApp/app/app.browser.module.ts
       @ ./ClientApp/boot.browser.ts
       @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts

      ERROR in ./ClientApp/app/components/navmenu/navmenu.component.css
      Module not found: Error: Can't resolve '../../../../../..' in 'F:\VS2012\!dotNetCore\vega\ClientApp\app\components\navmenu'
       @ ./ClientApp/app/components/navmenu/navmenu.component.css 2:21-189
       @ ./ClientApp/app/components/navmenu/navmenu.component.ts
       @ ./ClientApp/app/app.shared.module.ts
       @ ./ClientApp/app/app.browser.module.ts
       @ ./ClientApp/boot.browser.ts
       @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts

If i remove the (!) from the filepath, everything works just fine.

This issue was moved to aspnet/JavaScriptServices#1572


Sync File Icon Settings

Visual Studio Code Version : 1.0.8-Insider
Code Sync Settings Version : 2.3.8
Operating System : Windows 10 x64
Occurs On: Both
Proxy Enabled: No
Can we get settings sync for File Icon Theme (File->Preferences->File Icon Theme)? Thanks!

Already asked code team to provide an API
https://github.com/Microsoft/vscode/issues/12178

Settings Sync will automatically sync the color themes from the next next version of code ! 😄

If the file icon extension is not installed, you need to reload the code in order to Apply the file icons.


Feature/funnel bug fix

Codecov Report

Merging #41 (214bccb) into master (6d42d4a) will increase coverage by 0.03%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
+ Coverage   80.92%   80.96%   +0.03%
==========================================
  Files          44       44
  Lines        4807     4822      +15
  Branches     1075     1076       +1
==========================================
+ Hits         3890     3904      +14
- Misses        696      697       +1
  Partials      221      221

Impacted Files
Coverage Δ

metrics_layer/core/model/project.py
84.27% <ø> (+0.40%)
:arrow_up:

metrics_layer/core/sql/query_funnel.py
96.25% <92.00%> (-0.84%)
:arrow_down:

metrics_layer/__init__.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Event capturing (addEventListener with capturing=true). IE started supporting addEventListener only ...

Event capturing (addEventListener with capturing=true). IE started supporting addEventListener only recently, but it's hard to find if they also started supporting capturing (e.g. in IE10).

This issue was imported from Google Moderator
Moderator votes: +19
Issue added by tynstar on 2013-07-16
To vote this issue up or down, simply include +1 or -1 in your comment.

+1


[BIA-941] -DRAFT - Creates Dockerfile for AMT execution.

How to test this
First execute this to create the image:
docker build -t amt_install_image .
Then, execute this to create the container:
docker run amt_install_image --connectionString "Data Source=<host>;Initial Catalog=<DB>;Integrated Security=SSPI;" --options Indexes
Change the connection string parameters based on your environment.

At this point I'm getting this error
A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/Ed-Fi/AMT/'.
Failed to run as a self-contained app. If this should be a framework-dependent app, specify the appropriate framework in /Ed-Fi/AMT/EdFi.AnalyticsMiddleTier.Console.runtimeconfig.json.

I don't think the problem is in these files. It seems to be a problem with the Release package.


Bundled (rollup) xlsx in ESM environment raises Cannot access file error

Code to reproduce
package.json
{
  "name": "xlsx-esm-rollup",
  "type": "module",
  "scripts": {
    "bundle": "rollup --config",
    "run-main": "node main.js",
    "run-bundle": "node bundle.js"
  },
  "dependencies": {
    "node-xlsx": "^0.21.0"
  },
  "devDependencies": {
    "@rollup/plugin-commonjs": "^22.0.1",
    "@rollup/plugin-node-resolve": "^13.3.0",
    "rollup": "^2.77.0"
  }
}

rollup.config.js
import nodeResolve from "@rollup/plugin-node-resolve";

export default {
    input: 'main.js',
    output: {
        file: 'bundle.js',
        format: 'es',
    },
    plugins: [
        nodeResolve(),
        commonjs()
    ],
};

main.js
import xlsx from "node-xlsx";

const myParsedFile = xlsx.parse("myFile.xlsx")
console.log(myParsedFile.toString())

yarn install
yarn bundle
yarn run-bundle

=>
Error: Cannot access file myFile.xlsx
What happened
xlsx method read_binary makes use of fs.readFileSync if it finds node:fs.
function read_binary(path) {
		if(typeof _fs !== 'undefined') return _fs.readFileSync(path);
		// $FlowIgnore
		if(typeof $ !== 'undefined' && typeof File !== 'undefined' && typeof Folder !== 'undefined') try { // extendscript
			// $FlowIgnore
			var infile = File(path); infile.open("r"); infile.encoding = "binary";
			var data = infile.read(); infile.close();
			return data;
		} catch(e) { if(!e.message || !e.message.match(/onstruct/)) throw e; }
		throw new Error("Cannot access file " + path);
	}

and _fs is fetched as a conditional and not as a top-level import
	var _fs;
	if(typeof commonjsRequire !== 'undefined') try { _fs = require('fs'); } catch(e) {}

Which means bundling tools don't convert it when outputing ESM code. (Reminder: "import" must be top-level in ESM environments)
Hence, when ran in an ESM environment, _fs is not found (ReferenceError: require is not defined ) and the interpreter goes straight to throwing the Cannot access file error
Haven't found a smart fix for that :(

node-xlsx is https://github.com/mgcrea/node-xlsx
Depending on the target:
"browser": fs does not work in the browser and there is no way to implement it with current web APIs.  There are techniques for allowing users to "upload" data with File Input elements or dragging and dropping files.
"node":
For ESM, the fs dependency is not pulled.  It can be manually overridden, as explained in the docs
import * as XLSX from 'xlsx/xlsx.mjs';

/* load 'fs' for readFile and writeFile support */
import * as fs from 'fs';
XLSX.set_fs(fs);

But this is probably not usable if node-xlsx is hiding the XLSX library.  In that case, you can manually perform the read from your code:
import xlsx from "node-xlsx";
import { readFileSync } from "fs";

const myParsedFile = xlsx.parse(readFileSync("myFile.xlsx"))
console.log(myParsedFile.toString())


Icon Request: Blogger

Icon Request

Icon name: Blogger
Tags of this icon: blogger
Use case: blogger blogspot
Screenshots of similar icons: https://www.blogger.com/img/logo_blogger_40px.png

Remix Icons style:
https://remixicon.com/icon/blogger-line
Original style:
https://remixicon.com/icon/blogger-fill


Request: Static and single text input

I'd like to see an augmentation where we generate data that is sourced from a textbox widget and results in only a single instance of a split where the output schema is a single record with a field of String type called body.  I'd like to be able to enter the string content of the record in the configuration properties of the plugin.

makes sense. this could be done easily by adding a string constant generator.

Thank you my friend.  I have submitted a pull request for your considerations....
https://github.com/data-integrations/data-generator/pull/5
Very nice work in the internals.  You made it very easy for contributors to extend.  Beautifully elegant code.


Duplicate countdown overlay on iOS devices

On (emulated and physical) iOS devices a duplicate countdown overlay is rendered, as can be seen in this screenshot of the advanced demo implementation

Steps to reproduce:

Emulate or use an iOS device, and open the demo
Enter the following vast tag, and press play.

http://pubads.g.doubleclick.net/gampad/ads?env=vp&gdfp_req=1&impl=s&output=xml_vast2&unviewed_position_start=1&url=[referrer_url]&correlator=[timestamp]&iu=/6353&sz=640x360&ad_rule=0&cust_params=appelman-kv%3Dcase5-2780000020132%26

This will return the direct trafficked, DFP hosted and non-skippable inline VAST with the mp4 asset that can be found here
This same tag will play without duplicate overlay in both the IMA SDK for HTML5 Video Suite Inspector and the JW Player Ad Tester implementation of the SDK, leading me to believe the problem is most likely in videojs-ima

It looks like we'll need to disable our UI in favor of the IMA SDK's on mobile devices.

Same problem.

Checked now. After update of all packages - even on desktop. And after adplay got an error "this.vjsPlayer.ads.inAdBreak() in not a function".  Nvm, I'll figure it out later.

Fix here. https://github.com/googleads/videojs-ima/pull/836


remove duplicate lines from README

i assume those lines were on accident, otherwise close this. :sweet_potato:

thanks


train with my own datasets, the results is unstable

Hi,
Thanks for your sharing.
I train with my own datasets. The results are as below：
Two consecutive images are extracted from a video stream. the detected line is unstable,  What reason is this?
Thanks a lot.

Yes, it is indeed a problem. Another example can be found in a Youtube video. The main reason for this problem is that we did not consider the temporal information in both our designs and training.

Hi, Thanks for your sharing. I train with my own datasets. The results are as below： Two consecutive images are extracted from a video stream. the detected line is unstable, What reason is this? Thanks a lot.

Hi, how do you train your own data, can you share your configuration file and the training commands, thanks a lot!


Setup Dockerfile to build bridge w/ imported msgs

Also brought in our own docker.yml workflow, but we won't be making releases with catkin tools since the forked ros1 bridge pkg has its own changelog / version which we don't want to disturb.
We just need to manually create a tag every time we want to make a release.


model.evaluate gives unexpected results

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes, but very close to example code
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Colab and Ubuntu 18.04
TensorFlow installed from (source or binary): Source and binary
TensorFlow version (use command below): v2.0.0-rc2-26-g64c3d382ca 2.0.0 and v2.0.0-rc2-26-g64c3d38 2.0.0
Python version: 3.6.8 and 3.6.7
Bazel version (if compiling from source): 0.24.1
GCC/Compiler version (if compiling from source): 7.4.0
CUDA/cuDNN version: 10.0, 7.6
GPU model and memory: K80, V100 16GB

Describe the current behavior

model.fit() works and training converges
validation during training gives effectively random performance
model.evaluate() on both training and validation set gives random performance

Training and evaluating on the same training set gives random evaluation performance but expected training performance. Hence, there seems to be an issue with the evaluation in TF.
Describe the expected behavior
At very least, if I evaluate on the training set, I should see loss and accuracy similar to that is output during training.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Check Colab notebook to reproduce the issue: https://colab.research.google.com/drive/1HBdfWjx3jj65wrP_a0r_Tu80genKBsw2
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Colab notebook should demonstrate everything and aid investigation.
Thanks in advance to anyone who can help!

Could reproduce the issue with Tensorflow Version 2.0. Training Loss is 0.6364 for model.fit but Training Loss is 4.4208 for model.evaluate.
Here is the Gist.

@tlkh I think this is expected as your model is using BatchNorm. There are some layers (BatchNorm, Dropout) that are enabled during training and disabled while evaluation. If you disable BatchNorm and run the training (model.fit) and Evaluation (model.evaluate), the results should be very close (not exactly same). Please check this gist. This is similar to this issue. Thanks!
I am closing the issue as it was resolved. Please feel free to open it if the issue persists again. Thanks!

@jvishnuvardhan Thanks. Sorry for the late response, I was tied up with other matters. I have figured out that the actual issue is with the Keras Applications ResNet model, which has the BatchNorm layers, which although set to not trainable, had different behavior during train and evaluate. This results in the essentially random evaluation behavior. I will open a separate issue.

@tlkh BatchNorm will always have different behavior b/t train and evaluate. During training, batches are normed. During inference, the trained weights are used for normalization. If you set trainable=False, these statistics will not update and so therefore will result in poor evaluation performance

I have discovered the behavior of BatchNorm was changed specifically in TensorFlow 2.0 according to the docs in the code (which don't render correctly on the website). This answers my confusion why training that worked in TF 1.x does not work in TF 2.0
https://github.com/tensorflow/tensorflow/blob/r2.0/tensorflow/python/keras/layers/normalization_v2.py#L26-L65


Remove SNTP_SEND_RETRY_TIMEOUT_MS config to use runtime timeout parameter

With the removal of the SNTP_RECV_POLLING_TIMEOUT_MS macro in PR #34 to avoid redundancy with the blockTimeMs runtime timeout parameter of Sntp_ReceiveTimeResponse API, the API becomes asymmetrical in user-facing usage with Sntp_SendTimeRequest API, that supports send timeout configuration through the SNTP_SEND_RETRY_TIMEOUT_MS macro. To resolve the asymmetry, this PR updates the Sntp_SendTimeRequest API to use a runtime parameter for timeout too instead of the SEND_RETRY_TIMEOUT_MS macro.

The LGTM flagged issue has been resolved in: 282c6fa

The LGTM flagged issue has been resolved in: 01b5ed1


Including throughputCount parameter to the extension.

Purpose
If we initialize the performance extension at multiple places in the Siddhi code (In normal deployment mode) then each performance call will increment the 'eventcount' variable . That means for a single event ,the eventcount will be incremented by the number of times , which the performance extension is called.
Refer issue #853
Approach
Include an additional parameter to the extension where the throughput count should be specified.So in case of multiple throughput calls only at once the 'eventCount' will be incremented.

Pending till the code review:
Invitation: Code Review Meeting on SP Performance Extension @ Thu Nov 15, 2018 2pm - 2:30pm (IST)

@SaranganJ , @miyurud As discussed offline, I am closing this PR due to the following issues,

The extension cannot be built due to compile errors
Even though Id parameter is asked, it is not used in the file name thus it does not solve the initial issue.
Filename, when id param is not given, is not handled
@SaranganJ Please open a new PR after addressing the above

Additionally, use local mkdocs server to see if the documentation is correctly deployed. Even though they are not generated since this extension is not released, it is the best practice.


Fix forbidden err message set or delete cmd

What type of PR is this?
/kind bug
What does this PR do / why we need it:
As @valaparthvi mentioned in issue, when not loggin in and typing odo project set or odo project delete , odo don't tell us it's because we don't log in the project. So I've changed err message richer.
Which issue(s) this PR fixes:
Fixes #5121
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

[ ] I have read the test guidelines

How to test changes / Special notes to the reviewer:

@valaparthvi
I'm working on integration test and I face an odd case. I write a test code at here when block as follows.
It("should show login message when setting project and not login", func() {

	helper.Cmd("odo", "logout").ShouldPass()
	// I want this to fail,but It seems pass it...
	helper.Cmd("odo", "project", "set", projectName).ShouldFail()
})

As I comment on comment out, odo set command seems pass. I don't know why...
Could you tell me why it passes ?


Why the loss stayed the same value?

I have tried this model on binary classification, but the loss is  same (value 0.693147) all the time. I am sure the data is right, and have tried other depthwise conv, relu6 and bn parameter also. All methods can't work. It really works???

The error maybe in the swish function. Because sigmoid function will work.

The problem is in the power layer( x/6)

The problem is in the power layer( x/6)

Do you mean the “Power” parameter of Power layer should be 6?

The problem is in the power layer( x/6)

How to implement it using common caffe layers？ And  it should use the ReLU6 layer rather than ReLU layer in the h-swish function？

The problem is in the power layer( x/6)

Use an extra Eltwise PROD layer, And it should use the ReLU6 layer rather than ReLU layer in the h-swish function？

But there is a question, Eltwise layer deals with matrix and matrix , but not matrix and constant?

The problem is in the power layer( x/6)

what's the problem in power layer(x/6)? From the source code, the  power layer do y = (shift + scale * x)^power operation.

The problem is in the power layer( x/6)

what's the problem in power layer(x/6)? From the source code, the power layer do y = (shift + scale * x)^power operation.

The source code is right. But I find when the scale coefficient of power layer is in [0,1], the train loss will stay the same all the time.  When I get rid of this "/6" layer, the loss will change.  Can the network work well with your data?

The problem is in the power layer( x/6)

what's the problem in power layer(x/6)? From the source code, the power layer do y = (shift + scale * x)^power operation.

The source code is right. But I find when the scale coefficient of power layer is in [0,1], the train loss will stay the same all the time. When I get rid of this "/6" layer, the loss will change. Can the network work well with your data?

The network not work well. The loss also stayed the same value.

The problem is in the power layer( x/6)

what's the problem in power layer(x/6)? From the source code, the power layer do y = (shift + scale * x)^power operation.

The source code is right. But I find when the scale coefficient of power layer is in [0,1], the train loss will stay the same all the time. When I get rid of this "/6" layer, the loss will change. Can the network work well with your data?

Since my gpu is still running other tasks, I have not tried this yet. I am not sure if power layer support in-place operation. But the definition of the network structure uses the in-place operation.

The problem is in the power layer( x/6)

what's the problem in power layer(x/6)? From the source code, the power layer do y = (shift + scale * x)^power operation.

The source code is right. But I find when the scale coefficient of power layer is in [0,1], the train loss will stay the same all the time. When I get rid of this "/6" layer, the loss will change. Can the network work well with your data?

I have tested the prototxt on MNIST dataset and got the same result. The training log is as follows:
I0515 11:05:31.873651 37636 solver.cpp:239] Iteration 0 (-nan iter/s, 26.7698s/20 iters), loss = 6.91161 I0515 11:05:31.873690 37636 solver.cpp:258]     Train net output #0: loss = 6.91161 (* 1 = 6.91161 loss) I0515 11:05:31.873761 37636 sgd_solver.cpp:112] Iteration 0, lr = 0.01 I0515 11:05:51.320263 37636 solver.cpp:239] Iteration 20 (1.02848 iter/s, 19.4461s/20 iters), loss = 6.90501 I0515 11:05:51.320302 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:05:51.320356 37636 sgd_solver.cpp:112] Iteration 20, lr = 0.01 I0515 11:06:10.302816 37636 solver.cpp:239] Iteration 40 (1.05363 iter/s, 18.9821s/20 iters), loss = 6.90635 I0515 11:06:10.303040 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:06:10.303057 37636 sgd_solver.cpp:112] Iteration 40, lr = 0.01 I0515 11:06:29.307520 37636 solver.cpp:239] Iteration 60 (1.05241 iter/s, 19.004s/20 iters), loss = 6.90681 I0515 11:06:29.307559 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:06:29.307596 37636 sgd_solver.cpp:112] Iteration 60, lr = 0.01 I0515 11:06:48.303532 37636 solver.cpp:239] Iteration 80 (1.05288 iter/s, 18.9955s/20 iters), loss = 6.90704 I0515 11:06:48.303723 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:06:48.303740 37636 sgd_solver.cpp:112] Iteration 80, lr = 0.01 I0515 11:07:07.300627 37636 solver.cpp:239] Iteration 100 (1.05283 iter/s, 18.9964s/20 iters), loss = 6.90714 I0515 11:07:07.300673 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:07:07.300725 37636 sgd_solver.cpp:112] Iteration 100, lr = 0.01 I0515 11:07:26.307842 37636 solver.cpp:239] Iteration 120 (1.05226 iter/s, 19.0067s/20 iters), loss = 6.90776 I0515 11:07:26.308053 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:07:26.308068 37636 sgd_solver.cpp:112] Iteration 120, lr = 0.01 I0515 11:07:45.309257 37636 solver.cpp:239] Iteration 140 (1.05259 iter/s, 19.0007s/20 iters), loss = 6.90776 I0515 11:07:45.309298 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:07:45.309329 37636 sgd_solver.cpp:112] Iteration 140, lr = 0.01 I0515 11:08:04.307058 37636 solver.cpp:239] Iteration 160 (1.05278 iter/s, 18.9973s/20 iters), loss = 6.90776 I0515 11:08:04.307271 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:08:04.307287 37636 sgd_solver.cpp:112] Iteration 160, lr = 0.01 I0515 11:08:23.303742 37636 solver.cpp:239] Iteration 180 (1.05285 iter/s, 18.996s/20 iters), loss = 6.90776 I0515 11:08:23.303779 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:08:23.303833 37636 sgd_solver.cpp:112] Iteration 180, lr = 0.01 I0515 11:08:41.365075 37636 solver.cpp:347] Iteration 200, Testing net (#0) I0515 11:08:41.365545 37636 net.cpp:678] Ignoring source layer loss I0515 11:09:03.696059 37636 solver.cpp:414]     Test net output #0: accuracy = 0.1032 I0515 11:09:04.653638 37636 solver.cpp:239] Iteration 200 (0.48369 iter/s, 41.3488s/20 iters), loss = 6.90776 I0515 11:09:04.653683 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:09:04.653744 37636 sgd_solver.cpp:112] Iteration 200, lr = 0.01I0515 11:05:31.873651 37636 solver.cpp:239] Iteration 0 (-nan iter/s, 26.7698s/20 iters), loss = 6.91161 I0515 11:05:31.873690 37636 solver.cpp:258]     Train net output #0: loss = 6.91161 (* 1 = 6.91161 loss) I0515 11:05:31.873761 37636 sgd_solver.cpp:112] Iteration 0, lr = 0.01 I0515 11:05:51.320263 37636 solver.cpp:239] Iteration 20 (1.02848 iter/s, 19.4461s/20 iters), loss = 6.90501 I0515 11:05:51.320302 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:05:51.320356 37636 sgd_solver.cpp:112] Iteration 20, lr = 0.01 I0515 11:06:10.302816 37636 solver.cpp:239] Iteration 40 (1.05363 iter/s, 18.9821s/20 iters), loss = 6.90635 I0515 11:06:10.303040 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:06:10.303057 37636 sgd_solver.cpp:112] Iteration 40, lr = 0.01 I0515 11:06:29.307520 37636 solver.cpp:239] Iteration 60 (1.05241 iter/s, 19.004s/20 iters), loss = 6.90681 I0515 11:06:29.307559 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:06:29.307596 37636 sgd_solver.cpp:112] Iteration 60, lr = 0.01 I0515 11:06:48.303532 37636 solver.cpp:239] Iteration 80 (1.05288 iter/s, 18.9955s/20 iters), loss = 6.90704 I0515 11:06:48.303723 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:06:48.303740 37636 sgd_solver.cpp:112] Iteration 80, lr = 0.01 I0515 11:07:07.300627 37636 solver.cpp:239] Iteration 100 (1.05283 iter/s, 18.9964s/20 iters), loss = 6.90714 I0515 11:07:07.300673 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:07:07.300725 37636 sgd_solver.cpp:112] Iteration 100, lr = 0.01 I0515 11:07:26.307842 37636 solver.cpp:239] Iteration 120 (1.05226 iter/s, 19.0067s/20 iters), loss = 6.90776 I0515 11:07:26.308053 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:07:26.308068 37636 sgd_solver.cpp:112] Iteration 120, lr = 0.01 I0515 11:07:45.309257 37636 solver.cpp:239] Iteration 140 (1.05259 iter/s, 19.0007s/20 iters), loss = 6.90776 I0515 11:07:45.309298 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:07:45.309329 37636 sgd_solver.cpp:112] Iteration 140, lr = 0.01 I0515 11:08:04.307058 37636 solver.cpp:239] Iteration 160 (1.05278 iter/s, 18.9973s/20 iters), loss = 6.90776 I0515 11:08:04.307271 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:08:04.307287 37636 sgd_solver.cpp:112] Iteration 160, lr = 0.01 I0515 11:08:23.303742 37636 solver.cpp:239] Iteration 180 (1.05285 iter/s, 18.996s/20 iters), loss = 6.90776 I0515 11:08:23.303779 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:08:23.303833 37636 sgd_solver.cpp:112] Iteration 180, lr = 0.01 I0515 11:08:41.365075 37636 solver.cpp:347] Iteration 200, Testing net (#0) I0515 11:08:41.365545 37636 net.cpp:678] Ignoring source layer loss I0515 11:09:03.696059 37636 solver.cpp:414]     Test net output #0: accuracy = 0.1032 I0515 11:09:04.653638 37636 solver.cpp:239] Iteration 200 (0.48369 iter/s, 41.3488s/20 iters), loss = 6.90776 I0515 11:09:04.653683 37636 solver.cpp:258]     Train net output #0: loss = 6.90776 (* 1 = 6.90776 loss) I0515 11:09:04.653744 37636 sgd_solver.cpp:112] Iteration 200, lr = 0.01
Then I changed the power layer to non-inplaced. The training loss converges hundreds of times and the training log is as follows:
I0515 10:55:12.849515 35382 solver.cpp:239] Iteration 0 (-nan iter/s, 27.2175s/20 iters), loss = 2.27915 I0515 10:55:12.849555 35382 solver.cpp:258]     Train net output #0: loss = 2.27915 (* 1 = 2.27915 loss) I0515 10:55:12.849609 35382 sgd_solver.cpp:112] Iteration 0, lr = 0.01 I0515 10:55:32.186156 35382 solver.cpp:239] Iteration 20 (1.03433 iter/s, 19.3361s/20 iters), loss = 2.2192 I0515 10:55:32.186208 35382 solver.cpp:258]     Train net output #0: loss = 2.13934 (* 1 = 2.13934 loss) I0515 10:55:32.186231 35382 sgd_solver.cpp:112] Iteration 20, lr = 0.01 I0515 10:55:51.084617 35382 solver.cpp:239] Iteration 40 (1.05832 iter/s, 18.8979s/20 iters), loss = 2.12924 I0515 10:55:51.084879 35382 solver.cpp:258]     Train net output #0: loss = 2.03532 (* 1 = 2.03532 loss) I0515 10:55:51.084897 35382 sgd_solver.cpp:112] Iteration 40, lr = 0.01 I0515 10:56:09.980957 35382 solver.cpp:239] Iteration 60 (1.05845 iter/s, 18.8956s/20 iters), loss = 2.04191 I0515 10:56:09.980991 35382 solver.cpp:258]     Train net output #0: loss = 1.8054 (* 1 = 1.8054 loss) I0515 10:56:09.981035 35382 sgd_solver.cpp:112] Iteration 60, lr = 0.01 I0515 10:56:28.875658 35382 solver.cpp:239] Iteration 80 (1.05853 iter/s, 18.8942s/20 iters), loss = 1.98364 I0515 10:56:28.875864 35382 solver.cpp:258]     Train net output #0: loss = 1.91929 (* 1 = 1.91929 loss) I0515 10:56:28.875878 35382 sgd_solver.cpp:112] Iteration 80, lr = 0.01 I0515 10:56:47.791654 35382 solver.cpp:239] Iteration 100 (1.05735 iter/s, 18.9153s/20 iters), loss = 1.9244 I0515 10:56:47.791693 35382 solver.cpp:258]     Train net output #0: loss = 1.8284 (* 1 = 1.8284 loss) I0515 10:56:47.791745 35382 sgd_solver.cpp:112] Iteration 100, lr = 0.01 I0515 10:57:06.693739 35382 solver.cpp:239] Iteration 120 (1.05811 iter/s, 18.9016s/20 iters), loss = 1.7903 I0515 10:57:06.693966 35382 solver.cpp:258]     Train net output #0: loss = 1.4549 (* 1 = 1.4549 loss) I0515 10:57:06.693981 35382 sgd_solver.cpp:112] Iteration 120, lr = 0.01 I0515 10:57:25.593870 35382 solver.cpp:239] Iteration 140 (1.05823 iter/s, 18.8994s/20 iters), loss = 1.66322 I0515 10:57:25.593910 35382 solver.cpp:258]     Train net output #0: loss = 1.29358 (* 1 = 1.29358 loss) I0515 10:57:25.593968 35382 sgd_solver.cpp:112] Iteration 140, lr = 0.01 I0515 10:57:44.503170 35382 solver.cpp:239] Iteration 160 (1.05771 iter/s, 18.9088s/20 iters), loss = 1.52208 I0515 10:57:44.503396 35382 solver.cpp:258]     Train net output #0: loss = 1.03544 (* 1 = 1.03544 loss) I0515 10:57:44.503412 35382 sgd_solver.cpp:112] Iteration 160, lr = 0.01 I0515 10:58:03.408309 35382 solver.cpp:258]     Train net output #0: loss = 0.836138 (* 1 = 0.836138 loss) I0515 10:58:03.408349 35382 sgd_solver.cpp:112] Iteration 180, lr = 0.01 I0515 10:58:21.384106 35382 solver.cpp:347] Iteration 200, Testing net (#0) I0515 10:58:21.384551 35382 net.cpp:678] Ignoring source layer loss I0515 10:58:44.481245 35382 solver.cpp:414]     Test net output #0: accuracy = 0.1787 I0515 10:58:45.433612 35382 solver.cpp:239] Iteration 200 (0.475915 iter/s, 42.0243s/20 iters), loss = 1.16422 I0515 10:58:45.433640 35382 solver.cpp:258]     Train net output #0: loss = 0.627196 (* 1 = 0.627196 loss) I0515 10:58:45.433701 35382 sgd_solver.cpp:112] Iteration 200, lr = 0.01
I will update the prototxt ASAP and you and try it again.

The problem is in the power layer( x/6)

what's the problem in power layer(x/6)? From the source code, the power layer do y = (shift + scale * x)^power operation.

The source code is right. But I find when the scale coefficient of power layer is in [0,1], the train loss will stay the same all the time. When I get rid of this "/6" layer, the loss will change. Can the network work well with your data?

In addition, I will write a swich function layer ( ReLU(x+3)/6 ) instead of the existing implementation.


Quarto

Project description
Quarto® is an open-source scientific and technical publishing system built on Pandoc
Metadata

homepage URL: https://quarto.org/
source URL: https://github.com/quarto-dev/quarto-cli
license: gpl2+
platforms: unix, linux, darwin, ...

We already have https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/libraries/quarto/default.nix#L56. If that meets your requirements, please close this issue.

yes, that is it. Sorry for haven't looked upon unstable channel.
The more thank you for pointing me to the package.


Help specs migrate to new terms for a concept.

For example, https://github.com/whatwg/html/pull/1357 renamed "allowed to show a popup" to "triggered by user activation". It left the old id in place so that links from built specs would keep working, but allowed to show a popup now causes a

LINK ERROR: No 'dfn' refs found for 'allowed to show a popup'.

when rebuilding the spec without any indication of what new term to use. It'd be nice if there were a breadcrumb @domenic could have left to map the old ID to the new one. For example,
<dfn data-export
     id="triggered-by-user-activation"
     data-deprecated-lt="allowed to show a popup">triggered by user activation</dfn>

That's what lt is for normally.  <dfn lt="triggered by user activation | allowed to show a popup">triggered by user activation</dfn> works just fine.
(I'm also building a spider as my Rust learning project that will track autolink usage across specs so you'll have a better idea of what you're breaking if you change terms.)

Oh but wait, I see the deal, you still want specs to migrate to the new term, not just silently link to the new one with the old text.  Okay.  This sounds like it should be part of my "support obsoleting terms" project.


Add Comment and User Field to Silences

That way we can see who created a silence and why.

This has been implemented


Improve account onchain transaction labels.

EDIT: Added changes following a call with Oli.
Executing account actions (create, renew, deposit, etc) involves generating transactions. Each transaction includes a label field which can store arbitrary data. Labels are limited to 500 characters in length.
Here are two example labels as they are currently used:
  poold -- AccountCreation(acct_key=028f4218ed13a50d9b6cc2afa947bba40e9336eaedbb10129ac1fda73a3d806252)

  poold -- AccountModification(acct_key=028f4218ed13a50d9b6cc2afa947bba40e9336eaedbb10129ac1fda73a3d806252, expiry=false, deposit=true, is_close=false)

Proposed Solution
Keep prefix tag, but drop the leading space: poold -- . Faraday looks for this tag.
Label  structure:
{
  "account":{
    "action": "<action>",
    "key": "<string>",
    "expiry_height": <int>,
    "output_index": <int>,
    "expiry_spend": <bool>,
    "tx_fee": <int>,
    "balance_diff": <int>,
  }
}

The action field takes one of the following values:

create
deposit
withdraw
renew
close

key is the account key.
expiry_height is an integer block height at which the account expires. This value is important to ease the process of account recovery, see here.
output_index is an integer denoting the account balance transaction output.
expiry_spend is a boolean denoting whether the transaction spends via the expiry output path.
tx_fee is the onchain transaction fee for executing the account action.
balance_diff is a signed integer denoting the difference (+/-) in the account balance as a result of the transaction.
Here's a full minimized example (211 characters):
poold -- {"account":{"action":"withdraw","key":"028f4218ed13a50d9b6cc2afa947bba40e9336eaedbb10129ac1fda73a3d806252","expiry_height":2400,"output_index":1,"expiry_spend":false,"tx_fee":1027,"balance_diff":10000}}

@guggero @positiveblue @dstadulis Let me know if something might not workout or if anything can improved, and so on!

It might be a good idea to keep track of the pool account output index in the label also. It would probably help with calculating the action transaction fee amongst other things.

Notes from call with @guggero :
Keep tag but remove leading space: poold -- . Faraday parses this tag.
Change field expire_height -> expiry_height
Add field: output_index (int)
Add field: expiry_spend (bool)
Add field: tx_fee (int)
Add field: balance_diff: (int)
Make action values to snake case.

Solution: https://github.com/lightninglabs/pool/pull/396


Update support for max-pixels attribute

#578

Thank you! Will merge. Don't forget to use the jsbeautifier settings in your editor and run the tests. I'll fix the quotation mark style issue.


[WIP][sw, dif_kmac] Add implementation of KMAC (blocking only)

TODO:

Cleanup
More tests

@moidx This is still a rough cut and needs more tests but should be mostly working (although I haven't tested non-empty customization strings at all yet). I'm on vacation on Monday but should be able to finish this off on Tuesday.

By the way the desired output length (l) is currently in 32-bit words. I don't think I documented that yet.

@moidx I'm not sure what I'm doing wrong but when I try to put the key into share1 I don't get the correct result. For example the following patch causes the test to fail:
diff --git a/sw/device/tests/dif/dif_kmac_kmac_smoketest.c b/sw/device/tests/dif/dif_kmac_kmac_smoketest.c
index 4a7949ee7..4311f48e9 100644
--- a/sw/device/tests/dif/dif_kmac_kmac_smoketest.c
+++ b/sw/device/tests/dif/dif_kmac_kmac_smoketest.c
@@ -140,9 +140,9 @@ const kmac_test_t kmac_tests[] = {
         .mode = kDifKmacModeKmacLen128,
         .key =
             (dif_kmac_key_t){
-                .share0 = {0x43424140, 0x47464544, 0x4B4A4948, 0x4F4E4D4C,
+                .share1 = {0x43424140, 0x47464544, 0x4B4A4948, 0x4F4E4D4C,
                            0x53525150, 0x57565554, 0x5B5A5958, 0x5F5E5D5C},
-                .share1 = {0},
+                .share0 = {0},
                 .length = kDifKmacKeyLen256,
             },
         .message = "\x00\x01\x02\x03",

I'll investigate further tomorrow.

Hi @mundaym, can you open an issue regarding the observed key_share_0 = {0} behavior? We can mark the issue as type: Question, Component: RTL. If this is intended behavior, we can update the RTL spec documentation to reflect this.

Thanks @moidx. Opened this issue for the question about the key share behavior: https://github.com/lowRISC/opentitan/issues/6637.

@moidx From the discussion in issue #6637 it looks like share 1 is ignored when the EnMasking parameter is set to 0 which it currently is for earlgrey. Do you need masked keys for your work?


Update the ScopeTemplate Controller to address simple CRUD events

Goal: Basic CRUD events are supported by the ScopeTemplate controller.
Acceptance Criteria:

Creating a ScopeTemplate CR creates a ClusterRole if a scopeInstance references the scopeTemplate.
Creating a ScopeTemplate CR does not create a ClusterRole if a scopeInstance does not reference the scopeTemplate.
Updating a ScopeTemplate CR to change an existing spec.ClusterRole[*] changes the associatedClusterRoles.
Updating a ScopeTemplate CR to include an additional spec.ClusterRole[*] entry creates a new ClusterRole.
Updating a ScopeTemplate CR to remove an a spec.ClusterRole[*] entry deletes the associated ClusterRole.
Deleting the ScopeTemplate CR removes all of the ClusterRoles it created.  I suggest using OwnerReferences.

@awgreene we can close this as we fixed this already.


Roles Based Entitlements and Access Requirements for Front and Back End

Background on the problem the feature will solve/improved user experience
We want users to identify whether they are the office staff or public defender.  Then we will give access based on who is utilizing the tool.
We need roles in Excel.  Then across Columns - put entitlement (Read Only, Update Only, Etc).
Try two stories read & write, and read only.  Need at minimum.  Can see from there is there are other things.
Describe the solution you'd like
First do the write up on access and who sees what for the Story
Then team members can do the programming part of it.
Break down incremental (maybe MS cohort can do some of it)

Open Sentencing User Roles.xlsx

@btpull please see the user roles above for your flowchart work in the aggregator

@sforsyth089 I added a Roles - Entitlements tab and a Data Model tab
Open Sentencing User Roles.xlsx


[New Port Request] Blackbone

Library name:
BlackBone
Library description:
Windows memory hacking library
Source repository URL:
https://github.com/DarthTon/Blackbone
Project homepage (if different from the source repository):
Do not differ from source repository
Anything else that is useful to know when adding (such as optional features the library may have that should be included):
The library is windows only

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.

Why did the port request is unresolved ?


Featurex

Merge1

@initcron please delete this PR which was wrongly created while doing the exercises for the course you were teaching. Thank you


Swagger middleware does not support multiple swagger files

we have been trying to get swagger-express-middleware working with multiple swagger files. There are a couple of minor changes required for this to work properly though as 404 responses and empty responses are breaking the express chaining.
Please can you review these minor changes.

This is a solution for #29

@winniehell sorry I don't understand your comment? You have made a reference to this pull request, but then talk about using another branch.

@grouchal: This pull request is based on your master branch where you deleted the content of the README file (in the commit I commented on).
But I think you only want this pull request to contain aa88673495b440ea16b738438e2c60bece70044e and e49490940c72645d850cf21a276065df2b128eb9.

@winniehell OK I have created a new pull request with the correct files #40


HBASE-22679 : Revamping CellUtil

Jira: https://issues.apache.org/jira/browse/HBASE-22679

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 33s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 15 new or modified test files.

_ master Compile Tests _

:blue_heart:
mvndep
0m 37s
Maven dependency ordering for branch

:green_heart:
mvninstall
5m 18s
master passed

:green_heart:
compile
2m 42s
master passed

:green_heart:
checkstyle
3m 22s
master passed

:green_heart:
shadedjars
4m 36s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
2m 13s
master passed

:blue_heart:
spotbugs
1m 29s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
8m  9s
master passed

_ Patch Compile Tests _

:blue_heart:
mvndep
0m 14s
Maven dependency ordering for patch

:green_heart:
mvninstall
5m  1s
the patch passed

:green_heart:
compile
2m 44s
the patch passed

:green_heart:
javac
2m 44s
the patch passed

:green_heart:
checkstyle
0m 27s
hbase-common: The patch generated 0 new + 92 unchanged - 38 fixed = 92 total (was 130)

:green_heart:
checkstyle
0m 35s
hbase-client: The patch generated 0 new + 113 unchanged - 1 fixed = 113 total (was 114)

:broken_heart:
checkstyle
1m 18s
hbase-server: The patch generated 1 new + 105 unchanged - 2 fixed = 106 total (was 107)

:green_heart:
checkstyle
0m 20s
The patch passed checkstyle in hbase-mapreduce

:green_heart:
checkstyle
0m 41s
The patch passed checkstyle in hbase-thrift

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
shadedjars
4m 30s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
15m 45s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
javadoc
2m 10s
the patch passed

:green_heart:
findbugs
8m 49s
the patch passed

_ Other Tests _

:green_heart:
unit
3m  6s
hbase-common in the patch passed.

:green_heart:
unit
1m 50s
hbase-client in the patch passed.

:green_heart:
unit
153m 44s
hbase-server in the patch passed.

:green_heart:
unit
18m 55s
hbase-mapreduce in the patch passed.

:green_heart:
unit
3m 35s
hbase-thrift in the patch passed.

:green_heart:
asflicense
2m 50s
The patch does not generate ASF License warnings.

261m 38s

Subsystem
Report/Notes

Docker
Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/735

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 3193a7d72dcf 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-735/out/precommit/personality/provided.sh

git revision
master / 4d414020bb

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/1/artifact/out/diff-checkstyle-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/1/testReport/

Max. process+thread count
5437 (vs. ulimit of 10000)

modules
C: hbase-common hbase-client hbase-server hbase-mapreduce hbase-thrift U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 32s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 15 new or modified test files.

_ master Compile Tests _

:blue_heart:
mvndep
0m 36s
Maven dependency ordering for branch

:green_heart:
mvninstall
5m 40s
master passed

:green_heart:
compile
2m 45s
master passed

:green_heart:
checkstyle
3m 23s
master passed

:green_heart:
shadedjars
4m 34s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
2m 11s
master passed

:blue_heart:
spotbugs
1m 28s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
8m  2s
master passed

_ Patch Compile Tests _

:blue_heart:
mvndep
0m 15s
Maven dependency ordering for patch

:green_heart:
mvninstall
4m 58s
the patch passed

:green_heart:
compile
2m 42s
the patch passed

:green_heart:
javac
2m 42s
the patch passed

:green_heart:
checkstyle
0m 28s
hbase-common: The patch generated 0 new + 92 unchanged - 38 fixed = 92 total (was 130)

:green_heart:
checkstyle
0m 33s
hbase-client: The patch generated 0 new + 113 unchanged - 1 fixed = 113 total (was 114)

:green_heart:
checkstyle
1m 20s
hbase-server: The patch generated 0 new + 95 unchanged - 12 fixed = 95 total (was 107)

:green_heart:
checkstyle
0m 19s
The patch passed checkstyle in hbase-mapreduce

:green_heart:
checkstyle
0m 39s
The patch passed checkstyle in hbase-thrift

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
shadedjars
4m 30s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
15m 31s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
javadoc
2m 11s
the patch passed

:green_heart:
findbugs
8m 48s
the patch passed

_ Other Tests _

:green_heart:
unit
3m  6s
hbase-common in the patch passed.

:green_heart:
unit
1m 51s
hbase-client in the patch passed.

:broken_heart:
unit
31m 29s
hbase-server in the patch failed.

:green_heart:
unit
18m 48s
hbase-mapreduce in the patch passed.

:green_heart:
unit
3m 23s
hbase-thrift in the patch passed.

:green_heart:
asflicense
1m 51s
The patch does not generate ASF License warnings.

137m 42s

Reason
Tests

Failed junit tests
hadoop.hbase.io.hfile.TestHFile

Subsystem
Report/Notes

Docker
Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/735

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux fbee98bf2bf6 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-735/out/precommit/personality/provided.sh

git revision
master / 4d414020bb

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/2/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/2/testReport/

Max. process+thread count
5448 (vs. ulimit of 10000)

modules
C: hbase-common hbase-client hbase-server hbase-mapreduce hbase-thrift U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 32s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 15 new or modified test files.

_ master Compile Tests _

:blue_heart:
mvndep
0m 41s
Maven dependency ordering for branch

:green_heart:
mvninstall
5m 12s
master passed

:green_heart:
compile
2m 45s
master passed

:green_heart:
checkstyle
3m 22s
master passed

:green_heart:
shadedjars
4m 39s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
2m 14s
master passed

:blue_heart:
spotbugs
1m 29s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
8m 10s
master passed

_ Patch Compile Tests _

:blue_heart:
mvndep
0m 15s
Maven dependency ordering for patch

:green_heart:
mvninstall
4m 55s
the patch passed

:green_heart:
compile
2m 44s
the patch passed

:green_heart:
javac
2m 44s
the patch passed

:green_heart:
checkstyle
0m 29s
hbase-common: The patch generated 0 new + 92 unchanged - 38 fixed = 92 total (was 130)

:green_heart:
checkstyle
0m 33s
hbase-client: The patch generated 0 new + 113 unchanged - 1 fixed = 113 total (was 114)

:green_heart:
checkstyle
1m 18s
hbase-server: The patch generated 0 new + 95 unchanged - 12 fixed = 95 total (was 107)

:green_heart:
checkstyle
0m 19s
The patch passed checkstyle in hbase-mapreduce

:green_heart:
checkstyle
0m 40s
The patch passed checkstyle in hbase-thrift

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
shadedjars
4m 33s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
15m 26s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
javadoc
2m  8s
the patch passed

:green_heart:
findbugs
8m 41s
the patch passed

_ Other Tests _

:green_heart:
unit
3m  7s
hbase-common in the patch passed.

:green_heart:
unit
1m 50s
hbase-client in the patch passed.

:broken_heart:
unit
153m 52s
hbase-server in the patch failed.

:broken_heart:
unit
18m 52s
hbase-mapreduce in the patch failed.

:green_heart:
unit
3m 35s
hbase-thrift in the patch passed.

:green_heart:
asflicense
2m 58s
The patch does not generate ASF License warnings.

261m  5s

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestAsyncTableGetMultiThreaded

hadoop.hbase.snapshot.TestExportSnapshotNoCluster

Subsystem
Report/Notes

Docker
Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/735

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux<PHONE_NUMBER>4f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-735/out/precommit/personality/provided.sh

git revision
master / 4d414020bb

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/3/artifact/out/patch-unit-hbase-server.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/3/artifact/out/patch-unit-hbase-mapreduce.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/3/testReport/

Max. process+thread count
5413 (vs. ulimit of 10000)

modules
C: hbase-common hbase-client hbase-server hbase-mapreduce hbase-thrift U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-735/3/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

The above unit test failures are flaky, works fine locally.
Please review @saintstack

Please review @petersomogyi @saintstack