Fix extras require handling

Rework handling to not error out but automatically convert internally:
extras_require={
   'notebook': ["enum34==1.1.6; python_version < '3.4'"]
}

to the equivalent of
extras_require={
   'notebook: python_version < "3.4"': ['enum34==1.1.6']
}

(a syntax I did not know was possible as it's not documented). Fix #1087.
Note:

include the fix from #1085
tested with a patched tox env so the tests can run:

diff --git a/tests/requirements.txt b/tests/requirements.txt
index 6e2e78e2..2a8e6767 100644
--- a/tests/requirements.txt
+++ b/tests/requirements.txt
@@ -2,3 +2,4 @@ pytest-flake8
 pytest>=3.0.2
 # pinned to 1.2 as temporary workaround for #1038
 backports.unittest_mock>=1.2,<1.3
+setuptools==35.0.0

As a follow up, it seems like requirements in install_requires that are using extras should be moved to extras_require too:
> cat setup.py
import sys
from setuptools import setup
setup(
    name='foo',
    install_requires=[
        'bar',
        'testing; "invalid" in sys_platform',
        'barbazquux [test]',
    ],
    extras_require={
        'notebook': ["enum34==1.1.6; python_version < '3.4'"],
    },
)
>  python setup.py -q egg_info && cat foo.egg-info/requires.txt
bar
[:"invalid" in sys_platform]
testing
[notebook:python_version < "3.4"]
enum34==1.1.6
[test]
barbazquux

 setuptools/dist.py | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git i/setuptools/dist.py w/setuptools/dist.py
index da08d613..a5b94601 100644
--- i/setuptools/dist.py
+++ w/setuptools/dist.py
@@ -356,7 +356,7 @@ class Distribution(Distribution_parse_config_files, _Distribution):
         Fix environment markers in `install_requires` and `extras_require`.

         - move requirements in `install_requires` that are using environment
-          markers to `extras_require`.
+          markers or extras to `extras_require`.
         - convert requirements in `extras_require` of the form
           `"extra": ["barbazquux; {marker}"]` to
           `"extra:{marker}": ["barbazquux"]`.
@@ -377,11 +377,17 @@ class Distribution(Distribution_parse_config_files, _Distribution):
             getattr(self, 'install_requires', None) or ()
         ):
             marker = r.marker
-            if not marker:
+            extras = r.extras
+            if not marker and not extras:
                 install_requires.append(r)
                 continue
+            r.extras = ()
             r.marker = None
-            extras_require[':' + str(marker)].append(r)
+            for e in extras or ('',):
+                section = e
+                if marker:
+                    section += ':' + str(marker)
+                extras_require[section].append(r)
         self.extras_require = dict(
             (k, [str(r) for r in v])
             for k, v in extras_require.items()

The tests fail because setuptools 36.2.0 is being installed by tox, and then using setup.py develop fail due to #1085. That's why I pinned setuptools to an earlier version locally to pass the tests.

Thanks for implementing this fix.

Closing in favor of #1089.


Pls add an option (split) only for insta ban and insta pick / lock

I mean I want to enable insta ban but not insta pick

Done, will be released with the next update whenever that is. (feel free to compile your own build)

Oh thank you so much.
Yeahhh. Im not the best in C#

Are you talking about compiling? You just need to open the solution in the latest Visual Studio and click the build button. I can upload one if you'd like?

thanks <3

But I have a question. When I build this with the solution file. I can't use the exe without the dll in the same folder.

thank you


onTimedMetaData For Android

As far as I am concerned there is no functionality provided to get metadata for streaming specifically for Android. Can anyone guide me or provide some direction how can I implement  that at my own in a react native android app.

:+1: I just now tried this and I'm not getting the onTimedMetadata either. There's the exoplayer which supposedly does support it, but then you lose the playInBackground feature which I also really need.
If this requires me to do some work, I'm fine with it. I'd like to get these two features working on both iOS and Android

@RWOverdijk that would be extremely helpful... I have searched on that and analyzed that firstly we need to implement MediaPlayer.OnTimedMetaDataAvailableListener but I am exactly not sure how this method void onTimedMetaDataAvailable (MediaPlayer mp,  TimedMetaData data) is gonna work....I have to search about it... :)

@raihanabbas232 I implemented it already. https://github.com/react-native-community/react-native-video/pull/707
I've forked this module and will publish it soon, including some other fixes.

@RWOverdijk appreciated... :)

@raihanabbas232 Sorry for the delay, if you want you can just install from my branch to see if it works for you. There are no tests for this currently so I think having more eyes on it is a good idea :)
If you're in the infinite red community, hit me up there :) If not, join us: https://infiniteredcommunity.herokuapp.com/
It's a bunch of clever people and a good place to get general help with react native.

For me the solution was simple
I just needed to modify the selectTimedMetadataTrack function in ReactVideoView.java as follows:
`    // Select track (so we can use it to listen to timed meta data updates)
private void selectTimedMetadataTrack(MediaPlayer mp) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
return;
}
try { // It's possible this could throw an exception if the framework doesn't support getting track info
mp.selectTrack(0);  // <--- add this
        /*  // Comment out this
        MediaPlayer.TrackInfo[] trackInfo = mp.getTrackInfo();
        for (int i = 0; i < trackInfo.length; ++i) {
            if (trackInfo[i].getTrackType() == MediaPlayer.TrackInfo.MEDIA_TRACK_TYPE_TIMEDTEXT) {
                mp.selectTrack(i);
                break;
            }
        }*/

    } catch (Exception e) {
    }
}`


How to record SQL queries?

I'm attempting to start to use X-RAY with Rails for tracing SQL queries.
But, I cannot see SQL queries in SQL tab.
I'd like to see queries on below popup.
Is it possible?

Otherwise, I think that I will use annotations.
I succeeded to record queries by adding the following code around here:
https://github.com/aws/aws-xray-sdk-ruby/blob/master/lib/aws-xray-sdk/facets/rails/active_record.rb#L26
sql_query = { sql_query: payload.fetch(:sql) }
subsegment.annotations.update sql_query

Please let me know, if there are any other options.
Regards.

I succeeded to add SQL queries in SQL tab.
Please check the PR: https://github.com/aws/aws-xray-sdk-ruby/pull/21


How it monitor for multiple projects

It is have any tag for project if I have multiple project need to be monitored？thx！

Tag for what? Multiple jvms are supported by app code.

Tag for different System.
And where can I find agent.namespace info in web-ui? thx.

Namespace is for system isolation. Multiple business clusters wouldn't be supported in one skywalking backend and ui cluster.


Initial segments support for v1.1

Description

Add support for Segment, partitions, filtered segments, custom mapping
Limit scope to single partitions, column mapping for v1, send files as v0 format initially,

Segmenting on an Integer column gives me the following error:
TypeError: 'int' object is not iterable
Int features are often categorical. should we allow segmenting on it, or should we warn the user to transform it to string before segmenting or something like that?

Segmenting on an Integer column gives me the following error:
TypeError: 'int' object is not iterable
Int features are often categorical. should we allow segmenting on it, or should we warn the user to transform it to string before segmenting or something like that?

It was a regression, should be fixed, and I added a test to cover the integer column segmentation case

Is it possible to segment based on inequalities, such as Age>18 ?
I understand you can filter it with filter, but that would require the data to be segmented on another column, right?
What if I want two segments, one for Age>18 and the other Age<=18?

Thats what the custom mapper.map function is for but I don't have examples/tests yet for that scenario, will do in follow up.


Doesn't work on macOS 12.3

It sadly doesn't work on macOS. Is there any way i can grab logs to help you out?

Are u sure? I'm on 12.3, and it works for me... I have a few questions so I can help:

Are you using an Apple Silicon (M1) or Intel CPU (You can check in Apple Icon > About This Mac > and then the "Chip" section)
Do you have Discord opened when you launch the app?
What error do you get when you try running the app?

I'm running M1 Macbook Air, alongside with the latest discord client (apple silicon native one)
I'm not getting any error messages at all, the app is sitting in menubar, both music app and discord are running. When i play music, i open up discord and i'm not seeing any changes in status

do you have music playing? if not it wont show up anything...

Yes, i do have music playing
I've tried using it while music is playing already, and starting music after launching it
both didn't work

Yes, i do have music playing
I've tried using it while music is playing already, and starting music after launching it
both didn't work

/path/to/applemusicrp.app/Contents/MacOS/applemusicrp run this in terminal (but replace the beginning with the path to the app ofc) and if it says anything send to me pls

also make sure u dont have ur activity status disabled (discord settings > activity status > "Display current activity as status message" should be enabled)
and kinda obvious but if you haven't try restarting discord and restarting the music app

here's the terminal output:
Exception in thread Thread-1: Traceback (most recent call last): File "threading.pyc", line 973, in _bootstrap_inner File "threading.pyc", line 910, in run File "/Applications/applemusicrp.app/Contents/Resources/applemusicrp.py", line 100, in rp_updater (time.time()-int(float(info[4]))) if info[0] == "PLAYING" else None)) ValueError: could not convert string to float: '0,0'

oh that's weird... does this quick fix i made work? https://github.com/wxllow/applemusicrp/releases/tag/2.1.1

didn't mean to close, also are you playing Apple Music files or local files? Not that it would matter, but if you were playing local files maybe it's a weird issue with that

It works now! I've been playing downloaded offline songs, imported songs and streaming it

Is it possible for you to grab album cover from the music playing and show it in the status as well?

It works now! I've been playing downloaded offline songs, imported songs and streaming it

Ah, it might have been some weird issue with the Music app of how they handle some local files.

Is it possible for you to grab album cover from the music playing and show it in the status as well?

Unfortunately no, I wish it was :( but the discord API doesn't allow dynamically uploading images

Also, if you could please star the repo that would be very greatly appreciated :)

Done ^^ Another suggestion: I think the status should disappear if the paused song hasn't been played for X amount of time. I've been on my mac without listening to music for 2 hours and it still shows my last song as paused in discord.

That's a good idea, how long do you think it should be until it stops showing?!

I think 10 to 30 minutes should be a good one. I’d personally make it 10 minutes

I think 10 to 30 minutes should be a good one. I’d personally make it 10 minutes

I finally got to it! https://github.com/wxllow/applemusicrp/releases/tag/2.2.0

Nice! i'll give the mac version a test and let you know about it.

Btw, it might be possible to actually show the album artwork. This person apparently has done it;
https://github.com/jackcrane/apple-music-presence

Sadly the discord status is not disappearing after 10 minutes. Do you need logs?

Btw, it might be possible to actually show the album artwork. This person apparently has done it;
https://github.com/jackcrane/apple-music-presence

Oh wow, that actually works! I was able to get it to work with a test image, so maybe I will be able to get it to work, I'll look into it more today

Nice! i'll give the mac version a test and let you know about it.

Sadly the discord status is not disappearing after 10 minutes. Do you need logs?

oops, I found the problem and I fixed it, I'll upload the patched build soon

Nice! waiting for it

@PriZmRL https://github.com/wxllow/applemusicrp/releases/tag/2.2.1

@PriZmRL https://github.com/wxllow/applemusicrp/releases/tag/3.0.0 ALBUM ARTWORK :)))

You are fast! trying out 3.0.0 right now. Will let you know if anything goes out of the way :P

@PriZmRL tell me if it works!

10 minute timeout works!


Desktop - Error trying to notarize DMG

I'm getting the following errors when trying to notarize a DMG with Apple. Seems like maybe the packaging process is not signing some files that should be signed:
{
severity: "error",
code: null,
path: "My_App-1.0.0.dmg/My App.app/Contents/app/sqlite-jdbc-3.34.1-371b212b7663f42133e45d49e82ad30.jar/org/sqlite/native/Mac/x86_64/libsqlitejdbc.jnilib",
message: "The binary is not signed.",
docUrl: null,
architecture: "x86_64"
},
{
severity: "error",
code: null,
path: "My_App-1.0.0.dmg/My App.app/Contents/app/sqlite-jdbc-3.34.1-371b212b7663f42133e45d49e82ad30.jar/org/sqlite/native/Mac/x86_64/libsqlitejdbc.jnilib",
message: "The signature does not include a secure timestamp.",
docUrl: null,
architecture: "x86_64"
}

Should be resolved by #966

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Frontdoor link-to-default-domain is enabled

--link-to-default-domain was Disabled but on response json
"linkToDefaultDomain": "Enabled",
 az afd route create -g "rg-eastus" --custom-domains "test" \
 --endpoint-name "test-ep" --profile-name "profile1" --route-name "test-route" \
 --https-redirect Enabled --origin-group "test-group" \
 --supported-protocols Http Https \
 --link-to-default-domain "Disabled" \
 --forwarding-protocol HttpOnly

Hello @arunvc Thanks for reporting this issue!
For further actions we are routing this issue to Service Team's attention!!


[StyleCop] Fix all the warnings in Dutch Extractors

Reorder fields, properties, methods and constructors
Add and remove spaces when needed
Remove unnecessary parenthesis

Replaced by #1445


Dome Guard 2K, Supported? all info included

Yi 2k Pet Camera (Dome Guard)
Model; YRS.3521
S/N Prefix: RFUS
F/W Ver: <IP_ADDRESS>_202310111243
Flash of r35gb 0.3.0 and 0.3.1 didnt take. feel like Im wearing my luck thin on my first brick, so i thought Id ask if this model supported yet.
Yi Cam 34 for my set up, only the second one Ive run in to problems with.
backup.zip

r35gb should work.


[MINOR][DOC] Both the parameters should be named for rand()

cc @kev-inn

Yes, this maked it more clear. LGTM :+1:

Thank you, kevin. :)


fix(server): Short circuit recursive definitions to avoid infinite recursion

Closes #778

:+1:

:+1:

👍


don't harass to unlock a paper key that's already unlocked

r? @patrickxb

fixed, thanks

Could have sworn I wrote "LGTM" this morning, but:  LGTM

Thanks for the review. This code will make it through the rewrite, I think.


thundersvmScikit Windows: Debug Assertion Failed

I have a large(ish) dataset I'd like to run through ThunderSVM with 100k samples at the max described by 4096 features. I converted some of my training and evaluation data over to the format for LIBSVM, but I get an error when running my data through the example code.
from thundersvmScikit import *
from sklearn.datasets import *

x,y = load_svmlight_file("../dataset/train.txt")
clf = SVC(verbose=True, gamma=0.5, cost=100)
clf.fit(x,y)

x2,y2=load_svmlight_file("../dataset/test.txt")
y_predict=clf.predict(x2)
score=clf.score(x2,y2)

print "test score is ", score

The output I am seeing is:

2018-05-13 19:44:21,657 INFO [default] #instances = 10208, #features = 4096
2018-05-13 19:44:23,824 INFO [default] #classes = 2
2018-05-13 19:45:48,808 INFO [default] working set size = 1024
2018-05-13 19:45:48,816 INFO [default] training start
2018-05-13 19:45:49,366 INFO [default] global iter = 0, total local iter = 512, diff = 2
2018-05-13 19:46:01,138 INFO [default] global iter = 93, total local iter = 33607, diff = 0.000996124
2018-05-13 19:46:01,144 INFO [default] rho = -0.305637
2018-05-13 19:46:01,146 INFO [default] #sv = 10179
2018-05-13 19:46:05,729 INFO [default] #total unique sv = 10179
2018-05-13 19:46:05,840 INFO [default] training finished
2018-05-13 19:47:10,357 INFO [default] #instances = 2904, #features = 4096

Then I seem to get this error:

Oddly I seem to be able to run the default code and data through so I am note sure why everything seems to break when I run my data through it.

It seems the program crash in svm predict. Would you please share the training and test data set?  So we can reproduce the problem and fix it.

Hi, you can download the test data here:
http://www.cs.umd.edu/~mattm/docs/test_data.zip
I'd definitely appreciate the help figuring out what the issue is, I love fact that you have an Scikit interface!

We found there was a bad memory access in svm predict. We have fixed it. The subset of the datasets can work on my windows now. You can update the codes and try again. If the problem still exists, please let us know. Thanks!


 Sorry for the repetition question, but I can't find solutions for it.
My versions:
React-Native: "0.61.5",
React-native-google-places-autocomplete: "^1.4.1".
Example of me code:
<ScrollView
style={styles.styleContainer}
 keyboardShouldPersistTaps="handled">
   <GooglePlacesAutocomplete
placeholder="Your address"
minLength={1}
 autoFocus={false}
returnKeyType={'default'}
keyboardAppearance={'light'}
listViewDisplayed={false}
fetchDetails={true}
renderDescription={row => row.description}
onPress={(data: any, details = null) => {
 onChangeAddress(data.description);
}}
query={{
key: '***********',
}}
currentLocation={false}
debounce={200}
/>
</ScrollView>

This helped: https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/478#issuecomment-573344080

@VTSingle
Please add keyboardShouldPersistTaps="handled" to your ScrollView component

@nikolajordanovski That worked for me, thanks!

this worked for me too . thanks

@nikolajordanovski Thanks, it is wonderful solution.

@nikolajordanovski wonderful thanks !


How can I check if an entity is out of bounds?

I want to check if an entity is 'out of bounds.' I have tried checking if the entity's x is greater than window.availWidth and making the entity's x decrease by 2 but that doesn't work.
I'm not very good at explaining stuff so if you're having trouble my code is here https://repl.it/@j0rdancodes/Game-4

what event did you bind that code to?


0007: playwithtink and the user persona

Signed-off-by: Gianluca Arbezzano<EMAIL_ADDRESS>

This could be a series of markdown examples and assets. As a temporary, alternate, home of the deployment methods it will quickly fall out of sync without tags or immutable image shas

We are using immutable image share here playwithtink

As an alternative, if we move forward with tinkerbell/tink#228 and tinkerbell/tink#229 we will have official homes for the terraform and vagrant deployment methods

You can see this as an attempt to have a home for both vagrant and Terraform as explained in the proposal
We can replace or write setup guides as similar as the one we already have, but
they won't checkout the `tinkerbell/tink` repository,

After a chat with @nathangoulding I think we can change the repo name to sandbox or playground or ...? So we will leave play with tink for what Google search is up to


Localize list tabs' routes

This adds ability to localize individual tab's route
Also removes hard-coded list of tabs from few places in favor of enum

@leocwolter Thanks for looking into this!

Hi @MatejBalantic! Are you planning to address the comments made by @leocwolter?
This PR is pretty useful, would be great if you could fix this small issues to ship that to master.


Pasty behind Reverse Proxy as Subpath

Hey, cool Product!
I try to run it as Sub-path on Apache2 Server e.g. https://FQDN/pasty/ with few rewrite rules, but not really successful.

I use docker compose

version: "3.6"
services:
  pasty:
    image: ghcr.io/lus/pasty:latest
    container_name: pasty
    restart: unless-stopped
    environment:
      - PASTY_AUTODELETE="true"
      - PASTY_AUTODELETE_LIFETIME="336h"
      - PASTY_AUTODELETE_TASK_INTERVAL="24h"
    ports:
      - "9016:8080"

Now it works on my localhost:9016
I see that there a 2 endpoints, webUI and api calls, so I add Apache2 Rewrite rules:

#Pasty
	<Location /api/v2/>
		RewriteEngine  on
		RewriteRule /api/v2/(.*) http://localhost:9016/api/v2/$1 [P,L]
		ProxyPreserveHost On
		ProxyPass http://localhost:9016/api/v2/ retry=0 connectiontimeout=5 timeout=30 keepalive=on
		ProxyPassReverse http://localhost:9016/api/v2/
		RequestHeader set Connection ""
	</Location>

Redirect 301 "/pasty" "/pasty/"
	<Location /pasty/>
		ProxyPreserveHost On
		ProxyPass http://localhost:9016/ retry=0 connectiontimeout=5 timeout=30 keepalive=on
		ProxyPassReverse http://localhost:9016/
		RequestHeader set Connection ""
	</Location>

Not really works:(((
How to expose this app as Subpath?

Hello!
I am not familiar with Apache2 and its configuration, but based on your description I can imagine one problem.
The frontend currently calls the API on the main hostname (https://github.com/lus/pasty/blob/efe0ec7556a936c5aee0abd9d60c347c8db64f4d/web/assets/js/modules/api.js#L1) and not relative to the path.
If pasty runs on https://host.example/pasty for example, it will call https://host.example/api/v2 rather than https://host.example/pasty/api/v2. This is bad behaviour and will be fixed.
If this is not your problem, please try to access pasty with your browser's developer mode network tab open and try to determine any network errors.

I try to add rule for /api/v2 endpoint, but not as for other tools - it causes redirect loop from /api/v2/pastes to /api/v2/api/v2/pastes. Funny that /api/v2/info works fine.

idea
why not run on subdomain?
this is what I have for subdomain with nginx
server {
        listen 80;
        listen [::]:80;

        server_name paste.domain.tld www.paste.domain.tld;

    	location / {
            proxy_pass http://<IP_ADDRESS>:8080;
        }
}

Hey, cool Product!
I try to run it as Sub-path on Apache2 Server e.g. https://FQDN/pasty/ with few rewrite rules, but not really successful.

I use docker compose

version: "3.6"
services:
  pasty:
    image: ghcr.io/lus/pasty:latest
    container_name: pasty
    restart: unless-stopped
    environment:
      - PASTY_AUTODELETE="true"
      - PASTY_AUTODELETE_LIFETIME="336h"
      - PASTY_AUTODELETE_TASK_INTERVAL="24h"
    ports:
      - "9016:8080"

Now it works on my localhost:9016
I see that there a 2 endpoints, webUI and api calls, so I add Apache2 Rewrite rules:

#Pasty
	<Location /api/v2/>
		RewriteEngine  on
		RewriteRule /api/v2/(.*) http://localhost:9016/api/v2/$1 [P,L]
		ProxyPreserveHost On
		ProxyPass http://localhost:9016/api/v2/ retry=0 connectiontimeout=5 timeout=30 keepalive=on
		ProxyPassReverse http://localhost:9016/api/v2/
		RequestHeader set Connection ""
	</Location>

Redirect 301 "/pasty" "/pasty/"
	<Location /pasty/>
		ProxyPreserveHost On
		ProxyPass http://localhost:9016/ retry=0 connectiontimeout=5 timeout=30 keepalive=on
		ProxyPassReverse http://localhost:9016/
		RequestHeader set Connection ""
	</Location>

Not really works:(((
How to expose this app as Subpath?
Pkg install


api plugin documentation

created a new docs.html file that has all zc_chess plugin backend documentations accessed from the endpoint  - /api/docs/v1
This will constantly be updated till all endpoint is complete , Please merge and do not close if possible
Issue #487

No… we can’t use this..

No… we can’t use this..

state the reasons why please ?

Documentation should be generated automatically based on available routes and code documentation…
Something like OpenApi spec or swagger

Documentation should be generated automatically based on available routes and code documentation…
Something like OpenApi spec or swagger

oh okay, True. I will use swagger UI then

Documentation should be generated automatically based on available routes and code documentation…
Something like OpenApi spec or swagger

oh okay, True. I will use swagger UI then

check this out @NdubuisiJr for a start

Okay
I'll look at it now


doc bug: update installation guidance from github to pypi

We now publish instructlab to PyPi - we should update all of our docs to instruct users to install from PyPi instead of GitHub.
Followup from #972

@kelbrown20 would you have any interest in taking this on? if not I can carve out some time for it


AspNetCoreModule install fails when IIS shared config is enabled

By design, it is recommended not to install IIS Extensions if shared configuration has already been enabled. The recommended way to is to always install the extensions before IIS shared config is enabled.
We need to update ANCM docs to explicitly call out this is not a supported scenario.

Take it into ...
https://docs.asp.net/en/latest/hosting/aspnet-core-module.html
or
https://docs.asp.net/en/latest/publishing/iis.html
or
both?

Given that publishing/iis links to hosting/aspnet-core-module doc from the "Install" section. I'm believe just having it in just hosting/aspnet-core-module document should suffice.

:+1: ... I'll have some draft language in a few hours.

@shirhatti Can we "steal" @jhkimnew (modified) language for something like this ...
ASP.NET Core Module with IIS Shared Configuration
The ASP.NET Core Module installer, which is included in the .NET Core Windows Server Hosting bundle installer, runs with the privileges of the SYSTEM account. Because the local system account does not have modify permission for the share path which is used by the IIS Shared Configuration, the installer will hit an access denied error when attempting to configure the module settings in applicationhost.config on the share.
The unsupported workaround is to disable the IIS Shared Configuration, run the installer, export the updated applicationhost.config file to the share, and re-enable the IIS Shared Configuration.

Looks good to me.
@jhkimnew ?

@GuardRex Will you be opening a PR? :smile:

@shirhatti Looks goood to me as well.

Sure thing ... I'll have it in within a few hours.


Document how to link to the theme styles

fix #15

Nice. Thanks @DirtyF. LGTM.

@jekyllbot: merge +docs


TLS Support for Zabbix 3.0

hopefully this one works

@dj-wasabi i think between you and I we could get this one out within a week

Hi @ericsysmin
Thank you very much for this PR. Will test this PR today.
Looks very good to me.

@dj-wasabi no problem, i needed it for work, I should probably remove my old puppet zabbix module from 2014, you took this much farther than I did. I'd love to help contribute more (starting to get this new company I work for to move towards puppet modules from forge)

Thanks!! @ericsysmin
I'm always open to suggestions/new improvements. (Hint: Windows support ;-))


Add ItemStack Renderers

The tiles should also render their effects when in inventory.

I won't do it. Maybe someone else who knows more about ISTERs than I do.


[FLINK-6588] Rename NumberOfFullRestarts metric

Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[ ] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

I am very hesitant to rename such metrics, because there may be production users that defined monitoring or alterting based on that metric. Those installations would be broken through this change.
For that reason, I would suggest to not do this change...

@zentol What do you think of @StephanEwen 's suggestion? I think this change does cause some incompatibilities for user, thanks

Unfortunately i agree, we already made a release with the current name so we can't change it.


Missing prefix for UM (US Outlying Islands)

http://www.auslandsvorwahlen.net/en/country/268
kMapCCode2CN in NBMetadataHelper  is missing  object + key pair  {"1", "UM"}

libPhoneNumber-iOS using https://github.com/googlei18n/libphonenumber metadata.
So, would you create issue to https://github.com/googlei18n/libphonenumber


option to create new values in dropdown for % fraction affected (HCx, PCx)

only do if straightforward - otherwise just keep the dropdown choices

done


iOS: initial tab bar scene not loaded automatically - 3.0.1

Current behavior
We have configured a number of tabs with scenes map. The initial tab is not getting load by default. I have to click the indicated tab to get to visible the screen. It, no a problem in 2.16.0
This is happening in iOS alone
Expected behavior
The initial state scene should load default in ios
Code sample
<TabView
lazy={true}
tabBarPosition={'bottom'}
navigationState={state}
renderScene={props.renderScene}
onIndexChange={setIndex}
swipeEnabled={false}
initialLayout={{ height: 0, width: layout.width }}
renderTabBar={defaultRenderTabBar}
/>
Due to other confidentiality, I am not able to share the full code
Screenshots (if applicable)

What have you tried
I tried to load the list card carousel in each scene
Your Environment

software
version

ios
.   ios 11.4

react-native
4.14.0

react-native-tab-view
3.0.1

react-native-pager-view
^5.2.1

node
v14.17.0

npm or yarn
6.14.13

Same issue here, my component is loaded, but not displayed.
Did someone find a solution ?

I have the same issue with he same version. Did you find a fix?

Hi there, I found a solution...
Actually I am dynamically creating my routes,
When I was experiencing this issue i was declaring my state variable like this :
const [routes, setRoutes] = useState([]);

And using the setRoutes method in a useEffect hook, which was dynamically getting my routes.
I cant explain why my tab bar was correctly rendering and the code inside my components was run, but I just had to initially not set my routes instead of setting it to an empty array, then add a check to render the TabView:
const [routes, setRoutes] = useState();

return (
  <>
    {routes &&
      <TabView
        {...props}
      />
    }
  </>
)

Hope it can help some of you,
Cheers

@pnogier, Thanks for sharing.  Not working for me

I have same issue...Any update

Thanks @pnogier, this was the last thing I needed to solve to finish my application.
Just remembering that useState must be initialized without an empty array, in case someone hasn't got it yet.
const [routes, setRoutes] = useState();

I have the same issue in android.
My app is also using components approach and cannot implement the solution suggested by @pnogier. I try validating only similar to this but didn't work.
routes &&
      <TabView
        {...props}
      />

If I use version ^2.10.0 doesn't happen.
Happens in version ^3.0.1


Remote properties values are not overridden by @SpringBootTest properties

Remote properties values are not overridden by SpringBootTest properties attribute
This is problematic for integration tests that needs to override remote properties to test a particular behaviour of an application for which the remote properties are not allowed to be overridden (via spring.cloud.config.overrideNone)
This is caused by

The test property source being added as first property source (in org.springframework.test.context.support.TestPropertySourceUtils.addInlinedPropertiesToEnvironment)
The bootstrap property source being later added as first property source and thus being ordered before the test property source (in org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.insertPropertySources)

Here is a test to reproduce the issue:
springboottest-properties-overrides.zip

Could you disable spring.cloud.config.overrideNone in a test profile perhaps?

Or disable remote properties in a test.


Merge pull request #1 from vitmalina/master

Fixed #1571

sorry, please delete this request

This pull request has 0 files, closing it.


Type remains narrowed when it could've changed

Bug Report
🔎 Search Terms
"This condition will always return 'false' since the types"
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about narrow

⏯ Playground Link
Playground link with relevant code
💻 Code
function assert(cond: boolean): asserts cond {
    if (!cond) {
        throw new Error(`assertion failed`);
    }
}

class Module {
    #deps!: Module[];
    #status!: "unlinked" | "linking" | "linked";

    #linkRecursive() {
        if (this.#status !== "unlinked") {
            return;
        }
        this.#status = "linking";
        for (const dep of this.#deps) {
            dep.#linkRecursive();
        }
        this.#status = "linked";
    }

    #link() {
        assert(this.#status === "unlinked");
        this.#linkRecursive();
        // This condition will always return 'false' since the types '"unlinked"' and '"linked"' have no overlap.(2367)
        assert(this.#status === "linked");
    }
}

🙁 Actual behavior
Currently this is a TS error:
This condition will always return 'false' since the types '"unlinked"' and '"linked"' have no overlap.(2367)

🙂 Expected behavior
I would expect there to be no reported error. Obviously full program analysis is not going to happen, but it would be good if function/method calls that directly operate on a value with mutable properties would invalidate those mutable property types.
i.e. It would be good if narrowing of non-readonly properties was invalidated by these patterns:
// fn call with narrowed value as arg
const v = { k: "a" | "b" };
assert(v.k === "a");
someFn(v); // should invalidate v.k === "a" as in general someFn might mutate v
v.someMethod(); // Also should invalidate v.k === "a" as in general someMethod might mutate v
assert(v.k === "b");

Duplicate of #9998.

Because you mentioned readonly properties, I feel compelled to point out, { readonly x: string } is freely assignable to { x: string }.  readonly is a pretty weak guarantee and only prevents you from modifying the property through the readonly reference.  It won't prevent a function you passed the object into from mutating it.

Because you seem to be implying there could be a carve-out for readonly properties, I feel compelled to point out, { readonly x: string } is freely assignable to { x: string }

What I mean is the analysis is based on whether or not the function being passed into could write the properties. i.e. This would NOT disable narrowing because the function says it won't modify the reference:
declare function someFn(v: { readonly k: "a" | "b" }): void;

const v: { k: "a" | "b" };
assert(v.k === "a");
someFn(v);
// Still an error because someFn doesn't indicate it might modify the reference
assert(v.k === "b");

Note that methods would have an implicit readonly for readonly class properties anyway:
class Foo {
    readonly #state = "a" | "b";

    // has type (this: { readonly #state: "a" | "b" }) so it essentially states
    // this method doesn't modify `this.#state`
    method() {

    }
}

Imagine if e.g. arr.push(v) reset narrowing on v just because you passed it to a function.

Yes, although really the type of push should reflect that it doesn't modify the argument in any way, in which case the above rules would just work:
interface Array<T> {
    // Push doesn't modify T so Readonly<T>
    push(v: Readonly<T>): number;
}

Also while I generalized the above to functions as well as methods, just the narrower case of invalidating other properties just based on methods would be fine. In general I think if people are declaring non-readonly properties in classes, having .method() invalidate all those properties shouldn't be that surprising.

It looks like your idea(s) aren't new and were also brought up in #9998.  See "Mitigating with const parameters" and "Mitigating with readonly fields" in particular.

What I mean is the analysis is based on whether or not the function being passed into could write the properties. i.e. This would disable narrowing because the function says it won't modify the reference:

Read-only Interfaces are implicitly compatible with the writable ones. The object can easily be passed on and be modified (or using a type assertion).

Read-only Interfaces are implicitly compatible with the writable ones. The object can easily be passed on and be modified (or using a type assertion).

If people are accepting something as readonly and then go on to try and modify it anyway, I really feel like that is their problem. Like if they wanted to modify it they shouldn't have bothered accepting a readonly value in the first place.

I suspect what @MartinJohns was getting at is that it's easy enough to do by accident because the type system sees nothing wrong with this code:
interface Foo { x: string }

function canMutateFoo(foo: Foo) {
    foo.x = "oops";
}

function cantMutateFoo(foo: Readonly<Foo>) {
    canMutateFoo(foo);
}

const foo: Foo = { x: "something" };
cantMutateFoo(foo);

Just substitute less on-the-nose names for the functions and you can see where this might go sideways. 😃

If people are accepting something as readonly and then go on to modify it anyway, I really feel like that is their problem. Like if they wanted to modify it they shouldn't have bothered specifying it as a readonly value in the first place.

The soundness hole around readonly is irrelevant because readonly doesn't mean immutable; the reverse situation is the problematic one. This program is legal and sound:
const obj = { x: 1 };
const view: { readonly x: number } = obj;
obj.x++;

Knowing that a property is readonly tells you nothing about whether or not its value might change between readings.

Just substitute less on-the-nose names for the functions and you can see where this might go sideways.

Again:

If people are accepting something as readonly and then go on to modify it anyway, I really feel like that is their problem

Really the fact that { readonly x: T } is assignable to { x: T } at all seems more of kindness due to the fact that SO MANY existing ts types are written as { x: T } even if they don't modify the properties. Like it would be inconvenient if { readonly opt: boolean ] couldn't be passed to function doThing(opts: { opt: boolean }), and because readonly is relatively new there's a lot of code written like { opt: boolean } not { readonly pt: boolean }.

The soundness hole around readonly is irrelevant because readonly doesn't mean immutable; the reverse situation is the problematic one. This program is legal and sound:

This is irrelevant to the proposed solution, the point is through a readonly reference you shouldn't be able to mutate the value. What happens through the original reference doesn't matter because you're operating on the readonly reference.
i.e. In this situation:
declare function withA(a: "a"): void;

declare function doThingReadonly(o: { readonly x: number }): void;
declare function doThing(o: { x: number }): void;

const obj: { x: "a" | "b" } = { x: "a" };
const view: { readonly x: number } = obj;

// CASE 1
assert(view.x === "a");
doThingReadonly(view);
// fine because doThing indicates it won't change .x
withA(view.x);

// CASE 2
assert(obj.x === "a");
doThingReadonly(obj);
// also fine because doThing indicates it won't change .x
withA(obj.x);

// CASE 3
assert(view.x === "a");
doThing(view);
// not fine, although this case is UNSOUND ANYWAY due to throwing away readonly-ness
// so it doesn't really matter what TS does here
withA(view.x);

// CASE 4
assert(obj.x === "a");
doThing(obj);
// also not fine, doThing may have mutated obj
viewA(obj.x);

Now the original issue here, CASE 4, is the fact that passing something through a non-readonly reference might mutate the value.
My proposed change doesn't change CASES 1-3 because it assumes readonly won't be written THROUGH A READONLY REFERENCE.

An alternative (weaker) fix for the original issue here would just be to disable ts(2367) for narrowed values if a method call has come between such calls, i.e.:
assert(module.#state === "unlinked");
module.#linkRecursive();
// When reaching here TS knows a method has been called, so comparisons use the original
// module.#state : "unlinked" | "linking" | "linked" so this comparison is still legal
assert(module.#state === "linked");


how to get initdata to work

The database is populated with initial data on the first run. You do need to use any other method to load it. Entitiy Framework creates database and load initial data on init.


feat: As a USER I want to be able to use this app with regular account (without lockup) along with lockups

Need to investigate what should be improved to make it happen. But it's definitely necessary feature.

I was searching through NEAR Indexer for Explorer database using public read-only access. To find the average use-case of staking for accounts without lockup-contracts.
Maybe I am missing something, but I've noticed that quite a few accounts has staked reasonable amounts of $NEAR, the average of what I've found is 25-100 $NEARs even when the balance on account is close to 10k $NEARs.
From what I can gather those users won't be able to see any changes to their balances for quite a long time before the changes will be even noticeable.
I am considering to close this issue as useless, but will keep it for now, maybe someone will prove me this is necessary.


Add WN18RR Dataset

Reason: WN18 Dataset suffers from test set leakage
Source:

In addition, it has been noted that the WN18 andFB15k datasets suffer from test set leakage, due to inverse relations from the training set being present in the test set – however, the extent of this issue has so far not been quantified.

Thank you! Sorry it took me so long to merge.


Can't import room keys

This is after entering the password

thanks for providing the screenshot :+1:  which client was used to export the keys and does the file correctly import into other matrix clients?
this error sounds like the file used doesn't contain enough information in the first line :thinking: here's an example keys file used for testing https://github.com/ouchadam/small-talk/blob/main/test-harness/src/test/resources/element-keys.txt notice how after the -----BEGIN MEGOLM SESSION DATA----- all lines are 129 characters long
Currently the code takes the first 36 bytes from the first line of the file as the crypto cipher, the error you're seeing means that the first line doesn't contain at least 36 bytes of data (assuming the error is referring to this line https://github.com/ouchadam/small-talk/blob/main/matrix/services/crypto/src/main/kotlin/app/dapk/st/matrix/crypto/internal/RoomKeyImporter.kt#L110 )

without more information about the file being imported this will be tricky to resolve, will reopen when more information becomes available

Oh shoot sorry... It was from Element web


Unit test TestExecutorManagerWatch is not stable

Which jobs are flaking?
verify CI
Which test(s) are flaking?
dataflow engine unit test
FAIL: engine/servermaster TestExecutorManagerWatch
Jenkins logs or GitHub Actions link
https://ci.pingcap.net/blue/organizations/jenkins/ut-check/detail/ut-check/15299/pipeline/
[2022-06-03T08:55:27.530Z] === Failed

[2022-06-03T08:55:27.530Z] === FAIL: engine/servermaster TestExecutorManagerWatch (2.01s)

[2022-06-03T08:55:27.530Z]     executor_manager_test.go:139:

[2022-06-03T08:55:27.530Z]         	Error Trace:	executor_manager_test.go:139

[2022-06-03T08:55:27.530Z]         	            				asm_amd64.s:1571

[2022-06-03T08:55:27.530Z]         	Error:      	Expected nil, but got: &enginepb.Error{Code:5, Message:"[DFLOW:ErrTombstoneExecutor]executor 6b1fd956-2063-4e46-9123-c6e1772cce16 has been dead", NotLeader:(*enginepb.NotLeader)(nil)}

[2022-06-03T08:55:27.530Z]         	Test:       	TestExecutorManagerWatch

[2022-06-03T08:55:27.531Z]     executor_manager_test.go:136:

[2022-06-03T08:55:27.531Z]         	Error Trace:	executor_manager_test.go:136

[2022-06-03T08:55:27.531Z]         	Error:      	Condition never satisfied

[2022-06-03T08:55:27.531Z]         	Test:       	TestExecutorManagerWatch

Anything else we need to know

Does this test exist for other branches as well?

Has there been a high frequency of failure lately?

another case: https://ci.pingcap.net/blue/organizations/jenkins/ut-check/detail/ut-check/17205/pipeline/
[2022-06-14T05:46:43.303Z] === Failed

[2022-06-14T05:46:43.303Z] === FAIL: engine/servermaster TestExecutorManagerWatch (2.02s)

[2022-06-14T05:46:43.303Z]     executor_manager_test.go:142:

[2022-06-14T05:46:43.303Z]         	Error Trace:	executor_manager_test.go:142

[2022-06-14T05:46:43.303Z]         	            				asm_amd64.s:1571

[2022-06-14T05:46:43.303Z]         	Error:      	Expected nil, but got: &enginepb.Error{Code:2, Message:"[DFLOW:ErrUnknownExecutorID]cannot find executor ID: cdb9580a-11f9-4eb1-a6e3-d14943d1d75d", NotLeader:(*enginepb.NotLeader)(nil)}

[2022-06-14T05:46:43.303Z]         	Test:       	TestExecutorManagerWatch

[2022-06-14T05:46:43.303Z] {"level":"warn","ts":1655185570.2040312,"caller":"fileutil/fileutil.go:57","msg":"check file permission","error":"directory \"/tmp/TestStartGrpcSrvCancelable106718805/001\" exist, but the permission is \"drwxr-xr-x\". The recommended permission is \"-rwx------\" to prevent possible unprivileged access to the data"}

[2022-06-14T05:46:43.303Z] {"level":"warn","ts":1655185570.2232232,"caller":"fileutil/fileutil.go:57","msg":"check file permission","error":"directory \"/tmp/TestStartEtcdTimeout691357543/001\" exist, but the permission is \"drwxr-xr-x\". The recommended permission is \"-rwx------\" to prevent possible unprivileged access to the data"}


Several issues and one question

Hi,
it's not the first time setting up a node, but a Masa node with go-ethereum and within Docker.
After fixing the two issues already reported here I'm now at the following points:

running "make test"  I get
ok      github.com/ethereum/go-ethereum/trie
FAIL
util.go:47: exit status 1
exit status 1
make: *** [Makefile:41: test] Error 1

when I run geth he does not abort due to an error, but is looking for peer nodes, wrting something to disk/cache etc.

executing PRIVATE_CONFIG=ignore geth --identity MasaMoonNode --datadir data --bootnodes enode://91a3c3d5e76b0acf05d9abddee959f1bcbc7c91537d2629288a9edd7a3df90acaa46ffba0e0e5d49a20598e0960ac458d76eb8fa92a1d64938c0a3a3d60f8be4@<IP_ADDRESS>:21000 --emitcheckpoints --istanbul.blockperiod 1 --mine --miner.threads 1 --syncmode full --verbosity 5 --networkid 190250 --rpc --rpccorsdomain "" --rpcvhosts "" --rpcaddr <IP_ADDRESS> --rpcport 8545 --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,istanbul --port 30300
I get the error "flag provided but not defined: -emitcheckpoints". While looking up this error I got references like "the flag provided but not defined message means that you are running a standard Ethereum geth executable, not Quorum. You need to make sure the Quorum geth is the first one found in your path."
Since I have not read anything about Quorum in the Masa guide I'm uncertain to install Quorum and configure it.
Any idea?

And the last thing is: Executing docker-compose up ui
gives me:
[+] Running 2/2
⠿ Network ui_default  Created                                                                                0.1s
⠿ Container ui-ui-1   Created                                                                                0.1s
Attaching to ui-ui-1
ui-ui-1  | standard_init_linux.go:228: exec user process caused: exec format error
ui-ui-1 exited with code 1

So, that are the current issues. Now the question:
I have setup ufw on my VPS. Which port do I need to open for incoming requests? Are there any incoming requests? I saw port 8545, 21000, 30300 and 3000 for the UI.
Ah, there is another question: I saw the issue someone trying to connect MetaMask to Masa. I did not find anything about that in the guide. Where to look for and why should it be done?
many thanks for any help

the most important part of the source code (src/cmd/geth) is missing due to an error in the .gitignorу file

Thanks for the feedback. I have installed it manually go ethereum via the normal distribution (PPA).
Should I remove it and wait for an update of the Masa repository?

@dirkg2020 we will test and push a fix to this by tomorrow. tysm

@restevens402 I will work on this


Fix nomad_ports variable references

The variables nomad_ports_{http roc serf} do not have default values assigned to them. When these are not explicitly specified, rendering template/base.hcl.j2 results in an error.
This changes those to the ones that do have default values assigned to them.

👍


Fix board page

Board page looks bad
fix it pls
Make the name of the board members show up

Make it 2 columns as well


Unable to lock or unlock vehicle

Describe the bug
Updated integration using HACS from 1.0.38 to 1.0.52. S-PIN was/is set in the configuration.yaml and is visible in the new configuration dialog. Locking or unlocking the vehicle fails and logs imply missing S-PIN.
Latest working release
1.0.38
Debug logs
2021-08-31 06:36:45 WARNING (MainThread) [skodaconnect.vehicle] Failed to unlock vehicle - SPIN is required
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 334, in unlock
    response = await self.vehicle.set_lock('unlock', self.spin)
  File "/usr/local/lib/python3.9/site-packages/skodaconnect/vehicle.py", line 951, in set_lock
    raise SkodaException('Lock action failed')
skodaconnect.exceptions.SkodaException: Lock action failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/logging/handlers.py", line 1431, in emit
    self.enqueue(self.prepare(record))
  File "/usr/local/lib/python3.9/logging/handlers.py", line 1414, in prepare
    msg = self.format(record)
  File "/usr/local/lib/python3.9/logging/__init__.py", line 927, in format
    return fmt.format(record)
  File "/usr/local/lib/python3.9/logging/__init__.py", line 663, in format
    record.message = record.getMessage()
  File "/usr/local/lib/python3.9/logging/__init__.py", line 367, in getMessage
    msg = msg % self.args
ValueError: incomplete format
Call stack:
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 322, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 314, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 108, in run
    return asyncio.run(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1890, in _run_once
    handle._run()
  File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/config/custom_components/skodaconnect/lock.py", line 57, in async_unlock
    await self.instrument.unlock()
  File "/usr/local/lib/python3.9/site-packages/skodaconnect/dashboard.py", line 340, in unlock
    _LOGGER.error("Unlock failed: %", e.args[0])
  File "/usr/local/lib/python3.9/logging/__init__.py", line 1475, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/local/lib/python3.9/logging/__init__.py", line 1589, in _log
    self.handle(record)
  File "/usr/local/lib/python3.9/logging/__init__.py", line 1599, in handle
    self.callHandlers(record)
  File "/usr/local/lib/python3.9/logging/__init__.py", line 1661, in callHandlers
    hdlr.handle(record)
  File "/usr/src/homeassistant/homeassistant/util/logging.py", line 51, in handle
    self.emit(record)
Message: 'Unlock failed: %'
Arguments: ('Lock action failed',)

Installation:

Home Assistant variant: Docker
Python version 3.9

Additional context
Add any other context about the problem here.

Will verify. Could be that S-PIN is incorrectly stored in the config entry.

This should be fixed in recent release 1.0.54.

I still seem to have a similar error in <IP_ADDRESS> (freshly reinstalled, SPIN is correct):
2021-09-06 21:17:58 WARNING (MainThread) [skodaconnect.vehicle] Failed to lock vehicle - SPIN is required
2021-09-06 21:17:58 ERROR (Thread-2) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/logging/handlers.py", line 1517, in _monitor
self.handle(record)
File "/usr/local/lib/python3.9/logging/handlers.py", line 1498, in handle
handler.handle(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 952, in handle
self.emit(record)
File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 192, in emit
entry = LogEntry(record, stack, _figure_out_source(record, stack, self.hass))
File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 99, in __init__
self.message = deque([record.getMessage()], maxlen=5)
File "/usr/local/lib/python3.9/logging/__init__.py", line 367, in getMessage
msg = msg % self.args
ValueError: incomplete format

I still seem to have a similar error in <IP_ADDRESS> (freshly reinstalled, SPIN is correct):
2021-09-06 21:17:58 WARNING (MainThread) [skodaconnect.vehicle] Failed to lock vehicle - SPIN is required
2021-09-06 21:17:58 ERROR (Thread-2) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/logging/handlers.py", line 1517, in _monitor
self.handle(record)
File "/usr/local/lib/python3.9/logging/handlers.py", line 1498, in handle
handler.handle(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 952, in handle
self.emit(record)
File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 192, in emit
entry = LogEntry(record, stack, _figure_out_source(record, stack, self.hass))
File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 99, in __init__
self.message = deque([record.getMessage()], maxlen=5)
File "/usr/local/lib/python3.9/logging/__init__.py", line 367, in getMessage
msg = msg % self.args
ValueError: incomplete format

Found the problem. Fix scheduled for next release.

Should be fixed in latest release, v1.0.55


Refactor: Remove triggers support

Triggers are undergoing big changes on the M2X platform and it has been decided to remove support from the client libraries until they are feature complete.

:+1:


Added caused method to Error implementations

Add a new method Error::caused(self, error: F) -> Error where F : FnOnce() -> EK, EK : Into<ErrorKind> to the generated error type. This enables chaining on error instances exposed by methods such as Result::map_err without inventing a new Result wrapper. This aims to address #40
Open Questions

Should this method be named chain_err to align with ResultExt?
Does this change avoid the inference issues from #62? All tests pass, but I'm not sure if the tests covered that case.

Sorry for the delay. Could you add some doc in lib.rs?

Yes. Is caused the name you'd like me to use, or should I go with chain_err or something instead?

@kgv / @Yamakaky, please let me know if you need anything else for this to move forward.

Sorry, I had a lot of things to do these times. SGTM!

@Yamakaky thanks for the merge; do you mind publishing a new release with this and the other changes sitting in master?


Vertical align slides from bottom to top

Hi Ken,
great plugin, thank you very much!
Ist there a possibility to reverse the vertical slides from bottom to top?
I would like to use two vertical sliders side by side: one slides from  top to bottom and the other one from bottom to top.
Thank you!
Michael

How is this done then?


Test ec_recover using SDK + fuel-crypto

This will allow us to deprecate & remove the test-sig-gen-util.
As a related follow-up, I'll add a similar new SDK test for the ec_recover_EvmAddress functionality which is also currently using the test-sig-gen-util.
I'll also delete the old test-sig-gen-util in the second PR.
Closes #3179

Hm. CI is failing, but it works locally. Need to investigate.

The test is not built? Why is it skipped?


Link to corresponding vote/ticket for a ticket/vote

In any view where a vote is shown, provide a link to the ticket purchase transaction.  Similarly, for a ticket, include a link to the vote or revocation if the ticket is spent.

Being able to link a ticket to a vote is dependent on being able to link a spent output to its spending transaction. Currently on hold in https://github.com/dcrdata/dcrdata/issues/110 and dependent on building the spent tx db, DB2 changes.
Linking a vote to the ticket is shown in the previous outpoint, so we could make a modification to the vote template to make this more obvious.

Db2 is getting really close to being testable in dcrdata.  We'll be able to work on integrating it as a team really soon.  I expect we'll have a development branch though since I fully expect schema changes to occur and that would be painful for the public since it's around 2hr for a sync now

Since db2 and the spending transaction support was implemented, all the necessary information should already be available in the html template data.  The ticket for a vote comes from the previous outpoint information of the vote's inputs.  The vote for a ticket, if one exists, comes from the "Spent" status if the ticket's stakesubmission output (output index 0) and the linked spending transaction.  Thus, it seems that all the necessary data is on the transaction page presently.
@McEdward ^

To see how we go from vote to ticket, have a look at https://github.com/chappjc/votetime/blob/master/votetime.go

This appears to have been addressed by https://github.com/dcrdata/dcrdata/pull/293 , lets close if complete.


gRPC C++ podspec replace openssl with openssl_grpc

gRPC C++ is including openssl headers now (transitively, in ssl_transport_security.h, so on Cocoapods we will need to rewrite the include with openssl_grpc.

Triggered new sanity test run: https://sponge.corp.google.com/951fac9c-7fc3-4339-bee5-03dd32398055

Interop: Infastructure failure:
      > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.3.0/gradle-3.3.0.jar'.
         > Connection reset

RBE Windows: https://github.com/grpc/grpc/issues/22137


[bug] Footer Text Too Small and Invisible in Dark Mode

The text in the footer section is too small, making it difficult to read. Additionally, when the dark mode is enabled, the footer text becomes invisible or extremely hard to see due to insufficient contrast. This impacts the user experience, especially for those using the site in dark mode.
https://github.com/user-attachments/assets/11fee7b4-7d72-4732-b3fe-70d4bf568334

@tushargupta1504  hello sir,  Please assign me this issue

@tushargupta1504  hello sir,  Please assign me this issue..


assets/ember.debug.map not found

I have an application developed with rails and ember. Recently we updated our ember version from 1.10.x to 1.11.3 and we started seeing the following request resulting in 404:
GET http://localhost/assets/ember.debug.map 404 (Not Found)

In turns out that ember <IP_ADDRESS> have resolved it.


Returning a list of Objects in Optional<R> ResourceEventSource.getAssociated(P primary)

It can happen that multiple resources are created related to one event source, the current api of ResourceEventSource is not covering this.

@metacosm we could probably take a look on this before v2

Could we have an example of why this is needed? And yes, we should probably do it before 2.0 if that's the case.

I'd argue, though, that this use case might actually need to be handled via different event sources… which is why there was originally a qualifier concept (now replaced by event source name).

@andreaTP had a use case, maybe he will describe it more precisely, that for example you might create multiple Jobs and want to watch their status. But I guess can happen with any k8s resources, like managing more Deployments that we want just one informer not notify us about their status change.

I'd argue, though, that this use case might actually need to be handled via different event sources… which is why there was originally a qualifier concept (now replaced by event source name).

AFAIK also @lburgazzoli is using it this way, like watching all the resources of same kind with one event source. It completely makes sense imho. Especially if the resources can be nicely captured by label selectors.
A new event source would create a new watch, what is much less efficient in terms of network resources.

It makes sense but this would be a significant change and then I'd rather postpone it until after 2.0. This should be done with the same scope as dependent resources, imo.

btw I think the same applies for the public interface Cache<T>  interface.

Then let's do dependent resources as well to make sure everything works together.

btw I think the same applies for the public interface Cache<T>  interface. Actually this is event more important, this I would not postpone.

What do you mean? There can be only resource associated with a given ResourceID. In any case, if we're going to do these changes, I'd argue that we should push the dependent resources at the same time. The change has been waiting for more than a month now and if we're going to change things significantly at this point, we might as well add the dependent resources support at the same time so that we can make sure everything works well together.

ok, let's do that. There is still the workaround for this case to have the informer in a property and query it directly.

I'd still like to see a detailed use case of why this is needed to see how it impacts the dependent resources work.

@andreTP could you describe you use case pls?
But IMHO this is quite trivial requirement, to allow for an operator to create multiple instances of same kind.

An other approach would be just to remove the getAssociatedResource from the context now for v2.0.0, but I'm fine to change it later since it's a miner thing also we can make a separate method that returns list.

Having getAssociatedResource on the context makes things a lot cleaner for simple use cases. We do need to take more complex ones into account, though, but I'd like to see if maybe they could be implemented differently than requiring a change of this part.

Use case in Keycloak is tackled here: https://github.com/keycloak/keycloak/pull/9535
TL;DR:
The operator has 2 controllers, one for the actual Deployment and another for "operating" the operand (in this case importing data).
The Controller for the "imports" can spawn multiple Jobs related to the single target Deployment.
Those Jobs needs to be monitored to reflect the status in the Status field of the CR.


Update api-alerts-mark-unread.md

portal.cloudappsecurity.com is the correct domain. Contoso.com is not, however it is mentioned in a few docs.

@batamig

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Author confirmed via email.


CRITICAL Uncaught Error: Call to a member function error() on null in /wp-content/plugins/crowdsec/inc/Bounce.php:339

Access woocomerce log from this url: /wp-admin/admin.php?page=wc-status&tab=logs, I saw a long list of CRITICAL Uncaught Error such as below:
2022-05-10T22:50:22+00:00 CRITICAL Uncaught Error: Call to a member function error() on null in /var/www/mydomain/htdocs/wp-content/plugins/crowdsec/inc/Bounce.php:339
Stack trace:
#0 /var/www/mydomain/htdocs/wp-content/plugins/crowdsec/inc/bounce-current-ip.php(27): Bounce->safelyBounce()
#1 /var/www/mydomain/htdocs/wp-includes/class-wp-hook.php(307): safelyBounceCurrentIp()
#2 /var/www/mydomain/htdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#3 /var/www/mydomain/htdocs/wp-includes/plugin.php(474): WP_Hook->do_action()
#4 /var/www/mydomain/htdocs/wp-settings.php(450): do_action()
#5 /var/www/mydomain/wp-config.php(113): require_once('...')
#6 /var/www/mydomain/htdocs/wp-load.php(55): require_once('...')
#7 /var/www/mydomain/htdocs/wp-cron.php(44): require_once('...')
#8 {main}
thrown in /var/www/mydomain/htdocs/wp-content/plugins/crowdsec/inc/Bounce.php on line 339

Hi,
Can you share your wordpress version and the crowdsec plugin version ?

Hi,
WordPress, woocommerce and crowdsec plugin are latest version.
Wordpress: 5.9.3
Woocommerce: 6.5.0
Crowdsec: 1.4.1

Bouncing level: Normal
Stream mode

My best guess that when rankmath SEO cron job run, it was causing this error

Thanks for reporting this.
We will try to debug this as soon as possible.

Hi @luutan04,
I just released a 1.4.2 version on of the crowdsec plugin : this will not solve the issue, but you should find more relevant error messages in your wp_content/debug.log file (assuming the WP_DEBUG and WP_DEBUG_LOG constants are defined to true).
Those messages should begin with safelyBounce error:.
Could you please use the 1.4.2 version and share the messages you will find in your debug.log ?

Hi @luutan04
I just released a 1.4.3 version of the crowdsec plugin : it should avoid the error.
Could you please try it ?

I don't see the error in logs anymore!


[Flaky CI][test_id:3245]should not migrate more than two VMIs at the same time from a node

/kind bug
The test in the subject has appeared in flakefinder in this run: https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4092/pull-kubevirt-e2e-k8s-1.17-rook-ceph/1307192333317443584
this test has been flaky before (see #3990, #3621) but those previous issues were closed, and this failure looks different:

07:00:50: • Failure [20.000 seconds]
07:00:50: [rfe_id:393][crit:high][vendor:cnv-qe@redhat.com][level:system] VM Live Migration
07:00:50: /root/go/src/kubevirt.io/kubevirt/tests/migration_test.go:66
07:00:50:   with a live-migrate eviction strategy set
07:00:50:   /root/go/src/kubevirt.io/kubevirt/tests/migration_test.go:1474
07:00:50:     with multiple VMIs with eviction policies set
07:00:50:     /root/go/src/kubevirt.io/kubevirt/tests/migration_test.go:1799
07:00:50:       [test_id:3245]should not migrate more than two VMIs at the same time from a node [It]
07:00:50:       /root/go/src/kubevirt.io/kubevirt/tests/migration_test.go:1801
07:00:50:
07:00:50:       Expected
07:00:50:           <int>: 3
07:00:50:       to be <=
07:00:50:           <int>: 2
07:00:50:
07:00:50:       /root/go/src/kubevirt.io/kubevirt/tests/migration_test.go:1853
07:00:50: ------------------------------
07:00:50: STEP: selecting a node as the source
07:00:50: STEP: starting four VMIs on that node
07:00:50: STEP: waiting until the VMIs are ready
07:00:50: {"component":"tests","kind":"VirtualMachineInstance","level":"info","msg":"Event(v1.ObjectReference{Kind:\"VirtualMachineInstance\", Namespace:\"kubevirt-test-default\", Name:\"testvmiz2572swm82lmw4nrrnz5szxcb2f7g7247b56x9xpqr798cng\", UID:\"59d0209d-1b60-45a4-81b2-fa40f176eb70\", APIVersion:\"kubevirt.io/v1alpha3\", ResourceVersion:\"29832\", FieldPath:\"\"}): type: 'Normal' reason: 'Created' VirtualMachineInstance defined.","name":"testvmiz2572swm82lmw4nrrnz5szxcb2f7g7247b56x9xpqr798cng","namespace":"kubevirt-test-default","pos":"utils.go:326","timestamp":"2020-09-19T07:00:38.738961Z","uid":"59d0209d-1b60-45a4-81b2-fa40f176eb70"}
07:00:50: {"component":"tests","kind":"VirtualMachineInstance","level":"info","msg":"Event(v1.ObjectReference{Kind:\"VirtualMachineInstance\", Namespace:\"kubevirt-test-default\", Name:\"testvmiz2572swm82lmw4nrrnz5szxcb2f7g7247b56x9xpqr798cng\", UID:\"59d0209d-1b60-45a4-81b2-fa40f176eb70\", APIVersion:\"kubevirt.io/v1alpha3\", ResourceVersion:\"29851\", FieldPath:\"\"}): type: 'Normal' reason: 'Started' VirtualMachineInstance started.","name":"testvmiz2572swm82lmw4nrrnz5szxcb2f7g7247b56x9xpqr798cng","namespace":"kubevirt-test-default","pos":"utils.go:326","timestamp":"2020-09-19T07:00:38.780452Z","uid":"59d0209d-1b60-45a4-81b2-fa40f176eb70"}
07:00:50: {"component":"tests","kind":"VirtualMachineInstance","level":"info","msg":"Event(v1.ObjectReference{Kind:\"VirtualMachineInstance\", Namespace:\"kubevirt-test-default\", Name:\"testvmi2cp7nt8ll5q8bxwrdlr8hdjjzt4j8cw4vc6hsdjdc66pt2w9\", UID:\"3082367c-a069-4b92-bfb7-b7da8fdfc21f\", APIVersion:\"kubevirt.io/v1alpha3\", ResourceVersion:\"29836\", FieldPath:\"\"}): type: 'Normal' reason: 'Created' VirtualMachineInstance defined.","name":"testvmi2cp7nt8ll5q8bxwrdlr8hdjjzt4j8cw4vc6hsdjdc66pt2w9","namespace":"kubevirt-test-default","pos":"utils.go:326","timestamp":"2020-09-19T07:00:40.154718Z","uid":"3082367c-a069-4b92-bfb7-b7da8fdfc21f"}
07:00:50: {"component":"tests","kind":"VirtualMachineInstance","level":"info","msg":"Event(v1.ObjectReference{Kind:\"VirtualMachineInstance\", Namespace:\"kubevirt-test-default\", Name:\"testvmi2cp7nt8ll5q8bxwrdlr8hdjjzt4j8cw4vc6hsdjdc66pt2w9\", UID:\"3082367c-a069-4b92-bfb7-b7da8fdfc21f\", APIVersion:\"kubevirt.io/v1alpha3\", ResourceVersion:\"29836\", FieldPath:\"\"}): type: 'Normal' reason: 'Started' VirtualMachineInstance started.","name":"testvmi2cp7nt8ll5q8bxwrdlr8hdjjzt4j8cw4vc6hsdjdc66pt2w9","namespace":"kubevirt-test-default","pos":"utils.go:326","timestamp":"2020-09-19T07:00:40.170656Z","uid":"3082367c-a069-4b92-bfb7-b7da8fdfc21f"}
07:00:50: {"component":"tests","kind":"VirtualMachineInstance","level":"info","msg":"Event(v1.ObjectReference{Kind:\"VirtualMachineInstance\", Namespace:\"kubevirt-test-default\", Name:\"testvmisr25d6ft2w8fsk5d9dhf84w85lqqptk5h5w6ns6zsv676r9l\", UID:\"a1c1084d-9b8c-48af-a57c-58596da11f4a\", APIVersion:\"kubevirt.io/v1alpha3\", ResourceVersion:\"29863\", FieldPath:\"\"}): type: 'Normal' reason: 'Created' VirtualMachineInstance defined.","name":"testvmisr25d6ft2w8fsk5d9dhf84w85lqqptk5h5w6ns6zsv676r9l","namespace":"kubevirt-test-default","pos":"utils.go:326","timestamp":"2020-09-19T07:00:41.158595Z","uid":"a1c1084d-9b8c-48af-a57c-58596da11f4a"}
07:00:50: {"component":"tests","kind":"VirtualMachineInstance","level":"info","msg":"Event(v1.ObjectReference{Kind:\"VirtualMachineInstance\", Namespace:\"kubevirt-test-default\", Name:\"testvmisr25d6ft2w8fsk5d9dhf84w85lqqptk5h5w6ns6zsv676r9l\", UID:\"a1c1084d-9b8c-48af-a57c-58596da11f4a\", APIVersion:\"kubevirt.io/v1alpha3\", ResourceVersion:\"29863\", FieldPath:\"\"}): type: 'Normal' reason: 'Started' VirtualMachineInstance started.","name":"testvmisr25d6ft2w8fsk5d9dhf84w85lqqptk5h5w6ns6zsv676r9l","namespace":"kubevirt-test-default","pos":"utils.go:326","timestamp":"2020-09-19T07:00:41.158661Z","uid":"a1c1084d-9b8c-48af-a57c-58596da11f4a"}
07:00:50: STEP: selecting a node as the target
07:00:50: STEP: tainting the source node as non-schedulabele
07:00:50: STEP: waiting until migration kicks in
07:00:50: STEP: checking that all VMIs were migrated, and we never see more than two running migrations in parallel

/triage build-watcher

Today again


Workflow functionality and fox export

Quick idea, from the hackathon:

Is there a way to generate reliable json schemas as export step?

@michaelfeil not yet but there should be! I know openai now has direct support for this. I'll put it on the roadmap. if you have a specific use case / project in mind, let me know and I'll help out directly

Added issue: https://github.com/fetchfox/fetchfox/issues/2


drag and drop between two grids?

Thanks for the great library. I want drag and drop between two grids as well the inside each grid. How would I accomplish that?

Hello @behrangnm
Currently I don't think it works between two GridViews. This is something I could think of developing in the future but currently it won't be available.

I see. It would be great to have it. I guess for now I can figure out how to move things between multiple grids in a different way but direct drag and drop would be a much nice user experience

Definitely 👍  @behrangnm

Any progress on how this may be done?

Hello @isenbj
Currently not, this feature is not that easy to implement and could consume a lot of time which I don’t have currently, I am sorry for that :/

Hmm it sounds possible, but didn't try it. Can you show me the example code you used to try that? @isenbj


bascology, euphuized

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[b,e]

/trunk merge


Merge action params into navigator's child screens

Without this change, I'm having trouble using react-navigation in real world apps.  I feel like it's a very common pattern to want to bring up a navigator (either Tab or Stack) which is focused around a single entity.
To take an example: say the main navigator of my app is a StackNavigator, with the main screen being a ListView of contacts.  When I click a contact, I want to navigate to a screen with sliding tabs (TabNavigator), where each tab displays a different piece of info about that contact.
With this change, I can simply call naviagion.navigate('ContactTabNavigator', { contactId: id }), and have that param automatically passed down to all the nested screens.
Without this change, I can't think of any way to achieve this same effect without some kind of global state to keep track of which contact had been selected.  I've seen some talk of dispatching a Navigate action, with a sub-action to set the params (https://github.com/react-community/react-navigation/issues/143#issuecomment-276829914), but on a TabView with lazyLoad=true that wouldn't help, as it would only set params for the initial tab, so the app crashes.
This is just a quick proof of concept, and only currently works on StackNavigator -> TabNavigator, but I'd like to hear other's thoughts on whether this behaviour makes sense.
#134 might be trying to achieve the same thing here, but I'm not sure - that patch didn't work for me.

I think you may be on to something here. I think passing params down may be a pretty sane default for the reducers.
But I'm afraid the proposed change to the reducer may be a bit risky. Generally I'd like to keep the logic for each action under the corresponding if block, to make it easy to see what each action does. In your case, I think you may only need to add this logic to the NavigationActions.NAVIGATE area of the code.
Also, it would be super helpful if you add a few test cases for this, that demonstrates the desired behavior your change achieves.

It will have to target both NavigationActions.NAVIGATE and NavigationActions.INIT I believe.  The way that actions delegate down is a bit tricky to follow, but I think if I call naviagion.navigate('ContactTabNavigator', { contactId: id }) and ContactTabNavigator has never been shown, it gets passed an INIT action (see my change to StackRouter like 145) and no NAVIGATE action.
Given the above, would you still prefer the param merging duplicated in both the action if blocks, or does it make more sense in the current if (action.params) standalone block?
And yeah sure, just wanted to make sure this approach makes sense before expanding too much on the solution.

Ok, I've taken this a bit further.  Added a coupe of tests (although issue with getActionForPathAndParams - see inline comment), and moved the logic into an if block.  It actually seems to be only NavigationActions.INIT that needs to be targeted, not NavigationActions.NAVIGATE.
Also, in my original post I said this could be useful with a child StackNavigator as well as TabNavigator, but looking more closely at how Stack stores state, I think it only makes sense for Tabs.  With Stack you're explicitly calling Navigate for each screen anyway, so not too hard to pass the params along manually.

So when someone does navigation.navigate to another tab without params, do these params get overwritten or preserved?

Given the following nav hierarchy...
- MyStackNav
  - MyTabNav
    - Tab1
    - Tab2

...are you asking what happens if someone executes:
naviagion.navigate('MyTabNav', { foo: 'bar' });
naviagion.navigate('Tab2');

If so, the only behaviour this PR should change is that when MyTabNav is navigated directly to with params, those params get cascaded down to all the tabs.  So to answer your question, the same thing would happen as if you ignored this PR and did:
naviagion.navigate('Tab2', { foo: 'bar' });
naviagion.navigate('Tab1');
naviagion.navigate('Tab2');

Which is, I'm guessing, that the params get preserved (and merged with any new params).

are you asking what happens if someone executes

yes

Which is, I'm guessing, that the params get preserved (and merged with any new params)

Not sure what the current behaviour is, but I think we need to ensure that they don't change/get removed.
Also what happens when you have a stack navigator inside one of the tabs? Does the initial screen of the stack navigator receive the params? I think it should.

cc @ericvicenti do you think this is good to go?

Not sure what the current behaviour is, but I think we need to ensure that they don't change/get removed.

Just tried writing a test for this, and looks like NAVIGATE on a TabRouter doesn't support params to begin with?  Which makes this PR even more important I suppose as it's the only way to pass any params to a TabNavigator.  I've added a test to confirm they don't get changed/removed with NAVIGATE.

Also what happens when you have a stack navigator inside one of the tabs? Does the initial screen of the stack navigator receive the params? I think it should.

Yeah I just ran into a need for this in my app.  I had StackA -> StackB -> ScreenA.  While in StackA, calling navigate('StackB', params) didn't pass the params to ScreenA.  I suppose I could have solved this with a sub-action (maybe... not sure it works if you're navigating to the initial screen which may already be mounted?), but this way seems more intuitive.

I tried writing a test with StackA -> TabA -> StackB -> ScreenA as that's what you asked about, but StackB didn't seem to be initialising... the corresponding leaf on TabA didn't contain a routes key.  Couldn't really figure it out.

Hey! Would love to get this merged. Can you address the flow errors in CI? Happy to help if you need help with fixing them.

Lots of linking to this issue, is it being worked on, and is there a temp workaround for this?

Yes it's being worked on... this was opened on Saturday and there's been discussion/commits pretty much daily since.  The temp workaround is that you can link to my repo in your package.json which contains the fix:
"react-navigation": "git@github.com:jamesisaac/react-navigation.git",
@satya164 I should have time to sort the Flow issues tonight or tomorrow, but feel free to amend yourself if needed.

@satya164 Flow tests should now all be passing.
Had to do a couple of $FlowFixMes in the StackRouter tests - I see that's been done elsewhere too when trying to check deep parts of state object.  Can't check the whole thing as StackRouter gives a random key.

Hey @ericvicenti , do you think we can merge this?


pijul: 1.0.0-alpha.35 -> 1.0.0-alpha.37

Motivation for this change
Clean up and bugfixes
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.


api fails requests while refreshing keycloak admin token

I'm not sure if this is really an issue or if it's maybe something else.
But we are seeing in the amazee.io lagoon some api errors here and there, looking at the logs of all api pods I can find this behavior:
As soon as in the logs we have
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [debug]: keycloakAdminClient: refreshing expired token
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [debug]: keycloakAdminClient: refreshing expired token
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [debug]: keycloakAdminClient: refreshing expired token
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [debug]: keycloakAdminClient: refreshing expired token

right after that we have many failed requests:
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [error]: Could not submit project (2345) claims for authz request: User not found: d414bb26-1211-4045-998a-3138378c1042
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [error]: Could not submit project (2345) claims for authz request: User not found: ecebfcff-2fd5-483b-9ec1-c74ae06a9ebc
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [error]: Could not submit project (2345) claims for authz request: Request failed with status code 404
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [error]: Could not submit project (2345) claims for authz request: Request failed with status code 404
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [error]: Could not submit project (2345) claims for authz request: Request failed with status code 404
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [error]: Could not submit project (2345) claims for authz request: Request failed with status code 404
lagoon-core-api-8b58b44fd-57dqk api [2021-07-01 14:49:58] [error]: Could not submit project (2345) claims for authz request: User not found: 17cda1c1-e9b6-47b0-8c24-f995636318b3

this is how it looks in the error log:

Now I'm not sure if this is the source of the api errors, but maybe while the tokens are refreshed every request that comes in at the same time fails because the token is not refreshed yet?

I'm testing another issue, but locally I'm seeing these same "User not found: " errors except I don't see any "refreshing expired token" messages before hand.

We've implemented some changes that reduce the incidence of this, but it still requires some updates to upstream keycloak libraries that can't progress.

This is closely related to #3217 since if client auth was used, token refresh would not be required.


Can't build IPv6 only (IPv4 turned off) (CON-864)

/home/jonsmirl/aosp/esp-matter/examples/common/blemesh_platform/platform/ESP32_custom/ConnectivityManagerImpl_WiFi.cpp: In member function 'void chip::DeviceLayer::ConnectivityManagerImpl::UpdateInternetConnectivityState()':
/home/jonsmirl/aosp/esp-matter/examples/common/blemesh_platform/platform/ESP32_custom/ConnectivityManagerImpl_WiFi.cpp:1002:42: error: 'netif_ip4_addr' was not declared in this scope; did you mean 'netif_ip6_addr'?
 1002 |                 if (!ip4_addr_isany_val(*netif_ip4_addr(netif)) && !ip4_addr_isany_val(*netif_ip4_gw(netif)))
      |                                          ^~~~~~~~~~~~~~
      |                                          netif_ip6_addr
/home/jonsmirl/aosp/esp-matter/examples/common/blemesh_platform/platform/ESP32_custom/ConnectivityManagerImpl_WiFi.cpp:1002:42: note: maximum limit of 1000 namespaces searched for 'netif_ip4_addr'
/home/jonsmirl/aosp/esp-matter/examples/common/blemesh_platform/platform/ESP32_custom/ConnectivityManagerImpl_WiFi.cpp:1002:22: error: 'ip4_addr_isany_val' was not declared in this scope; did you mean 'ip_addr_isany_val'?
 1002 |                 if (!ip4_addr_isany_val(*netif_ip4_addr(netif)) && !ip4_addr_isany_val(*netif_ip4_gw(netif)))
      |                      ^~~~~~~~~~~~~~~~~~
      |                      ip_addr_isany_val
/home/jonsmirl/aosp/esp-matter/examples/common/blemesh_platform/platform/ESP32_custom/ConnectivityManagerImpl_WiFi.cpp:1002:22: note: maximum limit of 1000 namespaces searched for 'ip4_addr_isany_val'
/home/jonsmirl/aosp/esp-matter/examples/common/blemesh_platform/platform/ESP32_custom/ConnectivityManagerImpl_WiFi.cpp:1002:89: error: 'netif_ip4_gw' was not declared in this scope; did you mean 'netif_is_up'?
 1002 |                 if (!ip4_addr_isany_val(*netif_ip4_addr(netif)) && !ip4_addr_isany_val(*netif_ip4_gw(netif)))
      |                                                                                ^~~~~~~~~~~~
      |                                                                                netif_is_up
/home/jonsmirl/aosp/esp-matter/examples/common/blemesh_platform/platform/ESP32_custom/ConnectivityManagerImpl_WiFi.cpp:1002:89: note: maximum limit of 1000 namespaces searched for 'netif_ip4_gw'
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics
[319/339] c++ obj/ABS_PATH/home/jonsmirl/aosp/esp-matter/examples/common/blemesh_platform/platform/ESP32_custom/ESP32_custom.ESP32DeviceInfoProvider.cpp.oninja: build stopped: subcommand failed.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/jonsmirl/lowpan/build/log/idf_py_stderr_output_1145466 and /home/jonsmirl/lowpan/build/log/idf_py_stdout_output_1145466

I want to build IPv6 only so that I can see if the group issue below is dependent on dual stacks.

Can you please specify the options you enabled or disabled to build the app. Also please specify the commit id and the esp-idf version used.

esp-idf 6b1f40b9bfb91ec82fab4a60e5bfb4ca0c9b062f
Yes DISABLE_IPV4 - Disable IPv4 functionality in the CHIP stack
No LWIP_IPV6 - Enable IPv6

Please do  specify the esp-matter commit id you are working on.

I am building the light example.

@jonsmirl , we will be updating the submodule to include the change in the above PR #33085 in some time. Till then, you can apply the changes of the above PR on connectedhomeip submodule to test out the change.

Fixed with the connectedhomeip submodule update.


Bump cocoa and core-graphics deps for metal backend

This fixes build issues on macOS caused by multiple versions of cocoa
dependencies. core-graphics is also updated to be consistent with cocoa v0.22,
which removes a duplication.
The build passes and test_send_sync passes with this PR on my macOS 10.15.5 machine.

I retroactively ran make reftests with all tests failing on master:
Parsing test suite 'local'...
Testing Metal:
	Scene 'compute':
		Test 'fill' ...	ran: FAIL [0, 0, 0, 0]
	Scene 'basic':
		Test 'pass-through' ...	ran: FAIL [0, 0, 0, 0]
		Test 'render-pass-clear' ...	ran: FAIL [0, 0, 0, 0]
	Scene 'vertex-offset':
		Test 'offset-aligned' ...	ran: FAIL [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
		Test 'offset-overlap' ...	ran: FAIL [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
	Scene 'transfer':
		Test 'copy-buf-image' ...	ran: FAIL [0, 0, 0, 0]
		Test 'copy-buf' ...	ran: FAIL [0, 0, 0, 0]
		Test 'clear-image' ...	ran: FAIL [0, 0, 0, 0]
		Test 'blit-image' ...	ran: FAIL [0, 0, 0, 0]
		Test 'fill-whole' ...	ran: FAIL [0, 0, 0, 0, 0, 0, 0, 0]
		Test 'copy-image' ...	ran: FAIL [0, 0, 0, 0]
		Test 'copy-image-buf' ...	ran: FAIL [0, 0, 0, 0]
		Test 'copy-buf-cut' ...	ran: FAIL [0, 0, 0, 0, 0, 0, 0, 0]
		Test 'fill-last' ...	ran: FAIL [0, 0, 0, 0, 0, 0, 0, 0]
		Test 'fill-first' ...	ran: FAIL [0, 0, 0, 0, 0, 0, 0, 0]
	TestResults { pass: 0, skip: 0, fail: 15 }

I will try on hal-0.5 as well...

That's weird... :/

Is there a branch known to work on macOS? Perhaps I could work up from there.

On hal-0.4 I get a different error when running make reftests:
Testing Metal:
	Scene 'compute':
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Unsupported(Timestamp)', /Users/user/proj/gfx/src/warden/src/gpu.rs:244:13

Do the examples run for you? Metal should work fine on both master and those branches.

Yes they do. colour-uniform, quad and compute all seem to run fine. BTW I tried updating macos to 10.15.6, the same issue with make reftests is there.

@elrnv fwiw, I just ran make reftests on macOS from both hal-0.5 and master, everything works as expected here:
Parsing test suite 'local'...
Testing Metal:
	Scene 'vertex-offset':
		Test 'offset-overlap' ...	ran: PASS
		Test 'offset-aligned' ...	ran: PASS
	Scene 'transfer':
		Test 'copy-buf-cut' ...	ran: PASS
		Test 'copy-buf' ...	ran: PASS
		Test 'fill-whole' ...	ran: PASS
		Test 'fill-first' ...	ran: PASS
		Test 'fill-last' ...	ran: PASS
		Test 'copy-image' ...	ran: PASS
		Test 'copy-image-buf' ...	ran: PASS
		Test 'clear-image' ...	ran: PASS
		Test 'blit-image' ...	ran: PASS
		Test 'copy-buf-image' ...	ran: PASS
	Scene 'basic':
		Test 'render-pass-clear' ...	ran: PASS
		Test 'pass-through' ...	ran: PASS
	Scene 'compute':
		Test 'fill' ...	ran: PASS
	TestResults { pass: 15, skip: 0, fail: 0 }

Oh interesting, thanks for sharing! Maybe I can debug this locally one of these days. I've had some issues getting wgpu to use the dedicated graphics on my mac before, so it could very well be a platform configuration issue.


tag support

I have many notes that contain content such as mature, but they are displayed as plain text on the web.

Is there any solution to support this feature?

You need to disable the safemode for this: https://github.com/secure-77/Perlite/wiki/FAQs#can-i-use-plain-html-in-perlite

Thank you, I apologize for missing this.


Kubernetes in production

How to plan a Production K8s environment?
What Day 2 concerns look like?
How about Business Continuity, Disaster recovery, Updates, Security?
How about onboarding support, and end-users?

This is great! Might even break it down into multiple episodes. Thank you!

Awesome, let me know if I can be of any help?

Hi @walidshaari, I wanted to circle back and start working on this topic. It'd be very helpful if you could add it to this form we just made: https://www.notion.so/thepodlets/Submit-an-Episode-Idea-49c26e2db2a442edabdfa72a881b2135
Feel free to submit multiple if you think there's more than one topic.
Thanks!

done, so it is not just Bryan Liles using notion?


[OOBE] Replace PowerRename OOBE gif

Summary of the Pull Request
After resizing the gif in the last commit of https://github.com/microsoft/PowerToys/pull/27499, git ended up having poor quality and bad aspect ration. Fixed both here.
Part of https://github.com/microsoft/PowerToys/issues/14182

PR Checklist

[x] Closes: #27496
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

@ChaseKnowlden FYI


add a provider parameter in SSLContextBuilder In 5.0 branch

[HTTPCORE-450]
add a provider parameter in SSLContextBuilder In 5.0 branch
referrer:https://issues.apache.org/jira/browse/HTTPCORE-450

@garydgregory  no, when Provider Object and provider name have been set in the same time，it will choose the Provider object first。

I can see that. My point is that it is confusing to allow a user to set both and have one used and not the other when this is not even documented in a Javadoc comment. Do you really need both? @ok2c, any thoughts?

there are some documents about SSLContext.
http://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLContext.html#getInstance-java.lang.String-java.security.Provider-
http://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLContext.html#getInstance-java.lang.String-java.lang.String-

@lujianbo Builders with mutually exclusive settings have been causing a lot of grief in HC 4.x. We are trying to not repeat the same mistake in HC 5.0. I think #useProvider(String) could be dropped. One can always resolve providers by their name with Security#getProvider call.

@ok2c  ok，i wil fix it and crate a new pull request.

You can push to the same branch. No need to create a new PR

@garydgregory @ok2c may i pull this change to 4.4.7 to support provider.

Based on our current versioning policy and recent discussions about other features, this would not be appropriate in a bug fix version like 4.4.7 but should go in as a new API/feature in a 4.5.x line. @ok2c ?

We have already repeatedly violated this policy in 4.4.x, so we might as well do it again, as long as it is just a setter method.

@lujianbo so it sounds like "go for it". I'd suggest you port the trunk code to the 4.4 branch in a new PR.

ok


Language Models from Transformers Lib

Proposed changes:

Create a new NLP component - HFTransformersNLP which tokenizes and featurizes incoming messages using the Transformers Library.
Create LanguageModelTokenizers and LanguageModelFeaturizers which use the information from HFTransformersNLP and sets them correctly for message object
Architectures supported: Bert, OpenAIGPT, GPT-2, XLNet, DistilBert, Roberta

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Can you also create a changelog entry and add some documentation? E.g. add the new components to https://rasa.com/docs/rasa/nlu/components/.

@tabergma Yes, tests and documentation is to be added. That wasn't ready. :)
@Ghostvv I feel readability is better. From a maintenance perspective, we know that registry.py and transformers_pre_post_processors.py is where bulk of it would happen since new models can basically be added by editing those two files. IMO the three files help in that sense. What do you think?


ChatDev always freezes

Fresh installs on Linux (Ubuntu 22) or Mac seem to freeze.
When I follow the instructions and add my API key, and use this command:
python3 run.py --task "Create a simple pong game in python" --name "MyCalculator"
I get a lot of text in the terminal, ending like this:
Mind Map: can represent ideas, with related concepts arranged around a core concept.

As the Chief Product Officer, to satisfy the new user's demand and the product should be realizable, you should keep discussing with me to decide which product modality do we want the product to be?

Note that we must ONLY discuss the product modality and do not discuss anything else! Once we all have expressed our opinion(s) and agree with the results of the discussion unanimously, any of us must actively terminate the discussion by replying with only one line, which starts with a single word <INFO>, followed by our final product modality without any other words, e.g., "<INFO> PowerPoint".

At this point, nothing further happens.
Once I got a response from OpenAI, and I saw that about 500 tokens were processed, but then the code froze again.
Is there a logging system to help debug this?

Same issue here. My install previously worked fine, now freezes at this same section.

The same behavior on mac

[2023-12-10 14:56:57 INFO] error_code=insufficient_quota error_message='You exceeded your current quota, please check your plan and billing details.' error_param=None error_type=insufficient_quota message='OpenAI API error received' stream_error=False
Find only in logs

Hello, when the conversation stops after the first turn, it could be a direct reflection of your API key not being utilized. Please check if your account has a sufficient balance (a few cents should be enough for GPT-3.5, but GPT-4 might require more), and ensure that you have configured the key's environment successfully. Your understanding is greatly appreciated. Thank you for your support and for trying out ChatDev. We remain committed to continuously enhancing the overall functionality and stability.

it is not true i have plenty of usage left and still get that message. its a shame always after i finally give a task it freezes so i recenty trying to find my way around w different app. would be nice if devs explain this coz its just waste of time much efficient is just to play w another ai and get anything done...

Just thought I would post this here in case it helps someone else.
I was trying to track this down myself, and went into the warehouse folder, and there is a text file named project_something_DATETIME.txt.
In that file, it shows me that my API key was incorrect.
[2023-14-10 20:12:30 INFO] error_code=invalid_api_key error_message='Incorrect API key provided:
I went in and just created a new API key, updated it and was able to run my project successfully.
@Alphamasterliu @markolia @dnhkng
Maybe check that folder and provide the error code and message?

@brianlowery No, I see the first request was successful, and then nothing. Deliberately setting the API key incorrectly does generate the error message you see though.
I suspect it's a rate-limit error. I am trying with Azure access, but I'm having trouble with access, and am seeking help here #191

@dnhkng so you see the successful request, and then you have nothing else in that file?

@brianlowery I think it's due to rate limiting on my OpenAI account (I'm not an admin there, so I can't make changes). I've made PR #192 that gets Azure ChatGPT access working, so now I just use that 🤷🏻