XMLHttpRequest Error on Flutter Web

I am facing XMLHttpRequest error when calling google places Api.
there are many solutions to enable cors but in the case of google Apis, we can't do that. So I am pretty sure the issue is with flutter web.
So please help me out to call Api from flutter web

@mohsinnaqvi606
I think this issue is where the same discussion took place: https://github.com/flutter/flutter/issues/119297, so let's track this in that issue. I'll close this as a duplicate and reopen the original.

@mohsinnaqvi606 Get started here: https://developers.google.com/maps/documentation/javascript/places#GetStarted
If you want a ready-made client for the Google Places API, you may be able to use this:

https://pub.dev/documentation/google_maps/latest/google_maps_places/google_maps_places-library.html

(It's the same JS-Interop library that we use for the Google Maps Flutter plugin)


EACCES when using socket and requesting more eager expressions than min connections

I'm using objection v0.8.9 and knex 0.13.0 in a docker linux container on Windows.
When I make a request that has a more eager expressions than the default pool connections in knex, it gives me this error:
Error: connect EACCES /var/lib/mysql/mysql.sock
    at Object._errnoException (util.js:1019:11)
    at _exceptionWithHostPort (util.js:1041:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1175:14)
From previous event:
    at Client_MySQL2.acquireRawConnection (/code/api/src/node_modules/knex/lib/dialects/mysql2/index.js:74:12)
    at Object.create (/code/api/src/node_modules/knex/lib/client.js:239:16)
    at Pool._createResource (/code/api/src/node_modules/generic-pool/lib/generic-pool.js:354:17)
    at Pool.dispense [as _dispense] (/code/api/src/node_modules/generic-pool/lib/generic-pool.js:314:10)
    at Pool.acquire (/code/api/src/node_modules/generic-pool/lib/generic-pool.js:436:8)
    at /code/api/src/node_modules/knex/lib/client.js:289:19
From previous event:
    at Client_MySQL2.acquireConnection (/code/api/src/node_modules/knex/lib/client.js:280:12)
    at /code/api/src/node_modules/knex/lib/runner.js:208:30
From previous event:
    at /code/api/src/node_modules/knex/lib/runner.js:206:35
From previous event:
    at Runner.ensureConnection (/code/api/src/node_modules/knex/lib/runner.js:205:34)
    at Runner.run (/code/api/src/node_modules/knex/lib/runner.js:51:42)
    at Builder.Target.then (/code/api/src/node_modules/knex/lib/interface.js:35:43)
    at Builder.Target.(anonymous function) [as bind] (/code/api/src/node_modules/knex/lib/interface.js:85:26)
    at Object.<anonymous> (/code/api/src/node_modules/objection/lib/queryBuilder/QueryBuilder.js:512:31)
    at runCallback (timers.js:781:20)
    at tryOnImmediate (timers.js:743:5)
    at processImmediate [as _immediateCallback] (timers.js:714:5)
From previous event:
    at QueryBuilder.execute (/code/api/src/node_modules/objection/lib/queryBuilder/QueryBuilder.js:497:20)
    at QueryBuilder.then (/code/api/src/node_modules/objection/lib/queryBuilder/QueryBuilder.js:393:26)
    at process._tickCallback (internal/process/next_tick.js:188:7)

I'm using the default WhereInEagerAlgorithm
I'm connecting to mysql using a socket. If I use a host and port instead, there is no problem.
By default the knex config has a connection pool with min connections of 2 and max of 10. So if I request more 2 eager relations, the query works fine. If I request more than 2 it throws the above error. If I increase the min connection pool to 3, then I can request up to 3 eager relations.

I posted this also in Objection https://github.com/Vincit/objection.js/issues/540, but they think it's likely a bug on knex / mysql level.

Try to run your code with DEBUG=knex:* variable what is happening with queries and then try to reproduce this without objection.
If you do just like 50 parallel selects or short wait statements, are you getting the same error?

I was able to repro by just doing 3 parallel queries. Using DEBUG=knex:*, I get this output right before the rror:
Sat, 07 Oct 2017 20:47:16 GMT knex:pool INFO pool mysql:mysql2:client0 - dispense() clients=0 available=1
api_1  | Sat, 07 Oct 2017 20:47:16 GMT knex:pool INFO pool mysql:mysql2:client0 - dispense() clients=0 available=2
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:pool INFO pool mysql:mysql2:client0 - dispense() clients=1 available=2
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:client acquired connection from pool: __knexUid1
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:pool INFO pool mysql:mysql2:client0 - dispense() clients=1 available=1
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:client acquired connection from pool: __knexUid2
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:pool INFO pool mysql:mysql2:client0 - dispense() clients=1 available=0
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:query select * from `Home`
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:bindings []
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:query select * from `User`
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:bindings []
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:client releasing connection to pool: __knexUid2
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:pool INFO pool mysql:mysql2:client0 - dispense() clients=0 available=1
api_1  | Sat, 07 Oct 2017 20:47:22 GMT knex:pool INFO pool mysql:mysql2:client0 - dispense() clients=0 available=1

I can try to create a single file repro. It's entirely possible this might be caused by something windows or docker specific.

Huh this is kind of mysterious. Using the same knexfile I don't run into the error when I do the exact some 3 parallel queries using a knex seed file. But I do when running the query from the webserver.

OK, I found the problem. I had copied some code that removes root privileges after starting the server so as to restrict the privileges by running.
process.setegid('node');
process.seteuid('node');

Seems like root access is needed to open new connections on the socket. Removing those lines fixes the problem.


Question: Build main and renderer concurrently?

Is it possible to build the main and renderer concurrently?

Test on my computer:
START_TIME=$SECONDS;
npm run build-main && npm run build-renderer;
echo $(($SECONDS - $START_TIME))

Costs 38s
START_TIME=$SECONDS;
concurrently "npm run build-main" "npm run build-renderer";
echo $(($SECONDS - $START_TIME))

Costs 30s, but information logged by webpack is mixed together.

Hmm i see. Not that much of a difference


Create Internal link when editing html

At the moment, you can create a link to another element when editing markdown, but not when editing html.
It would be good if the same functionality was available when editing in html

.

@jamesrwelch There is already this feature in the HTML editor, labelled "Add Element" in the editor toolbar:

It does look like it could be improved though:

The link created directly references the element by its UUID, whereas the Markdown version would generate a URL where the name was included. The HTML version should probably change to match, and then ensure that hard references to UUID do not exist.
I could also look to try and update the UI a bit, maybe change the toolbar button icon to look more consistent.

@pjmonks Yes, ok, sorry, I didn't see that.  The two definitely need unifying then :)


fix(Dockerfile): force gunzip of copyright archive

I'm unable to build the controller container from master due to a gunzip error:
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
gzip: /usr/share/copyrights.tar.gz has 19 other links -- unchanged
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
gzip: /usr/share/copyrights.tar.gz already exists;	not overwritten

This is probably related to switching from ubuntu-slim to ubuntu in deis/docker-base#22 somehow--see also #1197. Adding a -f flag seems to fix it for me.

Current coverage is 87.29% (diff: 100%)

Merging #1203 into master will not change coverage

@@             master      #1203   diff @@
==========================================
  Files            43         43
  Lines          3826       3826
  Methods           0          0
  Messages          0          0
  Branches        665        665
==========================================
  Hits           3340       3340
  Misses          321        321
  Partials        165        165

Powered by Codecov. Last update 1c12587...8f10820


Secondary IP problem

i have 2 IPs for a server imagine my IPs are <IP_ADDRESS> and <IP_ADDRESS>
i want the client to connect to <IP_ADDRESS>:2815 and the server gives the data to client with <IP_ADDRESS>:2815 but the tunnel gives me error because the sender and reviser's IP is not the same. how do you think i should solve this problem. i know it is not the right way to use it but our internet in on censorship and the only way i can use it permanently is this what do you suggest i should do for your DTLS tunnel to accept this connection.
Thank you.

Hi!
Each individual DTLS session can use only one IP-port pair. I believe what you want is to have DTLS session using one IP and originate IP traffic via wireguard using another IP. It's possible, just adjust SNAT rules in iptables to use second IP instead of first IP address or MASQUERADE.

Hi @Snawoot,
Thank you for your reply.
I understand that you suggested using SNAT or MASQUERADE rules in iptables. However, my issue is specifically with the DTLS tunnel not accepting connections where the sender IP and receiver IP are different.
In my country, when we use VPNs or protocols like DTLS, the TX IP address gets banned after some days due to censorship. To circumvent this, I need the client to connect to one IP (<IP_ADDRESS>:2815) and have the server respond with a different IP (<IP_ADDRESS>:2815). This allows me to bypass the DPI (Deep Packet Inspection) systems that monitor and ban these connections.
Is there a way to configure the DTLS tunnel to accept this setup, where the client and server communicate using different IP addresses? I need the tunnel to handle two IPs without dropping the connection. Your guidance on this matter would be greatly appreciated.
I tried everything this is the only way if you help me with this it means a world to me.
Thank you.

Is there a way to configure the DTLS tunnel to accept this setup

dtlspipe doesn't support that. It is possible to adjust transport to reply downstream from another IP address, but it will require support on client side as well and it won't work for majority of clients behind NAT (e.g. Port Restricted Cone or Symmetric).
For your case I'd rather suggest to try a wrapper which pretends to be a TLS transport, but still carries UDP datagrams: https://github.com/ameshkov/udptlspipe
Or consider other protocols, depends what you're trying to achieve in the end.

@Snawoot  First thank you for your response and your time.
i ran Wireguard over TLS before it is good but DTLS is something else in terms of performance but thank you i do it with TLS.


Remove: Unity.Unity.6000.tvOS version 6000.0.4f1

Microsoft Reviewers: Open in CodeFlow

URL: https://download.unity3d.com/download_unity/b5d5d06b038a/TargetSupportInstaller/UnitySetup-AppleTV-Support-for-Editor-6000.0.4f1.exe
OK
(Automated message - build 923)

https://github.com/microsoft/winget-pkgs/pull/186121#issuecomment-2445759087

[Policy] Needs-Manual-Merge


How to enable discussions for a blogHow to enable discussions for a blog

How to enable discussions for a blog, I opened the discussion but it gives a prompt of
An error occurred: giscus is not installed on this repository
How can I get this feature of the page to work.
I have gotten the js code through https://giscus.app/, how do I make it work? Where exactly do I add it? I'm sorry for the inconvenience.

Make sure you have followed the instructions listed in https://giscus.app i.e.

The repository is public, otherwise visitors will not be able to view the discussion.
The giscus app is installed, otherwise visitors will not be able to comment and react.
The Discussions feature is turned on by enabling it for your repository.

Choose a discussion category e..g Announcements
Under enable discus, you will see a script like this:
<script src="https://giscus.app/client.js"
        data-repo="timlrx/tailwind-nextjs-starter-blog"
        data-repo-id="ABCDEDFG"
        data-category="Announcements"
        data-category-id="QWERTYYUIOP"
        data-mapping="pathname"
        data-strict="0"
        data-reactions-enabled="1"
        data-emit-metadata="0"
        data-input-position="bottom"
        data-theme="preferred_color_scheme"
        data-lang="en"
        crossorigin="anonymous"
        async>
</script>

As seen in .env.example, set the following environment variables corresponding to the above fields
e.g.
NEXT_PUBLIC_GISCUS_REPO=timlrx/tailwind-nextjs-starter-blog
NEXT_PUBLIC_GISCUS_REPOSITORY_ID=ABCDEDFG
NEXT_PUBLIC_GISCUS_CATEGORY=Announcements
NEXT_PUBLIC_GISCUS_CATEGORY_ID=QWERTYYUIOP

Hi I am having an issue enabling giscus comments. I followed the instructions at giscus.app, set the ENV vars in vercel, and nothing renders after loading comments.
Do I have to place the giscus script in app/layout or layouts?
Does the template automatically handle the login with github functionality or should I handle that separately by creating a login in with Github oauth config?
Thanks and great work on your template!


Add create/update functionality

It would be great to be able to create and update secrets using these functions.
This would allow Puppet to fully deploy a system, storing newly-created credentials into a Keyvault for use elsewhere (a better solution than using exported resources for this purpose)
Puppet could also then be used to manage OS passwords (such as root, oracle, etc) and rotate them when they are too old, storing the new password in the keyvault.

It would be great to be able to create and update secrets using these functions.

Can you provide a concrete example of this? Are you talking about specifically within the usage of a bolt task/plan itself?


⚠ Bofrost.de has degraded performance

In 3fdb464, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1358 ms

Resolved: Bofrost.de performance has improved in 134146d after 8 minutes.


Rename calculateDistance

The calculateDistance is using the various dissimilarity indices that are available through vegan. Some of those are not distances, for instance Bray-Curtis is not a distance (it does not satisfy triangle inequality). This is an important difference.
I propose to rename this function as calculateDissimilarity.
In addition, it could be mentioned more clearly in the manpage that these same indices are often called beta diversity in (microbial and other) ecology.

This function will be removed as well, since the functionality was just there to support runMDS2. There is need for it anymore.

Add a .Deprecate note on this function, if this is going to be removed?

So function that will be removed is:

calculateDistance

These functions utilize calculateDistance:

estimateDivergence
calculateUniFrac
calculateJSD

I am not sure what was meant to do with these 3 functions

Ok, so it was used for multiple functions. We can either

Keep this available but then I would change the name to maintain conceptual clarity

Hide the function (unexport), it could still be utilized by those other functions; but then Deprecation message would be necessary since some users may still have workflows with this.

I think calculateDistance could be wrapped internally and the deprecation of the exported function done for current devel. It would gone by Bioc 3.15.

Ok to me.

Can this be closed?

I think all is done for now, removing the function is the next step
So yes, this can be closed


fix(schema): Added Properties section to Kamelet Configuration Schema

Added schema for common Properties parameters i.e. 'title', 'description', 'type, 'x-descriptors'. Ref- https://camel.apache.org/camel-k/2.2.x/kamelets/kamelets-user.html#kamelets-specification-definition.
The Form looks like this:

Hi @lordrip, I recently added the functionality to sync the Canvas form and the source code and it works. But there are thing which are still not clear!

Once the canvas form loads with Properties, if we make any change on the form, we are losing the Properies title section.
Properties Section Before:

Properties Section after changing the canvas form:

How do we fix this!
Any comment on the default field for the properties section. Should we add it in the schema?

Hi @shivamG640, I'll try to address the questions in order

Once the canvas form loads with Properties, if we make any change on the form, we are losing the Properies title section.

Please keep in mind the difference between the official kamelet schema vs the custom kamelet schema:

Official Kamelet schema: properties is a dictionary
Custom Kamelet schema: properties is an array
With that in mind, when you're generating the custom schema out of the official one, you're transforming the properties dictionary into an Array here. Now, that's not enough as we're missing the name property which is the key to the object. Please check the following example:

Original value
topic:
  title: A topic field
  type: string
  default: ''
  x-descriptors

Expected value
{
  name: topic // Notice how we're bringing the name here
  title: A topic field
  type: string
  default: ''
  x-descriptors: ...
}

Now, when transforming the custom schema into the official one, we're missing the reverse step here.
So you would need to transform the Array back into a dictionary. One way to do this could be:
const propertiesArray: IKameletSpecProperty[] = getValue(value, 'kameletProperties', []);
const newProperties = propertiesArray.reduce((acc, property) => {
  acc[property.name] = property;

  return acc;
}, {});

Any comment on the default field for the properties section. Should we add it in the schema?

Yes, I think we should offer the possibility for the user to specify a default value.

Hi @lordrip , i followed the recomended approach and we are good with preserving the Property name when we switch form Source code to Canvas Form and back to source code, however the reverse is not working. I am getting  the property added with undefined property name When I add a new property from the canvas form:

How to tackle this situation?

Again, we are getting a different entry i.e. integer in our property type field which I guess coming from the template code. How to deal with this?

Regarding the tests, I was looking at this and curious to know about how to test for this malformed custom schema in the UI? I mean, is it possible to pass a malformed custom schema form the UI?

 Again, we are getting a different entry i.e. integer in our property type field which I guess coming from the template code. How to deal with this?

@shivamG640 Please keep in mind that the Typeahead field works as a dropdown with the added feature of allowing you to write any other value. As we commented a couple of times before, the field shows what's in the source code. Judging by the picture, period have an integer type, hence is shown in the list.

Hi @lordrip , i followed the recomended approach and we are good with preserving the Property name when we switch form Source code to Canvas Form and back to source code, however the reverse is not working. I am getting the property added with undefined property name When I add a new property from the canvas form:  How to tackle this situation?

In this case, we're missing a name property in the schema, for instance, on top of the title property.
         "name": {
            "title": "Property name",
            "description": "name of the property",
            "type": "string"
          },

Once you have that, you need to keep track of that name property, instead of PropertyName.
The reason why is getting lost might be because PropertyName doesn't exist in the schema, so the form doesn't have a way to know about it.

Regarding the tests, I was looking at this and curious to know about how to test for this malformed custom schema in the UI? I mean, is it possible to pass a malformed custom schema form the UI?

This test is to ensure the original object is not modified when loading a malformed schema, so we keep the original value if we can't process it

@lordrip , Ready to go to the Main branch!

Thanks very much @lordrip


plugin-k8s should try harder to find KUBECONFIG on macOS

as with #460 on macOS KUBECONFIG may not be visible to double-clicked or dock-launched applications

not quite

fixed by #490


Implement true Prim's algorithm

I have started this but I still need to get it working.

Implemented in v0.1.0


Adding java agent causes the process to fail to exit normally

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
After adding java agent, the process of spring boot failed to exit without starting fail.This will cause process monitoring to fail.How do I configure the agent.

Bug

Which version of SkyWalking, OS and JRE?

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

What do you mean fail to exit?

exapmle : error loading configuration file or Port occupation

You said exit, what configuration loaded in exiting?

no , i used systemctl to retry start spring boot application, but and agent  process will not exit. thanks for your help，but my english very poor .how about speak chinese

We don't do Chinese discussion on the GitHub and mail list. You could join the QQ group, but there is only a community discussion channel, nothing official happens there.
Agent installed in the app, and start with the app. There is no start or exit about the agent.


swupdate : fixed install of 2017.01

the do_install in the swupdate.inc installs the new swupdate services but the service files are present in SRC_URI only for swupdate_git.bb.
I don't really know if the best would be to get service files in 2017.01 or in the git. As there was a doubt I left everything in the swupdate_git.bb.

Patch is IMHO ok, but I cannot accept from github. This means that you have not read the contributing page (http://sbabic.github.io/swupdate/contributing.html) or you disagree with the terms of the "Developer’s Certificate of Origin 1.1", as stated in the page. Please post your patch to the ML for review.


(FM-4046) Update LICENSE file and misc modulesync_config changes

This doesn't change the actually license, but only updates the files to be more in line with ASF's guidelines to applying the license.

Please do not merge!

@DavidS Wouldn't dream of it since it doesn't pass CI :stuck_out_tongue:.

@daenney over communicating >> reverting :-)


Change bevy dependency to be main branch of bevy & Reserve components for Pane Layout system

I think I'm okay to swap to bevy main for now (LWIM is the only immediately planned third party dependency) but we need to pick a specific arbitrary commit to avoid uncontrolled breakage.

I'm not familiar with how easy it would be to setup, but perhaps a something like dependabot could be used to automate trying to keep the editor aligned with bevy/main?

I mustve done something wrong cause github is automatticly making my commits combine into this PR

Ill make a new PR and seperate these commits


[WIP] Add a flag to avoid reloading langlibs when reusing compiler contexts

Purpose

Add a flag to avoid reloading langlibs when reusing compiler contexts

Fixes #18118
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #18120 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #18120   +/-   ##
=======================================
  Coverage   15.08%   15.08%
=======================================
  Files          48       48
  Lines        1246     1246
  Branches      192      192
=======================================
  Hits          188      188
  Misses       1044     1044
  Partials       14       14

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 6c98604...f2a167c. Read the comment docs.

Closing in favor of https://github.com/ballerina-platform/ballerina-lang/pull/18139


Remove deprecated slider

Summary

Slider component is deprecated for a while, and the community package (https://github.com/react-native-community/react-native-slider) is now compatible with the new architecture (see https://github.com/react-native-community/discussions-and-proposals/issues/451).
I removed all occurrences of Slider, except:

RNTNativeComponentWithStateCustomShadowNode in RNTester
RNTNativeComponentWithStateCustomShadowNode.h#L25:
/*
 * `ShadowNode` for <Slider> component.
 */
class RNTNativeComponentWithStateCustomShadowNode final

and RNTNativeComponentWithStateCustomShadowNode.cpp#L40:
// It is not possible to copy or move image requests from SliderLocalData,
// so instead we recreate any image requests (that may already be in-flight?)
// TODO: check if multiple requests are cached or if it's a net loss

because I'm not sure this code is specific to the Slider component.

AccessibilityExample in RNTester
AccessibilityExample.js#L732:
<RNTesterBlock title="Adjustable with increment/decrement actions">
  <View
    accessible={true}
    accessibilityRole="adjustable"
    accessibilityActions={[{name: 'increment'}, {name: 'decrement'}]}
    onAccessibilityAction={event => {
      switch (event.nativeEvent.actionName) {
        case 'increment':
          Alert.alert('Alert', 'increment action success');
          break;
        case 'decrement':
          Alert.alert('Alert', 'decrement action success');
          break;
      }
    }}>
    <Text>Slider</Text>
  </View>
</RNTesterBlock>

because I think the text here does not refer to the Slider component.

Codegen fixtures
fixtures.js#L441 (3 more occurences in this file) and the snap file:
const IMAGE_PROP: SchemaType = {
  modules: {
    Slider: {
      type: 'Component',

because I feel like the name here is just a string but does not refer specifically to the Slider component, it could be any component name.

Accessiblity roles and values
View.js#L133:
separator: undefined,
slider: 'adjustable',
spinbutton: 'spinbutton',

ViewAccessibility.js#L99:
| 'separator'
| 'slider'
| 'spinbutton'

ViewAccessibility.d.ts#L73:
/**
 * Represents the current value of a component. It can be a textual description of a component's value, or for range-based components, such as sliders and progress bars,
 * it contains range information (minimum, current, and maximum).
 */

ViewPropTypes.js#L508:
/**
 * alias for accessibilityState
 * It represents textual description of a component's value, or for range-based components, such as sliders and progress bars.
 */

because I feel that the slider role and the comments about slider are still relevant.

Changelog

[General] [Removed] - Remove deprecated Slider component
Test Plan

All the tests are green, and the RNTester app is running fine.

@huntie I see that Facebook Internal Builds and Linter failed. Is there anything I can do ?

@AntoineDoubovetzky Hey, yes we gave this a go and CI flagged that we are still depending on this component in several places internally at Meta — enough that this cannot be immediately merged.
We are going to create tasks/reach out to maintainers so that these internal usages can be replaced, but this will take some time (we cannot make any near-term commitment).
Let's keep this PR open in the meantime. I've assigned it to @NickGerleman as a task hook and he/someone should re-import this PR in future when ready.

Reading the issue I thought that the Slider was not used internally anymore. Good luck replacing it!

@huntie I believe the Slider has been removed in another PR: https://github.com/facebook/react-native/pull/35365
I can close this one, right?

@AntoineDoubovetzky Yes, thanks!


Allow overriding flag defaults in BindFlags

This is an implementation of the feature request @ https://github.com/DATA-DOG/godog/issues/143. BindFlags has been updated to use any non-empty opt properties as default overrides. For any empty opt properties, the default... defaults are used.
closes #143

nice work, thanks ;)


Update according to Igluctl 0.2.0

Companion PR for https://github.com/snowplow/iglu/issues/203

LGTM!


feature: Change default behaviour of html tag indentation when pressing enter using using nvim-ts-autotag

Did you check the docs?

[X] I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.
Currently lazyvim is closing tags properly but the issue is that if I hit enter after tag completition it becomes something like this:-
|

Hit enter then it becomes

|

To make it become something like below i have to add additional config as suggested by @dpetka2001 in discussion https://github.com/LazyVim/LazyVim/discussions/1832 to my plugins config

  |

return {
    "hrsh7th/nvim-cmp",
    dependencies = {
      { "windwp/nvim-autopairs", opts = {} },
    },
    opts = function()
      local cmp = require("cmp")
      local cmp_autopairs = require("nvim-autopairs.completion.cmp")

      -- Insert parentheses after selecting method/function
      cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())
    end,
  }

Describe the solution you'd like
Can this config which I have to additionally add be included in lazyvim by default. Because the default behaviour of tags when enter is pressed makes it tought cause i have to go back to normal mode and press O again.
Describe alternatives you've considered
None
Additional context
No response

As I mentioned in the discussion thread, I believe it would be more appropriate to open an issue either at nvim-cmp's or nvim-ts-autotag's repo to take care of this. It really isn't a Lazyvim issue I believe.


IF uses OTP,LDAP authentication fails

Hello,@wheelybird
If I set "ENABLE_OTP=true",LDAP use authentication fails;If I no set "ENABLE_OTP=true",LDAP use authentication succes.
so why otp set fails?
my docker container:
docker run
--name openvpn
--volume /path/on/host:/etc/openvpn
--detach=true
--restart=always
-p 1194:1194/udp
-e "OVPN_SERVER_CN=ldap.moon.com"
-e "LDAP_URI=ldap://<IP_ADDRESS>:389"
-e "LDAP_TLS_VALIDATE_CERT=false"
-e "LDAP_BASE_DN=dc=moon,dc=com"
-e "LDAP_BIND_USER_DN=cn=admin,dc=moon,dc=com"
-e "LDAP_BIND_USER_PASS=xxyyzzaabbc"
-e "LOG_TO_STDOUT=false"
-e "OVPN_ROUTES=<IP_ADDRESS> <IP_ADDRESS>"
-e "OVPN_NAT=false"
-e "OVPN_DNS_SERVERS=<IP_ADDRESS>"
-e "ENABLE_OTP=true"
--cap-add=NET_ADMIN
wheelybird/openvpn-ldap-otp:v1.8
thanks

I don't know - you haven't provided any logs or further information.  My guess is that you haven't read the README.  You need to set up MFA for a user and then append the OTP to the password when logging in: https://github.com/wheelybird/openvpn-server-ldap-otp?tab=readme-ov-file#using-otp
I can also see that you haven't changed the volume path to somewhere suitable on the host.  Change --volume /path/on/host:/etc/openvpn to something useful like --volume /opt/openvpn-otp:/etc/openvpn
If you have set up MFA already then you can debug authentication by execing into the container and using pamtester, as follows:
You'll need to get a shell in the existing container: docker exec -ti {container name} bash
Now install some packages: apt-get install -y pamtester psmisc
Kill the existing nslcd process: killall nslcd
Start a new background process with debugging enabled: nslcd -d &
Now you can run pamtester: pamtester openvpn {your username} authenticate

thanks,I try do it


Feature/rework debug metrics

Summary | Résumé

Reworked existing MetricsService to resemble to the one we have on the React side

Going through initial testing


Please add a proper README with usage examples and dist build

Users finding your repo from the SUPPORTED_LANGUAGES list will expect to find instructions on how to add your 3rd party grammar to their project.
Please see:

https://github.com/highlightjs/highlightjs-robots-txt (a example README)
https://github.com/highlightjs/highlight.js/issues/3008

#3008 is specifically related to upgrading from v10 to v11 but it still applies to the proper way to structure your repo to make it easiest to use for the most people.

Ping.  I've also updated this to be a bit clearer.


Tweak copy on some command-line arguments

Didn't mean to merge without status checks -- misclick.


workbook.xlsx.writeFile ==> no such file or directory

I tried to write xlsx with writeFile(). But it was failed and when I checked the reason I realized there was no dir. But When I use another s3 NPM module, the module creates directory automatically.
Of course, I can resolve it easily as creating the directory  before writing a file, but I hope writeFile() works with creating dir when there is no dir.

{ Error: ENOENT: no such file or directory, open '/tmp/new_dir/file_name.xlsx'
    at Error (native)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/tmp/new_dir/file_name.xlsx' }

I get same in Windows

This suggestion seems to pop up in many libs that write files, eg. https://github.com/lovell/sharp/issues/1052#issuecomment-349401421
I'd personally find it too surprising, and it's really no trouble to just mkdirp the directory beforehand. Doesn't make sense for every library to onboard this complexity.

you must know that folder name or file name can not write with special carachter, you can change the name.


We should wait until the domain is up

Upon creation, we should wait that the domain is in state RUNNING and also may be wait that there are no pending jobs associated to it.

I could not find how to find pending jobs, but now we wait until the machine is up.


Detox: Android - fix smoke server login test

Summary

Ticket Link

Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on:
Screenshots

Release Note

NONE

/update-branch

@metanerd it seems you have some lint errors


replaced println with log Closes #12338

Closes #12338
@ggwpez @kianenigma

need to be more careful here between what is an expected output and should remain println, and what is indeed just a log message

need to be more careful here between what is an expected output and should remain println, and what is indeed just a log message

Problem is that if we mix println/log, the ordering can be wrong. But I dont see a way around it...

need to be more careful here between what is an expected output and should remain println, and what is indeed just a log message

Problem is that if we mix println/log, the ordering can be wrong. We could aggregate the whole output into a String and then output it in one log call. That would keep the output intact and not mix println/log.

So I should wait first for clarity

@MrishoLukamba what is the status?

@MrishoLukamba what is the status?

There was a discussion between Shawn and Oliver and they did not come to clarity

/cmd queue -c fmt $ 1

bot merge


[WFCORE-1420] Add a timeout param to shutdown command

I did some label fiddling on this as it's now being proposed for 2.x. I removed "Ready for Merge" as now EAP-ack is wanted, but Kabir's code review ok on it is still valid, so it's ready for merge once the acks are in.


Gene annotation file not rendered correctly

Local installation at: http://hg-dev.altius.org/app/
Commit:
Tag v0.6.31 of higlass-website
Master branch of higlass-server
Tag v0.9.1 of clodius
Steps to reproduce

Annotations are converted and ingested (cf. issue #294 for details; using higlass-docs as basis for conversion/ingestion)

Observed behavior

Annotation ID name is not shown
Annotations are shown with reverse-strand directionality
Overlapping annotations overwrite each other

As an example, please see the "my_annotations.db" track at the bottom-most row of this image:

Expected behavior

We would expect to see annotation ID names
Annotations where the strand field is marked . (neither forward + or reverse -) may be better to be rendered without directionality color or arrow cues
It would be helpful to show overlapping annotations in multiple rows, similar to full or pack display mode in the UCSC Genome Browser.

So for now we don't support multiple rows of gene annotations. If you're willing to share your beddb file I can take a look and try to diagnose the issue.

Absolutely! Please use the following, or similar, to download the beddb file:
$ wget -O- --user encode --password collabor8 https://resources.altius.org/~areynolds/proj/wouter/072418/data/masterlist_DHSs_733samples_WM20180608_all_colorsMax_higlass_resort_sig_maxpertile100.db > /tmp/masterlist_DHSs_733samples_WM20180608_all_colorsMax_higlass_resort_sig_maxpertile100.db

Please let me know if I can provide any other information, and thanks!

Multiple rows would also be very helpful for overlapping BED regions. An option similar to IGV's 'expanded' view would be useful for producing staggered display of overlapping regions along the short axis. I'm also running into this issue but with bed-like files.

@snystrom We should actually have this functionality.  Would you mind sharing your beddb file?
@alexpreynolds I completely forgot about this issue. Do you know if it's still a problem?

I have not tested this issue with the v1.4.0 higlass plugin. I will try to retest this issue and see what has changed or remained the same.
I think, separately, there may still be an issue with scalability (https://github.com/higlass/higlass/issues/294) when requesting large numbers of annotations from our higlass server instance, but I will try this out again and update that ticket, as well.

@pkerpedjiev Here's my beddb file. The issue I have is that these regions are 1bp apart so they would look better if they could be rendered in a more staggered fashion like this:


Admin consent directory ID

The admin consent links, e.g.:
https://login.microsoftonline.com/common/oauth2/authorize?client_id=41b23e61-6c1e-4545-b367-cd054e0ed4b4&response_type=code&redirect_uri=https://portal.azure.com&nonce=1234&prompt=admin_consent
would work much better, if the "common" part was actually replaced by the directory ID.
Without those, it's quite hard to give consent using a Global Admin account, which is from external AAD (a B2B account).
If you replace the "common" with the directory ID, you can easily give the consent using any Global Admin.

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

ID: 186c0697-792a-a913-1baa-0af86f7ef6de
Version Independent ID: 330e7927-57fd-75e2-26b1-05bd2e8f30c1
Content: VPN Gateway: Azure AD tenant for P2S VPN connections: Azure AD authentication
Content Source: articles/vpn-gateway/openvpn-azure-ad-tenant.md
Service: vpn-gateway
GitHub Login: @anzaman
Microsoft Alias: alzam

@hilari0n Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

I spent hours trying to figure out how to consent for this situation before seeing this comment. Please update the docs to at least mention the possibility.

Please update documentation already. Somebody have to go and find this Github ticket for instructions to work where user is not part of tenant being onboarded to

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


APK creation for deployment and Testing

Create an android APK file for testing nd deployment.

apk's generated under the debug folder after successful builds


connect dtos can not be used directly when there is other unique field than id

also when using /// @DtoRelationCanCreateOnCreate because the model is not exist yet that does not work too. (source id is missing.)


Migrate to pnpm

Migrates codebase to use pnpm instead of yarn, which should make things a bit snappier and easier in terms of dependency management. Disregard the failing Vercel deployment, I'll fix that up after this lands.

Interesting, I'll look into this. Weird that it didn't show up on my machine, but I'll wipe some things out and figure out what's going on here.

Okay @carloskelly13, all tidied up.


Revert "ml_classifiers: 1.0.0-0 in 'kinetic/distribution.yaml' [bloom]"

Reverts ros/rosdistro#20839 see https://github.com/ros/rosdistro/pull/20841#issuecomment-481860668 for details

this may not actually be necessary

@nuclearsandwich - Since merge, Kinetic, Lunar, and Melodic are failing (though I'm not sure why Lunar is failing, because I didn't release a new version for Lunar) on http://build.ros.org/. Why not necessary?

@JWhitleyAStuff it would help me out a lot if we could continue the conversation in https://github.com/ros/rosdistro/pull/20841

Resolving without reverting. https://github.com/ros/rosdistro/pull/20841#issuecomment-481868339


Doc

Coverage remained the same at 100.0% when pulling b94d35a116d36e0a4a336889f59cb3d4e1330f7e on doc into b6b2b8b11bd829c11a5d9273d3f7ccd8d716a914 on master.


Missing doc link

Missing documentation link for RoIsApiContractPresent and RoIsApiContractMajorVersionPresent

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

ID: 0d8b23f4-f83b-e5fb-076b-f58e7fa8ec5b
Version Independent ID: 20a237ef-9a49-1786-f00a-df422f8f07bb
Content: APIs present on all Windows 10 devices (grouped by module) - Windows UWP applications
Content Source: winrt-related-src/win32-and-com/win32-apis.md
Product: uwp
Technology: winrt-reference
GitHub Login: @mcleanbyron
Microsoft Alias: mcleans

Thanks for your feedback. I added these links to the article: https://docs.microsoft.com/en-us/uwp/win32-and-com/win32-apis#apis-from-api-ms-win-ro-typeresolution-l1-1-1dll


add some functions in the decompose folder

add two functions: group_ica.py, dimension_selection.py
modify fourier_ica.py to also work in source space
adjust the fourier_ica_plot.py to also handle source space data
adjust icasso.py for FourierICA data

@lukasbreuer Thanks a lot. Merging. :) :+1:


Resolve: mediapool loader and inventory clearing plugins

Changelog Description
Adding plugin for loading into mediapool with option to also add into timeline. Inventory plugin for clearing timeline item container included unused media's from mediapool. Clips in mediapool are colormanaged via remapping.
Additional info
Following changes are adaptation from Colorbleed's code https://github.com/BigRoy/OpenPype/commit/37da9c6f785a645d11a6274fa6ef738450ce967c#diff-3ec58869aa5ff3f62216d417256778fd5b44ea0132b953e67d7880f5e7b53df5. Thanks @bigroy
The fix dealing with Adjustment Clips on timeline which was originally here were moved into https://github.com/ynput/ayon-core/pull/92.
Next steps

[x] Adding settings for metadata loading

Testing notes:
Load media (loader)

Open Resolve menu and chose Loader
select any product type version and RMB click
Chose Load media plugin and load anything
see that the media is added to mediapool and also into timeline
load again but this case use loader option box and disable add to Timeline
This time it will load only into mediapool

Remove Unused Media (inventory)

make sure you are having loaded some clip into timeline
duplicate the mediapool clip so there is something to be erased
open Inventory manager
select any item in manager and RMB click
in submenu go to actions and select Remove Unused Media
it should remove all duplicates and only one clip should remain

load again but this case use loader option box and disable add to Timeline
This time it will load only into mediapool

This wont load the same product if its already in the timeline. Do you mean we should remove it first?

This does not work atm. The duplicated clip is not removed.

Could you show what happens for you?
Does Resolve itself still list usages for that clip in the media pool? Right click it > Usages.
If no usages, only then should it remove it.

This wont load the same product if its already in the timeline. Do you mean we should remove it first?

There is an option box on the Load Media loader - in there you can disable "re-use existing" - when disabled this should load the media pool item another extra time into the media pool instead of continuing to use the existing media pool item of this version that you had loaded previously.
Note however: there are certain file types that I loaded where Resolve just seemed incapable of loading it again (I believe exr sequence?) even though I'm explicitly requesting there API to load it again. In those cases, the logic to 'not re-use, load again' will likely fail and actually continue to re-use since Resolve API just doesn't want to load it again into the same Media Pool Folder.

This does not work atm. The duplicated clip is not removed.

Could you confirm there are no logs in Console in regards of removing?
Here is a video on how it works on myside and where to look for logging.
Uploading removing_mediapoolitem.mp4…

Uploading removing_mediapoolitem.mp4…

@jakubjezek001 I think you just submitted your comment too early before the file finished uploading. 🌪

I cant get the media to load a second time. I've tried disabling the Re-use existing option, but it does not bring in any extra clip.

What type of media are you loading? A sequence or video file? What extension?
I've had this a few times where Resolve just didn't want to load it again but it only occurred with certain files. That's the note I mentioned there. I didn't investigate too much as to why that happens exactly.

Looks like you need to select at least the group of containers with unused media in it. Maybe this action should either be fixed so you can select any item in the manager or entry to the tool should be somewhere else than the manager?

Any inventory action only runs over the entries you've selected in the manager - so yes. It would only clear from your selection.
It is possible to ignore the selection in the action and remove ALL regardless of selection - but usually these actions apply to the selection.

What type of media are you loading? A sequence or video file? What extension?

EXR sequence, so maybe this is the issue you are referring to. Maybe we can warn the user at least about the non-existent functionality of EXRs?

Any inventory action only runs over the entries you've selected in the manager - so yes. It would only clear from your selection.
It is possible to ignore the selection in the action and remove ALL regardless of selection - but usually these actions apply to the selection.

Yeah, question is what makes sense to the user?
I would have thought an action like Remove unused... would remove all, but maybe we just need to change the label of the action to Remove unused... from selection?

Yeah, question is what makes sense to the user?
I would have thought an action like Remove unused... would remove all, but maybe we just need to change the label of the action to Remove unused... from selection?

We have the same in Maya "Remove unsused looks" which also removes only from the selected containers so might be that we were just familiar with that 'workflow'.
However there if you were to run remove_unused_looks without containers then it does remove all. I wonder if that's actually possible from the manager UI, to trigger it without selection. If so, then I'd also do that here - remove all if none selected, otherwise operate only on selection?

If so, then I'd also do that here - remove all if none selected, otherwise operate only on selection?

Sounds good to me.

Would be good to:

[ ] Fix the updating
[ ] Add setting the colorspace
[ ] Tweak the inventory action

Might be nice to include this code as well so that one can pick which loader should be enabled.

@jakubjezek001 could you let me know what the conditions are to test this fix since I had tested both sequences and video files just fine before that.
I want to make sure I run through what's needed there. The code seems quite "involved" for something that should be trivial - so I'm hoping to find a way better than this madness.

I want to make sure I run through what's needed there. The code seems quite "involved" for something that should be trivial - so I'm hoping to find a way better than this madness.

There was bug in the code, for some reason sequences were not loading at all for me until the fix. Also I wanted to make sure frame range is taken from real frames rather then from version data.

For what it's worth - seemed to work fine on my end also with the changes. Thanks!


Error opening drawer

Not sure if this is a bug or something I'm doing wrong. I've upgraded to v1.0.0-alpha.1 to fix issues with the react-tap-event-plugin, and trying to modify things to suit the new docs but my drawer won't open.
When I attempt to open it, I get this error:
Uncaught TypeError: Cannot read property 'contains' of null
at eval (contains.js:17)
at Modal.focus (Modal.js:209)
at Modal.handleShow (Modal.js:237)
at Modal.componentDidUpdate (Modal.js:185)
at commitLifeCycles (react-dom.development.js:13462)
at commitAllLifeCycles (react-dom.development.js:13987)
at HTMLUnknownElement.boundFunc (react-dom.development.js:229)
at invokeGuardedCallback (react-dom.development.js:243)
at invokeGuardedCallback (react-dom.development.js:278)
at commitAllWork (react-dom.development.js:14100)

The drawer is toggled open by setting a state variable which is bound to the "open" prop of Drawer.
The Drawer itself looks like this:
<Drawer
    anchor="left"
    docked={false}
    open={menuOpen}
    onRequestClose={toggleMenu}
    onClick={toggleMenu}
    classes={classes}>

This is a test

</Drawer

toggleMenu is a function that just toggles the menuOpen boolean.  From poring through the code it seems the modal has no content, but I can't figure out why. If I dump out modalContent at Modal.js:208 it comes back empty.
I've tried lots of variations of content, none of them make any difference. The error only occurs once I click to open the drawer.
I'm working on React 16.0.0-alpha.12

@MagicIndustries What version of React are you using, that sounds pretty close to #7025.

Oh, missed it: React 16.0.0-alpha.12.

@oliviertassinari Did you implement a fix like that anywhere yet?

I don't follow what you mean. I have closed the issue as a duplicate.


Unable to select a desired keyboard shortcut due to keyboard layout

VSCode Version: Version 1.3.1 (1.3.1)
OS Version: 10.10.5 (14F1808)

Steps to Reproduce:

Have a French Canadian keyboard
Go to Preferences > Keyboard Shortcuts
Look for this shortcut:

{ "key": "cmd+/",                 "command": "editor.action.commentLine",
                                             "when": "editorTextFocus" }

Try to use the desired shortcut (cmd + /), shortcut doesn't work because keyboard layout takes precedence over actual keycode.

I am trying to change the "editor.action.commentLine", however the keys are already appropriate. Upon further investigation, the editor detects my keyboard (French Canadian) and forces "⌘+é" rather than the displayed (and desired) "⌘+/"

How can I force the editor to use "⌘+/" instead? The "é" key is totally not what I want to use, and if I type "/", no change occurs. Is there a way to force the use of a keycode rather than the character the key types?

Think it's duplicate of #7723.

@zhmur I don't think this should be considered a duplicate of #7723, because that issue explicitly mentions "multiple keyboards layouts configured in OS," while this bug happens even with a single keyboard layout configured in the OS.
@jansensan has a French Canadian keyboard. In my case I installed Programmer Dvorak on OS X following these instructions (including the piece of bash code to force it to be the only layout installed in the OS.) I logged out and back in, and in fact it is the only layout selected in Input Sources:

Then I proceeded to open VS Code and found that this bug is still there in the keyboard shortcuts:

If I type "cmd+," (or leave it there from the defaults) that's what I want to type, not some other random combination, such as ⌘w (which is particularly inappropriate, being the shortcut used to close the current editor.)

By the way, the docs have an entire section devoted to this "feature." Honestly, I cannot see how this could be considered a feature and not a bug.
I tried using the "Define Keybinding widget" mentioned there (⌘K ⌘K) but both ⌘-comma and ⌘W generate "cmd+w", so that's hopeless too.

After reading @tobia's comments, I wanted to make sure I indeed had only the French Canadian keyboard in my setting, and indeed I do:

May I ask what would be the status for this?

+1

We don't ship with keyboard layout based keybindings yet. That is tracked in #1240
In the meantime you can define your keybindings as you wish by pressing the key combination you wish:

@alexandrudima Is this (⌘+K) a new command in the custom keybinding file? It wasn't there when I started this issue. With that feature, I was able to get what I needed. When typing what I actually want to use as a shortcut (⌘+/) it entered "key": "cmd+numpad_divide", which allows me to work as I expect.
@tobia Would this feature also help you? If so, I would say this could allow to close the issue.

@jansensan Yeah, it's there since a long time ... maybe a year already :)
:+1: Let's close for now.
There's also an entire page on keyboard shortcuts and quite a large section on keyboard layouts at http://code.visualstudio.com/docs/customization/keybindings#_keyboard-layouts


Exchanges and strategies cleanup

Codecov Report

Merging #151 (ab4c599) into main (3186bd6) will decrease coverage by 0.71%.
The diff coverage is 3.52%.

@@            Coverage Diff             @@
##             main     #151      +/-   ##
==========================================
- Coverage   42.56%   41.85%   -0.72%
==========================================
  Files         118      109       -9
  Lines        5678     5675       -3
  Branches      756      767      +11
==========================================
- Hits         2417     2375      -42
- Misses       3108     3148      +40
+ Partials      153      152       -1

Impacted Files
Coverage Δ

aat/config/parser.py
14.45% <0.00%> (-0.55%)
:arrow_down:

aat/engine/dispatch/portfolio/portfolio.py
51.91% <0.00%> (ø)

aat/engine/engine.py
33.87% <ø> (ø)

aat/exchange/crypto/coinbase/client.py
0.00% <0.00%> (ø)

aat/exchange/crypto/coinbase/coinbase.py
0.00% <0.00%> (ø)

aat/exchange/generic/csv.py
0.00% <ø> (ø)

aat/exchange/generic/kafka.py
0.00% <ø> (ø)

aat/exchange/public/ib/ib.py
0.00% <ø> (ø)

aat/exchange/public/iex.py
0.00% <0.00%> (ø)

aat/exchange/synthetic/__init__.py
11.98% <ø> (-0.41%)
:arrow_down:

... and 26 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 3186bd6...ab4c599. Read the comment docs.


How can I connect to testnet?

Just wondering how I could run the app on testnet?

There's a testnet edition: https://play.google.com/store/apps/details?id=com.lightning.wallet
App uses native segwit addresses which no testnet faucet recognizes yet so feel free to post a wallet address here if there will be problems with refilling.

I have both Eclair and this testnet wallet. I can receive from faucet on Eclair generated P2SH address and then send it from Eclair to bech32 address of this testnet wallet. Just that the transactions seem to be hanging in the air without confirmation.
TX ids on testnet:
f11e1608309229a58b68777140d9cc31fb0a233aeadcc166b4ed13d03f55d1d9
c2d41cae94208f7c3eaca3ebf9f2eadbff20f174cf90ac09f2f0c504aa92b889
2a4d3acac7373834d3e455b9165a178957d2e34c288194e45879425673feaba3
fedfc5b0c77d5f5726f42dddeadc184434ae27b3ad7c4f9a2cda94d87d355205
26d16da97da5bbcf2f1e698d93bcdbe22023b1098fa1f70961076c169ede0484
d7db8da3594fa2018d8c6dad0445d626c2dbe5a71e8baf021fd937fd362988b9
d814e254e27bfb53e32489f29159c62d29bdea589bb97f63e0cf256aca99237f
23f998f0763e5852f306fd87e7f14236be42d0f93afcdb4557f46a5383297840
ed0359d2361888651aa5490c8a0b94e5c8bdbb37ff92fe39ea401e2308a8189a
As you can see, I have tried to send different amounts and different fees, some even CPFP. None is in a block yet.

Same thing, waiting for 5 hours:
f950b30779d988cae4e34ff2c057bc795969402ff117b5dc3c4edcd18dec8075
Not in a block yet!

Not that I can do something about it, decision whether to include a transaction in a block is up to miners and on testnet miners behave extremely weird at times. I'm sure this will get resolved eventually.
FYI, testnet wallet supports external channel funding now, meaning you can get a channel funded from http://funder.lightning-wallet.com/funder/ without using Eclair as a proxy.


"page" variable from api request has no "links" key

I'm using the most recent version of porder in a python 2 environment and get the following when making an order
(porder-env) (v2-cloud)~/cloud-free-planet/notebooks$ porder idlist --input "/home/rave/cloud-free-planet/notebooks/test_tile_half.geojson" --start "2018-07-01" --end "2018-07-31" --item "PSScene4Band" --asset "analytic_sr" --number 10000 --outfile "/home/rave/cloud-free-planet/notebooks/test_half_ids.csv" --cmin 0 --cmax 1 --overlap 50
'features'
Traceback (most recent call last):
  File "/home/rave/anaconda3/envs/porder-env/bin/porder", line 11, in <module>
    load_entry_point('porder==0.1.7', 'console_scripts', 'porder')()
  File "/home/rave/anaconda3/envs/porder-env/lib/python2.7/site-packages/porder/porder.py", line 213, in main
    args.func(args)
  File "/home/rave/anaconda3/envs/porder-env/lib/python2.7/site-packages/porder/porder.py", line 71, in idlist_from_parser
    outfile=args.outfile)
  File "/home/rave/anaconda3/envs/porder-env/lib/python2.7/site-packages/porder/geojson2id.py", line 180, in idl
    while page['_links'].get('_next') is not None:
KeyError: '_links'

I've confirmed with porder quota that my credentials are initialized properly. Not sure what the issue is here but I can try to debug further and update.

Could you share the geojson file for me to run tests?

Sure here it is (github doesn't allow geojson file upload)
{
"type": "FeatureCollection",
"name": "test_tile_half",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.831053947078279, 5.733240915104465 ], [ -0.798653947078279, 5.733240915104465 ], [ -0.7986, 5.71 ], [ -0.831, 5.71 ], [ -0.831053947078279, 5.733240915104465 ] ] ] } }
]
}

I've figured out some of what is happening, on the first iteration of the paging while loop in geojson2id.py..
    while page['_links'].get('_next') is not None:
        page_url = page['_links'].get('_next')
        page = SESSION.get(page_url).json()
        ids = handle_page(page,asset,num,outfile,gmain,ovp)

page does have a _links key with results

But in the next iteration of the while loop
![selection_537](https://user-images.githubusercontent.com/22258697/53040038-52e28a00-3435-11e9-9dc3-7c34c3a98f2b.png)

It looks like my credentials are forgotten/dropped from memory? Then the while loop fails here because now page has no _links, only errors and messages

I am able to run the tools for your AOI on both windows and a Linux machine, am not really sure what is going on there. I could not replicate your error. For the query, you made within that one month period and with an overlap of 50, there are 8 assets.
20180726_095804_103d
20180712_103425_0f21
20180709_103420_100d
20180710_095700_0e0f
20180711_103459_0f2a
20180707_095733_103e
20180703_095732_1015
20180702_095725_101f

I found the problem, my PL_API_KEY was exported as a shell variable and was set to my old key. I think the script might have been picking up my new key from planet init and then the old key from my shell environment, thanks for checking.


Tabs custom color support for indicatorColor and textColor props

Tabs support for a custom indicatorColor value of a hexCode or RGB color seems to have been removed since sometime after version v1.0.0-beta.38. Now it only supports primary or secondary as prop values.

[x ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When using the Tabs component and passing in an indicatorColor or textColor props value of a hexCode such as "#7C4DFF" or rgb string like "rgb(124, 77, 255)", the tabs indicator and text color should use that color given.
Current Behavior

The Tabs component indicatorColor and textColor props only support an enum of primary and secondary as their values.
Steps to Reproduce (for bugs)

Context

I have created an application that revolves around different teams and each team has their own team colors. I'm using this Tabs component to switch between displaying information about each team and I loved having the ability to have each tab colored differently depending on the team shown with the older versions. Being limited to two colors throughout the application makes sense for other components, but I feel like keeping this Tabs component customizable would be more favorable for its use cases.
Your Environment

Tech
Version

Material-UI
v1.0.0-beta.42

React
^16.3.1

browser
Chrome

etc

Tabs support for a custom indicatorColor value of a hexCode or RGB color seems to have been removed since sometime after version v1.0.0-beta.38. Now it only supports primary or secondary as prop values.

@zachrdz You are right. It was removed in v1.0.0-beta.42: #10999

I have created an application that revolves around different teams and each team has their own team colors.

It sounds like you need dynamic styles. We would accept a TabIndicatorProps property if that help.

Great! Thank you for the response and clarification. I will work on a pull request for this enhancement.

@adeelibr You are free to go 🏎 :)

@oliviertassinari how do I test my changes out in a local project before pushing it. I read the docs at https://github.com/mui-org/material-ui/blob/v1-beta/CONTRIBUTING.md#how-do-i-use-my-local-distribution-of-material-ui-in-any-project I did the following
create a new react app using create-react-app in same directory as where I cloned material-ui
Then
From the root folder of the material-ui project
cd packages/material-ui
yarn build
But when I added this in my create-react-app project
yarn add file:./../material-ui/

It ran successfully, But when I import something from material-ui it gives an error.

@adeelibr Why do you want to test the change in a local project? Why don't you try it on the documentation?

Because I want to see that the changes I am making in my branch are correct or not, how do I test it.
I am sorry I am noob, this is my first open source pr.

I am sorry sir, what do you mean by "Why don't you try it on the documentation?" @oliviertassinari

@adeelibr
https://github.com/mui-org/material-ui/blob/v1-beta/CONTRIBUTING.md#testing-the-documentation-site

@mbrookes thankyou sir, this helped. Now I now how to work with it. I'll have my PR finalized by today.

@oliviertassinari I tested it with primary, secondary, hex codes, rgba color code. The indicator color is now changing. Can you kindly review my PR https://github.com/mui-org/material-ui/pull/11254

Hello,
Sorry to refresh a closed issue, but I don't see how you can change de TabIndicator color with the new TabIndicatorProps property.
It appears that defining the style overrides the one generated by the Tabs component (indicatorStyle that is, changing its width).
Could someone please enlighten me ?
Thanks in advance.

It appears that defining the style overrides the one generated by the Tabs component

@tyrsensei You are right. We can do a second iteration on the issue to correctly merge the style.

Can I work on this second iteration again? @oliviertassinari

No worries, I'll add that change again, & update it with a PR.

I am sorry to bother you, I just ran a small hickup, when I do this on updating my forked repo using this
git remote add upstream git@github.com:mui-org/material-ui.git
git checkout v1-beta
git pull upstream v1-beta

I get this error
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Am I doing something wrong?

@oliviertassinari I'm not sure if it was the intention but there no longer is a MuiTabIndicator style that can be overridden via createMuiTheme. I've noticed this on top of a few other css classes that no longer start with Mui (e.g MuiStepPositionIcon is now StepPositionIcon).
I understand the reasoning behind the change(allowing custom css change from the component end), however is it possible to still allow global overriding? or at least access to the style for changes. As of now any changes made on the themes overrides will not work if they are on these new class names.

I'm not sure if it was the intention but there no longer is a MuiTabIndicator style that can be overridden via createMuiTheme.

@josephpung Yes, it's intentional.

I've noticed this on top of a few other css classes that no longer start with Mui (e.g MuiStepPositionIcon is now StepPositionIcon).

It only works in development mode. I have never seen someone trying to use it. At some point, we might want to prevent this in the first place to avoid people releasing it doesn't work once in production.

however is it possible to still allow global overriding?

You can still override the style. Use theme.overrides.MuiTabs.indicator.

Never mind, I didn't have ssh set up with my current machine. If it's okay can I work on this PR to make those changes again @oliviertassinari ?

I have made a PR can you kindly have a look at it https://github.com/mui-org/material-ui/pull/11494 @oliviertassinari

Excuse me, I add TabIndicatorProps property in  and give height and color , but it not work !?
And Material UI document said

Tabs component is a public module while TabIndicator is private.

https://material-ui.com/guides/minimizing-bundle-size/#option-1
So , Can I change  Props indicatorColor  to other style ?

How can I change the indicator color?

@ChaoTzuJung You have two options. Either you can use the CSS API with the classes.indicator customization point or your can use the inline-style API with TabIndicatorProps.style.backgroundColor.

I think it will be better to have TabIndicator element (with it's CSS Api) in a Component Api. But the best would be overriding in theme.

@oliviertassinari are the docs wrong about setting the indicatorColor prop to "primary" or "secondary" now? Doesn't seem to be working for me that way, and based on your previous comment  looks like this is done differently now? Just want to be sure, and I'll put in a PR for you!

Scratch that - I got it working now. My mistake!

Could Help ....
For this work perfectly
<Tabs             value={value}             onChange={this.handleChange}             TabIndicatorProps={{               style: {                 backgroundColor: "#D97D54"               }             }}           >...</Tabs>

above thing worked for me
Thanks

the above only changes the bottom indicator, how do i change the background color of the entire tab?

I was searching for the solution and found the following on Stackoverflow:
`<Tabs
TabIndicatorProps={{
style: {
height:"10px",
}
}}
onChange={handleChange}
value={value}

`
I wanted to read more so came here from another GitHub duplicate issue. Love this community support!

What about a custom textColor?

This can be changed using the CSS API to override the existing css classes that are being used by the component. Here is an example where we provide a custom indicator color, background color and text color by modifying the root and indicator classes that are used by the Tabs component. We create our own classes and hand them over to map to the existing classes.
const useStyles = makeStyles(theme => ({
  customTabRoot: {
      color: "red",
      backgroundColor: "green"
  },
  customTabIndicator: {
      backgroundColor: "orange"
  }
}));

...
...

const classes = useStyles();

...

<Tabs
     value={value}
     onChange={handleChange}
     aria-label="simple tabs example"
     classes={{
         root: classes.customTabRoot,
         indicator: classes.customTabIndicator
     }}
>
     <Tab label="Item One" {...a11yProps(0)} />
     <Tab label="Item Two" {...a11yProps(1)} />
     <Tab label="Item Three" {...a11yProps(2)} />
</Tabs>

Here is a CodeSandbox with the above snippet working.

this is a better solution then the one provided in the official docs. Maybe the docs should be updated?


Broken AppBar in small screen on doc site

I saw that the AppBar is broken when used in small width devices, I simulated it in Chrome here.

hey can i work on this issue

I am getting error when i try to run documentation site on local, getting babel , I cloned project and created branch from dev


How I can use mini bots free?

I saw that you can use mini bots here: https://bagar.io/en/ but I dont have money :D
How I can use it free?)
P.S. Sorry for my English

This is not the place to talk about that kind of stuff.


tran: init at 0.1.43

Description of changes
Securely transfer and send anything between computers with TUI.
https://github.com/abdfnx/tran

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.


Model.set blows up if a null value is present

I had a JSON object from the rails server with a null value in it.  Calling Model.set(data) would die inside of Serenade.Properties._defer.  undefined works fine, it is only null that causes the problem.
For instance:
    data = {first: 'John', middle: null, last: 'Doe'}
    person = Serenade.Model.find(0)
    person.set(data)

Cheers!

Right... generating better JSON pretty much solves this problem.  I will close this issue.

added a pull request in issue #22


add keepClassName as separate options (fix #298)

Separated the keepFnName and updated the tests.

Can you add a test in preset-options as well ?
You can update the snapshots with the -u flag - jest -u /.../options-test.js

@boopathi done

LGTM.. @kangax thoughts?


label mapping and bert/roberta output

I tried bert and Roberta models avaialable in the model zoo. However, I am got only LABEL_8 for all the tokens. I tried with simpletransformers and hugging face transformer library.
from simpletransformers import ner
import pytesseract
import json
with open("bert_large_500k_epoch_1/config.json") as f:
    config = json.load(f)

model_args = ner.NERArgs()
model_args.config = config
model_args.labels_list = ["LABEL_0", "LABEL_1", "LABEL_2", "LABEL_3", "LABEL_4", "LABEL_5", "LABEL_6",
                          "LABEL_7", "LABEL_8", "LABEL_9", "LABEL_10", "LABEL_11", "LABEL_12"]
model = ner.NERModel(
    'bert',
    'bert_large_500k_epoch_1',
    args=model_args,
    use_cuda=False
)
predictions, raw_outputs = model.predict([pytesseract.image_to_string('closing-disclosure-H25B-1.aec3e9325e5b.png')])
print(predictions)

from transformers import RobertaTokenizer, RobertaForTokenClassification, RobertaConfig
import torch
import pandas as pd

tokenizer = RobertaTokenizer.from_pretrained('roberta-base')
model = RobertaForTokenClassification.from_pretrained("roberta_large_500k_epoch_1")
model.eval()

df = pd.read_csv("10.tar_1701.04170.gz_TPNL_afterglow_evo_8.txt", sep='\t', header=None)
text = " ".join(df[0].to_list())
sample_input = tokenizer(text, return_tensors="pt", max_length=512)

output = model(**sample_input)

print(torch.argmax(output[0], dim=-1))

Is there anything I am missing, I tried with some txt files from the dataset as well however I faced a max_seq_length issue and got only LABEL_8 and LABEL_10 with truncation
What is the exact mapping of LABEL_* mentioned in config.json of these models, Which is title, table, list etc.

Please refer to the file "labels.txt" I just uploaded.

@liminghao1630 Thanks for the response. Am I missing anything in the above code? I am just trying to use BERT/Roberta models for inferencing but I am always getting LABEL_8. And any suggestion on how to get around max_seq_length, because generally, documents are full-page text.
This might sound very basic, but I am just getting started so any suggestion will be very useful. Thanks.

The LABEL_8 corresponds to the "Paragraph" label, which should be the most common one in an article. For the max_seq_length, my advice is to split all the tokens of a page into several sequences to avoid the length exceeding it.

Thanks!


Foscam camera no longer works after upgrade to 0.51.2

Running on a PI3 using virtual environment for HA.
The following errors have been logged this session:
2017-08-15 08:40:50 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform foscam
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
return fut.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/camera/foscam.py", line 39, in setup_platform
add_devices([FoscamCam(config)])
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/camera/foscam.py", line 56, in init
from foscam import password
File "/srv/homeassistant/lib/python3.4/site-packages/foscam/init.py", line 1, in
from foscam import password
ImportError: cannot import name 'password'
I have replaced the actual password with the word password 3 places.

Can confirm!

2017-08-15 19:51:15 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform foscam
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
return fut.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/camera/foscam.py", line 39, in setup_platform
add_devices([FoscamCam(config)])
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/camera/foscam.py", line 56, in init
from foscam import FoscamCamera
File "/srv/homeassistant/lib/python3.4/site-packages/foscam/init.py", line 1, in
from foscam import FoscamCamera
ImportError: cannot import name 'FoscamCamera'

@zerolith Have a look at #8940 for a workaround, as the error is upstream. You can also find this relevant topic on the forum.
@Harvsch Your error does not make sense to me. The error @zerolith posted is what the error should look like (saying it cannot import name 'FoscamCamera'), the code in the unmodified Python files does not contain any passwords or the word 'password'.

Duplicate of https://github.com/home-assistant/home-assistant/issues/8940.


pin dependencies for openshift/api to release-4.1

@soltysh not really, mine also do the bump

/lgtm


Update fundamentals-bio, ... to 1.1.0-M6

Updates

io.7mind.izumi:fundamentals-bio
io.7mind.izumi:fundamentals-collections
io.7mind.izumi:fundamentals-functional
io.7mind.izumi:fundamentals-json-circe
io.7mind.izumi:fundamentals-platform
io.7mind.izumi:fundamentals-reflection
io.7mind.izumi:logstage-adapter-slf4j
io.7mind.izumi:logstage-core
io.7mind.izumi:sbt-izumi-deps

from 1.1.0-M5 to 1.1.0-M6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.7mind.izumi" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "io.7mind.izumi" }
}]

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

Superseded by #371.


vm_op_set_value should be able to throw error when ecma_op_to_string throws

Related issue: https://github.com/Samsung/jerryscript/issues/1309

What a typo. LGTM of course.

LGTM


Meme Generator project added to this repository

Thanks. We have a few similar examples in terms of concepts they demonstrate so not gonna take this one.


Initial Android support

Fixes #253 and fixes #158

I've rebased it. Does something need to be done to be accepted?

Fixed configuration for Android-x86

Example of working application https://github.com/o01eg/freeorion/tree/python-parser-exec-techs_android

Add Github Actions CI to build it

Rebased, fixed conflicts. Builds on CI https://github.com/o01eg/python-cmake-buildsystem/actions/runs/2073151534

Can I do something else for this PR to be accepted?


Implement BCV Control Design using Shadcn/ui+Radix

User Story
As a developer, I want to choose a UI toolkit to use forever so we can standardize designs with a system so that we can implement UI designs as efficiently as possible.
As a translator or advisor, I want to navigate to different texts and to different books, chapters, and verses within a text. I want to be able to sync navigation across multiple views and tools.
Description
UI Toolkits Bakeoff Contestant # 1, Shadcn/ui+Radix. Implement the BCV control design in the toolkit, doing all you reasonably can to match the design, particularly in appearance so we can get a good feel of how easy the components are to customize.

UI Toolkit Research background doc
Figma Design
UX created sandbox

Code Style Thoughts from Sebastian

Create little components (e.g. for the book name list entry)

Results
Note your thoughts about the usability of the toolkit in Toolkit Evaluation
Be ready to demo BCV at the sprint demo planning meeting.

reference to the first task

https://github.com/paranext/paranext-core/issues/776

Composition – Radix Primitives
primitives/packages/react/dropdown-menu/src/DropdownMenu.tsx at main · radix-ui/primitives
primitives/packages/react/primitive/src/Primitive.tsx at main · radix-ui/primitives
primitives/packages/react/slot/src/Slot.tsx at main · radix-ui/primitives


Duplicate file entry

Need validation for selected file if it is already existed in the table
Trello card

 Duplicate file validation while adding new file to table

Commit


ReplaceItemAsync returning Response status code does not indicate success: NotFound (404)

We recently upgraded from v3.5.1 to v3.15.0.  We were able to call ReplaceItemAsync passing in a new PartitionKey value.  The call is now failing.  When calling ReplaceItemAsync id value is not changing, but PartitionKey value is.  Is that expected behavior?
code snippet:
var result = await container.ReplaceItemAsync(                     item: entity,                     id: entity.Id.ToString(),                     partitionKey: new PartitionKey(entity.PartitionKey),                     cancellationToken: cancellationToken,                     requestOptions: requestOptions);
This call is now returning:
Response status code does not indicate success: NotFound (404);
"Errors": [
"Resource Not Found"
]

non issue


No intellisense for untyped **kwargs

Environment data

Language Server version: Pylance 2020.7.1
OS and version: macOS 10.15.5
Python version: 3.8

Code Snippet
def bug(**kwargs):
   # Reveals Dict[str, Unknown]
   reveal_type(kwargs)

Expected behaviour
When typing kwargs. inside the function, intellisense should pop up the list of members.
Actual behaviour
Nothing happens.
Logs
[Info  - 3:19:46 PM] Pylance language server 2020.7.1 starting
[Info  - 3:19:46 PM] Server root directory: /Users/russell/.vscode/extensions/ms-python.vscode-pylance-2020.7.1/server
[Info  - 3:19:46 PM] Loading configuration file at /Users/russell/dev/python/exek/pyrightconfig.json
[Info  - 3:19:46 PM] Assuming Python version 3.8
[Info  - 3:19:46 PM] Assuming Python platform Darwin
[Info  - 3:19:46 PM] No include entries specified; assuming /Users/russell/dev/python/exek/pyrightconfig.json
[Info  - 3:19:46 PM] Auto-excluding **/node_modules
[Info  - 3:19:46 PM] Auto-excluding **/__pycache__
[Info  - 3:19:46 PM] Auto-excluding .git
[Info  - 3:19:46 PM] Setting pythonPath for service "exek": "/Users/russell/dev/python/exek/.venv/bin/python"
[Info  - 3:19:46 PM] stubPath /Users/russell/dev/python/exek/typings is not a valid directory.
[Info  - 3:19:46 PM] Searching for source files
[Info  - 3:19:46 PM] Auto-excluding /Users/russell/dev/python/exek/.venv
[Info  - 3:19:46 PM] Found 5 source files
[Info  - 3:19:46 PM] Background analysis root directory: /Users/russell/.vscode/extensions/ms-python.vscode-pylance-2020.7.1/server
[Info  - 3:19:46 PM] Background analysis started
[BG] analyzing: /Users/russell/dev/python/exek/exek/foo.py ...
[BG]   parsing: /Users/russell/dev/python/exek/exek/foo.py (46ms)
[BG]   parsing: /Users/russell/.vscode/extensions/ms-python.vscode-pylance-2020.7.1/server/typeshed-fallback/stdlib/2and3/builtins.pyi (100ms)
[BG]   binding: /Users/russell/.vscode/extensions/ms-python.vscode-pylance-2020.7.1/server/typeshed-fallback/stdlib/2and3/builtins.pyi (48ms)
[BG]   binding: /Users/russell/dev/python/exek/exek/foo.py (0ms)
[BG]   checking: /Users/russell/dev/python/exek/exek/foo.py ...
[BG]     parsing: /Users/russell/.vscode/extensions/ms-python.vscode-pylance-2020.7.1/server/typeshed-fallback/stdlib/3/typing.pyi (19ms)
[BG]     binding: /Users/russell/.vscode/extensions/ms-python.vscode-pylance-2020.7.1/server/typeshed-fallback/stdlib/3/typing.pyi (16ms)
[BG]   checking: /Users/russell/dev/python/exek/exek/foo.py (58ms)
[BG] analyzing: /Users/russell/dev/python/exek/exek/foo.py (254ms)

Can you elaborate what you mean by "list of member"? Are you referring to the members of the kwargs dictionary? The keys within this dictionary are unknown to a type checker. Where do you think it would get that information?

Ah sorry, no, I just mean the members of Dict itself, e.g., keys, items, setdefault, etc. The same behavior you'd see if you changed def bug(**kwargs): to def bug(**kwargs: str):.

Ah, got it. Thanks for the additional explanation. We'll look into it.

Thanks for the bug report. This will be fixed in the next version of Pylance/Pyright.

Wow, amazing turnaround time. You've been super helpful - thanks!

This issue has been fixed in version 2020.7.3, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/master/CHANGELOG.md#202073-21-july-2020


For #578 adding commit summary to update message

This change will add a little more content to messages to followers.

on production.


Question: Is there a nuitka feature to be able to decrease .app file size (almost 3GB)?

Nuitka version, full Python version, flavor, OS, etc. as output by this
command.

python -m nuitka --version
1.8rc5
Commercial: None
Python: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 16:52:21)
Flavor: CPython Official
Executable: /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7
OS: Darwin
Arch: x86_64
Version C compiler: /usr/bin/clang (clang).

How did you install Nuitka and Python
git clone

python -m pip freeze
tensorflow==2.11.0

Provide in your issue the Nuitka options used

sudo python3.7 -m nuitka --run --standalone --enable-plugin=pyside6  --noinclude-pytest-mode=nofollow --noinclude-setuptools-mode=nofollow --python-flag=no_site --include-data-dir=/models=models --include-data-dir=/icons=icons --macos-app-icon=/license_lock_photo.png --macos-create-app-bundle --macos-disable-console --macos-app-protected-resource="NSCameraUsageDescription:xxx." --macos-app-protected-resource="NSPhotoLibraryUsageDescription:xxx." --macos-app-mode=ui-element main.py
Description:
The size of my main.app file is reached to 2.84 GB. The biggest files and folders are the tensorflow and _pywrap_tensorflow_internal.so files in my app. they are together 1.3 GB.
Is there any method to reduce the app size?
Thanks a lot in advance.

When you install tensorflow, how small is that? Nuitka is not going to be able to magically compress it. You can help and join our anti-bloat efforts, as described here: https://nuitka.net/blog/tag/package_config.html
Make a --report file and check it, then identify things you do not believe to be necessary, and come up with anti-bloat patches that avoid unnecessary dependencies.


Implemented assertEqualsToIgnoringNewLines

Check List:

Fixes Implemented assertEqualsToIgnoringNewLines
Unit tests : YES
Javadoc with a code example (API only) : YES

Thanks, I will review your PR in the next days !

You have forgotten to add isEqualToIgnoringNewLines in AbstractCharSequenceAssert ;-)

Integrated after minor updates (mostly tests) thanks @dafenix!


Del Command

Hi,
I want to take the match when using del command.
For example,
1.set fleet t:1 point 1 1
2.set fleet t:2 point 2 2
Then,I want to delete begin with t id directly.
But I don't want to delete one by one.Excuse me how should I do

This is currently not available. Perhaps I could add a PDEL key pattern command.

That's pretty? Thanks a lot


Core Dev: Content routing E2E refactor

The test file, server.js, in punchcard tests is causing a great deal of issues. We need to remove all testing which does anything more than check the existence and viability of the routes.
Feature: Content routing unit testing
  As a core developer
  I want to create unit tests for all non-routing code in the content routing
  So that our code is confirmed by direct unit testing

  Scenario: Discover uncovered lines
    Given that the routing is being tested as E2E instead of the code being unit testing
     When I remove the /content routes from server.js
     Then I should have a clear indication of which lines need to be covered via unit testing

  Scenario: Refactor uncovered lines
    Given that some code can be broken out of routes
     When I move code to other files
     Then I should create new tests to cover that moved code.

Unit Testing

[x] Discovery
[ ] Refactor as needed

This is becoming a large issue for us as these tests fail intermittently and it negatively affects our ability reliably release deploys.

Continued refactor is blocked by the need for a testing database option:
https://github.com/punchcard-cms/punchcard/issues/283

note-to-self: research turning utils.content.check.url into middleware. Middleware would need to change express.req

note-to-self II: refactor should test that the action attribute on the response object is the what we expect. This will be done with node-mocks-http.


Bazarr service update

Added options to bazarr service module to:

configure a the data directory instead of only using /var/lib/bazarr while keeping that path as the default
configure specific package used

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.

Just realised I forgot to add a default value to dataDir

Changed the package option to use mkPackageOption like some other packages do


[Cherry-pick-to-maint] Allow force delte for npm metadata

This is used when npm meta is stale and we want to remove it manually. It has no immediate need, but it is low risk. We'd better cherry pick it to 2.5.x as well.

own CI passed. github pr build failed. merge it.


checks on full stops in about_py.rst

@jstac thankyou so much for the feedback. Even I prefer it the way you said.

@jstac I was about to reverse some of the changes in this, Should I do that now? I am confused since you merged it.

Ahh!  Sorry :-)
I just merged it by mistake!  Let me try to undo it.


gnomeExtensions.ddterm: Unable to find GJS

Describe the bug
gnomeExtensions.ddterm is unable to find gjs, and thus fails to luanch.
Steps To Reproduce
Steps to reproduce the behavior:

Install gnomeExtensions.ddterm[^1]
Run journalctl -f to watch system logs
Open ddterm with the keybinding or default desktop entry

Expected behavior
ddterm launches normally
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

My full NixOS config can be found here, permalinked to the config I used when submitting the bug report. If this is a configuration issue, input is appreciated.

I updated my flake.lock before testing

No extension remnants (from manually installed extensions) exist at ~/.local/share/gnome-shell/extensions/
See https://github.com/NixOS/nixpkgs/pull/269211 for recent changes

[gramdalf@aerwiar:~]$ journalctl -f
Dec 02 18:50:35 aerwiar com.github.amezin.ddterm[36123]<EMAIL_ADDRESS>line 13: exec: gjs: not found
Dec 02 18:50:35 aerwiar .gnome-shell-wr[28648]: JS ERROR: Failed to toggle ddterm by keybinding: Error: com.github.amezin.ddterm: subprocess terminated without registering on D-Bus
                                                start/terminated<@file:///home/gramdalf/.nix-profile/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/service.js:179:23
                                                @resource:///org/gnome/shell/ui/init.js:21:20
Dec 02 18:50:35 aerwiar .gnome-shell-wr[28648]: JS ERROR<EMAIL_ADDRESS>GLib.Error g-spawn-exit-error-quark: Child process exited with code 127
                                                wait_check/</<@file:///home/gramdalf/.nix-profile/share/gnome-shell/extensions/ddterm@amezin.github.com/ddterm/shell/subprocess.js:126:36
                                                @resource:///org/gnome/shell/ui/init.js:21:20

Notify maintainers

@piegamesde
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[gramdalf@aerwiar:~]$ nix-shell -p nix-info --run "nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.2, NixOS, 24.05 (Uakari), 24.05.20231129.e92039b`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Priorities
Add a :+1: reaction to issues you find important.
[^1]: If this is a configuration issue, my full config (permalinked to the time I tested it last) is located here: https://github.com/TheRealGramdalf/.dotsv2/tree/568136241ebbb1a7a3d3f85dd159fd5cf4d65010

Edit: Adding gjs to my home-manager configuration seems to fix it completely. Not sure exactly why ddterm doesn't pull that in by default.
https://github.com/TheRealGramdalf/.dotsv2/tree/b41062ce414ce35641523cc9fc7b17557eb9b169

It does indeed look for gjs in path:
https://github.com/ddterm/gnome-shell-extension-ddterm/blob/0a263a15a6ac82274ebf3e4f6b98e7b226e8188a/ddterm/app/dependencies.js#L94

@pbsds I'm not sure that line is the problem, because we've already established that it should be dead code. So either it is called nevertheless, which probably indicates that it can't find all necessary dependencies, or something else is going wrong. From the stack trace above it looks like the failure happens when calling a wrapped script, not sure about that though


Simple Voice Chat incompatible ( Same UDP Port )

latest.log

Does Raknetify needs the same port as the server? Or could we open another port for Raknetify

Does Raknetify needs the same port as the server? Or could we open another port for Raknetify

"You need to have a UDP port opened at the same port number of your normal server port."

I changed "Simple Voice Chat" UDP to another port, now i try Raknetify

Changing port number of raknetify just doesn't sound right or make any sense for me.
If you are really looking for an option to change the port number, you have to add an additional JVM flag: -Draknetify.fabric.portOverride=<port> where <port> is the port number you want.

All good, Simple Voice Chat allows to change the port to whereever, so now the server starts
Btw my log goes kinda crazy right now with Raknetify, can you quickly look over this pls
latest.log

Line 301
Line 324 - 335
Line 516 - 570

This looks like some other mods leaking memory or just a vanilla bug. It is made visible with raknetify.

I have Memory Leak Fix installed

I have Memory Leak Fix installed

Memory Leak Fix doesn't magically fixes everything.

could i supress the L525-570 somehow?

Use -Dio.netty.leakDetectionLevel=disabled if you really want to silence that but this is usually not recommended.