Ran CI tests against Django 1.11a1.

Also disabled Django master tests against Python 2.

Coverage increased (+0.006%) to 94.118% when pulling 25630854dcc193600693d9ed50cbfe573247d08c on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.006%) to 94.118% when pulling 25630854dcc193600693d9ed50cbfe573247d08c on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.006%) to 94.118% when pulling 25630854dcc193600693d9ed50cbfe573247d08c on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.006%) to 94.118% when pulling 25630854dcc193600693d9ed50cbfe573247d08c on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.006%) to 94.118% when pulling 25630854dcc193600693d9ed50cbfe573247d08c on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.006%) to 94.118% when pulling 25630854dcc193600693d9ed50cbfe573247d08c on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.4%) to 94.5% when pulling 298041fdf8bfd0ecf5d955b7b92365c9ee203c2a on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.4%) to 94.5% when pulling 298041fdf8bfd0ecf5d955b7b92365c9ee203c2a on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.4%) to 94.5% when pulling 298041fdf8bfd0ecf5d955b7b92365c9ee203c2a on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.4%) to 94.5% when pulling 298041fdf8bfd0ecf5d955b7b92365c9ee203c2a on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage increased (+0.4%) to 94.5% when pulling 298041fdf8bfd0ecf5d955b7b92365c9ee203c2a on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage decreased (-4.0%) to 90.128% when pulling 3dfe39c81c98a4fa11514fe69ab8bc953ba8f2e8 on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.

Coverage decreased (-4.0%) to 90.128% when pulling 3dfe39c81c98a4fa11514fe69ab8bc953ba8f2e8 on django-1.11-ci into 7cfeaf01bf114371067d82fd760da3338e54b9f6 on master.


[webtransport] Set ENABLE_CONNECT_PROTOCOL settings

To enable extended CONNECT methods. WebTransport uses extended
CONNECT methods.
@jeffposnick PTAL
@yutakahirano @aboba FYI

Hi @bashi I'm trying to update aioquic to better align it with recent specs. Why is ENABLE_CONNECT_PROTOCOL needed, unless I'm mistaken the specs explicitly state:
the SETTINGS_ENABLE_WEBTRANSPORT setting implies that an
endpoint supports extended CONNECT


Opensource tool Deploy Widget

Hi,
I would like to know that if you guys are planning to integrate any other open source Deploy Tool instead of uDeploy.
Thanks

We are working on integration with Chef and then Ansible. Any other tool that you are working on?

+1 for Ansible

+1 Ansible

+2 Ansible

+1 Ansible


Edit beginning paragraph blurb for clarity

In the top paragraph, it says

What makes these repositories open source is that they are editable by the public, which encourages you, the Hack Club community, to come together and work on code socially.

I find the "work on code socially" part a bit odd. What if it read "collaborate on code socially"? So it would now read:

What makes these repositories open source is that they are editable by the public, which encourages you, the Hack Club community, to come together and collaborate on code socially.

Fixed in https://github.com/hackclub/contribute/commit/af3a0680ade806c501d36028307b59209e93c119


Default arguments show as "= seq" in generated stdlib docs

In the stdlib documentation, function/behavior/constructor signatures where any parameter has a default value show up as = seq. Here are two example pages:
https://stdlib.ponylang.io/regex-Regex/
https://stdlib.ponylang.io/term-Readline/

docgen.c line 651 is where this is handled.

This was working as of f2f326e022692b7305832021fb4bb2e294fce97c (2 years ago)

Broken as of 682b45d3 which was 6 months after the previously identified working commit.

Working as of 83826594

Working as of 09ab1d35

Working as of 48062e64

Working as of ce39b5bf

Working as of c16ec5f1

Working as of 61c856de

Working as of 021e3d4b

Broken of 5dbe4d84

Broken as of 394c94ed

Working as of 17b2b838

Working as of 77c712c9

This broke with 394c94ed, PR #2242

@doesntgolf this will be fixed with the release of 0.27.0 this weekend


chore: fix some comments

Hi👋, please prefix this PR's title with:

[ ] breaking-change: if you have introduced modification that necessitates immediate adjustments by this SDK's users to their applications, clients, or integrations to avert disruptions to existing features or functionalities.
[ ] feat:, fix:, refactor:, docs:, or chore:.

Summary

fix some comments
Detail and impact of the change

Added

Changed

Deprecated

Removed

Fixed

Security

Anything else worth calling out?

Closing this PR because the func tests checks were not running properly, likely due to the fork. Changes were merged in this PR: https://github.com/immutable/ts-immutable-sdk/pull/2061

Thanks @beforetech for the typo fixes! We'll need to look into how we can get the func tests to work properly with external contributors.


Reset stylint cache after get reported info

@guerrero
it seems that this commit is the trick to fix  https://github.com/rossPatton/stylint/issues/200
Yet it doesn't fix the problem. Every second file change stylint emit the duplicate warning. Firstly stylint does not find any problems, but the next time it finds (because cache is filled), and after that  it doesn't find again because you clear cache on error/warning.
I suppose we have to call resetOnChange everytime to fix cache problem (and then we won't detect magic behavior of stylint (every second time)) and wait a fix in stylint repo.
I can prepare PR if you want


Crashed with node-red-contrib-gpio installed

Node-red crashed when https://github.com/monteslu/node-red-contrib-gpio is installed.
Problem is with freeboard because when I uninstall freeboard, node-red does not crash.
Node-RED version: v0.13.1
Node.js  version: v0.10.38
5 Apr 12:18:08 - [red] Uncaught Exception:

5 Apr 12:18:08 - TypeError: Object function (entry) {
  return this.indexOf(entry) !== -1;
} has no method 'end'
    at interval (/home/root/node-red/node_modules/node-red-contrib-freeboard/freeboard.js:71:12)
    at wrapper [as _onTimeout] (timers.js:261:14)
    at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)

This is another way to send data to freeboard using websockets: https://gist.github.com/dceejay/fb47301b759222e05f84

I have the same issue recently and I've had to remove freeboard... it was crashing my new Raspberry Pi 3 Node-Red installation within a minute of turning on Node-Red.... remove freeboard and the problem goes away. I too have GPIO installed - but then I have lots of things installed.


Add venous lead features to KidAggregation

moved to https://github.com/Chicago/lead-model/issues/2


Update readme @ npmjs.com

E.g. for SASS $material-design-icons-font-path is now $material-design-icons-font-directory-path, but this is only documented in the README inside GitHub, not inside npmjs.com's README.

Thanks! That was breaking my build


chore(deps): update express to fix multiple CVEs

Fixes:
https://issues.redhat.com/browse/RHIDP-3946
https://issues.redhat.com/browse/RHIDP-3916
https://issues.redhat.com/browse/RHIDP-3932
https://issues.redhat.com/browse/RHIDP-3897
CVE-2024-45296
CVE-2024-43799
CVE-2024-45590
CVE-2024-47764
CVE-2024-43800

should the<EMAIL_ADDRESS>version be version "4.21.1" or "express": "^4.21.0",

I ran a "yarn install" and it picked up the latest which is 4.21.1.  I checked out the Express changelog and the only change was a fix for a low sev CVE which should be safe.


[MRG] a complete workflow for creating and updating content registry

review requests:

[ ] arthur: test execute; visual inspection that markdown is ~ok
[ ] rayna: documentation and test execute

ready for review! at least it all works in my hands which is a good start :)
I'll plan on updating documentation while waiting for feedback.


Relax InputSplit Protections

The new implementation of InputSplit is more restrictive with package and override permissions.  We need to relax these so we can override the InputSplit to subclass and allow for more advanced control of the splits (e.g. include partition information along with the split).
https://github.com/apache/incubator-parquet-mr/pull/67
Reporter: Daniel Weeks / @danielcweeks
Assignee: Daniel Weeks / @danielcweeks
Note: This issue was originally created as PARQUET-106. Please see the migration documentation for further details.

Daniel Weeks / @danielcweeks:
https://github.com/apache/incubator-parquet-mr/pull/67

Julien Le Dem / @julienledem:
Issue resolved by pull request 67
https://github.com/apache/incubator-parquet-mr/pull/67


Folder structure created,created user model,blogpost model and crud operation for blogposts

Created folder structure, user model
I have created a folder structure, added  user model also added a functionality to use modules to facilitate the use of ESM

Import Syntax:
    CommonJS: const myModule = require('my-module');
    ESM: import myModule from 'my-module';

Export Syntax:
    CommonJS: module.exports = { myFunction, myVariable };
    ESM: export { myFunction, myVariable };

Created CRUD operation for blog post
getallpost /api/blogs/
getpostbyid /api/blogs/id
updatepost /api/blogs/id
deletepost /api/blogs/id

@Pascal488 can you fix the conflicts, also remove ES lint errors as we have already integrated ESlint

Also @Pascal488

can routes be in different files according to the service/module
We should have a response class or handler that is being reused


Add namespace in the usage of using an Executor when do jina hub push

We are introducing new scheme/prefix jinaai.
We will support both jinahub:// and jinaai:// prefixes, but only document jinaai:// one.

[ ] Replace jinahub with jinaai for all public content. Usage message, docs etc...

For new format we need username for the URI.
For now, only the owner can push, but once organization support is added it will no longer be the case.
Also, in order to get the logged-in user's name, an additional request needs to be sent.
So, I think it would be better to include the owner's name in the API response.
What do you think @mapleeit @nomagick?

Makes sense. As part of the meta.

Cool. So for now please add it into pushing stream's completed payload @nomagick
Thanks.


Failed to allocate directory watch: Too many open files

Sometimes on my k8s cluster I am getting this output when I login to node and try to do basic linux commands.
I already try to increase fs.inotify.max_user_watches but result is same.
The issue continues until restart OS.
My Environment is ;
Bare Metal
K8s - > 1.22.8
Linux node6 5.15.32-flatcar #1 SMP Tue Apr 5 17:17:31 -00 2022 x86_64 Intel(R) Xeon(R) Gold 5218R CPU @ 2.10GHz GenuineIntel GNU/Linux

Hi @necipakca,
What flatcar version are you using? Do you run very many pods/containers on that node? Have you tried increasing fs.inotify.max_user_instances sysctl to a greater value?

What flatcar version are you using: Flatcar 3139.2.0
Do you run very many pods/containers on that node : Yes I have many pods on machines approximately over the 200.
Have you tried increasing fs.inotify.max_user_instances sysctl to a greater value?
Nope I did not tried  to increase "fs.inotify.max_user_instances" parameter. I don't have same issue now. When it happen I will try the parameter and let you know the result.

@necipakca We've seen similar issues. I believe this was related to a containerd issue (I'll see if I can dig up the issue link), but increasing fs.inotify.max_user_instances has resolved the issue in our case. The fix for this issue landed in containerd 1.6 and I believe was in the process of being backported to 1.5. At this point, we haven't seen any issues on our nodes with flatcar 3227 (containerd 1.6.6)

The same fixes were backported to containerd v1.5.12, could it be that you're on Flatcar 3139.2.0?

v1.5.12

Yes you are right same issue.
Ok I am kindly closing this issue after we distribute new Flatcar version probably it will be fixed.
Thanks a lot


Provide label through smartapi yaml

For https://github.com/biothings/BioThings_Explorer_TRAPI/issues/539

Currently fails tests due to tests not defining an apiLabel in the test. This is probably best remedied by making apiLabel optional in RecordNode.

Fixed

I tested this PR with the linked SmartAPI yaml changes above, and I think it works. input_name and output_name are the x-bte response-mapping keys to use.
I don't think it's urgent to get these onto prod/test instances, since I tested how BTE behaves with the SmartAPI yaml changes + without this PR, and it behaves okay (input_name / output_name become normal edge-attributes).
Notes:

I sometimes notice that the mapped field may correspond to multiple strings (an array of strings?) rather than just a string. In these situations, the code seems to handle these okay (it seems to pick the first string option). But I want to note this in case we encounter buggy behavior later
the nodes also have a node-attribute "biolink:synonym", and that isn't mutated to use the label from the mapped fields. VS for SRI Node Normalizer, when we retrieve labels/names we put them in that node-attribute as well.

Andrew said it's okay to leave this behavior since it's minor and the node-attribute isn't really used right now

@tokebe I think this is ready for next steps (the notes section of my post above might be relevant)


Feature Request/Enhancement: add option for file-extensions (i.e. *.md)

It could be useful to have the option to append a file-extension to the filenames.
Benefits:

While editing editors can use syntax-highlighting (via syntax)
For viewing editors can be used as pager with syntax-highlighting
Converting to other formats is easier (i.e. pandoc)
Formatted viewing of files is possible with other devices (i.e. on Android with MdReader)

@durcheinandr what kind of option? Currently you can name files with whatever extension you want.

Just an option for a default filename extension. For example: If I want to have .md as extension I set an option for default-extionsion=md and all new docs will created with this extension automagically added. The extension should be (maybe another option) not visible within cmddocs commands (for example l).
(excuse me for bad language)

@durcheinandr ah okay I get what your saying. good idea. will work on it

Great. Thanks.


Fixes #1: Make agent name configurable from env variable

The agent name that was hardcoded had to be changed to avoid this error response I was getting from pinecone:
HTTP response body: Index name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character

Whlist changing it I also made it optionally configurable via an env variable

Fixes #1

I will try this when I get home and let you know if this works, thank you
On Wed., Apr. 12, 2023, 8:19 a.m. Mike Kelly, @.***>
wrote:

The agent name that was hardcoded also had to be changed to avoid this
error response I was getting from pinecone:
HTTP response body: Index name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character
Whlist changing it I also made it optionally configurable via an env
variable
You can view, comment on, or merge this pull request online at:
https://github.com/seanpixel/Teenage-AGI/pull/5
Commit Summary

85b4184
https://github.com/seanpixel/Teenage-AGI/pull/5/commits/85b4184e597f8aacb419427384c30dac6adcf9f5
make agent name configurable from env variable

File Changes
(1 file https://github.com/seanpixel/Teenage-AGI/pull/5/files)

M main.py
https://github.com/seanpixel/Teenage-AGI/pull/5/files#diff-b10564ab7d2c520cdd0243874879fb0a782862c3c902ab535faabe57d5a505e1
(9)

Patch Links:

https://github.com/seanpixel/Teenage-AGI/pull/5.patch
https://github.com/seanpixel/Teenage-AGI/pull/5.diff

—
Reply to this email directly, view it on GitHub
https://github.com/seanpixel/Teenage-AGI/pull/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX7BSZYZEASIC76WSORAPG3XA2FTVANCNFSM6AAAAAAW3RFHIE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

thanks. fixed it for me


Readium Cloud Viewer Broken

Please use a short, but meaningful title.
Make sure to fill-in as much information as possible in the sections below:
This issue is a:

Bug report

Related issue(s), pull request(s)
Expected behaviour
Visiting the readium cloud reader(s) (previously hosted at http://readium.divshot.io/ or http://development.readium.divshot.io/) should load a page
Observed behaviour
Instead, neither page is found.
Steps to reproduce

Click on the links in the docs
Pages will not load

Test file(s)
Product

Readium cloud reader app

Web browser

Chrome

Operating system

OSX

Additional information
...

Thanks for your feedback.
The DivShot.io service closed some time ago. Readium now deploys the cloud reader app at https://readium.firebaseapp.com (latest build from the develop branch), and at http://readium-master.surge.sh (latest build from the master branch).
We updated the README to reflect those changes.
https://github.com/readium/readium-js-viewer/blob/develop/README.md
Sorry for the confusion!


Optimize YOLO neck using XiConv

Optimizes the YOLOv8 neck by replacing C2f blocks with XiConvs. I added a separate Neck class to avoid overcomplicating the base case.
Related to https://github.com/micromind-toolkit/micromind/issues/77
Tests are still running.. do not review yet.

Solved also https://github.com/micromind-toolkit/micromind/issues/80


Lookup Client Cache

Hi and thank you again for your great work.
We implement the multi-tenant guide for custom lookup scripts:
`
public abstract class BaseRowLookupScript<TRow> : RowLookupScript<TRow> where TRow : Row, IBaseRow, new()
    {
        public UserDefinition CurrentUser { get { return (UserDefinition)Authorization.UserDefinition; } }

        public BaseRowLookupScript()
        {
            Expiration = TimeSpan.FromDays(-1);
        }

        protected override void PrepareQuery(SqlQuery query)
        {
            base.PrepareQuery(query);
        }

        public override string GetScript()
        {
            string cacheName = GetType().Name + ":" + CurrentUser.CompanyId;
            return TwoLevelCache.GetLocalStoreOnly(
                cacheName,
                TimeSpan.FromHours(4),
                new TRow().GetFields().GenerationKey, () => { return base.GetScript(); });
        }
    }

The caching works great at the server side, but at the client we have lost the caching:

The other lookups that don't use the BaseRowLookupScript  are working great.
This issue can be resolved?
Thank you

Volkan, Is this a known issue or only we experience this?

Yes, that's expected.


feat: port Topology.MetricSpace.EMetricParacompact

3 linarith failures left

Please take a look at the place where we now have an explicit 3 = 2 + 1 where bit1 worked before, see porting note. Is there a better way?

Checked out, looking into this.


Adding 'required' to text settings text input fields which should not be empty

See title.

Thank you. 👍 For any other PR please point it to the dev branch. 🙂


Searchbar should have a different placeholder within the blog

The placeholder for the search bar within the blog should be "Search blog..." instead of "Search documentation..."
Having the placeholder of the search bar within the blog be "Search blog..." will really help a lot.
Check out the newest article on the website's blog to see how this is: Virtual DOM: Back in Block

hello guys im intrested in working on this can you assign me

@nzaih1999 assigned. this might be a upstream issue for nextra, so take a look at that first

took a very quick peek, likely has to do with the fact that /blog and /docs both use the same theme. Could potentially be fixed by using nextra-theme-blog for /blog and creating a separate theme but seems like this theme and its documentation is currently a WIP from nextra's end.

Will be fixed in a PR soon.


TUM student project to contribute to this repo

I wonder if there would be interest in the following:
My company would setup an IDP (similar to an internship for teams) project for TUM informatics master students. We would provide support as well as the connection to TUM as well (initial) code reviews, as well as selecting the team.
They would contribute to this project and implement some of missing functions.
To give you some more context:
I am one of the main contributors to https://github.com/flutter-mapbox-gl/maps and moving this project forward would be great for the whole dart ecosystem. My company heavily relies on the ability to interact with geojson even without any server connection - so this is just what we need.
It would certainly take a couple of month until a potential kickoff (next semester?).

Hi Felix,
That sounds really amazing!!!
I already know you from GitHub. 😉 I follow Flutter-Mapbox’s development closely.
My company is atm getting started with some contributions to Flutter-Mapbox as well!
And we rely a lot on Turf and Mapbox as a critical part of some of our projects.
This week, we had a technical discussion about the library with @tobrun, amongst others, where we discussed how we want to ramp up the development efforts of this library.
The programme with the TUM students would help this OSS project tremendously and is extremely well aligned with our goals!
Let‘s have a meeting to get to know each other and discuss some details!
My contact details: https://himsel.me
I‘m from Nuremberg, btw.
Really looking forward to a meeting,
Lukas
CC @armantorkzaban

Hi @felix-ht,
Let‘s talk soon. I see a lot of potential in this cooperation!


Default export double aliased.

When doing import paypal from 'paypal-checkout', the paypal import is nothing but an object with 1 key, ppxo, which is the actual library. It seems very counterintuitive to have to do this:
import paypal from 'paypal';

paypal.ppxo.checkout.setup({ ... });

This leads me to believe that the ppxo was intended to be the default export but there was some sort of oversight (considering the variable name is also extremely vague.)

This is a good callout. Primarily we've been testing with checkout.js in a script tag, using window.paypal, so this flew under the radar. Will look into it. You're right, shouldn't need to do paypal.ppxo.*

Current difficulty is this:
Right now webpack is set to libraryTarget: 'this' which just does this.ppxo = ...
libraryTarget: 'umd' would be ideal here -- if not for the fact that checkout.js is loaded on some sites with some AMD library which causes define() to break.
So ideally I'd like something like libraryTarget: 'this+commonjs'.

Ah makes sense and understandable.
For the time being, what I did was add an alias to the resolve.alias section of the webpack config which points to node_modules/paypal-checkout/dist/checkout.js.

OK, I have a PoC for a fix. Right now I'm just building two targets: checkout.js and checkout.lib.js. checkout.js is the standalone browser version, and checkout.lib.js is the UMD importable version.
Haven't totally settled on this approach yet, but it seems to work pretty well at least.

Alright. Went with the last fix for want of something better. I tried doing an import in another project and it seems to work perfectly now, at least using webpack.
Let me know if it works/doesn't work for you.

Alright cool. Thanks.
Another thing you could have done, which Redux does, is have a separate build for UMD and normal commonjs. For commonjs you only need to babelify the output, not webpack it also. Check out the build scripts in their package.json. Would help you guys keep your build sizes down too :)
Sorry I didn't respond with this sooner, I've been traveling.


Refactor snippets index view and template to make better use of generic IndexView

As part of #10446. Built on top of #11289. I was intending this to be a separate PR but since both PRs make changes in the generic index template, basing this on top of the other one will make it easy to merge later.
With this PR, the snippets index view is basically just the generic index view plus: bulk actions support, hooks for dropdown buttons, and automatically using the latest revision's object_str for models with DraftStateMixin. The templates only differ in the bulk actions stuff.
Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

[ ] For Python changes: Have you added tests to cover the new/fixed behaviour?

[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

I noticed that with this in place, a snippet chooser dropdown now appears on the snippet model index (http://localhost:8000/admin/snippets) that has no effect - I'm assuming that wasn't intentional?

Oops, good spot! Do you mean the locale switcher instead of the "snippet chooser"? If so, I've cherry-picked 7661d2e5175e83a6309cf2d29cb3a074fc8b032b from the next PR (#11304) which seems to fix it (and should hopefully prevent the same issue from happening on other similar views).


it would be great to have pipeline plot for every template

It will make it easier to understand which template someone wants to use

thanks for the feedback!


Failed to open channel with error: "unmatched backend error: -26: mempool min fee not met"

Background
Failed to open channel. Before I try to abandon the channel I thought I would open a ticket first in case it's an interesting case.
Your environment
0.15.0-beta
Steps to reproduce
2022-07-13 23:37:44.365 [INF] FNDG: Broadcasting funding tx for ChannelPoint(0d9b20f996b6abd0d1e4a512ca9ee35591918d874db47b72c6c7b9f431ef1f0e:1): 020....
2022-07-13 23:37:44.365 [INF] LNWL: Inserting unconfirmed transaction 0d9b20f996b6abd0d1e4a512ca9ee35591918d874db47b72c6c7b9f431ef1f0e
2022-07-13 23:37:44.378 [ERR] FNDG: Unable to broadcast funding tx 020... for ChannelPoint(0d9b20f996b6abd0d1e4a512ca9ee35591918d874db47b72c6c7b9f431ef1f0e:1): unmatched backend error: -26: mempool min fee not met, 430 < 1450
Expected behaviour
Channel should open. I opened it with thunderhub and used 1sat/vB.
Actual behaviour
Channel is stuck opening and TXNID is not pubished to the mempool

used 1sat/vB

The fee rate used is too low and your bitcoin node refused to relay the tx. You should redo the channel opening with a higher fee rate.
Since we are here, curious about the channel state here. Is the channel still pending open?

Do you have the raw txn's and any logs @gkrizek ? I'm guessing size is the serialized size in bytes, so it could be the case that the feerate is 1sat/vbyte but there is lots of witness data

Oh, I see the vsize argument, that is definitely a bug that should be fixed.

a Bitcoin node as the backend

I have a a Bitcoin full node as the backend.
{
    "addresses": [
        "bc1...m",
        "bc1...g",
        "bc1...6",
        "bc1...s",
        "bc1...8",
        "bc1...d",
        "bc1...a"
    ],
    "block_height": -1,
    "block_index": -1,
    "confirmations": 0,
    "double_spend": false,
    "fees": 430,
    "hash": "0d9b20f996b6abd0d1e4a512ca9ee35591918d874db47b72c6c7b9f431ef1f0e",
    "inputs": [
        {
            "addresses": [
                "bc1...8"
            ],
            "age": 744494,
            "output_index": 1,
            "output_value": 28591225,
            "prev_hash": "1f4e9fd59d7993bc888e0b2ee6d22b76e0f46f3d9184db144c3ea8ddc8d5fccf",
            "script_type": "pay-to-witness-pubkey-hash",
            "sequence": 0,
            "witness": [
                "304402205bbb7f2e4cd8f7e265549b4244a85eaf2ba28dba86db56fe49868bb7bc4ac8a302204c473b5e53449e468b7c0bb3b34598d1d6aa6efb2988d1df6975eed2052e8bf901",
                "03b5e5bcbf75adde805d887d3bf2a50f9489a8589c26783215748171e0c9ced109"
            ]
        },
        {
            "addresses": [
                "bc1...d"
            ],
            "age": 744189,
            "output_index": 0,
            "output_value": 23014430,
            "prev_hash": "4c8a44405f4ebfd64150eb64849372a57ae5ee9bdbb33529674e8ebb5b9216eb",
            "script_type": "pay-to-witness-pubkey-hash",
            "sequence": 0,
            "witness": [
                "304502210099ff7eb776faeaa9af412d423ea4002dc42a6aa8c3d155fc99cf38580c93900c02202f4c3ab3d550ed196ef7cc4d062b2692d756d6b6623c396e2d320b4418f5da9d01",
                "023a641a56faf949e29aed1e901aa5118df594937c02a732f7e1a0c08f1bb394d9"
            ]
        },
        {
            "addresses": [
                "bc1...a"
            ],
            "age": 744250,
            "output_index": 0,
            "output_value": 1134726,
            "prev_hash": "7dc43cba01834e4993c8016a487e7606b8f3dfc134dae66641184aa59beb9060",
            "script_type": "pay-to-witness-pubkey-hash",
            "sequence": 0,
            "witness": [
                "304402203b41b37fb2f328c8544ad2f6ad854ffad91517c6ba97c0d10cf4a0442bc6cafb02207cc80b92aee1143e1d397a46265ae00730a22cf7d6e791c574160e05059f33db01",
                "037f3fbda78860f6f457b229affd9a8bc352ca208cc990cc07a37d5c745828a972"
            ]
        },
        {
            "addresses": [
                "bc1...m"
            ],
            "age": 744571,
            "output_index": 0,
            "output_value": 1454511,
            "prev_hash": "84480b625bd3406d54420f6743b91e886166ddcc1f955641b8be10501d4fe723",
            "script_type": "pay-to-witness-pubkey-hash",
            "sequence": 0,
            "witness": [
                "3045022100ac718889043269850685a51271714bb6a5a9927a5f00b89e45ab9607273b7bed022031e2a40b79380e3e368833b3838ad286a617a79c7a6bec096a102d820ccfe2fd01",
                "02198b297287dbc080a89516bb7201f364aae21c6a41072cee9faf594ee147faeb"
            ]
        },
        {
            "addresses": [
                "bc1...g"
            ],
            "age": 744779,
            "output_index": 1,
            "output_value": 1931031,
            "prev_hash": "8b8d596592d5fd7a9e56075c39ea22f66624800121110168732168dcab3c350f",
            "script_type": "pay-to-witness-pubkey-hash",
            "sequence": 0,
            "witness": [
                "304402204bb6554615c28c0f3d8c3e52c4a9cd9ad8ec1071e88fd7c489782affeea2b6090220658387a492b4b43e0c3f1a2d62b733ccd6a0dd1c022e4a860fae15cb20220ae801",
                "025eb4e9e9a8d304ada04f8ac7ed43d5d32b2539fdba2be1d6031868c342025d4c"
            ]
        }
    ],
    "opt_in_rbf": true,
    "outputs": [
        {
            "addresses": [
                "bc1...6"
            ],
            "script": "001476c95b686fd96775986b4d810e6685a89d42ea22",
            "script_type": "pay-to-witness-pubkey-hash",
            "value": 6125493
        },
        {
            "addresses": [
                "bc1...s"
            ],
            "script": "002059e06fe38e94a85cae9e5777cf75b147688f68fef8118c65aeaa8568e8b31aaf",
            "script_type": "pay-to-witness-script-hash",
            "value": 50000000
        }
    ],
    "preference": "low",
    "received": "2022-07-15T07:24:51.857973457Z",
    "relayed_by": "<IP_ADDRESS>",
    "size": 828,
    "total": 56125493,
    "ver": 2,
    "vin_sz": 5,
    "vout_sz": 2,
    "vsize": 424
}

I would make sure at least one of the referenced inputs is spent in another transaction, to invalidate this one (in case it ever gets into the mempool for whatever reason). And only then use abandonchannel.

This issue itself is not a bug, but what @gkrizek mentioned would be. I don't think lnd allows you to double-spend an input currently though I remember there was some work ongoing in that direction

address: bc1qwmy4k6r0m9nhtxrtfkqsue594zw5963zcnwu76 is in the decoded transaction.

@Crypt-iQ Here's the listchaintxns output if it helps. We've had several users reporting of this problem on 0.15.0 (and I think 0.14.3 as well). Unfortunately I don't really have any logs available but will try to get some. When I looked previously I didn't see anything out of the ordinary, just LND creating a TX and trying to broadcast it, but the broadcast never works for obvious reasons.
        {
            "tx_hash": "f1bd7ed69fcd89ce3f1ad985db321dfe9d71a5933ec6973cfedc3781bffb07c0",
            "amount": "-1098823",
            "num_confirmations": 0,
            "block_hash": "",
            "block_height": 0,
            "time_stamp": "1657288860",
            "total_fees": "318",
            "dest_addresses": [
                "bc1q7k09jufpjwmln8tpnqkh5fre4kngvgk6xtttfh7ppv4edgrc8rxqw0gm46"
            ],
            "output_details": [
                {
                    "output_type": "SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH",
                    "address": "bc1q7k09jufpjwmln8tpnqkh5fre4kngvgk6xtttfh7ppv4edgrc8rxqw0gm46",
                    "pk_script": "0020f59e59712193b7f99d61982d7a2479ada68622da32d6b4dfc10b2b96a07838cc",
                    "output_index": "0",
                    "amount": "1098505",
                    "is_our_address": false
                }
            ],
            "raw_tx_hex": "02000000000104105f21b83e812986c01cbdfc080aca298dcafaaa02ccbbb2a4d53734cb680a33000000000000000000baa2157b8f608d5a15c85022be60507e604cd8c4e07587aa46af376509d8ac0100000000000000000062d1bc55fd0551ac68543cdd3790569ff11a41a5dc8ffef5a3a31dc38d629613000000000000000000daca91d45c7ca9f49d140bf9de1e420c901924cffb2cd2c147c1eeab11b3ba580000000000000000000109c3100000000000220020f59e59712193b7f99d61982d7a2479ada68622da32d6b4dfc10b2b96a07838cc02483045022100a16bb8b2c55e155e888cc2eaaf6adaa702e8b418f29c2f483106858bc84651f50220549d1d5c1303bd411b21ec14919f454c00f54e7b146126b094fa37964aae78d1012102c62066c28e75c11e16ec6ee829ab22ce9885d7df888b0e59a9aa10da2699630c02473044022030df4b89dcc79f236c377e82f39fbd5825a87c83ca01f63025c002d73bb3a64e0220548d85ad5ccd062cfcf4a2cd0a673030ce7f7582d6d3888cdd75edc677f02025012103aa31e5fd95be848be0b43021b4437cd35b612a092720907978e4fc43a679d85d02473044022079319cd5add22c77352fed20eaed99a722aa3f159831447285dc646c262911de0220314dc29ff24def696251998bffd2da490aaa08b7e3b7e83a9554746d69e50f8b012102cf4164ab4b84f0900742b3ff51fc1c34ae9b8ad6fa8b30ea5724d72840674b0d02483045022100df50d4cdf8db42d6cb709c5ed981357b150ad148790493e67eaa00fbcaac0c930220356d619a85d67b11bfba5a09041df69bad13a96a36be199635af5c67efd002d201210377de2bbf02661b43b2417b90f216cea7edf85fe2401b679fba8fa9183c60691ed65a0b00",
            "label": "external"
        },

Let me know if you need more information from my logs.

@Crypt-iQ here it is:
https://github.com/lightningnetwork/lnd/issues/6747

I rebooted LND with reset-wallet-transactions=true to get rid of 0 balance UTXOs in my list but that made it worse. I now have 8 UTXOs with a balance and 40 with a 0 balance.
The reboot however did fix this open channel. As soon as the system was back a channel was cooperatively closed with LOOP and that transaction ended up in the mempool.

I had another channel that got stuck with LOOP coop close. I rebooted my node and rescanned with reset-wallet-transactions=true. But Alex tells me in slack that the rescan is not needed.
Alex: You can try to disconnect the peer and reconnect to restart coop close negotiations
Going to close this ticket I guess.


Add GOPASS_DISABLE_MIME to disable writing the new native secrets format

This change will allow users who need to stay interoperable with other
password store implementations (e.g. on Mobiles) to keep using newer
gopass releases. Please note that this is a temporary workaround and
will eventually go away.
RELEASE_NOTES=[ENHANCEMENT] Add GOPASS_DISABLE_MIME to disable new
secret format.
Signed-off-by: Dominik Schulz<EMAIL_ADDRESS>

Codecov Report

Merging #1530 into master will decrease coverage by 0.11%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1530      +/-   ##
==========================================
- Coverage   60.46%   60.35%   -0.11%
==========================================
  Files         219      219
  Lines       12130    12153      +23
==========================================
  Hits         7334     7334
- Misses       3987     4009      +22
- Partials      809      810       +1

Impacted Files
Coverage Δ

pkg/gopass/secret/mime.go
53.26% <0.00%> (-17.75%)
:arrow_down:

Continue to review full report at Codecov.

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


feat: make emscripten works

sometings changed in emscripten v3.x
let it works.

Thank you!

 total 76K
-rw-r--r--  1 runner docker  17K Jan 18 12:00 CMakeCache.txt
drwxr-xr-x 13 runner docker 4.0K Jan 18 12:00 CMakeFiles
-rw-r--r--  1 runner docker  21K Jan 18 12:00 Makefile
-rw-r--r--  1 runner docker 4.5K Jan 18 12:00 cmake_install.cmake
-rw-r--r--  1 runner docker  13K Jan 18 12:00 qjs_wasm.js
-rwxr-xr-x  1 runner docker  133 Jan 18 12:00 qjs_wasm.wasm

Idn't the output size way too small?

It is a runtime exception. you can repoduce issues by simple run "console.log(123)".
$ emcc -v emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.51 (c0c2ca1314672a25699846b4663701bcb6f69cca) clang version 18.0.0git (https://github.com/llvm/llvm-project f2464ca317bfeeedddb7cbdea3c2c8ec487890bb) Target: wasm32-unknown-emscripten Thread model: posix InstalledDir: /home/henry/demo/emsdk/upstream/bin

maybe my comments are confused. i am sorry for that.
the default stack memory size are 16kB in emscripten v3.
that will cause a stack overflow in runtime before any application code runs.

That was after your change. Do you think anything is missing?
We don't need a comprehensive build, there is quickjs-emacripten for that, we just want to make sure it builds.

yes, it builds. but could not run directly.
i think this is worse than it can not build. because the users of quickjs maybe only know how to write js code.

@saghul how to trigger another rebuild? only one check is failled because network issue.

It seems done.


groovy: 3.0.11 -> 4.0.21

Description of changes
groovy: 3.0.11 -> 4.0.21
https://github.com/NixOS/nixpkgs/issues/315801

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 315856 run on x86_64-linux 1

1 package built:

groovy

Result of nixpkgs-review pr 315856 run on aarch64-darwin 1

1 package built:

groovy

Tested running a simple script, everything looks good.


Add support for CURIE suffix sorting for non-numerical codes

Some examples: CHEMBL.COMPOUND:CHEMBL1098659 (WATER) [biolink:SmallMolecule]

I think our improved indexes have obliviated the need for this functionality, but please reopen if I'm wrong.


load_model - the two structures don't have the same nested structure

I trained a model and saved it using:
model.save("model_name")
I then call
model = tf.keras.models.load_model("model_name")
and get a "The two structures don't have the same nested structure." error. The structure that the model is expecting upon loading is not what I defined in the model.
My model:
roberta_layer = TFRobertaModel.from_pretrained('roberta-base')

ids = tf.keras.layers.Input((64,), dtype=tf.int32)
att = tf.keras.layers.Input((64,), dtype=tf.int32)

roberta_inputs = [ids, att]

sequence_output,pooled_output = roberta_layer(roberta_inputs)

# unigram
x1 = tf.keras.layers.Conv1D(32,1,activation='relu')(sequence_output)
x1 = tf.keras.layers.GlobalMaxPool1D()(x1)

# bigram
x2 = tf.keras.layers.Conv1D(32,2,activation='relu')(sequence_output)
x2 = tf.keras.layers.GlobalMaxPool1D()(x2)

# trigram
x3 = tf.keras.layers.Conv1D(32,3,activation='relu')(sequence_output)
x3 = tf.keras.layers.GlobalMaxPool1D()(x3)

concat = tf.keras.layers.Concatenate()([x1,x2,x3])
concat = tf.keras.layers.Dropout(0.5)(concat)

outputs = tf.keras.layers.Dense(11, activation='sigmoid')(concat)

model = tf.keras.Model(inputs=roberta_inputs, outputs=outputs)

I'm using tf 2.4.0
and transformers 3.5.1
The full error is:
The two structures don't have the same nested structure.
First structure: type=dict str={'input_ids': TensorSpec(shape=(None, 5), dtype=tf.int32, name='inputs/input_ids')}
Second structure: type=list str=[TensorSpec(shape=(None, 64), dtype=tf.int32, name='inputs/0'), TensorSpec(shape=(None, 64), dtype=tf.int32, name='inputs/1')]
More specifically: The two namedtuples don't have the same sequence type. First structure type=dict str={'input_ids': TensorSpec(shape=(None, 5), dtype=tf.int32, name='inputs/input_ids')} has type dict, while second structure type=list str=[TensorSpec(shape=(None, 64), dtype=tf.int32, name='inputs/0'), TensorSpec(shape=(None, 64), dtype=tf.int32, name='inputs/1')] has type list
During handling of the above exception, another exception occurred:

I'm having the same issue with TF 2.4.1 and Transformers 4.2.2.
First structure also have shape=(None, 5) while second structure is shape=(None, maximum length of a sequence).

I'm having the same issue with TF 2.4.1 and Transformers 4.2.2.
First structure also have shape=(None, 5) while second structure is shape=(None, maximum length of a sequence).

Same issue with TF 2.5.0-rc3 and Transformer 4.5.1.
Using out of the box Bert classifier:
model = TFBertForSequenceClassification.from_pretrained(bert-base-multilingual-uncased',num_labels=2)
then traning the model and then trying to save it give me the same error
TypeError: The two structures don't have the same nested structure.

First structure: type=dict str={'input_ids': TensorSpec(shape=(None, 5), dtype=tf.int32, name='input_ids/input_ids')}

Second structure: type=list str=[TensorSpec(shape=(None, 128), dtype=tf.int32, name='input_ids/0')]

saving the mode .hd5 results in the error we reloading the model:
model.save('bert_input.hd5')

Same issue with transformers 4.6.1 and tensorflow 2.4.1
I built the model as the following.
Model: "model_1"
__________________________________________________________________________________________________
Layer (type)                    Output Shape         Param #     Connected to
==================================================================================================
input_4 (InputLayer)            [(None, 512)]        0
__________________________________________________________________________________________________
input_3 (InputLayer)            [(None, 512)]        0
__________________________________________________________________________________________________
tf_distil_bert_model_1 (TFDisti TFBaseModelOutput(la 66362880    input_4[0][0]
                                                                 input_3[0][0]
__________________________________________________________________________________________________
bidirectional_1 (Bidirectional) (None, 128)          320256      tf_distil_bert_model_1[1][7]
__________________________________________________________________________________________________
dense_2 (Dense)                 (None, 16)           2064        bidirectional_1[0][0]
__________________________________________________________________________________________________
dropout_58 (Dropout)            (None, 16)           0           dense_2[0][0]
__________________________________________________________________________________________________
dense_3 (Dense)                 (None, 10)           170         dropout_58[0][0]
==================================================================================================
Total params: 66,685,370
Trainable params: 322,490
Non-trainable params: 66,362,880
__________________________________________________________________________________________________

Then, it's trained and save as SavedModel. But when load it back, it's an error.
The two structures don't have the same nested structure.

First structure: type=dict str={'input_ids': TensorSpec(shape=(None, 5), dtype=tf.int32, name='input_ids/input_ids')}

Second structure: type=dict str={'input_ids': TensorSpec(shape=(None, 512), dtype=tf.int32, name='input_ids/input_ids'), 'attention_mask': TensorSpec(shape=(None, 512), dtype=tf.int32, name='input_ids/attention_mask')}

More specifically: The two dictionaries don't have the same set of keys. First structure has keys type=list str=['input_ids'], while second structure has keys type=list str=['input_ids', 'attention_mask']
Entire first structure:
{'input_ids': .}
Entire second structure:
{'input_ids': ., 'attention_mask': .}

@eyalshafran Can you share a simple standalone code to reproduce the issue? Did you try recent TF/Keras versions? Thanks!

Same issue

I am also facing the same issue

and after applying saved_model instead of save.... again this error appeared
tf.saved_model.save(intent_model,'/content/model')

Do tell me about this if someone has solved this issue.

Is it possible for anyone of you to share a simple standalone code to reproduce the issue? Thanks!

Update: if I change
sequence_output,pooled_output = roberta_layer(roberta_inputs)

to
sequence_output,pooled_output = roberta_layer.roberta(roberta_inputs)

as @eyalshafran suggested, the problem is magically solved.
I wonder what's the cause

Even I am facing the same issue.
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-10-3a1d333d606b> in <module>()
----> 1 ner_model_2 = pickle.load(open('ner_model_2.pkl', 'rb'))

2 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/nest.py in assert_same_structure(nest1, nest2, check_types, expand_composites)
    533                   "Entire first structure:\n%s\n"
    534                   "Entire second structure:\n%s"
--> 535                   % (str(e), str1, str2))
    536
    537

ValueError: The two structures don't have the same nested structure.

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-10-3a1d333d606b> in <module>()
----> 1 ner_model_2 = pickle.load(open('ner_model_2.pkl', 'rb'))

2 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/nest.py in assert_same_structure(nest1, nest2, check_types, expand_composites)
    533                   "Entire first structure:\n%s\n"
    534                   "Entire second structure:\n%s"
--> 535                   % (str(e), str1, str2))
    536
    537

ValueError: The two structures don't have the same nested structure.

 Instead of saving the model using model.save or tf.keras.models.save_model(), try saving the model weights using model.save_weights('model_weight.h5') during the training process.
At the prediction or testing phase, you need to create the model (architecture) manually, the same way you did in the training phase, and then load the weights to it.

Yes, model.save_weights('model_weight.h5') is a right way.
My model contains a bert huggingface bert. This model cannot be saved by model.save.
However, I can save weights.
When I try to restore the model. I first build the model again and then load the weights.
I successfully restore the model.

Yes, as introduced by shreyas-jk,  model.save_weights('model_weight.h5') can deal with this problem.
My model contains a huggingface bert. It cannot be saved.
However, I can save the weights. Subsequently, I build the model again in other files and load the weights.

Same issue.
tf 2.7.0
transformers 4.14.1
pretrained model: bert-base-cased

tensorflow 2.7.0
keras 2.7.0
transformers 4.15.0
pretrained model: "bert-base-multilingual-cased"
I also had the same issue when using model.save() & keras.model.load_model().
but, I change my python code to model.save_weights() & model.load_weights(), this issue resolved.
thanks to @Allen-Qiu & @shreyas-jk

tensorflow 2.7.0
keras 2.7.0
transformers 4.15.0
pretrained model: "bert-base-multilingual-cased"
I also had the same issue when using model.save() & keras.model.load_model().
but, I change my python code to model.save_weights() & model.load_weights(), this issue resolved.
thanks to @Allen-Qiu  & @shreyas-jk

In case this is still relevant for people, here is what I think is going on:
Keras saves the input specs on the first call of the model here. When loading a pretrained model with transformers using the from_pretrained class classmethod of TFPretrainedModel, the networks is first fed dummy inputs here. So the saved models expect their input tensors to be of sequence length 5, because that is the length of the dummy inputs.
In order to change that behaviour, you can reset the input specs before saving to a saved model like this:
# This is just a toy example of an input with sequence length 8 (as opposed to 5), just use a dictionary of your actual features instead.
features = {"input_ids": tf.constant([[1,2,3,4,5,6,7,8]]), "attention_mask": tf.constant([[1,1,1,1,1,1,1,1]]), "token_type_ids": tf.constant([[0,0,0,0,0,0,0,0]])}

model._saved_model_inputs_spec = None
model._set_save_spec(features)

tf.saved_model.save(model, "./out_dir")

@eyalshafran @yoonnoon @dschwalm @Allen-Qiu @shreyas-jk  Can you please try the above proposed solution and let me know if it works. Thanks!

It is not working for me. The first structure is still fixed on 5

Second structure: type=dict str={'attention_mask': TensorSpec(shape=(None, 32), dtype=tf.int32, name='inputs/attention_mask'), 'input_ids': TensorSpec(shape=(None, 32), dtype=tf.int32, name='inputs/input_ids')}```

tf.saved_model.load() instead of tf.keras.models.load_model() on Kaggle TPUs did the job for me.

@eyalshafran I tried to replicate this issue with transformers 4.11.3 and tensorflow 2.8.2 and running into a different error. Here's the gist. Also as mentioned above can you please use tf.saved_model.load() instead of tf.keras.models.load_model() . Thanks!

Even I am facing the same issue.
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-10-3a1d333d606b> in <module>()
----> 1 ner_model_2 = pickle.load(open('ner_model_2.pkl', 'rb'))

2 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/util/nest.py in assert_same_structure(nest1, nest2, check_types, expand_composites)
    533                   "Entire first structure:\n%s\n"
    534                   "Entire second structure:\n%s"
--> 535                   % (str(e), str1, str2))
    536
    537

ValueError: The two structures don't have the same nested structure.

 Instead of saving the model using model.save or tf.keras.models.save_model(), try saving the model weights using model.save_weights('model_weight.h5') during the training process.
At the prediction or testing phase, you need to create the model (architecture) manually, the same way you did in the training phase, and then load the weights to it.

I try your mention, save_weights, create the model, and load_weights, but get this error:
ValueError: Unable to load weights saved in HDF5 format into a subclassed Model which has not created its variables yet. Call the Model first, then load the weights.
Similar, I build my model using transformers. In init function, I build a albert and load weight by from_pretrained()


Fix .csproj and directory processing regression

Logic error is causing it to think projects are directories and vice versa

Ugh that’s ugly. Thanks for fixing that one


drive_map and lane data

@fyu , thanks very much for your contributions of BDD100k, I wonder can you provide the mask_labels for drive_maps within lanes together?

The drivable area mask maps can be exported from the labels: https://github.com/ucbdrive/bdd-data#understanding-the-data


Plugin isn't responsive with fallback()

If you use fallback() in an if-else clause for <Tab> behaviour with nvim-cmp then tabout does not trigger. Below is my config.
local cmp = require('cmp')

cmp.setup({
    sources = {
        {name = 'nvim_lsp'},
        {name = 'ultisnips'},
    },
    mapping = cmp.mapping.preset.insert({
        ['<Tab>'] = function(fallback)
            if cmp.visible() then
                cmp.confirm({select = true})
            else
                fallback()
            end
        end
    }),
    snippet = {
        expand = function(args)
            vim.fn["UltiSnips#Anon"](args.body)
        end,
    },
})

require('tabout').setup({
    tabkey = '<Tab>',
    backwards_tabkey = '<S-Tab>',
    act_as_tab = false,
    act_as_shift_tab = false,
    default_tab = '<C-t>',
    default_shift_tab = '<C-d>',
    enable_backwards = true,
    completion = true,
    tabouts = {
        {open = "'", close = "'"},
        {open = '"', close = '"'},
        {open = '`', close = '`'},
        {open = '(', close = ')'},
        {open = '[', close = ']'},
        {open = '{', close = '}'}
    },
    ignore_beginning = true,
    exlude = {}
})

require('ultimate-autopair').setup({})

Hi @zeta-squared
No idea, I do not use cmp...I guess you need to load tabout before you load cmp to make it work

I had similar problem and solved it by setting completion=false and manually requiring tabout from nvim-cmp. If you want, my config is here https://github.com/abecodes/tabout.nvim/issues/57#issuecomment-2564049907


Ignore redirect warnings

Permanently fixes pipeline failures, like this one.
Whoever disagrees with this PR is free to take responsibility to fixing 301 and 302 on elastisys.io. I did it 5 times in October alone. :smile:
⚠ IMPORTANT ⚠: This is a public repository. Make sure to not disclose:

[x] personal data beyond what is necessary for interacting with this Pull Request;
[x] business confidential information, such as customer names.

It's more like an "FYI" PR. :smile:


AttributeError: module 'gdal2tiles' has no attribute 'generate_tiles'

gdal2tiles version: 0.1.5
GDAL version:2.3.1
Python version: 3.6
Operating System: Linux Ubuntu 18.04

Description
generate_tiles function is missing. I am using pycharm, the IDE is referencing to the right function but calling the script within a ipython script in virtual env it is missing.
What I Did
import gdal2tiles
gdal2tiles.generate_tiles(map_file, tile_dir, zoom='3-12')

@meteoDaniel I guess you have a typo in your script
It should be gdal2tiles.generate_tiles. You have a missing s, you used gdal2tile which could be a different module.

@machakux  thanks, but it was just a spelling mistake in this issue. Error still occures.

@meteoDaniel I couldn't reproduce this issue on my system.
May be you should make sure the package is properly installed (without errors) or you don't have other conflicting packages. You can try reinstalling on a fresh virtualenv.
For me gdal2tiles.generate_tiles is recogized as a function (no AttributeError is raised).

Anybody know how to fix this?

I have the same problem. Someone know how to fix this?

I tried testing with multiple versions of GDAL (including GDAL 2.3.3) and I was unable to reproduce this issue, neither locally nor on Travis.
Basic tests  performed are included in tests/ directory (https://github.com/tehamalab/gdal2tiles/blob/master/tests/test_generate_tiles.py) and passing Travis tests with multiple versions of GDAL can be seen at https://travis-ci.org/github/tehamalab/gdal2tiles
My guess is this issue is caused by errors during installation or a conficts in package names.
Unless someone can reproduce this issue on a fresh environment and provide a test script or expicit steps to reproduce this issue, I think this issue can be closed.

Don't know about the lower versions but on 3.1.4 (and probably up), GDAL has a gdal2tiles.py and this creates a conflict.
In my case, it opts for
'/home/ashwin/miniconda3/envs/rdet/lib/python3.7/site-packages/GDAL-3.1.4-py3.7-linux-x86_64.egg-info/scripts/gdal2tiles.py'

instead of
/home/ashwin/miniconda3/envs/rdet/lib/python3.7/site-packages/gdal2tiles/gdal2tiles.py

Don't know about the lower versions but on 3.1.4 (and probably up), GDAL has a gdal2tiles.py and this creates a conflict.
In my case, it opts for
'/home/ashwin/miniconda3/envs/rdet/lib/python3.7/site-packages/GDAL-3.1.4-py3.7-linux-x86_64.egg-info/scripts/gdal2tiles.py'

instead of
/home/ashwin/miniconda3/envs/rdet/lib/python3.7/site-packages/gdal2tiles/gdal2tiles.py

It seems GDAL now includes gdal2tiles.py script in its pypi package as @ashnair1 mentioned. Perhaps this package should be renamed to avoid conflicts.
What are other options?

It seems GDAL now includes gdal2tiles.py script in its pypi package as @ashnair1 mentioned. Perhaps this package should be renamed to avoid conflicts.
What are other options?

+1 for renaming this package to avoid import problems when GDAL is installed as well.

We are experiencing this too.  Vote for renaming package.


angular-formio: How to integrate formbuilder component to my application

Hi Travist,
I am new to formio , It is possible to integrate formbuilder component to my application.

@bmadhan90 Please consider to use
https://formio.github.io/formio.js/docs/class/src/FormBuilder.js~FormBuilder.html
https://github.com/formio/angular-formio/tree/master/demo/forms/builder

@bmadhan90 Did it help you?

Thanks. Used 2nd reference link to bind form builder.
One more question. How to change display type(form/wizard) in form builder? Any idea?

@bmadhan90 Use builder.setDisplay(display), where display is 'form' or 'builder'.

@YuryRybakSoftensity
Help me where to add,
HTML code as below
<form-builder  [form]="form" (change)="onChange($event)">
ts  code as below
import { Component, ElementRef, EventEmitter, ViewChild, OnInit } from '@angular/core';
@Component({
selector: 'app-form-builder',
templateUrl: './form-builder.component.html',
styleUrls: ['./form-builder.component.css']
})
export class FormBuilderComponent implements OnInit {
@ViewChild('json') jsonElement?: ElementRef;
public triggerRefresh: any;
public form: Object = {
components: [],
display: 'form'
};
ngOnInit() {
this.triggerRefresh = new EventEmitter();
}
onChange(event) {
// console.log(event);
// setDisplay('wizard');
this.jsonElement.nativeElement.innerHTML = '';
this.jsonElement.nativeElement.appendChild(document.createTextNode(JSON.stringify(event.form, null, 4)));
this.triggerRefresh.emit({
  property: 'form',
  value: this.form
});

}
change(event) {
// this.setDisplay();
this.triggerRefresh.emit({
property: 'form',
value: this.form
});
}
// setDisplay(wizard: any);
onSubmit(submission: any) {
console.log('madhan');
}
}

FormBuilderComponent_Host.ngfactory.js? [sm]:1 ERROR TypeError: this.form.setDisplay is not a function
at FormBuilderComponent.push../src/app/form-builder/form-builder.component.ts.FormBuilderComponent.ngOnInit (form-builder.component.ts:22)
at checkAndUpdateDirectiveInline (core.js:10097)
at checkAndUpdateNodeInline (core.js:11363)
at checkAndUpdateNode (core.js:11325)
at debugCheckAndUpdateNode (core.js:11962)
at debugCheckDirectivesFn (core.js:11922)
at Object.eval [as updateDirectives] (FormBuilderComponent_Host.ngfactory.js? [sm]:1)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:11914)
at checkAndUpdateView (core.js:11307)
at callViewAction (core.js:11548)

I am also look where to set it up.. Please help

@bmadhan90  are you able to figure it out. Please share your experience.

@kikkiraj  I am also still searching for solution.
wizard form rendering working.

@kikkiraj Have you solved the problem?  Please share your experience.

@bmadhan90 Have you solved the problem? I search for solution too, Can you share your experience?

@bmadhan90 @kikkiraj I have solved the problem;
just like this:
HTML code as below:
<button (click)="save()" class="btn default" type="button">save
<form-builder [form]="form" (change)="onChange($event)">
ts code as below
import { Component, OnInit, ViewChild, ElementRef, AfterViewInit, EventEmitter } from '@angular/core';
@Component({
selector: 'app-formbuilder',
templateUrl: './formbuilder.component.html',
styleUrls: ['./formbuilder.component.css']
})
export class FormbuilderComponent implements OnInit {
public form: Object = {
components: [],
};
ngOnInit() {
}
save() {
// this.http.post();
console.log(this.form);
localStorage.setItem('formBuilderData', JSON.stringify(this.form));
}
onChange(event) {
}
}

@indingpig can you please share your formbuilder.component.html too. need a quick clarity, is your solution for display change? If yes then Select with [Form, Wizard] options are not part of <form-builder directive, then how did you fixed is the curious part.
Please share.

@kikkiraj here is the code. https://github.com/indingpig/angularApp

Both the Angular Demo and the Starter Kit both implement the new Form manager module.

I have angular 7 application. now i want to use Form-builder in my application.
Since there is another library used in the proj that uses core-js-2.6.9 version. Now i know that If i use below version then application will work fine.
"angular-formio": "3.16.0",
"formiojs": "3.20.9",
Now, Problem is on using  or  , i am getting an error - 'form-builder' is not a known element.
Please suggest where is the problem,
In app module, i wrote the following:
import { FormioGrid } from 'angular-formio/grid';
@NgModule({
imports: [FormioModule]
...
Downloaded Angular-starter-kit sample code is working but not the actual. Can you please suggest @travist
tagging others as they may help me - @YuryRybakSoftensity  @bmadhan90 bmadhan90
404 Not found coming on url -
https://github.com/formio/angular-formio/tree/master/demo/forms/builder.

Sushil,
Thanks for reaching out!
Can you please open this item as a new issue?
Thanks.

I have angular 7 application. now i want to use Form-builder in my application.
Since there is another library used in the proj that uses core-js-2.6.9 version. Now i know that If i use below version then application will work fine.
"angular-formio": "3.16.0",
"formiojs": "3.20.9",
Now, Problem is on using  or  , i am getting an error - 'form-builder' is not a known element.
Please suggest where is the problem,
In app module, i wrote the following:
import { FormioGrid } from 'angular-formio/grid';
@NgModule({
imports: [FormioModule]
...
Downloaded Angular-starter-kit sample code is working but not the actual. Can you please suggest @travist
tagging others as they may help me - @YuryRybakSoftensity @bmadhan90 bmadhan90
404 Not found coming on url -
https://github.com/formio/angular-formio/tree/master/demo/forms/builder.

Hope these 2 new urls helps here -
https://github.com/formio/angular-demo/tree/master/src/app/forms/builder
https://github.com/merobal/angular-formio-custom-demo/tree/master/src/app

For builder.setDisplay('form||wizard')
display is a field in form json-schema where we supply the list of components and others. I believe, by default it is picking up 'form' as display.
Just add a field (as display with form or wizard) in 'form' json or add it in the URL which supplies the json.
Something similar to this,
in component,
constructor() {     this.form = {display: 'wizard', components: []};   }
in template,
<form-builder [form]="form" (change)="onChange($event)"></form-builder>


Trait method not recognized and type not inferred

rust-analyzer version: 0add6e95e 2021-12-20 stable
rustc version: rustc 1.57.0 (f1edd0429 2021-11-29)
I'm not sure what it is about this method that RA can't recognize, but here's an easily reproducible example:
Cargo.toml:
[package]
name = "ra-bug-example"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
async-std = "1.10.0"

main.rs:
use async_std::{
    net::{TcpListener},
    prelude::*,
    task,
};

fn main() {
    task::block_on(run("<IP_ADDRESS>:8000"));
}

async fn run(addr: &str) {
    let listener = TcpListener::bind(addr)
        .await
        .expect("Error binding TCP listener");

    // Here .next() is totally unrecognized and _stream is {unknown}
    while let Some(_stream) = listener.incoming().next().await {
        println!("Incoming!");
    }
}

Probably dupe of #4243.


MGDOBR-449: The manager asks the shard to provision/delete instances before the dependencies are created

https://issues.redhat.com/browse/MGDOBR-449
PR owner checklist
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration.
Run mvn clean verify -DskipTests so that imports are correctly set.
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

PR reviewer(s) checklist

[ ] Check if code and Github action workflows have been modified and if the modification is safe
[ ] If the modification is safe, add the safe to test label

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

I had to edit quite a few tests to make sure the "work" was completing before assertions made.

@manstis @robpblake MK has an intermediate state between accepted and provisioning to specify that it is deploying the dependencies: it is named preparing.
I think we might use this as well and then the manager returns to the shard all the instances with status preparing and with ready depependencies.
In addition to that, the deletion of the resources are affected by this bug as well as processors. It would be great if you can include such changes or create different tickets to fix them

@r00ta @manstis Lets  additional status in another PR. let's keep this one focused on fixing the issue we know we have without adding in other changes to the system


➕ Add multiple ENT

It would be nice if after this branch is validated to put in production with a new version the API...

Everything looks good to me. Thanks for your contribution !


Temporary fix for restart kernel not working in native IW

Fix https://github.com/microsoft/vscode-jupyter/issues/7081

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-2021.08@bce0dd4). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 89ecfb3 differs from pull request most recent head 3205b05. Consider uploading reports for the commit 3205b05 to get more accurate results

@@                Coverage Diff                @@
##             release-2021.08   #7084   +/-   ##
=================================================
  Coverage                   ?     65%
=================================================
  Files                      ?     410
  Lines                      ?   28570
  Branches                   ?    4269
=================================================
  Hits                       ?   18602
  Misses                     ?    8336
  Partials                   ?    1632


unable to load pdf from json api using pdfView.fromUri(Uri)

val pdfUrl=bookJsonObject.getString("pdf")
val uri=Uri.parse(pdfUrl)
pdfView.fromUri(uri)
The above is my kotlin code I am using  implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'

I am also facing a similar issue. I am unable to display pdf from firebase

To display a pdf from firebase storage:
Suppose your pdf file path in the storage is "pdfs/book1.pdf"
Kotlin code:

Reference to storage
val storage: FirebaseStorage = FirebaseStorage.getInstance()
val storageRef = storage.reference.child("pdfs/book1.pdf")

Create a temporary file and store pdf from the storage in it and load using pdfViewer
 val localFile = File.createTempFile("book", "pdf")
 storageRef.getFile(localFile).addOnSuccessListener {
     pdfViewer.fromFile(localFile).load()
 }


[WIP] schedule: scatter regions to stores with the same engine

What problem does this PR solve?
Fixes #2485
What is changed and how it works?
This PR stores scattering information by engine in engineContext. Then, we do scattering only within stores with the same engine. I think it should help tiflash scatter its regions.
Check List

Tests

Unit test

Side effects

Possible performance regression

The scattering is more complex now. But I think it shouldn't be a big problem because it's rare to do this operation.

Related changes

Need to cherry-pick to the release branch (?)

Release note
Support scattering regions in stores with special engines (like TiFlash).

 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.

The test case relative to here, maybe we can move it to schedule. :)

@nolouch PTAL
I am new to PD and not sure if it's a correct approach.

Sorry, a test is still failing. Let me debug it more...

Codecov Report

Merging #2531 into master will increase coverage by 0.06%.
The diff coverage is 95.38%.

@@            Coverage Diff             @@
##           master    #2531      +/-   ##
==========================================
+ Coverage   77.15%   77.22%   +0.06%
==========================================
  Files         204      204
  Lines       22057    22087      +30
==========================================
+ Hits        17019    17057      +38
+ Misses       3746     3745       -1
+ Partials     1292     1285       -7

Impacted Files
Coverage Δ

server/schedule/operator_controller.go
78.50% <ø> (-0.17%)
:arrow_down:

server/schedule/region_scatterer.go
88.49% <93.33%> (+2.47%)
:arrow_up:

pkg/mock/mockcluster/mockcluster.go
91.78% <100.00%> (+0.20%)
:arrow_up:

server/schedule/filter/filters.go
91.45% <100.00%> (+0.42%)
:arrow_up:

server/schedule/operator/create_operator.go
95.95% <100.00%> (+0.04%)
:arrow_up:

server/region_syncer/client.go
81.67% <0.00%> (-3.06%)
:arrow_down:

pkg/mock/mockhbstream/mockhbstream.go
89.23% <0.00%> (-1.54%)
:arrow_down:

server/server.go
76.48% <0.00%> (-0.31%)
:arrow_down:

server/member/leader.go
72.76% <0.00%> (+0.77%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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

PTAL @lhy1024

/merge

/merge

/run-cherry-picker


Update channels.csv

See title

13763  entry with the id "KCNZCD2.us" already exists

Yes, I noticed that. I'll attempt to fix it.

Fixed


Improve search times when searching images

Description
...when portal has thousands of folders/files.
Steps to reproduce

install engage 9.2.0 and login as host;
add a new page and edit the default html module, open images dialog;
type something in the search box.

Screencast: https://www.screencast.com/t/d4A2NQOmKAm
Current result
the search will be very slow to response.
Expected result
search result should be display quickly.
Affected version

[x] 9.2
[ ] 9.1.1
[ ] 9.1
[ ] 9.0

@tpluscode sorry, I missed the underlying issue (use case) for the change.
IMO we should consider using DNN search index for this situation or extend the stored procedure GetFiles with an additional parameter "Search Term" to return just the matching files. Out of these alternatives, only Lucene will be well performing unless we add a fulltext index to the DNN database.

Would you consider this a new enhancement? Either solution would require a bit more change. I think we should create a new issue and discuss how to proceed

@tpluscode I agree. I'll have a look into the code and create a new issue.

@tpluscode I just noticed, search for images in the editor seem to be an Evoq exclusive feature, you may discuss inside your corp.


Documentation request – how to draw a polygon

Since Flutter does not have a lot of functionality in terms of bringing in SVGs that can be animated etc, I need to use Custom Painter. That's fine, but I'm finding the documentation to be extremely difficult. The documentation would really benefit from a use case type of narrative.
"Want to draw a polygon? Use XYZ, here's a snippet"
I'm also bugging the fine folks on the Flutter Discord and still having trouble figuring out how to draw a custom shape.

I agree with you that the canvas isn't documented very well.
I recommend you to look at Android canvas tutorials. The API is very similar because Flutter is based on the same underlying graphics engine.

There is a Fluttie tutorial (egg timer) that recommends rotating the entire canvas to use CustomPainter to act as a facsimile for cylindrical coordinates. I have noticed a few people recommending this as a tutorial in the absence of documentation.
My concern is that rotating the entire canvas a couple hundred times to draw shapes is expensive, but I'm honestly not sure. Again, documentation on best practices with CustomPainter is going to be very helpful for people like me.

@lukepighetti Actually that's very cheap. Only the transformation matrix is rotated, not the canvas itself.

Good to know, thanks!

Closing, since this is now documented in CustomPainter.


Thanks for the library

thanks for the library, have created a java one based on your logic
https://github.com/RealZimboGuy/ewelink-api-java

Any luck with getting websocket integrated @RealZimboGuy. I can’t figure out the login..

Any luck with getting websocket integrated @RealZimboGuy. I can’t figure out the login..

Hi @delid4ve  in my api or this one ?

Hi @delid4ve  in my api or this one ?

Yours doesn’t have websocket connection at present, didn’t know if you looked into it?
I’m currently integrating into openhab and hate polling for states.  Just can’t get the login to work on the websocket, just get an {error:406, sequence:1649374937395} response.  Everything else is working fine. Pulling my hair out 😂
Have looked at this, alexit homeassistant, few .net ones and more.. everything seems to be right so sure I’m missing something silly

Yours doesn’t have websocket connection at present, didn’t know if you looked into it?
I’m currently integrating into openhab and hate polling for states.  Just can’t get the login to work on the websocket, just get an {error:406, sequence:1649374937395} response.  Everything else is working fine. Pulling my hair out 😂
Have looked at this, alexit homeassistant, few .net ones and more.. everything seems to be right so sure I’m missing something silly

I had briefly looked into it but just opted for polling.  i'll take another
look into adding websockets and let you know. It didnt look too complex and
if thats still the case i will do a new lib version.
-Julian
On Thu, 14 Jan 2021 at 01:22, Delid4ve<EMAIL_ADDRESS>wrote:

Yours doesn’t have websocket connection at present, didn’t know if you
looked into it?
I’m currently integrating into openhab and hate polling for states. Just
can’t get the login to work on the websocket, just get an {error:406,
sequence:1649374937395} response. Everything else is working fine. Pulling
my hair out 😂
Have looked at this, alexit homeassistant, few .net ones and more..
everything seems to be right so sure I’m missing something silly
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydiver/ewelink-api/issues/125#issuecomment-759821232,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYYQWAHHJPSLJRRJ6SIQRLSZYTM3ANCNFSM4UMA4TSA
.

I had briefly looked into it but just opted for polling.  i'll take another
look into adding websockets and let you know. It didnt look too complex and
if thats still the case i will do a new lib version.
-Julian
On Thu, 14 Jan 2021 at 01:22, Delid4ve<EMAIL_ADDRESS>wrote:

Yours doesn’t have websocket connection at present, didn’t know if you
looked into it?
I’m currently integrating into openhab and hate polling for states. Just
can’t get the login to work on the websocket, just get an {error:406,
sequence:1649374937395} response. Everything else is working fine. Pulling
my hair out 😂
Have looked at this, alexit homeassistant, few .net ones and more..
everything seems to be right so sure I’m missing something silly
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydiver/ewelink-api/issues/125#issuecomment-759821232,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYYQWAHHJPSLJRRJ6SIQRLSZYTM3ANCNFSM4UMA4TSA
.

It's easy enough and that's why I'm sure I'm missing something silly.
1: authenticate on api - ok
2: get ws server - ok
3: connect to websocket - ok
4: authenticate websocket - fail
Always a 406 error on sequence.
I've even tried the v2 api skydiver has published.

It's easy enough and that's why I'm sure I'm missing something silly.
1: authenticate on api - ok
2: get ws server - ok
3: connect to websocket - ok
4: authenticate websocket - fail
Always a 406 error on sequence.
I've even tried the v2 api skydiver has published.

I'm wondering if it may be something to do with the jetty client I'm using within openhab (maven/eclipse).

I'm wondering if it may be something to do with the jetty client I'm using within openhab (maven/eclipse).

I have done a release on my repo for support and handling of the websocket
to ewelink. Also some extra stuff for handling socket drop/re-create. let
me know if that helps.

com.github.realzimboguy.ewelink.api
ewelink-api-java
2.1.0-RELEASE

When sonatype eventually indexes the jars
On Thu, 14 Jan 2021 at 10:50, Delid4ve<EMAIL_ADDRESS>wrote:

I'm wondering if it may be something to do with the jetty client I'm using
within openhab (maven/eclipse).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydiver/ewelink-api/issues/125#issuecomment-760030639,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYYQWHYIWSJFKOWDPMK4X3SZ2V4XANCNFSM4UMA4TSA
.

I have done a release on my repo for support and handling of the websocket
to ewelink. Also some extra stuff for handling socket drop/re-create. let
me know if that helps.

com.github.realzimboguy.ewelink.api
ewelink-api-java
2.1.0-RELEASE

When sonatype eventually indexes the jars
On Thu, 14 Jan 2021 at 10:50, Delid4ve<EMAIL_ADDRESS>wrote:

I'm wondering if it may be something to do with the jetty client I'm using
within openhab (maven/eclipse).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydiver/ewelink-api/issues/125#issuecomment-760030639,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYYQWHYIWSJFKOWDPMK4X3SZ2V4XANCNFSM4UMA4TSA
.

Cool I'll take a look tomorrow when I've got more time.
Spoke with alexIT, who made the Python integration for homeassistant. Knew it was something silly, websocket needed apikey not apiKey in the json 😩
Thanks tho as going to help a lot of people using openhab.

Cool I'll take a look tomorrow when I've got more time.
Spoke with alexIT, who made the Python integration for homeassistant. Knew it was something silly, websocket needed apikey not apiKey in the json 😩
Thanks tho as going to help a lot of people using openhab.

finally the maven repo is now public, seems issues at oss.sonatype
yesterday trying to upload but this morning its all fine
On Thu, 14 Jan 2021 at 14:38, Delid4ve<EMAIL_ADDRESS>wrote:

Cool I'll take a look tomorrow when I've got more time.
Spoke with alexIT, who made the Python integration for homeassistant. Knew
it was something silly, websocket needed apikey not apiKey in the json 😩
Thanks tho as going to help a lot of people using openhab.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydiver/ewelink-api/issues/125#issuecomment-760170411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYYQWEVQ2OSHKVRN3IUW23SZ3QWFANCNFSM4UMA4TSA
.

finally the maven repo is now public, seems issues at oss.sonatype
yesterday trying to upload but this morning its all fine
On Thu, 14 Jan 2021 at 14:38, Delid4ve<EMAIL_ADDRESS>wrote:

Cool I'll take a look tomorrow when I've got more time.
Spoke with alexIT, who made the Python integration for homeassistant. Knew
it was something silly, websocket needed apikey not apiKey in the json 😩
Thanks tho as going to help a lot of people using openhab.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/skydiver/ewelink-api/issues/125#issuecomment-760170411,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYYQWEVQ2OSHKVRN3IUW23SZ3QWFANCNFSM4UMA4TSA
.

It's easy enough and that's why I'm sure I'm missing something silly.
1: authenticate on api - ok 2: get ws server - ok 3: connect to websocket - ok 4: authenticate websocket - fail
Always a 406 error on sequence.
I've even tried the v2 api skydiver has published.

Same issue.
I had same issue. Debugging leaded me to conclusion that server in selected region ("us" by default) is on maintains. Changing target region (to "eu" in my case) resolved the issue.


theres no learnyoumongo database so i cant do challenges after 2nd

my first two steps are verified theres nothing missing but
theres no learnyoumongo database so i cant solve challenges after 2nd where can i get the database
im using ubuntu 15.10

The records are inserted when you verify the exercise. This is done for simple cleanup

si it doesnt work because the verify always returns empty array which does match needs

![screenshot from 2016-01-05 15-18-56]
(https://cloud.githubusercontent.com/assets/9097437/12115011/b35ce74e-b3bf-11e5-98a2-6497aa6265b5.png)
heres my code and always return an empty array

hm, have you tried checking e to see if an error occurred?

result is exact the same

What command are you using to run the file?

learnyoumongo verify myfile.js

And what version of node are you using? I am trying to reproduce now

4.2.3

sorry, last question (hopefully). What version of mongo are you using?

:) 2.6.10

any update ?

i am getting following error on learnyounode FIND exercise:
[TypeError: Cannot read property 'Kerberos' of undefined]
[ { _id: 56b3648ebe8ba67e0abfa1f4, name: 'Jenny', age: 10 } ]

Here is my code:
var mongo = require('mongodb').MongoClient;
var age = process.argv[2];
var url = 'mongodb://localhost:27017/learnyoumongo'

mongo.connect(url, function(err, db) {
  if (err) console.error(err);
  var parrots = db.collection('parrots')
  parrots.find({
    age: {
      $gt: +age
    }
  }).toArray(function(err, docs) {
    if (err) console.error(err);
    console.log(docs);
    db.close();
  });
});

DB Version:2.6.11
Why am i getting Cannot read property 'Kerberos' of undefined??

@maulikdarji do you have the mongoose module installed? It seems that module has to do with having an older version of it installed.


implement a UIViewPropertyAnimator based default animator.

This new class should conform to HeroAnimator & work along side the current HeroDefaultAnimator which is powered by CAAnimations. It should be interruptible & reversible.
Ideally this should be handle all the animation that is currently supported. But it has some limitations on what animations it can perform.
Compare to the CAAnimations based animator, it has the following advantages & disadvantages:
Advantage

Can easily animate snapshot's bounds.

on layer's level, I had to manually animate the content view of the snapshot to match the snapshot's bounds animation. Since CAAnimation won't trigger a re-layout.

Animate UIVisualEffectView's Effect properties

Disadvantage

Many of the layer's properties are unsupported. (shadow, border, 3d transform)
No keyframe based animation. (won't support arc)
Only work on iOS 10+

To summarize, there are some view-level properties that suites UIViewPropertyAnimator, but there are also many layer-level properties that CAAnimations are good at. These two class should work together to cover all the animatable properties that iOS supports.
The adoption rate of iOS 10 is pretty high already at 76%.
On lower iOS versions, we can drop the interactiveness , and use UIView.animateWithDuration. During interactive transitions, when the progress crosses over 0.5, we use  UIView.animateWithDuration to animate to the end state, if the user moves below 0.5, we animate to the begin state.
The initial implementation should be a simple one that only support UIVisualEffectView's effect. Since that is the only concern we have with the existing architecture. We can expand this in the future to replace some animations that are better suited for UIViewPropertyAnimator.

#26


Feature Request:  Path Follows Open Files

Folks, any way we can have the current working directory be the same as the file that is open?
For example, if you have several files open from several projects, it would be nice to have the shell pickup the current working directory of each file as you hit Shift+Command+C

This is how it works if the window doesn't have a directory open in the sidebar. Is that not the behavior you're seeing?

Can I get this behavior even when there is a directory in the side bar?

You can't make it work that way now. The idea was that if you have a
directory open then there's and obvious choice for the working directory of
the commands. If you have a compelling use case, though, (and want to write
the code) I'd be happy to merge in a toggleable version of the behavior
you're describing
On Mon, Feb 1, 2016 at 7:01 AM Pastafarianist<EMAIL_ADDRESS>wrote:

Can I get this behavior even when there is a directory in the side bar?
—
Reply to this email directly or view it on GitHub
https://github.com/misfo/Shell-Turtlestein/issues/56#issuecomment-177962755
.

I'm not seeing this behavior. Whatever directory the currently opened/focused file is in, ShellTultlestein still always shows and executes command in the project root.
Windows 10, ST3 (3103)

I notice that this:
folders = window.folders()

always return the project dir (as a single element in an array), even when I invoke shellturtlesetin from a file that's deep inside the project structure. Does this behave differently for you?

This comment explains how the directory is supposed to be chosen:
https://github.com/misfo/Shell-Turtlestein/blob/master/shell_turtlestein.py#L10-15
On Thu, Jun 30, 2016 at 12:40 PM laggingreflex<EMAIL_ADDRESS>wrote:

I notice that this:
https://github.com/misfo/Shell-Turtlestein/blob/master/shell_turtlestein.py#L17
folders = window.folders()
always return the project dir (as a single element in an array), even when
I invoke shellturtlesetin from a file that's deep inside the project
structure. Does this behave differently for you?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/misfo/Shell-Turtlestein/issues/56#issuecomment-229733020,
or mute the thread
https://github.com/notifications/unsubscribe/AACfV4ph9jwLHrCGpTFULAoLaZdkQ2KGks5qQ_8SgaJpZM4BUfJN
.

@laggingreflex contributed this feature (!) and I just merged it in. It adds a configuration option named prefer_active_view_dir. Enjoy!


Update New-CsConferencingPolicy.md

clarify difference between SfBO and SFB onprem conf policies. Indicate that SFBO conf policy impacts sfbo broadcast meetings in some cases. Clarify that VideoBitRateKb setting can't be changed from default at this time. If needed, reach out to support for a change.

Docs Build status updates of commit 13cabe6:
:clock10: Full build: the average full build time is 12 min(s) 38 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 13cabe6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsConferencingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 493cfd8:
:clock10: Full build: the average full build time is 12 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 493cfd8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsConferencingPolicy.md
:white_check_mark:Succeeded
View (skype-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add batchSize parameter to Qdrant_VectorStores and QdrantUpsert_Vecto…

Resolve the bug related to #2191 and #1824 :
Error: 400 Bad Request: Payload error: JSON payload (xxxxxx bytes) is larger than allowed (limit: 33554432 bytes)

This is a very important fix..

In my last commit the batchSize is not required, and I try to POST all at once first and if it fail I fall back to batch mode


Document WebSocket messages

Hey!
I am trying to develop a client for this extension for use with Bitfocus Companion, but I am not sure how the WebSocket is designed.
It would be awesome if all messages, properties, headers, etc. could be documented to allow for other people to create clients more easily.

Hi,
Could you share more info about what are you trying to achieve? The plugin on the stream deck side have a websocket server and accept each vscode instance as a connection.
Each connection has its ID, and that's how I can filter to which vscode instance (websocket clients) should send the messages (whenever the user press a key).

Hi,
Could you share more info about what are you trying to achieve? The plugin on the stream deck side have a websocket server and accept each vscode instance as a connection.
Each connection has its ID, and that's how I can filter to which vscode instance (websocket clients) should send the messages (whenever the user press a key).

I'm basically trying to recreate the StreamDeck plugin, but for companion instead of the Elgato StreamDeck program. There are no docs anywhere i could find that documents the communication between VSCode and the StreamDeck plugin over WSS, so it's really hard to recreate.

I'm basically trying to recreate the StreamDeck plugin, but for companion instead of the Elgato StreamDeck program. There are no docs anywhere i could find that documents the communication between VSCode and the StreamDeck plugin over WSS, so it's really hard to recreate.

The project were divided into two repositories (which I find very annoying, but when the idea started I built one at the time and i'm lazy to put them together).
The communication it's quite simple, so just take a look at the two repositories and you will be fine.
If you need any assistant send me a ping and I will try to help you.
vscode extension - https://github.com/nicollasricas/vscode-streamdeck
stream deck plugin - https://github.com/nicollasricas/streamdeckvsc

The project were divided into two repositories (which I find very annoying, but when the idea started I built one at the time and i'm lazy to put them together).
The communication it's quite simple, so just take a look at the two repositories and you will be fine.
If you need any assistant send me a ping and I will try to help you.
vscode extension - https://github.com/nicollasricas/vscode-streamdeck
stream deck plugin - https://github.com/nicollasricas/streamdeckvsc

Maybe I misunderstood it, do you wish to integrate my plugin with your companion app?
If that's the case, I don't see how this could work. Unless, if there's a way to send data from a client to another client.

Maybe I misunderstood it, do you wish to integrate my plugin with your companion app?
If that's the case, I don't see how this could work. Unless, if there's a way to send data from a client to another client.

I was mainly thinking of docs that document the communication between the VSCode plugin and the Stream Deck plugin, like what messages are sent, what params, types, etc.

I was mainly thinking of docs that document the communication between the VSCode plugin and the Stream Deck plugin, like what messages are sent, what params, types, etc.

Then just looking at both repositories you will be able to implement it.
Since each side sends/receives messages, they don't know anything about the other side execution.
Each message is just a simple class converted to a string JSON.

Then just looking at both repositories you will be able to implement it.
Since each side sends/receives messages, they don't know anything about the other side execution.
Each message is just a simple class converted to a string JSON.

Eg.::


fix: wrong module name

/
Overview
Changes the filename so that it matches the module name.
Changes
Rename a file.
Testing
Stays the same.

Coverage remained the same at 81.63% when pulling ef9d01b98bae0e1c3f8d106f95be94b69a1477ac on fix_api_module into 27fb91fea2b3a4dd4a3ef458dcf7cd1258a6a05c on master.


Remove(AIX explainer): Remove AIX explainer API and SDK

What this PR does / why we need it:
Removing AIX explainer API and SDK integration as the open source project is no longer in active development stage.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2823
Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevent result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

@yuzisun FYI seems like the SDK and swagger hasn't been regenerated for a while. I regenerated the swagger and SDK in this PR so it has the new added spec like path_template.


curator: do not wait for completion on forcemerge

forcemerge can take a lot of time, let's not wait for completion

/cc @adriengentil


[terra-flowsheet-data-grid] [WIP] Flowsheet Sections Multi-Cell/Range Select

Summary

What was changed:
Implements multi-select in flowsheet with sections.
Why it was changed:
To implement multi-selection in flowsheet with sections. It was previously only working with rows and not sections.
Testing

This change was tested using:

[x] WDIO
[x] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[x] Functional review

Additional Details

This PR resolves:
UXPLATFORM-9877

Thank you for contributing to Terra.
@cerner/terra

Something I hadn't considered is when a selection exists in a section and then that section is collapsed. Since there's no indication on the header that the section contains selected cells, cells in a section should be unselected when that section is collapsed.

Should the anchor be reset when sections or column headers are selected?

I'd say yes. I think we also missed this case in Worklist.

Functionally Reviewed


Markdown syntax not rendered in task titles

When markdown is used in the task title, the plugin doesn't render it at all, the plain text version is shown instead.

I realize this doesn't necesserily mean it's a bug - maybe there's no "correct" way to marry Habitica's markdown to Obsidian renderer (or maybe there is, but it produces weird or ugly results). But at least this deserves to be documented.

This indeed deserves to be documented, We'll see what we can do till the time.


Small bites

I'm not sure I have the PR workflow right. I closed the conversations as I made the changes.

That's fine


C# GameMode can't set certain properties

On the C# side, you can't change the PlayerControllerClass or the PlayerStateClass as they have no setters, only getters. There may be others as well.

We prioritize the BlueprintReadOnly flag. Might change in the future


Adding padding and margin in custom pixels in Sections

Hi thanks for making this tool.
I used to be able to do alot of things in px but now seems like they have been replaced by rigid few options 'Smooth', 'Large', 'Smooth' all of which I can't use.
Are they hidden somewhere? Thanks!

Hello, we used to allow that but we wanted to make it opinionated instead of having the full control.
If we get more response to add that back we will think about that.
Thank you, please do let me know if you have any other questions.


Update hpa.yaml to autoscaling/v1

 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.