Set as Default for Posrgres Databases fails

System information:

Windows 10 Pro Version 2004 (Build 19041.84)
<IP_ADDRESS>002151353

Connection specification:

PostgreSql 9.6
PostgreSQL standard driver
Do you use tunnels or proxies (SSH, SOCKS, etc) : SSH

Describe the problem you're observing:
Switching to another database is clumsy and fails most of the time with error below:
SQL Error [08001]: Connection to <IP_ADDRESS>:15045 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

However, there is no connection issue and it was working fine on previous version. That was 6.2.4 or something.
Steps to reproduce, if exist:
Include any warning/errors/backtraces from the logs
org.postgresql.util.PSQLException: Connection to <IP_ADDRESS>:16042 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
	at org.postgresql.Driver$ConnectThread.getResult(Driver.java:403)
	at org.postgresql.Driver.connect(Driver.java:261)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.lambda$0(JDBCDataSource.java:157)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:174)
	at org.jkiss.dbeaver.ext.postgresql.model.PostgreDataSource.openConnection(PostgreDataSource.java:311)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:91)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:80)
	at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.getConnection(JDBCExecutionContext.java:181)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.getOriginal(JDBCConnectionImpl.java:60)
	at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCConnectionImpl.cancelBlock(JDBCConnectionImpl.java:693)
	at org.jkiss.dbeaver.model.runtime.BlockCanceler.cancelBlock(BlockCanceler.java:36)
	at org.jkiss.dbeaver.model.runtime.AbstractJob$JobCanceler.run(AbstractJob.java:221)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.net.ConnectException: Connection refused: connect
	at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method)
	at java.base/java.net.PlainSocketImpl.socketConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at org.postgresql.core.PGStream.<init>(PGStream.java:69)
	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:158)
	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
	at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
	at org.postgresql.Driver.makeConnection(Driver.java:452)
	at org.postgresql.Driver.access$100(Driver.java:61)
	at org.postgresql.Driver$ConnectThread.run(Driver.java:362)
	at java.base/java.lang.Thread.run(Unknown Source)
!SUBENTRY 3 org.jkiss.dbeaver.model 4 0 2020-02-19 11:41:40.873
!MESSAGE Connection refused: connect
!STACK 0
java.net.ConnectException: Connection refused: connect
	at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method)
	at java.base/java.net.PlainSocketImpl.socketConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
	at java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source)
	at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
	at java.base/java.net.Socket.connect(Unknown Source)
	at org.postgresql.core.PGStream.<init>(PGStream.java:69)
	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:158)
	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
	at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
	at org.postgresql.Driver.makeConnection(Driver.java:452)
	at org.postgresql.Driver.access$100(Driver.java:61)
	at org.postgresql.Driver$ConnectThread.run(Driver.java:362)
	at java.base/java.lang.Thread.run(Unknown Source)
!SESSION 2020-02-19 11:43:06.566 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.5
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.jface 2 0 2020-02-19 11:43:22.529
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2020-02-19 11:43:22.529
!MESSAGE A conflict occurred for CTRL+N:
Binding(CTRL+N,
	ParameterizedCommand(Command(org.eclipse.ui.newWizard,New,
		Open the New item wizard,
		Category(org.eclipse.ui.category.file,File,null,true),
		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@3da55998,
		[Parameter(newWizardId,New Wizard,null,true)],,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+N,
	ParameterizedCommand(Command(org.jkiss.dbeaver.core.sql.editor.open,SQL Editor,
		Open SQL editor (existing or new),
		Category(org.jkiss.dbeaver.core.database,Connection,Database Connection Commands,true),
		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@40ebb56,
		,,true),null),
	org.jkiss.dbeaver.defaultKeyScheme,
	org.jkiss.dbeaver.ui.perspective,,,user)
Binding(CTRL+N,
	ParameterizedCommand(Command(org.jkiss.dbeaver.core.sql.editor.create,New SQL Editor,
		Open new SQL editor (create new script),
		Category(org.jkiss.dbeaver.core.database,Connection,Database Connection Commands,true),
		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@5b2fc2c0,
		,,true),null),
	org.jkiss.dbeaver.defaultKeyScheme,
	org.jkiss.dbeaver.ui.perspective,,,user)

thanks for the bug report.

I still can't reproduce the problem.
But I've found (and fixed) a bug in connection invalidation procedure.

You may need to have multiple databases (not couple) like mine in that server. I can try testing it if the build is available somewhere.

@yrimal , EA version with fix is available here https://dbeaver.io/files/ea/

@uslss , The issue still persists on the latest version (7.0.). I was able to replicate it the following way :

Open query editor with database_A Set as Default and execute some query.
Change the Default database to database_B from Database Navigator and execute some query.
Now, from database navigator, change Default database to database_c from database navigator and try to execute some query.  Then you get the error like below:

SQL Error [08001]: Connection to <IP_ADDRESS>:12972 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

The bug was in SSH tunnel invalidation. We must keep original port number.

verified

Reopened. Still appears if dbeaver was left opened for a long (more than 1 hour) time) when trying to open sql editor

Does it happen only once or connection is completely broken?

Probably it is completely broken, invalidate doesn't help, only disconnect and then connect to db does

@uslss please try to reproduce it by putting your machine in sleep mode or by switching to another wifi or by plugging off the network.

can't reproduce it anymore in 7.0.1

Will let you know once I test @uslss

This issue appears to have fixed on Version <IP_ADDRESS>003211804 but with some other trade off. When switching Active data object, it's taking longer time compared to version 6.2.4. Some good amount of time is spent on Obtaining exclusive data sources lock .
CC: @serge-rider @uslss

Thanks for response @yrimal .
I will close this issue as solved.
Please create new issue if it is founded

@uslss ,
I'm concerned with the tag Can't reproduce. Since it can be reproduced in the version I originally mentioned, I don't think the label should be Can't reproduce .


Request ability to enable Istio support using Helm chart

Please describe your use case / problem.
As a user of Ambassador and Istio I would like to be able to deploy Ambassador with Istio support enabled using the Ambassador Helm chart.
Describe the solution you'd like
It would be helpful if there was a configuration option in the Helm chart that would add the configuration for the Istio sidecar into the Ambassador installation.
Describe alternatives you've considered
There is a recent document on the steps to enable Istio support.  However, this would need to be configured outside the Helm chart.
https://www.getambassador.io/docs/latest/howtos/istio/

moving this to helm chart repo


feat: Add gene migration incomplete banners to collections

Design: https://www.figma.com/file/TpoXVKFjd6MAl4ImidZ3wn/UI-Polish?node-id=302%3A383
Add the gene migration incomplete banner to the following collections to inform data consumers when a collection is still in the process of gene migration:

A molecular cell atlas of the human lung from single cell RNA sequencing (https://cellxgene.cziscience.com/collections/5d445965-6f1a-4b68-ba3a-b8f765155d3a)
Adult mouse cortical cell taxonomy revealed by single cell transcriptomics (https://cellxgene.cziscience.com/collections/a3c37598-b8e8-47db-92a9-eb91a77c9529)
Single-Cell RNAseq analysis of diffuse neoplastic infiltrating cells at the migrating front of human glioblastoma (https://cellxgene.cziscience.com/collections/558385a4-b7b7-4eca-af0c-9e54d010e8dc)
An integrated transcriptomic and epigenomic atlas of mouse primary motor cortex cell types (https://cellxgene.cziscience.com/collections/ae1420fe-6630-46ed-8b3d-cc6056a66467)
Shared and distinct transcriptomic cell types across neocortical areas (https://cellxgene.cziscience.com/collections/45f0f67d-4b69-4a3c-a4e8-a63b962e843f)
Single-cell gene expression profiling of SARS-CoV-2 infected human cell lines (https://cellxgene.cziscience.com/collections/d0e9c47b-4ce7-4f84-b182-eddcfa0b2658)
Muraro Pancreas (https://cellxgene.cziscience.com/collections/6e8c5415-302c-492a-a5f9-f29c57ff18fb)
Construction of a human cell landscape at single-cell level (https://cellxgene.cziscience.com/collections/38833785-fac5-48fd-944a-0f62a4c23ed1)
A Web Portal and Workbench for Biological Dissection of Single Cell COVID-19 Host Responses (https://cellxgene.cziscience.com/collections/b9fc3d70-5a72-4479-a046-c2cc1ab19efc)
An Atlas of Gene Regulatory Elements in Adult Mouse Cerebrum (https://cellxgene.cziscience.com/collections/5e469121-c203-4775-962d-dcf2e5d6a472)
Azimuth meta-analysis of human scRNA-seq datasets (https://cellxgene.cziscience.com/collections/2f75d249-1bec-459b-bf2b-b86221097ced)
Human cortical expansion involves diversification and specialization of supragranular intratelencephalic-projecting neurons (https://cellxgene.cziscience.com/collections/4f586cb6-972b-4ef7-a4ef-3c3800a3c004)

So sorry @brianraymor. I created this ticket under the parent epic, but I'm not sure how to link the issue to the PR without messing anything up, since it's single-cell vs. single-cell-data-portal. PR is here: https://github.com/chanzuckerberg/single-cell-data-portal/pull/1486

If you want, we could move or transfer this issue from single-cell to single-cell-data-portal, but I think that would mainly be cosmetic at this point.

I'll manually close this issue after it's QAing!


No healthy hosts meet the resource constraints

Rancher versions:
rancher/server: v1.6.0
rancher/agent: v1.2.2
Docker Version:
1.12.3
OS and where are the hosts located? (cloud, bare metal, etc):
Ubunt 16.o4
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node rancher
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Run Rancher server v1.6.0
Register few agents
Create a container with mapped port
Results:
container failed to start
Failed to allocate instance [container:1i407]: Bad instance [container:1i407] in state [error]: Allocation failed: No healthy hosts meet the resource constraints: [ports: [8302:8888/tcp], ResourceType: instanceReservation, Amount: 1]

Same problem

same problem

@rktechworld looks like you already have a service bound to port 8302. That's preventing your new service from coming up. Can you confirm that's the case?

Had a similar issue with the Mongodb catalog item, for some reason it bound to my external IP and since i only had 2 hosts and 3 replica members. After i removed the service link with a upgrade it worked :)

I have this same issue on Rancher 1.5.9 host docker 17.03.2-ce on Ubuntu Trusty.
Trying to run a load balancer:
Allocation failed: No healthy hosts meet the resource constraints: [ports: [443:443/tcp]
There is nothing running on port 443.

i have same problem with
kubernetes-rancher-kubernetes-agent
Allocation failed: No healthy hosts meet the resource constraints

for me the solution was to restart rancher.

The original reported issue sounds like there is not a host available with the requested port (either claimed or scale is bigger than amount of hosts available). If you are certain that the host is available, you can check View in API on that host (Infrastructure -> Hosts) and check publicEndpoints to see whats being used by what.
Please file a new issue so we can track it down if this is a real bug.

@superseb you are right, the port was already in use as was evident in the View in API ui, I was able to stop the process listening on this port on my host and then as @danielschlegel points out, I restarted rancher (by restarting the docker service fixed my issue service docker restart on my rancher host)
This fixed my issue

I'm having this problem as well. I have two healthy hosts and a service with scale of 2, but only scales to one host before failing with the "(Failed to allocate instance [container:1i392]: Bad instance [container:1i392] in state [stopping]: Allocation failed: No healthy hosts meet the resource constraints: [5002:80/tcp portReservation, instanceReservation: 1].)" error.
I checked the second host through View in API and port 5002 is not taken.


Roll engine 3e47b4bb39bb..26b30a464684 (6 commits)

https://github.com/flutter/engine/compare/3e47b4bb39bb...26b30a464684
git log 3e47b4bb39bb4993f03a278ea7b1c11ee6459b06..26b30a464684e7cbc1c76a98587154b9edb0c7a9 --no-merges --oneline
26b30a464 Roll src/third_party/skia 9adc82c73df0..46d0f9aad1e6 (41 commits) (flutter/engine#8736)
fdd8fdbf4 Fix reflective ctor invocation in FlutterFragment (flutter/engine#8735)
a56aa95e8 [scenic] Purge references to Mozart (flutter/engine#8712)
e4c439d37 Fix include paths in libtxt to prepare for upcoming Skia build change (flutter/engine#8723)
7c8ec376f Document that OpacityLayer's children are nonempty (flutter/engine#8707)
30fb4a697 Increase the memory usage estimate for EngineLayer (flutter/engine#8700)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Can I change states when using Dragula?

Hi!
I’m trying to use Dragula to implement a drag-and-drop exercise in our web application. The problem I’ve encountered is that we can’t change states from within the built-in Dragula functions. In the example further down I have a counter “counts” that counts each element that is dragged correctly. The problem is in the if-statement were I’ve written  /* the following line is not working */, here I would like to change states.
The problem is that I can’t use “this” and I can’t find anyway to make my code rerender from the Dragula function…
Do you have any idea on how to solve this problem?

Example:
dragulaCreator = (container) => {
let drake = Dragula([container, $('drop-target1'), $('drop-target2')])
   drake.on('drop', function(el, target){
    if ((el == $('drag-elements1'))&&(target == $('drop-target1'))){

           /* the following line is not working */
           this.setState({endExercise: true})
          }
    else {
           drake.cancel();
    }
 }

}

Is the this keyword the issue? With arrow functions that shouldn't be a problem, otherwise you'd have to bind it.
If dragulaCreator = (container) => {} works (and so you're using ES6) then you should do the same with the drop event handler:
drake.on('drop', (el, target) => {}
NB I wonder if comparing js DOM elements to jQuery selectors is assured to work..


End of year summary - 2023

This is a draft. Re-writing some sentences need to be done and I'm not sure I captured the Java R&D work correctly. We also need 2024 goals which will lead into a conclusion
Look at museum for the date below
The history of GemevaERS began in 1980s as a highly customizable product built for solving complex business problems in an efficient manner. 2023 marked a turning point for GenevaERS as the foundations have been laid to provide solutions on more than zO/S.
Product and project maturity
Continuous integration and deployment (CI/CD)
In 2023, the project published the open source code to GitHub. New automated build processes were created for the GenevaERS mainframe batch engine and the GUI. The automation for GenevaERS batch can create GenevaERS or the commercial offering called SAFR. The GUI build process now allows an option to build the initial Postgres metadata repository. The GUI is no longer exclusive to Windows as support for Ubuntu Linux and Mac was added this year.
The new capabilities allow an organization to build the GUI and batch engine themselves.
There is automatic testing in the new testing framework can now run on USS instead of a workstation. The new framework runs more quickly and is easier to add new test cases compared to the prior test framework.
Project maturity
The project has a proposed release roadmap for future versions of the GUI and batch engine and is exploring the features in GitHub projects to manage the work for each release.
A new committer joined the project. This is the first committer not affiliated with an organization using GenevaERS or IBM.
Research and development
The project worked with an organization to determine if GenevaERS can be extended to read data stored in an Adabas database. A read extension was created as a proof of concept (POC) and successfully read and processed data from Adabas.
The project experimented with the batch engine calling a lookup extension written in Java.
Java was called when the first read of data was needed. When analyzing the test results, on the first call to Java, the JVM was started and control went back to the batch engine which called Java again to read the data.
Was starting the JVM on the first data call the most efficient way to perform the startup and read processes?
An experiment was done to explicitly call Java to start the JVM as preparation for the call to read the data. The team found it was more efficient to pre-start the JVM before it was needed.
Documentation
Work completed on converting and ingesting existing documentation into a GitHub / Jekyll powered website
Run control enhancements
The first version of Java MR91 replaced the zO/S MR91. The featureset in Java MR91 will expand in 2024. The advanced debugging capabilities available after the run of MR91 have had multiple iterations to fix defects and add more user friendly outputs.

We can add the following as development work achieved on the Performance Engine in 2023.

Implemented an alternative indexing method for in-memory lookups. Alongside the original binary tree method there is now an option for using hash tables that is parameterizable. For different types of data - different data sizes, different key sizes - one method may be more efficient than another. (merged July 2023)
Added support for alphanumeric strings that are greater than 256 bytes (merged Sept 2023)
Added an alternative method for reading from DB2 using the DB2 unload untility (Neil to elaborate) (October 2023)


Feature addition/removal message

In the design call 102, this PR about gracefully handling UPnP support came up. We are looking for design approaches to both the current QT GUI, and the new Bitcoin Core App.
For Qt, we should work with existing UI patterns and elements. We may also want to split this out into its own issue.
For the core app, we should try to generalize this pattern. In future updates, other features may be added or removed, and we should let users know about those changes. Some of that can happen on the download page, but the application can also do its part.
In this scenario for UPnP, a feature was removed, and there is an alternative one the user can migrate to. The application can do this for the user automatically.
Other scenarios and considerations:

Different severities: Is this a critical change that the user should act on? Maybe the application should not even start or allow for other interactions until it is resolve. Or is it a "nice-to-know"?
Is an automatic migration path available or not? Or a manual one?
Should messages appear on every start? Or just once?

Related, we also spoke about gradual feature introduction based on adoption levels. For silent payments, for example, we may want to:

First offer it as a secondary feature available via "..." options.
In a later update, actually tell people the feature exists, but keep it in the options
Then make both address types (single use and reusable) easily accessible in the primary UI (toggling via tabs, for example)
Later make silent payment address the default and regular addresses only accessible via the "..." options

This is just an idea. And whether it's silent payments or some other feature, it would be good to bring users along as adoption happens (or not).
@rabbitholiness, you mentioned you already have an idea for this?

@GBKS here are some initial drafts of how such messages could look like. The examples are made up, but should illustrate the different categories.
1 - Decision is needed

2 - Dismissible warning

3 - Pure info

4 - New feature


Could not build wheels for chroma-hnswlib

after running the  pip install -r requirements.txt this is what i get.
Successfully built docx2txt asciitree pypika
Failed to build chroma-hnswlib
ERROR: Could not build wheels for chroma-hnswlib, which is required to install pyproject.toml-based projects
i have the latest version of python working and its in the system Path.

Hello iyaja
I would like to write python about with AI and Data center. Please you advice me about with a kind of program run on HTML

Setting this environment variable worked for me (macos):
export HNSWLIB_NO_NATIVE=1
source: https://stackoverflow.com/questions/73969269/error-could-not-build-wheels-for-hnswlib-which-is-required-to-install-pyprojec

Hello iyaja I would like to write python about with AI and Data center. Please you advice me about with a kind of program run on HTML

if i understand correctly you want to program in python to run on html? To run Python code within an HTML environment, you typically use frameworks or tools that allow Python to interact with HTML and the web. One popular framework for this purpose is Flask, which allows you to create web applications in Python.

Setting this environment variable worked for me (macos): export HNSWLIB_NO_NATIVE=1
source: https://stackoverflow.com/questions/73969269/error-could-not-build-wheels-for-hnswlib-which-is-required-to-install-pyprojec

well im using windows 11, i will look into it and see how it goes. also im a newbie to all of this so i will see how it goes

Wheels build error is usually because something isn't installed right, update and upgrade (sorry on android lingo) make sure your running newest python if all else fails get a pre bundled so it doesn't wheel....oh also try installing all the dev python files sometimes that helps

In my case I had to install a newer compiler on Ubuntu 22.04
sudo apt install -y gcc-14 g++-14

Then I set the CC and CXX variables
export CXX=/usr/bin/g++-14
export CC=/usr/bin/gcc-14


RIFE-ncnn macOS version fails to decode video to images

Hello! I've been trying to use RIFE-ncnn but it keeps failing when trying to decode the video to images so I can double the fps, I installed all ffmpeg dependencies using brew. Now I'm stuck, can anyone help? Here is my terminal output log file so you can see what I did: RIFE-ncnn output log

I've had the best luck with image sequences. Might not be ideal for you, but converting to an image sequence and pointing to the folder the images are in will work. Very fast if you have a GPU. My workflow is built around image sequences and After Effects, so it's easy to load in the sequence and output a video if needed.
Hope this helps if you can't get your videos to work.


Errors being returned as text, return as json

On this part of the code
if (schemaValidationErrors) {
  res.status(400).end(schemaValidationErrors);
  return;
}

It return the errors as "application/text"

I think changing to this:
if (schemaValidationErrors) {
  return res.status(400).json(schemaValidationErrors);
}

should fix that

I was able to make it work using "pnpm patch" command. If you use npm, you can try "patch-package"
I changed from "JSON.stringify({ errors })" to only "({ errors })"
And the res.status.json part also


Improve error message

When no input file found. It would be nice to show where are supposed poto file to be found. as Missing input file : expected location src/main/proto.  This should be done simply by toString on the JkFileTree.
Method : generateSources
------------------------
Starting program : [protoc, --java_out=C:\Users\djeang\eclipse-workspaces\jerkar\toto\build\output\proto] ...
|  Missing input file.
|  Method generateSources failed in 0.015 seconds.

Sadly, I don't any control over that error message since it's written by protoc.
If we show an error in Java when the source file list is empty (which is what I think you're suggesting), that would remove the ability for users to have non-source-file-based invocations of protoc, like:
JkProtobuf.of(this).andExtraArgs("--version").compile();

This is a trivial example of course, but protoc has different use cases where source files are not used. I'd hate to restrict the usefulness of andExtraArgs() by throwing errors unnecessarily.

Ok may we can just remind the user about the actual attributes of current  JkProtobuf instance in case of failure.

how about this? 74ae81e0e68887f773165e76efbbfa1903b6b276

fixed by #6


notif: package info indirection

In this PR, I made the changes to indirect PackageInfo.fromPlatform through a method on ZulipBinding.
Steps I followed :

Update the ZulipBinding to provide package info: Add a method in ZulipBinding to return the package name. This method will wrap the call to PackageInfo.fromPlatform() and make it test-friendly.

Override the method in TestZulipBinding: In the TestZulipBinding, override getAppBundleId to return a mock or predefined value for testing.

Refactor the code to use getAppBundleId: Replace the direct calls with the indirection from Zulip Binding class.

Write a test for the above logic under a group called 'tokens'. The allow the grouping of all tests related to tokens, I created a separate group : tokens.

Fixes #407

Hi @Abhisheksainii, thanks for the PR. It will need to follow our Git style before it gets reviewed by a core team member.

@chrisbobbe As per what I learned from the guide, I tried explaining the changes in my PR and also made the commits in such a way that explains what I did and why I did those changes. If there is anything else, for example, drafting this PR, please guide me.
Thanks

@PIG208 changes done as requested, kindly take a look at them.

Thanks for the update. Please review the "commit style guide" referenced in the README and update your commits: https://github.com/zulip/zulip-flutter?tab=readme-ov-file#submitting-a-pull-request
Also, it looks like the CI is failing. Could you fix that?

Thanks for the update. Please review the "commit style guide" referenced in the README and update your commits: https://github.com/zulip/zulip-flutter?tab=readme-ov-file#submitting-a-pull-request
~Also, it looks like the CI is failing. Could you fix that?~ Looks like the CI failure is not relevant to this PR.

@PIG208 I checked the commits and they pretty much explain what they do. Am I supposed to add some more description?

Please read the Zulip commit style guide, which is linked from the README where Zixuan pointed to.

Thanks for the update. Please review the "commit style guide" referenced in the README and update your commits: https://github.com/zulip/zulip-flutter?tab=readme-ov-file#submitting-a-pull-request
~Also, it looks like the CI is failing. Could you fix that?~ Looks like the CI failure is not relevant to this PR.

@PIG208 commits updated according to the style guide.

@PIG208 kindly review the changes.

Thanks for the update @Abhisheksainii! Left some comments.


row.set edited the whole row instead only that cell

I used the Google Sheets QUERY function to visualize data from another sheet but when I use row.set instead of updating only that cell, it replaced the whole row which make QUERY function useless and the code broken

yeah unfortunately this is a limit of using the values based api methods which the row-based calls depend on.
Would take some thought to figure out how to better support more complex cases while still maintaining the easy DX of the row-based methods...
In the meantime, I'd suggest using the cell-based methods


Neighborhood-Attention whether there is a requirement for the size of the tensor?

I would like to ask when I have changed the self-attention of transformer to natten and this error occurs.
File "/root/autodl-tmp/pycharm_project_983/basicsr/archs/my_arch.py", line 131, in forward
x = self.attn(x)
File "/root/miniconda3/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
return forward_call(*args, **kwargs)
File "/root/.virtualenvs/pythonProject/lib/python3.8/site-packages/natten/natten2d.py", line 95, in forward
attn = natten2dqkrpb(q, k, self.rpb, self.kernel_size, self.dilation)
File "/root/.virtualenvs/pythonProject/lib/python3.8/site-packages/natten/functional.py", line 186, in natten2dqkrpb
return NATTEN2DQKRPBFunction.apply(query, key, rpb, kernel_size, dilation)
File "/root/miniconda3/lib/python3.8/site-packages/torch/autograd/function.py", line 506, in apply
return super().apply(*args, **kwargs)  # type: ignore[misc]
File "/root/miniconda3/lib/python3.8/site-packages/torch/cuda/amp/autocast_mode.py", line 106, in decorate_fwd
return fwd(*args, **kwargs)
File "/root/.virtualenvs/pythonProject/lib/python3.8/site-packages/natten/functional.py", line 119, in forward
attn = _C.natten2dqkrpb_forward(query, key, rpb, kernel_size, dilation)
RuntimeError: numel needs to be smaller than int32_t max; otherwise, please use packed_accessor64

Thank you for the response. My configuration is as follows:
embed_dim: 96
kernel_size:7
num_heads: [3, 6, 12, 24 ]
depths: [2, 2, 6, 2 ]
dilations: [  [1, 8],
[1, 4],
[1, 2, 1, 2, 1, 2],
[1, 1],
]
x_size:(1,1120,1680,96)
torch==2.0.0+cu118

Thanks for sharing that. We'll try and resolve this on our end and get back to you.

Could you please try this branch and see if it resolves your issue?
https://github.com/alihassanijr/NATTEN-Torch/tree/int64
It avoids the error on our end, but there's still more changes that I'd add before merging into the main branch and pushing a new release.
If you're unfamiliar with building from source, just clone my fork, switch to the branch, and build:
git clone https://github.com/alihassanijr/NATTEN-Torch

cd NATTEN-Torch

git checkout int64

pip3 install ninja # assuming torch is already installed
pip3 install -r requirements.txt # if torch is not installed -- will install 2.0 + cu118.

make

Thank you very much. That solves my problem


Error while importing

I am seeing This error while importing my character item and skills .... screen shot is given in the attachment

You need to update the program; that issue was fixed in 1.4.67.


Change new shaka.text.Cue() to process formatting information on the input text

Have you read the FAQ and checked for duplicate open issues?
Yes.
Is your feature request related to a problem? Please describe.
Well, I had to do a workaround, but it's only partly right.
Describe the solution you'd like
It would be super-great if new shaka.text.Cue() would parse the formatting information on the input text.  For example, if the text looks like <b>This is my cue text</b> then the cue's fontWeight property should be set to "bold".  This would apply to the <b>, <i>, <u>, and <v> tags.
Describe alternatives you've considered
I'm handling the three simple tags myself and setting the fontStyle, fontWeight, and textDecroration properties on the cue after calling the constructor.  But the <v> tag is a bit more complex and it would be nice if shaka-player handled it.
Additional context
There is, of course, already code that does this.  It's used when parsing a subtitle text file, but isn't called by the shaka.text.Cue() constructor.

If these were to be implemented, it should also handle escaped characters, such as  .

Is anyone interested in this? The issue will be automatically closed in 7 days if no one answers. Thanks!


Update flyway-core to 8.5.3

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

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

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #620.


Trying to fix CI for #185

Based on https://github.com/Wakamai-Fondue/wakamai-fondue-site/pull/185
Changing the package-lock.json to fetch from https instead of ssh, since the repos are now public.

Okay, now the error is for missing assert which, according to some duckduckgoing, is fixable by simply upgrading to a newer Node.
Fingers crossed!

Can you rebase? I believe to have catched this in #185.

@Ryuno-Ki I think we can delete this. I was editing the lockfile directly in an attempt to get something working, but this doesn't look like the way to go. I'll try to upgrade Node and restart this quest in another PR!


Repo sync for protected CLA branch

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

Learn Build status updates of commit 8751727:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Better filtering

More advanced filtering options, including an easier way to add filters as closures.  This may require some real-world usage to explore the solution space.

Geographic data is hard to handle without lat/lon distance filtering.  Could add support for https://github.com/darkskyapp/sphere-knn


BUG: The invalid incorporation date error message doesn't hide after the initial date selection @adeel0202

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to Profile > Workspace > Connect a bank account > Connect manually
Enter a valid routing number and account number
Click save & continue
On company information page, click save & continue without selecting the incorporation date (clear the date first if already selected)
Click on the calendar icon
Select any date (Observe the invalid date error is still there)
Click on the calendar icon again
Select any other date (Observe the invalid date error hides this time)

Expected Result:
The error hides after the initial selection
Actual Result:
The error doesn't hide after the initial selection, it hides after the second selection
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.2.13-3
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/195478378-3652fdfd-9c42-4ec4-8a70-084b49288f63.mov
https://user-images.githubusercontent.com/43996225/195478391-2d6ed09d-d0dc-4bbf-9d6f-410c179c3863.mp4
Expensify/Expensify Issue URL:
Issue reported by: @adeel0202
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1665603979725659
View all open jobs on GitHub

Hmm, I'm having trouble reproducing this. Getting a spinner on staging when trying to load the Connect a bank account page.
Will circle back to this tomorrow.

Proposal
add this.clearErrors = inputKeys => ReimbursementAccountUtils.clearErrors(this.props, inputKeys); after line 41
https://github.com/Expensify/App/blob/8aec877a678d09600e110e0fc7bc597e342ef342/src/pages/ReimbursementAccount/CompanyStep.js#L41
and use this.clearErrors(['incorporationDate', 'incorporationDateFuture']); at line 104 instead
https://github.com/Expensify/App/blob/8aec877a678d09600e110e0fc7bc597e342ef342/src/pages/ReimbursementAccount/CompanyStep.js#L104

Sending on to Eng to see if they can reproduce. I cannot get further in testing this process on staging and am stuck at a spinner.
Eng, can you reproduce as part of your triage and then recommend fixing this or not?

I am unable to reproduce this.
https://user-images.githubusercontent.com/42391420/196494655-17633812-c666-420e-a787-a06ea1b6395a.mp4

@stitesExpensify please follow the steps mentioned or follow the videos attached. You have to select the date from calendar that shows after clicking on the calendar icon, instead of entering the date manually.

@eVoloshchak what do you think of @Puneet-here's proposal?

@Puneet-here proposal looks good to me too! @muttmuure can you please create an upwork job so that they can apply?

Bump @muttmuure :)

Damn this wasn't showing in my K2 - sorry!
Job is posted here

Hi @muttmuure, I have applied to the job. You can assign me now. I will raise the PR by tomorrow

This PR was deployed to Production 3 days ago, I'm not sure why the payout countdown hasn't started yet

I've paid @Puneet-here and @eVoloshchak - @adeel0202 can you apply to the job here so you can get paid

Everyone has been paid, closing out. Great work everyone.


[5.1] Don't print extensions to conform to protocols that aren't printed

Cherry-pick of #24788 to the 5.1 branch. Reviewed by @rintaro and @brentdax.
rdar://problem/50748072

@swift-ci Please test


Change PathFollower base class from Sprite to Container

This PR (delete as applicable)

Updates the Documentation
Adds a new feature

Describe the changes below:
This PR enables Phaser to move any game object along a path not only a single sprite. The base class of PathFollower has changed from Sprite to Container.
Some of the doc-strings my need a rework because of the new base class. Containers can't be animated?
This breaks all old versions using the PathFollower. This will break all PahtFollower phaser3-examples.
The API changed from

PathFollower (scene, path, x, y, texture, frame)

To:

PathFollower (scene, x, y, path, children)

Reason:
Every's GA parameter list starts with scene, x, y. So, why not Pathfollower?
Replaced texture, frame with children
From:

startFollow: function (config, startAt)
To:

startFollow: function (config)

Reason:
startAt was not used.
From:

preUpdate: function (time, delta)

To:

preUpdate: function ()

Reason:
not used any more
Example
var config = {
    type: Phaser.AUTO,
    width: 800,
    height: 600,
    backgroundColor: '#2d2d2d',
    parent: 'phaser-example',
    scene: {
        preload: preload,
        create: create
    }
};

var game = new Phaser.Game(config);

function preload ()
{
    this.load.image('ball', 'assets/sprites/shinyball.png');
}

function create ()
{
    var points = [ 50, 400, 200, 200, 350, 300, 500, 500, 700, 400 ];

    var curve = new Phaser.Curves.Spline(points);

    var graphics = this.add.graphics();

    graphics.lineStyle(1, 0xffffff, 1);

    curve.draw(graphics, 64);

    graphics.fillStyle(0x00ff00, 1);

    for (var i = 0; i < points.length; i++)
    {
        graphics.fillCircle(points[i].x, points[i].y, 4);
    }
    var follower = this.add.follower(50, 400, curve);

    for(var j = 0; j < 4; j++){
        var ball = this.add.sprite(0, 50 * j , 'ball');
        follower.add(ball);
    }

      follower.startFollow({
        duration: 5000,
        yoyo: true,
        repeat: -1,
        rotateToPath: true,
        rotationOffset: 90
    });
}

I like how minimal yet impactful this change is.
I agree that Path Followers shouldn't be limited to Sprites. I'm not sure whether it should be bound to being a Container, but that certainly is one way to enable any Game Object to be a Path Follower.

How about adding a parameter to change the default base class?

How about adding a parameter to change the default base class?

My previous comment was likely in the hopes that there would be a way to extend GameObject, or even decorate it, but JS makes that kind of tricky, because GameObjects have all kinds of methods that we can't magically forward to.
As such, a Container is the best approach I can think of at the moment.
Once the JSDoc has updated according to your API changes we could look at merging this. :+1:

Having reviewed this a little further, I think PathFollower could be simplified to use augmentation similar to the way MatterGameObject works.
This would involve moving PathFollower properties and methods to a Game Object Component class instead. I'm going to look into implementing this.

Yes, on the js side, this would probably be a better way to achieve this.
But on the ts side, I have concerns about the definition. As you can see,
the MatterGameObject strips all typescript definitions down to a plain
GameObject.  Wouldn't
it be better to return an interface reflecting the added features?
Am 16.08.2018 2:17 nachm. schrieb "Chris Andrew"<EMAIL_ADDRESS>Having reviewed this a little further, I think PathFollower could be
simplified to use augmentation similar to the way MatterGameObject
https://github.com/photonstorm/phaser/blob/15c4334/src/physics/matter-js/MatterGameObject.js
works.
This would involve moving PathFollower properties and methods to a Game
Object Component class instead. I'm going to look into implementing this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/photonstorm/phaser/pull/3638#issuecomment-413525668,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYwmCkRQcyFpUBec4AwKI1GCUhzyOkFks5uRWLcgaJpZM4TuSyr
.

See #3936 for a demonstration of what I had in mind. It's not quite finished, but gets the idea across.

Wouldn't it be better to return an interface reflecting the added features?

To elaborate on my previous comment, I totally agree here. The problem is that the provided Game Object could be just that: any type of Game Object. I would assume there isn't a way to dynamically map return types based on given parameter types in TypeScript.
Another option would be making a mixin type def for every type of Game Object: {PathFollowerSprite|PathFollowerContainer|PathFollower*}. But that seems a bit unfriendly for custom Game Objects.
The true solution to this kind of problem is an Entity Component System, but Phaser isn't designed this way.

Thank you for taking the time to open this PR, however, I'm going to close it off. I've since moved all PathFollower properties and methods to the new PathFollower Game Object component, which can be applied to any custom Game Object now.


latest inline-c is 8.0.1 ready

Stackage-curator gives an error I don't understand at Travis build time:
stackage-curator: InvalidYaml (Just (YamlParseException {yamlProblem = "did not find expected key",
    yamlContext = "while parsing a block mapping", yamlProblemMark = YamlMark {yamlIndex =
    47384, yamlLine = 1853, yamlColumn = 8}}))

You need to remove the [] above your edit

Thanks @bergmark , looks ok now

Thanks!

Fails to build:
Preprocessing library inline-c-<IP_ADDRESS>...
[1 of 9] Compiling Language.C.Types.Parse ( src/Language/C/Types/Parse.hs, dist/build/Language/C/Types/Parse.o )

src/Language/C/Types/Parse.hs:241:1: warning: [-Wredundant-constraints]
    • Redundant constraint: Monad m
    • In the type signature for:
           cIdentStyle :: (TokenParsing m, Monad m) => IdentifierStyle m

src/Language/C/Types/Parse.hs:695:1: warning: [-Wredundant-constraints]
    • Redundant constraint: Hashable i
    • In the type signature for:
           arbitraryCIdentifierFrom :: (Hashable i, QC.Arbitrary i) =>
                                       ArbitraryContext i -> QC.Gen CIdentifier
[2 of 9] Compiling Language.C.Inline.HaskellIdentifier ( src/Language/C/Inline/HaskellIdentifier.hs, dist/build/Language/C/Inline/HaskellIdentifier.o )
[3 of 9] Compiling Language.C.Types ( src/Language/C/Types.hs, dist/build/Language/C/Types.o )
[4 of 9] Compiling Language.C.Inline.FunPtr ( src/Language/C/Inline/FunPtr.hs, dist/build/Language/C/Inline/FunPtr.o )

src/Language/C/Inline/FunPtr.hs:40:5: error:
    • The constructor ‘TH.VarI’ should have 3 arguments, but has been given 4
    • In the pattern: TH.VarI _ ty _ _
      In a case alternative:
          TH.VarI _ ty _ _
            -> [| $(mkFunPtr (return ty)) ($(TH.varE name)) |]
               pending(rn) [<splice, TH.varE name>,
                            <splice, mkFunPtr (return ty)>]
      In a stmt of a 'do' block:
        case i of {
          TH.VarI _ ty _ _
            -> [| $(mkFunPtr (return ty)) ($(TH.varE name)) |]
               pending(rn) [<splice, TH.varE name>,
                            <splice, mkFunPtr (return ty)>]
          _ -> fail "mkFunPtrFromName: expecting a variable as argument." }

8dbc857
Also please remove the GHC 8 comment when you're ready.

@juhp Sorry for having to revert. This means that the latest version is not on Hackage yet. I'll investigate


Investigate changing to use __solve and __init for adjoints and error throwing

Using __solve as mentioned in https://docs.sciml.ai/DiffEqDevDocs/stable/contributing/adding_packages/ allows the package to use the DiffEqBase.jl high level solve handling:
https://github.com/SciML/DiffEqBase.jl/blob/master/src/solve.jl
This will throw better error messages and make the adjoints work. However, we should time it to know if there is an overhead induced by this. There shouldn't be, but we should make sure.

Done in https://github.com/SciML/SimpleNonlinearSolve.jl/pull/27


[Feature] Configure or pass parameters to control whether the merge confirm dialog is displayed

Initial checklist

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Problem
I'm using "range.merge()" to merge cells，but i don't want to show the confirm dialog.

Would it be better to use 'range.merge(false)' or 'range.mergeWithNoConfirm()' ?

maybe this solution will solve your problem click

Duplicate of #3633


Remote mode disables Error text from PowerShell

Hello!
If I have remoteMode enabled for my powershell session, whenever I encounter a powershell error from a command, the PowerShellResponse that I get from that command does not have the error message. Instead it shows that the error field is false and the command output is "\r\n". Is this intended or am I missing something?
Thanks!

Hello,
Does it take a lot of time to respond? What is the value of timeout field in the response?


Use Chroma fallback when no language is specified

Currently, when using code fences without language specified (and guessSyntax is disabled), no CSS class or style is added to pre/code. I think it would be more useful to use fallback style instead -- like it happens when guessSyntax is used and the language isn't identified -- as it would use a consistent fore/background color without special CSS handling.

This actually may be in https://github.com/yuin/goldmark-highlighting

Related to, or duplicate of, https://github.com/gohugoio/hugo/issues/8824.


feat(calling): Call user indicators

What this PR does 📖

Adds indicators to the active call ui that shows if a user is muted, deafened or recording
- ATM it seems that the values in the call are not updated correctly

Which issue(s) this PR fixes 🔨

Resolve #1595

Note
Needs #1609 first to fully function

Very very very minor, it looks like the edge of the profile picture cuts through the muted icon and looks a little weird

increase icon background so it should be more clear

@Flemmli97 so I retested with the latest commits and still seems to look a little off. Like the middle part of the microphone is missing

thats intendeted. the icon just looks that way

@Flemmli97 so I retested with the latest commits and still seems to look a little off. Like the middle part of the microphone is missing

thats intended. the icon just looks like that


Fixed #240: asan leak in load_server_config

This looks good. Please use the Squash and merge button to merge to main.


[Snyk] Upgrade io.grpc:grpc-api from 1.59.1 to 1.61.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade io.grpc:grpc-api from 1.59.1 to 1.61.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 5 versions ahead of your current version.
The recommended version was released a month ago, on 2024-02-02.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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


paper question

Below is the content of infoNCE, a contrastive learning loss in your paper (page 3) :

Below is the contrastive setting of the experiments/pascal/1464/ours/config.yaml :

According to the contrastive learning setup in your paper,
M is the number of anchor pixels, and N is the number of negative samples. (M=50, N=256)
However, in config.yaml it seems that (num_negatives is 50) and (num_queries is 256).
Regarding the infoNCE loss formula, I think it should be M=num_queries=256, N=num_negatives=50.
Am I wrong?
Also, I don't quite understand the definition of positive and negative samples in contrastive learning described in your thesis.
Can you explain positive samples and negative samples in more detail?
Thank you in advance.

Please follow the configuration provided by our code.
Positive samples $(q, k^{+})$ mean these two features (possibly) belong to the same category, and InfoNCE aims to pull them together.
Negative samples $(q, k^{-})$, on the contrary, indicate these two features (possibly) do not belong to the same category. We should push them away by minimizing InfoNCE.


"python setup.py egg_info" failed with error code 1 in /tmp/pip-install-lyc8tzkz/fastdtw/

Hi All,
I have a RHEL 7 server and I have installed python 3.6 in virtual environment and I am trying to install fastdtw package in it but getting below error. I am not able to understand it, could you please help me resolve this issue.

(py36-venv) [user@server py36-venv]$ pip install fastdtw --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org
Collecting fastdtw
Downloading https://files.pythonhosted.org/packages/fa/ef/a4cf2d72518b5fccd302 100% |ââââââââââââââââââââââââââââââââ| 122kB 2.7MB/s
Complete output from command python setup.py egg_info:
Download error on https://pypi.org/simple/pytest-runner/: [SSL: CERTIFICATE_ERIFY_FAILED] certificate verify failed (_ssl.c:777) -- Some packages may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777) -- Some packages may not be found!
No local packages or working download links found for pytest-runner
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-lyc8tzkz/fastdtw/setup.py", line 77, in
setup(**kwargs)
File "/root/pydev/py36-venv/lib64/python3.6/site-packages/setuptools/init.py", line 144, in setup
_install_setup_requires(attrs)
File "/root/pydev/py36-venv/lib64/python3.6/site-packages/setuptools/init.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/root/pydev/py36-venv/lib64/python3.6/site-packages/setuptools/dist.py", line 724, in fetch_build_eggs
replace_conflicting=True,
File "/root/pydev/py36-venv/lib64/python3.6/site-packages/pkg_resources/init.py", line 782, in resolve
replace_conflicting=replace_conflicting
File "/root/pydev/py36-venv/lib64/python3.6/site-packages/pkg_resources/init.py", line 1065, in best_match
return self.obtain(req, installer)
File "/root/pydev/py36-venv/lib64/python3.6/site-packages/pkg_resources/init.py", line 1077, in obtain
return installer(requirement)
File "/root/pydev/py36-venv/lib64/python3.6/site-packages/setuptools/dist.py", line 791, in fetch_build_egg
return cmd.easy_install(req)
File "/root/pydev/py36-venv/lib64/python3.6/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-lyc8tzkz/fastdtw/

I directly downloaded the package files and used it.
Thanks


fixes typo: are -> our

Fixes a typo.

Already corrected in https://github.com/twitter/bootstrap/pull/1480


Improved make install target for custom prefix

Allows install on custom prefix with make PREFIX=/opt/local install.

Great contribution!
What do you think of making it lowercase?
I checked many places on internet and it appears to be the default. Example:
https://stackoverflow.com/questions/29366974/in-a-makefile-do-we-use-prefix-or-prefix

As you prefer. I am used to lowercase in autotools/configure, and uppercase for configurable options in pure make, though.
I am afraid I forgot to explain its use in Readme...

By the way, binn is lovely. I am adding it here: xtemplate

I am used to lowercase in autotools/configure, and uppercase for configurable options in pure make

Indeed, me too. But I guess we should use the default for this parameter.
Or to support both cases, if possible.

By the way, binn is lovely. I am adding it here: xtemplate

Nice!


THIS WEBSITE REDIRECTS TO A SPAM EXTENSION VIRUS
FIX IT OR GET TAKEN DOWN FOR HOSTING VIRUSES

Thanks for bringing that to my attention, I guess I forgot to renew that domain and someone has squatted it.

I've now changed the owner domain to callumlocke.com, should come through whenever the Store approves the change


An 5098 refactor token transfer

Building the silver models here, may take some time.
I think there's a better way to segment these out.


Incorrect attribute linking to core Semantic CSS

Great project, good work so far!
On your demo site, https://ng-semantic.herokuapp.com/#/, you incorrectly use the 'src' instead of 'href' to link to the CDN providing the core semantic CSS.
Currently: <link rel="stylesheet" type="text/css" src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.2/semantic.min.css">
Should be:
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.2.2/semantic.min.css">

Tnx, fixed :+1:


Version requirements for Python dependencies too strict

System information

TensorFlow version (you are using): 2.4.0
Are you willing to contribute it (Yes/No): Yes

Describe the feature and the current behavior/state.
Up until 2.3.1 the version requirements in the setup.py file where of the form foo >=x.y or foo >=x.y,<z.q, i.e. there was a minimum and a potential maximum version specified. This allows for TensorFlow to be installed alongside other Python packages with own requirements.
However https://github.com/tensorflow/tensorflow/commit/aafe25d3f97d645bca91b34a9476eb770d1abf90 changed that significantly and IMO to the worse: It basically pins a specific major and minor version.
I think this is overly eager. For example TF works fine with protobuf 3.9.2 or 3.10 but now requires 3.13.x. Similar the wheel version doesn't really matter much (a 0.26 is already enough) but it now requires a 0.35.x
This is really bad for forward and backward compatibility. For example the system Python (e.g. on a HPC cluster, which can't be changed) could include a newer wheel (say 0.36.0) for e.g. security reasons. Now TF cannot be installed in that environment any longer even though there is no actual reason but that arbitrary limitation to a version which might have been the most recent at some point in time. Also an already installed wheel 0.33.0 can't be used although everything would work.
And also cross compatibility is affected. Let's say a user needs to install a software which needs a feature from wheel 0.36, this can now not be installed because TF limited the version to 0.35
Will this change the current api? How?
No.
Who will benefit with this feature?
Everyone using TF in existing environments and/or with other packages
Any Other info.
My suggestion is to revert the version list back to what it was using min and max versions and be quite liberal there too (e.g. numpy >=1.16 works just fine and even just limiting to either pre 1.19 or post 1.19 would exclude whole classes of other software). The ~= notation can be used where it makes sense, e.g. for tensorboard whose major and minor version must match the TF version.

Based on my reading, wheel ~= 0.35 means any wheel version from 0.35, 0.36, ... up to 1.0 (exclusive) can be installed, as the resolver picks the latest version from cache that still satisfies all the constraints.
~x.y means every version after x.y but before x+1.0.
We should not be using >= x.y because that harms releasing patch releases. We've had issues when a dependency released a new version and suddenly tests started failing.

This is true, wheel is currently set at >=0.36 < 1.0. However that is needlessly to high. E.g. on our cluster we have wheel 0.33.6 installed (such stuff usually gets installed once and updated once a year when a new toolchain generation gets installed which changes pretty much everything) and that version would well be enough. There are no features used which are not present in 0.33 so the requirement is too strict and was likely simply generated by simply using whatever was the latest version at that time. IMO the better approach would be to translate the old version requirements (in this case: 'wheel >= 0.26') to the new feature which would be wheel ~= 0.26.
For six it is even worse: Before: 'six >= 1.12.0', Now: six~=1.15.0, so this is restricted to the 1.15.x versions and 1.12 or 1.16 or not accepted which I see no reasoning for.
So my point is not that it is wrong to restrict the major version, but that indistinctly restricting the minor version and raising the minimum version without a reason should be avoided to not break peoples environments.
To me it looks like an oversight in a search&replace action not an intentional change.

That makes sense. I will try expanding the bounds.
The change was to go ahead of the new pip resolver, to not cause errors. That's why we picked restrictive bounds for now and will slowly expand, based on this feedback.

That makes sense. I will try expanding the bounds.
The change was to go ahead of the new pip resolver, to not cause errors. That's why we picked restrictive bounds for now and will slowly expand, based on this feedback.

Do you have any specific testsuite to run tensorflow with changes in requirements? It might be a computationally intensive task to check all the TF parts so having a testsuite specific for this case might be nice. We have a component that can generate software stacks following programmed rules (a programable sw stack resolver). We spotted more issues in TF dependencies - see for example https://developers.redhat.com/blog/2020/09/30/ai-software-stack-inspection-with-thoth-and-tensorflow/

There is no simpler test-suite. We are building the pip and testing that it can be installed with the newer pip resolver.
Also, linking #44467 to this one since it is mostly caused by overly-large bounds.

It seems we will need to increase upper bounds of dependencies to support python3.9 without overcomplicating setup.py

There is also https://github.com/tensorflow/tensorflow/issues/35027#issuecomment-734791293 that suggests another issue with too lax dependencies.

There is also #35027 (comment) that suggests another issue with too lax dependencies.

Not really. The users reported an incompatibility with absl-py < 0.9 but TF has required >= 0.9 before the change mentioned here, so that isn't a recent issue at least

Agree, it's just a datapoint to not go below for absl.

Another datapoint (for when we can finally tackle this): numpy should be restricted to be either above 1.20 (and drop py36 support) or below 1.19.
Breaking change: https://numpy.org/doc/stable/release/1.20.0-notes.html#the-pyarray-descrcheck-macro-is-modified

Breaking change: https://numpy.org/doc/stable/release/1.20.0-notes.html#the-pyarray-descrcheck-macro-is-modified

FWIW: This macro is not used in TF and a portable solution exists (use the explicit function)

Most builds were failing yesterday because of numpy 1.20. We are currently limiting all dependencies/numpy so that we don't get numpy 1.20 in the CI.

Most builds were failing yesterday because of numpy 1.20. We are currently limiting all dependencies/numpy so that we don't get numpy 1.20 in the CI.

Also ran into 1.20 not being supported. Compiled tf 2.4.1 and the tf wheel wants to remove my numpy 1.20 and replace it with 1.19.5. In addition I have to rebuild at least pandas - my pandas was built w/ numpy 1.20 installed, and trying to import pandas now says ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject.

Another datapoint (for when we can finally tackle this): numpy should be restricted to be either above 1.20 (and drop py36 support) or below 1.19.

@mihaimaruseac If I read this correctly, should TensorFlow=2.4.x use numpy>1.20 for Python>=3.7 and numpy<1.19 for Python==3.6?

@fridex sure, but this will have diverging behavior (also, 1.19.5 is good)
@edrozenberg that's why we're limiting numpy to ~1.19.2 to get all the patches on 1.19 series.
Once we can drop support for python 3.6 (or numpy adds it back), we'll invest into moving to > 1.20)

@fridex sure, but this will have diverging behavior (also, 1.19.5 is good)

@mihaimaruseac , thanks for the clarification. I'm not sure if https://github.com/tensorflow/tensorflow/issues/47117 is somehow associated as there were issues with numpy==1.19.5. Is it OK to always run numpy==1.19.5 with TensorFlow 2.4 or is there a specific issue with numpy=1.19.5? Sorry, it's not directly clear to me from the issue and logs, especially https://github.com/tensorflow/tensorflow/issues/47117 confuses me. Thanks for your time.

1.19.5 is good. We have no successful 1.20 build (we did not try to get one)

numpy >=1.16 works just fine and even just limiting to either pre 1.19 or post 1.19 would exclude whole classes of other software). T

This is exactly our issue.

Just ran into another problem caused by TensorFlow using ~= instead of >= for its dependencies:
ERROR: Cannot install -r requirements.txt (line 11), -r requirements.txt (line 17) and -r requirements.txt (line 33) because these package versions have conflicting dependencies.
The conflict is caused by:
    mypy 0.910 depends on typing-extensions>=3.7.4
    pylint 2.11.1 depends on typing-extensions>=3.10.0; python_version < "3.10"
    tensorflow 2.6.0 depends on typing-extensions~=3.7.4

So basically, we can't update pylint because of that. :neutral_face:
I think it would be much better if TensorFlow would require typing-extensions>=3.7.4 instead of typing-extensions~=3.7.4.

This should be fixed now, I think?

This should be fixed now, I think?

Just tried this minimal Dockerfile with the latest versions of pylint and tensorflow:
FROM python:3.9
RUN pip install pylint==2.11.1 tensorflow==2.6.0

Output:
ERROR: Cannot install pylint==2.11.1 and tensorflow==2.6.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    pylint 2.11.1 depends on typing-extensions>=3.10.0; python_version < "3.10"
    tensorflow 2.6.0 depends on typing-extensions~=3.7.4

So, no, it's not fixed.

Oh, it's fixed in nightly, not in the released TF.

Oh, sorry. And thanks! :slightly_smiling_face:
The following works nicely:
FROM python:3.9
RUN pip install pylint==2.11.1 tf-nightly==2.8.0.dev20211005

:tada:

We'll cherry-pick this on the 2.7 branch and from RC1 (RC0 is too late as the builds started) this should be the default

This should be fully fixed now.

why this issue is closed ? even working with 2.6 version still requires typing extensions ~3.7.4 which many libraries cannot work with.  why all other libraries can be more loose about the version ?
There are incompatible versions in the resolved dependencies:
  typing-extensions~=3.7.4 (from tensorflow==2.6.0->-r requirements.in (line 8))
  typing-extensions>=4.1.0 (from mypy-boto3-redshift-data==1.21.34->apache-airflow-providers-amazon==1!3.2.0->-r requirements.in (line 21))
  typing_extensions (from cattrs==1.10.0->apache-airflow==1!2.2.5+astro.2->-r requirements.in (line 30))
  typing-extensions>=<IP_ADDRESS> (from gitpython==3.1.27->mlflow==1.24.0->-r requirements.in (line 4))
  typing-extensions>=3.6.4 (from importlib-metadata==4.11.3->moto==3.1.4->-r requirements.in (line 52))
  typing-extensions>=3.7.4 (from apache-airflow==1!2.2.5+astro.2->-r requirements.in (line 30))
  typing-extensions<5.0,>=4.0.0 (from rich==12.2.0->apache-airflow==1!2.2.5+astro.2->-r requirements.in (line 30))
  typing-extensions>=4.1.0 (from mypy-boto3-rds==1.21.34->apache-airflow-providers-amazon==1!3.2.0->-r requirements.in (line 21))
  typing-extensions (from kiwisolver==1.4.2->matplotlib==3.5.1->-r requirements.in (line 19))

Because this is fixed form TF 2.7 onwards

th. why all other libraries can be more loose about th

:+1:

Because this is fixed form TF 2.7 onwards

:+1:


[DO NOT MERGE] Restructure GA4 link/event tracking

PR has now been superseded by: https://github.com/alphagov/govuk_publishing_components/pull/3057
What
Restructure our code for link and event tracking in Google Analytics 4, making the following changes:

rename the existing link tracker (which automatically tracks external links, mailto links, download links etc.) to specialist link tracker
add a new link tracker, based on the functionality of https://github.com/alphagov/govuk_publishing_components/blob/main/docs/analytics/track-click.md
update documentation to explain the change

The PR's a bit hard to read (sorry) because I renamed one file then created another one with the same name, so github thinks it's a massive change to one file. Might work better to be reviewed per commit.
TODO:

implement code sharing between the three
implement link part path on the new link tracker

Why
We want to clarify both the intent and the code structure for link and event tracking in different situations. Despite the overlap, it feels sensible to have specific scripts for tracking interactive elements like buttons (event tracking), regular links (link tracking) and other kinds of links (specialist link tracking).
Event tracking and link tracking are applied manually to elements using data attributes. Specialist link tracking acts automatically.
Visual Changes
None.
Trello card: https://trello.com/c/PHlfJHou/324-add-tracking-header-menu-bar

Closing in favour of https://github.com/alphagov/govuk_publishing_components/pull/3057


Am I misunderstanding something, or can this not be polyfilled to work as intended by the standard?

I assumed that user-select: contain would mimic the selection behaviour of e.g. a textarea. That is, if you select all, it only selects the content of that element. I made that assumption based on the fact that user-select: auto means contain on editable elements. Hence I assumed that the behaviour observed there, is the behaviour for contain on non-editable elements too.
I used this polyfill on a pre tag, selected some text inside it, and hit CtrlA and it selected the entire document, instead of the content of the pre. Now there are four possible scenario's AFAIK:

I did something wrong in the test, and this is supposed to work.
My interpretation of the intended standard behaviour is wrong.
It's a bug in this polyfill that can be fixed.
The behaviour is not up to standards, but cannot currently be polyfilled due to technical limitations.

Can someone explain which one it is?

section {
  user-select: none;
}
/* hack 禁止跨元素选择 */
section:hover {
  user-select: text;
}

this work for me

Sorry, but that's neither an answer to the question I posed, nor a solution to the issue. That's a completely different approach that may provide a workable workaround in some highly specific cases. For example in our case that wouldn't work at all, because the element will not be hovered. Please be aware that I'm asking a question about the functionality of this polyfill, I'm not looking for an answer, not a solution.


Where do I get mashapeKey?

Hi. Thanks for a great service!
I got a question - I've created an API key at https://api.igdb.com/ and it works fine with https://api-2445582011268.apicast.io as user-key header, but it looks like that key isn't valid for NodeJS wrapper lib.
Instead if requires mashapeKey. Where do I get it?

The IGDB documentation provides guidance on how a free Mashape Key can be obtained.

Apologies. I only saw the title of your issue without any explanation. Now that I see the full issue, I'll leave the maintainers to help you further.

hi @dsibilly. I've already figured that out by going to Mashup from NodeJS npm link.
Thanks!

@dsibilly to update this issue. We have migrated away from Mashape. So new users have to sign up on https://api.igdb.com/


how to know if user blocked the bot?

i want to know the users who blocked my bot for some statistics
how can i know?

i figured it put, i'll leave the answer in case someone needs it :
bot.on("my_chat_member", function ChatMemberUpdated(member) {
let userStatus = member.new_chat_member.status
if (userStatus == 'kicked') {
// user blocked the bot
} else if (userStatus == 'member') {
// user unblocked the bot
}
}
);


test: add unit tests for p2p downloader

Signed-off-by: Starnop<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
As title described, this PR add partial unit tests for the p2p downloader module.
Ⅱ. Does this pull request fix one issue?

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

Codecov Report

Merging #425 into master will decrease coverage by 9.98%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##           master     #425      +/-   ##
==========================================
- Coverage      67%   57.02%   -9.99%
==========================================
  Files          50       55       +5
  Lines        2243     2725     +482
==========================================
+ Hits         1503     1554      +51
- Misses        669     1097     +428
- Partials       71       74       +3

Impacted Files
Coverage Δ

dfget/core/api/download_api.go
0% <ø> (ø)
:arrow_up:

...et/core/downloader/p2p_downloader/target_writer.go
0% <0%> (ø)

...t/core/downloader/p2p_downloader/p2p_downloader.go
0% <0%> (ø)

...get/core/downloader/p2p_downloader/power_client.go
52.23% <100%> (ø)

...et/core/downloader/p2p_downloader/client_writer.go
7.95% <33.33%> (ø)

dfget/core/downloader/p2p_downloader/piece.go
24.32% <0%> (ø)

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 647698a...27e9079. Read the comment docs.

Add the following code into back_downloader_test.go to test BackDownloader:
func Test(t *testing.T) {
	check.TestingT(t)
}

@lowzj Updated. 😄

LGTM


Link to samples are incorrect

Link to samples go to https://aka.ms/proactive-sample-cs (https://github.com/Microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/16.proactive-messages) instead of https://github.com/Microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/03.welcome-user (both C#, but JS is incorrect as well).

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

ID: a9a16806-95d6-7c66-3b85-b2ace211f367
Version Independent ID: c8565ece-392a-fb56-e911-8a5dd5555dee
Content: Send welcome message to users - Bot Service
Content Source: articles/v4sdk/bot-builder-send-welcome-message.md
Service: bot-service
Product: bot-framework
GitHub Login: @Dashel
Microsoft Alias: dashel

Will be fixed with the next publish

links fixed - closed


Implement/fix tests

The repo has some tests but they don't run successfully. Also I'm not sure how this would be tested - I guess we would like to compile and render a template and assert that no data-test-* attributes are included in the rendered markup.
Also the mocha jshint test seems to hang. Or maybe it checks the node_modules folder as well causing it to take very long which makes it appear to be hanging.

I have this mostly done, will commit tomorrow. hype :steam_locomotive: on the way.

🚄

Ideally we would also have this set up so that it runs against the template compiler that ships with Ember 1.13.x, the current release, beta and canary.


Regenerate url_keys for categories

Hi Oleg,
I experience the same issue that existed for products #120 but now for categories.
When I run ok:... --category-id=244 the url_key is just taken without properly updating it based on the category name.
I suspect this needs to be fixed in RegenerateCategoryRewrites?

Hi @codedge
Fixed this in version 1.5.2. Please update extension.


Dropbox link closed (2020 updates?)

Any updates?

nah not yet. No response from the author yet.

can the same named dataset in kaggle be used in this poject?


Pass in-memory catalog to search_data_catalogs

Addressing a Problem?
The current search_data_catalog re-opens the CSV files of the passed DataCatalog(s).
See: https://github.com/Ouranosinc/xscen/blob/6285df36e2fa5297d88871adee37ee6e9d26bdad/xscen/extract.py#L549-L560
The problem arises when on has made in-memory changes to the DataCatalog, which are not yet included in the csv. In the case of a ProjectCatalog, one can write the changes to disk, but even then, I find it non-intuitive.
Potential Solution
I think I would make sense to use the dataframe(s) of the passed DataCatalog(s) instead of going back to the csvs.
Additional context
I believe the current situation arises from the need to have a DataCatalog with a "registry" when allow_conversion is True. This might mean we would have to implement something to copy a DataCatalog while adding a registry.
Contribution

[X] I would be willing/able to open a Pull Request to contribute this feature.

I believe that this is mostly a legacy behaviour from when we used CSVs instead of DataCatalogs. If you can find a way to make it work without breaking allow_conversion or anything else, go ahead!


Any (speculative even) estimation on arrival of full Karabiner for Sierra?

First, let me please say that I'm in no way complaining, or trying to bother the contributors. I'm very, very happy that Karabiner and Karabiner Elements is being worked on.
That said, I'm currently withholding upgrading to OS X Sierra because I very much rely in my workflow on the complex shortcuts of the original Karabiner. In fact, I'm witholding on buying the new MBP because of that :)
So my question basically is:
Is there any educated guess possible when development of Karabiner Elements turns into (full feature) Karabiner for Sierra? Anything like a broad range (months? years?) would be fine, I'm just trying to get an idea of the time frame.
Once more, I hope the question didn't come across as being pushy or disrespectful.

@zanglebert I would say it take at least more than 1 year for this project to complete. The whole API changed for input service on new Version of OS 10.12. Basically the whole project needs to be rebuild.
I myself also rely on this quite a lot. You still can buy the new MBP and then downgrade the OS back to 10.11 or 10.10. This is possible and worked really well for me. I myself brought a new Mac mini and it shipped with OS 10.12. I downgraded it to 10.10 with no issues. Just need to run the date command to change the system date to late 2015, before downgrade, or it will complain (some error message like the installation file has been modified or missing) and won't allow you to proceed.

@carrigmore Thanks for the answer!
On a related note however, I was wondering if there's a chance that the next major version of OS X will change the API again and will break the new Karabiner.
Thanks as well for the suggestion to downgrade. Right now it seems to be the best option, other than migrating away from OS X, which I'm still reluctant to do.

If you do decide to migrate from OS X, I am curious is there even anything close to Karabiner out there.
I mean Karabiner is genuinely amazing and I doubt there is anything close that really does keyboard remapping at such great level.

Isn't Karabiner Elements really close to full functionality right now? Some of the more advanced key remappings are now supported and hopefully allow some of the most critical functionality you were relying on.

Can I somehow define this block in Karabiner Elements?

@EDmitry I wasn't aware of that. Last time I asked/checked, shell commands didn't work yet (VK_OPEN_URL_SHELL_ in old Karabiner). These make up a large portion of my commands, less than the actual key bindings.

I personally use other apps for automation since it seems to be more high-level than keys remapping. Something like Hammerspoon or Keyboard Maestro.

@EDmitry
Hm, probably a good idea. Never thought of splitting up the workflow I had set up within Karabiner over several programs. I'll check if my definitions+bindings can be migrated to Karabiner Elements plus one of the programs you mention.
(sorry for the offtopic discussion, by the way)

another good OS X program for running shell commands upon key presses is https://github.com/koekeishiya/khd -- I can't fully compare it to Hammerspoon since I haven't yet had a chance to test Hammerspoon, but my understanding is that khd is a bit simpler for shell commands, largely due to its narrow focus on them


[HOPS-101] disable new report, enable old report

Can one of the admins verify this patch?

Jenkins test this please.


CLDC-2222 Set housingneeds as yes unless field_59 is given

If fields_59 - Disabled access needs g) No disabled access needs is not set assume that the household has housing needs and set housingneeds to Yes

because each year is different do you need to also implement the same thing for the new collection year ie app/services/bulk_upload/lettings/year2023/row_parser.rb


Release 2022-04-13 (patch)

This updates the MSRV in some CI scripts that I missed in the earlier release. It also adds a release note highlighting the MSRV update.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I made a change to our docs codegen that will HTML escape square braces so that rustdoc doesn't interpret them as links to Rust types. I chose to do it with string formatting b/c I couldn't find the right way to do it with jsoup. Here's an example of the generated docs after the change (note that visually it looks right and rustdoc no longer complains in CI)

This PR has turned into something of a debacle, I'm going to revert the MSRV changes in another PR and get the release out.


Advert loader state rework

⚠ This is quite a big change, so we need to have a discussion as maintainers before we agree to merge this ⚠
Problem
We've had some issues regarding the order that the advert state is updated. In the current implementation we make certain assumptions about the ordering in which the timeline and discontinuity events are emitted. Wouldn't it be nice if we could just ignore the order and still emit the events in the same way?
Solution
Implement an update method for the underlying AdPlaybackState that can be triggered from timeline and discontinuity regardless of the reason those methods give. This approach is significantly less complicated and doesn't require any knowledge of the hacks we've had to implement as workarounds for the different state problems we have found.
Test(s) added
Not yet. I have a separate branch which begins to introduce an AdvertState and AdvertState tests (name will probably change), where we pull all of the logic out of the NoPlayerAdsLoader and test it using just position info and nothing else 💥
But Ryan, did you test the real thing?
I spent a good while testing the demo we have for adverts and in a client application and couldn't find any issues with this new approach. The only scenario that I was unable to test was advert prepare errors or timeouts.
Paired with
Nobody.

Adding ❌ do not merge because we will test this in a client application with some proper QA before merging to develop.

It replaces reason because the onPositionDiscontinuity doesn't deal with it anymore, it just ignores it and forwards to the update method.

We've had this tested in a client application and everything seems good to go!


I can't show image when share moments with WeChat

Hi all
I have using code below but still can not show image when share moments with weChat
`// optional fields
var analytics = {}
                      // optional fields
                      var properties = {
                        $desktop_url: res.url,
                        $android_url: res.url,
                        $ios_url: res.url,
                        $ios_wechat_url: res.url,
                        $android_wechat_url: res.url,
                        $og_title: TITLE_POPUP,
                        $og_description: desc,
                        $og_image_url: image,
                        more_custom: params,
                        even_more_custom: true,
                        this_is_custom: 1,
                        custom_integer: Date.now(),
                        custom_boolean: true,
                        custom_array: [1, 2, 3, 4, 5],
                        custom_object: { 'random': 'dictionary' }
                      }
                     branchUniversalObj.showShareSheet(analytics, properties, message);`

Who can help me for this?
Thanks

Hello,
So long story short, the Branch Cordova SDK is actually a wrapper around our iOS and Android SDKs. I tested the share functionality from Branch to WeChat on our iOS SDK and it is broken there too.

I am reaching out to my iOS team to see if they know of the issue and know of a workaround/solution.
I will keep you updated.
Best,

Hello again,
I wanted to let you know you have not been forgotten. This issue has been passed off to our iOS team and has been prioritized to be looked into.
After further testing, I can confirm the deep link preview image works with Facebook and Twitter. It does not work with WeChat. However, the deep link will still navigate into your app from WeChat (the image preview is just broken).
Thank you for your patience.
Best,

Hello,
After further testing, this appears to be an issue with WeChat and not Branch. Images are broken whenever you share a link from Amazon to WeChat as well.

As mentioned in my last message, the deep link will still navigate into your app from WeChat (the image preview is just broken).
Thanks for finding this,


Gitops demo

@pittar Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Crash on drive mount - Looks for Dokan <IP_ADDRESS>0 when Dokan <IP_ADDRESS>0 is loaded

Technical data
Error Dump:
<Problem signature:
Problem Event Name:	APPCRASH
Application Name:	WinSshFS.exe
Application Version:	<IP_ADDRESS>
Application Timestamp:	57fac39e
Fault Module Name:	dokan1.dll
Fault Module Version:	<IP_ADDRESS>0
Fault Module Timestamp:	5a1d190a
Exception Code:	c0000005
Exception Offset:	00005b0d
OS Version:	6.1.76<IP_ADDRESS>.256.48
Locale ID:	1033
Additional Information 1:	0a9e
Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
Additional Information 3:	0a9e
Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

WinSshFS

[x] stable
[x] prerelease
[ ] custom build
Version: <<IP_ADDRESS> devel RC5> and <<IP_ADDRESS>>

Dokan driver

[x] stable
[ ] prerelease
[ ] custom build
Version: Dokany <<IP_ADDRESS>0>

Enviroment

Windows version: <7>
Architecture:
Related software:

Support

Usage: <personal/commercial> - <testing/development/production>
Your personal priority to solve this issue: <urgent/ASAP>
Support ability: <can create pull request / deep testing>

Crashes on drive mount

Same with me - still crashes.  ...and there's way to download the <IP_ADDRESS>0 version!

I think the <IP_ADDRESS>0 is just a build change, so the DLL and the code still show a version of <IP_ADDRESS>0.  A DLL version mismatch is not the cause of the crash.   The .NET exception is...
Application: WinSshFS.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at DokanNet.Native.NativeMethods.DokanMapKernelToUserCreateFileFlags(UInt32, UInt32, UInt32, Int32 ByRef, Int32 ByRef)
at DokanNet.DokanOperationProxy.ZwCreateFileProxy(System.String, IntPtr, UInt32, UInt32, UInt32, UInt32, UInt32, DokanNet.DokanFileInfo)

See #166

The same for me

Did this have any resolution or work around ?
Because I'm also facing the same.


nice

nice
Originally posted by @Mun0802 in https://github.com/Mun0802/markdown-portfolio/pull/6#pullrequestreview-916813266

ok


⚠ Telly has degraded performance

In 0ec43e0, Telly ($TLY) experienced degraded performance:

HTTP code: 200
Response time: 1364 ms

Resolved: Telly performance has improved in cc77adc.


Typo: "prefered"

In the species match tool, the column heading is "prefered" when it should be "preferred".
Quite a few instances of the misspelling when I grep the code so I won't try a quick fix.

Thanks Matt. The tool has never been translated so it shows my "danglish"


Added css for making consistency in colors

Confirmed Gray color for all content and black for all headings.

Current coverage is 42.52% (diff: 100%)

Merging #722 into development will not change coverage

@@           development       #722   diff @@
=============================================
  Files                6          6
  Lines              689        689
  Methods             71         71
  Messages             0          0
  Branches           113        113
=============================================
  Hits               293        293
  Misses             396        396
  Partials             0          0

Powered by Codecov. Last update 290994c...23929b4


The _id of documents in the after.insert hooks is not an object id

The _id of documents in the after.insert hooks are no longer strings, but objects.
For example, using the following code
Collection.after.insert(
  function(userId, obj) {
    console.log(obj._id);
  }
)

We get the following outputs:
I20161214-00:51:38.409(-8)? local addition of  { result:
I20161214-00:51:38.409(-8)?    { ok: 1,
I20161214-00:51:38.410(-8)?      n: 1,
I20161214-00:51:38.411(-8)?      opTime: Timestamp { _bsontype: 'Timestamp', low_: 1, high_:<PHONE_NUMBER> } },
I20161214-00:51:38.411(-8)?   ops:
I20161214-00:51:38.411(-8)?    [ { name: 'Room 123',
I20161214-00:51:38.411(-8)?        phone: '',
I20161214-00:51:38.411(-8)?        floorId: 'savidev/1',
I20161214-00:51:38.412(-8)?        pose: [Object],
I20161214-00:51:38.412(-8)?        goalarea: '',
I20161214-00:51:38.412(-8)?        doorOpensOut: false,
I20161214-00:51:38.412(-8)?        hidden: false,
I20161214-00:51:38.412(-8)?        _id: 'RmkvkGRjZ8DoLMqPy' } ],
I20161214-00:51:38.412(-8)?   insertedCount: 1,
I20161214-00:51:38.412(-8)?   insertedIds: [ 'RmkvkGRjZ8DoLMqPy' ] }

However, we expect obj._id to be the _id of the inserted document ("RmkvkGRjZ8DoLMqPy" in the above).
Tested in Meteor <IP_ADDRESS>.

Could you show me your package versions?

It was<EMAIL_ADDRESS>

Have you tried updating?. This bug was solved afaik

Updated to 0.8.4 and I did not have the above problem anymore. Thank you.

:)

For some reason I having this issues WITH version  0.8.4.
this._id { result: { ok: 1, n: 1, opTime: { ts: [Object], t: 1 } },
I20181110-14:51:03.433(1)?   ops:
I20181110-14:51:03.434(1)?    [ { text: 'post 1',
I20181110-14:51:03.434(1)?        additionalText: 'additionalText post 1',
I20181110-14:51:03.434(1)?        authorId: '55tfNfFftjDmYSm2A',
I20181110-14:51:03.434(1)?        commentIds: [Array],
I20181110-14:51:03.434(1)?        _id: 'fd5nQw3wZboGfuLsr' } ],
I20181110-14:51:03.434(1)?   insertedCount: 1,
I20181110-14:51:03.434(1)?   insertedIds: { '0': 'fd5nQw3wZboGfuLsr' } }

Anyone else havint this Problem?


'Success Alert' example in the 'Alert' component guidance

Summary
Consider adding 'Success Alert' guidance in the 'Alert' component guidance.
💬 Description
In the 'Success messages' design pattern guidance there is a 'for example' link to the 'Alert' component guidance but the guidance does not contain information on success messages best practices.
https://design.sis.gov.uk/patterns/success
Definition of done is when the 'Alert' component guidance contains information on using a success alert, or alternatively, the Success Messages patterns page includes an example of this.
https://design.sis.gov.uk/components/alerts
💰 Use value
A User is correct to assume that there will be an example or use case for 'success messages' when following the link.
Additional info
Ticket will need to go through design.

The success variants is referenced in the written guidance and displayed on the code page.


Disabling internal laptop monitor makes Hyprland crash

When I disable the internal monitor eDP-1 (hyprctl keyword monitor "eDP-1,disable"), Hyprland crashes. See attachments for crashreport and configuration file. Disabling an external monitor is working fine (hyprctl keyword monitor "DP-1,disable")
hyprctl monitors

Monitor eDP-1 (ID 0):
<EMAIL_ADDRESS>at 0x0
	description: Apple Computer Inc Color LCD (eDP-1)
	make: Apple Computer Inc
	model: Color LCD
	serial:
	active workspace: 1 (1)
	reserved: 0 25 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0

Monitor DP-1 (ID 1):
<EMAIL_ADDRESS>at 7040x0
	description: Apple Computer Inc Thunderbolt C02L50FQF2GC (DP-1)
	make: Apple Computer Inc
	model: Thunderbolt
	serial: C02L50FQF2GC
	active workspace: 2 (2)
	reserved: 0 25 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0

Monitor DP-2 (ID 2):
<EMAIL_ADDRESS>at 4480x0
	description: Apple Computer Inc Thunderbolt C02MV3ABF2GC (DP-2)
	make: Apple Computer Inc
	model: Thunderbolt
	serial: C02MV3ABF2GC
	active workspace: 3 (3)
	reserved: 0 25 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0

hyprlandCrashReport26772.txt
hyprland.conf.txt

Here is my hyprland configuration to manage multi monitors, and I have the same problem with you but now it has been solved, maybe this will help,
https://github.com/irdaislakhuafa/hypr/blob/797a526e90ffe6bf44e7aa7cd7fdd1652561724d/configs/submap.conf#L123

my primary monitor is eDP-1

Thanks @irdaislakhuafa. I tried your bind, and changed it slightly to my setup:
exec, hyprctl --batch 'keyword monitor HDMI-A-1,highres,1920x0,1;' && sleep 1 && hyprctl --batch 'keyword monitor eDP-1,disable'
but again it's crashing Hyprland :(

Can be closed. I wasn't on the latest git commit. It's fixed.

it looks like you made a typo in writing auto to audo

I'm struggling with a usefull setup for a multi monitor system.
Most important: If I plug off an external monitor I want to switch to the internal display (using a notebook).
I also have a submap for it. But the submap doesn't work if the config is set to "external only" and the monitor is plugged off.
If I use the keybind before plugging off, it will work...
Did you have the same experience?


[sleepy-discord] fix [core] build

Thanks for the PR! what issue does this PR fix?

As the title states, the sleepy-discord[core] build

Thanks again!


Verifying deployment: FAILED; curl: (56) Recv failure: Connection reset by peer

Getting this multiple times in a row. Not sure if this is an issue with mupx or something on the server. The app deploys successfully, but then silently fails and does not come back up.
Latest mupx (1.5.3) with meteorhacks docker image replaced with abernix/meteord:base, as described as a solution in various issues.
Mupx outputs this error:
x Verifying deployment: FAILED

    -----------------------------------STDERR-----------------------------------
      Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (56) Recv failure: Connection reset by peer
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (56) Recv failure: Connection reset by peer

The connection (and server) are fine - tried multiple internet connections (4 different wired and wireless networks - fibre optic based AND 4G, no difference - so cannot really be a connection issue on my end (or the server's - it's a Linode VPS and they should not be having any issues, currently)).
mupx logs --tail=50 shows normal server console, the same stuff I see locally.

Just got hit by this and now all my app servers are down.
x Verifying Deployment: FAILED

	-----------------------------------STDERR-----------------------------------
	          Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
	curl: (52) Empty reply from server
	  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
	                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
	curl: (52) Empty reply from server
	  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
	                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
	curl: (52) Empty reply from server

	=> Redeploying previous version of the app

	-----------------------------------STDOUT-----------------------------------

	To see more logs type 'mup logs --tail=50'

	----------------------------------------------------------------------------

same problem I have tried on a clean server
I also looked into this issue https://github.com/meteor/meteor/issues/7475, but adding dockerImage: 'abernix/meteord:base' in mup.json didn't fix the issue


SpotifyControls Vencord plugin not looking good

Describe the bug
Plugin background not according to theme and the progress bar dot is out of place
Screenshots

Please see requirements for plugins: Plugin Compatibility Requests


Improve instructions to address recommendation.

for this alert / recommendation
Overriding or disabling of containers AppArmor profile should be restricted
please provide the technical steps that needs to be taken , from where, with examples and screenshots and what syntax needs to be entered so the recommendation gets fixed and status ok.

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

ID: ab76ee15-b4b1-c9e9-22b7-b52517240b33
Version Independent ID: 89aa209c-e745-e031-88fe-12e2244c1272
Content: Important changes coming to Azure Security Center
Content Source: articles/security-center/upcoming-changes.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

@porrascarlos802018
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@porrascarlos802018
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hi @porrascarlos802018, thanks for the feedback and for taking the time to share it.
The technical steps to be taken, AKA the remediation steps, are available within the UI. We've made a conscious decision not to duplicate them in the docs, since they're so easy to access within the product itself:

If you want to access these programatically, you can also find the remediation steps in the assessments metadata API. And you can do that online, from the docs, here: https://docs.microsoft.com/en-us/rest/api/securitycenter/assessmentsmetadata/list
I'm going to close this issue, but feel free to comment again here or open a new one if you have additional requests.
#please-close

Hi @porrascarlos802018, thanks for the feedback and for taking the time to share it.
The technical steps to be taken, AKA the remediation steps, are available within the UI. We've made a conscious decision not to duplicate them in the docs, since they're so easy to access within the product itself:

If you want to access these programatically, you can also find the remediation steps in the assessments metadata API. And you can do that online, from the docs, here: https://docs.microsoft.com/en-us/rest/api/securitycenter/assessmentsmetadata/list
I'm going to close this issue, but feel free to comment again here or open a new one if you have additional requests.
#please-close