Postgresql database migrations failed with a not empty database

What version of the credhub server you are using?
We using the credhub bosh release with the version 2.12.0
As database we use a postgres server with version 11.10
What did you expect to happen?
That flyway execute all migrations in a new postgres server instance on the first start of credhub even if there is already data in the database. We creating some views in our database for our monitoring during the setup of the database. But afterwards the deployment of credhub failed
What was the actual behavior?
Credhub failed with the following error. If the database is empty everything works fine...
2022-04-29T13:30:51.358Z [background-preinit] ....  INFO --- Version: HV000001: Hibernate Validator 6.1.7.Final
2022-04-29T13:30:51.692Z [main] ....  INFO --- CredHubApp: The following profiles are active: prod
2022-04-29T13:30:57.922Z [main] ....  INFO --- TomcatWebServer: Tomcat initialized with port(s): 8844 (https)
2022-04-29T13:30:57.950Z [main] ....  INFO --- StandardEngine: Starting Servlet engine: [Apache Tomcat/9.0.53]
2022-04-29T13:30:58.061Z [main] ....  INFO --- [/]: Initializing Spring embedded WebApplicationContext
2022-04-29T13:30:59.658Z [main] ....  INFO --- HikariDataSource: HikariPool-1 - Starting...
2022-04-29T13:30:59.863Z [main] ....  INFO --- FlywayMigrationStrategyConfiguration: Validating database state...
2022-04-29T13:31:00.002Z [main] ....  INFO --- VersionPrinter: Flyway Community Edition 7.15.0 by Redgate
Detected resolved migration not applied to database: 3. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 4. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 5. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 6. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 11. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 12. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 13. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 14. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 17. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 18. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 19. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 21. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 24. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 25. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 28. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 29. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 30. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 31. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 32. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 33. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 34. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 35. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 36. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 37. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 38. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 39. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 40. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 41. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 43. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 44. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
Detected resolved migration not applied to database: 48. To fix this error, either run migrate, or set -ignorePendingMigrations=true.
2022-04-29T13:31:00.585Z [main] .... FATAL --- FlywayMigrationStrategyConfiguration: FlyWay migration failed. Crashing.
2022-04-29T13:31:00.587Z [main] ....  INFO --- HikariDataSource: HikariPool-1 - Shutdown initiated...
2022-04-29T13:31:00.595Z [main] ....  INFO --- HikariDataSource: HikariPool-1 - Shutdown completed.
2022-04-29T13:31:00.604Z [main] ....  INFO --- StandardService: Stopping service [Tomcat]
2022-04-29T13:31:00.651Z [main] ....  INFO --- ConditionEvaluationReportLoggingListener:

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2022-04-29T13:31:00.692Z [main] .... ERROR --- SpringApplication: Application run failed
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) ~[spring-beans-5.3.10.jar!/:5.3.10]
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1154) ~[spring-context-5.3.10.jar!/:5.3.10]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:908) ~[spring-context-5.3.10.jar!/:5.3.10]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) ~[spring-context-5.3.10.jar!/:5.3.10]
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) ~[spring-boot-2.4.11.jar!/:2.4.11]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:771) ~[spring-boot-2.4.11.jar!/:2.4.11]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:763) [spring-boot-2.4.11.jar!/:2.4.11]
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:438) [spring-boot-2.4.11.jar!/:2.4.11]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:339) [spring-boot-2.4.11.jar!/:2.4.11]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1329) [spring-boot-2.4.11.jar!/:2.4.11]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:1318) [spring-boot-2.4.11.jar!/:2.4.11]
        at org.cloudfoundry.credhub.CredHubApp.main(CredHubApp.java:20) [classes!/:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_322]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_322]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_322]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_322]
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [credhub.jar:?]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) [credhub.jar:?]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [credhub.jar:?]
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) [credhub.jar:?]
Caused by: org.flywaydb.core.api.FlywayException: Found non-empty schema(s) "public" but no schema history table. Use baseline() or set baselineOnMigrate to true to initialize the schema history table.
        at org.flywaydb.core.Flyway$1.execute(Flyway.java:200) ~[flyway-core-7.15.0.jar!/:?]
        at org.flywaydb.core.Flyway$1.execute(Flyway.java:170) ~[flyway-core-7.15.0.jar!/:?]
        at org.flywaydb.core.Flyway.execute(Flyway.java:586) ~[flyway-core-7.15.0.jar!/:?]
        at org.flywaydb.core.Flyway.migrate(Flyway.java:170) ~[flyway-core-7.15.0.jar!/:?]
        at org.cloudfoundry.credhub.config.FlywayMigrationStrategyConfiguration.runMigration(FlywayMigrationStrategyConfiguration.java:75) ~[classes!/:?]
        at org.cloudfoundry.credhub.config.FlywayMigrationStrategyConfiguration.lambda$repairBeforeMigration$0(FlywayMigrationStrategyConfiguration.java:26) ~[classes!/:?]
        at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:62) ~[spring-boot-autoconfigure-2.4.11.jar!/:2.4.11]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1863) ~[spring-beans-5.3.10.jar!/:5.3.10]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ~[spring-beans-5.3.10.jar!/:5.3.10]
        ... 27 more

Manual workaround:
We found a way to execute the migrations by setting the following config parameters in the application/spring.yml config:
spring:
  flyway:
     baselineOnMigrate: true
     baselineVersion: 0

https://www.pivotaltracker.com/story/show/182121106

@max-soe Could you describe how you set up your new views where you had some CredHub data from another instance but didn't have the fly_schema_history table?
The workaround you gave overrides a safety feature that detects when CredHub it pointed toward the wrong type of database, so I don't think we'd want to make that the default. (https://flywaydb.org/documentation/configuration/parameters/baselineOnMigrate)

Hi @swalchemist,
We created a database and created with psql some view (https://www.postgresql.org/docs/current/sql-createview.html) to improve our monitoring. Afterwards we tried to deploy credhub but that failed because the database was not empty.
We meanwhile have a workaround and this issue is not that important for us. Feel free to close it or add maybe an information to your documentation that the provided database for credhub must be empty. Otherwise the database migrations will fail.


Privacy error with custom subdomain and github pages

Hi everyone,
thanks for the great work you do with docsify.
Trying to host my docsify website on github (https://github.com/sapaso/sapaso.github.io) with the custom subdomain http://docs.sapaso.de results in

Your connection is not private

When hosting it "without" a custom subdomain on https:/sapaso.github.io it worked.
Following this tutorial on how to setup a CNAME with a custom subdomain, using dig i get
dig docs.sapaso.de +nostats +nocomments +nocmd

; <<>> DiG 9.8.3-P1 <<>> docs.sapaso.de +nostats +nocomments +nocmd
;; global options: +cmd
;docs.sapaso.de.			IN	A
docs.sapaso.de.		3599	IN	CNAME	sapaso.github.io.
sapaso.github.io.	3599	IN	CNAME	sni.github.map.fastly.net.
sni.github.map.fastly.net. 23	IN	A	<IP_ADDRESS>
sni.github.map.fastly.net. 23	IN	A	<IP_ADDRESS>
sni.github.map.fastly.net. 23	IN	A	<IP_ADDRESS>
sni.github.map.fastly.net. 23	IN	A	<IP_ADDRESS>

Any ideas on how to fix this?

https://help.github.com/articles/securing-your-github-pages-site-with-https/
"HTTPS is not supported for GitHub Pages using custom domains."
But seems you can do it with some DNS services:
https://blog.cloudflare.com/secure-and-fast-github-pages-with-cloudflare/

I think we can close this issue, since its not Docsify's issue.
@fgallaire gives a workaround link, but I think its not so really needed to use the https instead http

It should work now.  Notice you need to remove and readd your custom domain after changing the A records and setting the settings to use HTTPS: https://help.github.com/articles/troubleshooting-custom-domains/#https-errors

I am having the same issue.I created the www sub-domain and and added to my repo -> settings -> custom domain name
on DNS server added A records
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
and i am receiving the privacy errors on https://www.priteshusadadiya.com and i am also not able to check "Lets Encrypt" checkbox on settings page.
Any idea how to solve this ?

@priteshusadadiya how did you solve it?

there was a issue with my DNS Configuration.
I was redirecting the www sub domain to apex (main). to fix this just change your dns record to yourusername.github.io
wait for couple of minutes and go to github project -> settings and save changes again for domain field.
"Lets Encrypt" checkbox will get enabled. check it
and you are done.
It might take around 48 hours for Github to generate HTTPS certificate on custom domain so, you might want to wait for it.

Thank you @priteshusadadiya . it works now!


List cloud-init-providers in a variable

[x] Installs cleanly on a fresh build of most recent master branch
[x] Upgrades cleanly from the most recent release
[ ] Updates documentation relevant to the changes (n/a)

fixes #1507, #1504

We were able to get green on manual tests on this. Was there anything else that you needed?

@sehqlr Nope! Thanks for testing :smile:


How to Save Retrieved Documents in Retrieval Tasks

Hi，
I am currently working on an information retrieval task and I want to save the retrieved documents for bad case analysis.
I have printed the output of the search function in beir/retrieval/search/dense/exact_search.py, and the format is {q_id: {pid: score}}. such as:

However, it seems that the corpus ids are not sorted according to the scores. Should I sort the results by cosine similarity from high to low and save them so that the most relevant documents are placed at the beginning?
Thanks!

Sorry for the delay. To answer the question in the title, see this section of README: https://github.com/embeddings-benchmark/mteb?tab=readme-ov-file#saving-retrieval-task-predictions.


Use blocks-extras from a PR

...

@dwf , I am not going to merge that, I was just trying to check if the PR fixes Bokeh 0.9.1 incompatibiity. But apparently it doesn't.

Closing since this doesn't seem to serve any purpose anymore.


Remove auth@1 in tests running on self hosted runner

Fix Performance tests part of #31848
These tests all uses io-datastores k8s instances, previously authenticate with GHA secret. However, either the secret becomes invalid or the auth action has problems, causing "invalid JWT Signature" issue
These tests are running on self-hosted runners in the same GCP project with io-datastores instance, and the credential is in place, no need to auth again.
Please add a meaningful description for your change here
Example run:

Jdbc Performance test: https://github.com/apache/beam/actions/runs/9914644914

HDFS Performance test: https://github.com/apache/beam/actions/runs/9915736828

SparkReceiver Performance test: https://github.com/apache/beam/actions/runs/9915739255

IO_Iceberg tests has the same issue:
https://github.com/apache/beam/actions/runs/9906366268/job/27367796375
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

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

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

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @ahmedabu98 @kennknowles


logit(): rate-limit only what is being logged

Hi,
There's a small bug in the syslog rate-limiting logic: it takes into account all messages with severity other than LOG_DEBUG, regardless of whether they would actually be logged or not (according to the --loglevel setting). By default, this means that the unprinted LOG_INFO messages might cause pimd to enter a period of slience, although it actually hasn't printed anything. This is an example from a real system:
# grep pimd /var/log/syslog
Feb 12 12:58:54 sparrow pimd[1121]: pimd version 2.3.0 starting ...
Feb 12 12:59:54 sparrow pimd[1122]: logging too fast, shutting up for 10 minutes
Feb 12 13:09:54 sparrow pimd[1122]: logging enabled again after rate limiting
Feb 12 13:10:54 sparrow pimd[1122]: logging too fast, shutting up for 10 minutes
Feb 12 13:20:54 sparrow pimd[1122]: logging enabled again after rate limiting
Feb 12 13:21:54 sparrow pimd[1122]: logging too fast, shutting up for 10 minutes
Feb 12 13:31:54 sparrow pimd[1122]: logging enabled again after rate limiting
Feb 12 13:32:54 sparrow pimd[1122]: logging too fast, shutting up for 10 minutes
Feb 12 13:42:54 sparrow pimd[1122]: logging enabled again after rate limiting
Feb 12 13:43:54 sparrow pimd[1122]: logging too fast, shutting up for 10 minutes
Feb 12 13:53:54 sparrow pimd[1122]: logging enabled again after rate limiting
Feb 12 13:54:54 sparrow pimd[1122]: logging too fast, shutting up for 10 minutes

As you can see, pimd rate-limits its syslog output although nothing has been logged. What has not been logged are approx. 200 LOG_INFO messages regarding group joins.
Fix this by taking syslog_level into account before bumping log_nmsgs.

Awesome, thanks! :+1:


how to use cdn cache？

how to use cdn cache

Amazon Cloudfront supports distributing rtmp stream
On Sun, Jun 28, 2020 at 12:14 AM wwping<EMAIL_ADDRESS>wrote:

Closed #18 https://github.com/a1q123456/Harmonic/issues/18.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/a1q123456/Harmonic/issues/18#event-3489108998, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAICVWGD2FC2FBLLI2RE6R3RYYLFTANCNFSM4OFOOQPQ
.


Repo sync for protected CLA branch

The pull request is created from main637847872701866543 to main to fix git push error for protected CLA branch

@opbld16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


OpenTelemetry Tracer: Add spans_dropped metric.

Title: OpenTelemetry Tracer: Add spans_dropped metric.
Description:
There is currently a envoy_tracing_opentelemetry_spans_sent metric.  Please consider adding envoy_tracing_opentelemetry_spans_dropped as well. This would greatly help in understanding where the data is being dropped.
fwiw, I tried changing from the lightstep tracer (envoy version 1.23.3) to the otel-tracer (envoy version 1.24.1) and:
This is the number of spans received from envoy by Lightstep. You can see it goes down.

On the other hand the numbers of spans envoy claims to emit is the same (here the dotted line is the lightstep tracer and it's time shifted by an hour. The purple line is the otel tracer. What's important is that they line up exactly:

And so it's not very clear to me where data is being dropped.
Additionally, it would be very useful to be able to change additional settings like:

buffer size
flush frequency
compression (seems to be off right now and OTEL_EXPORTER_OTLP_COMPRESSION isn't supported ?

I think this will help tune the exporter for various environments.  For example, this is the number of RPCs (not spans) that lightstep receives from the lightstep tracer  (blue line) and, after switch, the otel-tracer (purple line):

So more RPCs, but fewer spans.. :/
[optional Relevant Links:]

Any extra documentation required to understand the issue.

cc: @jmarantz

Same problem here, seeing a lot of rx/tx resets. @DanTulovsky can you share how you tweaked min_flush_spans ?


CAS Activity Log Inaccurately Shows Teams Group Creator Removes Member from Group in hybrid environment

My testing with Microsoft has found that the CAS Activity Log will Inaccurately Show a Teams Group Creator as the User who Removed a Team Member from Group in hybrid environment when the member's account is disabled in AD
Steps to reproduce issue (all accounts are synced from on-prem AD to Azure and O365 via AD Connect):

Owner A creates new Team called 'Test'
Owner A adds user B to 'Test' Team
User B's account is terminated, account disabled.
Within 1-2 days CAS log will show a "MemberRemoved" activity with the User (who performed it) as Owner A

If multiple owners exist for a Team, only the creator will be named as the person who performed the removal.
Problem: IT is looking at these logs and coming the conclusion that the CAS Logs are 100% accurate. When a user says they didn't remove a member from a Team, our logs say otherwise. This issue was found by noticing the members who were removed from the Teams were also disabled in AD about a day before the CAS logs entries showing the removal from the Team they were in.
Solution: Please update the CAS activity log to show that a member was removed from a Team due to AD changes.

@name Thanks for contacting Microsoft about your issue. As we understand it, you're describing a problem with the product itself and not with the product documentation.
To get assistance or support for your product issue, please open a support ticket or Send feedback.


Add OSSF security scorecard to Atsign public repos

Is your feature request related to a problem? Please describe.
At present there isn't a clear external indicator that Atsign repos are properly secured. This will allow us to 'Show Off Your Security Score'
Describe the solution you'd like
Add OSSF Scorecard Action to the repos featured on our org profile:

[x] at_client_sdk
[x] at_widgets
[x] at_demos
[x] docs.atsign.com
[x] sshnoports
[x] at_app
[x] at_server
[x] dess
[x] at_tools
[x] at_libraries
[x] at_protocol
[x] mwc_demo

Add the badges to READMEs so that the security is visible.

For posterity here's what the badges looked like after initial implementation:


Bypass recursive RubyGems require

I fixed a bug that I reported for Rake test problem.
First, Bundler::Plugin uses cascading autoload for Bundler::Plugin::API and Bundler::Plugin::API::Source.
Secondly, Bundler uses monkey patch for RubyGems loading logic, thus Gem::Specification#full_gem_path is overridden.
Next, if a module is loaded by require in RubyGems with Bundler's monkey patch, the Gem::Specification#full_gem_path that uses Bundler::Plugin::API::Source is called in it. But bundler/plugin/api/source uses require before Bundler::Plugin::API::Source is defined. RubyGems loading logic runs again by the require. Bundler::Plugin::API::Source is not defined yet. Gem::Specification#full_gem_path is called again, and it uses Bundler::Plugin::API::Source. The autoload is skipped after 2nd call. So exception is occurred.

NameError: uninitialized constant Bundler::Plugin::API::Source

This Pull Request bypasses the recursive RubyGems require.

If this fixes a bug, could you see if it's possible to add test coverage? Thanks!

https://github.com/bundler/bundler/pull/4981 is better then this Pull Request for this problem.


Please ensure JavaScript is enabled.

I'm trying to use draw.io on trello, but this message shows. What can I do?

System:
Mac OS 10.14
Trelo 2.10.14

What steps did you follow exactly before you got to that screen?

What steps did you follow exactly before you got to that screen?

I installed the Power-Ups draw.io
Add new card on Trello > Power-Ups > draw.io > Create

Works OK here, check a browser extension isn't breaking something.

Got this error plz help me how to resolve this, I opened this through chrome

I also frequently see this issue.
Environment; Ubuntu 22.04.1 LTS running Gnome Desktop, Google Chrome (default) browser.
Browser Extensions; Adblock for Chrome, Adblock for You, Adblock for YouTube, Chrome Remote Desktop, Chrome Download Manager, GNOME Shell integration, Google Docs Offline, GSConnect
I can overcome this by doing a Shift-F5 however every time I revisit a drawing the "Please enable Javascript" issue appears.
I will attempt to diagnose by selectively disabling the Extensions and attempting to open an existing drawing

After disabling ALL Google Chrome Extensions, the error still remains. It would appear this has nothing to do with a Chrome Browser extension.

I always have the same problem when I open file from google drive or access the home url. I saw some errors in the console.
After I have pressed Ctrl + Shift + R, there errors didn't appear.


[packaging] Conform to debian package naming rules

This should create metapackages for a short time(ie 6 months or so) so that apt install hip_hcc can still work until all the scripts and dependent packages are updated to use the name.

And a few words about it should be said in that case.

@pfultz2 I guess it is fine if we have backward compatibility only for hip_hcc package. Anyone directly installing hip_base, hip_samples or hip_doc would need to fix their scripts to refer to the new packages.


support configuration for keepalive parameters

Let the heartbeat support configuration, we can tune the parameters to find out the best values for heartbeat

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@7e9599e). Click here to learn what that means.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             develop    #1458   +/-   ##
==========================================
  Coverage           ?   59.05%
==========================================
  Files              ?      333
  Lines              ?    26890
  Branches           ?        0
==========================================
  Hits               ?    15879
  Misses             ?     9243
  Partials           ?     1768

Impacted Files
Coverage Δ

pkg/stream/xprotocol/keepalive.go
86.66% <83.78%> (ø)

pkg/stream/xprotocol/keepalive_configure.go
100.00% <100.00%> (ø)

pkg/metrics/shm/counter.go
71.42% <0.00%> (ø)

pkg/router/routers_impl.go
70.07% <0.00%> (ø)

pkg/xds/v2/xdsconfig.go
24.86% <0.00%> (ø)

pkg/protocol/xprotocol/dubbo/decoder.go
74.30% <0.00%> (ø)

pkg/istio/utils/utils.go
20.00% <0.00%> (ø)

pkg/upstream/servicediscovery/dubbod/pub.go
75.43% <0.00%> (ø)

pkg/log/proxylog.go
64.58% <0.00%> (ø)

...ilter/stream/faulttolerance/send_filter_factory.go
65.45% <0.00%> (ø)

... and 325 more

Continue to review full report at Codecov.

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

add testcase for new scene.

add beachmark for uber atomic and runtime atomic.

这样处理还是有问题的，如果一直有请求，ResetTick一直清空tick，导致不会发送心跳包，假死连接将断不掉了


Jeb Closes issue #26 and issue #37

Added function to check for a sprint key, increase user speed around the map, and documentation of control in ReadMe file. Issue #26 and issue #37

Good job. I would suggest including a link for issue #37 under issue #26 since you can't add comments to the README.md file without it showing up.

Good job. I would suggest including a link for issue #37 under issue #26 since you can't add comments to the README.md file without it showing up.


rmf_traffic: 1.4.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository rmf_traffic to 1.4.0-1:

upstream repository: https://github.com/open-rmf/rmf_traffic.git
release repository: https://github.com/ros2-gbp/rmf_traffic-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.7
previous version for package: 1.3.0-2

Holding for Rolling sync


[Storage Blobs Service] ListBlobsByHierarchy API

done in https://github.com/Azure/azure-sdk-for-cpp/pull/265


Usage with Travis?

I see scripts/*.sh has a reference to Travis. Can we use this inside Travis CI?

That's the idea. You don't have to use this with Travis, but it works great with Travis and that's what my repositories do. You'll notice this repo has a .travis.yml. Here's the build.

in your setup, what takes care of tagging versions? semantic-release?

Yes, I highly recommend you give it a look. You can follow along my free series on egghead.io: How to Write an Open Source JavaScript Library


Update Build Gradle and Delete Unused Resources

add new .gitignore
add github action (data and build automation)
delete unused test class
delete .idea

Thank you gan wkwkw


refs #40 Update documentation.

Pull Request Test Coverage Report for Build 80

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.793%

Totals

Change from base Build 78:
0.0%

Covered Lines:
75

Relevant Lines:
77

💛  - Coveralls


cmake fails complaining about relative paths found in include directories

I'm not sure if this is the right forum to discuss this. I built sparta on my Ubuntu system and ran cmake in the Olympia directory which results in cmake complaining about relative paths in the include directories for zstd.
❯ cmake .. -DCMAKE_BUILD_TYPE=Release -DSPARTA_BASE=/scratch/joy/workspace/map/sparta
..
..
zstd_LIBRARIES (ADVANCED)
    linked by target "olympia" in directory /home/joy/workspace/riscv-perf-model
    linked by target "Dispatch_test" in directory /home/joy/workspace/riscv-perf-model/test/core/dispatch

CMake Error in CMakeLists.txt:
  Found relative path while evaluating include directories of "olympia":

    "zstd_INCLUDE_DIRS-NOTFOUND"

CMake Error in core/CMakeLists.txt:
  Found relative path while evaluating include directories of "core":

    "zstd_INCLUDE_DIRS-NOTFOUND"

CMake Error in mss/CMakeLists.txt:
  Found relative path while evaluating include directories of "mss":

    "zstd_INCLUDE_DIRS-NOTFOUND"

I think its complaining that you have installed zstd
https://github.com/facebook/zstd

Correct, olympia uses STF library which requires zstd.  The requirement is
documented on the STF library README
<std::unique_ptr<sparta::Parameter<uint32_t>> num_iex_pipes_;
std::unique_ptr<sparta::Parameter<uint32_t>> num_fex_pipes_;
std::unique_ptr<sparta::Parameter<uint32_t>> num_vex_pipes_;>, but not
obvious for the olympia builder.  I'll update the olympia README.  Thanks
for bringing this to our attention.
On Thu, Jan 12, 2023 at 4:55 PM danbone @.***> wrote:

I think its complaining that you have installed zstd
https://github.com/facebook/zstd
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-software-src/riscv-perf-model/issues/32#issuecomment-1381083515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANSKH2LUABSN6MGWVIWIDLLWSCDW7ANCNFSM6AAAAAATZWOVL4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

thanks, that worked.


5.6.2-armv7-x9 patch adds ioremap_nocache which breaks the build

As the title says, the patch for 5.6.2 re-adds that unused function to /drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c , which breaks the kernel build. This is because Linux 5.6 removed ioremap_noncache:

remove ioremap_nocache and devm_ioremap_nocache
ioremap has provided non-cached semantics by default since the Linux 2.6
days, so remove the additional ioremap_nocache interface.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c?h=v5.6.5&id=4bdc0d676a643140bdf17dbf7eafedee3d496a3c
Simply replacing ioremap_nocache with ioremap fixes the issue. This patch does this.

Thanks @Megver83 !  All merged (v5.6.x/v5.7.x branches)
I really wish we didn't have a brcmfmac wifi module on the beaglebone-ai, as we have to use the massive patchset to get SoftAp0 working on our module..
Regards,


Word works not as described.

[Enter feedback here]
The Word function is not described correctly. If I use it like this (//wfd/AccountName Word([//WorkflowData/UserPrincipalName],0,"@") > MailNickname) and the userPrincioanName is<EMAIL_ADDRESS>then I get back guy.horn. Accordint to the description Ill get an empty string. Thats wrong.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e8ffb09f-fb6a-7cd5-0ad4-3ee74e2b8065
Version Independent ID: 93b25d6d-fee4-98f4-83e6-a08b47932c85
Content: Functions reference for Microsoft Identity Manager 2016
Content Source: MIMDocs/reference/mim2016-functions-reference.md
Product: microsoft-identity-manager
GitHub Login: @billmath
Microsoft Alias: billmath

The following issue is being closed due to the age. If this is still an issue, please re-submit this. Thank you.
#please-close


lbry crashed with sigsegv in __start_google_malloc()

The Issue
Steps to reproduce

Install LBRY_0.18.2_amd64.deb on Ubuntu 17.10.
Start it by dash or by command "lbry"

Expected behaviour
The GUI show up.
Actual behaviour
LBRY crashed immediately.
System Configuration
Ubuntu 17.10 (Desktop, amd64) with GNOME on Xorg.
Related information

Apport error message:
lbry crashed with sigsegv in __start_google_malloc()"

Stacktrace Top:
??()
__start_google_malloc()
calloc()
g_malloc0() from /lib/x86_64-linux-gnu/libglib-2.0.so.0
??() from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0

Stacktrace (screenshot of Apport)

Core Dump: core.gz

@yookoala thanks for submitting this. I'll get to get this version of Ubuntu loaded up on a VM to try.
Do you have selinux or apparmor installed? Sometimes these can cause unexpected issues with the app / protocol.

I'm using the desktop variant. AppArmor is enabled by default.

Can you give it a try with it disabled temporarily?

I tried to run /etc/init.d/apparmor stop and systemctl stop apparmor. Both commands run without error. And either of them should have stopped apparmor according to man page. then I tried to run lbry command. It still crashes in the same manner.

Thanks for checking @yookoala !
Take a look at lbry.io/faq/tips :)

@yookoala - I just loaded up a fresh VM of Ubuntu 17.10 with XORG option and was able to install/run LBRY without any issues. I did notice that it doesn't minimize to tray, but it does run in the background - could be related to https://github.com/lbryio/lbry-app/issues/740

I tried to re-install my system without the Nvidia driver. It seems fine.
Probably a driver specific issue. Close for now.


Use literal style when string has newline

Currently, when printing using plain string style, if a string contains a newline (which cannot be printed in plain style), circe-yaml uses single-quoted style instead. This makes the produced YAML look rather odd, while literal style would feel more natural (this is what SnakeYAML does).
Here is an example to demonstrate it:
case class Document(foo: String, bar: String) {
  def toJMap: java.util.Map[String, Any] = {
    val map = new java.util.LinkedHashMap[String, Any]
    map.put("foo", foo)
    map.put("bar", bar)
    map
  }
}

val foo = Document("some text", "abc\nxyz\n")
println("== circe-yaml ==")
println(Printer(stringStyle = StringStyle.Plain).pretty(foo.asJson))
println("== SnakeYAML ==")
println(new Yaml().dump(foo.toJMap))

Output:
== circe-yaml ==
foo: some text
bar: 'abc

  xyz

  '

== SnakeYAML ==
foo: some text
bar: |
  abc
  xyz

With this PR, circe-yaml would produce the same output as SnakeYAML in the example above.

@travisbrown Any feedback? Could something along these lines be considered?

@helfper This isn't really my project: I'm not actively using it at the moment and am only doing routine maintenance. Decisions about features need to be made either by @jeffmay or another maintainer (possibly someone new who wants to take on the role).

Can this be released as 0.14.1? Or will it have to wait for the 0.15 cycle?

I'm happy to publish it as 0.14.1 if there are no objections.

This is now available in 0.14.1. Thanks again, @helfper!

Awesome! Thanks a lot @travisbrown. From a quick test, seems to be working great.


⚠ Processors has degraded performance

In f6d5733, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 48 ms

Resolved: Processors performance has improved in f768ee2.


Added gregoriotex

Reasons for making this change:
Recently, in TeXlive 2016 changes, gregoriotex was added. In GregorioTeX, new kind of auxiliary files such as *.gaux and *.gtex are made. I added these files in this commit.
Links to documentation supporting these rule changes:
GregorioTeX Documentation
At page 3,

Gregorio Controls These macros are written by the command line tool to gtex files and should not appear outside of gtex files. They should have names which are in CamelCase and be prefixed with Gre.

At page 168,

GregorioTeX creates its own auxiliary file (extension gaux) which it uses to store information between successive typesetting runs. This allows for such features as the dynamic interline spacing. Te following functions are used to interact with that auxiliary file

@seungwonpark thanks!


Fix Irazasyed\Larasupport\Console\VendorPublishCommand::handle method…

Fix Irazasyed\Larasupport\Console\VendorPublishCommand::handle method in Lumen 5.5 does not exist.

We should get this merged in.

This looks like a nice approach to solving the problem plus keeping the backward compatibility.


merge package template from arlac77/npm-package-template

package.json

chore(scripts): update cover@nyc --temp-directory build/nyc ava from template
chore(scripts): update precover@rollup -c tests/rollup.config.js from template
chore(scripts): update test@ava from template
chore(scripts): update pretest@rollup -c tests/rollup.config.js from template
chore(scripts): update posttest@npm run prepare && markdown-doctest from template
chore(scripts): update docs@jsdoc2md --configure doc/jsdoc.json -l off -t doc/README.hbs -f src/*.js >README.md from template
chore(devDependencies): remove<EMAIL_ADDRESS>chore(devDependencies): remove<EMAIL_ADDRESS>chore(devDependencies): add<EMAIL_ADDRESS>from template
chore(devDependencies): add<EMAIL_ADDRESS>from template
chore(devDependencies): add<EMAIL_ADDRESS>from template
chore(devDependencies): add<EMAIL_ADDRESS>from template
chore(devDependencies): add<EMAIL_ADDRESS>from template
chore(devDependencies): add<EMAIL_ADDRESS>from template
chore(package): set template repo

doc/README.hbs

docs(README): update from template

doc/jsdoc.json

chore: update from template

tests/rollup.config.js

chore(rollup): copy from template

.gitignore

chore(git): update .gitignore from template

.npmignore

chore(npm): update .npmignore from template

Changes Unknown when pulling 86927c83b3f6c049131d92a38386e3113a214822 on template-sync-1 into ** on master**.

Codecov Report

Merging #125 into master will increase coverage by 1.27%.
The diff coverage is 75.51%.

@@            Coverage Diff             @@
##           master     #125      +/-   ##
==========================================
+ Coverage   68.51%   69.79%   +1.27%
==========================================
  Files           1        2       +1
  Lines          54       96      +42
==========================================
+ Hits           37       67      +30
- Misses         17       29      +12

Impacted Files
Coverage Δ

tests/health-test.js
75.51% <75.51%> (ø)

src/service-health-check.js
63.82% <0%> (-4.69%)
:arrow_down:

Continue to review full report at Codecov.

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


Support <React.StrictMode>

When using <React.StrictMode> I receive the following browser console error:
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Draggable which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://fb.me/react-strict-mode-find-node

This isn't fixed. It is still happening in 16.14.0.create-react-app uses <React.StrictMode> by default.

Do you add nodeRef? In there is no way to know what it should reference to without findDOMNode if you don't give a ref to it. @robhicks

Thanks! that fixed the issue. Perhaps something should be added to the documentation.

I have used nodeRef but somehow it still warns me. Any ideas?


Jumping on Safari (mac) after close

Hi mates,
Have a look at the first gallery in this page:
http://omriavital.com
The first item is a video, the rest are images.
I'm having an issue where only when viewing the video and only on Safari OS X (Chrome OS X works fine) - after closing the lightbox, the page scroll position jumps downward (the user has to scroll up manually to go back to where he/she was).
Would appreciate any help :)

anyone?

try to lock the scroll or create a div layer that sit on top of your screen, control the z-index , then you will have a zone that no scroll can be functioned(that zone can be sized to full screen). this zone may solve your problem but not in a very good way. you can not use scroll the page by use the default mouse event .lock the scroll then try the layer.

@maxmood thanks, but i'm not sure that solves my issue... the page at the background scrolls down by itself! it's not a problem that I wish to prevent the user from scrolling down?
Anyone had this issue before?

ok I discoverd that the problem is I was sending a ".mp4" (locally saved movie) to the src of "iframe". Apparently, this is not supported (also noted in the documentry). Changing the src to vimeo URL solved the "jumping" problem.


Confused by box gradients

It's a little unclear to me how the feather/inner/outer arguments of box gradients are intended to work. Feather seems to be an arbitrary value, and it doesn't look to me like a 100x100 box gradient actually interpolates from inner at the center and outer at the very edge. Offsetting the painted rectangle shows the distance field expanding a fair bit beyond the box gradient bounds before i fully arrive at the outer color.
I would really appreciate some help understanding how to reliably draw a box gradient that interpolates completely from inner to outer.

The feather works as if the rounded rectangle was box blurred. That is, half the gradient is inside the rectangle and half outside, the center of the gradient is at the rect boundary.

So is the feather unit in pixels..?

No, but yes :) The units are not pixels, but it is in same units as everything else.


[opentitantool] Persistent session support

This change introduces a opentitansession command.
opentitansession --conf ... --interface ... will start a new
persistent session process, which would load the given configuration
files and connect to the given physical interface.
Default transport in absense of --interface will be changed to be
"proxy" on localhost:9900 (PR #11023).
Configuration files are loaded as part of the session process startup,
meaning that aliases can be used in the gpio read command above,
without each individual invocation needing --conf ....
Forwarding of GPIO, UART and SPI has been verified with UltraDebug and
Andreiboard: opentitantool bootstrap and opentitantool console
works.
Simulation transports such as Verilator or Ti50 host emulation would
create a simulation environment as part of the constructor for their
implementation of the Transport trait.
Large parts of the asynchronous socket code has been copied from host
emulation code in the Ti50 repository, developed by Semihalf.
This PR is one of the steps outlined in #10889.
Signed-off-by: Jes B. Klinke<EMAIL_ADDRESS>Signed-off-by: Michał Mazurek<EMAIL_ADDRESS>Change-Id: I99241a477f9625e0a7effca4afc20576e4e2c123

Tim is right, this PR is already large, and the majority of the code (in opentitanlib) is fully resolved and not controversion.
I have removed the code related to daemonizing, leaving opentitansession only able to run in the foreground.  I will follow up with another PR to add the fork/exec as suggested by Miguel.


How to get a custom flow ?

Do I  have to create flows manually as described in the template ?

Sorry; the example config link was broken. It's fixed now but here's the link: https://github.com/marianogappa/flowbro/blob/master/webroot/configs/config-example.json
Check out the "rules" section in the JSON. Each rule is a condition (described in "pattern") and a set of actions (described in "event"). For example:
{
      "patterns": [
        {
          "field": "{{ .Topic }}",
          "pattern": "notifications"
        },
        {
          "field": "{{ .Value.target }}",
          "pattern": "phone"
        }
      ],
      "events": [
        {
          "eventType": "message",
          "sourceId": "Server",
          "targetId": "Phone",
          "text": "{{.Value.message}}",
          "noJSON": true,
          "aggregate": true
        }
      ]
    },

Means that when a Kafka message comes from the "notifications" topic, and the payload comes with a "target" field that contains the value "phone", then this will trigger an envelope going from "Server" to "Phone".

Yes, sorry, you have to.

Le 23 juil. 2017 10:42 PM, "Mariano Gappa"<EMAIL_ADDRESS>a
écrit :

Yes, sorry, you have to.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/marianogappa/flowbro/issues/30#issuecomment-317280597,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APaFhDm5va-maq4ErsB-k5H2DqcNKmIhks5sQ7AagaJpZM4ObEus
.


Crash during text to speech init

Bug Information
Version Number of Plugin: 3.0.1
Device Tested On: Lenovo Tab 2 A10-70F
Version of VS:  Vs2017 15.3.4
Version of Xamarin: <IP_ADDRESS>, android <IP_ADDRESS>
Versions of other things you are using:
Steps to reproduce the Behavior
Calling TextToSpeech.Speak("") early in software init to avoid delay of first notification
Expected Behavior
Nothing
Actual Behavior
Crash. Note logs are from hockeyapp on release so line numbers are incorrect
Xamarin caused by: android.runtime.JavaProxyThrowable: System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NullReferenceException: Object reference not set to an instance of an object
at Plugin.TextToSpeech.TextToSpeech.SetDefaultLanguageNonLollipop () [0x00066] in :0
at Plugin.TextToSpeech.TextToSpeech.SetDefaultLanguage () [0x00000] in :0
at Plugin.TextToSpeech.TextToSpeech.Speak (System.Nullable1[T] cancelToken) [0x000eb] in <add0f2db5790433ba58e1776e2a78e01>:0    at Plugin.TextToSpeech.TextToSpeech+<Speak>d__11.MoveNext () [0x001ab] in <add0f2db5790433ba58e1776e2a78e01>:0     --- End of inner exception stack trace --- ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object   at Plugin.TextToSpeech.TextToSpeech.SetDefaultLanguageNonLollipop () [0x00066] in <add0f2db5790433ba58e1776e2a78e01>:0    at Plugin.TextToSpeech.TextToSpeech.SetDefaultLanguage () [0x00000] in <add0f2db5790433ba58e1776e2a78e01>:0    at Plugin.TextToSpeech.TextToSpeech.Speak (System.Nullable1[T] cancelToken) [0x000eb] in :0
at Plugin.TextToSpeech.TextToSpeech+d__11.MoveNext () [0x001ab] in :0 <---
Code snippet
Xamarin.Forms.Forms.Init(this,bundle);
// Lots of init here

// Manual pre-init text to speech
var textToSpeech = CrossTextToSpeech.Current;

// Workaround to pre-init the text-to-speech. This causes a longer inital load but makes the reaction to the first event much faster
textToSpeech.Speak("");

App app = new App();
LoadApplication(app);

Most likely your app has not started yet and the TTS engine hasn't spun up yet. It is a bad idea to put any of this code in startup like that as the app hasn't started yet. I will add some safe guards around it, but in general i would move it out.

That makes a lot of sense. I guess the question would be best practice to avoid the delay of first using text to speech. For now I'll move it away from the init code.

Additionally, I've noticed a tonne of these crashes as of late. This seems to be due to a text to speech call I had tied to an event that was triggering early in the boot process of the app (well it happens all the time) so I had to manually delay all calls to text to speech.


bug: repeated cached candles

For some reason some candles are been repeated in different time frames, revision required

The behavior is only present in the combined store probably because different sources provide a different timestamp for each candle, normalization of received candles could be a possible fix


Update README.md with name Rohitha Aiswarya Dora Hanumanthu

Added my name in the list.
Please review.

Thank you.


Evaluation results

I restart training on the yelp dataset exactly as instructed. Why is it that my local deployment of bertscore gets results so different from yours?
In evaluation/metric.py
def BERT_score(predictions, references):
bertscore = evaluate.load("bertscore.py")
results = bertscore.compute(
predictions=predictions,
references=references,
model_type="roberta-large",
num_layers=model2layers["roberta-large"],
)

Thank you for your interest in XRec! You can set rescale_with_baseline=True in bertscore.compute. For more details, please refer to the implementation in evaluation/metric.py.
This operation scales the BERTScore between 0 and 1. It does not affect the ranking ability or the correlation with human judgments, but is intended to improve the readability of the score. We hope you find this helpful.

Thanks, your response was very helpful!


Convert actions between agent and human

Is there any way to convert the actions logged from human playing with script play_game to the actions for training? Can I map actions from action_set_dict['full'] to action_set_dict['default']?

default action set is just a subset of full action set, so when you have, say "action_keeper_rush" action it is the same object in both action sets. When training agents mainly operate on numerical actions (index in the action set list: https://github.com/google-research/football/blob/master/gfootball/env/football_action_set.py#L170), so when converting numerical actions between action sets you need to first convert number to the action object and then back to the index. For doing that you can use named_action_from_action_set method:
https://github.com/google-research/football/blob/master/gfootball/env/football_action_set.py#L218
There is no method currently to retrieve number for a given action object.

Please reopen if some more help is needed.


Please invite me to the GitHub Community Organization

Name
SUBHAM SURANA
Discord Username (if applicable)
Neklaustares#5626
Additional Context
No response

Welcome on board @Neklaustares-tPtwP 🥳🎉


Refactor histomicstk into submodules and correct naming

Issues include moving functions into submodules, converting function names from snake-case to camel-case, correcting function names in "See Also" document strings, and adding underscore prefixes to non-exposed functions.

This refactoring has been finished now.


add base code for NestJS along with linting rules as per our standards

API PR Checklist
Pre-requisites

[x] I have gone through the Contributing guidelines for Submitting a Pull Request (PR) and ensured that this is not a duplicate PR.
[x] I have performed preliminary unit testing.
[ ] I have updated the required api docs as applicable.
[ ] I have added/updated test cases to the test suite as applicable

PR Details
PR details have been updated as per the given format (see below)

[x] PR title adheres to the format specified in guidelines (e.g., feat: add admin login endpoint)
[x] Description has been added
[ ] Related changes have been added (optional)
[ ] Screenshots have been added (optional)
[ ] Query request and response examples have been added (as applicable, in case added or updated)
[ ] Documentation changes have been listed (as applicable)
[ ] Test suite output is added (as applicable)
[ ] Pending actions have been added (optional)
[ ] Any other additional notes have been added (optional)

Additional Information

[x] Appropriate label(s) have been added (ready for review should be added if the PR is ready to be reviewed)
[ ] Assignee(s) and reviewer(s) have been added (optional)

Description:

Added code base for nest js along with linting rules and basic package libraries

Related changes:

Added config->logger.config.ts file
Updated main.ts
Added linting rules
Installed required packages

Screenshots:

Query request and response:

Add any query request body, cURL statement and response body for the made change or addition.

Documentation changes:

Add a list of changes made to the API documents with brief descriptions.

Test suite output:

Add the output of the status of different test cases in the testing suite.

Pending actions:

Add list of any pending actions that have or would require to be done in this PR.

Additional notes:

Add list of any additional notes you may want to convey in this PR.

Summary by CodeRabbit

New Features

Added a greeting message feature to the root route in the API.

Documentation

Introduced comprehensive documentation for the API including installation, running, and testing instructions.

Testing

Implemented unit tests for the AppController and end-to-end tests for the API.

Chores

Configured ESLint, Prettier, and Jest for enhanced code quality and testing.

Bug Fixes

Improved logging with file rotation to enhance diagnostics and troubleshooting.

@nitesh-osmosys
Add this CI file in repo
https://github.com/OsmosysSoftware/osmo-x/blob/main/.github/workflows/backend.yml


[graphiql] setup turbo

current build command takes time for rebuilding when some packages were not changed, setup turbo will boost build time

@B2o5T I am already restructing the build command for thepnpm effort. please hold off, as the issue is we have diverged from typescript project references. turbo will not speed this up

closing for #2639


Added issue template. Addresses #12

Adds an issue template.
Description
Adds an ISSUE_TEMPLATE.md which github will use to pre-populate issue reporting form.
Related Issue
#12
Motivation and Context
This provides structure to issue reports which will help in addressing them sooner.
How Has This Been Tested?
N/A
Screenshots (if appropriate):
N/A
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.

Previously lgtmd as #14


Per file code generation

Resolves #126

So how can I generate some boilerplate in a file next to a source file?
I tried
{% for type in types.all %}
// sourcery:file:{{ file.path }}/{{ file.name }}+AutoCasePath
// sourcery:end
{% endfor %}

But it didn't work :c


[CS] Forbidden function rule - e.g. extract() and similar hacks

Done in https://github.com/symplify/symplify/pull/2182


0.10.x merge into main

Description

Motivation and context

Resolves #???
How has this been tested?

Change log

Getting some interesting errors from pymbar
E           AttributeError: 'MBAR' object has no attribute 'getFreeEnergyDifferences'
https://github.com/choderalab/perses/actions/runs/6160980084/job/16719308140#step:9:818
I had thought we fixed that in openmmtools, it is pulling in the latest version

@mikemhenry it should be fixed, it should catch the attribute error and handle that in https://github.com/choderalab/openmmtools/blob/main/openmmtools/multistate/multistateanalyzer.py#L1924

Looks like the real error was https://github.com/choderalab/perses/actions/runs/6160980084/job/16719308140#step:9:977

It seems like we do need to use pymbar 3.1.1 for GPU tests to pass


[rv_core_ibex] Add SVA to check PC is not advancing

The PC must not advance if the CPU is not enabled. Addresses part of #11208.
Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

LGTM though are there scenarios where the clock this assertion is clocked off is also disabled when lc_cpu_en_i disables Ibex? This would then miss any PC changes that shouldn't occur.

Does this matter in this case?
I.e., I believe the clock of this assertion is the same clock that ibex receives.


[polarion] Merge xmls with junitparser

In case there are multiple xml files that need to be reported
to polarion, we need to merge them before passing them to jump.
Using junitparser even in cases where there is only one xml file
will have these benefits:

we don't have to write when conditions
the output xml will have the same structure - the content will
be wrapped in  tags whether we have more xml results
or not - testsuite in junitparser context equals to one xml input.

As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

Testing explained in this comment: https://issues.redhat.com/browse/OSPRH-7552?focusedId=25088182&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-25088182

/lgtm

/approve


 It says it's running on port 6379. Then I run xcessiv, but it takes me to a page that's not found. The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.. Any idea what I can do? I'm really eager to use Xcessiv.

Could you copy the logs on your terminal when you run xcessiv? Also, what page is opening? Localhost:1994?

Yeah it's Localhost:1994. This is the log:
/home/user/Documents/Analysis/XcessivProjects
09:44:47 RQ worker 'rq:worker:syd-user-d.15386' started, version 0.8.0
09:44:47 Cleaning registries for queue: default
09:44:47
09:44:47 *** Listening on default...
Created new window in existing browser session.
::ffff:<IP_ADDRESS> - - [2017-06-15 09:44:47] "GET / HTTP/1.1" 404 342 0.019557
^CKeyboardInterrupt
Thu Jun 15 09:45:07 2017
09:45:07 Warm shut down requested
Process Process-1:
09:45:07 Cold shut down

Wow, that is odd.  Everything seems to start fine, except it can't find index.html.
I'm not sure how to resolve this... Can you try reinstalling? Maybe somehow the static files got corrupted?

I'm using a virtual environment, could that be a problem?

To test it out, I actually tried a virtual env. Sadly, I couldn't reproduce your bug :(

Hi @xnmp , have you resolved this issue?


Improving Docs and File Structure

For now, all the specs detailing the project have been dumped into the root folder with fairly inconsistent naming. It would greatly improve the friendliness of the repository if they were organized and renamed to be better understood.
For Example
The current layout of docs/specs is similar to this
📂-communication-application
--📄-README.md
--📄-Specs.md
--📄-Specs.account.md
--📄-Specs.server.md
--📄-Specs.server.id.md
--📁-server
--📁-client

As you can see, the files are just laid out without any organization apart from a naming scheme. This could be greatly improved upon.
An alternate approach to organization
📂-communication-application
--📄-README.md
--📂-Docs
----📄-Index.md
----📂-Specs
------📄-Specs.md
------📂-Account
--------📄-Specs.account.md
------📂-Server
--------📄-Specs.server.md
--------📂-ID
----------📄-Specs.server.id.md
--📁-server
--📁-client

While initially complicated, the nested structure would make it really easy to include an index footer in each file that either links to Index.md, or just contains it entirely. Each folder could contain more than just one file, the beauty is that no matter how many files in a folder there are, it will be easy to identify what part of the project they focus on.

@secondary-smiles will this issue be open for contribution, I found this project from GitHub Education and this is one of the coolest Rust Projects, can we work on this?

@AbhijithGanesh Sure!
I haven't been working on it recently, but I have not archived the repo because I still would like to work on it in the future.
There's a lot to do, since the code quality, file layout, and documentation all need to be heavily refactored, but it's definitely a doable thing.
Before the client, or working prototype can be made, the docs have to be more completed and the server mostly finished.

@secondary-smiles Actually, this is such a cool project we can make this work. I would like to know if I can connect with you elsewhere!

@AbhijithGanesh I don't really use any other external social media sites.
I suppose discord works fine for communication, but I'm not sure I'm able to make this a main project for me.

@secondary-smiles I am super sorry for missing this thread out, can I get your discord ID?


knife.bind improvement

before:

argList1 used to make : 'f' + list
argList2 used to make : list + '...'

after:

argList used to make the list
In both case the 'f' and '...' are added on the string code with a separator sep.

Sample code produce by the test :
Bind(doStuff, 1, 2)
-->
return function(f, a1, a2) return function(...) return f(a1, a2, ...) end end

Bind(doStuff)
-->
return function(f) return function(...) return f(...) end end

Coverage remained the same at 100.0% when pulling 0d8f0b460c38fef510f2eca28e996d0d4b8c706c on tst2005:contrib-bind into 905236167f3d8f9e667853688d071fca391d4dcd on airstruck:master.


⚠ Bofrost.be has degraded performance

In 1998b3b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1337 ms

Resolved: Bofrost.be performance has improved in 6e51fd2.


Tx sender

Description
Please include a summary of changes and related issue (if any).
Adds tx_sender to the transactions models.
A full refresh is required for the transactions models.
Tests

[x] Please provide evidence of your successful dbt run / dbt test here
[x] Any comparison between prod and dev for any schema change

➜  terra_dbt git:(tx_sender) dbt run -s silver__transactions+ --full-refresh
02:08:53  Running with dbt=1.2.0
02:08:54  Found 43 models, 92 tests, 0 snapshots, 0 analyses, 680 macros, 1 operation, 0 seed files, 43 sources, 0 exposures, 0 metrics
02:08:54
02:08:59
02:08:59  Running 1 on-run-start hook
02:08:59  1 of 1 START hook: terra.on-run-start.0 ........................................ [RUN]
02:08:59  1 of 1 OK hook: terra.on-run-start.0 ........................................... [OK in 0.00s]
02:08:59
02:08:59  Concurrency: 4 threads (target='dev')
02:08:59
02:08:59  1 of 2 START incremental model silver.transactions ............................. [RUN]
02:09:23  1 of 2 OK created incremental model silver.transactions ........................ [SUCCESS 1 in 24.49s]
02:09:23  2 of 2 START view model core.fact_transactions ................................. [RUN]
02:09:26  2 of 2 OK created view model core.fact_transactions ............................ [SUCCESS 1 in 2.84s]
02:09:26
02:09:26  Finished running 1 incremental model, 1 view model, 1 hook in 0 hours 0 minutes and 32.74 seconds (32.74s).
02:09:26
02:09:26  Completed successfully
02:09:26
02:09:26  Done. PASS=2 WARN=0 ERROR=0 SKIP=0 TOTAL=2

The following test failure is known and reported.
02:12:32  Completed with 1 error and 0 warnings:
02:12:32
02:12:32  Failure in test tx_gaps_core__fact_transactions_block_id__TX_ID__tx_count (models/core/core__fact_transactions.yml)
02:12:32    Got 71 results, configured to fail if != 0
02:12:32
02:12:32    compiled SQL at target/compiled/terra/models/core/core__fact_transactions.yml/tx_gaps_core__fact_transactions_block_id__TX_ID__tx_count.sql
02:12:32
02:12:32    See test failures:
  ---------------------------------------------------------------
  select * from TERRA_DEV.tx_gaps_core.fact_transactions_block_id
  ---------------------------------------------------------------
02:12:32
02:12:32  Done. PASS=19 WARN=0 ERROR=1 SKIP=0 TOTAL=20

Checklist

[x] Follow dbt style guide
[x] Tag the person(s) responsible for reviewing proposed changes
[x] Notes to deployment, if a full-refresh is needed for any table
[x] Run git merge main to pull any changes from remote into your branch prior to merge.

^ no
turning preview deployments off, but thanks anyway Vercel


Fix mismatch between hook events and github event types (#24048)

Backport #24048 by @Zettat123
Some workflow trigger events can have multiple activity types, such as issues and pull_request, and user can specify which types can trigger the workflow. See GitHub documentation: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
Now some hook events cannot match the workflow trigger events correctly because we don't check the activity types. For example, pull_request_label is an individual hook event. But there isn't a pull_request_label workflow trigger event, we can only use pull_request event's label activity type. If we don't check the activity types, the workflows without the label activity type may be triggered by the pull_request_label event by mistake. We need to improve the match logic.

[x] issues
[x] issue_comment
[x] pull_request
[x] pull_request_review
[x] pull_request_review_comment
[x] release
[x] registry_package

Needs a manual backport, lint fails


[Bug] mpd plugin shows wrong time after waking up PC

Steps to reproduce:

Install and configure mpd, set up polybar to use mpd plugin with <label-time> in format-online (as shown below), then run polybar main:

[bar/main]
font-0 = Noto Sans:pixelsize=11;1
# FontAwesome is needed to display "" symbol
font-1 = FontAwesome:pixelsize=11;1
modules-center = mpd

[module/mpd]
type = internal/mpd
format-online = %{F#6b6b6b}[<label-time>]%{F-}  <label-song>

Start playing music from mpd
Suspend your PC (for example, run systemctl suspend in terminal)
Wait for ~10 minutes, then turn on your PC

Expected behaviour:
mpd plugin shows normal elapsed time
Actual behaviour:

I just noticed the same thing after rebooting the PC. Can you check that this only happens in polybar by also running
while true; do mpc status | awk 'NR==2'; sleep 2; done

while reproducing this (it prints the current song time continuously to the screen).

@patrick96 Yes, this happens only in polybar.

Also, when I start the first track in my mpd playlist and press "Back", the track starts from the beginning, but the time on the bar doesn't. I think it's related to this bug.

Just opened a PR with a fix. I was able to reproduce this on my system and the patch fixes it for me, please try it out and tell me if it works for you too


Change file type to non-GWAS-SSF for 2 studies GCST90328147 and GCST90328148

The current file type for these 2 studies is GWAS-SSF, as the user has populated the beta and SE columns with values '0', and the z-score column is provided after the p-value column. The file type should be changed to a non-GWAS-SSF.

fixed their file types

Hi @Santhi1901
Could you pls help confirm if this good to be closed?
Thanks

this can be closed, the file type appears correct on FTP


spinel-doc: Specify frame metadata format

This pull request provides a specification for the previously unspecified frame metadata format.

Current coverage is 68.56% (diff: 100%)

Merging #715 into master will decrease coverage by 0.30%

@@             master       #715   diff @@
==========================================
  Files           100        100
  Lines         15221      15221
  Methods        2067       2067
  Messages          0          0
  Branches       1808       1808
==========================================
- Hits          10482      10436    -46
- Misses         4167       4201    +34
- Partials        572        584    +12

Powered by Codecov. Last update eb1e9f3...0e4110e


optimize l10n\po\zh_CN_guides\quarkus-runtime-base-image.adoc.po translate

对 l10n\po\zh_CN_guides\quarkus-runtime-base-image.adoc.po 的翻译

@SammZhu yeah, _versions sub folder could be handle by Apply tmx through the github workflow automatically with the translation memory. So if there are similar content, we can merge this PR and wait the sync workflow to do Apply tmx and check if there is something missed.

@SammZhu yeah, _versions sub folder could be handle by Apply tmx through the github workflow automatically with the translation memory. So if there are similar content, we can merge this PR and wait the sync workflow to do Apply tmx and check if there is something missed.

Sure. Just reminder.


Add an API for on fly authentication

It is currently impossible to authenticate client after it's start which can be feasible for applications with guest access.
For example a chat app where user can view chat rooms as a guest but needs to log in to be able to participate. Now the only way is to refresh the whole app to restart the client with new credentials.

Let’s move discussion in older issue https://github.com/logux/client/issues/32


HTTPS launches always result in an invalid signature.

We are using this library with a LTI application that interfaces with the aNewSpring LMS. Using the same key, secret, and launch url (with the exception of http: and https:) results in the HTTP launch being valid, while the HTTPS launch is invalid.
The same result can be reproduced using the official IMS Consumer Emulator.

Have you seen #55 #43 and #28?
If that's not the case, please let me know.

Hello, I'm having this same issue, but app.enable('trust proxy') doesn't work because (for some reason?) the proxied request doesn't have the X-Forwarded-Proto header.
I can think of a few fixes:

Force the request.protocol to return 'https'. No luck so for, it seems that the field is read-only
Add an option in this library to force a protocol, regardless of the request.protocol.

I'm using a Firebase function (aka Google Cloud Function) to run this, which may explain why the protocol doesn't actually reflect the protocol used by our LTI provider (aNewSpring).


Lock linting

Lints the version of the code in https://github.com/nationalarchives/ds-caselaw-privileged-api/pull/5 so there are no errors.

This needs v4.9.1 of the API Client https://github.com/nationalarchives/ds-caselaw-custom-api-client/pull/71 to enable the expiring lock

There were some commits scattered across the boundary of this and the versioning stuff, so we did it all in the other PR https://github.com/nationalarchives/ds-caselaw-privileged-api/pull/15


pageserver: aux compaction trigger condition / slow basebackup

https://neondb.slack.com/archives/C03438W3FLZ/p1728330685012419
The devprod team has a testing project that cannot start because basebackup is too slow. Pageserver takes ~5min to scan all aux files, and no data is sent over the wire protocol, causing compute timeout.
Aux file count is ~10,000
Created by a test job that has disabled auto-dropping of replication slots.

for the project in staging, decide to extend start timeout so that at least it could start

this week: continue investigation

Running the previous aux file pagebench does not see any perf regressions with 10k files cargo run --bin pagebench aux-files.
So I guess this tenant experiencing slow basebackup is more related to overwriting existing aux key-value pairs / due to inefficiency in layer structure, instead of vectored read path perf issues. Need to look into the layer map and reproduce it.

By force running manual compaction, this can be resolved -- I can run this in staging while keep investigating locally. Seems that aux compaction is not triggered correctly in this specific case.

Basebackup is unstuck for that project (temporarily), compute cannot start due to wal_level (compute team taking over to investigate) -- still need to investigate why image layers are not generated.

another interesting observation is that the aux file layers are usually super small after L0 compaction:
-rw-r--r--   1 skyzh  staff   224K Nov  4 15:46<PHONE_NUMBER>00000000000000000000000001-62000002011CDE14934B1DC19112DDCD798B__00000216783D4AC9-0000021678403A51-v1-000001fc
-rw-r--r--   1 skyzh  staff   224K Nov  4 15:46<PHONE_NUMBER>00000000000000000000000001-62000002011CDE14934B1DC19112DDCD798B__0000021678403A51-00000216784329F1-v1-000001fc
-rw-r--r--   1 skyzh  staff   224K Nov  4 15:46<PHONE_NUMBER>00000000000000000000000001-62000002011CDE14934B1DC19112DDCD798B__00000216784329F1-0000021678461551-v1-000001fc
-rw-r--r--   1 skyzh  staff   224K Nov  4 15:46<PHONE_NUMBER>00000000000000000000000001-62000002011CDE14934B1DC19112DDCD798B__0000021678461551-00000216784904F1-v1-000001fc
-rw-r--r--   1 skyzh  staff   208K Nov  4 15:46<PHONE_NUMBER>00000000000000000000000001-62000002011CDE14934B1DC19112DDCD798B__00000216784B9FC9-00000216784E52A1-v1-00000200
-rw-r--r--   1 skyzh  staff   224K Nov  4 15:27<PHONE_NUMBER>00000000000000000000000001-62000002011CDE14934B1DC19112DDCD798B__000002207A723049-000002207A751441-v1-00000209
-rw-r--r--   1 skyzh  staff    24K Nov  4 15:27<PHONE_NUMBER>00000000000000000000000002-630000000000000000000000000000010000__00000210492E07B8-v1-000001fa

we have two fixes: make read path faster, and make compaction more aggressive (while it shouldn't affect the amplification b/c the aux files are really small after making the updates into deltas)


x/net/html: Unable to parse conditional comments

What version of Go are you using (go version)?

1.16.4

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/_/.cache/go-build"
GOENV="/home/_/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/_/go/pkg/mod"
GONOPROXY="bitbucket.org/_"
GONOSUMDB="bitbucket.org/_"
GOOS="linux"
GOPATH="/home/_/go"
GOPRIVATE="bitbucket.org/_"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go-1.16"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.16/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.16.4"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1444542212=/tmp/go-build -gno-record-gcc-switches"

What did you do?
I tried to parse a conditional comment tag
<!--[if mso]> . See https://en.wikipedia.org/wiki/Conditional_comment for more details.
https://play.golang.org/p/TSUYq9g4i4r
package main

import (
	"bytes"
	"fmt"
	"io"
	"golang.org/x/net/html"
)

func main() {
	Render([]byte("<!--[if mso]> HTML <![endif]-->"))
	fmt.Println()
	Render([]byte("<![if mso]> HTML <![endif]>"))
}

func Render(b []byte) {
	tokenizer := html.NewTokenizer(bytes.NewReader(b))
	for {
		if tokenizer.Next() == html.ErrorToken {
			err := tokenizer.Err()
			if err == io.EOF {
				// End of input means end of processing
				return
			}
		}

		token := tokenizer.Token()
		fmt.Print(token)
		fmt.Println(token.Type)
	}
}

What did you expect to see?
I expect the parser recognize not only standard comments(<!-- Comment content  -->), but also downlevel-hidden(<!--[if expression]> HTML <![endif]-->) and downlevel-revealed(<![if expression]> HTML <![endif]>) comments.
<!--[if mso]>Comment
 HTML Text
<![endif]-->Comment

<![if mso]>Comment
 HTML Text
<![endif]>Comment

What did you see instead?
<!--[if mso]> HTML <![endif]-->Comment

<!--[if mso]-->Comment
 HTML Text
<!--[endif]-->Comment

Note how '<!--[if mso]>' is not even recognized as a tag and how all comments are forced into the dash format, regardles if they had dashes or not.

Can you please include a short program (or a link on playground) that reproduces this?
Issue #37771 may be connected.
CC @bradfitz, @ianlancetaylor via owners.

Can you please include a short program (or a link on playground) that reproduces this?
Issue #37771 may be connected.
CC @bradfitz, @ianlancetaylor via owners.

I've included a demo in the original post by editing it.

The support of conditional comments will be needed for a project I'm working on.
How can I help with this investigation?

https://play.golang.org/p/TSUYq9g4i4r demonstrates this issue well as posted above.
This bug was introduced in https://cs.opensource.google/go/x/net/+/06994584191ebed30077b5176cefe09703557528.


Add generics to RunnablePasstrough.assign

Fixes #3827
This PR adds the generics RunInput and RunOutput to RunnablePasstrough.assign(). It infers run input type from the given RunnableMap and constructs the output type as merged type of run input and output.
Here's an example:
  type InferRunnableOutput<R extends Runnable<any, any>> = R extends Runnable<any, infer O>
    ? O
    : never;

  const inputMap = RunnableMap.from({
    context: (input: { context: string; question: string }) => input.context,
    question: (input: { context: string; question: string }) => input.question,
  });

  const chat = new FakeChatModel({});

  const assignChat = RunnablePassthrough.assign({
    chat: (input: InferRunnableOutput<typeof inputMap>) => chat,
  });

  const llm = new FakeStreamingLLM({ sleep: 0 });

  const assignLLM = RunnablePassthrough.assign({
    llm: (input: InferRunnableOutput<typeof assignChat>) => llm,
  });

  type Output = InferRunnableOutput<typeof assignLLM>;
  //   ^^^^^^
  // type Output = {
  //     context: string;
  //     question: string;
  // } & {
  //     chat: FakeChatModel;
  // } & {
  //     llm: FakeStreamingLLM;
  // }

The final output type is being inferred as the merged type from inputMap, assignChat and assignLLM.

Also looks like lint is failing, if you could run yarn format from root and push up the changes that would be great

Hey @bracesproul I applied the formatting and switched back to Record<string, unknown>.  Let me know if there's something else to do! :-)

This is great, thank you!


Search Query Not Dynamically Inserted in Meta Search

Description

When a user enters a search query on the homepage of CC Search, that query is used to construct the outbound URLs of the source buttons for Meta Search.
Reproduction

Enter any query on CC Search

Click on Audio or Video

Hover over any source to see the outbound URL if clicking on it

Enter a different query in the search bar
Hover over, or click on, any search,
The initial search query is retained, instead of the content of the search bar being dynamically inserted upon outclick.

Expectation

We should be referencing the contents of the search bar when generating the outbound URLs for the sources.
(Side note, we appear to be dynamically updating the outbound URLs based on the Use filters that are selected, so that component is working).
Screenshots

@annatuma I will fix this today. The behavior when I launched meta search was that hitting the 'search' button would keep you on whatever tab you were on, so users could at least submit more searches. That behavior has regressed. I'll fix two things:

Search button will preserve current tab
Meta urls will always reflect current search bar contents


CSV generation doesn't populate displayName or description fields for CRDs

Bug Report

What did you do?
Create a CSV using the following command:
operator-sdk olm-catalog gen-csv ...
What did you expect to see?
The following fields should exist in the CSV for each CRD that is owned by the operator:
spec.customresourcedescriptions.owned[].description
spec.customresourcedescriptions.owned[].displayName
What did you see instead? Under which circumstances?
The above fields are missing from the generated CSV. This causes OLM deployment to fail, as these fields are required.

This affects all operator development methods.
Possible Solution

Additional context
Add any other context about the problem here.

Is this the same as #2575?

@andrewazores yes this is a similar misunderstanding as in #2575 (see my closing comment in that issue for displayName issues).
As for description, that should always be set from comments above your kind's type. You're saying it is not?

Yes, this would be somewhat of a duplicate (however with the addition of the description field). In this case, I'm using a helm operator. This was discovered yesterday in a dry-run of a partner workshop, which will be used for start-to-finish onboarding of partners who have a certified operator and also a helm chart, who would like to create and certify an operator (that's neither here nor there, just provided for context, if not priority).
The partner experience for creating a helm operator is a bit bumpy, to say the least. In this case I would expect that running the csv-gen tool would yield a working CSV that would deploy in OLM, without having to add missing fields manually. In cases where a user/partner won't have a golang operator with a struct/type defined with comments, could this instead default to "Placeholder Name" (or even better the CR kind) and "Placeholder CR Description"?
I realize this may be more of a feature request than a bug, but the "bug" IMO is the fact that the csv-gen tool doesn't yield a working CSV without having to add these missing fields.

@jsm84 ah I see. The CSV generator does not officially support Helm (or Ansible) operators yet so usage with non-Go behavior is technically unknown.
Currently some required fields are reported as missing when running the tool. What we need to do is use this api validation library to report which fields need populating. Then the user will at least be aware that their CSV is invalid. This is a priority, and I'll mark this as such.

/remove-lifecycle stale

With the SDK 1.0 release will be possible to integrate Ansible/Helm with OLM via the makefile targets make bundle and  bundle-build. Also, users are indeed able to generate the package manifests as well by adding the following target in their Makefile :
# Options for "packagemanifests".
ifneq ($(origin CHANNEL), undefined)
PKG_CHANNELS := --channel=$(CHANNEL)
endif
ifeq ($(IS_CHANNEL_DEFAULT), 1)
PKG_IS_DEFAULT_CHANNEL := --default-channel
endif
PKG_MAN_OPTS ?= $(PKG_CHANNELS) $(PKG_IS_DEFAULT_CHANNEL)

# Generate package manifests.
packagemanifests: kustomize
	operator-sdk generate kustomize manifests -q --interactive=false
	cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG)
	$(KUSTOMIZE) build config/manifests | operator-sdk generate packagemanifests -q --version $(VERSION) $(PKG_MAN_OPTS)

In this way, I am closing this one as solved for 1.0.
c/c @estroz


Rename CLI options to align with provider/server options

The CLI has used snake-case (with inconsistencies) name styling for options where @ganache/core now consistently uses camel-case. For example, chain.defaultBalance instead of default_balance_ether
This issue changes the CLI options to be consistent with the provider/server options.
~@davidmurdoch do you want these to be back-compatible?~ This was answered on Zoom: yes

Resolved in #708

Resolved in #708


How to upload multiple files ?

Hello, what is the correct way to configure UFS to allow upload of multiple files?
Right now I have the multiple attribute set on the input element:
<template name="upload">

Select files to upload:

	<input type="file" multiple>
</template>

When I select more than one file to upload, only one file is uploaded.
Thanks

Hi @firewater, the way to upload one or more files is the same, however you actually found a bug in the UploadFS.readAsArrayBuffer() that was not taking multiple files, but it is now fixed in the v0.3.1.
Thank you !
FYI, you can download UFS-Examples to try the package or use it as a sandbox for your tests, it's available here : https://github.com/jalik/ufs-example


rmf_api_msgs: 0.0.2-1 in 'humble/distribution.yaml' [bloom]

Increasing version of package(s) in repository rmf_api_msgs to 0.0.2-1:

upstream repository: https://github.com/open-rmf/rmf_api_msgs
release repository: https://github.com/ros2-gbp/rmf_api_msgs-release.git
distro file: humble/distribution.yaml
bloom version: 0.11.2
previous version for package: 0.0.1-1

rmf_api_msgs
* Update maintainer.
* Switch CHANGELOG to rst format.
* Fix typo in title of fleet_log.json (#26 <https://github.com/open-rmf/rmf_api_msgs/pull/26>)
* Contributors: Teo Koon Peng, Yadunund

Manually updated doc version to humble.


CODE NOT RUNNING

THE CODE IS NOTE RUNNING ..
PREVIOUS CODE WERE RUNNING BUT NEWLY MADE C++ FILE ARE NOT RUNNING

THE CODE IS NOTE RUNNING ..
PREVIOUS CODE WERE RUNNING BUT NEWLY MADE C++ FILE ARE NOT RUNNING

Code running has nothing to do with the IDE. Check if your compiler paths have been exported properly and try using the CLI manually for compilation.


Create virtual network with Address space from IPAM

I would like to create virtual networks using IP address space allocated from Azure IPAM (Preview)

Hi there,
This Terraform module is one that we develop and use for our internal company use, but have chosen to share publicly in accordance with the included license. Since we don't currently use Azure IPAM, and if supporting Azure IPAM would require a code change to this module, we won't do it, sorry.
However, I spent a few minutes researching how to do this with Terraform and it appears you wouldn't need to make any changes to this module. See the following link for a code example: https://blog.nashtechglobal.com/ipam-reservation-and-vnet-subnet-integration-with-terraform/


CHICKEN NUGGET SINGING VERITY

Song Name
CHICKEN NUGGET
Artist Name
Chicken nugget
Source
Youtube
Youtube Link
cWJpJqYmctM
Direct File Link
No response
Song ID
677785
Start Offset [ms]
2
Extra
Created from Auto Nong.
Created for level: 18834999

reject
shit mashups have to be popular to be considered a meme and therefore addworthy


[Talk Proposal] Replacing BGP in 4 easy steps

About your talk
Title

Replacing BGP in 4 easy steps - The PKT long game
Languages

[ ] 🇫🇷
[x] 🇬🇧

Estimated duration

30-40 min
Required knowledge level

Network
Cryptography
Blockchain
General Tech

[ ] None
[ ] None
[ ] None
[ ] None

[ ] Beginner
[x] Beginner
[x] Beginner
[x] Beginner

[x] Advanced
[ ] Advanced
[ ] Advanced
[ ] Advanced

[ ] Expert
[ ] Expert
[ ] Expert
[ ] Expert

Video recording

[ ] Yes (mandatory)
[x] Yes (if possible)
[ ] No

Description of your talk
BGP is without a doubt one of the greatest decentralized protocols ever devised, the use of friend-to-friend links, peering relationships, and filters combine to leverage human and machine capabilities in a truly unique way, and it should be required study for anyone wanting to create a decentralized protocol of their own. But our expectations of BGP are simply unreasonable: Take for example IP addresses, these are essentially virtual property and today we would never consider using anything short of a blockchain -- yet BGP is able to handle this, and it does so with near perfection. Furthermore as the internet scales, our expectations will only become more and more unreasonable.
In 1999 there were 5000 Autonomous Systems (ISPs) speaking the BGP protocol, in 2008 the number had grown to 30000, in the following ten years it would double, but in the last 2 years it grew by 50% and is over 90000 now. But still just under half of the world has no internet at all, and only 15% have what is considered "broadband".
The internet has probably been the biggest single force for individual liberation since the printing press, but in order to bring competitive access to the whole world I estimate we will need hundreds of millions of Autonomous Systems, not just hundreds of thousands. So we are in a dilemma: BGP cannot take us where we need to go, but nobody knows what will.
Here I will present the PKT project which is founded on a simple yet radical idea: What if we separated the physical role of hardware operation from the technical role of network engineering? Becoming an infrastructure provider would be no more difficult than pointing an antenna, and everybody would have their choice of thousands of "Virtual ISPs" who build their networks from bandwidth leased in a decentralized bandwidth market. It will be like choosing from any phone company in the world, and everyone is roaming all of the time.
Of course a project of this scope must be rolled out in steps, and I will present the steps which will go into making this a reality.

We will start with a VPN marketplace because the very existence of VPNs represents the need for better network technology.
Then we will enable smart internet sharing and mesh networking with the Virtual ISP service to optimize those networks.
Then we will tokenize bandwidth so that we can establish a true decentralized bandwidth market.
Then we will begin developing high capacity routing hardware to take the network back to the datacenter.

About you

Name: Caleb James DeLisle
Matrix handle: @cjdelisle:m.trnsz.com
Other contact info: cjd.cjdns@fr

Great summary of the project plan, generally speaking. The problem is illustrated effectively, but I don't think a specific solution is proposed, rather the steps necessary to foster the right environment for a solution. At a high level, surely decentralization is that solution, but routing strategies will vary. This a great experiment because we will see if capitalism, ie. the free market, can solve this problem. This is a question mark for me because one of the key flaws of capitalism is the rise of monopolies which tend to act as a centralizing agent. However, if it does serve as an impetus to solving this problem, then it makes a good argument for capitalism as an agent of efficiency, thus satisfying the efficient market hypothesis. Other projects I've seen in this space tend to not have as many milestones in their plan. They tend to think they can sell networking hardware to enough people to spin up some kind of network. But, node density is clearly and issue for most, because they tend to be short on value proposition and market reach. Perhaps the VPN marketplace is the growth hack these networks need to reach a larger scale, because the general public isn't aware of what BGP is or what it's problems might be. But, these days, VPN's seem to be trending, so it's a smart play to go that way. 'Nuff said.

Thank you :)

Going to close this issue to clear it from my notifications, thanks for a great time !


Request to add : Wireless Controller for N-SL Model SW001 w/ GameCube

BlueRetro firmware version
v24.04_hw1
BlueRetro firmware specification
HW1
BlueRetro firmware variant
System specific
BlueRetro hardware type
Internal install DIY
Manufacturer
myself with ESP32 DIY
System used
Nintendo GameCube
Bluetooth controller brand & name
Wireless Controller for N-SL Model SW001
What is problem? (only list ONE problem per report)
Not pairing with GameCube DIY ESP32, I have no problems pairing other Controllers like PS4 and Google Stadia.
What did you expect to happen?
Pair, tried different firmware's HW1, no luck.
Attach files like logs or Bluetooth traces here
Wireless_Controller_for_N-SL-Model-SW001.zip

https://m.media-amazon.com/images/I/D1yT0ybiyDL.pdf

I forgot to add the keys pressed when logged the BlueTooth Traces
Y, X, B, A, -, +, T, 0,
D-Up, D-Down, D-Left, D-Right
RStick-Up, D, L, R
LStick-Up, D, L, R
LTrigger, RT,
BottomTriggerLeft, BTR

This guy dose not give a about your request. His hungry like a JOO! So how much you want for my controller to work ?


SPARK-15858: Fix calculating error by tree stack over flow problem an…

What changes were proposed in this pull request?
Improving evaluateEachIteration function in mllib as it fails when trying to calculate error by tree for a model that has more than 500 trees
How was this patch tested?
the batch tested on productions data set (2K rows x 2K features) training a gradient boosted model without validation with 1000 maxIteration settings, then trying to produce the error by tree, the new patch was able to perform the calculation within 30 seconds, while previously it was take hours then fail.

Can one of the admins verify this patch?

Jenkins test this please

Test build #60289 has started for PR 13590 at commit a72dbdd.

Test build #60289 has finished for PR 13590 at commit a72dbdd.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

This should be opened vs master and should be closed

PR #13624 has been created for master branch.


Bug: New user to the platform sees all users

What were you trying to achieve?
Bootstrap magistrala i.e add random users, things and channels then create a new user and try to view the index page using the UI
What are the expected results?
To be able not to see any users since I have logged in on a new domain i.e I should not be able to see the users
What are the received results?
A new user on the platform can see all users in other domains. Is this the intended behaviour? If we are to have a multi-tenant platform, then this is not the intended behaviour. A user should only be able to see users in his/her domain.
Steps To Reproduce

Start magistrala
make run

Run the following command to create different users at least twice
go run tools/e2e/cmd/main.go -n 10 -N 1

Create a new user
magistrala-cli users create demo<EMAIL_ADDRESS>12345678

Login the user to UI and view the dashboard

In what environment did you encounter the issue?
Git commit - https://github.com/absmach/magistrala/commit/492ce14baff1d40ef4ff567e6955690219212e44
Docker Compose version 2.23.3
Docker version

Client:
Version:           24.0.7
API version:       1.43
OS/Arch:           linux/amd64
Server:
Engine:
Version:          24.0.7
API version:      1.43 (minimum version 1.12)

Additional information you deem important

The user should be able to filter all users (so they can be invited to join the domain), but not to see the count. Only superadmins should be able to see counts of all the users on the platform.

While this is fixed on the UI, the user should not be able to see the count of all the users in the platform using the API.

Only the total field (revealing the total number of users in the platform) is relevant here, but other than that, this ticket can be closed. Once Search PR #2288 is merged, this ticket can be closed.


[llvm] add in clang and enable tools

This is a continuation of #1946. Not sure why it's closed automatically after the force push to accommodate 4228e1e.

Should clang be optional?

@xoviat See https://llvm.org/docs/GettingStarted.html. There is no [optional] tag for clang.

Please update llvm to 5.0.1.


Embedded project content

People have been annoyed with the fact that IFRAMEd content in the project description cannot be safely and easily added. So this PR adds a checkbox to the project new / edit screen, right under the Project home page link, which puts the contents of that link into an IFRAME. Or the link itself could be an IFRAME (e.g. a web-published Google presentation or another "embed" link).
Using the jQuery Resizable plugin, the content appears in a nice, mobile-friendly container which can be dynamically resized by the user without interfering with the rest of the content.
Additionally, a couple of minor issues were fixed - primarily #127 by properly redirecting the user after saving the project content.
This release has been deployed at https://opü.ch/

Replaced by #134


statistics-page

Please add a new statistics-page starting with the following information:

number of mails sent to cities in total
number of unique cities mailed
count of validated users in total
distribution of mails to cities

@pascoda: Do you have further suggestions for the statistics page?

maybe also the number of cities that reported to us as already having/planning to install CMVs?