Fix bitrot in dist/Dockerfile

This didn't build for me. To get it working again:

Update cmake source url.
Move curl build to top so we can use SNI for cmake source url.
Actually build curl against the openssl we build.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

r? @edunham

r+
Thanks for the fixes!

Could as much as possible be placed after building gcc? When tweaking these scripts it's always unfortunate to have to rebuild gcc a bunch of times.

If binutils is only needed for rust, I could move gcc one step earlier, after just openssl and curl.
I'm loath to move it more than that. The gcc build doesn't currently require SNI, so we could use the system curl, but centos 5 has openssl 0.9.8e (hopefully patched!!) which is end-of-life in 5 weeks. Given Centos 5 is only receiving critical fixes at this point, I worry about the weakness this places on our verification steps.
Would it help to rebuild openssl and curl with the new gcc? I don't actually understand what would trigger the need to rebuild gcc with the current order.

I'm not really concerned about the security of images like this, it's built quite rarely so the chance of something trying to exploit an OpenSSL bug or something like that seems super unlikely. I'd mostly just favor tweaks to the image to make development easier, and building gcc is a pain

These scripts build the compiler which builds the rust toolchain. An attacker could use any vulnerability here to trojan all software built with rust. Even if a targeted attack is unlikely, the consequences are very serious. An attacker can choose the easiest path; we have the responsibility of shoring up all of them.
In any case, this seems like a separate issue from fixing the bitrot. I propose we merge this based on @edunham's r+. I'll finish testing the binutils move and post it as a separate PR. We can continue discussing it there. (Believe me, I know rebuilding gcc is a pain; I've been doing it all week!)
Is your concern that openssl revs more frequently  than gcc, and updating it means the gcc build will no longer be in docker's cache?

As far as I can tell, reordering binutils and gcc works. r? @alexcrichton, @edunham.

Er yes sorry, to be clear I'm worried about build times not security right here. If we actually want to be "super duper secure" then we shouldn't download anything and just bundle it all in this repo. I suspect openssl will change quite a bit as they release new versions to fix older bugs, and I suspect that gcc will change very rarely as we just want the bare minimum that works.

That sounds like an r-. I'll flip the order and retest, probably tomorrow when I'm back at my desktop.

Ok, thanks @rillian!

Moving gcc to the first step worked for me. r? alexcrichton.

Thanks!


Fix for issue #35245

Edited the regular expressions to include the case where there are escaped square brackets inside the reference link. Used non-capture groups to avoid messing up the existing capture groups.
Fixes #35245

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

Thanks! This will be in the next VS code insiders build and is scheduled to ship with VS Code 1.36


add new skin for TFT

there are a lot of skins that don't exist , how to add new skins in the game . Example: Gwen chibi

Gwen seems to be the mobile-only


test: add unit test case for func NewHTTPError

Signed-off-by: Hu Shuai<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1382 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1382      +/-   ##
==========================================
+ Coverage   51.26%   51.30%   +0.03%
==========================================
  Files         135      135
  Lines        8908     8908
==========================================
+ Hits         4567     4570       +3
+ Misses       3964     3960       -4
- Partials      377      378       +1

Impacted Files
Coverage Δ

supernode/daemon/mgr/scheduler/manager.go
21.91% <0.00%> (-0.69%)
:arrow_down:

pkg/errortypes/errortypes.go
82.85% <0.00%> (+11.42%)
:arrow_up:

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 ed1145f...351449b. Read the comment docs.

LGTM


feature: bundle fbms

Checklist

[x] the individual contributor license agreement is signed
[x] commit message follows commit guidelines

Description of change

include the form builder microservice as a overlay in uPortal start by default.

This is erroring with
[ant:java] 2018-10-04 00:16:34.383 ERROR 8461 --- [           main] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Exception during pool initialization.
[ant:java]
[ant:java] java.sql.SQLTransientConnectionException: java.net.ConnectException: Connection refused (Connection refused)
[ant:java] 	at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source) ~[hsqldb-2.4.1.jar:2.4.1]
[ant:java] 	at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source) ~[hsqldb-2.4.1.jar:2.4.1]
[ant:java] 	at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source) ~[hsqldb-2.4.1.jar:2.4.1]
[ant:java] 	at org.hsqldb.jdbc.JDBCDriver$1.run(Unknown Source) ~[hsqldb-2.4.1.jar:2.4.1]
[ant:java] Caused by: org.hsqldb.HsqlException: java.net.ConnectException: Connection refused (Connection refused)
[ant:java] 	at org.hsqldb.ClientConnection.openConnection(Unknown Source) ~[hsqldb-2.4.1.jar:2.4.1]
[ant:java] 	at org.hsqldb.ClientConnection.initConnection(Unknown Source) ~[hsqldb-2.4.1.jar:2.4.1]
[ant:java] 	at org.hsqldb.ClientConnection.<init>(Unknown Source) ~[hsqldb-2.4.1.jar:2.4.1]
[ant:java] 	... 2 common frames omitted
[ant:java] Caused by: java.net.ConnectException: Connection refused (Connection refused)
[ant:java] 	at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_151]
[ant:java] 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_151]
[ant:java] 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_151]
[ant:java] 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_151]
[ant:java] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_151]
[ant:java] 	at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_151]
[ant:java] 	at java.net.Socket.connect(Socket.java:538) ~[na:1.8.0_151]
[ant:java] 	at java.net.Socket.<init>(Socket.java:434) ~[na:1.8.0_151]
[ant:java] 	at java.net.Socket.<init>(Socket.java:211) ~[na:1.8.0_151]
[ant:java] 	at org.hsqldb.server.HsqlSocketFactory.createSocket(Unknown Source) ~[hsqldb-2.4.1.jar:2.4.1]
[ant:java] 	... 5 common frames omitted
[ant:java]
[ant:java] 2018-10-04 00:16:34.385  WARN 8461 --- [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : SQL Error: -1301, SQLState: 08001
[ant:java] 2018-10-04 00:16:34.385 ERROR 8461 --- [           main] o.h.engine.jdbc.spi.SqlExceptionHelper   : java.net.ConnectException: Connection refused (Connection refused)
[ant:java] 2018-10-04 00:16:34.386  WARN 8461 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.JDBCConnectionException: Unable to open JDBC Connection for DDL execution
[ant:java] 2018-10-04 00:16:34.390  INFO 8461 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
[ant:java] 2018-10-04 00:16:34.435  INFO 8461 --- [           main] ConditionEvaluationReportLoggingListener :
[ant:java]
[ant:java] Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
[ant:java] 2018-10-04 00:16:34.439 ERROR 8461 --- [           main] o.s.boot.SpringApplication               : Application run failed

on MariaDB

@jgribonvald any ideas on why MariaDB is refusing connections? :thought_balloon:

mhhh, in my mind it's due to hibernate version 5 from fbms. Maybe there is a conflict as the dependencies use the portal db's one, so hibernate version 4.x...
Also for this case it will be needed to use a provided dialect for this hibernate version. But I don't know which one between:  MariaDB10Dialect (extends as default MariaDB dialect with INNODB), or the MysqlInnoDBDialect.
Also with mysql lib it seems that we don't need anymore to set this kind on dialect as it can be setted from JVM args likes it indicated : @deprecated Use "hibernate.dialect.storage_engine=innodb" environment variable or JVM system property instead

I didn't get the time to test, but in my mind you should include the mysql lib into the project and define the specific dialect, here is what I've made to be able to deploy on mariaDB : https://github.com/Jasig/uPortal-start/pull/149/files#diff-354f30a63fb0907d4ad57269548329e3R131

Ok after watching I'm sure this is working with HSQLby change :laughing:  is because you have the exact same conf into fbms application.properties

@jgribonvald -- yes... https://github.com/uPortal-contrib/fbms/issues/10

This has stalled and is outdated.
Closing it out for now, hopefully it can be revisited in a future PR.


Add the signing of releases to build process

Signed-off-by: jkowall<EMAIL_ADDRESS>Which problem is this PR solving?
Resolves https://github.com/jaegertracing/jaeger/issues/3960
Short description of the changes
This adds in signing to the build process, the following steps must be taken to configure 2 new secrets in the repo by another team member.

Generate a GPG key : gpg --gen-key
Answer the prompts accordingly for the email specified (you can set a password as well)

pgp --list-keys
Find the GUID for the key you want to use ex: 79FAF16A8C42B3593143DD7C8DE95E7E9BC9CA3C

Get the contents of the key: gpg --export-secret-keys -a 8DE95E7E9BC9CA3C

Copy and paste (or pipe to a file and use that). This should be added as a secret called GPG_PRIVATE_KEY

The password you created should be added as a secret called GPG_PASSWORD

Please let me know if you have questions. We can either re-run the last build or wait for the next release to test it.

One missing step if you want to add the key into the keyserver:
gpg --keyserver pgp.mit.edu --send-key 79FAF16A8C42B3593143DD7C8DE95E7E9BC9CA3C


[AMBARI-22712] Update install Wizard layout. Fourth patch.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/384/
Test PASSed.


outputReport option writes report last file checked only

I am using an example configuration for checkstyle.xml. The issue is that the file generated contains style report just for the last file that was checked, not the aggregate of all the files checked by the eslint-loader. It kind of beats the purpose of storing the raport.

I got the same issue, how can I get around this issue before the fix merged ? @smokku

@MoOx any chance we can merge this fix ? thanks very much.

@ArielZhang just put in your package.json:
"eslint-loader": "git+https://github.com/smokku/eslint-loader#e0e3dea",

@smokku thanks! but after switch to your fix, I got the same result, only one file existed in the final report xml.

@ArielZhang you also need to set eslint.outputReport.filePath to 'checkstyle-[hash].xml' in webpack.conf.js

any chance we can merge this fix ? thanks very much.

I won't merge a "fix" without the corresponding test. If you want this to get this merged, you can help writing a test for it :)

@smokku thanks, I got all report xml now !

To anyone using the fix suggested above, this is no longer available:
"eslint-loader": "git+https://github.com/smokku/eslint-loader#e0e3dea"

@supamanda This change was merged - just use latest eslint-loader :)

I'm using 1.6.1 and I'm still getting the same problem. @smokku I noticed one of your changes was in a PR that hasn't been merged to master (https://github.com/MoOx/eslint-loader/pull/134) - is that what you are talking about?

Sorry, I lost track of this for a bit. I just got #134 back in shape (re-filed as #160 because of git shenanigans) and the tests are passing this time so hopefully that means the PR can get merged in soon.

Hi,
When generating report with eslint-loader only a single problem is generated. Below are the results

^ Result generated by eslint-loader

^ Result generated by running eslint app/** -f html -o ./app/test/eslint-report.html on commmand line
and my webpack config:
var path = require("path");

module.exports = {
	entry: './app/index.js',
	output: {
		path: path.resolve(__dirname, "dist"),
		filename: 'bundle.js'
	},
	module: {
		rules: [
			{
				enforce: "pre",
		        test: /\.js$/,
		        exclude: /node_modules/,
		        loader: "eslint-loader",
		        options: {
		        	// Fail only on errors
          			failOnWarning: false,
          			failOnError: false,

          			// Toggle autofix
          			fix: true,

          			emitWarning: true,

		        	outputReport: {
		        		filePath: 'eslint_report.html',
		        		formatter: require('eslint/lib/formatters/html')
		        	}
	        	}
	                }
		]
	}
}

Why isit not generating all the result?
Thank you!
eslint version: 3.19.0
eslint-loader version: 1.7.1

+1

Anybody got this working? I am also facing the same issue.

I guess nobody explicitly started this. So please provide a failing test via a PR. Then if you have time, you can work on a fix :)

The problem with the output of only the last file with an error is not corrected. I use:
"eslint": "^ 4.11.0", "
"eslint-loader": "^ 1.9.0"
webpack.config.js
options: {     outputReport: {         filePath: 'eslint-report.html',         formatter: require('eslint/lib/formatters/html')     }  }
I want to note that the report is not the last file with an error, but the first one.

I am also facing the same issue. Is there any solution for it?

I'm also facing this issue. All errors are being shown on the console but on the report just the first one
"eslint": "^4.19.1",
"eslint-loader": "^2.0.0",
webpack config
outputReport: {             filePath: 'eslint-results.html',             formatter: require('eslint/lib/formatters/html')         }
Any solutions so far?

Unfortunately, the decision did not find
чт, 28 июн. 2018 г. в 13:36, Stephs15<EMAIL_ADDRESS>
I'm also facing this issue. All errors are being shown on the console but
on the report just the first one
"eslint": "^4.19.1",
"eslint-loader": "^2.0.0",
webpack config
outputReport: { filePath: 'eslint-results.html', formatter:
require('eslint/lib/formatters/html') }
Any solutions so far?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/webpack-contrib/eslint-loader/issues/121#issuecomment-400991557,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdHxryiOeOYtWlbkLbGp6gTpqo6HvrAyks5uBLGsgaJpZM4KehaI
.

+1


Setup TestPyPI and PyPI for ci-cd

Set up tokens TestPyPI and PyPI to manage package release

Tokens added to repo secrets


PR: Write bytes simpler

Replaces #1453

Huzzah

Now, if you wanted to exercise those rebase skills you would squash the commit titled "Complete rebase" into the one just above it and then push up the single resulting commit.

Looks good to me.  Is this ready to go in?

Yes - all passes here, and distributed (PR 411) works with it too.


Release request to support Python 3.11 patch versions

Hello :)
Our project was encountering the issue with geojson-3.0.0 not supporting Python 3.11 patch versions (currently on Python 3.11.1), and I was happy to see that a commit was made on Feb 4 to support everything up to 3.12.
I know that the geojson 3.0.0 release is pretty new itself (released on Jan 25) but I was wondering if another release could be tagged now that geojson is supporting the Python 3.11 patch releases? 🤞  I see there have been two other fixes since then as well, but supporting Python 3.11 patch versions would help our build succeed again :smiley:
Just a request! I appreciate the consideration.

@apastel thanks for the nudge, was planning on this. Done! Now available on PyPI and via pip install.


⚠ Fetchers has degraded performance

In 49b08d8, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 341 ms

Resolved: Fetchers performance has improved in fced482.


Custom Comparators

Hello, I'm interested in custom comparator support. I would like to be able to specify keys as lists of sorted keys. This way, I could do prefix lookups on multiple levels of variable-length prefixes. This indexing scheme is critical for building EAV database indices like Datomic  (a functional DB) use.

Added: https://github.com/spacejam/rust-rocksdb/pull/13
I'm a bit unfamiliar with the comparator, could you modify the test in comparator.rs so that it covers your desired use-case?  Bonus points for short usage example in the readme with an example of how the comparator can assist with this interesting problem.

Basically, I'd like to initialize the DB w/ a "serialization config", so that you can have a designated pair of K & V types with custom-defined serialization & comparator, so that it's possible to use RocksDB with crazy types. For instance, I've often wanted keys which are actually a list of many variable-length lexographically or ordinally ordered elements. For instance, a key of the form [hostname time] would allow one DB to answers queries about the hostname and about the hostname at a specific time, assuming that you sort time in reverse order (since the value at the hostname itself would be the latest time). But since hostname is variable length, this is trickier.
Another thing I'd like is to store multiple distinct keyspaces in the same RocksDB, in order to take advantage of the atomic writes to a single db and key multiple indices on the in sync.
I will write some code for this in a bit--I want to figure out the iterator first :)


how to implement custom brush?

rainbow? gradient?
and even this in figma:

I found this  RainbowBrushPen based on p5.js. but, it's rainbow is not what I want.
A rainbow must have several colors in parallel along the drawn path.


Event saved with wrong time when drag and dropping from sidebar

Prerequisites

[x] Using an up-to-date main branch

Expected Behavior
GIVEN that a user has their mouse pressed and positioned over the grid
AND the preview event rectangle is rendered at the correct position
AND the preview event shows the desired correct time (eg 10 am)
AND the user releases the mouse
THEN an event rectangle is immediately displayed on the grid
AND the event time is the same as when the mouse was released
Current Behavior
If a user continues to move their mouse after they drop and between the time when it was saved on the backend, then the start and end dates will be based on their most recent mouse position -- not their original.
Notice: I release the mouse on Friday, then move over to Sunday. The event is saved as Tuesday 🙈
https://github.com/user-attachments/assets/48e9c7e4-5ab0-4de2-97a7-c98c19b52de3
Steps to Reproduce

Create a sidebar event

Click the event and drag it over the grid

Note the day and time of the event

Release your mouse, while quickly moving it to the left or right

Notice: the event is saved at the latest mouse position, not the mouse position when you released it

Possible Solution (Not obligatory)
We need a way to accurately capture the desired date/time at the time of mousing up, rather than relying on the mouse position's X/Y coordinates, which can change during the API request's lifecycle.
Context
This makes users frustrated, because what is saved in the UI doesn't match their intentions.

Assign me this please

Assign me this please

Assigned!


Updates to the Setup and Configuration documentation

Previously, the steps required to get started with this module were split between the “Setup” page and the “Configuration” page.
This PR fixes that strangeness.  The “Setup” page is now quickstart-like, and the “Configuration” page has more in-depth information about how to configure the library, and what the defaults are.

I just reviewed this and made a few edits. Besides my edits, the changes looks good and can be merged! Good job! :)

Thanks for the review and edits!  FYI, I reverted the changes to the sample application initialization because (a) I want to demonstrate the stormpath.ready event and (b) the callback for app.listen() doesn't actually receive an error, to my knowledge you have to use server.on('error') to capture those events.


X

{
"name": "X",
"logoURI": "https://github.com/aitelong/X/blob/main/X.jpg",
"timestamp":<PHONE_NUMBER>000,
"tokens": [{
"chainId": 1,
"address": "TVWwjAYjSNrNBK7q62pgkNz6ahSyDXVTs8",
"name": "X",
"symbol": "X",
"decimals": 18,
"logoURI": "https://github.com/aitelong/X/blob/main/X.jpg"
}
],
"version": {
"major": 1,
"minor": 0,
"patch": 0
}

Please fill out the application in the correct format. Incorrect formats will result in the issue being closed. Also, please confirm that a liquidity pool has been created on SunSwap.


Update developer guide

Currently the developer guide only has information about Building and Installing kubeslice-worker and how to run tests. It should also include:

Guidelines for submitting a pull request.
Commit Message Guidelines like PR should have a description body and a proper commit prefix.
Coding Rule section can include topics like following the GoLang style guide, Unit tests and Integration tests as well as adding comments in the code.
Commit prefix can be one of the type.

build: Changes that affect the build system or external dependencies (example scopes: Makefile, Dockerfile)
ci: Changes to our CI configuration files and scripts (example scopes: GitHub Action, JenkinsFile)
docs: Documentation only changes
feat: A new feature
fix: A bug fix
perf: A code change that improves performance
refactor: A code change that neither fixes a bug nor adds a feature
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
test: Adding missing tests or correcting existing tests

@Rahul-D78 - recreate this with the issue with the bug template for better visibility.

Changes are already present -
https://github.com/kubeslice/worker-operator/blob/master/CONTRIBUTING.md


authentication  error

The sample sdk source execution result is as follows:

Partner Center Java SDK samples

1: Customer samples
2: Agreements
3: Offer samples
4: Product samples
5: Products for customers samples
6: Order samples
7: Subscription samples
8: Rated Usage samples
9: Service request samples
10: Invoice samples
11: Partner Profile samples
12: Customer User samples
13: Customer Subscribed Skus samples
14: Customer Directory Role samples
15: Auditing samples
16: Rate Card samples
17: Indirect model samples
18: Service Incident samples
19: Utilization samples
20: Partner Analytics samples
21: Customer service costs samples
22: Address validation samples
23: Devices
24: Cart Scenarios
25: Entitlements
Enter the scenario number to run (press Q to exit to previous screen): 20

Partner Analytics samples

1: Get partner licenses deployment analytics
2: Get partner licenses usage analytics
3: Get customer licenses deployment analytics
4: Get customer licenses usage analytics
Enter the scenario number to run (press Q to exit to previous screen): 1

Get partner licenses deployment analytics

Authenticating user ...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
java.util.concurrent.ExecutionException: com.microsoft.aad.adal4j.AuthenticationException: Server returned HTTP response code: 400 for URL: https://login.windows.net/common/oauth2/devicecode?resource=https%3A% 2F% 2Fapi.partnercenter.microsoft.com & client_id = 6741dc05-403f-4e86-a70e-abb7497c3ebc, Error details: {"error": "invalid_request", "error_description": "AADSTS50059: No tenant-identifying information found in either the request or implied by any provided credentials. \ r \ nTrace ID: 49a48aea-ca5e-4566-82d8-ade3fa047401 \ r \ nCorrelation ID: dd29a5f6-d045-4374-a526-a3f5e0dc38fb \ r \ n \ Time \ amp: 2019-09-06 00:42: 54Z "," error_codes ": [50059]," timestamp ":" 2019-09-06 00: 42: 54Z "," trace_id ":" 49a48aea-ca5e-4566-82d8-ade3fa047401 "," correlation_id ":" dd29a5f6 -d045-4374-a526-a3f5e0dc38fb "}
[Error] java.lang.NullPointerException: authentication result was null
I received an error message from the partner center.
What should I do?

The error details are as follows.
When does the error occur?
How can I solve it?
What should I do? …..
Is this issue also I should post on github?
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code HMAXUQGTN to authenticate.
java.util.concurrent.ExecutionException: com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.\r\nTrace ID: 020cfc02-9097-4e4e-ace2-5ca71fd79f00\r\nCorrelation ID: cdf745ca-447f-4ad6-8c35-a5af27b5e2d5\r\nTimestamp: 2019-09-10 10:15:12Z","error":"invalid_client","error_uri":"https://login.windows.net/error?code=7000218"}
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at com.microsoft.store.partnercenter.samples.AadUserLoginHandler.SendTokenRequest(AadUserLoginHandler.java:111)
at com.microsoft.store.partnercenter.samples.AadUserLoginHandler.authenticate(AadUserLoginHandler.java:68)
at com.microsoft.store.partnercenter.samples.context.ScenarioContext.getUserPartnerOperations(ScenarioContext.java:102)
at com.microsoft.store.partnercenter.samples.profiles.GetBillingProfile.runScenario(GetBillingProfile.java:36)
at com.microsoft.store.partnercenter.samples.BasePartnerScenario.run(BasePartnerScenario.java:136)
at com.microsoft.store.partnercenter.samples.scenarioexecution.AggregateScenarioExecutionStrategy.isScenarioComplete(AggregateScenarioExecutionStrategy.java:50)
at com.microsoft.store.partnercenter.samples.BasePartnerScenario.run(BasePartnerScenario.java:145)
at com.microsoft.store.partnercenter.samples.scenarioexecution.AggregateScenarioExecutionStrategy.isScenarioComplete(AggregateScenarioExecutionStrategy.java:50)
at com.microsoft.store.partnercenter.samples.BasePartnerScenario.run(BasePartnerScenario.java:145)
at com.microsoft.store.partnercenter.samples.Program.main(Program.java:189)
Caused by: com.microsoft.aad.adal4j.AuthenticationException: {"error_description":"AADSTS7000218: The request body must contain the following parameter: 'client_assertion' or 'client_secret'.\r\nTrace ID: 020cfc02-9097-4e4e-ace2-5ca71fd79f00\r\nCorrelation ID: cdf745ca-447f-4ad6-8c35-a5af27b5e2d5\r\nTimestamp: 2019-09-10 10:15:12Z","error":"invalid_client","error_uri":"https://login.windows.net/error?code=7000218"}
at com.microsoft.aad.adal4j.AdalTokenRequest.executeOAuthRequestAndProcessResponse(AdalTokenRequest.java:128)
at com.microsoft.aad.adal4j.AuthenticationContext.acquireTokenCommon(AuthenticationContext.java:928)
at com.microsoft.aad.adal4j.AcquireTokenCallable.execute(AcquireTokenCallable.java:70)
at com.microsoft.aad.adal4j.AcquireTokenCallable.execute(AcquireTokenCallable.java:38)
at com.microsoft.aad.adal4j.AdalCallable.call(AdalCallable.java:47)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)


Updated VAT rates for Slovakia

According to multiple sources, VAT rates in Slovakia will increase starting Jan. '25:

https://fastvat.com/nl/wees-voorzichtig-btw-tarieven-veranderen/
https://www.pincvision.com/nl/nieuws/slowaakse-btw-tariefverhogingen
https://marosavat.com/slovakia-to-increase-vat-rates-from-2025/
https://www.globalvatcompliance.com/globalvatnews/slovakia-vat-rate-increase-2025/

The last two sources are also speaking of the existence of a 'super low' 5% tariff, but I'm not sure where and how to implement this. I see reduced, reduced1, reduced2, super_reduced, no clue which to use 🤷♂ Leaving that for someone else.

Nice one, thx @SanderVanLeeuwen!


Workflow for additional titles

Need to update code/workflow for adding additional titles (at least eigth) to data set. Could do this by copying the download-pages.py script and updating it as appropriate. This is probably the easiest (although maybe not the best). Should be do-able by just creating another csv with title information (titles-02.csv). The assembly script (assemble-volumes.py) would also need to be updated.
Additional things that need attention:

download-pages.py refers to data/titles.csv, but that file does not exist in the repository
assemble-volumes.py refers to data/complete, but that directory does not exist; the directory is created (if necessary) by Jupyter Notebooks
assemble-volumes.py refers to data/complete/complete-titles.csv, but that file does not exist; there is a copy of this file (restricted to the eight original titles) on the figshare dataset at https://arizona.figshare.com/articles/dataset/Borderlands_newspaper_text_1897_-_1963/12735992

Note data/complete is ignored by git. Designed to separate the download and assembly process for the entire suite of files for upload to ReDATA from the subset of files included as sample manageable for GitHub.

Largely addressed in 8f45077.
Data download and volume assembly moved to separate repository https://github.com/jcoliver/borderlands-newspapers


fix(dataset): modal sql editor error

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

before
https://user-images.githubusercontent.com/11830681/144241861-84d7857e-c65e-495f-9d90-d309efc3c085.mov
after
https://user-images.githubusercontent.com/11830681/144241872-fabd832d-8b64-4ba8-8430-4ed63ec8d896.mov
TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up


.zsh_history file not found

Here's the error:
str.trim.split.map.Array.from.map.fp.reduce.module.exports.opts (node_modules/shell-history/index.js:60:18)
    module.exports (index.js:6:15)

This code caused it:
'use strict';

const shellHistory = require('shell-history');

module.exports = function (replaceMe) {
  console.log(shellHistory());
  return replaceMe;
};

Isolating the issue to just the getPath function:
node
> const h = require('shell-history')
undefined
> h.path()
undefined

I have an expected and non-empty .zsh_history location:
> os.homedir()
'/Users/dawsonbotsford'

 ~  cat /Users/dawsonbotsford/.zsh_history
:<PHONE_NUMBER>:0;ls
:<PHONE_NUMBER>:0;rm -rf .zsh
:<PHONE_NUMBER>:0;ls
:<PHONE_NUMBER>:0;rm .zsh*
...

sist output:
node
npm -v: 2.15.11
node --version: v4.7.0
shell
uname: Darwin
echo $SHELL: /bin/zsh
echo $TERM: xterm-256color
echo $TERM_PROGRAM: iTerm.app
Time created: Sun Jan 15 2017 18:15:54 GMT-0800 (PST)

Bump

Here's the error:

str.trim.split.map.Array.from.map.fp.reduce.module.exports.opts (node_modules/shell-history/index.js:60:18)
module.exports (index.js:6:15)

Can you share the full error? I don't see any error message there or the full stack.

Attempted to recreate the error in order to paste a full stack trace and everything is working. Sorry to bother, will re-open if the issue persists.


Warning: Prop id did not match.

Hello, I'm rendering React 16 on client and server(SSR) with new function React.hydrate(). And console throw Warning message:
Warning: Prop id did not match. Server: "starGrad239537257264089" Client: "starGrad357747279155326"
This is the only problem with this component. Thank's a lot!

I'm having the same problem using Next.js

Me too.

Me too.

https://github.com/ekeric13/react-star-ratings/blob/07add0e61bf77fb94a9613587e31bffa9f46364e/src/star-ratings.js#L9

These random numbers are also no bueno for creating snapshots... 😢

I provided a PR #36 to solve this problem.
You can set an Id to the rating component which makes sure that the fill-Id internally doesn’t change between server & client.

Any updates on this? :(

If you're using Next js with server side rendering, you need to import StarRatings from "react-star-ratings" dynamically with no ssr. For example:
import dynamic from "next/dynamic";
const StarRatings = dynamic(() => import("react-star-ratings"), {
  ssr: false,
});

For me it's work. Hope this will help.

Problem resolved with @BodyaNK solution. Thanks

If you're using Next js with server side rendering, you need to import StarRatings from "react-star-ratings" dynamically with no ssr. For example:
import dynamic from "next/dynamic";
const StarRatings = dynamic(() => import("react-star-ratings"), {
  ssr: false,
});

For me it's work. Hope this will help.

Just to complement this resolved Issue, I've had to import dynamic child's components when the main component is dynamic too

I have this issue and I must use SSR. Do you have any solution?

If you're using Next js with server side rendering, you need to import StarRatings from "react-star-ratings" dynamically with no ssr. For example:
import dynamic from "next/dynamic";
const StarRatings = dynamic(() => import("react-star-ratings"), {
  ssr: false,
});

For me it's work. Hope this will help.

@BodyaNK How did u get this working? I did it, and the error dissapeared. But now i can't access the properties from the component.

For me doesn't work
import dynamic from "next/dynamic";
const Tab = dynamic(() => import("react-bootstrap"), {
 ssr: false,
});

For me doesn't work import dynamic from "next/dynamic"; const Tab = dynamic(() => import("react-bootstrap"), {  ssr: false, });

Me neither, immensely frustrating - has anybody found a workaround?
Thanks in advance

Well this is annoying. I'm here 4 years after the problem was identified and it's still not fixed other than a 'nasty' hack.
I used this component in my last 2 react projects with no problem but it doesn't work with NextJs. The server render is always different to the client render because a component we don't have access to is generated randomly and so makes the client and server different each time its rendered - which is a big No No for NextJS applications.
To fix this issue I switched to https://www.npmjs.com/package/react-star-picker which has a slightly simpler interface, works with NextJs and I could drop it in with almost no changes.
<StarPicker onChange={starPickerChange} value={rating} numberStars={10} size={'24px'} />

So long and thanks for all the fish ;)

I am using<EMAIL_ADDRESS>and encountering the same error.
I tried the pull request implemented by @christophby, it worked as expected in my simple use case.

https://github.com/ekeric13/react-star-ratings/pull/36

Replacing with his implementation
$ npm install 'git+https://github.com/christophby/react-star-ratings.git#e58364b7b9008e59f22844c26f96cf5d02e61851'

Adding id: string to the props
Since id is not yet defined in @types/react-star-ratings, you'll need to use @ts-expect-error.
<StarRatings
+   // @ts-expect-error
+   id={name.toString()}
    rating={starRate}
    starSpacing="0.1rem"
    starRatedColor="#f5c518"
    starDimension="2rem"
/>


Feature Request: Compress repeats similar to screenkey

The Linux tool screenkey https://gitlab.com/screenkey/screenkey supports compressing repeats in following way:

When enabled, contiguous repeated sequences are truncated after the
requested threshold. A counter of total occurrences is shown instead,
which is generally more legible.

It is more clear with this gif from https://superuser.com/a/1537680

The default threshold is 3. The feature has been introduced in version 0.9:
https://gitlab.com/screenkey/screenkey/-/blob/master/NEWS.rst
Is it possible to add a similar feature to keycastr?

contributions are welcome, but given how the default visualizer currently works this doesn't really make sense.


doi_utils.rb:6:in `match': no implicit conversion of Array into String (TypeError)

I have followed the instructions at https://github.com/datacite/bolognese (MacOS, Mojave) and now get
$bolognese --version
1.3.8
which looks good.  But when I provide a .ris file I get the following errors
$bolognese Endnote_thesis_library.ris
/Library/Ruby/Gems/2.3.0/gems/bolognese-1.3.8/lib/bolognese/doi_utils.rb:6:in match': no implicit conversion of Array into String (TypeError) 	from /Library/Ruby/Gems/2.3.0/gems/bolognese-1.3.8/lib/bolognese/doi_utils.rb:6:in validate_doi'
from /Library/Ruby/Gems/2.3.0/gems/bolognese-1.3.8/lib/bolognese/doi_utils.rb:35:in normalize_doi' 	from /Library/Ruby/Gems/2.3.0/gems/bolognese-1.3.8/lib/bolognese/readers/ris_reader.rb:50:in read_ris'
from /Library/Ruby/Gems/2.3.0/gems/bolognese-1.3.8/lib/bolognese/metadata.rb:119:in initialize' 	from /Library/Ruby/Gems/2.3.0/gems/bolognese-1.3.8/lib/bolognese/cli.rb:33:in new'
from /Library/Ruby/Gems/2.3.0/gems/bolognese-1.3.8/lib/bolognese/cli.rb:33:in convert' 	from /Library/Ruby/Gems/2.3.0/gems/thor-0.20.3/lib/thor/command.rb:27:in run'
from /Library/Ruby/Gems/2.3.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in invoke_command' 	from /Library/Ruby/Gems/2.3.0/gems/thor-0.20.3/lib/thor.rb:387:in dispatch'
from /Library/Ruby/Gems/2.3.0/gems/thor-0.20.3/lib/thor/base.rb:466:in start' 	from /Library/Ruby/Gems/2.3.0/gems/bolognese-1.3.8/bin/bolognese:6:in <top (required)>'
from /usr/local/bin/bolognese:22:in load' 	from /usr/local/bin/bolognese:22:in '
Can anyone tell if the error is caused by the  RIS file itself, or my build of  ruby/bolognese ?
Endnote_thesis_library.ris.txt

@hrzepa bolognese is built to convert metadata for single records, and your RIS file contains a list of records.
Do you see this as an import feature we should add?

Oh yes please.  We want to process all the bibliographic records for a PhD thesis,  often 100s of them, in one thesis deposition workflow.

On 1 Aug 2019, at 06:19, Martin Fenner<EMAIL_ADDRESS>wrote:
@hrzepa bolognese is built to convert metadata for single records, and your RIS file contains a list of records.
Do you see this as an import feature we should add?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I have created a single record ris file.  The following error is now obtained;
$ bolognese single.ris
41:0: ERROR: Element '{http://datacite.org/schema/kernel-4}titles': Missing child element(s). Expected is ( {http://datacite.org/schema/kernel-4}title ).
single.ris.txt

I should add that my build of bolognese works fine with a command such as
bolognese https://doi.org/10.14469/hpc/5980 -t datacite

Ok. I have fixed 100s of special cases with bolognese, and will look at single.ris. It looks like bolognese expects T1 rather than TI in your example (the latter is usally handled as book title).

I created a separate issue for the new feature of supporting multiple records. #70

I should explain that the RIS file  I am using was generated using EndNote X8.2 (on MacOS) by  export as RefMan (RIS). The bibliography was created over a three year period by the PhD student from diverse sources (which may account for the variation in tagging).
I know that many students here use  Mendeley as their reference manager, and I might try to get a few libraries from that source as well.

Don't worry, it is our job to be flexible with the input. We will support TI.

I have identified a useful tool for creating  RIS or BibTex files from citations embedded into a Word  Document using  Mendeley or  Zotero, which  I thought would be useful to include here; https://github.com/rmzelle/ref-extractor
Citations embedded into  Word using  EndNote can be extracted using the built in EndNote tool in Word and the travelling library export feature.

Very cool. Rintze is one of the maintainers of citationstyles.org, so he knows this stuff. You can of course also use a reference manager such as Zotero (or ZoteroBib) to generate a list of formatted citations from a RIS or bibtex file.

The issue our  PhD student identified is that their reference manager (in this case EndNote) had a significant superset of the citations used in the thesis, and it was not easy to select just those actually used in the word document.  It was more convenient to start with the  Word document itself rather than the refman library used to generate the thesis, and then to generate a suitable (travelling) library which could be converted to  RIS from there.

Makes sense. Unless you create a folder in the reference manager with all the references for a particular publication when you start.


feat: support proxy connect method

This fixes #600.
We had some trouble implementing this functionality in the tests, and even had trouble finding any node library that handled this out of the box. Eventually, we hit on the right combination of things and reverse-engineered it. This PR does still include a new dependency, hpagent, which provides the custom agent that handles the extra handshake requirements on the client request side. I don't know that it is worth the effort to try to peel that out as well.
Happy to hear your thoughts @bbyars!

It appears the CircleCI test failures are unrelated. We have also been having difficulty getting the full test suites to run per the instructions (on any OS). So it would be nice to get a full suite test just to be certain. We are just adding an event handler so I can't imagine it will break anything.)
We are seeing an ECCONRESET on client which I believe is expected. @mikeschinkel is seeing an EPIPE on proxyServer on his mac, but I don't see it on windows. I don't believe either of these errors are a big issue as long as we are handling the errors and showing a warning about them? They could all be on the client end and nothing related to mountebank.
We have spent a couple weeks worth of time between @mikeschinkel and I on this trying to configure and determine the correct levers to pull. It seems that very few node libraries actually handle this correctly and none of them handle it out of the box (hence adding hpagent). Hopefully, we have fully addressed any questions you may have!

Thanks, and my apologies. I'm in the middle of a build system transition
off grunt and multiple CI servers into npm scripts and a paid CircleCI
service to cover all platforms. While I think I have the first part of that
new pipeline finished, I'm sure I've failed to update all the docs. I will
revisit as soon as I find time, which is likely the back half of next week.
Thanks again for everything you've done, and please don't take my delayed
review as apathy!
On Tue, Apr 6, 2021 at 10:57 AM Jacob Bolda @.***>
wrote:

It appears the CircleCI test failures are unrelated. We have also been
having difficulty getting the full test suites to run per the instructions
(on any OS). So it would be nice to get a full suite test just to be
certain. We are just adding an event handler so I can't imagine it will
break anything.)
We are seeing an ECCONRESET on client which I believe is expected.
@mikeschinkel https://github.com/mikeschinkel is seeing an EPIPE on
proxyServer on his mac, but I don't see it on windows. I don't believe
either of these errors are a big issue as long as we are handling the
errors and showing a warning about them? They could all be on the client
end and nothing related to mountebank.
We have spent a couple weeks worth of time between @mikeschinkel
https://github.com/mikeschinkel and I on this trying to configure and
determine the correct levers to pull. It seems that very few node libraries
actually handle this correctly and none of them handle it out of the box
(hence adding hpagent). Hopefully, we have fully addressed any questions
you may have!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bbyars/mountebank/pull/606#issuecomment-814235857,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAARFP7OKL6CN5EQDTHWSV3THMVQJANCNFSM42JNQFTQ
.

@bbyars — For clarity and to elaborate on what @jbolda wrote, when running Mountebank on my Mac and using a GoLang app as the client it triggers an EPIPE error that terminates Mountebank, so I viewed it as a critical issue; I assume you concur that we don't want a client to be able to crash a server.
However, between Jacob and I we saw three different errors occur over our long efforts trying to get something to work, and each terminated the server when we saw them. The second was ECCONRESET but I cannot remember the third.
Because of this we decided the best course of action was to create an error handler for both client and proxyServer and simply log any of those errors as warnings to the terminal to keep the server from terminating.  That said, you may understand this better and may want more targeted error handling.  We just did not know what we did not know here, and figured worst case we did not want anything triggering our code to allow the server to just terminal.
Hope this adds context, and if you have any questions, please ask.

Thanks for all the detail. I'm still far more time poor than I'd like to be able to dedicate to this, but I have started looking. I'm getting a test failure that I haven't diagnosed yet but I think it's due to the new test holding on to a socket longer than expected, which I think implies some socket-closing logic for the tunnel connection, but am not sure yet. I'll continue working on it. Thanks again for the contribution and sorry it caught me in a particularly busy time.

(I should add that I changed laptops since my last mountebank commit, so I'm also troubleshooting various environmental configurations)

Thanks again! Sorry it took me so long.


BitsumLLC.Coreprio version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

used https://github.com/ItzLevvie/winget-pkgs-validate-and-install/blob/main/Community Moderators - 2021-09-29 - experimental.cmd to validate and install

why mods are not seeing the repo?
there are so many pending packages for merge

where are all these mods???

Can any of the mods can review my PR?. pls

ok
Official Esco taught me how to do it

I can't edit the file

I think I should create another PR

Oops

I can't reopen it now

#29078

why mods are not seeing the repo? there are so many pending PRs for merge

When a PR is ready to be merged or requires changes, it can take tens of minutes or a few hours for moderators to review the PR due to time zones, some moderators may be sleeping and some may have other work do to.

ok


feat(configuration): add v2

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
This PR creates configuration v2
🙈 Screenshots

@arsenijesavic please resolve the conflicts


LICENSE.txt renamed to LICENSE in ddb7e5acd

The manifest must be updated also, the pypi package now contains no license file and I have great difficulties using this package in a yocto build, the automated package qa test absolutely requires a license file.


concurrency::parallel_for seems to run on an STA some of the time -> !is_sta() false error

For now I am trying to use concurrency::parallel_for. I know that UWP does have its own threadpool api.
I am trying to do a .get() on one of the async methods. concurrency::parallel_for seems to run on an STA sometimes (possibly on the IU thread?). Hence I get the !is_sta() error.  Is there any way to prevent this?  Concurrency Runtime seems quite nice, even if it was not made for UWP.
UPDATE: I had an opencv imshow in the loop shown below (for debug build & development). Removing this seemed to remove the problem.
		winrt::apartment_context _foreground_context;

		co_await winrt::resume_background();

		concurrency::parallel_for(size_t(0), size_t(_files.Size()), [&](size_t i)
		{

			winrt::apartment_context _parallel_context;

			auto _stream = _files.GetAt(i).OpenReadAsync().get()

//#ifdef _DEBUG
//			cv::Mat _mat(_scaledHeight, _scaledWidth, CV_8UC4, _com_Array.data());
//			cv::normalize(_mat, _mat, 1.0, 0.0, cv::NormTypes::NORM_L1);
//			cv::imshow("Scaled Image from Windows.", _mat);
//#endif

Hi @lawabider -- thank you for your feedback. This list is for doc-specific issues; are you referring to a specific doc? If you let me know the URL, I can route your comments to the correct page owner. Thanks!

Hi Ginami,
sorry; delete this issue if you can? As I have noted it was caused by using opencv to pop up images, for debugging purposes, so probably is not really an issue.

No worries, @lawabider! Can't delete, but I'll close it out. Thank you!


Refactor/improve code

This PR aims to improve the readability of the code by:

Renaming useAccordion variables
improving DTO type names and exporting status type
restructuring Phasecard & Challenges component and subsequently renaming Challenges component to DropDown for better semantics.
Moving a big chunk of css code from the styles stylesheet to component stylesheet

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ADVANCED_OPTIMIZATIONS problems adding classes to externs namespace

We are building a library in ES5 where you can load some classes "later" in a separately compiled JS file.  Google Maps can be used as an example.  Google Maps has classes in a "google.maps" package or namespace.  Let's say I want to add a new class Foo in the google.maps namespace.  I could write:
// closureextendingexterns.js
goog.provide('google.maps.Foo');

/**
 * @constructor
 * @extends {google.maps.Circle}
 */
google.maps.Foo = function() {
  google.maps.Foo.base(this, 'constructor');
};
goog.inherits(google.maps.Foo, google.maps.Circle);

/**
 * @type {string}
 */
google.maps.Foo.prototype.bar = "Test";

alert(new google.maps.Foo().bar);

With ADVANCED_OPTIMIZATIONS, and the following command line:
java -jar closure-compiler-v20181125.jar  --compilation_level ADVANCED_OPTIMIZATIONS --js closureextendingexterns.js --js closure/goog/base.js --externs downloads/google_maps_api_v3_11.js --js_output_file compiled.js

the output is:
var a={};function e(){a.Circle.call(this)}(function(){var d=a.Circle;function b(){}b.prototype=d.prototype;e.b=d.prototype;e.prototype=new b;e.prototype.constructor=e;e.a=function(b,g,h){for(var f=Array(arguments.length-2),c=2;c<arguments.length;c++)f[c-2]=arguments[c];return d.prototype[g].apply(b,f)}})();alert((new e,"Test"));

The compiler has created "a" for "google.maps".  I think the compiler sees the:
/** @const */
var google = {};

/** @const */
google.maps = {};

in the externs and minifies it instead of realizing it came from an externs.  And my attempts to get rid of those lines in the externs results in the compiler complaining about the externs file.
In my more complex test case which has multiple classes being defined, the compiler actually outputs a reference to "a" before it even creates "a".

In general, I would expect names coming from externs to be unrenamed.  Can you include the contents of the externs file as sell?

@aharui in addition to the request for more information that @blickly  made above, I'd like to understand what you're trying to do here.
I think you intend your library to be used like this.

Standard Google Maps API gets loaded into the page.
Your extension of it, compiled separately, is loaded into the page.
Final client code, compiled separately from either of the above, is loaded into the page.

Is this correct?

Created internal Google issue b/121273683

Thanks for the quick response.  I am not actually trying to extend Google Maps, I'm just using it as an example, but yes, your workflow is valid:

A library gets loaded
Separately compiled extension gets loaded
Separately compiled Client code gets loaded.

It could also be valid for:

A library gets loaded
Separately compiled Client code gets loaded
Separately compiled extension gets loaded because the client can get up and running faster by deferring this step if it doesn't need any code from the extension to get started.

Here is the link to the Google Maps externs
I agree that there names from the externs should not be renamed.  It might also be valid to create a short name that references an object in the externs
a = google.maps;

But I'm not sure that would work in all cases.


Implement RTT calculation for candidate pair stats

Implement CurrentRoundTripTime, TotalRoundTripTime, RequestsSent, and
ResponsesReceived for candidate pair statistics.
This change on its own is not quite enough to get stats working end to
end. Notably, (*Agent).GetSelectedCandidatePair() copies both
candidates, which due to internally marshaling and unmarshaling the
candidate to implement the copy, ends up generating new candidate ids.
Because pion/webrtc stores stats in a map based on candidate ids, this
means that it is currently impractical to actually access these stats.

Hmm... you're using just the last sample, which might yield an extremely noisy signal.  Shouldn't we be computing an exponential average instead?  (Please see Figure 6 of https://arxiv.org/pdf/1403.3488.pdf for an illustration of what I mean.)


Dataset issues

Hi!, I found your research results intriguing and am trying to re-implement them using command  python main.py -c configs/LRS23/VO/EffConfInterCTC.py for training purposes.
However, I am encountering the following error: 'datasets/LRS2/mvlrs_v1/pretrain/<html>.pt'.
(However, the LRW dataset is trained quite well, which is what we used.)

I have downloaded all the necessary data for LRS2, but I am wondering why this error is occurring.

Could it be that there is some data I have not downloaded or generated?

First, when I looked at the code, I confirmed that there was a problem with  file_path.
The file we need is .pt, but the problem is that the path is not there.
Additionally, what I am curious about is, in the image below, is it correct to use only 20 idx values from the number of split files in the mvlrs_v1/pretrain folder? (dataset.py)

First, when I looked at the code, I confirmed that there was a problem with file_path.
The file we need is .pt, but the problem is that the path is not there.
Additionally, what I am curious about is, in the image below, is it correct to use only 20 idx values from the number of split files in the mvlrs_v1/pretrain folder? (dataset.py)

I solved it.


Why delete v0 version?

My understanding of gopkg.in is that v0 is pre-release and that using that
version number simply gets you the latest default branch which is
undesirable. We've now got a v1.0.1 tag and I'd encourage you to use that.
I apologize for this disruption, but Go's package management is lackluster
(for now). I would advise you to vendor the project at v0 if you need that
specific version.
Also the move to v1 is part of a larger plan to release v2 which will bring
many improvements and so is a temporary pain for a long term gain.
Again I'm quite sorry, but do vendor projects in the future. It's the only
way in Go to be safe from breaking changes like this.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/go-authboss/authboss/issues/108, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAqtOhaQan1aPC988tKPxfQV83Cn2qzvks5rJ4Z5gaJpZM4LRjJr
.

v1 will be removed 6 months after the release of v2

That means at someday our project will can't build again,  it like a bomb that will explode in sudden.
Also if  we can get the packge in a normal go get github.com/go-authboss/authboss, that won't have this problem.

This is only true if you're using github as a canonical source for your code. Meaning that you always build and fetch your code using go get which is considered a bad practice when you need to reliably build something. When you are building software you have to assume that repositories may vanish, change unexpectedly in breaking ways etc. That's the nature of dependencies, hence there's two options:

Accept that there will be breaking changes eventually, and keep your apps up to date when it breaks
Use vendoring https://golang.org/cmd/go/#hdr-Vendor_Directories to ensure that your code builds forever, no matter what they do upstream

This unfortunately has nothing to do with the way authboss is being managed, but how you are building and managing your own project. Once again I apologize for the breaking change - it's not something I do lightly and was necessary to move forward and allow people to use v1 for the interim (because of the gopkg.in works)


Side Navbar

Making a side navbar instead of 3 buttons in the hero section @QAZIMAAZARSHAD

@2024-SANDHYA didn't understand which 3 bittons? which hero section?

@2024-SANDHYA didn't understand which 3 buttons? which hero section?

@QAZIMAAZARSHAD  Want to add a sidebar like this

And shifting these three buttons in the sidemenu itself.

@2024-SANDHYA these 3 are not buttons just design.
And navbar is not needed on this page.


Use ILRepack as dotnet tool

Hi,
thanks for the awesome tool! I am about to migrate a cake script to use only dotnet cli. And I thought since cake already uses ILRepack as a standalone tool I could simply use dotnet tool as a replacement.
But as I can see in the Nuget repo it is not recognized as a .NET tool.
It is a small change in the project file and most probably build and I also volunteer to do it if you guys want to have it also as dotnet tool.
Cheers

Fixed by #364

https://www.nuget.org/packages/dotnet-ilrepack


Armband disconnects after a few seconds

Hi! Well, when I run the program, something like:
from myo_raw import MyoRaw
import sys

m = MyoRaw(sys.argv[1] if len (sys.agv) >= 2 else None)

def emg_hdl(emg, moving):
    print(emg)

m.add_emg_handler(emg_hdl)
m.connect()

try:
    while True:
        m.run()
except KeyboardInterrupt:
    pass
finally:
    m.disconnect()
    print("Disconnected")

And after a few seconds, the rectangular LED on armband (for connection) offs.... How to not disconnect?

I had the same problem did you get to solve it ?

@Girum  it operates excellent with me and then after 1 minutes it crushes

Hello I have the same problem, do you have an idea to solve it?

@MartineGirard  if you are asking about the disconnection issue I think it has been resolved
by PyoConnect and someone else has fixed this bug by making it connect again after disconnecting
---> but if you were asking about the EMG_Rate , I still had the same issue

@hananabilabd  thanks for your answer but i have this problem of disconnection with Myo_Raw, not MyoConnect. And I didn't find any solution, if you could link me the thread where this guy you talk about have fixed this bug i would be gratefull.

@MartineGirard
https://github.com/dzhu/myo-raw/issues/8
or you can try the PyoConnect script ,, Run it and it will make sure it is connected all time
Are you running it on linux ?

@hananabilabd
Yes, i am running it  on Linux.  Thanks for your two solutions. But i would like to use only myo-raw and i would like it not to disconnect. Maybe if i don't find any solutions i will try PyoConnect.

Sorry for the late! I didn't has much sucess with MyoRaw. The, I found other to use, and I'm using now. https://github.com/Alvipe/Open-Myo

@Girum  Thanks
But does it read frames quickly ?

Yes... Of course, it all depends of your code. I've logged The results, and input them (after get RMS, etc) thrhougth a MLP. In the train/Test it works fine, but, in Real time, for example, tô predict, it losts acc. Well, I dont know for What you use the data too...

@Girum all i need to do is to handle the RAW EMG data like in myo_raw
and then pass  it to a classifier which we have built ,,
My  problem in  myo_raw, that emg data frame is very slow , I receive 512 frame of emg every 10 sec which is very slow
while in windows running the capture data provided by MYO_SDK gives me 3000 frame in 10 seconds
so my question is , can open_myo do that on linux ?

@Girum

@hananabilabd Well, maybe my problem ia the same. We trying to solve this too... But seen The open-myo code, we realized that has no sleep in code, or something like that... So, the problem has to be on the bluepy module... And that is the difficult. For curiosity: how you measure the 512 and 3000 frames?

@Girum I discovered where is the problem :D
Furthermore I measure 512 frames by calculating how many times the code enters the function ""process_emg"" and using stopwatch ,, like this
def process_emg(emg):
    #print(emg)
    global i
    i+=1
    print (i)

or just by concatenating frames until you get 512 frame like this
def process_emg(emg):
    #print(emg)
    global b
    b= np.append(b,[[emg[0],emg[1],emg[2],emg[3],emg[4],emg[5],emg[6],emg[7]]],0)
    if b.shape[0]==512:
        final(b)

so the problem of slowness was because of using EMG_Filtered instead of EMG_RAW
Further more when I use Filtered_EMG i got 8 column of data in each frame like this ::

But when i use RAW_EMG i get 2 sets of frames at a time ,, Do you know what is this for ?? @Girum

@hananabilabd hmm, great. We do something like this, but with some "sleep" to measure the time between receive The data and make The calculus.
About your question... The base between myo_raw and open_myo maybe The same... So, the Myo, receive 2 arrays with 8 values at time. Its your "protocol", because BLE is not very speedy. Them, in the 4 characteristcs, you receive 16 values, separated in two arrays. If You open The main code, you'll see it catchs The Value and split in these 2 arrays.
Characteristc 0: 16 values
Characteristic 1: 16 values
Characteristic 2: 16 values
Characteristic 3: 16 values
In the Filtered, for some reason we didnt realize, it receive the 8 bit.... We think that, for a complete signal, oncoe you have to pass for the 4 Characteristic, you have to save all of them, which means 64 values. The Filtered maybe sim the values, and, of course, apply some Value to filter.

Here, you have all the BLE code to catch The values. But... Some commands are different in the modules (dont know why).
https://github.com/thalmiclabs/myo-bluetooth/blob/master/myohw.h

Thanks
I have a little Question for you  ,, when using MYO-Classifier
with this configuration

and i run code ,, it gives me waiting .. waiting ,, and don't get the (process_classifier) notification ,, except for one time which Ran correctly ,, Can you guess where may be the problem where ?it sometimes works ,, but most of the time with this configuration gives me waiting

Hi. I have't test the classifier, because I'm making my own neural network to classify the positions. But, some problems (even in the emg handler) was of time of use the functions. After some time, it disconnects. One solution (poor) that I made is to, after the whole process, after you make the calculus, etc, activate the sleepMode function. It works for me 90% the times.
About the RAW_UNFILT, weel, i don't know the difference too. But, I ever used the RAW (0x02). If I'm not wrong, the lib was written after the Myo releases the link I gave you. So the commands differ (and it's a thing that I'm investigating...).
I used the BLE code, because, after the first attempt in C++ in Windows, I mande a Android App to catch these values, and use that link...

It seens that RAW is filtered for 60Hz, and UNFILT is the most RAW value. Consider so use the RAW and not RAW_UNFILT

Hi Thanks so you are saying that RAW is filtered at 60 HZ and RAW_UNFILT is not filtered at all , Right ?
another thing if you are making your "" own neural network to classify the positions""
Can you still share these codes on Github :D
because we also had made  classifier to detect 5 movements
Regards

Yes! Thats right. About the code its a WIP project haha. As soon I made more resultados, Im going to share the code (when it works correctly)

Hello Mr @Girum
how can i disconnect the MYO
i tried both
myo_device.services.sleep_mode(0)
myo_device.services.sleep_mode(2)

but with no success

Hello! Well, I havent try to diwconnect myo... Since, it has no function for that. You can only power off or set the sleep Mode to 0 (myo disconnects after a time of inactivity) or 1 (myo never sleeps.) Maybe, to disconnect, you have to end the program, or something like make null the myo_device (but, dont forget to do a conditional, since the others functions depends on it)

@Girum Thanks i successfully found the disconnect function in btle.py
another Question did you try to operate Open-MYO on the generic Bluetooth of a laptop , not the bluetooth of Raspberry ?

Good! The btle function is much bigger. I'm investigate that right now for the speed of ble receives. By the way, I used the ble directly in the PC, but with another tools, like a NodeJS module for ble (noble). For windows, I had buy a ble 4.0 dongle and substitute the driver with the program Zadig (because with the "default"  driver, it doesnt works). I used too with the Android, using the Myohw.h that I post previously.

but what if i wanna use the MYO_usb Dongle on linux , with Open_myo
Is it even  possible ?

Hmm, I Think it is, since the lib Was made for Linux. I never tried. If you try, ler me know =). I didnt try yet because I want to embed the code

@hananabilabd, of course you can use the Open Myo module in a Linux laptop/PC (that was the idea). However, it does no work with the Bluetooth dongle included with the Myo armband, as this dongle does not use the Bluetooth 4.0 protocol as it is, but a proprietary protocol made by the dongle manufacturer (Bluegiga). You will need a generic BTLE antenna, such as this one.

@Alvipe Thanks but can it still work with Generic bluetooth of my Laptop like this ?

@hananabilabd, if it's a BTLE (Bluetooth 4) antenna, it will probably work. The best way of confirming it is by testing it yourself.

So you are saying you make Open Myo work on windows , Right @Girum  ?

No... I said that because you show the Windows device manager. Open Myo works only in Linux


dir: getreferrers don't panic when subject is nil

If an image is not a referrer, just continue and do not panic.

was using this in code that inspects arbitrary oci dirs and most image manifests do not have a subject entry, so we get a segfault here.


Dev - OpenCollective Image Lag

Location: Vietnam,
My speed:

Most of the time it takes to load the home page from the avatars of the backer.
Avatars are provided from opencollective and we can not manage the cache settings on the header.
Of course, these avatars will also be able to change frequently, so we should not cache it.

I think browser cache management is just a temporary solution.
For the first time, when the cache is not saved it still takes a lot of time to load the page.
So, skip the cache control problem.
We really need to solve this problem in a different way.
So...
What is the best way for this?

@pierreneter I'll add a note about this in #1525, but I'm really not sure what we can do to resolve this seeing as were not serving the content. Being an open source project, there's only so much we can do in terms of hosting infrastructure and in this case we aren't even serving those images ourselves (as you pointed out). Also, the page is interactive/scrollable before those images load (in my experience at least) so I'm not sure how much we gain by refactoring.
For the reasons listed above, my initial inclination was to close this and mark as wontfix so we can keep the discussions focused on content improvements but, with #1400 in progress (and hopefully #1525 soon as well) I think another load time optimization wouldn't hurt.
What do you think of this approach? We could use a placeholder image and defer loading the rest until after the initial page load. It would be nice if <img> tags supported a defer attribute out of the box but I'm not sure anything like that exists as of yet.
I am going to move this to a note in #1525, but feel free to keep discussing here and potentially open a PR. Once we've plowed through a bit more of the content-related backlog, I wouldn't be against re-opening as long as it stays active.
Also note that you should have gotten/be getting invites to be a collaborator and join our slack channel. Thanks again for your work so far!

About this issue, I think I should focus on finishing #1400 and #1525 before coming back to it.
Thank you for making me part of the team.
Deferring images is a good way. We will touch upon it after completing the unfinished work that we are doing and discuss it further.

You could make a React component that takes and image source and then when scrolled into view (or some other boolean), lazy-loads the image and fades it in.
This would essentially defer the image fetch, because browsers normally identify img elements and give high priority to their sources, which could lead to a perceived slower connection.
Not loading images at all until they're needed might be a more elegant solution, but you'd need a method to help you determine if an element is in view.


Add Security Notes to Disable SSLv3

Add notes to disable SSLv3 to prevent POODLE SSL attack CVE-2014-356.
Reference:

http://nginx.com/blog/nginx-poodle-ssl/
https://wiki.mozilla.org/Security/Server_Side_TLS#Nginx
https://github.com/h5bp/server-configs-nginx/blob/master/h5bp/directive-only/ssl.conf

Hi, thanks for the pull request but I feel like this isn't a truly useful snippet in it own, maybe something like this which contains both ssl_protocols and ssl_ciphers recommendation is better?

@lebinh Sure, should I just add the ssl_ciphers as well?

That'd be fine and then I think I can merge it :+1:

@lebinh Changed section to reflect increasing SSL security and added the additional sources for future reference.

You should add this as well:
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;

Ideally we generate strong DHE paramters:
cd /etc/ssl/certs
openssl dhparam -out dhparam.pem 4096

And tell nginx to use it for DHE key-exchange:
ssl_dhparam /etc/ssl/certs/dhparam.pem;
But I can see how the latter surpasses the nginx-snippets goal...

+1


duplicate events

Hi, thanks for sharing this tool, it appears to be exactly what I was looking for.
Currently events are duplicated whenever I plug/unplug my 2nd display, similar to behavior described in issue #5.
Environment info:

Arch linux, Budgie, kernel 5.11.15-1-ck-skylake
ThinkPad X1 Carbon 6th
srandrd 0.6.1

Command: srandrd -v -n display_handler.sh
display_handler.sh ...
#!/bin/sh

SET_PACWALL=$(set-pacwall.sh)

case "${SRANDRD_OUTPUT} ${SRANDRD_EVENT}" in
  "HDMI1 connected") "$SET_PACWALL" &>/dev/null &;;
  "HDMI1 disconnected") "$SET_PACWALL" &>/dev/null &;;
esac

Command output for one plug/unplug "cycle":

Event: HDMI-1 connected
Time: 250369192
Size: 474mm x 296mm
EDID (vendor, product, serial): AC10F01145384D4C
Event: HDMI-1 connected
Time: 250401280
CRTC: 64
Size: 1680x1050
EDID (vendor, product, serial): AC10F01145384D4C
Event: HDMI-1 disconnected
Time: 250401280
CRTC: 64
Size: 1680x1050
EDID (vendor, product, serial): AC10F01145384D4C
Event: HDMI-1 disconnected
Time: 250435295
Size: 0mm x 0mm
EDID (vendor, product, serial): AC10F01145384D4C

Any thoughts? Thanks for your time.

I'm also experiencing this. Built against master (4e4b754) on Arch.
I'm running Arch as a vmware guest, and each disconnect or connect event is listed twice.
udevadm monitor -u only Iists one entry per event.

Having the same problem. A similar project (https://github.com/troglobit/xplugd/issues/8) seems to have the same problem as well. I can't speak to other people's setups, but the problem seems to be when you call xrandr inside of your srandrd script. I recommend using xev -event randr to debug, since this shows the raw event stream (and proves that the bug is not in srandrd).
In my setup, I have a laptop with an internal display (eDP-1), and an external HDMI display (HDMI-1). If I plug in the HDMI display without srandrd running, here's the event output I see:
$ xev -event randr
Outer window is 0x2800001, inner window is 0x2800002

RRScreenChangeNotify event, serial 25, synthetic NO, window 0x2800001,
    root 0x679, timestamp 1034600, config_timestamp 1182251
    size_index 65535, subpixel_order SubPixelUnknown
    rotation RR_Rotate_0
    width 3843, height 1080, mwidth 1014, mheight 285

RRNotify event, serial 25, synthetic NO, window 0x2800001,
    subtype XRROutputChangeNotifyEvent
    output HDMI-1, crtc 64, mode 1920x1080 (1920x1080)
    rotation RR_Rotate_0
    connection RR_Connected, subpixel_order SubPixelUnknown

But my srandrd script normally runs an xrandr --auto on the output that just got connected/disconnected. If I have srandrd running when I connect the monitor, I get this instead:
xev -event randr
Outer window is 0x3000001, inner window is 0x3000002

RRScreenChangeNotify event, serial 25, synthetic NO, window 0x3000001,
    root 0x679, timestamp 1443009, config_timestamp 1452579
    size_index 0, subpixel_order SubPixelUnknown
    rotation RR_Rotate_0
    width 1920, height 1080, mwidth 506, mheight 285

RRNotify event, serial 25, synthetic NO, window 0x3000001,
    subtype XRROutputChangeNotifyEvent
    output HDMI-1, crtc None, mode None
    rotation RR_Rotate_0
    connection RR_Connected, subpixel_order SubPixelUnknown

RRScreenChangeNotify event, serial 30, synthetic NO, window 0x3000001,
    root 0x679, timestamp 1443009, config_timestamp 1452579
    size_index 65535, subpixel_order SubPixelUnknown
    rotation RR_Rotate_0
    width 3843, height 1080, mwidth 1014, mheight 285

RRScreenChangeNotify event, serial 30, synthetic NO, window 0x3000001,
    root 0x679, timestamp 1443009, config_timestamp 1452579
    size_index 65535, subpixel_order SubPixelUnknown
    rotation RR_Rotate_0
    width 3843, height 1080, mwidth 1014, mheight 285

RRNotify event, serial 30, synthetic NO, window 0x3000001,
    subtype XRRCrtcChangeNotifyEvent
    crtc 64, mode 1920x1080, rotation RR_Rotate_0
    x 1923, y 0, width 1920, height 1080

RRNotify event, serial 30, synthetic NO, window 0x3000001,
    subtype XRROutputChangeNotifyEvent
    output HDMI-1, crtc 64, mode 1920x1080 (1920x1080)
    rotation RR_Rotate_0
    connection RR_Connected, subpixel_order SubPixelUnknown

As you can see, the second output has two XRROutputChangeNotifyEvent events with an output HDMI-1 in them. This is probably the duplication that we're observing. (Another observation: my srandrd script runs xrandr --auto on both the connect and disconnect events. If I only run it on the connect event, I get no duplication. If I only run it on the disconnect event, I still get duplication.)
I tried replacing my --auto with --preferred and it went back to the regular behavior without duplicated events. So the problem arises when you disable an output (--auto, --off) in your srandrd script. Unfortunately, I really do want to enable/disable outputs in my srandrd script (otherwise the screen area doesn't shrink back to normal when I unplug a monitor). Perhaps I'll see if the mode None event can be filtered out; otherwise I'll have to debounce my script.

Hmm, my initial idea was "ignore all events with mode None but it seems to be a bit more complex. The sequence of events seems to be like this:

I plug the monitor in (produces a connected event with mode None)
in response to event 1, srandrd runs xrandr --auto (produces a connected event with mode 1920x1080)
I unplug the monitor (produces a disconnected event with mode 1920x1080)
in response to event 3, srandrd runs xrandr --auto (produces a disconnected event with mode None)

The problem is that, if all the mode None events are ignored, then plugging the monitor in does not produce event 1, thus xrandr --auto never gets run. Then when I unplug the monitor, it produces event 4 instead of event 3 (the monitor never go a mode applied, because xrandr --auto never got run).
I wound up with a more complex approach, where I ignore connected events with a mode, and disconnected events without a mode. Frankly I'm not sure this is a good idea. Maybe the behavior should be gated behind a CLI option? But I'll share it here if other people want to try: https://github.com/tummychow/srandrd/commit/901675033b661ed2e8c54396408cd221fd15b2cb The conditionals come from https://cgit.freedesktop.org/xorg/app/xev/tree/xev.c?h=xev-1.2.4#n956 .

Is this still an issue?

Yes, still an issue.
Im on Ubuntu 22.04 and as a 'display_handler' I use a simple bash script that echos the data it receives from srandrd into a file.
It receives connect/disconnect event twice.


Replace interpolation crate with the new curve/easing API in bevy 0.15

bevy 0.15 introduced a curve trait and easing functions. These should be used instead of relying on the interpolation crate.

done


[RFC] add status or launch_approved to project card

Currently a request for projects with cards: true returns an awesomely bite-size project with:
{ avatar_src, classifications_count, description, display_name, id, links, redirect, slug, updated_at }
Could we add state and/or launch_approved to what's returned with a project card?
Potential use cases:

state: this Talk comment, also mentioned by @astopy in Slack
launch_approved: on the org landing view for org collaborators(enable admin) that'd show all org associated projects and their status

I know we want to keep the project card as small as possible, so I'm not sure if adding anything is a good idea, hence the RFC.

Not sure this is feasible, but a different approach, could the fields functionality available when requesting workflows be implemented with projects?

@mcbouslog we can add those in attributes into the cards. Serializing the model attributes is fast and fine, it's the join models that slows us down here.

Also long term having the optional field attributes specified from the client should be on all resources (not just workflows). We have to generalize the workflow code but it's doable.
This is something that graphql does for free FYI.

Closing. Will open issue for specific request.


Create deployment chart for UDP push gateway

User story
As a project,
I want the ability to deploy my new push gateway application
So that I can manage the application lifecycle
Acceptance criteria

[ ] Configurable push gateway chart
[ ] Creates deployment from configurable image and a service
[ ] Configurable names to allow for multiple push gateways to be deployed in parallel
[ ] Deployment repo consumes the chart and deploys the app

Tech Notes:

Contains only our Docker image

Amigos:
@jeffgrunewald , @JarredOlson

Pulling this in, as I'm j8s-less


Enable npm cache on setup-node action

Enable npm dependency cache in setup-node. This should work reliably and across branches as well.

I was unable to create a backport for 1.21. @silverwind, please send one manually. :tea:
go run ./contrib/backport 30577
...  // fix git conflicts if any
go run ./contrib/backport --continue

Appears to work, my only concern is that architecture is not part of the cache filename:
Cache Size: ~85 MB (89250540 B)
/usr/bin/tar -xf /home/runner/work/_temp/ae0c5c73-d834-49be-b978-c98505ba4006/cache.tzst -P -C /home/runner/work/gitea/gitea --use-compress-program unzstd
Received 89250540 of 89250540 (100.0%), 85.0 MBs/sec
Cache restored successfully
Cache restored from key: node-cache-Linux-npm-bb14c5c36cd9cd442e9396c6ec686de115833ea7f9aee296b2f75f72b2e16d5d

Cache restored from key: node-cache-Linux-npm-bb14c5c36cd9cd442e9396c6ec686de115833ea7f9aee296b2f75f72b2e16d5d

I filed https://github.com/actions/setup-node/issues/1008 for  this.


Lag and errors when panning/zooming in 3D View

Describe the bug
When I try to pan or zoom a 3D view I get the following errors:
⚠ unknown error cause
cause=InvalidFormatUsage(TextureUsage(RENDER_ATTACHMENT), Rgba32Float, true)

❗Wgpu validation error 630: Validation Error

Cause by:
  In Device::create_texture
    Texture usage Texture Usages(RENDER_ATTACHMENT) are not allowed on a texture of type Rgba32Float due to downlevel restrictions

and the viewer lags for a bit.
I'm logging and updating the urdf with this script:
https://github.com/rerun-io/python-example-droid-dataset/blob/master/src/rerun_loader_urdf.py
Additional error logs:
    Caused by:
      In Device::create_texture
        Texture usages TextureUsages(RENDER_ATTACHMENT) are not allowed on a texture of type Rgba32Float due to downlevel restrictions

[2024-11-04T14:04:24Z ERROR wgpu_core::device::global] Device::create_texture error: Texture usages TextureUsages(RENDER_ATTACHMENT) are not allowed on a texture of type Rgba32Float due to downlevel restrictions
[2024-11-04T14:04:24Z ERROR wgpu_core::device::global] Texture::create_view(Id(60,103,gl)) error: TextureId Id(60,103,gl) is invalid
[2024-11-04T14:04:24Z WARN  re_renderer::error_handling::wgpu_core_error] unknown error cause cause=InvalidFormatUsages(TextureUsages(RENDER_ATTACHMENT), Rgba32Float, true)
[2024-11-04T14:04:24Z ERROR re_renderer::error_handling::error_tracker] Wgpu validation error 1141: Validation Error

Expected behavior
No error, smooth panning and zooming
Desktop (please complete the following information):

Ubuntu 22.04 on WSL

Rerun version
0.19.0

Nevermind, switching to 0.18.0 solved it. Leaving the issue here for reference.


remove restriction to query on all properties when multi-property index needs to be used

OrientDB Version: 2.2.31
Java Version: *
OS:  *
Expected behavior
When a multi-field index (can be Lucene or non-Lucene) is created with 3 or more properties, and I want to run a query that specifies a value/criterium for any of this properties but not all properties, then all properties used in the index definition and preceeding the ones for which I specify a criterium need to be included with a criterium as well.
For example:

my index is defined with properties A, B and C
I have a query in which I want to specify a criterium for B and C, but not for A (can be anything)
I have to specify also a criterium for A, otherwise the index is not used (in case of non-Lucene index), or an error is returned (in case of Lucene index)
alternatively, when I want to specify a criterium for A and C, but not for B (can be anything), again the index is not used (in case of non-Lucene index) or an error is returned (in case of Lucene index)

Lucene example:
select * from $myClass WHERE [A,C] LUCENE 'A:[20180320073000 TO<PHONE_NUMBER>3959] AND C:12345 '

returns
com.orientechnologies.orient.core.exception.OCommandExecutionException: Cannot evaluate lucene condition without index configuration. DB name="testdb"
Only this style works:
select * from $myClass WHERE [A,B,C] LUCENE 'A:[20180320073000 TO<PHONE_NUMBER>3959] AND B:* AND C:12345 '

Hi @rdelangh
OrientDB index  data structures are not designed to query a random subset of properties, so it cannot be done in general.
You can query a prefix of the index declaration though, eg. if the index is defined on A, B, C you can query it on A or on A, B
For Lucene I think it's a bit more complex, because it's completely out of our control, when you query with a condition like LUCENE 'A:[20180320073000 TO<PHONE_NUMBER>3959] AND B:* AND C:12345 , the 'A:[20180320073000 TO<PHONE_NUMBER>3959] AND B:* AND C:12345 part is completely delegated to Lucene engine and is outside of the control of OrientDB
Thanks
Luigi


How to mock interface when there is no concrete type?

Hi, thanks for typemoq! Just getting started with it and I'm not sure what to do. Say I want to mock http.IncomingMessage, how would I do that? I have to provide a constructor argument, but it's unclear to me how to do so without implementing the interface myself, and using that class as the constructor argument.
import * as Moq from "typemoq";
import {IncomingMessage} from "http";

var mockRequest = Moq.Mock.ofType<IncomingMessage>(???);

Howdy,
That's exactly what you have to do unfortunately. The problem is that interfaces do not emit anything and so there's no way for TypeMoq to (easily) generate a compatible object at runtime.
I suggest you create a dummy implementation for the interface and use that as you constructor argument, this will then emit JavaScript and TypeMoq can enumerate the properties and methods at runtime successfully. The dummy implementation doesn't have to do anything - default constructor, return nulls / do nothing, it's just there to provide something for TypeMoq to mock.
It is a hoop to jump through, but it is no different to other mocking frameworks in JS where you have to provide something concrete to mock.
Potentially this could be solved in the future using type metadata or proxies, but those APIs aren't well-formed enough yet.

Thanks, makes sense.

Substitute.js solves this via EcmaScript's proxy object.
https://www.npmjs.com/package/@fluffy-spoon/substitute


frontend/auth: fix auth screen glitch on startup

The auth screen was sometimes showed for a very short time at startup even when it was disabled. This fixes the glitch, hiding the auth screen details while the backend checks if the auth config is enabled.

rebased


Include .inc files for absl headers

Current setup.py collects only header files from absl package. However header files include .inc files which were not installed into include directory. This PR adds *.inc files into header list.

Thank you very much for the fix!
@annarev @tatatodd @goldiegadde To fix custom ops we also need this cherrypicked into 1.12 branch.

I noticed this is not available in 1.12.0rc0, will it be picked up in 1.12.0rc1?

@annarev @tatatodd Did we cherrypick this into the release?

@annarev @tatatodd @gunan, still not fixed in 1.12.0rc1 :-/

Sorry, I missed this comment.  We'll get this into RC2.

@tatatodd, thanks!


Leading zero when numbering is set to "1"

Please consider the following minimal example.
#import "theorems.typ": *
#show: thmrules

#let proposition = thmbox("proposition", "Proposition").with(numbering: "1")

#proposition[
  This is a proposition.
]

In the rendered PDF, the displayed number of the proposition is "01". How should I get rid of the leading zero in this case, i.e., "Proposition 1"?
My Typst version is 0.11.1. Thanks a lot for your help!

I hope people don't get annoyed by my advertising, but because nobody has been commenting/fixing for a week, I'm gonna recommend great-theorems, which separates the counter functionality from the theorem functionality.
For the counter functionality you can use one of the two packages rich-counters or headcount, and  in particular the counters should work perfectly.

You can set base: none, say
#let proposition = thmbox("proposition", "Proposition", base: none)


feat(headers) add bearer token support

this allows servers/clients using bearer tokens to work out of the box without having to implement their own bearer scheme. while this would be pretty easy seems like a more general thing that is useful for a lib like this

Thanks for contributing! Unfortunately, I'm here to tell you there were the following style issues with your Pull Request:

Commit: 28cfdeac55234c0088840be0b08d9132129a9635
Your commit message body contains a line that is longer than 100 characters
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com


Modified RawChip to render color as background of material

Modified RawChip to render color as background of material instead of container
Description
Fixes issue with chips that causes ripple effects to be obscured when chips are given a background color. Please see #73215 for more info.
Related Issues
#73215
#41461
Tests
I have not added any tests yet.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[ ] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[ ] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

Hi @NWalker1208, this has not been updated in a while, and is not in a state for code review, so I am going to close it for now. If you would like to come back and continue working on it, feel free to re-open! thanks!


Is there any way to know whether the scrcpy has been connected or not

On the server side (Android device), is there any way to know whether the scrcpy has been connected or not?
If possible, I want to do some automation with Tasker based on the scrcpy connection state.

No, there isn't. See #153.
Out of curiosity, what do you want to automate based on the scrcpy state?

because scrcpy can not work if phone is locked, so I want to set a larger screen lock time to prevent frequently screen locks

because scrcpy can not work if phone is locked

What do you mean? Black screen?
Is your problem related to the question in this issue?

Hello, to tack on to this I had a question -- is it even possible for an android app to detect the usage of this or screen mirroring software like this in general? I do not want to get banned from games for using this for accessibility reasons and just want to be sure. Thank you!


updated logo to match current

Description of changes

We recently updated our logo, so I removed the old logo and updated it with same file name to minimize changes on the backend.
Issue Resolved

Fixes #

Is that documented anywhere?

No. I'm not sure where to put information like that for just adding Code School logos.

#366 filed

I've just added the 25px to all four sides, as requested. Please let me know if I need to do anything else. Thank you!

Thank you @kylemh and @rickr! It looks great.


load_command, unload_command, and reload_command share a lot of duplicate code

This one is one I thought less about than the eval dupe code as mentioned in #1. I can probably deal with it using generators/coroutines, but it might not be as clean of a fix. I'll add it to plan for 0.1.0.


Remove buildModuleUrl from .eslintignore

buildModuleUrl was incorrectly left in .eslintignore. There were only a few fixes needed to re-enable linting for the file.
@IanLilleyT Could you please review?

Thanks for the pull request @ggetz!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.


fix select_epoch_snapshot

Explain your changes:
This PR fixes when we select the epoch snapshot we would always special-case the 0th epoch.
Explain how you tested your changes:
*
Checklist:

[ ] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closes #0000

!ci-build-me

!ci-build-me


extract scss to global style

extract scss to css global style webpack config example
something like extract material 2 theme _all-theme.scss to vendor.css

@Ardevik I can't see any benefit of extracting css in seperate file. component styles need to work with components. Global styles need to be loaded upfront by downloading as a sperate request. Even styles are part of main bundle, we are still having same size but reducing one http request, which might not be ideal in some situations (perhaps http2).
Can you explain what benefit we can get by having global styles seperate?

i dont know benefit from seperate css bundle, but your template use extract text webpack plugin, that extract vendor.css to vendor.css global style, which extract bootstrap.css. Because i use material design 2,
i just want use prebuilt  pellete(color/theme) from material design 2, but the prebuilt is _all-theme.scss, not css. i just want to know(example) how to use that prebuilt for all my component from this template

@Ardevik this porject isn't targetting a particular ui library. However you can try adding material css/scss in following location:
https://github.com/asadsahi/AspNetCoreSpa/tree/master/Client/styles
and reference them in:
https://github.com/asadsahi/AspNetCoreSpa/blob/master/Client/main.ts
currently a css vendor files is referenced in main.ts, but you can reference any css/scss files either from relative paths or from node_modules. An example from node_modules is used in this project by referencing bootstrap and font-awesome in vendor.css files.


Create pk_up.sql

Description

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

Checklist:

[ ] The title of the PR states what changed and the related issues number (used for the release note).
[ ] Does this PR requires documentation updates?
[ ] I've updated documentation as required by this PR.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have tested it for all user roles.
[ ] I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?

The SQL File name is not in the correct format: scripts/sql/pk_up.sql.


Not work with Firefox

Lib and Demo code not work with Firefox.

This is due to HTMLDialogElement.showModal() being disabled by default in Firefox. You can enable it by setting dom.dialog_element.enabled to true in about:config.


OCPBUGS-45392: Updating ose-cluster-capi-operator-container image to be consistent with ART for 4.19

Updating ose-cluster-capi-operator-container image to be consistent with ART for 4.19

/test unit

/close
Merged in https://github.com/openshift/cluster-capi-operator/pull/241


What about VSTS

How do I consume a package in the CD (release) part of the pipe line in VSTS (Azure DevOps (stupid name))?
Do I need to authenticate? I would hope not as I am in VSTS.
Thanks

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

ID: 899a78d6-9d08-7744-108d-10add2ba7e2c
Version Independent ID: 6ab31e96-fed8-4335-ed81-b97663d8300f
Content: Consume NuGet packages in Visual Studio
Content Source: docs/artifacts/nuget/consume.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

I have the same question. Pushed a project into Azure DevOps that uses a custom private Nuget feed, but build fails because it can't restore our packages....

+1
Raised a question here as well.
https://github.com/Microsoft/azure-pipelines-tasks/issues/8641

@arcotek-ltd and @cverburgh could you both check out the answer from the issue linked above and see if that helps?
I'm closing this as questions like these (re: "How do I xxxx?") are typically better fielded on StackOverflow. If there's a docs consequence that comes out of that conversation I'd love for you to open another issue with what the docs are missing so that I can help add good info that will help future users.