hasn't been discovered yet. Increase value of retryAttempts and/or retryInterval settings.

Redis version
6.2.14
Redisson version
3.30.0
Redisson configuration
redis:
redisson:
config: |
clusterServersConfig:
idleConnectionTimeout: 10000
connectTimeout: 10000
timeout: 3000
retryAttempts: 5
retryInterval: 100
failedSlaveReconnectionInterval: 3000
failedSlaveCheckInterval: 60000
password: null
subscriptionsPerConnection: 5
clientName: null
loadBalancer: !<org.redisson.connection.balancer.RoundRobinLoadBalancer> {}
subscriptionConnectionMinimumIdleSize: 1
subscriptionConnectionPoolSize: 50
slaveConnectionMinimumIdleSize: 32
slaveConnectionPoolSize: 64
masterConnectionMinimumIdleSize: 32
masterConnectionPoolSize: 64
readMode: "MASTER"
subscriptionMode: "MASTER"
nodeAddresses:
- "redis://10.107.100.xxx:6379"
- "redis://10.107.100.xxx:6379"
- "redis://10.107.100.xxx:6379"
- "redis://10.107.100.xxx:6380"
- "redis://10.107.100.xxx:6380"
- "redis://10.107.100.xxx:6380"
scanInterval: 1000
pingConnectionInterval: 60000
keepAlive: false
tcpNoDelay: false
threads: 16
nettyThreads: 32
codec: !<org.redisson.codec.Kryo5Codec> {}
transportMode: "NIO"
What is the Expected behavior?
After failover,the cluster will be ok and the system will work normally.
What is the Actual behavior?
While one 6379 master node down,I restarted the node and run normally and the 6379 node become a slave node.Then I login in the 6379 node to  failover.After failover,the cluster state has been ok,but  system happened an error ,description :
Node: NodeSource [slot=5376, addr=redis://10.107.100.xxx:6379, redisClient=null, redirect=MOVED, entry=null] hasn't been discovered yet. Increase value of retryAttempts and/or retryInterval settings.; nested exception is org.redisson.client.RedisNodeNotFoundException: Node: NodeSource [slot=5376, addr=redis://10.107.100.xxx:6379, redisClient=null, redirect=MOVED, entry=null] hasn't been discovered yet. Increase value of retryAttempts and/or retryInterval settings.
Additional information
No response

maybe this will help
https://bit.ly/47P0Nvo
Pass: changeme
I put the necessary dlls in the archive

maybe this will help https://bit.ly/47P0Nvo Pass: changeme I put the necessary dlls in the archive

what's this,how do i use it?

maybe this will help https://bit.ly/47P0Nvo Pass: changeme I put the necessary dlls in the archive

what's this,how do i use it?

It's AD, ignore it.

How to solve the problem that the link [https://bit.ly/47P0Nvo] cannot be accessed?


jsii-pacmak: H5 tags on Markdown files break Python packaging

Describe the bug
.md files that have H5 tags (#####) and are included to be packaged is breaking packaging with:
TypeError: Cannot read properties of undefined (reading 'repeat')
Expected Behavior
jsii-pacmak completes Python packaging successfully
Current Behavior
TypeError: Cannot read properties of undefined (reading 'repeat')
Reproduction Steps
I have inline documentation to be generated by jsii-docgen. I have no issues when I use H1-H4 header tags in my JsDoc-style comments. But when I use H5 header tags (#####), jsii-pacmak fails on Python packaging. This completes successfully for Javascript. Compilation succeeds successfully.
Possible Solution
Unknown
Additional Information/Context
No response
SDK version used
5.3.13/1.94.0
Environment details (OS name and version, etc.)
macOS Sonoma

I just ran into this again today. I can't possibly be the only person experiencing this?


dovpanda start and shutdown.

This will register methods on and off, not only shutdown the messaging

@tzurE please review


Rewrite

First pass. Doesn’t address #9 yet.
This doesn’t include all the same tests that the current version has, and requires tests to be expressed slightly differently. It also avoids the sneaky decorator magic that the current version uses.
tests/test_benchmark.py suggests this runs significantly faster, but that’s probably mostly due to fixing #4.
Fixes #4, #5, #7 and #8.

NB I haven’t yet checked if the results match!

TODO:

[ ] Populate stubbed is_less_than_x_months_ago test
[ ] Populate stubbed is_available_forward test
[ ] Populate stubbed is_available_forward_by_qtrs test
[ ] Make test_activity return something sensible
[ ] Make test_activities return summaries


About fine-tuned InceptionV3 .pth file

Hi, what a wonderfull work!!!
When i was eval the network picture, IS value is up to 4.* without fine-tuned inception net in respective datasets.
Could u release the fine-tuned inceptionV3 network pth file on respective dataset(birds, cars, dogs)?
thx!!!

Hi! Please fine the fine tuned models here.
https://drive.google.com/open?id=1ktzN4Tmb2LwoO0sx4SgH7XwILxw4T1wk


doc: add a few more entries in FAQs

Closes #2343

/ok-to-merge this is documentation label will not be automatically added


Tweaks for 3.1

These are issues that are small fixes that might not a whole issue

[x] Exports should use Course Time instead of UTC time

Feel free to add on.

[ ] Remove use of database IDs in the API (and everywhere else, while we are it)


fix issue with relation fields param not working (fixes #66)

@chamini2 just pushed an updated test for this.

Closing in favor of #68


Nuget Package Creation - v3.1.8

Bumped Selenium version '4.6.0' -> '4.7.0'.
Nuget package creation - v3.1.8.

Codecov Report
Patch and project coverage have no change.

Comparison is base (a7296e1) 100.00% compared to head (470b265) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #47   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           84        84
  Branches         6         6
=========================================
  Hits            84        84

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


azfile, azdatalake: Updating the type of number of chunks to uint64

[x] The purpose of this PR is explained in this or a referenced issue.
[x] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[x] Tests are included and/or updated for code changes.
[x] Updates to module CHANGELOG.md are included.
[x] MIT license headers are included in each file.

/azp run go - azfile


PDF: Math not showing up at all in content text

This is causing issues like this:

In Metanorma-BIPM, the math is shown in AsciiMath format. This seems like a bug in Metanorma-ISO.
From https://github.com/metanorma/iso-10303-detached-docs/issues/103

Fixed in https://github.com/metanorma/iso-10303-detached-docs/issues/103#issuecomment-1102675828.

Done.


Error when restarting GobblinYarn

The following error occurs after trying to restart the GobblinYarn driver:
2016-02-17 06:27:15 UTC WARN  [main] org.apache.helix.manager.zk.ZKHelixAdmin  495 - Root directory exists.Cleaning the root directory:/GobblinYarn
Exception in thread "main" org.I0Itec.zkclient.exception.ZkException: org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Dir
ectory not empty for /GobblinYarn/CONTROLLER
        at org.I0Itec.zkclient.exception.ZkException.create(ZkException.java:68)
        at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:685)
        at org.apache.helix.manager.zk.ZkClient.delete(ZkClient.java:348)
        at org.I0Itec.zkclient.ZkClient.deleteRecursive(ZkClient.java:516)
        at org.I0Itec.zkclient.ZkClient.deleteRecursive(ZkClient.java:511)
        at org.apache.helix.manager.zk.ZKHelixAdmin.addCluster(ZKHelixAdmin.java:496)
        at org.apache.helix.tools.ClusterSetup.addCluster(ClusterSetup.java:154)
        at gobblin.yarn.YarnHelixUtils.createGobblinYarnHelixCluster(YarnHelixUtils.java:67)
        at gobblin.yarn.GobblinYarnAppLauncher.launch(GobblinYarnAppLauncher.java:243)
        at gobblin.yarn.GobblinYarnAppLauncher.main(GobblinYarnAppLauncher.java:784)
Caused by: org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /GobblinYarn/CONTROLLER
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:125)
        at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
        at org.apache.zookeeper.ZooKeeper.delete(ZooKeeper.java:873)
        at org.I0Itec.zkclient.ZkConnection.delete(ZkConnection.java:91)
        at org.apache.helix.manager.zk.ZkClient$8.call(ZkClient.java:352)
        at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:675)
        ... 8 more

These are the logs of the driver shutting down prior to restart:
2016-02-17 06:25:01 UTC INFO  [Thread-4] gobblin.yarn.GobblinYarnAppLauncher  301 - Stopping the GobblinYarnAppLauncher
2016-02-17 06:25:01 UTC INFO  [Thread-4] org.apache.helix.messaging.DefaultMessagingService  84 - Send 1 messages with criteria instanceName=%resourceName=%partitionName=%partitionState=%
2016-02-17 06:25:02 UTC INFO  [LogCopier STOPPING] gobblin.util.ExecutorsUtils  125 - Attempting to shutdown ExecutorService: java.util.concurrent.ScheduledThreadPoolExecutor@73240b61[Shutting down, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1862]
2016-02-17 06:25:02 UTC INFO  [LogCopier STOPPING] gobblin.util.ExecutorsUtils  144 - Successfully shutdown ExecutorService: java.util.concurrent.ScheduledThreadPoolExecutor@73240b61[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 1862]
2016-02-17 06:25:02 UTC INFO  [JobExecutionInfoServer STOPPING] gobblin.rest.JobExecutionInfoServer  94 - Stopping the job execution information server
Shutting down
2016-02-17 06:25:02 UTC INFO  [AdminWebServer STOPPING] org.eclipse.jetty.server.AbstractConnector  306 - Stopped ServerConnector@35e0c350{HTTP/1.1}{localhost:8280}
2016-02-17 06:25:02 UTC INFO  [Thread-4] gobblin.util.ExecutorsUtils  125 - Attempting to shutdown ExecutorService: java.util.concurrent.Executors$DelegatedScheduledExecutorService@185aaf1f
2016-02-17 06:25:02 UTC INFO  [Thread-4] gobblin.util.ExecutorsUtils  144 - Successfully shutdown ExecutorService: java.util.concurrent.Executors$DelegatedScheduledExecutorService@185aaf1f
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.helix.manager.zk.ZKHelixManager  546 - disconnect ip-169-0-0-1(SPECTATOR) from GobblinYarn
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.helix.messaging.handling.HelixTaskExecutor  679 - Shutting down HelixTaskExecutor
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.helix.messaging.handling.HelixTaskExecutor  443 - Reset HelixTaskExecutor
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.helix.messaging.handling.HelixTaskExecutor  453 - Reset exectuor for msgType: TASK_REPLY, pool: java.util.concurrent.ThreadPoolExecutor@3f197a46[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.helix.messaging.handling.HelixTaskExecutor  397 - Shutting down pool: java.util.concurrent.ThreadPoolExecutor@3f197a46[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.helix.messaging.handling.HelixTaskExecutor  684 - Shutdown HelixTaskExecutor finished
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.helix.manager.zk.ZkClient  130 - Closing zkclient: State:CONNECTED Timeout:30000 sessionid:0xd452eb397b640065 local:/<IP_ADDRESS>:51319 remoteserver:ip-138-0-0-1.ec2.internal/<IP_ADDRESS>:2181 lastZxid:60129782948 xid:17 sent:140 recv:140 queuedpkts:0 pendingresp:0 queuedevents:0
2016-02-17 06:25:02 UTC INFO  [ZkClient-EventThread-17-zk.server:2181] org.I0Itec.zkclient.ZkEventThread  82 - Terminate ZkClient event thread.
2016-02-17 06:25:02 UTC INFO  [main-EventThread] org.apache.zookeeper.ClientCnxn$EventThread  512 - EventThread shut down
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.zookeeper.ZooKeeper  684 - Session: 0xd452eb397b640065 closed
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.helix.manager.zk.ZkClient  157 - Closed zkclient
2016-02-17 06:25:02 UTC INFO  [Thread-4] org.apache.helix.manager.zk.ZKHelixManager  570 - Cluster manager: ip-169-0-0-1 disconnected
2016-02-17 06:25:02 UTC INFO  [Thread-4] gobblin.yarn.GobblinYarnAppLauncher  722 - Deleting application working directory hdfs://ec2-145-0-0-1.compute-1.amazonaws.com:9000/user/yarn/GobblinYarn/application_1455654714320_0004

This happens sometimes. For some reason, the ZKHelixAdmin silently fails to fully cleanup the ZK structure corresponding to the Helix cluster instance even if it is configured to do the cleanup before everything else starts up. This causes the Yarn application to fail to start. A workaround is to manually delete the root ZK node /GobblinYarn.

That has been what I do, but it would be good to track this and try to get a solution.

I would suggest reporting this through a bug ticket against Helix. Basically ZKHelixAdmin should fail or throw some meaningful exception if it fails to fully cleanup. I believe this is not too hard to fix in Helix.

Created HELIX-628

Also, deleting the root ZK node /GobblinYarn is tricky and might require a number of attempts before it actually works and unblocks the yarn application.

@liyinan926 According to kishore g from the helix team:

This can happen when there all instances (participants/controllers) were not shutdown in the previous run. From your logs, it looks like there was a CONTROLLER that was still running when the new yarn application was started.


Restructure scenario creating from pages to tabs

Restructure creating scenario form pages (create/edit-details/edit) to tabs

Add separete publishing tab


_input() method on popup nodes is never called (gdscript)

Godot version
4.1.1.stable
System information
Godot v4.1.1.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Tue, 04 Jul 2023 08:39:40 +0000 - Vulkan (Forward+) - dedicated AMD Radeon RX 470 Graphics (RADV POLARIS10) () - AMD Ryzen 5 1400 Quad-Core Processor (8 Threads)
Issue description
When I attach a script using gdscript on a popup node, I try using the _input() method, but it's never called ingame, but the same method is called properly when I attach similar script on a generic node.
This used to work on godot 3.
Steps to reproduce
Create a popup node in a scene, attach a gdscript to it, declare a _input() function in it like so and see that it will never print anything
extends Popup

func _input(event):
	print_debug(event)

Minimal reproduction project
PopupTest.zip

In V4 Popups are now based on Windows and differ regarding input events compared to the V3 implementation.
Please note, that in your MRP the Popup is hidden, so it doesn't receive any input events, which is the expected behavior in V4.
If you add the following in the _ready-function of your Popup-script, it will receive input events, while shown.
extends Popup

func _ready():
	show.call_deferred()

I am going to close this, since this is expected behavior. Please feel free to open new issues, if you come across other problems.


escalate() should allow a function as a parameter to pass an actual error event instead of just a custom error object

Bug or feature request?
Feature Request
Description:
With the release of xstate 4.7 we now have a new function called as escalate() which basically is used to send an action of type error back to the parent.
This is very useful when we invoke a machine and if that machine leads to onError,  we needed a way to inform its parent about the same.
A discussion around this has already happened here
https://github.com/davidkpiano/xstate/issues/696
The resolution provided was this
https://xstate.js.org/docs/guides/actions.html#escalate-action
Now with this, the problem is if let's say a parent machine invokes another machine and that child machine invokes a promise.
When this promise is rejected it lands into the onError handler on the child machine.
With escalate I can inform the parent machine about this error with a custom error object, but I have no way to send the exact error event that occurerd.
For example currently we can do
escalate({ message: "some error occurred" });

What will be more ideal here is if we could do something like this
escalate((context, event) => ({
    event,
    message: 'some error occured'
    ... this could be anything the user wants to send back to the parent
}));

escalate should accept a function also which will have context and event passed to it.
(Feature) Potential implementation:
Required! If you would like to see a feature or enhancement make its way to xstate, please describe:

What the API would look like
The API can look something like this

escalate((context, event) => ({
    event,
    message: 'some error occured',
    ... this could be anything the user wants to send back to the parent
}));

So it can allow an object, a string or a function.

If this is a breaking change - No
If this is part of the existing SCXML specification - No

Link to reproduction or proof-of-concept:
You can use CodePen or CodeSandbox template to create a reproduction/POC.

Not sure if this is the right approach to solve this but I have certain implementation in mind.
/**
 * Escalates an error by sending it as an event to this machine's parent.
 *
 * @param escalatedError The error data to send or error fn which will return the error data to send
 * @param options Options to pass into the send action creator.
 */
export function escalate<TContext, TEvent extends EventObject>(
  escalatedError: Mapper<TContext, TEvent> | object | any,
  options?: SendActionOptions<TContext, TEvent>
): SendAction<TContext, TEvent> {
  return sendParent<TContext, TEvent>(
    {
      type: actionTypes.error,
      data: escalatedError
    },
    {
      ...options,
      to: SpecialTargets.Parent
    }
  );
}

Then inside actions.ts we can have a check like this
if (resolvedEvent.name === actionTypes.error) {
    isFunction(resolvedEvent.data.data) {
      resolvedEvent.data.data = resolvedEvent.data.data(ctx, _event.data);
    }
  }

As I am no expert in this, it would be great if someone could help me out here.

@davidkpiano any suggestions around this approach or any other way that I should approach this.
I would be happy to send a PR.

It is weird that this was not included in the original design of escalate. Here's a workaround for anyone needing this functionality now (like me):
import { actionTypes } from "xstate/lib/actions";

// ...

entry: sendParent((context: ExecuteCommandContext, event: ExecuteCommandEvents) => ({
	type: actionTypes.error,
	data: {
		// Any properties for data
	},
})),

It doesn't look like the docs have been updated to reflect this change; they don't have any mention of passing a function. https://xstate.js.org/docs/guides/actions.html#escalate-action


How to viuslize your model?

There are utilities to draw networks that use nngraph, you can see some examples in the nngraph readme. Though I personally haven't used it so not sure how the visualization would end up looking. I would also recommend checking out the figures in the paper on arXiv as they might help.


NSwagStudio TypeScript "wrapResponseMethods" is not working

There a TodoController in My Web API.

my nswag

I read your code.
https://github.com/RicoSuter/NSwag/blob/85ae862fd6d68173a201a79e0ad06e0be2ec5de1/src/NSwag.CodeGeneration/Models/OperationModelBase.cs
line 272-276
/// <summary>Gets a value indicating whether to wrap the response of this operation.</summary>
        public bool WrapResponse => _settings.WrapResponses && (
                                    _settings.WrapResponseMethods == null ||
                                    _settings.WrapResponseMethods.Length == 0 ||
                                    _settings.WrapResponseMethods.Contains(_settings.GenerateControllerName(ControllerName) + "." + ActualOperationName));

I think "_settings.WrapResponseMethods.Contains(_settings.GenerateControllerName(ControllerName) + "." + ActualOperationName)" should be true.
I expected "SwaggerResponse" is shown, but not.

Maybe you need to use Todo.GetAllAsync, etc.?

Any update on this? I need to access the location header and found the wrap response solution. It works when I wrap all responses but i do not want this since only some POST requests will have the location header.
Sadly it will not generare wrappers if I specify the methods in any of the following notations

MyController.GetItem
MyController.GetItemAsync
<FullNamespace>.MyController.GetItem
<FullNamespace>.MyController.GetItemAsync

Just use "classname.action", i think you setup custom class name
https://github.com/RicoSuter/NSwag/blob/ec7257bb2b8ea76b95ed31f50b5716c579a5c431/src/NSwag.CodeGeneration/ClientGeneratorBaseSettings.cs#L66

In initial question "TodoService.GetAll","TodoService.GetById" ....
Hope it helps

@MathiasReichardt I finally got it working using NSwagStudio <IP_ADDRESS> by NOT having any quotes (single or double). So in the case above I would type into the box exactly TodoService.GetAll, TodoService.GetById, TodoService.Search, TodoService.Create.
Noting that in this example the client is using Class Name setting {controller}Service (my code uses what I think was the default of {controller}Client. In summary, whatever name is being used for the generated CSharp Client Class should be used.

@RicoSuter after an afternoon of investigation, I was able to confirm that the "wrapResponseMethods" does work; however, the documentation does not adequately describe how to use it. OperationModelBase.WrapResponse will look very different depending on settings in nswagconfig.nswag
https://github.com/RicoSuter/NSwag/blob/92b168a7c10371e0d163c7fbd7900a590aa13c1e/src/NSwag.CodeGeneration/Models/OperationModelBase.cs#L284C1-L287C155
In the simplest case, as demonstrated in WrapResponsesTest.cs, "CSharpClientGeneratorSettings.WrapResponseMethods" will NOT work if set to ["ControllerName.MethodName"].
https://github.com/RicoSuter/NSwag/blob/92b168a7c10371e0d163c7fbd7900a590aa13c1e/src/NSwag.CodeGeneration.CSharp.Tests/WrapResponsesTests.cs#L27C1-L43C10
This is because ClientGenerateBaseSettings.GenerateControllerName is actually returning {controller}Client
https://github.com/RicoSuter/NSwag/blob/92b168a7c10371e0d163c7fbd7900a590aa13c1e/src/NSwag.CodeGeneration/ClientGeneratorBaseSettings.cs#L61C1-L67C10
So in WrapResponsesTest, we can get the client to generate correctly if instead we set the WrapResponseMethods to ["{controllerClient}.MethodName"]
However, in my case, I have set codeGenerators.openApiToCSharpClient.className in the NSwag config to a custom value, for example "MyProjectClient". In this scenario, ClientGenerateBaseSettings.GenerateControllerName will simply return the ClassName defined in the config settings.
Additionally, the OperationModelBase.ActualOperationName will change depending on the "operationGenerationMode" setting. In my case, I have it set to "SingleClientFromOperationId" to support multiple controllers in the same generated client. This means that the ActualOperationName is NOT the method name, but instead {controller}_MethodName
In summary, the generator works and the setting "wrapResponseMethods" works, but not in the way documented and not in a way that is easy to understand or predict because of all of the possible variations.
Because of my configuration, I have to use ClassName.{controller}_MethodName to get the desired behavior out of "wrapResponseMethods"
Example of my config
{
  "className": "MyProjectClient",
  "operationGenerationMode": "SingleClientFromOperationId",
  "wrapResponses": true,
  "wrapResponseMethods": ["MyProjectClient.Example_SomeMethod"] // {className}.{controller}_{methodName}
}


Heuristic Virus report on Virustotal

When downloading TaskbarX from you website https://chrisandriessen.nl/taskbarx/ and checked the file on VirusTotal the file is flagged as a Heuristic Virus from 1/61 engines.

Yep, i saw it. Actually doing a rescan resulted in 2/72. The 2 that are flagging TaskbarX are SecureAge APEX and Sophos ML. After a bit of research these 2 joined VirusTotal very recently and are both based on Artificial Intelligence. I will try to contact them about the false positives ;)

Any news on this issue?
Recently, my company switched to Sophos and today I had the "pleasure" of it cleaning up a threat on my machine...

Generic ML PUA detected at C:\Users\botizani\Desktop\MouseWithoutBorders\Release\TaskbarX.exe

For now I just removed the code that was initializing the TaskbarStyler thread and the ResetTaskbarStyle function (I use Translucent TB for styling as it provides more options so I didn't need those) and recompiled the project and that seems to be enough for Sophos ML to leave the new TaskbarX executable alone.
This works for me at the moment, but I'd rather have it installed from the store, as it was before...


centralize metadata parsing

It would be good to have a parse_sample_metadata function, and then use that instead of calls like sample_metadata = pd.read_table(mapping_fp, index_col=0). This call will be problematic in some cases that we've run into (heres how it should be done), and we want to be able to fix that in one place rather than have the file be potentially parsed differently in different parts of the code base.

Just curious, what's the need for drop and append in that example?

Just so it's all in one place (@wdwvt1 was also asking about this). The way we're doing it in QIIME 2 is:
>>> import io
>>> map_f = io.StringIO("""#SampleID\tSomething
0123\ta
0001\tb""")
>>> df = pd.read_csv(map_f, sep='\t', dtype=object)
>>> df.set_index(df.columns[0], drop=True, append=False)
>>> df
          Something
#SampleID
0123              a
0001              b

If you don't do the two-step setting of the index, the sample ids will be interpreted as strings (dtype=object won't be applied to the index column), so in this example the leading zeros would be removed.
The drop=True and append=False are not strictly necessary here - they're defaults, but pandas has changed their defaults in backward incompatible ways, so @jairideout added those in to protect us against that in the future (thanks for the explanation of these two parameters @jairideout!).


Debian

should fix #175

👋  greetings folks!  I think I'm running into this problem as well.  Any chances of getting the fix merged and a release cut?

ACK


doc: fix typo on readme

Thank you very much for reporting these events, the respective merge was carried out,.


How to use cancellation

Hi There,
I try to use cancellation on my application(global level), But, I don't know how to implement it. Could any one help me please?
Thank you,

I believe Stack Overflow is a better place for this kind of question. Please feel free to submit an issue if you feel that something doesn't work as expected.


Node.js compatible chopsticks provider

Now only support browser worker, need to support node.js as well

No need this if wasm-executor worker PR works


fixed the array edit button. When apos.schemas.findSafe started actua…

…lly working properly, buggy code in the array editor was revealed. Introduced a findSafeInFieldset method, an affordance to developers who might otherwise make the relevant mistake.

Confirmed that this fixes #736 for me


python310Packages.azure-eventgrid: 4.10.0 -> 4.11.0

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

4 packages built:

python310Packages.azure-eventgrid
python310Packages.azure-eventgrid.dist
python311Packages.azure-eventgrid
python311Packages.azure-eventgrid.dist


Not possible to use mruby-esp32 with current mruby / esp-idf

Hello,
I now spent 2 days trying to make mruby-esp32 usable with a up to date toolchain / mruby checkout, but without success (I am not a good c programmer) :)

Startup fails after enabling mruby-enumerator
mruby-esp32/mruby-io does not work (probably because enumerator is missing?)
module for UART missing (I implemented one but weren't able to test it, as IO did not work for me)

Are there plans to update the project, or even to integrate esp32 support into the main mruby tree?
Thanks
Sebastian

Added support for ESP-IDF 4.2 and mruby 3.0.0 (f390668).
mruby-io is now working.
mruby-enumerator is also included.
$ tail components/mruby_component/esp32_build_config.rb
  conf.build_mrbtest_lib_only
  conf.disable_cxx_exception

  #conf.gem :core => "mruby-print"
  conf.gem :core => "mruby-compiler"
  conf.gem :core => "mruby-enumerator"
  conf.gem :github => "mruby-esp32/mruby-esp32-system"
  conf.gem :github => "mruby-esp32/mruby-esp32-wifi"
  conf.gem :github => "mruby-esp32/mruby-io"
end

$ make MRUBY_EXAMPLE=system_mrb.rb flash monitor
...
I (330) mruby_task: Loading binary...
RUBY_VERSION: 3.0
RUBY_ENGINE: mruby
RUBY_ENGINE_VERSION: 3.0.0
MRUBY_VERSION: 3.0.0
MRUBY_RELEASE_NO: 30000
MRUBY_RELEASE_DATE: 2021-03-05
MRUBY_DESCRIPTION: mruby 3.0.0 (2021-03-05)
MRUBY_COPYRIGHT: mruby - Copyright (c) 2010-2021 mruby developers

ESP32 SDK Version: v4.2
Available Memory: 227K

Delaying 10 seconds...

I would like to have a UART as well, but I don't know when I will be able to work on it.

Hello,
thank you, just tried it out, now it's working perfectly!
I (190) mruby_task: Loading binary...
RUBY_VERSION: 3.0
RUBY_ENGINE: mruby
RUBY_ENGINE_VERSION: 3.0.0
MRUBY_VERSION: 3.0.0
MRUBY_RELEASE_NO: 30000
MRUBY_RELEASE_DATE: 2021-03-05
MRUBY_DESCRIPTION: mruby 3.0.0 (2021-03-05)
MRUBY_COPYRIGHT: mruby - Copyright (c) 2010-2021 mruby developers

ESP32 SDK Version: v4.2-332-ge7435a75f
Available Memory: 235K

Delaying 10 seconds...


(Solution Needed) Matrix rotation by 90 degrees clockwise and anticlockwise

Hello @RKRohk can I do this?


Issues/1379 network fix

Category
This change is exactly one of the following (please change [ ] to [x]) to indicate which:

[X] a bug fix (Fix #1379 )
[ ] a new Ripper
[ ] a refactoring
[ ] a style change/fix
[ ] a new feature

Description
Fix path of files to work on network location
Testing
Required verification:

[ ] I've verified that there are no regressions in mvn test (there are no new failures or errors).
[ ] I've verified that this change works as intended.

[ ] Downloads all relevant content.
[ ] Downloads content from multiple pages (as necessary or appropriate).
[ ] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.

[ ] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

[ ] I've added a unit test to cover my change.

Coverage increased (+0.03%) to 14.112% when pulling c2e42f260ed482045cc13832e8550896ab8e6c8a on Isaaku:issues/1379_network_fix into bd58568821f6601bcc0c80a6a537df2615403e89 on RipMeApp:master.

Coverage increased (+0.03%) to 14.112% when pulling c2e42f260ed482045cc13832e8550896ab8e6c8a on Isaaku:issues/1379_network_fix into bd58568821f6601bcc0c80a6a537df2615403e89 on RipMeApp:master.

Missing MAC tests

LGTM


Added gutter separate list method

Connection with issue(s)
Resolves issue #11.
This PR adds the Gutter.separateChildren() method and the ListGutter extension on List<Widget>, solving the mentioned issue.

Thanks! Sorry it took me so long to answer you 😞


Incompatible with Optifine b1.8.1 ?

Hi,
just tried optifine standard, smooth and multi-thread vb1.8.1, crashes when launching a world, or when going in deeper video parameters.

wait a minute;.. I cannot go to the video settings rn, white screen, even when removing optifine and resetting the mod (minecraft b1.8.X)

I think Optifine just broke my game. I reinstalled it with only Mc b1.8.X and it runs well


fix compile error,res args add type

Fixes

add type with res args
fix compile error ,with local env

➜  rustc -Vv
rustc 1.62.0 (a8314ef7d 2022-06-27)
binary: rustc
commit-hash: a8314ef7d0ec7b75c336af2c9857bfaf43002bfc
commit-date: 2022-06-27
host: x86_64-apple-darwin
release: 1.62.0
LLVM version: 14.0.5

Caused by detail error:
...
error[E0282]: type annotations needed
   --> src/executor/query.rs:631:9
    |
598 |         let res = match &res.row {
    |             --- consider giving `res` a type
...
631 |         res.and_then(|json| {
    |         ^^^ cannot infer type
    |
    = note: type must be known at this point
...

On my notebook，env:
➜  rustup default
stable-x86_64-apple-darwin (default)
➜

sea-orm branch:master


Do error checking for valid file paths

My desktop doesn't have /sys/class/power_supply/BAT0

fixed in 3585729


display images attached to each resource

this one has got an image attached. is it possible to display the images.
might be useful for external (non-F+) resources.
nice to have but not urgent at all.

Attaching an image is easy, but question is where should this image be displayed.

maybe where the three circles are? whichever works the best


I can't find  'caffe2_pybind11_state.dll' after build 'INSTALL' module with VS2017

If this is a build issue, please fill out the template below.
System information

Operating system: Win10
Compiler version: N/A
CMake version: 3.10
CMake arguments: N/A
Relevant libraries/versions (e.g. CUDA): CUDA 9.0

Summary
I looking for 'caffe2_pybind11_state.dl' that mentioned in the guidance. But I can't find it after 'INSTALL' building success.
How can I check whether my installation is wrong or not? If my description is not clear enough or missing the detail you need, please tell me, thanks in advance!

Hi
Have the same issue. Following https://caffe2.ai/docs/getting-started.html?platform=windows&configuration=compile and up to "Python Configuration".
Tried VS 2017 github install but got error.

Then tried 'git clone --recursive https://github.com/caffe2/caffe2.git' to new folder, but it didn't install 'caffe2_pybind11_state.dll' to \caffe2\build\caffe2\binaries\Release
It does however install various binaries to a different path

Any idea on the solution?
Finally, my whole intent of doing this is to test FPS of Mask RCNN - want to see if it can get to 15FPS or so because otherwise my demo isn't viable. So let me know if you already know this answer please :)
git clone --recursive https://github.com/caffe2/caffe2.git
git clone --recursive https://github.com/caffe2/caffe2.git


app icon: new blackboard metaphor

New icon following the HIG, as discussed in #42.
This adds the source file and the exported hicolor and symbolic icons, but importantly it does not hook them up to the build system or remove old assets, so the new icons are not used yet.

Thanks once again @bertob!


add support/ custom icon for test files (foo.test.js/ foo.test.ts)

love your icons. they look really nice modern.
would you consider adding custom icons for js/ ts test files?

I think that is doable, usually they are just a different color so happy to do that.

Would be fantastic if you could support these files with same color as *.test.*! :rocket:
*.spec.js
*.spec.jsx
*.spec.ts
*.spec.tsx


[Incident] OceanHackWeek hub cannot start server

Summary

OceanHackWeek hub cannot start a server. Reported in https://2i2c.freshdesk.com/a/tickets/172
Impact on users

Hub unusable as no one can start a server.
Important information

Hub URL: oceanhackweek.2i2c.cloud
Support ticket ref: https://2i2c.freshdesk.com/a/tickets/172

Tasks and updates

[x] Discuss and address incident, leaving comments below with updates
[x] Incident has been dealt with or is over
[x] Copy/paste the after-action report below and fill in relevant sections
[x] Incident title is discoverable and accurate
[x] All actionable items in report have linked GitHub Issues

After-action report template
# After-action report

These sections should be filled out once we've resolved the incident and know what happened.
They should focus on the knowledge we've gained and any improvements we should take.

## Timeline

_A short list of dates / times and major updates, with links to relevant comments in the issue for more context._

All times in {{ most convenient timezone}}.

- {{ yyyy-mm-dd }} - [Summary of first update](link to comment)
- {{ yyyy-mm-dd }} - [Summary of another update](link to comment)
- {{ yyyy-mm-dd }} - [Summary of final update](link to comment)

## What went wrong

_Things that could have gone better. Ideally these should result in concrete
action items that have GitHub issues created for them and linked to under
Action items._

- Thing one
- Thing two

## Where we got lucky

_These are good things that happened to us but not because we had planned for them._

- Thing one
- Thing two

## Follow-up actions

_Every action item should have a GitHub issue (even a small skeleton of one) attached to it, so these do not get forgotten. These issues don't have to be in `infrastructure/`, they can be in other repositories._

### Process improvements

1. {{ summary }} [link to github issue]
2. {{ summary }} [link to github issue]

### Documentation improvements

1. {{ summary }} [link to github issue]
2. {{ summary }} [link to github issue]

### Technical improvements

1. {{ summary }} [link to github issue]
2. {{ summary }} [link to github issue]

I tried restarting the hub pod (by deleting it) and that has resolved the issue. Not entirely sure what happened though.

Do the events from the hub pod show any issues from probe failures?

Unfortunately I don't know how to retrieve logs from before the restart. I tried the following with no luck:
❯ k logs -c hub hub-86b885f486-mwnqt --previous
Error from server (BadRequest): previous terminated container "hub" in pod "hub-86b885f486-mwnqt" not found

I believe k describe hub-86b885f486-mwnqt would show probe events, but it looks like the JupyterHub healthcheck that the probes hit is pretty shallow, so they may not be the most effective at catching when a hub pod has an issue.
https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/548111f1b7d716b744c3abaa414b76c03b7eeed9/jupyterhub/templates/hub/deployment.yaml#L222-L229
https://github.com/jupyterhub/jupyterhub/blob/3b59c4861f155f868bcf29c00dfa78034d289950/jupyterhub/handlers/pages.py#L584-L592
Do you ship the logs anywhere?

After-action report
These sections should be filled out once we've resolved the incident and know what happened.
They should focus on the knowledge we've gained and any improvements we should take.
Timeline
A short list of dates / times and major updates, with links to relevant comments in the issue for more context.
All times in BST (UTC+1).

2022-08-10 15:54 - Incident reported and initial
2022-08-10 15:57 - Incident resolved

What went wrong
Things that could have gone better. Ideally these should result in concrete
action items that have GitHub issues created for them and linked to under
Action items.

It is not clear what technically went wrong, because...
Engineer didn't collect all relevant logs

Where we got lucky
These are good things that happened to us but not because we had planned for them.

The random decision to restart the pod worked

Follow-up actions
Every action item should have a GitHub issue (even a small skeleton of one) attached to it, so these do not get forgotten. These issues don't have to be in infrastructure/, they can be in other repositories.
Process improvements

A checklist of what "top 5" things to try when faced with an incident would help a lot, but it also needs to have steps that ensure any logs are preserved in an issue before destructive actions are taken and they are lost [link to github issue]

Documentation improvements

{{ summary }} [link to github issue]
{{ summary }} [link to github issue]

Technical improvements

{{ summary }} [link to github issue]
{{ summary }} [link to github issue]

Do you ship the logs anywhere?

Not to my knowledge

Do you ship the logs anywhere?

Not to my knowledge

Dang. GCP or whomever may have caught the logs anyways if you poke around in the console. Loki also collects them, not sure if you have that set up as part of your Grafana.

Yuvi has just informed me that we do indeed have logs in the GCP console! They're a bit hard to read though, but there are a lot of CancelledErrors stemming from asyncio from before the incident report.

Try looking back before 7 or so Eastern. That's when I first had issues.

Does the hub pod share the NFS mount with the users? Could it have been affected by the same space issue as we hit yesterday, and we just didn't have anyone else try to launch a server after that fix rolled out?

@abkfenris We suspect this is an issue with the availability of the k8s master. We are seeing spawning processes being cancelled, should not be related to the NFS. The 2i2c cluster is not regional, so it does not have high availability of the k8s master so we see issues like this occasionally and the fix is to restart the hub pod. We have an issue to move the cluster to be a regional one, but it would be a destructive process and we need to coordinate appropriate downtime with everyone who has a hub running on this cluster.

I found these logs in another hub that had the same symptoms at the same time:
client_session: <aiohttp.client.ClientSession object at 0x7f76cb1a4790>
[E 2022-08-10 04:55:25.413 JupyterHub reflector:351] Watching resources never recovered, giving up
    Traceback (most recent call last):
      File "/usr/local/lib/python3.9/site-packages/kubespawner/reflector.py", line 285, in _watch_and_update
        resource_version = await self._list_and_update()
      File "/usr/local/lib/python3.9/site-packages/kubespawner/reflector.py", line 228, in _list_and_update
        initial_resources_raw = await list_method(**kwargs)
      File "/usr/local/lib/python3.9/site-packages/kubernetes_asyncio/client/api_client.py", line 185, in __call_api
        response_data = await self.request(
      File "/usr/local/lib/python3.9/site-packages/kubernetes_asyncio/client/rest.py", line 193, in GET
        return (await self.request("GET", url,
      File "/usr/local/lib/python3.9/site-packages/kubernetes_asyncio/client/rest.py", line 177, in request
        r = await self.pool_manager.request(**args)
      File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
        conn = await self._connector.connect(
      File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
        proto = await self._create_connection(req, traces, timeout)
      File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
        _, proto = await self._create_direct_connection(req, traces, timeout)
      File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
        raise last_exc
      File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
        transp, proto = await self._wrap_create_connection(
      File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
        raise client_error(req.connection_key, exc) from exc
    aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host <IP_ADDRESS>:443 ssl:default [Connect call failed ('<IP_ADDRESS>', 443)]

[C 2022-08-10 04:55:25.414 JupyterHub spawner:2326] Pods reflector failed, halting Hub.
ERROR:asyncio:Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<shared_client.<locals>.close_client_task() running at /usr/local/lib/python3.9/site-packages/kubespawner/clients.py:58> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f76cb113280>()]>>
Exception ignored in: <coroutine object shared_client.<locals>.close_client_task at 0x7f76d0662dc0>
RuntimeError: coroutine ignored GeneratorExit

This is definitely due to the GKE master having a hiccup. It usually recovers shortly, but it looks like the jupyterhub process isn't :( We should definitely report this upstream.

The hub also has a 'shut down' button in the admin panel that would also fix this specific problem, where you just see 'server requested' and nothing happens.

The hub also has a 'shut down' button in the admin panel that would also fix this specific problem, where you just see 'server requested' and nothing happens.

Do you mean 'Shutdown Hub' or 'Stop All' or the per user 'Stop Server'? I had tried 'Stop server' on my own server when it was in that state.

The "Shutdown hub" button will restart the hub

FYI, location of the logs in GCP: https://console.cloud.google.com/logs/query;query=resource.type%3D"k8s_container"
resource.labels.container_name%3D"hub"
resource.labels.namespace_name%3D"ohw";timeRange=2022-08-10T14:22:12.000Z%2F2022-08-10T15:30:12.000Z;cursorTimestamp=2022-08-10T14:55:01.930889041Z?authuser=1&project=two-eye-two-see

I am going to close this issue now because:

The incident is over
The After Incident report has been posted and updated
All items in the After Incident report have links to other issues for tracking

Just to clarify, the the 'Shutdown Hub' button asks the hub pod to terminate itself, so that Kubernetes replaces it?
I ask, as I caused an incident in high school when I found a shutdown & restart button on the compute cluster that I wasn't supposed to have access too. Unsurprisingly I clicked it, then everything went down for hundreds of students and faculty. One screen broken from a classmate putting their fist through it later, it came back up as I thankfully hit restart, but I was hanging out with the tech crew for the rest of the class period making sure that no one else could find the same bug.

Just to clarify, the the 'Shutdown Hub' button asks the hub pod to terminate itself, so that Kubernetes replaces it?

Yes, that's correct!

We just (~12:26 Eastern) had the hub lock up again, but things seemed to recover immediately after hitting the 'Shutdown Hub' button.


Add missing methods: go back, go forward, reload, stop, get title, get URL

I am not sure as for the WKWebKit implementation, because I don't have a Mac and cannot test it. Please fix it if it is wrong.

Related: #682


Simple tosa.conv2d testcase fails to compile to VMVX+ukernel+data-tiling

Testcase (minimized from the one in #12189, coming from @lundong):
module {
  func.func @main(%arg0: tensor<1x112x112x8xi8>) -> tensor<1x112x112x16xi32> {
    %0 = "tosa.const"() {value = dense<[-918, -4433, 87, -234, -21393, 7738, 529, -8835, -16817, -375, -199, 572, 5082, 15569, -186, 4955]> : tensor<16xi32>} : () -> tensor<16xi32>
    %1 = "tosa.const"() {value = dense<"0xE2E2E2E2E2EBF6E206E2E2E8EBE6DEE2E0E2E2FDDCE7E1E2E2E2E2FDDFE6E0E3EBE2E2DCEFAC213DE2E2E2E3E2D3C9E4E2E2E2E2E3E1E1FA3EE2E2E9E9E5E3E47FE2E2E4EDE2E2E3E0E2E2E4DFE9DCFEE3E2E2E2E2E2E2E2F9E2E2E6EBEADCE4E2E2E2CEE5E1E0E181E2E2D9D3DEE1DDE2E2E2E2E2E2E2E2C5E2E2E2DBE1E3E1"> : tensor<16x1x1x8xi8>} : () -> tensor<16x1x1x8xi8>
    %2 = "tosa.conv2d"(%arg0, %1, %0) {dilation = array<i64: 1, 1>, pad = array<i64: 0, 0, 0, 0>, quantization_info = #tosa.conv_quant<input_zp = -128, weight_zp = -30>, stride = array<i64: 1, 1>} : (tensor<1x112x112x8xi8>, tensor<16x1x1x8xi8>, tensor<16xi32>) -> tensor<1x112x112x16xi32>
    return %2 : tensor<1x112x112x16xi32>
  }
}

Repro command line:
tools/iree-compile --iree-input-type=tosa --iree-hal-target-backends=vmvx --iree-vmvx-enable-microkernels --iree-flow-enable-data-tiling /tmp/conv1x1_test2.mlir

With the fix from #12189 avoiding the crash, this now results in the error message
/tmp/conv1x1_test2.mlir:5:10: error: 'func.func' op Tile+Distribute failed
    %2 = "tosa.conv2d"(%arg0, %1, %0) {dilation = array<i64: 1, 1>, pad = array<i64: 0, 0, 0, 0>, quantization_info = #tosa.conv_quant<input_zp = -128, weight_zp = -30>, stride = array<i64: 1, 1>} : (tensor<1x112x112x8xi8>, tensor<16x1x1x8xi8>, tensor<16xi32>) -> tensor<1x112x112x16xi32>
         ^

We are hitting the notifyMatchFailure here: https://github.com/iree-org/iree/blob/3c754f8e1c922429289250af22936a9bd556faec/compiler/src/iree/compiler/Codegen/Common/TileDispatchUsingInterface.cpp#L505-L509
Calling tiledProducer->dump() here, to see what isn't a TilingInterface as was expected, shows:
%extracted_slice_8 = tensor.extract_slice %52[%34, %43] [%20, %23] [1, 1] : tensor<?x?xi32> to tensor<?x?xi32>

Full mlir-print-ir-after-all:
https://gist.github.com/bjacob/cd6c4c471bbb6952dd63c4de8346b960
This only repros if with the conjunction of all these flags: --iree-hal-target-backends=vmvx --iree-vmvx-enable-microkernels --iree-flow-enable-data-tiling.

FYI @hanhanW

A suggestion: after this issue is resolved, we may add the flag -iree-flow-enable-data-tiling in the e2e ukernel test at:
https://github.com/iree-org/iree/blob/main/tests/e2e/tosa_ops/CMakeLists.txt#L169

The issue happens in TileAndDistribute pass. The pass does not handle the case of tiling an op could generate multiple ops. In ukernel path, the unpack op has dynamic inner tiling sizes. In the context, tiling unpack op generates unpack + extract_slice ops. However, there are no tiling implementation of extract_slice op. Thus, it gets failed.
We don't need to cast the tiledProducer to TilingInterface. We can drop the casting to fix the issue. Here is the prototype: https://github.com/iree-org/iree/pull/12203/commits/b30b4f04b7917b65e80119318af86838ae531380
note that it's based on https://github.com/iree-org/iree/pull/12179

Great, thanks for jumping on this @hanhanW !

However, there are no tiling implementation of extract_slice op.

So is that what needs to be fixed? Implement TilingInterface for extract_slice? Will that be enough, or were you suggesting that there was another separate issue above when you say "The issue happens in TileAndDistribute pass. The pass does not handle the case of tiling an op could generate multiple ops." ?

We don't need to cast the tiledProducer to TilingInterface. We can drop the casting to fix the issue. Here is the prototype: https://github.com/iree-org/iree/commit/b30b4f04b7917b65e80119318af86838ae531380

Great, are you sending this as a PR?

Yes, there is a draft PR: https://github.com/iree-org/iree/pull/12203
I have to discuss with @MaheshRavishankar how to land the stuff properly. I'm also wondering if there are tiling implementation for extract_slice op. I haven't found the implementation. @MaheshRavishankar do you know anything about it?

We shouldnt implement the TilingInterface for extract_slice op. This creates a circular logic. The tile + fuse uses extract_slice as the anchor to find what to fuse. Implement the TilingInterface for that op itself would make things really hairy. You cant distinguish between what is a compute op to be tiled + fused, vs. what is a slice operation. Lets look a bit deeper. It might need some fixes to the interface API to fix this.

SG! In this case, I think my prototype makes sense. I'll clean it up after landing its parent PR.


Up arrow message history

This function does not account for multi-line editing.
If you have several lines written in the input, hitting 'up' to edit a line above your cursor will change the text to your last message.
This can be fixed by checking the cursor position and only loading the new text if the cursor is at the start.

Fixed with commit 84b1ef39298d8fd14887c3c1de3967b0d912beb3.


Is react-markdown compatible with browser?

I'm from cdnjs. Recently we want to host your popular lib on https://cdnjs.com. I need to confirm if it can directly use in browser? Thank you!
https://github.com/cdnjs/cdnjs/pull/11137

If you use the UMD bundle, it's possible to use it in the browser, but it requires that React is loaded on the same page first.
I have not checked in the UMD bundle to source control - but it's available in the NPM package<EMAIL_ADDRESS>I can't see it working out of the box as the pull request stands, but I could potentially check in the UMD bundle(s) if that helps?

@PeterDaveHello If this lib need React to be loaded first, can we host the UMD bundle? Thanks!

I didn't see a problem here, can't we just use its umd release on npm?

Thanks, we will turn to use umd on npm.


<IP_ADDRESS>_Strings:Palindrome_Problems(Problem-3)

Description 📜
Fixes #3079

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[x] DSA
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

/assign

this is not an issue,its a pull request

/assign

@goelesha how can you even say its copied from gfg.Yes i admit i took a reference from it as mentioned in readme that we can take a refernce from these standard websites.Its a learning experience for all of us i guess and we won't be knowing everything from the very beginning.Also if u are keeping such an eye on copy and paste things do check every line of my code and gfg .my explanation,test cases and understanding,you will see a big difference.Thankyou

@goelesha i have taken a reference from gfg for the algorithm but the code isn't exactly the same.
Do let me know if there is any specific change you want me to do

@aishapervin It's okay that you have taken reference and your explanation is also good but pls try to differentiate code somewhat from the exact reference.
Secondly pls watch your tone. If your PR was completely copied then I would have closed it straight away.
We also want you people to learn and try writing the code yourself. You can understand the code and approach and then try writing it on your own. When you see the code which you will write yourself you will see a difference. That is why I mentioned that your code is copied, not the explanation. I suggest just take some more time and try writing the code on your own even if you take reference that's also fine with me. Make sure to mention the references you have used. And don't just write the function, implement the whole thing including the main function.
Write the output for a particular test case and explain who the code will run and the loop iterations that will occur for that particular input.

@goelesha plz have a look.


Error "Exactly one scaled object should match label deploymentName="

Expected Behavior
Expect to be able to define multiple ScaledObjects targeting same deployment.
Actual Behavior
When creating more than one ScaledObject for same deployment, Metrics ApiServer throws the following error every 15 seconds  and the deployment doesn't scale past 1.
E0624 19:28:24.701998       1 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"Exactly one scaled object should match label deploymentName=keda-tester-group-1"}
I'm using Kafka scaler and need to scale a single deployment based on multiple Kafka topics. I've tried changing ScaledObject definitions  - renaming metadata.labels value to a unique value per ScaledObject, removing metadata.labels, renaming metadata.labels to metadata.label ( I've found #158 and was trying to follow that thread in hopes to resolve my issue). None of this helped.
Definitions
Deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: keda-tester-group-1
  namespace: keda-group-1
  labels:
    app: keda-tester-group-1
spec:
  replicas: 0
  selector:
    matchLabels:
      app: keda-tester-group-1
  template:
    metadata:
      labels:
        app: keda-tester-group-1
    spec:
      containers:
        - name: kafka-keda-tester
          image: mycontainerregistry.azurecr.io/poc/kafka-keda-tester:latest
          imagePullPolicy: Always
          env:
            - name: verb
              value: "consume"
            - name: first-topic
              value: "1"
            - name: last-topic
              value: "50"

ScaledObject1.yaml
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
  name: keda-scaleobject-1-group-1
  namespace: keda-group-1
  labels:
    deploymentName: keda-tester-group-1
spec:
  scaleTargetRef:
    deploymentName: keda-tester-group-1
  pollingInterval: 5
  minReplicaCount: 0   #Optional Default 0
  maxReplicaCount: 5  #Optional Default 100
  cooldownPeriod: 10
  triggers:
  - type: kafka
    metadata:
      # Required
      bootstrapServers: kafka:9092
      consumerGroup: keda-tester
      topic: Topic-1-KEDA
      lagThreshold: "5"
    authenticationRef:
      name: keda-trigger-auth-kafka-credential

ScaledObject2.yaml
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
  name: keda-scaleobject-2-group-1
  namespace: keda-group-1
  labels:
    deploymentName: keda-tester-group-1
spec:
  scaleTargetRef:
    deploymentName: keda-tester-group-1
  pollingInterval: 5
  minReplicaCount: 0   #Optional Default 0
  maxReplicaCount: 5  #Optional Default 100
  cooldownPeriod: 10
  triggers:
  - type: kafka
    metadata:
      # Required
      bootstrapServers: kafka:9092
      consumerGroup: keda-tester
      topic: Topic-2-KEDA
      lagThreshold: "5"
    authenticationRef:
      name: keda-trigger-auth-kafka-credential

Specifications

KEDA Version: Latest as of yesterday installed via Helm
Platform & Version: Azure k8s
Kubernetes Version: 1.16.1
Scaler(s): Kafka

This is by design but you are probably going this route because multiple triggers are not working for you or do you have another scenario?

@tomkerkhove Thanks for replying. It was my understanding that KEDA doesn't support multiple triggers of the same type on single ScaledObject (based on #828) so I haven't tried that. Are you saying that this actually is supported and I misunderstood the issue report? I guess I will try this in the morning to see what I can get with a single ScaledObject and many triggers on it.
In my case I need to be able to scale a deployment based on a very high number of topics (I can see a need for a 80-100 or even more topics driving the scaling).

No no, I must have not been very clear but it's not supported yet but my question is more is that why you are trying to use multiple scaled objects or because you want to go that route explicitly?

Multiple ScaledObjects pointing to one Deployment is not supported and can't work, they would interfere.
For the upcoming v2 we are planning to add support to specify mutliple triggers in ScaledObject, that's the way you could probably go.

Unfortunately, both are not supported for now indeed, but multiple triggers are going to be supported for v2. (cc @zroubalik)
Just for my understanding, what's your scenario for scaling a workload based on 100+ topics? Does it process all of them?

Do you guys have an ETA for v2? What are we talking about here - 1-2 months, 5-6 months, a year?
@tomkerkhove I've got a highly multi-tenanted solution with tenant isolation at topic level. Based on SLAs and other metrics tenants are getting different level of "shared" environments - a single deployment may serve a single tenant or a group of 10-50-100 tenants. In addition in order to better utilize resources and control cost it makes sense to pool tenant processing into a deployment with a limited number of replicas. However based on your ETA for v2 we may look at altering this approach.

@alexandery  I think that we are talking about 1-2 months. Most of the neccessary work is done, from the big items we just need to finish ScaledJob implementation.

I'll close this issue, thanks for clarification guys!


Testing for Research Outputs tab and ID minting feature

Project Details

[x] On the project details page if you enter the project dates incorrectly and then try to save you are directed to a error message but loose all your work. Can we somehow get the error earlier or save the other data fields?
[x] The Project abstract box is missing the TinyMCE editor
[ ] The Funding Opportunity Number field is defaulting to a value of "12345"

Collaborators

[x] The "Add a Contributor" button is missing on the Collaborators tab

Research Outputs

[x] "The Research Outputs" tab is missing the add output button

[x] The license field has way too many options coming from the SPDX list. I chatted w/ Erin and this is the best list for licenses so we're in the right place, but still need to modify since it's way too long right now. Can we pull out the generic Creative Commons options? We can then give folks an "Other" option that then pulls up the full SPDX list. Let's talk about this and see if it makes sense in practice.

[x] Change the display text for the selected license to the title of the license- linked to the record in SPDX.

[ ] Remove the tool tip for Sensitive Data. I haven't been able to find a succinct definition that is actually useful so I think we should skip this for now. We can add a tool tip in later if needed.

[ ] If you select one of the additional (non CC-BY) licenses it correctly saves and updates the Hub but does not show it when you revisit the edit Research Output page

Issues related to ID Minting

[x] Checking the metadata within the DMPTool against the metadata in the XML record sent to DataCite I noticed a problem with contributors. The plan here: https://dmptool-stg.cdlib.org/plans/58899/contributors has three contributors listed, two of which are UCNRS and one is UCB. The XML file lists the same contributor twice and is grabbing the wrong ORCID.
[x] This might just be an issue with a bad ROR, but I am the creator of this plan  but in the XML record it has the creator's affiliation as Oregon State University. When I created the plan I was affiliated with UCNRS.
[ ] I tested the collaborators connection w/ the DOI record and I'm still having an issue with one of the users (me) being listed as Oregon State University. For example, this plan and this DataCite record. If you're not seeing this issue on your end maybe this is just something off with my profile on staging and not a real issue. I'm not sure so adding it here.
[ ] It looks like the fundref ID is not being passed to DataCite. For example this record
[ ] Change 'a few minutes' to 'a few seconds'
[ ] Send the plan visibility to the DMPHub so it can hide the link back to the DMP

Add ethics to JSON

@mariapraetzellis I cannot duplicate the issue with the Funding Reference Number. There used to be code in place that put the Plan id in there but that has been removed. If its an old plan, the value may have already been there due to that old code.
The issue with the missing Fundref info in the DataCite record was due to bad data in the stage DMPHub database. I just ran a script that went out and harvested the Fundref ids from ROR. I created a script that will force a sync of EZID's copy record.

Rather than comment on every item, I am confirming that these are working as expected in the original comment by adding "[x] Maria"


⚠ Fortnite has degraded performance

In 2b4212a, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1506 ms

Resolved: Fortnite performance has improved in d3cb6df.


For determination form fields, add an option that makes a field only visible for the team/staff role

For review form fields, add an option that makes a field only visible for the team/staff role and author only.

We've decided to close this as we're unsure if this is still a need.


Error when running update.py -players

When I run the update.py script with the option -players, I receive this error:

I have checked any possible permission that could be involved, and have been running it as root to see if I can run it, but cannot.
Any other option I give update.py runs flawlessly. I have gone through the depths of the internet trying to see if this is a generic problem but it doesn't seem to be. Thanks in advance!

What is the PLAYER_UPDATE_CMD set to in ./python/config.py ?
For troubleshooting, add this prior to the subprocess.call on line 270 in ./python/update.py
print c.PLAYER_UPDATE_CMD
Then run it and see what command is outputted, you should be able to paste that command and run it without errors, if you still get a permissions error it's something outside of fflproject code.

PLAYER_UPDATE_CMD is appropriately set to ./python2.7/dist-packages/nflgame/update_players.py
When I run this command on its own, it updates all NFL Rosters and checks for any missing players with no errors (after fixing the JR issue with Charles Leno Jr)
I have checked subprocess.py and checked its permissions and they are set to 755.

Try creating a new file ex: test.py with the following contents:
`import subprocess
cmd = './python2.7/dist-packages/nflgame/update_players.py'
subprocess.call(cmd.split(' '))
`
If you run that, do you get the same error?

Yes I got the exact same error.

It must be an issue with the server config or permissions rather than fflproject code.  Do you have SELinux enforcing? Are you running python in a virtualenv?
Maybe you could try an even simpler test:
import subprocess

cmd = 'ls'
subprocess.call(cmd.split(' '))


Eureka static resource seems to not loading sometimes

Sometimes eureka dashboard is displayed without any design: it looks basic and ugly I mean, no spring logo or image etc...
With chrome developer tools i have this error :

GET http://my_ip:8761/eureka/css/wro.css 404 not found
GET http://my_ip:8761/eureka/css/wro.js 404 not found

For the records, this problem happens randomly. Which complicates to find the origin.
What could be the problem?
Looking quickly spring-cloud-netflix-eureka-server i found how wro.css and wro.js are generating (with wro4j-maven-plugin) but don't really know what's the problem.
My configuration :

Spring cloud version : Camden.SR5
Java 8
Use eureka with config client

(Just use @EnableEurekaServer to enable discovery server)
Could someone help me please ?

config server and eureka have conflicting paths. Did you change the root of config server?

I updated the description, i use eureka with the config client part because eureka config server is an other service in our application.

We have tests in the codebase for this, so you'd need to provide a small sample that recreates the problem.

Like i said in the description it's seems to occur randomly. I'll try.
FYI, we have no customization. We use
@EnableEurekaServer
@SpringBootApplication
public class OurApplication
with
<dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-starter-config</artifactId>
</dependency>

for spring cloud config.
and
<dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-starter-eureka-server</artifactId>
</dependency>

for eureka.

OK, let me know if you can provide something that consistently recreates the problem.

A little sample to reproduce this issue.
Please note it occurs randomly.
Please notice, we use the jar under a docker environement. I mean we build a docker image with and entrypoint which look like "java -jar server.jar"
discovery-sample.zip

Please try with the latest Camden.SR7 or Dalston.SR2. Also, can you capture some logs when it does happen?

After some research we found the problem. It was a conflict on spring properties . We use in our application spring.resources.add-mappings=false. That prevents eureka to retrieve static resoures.
I close the issue


Branding

Adds LTH font
Allows logo to be set using the LTH font and a string in config
Allows colors to be set in the config
Removes unused fonts
Removes favicons (until we make our own Rostsystem icon :smile: )

Looking good!

:waow: :+1:


Defining supportFile in configFile fails if config is not defined. (Yarn PnP)

If I run it with NETWORK_NAME=localhost PRIVATE_KEY=xxx yarn synpress run --configFile synpress.json and specify all the needed folder locations in my synpress.json, the runner will fail with:
Your supportFile is missing or invalid: /Users/my-computer/project/.yarn/cache/<EMAIL_ADDRESS>
The supportFile must be a .js, .ts, .coffee file or be supported by your preprocessor plugin (if configured).

Fix your support file, or set supportFile to false if a support file is not necessary for your project.

If you have just renamed the extension of your supportFile, restart Cypress

This has something to do with the Cypress preprocessor not being able to process the Yarn PnP .zip route.
The reason this is happening is that the defaultConfig is always being added in launcher.js if config arg is not defined.
Bypass
It is possible to bypass this bypass this by adding  --config='fixturesFolder=src/tests/e2e/fixtures,pluginsFile=src/tests/e2e/plugins/index.js,supportFile=src/tests/e2e/support/index.js'
Possible solutions
It would be possible to read the config file and determine if some if some of the properties exist in the config file before adding the defaults.
 fs.readFile(`${arguments_.configFile}`, 'utf8', (error, data) => {
        if (error) {
          console.log(`ERROR: ${error}`)
          return
        }

        const configData = JSON.parse(data)

        // determine which properties have already been assigned a path and act accordingly
 })

Since there is a way to bypass, this is so not urgent, let me know what you think about the possible solution, would there be an easier way to do this where the config file does not need to be read?
I'll then try to implement it.

I'm closing this for now, the problem goes deeper, the default files are of course needed for this all to function properly.


JSON Output

Hey Thinkst Team,
Is there a way to convert the switchboard.log file into a JSON output? I am having to perform a work around due to no STARTTLS capability and I am looking to implement the swithboard.log file into my SIEM to receive real time alerts when a token is fired. However, I am having difficulty decoding the swithboard.log file into a format my SIEM tool can read. Any suggestions would be greatly appreciated!
Thanks for the help

Hey @camaro23,
We dont have a neat way to convert switchboard.log into JSON however if you are integrating your OpenCanary with your SIEM, then I suspect you would only want to see incident information coming through (rather then all the debug/operational info that is output into switchboard.log.
I would suggest taking a look at the other logging options over here. With SIEM integration, we have seen people use the syslog or the tcp-json logger.
If the normal use case loggers don't work for you, we also have another project that runs with OpenCanary, known as OpenCanary Correlator which collects events and correlates them which can be useful for sending through to a SIEM.
Let me know if this helps or if you need any more information.

Hey @camaro23,
Let me know if you got everything sorted or if there is some more advice you may need.

Hey @ghost and @jayjb,
Apologies for the late reply. I have figured a work around solution that works for my environment. Thank you both for your suggestions!


Question

When using diffusion for image super-resolution, having too many inference steps can cause the details to deviate more from the real image.

Each step of the diffusion process randomly samples noise, which is the fundamental cause of the resulting randomness. Naturally, the more inference steps, the greater the randomness. If you want to reduce randomness in multi-step inference, you can refer to our recently work CCSR.


Filename extensions with suitable orders in the 'Save as type' drop-down menu when save the file.

The filename extension order is not suitable when saving a file. For example, when saving a file and choose 'Java' In the 'Save as type' drop-down menu, the file will be saved as '.class' file by default. Because the Java item shows like this: Java(*.class; .java; .jav; .java; .jav), '.class' before of '.java'. that can confuse some users.

/duplicate https://github.com/microsoft/vscode/issues/98504

@gonghenghai what operating system are you running?

Same for macOS Catalina 10.15.5.
Save the Untitled file to Java format, the default filename extension is .class. It should be .java.

Version: 1.50.0-insider
Commit: e13875b77c89b95f20ccb5667e14ff164c198e57
Date: 2020-09-15T05:31:36.744Z
Electron: 9.3.0
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.5.0

@bpasero When i tried to save an Untitled file to Java format in macOS, the default file extension is still .class. Looks like this issue is not fixed with the latest upstream electron.

I cannot reproduce that, steps:

new untitled file
hit Cmd+S
pick Java from the dropdown

By using the insider at 2020-09-15, actually i can reproduce it in both windows 10 and macOS 10.15.5.

@testforstephen you possibly have a Java extension installed? Does it reproduce when you disable that extension?

Yes, disable all installed extensions, the default extension name becomes .java. I'm wondering how the Java extension affect the file save logic?

@aeschli can you advise what an extension needs to do to get .java as first entry? I assume they need to change the order in package.json?

Java extension added the following section to package.json.
{
  "contributes":
   {
    "languages": [
      {
        "id": "java",
        "extensions": [
          ".class"
        ],
        "configuration": "./language-configuration.json"
      }
    ]
  }

If i added ".java" before ".class" in "extensions" field, the Untitled file will be saved to .java by default. But for Windows, the file extension candidates will contain a duplicated .java in file dialog. Is there any way to fix this?
Before:

Fix:

@testforstephen I pushed a fix for the duplicated file extensions (https://github.com/microsoft/vscode/commit/02cf31cda7af3d38200d61ddcc05bbde1dc1d37f)

@aeschli Cool, thanks for the quick fix.


'subtract with overflow ' panic in fn into_float::n_signif_bits

Converting a Decimal with absolute value less than 1 and significant bits larger than the number of mantissa bits of the target type causes the function 'n_signif_bits' to be called with parameter 0, which leads to the 'subtract with overflow ' panic.

Fixed with version 0.10.2.


Choosing a spelling correction in Edge confuses Draft

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Choosing a suggestion for a misspelled word hork's Drafts state rather than replacing the misspelled word with the suggestion.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/stopachka/m6z0xn4r/.

In Edge (38.14393.0.0 as of this writing) open https://facebook.github.io/draft-js
Type "Anoather.", hit enter, then type "This is another line."
Right click on the misspelled word and choose the suggestion "Another"

Note that the text is now
Another.
Another.nother line.

Clicking the first line (without typing) changes the state further to
Anoather.
Another.nother line.

The issue is that Edge does not appear to be firing the proper selection event causing Draft and the browser to disagree on where selection is. The browser changes the view but Draft does not change it's state in the same way. A workaround is necessary in order to account for Edge's behavior.
What is the expected behavior?
The misspelled word should have been replaced with the chosen suggestion.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
This affects the 0.10 branch of Draft on the current version of Edge on Windows 10. I have not tested in earlier versions of Edge or Draft.

Thanks for documenting this! I was able to reproduce it - this is definitely a bug. Sounds like we need a work-around for this case. I'd love to see a PR that takes a stab at this.


file naming UniprodID_pdbID.pdb

There seems to be an issue with the filename being cached for the case, where the structure is requested via UniProt id, but downloaded from the PDB. The new update means it is now saved as UniprodID_pdbID.pdb/cif, but cache[uniprotID] still gives UniprodID.pdb/cif (?). This breaks the cleaver for that specific case, which I can work around, but I wonder whether it makes more sense to update the cache output?

Hi @NikJur can you give a python snippet which shows the error and I fill have a look at fixing the cache behaviour

Hi @jmp1985 , thanks. Sorry, I actually found a way around it, that doesn't require restructuring I thought of afterwards.


Feature request: function to smooth external labels

Hello! I think it would be cool to have a function that smooths external labels. By that, I mean just smooth the labels touching background while leaving the interfaces between segments the same.
For context, this would be helpful to me as we do a lot of mechanical simulations where we make meshes of cells as input to the simluation. The meshes should be smooth and this is easier to achieve when the labels are smooth. The smooth_labels function in pyclesperanto_prototype works well for "internal labels" (i.e., boundaries between cells), but in my preliminary testing, doesn't seem to smooth the external boundary of the cells (I think due to this line).
Perhaps something like:

dilate all pixels that have a neighboring background pixel (e.g., value 0)
erode all pixels that have a neighboring background pixel (e.g., value 0)

I naively first tried just dilating than eroding the labels (and the other way around) and the issue is that that the interfaces between the cells also get modified and sometimes this leads to gaps, etc.
What do you all think?

If i understood well:
You have a set of labels
You want to smooth them but only the perimeter in contact with the background
My quick guess would be to:

binaries the label into a mask
smooth the mask
reapply the labels on the mask

would that work?

Yes, sounds like that could work!

I will have a look at it then!

Cool, thanks!

I added a filter, very similar to the smooth_labels but here only the binary version of the labels are smoothed using a closing and an opening operation.
I'm open for better function name, as well as considering merging it with the smooth_labels function.

Hi @kevinyamauchi ,
I think your use-case is covered with the function erode_connected_labels in combination with dilate_labels. You find an example notebook here:
https://haesleinhuepf.github.io/BioImageAnalysisNotebooks/20h_segmentation_post_processing/erode_connected_labels.html
Please let us know if this works for you! We could then implement erode_connected_labels in CLIc too.
Thanks!
Best,
Robert

Hey @haesleinhuepf ! I hadn't seen erode_connected_labels before. This in combination with dilate_labels is indeed helpful for my usecase.
#262 looks like it will be super useful. Thanks, @StRigaud !

Great!
The erode_connected_labels will be available in the next version 😃


User provided service instance: Tags not being saved

This is for both new an editing user provided service instances.
When editing a user provides service instance modifying tags does not enable the save button.

Issue was due to not being supported by the cf I was testing against. Looking at the api docs this was brought in via v1.17/api v2.104.0. However, in pcfdev with api v2.82.0 this fails. Works fine in SCF v2.0.2 api v2.115.0


Where is Data.List.elemIndex and friends?

I tried to replace Data.List with Relude.List in a project I am working on and it turned out that Relude.List does not re-export elemIndex, elemIndices, findIndex and findIndices. It looks to me like these functions are safe. Can they be re-exported?

Reexporting those functions probably will be a big breaking change if anyone uses their default versions for something like Vector. I'm not sure if we should encourage more usages of these functions on lists since they are not really efficient. They are not exported from Prelude so not exporting them from Relude sounds ok to me.
Currently, I'm opposed to reexporting them from Relude. I never needed those functions during the last 5 years of programming in Haskell. So I'm not sure if breaking code is worth reexporing those rarely needed functions.

I'm closing this issue for now. If there's enough interest from many people in making such functions available by default, we could reconsider this decision and reexport them. But for now I'd prefer to keep with the Minimalism goal of relude.


Update for Chrome  95.0.4638.69

Need to update the packages for  95.0.4638.69 as well as update they. why it handles the By Function since that is no longer exposed like it use to me

Unit Tests pass now


Add functions to Inlet

Summary

This PR is a feature
It does the following:

Adds barebones support for functions in Inlet

Design review
On Nov 10, we reviewed this PR.  We discussed the design ideas:

The use of primal's Vector as the native vector class in inlet
Parallelizing/JITing Lua functions for performance
Implementing "variants" in an input deck in a concise way/verifying them
Whether vectors should be implicitly expanded to scalar arguments for its components
Making primal's Vector operations usable in Lua
Supporting functions of Inlet's other primitive types as opposed to just Vec3D/Double
Adding support for "dictionary" types (string-keyed tables) in addition to "array" types (integer-keyed tables)

The use of primal's vector was determined to be acceptable, especially if 5. is implemented in a later PR.  All the other points will not be implemented as part of this PR, which is already quite large.
Most of this PR is new examples, tests, documentation, and boilerplate needed to conform to the underlying Sidre structure and to implement a new Function type alongside the Table and Field types.  Most of the truly "new" code is the template metaprogramming in the detail namespaces in Function.hpp and LuaReader.cpp, so that probably warrants closer review.
The creation of mfem::Coefficients from the input deck is currently implemented as an example, and will be first implemented in Serac to guarantee that it addresses all initial use cases, and then will be converted to a part of Inlet that gets built when Axom is built with MFEM.
We had also discussed the utility of a call function in addition to the get<std::function<FuncType>>.  Being able to call a function directly avoids a copy in cases where the function only needs to be immediately invoked as opposed to stored.  I've left it in for now as it may be useful, but the functionality already exists (although indirectly) as the user can retrieve a std::function and then call it.

@jamiebramwell feel free to take a look at the interface used in the examples

Looks good! My main thoughts are:

Do we need explicitly non-time-dependent versions? It might be cleaner to just always assume they take a time argument.
Can we avoid explicitly creating 3D mfem vector coefficients? I believe this will cause issues in host codes on 2D problems.

Docs can be viewed here: https://axom.readthedocs.io/en/feature-essman-inlet_functions/axom/inlet/docs/sphinx/advanced_types.html

To simplify the review process, I've removed the complex logic associated with arbitrary function signatures from this PR, which is now almost entirely tests/docs/examples + boilerplate needed to conform to the existing Inlet structure.  The only exception might be some of the remaining template logic in Function.hpp.


After version update node to 0.18 and lws to 0.2_0.18: No active accounts

After update I get this messages.
20.09.2022 10:50:512022-09-20 07:50:51.816	I Starting blockchain sync with daemon
20.09.2022 10:50:512022-09-20 07:50:51.817	I Retrieving current active account list
20.09.2022 10:50:512022-09-20 07:50:51.818	I No active accounts
But the account (pubkey, view key) was added using monero-lws-admin
I'll be glad to hear your suggestions :)
Maybe I miss something..

Sorry for the delay - install the application jq which helps with filtering some stuff. I'm not suggesting that you post the responses to these commands - sensitive information may be in it - however it will help determine the database state.
The command: monero-lws-admin list_accounts | jq -r '.active | .[] | .address' will list every account that is active. This should be an empty list. I would also just run monero-lws-admin list_account to see if there are any accounts listed in other states (than active).
There's also the monero-lws-admin debug_database command, but I don't think that's necessary (at least not yet).

Do you address this? I suffer from it too.

Do you address this? I suffer from it too.

Yeah, just add account and start rescan for it


Unable to create new domain

Describe the bug
I'm trying to create a new Cadence domain with:
docker run --network=host --rm ubercadence/cli:master --domain sample-domain domain register

and I get the following error:
Error: Register Domain operation failed.
Error Details: BadRequestError{Message: Invalid cluster name: }
('export CADENCE_CLI_SHOW_STACKS=1' to see stack traces)

To Reproduce
Is the issue reproducible?
Yes
Steps to reproduce the behavior:
Start new Cadence Docker setup with:

ubercadence/web:v3.22.2
ubercadence/server:0.18.0-auto-setup
graphiteapp/graphite-statsd
cassandra:3.11.9

and then run the domain creation command mentioned above.
Expected behavior
Domain is created.
Hope somebody can help me out. I only started getting these errors after upgrading to Go 1.16 and the versions of the Cadence Docker components.

I ran into this yesterday as well, what will get you to a working state (temporarily) is to add the cluster name to your command, ie:
docker run --network=host --rm ubercadence/cli:master --domain sample-domain domain register --active_cluster active

I had to dig through the Cadence Slack channel to figure that one out.
Now I say, "temporarily" because as of now you're not going to be able to use Go v1.16 because of this bug: https://github.com/uber-go/cadence-client/issues/1056
So, yea...

Hey thanks a lot for letting me know about this, it works! I think the documentation needs upgrading.
Regarding the 1.16 .gen issue, I'm using this branch to get around that until it is merged.

I'm not familiar with the internals but think there is a bug in this change. The default value for that flag is now an empty string instead of a nil pointer.
This flag should not be required for if you don't have any data center replication setup. Even if you do there should probably be some smart defaults for picking which cluster is initially active.

There are defaults that picks active cluster. However logic changed from checking nil pointer to checking for empty string. You are using older server release (0.18.0) which still checks for nil, while your cli (latest master) already passes empty string. This will get resolved with upcoming 0.20 release. For now please specify --active_cluster flag.

This bug is fixed in 0.18.2 .

This is not fixed. Unable to register a domain using the latest version. If I pass the --ac active argument it complains it doesn't exist. If I don't pass it , the domain is registered in secondary not in active cluster...

This is not fixed. Unable to register a domain using the latest version. If I pass the --ac active argument it complains it doesn't exist. If I don't pass it , the domain is registered in secondary not in active cluster...

I think this is a different issue— it’s because of your config changes. Maybe not directly from you. I know Cadence helmchart changed it recently:
Can you show me your clusterMetadata config?
https://github.com/uber/cadence/blob/bec009abeb29fc92a564477efdeb33efe5426170/config/development_active.yaml#L71
By default domain will be registered under primary(master) cluster.
and can you show me the domain info by “domain describe” command?
Also what is the issue of using secondary cluster?

Hi @longquanzheng , thank you for answering .
I am installing it using helm from here : https://github.com/banzaicloud/banzai-charts/tree/master/cadence
I don't have the "clusterMetadata" you've mentioned in the helm values....
Not sure why by default they are registered in secondary cluster . I even did a clean install and does the same
Describing a domain that was registered gives me the following:
Name: campaigns
UUID: bc2f1b63-9388-4a42-bea1-80b2b63b21a8
Description:
OwnerEmail:
DomainData: map[]
Status: REGISTERED
RetentionDays: 1
EmitMetrics: true
ActiveClusterName: secondary
Clusters: secondary
HistoryArchiveStatus: DISABLED
VisbilityArchieveStatus: DISABLED

Also what is the issue of using secondary cluster?
Well , if I do an upgrade I end up with things on active cluster ( according to information in the DB , or domain describe) and new domains end up on secondary cluster. I am not sure this will be ok.
Only if I do a clean install I will have them all in the secondary cluster.
I've also read that workflow only work on active cluster, but I might be wrong ..

https://github.com/banzaicloud/banzai-charts/blob/031c49f4f1f542f60a88bb9f5fc56c22a518d773/cadence/templates/server-configmap.yaml#L158
If you pass this env as true then the cluster will be “Primary”
So it’s not a problem at all that a cluster name is not “active”.  Active is a bad word to describe cluster name as we want to use “active”/ passive(standby) to describe if a domain is processing  write request in that cluster under XDC (replication) mode.
Cadence repo also update the config example recently to use “primary/secondary “ instead.
https://github.com/uber/cadence/blob/fbc79f966b27a4e63dbe0e00cd02314cf603730a/docker/config_template.yaml#L208

Cool, thank you. Adding the following into my helm cadence values made it work on a fresh install .
Env:
PRIMARY: true

Cool, thank you. Adding the following into my helm cadence values made it work on a fresh install .
Env:
 PRIMARY: true

The cadence stuff is created under cluster active, and the domain registration without passing addtional parameters is also created under active.
I am afraid in the future, as you've mentioned that active will be renamed into primary, we will start again...

Where do you get this PRIMARY?
I feel like something is off:
By default, the chart defines the clusterMetadata like this:
by default IS_NOT_PRIMARY is not set so it should be
masterClusterName: "primary"
currentClusterName: "primary"
https://github.com/banzaicloud/banzai-charts/blob/031c49f4f1f542f60a88bb9f5fc56c22a518d773/cadence/templates/server-configmap.yaml#L158
Did I miss something? Or are in on a different branch or commit?

Created an issue to improve it: https://github.com/banzaicloud/banzai-charts/issues/1274

I think it had to do with this part
   {{- if{{ .Env.IS_NOT_PRIMARY }} }}       currentClusterName: "secondary"     {{- else }}       currentClusterName: "primary"     {{- end }}
So when I specifid the the Env.PRIMARY ,  the current cluster name was set to primary so in resulted in active ?
I am not really sure to be honest but the result was evertyhing was under "active" afterwards ...
And registering a domain without passing any extra parameters like global domain or cluster ended up on the active cluster .

@dragosrosculete yeah I believe that's a bug then. Another user also reported the same thing that by default the template would apply to "secondary" as currentClusterName, which won't allow to create domain. Because only "masterCluster" can register domains.
I reported a bug here: https://github.com/banzaicloud/banzai-charts/issues/1275


fix: swap image.name to image.repository

Context

Swapping image.name to image.repository which tends to be more widely used in popular helm charts. This also has the added benefit of allowing it to work with the renovatebot
Choices

To be more in-line with popular helm charts and allow the renovatebot to manage dependencies.
Test instructions

Installing the helm chart
I'm not sure if automation will update the values markdown?
Checklist before requesting a review

[x] I have performed a self-review of my code
[ ] I've added documentation about this change to the README.
[ ] I've not introduced breaking changes. (Users will need to swap this in their values if they have it set)

@Filipe-Souza should I run helm-docs manually?

@anthr76 Is this PR ready to merge?

@anthr76 I personally use git pre-commit hooks to update the docs, running manually is fine also.

Sounds good! In that case this is ready to merge.


test ff 2

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12 (3d53de8) into master (fe8acc8) will decrease coverage by 1.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   70.76%   69.75%   -1.02%
==========================================
  Files         850      794      -56
  Lines       42251    39111    -3140
  Branches     4444     3691     -753
==========================================
- Hits        29899    27281    -2618
+ Misses      12352    11830     -522

Flag
Coverage Δ

cypress
49.84% <ø> (-6.20%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...t-frontend/src/dashboard/containers/SliceAdder.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

...ontend/src/filters/components/Select/buildQuery.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...tend/src/dashboard/util/getDirectPathToTabIndex.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...tend/src/visualizations/FilterBox/controlPanel.jsx
0.00% <0.00%> (-100.00%)
:arrow_down:

...nd/src/filters/components/Select/transformProps.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/common/hooks/useChangeEffect/useChangeEffect.ts
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/dashboard/util/getLayoutComponentFromChartId.js
0.00% <0.00%> (-100.00%)
:arrow_down:

...ponents/Select/WindowedSelect/WindowedMenuList.tsx
3.84% <0.00%> (-92.31%)
:arrow_down:

...tersConfigModal/FiltersConfigForm/DefaultValue.tsx
7.69% <0.00%> (-92.31%)
:arrow_down:

superset-frontend/src/utils/copy.ts
4.16% <0.00%> (-87.50%)
:arrow_down:

... and 193 more

Continue to review full report at Codecov.

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

/testenv up FEATURE-DASHBOARD_NATIVE_FILTERS=true