Support ed25519 private keys for ssh tunnel

Attempting to use an ed25519 private key for an ssh tunnel just results in the error com.jcraft.jsch.JSchException: invalid privatekey.  The same works fine with an rsa key.

JSch (Java SSH client) doesn't support this.
There is a quite old feature request for ed25519 support (https://sourceforge.net/p/jsch/feature-requests/7/) but there is no any activity.
Perhaps we should replace SSH client with something more alive (e.g. https://github.com/hierynomus/sshj)

+1

The OpenSSH server for windows 10 currently only supports ed25519 key exchange. This key exchange should be supported. As mentioned  https://github.com/hierynomus/sshj supports it and is active.
+1

SSHJ extension will be published here - https://dbeaver.jkiss.org/update/sshj/

Is there any update for ed25519  support in JSCH ?

Why has this been closed? The issue is still present. ed25519 is the key cipher going forward from now, and not supporting this is a major blocker for us. What happened to the plans of switchting to sshj if JSCH still doesn't support this?

Any updates on this? Need ed25519 support also.


Improve adding items to menus.

This could improve the readability of the code a lot and makes it also easier to change the items within the lists.

excellent, thanks


Doubts on how to use

Hello, I tried to run the project on my computer, but when running, it displays the error: setMaterialJs, how do I solve this?

did you managed to run the projects and see any AR action ?
i kinda started believing that they don't support Expo

It works with Expo just fine. Because the library uses native code you need to create a development build, instead of using Expo Go.
In the documentation it very literally says that:

You must use a development client or expo prebuild to run an application using ViroReact.

It works with Expo just fine. Because the library uses native code you need to create a development build, instead of using Expo Go.
In the documentation it very literally says that:

You must use a development client or expo prebuild to run an application using ViroReact.

@billvog  i have tried it with development build and the hello world example but all i can see in my device is an empty screen after the library prompt me to allow access to camera ,
Can you link me to a repo that u managed to make it works please urgent

if someone know, how to run this on iPhone, please tell me. Or make youtube video, write song about it, make pdf please :)


Hollotape and FRIK.ini settings ignored for Han UI position

I am trying to lower the Hand UI closer to my pipboy and to center it more. I try to modify Hand UI X/Y/Z via the hollowtape but it just tells me to first calibrate. I Calibrate just fine but still continues to ask me to calibrate when clicking on HandUI move options.
I tried manually modifying the FRIK.ini file like so to test:
reposition the hand UI to your tastes
handUI_X = -200.000000
handUI_Y = 0.000000
handUI_Z = -200.000000
in game handUI continues to stay in default positon, settings have no effect.

FYI I am on FRIK alpha 68.


drivers: sensor: Store sensor trigger as a pointer - batch 2

Fixes a batch of sensor drivers to store the user-supplied sensor
trigger as a pointer rather than a copy. This enables the trigger
handler to use CONTAINER_OF to retrieve a context pointer when the
trigger is embedded in a larger struct.
Signed-off-by: Maureen Helm<EMAIL_ADDRESS>re: #55130 (not using GH "fixes" notation because not all the drivers are done yet)
cc: @anthony32086 @huhebo

ina23x looks good.

Looks like this was noticed after my PR #56010 that predates this PR and fixes the issue for lsm6dso driver.
It would be polite to at least respond the PR and acknowledge this.


Custom temperature treatment settings

ONIX now copies and applies user-specified settings for temperature treatment. If no method is given it defaults to 'nearest'. If the method is 'nearest' and no tolerance is given the latter defaults to 500 - if the method is 'interpolation' no default for tolerance is given (since it is not applied with this method). All other possible settings are purely optional and default to nothing.

Merging would close #2

After a small fix the changes now worked as expected during my own testing - do you want to test as well or should I just go ahead and merge?


The EventDataset needs to know about an executor

You want to specify what kind of file you are running on near where you specify the file itself. Or you want it to automatically recognize what type of file it is dealing with.

Fixed with the new servicex changes that went through


Scala code snippets are marked as SQL

All code snippets after "Define the input source" text are marked incorrectly with SQL instead of Scala.

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

ID: 87e5c1c3-b46b-a63c-f1af-3b50a17bbe11
Version Independent ID: 04faa480-450a-2905-27cb-95692f4d1599
Content: Spark Structured Streaming in Azure HDInsight
Content Source: articles/hdinsight/spark/apache-spark-structured-streaming-overview.md
Service: hdinsight
GitHub Login: @JasonWHowell
Microsoft Alias: jasonh

@DiPal2  Thanks for your contribution, I've addressed this issue in PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/158558
The changes should be live EOD or tomorrow. In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. we love to take community contributions.

@DiPal2 Now the changes are live.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


PowerToys Run has a problem

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Video Conference Mute, Welcome / PowerToys Tour window
Steps to reproduce
When the PC starts up, the error screen immediately appears.
This error started appearing after going back to a restore point after I upgraded to version 0.71.00.
I had to go back to the previous restore point because with the updated version every time I right clicked the desktop restarted. The problem continued even after uninstalling.
✔ Expected Behavior
No response
❌ Actual Behavior
After the reset, the right click problem was solved but the error pop-up screen appears, of which I attach the log.
You cannot access the PowerToy screens but the previously activated functions work normally.
Other Software
No response

Could you attach /bugreport? Thanks

PowerToysReport_2023-07-07-13-10-29.zip

Hi @neardj , This error was fixed in 0.71.0. Since you reverted to 0.70.1, that's why you seem to be getting it.
[2023-07-06 12:06:44.8478] [FATAL]
Exception
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\PowerToys\modules\launcher\Images\app.dark.png'.
   Source: System.Private.CoreLib
   TargetAssembly: System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
   TargetModule: System.Private.CoreLib.dll
   TargetSite: Microsoft.Win32.SafeHandles.SafeFileHandle CreateFile(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, System.IO.FileOptions)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
   at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache)
   at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation()
   at Wox.Infrastructure.Image.ImageLoader.Initialize(Theme theme)
   at PowerLauncher.App.<>c__DisplayClass19_0.<OnStartup>b__0()
   at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
   at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Environment

Command Line: "C:\Program Files\PowerToys\modules\launcher\PowerToys.PowerLauncher.dll" -powerToysPid 9824 --started-from-runner
Timestamp: 07/06/2023 12:06:44
Wox version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19045.0
IntPtr Length: 8
x64: True
CLR Version: 7.0.5
Installed .NET Framework:

v2.0.50727 2.0.50727.4927 SP2
v3.0 3.0.30729.4926 SP2
v3.5 3.5.30729.4926 SP1
v4 Client 4.8.09037
v4 Full 4.8.09037
v4.0 Client <IP_ADDRESS>

Regarding the error on 0.71.0, right-click crashing explorer, does it go away if you disable File Locksmith and/or PowerRename? /needinfo

Thank you. I have disable "File locksmith" and I resolved!

@neardj, Are you using some sort of special desktop or File Explorer customizations?

@neardj, Are you using some sort of special desktop or File Explorer customizations?

No.


[FABC-829] Add hf.AffiliationMgr and hf.GenCRL attributes to migrated registrar users

Type of change

New feature

Description
Since the initial release of Fabric CA, the list of reserved attributes (hf.*) has grown. A certain subset of users upon migration from an older version of CA to a newer one should be given any newly introduced attributes that have been added in the new release.
Related issues
FABC-829

Questions for consideration:

This change only adds the the attributes to any registrar users. Is that enough or should they be added to all migrated users?
This change only adds the two attributes hf.AffiliationMgr and hf.GenCRL at request of the original JIRA issue. Is there a need to also add logic for the remaining attributes in https://github.com/hyperledger/fabric-ca/blob/master/lib/attr/attribute.go#L41-L50

This change only adds the the attributes to any registrar users. Is that enough or should they be added to all migrated users?

I misunderstood how the attributes are added. I believe all users will need to have these attributes so they can be registered by the registrar.

This change only adds the the attributes to any registrar users. Is that enough or should they be added to all migrated users?

These should only be added to registrars as you can only register users if you have that role.

This change only adds the two attributes hf.AffiliationMgr and hf.GenCRL at request of the original JIRA issue. Is there a need to also add logic for the remaining attributes in https://github.com/hyperledger/fabric-ca/blob/master/lib/attr/attribute.go#L41-L50

As best as I can tell, I believe these might be the only roles added since the initial release

Makes sense, guess I had it right the first time and misunderstood.

Reminder we'll need to backport this after it's merged.

@mastersingh24 are you ready to merge this?

@caod123  - are you planning to backport this one?

/mergify backport release-1.4

@Mergifyio backport release-1.4

@Mergifyio backport release-1.4


Unable to get kaggle_criteo_weekly.txt

Hi. I read your paper and find your ideas interesting. Thank you for opening your source code.
However, when I try to run the Oracle Cacher, I cannot find an indication on how to get the kaggle_criteo_weekly.txt that is required by --processed-csv. Can you please give me some instructions on how to generate that file from the criteo kaggle or terabytes datasets?
Also, I saw that your CSVLoader uses orjson to parse every line. So, I am confused whether it is actually a CSV file or JSONL file? (I have both csv and npz versions of the terabytes dataset. But neither of them seems to work for that argument.)

Hey,
We use split jsonl files with pre-processing enabled.
Each line is an example of the dataset.
An example line is -
{"label":1.0,"dense":[2.5649492740631104,3.044522523880005,1.3862943649291992,1.3862943649291992,1.0986123085021973,1.3862943649291992,2.70805025100708,3.7841897010803223,3.8712010383605957,1.0986123085021973,1.3862943649291992,0.0,1.0986123085021973],"sparse":[20,201,3138,2411,0,1,735,1,0,696,153,3017,145,2,2955,2749,0,1585,0,3,2888,0,1,1581,4,335]}

Should the sparse features be converted from the 32 bit hex IDs to contiguous indicies? (similar to the day_X_processed.npz for TorchRec)

So I have forgotten what Torchrec needs. We convert the hex ids to integers, where unique ids are assigned a unique integer.

I am happy to share pre-processed data if it helps you.

Sure. That would be great!
It will also help if you can share with me your script to create the JSONL from npz or the raw dataset.

Okay, share your email, I can send you a link to download data.

My email is<EMAIL_ADDRESS>Thanks

Shared the data file. Replace the csv processed file with the folder I have shared with you.

Get. I will have a look. Thank you for your help


Error initializing Bridgefy SDK offline when using Product Flavors

On Android, if two Product flavors are being used with two separate Bridgefy API keys, how can one initialize the Bridgefy with  with certificate as there is always one BuildConfig file generated under the same Package when where as the each Flavor has its uniques Application ID?
W/System.err:     at com.bridgefy.sdk.framework.utils.Utils.getBuildConfigValue(SourceFile:197)
W/System.err:     at com.bridgefy.sdk.client.registration.Registration.loadCertificate(SourceFile:223)
W/System.err:     at com.bridgefy.sdk.client.Bridgefy.initialize(SourceFile:148)
W/System.err:     at com.bridgefy.sdk.client.Bridgefy.initialize(SourceFile:115)

Bridgefy SDK seems to load the certificate using the apllication ID from BuildConfig generated file under the package name  same as Application ID whereas it is not unable to get a buildconfig under a dynamic package name as ApplicationID when using Product Flavors. Please also update for new stable release of the Bridgefy SDK.  I am currently using Bridgefy SDK Version 1.1.26

Bridgefy can be initialized offline, by downloading a temporary license, a text file containing the bridgefy license, you can preload this file in your app and bridgefy will start the offline SDK, in order to preload the license, you must follow these steps:

Go to the Bridgefy site and download the file
Rename the file by your application package or applicationId - Bridgefy will try to find the file in the assets folder, with the applicationId, if it does not exist, it will try to find it with package name
The license is valid for 30 days, after creating the license in the dashboard


Zoom when selecting an AI detected object (road, building)

Description
when selecting an AI detected road, I need to zoom to see if it's a valid detection or not, and also to ajust the geometry
request :
auto-zoom to the object (always, or user setting or via a button under "use this feature"
Version
2.0.0-beta.0
What browser are you seeing the problem on? What version are you running?
Firefox v102.0
The OS you're using
Linux (Centos)
Steps to reproduce
be on zoom 16
select any AI detected road
see that you can't really decide if you'll use this feature or ignore it until you zoom a lot
The browser URL at the time you encountered the bug
https://mapwith.ai/rapid-v2-beta#background=swisstopo_swissimage&datasets=fbRoads,msBuildings&disable_features=boundaries&map=16.00/46.8756/6.9888
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
No response

I probably wouldn't want to automatically zoom, but we should support the Z zoom in hotkey like we do for the OSM features.

Ok, zoomers!  I updated the "Zoom to selection" tool so that it now works with any selection..  Before it only worked with OSM data.
Now if a mode exposes an extent property, the "Zoom to selection" tool will zoom in on it if the user clicks the button or presses Z.  Clicking or pressing Z again will pop back out to whatever the user was looking at before.
This works for both the legacy OSM select mode and the new select mode that handles notes, custom data, QA items like Keepright or Osmose, and Rapid data.
Here's me checking out some Microsoft buildings.


Missing subcommed data parsing

It is not obvious to me how to do parse the  'subcom_data_records' into PVT.
In the richall package (https://github.com/Rich-Hall/sentinel1decoder/blob/main/sentinel1decoder/l0file.py) this was carried out trough an API.
I think I need to load some bytes somehow...

Via API is already possible:

the s1isp.decoder.decode_stream returns also the bytes of the sub-com packets (this item in the return tuple)
the you need to use the s1isp.decoder.SubCommutatedDataDecoder and pass the data to the decode method. E.g.:s1isp.decoder.SubCommutatedDataDecoder().decode(data)

The example is not tested but the idea should be clear I hope.
At the moment I think that we do not have a way to do it via CLI, but it should be feasible in an easy way.
We just need to define clearly what is the expected behavior.

For sure I need to improve the docs and examples.

Perhaps you are super good in the explanations eheh. Doing as you say, I got this, I don't know if this is the expected behaviour:
Incomplete sub-commutated data cycle: 26
Incomplete sub-commutated data cycle: 57
Incomplete sub-commutated data cycle: 88
Incomplete sub-commutated data cycle: 119
Incomplete sub-commutated data cycle: 150
Incomplete sub-commutated data cycle: 181
Incomplete sub-commutated data cycle: 212
Incomplete sub-commutated data cycle: 243
Incomplete sub-commutated data cycle: 274
Incomplete sub-commutated data cycle: 305
Incomplete sub-commutated data cycle: 336
Incomplete sub-commutated data cycle: 367
Incomplete sub-commutated data cycle: 398
Incomplete sub-commutated data cycle: 429
Incomplete sub-commutated data cycle: 460
Incomplete sub-commutated data cycle: 491
Incomplete sub-commutated data cycle: 522
Incomplete sub-commutated data cycle: 553
Incomplete sub-commutated data cycle: 584
Incomplete sub-commutated data cycle: 615
Incomplete sub-commutated data cycle: 646
Incomplete sub-commutated data cycle: 677
Incomplete sub-commutated data cycle: 708
Incomplete sub-commutated data cycle: 739
Incomplete sub-commutated data cycle: 770
Anyway, I got the decoded stream in output.

Yes, if is incomplete the calculation get stopped. It may be due to asyncronicity between GPS and Attitude sensor? It should be possible to have a partial decoding in any case.
I verified the state vectors are more or less the same of another package doing the same thing: same number of rows and slightly different values (I assume you are using a more precise representation).
We can use bpack to create a dataframe in the sameway for the records. I don't know if this is already implemented but it is not too much of an effort.

Yes, if is incomplete the calculation get stopped. It may be due to asyncronicity between GPS and Attitude sensor?

Yes, from the top of my memory it should be something like tat. But I never completed the investigation.

It should be possible to have a partial decoding in any case.

The problem is that we need to have a complete enough buffer to decode with black.
If we increase the granularity of the black descriptors of the sub-com records in principle it should be possible to have partial decoding at the cost of some small slowdown, in theory. By the way sub-com data ares small so I do not think that the execution time will become a real problem

I verified the state vectors are more or less the same of another package doing the same thing: same number of rows and slightly different values (I assume you are using a more precise representation).

If you have the code to do the comparison I would be interested in add int to the test suite, to at least as and example in the notebooks folder.

We can use bpack to create a dataframe in the sameway for the records. I don't know if this is already implemented but it is not too much of an effort.

Yes this is more or less what the current implementation should do. By the way I do not remember all the details about the granularity (see point above), I need to check.

The problem is that we need to have a complete enough buffer to decode with black.
If we increase the granularity of the black descriptors of the sub-com records in principle it should be possible to have partial decoding at the cost of some small slowdown, in theory. By the way sub-com data ares small so I do not think that the execution time will become a real problem

Indeed, they are resovled in less than a second. It'ok if we don't do that.

If you have the code to do the comparison I would be interested in add int to the test suite, to at least as and example in the notebooks folder.

I will make it tomorrow then

A new example notebook has been added for sub-commutated data decoding.


outputStream instead of writing to file?

timecut has the outputStream option.
I believe it is nice for when you want the users of your web service to start downloading the file immediately, as it is being rendered.

Or perhaps are there workarounds? I discovered that files are being written in the temp directory ./tmp/synthesizer/:
https://github.com/Vinlic/WebVideoCreator/blob/fb62279513ca0ac01f6b8864a1e43101cbc9532e/core/Synthesizer.js#L93
after which the file is simply moved
https://github.com/Vinlic/WebVideoCreator/blob/fb62279513ca0ac01f6b8864a1e43101cbc9532e/core/Synthesizer.js#L251

I suppose the place to modify when adding this feature is
https://github.com/Vinlic/WebVideoCreator/blob/fb62279513ca0ac01f6b8864a1e43101cbc9532e/core/Synthesizer.js#L473
According to the docs, a stream can be passed instead of a file name


Displaying Chinese characters

Version and Platform (required):

Binary Ninja Version: 4.2.6103-dev, 3db50f2a
OS: macos
OS Version: 15.0
CPU Architecture: arm64

BN shows:
00137530  char data_137530[0x31] = "\xe5\xbd\x93\xe5\x89\x8d\xe6\x8e\xa5\xe6\x94\xb6\xe6\x9c\xba\xe7\x9a\x84\xe7\xb1\xbb\xe5\x9e\x8b\xe4\xb8\x8d\xe6\x94\xaf\xe6\x8c\x81\xe5"
00137530      "\x9b\xba\xe4\xbb\xb6\xe5\x8d\x87\xe7\xba\xa7\xef\xbc\x81", 0
but in IDA I have:
0000000137530 asc_137530      db '当前接收机的类型不支持固件升级！',0 ; DATA XREF: FwDoUpgrade+98↑o
Is there a way for BN to display Chinese characters like IDA does above?

https://docs.binary.ninja/dev/concepts.html?h=unicode#unicode-support explains how to add support for additional Unicode code pages.
Also, for questions instead of technical issue, please use a GitHub Discussion instead.


BG SyncEV Rebooting Constantly

I have a BG SyncEV charger. I have set up the OCPP server URL on the charger and I am able to briefly control the charger via home assistant however the charger seems to be constantly reconnecting/rebooting and everything goes unavailable and then comes back.

I enabled debug logging and here are some of the latest logs in home-assistant.log:
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 327, in call
    response = await self._get_specific_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ocpp/api.py", line 958, in _get_specific_response
    resp = await super()._get_specific_response(unique_id, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 361, in _get_specific_response
    response = await asyncio.wait_for(self._response_queue.get(), timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
    async with timeouts.timeout(timeout):
  File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/ocpp/api.py", line 459, in post_connect
    await self.get_supported_features()
  File "/config/custom_components/ocpp/api.py", line 571, in get_supported_features
    resp = await self.call(req)
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 331, in call
    raise asyncio.TimeoutError(
TimeoutError: Waited 30s for response on [2,"98f5355a-2e81-4326-bfdc-8fbe619242fc","GetConfiguration",{"key":["SupportedFeatureProfiles"]}].
2024-05-06 10:51:25.350 ERROR (DbWorker_0) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
           ^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/queues.py", line 158, in get
    await getter
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 327, in call
    response = await self._get_specific_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ocpp/api.py", line 958, in _get_specific_response
    resp = await super()._get_specific_response(unique_id, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 361, in _get_specific_response
    response = await asyncio.wait_for(self._response_queue.get(), timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
    async with timeouts.timeout(timeout):
  File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/ocpp/api.py", line 459, in post_connect
    await self.get_supported_features()
  File "/config/custom_components/ocpp/api.py", line 571, in get_supported_features
    resp = await self.call(req)
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 331, in call
    raise asyncio.TimeoutError(
TimeoutError: Waited 30s for response on [2,"e0f04f80-b43e-48a6-852b-65ec1e4468fe","GetConfiguration",{"key":["SupportedFeatureProfiles"]}].
2024-05-06 10:51:25.352 ERROR (DbWorker_0) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
           ^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/queues.py", line 158, in get
    await getter
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 327, in call
    response = await self._get_specific_response(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ocpp/api.py", line 958, in _get_specific_response
    resp = await super()._get_specific_response(unique_id, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 361, in _get_specific_response
    response = await asyncio.wait_for(self._response_queue.get(), timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 519, in wait_for
    async with timeouts.timeout(timeout):
  File "/usr/local/lib/python3.12/asyncio/timeouts.py", line 115, in __aexit__
    raise TimeoutError from exc_val
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/ocpp/api.py", line 459, in post_connect
    await self.get_supported_features()
  File "/config/custom_components/ocpp/api.py", line 571, in get_supported_features
    resp = await self.call(req)
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ocpp/charge_point.py", line 331, in call
    raise asyncio.TimeoutError(
TimeoutError: Waited 30s for response on [2,"f6ed8618-e0c2-4684-addc-104a84ffec78","GetConfiguration",{"key":["SupportedFeatureProfiles"]}].
2024-05-06 10:51:31.831 INFO (MainThread) [ocpp] BS512S213: send [2,"9e9671ed-978d-491c-ae0c-510169235ee2","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2024-05-06 10:51:32.329 INFO (MainThread) [ocpp] BS512S213: receive message [3,"9e9671ed-978d-491c-ae0c-510169235ee2",{"configurationKey":[{"key":"SupportedFeatureProfiles","readonly":true}]}]
2024-05-06 10:51:32.330 INFO (MainThread) [ocpp] BS512S213: send [2,"6f853898-36ff-4350-89e9-c644ac2aa3fa","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2024-05-06 10:51:32.331 ERROR (MainThread) [custom_components.ocpp] Unexpected exception in connection to 'BS512S213': ''value''
Traceback (most recent call last):
  File "/config/custom_components/ocpp/api.py", line 1026, in run
    await asyncio.gather(*self.tasks)
  File "/config/custom_components/ocpp/api.py", line 459, in post_connect
    await self.get_supported_features()
  File "/config/custom_components/ocpp/api.py", line 572, in get_supported_features
    feature_list = (resp.configuration_key[0][om.value.value]).split(",")
                    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'value'
2024-05-06 10:51:32.332 DEBUG (MainThread) [custom_components.ocpp] Closing websocket to 'BS512S213'
2024-05-06 10:51:44.141 INFO (MainThread) [custom_components.ocpp] Charger BS512S213 disconnected from <IP_ADDRESS>:9000.
2024-05-06 10:51:44.899 WARNING (SyncWorker_50) [homeassistant.helpers.frame] Detected that custom integration 'hass_agent' calls async_create_task from a thread at custom_components/hass_agent/__init__.py, line 147: hass.async_create_task(handle_apis_changed(hass, entry, apis)), please report it to the author of the 'hass_agent' custom integration
2024-05-06 10:51:44.902 ERROR (SyncWorker_50) [homeassistant.util.logging] Exception in updated when handling msg on 'hass.agent/devices/MasonsPC': '{"serial_number":"2d6266bb-fc1d-4c18-9f9c-950abd3ca754","device":{"identifiers":"hass.agent-MasonsPC","manufacturer":"LAB02 Research","model":"Microsoft Windows NT 10.0.22631.0","name":"MasonsPC","sw_version":"2022.14.0"},"apis":{"notifications":true,"media_player":true}}'
Traceback (most recent call last):
  File "/config/custom_components/hass_agent/__init__.py", line 147, in updated
    hass.async_create_task(handle_apis_changed(hass, entry, apis))
  File "/usr/src/homeassistant/homeassistant/core.py", line 816, in async_create_task
    self.verify_event_loop_thread("async_create_task")
  File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread
    frame.report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report
    _report_integration(what, integration_frame, level, error_if_integration)
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration
    raise RuntimeError(
RuntimeError: Detected that custom integration 'hass_agent' calls async_create_task from a thread at custom_components/hass_agent/__init__.py, line 147: hass.async_create_task(handle_apis_changed(hass, entry, apis)). Please report it to the author of the 'hass_agent' custom integration.

2024-05-06 10:51:47.295 INFO (MainThread) [custom_components.ocpp] Websocket Subprotocol matched: ocpp1.6
2024-05-06 10:51:47.295 INFO (MainThread) [custom_components.ocpp] Charger websocket path=/BS512S213
2024-05-06 10:51:47.296 INFO (MainThread) [custom_components.ocpp] Charger BS512S213 reconnected to <IP_ADDRESS>:9000.
2024-05-06 10:51:47.296 DEBUG (MainThread) [custom_components.ocpp] Reconnect websocket to BS512S213
2024-05-06 10:51:48.323 INFO (MainThread) [ocpp] BS512S213: receive message [2,"3409","BootNotification",{"chargePointVendor":"BG Sync EV","chargePointModel":"EVT77G-01","chargePointSerialNumber":"BS512S213","chargeBoxSerialNumber":"3030012205205633","firmwareVersion":"AC7K-88071-V3.06"}]
2024-05-06 10:51:48.324 DEBUG (MainThread) [custom_components.ocpp] Received boot notification for BS512S213: {'charge_point_vendor': 'BG Sync EV', 'charge_point_model': 'EVT77G-01', 'charge_point_serial_number': 'BS512S213', 'charge_box_serial_number': '3030012205205633', 'firmware_version': 'AC7K-88071-V3.06'}
2024-05-06 10:51:48.324 DEBUG (MainThread) [custom_components.ocpp] Updating device info charger: {'charge_point_vendor': 'BG Sync EV', 'charge_point_model': 'EVT77G-01', 'charge_point_serial_number': 'BS512S213', 'charge_box_serial_number': '3030012205205633', 'firmware_version': 'AC7K-88071-V3.06'}
2024-05-06 10:51:48.352 INFO (MainThread) [ocpp] BS512S213: send [3,"3409",{"currentTime":"2024-05-06T09:51:48Z","interval":3600,"status":"Accepted"}]
2024-05-06 10:51:48.938 INFO (MainThread) [ocpp] BS512S213: receive message [2,"3410","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Unavailable"}]
2024-05-06 10:51:48.950 INFO (MainThread) [ocpp] BS512S213: send [3,"3410",{}]
2024-05-06 10:51:49.657 INFO (MainThread) [ocpp] BS512S213: receive message [2,"3411","Heartbeat",{}]
2024-05-06 10:51:49.666 INFO (MainThread) [ocpp] BS512S213: send [3,"3411",{"currentTime":"2024-05-06T09:51:49Z"}]
2024-05-06 10:52:02.332 INFO (MainThread) [ocpp] BS512S213: send [2,"2c864b06-1e07-4165-a14c-e891d7f6bfea","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2024-05-06 10:52:03.276 INFO (MainThread) [ocpp] BS512S213: receive message [3,"2c864b06-1e07-4165-a14c-e891d7f6bfea",{"configurationKey":[{"key":"SupportedFeatureProfiles","readonly":true}]}]
2024-05-06 10:52:03.276 INFO (MainThread) [ocpp] BS512S213: send [2,"0bfd97af-85a3-4721-ab07-d34354ab1482","GetConfiguration",{"key":["SupportedFeatureProfiles"]}]
2024-05-06 10:52:03.277 ERROR (MainThread) [custom_components.ocpp] Unexpected exception in connection to 'BS512S213': ''value''
Traceback (most recent call last):
  File "/config/custom_components/ocpp/api.py", line 1026, in run
    await asyncio.gather(*self.tasks)
  File "/config/custom_components/ocpp/api.py", line 459, in post_connect
    await self.get_supported_features()
  File "/config/custom_components/ocpp/api.py", line 572, in get_supported_features
    feature_list = (resp.configuration_key[0][om.value.value]).split(",")
                    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
KeyError: 'value'
2024-05-06 10:52:03.278 DEBUG (MainThread) [custom_components.ocpp] Closing websocket to 'BS512S213'
2024-05-06 10:52:14.580 INFO (MainThread) [custom_components.ocpp] Charger BS512S213 disconnected from <IP_ADDRESS>:9000.
2024-05-06 10:52:15.261 WARNING (SyncWorker_61) [homeassistant.helpers.frame] Detected that custom integration 'hass_agent' calls async_create_task from a thread at custom_components/hass_agent/__init__.py, line 147: hass.async_create_task(handle_apis_changed(hass, entry, apis)), please report it to the author of the 'hass_agent' custom integration
2024-05-06 10:52:15.264 ERROR (SyncWorker_61) [homeassistant.util.logging] Exception in updated when handling msg on 'hass.agent/devices/MasonsPC': '{"serial_number":"2d6266bb-fc1d-4c18-9f9c-950abd3ca754","device":{"identifiers":"hass.agent-MasonsPC","manufacturer":"LAB02 Research","model":"Microsoft Windows NT 10.0.22631.0","name":"MasonsPC","sw_version":"2022.14.0"},"apis":{"notifications":true,"media_player":true}}'
Traceback (most recent call last):
  File "/config/custom_components/hass_agent/__init__.py", line 147, in updated
    hass.async_create_task(handle_apis_changed(hass, entry, apis))
  File "/usr/src/homeassistant/homeassistant/core.py", line 816, in async_create_task
    self.verify_event_loop_thread("async_create_task")
  File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread
    frame.report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report
    _report_integration(what, integration_frame, level, error_if_integration)
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration
    raise RuntimeError(
RuntimeError: Detected that custom integration 'hass_agent' calls async_create_task from a thread at custom_components/hass_agent/__init__.py, line 147: hass.async_create_task(handle_apis_changed(hass, entry, apis)). Please report it to the author of the 'hass_agent' custom integration.

2024-05-06 10:52:18.252 INFO (MainThread) [custom_components.ocpp] Websocket Subprotocol matched: ocpp1.6
2024-05-06 10:52:18.252 INFO (MainThread) [custom_components.ocpp] Charger websocket path=/BS512S213
2024-05-06 10:52:18.252 INFO (MainThread) [custom_components.ocpp] Charger BS512S213 reconnected to <IP_ADDRESS>:9000.
2024-05-06 10:52:18.252 DEBUG (MainThread) [custom_components.ocpp] Reconnect websocket to BS512S213
2024-05-06 10:52:19.280 INFO (MainThread) [ocpp] BS512S213: receive message [2,"3412","BootNotification",{"chargePointVendor":"BG Sync EV","chargePointModel":"EVT77G-01","chargePointSerialNumber":"BS512S213","chargeBoxSerialNumber":"3030012205205633","firmwareVersion":"AC7K-88071-V3.06"}]
2024-05-06 10:52:19.281 DEBUG (MainThread) [custom_components.ocpp] Received boot notification for BS512S213: {'charge_point_vendor': 'BG Sync EV', 'charge_point_model': 'EVT77G-01', 'charge_point_serial_number': 'BS512S213', 'charge_box_serial_number': '3030012205205633', 'firmware_version': 'AC7K-88071-V3.06'}
2024-05-06 10:52:19.281 DEBUG (MainThread) [custom_components.ocpp] Updating device info charger: {'charge_point_vendor': 'BG Sync EV', 'charge_point_model': 'EVT77G-01', 'charge_point_serial_number': 'BS512S213', 'charge_box_serial_number': '3030012205205633', 'firmware_version': 'AC7K-88071-V3.06'}
2024-05-06 10:52:19.309 INFO (MainThread) [ocpp] BS512S213: send [3,"3412",{"currentTime":"2024-05-06T09:52:19Z","interval":3600,"status":"Accepted"}]
2024-05-06 10:52:19.891 INFO (MainThread) [ocpp] BS512S213: receive message [2,"3413","StatusNotification",{"connectorId":1,"errorCode":"NoError","status":"Unavailable"}]
2024-05-06 10:52:19.897 INFO (MainThread) [ocpp] BS512S213: send [3,"3413",{}]

Thanks in advance for any assistance, I'm fairly new to this so please let me know if you require anything else.

The charger is not ocpp compliant, as it does report back any SupportedFeatureProfiles

Look through #899 for various hacks that can be used on non-compliant units

I have the same charger, and had the same issue. I had to modify the code a bit to extend a timeout, and ignore the SupportedFeatures issue.
I'm not able to post a diff at the moment, but when I get a chance I'll do it.

Oddly I've been charging with a BG SyncEV and this addon quite happily for a few months now. I've reboots a few times a day in the logs but they never seem to have caused an actual problem getting my 12:30am - 4:30am charge every day. However today something's gone wrong after updating HA and I had to edit the config to remove a hertz field which has apparently disappeared. It's late here and I'm basically confused and not sure if anything is working on not, but I just wanted to say until today I've been charging quite happily for a few months without any serious issues. The reboot notifications were annoying but that's about it. I'll check in again once I've worked out what (if anything) is going on.

I have the same charger, and had the same issue. I had to modify the code a bit to extend a timeout, and ignore the SupportedFeatures issue.
I'm not able to post a diff at the moment, but when I get a chance I'll do it.

Hi, i have a A-Tronix wallbox and ocpp 0.5.1. works but Updates greater 0.5.1 are rebooting too. Sorry for my incredible english.

downgrade smaller 0.5.2 are not available at HACS

Just l came back to say I'm running version 0.5.2 and my car charged fine last night so I don't seem to have a problem apart from reboot notifications every few hours which I've set up a automation to ignore. I am however now reluctant to upgrade 😁

I have the same issue on 0.5.2 or higher. Every few hours the charger seems to reboot. I downgraded to 0.5.1 (downloaded a release and copied the files over manually in the custom_components folder, and on 0.5.1 I haven't seen one reboot yet. Something seems to be off in the higher versions.

I have the same charger, and had the same issue. I had to modify the code a bit to extend a timeout, and ignore the SupportedFeatures issue.
I'm not able to post a diff at the moment, but when I get a chance I'll do it.

Hi, I'm still trying to deal with this issue, if you can, please post specifically which files you modified and what parameters you changed? I've been trying for a couple of weeks to solve this. It seems like it is a timeout issue here as well, ocpp will talk to my inverter properly for around 1 min, then disconnect, and then around 30 seconds later it will reconnect, reporting that the charger rebooted.

Hi,
I have a Vestel EVC04 Charger. Overall, it works well, but I receive the same error message "Ocpp integration: Charger<PHONE_NUMBER>000253 rebooted" every minute while charging. When it's in the "not connected" state, the message appears sporadically every few hours.
OCCP Version v0.5.8
Vestel EVC04 Firmware: v3.150.0-<IP_ADDRESS>-v7.0.14

Adding Growatt THOR_22AS-V2.2.15-20231130 to the list of constantly rebooting chargers.
Traceback (most recent call last):
  File "/config/custom_components/ocpp/api.py", line 1023, in run
    await asyncio.gather(*self.tasks)
  File "/config/custom_components/ocpp/api.py", line 459, in post_connect
    await self.get_supported_features()
  File "/config/custom_components/ocpp/api.py", line 575, in get_supported_features
    feature_list = (resp.configuration_key[0][om.value.value]).split(",")
                    ~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Same here! Does somebody have found a workaround or something?


Implement db support

Add support for databases, sql-lite and mysql to store previous items and to alert only on new ones

maybe implement option to read from file

Solved in #13


halem command

This package installs the command line program halem. But this program is not yet implemented.
Are you planning to create a command line interface to your software? Or is it intended to be a library?

Hi Fedor,
thanks for your feedback. I am not aware of any command line interfaces. I think I copied this from OpenCLSim when I created this file. I Think you refer to these lines in the setup.py:
entry_points={
    'console_scripts': [
        'halem=halem.cli:cli',
    ],
},

can I just remove these lines?

Yes you can remove that part. In case you want to re-add it later, it is described in the setuptools manual.

This Issue is fixed in commit 'command_line_issue' in the developer's branch and will soon be merged with the master


Bump identity.integration.ui.templates.version

Purpose
$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/11214268296

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/11214268296
Status: success


SSH Port Forwarding for Ports 443 and 80 No Longer Functional After macOS Update, Requires Sudo with VSCode for Operation

Type: Bug
After updating my macOS system, I've noticed that SSH port forwarding for ports 443 and 80 has ceased to function correctly (redirection to another port). The only workaround I've found so far is running VSCode in sudo mode.
VS Code version: Code 1.82.0 (8b617bd08fd9e3fc94d14adb8d358b56e3f72314, 2023-09-06T22:08:29.670Z)
OS version: Darwin arm64 22.6.0
Modes:
Remote OS version: Linux x64 6.1.31-2-MANJARO

sudo code doesn't work either, I have to run sudo /Applications/Visual\ Studio\ Code.app/Contents/MacOS/Electron

I also experienced this, but on ubuntu 22.04 with vscode 1.82.0. I also had this broken in a previous release and then it was fixed again afterwards. Seems like maybe ssh forwarding needs a better test suite to stop breakage.

Possible duplicate of https://github.com/microsoft/vscode/issues/192521

Duplicate of https://github.com/microsoft/vscode/issues/192521, downgrading to 1.81 temporarily resolves the issue.


Namespace argument is needed for the job validate it should work without it as well.

this is already fixed


update faq.md, add new question

question: How to change the character set and/or collation of a MySQL table?
Not sure if the slug path is correct.

Thanks for your contribution @idc77 🙏 ❤
@all-contributors please add @idc77 for docs.


Molecule shows misleading messages when linting is disabled

Issue Type

Bug report

Molecule and Ansible details
ansible 2.8.0
molecule, version 2.20.1

Molecule installation method (one of):

pip

Ansible installation method (one of):

pip

Detail any linters or test runners used:

ansible-lint
yamllint
flake8

Desired Behavior
Molecule config file molecule.yml has lint section disabled using enabled: false and so running molecule lint should simply show the following output:
> molecule lint
--> Validating schema foo/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix

└── default
    └── lint

--> Scenario: 'default'
--> Action: 'lint'
Skipping, lint is disabled.

Actual Behaviour
Molecule outputs misleading messages that show Executing xxx on files found which makes the user believe that linting was performed. These messages should not be printed when linting is disabled. The messages are coming from the fact that the molecule.yml defines linters for the verifier section and provisioner section. However, we only ran molecule lint so I assume these other sections should never be executed or considered.
> molecule lint
--> Validating schema foo/molecule/default/molecule.yml.
Validation completed successfully.
--> Test matrix

└── default
    └── lint

--> Scenario: 'default'
--> Action: 'lint'
Skipping, lint is disabled.
--> Executing Flake8 on files found in foo/molecule/default/tests/...
Lint completed successfully.
--> Executing Ansible Lint on foo/molecule/default/playbook.yml...
Lint completed successfully.

The following is the molecule.yml:
---
dependency:
  name: galaxy

driver:
  name: vagrant
  provider:
    name: virtualbox

lint:
  name: yamllint
  enabled: False

platforms:
  - name: centos
    box: bento/centos-7.4
    groups:
      - linux

provisioner:
  name: ansible
  lint:
    name: ansible-lint

verifier:
  name: testinfra
  enabled: False
  lint:
    name: flake8

It appears the code that performs the lint against each area is:
https://github.com/ansible/molecule/blob/bd7f4767d6a57bf9c1153bcb5c31c5a005fefc40/molecule/command/lint.py#L73-L76
Not sure the molecule lint command should span across different phases (lint, verify, provision).

haksjdhfjdsf

Is the expected behavior that setting the outermost lint (in molecule.yml) to enabled: false should prevent the provisioner and verifier linters from running?
I believe the output you're seeing isn't misleading - it's actually running those linters (try adding something to either the tests file or role files that would trigger a linter response - trailing whitespace works - and then set the outermost lint to enabled: false).
Setting the linters in each subsection to false:

provisioner:
  name: ansible
  lint:
    name: ansible-lint
    enabled: False

verifier:
  name: testinfra
  lint:
    name: flake8
    enabled: False

will produce the desired output you mentioned.
I'm interested to hear what the expected behavior should be. I could see it being useful to have a general yamllint with modified rules run before something like ansible-lint or flake8.

I understand that the molecule lint command will perform all linting across any phase (linting, verification, provisioning), but when we also have molecule commands like molecule verify and molecule prepare, etc, i was only assuming the molecule lint command would only run the lint as described in the section of the molecule.yml that defines the main lint tool and that molecule would do linting in the verify mode only when I run molecule verify.

I created a very simple WIP PR that adds the functionality you're describing (if I'm understanding correctly) @ansiblejunky - #2387
In the PR, running molecule lint now only runs the  root lint against the role.
molecule verify and molecule converge now run their respective linting independently.
If users have come to expect that all linting should be done up front in the main lint step, this could cause issues. Wouldn't it be preferable to check all linting up front anyway, rather than have a step fail at the end when, say, verifying?

I am not sure I do want to have linters spread across multiple places. I am for having one lint command that does run all linters.
I am for simplification of linting config but not for spreading them to various places or running them at different times. @decentral1se what's your take on this?
@rollerd do you have an example that makes impossible to run all linters in the current lint stage?

I think this is a docs issue. Linting being all done up front is how it runs today and changing that would be a significant breaking change for users and their expectations (that doesn't mean we can't do it, it's all up for debate). It's been confusing for people to see multiple linting keys in the config but when you finally find out why (different linters for different files with different responsibilities) it makes sense. I'm all for making this more clear on existing behaviour (docs, more output messages, better examples, etc.) but I'd rather not change the existing behaviour. I like things to break fast when there are linting issues anywhere. That said, big up to @rollerd to churning out the change, we need more of that :)

@rollerd Thanks for putting that together. Sorry for the late response as well.
So we define scenarios in the molecule.yml config file. We have scenarios defined like verify, lint, etc.  We also define these scenarios separately in the config file.  However, the molecule commands seem inconsistent.  With molecule verify we run the verify scenario, which includes the lint for only the verify scenario.  However with molecule lint we run all linters defined anywhere in the config file, which I find inconsistent. If I don't want to run the verify scenario (not listed in the scenario: section or not executed from the molecule command then I also don't want to run the linting for the verify scenario!  If "lint" is a scenario then it should only run the linting defined in the lint: section of the config file.
However, I do agree with the "fail-early-fail-fast" approach of being able to run all the linters in the beginning - a.k.a define a lint scenario as one of the first scenarios to run.  But how to do this intuitively without breaking some of the concepts mentioned above?
One way perhaps is to require all the linters to be defined at the root level lint: in the config file.  Then in the various defined scenarios, we can reference those linters by name... however, they need to be defined in the lint: section before they can be used in other sections.
In this example, flake8 was pre-defined in the lint root level section and then later referenced (by name) in the verifier section.
lint:
   -
   name: ansible-lint
   enabled: True
   -
   name: flake8
   enabled: True

verifier:
  name: testinfra
  enabled: False
  lint:
    name: flake8

If we do it this way, then I would be cool with molecule lint running all of my defined linters.
Hope this helps.

Yes, I will support any change that is detaching the linter execution from verifier or provisioner as I want to have only one lint action (which could run more than one linter in the end).
Still having linters scattered around many places would only confuse and or alienate our users.

The linters are currently scattered across the entire molecule config.
With the design I proposed, you at least define them in one place in the config and in other areas you can "use" the ones predefined in the lint section.

OK, there is a discussion rolling on centralising linting configs and command line interface over in #2293. Please leave your thoughts there to push the issue forward.

v2 is EOL


Improve readme

[ ] How do I install this
[ ] How do I add completions to bash and zsh

Closing since no interest in changing this.

No need to close, this would take five minutes to address.


Don't double-encode changes sequence strings in the replicator

Previously we always encoded the sequence as json. In case of a strings, the most common case, this ended up with something like "\"1-gA..\"". Then, the endpoints would strip out and ignore the extra ". So, avoid sending the extra bytes just so they can striped out in the end anyway. This should make the logs look a bit cleaner too.
For integers or any other sequences we still json encode them. So we 1 will be sent since=1 parameter. And, in the unlikely we case we replicate with a BigCouch 0.4 era endpoint, the [SeqNum, OpaqueString] should also be properly encoded as before and replications should work.
This also fixes a minor annoyance when the _scheduler/{jobs,docs} results returning the default start sequence as 0 (an integer) even though in the majority of case they'd almost always turn into a string. After this we consistently return a string as it would be passed in the _changes?since=... parameter.

Log before the PR
GET /db1/_changes?feed=normal&style=all_docs&since=%221-g1AAAABzeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____sxIZcCrJYwGSDA1A6j9IZQZzImMuUIDdPDXZ0sAiBVNXFgCBIx1h%22&timeout=10000 200 ok 2

With the PR
GET /db1/_changes?feed=normal&style=all_docs&since=2-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYExlzgQLsJqmWKQaW5pjKcRqRxwIkGRqA1H8Uk8xTky0NLFIwdWUBAEyYJFY&timeout=10000 200 ok 2


Remove augment on ContainerRuntime.loadRuntime

This augment could break compat between loader and runtime.
Partial revert of https://github.com/microsoft/FluidFramework/pull/16565

Are you still planning to merge this one given the realization that loadRuntime is called by the runtime layer not loader layer?

Yes, that fact is this reason this augment needs to go. Consumers will need to pass in both requestHandlers and initializeEntryPoint to the loadRuntime method to handle compat at the loader.


fix: fatal: a failure has occurred: unexpected schema type render:services:WebServiceDetailsCreateRuntime

The error occurred after I executed the following command:
pulumi import render:services:WebService thewebsrcive srv-xxxxxxx

It also printed the following:
Your resource has been imported into Pulumi state, but there was an error generating the import code.

@praneetloke I now cannot update my infrastructure because it did not generate the code and now Pulumi thinks I deleted the resource and it tries to remove it 🫠

@VladimirCreator I suggest you temporarily remove the imported web service from your state with pulumi state delete <urn> -s <stack name>. You can get the URN with pulumi stack --show-urns -s <stack name>.

@VladimirCreator I had a suspicion that it was because the Render API for "Retrieve Service" does not return the runtime property and yet it is a required input for "Create Service", so Pulumi tries to use an empty string which ends up failing because runtime is an enum and it can't use an empty string for it. I proved this to be the case by hacking a local version of the provider where runtime is not an enum and Pulumi was able to generate the import code successfully.
Note the value of the runtime property in the screenshot.

I have posted a question in their community forum but I am not sure if they'll fix their API. In the meantime, the only workaround that I can think of (aside from committing my hack where I change the type of runtime from an enum string to a regular string) is that you use this generated code from my import and adjust it to the values from your state after you run the import. I don't know how complex your web service configuration is though?

generated code
const myWebService = new render.services.WebService("myWebService", {
    autoDeploy: render.services.ServiceCreateAutoDeploy.Yes,
    branch: "main",
    name: "express-hello-world",
    ownerId: "usr-XXXXXXXXXXXX",
    repo: "https://github.com/render-examples/express-hello-world",
    rootDir: "",
    serviceDetails: {
        env: render.services.WebServiceDetailsCreateEnv.Node,
        envSpecificDetails: {
            buildCommand: "yarn --frozen-lockfile install",
            startCommand: "node app.js",
        },
        healthCheckPath: "",
        numInstances: 1,
        plan: render.services.WebServiceDetailsCreatePlan["free"],
        pullRequestPreviewsEnabled: render.services.WebServiceDetailsCreatePullRequestPreviewsEnabled.No,
        region: render.services.WebServiceDetailsCreateRegion.Oregon,
        runtime: "", <----this is what the CLI generated but you should fill this in with the value from the `env` property above.
    },
    type: "web_service",
}, {
    protect: true,
});

@VladimirCreator this should now be fixed with v0.3.12.


Update cats-core, cats-laws to 2.3.0

Updates

org.typelevel:cats-core
org.typelevel:cats-laws

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

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

labels: library-update, semver-minor

Superseded by #3943


Strange descrepancy between our downloader and actual GSV tool

Here's a screenshot of our tool. Notice how there is very little data around 10th street?

And here's Google Maps around that area:

And another shot:

I'm gonna try with a 10m step.

Aha, what happened is that I went over my query limit. So, we need to check for OVER_QUERY_LIMIT in any of our gz files. We should also check while downloading...

OK, with Anthropic's help, wrote a status code checker to investigate. It's a problem. Need to now check all archived files.
Analyzing file: .\data\huron--sd_width_8336_height_8073_step_20.csv.gz
Status Code Analysis:
Total Records Processed: 168,468
Malformed Lines: 0
Total Lines: 168,468
Status Code Distribution:
Code              Count    Percentage
OK                 34,703     20.60%
OVER_QUERY_LIMIT   18,356     10.90%
ZERO_RESULTS      115,409     68.50%
Finished analysis of: .\data\huron--sd_width_8336_height_8073_step_20.csv.gz

Yikes, final stats on this is:
OVERALL SUMMARY
==================================================
Total Files Processed: 84
Total Records: 38,528,092
Total Malformed Lines: 0

Overall Status Code Distribution:
--------------------------------------------------
Code               Count     Percentage
--------------------------------------------------
NO_DATE               1,491      0.00%
OK                 14,555,431     37.78%
OVER_QUERY_LIMIT   2,205,135      5.72%
UNKNOWN_ERROR            46      0.00%
ZERO_RESULTS       21,765,989     56.49%

Files with OVER_QUERY_LIMIT status:
--------------------------------------------------
.\data\broken-arrow--ok_width_29046_height_22318_step_20.csv.downloading: 342,575 occurrences
.\data\lincoln--nebraska_width_19967_height_24568_step_20.csv.gz: 319,687 occurrences
.\data\athens--ga_width_27422_height_21235_step_20.csv.gz: 311,679 occurrences
.\data\bowling-green--ky_width_20167_height_16402_step_20.csv.gz: 295,540 occurrences
.\data\lafayette--la_width_13138_height_19122_step_20.csv.gz: 230,219 occurrences
.\data\huntsville--al_width_51072_height_36800_step_20.csv.downloading: 159,486 occurrences
.\data\flagstaff--az_width_18414_height_13058_step_20.csv.gz: 133,382 occurrences
.\data\laramie--wy_width_15634_height_13319_step_20.csv.gz: 97,351 occurrences
.\data\minot--nd_width_13589_height_10885_step_20.csv.gz: 55,332 occurrences
.\data\huron--sd_width_8336_height_8073_step_10.0.csv.gz: 54,836 occurrences
.\data\dripping-springs--tx_width_14997_height_7783_step_20.csv.gz: 51,408 occurrences
.\data\wimberley--tx_width_8568_height_8696_step_20.csv.gz: 47,002 occurrences
.\data\biloxi--ms_width_20682_height_14822_step_20.csv.gz: 43,641 occurrences
.\data\aliceville--al_width_6390_height_8631_step_20.csv.gz: 23,002 occurrences
.\data\huron--sd_width_8336_height_8073_step_20.csv.gz: 18,356 occurrences
.\data\los-alamos--nm_width_8049_height_4642_step_20.csv.gz: 18,177 occurrences
.\data\sedona--az_width_9629_height_8002_step_20.csv.gz: 3,462 occurrences

So, obviously, we need to redownload those files. But also, we should have caught this while downloading....


🐛 Bug Report: Kubernetes plugin - cluster selection annotation doesn't work anymore

📜 Description
Cluster selection annotation doesn't work anymore although it used to work -> https://backstage.io/docs/features/kubernetes/configuration/#cluster-selection-annotation.
👍 Expected behavior
Backstage should show only the selected cluster instead of all clusters.
👎 Actual Behavior with Screenshots
Backstage show all the clusters on Kubernetes tab of component.
👟 Reproduction steps

Set up your clusters.

kubernetes:
  serviceLocatorMethod:
    type: 'multiTenant'
  clusterLocatorMethods:
    - type: 'config'
      clusters:
        - url: https://some_cluster1:6443/
          name: aro-delta
          authProvider: serviceAccount
          skipTLSVerify: true
          skipMetricsLookup: false
          serviceAccountToken: ${some_cluster1}
        - url: https://some_cluster2:6443/
          name: aro-echo
          authProvider: serviceAccount
          skipTLSVerify: true
          skipMetricsLookup: false
          serviceAccountToken: ${some_cluster2}

Add annotations to your component.

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: "foobar"
  description: "test"
  annotations:
    backstage.io/kubernetes-id: foobar
    backstage.io/kubernetes-cluster: some_cluster1
    backstage.io/kubernetes-namespace: backstage-test

📃 Provide the context for the Bug.

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Should the kubernetes.serviceLocatorMethod.type be singleTenant?
Implementation
switch statement

@mclarke47 yeah, great catch. It works after switch to singleTenant 👍


Kivy exe file not launching because of not getting an image provider

Python: 3.6.7
OS:Windows 7 pro
Kivy:1.11.1
Kivy installation method: pip install kivy

Describe the bug
Hi, after converting my .py file containing my kivy app(note: I used Builder.load_string), I used pyinstaller 3.6.When I try to open my main.exe file it shows this logs:
[INFO   ] [Logger      ] Record log in C:\Users\HP\.kivy\logs\kivy_20-07-26_93.txt
[INFO   ] [Kivy        ] v1.11.1
[INFO   ] [Kivy        ] Installed at "C:\Users\HP\AppData\Local\Temp\_MEI54242\kivy\__init__.pyc"
[INFO   ] [Python      ] v3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 13:35:33) [MSCv.1900 64 bit (AMD64)]
[INFO   ] [Python      ] Interpreter at "C:\Users\HP\Desktop\file\dist\main.exe"

[INFO   ] [Logger      ] Purge log fired. Analysing...
[INFO   ] [Logger      ] Purge 14 log files
[INFO   ] [Logger      ] Purge finished!
[INFO   ] [Factory     ] 184 symbols loaded
[INFO   ] [Image       ] Providers:  (img_tex, img_dds, img_ffpyplayer, img_gif, img_pil, img_sdl2 ignored)
[CRITICAL] [App         ] Unable to get any Image provider, abort.

Expected behavior
I expected that a kivy window opens normally but the result wasn't as expected.Some help please!
Additional context
I searched in stackoverflow but I found one question related:
https://stackoverflow.com/questions/46988763/kivy-unable-to-get-any-image-provider-abort
and there was no valuable answers.
And here is my main.py if it is necessary(and sorry for the weird variables names):
main.zip

Seems that you didn't modify your .spec script to include sdl2 binaries. See steps in https://kivy.org/doc/stable/guide/packaging-windows.html to properly package your app.


fixed bug with Bone.rotate, Bone.Scale (initialized private vars) -ad…

…ded Bone.setYawPitchRoll -added Bone.getAbsolutePosition
http://www.babylonjs-playground.com/#I6RJJ#13
http://www.babylonjs-playground.com/#11BH6Z#168

Sorry don't merge yet.  I need to make one more commit.

I think I'm all set.  Thanks

I think I to a little overzealous.  This seems to have broken rotation in World Space.  :(

It looks like rotating in world space is working for Bone.rotate, but not for Bone.setYawPitchRoll.

Ok I'll wait to merge (thanks for the static stuff btw)

Darn, I committed the js file.

I discovered a bug that I will be committing a fix for in the next few minutes.

I fixed that last bug.
http://www.babylonjs-playground.com/#I6RJJ#22

Can you suggest a way to get the worldMatrix of the mesh from a bone so that we don't have to pass rotate and setYawPitchRoll the mesh when working in world space?

Bones are not linked to a specific mesh (as they can be applied to several meshes)


Creates ds-global script.

What's this PR do?
Creates a bash script for setting up Global:

Enables dosomething_global module
Serves as a placeholder for additional instructions and migration commands which must be applied to existing database to set it up as Global

Shouldn't the dosomething_global module be enabled in the dosomething profile? Or is this just a temporary stopgap until we've moved everything to global?

@blisteringherb Yes. it should be eventually. However, if I think it is reasonable to keep Global functionality out of production for some time. There will be major changes, like URL patterns and multiple languages that can break existing US user experience.
Using this script we will be able to keep track of required steps to make US site Global. It is useful both on Global test environment @sheydari-ds is working on and inside vagrant, after ds pull stage.

:+1:


[GSSoC'23] Times of India News Headline Scrapper

Aim

Scrap Top news from the Times of India website using Beautiful Soup/Selenium

Details

Scrap TOI website
Provide headlines as well as links to that said news

Go ahead @Juhibhojani


Update registry.opensource.zalan.do/acid/postgres-operator-ui Docker tag to v1.10.0

This PR contains the following updates:

Package
Update
Change

registry.opensource.zalan.do/acid/postgres-operator-ui
minor
v1.8.2 -> v1.10.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (v1.10.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Fix tests

the changes to binary slice appear to be causing some browsers to hang while running the tests, not sure why but putting the old one back seems to fix.

Looks like this fixes the issue. I'm going to do a release.
Ideally, we can figure out how to merge these two functions in a way that still works in IE8 for a future version.

Released as 3.4.3.
Also, added you as a GitHub collaborator @nolanlawson. Good work!

Thanks! I'll try to be more careful in the future to avoid regressions. Looks like Sauce tests run for every commit?

Yep!

Can we get some test fixtures that are reproducible?

This was already caught by the tests.
The Travis tests run automatically on every push. The badge was red.
You can also run the tests locally by creating a free sauce labs account
(Open Sauce), adding the credentials to your local zuul config file, and
running npm test.
On Sun, Aug 23, 2015 at 12:59 PM Daniel Cousens<EMAIL_ADDRESS>wrote:

Can we get some test fixtures that are reproducible?
—
Reply to this email directly or view it on GitHub
https://github.com/feross/buffer/pull/75#issuecomment-133817194.


fix: align ts_project(data) runfiles with js_library(data)

After removing the use of js_library the ts_project(data) no longer conditionally goes through js_library(data) when the transpiler attribute is set. However the js_library(data) was creating the runfiles differently then ts_project_rule(data).
This change makes ts_project(data) align with the defaults of js_library(data) to restore the previous behaviour.

Changes are visible to end-users: no
Test plan

Covered by existing test cases
New test cases added

I'm afraid this is a breaking change for usages of ts_project without a custom transpiler:
copy_data_files_to_bin = True comes with the caveat that it is source files coming from a different package are not allowed in data.
This breaks a basic filegroup:
# package //files
filegroup(
  name = "files",
  srcs = [...],
)

# package //code
ts_project(
  data = ["//files"],  # this will break with this change.
)


Persistent Indexes

ArangoDB 3+ comes with persistent indexes through RocksDB.
Persistent indexes are stored on disk as opposed to in-memory, which makes ArangoDB a more attractive alternative in RAM-limited environments. Of-course nothing's faster than memory, but sometimes stability and recovery speed is just simply more important.
ArangoJS does not currently support persistent indexes in a non-arbitrary manner. It should.

I created a Pull Request :)
https://github.com/arangodb/arangojs/pull/346

Thank you for your report and prompt PR to resolve it!
For legal reasons, we require contributors to sign a contributor license agreement (CLA). We are using a Apache 2 CLA for ArangoDB, which can be found here: https://www.arangodb.com/documents/cla.pdf
Could you sign, scan and email the CLA to cla (at) arangodb.com?
Thanks!

Signed

The PR was merged and published. I'm closing this.


CupertinoListTile is missing mounted checks

Note:
The first import in the code sample:
import 'package:cupertinolisttileerrordemo/cupertino_list_tile.dart';

is just the CupertinoListTile's file from this repo with a few edits to make it work outside of the Flutter repo as I'm currently on the stable branch and as such do not have that widget available right now.
If you are on the master channel you can just remove this line.
Steps to Reproduce

See the code sample. (This reproduces a similar issue to the one I'm facing in my app but I'm unfortunately unable to reproduce the exact error, but it is related to calling setState when the widget is not mounted anyways).

Here are the Firebase Crashlytics logs for the app (line numbers on the cupertino list tile do not match the ones in this repo but are still on that setState call):
Non-fatal Exception: FlutterError
0  ???                            0x0 State.setState + 1129 (framework.dart:1129)
1  ???                            0x0 _CupertinoListTileState.build.<fn> + 399 (cupertino_list_tile.dart:399)

Expected results:
No error thrown.
Actual results:
setState() called after widget has been disposed.
Fix
Return early if not mounted before this line https://github.com/flutter/flutter/blob/fe7b6de4df7fde836d4e04f26b9fb70f7e3c9f3e/packages/flutter/lib/src/cupertino/list_tile.dart#L388
like this:

if (!mounted) {
    return;
}

setState(() { _tapped = false; });

Code sample
import 'package:cupertinolisttileerrordemo/cupertino_list_tile.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool _show = true;

  Future<void> _onTap() async {
    setState(() => _show = false);

    await Future.delayed(const Duration(seconds: 3));

    Future.delayed(
      const Duration(seconds: 1),
      () => setState(() => _show = true),
    );
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: Column(
            children: [
              if (_show)
                CupertinoListTile.notched(
                  title: const Text('Tap me'),
                  onTap: _onTap,
                ),
            ],
          ),
        ),
      ),
    );
  }
}

Logs
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: setState() called after dispose(): _CupertinoListTileState#4a9c1(lifecycle state: defunct, not mounted)
This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code
calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
#0      State.setState.<anonymous closure> (package:flutter/src/widgets/framework.dart:1073:9)
#1      State.setState (package:flutter/src/widgets/framework.dart:1108:6)
#2      _CupertinoListTileState.build.<anonymous closure> (package:cupertinolisttileerrordemo/cupertino_list_tile.dart:400:9)
<asynchronous suspension>

Analyzing cupertinolisttileerrordemo...
No issues found! (ran in 2.5s)

[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Versione 10.0.19044.1865], locale it-IT)
    • Flutter version 3.0.5 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (3 weeks ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\Android\Sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_SDK_ROOT = C:\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32526.322
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.70.0)
    • VS Code at C:\Users\Alex Sandri\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.46.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Versione 10.0.19044.1865]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 104.0.5112.81
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 103.0.1264.37

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @alex-sandri
Thanks for filing the bug report.
Looks like the issue reproduced due to onTap  await  and setState being called at the same time.
https://github.com/flutter/flutter/blob/fe7b6de4df7fde836d4e04f26b9fb70f7e3c9f3e/packages/flutter/lib/src/cupertino/list_tile.dart#L386-L389
As you suggest it's the mounting issue, however, we can call setState only when mounted.

Code Sample
import 'package:flutter/cupertino.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const CupertinoApp(
      theme: CupertinoThemeData(brightness: Brightness.light),
      home: Example(),
    );
  }
}

class Example extends StatefulWidget {
  const Example({super.key});

  @override
  State<Example> createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  bool showTile = true;

  Future<void> onTap() async {
    setState(() {
      showTile = false;
    });
    await Future<void>.delayed(const Duration(seconds: 3));
    await Future<void>.delayed(
      const Duration(seconds: 1),
      () => setState(() => showTile = true),
    );
  }

  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
      theme: const CupertinoThemeData(
        brightness: Brightness.light,
      ),
      home: CupertinoPageScaffold(
        child: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              if (showTile)
                CupertinoListTile.notched(
                  title: const Text('Tap me'),
                  onTap: onTap,
                ),
            ],
          ),
        ),
      ),
    );
  }
}

flutter doctor -v
[!] Flutter (Channel master, 3.1.0-0.0.pre.2105, on macOS 13.0 22A5311f
    darwin-arm, locale en-GB)
    • Flutter version 3.1.0-0.0.pre.2105 on channel master at
      /Users/tahatesser/Code/flutter
    ! Upstream repository git@github.com:NevercodeHQ/flutter.git is not a
      standard remote.
      Set environment variable "FLUTTER_GIT_URL" to
      git@github.com:NevercodeHQ/flutter.git to dismiss this error.
    • Framework revision fe7b6de4df (6 hours ago), 2022-08-05 09:04:08 +0200
    • Engine revision 25bad51f09
    • Dart version 2.19.0 (build 2.19.0-66.0.dev)
    • DevTools version 2.16.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /Users/tahatesser/Code/android-sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • ANDROID_SDK_ROOT = /Users/tahatesser/Code/android-sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Build 14A5270f
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.70.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • def0ad20                             •
      android-arm64  • Android 12 (API 32)
    • iPhone 13 (mobile)     • 44C2C534-56A8-4315-B74E-33D4ABBCB0F8 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)        • macos                                •
      darwin-arm64   • macOS 13.0 22A5311f darwin-arm
    • Chrome (web)           • chrome                               •
      web-javascript • Google Chrome 103.0.5060.134

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


bump node dependencies

This pull request addresses an issue where the log retention function uses the deprecated nodeJS 10.x runtime.  Bump to latest versions of CDK packages revs to nodeJS 14.x

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


"Know your responsibilities" can be skipped

Description
I'm able to toggle away from the "Know your Responsibilities" without confirming my agreement.
Steps to reproduce

Login
Input security code
On the "Know your responsibilities" page, toggle away from it (click "Sign In:)
Wait a couple seconds while the screen load
See error: it takes you to the "Forms" page

Details

Browser: Chrome
Operating system: Mac
Environment: PR
Language: English

Expected behaviour
Anytime a user tries to navigate to a different link after Signing In, they should be redirected to the "know your responsibility" page to ensure they agree.
Screenshots or videos
Private Zenhub Video

nice find!


I can't see the pavia token. 아이 캔트 시 더 페이비어 토우컨.

After depositing Ada in Nami wallet, I swapped with Pavia in Sundaeswap, and the swap became normal, but the Pavia token was not displayed.
Even if you add tokens, they can't be added and there's no indication.Only ada was displayed and the ada disappeared as much as the swapped.
Help me.
3783c9b1b6054219acf378f3af7cc8ba51d113d434051c51fa0c9178aba5549e

On SundaeSwap, is the order open or does it say completed?
Your wallet: https://cardanoscan.io/address/addr1qxajmmrps5w3hen0wzfnh4z5rdc40apmyhzgqq65uqvjyw9anp7trcxu7ns2c8pll5nfyyyfcuqarkskcd7mxvge2zys3zptkt
It shows only the orders/swap requests going out, but no completion of the swap coming in, so there are no Pavia that can be shown to you.
It is possible that the order was completed, but was not sent out by SundaeSwap up to now.
Or it was not completed, cannot be completed now, because the price is already to high. In that case, you can also cancel the order (in the SundaeSwap interface) to get your ADA back.

According to https://cardanoscan.io/address/addr1qxajmmrps5w3hen0wzfnh4z5rdc40apmyhzgqq65uqvjyw9anp7trcxu7ns2c8pll5nfyyyfcuqarkskcd7mxvge2zys3zptkt, you have now successfully cancelled the 1000 ADA order and received PAVIA for the other order.
Is there still an issue?
If not, it would be kind to close the three issues you opened.

Yes, I think it went well.Thank you for your kind reply.
How do I close the inquiry I asked?
2022년 1월 24일 (월) 오후 6:30, Benjamin Braatz @.***>님이 작성:

According to
https://cardanoscan.io/address/addr1qxajmmrps5w3hen0wzfnh4z5rdc40apmyhzgqq65uqvjyw9anp7trcxu7ns2c8pll5nfyyyfcuqarkskcd7mxvge2zys3zptkt,
you have now successfully cancelled the 1000 ADA order and received PAVIA
for the other order.
Is there still an issue?
If not, it would be kind to close the three issues you opened.
—
Reply to this email directly, view it on GitHub
https://github.com/Berry-Pool/nami-wallet/issues/300#issuecomment-1019892872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXN2ETQMCYHYOO5G7MRWX63UXUL2RANCNFSM5MTU4VHA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

If you go into the web interface (where you opened the issues), there is a “Close issue” button at the bottom (if you are logged in).
Your issues were:
https://github.com/Berry-Pool/nami-wallet/issues/299
https://github.com/Berry-Pool/nami-wallet/issues/300
https://github.com/Berry-Pool/nami-wallet/issues/301
Thank you!


file follow: regex delimited files can drop the last entry in a file

What are the steps to reproduce this issue?

Create a regex delimited stanza, something like foo...
Ingest some data that hits on this.
Do something like delete/rotate the file.

What happens?
The last hit in the file doesn't appear to be ingested.
What were you expecting to happen?
Ingest.
What versions of software are you using?
5.4.11 (at least).

lgtm, fritz and kris have tested mac and windows respectively


added cache for table cells

Hi.
I added a cache when accessing table cells using table._cells, and the performance improvement is pretty big.
Before adding cache: 99.94s
Added cache: 1.55s
Hopefully this feature will be merged to the master branch because accessing large tables are just too slow here...
Thanks！

Very useful bro, how does the magic happen?


Added new api version:2016-12-01 introduced in nrp contracts version.

@Nilambari - This is not done. This has been told umpteen number of times to the service teams to first copy the older version (2016-09-01) of the spec and commit it. Then over write the copied file with the new version and make a second commit. This helps us see what has changed. As of now the entire file is green and we cannot review the entire file again.

I see. Sounds good. Opened new PR:- https://github.com/Azure/azure-rest-api-specs/pull/786


Combine operands

It would be cools if we had multi-input tools available. This would allow us to call operations such as "Apply the seeded watershed algorithm to the membrane image and use the nuclei segmentation as seeds."
Unfortunately, the StructuredTool is not compatible with the AgentType.CHAT_CONVERSATIONAL_REACT_DESCRIPTION.
Hints:

https://python.langchain.com/docs/modules/agents/tools/multi_input_tool

Hey! I think I've figured out how to chain tools together with multiple inputs. See the gist below for a demo (ignore the rate limit errors - I haven't paid for the API yet 😆 ). Basically, I think we can swap the agent type to AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION and we can use the StructuredTool class.
https://gist.github.com/kevinyamauchi/4eb286e9a1f342ad0e854b1dc9fdd445

The other piece is for chaining operations like you described above, I think we need to add more a structured data registry so that tools can easily load/save results.

Basically, I think we can swap the agent type to AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION and we can use the StructuredTool class.

I've tried that too! This turns Bob into a bot  that has no memory :-(

Ah dang. What are the use cases for having the memory? Recalling the last result?

Check out this notebook. It's executed after changing to AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION It kinda still works, but some responses are suspiciously dumb:

And:

This might be a potential solution, but it seems a deep rabbit hole: https://python.langchain.com/docs/use_cases/autonomous_agents/autogpt

I've just tried what's described here and the AgentType.STRUCTURED_CHAT_ZERO_SHOT_REACT_DESCRIPTION then works better with memory. code
It's still not convincing. It seems to give more wrong answers and I received some timeouts when running it. Will try again later.

Hey! I have another attempt, now creating an LLMchain that adds the conversation history into a prompt. I did a super basic test and it seems like it could be working (loads two images and remembers which was first). What do you think?
https://gist.github.com/kevinyamauchi/491944468412d817038c2ebbb7d9cc91

I added back in the multi-input compatibility, so I think this shows both using conversation history and multi-input tools. This seems like it could be a good approach. We made consider adding some additional agents to the chain to manage caching/IO of intermediate results.
https://gist.github.com/kevinyamauchi/9e4049b799bb705c575c8ae3070c7dae

Oh that notebook looks super amazing @kevinyamauchi ! I can't wait for this PR ❤


TypeError [ERR_INVALID_ARG_TYPE] with Webpack 5 and relativePath: true

$ cat >webpack.config.js <<EOF
const BundleTracker = require("webpack-bundle-tracker");
module.exports = {
  plugins: [new BundleTracker({ relativePath: true })],
};
EOF
$ touch src.js
$ npm i webpack webpack-bundle-tracker webpack-cli
…
+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>+<EMAIL_ADDRESS>added 147 packages from 168 contributors and audited 147 packages in 5.273s
…
$ npx webpack
[webpack-cli] TypeError [ERR_INVALID_ARG_TYPE]: The "to" argument must be of type string. Received undefined
    at validateString (internal/validators.js:124:11)
    at Object.relative (path.js:1054:5)
    at /tmp/test/node_modules/webpack-bundle-tracker/lib/index.js:138:30
    at /tmp/test/node_modules/lodash.foreach/index.js:221:11
    at baseForOwn (/tmp/test/node_modules/lodash.foreach/index.js:153:20)
    at /tmp/test/node_modules/lodash.foreach/index.js:190:14
    at forEach (/tmp/test/node_modules/lodash.foreach/index.js:290:10)
    at BundleTrackerPlugin._handleDone (/tmp/test/node_modules/webpack-bundle-tracker/lib/index.js:123:5)
    at Hook.eval [as callAsync] (eval at create (/tmp/test/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/tmp/test/node_modules/tapable/lib/Hook.js:18:14) {
  code: 'ERR_INVALID_ARG_TYPE'
}

At webpack-bundle-tracker/lib/index.js:138, the file object is a SizeOnlySource whose only property is _size, so fileInfo.path is undefined.

Is there any fix for this?

Thanks, we'll be checking this tomorrow

Related: https://github.com/thredup/rollbar-sourcemap-webpack-plugin/issues/61


[Suggestion] Allow players to join without being Phantoms

Just like Seamless Coop Mod for Elden Ring, could you make it so that players join other player games without being a phantom? (losing half of the estus flasks and can't interact with anything)?
I played that mod with 2 of my friends and would love to see these features in Dark Souls 3

Not sure if he'd be able to pull this off :/ Remember this is merely a matchmaking server any and all mods like this would have to be done at the client level (AKA Game mods not server mods) (i.e. Using DS3 Coop Overhaul to remove the multiplayer barriers and allow summoning anywhere)


"An unexpected error occurred" when trying to install a python package

I opened up VS (15.7.18083.1).  Opened up an existing solution that had a Python project.  Went to install a package and pulled down the "Packages (Conda)" option.  Then the "unexpected error" occurred and told me to create an issue with the below.  Note that I had not typed in the name of the package I wanted to install.
[Window Title]
devenv.exe
[Main Instruction]
An unexpected error occurred
[Content]
Please press Ctrl+C to copy the contents of this dialog and report this error to our issue tracker.
[^] Hide details  [Close]
[Expanded Information]
Build: 15.7.18083.1

System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Cannot access child value on Newtonsoft.Json.Linq.JValue.
   at Newtonsoft.Json.Linq.JToken.get_Item(Object key)
   at Newtonsoft.Json.Linq.JToken.Value[T](Object key)
   at Microsoft.PythonTools.Interpreter.CondaPackageManager.<>c.<CacheInstalledPackagesAsync>b__58_0(JToken j)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Microsoft.PythonTools.Interpreter.CondaPackageManager.<CacheInstalledPackagesAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Interpreter.CondaPackageManager.<GetInstalledPackagesAsync>d__63.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Project.InterpretersNode.<RefreshPackagesAsync>d__25.MoveNext()
   --- End of inner exception stack trace ---
   at System.AggregateException.Handle(Func`2 predicate)
   at Microsoft.PythonTools.Infrastructure.TaskExtensions.<>c__7`1.<SilenceException>b__7_0(Task t)
   at System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Infrastructure.VSTaskExtensions.<HandleAllExceptions>d__5.MoveNext()
---> (Inner Exception #0) System.InvalidOperationException: Cannot access child value on Newtonsoft.Json.Linq.JValue.
   at Newtonsoft.Json.Linq.JToken.get_Item(Object key)
   at Newtonsoft.Json.Linq.JToken.Value[T](Object key)
   at Microsoft.PythonTools.Interpreter.CondaPackageManager.<>c.<CacheInstalledPackagesAsync>b__58_0(JToken j)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Microsoft.PythonTools.Interpreter.CondaPackageManager.<CacheInstalledPackagesAsync>d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Interpreter.CondaPackageManager.<GetInstalledPackagesAsync>d__63.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.PythonTools.Project.Interpr

Thanks for the report!

Hi @MMeketon would it be possible to provide us your package list results by running this command? That's the json we're having trouble to parse, and I'm not clear on what could be triggering the error.
You can email it to ptvshelp at microsoft.com if you prefer.
conda list --json
or
conda list -p "c:\path\to\conda\env" --json
(if it's not the root conda env)
conda.exe is in your root conda env's scripts subfolder
Thanks!

Oh, might as well include the results of conda -V too.

Anaconda 4.2.0 installs conda 4.2.9, which has a different json format. Workaround is to update conda. We'll need to handle this more gracefully.
I installed Anaconda 4.2.0 and was able to reproduce the exact error. The problem is that the json format is different on that old version. Thanks for your help!
Old format:
 [
  "_license-1.1-py35_1",
  "_nb_ext_conf-0.3.0-py35_0",
  "alabaster-0.7.9-py35_0",
  "anaconda-4.2.0-np111py35_0",
  "anaconda-clean-1.0.0-py35_0",
  "anaconda-client-1.5.1-py35_0",
  "anaconda-navigator-1.3.1-py35_0",
  "argcomplete-1.0.0-py35_1",
  "astroid-1.4.7-py35_0",
  "astropy-1.2.1-np111py35_0",
  "babel-2.3.4-py35_0",
  "backports-1.0-py35_0",
  "beautifulsoup4-4.5.1-py35_0",
  "bitarray-0.8.1-py35_1",
  "blaze-0.10.1-py35_0",

New format:
[
 {
   "base_url": null,
   "build_number": 0,
   "build_string": "py27h9111531_0",
   "channel": "defaults",
   "dist_name": "_ipyw_jlab_nb_ext_conf-0.1.0-py27h9111531_0",
   "name": "_ipyw_jlab_nb_ext_conf",
   "platform": null,
   "version": "0.1.0",
   "with_features_depends": null
 },
 {
   "base_url": null,
   "build_number": 0,
   "build_string": "py27h2cab13d_0",
   "channel": "defaults",
   "dist_name": "alabaster-0.7.10-py27h2cab13d_0",
   "name": "alabaster",
   "platform": null,
   "version": "0.7.10",
   "with_features_depends": null
 },


Ensure saved search API works

Ability to save a (JSON) saved search for a user, with an optional name.
Full API needed.

Closing - this issue seems to have been resolved in #64, #199. In principle API testing has already occurred. If there are any other issues we'll file more specific issues.


Issue #31. Limit Up-to-date and target resource logging to debug mode

To prevent console log from bloating in a project with large quantity of files: Up-to-date check for source resources and target resources logger has been changed to debug level.

Any chance of getting this merged? There are certain projects that use this plugin and the build log consists of several megabytes of logging caused by this.
One way to avoid this is to use mvn -q but this hides a lot of useful information from the build which is a bad trade-off.