bin files do not check if there are any changes to the source code

Describe the bug

Currently, scripts in the bin folder are used to run the server and CLI. However, these scripts only check if the jars are available in the target directory and then run the scripts. The issue with this is that given we are running in the source code, these scripts are expected to run on the latest version of the local source code. The user could've made local changes or pulled from github but would not see those changes being picked up by these scripts as they would use the last generated jars.
To Reproduce
Steps to reproduce the behavior:

Run bin/start-uc-server and then interrupt to shut it down.
Make some local changes (as test, maybe change the server art)
Run bin/start-uc-server again. You would not see your changes.

Expected behavior

Post local changes, the bin scripts should reflect those.
System [please complete the following information]:

OS: MacOS Sonoma 14.4.1

Additional context

I see several options, none of which seem perfect.
1. Check whether files have been modified

Implement a mechanism to check the last modification times of the source files. If any source file is newer than the last compiled JAR file, trigger a recompilation. This ensures that the scripts always run with the latest changes.

2. Compute hashes of all files and compare with previous state

Compute and store hashes of all relevant source files. Before running the scripts, compare the current hashes with the previously stored hashes. If there is any difference, trigger a recompilation. This method provides a robust way to detect any changes in the source files.

3. Add an explicit command argument to compile the code

Modify the scripts to accept an argument (e.g., --compile or --rebuild) that forces the recompilation of the source code. Users can explicitly use this argument to ensure that they are running the latest version of their local changes.

I find the first two approaches slow, so I am leaning towards the third approach. Perhaps someone has insights into common approaches or better alternatives to efficiently solve this problem?

Thanks, these are definitely viable, however, one more option I'd like to explore is if sbt handles this somehow? Like skipping tasks when there are no changes?


Flaky test failure: TestHTTPRouteValidationWebhook/a_valid_httproute_linked_to_a_managed_gateway_passes_validation

Related CI run: https://github.com/Kong/kubernetes-ingress-controller/runs/7468271143?check_suite_focus=true
=== RUN   TestHTTPRouteValidationWebhook/a_valid_httproute_linked_to_a_managed_gateway_passes_validation
time="2022-07-22T12:41:37Z" level=debug msg="parsing kubernetes objects into data-plane configuration"
time="2022-07-22T12:41:37Z" level=debug msg="sha a4503d4e40c18b1fc7e7597744015d7211c792682362f8e15b69ac65b2bcc332 has been reported"
time="2022-07-22T12:41:37Z" level=debug msg="no configuration change, skipping sync to kong"
time="2022-07-22T12:41:37Z" level=debug msg="no configuration change, skipping kubernetes object report"
2022/07/22 12:41:46 http: TLS handshake error from <IP_ADDRESS>:48436: read tcp <IP_ADDRESS>:49023-><IP_ADDRESS>:48436: i/o timeout
    httproute_webhook_test.go:145:
        	Error Trace:	/home/runner/work/kubernetes-ingress-controller/kubernetes-ingress-controller/test/integration/httproute_webhook_test.go:145
        	Error:      	Received unexpected error:
        	            	Internal error occurred: failed calling webhook "validations.kong.konghq.com": failed to call webhook: Post "[https://webhook-kong-validations-gateway.kong-system.svc:443/?timeout=10s](https://webhook-kong-validations-gateway.kong-system.svc/?timeout=10s)": context deadline exceeded
        	Test:       	TestHTTPRouteValidationWebhook/a_valid_httproute_linked_to_a_managed_gateway_passes_validation
=== RUN   TestHTTPRouteValidationWebhook/an_httproute_linked_to_a_non-existent_gateway_fails_validation

The same as #2760 .


tag known failures

Tags failures from CASSANDRA-11162.
Looks like we might not be able to do the TestClass.test_method = known_failure(**known_failure_args)(TestClass.test_method) thing. For one thing, because each instance of test_method is actually the same object, you might as well just decorate the test on the base class. Also, I got a kinda cryptic errorThe error I got when I tried to actually do this was kinda cryptic, though, so I could be wrong here. I didn't dig too far. @knifewine and @ptnapoleon, could you review, please, and try to think of a different solution?

I cannot think of a better thing to do? Discussion of merits on rewriting known_failure happened offline. +1

Yeah, rewriting known_failure would be pretty low-value at this point. We'll see how things go as-is. Should be fine, IMO.
Thanks for the review, merging.


feat:  add a token flag to pass in an auth token for API calls

This adds the token flag,  which allows a user to pass a auth token to the openshift rest client.
This also updates the Openshift Rest Client to the latest(5.1.0) which includes the token feature

Coverage increased (+0.005%) to 98.642% when pulling 33249d547a597bf920ca9a52dc64df233954ae4d on lholmquist:pass-auth-token-for-auth into e80e1d91d01b57850dafdb6a7d9d8e42a0f3807b on nodeshift:master.

Coverage increased (+0.005%) to 98.642% when pulling 33249d547a597bf920ca9a52dc64df233954ae4d on lholmquist:pass-auth-token-for-auth into e80e1d91d01b57850dafdb6a7d9d8e42a0f3807b on nodeshift:master.


Framework update + some upgrades

This is 95% a framework update PR, but there are some hack changes:

AutoRespawn was converted to a BasicHack. Also fixed a bug with instant-respawns that would respawn the player before their items dropped.

EventHandlerList was converted to a BasicHack. Also caches the results making it far less expensive to use, particularly in regards to tab complete. Though caching introduces issues with dynamically applied listeners. Maybe worth a discussion?

BuffSpanker was converted to a BasicHack.

PlayerRevive was converted to a BasicHack.

PlayerStatistics was converted to a BasicHack. Also some small command annotation fixes.

PhantomMenace was converted to a BasicHack. Also added the option to limit Phantom spawning to below a particular light level.

ShipOutOfLuck was converted to a BasicHack.

This also fixes AutoLoad issue (#40)

Nice work

Just to make sure, there are no config changes that need to go along with this, correct?


System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.Parameter name: length (in v3.0.267)

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

System Information

OS: [e.g. Windows 10 2004]
Game version [e.g. Stream, GOG and please include the CS]
Version of the editor: [e.g. 3.0.347]

Additional context
Please also attach a save file that exhibits the issue.

Can you please fill out the bug report form and attach a save file?

I ran into this issue too. It's easy to reproduce.
Create a new character.
Get the first weapon.
Add two item buffs to the weapon in the save editor.
It will crash the editor (or the game) when you try to load the save file.
I get this on the steam version of the game with version v3.0.267 of the editor.
svd_fmt_5_2.zip

Thanks for the save and the explanation of how to repro!
I'll fix it asap. Dang precedence rules.


Website: Ethereum Request for Comments Process

see discussions about this here https://ethereum-magicians.org/t/post-eip-erc-split-create-erc-1-an-erc-specific-version-of-eip-1/16301
Description:
This pull request introduces ERC-1, a foundational document that outlines the process for Ethereum Request for Comments (ERCs). The creation of ERC-1 is a significant step in formalizing the standards and procedures specific to ERCs, following the recent decision to separate ERCs from EIPs into two distinct repositories.
Key Highlights:

Adaptation of EIP-1: ERC-1 is heavily derived from EIP-1, with necessary modifications to cater specifically to ERCs. This includes changes in terminology, structure, and content to better align with the nature of ERCs.

Open Invitation for Collaboration: Recognizing the importance of ERC-1 to the Ethereum ecosystem, this PR is not just a submission but an open call for collaboration. The goal is to encourage broad participation from developers, contributors, and stakeholders to refine and enhance this foundational document.

Why This Matters:
The introduction of ERC-1 marks a pivotal moment in the evolution of Ethereum's standardization processes. It provides a clear, structured, and community-driven framework for proposing, discussing, and implementing ERCs. This is crucial for fostering innovation, interoperability, and consensus within the Ethereum ecosystem.
Call for Participation:
I invite and encourage participation from as many individuals and groups as possible. Your insights, expertise, and feedback are invaluable to ensuring that ERC-1 serves its purpose effectively and inclusively. Whether you're a developer, researcher, implementer, or an enthusiastic community member, your contribution can make a significant difference.
Please review the proposed ERC-1 document, share your thoughts, suggest improvements, and help shape the future of Ethereum Request for Comments.
Together, let's build a robust and collaborative framework for Ethereum's continuous improvement and innovation.

eip-review-bot changed the PR name unfortunately... I guess it is logical considering the fact i try to modify EIP-1.
The correct title for this PR would be : Introduction of ERC-1: Ethereum Request for Comments Process

Not sure why it's autodetecting it as website. Debugging now...

@eth-bot rerun

@eth-bot rerun


oauth2-redirect.html is absent when served by preview-docs command

Describe the bug
The client is getting a 404 error after running openapi preview-docs command and utilizing the Try it console.
To Reproduce
Steps to reproduce the behavior:

Open the definition file locally(ping me for details) and run openapi preview-docs -p 8081 openapi.yaml
Go to any endpoint and click the Try it button.
Click Authorize. You don't need to change a predefined Client ID
After that you'll need to authorize with credentials(ping me as well)
See the 404 errors message after entering the correct credentials.

@Oprysk tried to reproduce the issue directly in Reference docs but it's working fine there. Also, the issue is not reproducible in hosted docs(the same definition). Customer is using an oauth2 + implicit flow, and it seems like oauth2-redirect.html file is missing after performing the above steps, which brings the 404 error.
openapi-cli Version(s)
What version of openapi-cli are you using?
1.0.0-beta.79
Node.js Version(s)
What version of node.js are you using?
v16.13.1
Additional context
Reported here:
https://app.crisp.chat/website/a4d2dd27-7665-4213-b5b0-864b6fe69e31/inbox/session_5009d514-bdbd-43d9-a29c-3f5807c2cd62/

Closing this issue as it is already resolved


Class allow declare the same public var twice

Hi,
I just found that I can declare the same var twice and App was compiling without problem.
I put public var wip:Boolean; twice in the same Value Object AS3 class. If I use it somewhere I get "Ambiguous reference to wip" error

With the following code, I get an error:
package com.example
{
	public class MyClass
	{
		public function MyClass()
		{
		}

		public var wip:Boolean;
		public var wip:Boolean;
	}
}

The error:

A conflict exists with definition test in namespace public.

Hi Josh,
I still can reproduce this problem. You can reproduce in the following project: https://github.com/codeoscopic/avant2-website
If you go to:
https://github.com/codeoscopic/avant2-website/blob/b6226bfb25bcac8b6856951ea6d95927aac61ce4/avant2-products-companies/src/main/royale/com/codeoscopic/avant/vos/Product.as
and duplicate the line : public var wip:Boolean;and compile you'll get:
[INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) @ avant2-products-companies ---
[INFO] Executing MXMLC in tool group Royale with args: [-load-config=/Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/target/compile-app-config.xml, -js-default-initializers=true, -source-map=true, -compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css, -keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient, -keep-code-with-metadata=Inject, -js-dynamic-access-unknown-members=true, -js-output=/Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/target/javascript, -compiler.targets=JSRoyale, /Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/src/main/royale/App.mxml]
can't get watcher for
/Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/src/main/royale/com/codeoscopic/avant/controllers/CompanyController.as(164): col: 15 Error: Ambiguous reference to wip

                                                product.wip = true;
                                                        ^

/Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/src/main/royale/com/codeoscopic/avant/renderers/ProductDataContainerItemRenderer.mxml(51): col: 76 Error: Ambiguous reference to wip

    <js:FontAwesomeIcon text="{FontAwesome5IconType.COG}" visible="{product.wip}"
                                                                           ^

/Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/src/main/royale/com/codeoscopic/avant/renderers/TableCollectionPropertyItemRenderer.mxml(53): col: 49 Error: Ambiguous reference to wip

                        if(!wipExist && product.wip)
                                                ^

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.484 s
[INFO] Finished at: 2020-08-18T10:55:20+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.royale.compiler:royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) on project avant2-products-companies: There were errors during the build. Got return code 3 -> [Help 1]

I can reproduce with your class. It appears that the issue is caused by [Bindable]. When I remove it from the class, I get the expected "A conflict exists with definition wip in namespace public." error.

cool :)


How to pass STOP to the rearrange task

Habitat-Lab and Habitat-Sim versions
Habitat-Lab: master
Habitat-Sim: master
❓ Questions and Help
According to the paper, the STOP action is needed to end the episode and get the success reward in the rearrange task. However, the task action space accepts only ARM_ACTION with kwargs 'arm_action' and 'grip_action'. I tried passing STOP in many ways, but I always get an error.
How do I tell the agent to STOP?

In the Habitat 2.0 paper, each skill had a custom termination condition. For example, for the Pick skill this was based on if the end-effector was at the resting position with an object grasped. However, the stop discrete action can easily be added to the action space through the POSSIBLE_ACTIONS key in the task config (example).
The hab_suite branch now contains most of the functionality from the paper and we are slowly merging this into main. We made this tutorial to help get started with Habitat 2.0.
Please let me know if you have any more questions!

@ASzot
Thanks for your reply, I will check the tutorial!
Just to double check: the task does not require STOP to terminate, right?
The YAMLs I see all only have ARM_ACTION in POSSIBLE_ACTIONS, and this does not allow to pass STOP. Also, the nav task explicitly checks for STOP, while the rearrange task does not.
Yet, the paper says that STOP is required.

Success: The agent is within 0.3 meters of the goal, 0.5 radians of the target angle, and has called
the stop action at the current time step.

Am I missing something in the code, or does the paper has just some "wrong wording"?
Thanks!

@ASzot
Thanks for your reply, I will check the tutorial!
I think I also got confused because the paper says that only 'Navigate' --and not any 'Rearrange'-- needs STOP to terminate.


handle #[pyo3(from_py_with = "")] in #[setter] methods

Fixes #3992
Handle the #[pyo3(from_py_with = "")] attribute in #[setter] methods instead of silently ignoring it.

Thanks for the quick fix @Icxolu!


Fix/image links in helm readme

Fix broken links in both the Readme.md and README.md.gotmpl for the high level architecture overview.

Ah good catch, thank you for the fix 🙌


Nextra POC

Switch from gitbook to Nextra and migrate .md content.

Would solve https://github.com/safe-global/safe-docs/issues/294 & https://github.com/safe-global/safe-docs/issues/287

@tanay1337 Do you have any idea why the other checks (vale, link checkers) are not run anymore now that we have a deployment script?


RemoteMMCore signal breaks if calling mmcore method in callback

I was working on updating napari-micromangaer to the new callback system an noticed that I wasn't able to get past loading a config. Tracking it down it looks like something goes wrong when you call a core method from inside a callback:
from pymmcore_plus import RemoteMMCore
class blah_blah:
    def __init__(self, cfg='demo_config.cfg'):
        self._core = RemoteMMCore()
        self._core.systemConfigurationLoaded.connect(self._loaded)
        self._core.loadSystemConfiguration(cfg)

    def _loaded(self):
        print('pre camera')
        cam_device = self._core.getCameraDevice()
        print("got camera")

(Above is a pared down version of what breaks in napari-micromanger) And it's not specific to this method for example it also breaks with  self._core.getXYPosition()
2021-07-12 16:56:13.981 | DEBUG    | pymmcore_plus.client._client:ensure_server_running:161 - No server found, creating new mmcore server

here

---------------------------------------------------------------------------
ConnectionClosedError                     Traceback (most recent call last)
<ipython-input-5-23efa5e7068a> in <module>
      2
      3 # mmcore = RemoteMMCore(verbose=True)
----> 4 blah = blah_blah()

<ipython-input-4-69f3e1643c9a> in __init__(self, cfg)
      3         self._core = RemoteMMCore()
      4         self._core.systemConfigurationLoaded.connect(self._loaded)
----> 5         self._core.loadSystemConfiguration(cfg)
      6
      7     def _loaded(self):

~/mambaforge/envs/micro/lib/python3.8/site-packages/Pyro5/client.py in __call__(self, *args, **kwargs)
    474         for attempt in range(self.__max_retries + 1):
    475             try:
--> 476                 return self.__send(self.__name, args, kwargs)
    477             except (errors.ConnectionClosedError, errors.TimeoutError):
    478                 # only retry for recoverable network errors

~/mambaforge/envs/micro/lib/python3.8/site-packages/Pyro5/client.py in _pyroInvoke(self, methodname, vargs, kwargs, flags, objectId)
    222                 return None  # oneway call, no response data
    223             else:
--> 224                 msg = protocol.recv_stub(self._pyroConnection, [protocol.MSG_RESULT])
    225                 if config.LOGWIRE:
    226                     protocol.log_wiredata(log, "proxy wiredata received", msg)

~/mambaforge/envs/micro/lib/python3.8/site-packages/Pyro5/protocol.py in recv_stub(connection, accepted_msgtypes)
    187     """
    188     # TODO decouple i/o from actual protocol logic, so that the protocol can be easily unit tested
--> 189     header = connection.recv(6)  # 'PYRO' + 2 bytes protocol version
    190     ReceivingMessage.validate(header)
    191     header += connection.recv(_header_size - 6)

~/mambaforge/envs/micro/lib/python3.8/site-packages/Pyro5/socketutil.py in recv(self, size)
    433
    434     def recv(self, size: int) -> bytes:
--> 435         return receive_data(self.sock, size)
    436
    437     def close(self) -> None:

~/mambaforge/envs/micro/lib/python3.8/site-packages/Pyro5/socketutil.py in receive_data(sock, size)
    157                     err = ConnectionClosedError("receiving: not enough data")
    158                     err.partialData = data  # store the message that was received until now
--> 159                     raise err
    160                 return data  # yay, complete
    161             except socket.timeout:

ConnectionClosedError: receiving: not enough data

thanks @ianhi, this is helpful, and concerning... i wonder if I might need to undo some of #14 ...
in any case, now is as good as any to get the test coverage way up before we start extending.  I'll look into this, and let me know if you come across any additional insights

reading around I think https://pyro5.readthedocs.io/en/latest/clientcode.html#pyro-callbacks may hold the promise of a solution

yeah, unfortunately that didn't do it.  played with it last night.  I just need to go back and look closer at how I implemented it before the changeover

I wonder if this is stretching the bounds of pyro5 a little bit? Even in it's callback examples there is no example of the client callback calling the server again in it's callback. (although that it was working before pysygnal implies hope)

(although that it was working before pysygnal implies hope)

yep, I think I just can't make it the same object... before, there was a completely independent local object that was managing the callbacks...

ok, turns it worked before because the callback object was a QObject, and is now a plain python object with psygnals.  If I rollback to v0.1.0 everything works with QCoreCallback, but then if I make an identical object using psygnal, it doesn't work:
from psygnal import Signal

class PsygnalCallback:
    propertiesChanged = Signal()
    propertyChanged = Signal(str, str, object)
    channelGroupChanged = Signal(str)
    configGroupChanged = Signal(str, str)
    systemConfigurationLoaded = Signal()
    pixelSizeChanged = Signal(float)
    pixelSizeAffineChanged = Signal(float, float, float, float, float, float)
    stagePositionChanged = Signal(str, float)
    XYStagePositionChanged = Signal(str, float, float)
    exposureChanged = Signal(str, float)
    SLMExposureChanged = Signal(str, float)
    MDAFrameReady = Signal(object, object)
    MDAStarted = Signal(object)
    MDACanceled = Signal()
    MDAPauseToggled = Signal(bool)
    MDAFinished = Signal(object)

    def receive_core_callback(self, signal_name, args):
        if signal_name.startswith("on"):
            signal_name = signal_name[2:]
        if not signal_name[1].isupper():
            signal_name = signal_name[0].lower() + signal_name[1:]
        # let it throw an exception.
        getattr(self, signal_name).emit(*args)

This probably has something to do with the way callbacks are in Qt (which isn't always  an immediate synchronous callback... like psygnal's).  I don't think it's stretching the bounds of Pyro5, but concurrency is always hard, so we just need to figure out to let the call to self._core.loadSystemConfiguration(cfg) (which pyro treats as synchronous by default) receive the full response from the server before the stream is interrupted by another call to the server.

another note to self:
this works:
    core = RemoteMMCore()

    @core.systemConfigurationLoaded.connect
    def _cb():
        with RemoteMMCore() as _core:  # this is fine, it connects to the same core
            print("device is", _core.getCameraDevice())

    core.loadSystemConfiguration()

but this doesn't
    core = RemoteMMCore()

    @core.systemConfigurationLoaded.connect
    def _cb():
        # core is busy calling `loadSystemConfiguration`
        print("device is", core.getCameraDevice())

    core.loadSystemConfiguration()

This is definitely an interesting challenge, but probably not high enough priority for me at the moment (given that we have a satisfactory workaround by using Qt).  So, putting some general thoughts here for myself or whoever picks this up:

An important rule about pyro Proxies is that you cannot share Proxy objects among threads. One single thread ‘owns’ a proxy. It is possible to explicitly transfer ownership to another thread (using _pyroClaimOwnership)
As encouraged in the pyro callbacks docs RemoteMMCore proxy creates a new thread for the callback object.
The problem comes when a callback in the callback thread tries to directly call a method on the remote core object. @core.events.systemConfigurationLoaded.connect
 def cb():
     core.someMethod()  # problem
 core.loadSystemConfiguration()

In a synchronous scenario, this is a problem because the remote proxy hasn't finished receiving bytes from the  loadSystemConfiguration at the moment someMethod is called.   This leads to the Pyro5.errors.ConnectionClosedError: receiving: not enough data error observed above.
Qt signals solves this by doing smart things behind the scenes with Direct vs Queued connections (such that it effectively queues the callback for when the loadSystemConfiguration call has finished.
We can "simulate" that a little bit with the non-Qt psygnal based callback object by using .emit(..., asynchronous=True) and using some threading.Lock or threading.Condition to handle the queuing behavior.  When I do that, I get around the not enough data error... but then I run into the typical pyro error of Pyro5.errors.PyroError: the calling thread is not the owner of this proxy, create a new proxy in this thread or transfer ownership. ... and I haven't yet found the correct place to "claim ownership" of the proxy to get around this.
what's not clear to me is why the Qt queued connection case doesn't also run into this issue, since according to the Qt docs "The_ slot is invoked when control returns to the event loop of the receiver's thread. The slot is executed in the receiver's thread."  So it seems like it should be violating the first rule mentioned above.

I'm sure there's a solution here somewhere that doesn't involve using Qt at all.  It's possible there may be some features that could be added upstream at psygnal, or perhaps it needs to be special cased here..
I'd like a clean end-user API to be the ultimate goal here (that is: ideally the remote client will be a strict drop-in replacement for the synchronous use case).
for the case of napari-micromanager, we'll just keep using the Qt system, which is added back in #19

I believe this is fixed now - and also soon to be obsolete by way of threads! (although the requirement of qt remains)


Provide option to manage container snapshots

We need to enable user to manage container snapshots via Console UI

How to test:

Create environment
Go to Environment->Containers section and click Manage snapshots button next to container
,
a dialog will open

3.Select a partition, enter a snapshot name and click Add
Result: a snapshot must be created:

In a similar manner, test removal of snapshots

Followed the steps described above^^

After selecting rollback option, the created file did not absent

Test removal successfully tested

Rollback option tested as well

Implemented in master

How to test:

Create environment

Go to Environment->Containers section and click Manage snapshots button next to a container
,
a dialog will open

(to be continued)

Followed the steps described above^^

First test case passed successfully
Only one thing made me confused
I did not type a name for snapshot and clicked add. There was created a snapshot "undefined" by default. (Is it correct behavior? ) I wanted to cancel that creation but there no any option to cancel.

Where I can select a partition for snapshots ?

@kurmanbekova6
9. now partition selection is not possible
I will check the empty snapshot name

@kurmanbekova6 please retest

Now we can't add a snapshot if snapshot's name is empty

Fixed in master

Can you unsubscribe me, me please?

On Mar 11, 2019, at 12:16 AM, Aiperi<EMAIL_ADDRESS>wrote:
Now we can't add a snapshot if snapshot's name is empty
https://user-images.githubusercontent.com/9501291/54098126-5edebd80-43dd-11e9-8508-a780b2c6957c.png
https://user-images.githubusercontent.com/9501291/54098127-5edebd80-43dd-11e9-929e-cb1868775733.png
Fixed in master
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/subutai-io/peer-os/issues/2804#issuecomment-471390868, or mute the thread https://github.com/notifications/unsubscribe-auth/AHcMresJXUiSXwaa5pzvY3vKYtttqD3Uks5vVcqGgaJpZM4bEXAC.

@fernandoted you can do it yourself by clicking


Run clang format on recent changes

Description
Applied clang formatting.
Primary reviewers
I added everyone who last changed these files for you to check if your clang-format runs when making new commits. Please note that the way it currently works, the formatting changes will be in the unstaged diff after your commit, so you need to amend your commit, or add them in a new commit.

I think the easiest way to avoid this is just to set-up the clang formatting in VS/other IDE.
We maybe should put that setup somewhere more visible.

@mironec that should work as long as you don't also work with a project that has its own clang formatting (that may be different from the GDK one)


OP Ability InstaKill and spell resistance

I'm not submitting this as a bug (yet) because I'm not sure if it's a side effect of gestalting or otherwise intended, but I've got CL 3 and Spell Pen 3

But whenever I'm using the InstaKill ability it only ever gives me a +1 to overcome spell resistance

I haven't tried throwing any of the spell pen feats on yet, but this definitely undercuts the ability's efficacy when 80% of the enemies in this game have SR higher than 15. It basically only works on humans and the occasional dretch.

That -1CL thing is weird but I feel like it's almost a standard for programming to have default exceptions specifically for stuff like this. "I don't wanna rebuild the calculation here, make it refer to the one that exists" sorta? I haven't learned a drop of code since high school.
I haven't really used the ability before (usually stick with unlimited power/infinite carry weight and as many free metamagics as I can get) so it was strange but not entirely unnerving to see, good to know it was in fact a bug and I am not losing it.


Rename to fused-effects

This PR renames the package to fused-effects, as discussed in #11.

I’ve already renamed the repo, so merging.


Normalizing spectrograms

As far as I know, the result of log1p(x) can be negative. You use this function to 'normalize' the spectrograms of target accompaniment and vocals and then use the difference between network outputs and these spectrograms in your loss function. However, network outputs after ReLU can't be negative.
I see the paper and I realize that it must work, so what do I miss? Please help me

In general yes, log1p(x) can be negative, and then we would have problems. But in our case, x is the magnitude (energy) of the spectrogram at a given time and frequency, which is always at least 0. Therefore log(x+1) >= log(1) = 0, and the result is also always at least 0.
This allows us to use a ReLU function for the generator output.

Thank you so much for the answer!


Failed to call open() when debug session restarted

linked issue:
https://github.com/ray-x/go.nvim/issues/278
Stack trace
Error executing Lua callback: ...ck/packer/start/nvim-dap-ui/lua/dapui/windows/layout.lua:37: Invalid buffer id: 4
stack traceback:
        [C]: in function 'nvim_set_current_buf'
        ...ck/packer/start/nvim-dap-ui/lua/dapui/windows/layout.lua:37: in function 'open'
        ...im/site/pack/packer/start/nvim-dap-ui/lua/dapui/init.lua:354: in function 'cb'
        ...im/site/pack/packer/start/nvim-dap-ui/lua/dapui/init.lua:280: in function 'keep_cmdheight'
        ...im/site/pack/packer/start/nvim-dap-ui/lua/dapui/init.lua:332: in function 'open'
        ...share/nvim/site/pack/packer/start/go.nvim/lua/go/dap.lua:358: in function 'run'

The issue happened from version d608b7628aeafa36cf5e3439def832e9789b7ff8
It works fine for the first debug session.  When debug session stop, I will call require'dapui'.close()
When I start debug session next time. As all layout is_open() are false, I will call open() again. And at that time I saw above errors.
Also when stop, there are warnings:
Rendering failed: .../packer/opt/nvim-dap-ui/lua/dapui/components/threads.lua:63: attempt to index field 'session' (a nil value)
stack traceback:
	...nvim/site/pack/packer/opt/nvim-dap-ui/lua/dapui/util.lua:17: in function '__index'
	.../packer/opt/nvim-dap-ui/lua/dapui/components/threads.lua:63: in function 'render'
	...ack/packer/opt/nvim-dap-ui/lua/dapui/elements/stacks.lua:31: in function 'render'
	...ack/packer/opt/nvim-dap-ui/lua/dapui/elements/stacks.lua:19: in function <...ack/packer/opt/nvim-dap-ui/lua/dapui/elements/stacks.lua:18>
	[C]: in function 'xpcall'
	...nvim/site/pack/packer/opt/nvim-dap-ui/lua/dapui/util.lua:16: in function <...nvim/site/pack/packer/opt/nvim-dap-ui/lua/dapui/util.lua:12>

Please comment if I needed to pass in specific arguments to open() and close(). Thanks!

I've put in a fix for the failed rendering warning, but couldn't reproduce the first issue. Can you try with the latest commits and check again? If there is still an issue I'll need a minimal init.lua to reproduce

Thanks, the warnings were gone. But still failed to open dapui()
to reproduce, here is a minium vimrc:
https://github.com/ray-x/go.nvim/blob/master/playground/init.lua
go.nvim will wrap dap/dapui
So you need to open a simple go source file, e.g
https://github.com/ray-x/go.nvim/blob/master/playground/sampleApp/main.go
nvim -u ../init.lua  main.go
Set break with : GoBreakToggle
Start debug: GoDebug
Stop debug: GoDebug -s
Restart debug: GoDebug
And you should see the errors.

FYI: I did experience the second warning. Thanks for the report.

Thanks for the reproduction! The issue was caused by go.nvim closing the REPL without using the toggle mode, which deletes the buffer. This is now handled in the latest commit :smile:

Thanks, new version fixed the issue.


Legends in vizjson3

Adds legends to VizJSON 3
cc/ @nobuti

Please CR @juanignaciosl

Have another look @juanignaciosl !
I changed the method naming, added a method on layer and added a test to check that the prorogation happens.

@gfiorav we have a problem, cartodb.js doesn't expect attributes nested in definition, see https://github.com/CartoDB/cartodb.js/pull/1401, could we move all legends attributes to the same level?

I think it's a bad idea honestly.
Definitions can vary widely. Not nesting them complicates everything and makes validations a nightmare.
If you can, flatten them out in the front when you send the to cartodbjs, and let's have the comms between back and front nested.
I'd heartily advice we change CartoDB.js to support that ASAP.

Question... is definition the new options?

😂
The idea is to avoid just that. These definitions are validated again schemas in lib/formats/legends. It won't accept an extra property, a missing property or property with the wrong type. I even had to relax it so it would accept uppercase in color codes haha
@nobuti meant the vizjson, so it's a bit more reasonable

The idea is to avoid just that. These definitions are validated again schemas in lib/formats/legends. It won't accept an extra property, a missing property or property with the wrong type. I even had to relax it so it would accept uppercase in color codes haha

It looks like the same thing to me... The only difference (to me) is that we're validating the JSON before serialising it... But IMHO, it introduces some "inconsistencies" in the viz.json: some concepts use options and some are now using definition... Don't you think?

@nobuti was suggesting "flattening" the "definition" in the vizjson. Instead of:
legends: [
  {
    ...
    definition: {
      color: '#FABADA'
    }
    ...
  }
]

we could have:
legends: [
  {
    ...
    color: '#FABADA'
    ...
  }
]

Wouldn't we only need to change the way we're "presenting" legends?

Yup, @nobuti is proposing a change int he vizjson presentation, that's what I said.
I don't really think options applies here: an option is something that might be there or not. It's optional.
What we have here is a lot of common attributes for layers that go on one level: title, type, layer_id, pre_html, post_html and definition. A definition is defining what a given legend looks like. It's not an option and it's certainly not optional. Something that is telling you how the definition is, shouldn't live outside the definition. The color of a bubble legend shouldn't be at the same level as the layer_id or pre_html IMO.
That being said, we can flatten the definition for sure, but it's unnatural to what is modelled in the back end and (arguably) what is natural to a legend.

Yes, my comment was kind of a joke, kind of a question... Sorry for not being clear!
I totally agree that is not being used options correctly. But, it's the "pattern" we're using for other concepts. Eg: CartoDB layers have an options.sql option, which is in fact required... What I'm saying here is... should we introduce a new "pattern" (flattening everything or using definition are both new patterns...) or should we stick to the existing pattern?

If you want to grab a piece of the vizjson, flatten it to make a cartodbjs model work, that's ok. Making vizjson messy is not ok. Let's keep vizjson readable and predictable by not tying it to a specific implementation. That's how I feel about it anyway!

It's not a big deal for me to adapt to the viz.json that you're suggesting. We both share the same motivations: I'd like to have a viz.json that makes sense for whoever reads it, and having options or definition makes it a bit more complicated IMO... But as you said, that's just my personal preference...

hey @juanignaciosl I refactor the as_vizjson method so you better take a look!
Thanks!

Talked to @gfiorav about this via slack. We won't change this for the time being 😄

Please @juanignaciosl have a final look!


Hi

ok
On Tue, Dec 15, 2020 at 8:50 AM sandersg1<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/issues/5221,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPKKQEFXVSCV4ANO3QOPGLSU26GTANCNFSM4U3TINDA
.

Closing this as spam/junk.


update config files from asterix-specs

This pull request is split into individual commits, for easy review:

xml config files update script
updated files (new editions)
updated files (existing editions)

The script was prepared and tested some time ago with the related 'asterix' project. Since this project uses the same xml structure, it could as well benefit from automatic config file conversion.

@zoranbosnjak This is great, it really improves the utility of this project.
Related to the original licensing discussion, it appears that asterixjson2xml.py and update-specs.py are sourced from the asterix project - asterixjson2xml.py, update-specs.py with only minor modifications.  Since the asterix project is licensed under the GPL and this is an MIT licensed project, I'm not sure @filipjonckers will want it directly sourced in this project.
Something of note as well: I think this pull request would address issue #5 and address @bernad1's request in issue #4.  Perhaps @[bdonu] can add an ast file with CAT030 to resolve his issue as well.

Hi, any updates on this?


Calling stored procedures with variables and then selecting causes parsing errors from MySQL side?

I used a simple calcUserRep procedure with user_id In parameter and reputation Out parameter.
The code in service.ts is also very straightforward, it takes string from dto and runs it as query:
async postSql(dto: SqlPost): Promise<string> {
    const data = await this.connection.query(dto.query);
    return JSON.stringify(Object.assign([{}], data));
  }

However, a single query with CALL and SELECT operators throws error in MySQL:
The query: CALL calcUserRep(1, @rep); SELECT @rep;
The error: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT @rep' at line 1
Inside MySQL Workbench under the same user the query works perfectly.
I also tried running two separate this.connection.query() methods, but seems like MySQL doesn't remember variables between the two.
Is this made by design or this is a bug? And how I can workaround this?
My software: nestjs-mysql 0.0.14, nest 10.3.8

Figured out the method with two queries doesn't works because of queries going asynchronously where SELECT @rep; gets done before CALL calcUserRep(1, @rep);
But it still doesn't explain why it doesn't accept both of them in one query string

Can you create minimal reproduction in a cloneable git repository?

Just made one here https://github.com/fagirton/nest-mysql-procedures-multiline-bug
The problem still happens there. I ran CALL getString('test', @test); SELECT @test; and it returned a 500 with an error inside nest: ERROR [ExceptionsHandler] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT @test' at line 1

I checked the repository, you have to add the SQL otherwise it gives error, at this point here:
https://github.com/fagirton/nest-mysql-procedures-multiline-bug/blob/main/src/app.service.ts#L11
for example:
  async runQuery(dto: dtoQuery) {
    const data = await this.connection.query('SELECT * FROM table_name', [dto.query]);
    return JSON.stringify(Object.assign([{}], data));
  }

Here you can find an example tutorial if you find it useful: https://dev.to/tony133/mysql-module-for-nestjs-8x-framework-5gh9.
My package is a wrapper of the mysql2 package, I created it to understand how dynamic modules work with Nest.
You can also just use the mysql2 package if it's easier for you 🙂


Login browser appears again after successfully login on Xamarin Forms (Android)

Issue Report
Description
When the login is successful and then the app is close using Phone back button, the login browser appears again (Auth0.OidcClient.AndroidX v3.2.4).
Expected behaviour
Close the login browser so that when pressing the Phone back button, the browser doesn't appear again.
Actual behaviour
The login browser appears again after pressing the Phone back button.
Steps to reproduce the problem

Use the Auth0 Xamarin sample here or create a project following these steps.
Log in with valid valid credentials.
Press the phone back button on the bottom.
The login browser appears again.

Language / Framework Versions

Language used: C#
Framework used: Xamarin forms (v<IP_ADDRESS>7)

Testing environment

Operating system: Windows 10
Browser version: Samsung A11 (Android 11) - Genymotion Custom Phone (Android 8)

I have the same issue! >=(

This should be solved through https://github.com/auth0/auth0-oidc-client-net/pull/243.
Even though we are still looking in improving it, it should solve the issue mentioned here.


Doesn't include depends

I want to be able to include other packages. Installing one package to install several other packages, like a LAMP stack. I want it to include a few other packages, irssi for example.

no update at this time.

This is done in the . but it's not a depend.. it's a requires, then require. so...

....
...

irssi

closing ticket.


FEAT: URL input and share

What's Changed

Implemented URL feature for algorithm navigation and parameter input.
Implemented share feature for generating URL of the current algorithm page.
Included relevant example usage and code implementation guidelines under docs: URL-Code-Implementation-Guideline-20241004.pdf.

Screenshots

Checklist

[x] Verified on desktop

How to Test

Clone the repository and run npm install.
Start the server and frontend with npm start.
Copy URL of the current algorithm page using the share icon button located on top-left of the mid panel.
Paste URL into a new browser to navigate to the corresponding algorithm page with parameters.

Vercel Deployment

Live Preview

@Sraccity Ready for review. Resolved conflicts, updated features guideline and prettified commit message. Let us know any further steps needed! :) Thanks.

Kudo: Congrats on your PR
@MelanieH7 @MaryHuang8 @MinniMinMin

Kudo: Congrats on your PR @MelanieH7 @MaryHuang8 @MinniMinMin

🥳🥳🥳
Thanks @Sraccity! 🫡👍


Notebook list multi select doesn't select markdown cell

          I'm unsure if what I'm seeing is expected:

GitHub Issue Notebooks

Jupyter Notebook (Python cells only)

Jupyter Notebook (including rendered Markdown cells)

For the last scenario, I selected a top cell first, and then shift-clicked a bottom cell.
Originally posted by @rzhao271 in https://github.com/microsoft/vscode/issues/184434#issuecomment-1613730362

No longer reproducible.


[e2e]: container-based schedule main gcp-workload-identity slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/10650509624
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container-based.schedule.main.gcp-workload-identity.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container-based.schedule.main.gcp-workload-identity.slsa3.yml
Trigger: schedule
Branch: main
Date: Sun Sep  1 03:10:50 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/10650525391
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container-based.schedule.main.gcp-workload-identity.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container-based.schedule.main.gcp-workload-identity.slsa3.yml
Trigger: schedule
Branch: main
Date: Sun Sep  1 03:15:59 UTC 2024
Tests are passing now. Closing this issue.


1.24/candidate Non-leader units fail to join

This issue was only seen on 1.24/candidate, not on 1.23.
When deploy the microk8s charm, only the leader comes up:
Unit         Workload  Agent  Machine  Public address  Ports                     Message
microk8s/0*  active    idle   0        <IP_ADDRESS>  80/tcp,443/tcp,16443/tcp
microk8s/1   blocked   idle   1        <IP_ADDRESS>  80/tcp,443/tcp,16443/tcp  join failed, will try again
microk8s/2   blocked   idle   2        <IP_ADDRESS>  80/tcp,443/tcp,16443/tcp  join failed, will try again

In the juju debug-log, we see a number of errors:
ERROR unit.microk8s/1.juju-log Failed to get coredns configmap!  kubectl said: b'Error from server (NotFound): configmaps "coredns" not found\n'
DEBUG unit.microk8s/1.update-status Joining cluster failed. Could not verify the identity of <IP_ADDRESS>. Use '--skip-verify' to skip server certificate check.
ERROR unit.microk8s/1.juju-log Failed to join cluster; deferring to try again later.

I assume that means that the other units are not getting certificates.
inspection-report
juju-crashdump

Hi @Basdbruijne, thank you for reporting the issue.
This appears related to a known issue that may occur sometimes, where the cluster agent service is serving TLS traffic with an outdated certificate. Unfortunately, this situation happens frequently when deploying the MicroK8s charm. This is on our radar and we are working on a fix.
In the meantime, you can try deploying the MicroK8s charm from the edge channel like so:
juju deploy microk8s --channel edge --config channel=1.24/candidate --config skip_verify=true -n 3

Thanks @neoaggelos, the edge channel works as expected.

I am having the same issue. I am deploying microk8s on openstack with the following:
juju deploy microk8s -n 3 --revision 28 --channel stable --series jammy --constraints 'cores=2 mem=4G'
Is there anything I am doing wrong?
Thank you!
error.log

@adelorenzo-portainer I am unable to reproduce the issue with revision 28. Does it happen consistently? Still, would be useful to look into it if it happens frequently enough. Also, does:
juju config microk8s skip_verify=true

perhaps solve your issue?

unfortunately, it did not fix the issue. I noticed that the problem happens when I am using an openstack/microstack cloud. It works ok on a localhost cloud.

ok, so I managed to find a way to have the nodes join the cluster. I logged in on each of them and added the IPs/hostnames to the /etc/hosts.
this is quite strange, given I started the juju deploy with the --config manage_etc_hosts=true option. I hope this helps.

Still seems to be broken for me. I started this with: juju deploy microk8s -n 3 --revision 28 --channel stable --series jammy --constraints 'cores=2 mem=4G' --config skip_verify=true
Here's the current status:
App       Version  Status   Scale  Charm     Channel  Rev  Exposed  Message
microk8s           blocked      3  microk8s  stable    28  no       join failed, will try again

Unit         Workload  Agent  Machine  Public address  Ports                     Message
microk8s/4   blocked   idle   11       x.x.x.217   80/tcp,443/tcp,16443/tcp  join failed, will try again
microk8s/5   blocked   idle   12       x.x.x.162   80/tcp,443/tcp,16443/tcp  join failed, will try again
microk8s/6*  active    idle   13       x.x.x.49    80/tcp,443/tcp,16443/tcp

and the debug-log:
unit-microk8s-4: 14:30:16 INFO juju.worker.uniter found queued "start" hook
unit-microk8s-4: 14:30:16 INFO unit.microk8s/4.juju-log Running legacy hooks/start.
unit-microk8s-5: 14:30:17 ERROR unit.microk8s/5.juju-log cluster:6: Failed to join cluster; deferring to try again later.
unit-microk8s-5: 14:30:18 INFO juju.worker.uniter.operation ran "cluster-relation-changed" hook (via hook dispatching script: dispatch)
unit-microk8s-5: 14:30:19 ERROR unit.microk8s/5.juju-log cluster:6: Failed to get coredns configmap!  kubectl said: b'Error from server (NotFound): configmaps "coredns" not found\n'
unit-microk8s-4: 14:30:19 ERROR unit.microk8s/4.juju-log Failed to get coredns configmap!  kubectl said: b'Error from server (NotFound): configmaps "coredns" not found\n'
unit-microk8s-4: 14:30:20 INFO juju.worker.uniter.operation ran "start" hook (via hook dispatching script: dispatch)
unit-microk8s-5: 14:30:20 ERROR unit.microk8s/5.juju-log cluster:6: Failed to join cluster; deferring to try again later.
unit-microk8s-5: 14:30:22 ERROR unit.microk8s/5.juju-log cluster:6: Failed to join cluster; deferring to try again later.
unit-microk8s-4: 14:30:22 ERROR unit.microk8s/4.juju-log cluster:6: Failed to get coredns configmap!  kubectl said: b'Error from server (NotFound): configmaps "coredns" not found\n'
unit-microk8s-4: 14:30:23 ERROR unit.microk8s/4.juju-log cluster:6: Failed to join cluster; deferring to try again later.
unit-microk8s-5: 14:30:23 ERROR unit.microk8s/5.juju-log cluster:6: Failed to join cluster; deferring to try again later.
unit-microk8s-4: 14:30:24 INFO juju.worker.uniter.operation ran "cluster-relation-changed" hook (via hook dispatching script: dispatch)
unit-microk8s-4: 14:30:25 ERROR unit.microk8s/4.juju-log cluster:6: Failed to get coredns configmap!  kubectl said: b'Error from server (NotFound): configmaps "coredns" not found\n'
unit-microk8s-5: 14:30:26 ERROR unit.microk8s/5.juju-log cluster:6: Failed to join cluster; deferring to try again later.
unit-microk8s-5: 14:30:26 INFO juju.worker.uniter.operation ran "cluster-relation-changed" hook (via hook dispatching script: dispatch)
unit-microk8s-4: 14:30:27 ERROR unit.microk8s/4.juju-log cluster:6: Failed to join cluster; deferring to try again later.
unit-microk8s-4: 14:30:28 INFO juju.worker.uniter.operation ran "cluster-relation-joined" hook (via hook dispatching script: dispatch)
unit-microk8s-4: 14:30:28 ERROR unit.microk8s/4.juju-log cluster:6: Failed to get coredns configmap!  kubectl said: b'Error from server (NotFound): configmaps "coredns" not found\n'
unit-microk8s-4: 14:30:30 ERROR unit.microk8s/4.juju-log cluster:6: Failed to join cluster; deferring to try again later.
unit-microk8s-4: 14:30:33 ERROR unit.microk8s/4.juju-log cluster:6: Failed to join cluster; deferring to try again later.

Hi @plars, apologies for missing this. Which cloud are you using to deploy the MicroK8s charm?

It's a private openstack

In my case it's microstack

@plars @adelorenzo-portainer is it possible to raise the logging verbosity to DEBUG to get more information about the exact error? Something like juju model-config logging-config='<root>=DEBUG' should do

I have the same error when deploying on AWS.


github pages

@Z1852724
Originally posted by @Z1852724 in https://github.com/Z1852724/github-slideshow/issues/1#issuecomment-686806900

@Z1852724

@Z1852724
Originally posted by @Z1852724 in #1 (comment)

@Z1852724


Error since home assistant update

Hello
Since HA update today, all sensor of my MG4 appears unaivalables.
SAIC MQTT Gateway (Python) (PreRelease)
Current version: 0.6.2
Home Assistant
Core 2024.6.2
Supervisor 2024.06.0
Operating System 12.3
Error in addon logs:
2024-06-11 20:02:25,792 [ ERROR  ] handle_vehicle loop failed with an unexpected exception - main
Traceback (most recent call last):
File "/usr/src/app/./mqtt_gateway.py", line 96, in handle_vehicle
vehicle_status = await self.update_vehicle_status()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/app/./mqtt_gateway.py", line 146, in update_vehicle_status
self.vehicle_state.handle_vehicle_status(vehicle_status_response)
File "/usr/src/app/vehicle.py", line 209, in handle_vehicle_status
raise MqttGatewayException(
exceptions.MqttGatewayException: Vehicle status time drifted too much from current time: 4969 days, 9:11:41.208273
2024-06-11 20:02:55,870 [  INFO  ] Updating vehicle status - main
Thanks

Hi,
This happens from time to time as MG servers provide weird data (In your
case data that's time stamped in the future....). Usually it's enough to
drive the car a bit and potentially restart the add-on
Il Mar 11 Giu 2024, 20:10 merlin-marvin @.***> ha
scritto:

Hello
Since HA update today, all sensor of my MG4 appears unaivalables.
SAIC MQTT Gateway (Python) (PreRelease)
Current version: 0.6.2
Home Assistant
Core 2024.6.2
Supervisor 2024.06.0
Operating System 12.3
Error in addon logs:
2024-06-11 20:02:25,792 [ ERROR ] handle_vehicle loop failed with an
unexpected exception - main
Traceback (most recent call last):
File "/usr/src/app/./mqtt_gateway.py", line 96, in handle_vehicle
vehicle_status = await self.update_vehicle_status()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/app/./mqtt_gateway.py", line 146, in update_vehicle_status
self.vehicle_state.handle_vehicle_status(vehicle_status_response)
File "/usr/src/app/vehicle.py", line 209, in handle_vehicle_status
raise MqttGatewayException(
exceptions.MqttGatewayException: Vehicle status time drifted too much from
current time: 4969 days, 9:11:41.208273
2024-06-11 20:02:55,870 [ INFO ] Updating vehicle status - main
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/SAIC-iSmart-API/saic-home-assistant-addon/issues/99,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIT3RQUUGY7GWSHEQ6GSHTZG44Q3AVCNFSM6AAAAABJE25PBCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DOMBQHEYDCMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

thank you for your reply. Indeed it is restored at this moment.


Editing a User's Roles in DbAdmin causes an exception

Repro steps:

Search for a user.
Click Edit on the user.
Check the "Admins" role and click Save.

Expected: User is added to admins role.
Actual: Exception message: https://preview.nuget.org/elmah.axd/detail?id=4F77237D-13CE-4FDA-BFD3-4A5A982B59B3
It seems many-to-many relationships are broken. I get the same result if I edit a role and try to add users to it.

Ok, should be fixed now. It was an issue in the Many To Many Dynamic Data template. Also fixed it at https://gist.github.com/1124183


bracket missing in line 56

...."-!- caps_alert: " .. name .. " has been kicked for use of excessive CAPS.")) <----- here

Fixed, thanks :)


When using loadingBuilder in Image.network, it does not switch from the loading state.

Hello.
We are building an iOS application using Image.network.
When using loadingBuilder for Image.network, the image does not switch from the loading display.
If you are using a package such as cached_network_image, the image will be displayed correctly.
Is there a solution or bug information on this issue?
Below doctor
Doctor summary (to see all details, run flutter
doctor -v):
[✓] Flutter (Channel stable, 3.7.7, on macOS
    12.6.3 21G419 darwin-arm64, locale ja-JP)
[✓] Android toolchain - develop for Android
    devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode
    14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.76.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

• No issues found!

Thank you.

Thank you for your reply.
I can reproduce this in my environment with very simple code.
This is a partial modification of the default code.
main.dart
import 'package:flutter/material.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Invoke "debug painting" (press "p" in the console, choose the
          // "Toggle Debug Paint" action from the Flutter Inspector in Android
          // Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
          // to see the wireframe for each widget.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Image.network(
              'https://upload.wikimedia.org/wikipedia/commons/thumb/7/77/Google_Images_2015_logo.svg/300px-Google_Images_2015_logo.svg.png',
              loadingBuilder: (context, child, loadingProgress) {
                return CircularProgressIndicator();
              },
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

We began investigating this issue when the App Store's AppReview rejected because the images they could not be loaded.
https://stackoverflow.com/questions/75573747/app-store-review-team-reports-connection-refused-error-preventing-image-loadin
The solution described here is in a sense correct, and in the case of cached_network_image, it uses loadingBuilder internally by default.
However, it took us a while to find a solution to the problem, as the image displays correctly when used in our environment.
But, it seems that it does not work on AppReview devices due to some influence, and the situation is the same as using loadingBuilder with Image.network.
I hope this will be of some help.
Thank you.

https://upload.wikimedia.org/wikipedia/commons/thumb/7/77/Google_Images_2015_logo.svg/300px-Google_Images_2015_logo.svg.png',

Thanks for the update @sakyoyuto. I see that the network image has svg.png format. So is this svg image or png ?
Do you get this behavior only with this image or with other url too such as https://docs.flutter.dev/cookbook/images/network-image

This wikipedia image is png.
And, Only loadingBuilder is shown in the same way in the image used in https://docs.flutter.dev/cookbook/images/network-image.
Thank you.

@sakyoyuto
Looking at the usage of loadingBuilder and its documentation: https://api.flutter.dev/flutter/widgets/Image/loadingBuilder.html, it says that we need to handle the returning image when loading is complete, indicating that you'll need to implement the same in your code and it is not a bug in the framework.
I'll go ahead and close based on above explaination. If you disagree, write in comments and I'll reopen it.


CI Integration with Github Actions

We need to integrate something like https://github.com/opensearch-project/observability/blob/main/.github/workflows/dashboards-observability-test-and-build-workflow.yml for this project. It should go into https://github.com/opensearch-project/dashboards-search-relevance/.github/workflows/

workflows added. CI working locally.


Edit Connection doesn't work correctly

Type: Bug
I have a set of connections saved in some groups. Because of the encryption changes in the connection string I need to adjust the connection properties. The Browse button in the Connection window that appears when you try to connect from a query window gives you the option to edit the connection.
When you edit the connection it takes you to the Recent section with the connection details loaded. This section also gives you an edit connection option. In either case you can make changes to the connection but attempting to connect then fails because the connection has already been saved.

Select a connection that has already been saved from the Browse section of the Connect UI when connecting from an editor window.
Click the pencil to edit the connection. Alternatively do the same thing from the Recent list.
In the connection details change something.
There is no "save" option so click Connect.
ADS shows an error that the connection already exists.

There doesn't seem to be a way to actually save changes to an existing connection, or at least the UI would indicate as such.
Azure Data Studio version: azuredatastudio 1.45.0 (8eff468100f02157f2219335f7a566d14451ca49, 2023-07-24T18:22:12.106Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No
Preview Features: Disabled
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (8 x 3600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.92GB (17.57GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

poor-sql-formatter
WSR
0.1.0

As the message suggests, you seem to have an existing connection with exact same properties (including advanced options) - have you verified your connection profiles?

@cheenamalhotra Yes there is an existing connection. That's the point. If you go to a saved connection and click the Edit pencil next to it then you're modifying an existing connection. There is no "save" option so if you make any changes then you have to click Connect to "save". At that point you get an error irrelevant of whether you made any change or not. I have noticed that it does save the changes, it appears, but then pops up the error message that the connection already exists.
The easiest equivalent example is opening an existing file in notepad and clicking save. If notepad displays a "file already exists" error then it doesn't make sense because you're editing an existing file so it should already exist.

I mean if you have a connection in Connections pane > Server tree view, clicking on Connect that modifies a different connection to match properties with an existing connection will try to add separate connection in the servers list, which won't be allowed to prevent duplicate connections.
If you delete any existing duplicate connections from server tree view, you should be able to edit saved connections normally.
From my testing I don't notice any abnormal behavior where editing connection falsely throws error without an actual conflicting connection being present.
Can you provide specific steps to follow to reproduce what you're seeing in a clean session?

@cheenamalhotra Yes you are correct. The saved connections had 3 different copies of the same connection. 2 of them were identical and one differed by just the database being connected to. I deleted the dups and the problem went away.
I'm unclear how the dups got in there though as I did a combination of connecting new (because the recent list got wiped with this update as well) and trying to edit the existing connections. Somehow ADS let the dups get created and then failed on editing them. Nevertheless that seems unrelated to this specific issue.

Closing as resolved.


Update real-world example with react-router-redux

As discussed here https://github.com/rackt/redux/pull/1152, this is a small proposition to update the real-world example with the latest version of react-router-redux
Feedback welcome !

Just that small nitpick and this LGTM :+1:

Awesome! Thanks for beating me to the punch :godmode:

Thank you!


PSGraph in Azure Pipelines

Hi, First thanks for you work! great module!
I'm running a build in AZPipelines, and running some tests.
I'm getting this types of error when using PSGraph in pester scripts ( works fine on local machines )
Error: <stdin>: syntax error in line 1 near 'digraph'
    [-] Parameter: -Path (file): Should return Object of type [FileInfo] 1.08s
      ParseException: System error.
      at Export-PSGraph<End>, C:\Users\VssAdministrator\Documents\WindowsPowerShell\Modules\psgraph\<IP_ADDRESS>\PSGraph.psm1: line 907

[-] Parameter: -Path (file): Should Create a graph in same folder 108ms
      RemoteException: Error: <stdin>: syntax error in line 1 near 'digraph'
      at Export-PSGraph<End>, C:\Users\VssAdministrator\Documents\WindowsPowerShell\Modules\psgraph\<IP_ADDRESS>\PSGraph.psm1: line 904

I added the image because of the strange caracter begfore digraph ... :(

@LxLeChat I usually suspect encoding (possible BOM) when I see a character like that. digigraph is the first keyword at the start of the text stream.
Looking at the code around this, I am calling the graphviz engine directly and it is having an issue with the file. I suspect that if you called the dot.exe with that same file path that it would give you that second error message about the syntax error. https://github.com/KevinMarquette/PSGraph/blob/ef5c4a2984a2b759d508f030c5c85af67637635c/PSGraph/Public/Export-PSGraph.ps1#L141


Titles and buttons are clickable even if it's collapsed

Hey, it's me again! :D
So as the title says, I have a FloatingActionsMenu with two LabeledFloatingActionButton.
By default it's collapsed, but I tap the positions where the buttons would be if I expanded the Menu, the LabeledFloatingActionButton setOnClickListener is firing.
So for me: I set up a Toast message if I click the LabeledFloatingActionButton. I don't have to expand the Menu, I can click it's position and the Toast is showing.
I can reproduce the issue if you want.

I'll take a look


header is dancing when on filter

not sure if it's only on filter but you can clearly see what I mean by dancing here:

I've seen that, I think it's caused by the unicode character we use for the dash, I need to test it more but I think it needs to use *strdisplaywidth when calculating widths

hmm, I remember having this issue a while ago but I'm not able to get it again. Do you do anything special or is it always there? What terminal do you use?

hmm, I remember having this issue a while ago but I'm not able to get it again. Do you do anything special or is it always there? What terminal do you use?

it's always like that. I'm using iTerm2 nightly (Build 3.5.3beta1)


Removing "minimum stability".

Maybe you should remove minimum stability flag?
As i could see every your package in kahlan dep could be released into some initial version like 1.0.0.

That was my initial objective, but due to a composer "glitch" it tends to be a quite painful to tag Kahlan dependencies. I realized I'll need to maintain a COMPOSER_ROOT_VERSION for each dependency and since it's not possible to set it with a COMPOSER_ROOT_VERSION=* value, it'll require a couple of back and forth when Kahlan dependencies will be bumped up in the futur. So I'll need to check wisely all dependencies before tagging it and entering into the dark side of composer.

As i see it's a workaround when composer meet's up a circular deps. You can resolve it not using a composer, but using a build script, in Travis-CI and you can remove a deps of kahlan inside of set in ex.

You mean creating a custom autoloader script & removing "required-dev" in these packages ?

Yes.

You have tow ways:

Create a custom autoloader and use something like sub-modules in git.
Fetch a kahlan repository with a bash script, instead of composer (with deps)

My first idea was to make a kind of composer-install.sh which correctly set the COMPOSER_ROOT_VERSION env var to the set version required by Kahlan before running composer install.
I guess both solutions will work, just need to clear up my mind up regarding to the base namespace to use for dependencies. I'm fine the actual namespaces but I don't want to put people in trouble. And in another hand, I kindda hate to see some kind of use billclinton\..., use spongebob\... thingy in my code. Wondering if it would be possible to hit two bird with one stone using composer virtual package behavior https://devedge.wordpress.com/2014/09/27/composer-and-virtual-packages/

The minimum stability has been removed in 1.1.3

:+1: awesome!


pyenv-virtualenvwrapper can't be loaded on python 3.6.3

I'm using ubuntu with zsh and oh-my-zsh and the following config:

.zshenv

### pyenv setup ###
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"

if command -v pyenv 1>/dev/null 2>&1; then
  eval "$(pyenv init -)"
fi

###### Virtualenvwrapper
export WORKON_HOME=$HOME/projects/venv
export PROJECT_HOME=$HOME/projects/code
export PYENV_VIRTUALENVWRAPPER_PREFER_PYVENV="true"
pyenv virtualenvwrapper_lazy

And the folliwng Python versions installed:
 system
  2.7.14
* 3.6.3 (set by /home/layo/.pyenv/version)

With python 3.6.3 I got the following error:
pyenv-virtualenvwrapper: 3.6.3: virtualenv-clone is not available.
pyenv-virtualenvwrapper: failed to initialize virtualenvwrapper.

A pip list shows that the libraries are properly installed
pbr (3.1.1)
pip (9.0.1)
setuptools (28.8.0)
six (1.11.0)
stevedore (1.27.1)
virtualenv (15.1.0)
virtualenv-clone (0.2.6)
virtualenvwrapper (4.8.2)

However, when switching to Python 2.7.14 (pyenv global) pyenv-virtualenvwrapper initializes just fine.
Debug logs here

I have found the following:

It also fails with the system version/environment.
It seems that uninstalling and reinstalling the package virtual-env-clone with pip fixes the issue.

Still seems weirds that this is need since the first call to pyenv virtualenvwrapper automatically install all virtualenv related packages.


Where do I add userchrome.css to change the colors?

I'm trying to change the colors/theme. Where do I add the userchrome.css file described in the Readme?
I'm running Joplin for Desktop on Windows 10 and I installed the plugin through the Joplin UI by going to Tools->Options->Plugins

I don’t remember the exact location of userchrome.css on Windows and I don’t have one to check at the moment, but you can follow the this official instruction to check the location.
https://joplinapp.org/help/apps/custom_css/

I found it. Thank you for pointing me in the right direction.  I didn't realize the userchrome.css was part of Joplin and not just part of the plugin. The top of the General page of the Configuration screen will show the exact path.


Do I need any post process after inference on mobile?

Hey, hi again!
I'm feedbacked about needs to post process on Android project.
In my case, PoseEstimation-CoreML, I'm not any post process after inference. Just pick the x, y indices of maximum value from the heatmaps result.
1. Is there any need to post process after inference?
2. Besides, is it related to #61 issue(output resolution is only 24x24)?
Thank you.

It's need gaussian filter after output and average the coordinates between the n-frames for reducing shake in real-time inference.

Indeed, it resulted low precision in keypoints regression.

I still working on it...


COP currency not working

Seems like main problem is the currency data feed.
When using lnurlp and offlineshop COP currency shows error.

fixed! thanks.


Update Netlify extension (add Manage DNS Records)

Description
I have multiple domains in Netlify and I often need to manage the DNS records which is why this PR exists.
For registered domains we can create, delete and view DNS records. I have tried to match the Netlify experience as best as possible so all descriptions, placeholders and labels are copied verbatim from Netlify "Add new record" modal. Since fields can be different I have conditionally validated and toggled visibility of form items. To improve UX, Toasts are shown during and after actions. However, I have not added Toasts to any existing functions.
On a Dev Note,

update api and utils
remove getPreferences from helpers
remove Preferences from interfaces.ts since Preferences is automatically exposed
move some variables into a new constants.ts

Screencast
https://github.com/raycast/extensions/assets/30526133/9261a28e-a6d8-4c05-8dc7-955ad7b38ead
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

It seems that Netlify  does not check for the CAA tag to be of the correct type so I have removed that check as it is redundant (plus it would have been better as a Dropdown). I have also moved the new components into a separate dns folder to make the components more manageable.


sqlc does not detect or create a new file on a project which is on a removable disk

Version
Other
What happened?
Running sqlc init on a project which is on /media directory gives nothing and does not create a sqlc.yaml file.
It even fails to detect an existing sqlc.yaml file if  sqlc generate is run.
My project is on a mountable disk and I wanted to use sqlc in it. My environment details are,
OS - Ubuntu 22.04.2 LTS
sqlc version - v1.17.0
folder path - /media/myproject
go version - go1.20.3 linux/amd64

However, it works fine if my project is on ~/  directory.
Relevant log output
no output

Database schema
can be reproduced with any or no schema.

SQL queries
can be any queires

Configuration
version: "2"
sql:
  - engine: "postgresql"
    queries: "./db/query/"
    schema: "./db/migration/"
    gen:
      go:
        package: "db"
        out: "db/sqlc"
        emit_json_tags: true
        emit_empty_slices: true

Playground URL
No response
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

Closing as a duplicate of https://github.com/kyleconroy/sqlc/issues/2160


Get the redis tests working on the CI server

We use a custom xunit test framework with the TestFramework attribute to launch a redis server for the tests to hit. This works fine locally, but doesn't work on the CI server for unknown reasons. The tests have been temporarily disabled until we can work this out.
[Test collection for Microsoft.Framework.Cache.Redis.RedisCacheSetAndRemoveTests] Microsoft.Framework.Cache.Redis.RedisCacheSetAndRemoveTests.SetAlwaysOverwrites (2s)
[Microsoft.Framework.Cache.Redis.RedisCacheSetAndRemoveTests.GetOrSetDoesNotOverwrite]
StackExchange.Redis.RedisConnectionException : It was not possible to connect to the redis server(s); to create a disconnected multiplexer, disable AbortOnConnectFail. SocketFailure on PING
   at StackExchange.Redis.ConnectionMultiplexer.Connect(String configuration, TextWriter log) in c:\TeamCity\buildAgent\work\58bc9a6df18a3782\StackExchange.Redis\StackExchange\Redis\ConnectionMultiplexer.cs:line 738
   at Microsoft.Framework.Cache.Redis.RedisCache.Connect() in C:\BuildAgent\work\bc13a11492fdf8a8\src\Microsoft.Framework.Cache.Redis\RedisCache.cs:line 48
   at Microsoft.Framework.Cache.Redis.RedisCache.Set(String key, Object state, Action`1 create) in C:\BuildAgent\work\bc13a11492fdf8a8\src\Microsoft.Framework.Cache.Redis\RedisCache.cs:line 55
   at Microsoft.Framework.Cache.Distributed.CacheExtensions.Set(IDistributedCache cache, String key, Byte[] value) in C:\BuildAgent\work\bc13a11492fdf8a8\src\Microsoft.Framework.Cache.Distributed\CacheExtensions.cs:line 40
   at Microsoft.Framework.Cache.Redis.RedisCacheSetAndRemoveTests.GetOrSetDoesNotOverwrite() in C:\BuildAgent\work\bc13a11492fdf8a8\test\Microsoft.Framework.Cache.Redis.Tests\RedisCacheSetAndRemoveTests.cs:line 66

Hi Tratcher,
Any luck on this? We are also struggling with this.
With thanks and regards,
Logu

No, we haven't tried.

Moving this to Backlog as we will be in RC2 ask mode very soon.  If you feel strongly about this issue, please ping me.

Clearing milestone for re-triage. We should revisit this along with the SQL Server tests that are also skipped on CI.

4 years! 😂

Small team, hundreds of open issues 😢


Use array for clUpdateMutableCommandsKHR

Proposal to pass the update configs to clUpdateMutableCommandsKHR as an array, rather than pointer changed linked list.
Generated from XML changes in https://github.com/KhronosGroup/OpenCL-Docs/pull/1045
See https://github.com/KhronosGroup/OpenCL-Docs/issues/1041 for motivation.

LGTM
Do we need to stage these changes with changes in any other repos, such as the C++ bindings (OpenCL-CLHPP) or the CTS tests?
I'll take care of updating the command buffer emulation layer.

Should probably be staged with CTS PR https://github.com/KhronosGroup/OpenCL-CTS/pull/1984, I don't have a OpenCL-CLHPP PR but will look into making one there. I'm not that familiar with the C++ bindings, but I'd expect that would break without an update.


HDFS-16027. Replace abstract methods with default methods in JournalNodeMXBean

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-3.3 Compile Tests _

+1 :green_heart:
mvninstall
32m 44s

branch-3.3 passed

+1 :green_heart:
compile
1m 13s

branch-3.3 passed

+1 :green_heart:
checkstyle
0m 46s

branch-3.3 passed

+1 :green_heart:
mvnsite
1m 21s

branch-3.3 passed

+1 :green_heart:
javadoc
1m 23s

branch-3.3 passed

+1 :green_heart:
spotbugs
3m 13s

branch-3.3 passed

+1 :green_heart:
shadedclient
20m 25s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 14s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 39s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)

+1 :green_heart:
mvnsite
1m 12s

the patch passed

+1 :green_heart:
javadoc
1m 17s

the patch passed

+1 :green_heart:
spotbugs
3m 16s

the patch passed

+1 :green_heart:
shadedclient
19m 44s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
208m 48s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

297m  3s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestRollingUpgrade

hadoop.hdfs.server.balancer.TestBalancer

hadoop.hdfs.server.datanode.TestDirectoryScanner

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3018/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3018

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 5819f7462518 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / ed82894f7c42f92a1b2c6c73f9a94d2d7ea59781

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~18.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3018/1/testReport/

Max. process+thread count
2057 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3018/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


FirebasePerformance FPRTraceBackgroundActivityTracker crash reports

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.3
Firebase SDK version: 6.28.1
Firebase Component: Performance
Component version: 6.28.1
Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem
Crash reports on Crashlytics:
0  libobjc.A.dylib                0x1abf1aeec objc_moveWeak + 208
1  CoreFoundation                 0x197eb6018 _CFXNotificationRegistrarAddObserver + 376
2  CoreFoundation                 0x197eb5e34 CFXNotificationRegistrarAdd + 560
3  CoreFoundation                 0x197ddfee4 _CFXNotificationRegisterObserver + 240
4  Foundation                     0x199074fcc -[NSNotificationCenter addObserver:selector:name:object:] + 420
5  App                            0x1007e8ee8 -[FPRTraceBackgroundActivityTracker init] +<PHONE_NUMBER>
6  App                            0x1007f7140 -[FPRNetworkTrace start] +<PHONE_NUMBER>
7  App                            0x1007fe0a4 __InstrumentDataTaskWithRequestCompletionHandler_block_invoke +<PHONE_NUMBER>
8  PlayerContainer                0x102aae43c __swift_memcpy3_1 + 16464
9  PlayerContainer                0x102aad9a4 __swift_memcpy3_1 + 13752
10 PlayerContainer                0x102a42030 globalinit_33_87BA326607EAFB276E73746DBA02F95A_func1 + 2376
11 PlayerContainer                0x102a45744 __swift_allocate_value_buffer + 444
12 PlayerContainer                0x102a42098 globalinit_33_87BA326607EAFB276E73746DBA02F95A_func1 + 2480
13 libdispatch.dylib              0x197a7efd0 _dispatch_call_block_and_release + 32
14 libdispatch.dylib              0x197a80ac8 _dispatch_client_callout + 20
15 libdispatch.dylib              0x197a87c08 _dispatch_lane_serial_drain + 580
16 libdispatch.dylib              0x197a88734 _dispatch_lane_invoke + 408
17 libdispatch.dylib              0x197a92528 _dispatch_workloop_worker_thread + 708
18 libsystem_pthread.dylib        0x1df3dc908 _pthread_wqthread + 276
19 libsystem_pthread.dylib        0x1df3e377c start_wqthread + 8

PS: We are having around 50 crashs per day all on iOS 14 and on low memory conditions RAM free < 50 MB
Steps to reproduce:
Cannot reproduce.

@taher-mosbah Thank you for the report. Could you please provide the following to help with the investigation:

The full crash report with other threads and the exception
A code snippet demonstrating how PlayerContainer sends the network request.

thanks for the reply @maksymmalyhin, attached the full crash report (I can't see a download button to get full crash in TXT like we had in Crashlytics)
Firebase crash.pdf
PlayerContainer is calling another SDK which I don't have access to its source, sorry.

Thank you @taher-mosbah. Do you mind providing a few more pieces of information?
Specifically:

Is the issue happening on background or foreground?
Do you happen to know if the crash only happens during the app start or it can happen later?

Also, can you use the latest version of the sdk and see if the issue is still happening?
Thanks again.

Thanks @alikn, the bug seem to happen on foreground (98% of occurrences)  and NOT during app start, according to Firebase logs most of the times with long sessions (> 1 hour) so it may be caused by a memory leak.
An update with the latest version of the SDK is in preparation but won't be in production before next month, will keep you updated.

Since the issue is happening on iOS 14 and the SDK version used is an older one (which was not iOS 14 tested), we would recommend to update to the newer version of perf SDK to let us know if you are still seeing this issue.
Marking this as closed for now. Please re-open if you still see this issue on the recent version of the perf SDK.


UI Scaling is wrong  when screen is above 100% dpi scaling (on windows)

UI Scaling is wrong  when screen is above 100% dpi scaling (on windows)
This is most likely due to scaling being set to 1.0 at startup.
Most likely need to find the actual dpi scaling on windows.

This will be fixed in the next version of BoilR ( https://github.com/PhilipK/BoilR/pull/115 )


Why lpsolve only returns 0 or 500?

When I run Rembo or Tree on lpsolve, it only returns 0 or 500 and in most cases it returns 500.

ipsolve is very 'peaky', ie. the space is not very smooth. Depends on the dataset it can be worse.


Some changes in Tutorial and Installation

We have tested if the users are having trouble to start using ROSS, this PR solves some of these issues.
Most changes in the tutorial file were made by @rodrigomoliveira1.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #252   +/-   ##
=======================================
  Coverage   68.99%   68.99%
=======================================
  Files           9        9
  Lines        2609     2609
=======================================
  Hits         1800     1800
  Misses        809      809

Continue to review full report at Codecov.

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


Align table in minihttp readme

The most useless of PRs! :) Just saw this and it took me a bit to parse the numbers. Should be easier now.

Thanks!


Support for previous methods of import in SASS

Hi - thanks for making this plugin, it is really useful.
My issue is SASS dependencies often use the now (depreciated) ~ (tilda) to import from node modules.
This produces the following error on the plugin.
error: Cannot find module 'mathsass/dist/math' from <repo>
  ╷
1 │ @import '~mathsass/dist/math';
  │         ^^^^^^^^^^^^^^^^^^^^^
  ╵

For record, this is is produced the following line of code @import "~@aotearoan/sass-farbig"; in theme.scss using the latest versions of esbuild and esbuild-sass-plugin.
I have also tried the includePaths option, producing the same error
[
    sassPlugin({
        type: "style",
        includePaths: [path.resolve(__dirname, "node_modules")],
    }),
],

Webpack, Rollup are other compilers all have support for this edge case. Do you have any advice on what to do if dependencies include this syntax and I am using esbuild and this sass plugin?
Jacob

@JacobWeinbren the error you see is due to the importer within the plugin not being able to resolve mathsass/dist/math because it is a fragment (the file is _math.scss which is ignored by the resolve.sync method used by the importer which is really meant for node rather than sass and its convoluted resolution mechanism). I have a fix for that and you can find it in v1.4.13

@glromeo Thank you it works now.


croc-hunter-jenkinsx to 0.0.58

Promote croc-hunter-jenkinsx to version 0.0.58

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


SKSwiftPMWorkspace: canonicalize the path prior to use

Ensure that we use the file system representation for the path as
otherwise the path conversion may fail.  This is required for Windows
which ends up with mixed path separators.

I am closing this off because I believe that this is not the right approach.  I think that the problem is in tools-support-core instead.  I believe that apple/swift-tools-support-core#140 takes care of the underlying issue making this work.


User color maps are not saved automatically

Additions, changes, and deletions of user color maps are not saved automatically in browser's local storage. It happens only after a setting in the user settings dialog changed.

Closed by #396


qtwayland: remove wayland-brcm packageconfig

We use eglfs as a platform plugin to run Neptune 3 UI. Moreover, it
breaks build of QtWayland 5.13 for a reason that is currently not
understood.
Signed-off-by: Oleksandr Kravchuk<EMAIL_ADDRESS>

We use eglfs as a platform plugin

I do not understand. EGLFS has a Rasberry Pi backend. We use EGLFS for RPI on master? wayland-bcrm is just for some wayland specific RPI integration?

What does wayland-bcrm in qtwayland actually do? Would be bad if we disable it and don't get any acceleration due to e.g. wrong formats being used.


Update CODE_OF_CONDUCT.md

There are some grammatical mistakes in this repository which I fixed.

There is an article usage problem here.
There is a problem in verb form used.

these changes are done by a program and don't make sense?

automatic commits from bots are not permitted
this file is automatically created by github and forms a legal document which should not be edited
please see contribution guidelines which state PRs must be against the dev branch


go install  fail with error

go install github.com/sigstore/cosign/cmd/cosign@latest
go: github.com/sigstore/cosign/cmd/cosign@latest (in github.com/sigstore/cosign@v1.6.0):
The go.mod file for the module providing named packages contains one or
more replace directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
Env
go version
go version go1.18 darwin/arm64
MacOS 12.3

This looks like a duplicate of https://github.com/sigstore/cosign/issues/1555

yep, will close this one


fix extension of output files

Declares the package type as module and uses .cjs extension for CommonJS files.
Fixes #41

@ajaishankar @hpohlmeyer @javiertury @XMLHexagram  can you review this and other pull requests?

I believe - correct me if I'm wrong - that this will fail if your project is type=commonjs and you try to require the .cjs entrypoint, because this project is read as type=module by the node resolution.
I've addressed this on my PR: https://github.com/ajaishankar/openapi-typescript-fetch/pull/59, because I even saw your PR.


Update multiple-projects.md with more details how to set up multiple projects

More details how to set up multiple projects.
This is actually achieved with Træfik so the title of the doc page is renamed to "Running Multiple Projects with Træfik"
An image is included for users to quickly get an idea how it works.
An example is used to describe all steps required to get a multi-project environment running. After that point users should be able to achieve a level of understanding to make their own adjustments.
Here's how it looks rendered for a faster review: https://github.com/alesrebec/docker4drupal/blob/alesrebec-patch-1/docs/multiple-projects.md

In relation to https://github.com/wodby/docker4drupal/issues/124#issuecomment-295083752 in #124


jquery 2.x support + checkInView fixes

jquery 2.x support:
simple .inview css class added to find elements to watch
checkInView fixes:
when element was exactly at the top or bottom of the window elTop == viewportTop
so elTop > viewportTop is false but the element is actually visible.

Going to merge this @tomaszrondio, but I'm also giving you write access to the repo. It needs some TLC from people like yourself.


DOC: Would you like to add a Chinese document?

I'd do it if u could. It's an interesting idea! 🍺

PR welcome :)


pre-trained model for video style transfer

Thanks for the great work! It looks like this repo currently only hosts code and model for image style transfer. Could you provide a pre-trained model (and perhaps test scripts) for video style transfer as discussed in the paper? Thank you.

Is the Video version is available now?


Add option to disable h2

In some (rare) cases http2 support can cause unintended side-effects. This PR adds option to disable http2 support.

Looks like lb level health check got broken somehow. H2 part looks ok though

Looks like lb level health check got broken somehow

Fixed.