Runtime warning

RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (matplotlib.pyplot.figure) are retained

https://stackoverflow.com/questions/16334588/create-a-figure-that-is-reference-counted/16337909#16337909

https://stackoverflow.com/questions/21884271/warning-about-too-many-open-figures

Oof. After scoping the problem this one may deserve a blogpost on its own...


Understand type based on class

Pylance understands types in if statements based on isinstance() but doesn't apply the same logic when comparing __class__ of two objects.
Environment data

Language Server version: v2020.10.1
OS and version: OSX 10.15.4
Python version (& distribution if applicable, e.g. Anaconda): 3.6

Expected behaviour
In this simple example, Pylance correctly detects that everything is ok based on the type check from isinstance()

I would expect the same from this statement:

Actual behaviour
Pylance does not understand that the object "other" must be of the same class and therefor have the same functions/properties.

I don't think this pattern is sufficiently common to justify special-case type narrowing. It's also not clear how it would generalize to union types, etc. I recommend using either an assert or a cast as a workaround.

To be fair, this is the eq pattern generated by the dataclass under the hood.

Closing old issue. If this is still a problem, please reopen with the information requested. thanks


az webapp config appsettings set examples show using @moreSettings.json but thats not documented for --settings

--settings shows "Space-separated appsettings in a format of =." but the example snippet above clearly shows ... --settings mySetting=value @moreSettings.json

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

ID: 30f2ae52-2c7f-7e7e-8a62-f1b614f281d3
Version Independent ID: 9f23ff17-14e0-7800-0094-fb50a5fa91d6
Content: az webapp config appsettings
Content Source: latest/docs-ref-autogen/webapp/config/appsettings.yml
Service: app-service-web
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@yugangw-msft is this just a case of updating our help for this command?

@panchagnula yes.

https://github.com/MicrosoftDocs/azure-docs-cli/pull/1337

@VictorioBerra the change needs to be made in this repo's _help.py file.

https://github.com/Azure/azure-cli/blob/8f30c358850959700bf2711ed90e17ef214dcbb4/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/_help.py#L536

@tjprescott I do not see anywhere the --settings is mentioned in that file. The change is only needed in the flags description not the example usage.

@VictorioBerra the repo you made your PR to is autogenerated. Any change you suggest there will likely not be merged, because if it were, it would be trampled the next time the content is regenerated. It is generated from the CLI source, so you need to make the change to the CLI source.
In this case, you can add the entry for this to the help.py file, like this:
    parameters:
        - name: --settings
          short-summary: <your text here>

https://github.com/Azure/azure-cli/pull/8738


"Info" and "Download latest testing release" must be translatable

menuInfo.Text and menuTestingRelease.Text in MainWindow.resx

this is just a temporary string. as it is there, it can also disappear again tomorrow. so i don't want to maintain it unnecessarily


Add a chat highlighter and clean up chat channels.

Highlights

/highlight keyword keyword ... sets the player's highlight keywords. (defaults to the player's name)
/highlightsound -d will disable "pings" when highlights occur
/highlightsound sound.name will choose a sound name (note.pling by default)

All settings are persistent.
Channels

/who command lists players currently in channel, including those who went offline

Channels are not persistent, they must be rejoined when the server restarts (or plume reloads) but NOT when a user relogs.

Thanks Wiz, been meaning to clean this up for a while now. And thanks for highlights, was having trouble with that.

yea mojang's chat component thing is a pain. have to split and make a new subcomponent every single time you want to change formatting.

Agreed, it's a massive pain.

Ok, after this was put on Alice, it appears completely broken. I'm probably gonna revert the commits so we can have working chatchannels again.


Regarding the issue of model convergence

Hello, I have recently been trying to train your model. Could you please let me know at what value of score loss we can consider that the model has converged ?

It is difficult to give a precise value because it may change depending on the parameters you use.
Also, at the end, the decrease in score loss is very small, but other speech related metrics still improve.
I would suggest you look at the speech metrics and stop training when they have stopped improving.
FYI, the training is pretty long if I recall correctly.

Thank you very much for your advice. I am currently facing the following dilemma: I have trained for 300 epochs, but the value of my si-sdr metric is still negative. I am wondering if I have overlooked some training details.

I have checked my training logs and it appears something is wrong with your setup I think.
Here are the validation score and si-sdr


Benchmark comparison with P2300 sender/receiver?

Is there an implementation that you have in mind to benchmark?

https://github.com/NVIDIA/stdexec

very interesting comparison

Honestly, I will have to think about this one for a while.  I've taken a look at the repo for about an hour or so and I'm not sure that this would be an apples to apples comparison.  I'm not entirely sure that I could strip away enough of this repo to create a meaningful comparison without doing a disservice to what this library is trying to achieve.
I'll follow up more when I get a chance to consider and express this more.

work contracts has been moved to its own repository.  I will follow up on this there once I've presented WC at CppCon 24 and have time to document the results.


Fixes for array arguments to tasks and images in stepTemplates

The following task inside a pipeline causes tekton-lint to crash:
    - name: shellcheck-run
      taskRef:
        name: shellcheck
      runAfter:
        - clone-repo
      workspaces:
        - name: shared-workspace
          workspace: pipeline-pvc
      params:
        - name: shellcheck-args
          value: ["--color=always"]

or
        - name: shellcheck-args
          value:
            - "--color=always"

the shellcheck-args parameter causes the following error:
TypeError: value.match is not a function
    at readParamReference (/src/rules/no-pipeline-task-cycle.js:6:14)
    at /src/rules/no-pipeline-task-cycle.js:18:8
    at Array.map (<anonymous>)
    at paramsReferences (/src/rules/no-pipeline-task-cycle.js:17:17)
    at buildTaskGraph (/src/rules/no-pipeline-task-cycle.js:55:35)
    at errorCyclesInPipeline (/src/rules/no-pipeline-task-cycle.js:67:29)
    at module.exports (/src/rules/no-pipeline-task-cycle.js:78:5)
    at Object.lint (/src/rules.js:52:5)
    at AsyncFunction.lint (/src/runner.js:32:16)
    at runner (/src/runner.js:26:25)

There are other ways to solve this than using toString(), I'm happy to switch if there's an argument against it. (https://stackoverflow.com/a/27626619)

Next up, tekton-lint was crashing on a task definition where the image was specified in the stepTemplate and the step didn't have an image key.
This should probably result in an additional rule which ensures image is in step template if a step doesn't specify an image, but it's outside scope of the no-latest-image rule.

@bhartshorn thanks! I created a separate PR to address the image issue (#24), and updated the parsing logic in the no-pipeline-task-cycle rule. The example you provided now passes!

I published<EMAIL_ADDRESS>


show expected types of arguments in the CLI

The CLI didn't indicate the types of required arguments, and this was confusing for cases like civis scripts put-containers-archive, where a "status" boolean is expected.
Note that YAML is
Before:
» civis scripts put-containers-archive --help
Usage: civis scripts put-containers-archive [OPTIONS] ID STATUS

  Update the archive status of this object

  /scripts/containers/{id}/archive

  ID - The ID of the object.

  STATUS - The desired archived status of the object.
...

After:
» civis scripts put-containers-archive --help
Usage: civis scripts put-containers-archive [OPTIONS] ID STATUS

  Update the archive status of this object

  /scripts/containers/{id}/archive

  ID (integer) - The ID of the object.

  STATUS (boolean) - The desired archived status of the object.
...

Note that yaml is case-insensitive when parsing inputs as booleans.
In [6]: yaml.load("True")
Out[6]: True

In [7]: yaml.load("true")
Out[7]: True

In [8]: yaml.load("TRUE")
Out[8]: True

In [9]: yaml.load("FALSE")
Out[9]: False

@beckermr, you pointed this out.  Does this seem reasonable?

LGTM


Setup giving BadRequest error when trying to provision machine learning resource group

Environment summary
Installed from Azure ML Workbench and run from cmd.exe also from Azure ML Workbench.
Versions:

azure-cli (2.0.17)
ml (0.1.0a25.post3)

Windows 10 Pro
Issue
Following this tutorial on deploying an Azure ML model from Workbench as a web service. As soon as I get to the az ml setup command, I started to get errors. At first, I needed to add more providers via the az provider command, but now I get the following BadRequest error:
{
            "code": "BadRequest",
            "message": "SubDeployment: OperationId=3C6888DDBAD8C49A, ProvisioningState=Failed, StatusCode=BadRequest, StatusMessage={\n  \"code\": \"BadRequest\",\n  \"message\": \"Bad Request\",\n  \"innererror\": {\n    \"diagnosticcontext\": \"8bffadf5-495a-4a2a-a7cb-caa53388de15\",\n    \"time\": \"2017-11-02T18:13:20.8332731Z\"\n  }\n}\n"
},

Even on the Portal it gives the same error:

cc: @trangevi

@jwood803 can you please share your subscription ID as well as the name of the cluster you are trying to create and the location? Additionally, was there more to the cli output? I noticed the comma at the end, so if there is more output and you could provide that, it could be helpful as well.
Thanks

Sure, @trangevi!
I used this command - az ml env setup -n slrdemo -l eastus2 -c and under the "Visual Studio Enterprise" subscription. Is the actual subscription ID safe to post?
Here's the whole result of the az ml show command after the setup command:
{
  "Cluster Name": "slrdemo",
  "Cluster Size": 2,
  "Created On": "2017-11-03T15:30:59.132Z",
  "Location": "eastus2",
  "Provisioning Errors": [
    {
      "error": {
        "code": "BadRequest",
        "details": [
          {
            "code": "OK",
            "message": "SubDeployment: OperationId=5A5CE70CB8B103AF, ProvisioningState=Succeeded, StatusCode=OK, StatusMessage=\n"
          },
          {
            "code": "OK",
            "message": "SubDeployment: OperationId=A55E8E1E5A88973D, ProvisioningState=Succeeded, StatusCode=OK, StatusMessage=\n"
          },
          {
            "code": "OK",
            "message": "SubDeployment: OperationId=EDE16C6EE01B606B, ProvisioningState=Succeeded, StatusCode=OK, StatusMessage=\n"
          },
          {
            "code": "BadRequest",
            "message": "SubDeployment: OperationId=E55D92543882D708, ProvisioningState=Failed, StatusCode=BadRequest, StatusMessage={\n  \"code\": \"BadRequest\",\n  \"message\": \"Bad Request\",\n  \"innererror\": {\n    \"diagnosticcontext\": \"06d37652-c7b9-4e9c-9a24-4f354ed1aded\",\n    \"time\": \"2017-11-03T15:32:20.3683735Z\"\n  }\n}\n"
          },
          {
            "code": "OK",
            "message": "SubDeployment: OperationId=B4534DFE8E9AA2CF, ProvisioningState=Succeeded, StatusCode=OK, StatusMessage=\n"
          },
          {
            "code": "OK",
            "message": "SubDeployment: OperationId=1FAEC1E84016597C, ProvisioningState=Succeeded, StatusCode=OK, StatusMessage=\n"
          },
          {
            "code": "OK",
            "message": "SubDeployment: OperationId=00FAAE2AC3324687, ProvisioningState=Succeeded, StatusCode=OK, StatusMessage=\n"
          },
          {
            "code": "OK",
            "message": "SubDeployment: OperationId=803B8ADD8E534A60, ProvisioningState=Succeeded, StatusCode=OK, StatusMessage=\n"
          },
          {
            "code": "Conflict",
            "message": "SubDeployment: OperationId=08586918837549864004, ProvisioningState=Failed, StatusCode=Conflict, StatusMessage=Template output evaluation skipped: at least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\n"
          }
        ],
        "message": "Deployment failed with one or more errors. Please look at the inner error details"
      }
    }
  ],
  "Provisioning State": "Failed",
  "Resource Group": "slrdemorg"
}

@jwood803 Are you using an MSDN subscription? If you are, that is the issue, as they have a spending cap which causes the app insights deployment to fail.
If you are not I'll have to investigate further.

@jwood803 So the issue is that you are using the Visual Studio Enterprise subscription. Those subscriptions have a spending limit that causes our App Insights deployment to fail. The solution is to either use a subscription that doesn't have that spending limit, or to get the spending limit removed on that subscription.

in azure under subscriptions -> subscription -> resource providers. Do you have Microsoft.ContainerRegistry registered?

@Khirkhoff Yep, it's there. :)
I think what @trangevi mentioned is probably the issue, but I'm hesitant to test since I'm not sure what charges may incur testing it out.

@jwood803. I get the same issue like you. but I didn't solve it. how it's working for you. Did you use another Subscription? Can you please help me? I am stuck in this Problem for a week.

@mrali92 if you are indeed having the same issue then yes, switching to a non Visual Studio Enterprise subscription would likely solve the issue, as long as the subscription that you switch to doesn't have a spending limit.
If you are not using a Visual Studio Enterprise subscription and are having environment setup issues, please provide your subscription id, environment name, and region you are attempting to setup in and I can help to figure out the issue.

I had the same issue, and like @trangevi  said, switching accounts and registering for Azure Container Service worked for me.

Hi @trangevi ,can you please tell me how to remove the spending limit, i'm using a free subscription?
Thanks in advance!

I needed this, thanks so much for your help @jwood803 .


[utils] adding HistoryTracker module

This commit adds History Tracker feature and its CLI support. This
feature records history of different events as the Thread network
operates (e.g., history of RX and TX IPv6 messages or network info
changes).
Recorded entries are timestamped. When the history list is read, the
timestamps are given as the entry age relative to the time the list
is being read. For example in CLI a timestamp can be shown as
02:31:50.628 ago indicating the entry was recorded 2 hours, 31 min,
50 sec, and 628 msec ago. Number of days is added for events that are
older than 24 hours, e.g., 31 days 03:00:23.931 ago. Timestamps use
millisecond accuracy and are tacked up to 49 days. If an event is
older than 49 days, the entry is still tracked in the list but the
timestamp is shown as old or more than 49 days ago.
The HistoryTracker currently maintains 3 lists. The Network Info
history tracks changes to Device Role, Mode, RLOC16 and Partition ID.
The RX/TX history list records information about the received/sent
IPv6 messages:

Message type (UDP, TCP, ICMP6 (and its subtype), etc.)
Source and destination IPv6 addresses and port numbers
IPv6 payload length
Whether or not the link-layer security was used
Message priority: low, norm, high, net (for control messages)
Short address (RLOC16) of neighbor who send/received the msg
Received Signal Strength (in dBm) for RX only
Radio link info (15.4/TREL) on which msg was sent/received
(useful when OPENTHREAD_CONFIG_MULTI_RADIO is enabled)

Config HISTORY_TRACKER_EXCLUDE_THREAD_CONTROL_MESSAGES can be used
to configure HistoryTracker to exclude Thread Control message
(e.g., MLE, TMF) from TX and RX history.
The number of entries recorded for each history list is configurable
through a set of OpenThread config options, e.g., number of entries
in Network Info history list is specified by OpenThread config option
OPENTHREAD_CONFIG_HISTORY_TRACKER_NET_INFO_LIST_SIZE. The
HistoryTracker will keep the most recent entries overwriting oldest
ones when the list gets full.
This commit also adds support for HistoryTracker in CLI. The CLI
commands provide two style for printing the history information: A
table format (more human-readable) and list style (better suited for
parsing by machine/code). README_HISTORY.md is added to document
the commands and the info provided by each history list entry.
This commit also adds test_history_tracker.py test-case which
covers the behavior of HistoryTracker.

This feature is similar to wpantund's StatCollector and are both
mainly intended for testing and debugging.

In the latest push I add code to skip the newly added test_history_tracker test under distcheck build only (in simulation 1.1 workflow).
The new testcase fails under this build. It seems to be related to the long simulation wait times in this test (waiting for days up to 51 days).  Other build flavors seem to be working fine and the test is passing successfully on them. I also ran a stress test of 500 iterations of this test (locally) with no issues.  I tried to do a bit of investigation on the distcheck build itself but could not find any quick fixes for this. Since this test is far from critical and is already covered by other build flavors, I opted to skip it on distcheck build.

What's the background for this feature? @abtink

@simonlingoogle , users of wpantund transitioning to RCP requested that the stats collector module functionality be supported when using RCP mode.

Add to size-report ? @abtink

What's the background for this feature? @abtink

@simonlingoogle , users of wpantund transitioning to RCP requested that the stats collector module functionality be supported when using RCP mode.

Can the logs in RCP mode already serve this purpose?

Can the logs in RCP mode already serve this purpose?

@wgtdkp , it depends on the log level and processor capabilities - see #6706.

Add to size-report ? @abtink

I did not add the OT_HISTORY_TRACKER in chec-size script intentionally since this feature is not really intended for resource-limited devices. It is intended for posix platform (or posix-like platforms) where memory/code size is not critical. For NCP model, it should be host driver (e.g. wpantund) to collect such history.

What's the background for this feature? @abtink

@simonlingoogle , users of wpantund transitioning to RCP requested that the stats collector module functionality be supported when using RCP mode.

As @jwhui  mentioned, this is replacing StatCollector feature in wpantund

StatCollector was very useful, helped us a lot in finding issues and bugs.
Product team (testing) also relied on it and used it a lot during OT integration.

Can the logs in RCP mode already serve this purpose?

Logs are always helpful but as Jonathan mentioned, they may not be enabled or available.
During lab or in-field testings, it was common that logs were missing or not collected during critical times (specially around the times something was not working and needed debugging). Having device collect history of different events and then being able to get it later was very useful. We also have a feature "auto-log" in StatCollector (which we may later add in HistoryTracker as well), which dumped a subset of collected history in the logs periodically (e.g., every day).

The new pushed commit contains the following changes:

Record checksum in rx/tx list
Added a new CLI command history rxtx which shows combined list of all RX and TX msg history
Unified the CLI table output format for RX/TX history.
The README_HISTORY.md is also updated
Removed "ago" from timestamp string and use "Age" as title.

For some reason the CI "API version check" is failing even though the commit does change OPENTHREAD_API_VERSION

For some reason the CI "API version check" is failing even though the commit does change OPENTHREAD_API_VERSION

The current OPENTHREAD_API_VERSION is already 150. https://github.com/openthread/openthread/blob/cd6d57d1affa94ac72d9762a82270e9e8d7347e2/include/openthread/instance.h#L56

Thanks @jwhui.


Show indicator for which algo is being used

GPS-only
Sensors + GPS
Desktop (sensors only)

Closed - not going to address.  This is handled sufficiently by the indicator lights.


Right click context menu

Summary
The deprecated react-native-macos package from ptmt has the option to add a custom context menu to a view:
https://github.com/ptmt/react-native-macos/issues/237
It basically works like this:
const contextMenu = [
  { key: 'foo', title: 'Foo' },
  { isSeparator: true },
  { key: 'bar', title: 'Bar' },
]

<View
  contextMenu={contextMenu}
  onContextMenuItemClick={event => {
    console.log(event.nativeEvent)
  }} />

Maybe porting that feature to this package is a viable option.
Motivation
The context menu would give an easy way to hide more complex functions.
In my use case I got a list of workload entries from Jira. All of those entries can be edited and delete through a separate edit screen but that requires a bit of navigation.
"Pro" users could access shortcuts to specific functions (like "delete entry") through that right click menu. Other useful actions that aren't important enough for a separate button could also be hidden there. In my example that could be something like "Copy issue id" or "Open issue in browser".
Basic Example
No response
Open Questions
Porting the code from the other packages seems like a nice shortcut to a useful feature for me. I have no idea if this is possible though, so this should probably be checked first.
If porting the code is not an option, then other features may be more important for now.

I've been meaning to add support for macOS to https://github.com/react-native-menu/menu but haven't gotten around to it.
Meanwhile, I ended up writing a fully custom replacement for NSMenu with FluentUI React Native Menu. That one had to be fully custom (A custom NSWindow holding RN Views instead of just rendering a native NSMenu) because we wanted more customizable menu items (I.E, you can put any view in there instead of just text). That might be worth checking out. The spec page I linked doesn't have macOS screenshots but I encourage you to try the test app out

I tried the FluentUI React Native Menu and can't get it to work. I also tested this on windows and force opening the menu with <Menu open> but it just doesn't show up. Maybe the theme provider is mandatory?
https://github.com/microsoft/react-native-macos/assets/45072099/0c187be9-95e2-4cfd-a995-76d6a157e0da

Ultimately I think a "wrapper "component (like @react-native-menu/menu) or a component that lets you write up the menu in JSX (like FluentUI React Native's Menu) is the better extensible approach.

My initial thought was a separate library as well, so I was actually looking for something like your FluentUI menu.
What I really like about the View prop approach though is its simplicity. I didn't test it, but it sounds like that way I also don't have to worry about making it feel 100% native and/or placing the popup in the right location. I also don't need to handle the open/close state or nest multiple components, I can just throw an object into that prop.
I'm going for a very native look & feel though, so in my case I don't want to place any custom views inside my menu.

@AdrianFahrbach there's another option you could use for a native NSmenu: ActionSheetIOS. We actually ported that to fire an NSMenu. I found an old internal component that gives you an idea of how it could work:
'use strict';
import * as React from 'react';
import { findNodeHandle, ActionSheetIOSOptions, ActionSheetIOS } from 'react-native';
import { IContextualMenuStatic } from '../../common/ContextualMenu/ContextualMenu.types';
import { IContextualMenuProps } from '../../common/ContextualMenu/ContextualMenu.Props';

declare module 'react-native' {
  // The TypeScript type definition at
  // https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native
  // is missing anchor on ActionSheetIOSOptions.
  // Use declaration merging to add it here.
  interface ActionSheetIOSOptions {
    anchor?: number;
  }
}

class ContextualMenuImpl extends React.Component<IContextualMenuProps, {}> {
  public static showContextualMenu(menu: IContextualMenuProps, target: React.ReactNode) {
    const buttonTitles: Array<string> = [];

    for (const button of menu.items) {
      buttonTitles.push(button.name);
    }

    /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
    const reactTag = findNodeHandle(target as any);
    const options: ActionSheetIOSOptions = {
      options: buttonTitles,
      cancelButtonIndex: menu.cancelButtonIndex,
      destructiveButtonIndex: menu.destructiveButtonIndex,
      anchor: reactTag
    };

    ActionSheetIOS.showActionSheetWithOptions(options, buttonIndex => {
      menu.items[buttonIndex].onClick({ key: menu.items[buttonIndex].key });
    });
  }
}

export const ContextualMenu: IContextualMenuStatic = ContextualMenuImpl;

Note that while findNodeHandle works in Fabric, it's not recommended, and we're still looking for a good alternative.

This works perfectly! If anyone reading this needs a stripped down version:
import { ActionSheetIOS, ActionSheetIOSOptions, GestureResponderEvent } from 'react-native';

interface MenuItem {
  name: string;
  onClick: () => void;
}

export function isRightClick(e: GestureResponderEvent) {
  return (e.nativeEvent as any).button === 2;
}

export function showContextualMenu(menuItems: MenuItem[], target: React.ReactNode) {
  const options: ActionSheetIOSOptions = {
    options: menuItems.map(item => item.name),
  };

  ActionSheetIOS.showActionSheetWithOptions(options, buttonIndex => {
    menuItems[buttonIndex].onClick();
  });
}

I think this issue can therefore be closed.
It would be nice to have a list of things that have been ported though. Maybe that is something to add to the documentation in the future?


int64 backed int100

clean up interfaces between int100 and crt at the same time

yeah exactly; five residues should give the same as we have now with ten. Some of the code for recombining values needs to be revisited to make sure things work out, but it should be straight forward and may not require any code changes.
Thought this could be a nice time to finally introduce a CrtTensor type, which int100 will just be an instance of or wrap

We should still implement this but note that CrtTensors have gone somewhat out of fashion lately. They may be reintroduced for larger models again though.

This is pretty low effort, no? The CRT tensor has been generalized from what I can tell, so it seems it's just a matter of fiddling with the moduli

Yeah it should be very straight forward; these moduli could work: 1999703, 1990007, 1996949, 1925899, 1816117


Error: x must be a string of length 1 (multiple CPUs)

I have encountered the same error as closed issue #59 ,
> generateResultsDocument(results,outputFolder, authors=authors, databaseDescription = databaseDescription, databaseName = databaseName, databaseId = databaseId, smallCellCount = smallCellCount)
Error: `x` must be a string of length 1

But for a different reason. The code line that causes the error is in the generateResultsDocument function:
doc <- doc %>% officer::body_add_par(value = "System Information",
      style = "heading 2") %>% officer::body_add_par(paste0("Installed R version: ",
      results$sys_details$r_version$version.string)) %>%
      officer::body_add_par(paste0("System CPU vendor: ",
        results$sys_details$cpu$vendor_id)) %>% officer::body_add_par(paste0("System CPU model: ",
      results$sys_details$cpu$model_name)) %>% officer::body_add_par(paste0("System CPU number of cores: ",
      results$sys_details$cpu$no_of_cores)) %>% officer::body_add_par(paste0("System RAM: ",
      prettyunits::pretty_bytes(as.numeric(results$sys_details$ram)))) %>%
      officer::body_add_par(paste0("DBMS: ", results$dms)) %>%
      officer::body_add_par(paste0("WebAPI version: ",
        results$webAPIversion)) %>% officer::body_add_par(" ")

Specifically, the part results$sys_details$cpu$model_name on my system (Linux EC2) returns a vector of length 2:
> results$sys_details$cpu$model_name
[1] "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz"  "Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz"

Maybe a resolution would use a 'paste' function here or take one of those.

@nadavrap Thanks for reporting. This is indeed an edge-case that was not accounted for.
Would you be able to test the hotfix? You can install this with devtools::install_github('EHDEN/CdmInspection', ref='fix-73').
Thanks!

It seems that it doesn't work yet:
devtools::install_github('EHDEN/CdmInspection', ref='fix-73', force=TRUE)
Downloading GitHub repo EHDEN/CdmInspection@fix-73

✓  checking for file ‘/tmp/RtmpVQLSbw/remotes5ddb56424523/EHDEN-CdmInspection-a515bd7/DESCRIPTION’ ...
─  preparing ‘CdmInspection’:
✓  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘CdmInspection_1.0.4.tar.gz’
   Warning: invalid uid value replaced by that for user 'nobody'
   Warning: invalid gid value replaced by that for user 'nobody'

Installing package into ‘/home/nadav.rappoport/R/x86_64-koji-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package ‘CdmInspection’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘CdmInspection’
    finding HTML links ... done
    bundleResults                           html
    cdmInspection                           html
    dataTablesChecks                        html
    generateResultsDocument                 html
    performanceChecks                       html
    vocabularyChecks                        html
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (CdmInspection)
> packageVersion('CdmInspection')
[1] ‘1.0.4’
> CdmInspection::generateResultsDocument(results,outputFolder, authors=authors, databaseDescription = databaseDescription, databaseName = databaseName, databaseId = databaseId, smallCellCount = smallCellCount)
Error: `x` must be a string of length 1

Thanks for testing. Do you know whether the error is on the same or a different line in the generateResultsDocument function? Then we can take another look.

Actually, I think that the installation failed. When I print the function I see this part:
doc <- doc %>% officer::body_add_par(value = "System Information",
            style = "heading 2") %>% officer::body_add_par(paste0("Installed R version: ",
            results$sys_details$r_version$version.string)) %>%
            officer::body_add_par(paste0("System CPU vendor: ",
                results$sys_details$cpu$vendor_id)) %>% officer::body_add_par(paste0("System CPU model: ",
            results$sys_details$cpu$model_name)) %>% officer::body_add_par(paste0("System CPU number of cores: ",
            results$sys_details$cpu$no_of_cores)) %>% officer::body_add_par(paste0("System RAM: ",
            prettyunits::pretty_bytes(as.numeric(results$sys_details$ram)))) %>%
            officer::body_add_par(paste0("DBMS: ", results$dms)) %>%
            officer::body_add_par(paste0("WebAPI version: ",
                results$webAPIversion)) %>% officer::body_add_par(" ")

Which is still the pre-fixed version. Isn't it?

So I tried reinstalling again, and see that it works now. Thank you @MaximMoinat .

Thanks!


[Urgent] Not support Locale.KOREAN

Lib Version: com.akexorcist:localization:1.2.4
Android Version: android 9

Can set other languages (Locale.TRADITIONAL_CHINESE, Locale.US, Locale.SIMPLIFIED_CHINESE).
But cannot display korean language for Locale.KOREAN: I have added values-ko folder and strings.xml, and locale is correctly set to ko in coding.
Also tested Locale.KOREA and values-ko-rKR, still not work.

Any idea on it ?
Thanks for help !

Resolved, please ignore it, thanks.


Doubt: Enable plugin only for Android?

Hi. Thanks for this very useful library!
At the moment, I only need to support bluetooth usage on Android, but my APP needs to work on IOS too.
Apple is preventing me to publish my application, because of the links of this library with MFi.
Its possible to unlink this library on IOS and use it only on Android?

Maybe, if you remove all the autolinked dependencies in the IOS project and build it manually.   But there is nothing in the project that would do so, you'd have to find a way to overwrite or ignore the podspec so that it doesn't load.   I don't know if this will cause any problems downstream (in javascript) since for Android the Native Module will be there, but for IOS the native module will be null.  I guess as long as you're checking.
At this point I'm going to close the task, but feel free to come back and update it if you see a way to do so.  I would suggest if you cant find anything, give the original library (which this was forked from) react-native-bluetooth-serial as it uses bluetooth classic on Android and falls back to BLE on IOS.

Hi @EduFrazao same use case here. How did you solve this?

I'll try to add this to the documentation at some point, thanks for looking up the autolinking functionality.


Redraw after yank

'wl-copy' leaves '^[[O' on screen.

A better solution could be to use job_start instead of system, but this could be more complex if both vim & neovim needs to be supported  (unless vim async primitives are available in neovim).

Thanks for contributing!
I've never seen it leave anything on screen -- can you give more details on what exactly you're doing (i.e. sequence of keys pressed, what you're copying, etc.)?
Regarding job_start and neovim compatibility, I'm not interested in supporting neovim. It already has wayland clipboard integration built-in (although I believe it is using wl-copy/wl-paste under the hood as well).

I just do "+y; I see something similar by doing :.w !wl-copy.  In which case the control sequences are printed in vim command line.
This time I used vim --clean to check if there's any interference from other plugins. It leaves '^[[O^[[I' on the screen.

Okay, I was able to reproduce this. The Vim help indicates that the preferred solution is to use :silent. I've opened a separate pull request that does so -- does that work for you as well? If so, I'll go ahead and merge that and close this PR.

Thanks for pointing this out!


Feat/editor

Acceptance Criteria

Allows for login and logout functionality connected with backend
Allows for users to type in information to an editor and the html is saved.

Approved

Approved


This is the final all code, will it be updated again?

We are very interested in this work of yours and look forward to further research, and hope you can open source more code from this work! Will it be updated again?

hey Richard, yes i am very interested in this paper as well
will be building it out this month, tested on lunar lander first

@ltlhuuu i'm not the author btw

@ltlhuuu hey, this should be on track to being finished by end of week
would welcome a code review, if you MIT students are planning on building on top of this work.

@lucidrains Yeah, we are supportive of your work and thank you again for your contribution. We will build on this and learn more.


MissingMethodException

I'm getting the following exception when before everything was working fine:
500 : {"ClassName":"System.MissingMethodException","Message":"Method not found: \"System.Func2<System.String,System.String> Newtonsoft.Json.Serialization.JsonDictionaryContract.get_PropertyNameResolver()".","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" bei Swashbuckle.Swagger.SchemaRegistry.<>c__DisplayClass18.b__14(String name)\r\n bei System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)\r\n bei Swashbuckle.Swagger.SchemaRegistry.CreateDictionarySchema(JsonDictionaryContract dictionaryContract)\r\n bei Swashbuckle.Swagger.SchemaRegistry.CreateInlineSchema(Type type)\r\n bei Swashbuckle.Swagger.SchemaRegistry.b__1f(JsonProperty prop)\r\n bei System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)\r\n bei Swashbuckle.Swagger.SchemaRegistry.CreateObjectSchema(JsonObjectContract jsonContract)\r\n bei Swashbuckle.Swagger.SchemaRegistry.CreateDefinitionSchema(Type type)\r\n bei Swashbuckle.Swagger.SchemaRegistry.GetOrRegister(Type type)\r\n bei Swashbuckle.Swagger.Annotations.ApplySwaggerResponseAttributes.Apply(Operation operation, SchemaRegistry schemaRegistry, ApiDescription apiDescription)\r\n bei Swashbuckle.Swagger.SwaggerGenerator.CreateOperation(ApiDescription apiDesc, SchemaRegistry schemaRegistry)\r\n bei Swashbuckle.Swagger.SwaggerGenerator.CreatePathItem(IEnumerable1 apiDescriptions, SchemaRegistry schemaRegistry)\r\n bei System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer)\r\n bei Swashbuckle.Swagger.SwaggerGenerator.GetSwagger(String rootUrl, String apiVersion)\r\n bei System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)\r\n bei AboServer.API.Config.SwaggerCachingProvider.GetSwagger(String rootUrl, String apiVersion)\r\n bei Swashbuckle.Application.SwaggerDocsHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)\r\n bei System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)\r\n bei System.Web.Http.Dispatcher.HttpRoutingDispatcher.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)\r\n bei System.Net.Http.DelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)\r\n bei AboServer.API.Handlers.SessionHandler.<SendAsync>d__1.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\n<CreateDictionarySchema>b__14\nSwashbuckle.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cd1bb07a5ac7c7bc\nSwashbuckle.Swagger.SchemaRegistry+<>c__DisplayClass18\nSystem.String <CreateDictionarySchema>b__14(System.String)","HResult":-2146233069,"Source":"Swashbuckle.Core","WatsonBuckets":null,"MMClassName":null,"MMMemberName":null,"MMSignature":null} http://myserver:80/myapp/swagger/docs/v1

Set Newtonsoft.Json package to version 9.0.1 and the error will go. Just a temp fix for now.

also dealt with same issue after updating Newtonsoft to 10.x.x, since they removed Obsolete PropertyNameResolver
and also reverted Newtonsoft back for now

I know that the focus is on the .Net core version of Swashbuckle but is there any possibility to correct this? It is really critical for me and probably for a lot of more people since I can't revert to version 9 of Newtonsoft.

I've added a pull request for fixing this issue: #1063

Great! But I think it's #1062 I'm looking for. Is it possible to have a release of this?

Possible? sure it is!
When? that is the real question, seem that the pull request are piling up...
...And we have a call out for maintainers #1053

this is reaallly becoming more and more of a problem as time goes.. reverting to v9 is starting to look impossible here now.

@eatfrog
Come on man, you know how it is...
We all have full time jobs, this is a hobby for us, no SLA or dedicated support team.
Until we can turn this project into something like: https://www.mashery.com/api/products and start getting thousands flowing in, I think development/release will be slow.
But if you want to contribute your time answer the call for maintainers: #1053

Hi!
Now that the fix have been merged, do you have any plan to release a new version? Obviously, an ETA would be great! Thanks for your good work!

Sorry for the +1 post, but really hoping this gets some visibility. We depend on Swashbuckle and this bug is causing major problems.

I'm working on my own fork that uses the latest and greatest, anyone intrested can get from:
https://www.myget.org/gallery/swashbuckle
And here is a demo:
http://swashbuckletest.azurewebsites.net/swagger

@lakario - if you hang tight I'll try push out a new release this evening

@heldersepu - any chance you could use a different name for your myget package? It's going to be confusing to have different packages with the same name. Plus it means you can publish yours to Nuget also.

@domaindrivendev
Yes I've been thinking about renaming the package/project.
Will probably do it next week

It would make things clearer..

@cryo75, @lakario - just pushed v5.6.0 to Nuget which should have the fix for this issue. Please check it out and let me know

@domaindrivendev Just tested 5.6.0, looks good. Thanks!


[Unconfirm Bug] asyncpg can't install

pip install asyncpg

Hi. The error message suggests this package contains native components that cannot be compiled or installed on an iOS device. (It's trying to call clang) Consider alternative packages.

Asyncpg not support linux/aarch64


types path wrong after upgrade from 1.1.0 to 1.1.1

Typescript is unable to find the types after upgrading from 1.1.0 to 1.1.1. The types used to live under lib but are now under src. Possibly related issue where types had moved around the last time: #54 .

@pehagg can you check latest release? with the example app I have no problem


index out of bounds: the len is 0 but the index is 0

Since it is a different error than in #12, I make a new issue.
After running this (same as in #12):
cargo generate gh:probe-rs/flash-algorithm-template  --name=stm32h730xx_is25lp128 -d target-arch=thumbv7em-none-eabihf -d ram-start-address=0x20000000 -d ram-size=0x20000 -d flash-start-address=0x90000000 -d flash-size=0x1000000 -d flash-page-size=0x100 -d flash-sector-size=0x1000 -d empty-byte-value=0xff
cd stm32h730xx_is25lp128
RUST_BACKTRACE=full cargo run

I get the follwing:
     Running `target-gen test template.yaml target/definition.yaml target/thumbv7em-none-eabihf/debug/stm32h730xx_is25lp128`
Generating the YAML file in `"target/definition.yaml"`
thread 'main' panicked at /home/gauner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/target-gen-0.24.0/src/commands/test.rs:126:51:
index out of bounds: the len is 0 but the index is 0
stack backtrace:
   0:     0x64257d7ac655 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h1b9dad2a88e955ff
   1:     0x64257d7d8e2b - core::fmt::write::h4b5a1270214bc4a7
   2:     0x64257d7a92df - std::io::Write::write_fmt::hd04af345a50c312d
   3:     0x64257d7ae0f1 - std::panicking::default_hook::{{closure}}::h96ab15e9936be7ed
   4:     0x64257d7addcc - std::panicking::default_hook::h3cacb9c27561ad33
   5:     0x64257d7ae751 - std::panicking::rust_panic_with_hook::hfe205f6954b2c97b
   6:     0x64257d7ae5b7 - std::panicking::begin_panic_handler::{{closure}}::h6cb44b3a50f28c44
   7:     0x64257d7acb19 - std::sys::backtrace::__rust_end_short_backtrace::hf1c1f2a92799bb0e
   8:     0x64257d7ae244 - rust_begin_unwind
   9:     0x64257d0a8e83 - core::panicking::panic_fmt::h3d8fc78294164da7
  10:     0x64257d0a9077 - core::panicking::panic_bounds_check::h9397cb495d89a72d
  11:     0x64257d150107 - target_gen::commands::test::cmd_test::h8b5cb9f44a795e90
  12:     0x64257d11b7c4 - target_gen::main::{{closure}}::h55002de8a631ca62
  13:     0x64257d11af93 - target_gen::main::he53204dfbf5a8325
  14:     0x64257d10e033 - std::sys::backtrace::__rust_begin_short_backtrace::hbaae12fec9693567
  15:     0x64257d0fc3cd - std::rt::lang_start::{{closure}}::h78a5b6e0095a9cb4
  16:     0x64257d7a04a0 - std::rt::lang_start_internal::h5e7c81cecd7f0954
  17:     0x64257d11cf75 - main
  18:     0x719450e2a1ca - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  19:     0x719450e2a28b - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:360:3
  20:     0x64257d0a9715 - _start
  21:                0x0 - <unknown>

In #12, I was one step further already, it reached the Test: Erasing sectorwise and writing two pages ... part, but this time, it fails already before. Judged by the source this might have something to do with the chip/familiy/names. It doesn't find an flash algorithm in the array.

I'll post here my findings.
First, for testing I introduced println!("{:?}",families); in line 67 of target-gen-0.24.0/src/commands/test.rs.
It gives out several families:
"Generic ARMv6-M"
"Generic ARMv7-M"
"Generic ARMv7E-M"
"Generic ARMv8-M"
"Generic RISC-V"
"algorithm-test"
Only the last, my newly created one, has a flash algorithm. target-gen test fails at the first chip on the first family of them, because there's no flash algorithm.

Ah, I see, it's a duplicate to this: https://github.com/probe-rs/probe-rs/issues/2590.
And probably it's right there, this seems no problem in flash-algorithm-template.

Btw.:
I think, this is fixed by https://github.com/probe-rs/probe-rs/commit/5ea7759f2fcec66b7166b0c36c86715a4322a00f
To try it out, You can (re)install cargo from master branch with this:
cargo install target-gen --git https://github.com/probe-rs/probe-rs --locked --force
(adapted from here)


Benchmarks for the data sourcing actor

What's needed?
We need benchmarks for the data sourcing actor, where we see how long
it takes to stream a certain number of values for a certain number of
microgrid components.
Proposed solution
Prereqs:

The MockMicrogrid package in tests currently sends out 2000
values per component_id.  This needs to be configurable.

The start method starts the data sourcing actor and the
resampling actor, but sends out the channel only for the resampling
actor.  There should ideally be a start_mock_client method that
just sets up the mock client, which the start method calls.  Then
we would be able just call start_mock_client and then create our
own actor instances.

The data sourcing actor can be benchmarked by a function that takes as
input:

number of components
the number of messages to be sent out for each battery as inputs

This benchmarking function can be implemented like this:

Create a MockMicrogrid instance, with the given number of ev
chargers like here.
the MockMicrogrid has a default sample_rate_s of 0.01, this can
be set to 0.0 (or almost 0.0 if there are synchronization issues).
Create a DataSourcingActor instance, and send requests to it for
each of the 3 current phases,
for all component ids in MockMicrogrid.evc_ids.  Collect the
corresponding receivers into a channels.MergeNamed and count the
number of messages received from each component_id+metrid_id pair.
Confirm the number of messages sent is the number of messages
received.  Measure the time required to stream the configured
number of messages.

Use cases
No response
Alternatives and workarounds
No response
Additional context
No response

Should step 1. also add batteries and not just ev chargers?


[master] Check for reconcile errors in E2E tests; adding NoDefaultBackupStorageLocation b/r case

cherrypicked https://github.com/openshift/oadp-operator/pull/720 to master
This is a feature pulled from https://github.com/openshift/oadp-operator/pull/710

/retest

looks like a nice feature.. rebasy??

reabasy

/remove-lifecycle stale

Codecov Report
Base: 33.79% // Head: 33.79% // No change to project coverage :thumbsup:

Coverage data is based on head (a9f40b1) compared to base (6d03d45).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #728   +/-   ##
=======================================
  Coverage   33.79%   33.79%
=======================================
  Files          17       17
  Lines        3128     3128
=======================================
  Hits         1057     1057
  Misses       1979     1979
  Partials       92       92

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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/remove-lifecycle stale

/remove-lifecycle stale


i can't had custom character on the Psych engine :,(

Describe your problem here.
heya :D, i try adding some "funny" character on FNF PsychEngine but for a unknow reason, my xlm file not working.
i try to create it a multiple time but steel not work.
i need help pls :,(
SansTired.pdf
i put it on PDF to help ya see it
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

Not enough information
Is there an error?
Why is the file called SansTired but the texture is just Sans.png?

SansTired.pdf
sorry wrong file.
on character editor i see "error" write on top left of the screen

That means you typed the animation incorrectly, it has to match the one on the xml

i use the XLM creator for fnf, i don't know why its not working

You messed up in the characters editor, you still haven't shown what you did

vous voulez le PNG?

(sorry im not reakky understand english im french)

At the
Rename the sans.png to the image name of the your character

okay thanks :DDDD with your help my spritesheet is working 👍
*


Batch CRUD API

Exposes a Batch API that allows callers to perform multiple CRUD operations on items within a partition key in an atomic manner that alleviates the need to write and maintain stored procedures to achieve the same effect.

Will merge once the build definitions are updated.


[1.10.2] Crash when using Scepter

Crash in 1.10.2 when using Scepter
Server Console:
https://gist.github.com/t3f/4a8b00aaf6440f8ef8e792f7e1a3370f

Ok, ill get on it today or tomorrow!

Should be fixed in version 1.4.1, if it happens again let me know !
https://github.com/PrinceOfAmber/Cyclic/releases/tag/1.4.1


Move submission of tasks to transfer coordinator

Introduced submit() method for tasks to submit other tasks to executors
in order to ensure task submission happens under one function.
Brought up because of comments in this PR: https://github.com/boto/s3transfer/pull/25
I also fixed some flake8 issues that I noticed...
cc @jamesls @JordonPhillips

--    .-""-.
   ) (     )
  (   )   (
     /     )
    (_    _)                     0_,-.__
      (_  )_                     |_.-._/
       (    )                    |_--..\
        (__)                     |__--_/
     |''   ``\                   |
     |        \                  |      /b.
     |         \  ,,,---===?A`\  |  ,==y'
   ___,,,,,---==""\        |M] \ | ;|\ |>
           _   _   \   ___,|H,,---==""""bno,
    o  O  (_) (_)   \ /          _     AWAW/
                     /         _(+)_  dMM/
      \@_,,,,,,---=="   \      \\|//  MW/
--''''"                         ===  d/
                                    //
                                    ,'__________________________
   \    \    \     \               ,/~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         _____    ,'  ~~~   .-""-.~~~~~~  .-""-.
      .-""-.           ///==---   /`-._ ..-'      -.__..-'
            `-.__..-' =====\\\\\\ V/  .---\.
                      ~~~~~~~~~~~~, _',--/_.\  .-""-.
                            .-""-.___` --  \|         -.__..-


Bug with close captions and selectTextTrack() API

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
v3.0.7
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from master?

Custom app
If custom app, can you reproduce the issue using our demo app?
No. The demo app shows the captions "natively", where the custom app relies on the public API.
What browser and OS are you using?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Not tested on TVs, just Web
What are the manifest and license server URIs?
manifestUrl: https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd
(The bug is DRM agnostic)
What did you do?

Load the manifest above to the Player
Enable close captions (for any language)
Set the captions off and on again (or just select another language)

What did you expect to happen?
See the selected close captions appear again (see the selected close captions)
What actually happened?
The captions appear when selected the first time only. After turning them off and on again, or selecting a new language they disappear.
More Info
This bug introduced when the Shaka upgraded from 2.5.17 to 3.0.7 in the custom app.
It appears to be related to the selectTextTrack() API method, as it is called with the correct arguments (passing a track received by the getTextTracks() method, exactly the same as in version 2.5.17), but in version 3.0.7 (and 3.0.6) causes the described unexpected behaviour.
Video showing the actual behaviour in v3.0.7:
https://user-images.githubusercontent.com/15960526/104771219-db751c80-5769-11eb-93b5-6f720225930f.mp4
Video showing the actual behaviour in v2.5.17:
https://user-images.githubusercontent.com/15960526/104771375-1bd49a80-576a-11eb-989d-57ad13f7fec2.mp4

Can you provide a link to your app?  I cannot reproduce any error when running the hosted demo.  Or if you could reproduce with the demo using the JavaScript console or create a minimal reproduction, that would really help.  For example, I can switch tracks just fine with the following in the demo app in the JavaScript console:
var p = shakaDemoMain.controls_.player_
p.selectTextTrack(p.getTextTracks()[0])
p.selectTextTrack(p.getTextTracks()[1])
p.selectTextLanguage('en')
p.selectTextLanguage('fr')
p.setTextTrackVisibility(false)
p.setTextTrackVisibility(true)

Can you provide a link to your app?  I cannot reproduce any error when running the hosted demo.  Or if you could reproduce with the demo using the JavaScript console or create a minimal reproduction, that would really help.  For example, I can switch tracks just fine with the following in the demo app in the JavaScript console:
var p = shakaDemoMain.controls_.player_
p.selectTextTrack(p.getTextTracks()[0])
p.selectTextTrack(p.getTextTracks()[1])
p.selectTextLanguage('en')
p.selectTextLanguage('fr')
p.setTextTrackVisibility(false)
p.setTextTrackVisibility(true)

The demo app shows the captions "natively", where the custom app relies on the public API.

Also, @spyros-uk, can you please clarify the difference between "natively" and with a "public API"?
The demo app, to be clear, will display captions in our UI by default, where they are drawn in the DOM on top of the video element.
If you are not using our UI library, or if you toggle a setting in the demo app to disable "Shaka Controls", captions will be displayed by the video element itself ("native" to the browser) using a "public API" provided by the browser.  (This is why I am confused about what you mean.)

The demo app shows the captions "natively", where the custom app relies on the public API.

Also, @spyros-uk, can you please clarify the difference between "natively" and with a "public API"?
The demo app, to be clear, will display captions in our UI by default, where they are drawn in the DOM on top of the video element.
If you are not using our UI library, or if you toggle a setting in the demo app to disable "Shaka Controls", captions will be displayed by the video element itself ("native" to the browser) using a "public API" provided by the browser.  (This is why I am confused about what you mean.)

Can you provide a link to your app? I cannot reproduce any error when running the hosted demo. Or if you could reproduce with the demo using the JavaScript console or create a minimal reproduction, that would really help. For example, I can switch tracks just fine with the following in the demo app in the JavaScript console:
var p = shakaDemoMain.controls_.player_
p.selectTextTrack(p.getTextTracks()[0])
p.selectTextTrack(p.getTextTracks()[1])
p.selectTextLanguage('en')
p.selectTextLanguage('fr')
p.setTextTrackVisibility(false)
p.setTextTrackVisibility(true)

Unfortunately I can't provide a link to the app. I will check if it's ok to build a simple app that uses the Shaka debug version and share it with you.

The demo app shows the captions "natively", where the custom app relies on the public API.

Also, @spyros-uk, can you please clarify the difference between "natively" and with a "public API"?
The demo app, to be clear, will display captions in our UI by default, where they are drawn in the DOM on top of the video element.
If you are not using our UI library, or if you toggle a setting in the demo app to disable "Shaka Controls", captions will be displayed by the video element itself ("native" to the browser) using a "public API" provided by the browser. (This is why I am confused about what you mean.)

@joeyparrish My apologies for the confusion. By "Public API" I mean Shaka's API like the selectTextTrack(), selectTextTrack() and so on. And by "native" I mean either using any other internal functions of Shaka, or using the TextTrack Web API. I didn't know how the demo app works under the hood.

Can you provide a link to your app? I cannot reproduce any error when running the hosted demo. Or if you could reproduce with the demo using the JavaScript console or create a minimal reproduction, that would really help. For example, I can switch tracks just fine with the following in the demo app in the JavaScript console:
var p = shakaDemoMain.controls_.player_
p.selectTextTrack(p.getTextTracks()[0])
p.selectTextTrack(p.getTextTracks()[1])
p.selectTextLanguage('en')
p.selectTextLanguage('fr')
p.setTextTrackVisibility(false)
p.setTextTrackVisibility(true)

Unfortunately I can't provide a link to the app. I will check if it's ok to build a simple app that uses the Shaka debug version and share it with you.

The demo app shows the captions "natively", where the custom app relies on the public API.

Also, @spyros-uk, can you please clarify the difference between "natively" and with a "public API"?
The demo app, to be clear, will display captions in our UI by default, where they are drawn in the DOM on top of the video element.
If you are not using our UI library, or if you toggle a setting in the demo app to disable "Shaka Controls", captions will be displayed by the video element itself ("native" to the browser) using a "public API" provided by the browser. (This is why I am confused about what you mean.)

@joeyparrish My apologies for the confusion. By "Public API" I mean Shaka's API like the selectTextTrack(), selectTextTrack() and so on. And by "native" I mean either using any other internal functions of Shaka, or using the TextTrack Web API. I didn't know how the demo app works under the hood.

I have created a simple app which uses Shaka 3.0.7 to test the reported bug.
App: https://lyek8.csb.app/
Code: https://codesandbox.io/s/shaka-harness-lyek8?file=/src/index.js
Outcome:
The bug was not reproducible, it is probably a bug with the my custom app. Closing the issue, thanks for your time and efforts to look into it.

I have created a simple app which uses Shaka 3.0.7 to test the reported bug.
App: https://lyek8.csb.app/
Code: https://codesandbox.io/s/shaka-harness-lyek8?file=/src/index.js
Outcome:
The bug was not reproducible, it is probably a bug with the my custom app. Closing the issue, thanks for your time and efforts to look into it.


MiniExcel.SaveAs(path, table,sheetName:“Name”) ，the actual sheetName  is Sheet1

when i use MiniExcel.SaveAs(path, table,sheetName:“Name”) the actual sheetName  is Sheet1，sheetName Parameter is not work

Thanks, v0.13.3 fixed this bug.


Enabling wasi-threads requires exact "shape" of wasm module

Currently passing --wasi-modules experimental-wasi-threads requires that the input wasm module has a particular "shape", notably that it imports memory and exports a wasi_thread_start function. This ends up making testing sometimes difficult, for example, since ideally the option to the CLI could always be passed and then both threads-using and non-threads-using modules could be run. Or, for example, a module which doesn't end up actually spawning a thread would be run as well.
The current errors are:
$ wasmtime run --wasi-modules experimental-wasi-threads - <<< "(module)"
Error: unable to link a shared memory import to the module; a `wasi-threads` module should import a single shared memory as "memory"
$ wasmtime run --wasm-features threads --wasi-modules experimental-wasi-threads - <<< "(module (import \"env\" \"memory\" (memory 1 2 shared)))"
Error: failed to find wasi-threads entry point function: wasi_thread_start

I think I originally asked these errors in the initial implementation of wasi-threads to be moved to the "front", but now in retrospect I think it would be best to defer these errors to the "point of use" so that way the wasi-threads proposal could be enabled more liberally without restricting the shape of modules that can be run.
cc @abrown

I experience same error when try to run WASM module produced by NativeAOT-LLVM which is experimental toolchain for .NET.
this is simple hello world app which run fine using wasmer  but fails to run with wasmtime even if threads was enabled.
> wasmtime  hellowasi.wasm --wasm-features=threads --wasi-modules=experimental-wasi-threads
Error: unable to link a shared memory import to the module;
a `wasi-threads` module should import a single shared memory as "memory"

Below output of wasmer inspect.
> wasmer inspect hellowasi.wasm
Type: wasm
Size: 15.6 MB
Imports:
  Functions:
    "wasi_snapshot_preview1"."args_get": [I32, I32] -> [I32]
    "wasi_snapshot_preview1"."args_sizes_get": [I32, I32] -> [I32]
    "wasi_snapshot_preview1"."environ_get": [I32, I32] -> [I32]
    "wasi_snapshot_preview1"."environ_sizes_get": [I32, I32] -> [I32]
    "wasi_snapshot_preview1"."clock_time_get": [I32, I64, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_advise": [I32, I64, I64, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_close": [I32] -> [I32]
    "wasi_snapshot_preview1"."fd_fdstat_get": [I32, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_fdstat_set_flags": [I32, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_filestat_get": [I32, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_filestat_set_size": [I32, I64] -> [I32]
    "wasi_snapshot_preview1"."fd_pread": [I32, I32, I32, I64, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_prestat_get": [I32, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_prestat_dir_name": [I32, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_pwrite": [I32, I32, I32, I64, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_read": [I32, I32, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_readdir": [I32, I32, I32, I64, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_seek": [I32, I64, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."fd_sync": [I32] -> [I32]
    "wasi_snapshot_preview1"."fd_write": [I32, I32, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."path_create_directory": [I32, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."path_filestat_get": [I32, I32, I32, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."path_open": [I32, I32, I32, I32, I32, I64, I64, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."path_readlink": [I32, I32, I32, I32, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."path_unlink_file": [I32, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."poll_oneoff": [I32, I32, I32, I32] -> [I32]
    "wasi_snapshot_preview1"."proc_exit": [I32] -> []
    "wasi_snapshot_preview1"."sched_yield": [] -> [I32]
    "wasi_snapshot_preview1"."random_get": [I32, I32] -> [I32]
    "wasi"."thread-spawn": [I32] -> [I32]
  Memories:
  Tables:
  Globals:
Exports:
  Functions:
    "_start": [] -> []
    "wasi_thread_start": [I32, I32] -> []
  Memories:
    "memory": shared (19 pages..32768 pages)
  Tables:
  Globals:

I see memory with "memory" name, so whole thing a bit puzzling to me. I assume that wasi-threads also define memory, so there collision between two of them. But really I don't know, since I'm new to all this jazz.

Wasi requires exporting a memory (so the wasi runtime can write to memory), while wasi-threads requires importing it (so that it is possible to share the same memory between the wasm instances backing each thread). As such you need to tell the linker to import a linear memory and re-export the same linear memory.

@bjorn3 thank you! it indeed helps, and your explanation make sense. I'm not sure will it hijack thread from original issue of OP, but is it possible that wasmtime detect such simple errors and provide slightly better messaging?

A hint on how to fix the issue would be nice IMHO.


Add --version flag

I can't seem to figure out how to find the version.
Unix standard would be:
% nanopolish --version
nanopolish 0.6.0

or nanopolish version if you must.  Maybe nanopolish cite would be good too.

nanopolish --version is already supported :)
https://github.com/jts/nanopolish/blob/master/src/main/nanopolish.cpp#L29

Whoops - I assumed i was on latest version but Brew onlyhas 0.6.0  -- sorry!
% nanopolish --version
usage: nanopolish [command] [options]
  valid commands:
    --help
    call-methylation
    consensus
    eventalign
    extract
    getmodel
    help
    methyltrain
    phase-reads
    scorereads
    train-poremodel-from-basecalls
    variants
  for help on given command, type nanopolish command --help

I've upgraded brew nanopolish to 0.7.2


Merge gamification branch with master

Layout inflated

Layout for mcq added

Inflated Basic Layout

Implemented basic flow

Added the basic implementation pf score

Added the result layout

Added the result layout

Added functionality to set result

Changed the launcher intent to Quiz Activity for testing purpose

Explanations of answers added

Improved the layout of quiz result a bit

Fixed some minor issues

Fixed build issues

Api Added and basic structure for calling implemented

Added intents

Added the title

Fixed image error and improved quality of pr

Made separate class for checking quiz

Added counter

Implemented back and next for quiz result

Added back functionality to quiz

Added progressBar

Fixed bugs

Improved code quality

Imporved code Quality

Updated strings

Added share screenshot function

Added checks and improved UI

Removed unused string

Removed unused string

Adding checks and improving code quality

Changed string

Improved code quality

The build was failing due to some string duplication. Have fixed it now.

Codecov Report

Merging #1752 into master will decrease coverage by 0.12%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1752      +/-   ##
=========================================
- Coverage    3.76%   3.64%   -0.13%
=========================================
  Files         176     182       +6
  Lines        8834    9142     +308
  Branches      779     795      +16
=========================================
  Hits          333     333
- Misses       8479    8787     +308
  Partials       22      22

Impacted Files
Coverage Δ

...rw/commons/mwapi/ApacheHttpClientMediaWikiApi.java
3.57% <ø> (ø)
:arrow_up:

...nrw/commons/achievements/AchievementsActivity.java
0% <0%> (ø)
:arrow_up:

...in/java/fr/free/nrw/commons/quiz/QuizActivity.java
0% <0%> (ø)

.../java/fr/free/nrw/commons/quiz/QuizController.java
0% <0%> (ø)

...ava/fr/free/nrw/commons/quiz/RadioGroupHelper.java
0% <0%> (ø)

...main/java/fr/free/nrw/commons/WelcomeActivity.java
0% <0%> (ø)
:arrow_up:

...w/commons/contributions/ContributionsActivity.java
0% <0%> (ø)
:arrow_up:

...ain/java/fr/free/nrw/commons/quiz/QuizChecker.java
0% <0%> (ø)

...a/fr/free/nrw/commons/quiz/QuizResultActivity.java
0% <0%> (ø)

...in/java/fr/free/nrw/commons/quiz/QuizQuestion.java
0% <0%> (ø)

... and 6 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 80068f7...92a923e. Read the comment docs.

Thanks! @maskaravivek :)

All checks are passing. Have also tested the quiz on my android device. I had lots of reverted images so the quiz popped up immediately. :D
The feature works quite well. 🎉

Can this branch be deleted now?


Period Cube ~Shackles of Amadeus~ [PCSE01012]

App summary

App name: Period Cube ~Shackles of Amadeus~
App serial: PCSE01012
App version: 1.00

Vita3K summary

Version: v0.1.8
Build number: 3203
Commit hash: https://github.com/vita3k/vita3k/commit/2101d1ea
CPU backend: Dynarmic
GPU backend: OpenGL

Test environment summary

Tested by: Dystnine
OS: Windows 7
CPU: INTEL I3 4100U
GPU: AMD HD8500M
RAM: 8 GB

Issues

Everything is works.
Screenshots

Log
vita3k.log
Recommended labels

Bootable

Bootable or playable?


Flywheel has failed to load correctly

Describe the Bug
Flywheel cannot load during startup
Reproduction Steps

Use my modpack
Profit

Expected Result
It booting
Screenshots and Videos

crash-2022-11-29_23.39.25-fml.txt
crash-2022-11-29_23.37.54-client.txt
Crash Report or Log
For some reason pastbin deemed my file dangerous or something so I uploaded them above
Operating System
Windows 10
What is your GPU?


chore(deps): add backstage.pluginId values derived from the plugin folder name (RHIDP-3236)

What does this PR do?
chore(deps): add backstage.pluginId values derived from the plugin folder name (RHIDP-3236)
Signed-off-by: Nick Boldt<EMAIL_ADDRESS>Screenshot/screencast of this PR
N/A
What issues does this PR fix or reference?
(RHIDP-3236)
also bumps dep on topology common to 1.2.0 https://github.com/janus-idp/backstage-plugins/pull/1910/files#diff-bb032f752dc14dcd3e27cee67eadaf94e7ce83c53e5e583a6025f1c6a9cc9e5fR38
How to test this PR?
N/A
PR Checklist
As the author of this Pull Request I made sure that:

[x] The Eclipse Contributor Agreement is valid
[x] Code produced is complete
[x] Code builds without errors
[ ] Tests are covering the bugfix
[x] The repository devfile is up to date and works, if one exists
[x] Sections What issues does this PR fix or reference and How to test this PR completed
[x] Relevant user documentation updated
[x] Relevant contributing documentation updated
[x] CI/CD changes implemented, documented and communicated

Reviewers
Reviewers, please comment how you tested the PR when approving it.

building: https://gitlab.cee.redhat.com/rhidp/rhdh/-/pipelines/8880453


@apply not working in imported css with a {} only

I am a beginner in CSS so this might be obvious to some of you.
I tried to look at similar issues but I fail to see how they could be related.
I created the most simple gridsome project using TailwindCSS.
The project
My main.css looks like this:
@tailwind base;
@tailwind components;

@import "./theme-pink.css";

@tailwind utilities;

The theme-pink.css looks like this:
// This one is correctly applied
div {
    @apply bg-pink-200;
}

// This one is not
a {
    @apply text-red-600;
}

// This one is correctly applied
a:hover {
    @apply text-blue-500;
}

The issue
Every css in theme-pink.css is applied but the one with a { @apply text-red-600; }.
If move the problematic line in main.css then our style is applied:
@tailwind base;
@tailwind components;

@import "./theme-pink.css";

@tailwind utilities;

a {
    @apply text-red-600;
}

Try it yourself
If you feel like helping you can test this with this reproduction code : https://github.com/Braincoke/issue-tailwind-apply.
Would anyone know why this is not working ?

Try this:
// all the tailwind stuff
@tailwind base;
@tailwind components;
@tailwind utilities;

// your custom styles
@import "./theme-pink.css";

Oh yeah I had already tried this but unfortunately it didn't work :(


Updates to Readme: What is a Trace?

Is your feature request related to a problem? Please describe.
Perhaps this is due to a lack of prior knowledge on my part, but I'm not clear on what a trace actually is. This inhibits my understanding of how to format inputs, and inspection of intermediate tensors. Initially I thought the additional R dimension was time, but traces are returned separately. In that case maybe time is handled by the user, and they are passing inputs that either contains spikes in that step, or don't.
Describe the solution you'd like
A clear description of what a trace is, and perhaps a simple example. Say a 10x10 image being passed into a single spiking neuron layer, and then the resulting output shapes including traces.
Describe alternatives you've considered
Experimentation and diving into the source. I've done both of these, but could go more in depth and possibly find my own answer.
Additional context
I plan to use your library as the main simulation tool for my thesis.

 So if you were to encode a 10x10 image as 10x10 spike sequences of say 5 steps (higher pixel values get more spikes, so 255 == [1, 1, 1, 1, 1], while 0 == [0, 0, 0, 0, 0]), and input this to a spiking layer of 10x10 neurons, you would get as trace a 10x10 matrix of the moving average over the output spikes of these neurons.

Thank you! That makes sense, and the differentiable part is of course important for certain learning rules.

Thank you! That makes sense, and of course the differentiable piece is important for certain learning rules.


Change the name?

Angular filter is a too common name, easily mistaken with angular filters feature.
I suggest a cooler name, something of the sort of Bower, Mimosa, Boba or Grunt.
It needs to be something related to filters. What about "ngPipes"? Since filters are using pipes ( | ) this could be a cool name no?

+1

Yet another +1

Ha. Guess this ain't happening any time soon ;)


NaN when validating chunk 0 of 0

When validating chunk 0 of 0, the node prints Nan.

Solved by input-output-hk/cardano-node#5407


Do not merge settlements that share liquidity sources

We saw a failed transaction simulation today that involved a merged settlement.
There were two orders, all independently matched through Uniswap (and Sushiswap) paths:

sell DAI for USDT, matched through DAI->WBTC->WETH->USDT.
sell WETH for WBTC, matched through WETH->DAI->WBTC.

While the solutions could work if submitted on their own, if one is executed then the price in the DAI->WBTC pool moves and the merged trade cannot be settled anymore.
Full trade information
=== Tokens ===
                                    address | index | symbol |                 price
--------------------------------------------+-------+--------+-----------------------
 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 |     0 |   WBTC |<PHONE_NUMBER>824800000
 0x6B175474E89094C44Da98b954EedeAC495271d0F |     1 |    DAI |             960957811
 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 |     2 |   WETH |              15868097
 0xdAC17F958D2ee523a2206206994597C13D831ec7 |     3 |   USDT |<PHONE_NUMBER>65796048640

=== Trades ===
------------------------------------------------------------------------------------------------------------------------
Order: SELL order, valid until 2021-06-22T13:16:23.000Z<PHONE_NUMBER>)
Trade: sell<PHONE_NUMBER>6579604864 DAI (1)
        buy 865.839154 USDT (3)
        fee 40.79531929247195136 DAI (1)
Owner: 0x6b9100896b556Cf3EB01be2c7c368F263771fE61
Receiver: 0x8b93cf141fd30F98bE545384eba5A160C254955d
AppData: 0x0000000000000000000000000000000000000000000000000000000000000001
Signature (eip-712): 0x5499b7ef75f58a25f579aebb925d8ef5bc90abfb1102dd333e666f88b6e964885900c9b3ef8b7abdde78c05d0c00f055e170b3763efd7e37df518bca214467ae1c
OrderUid: 0x84809ac0586387c4f4e057a8ddb9c885478186b8120fca9326e2c07875ea92326b9100896b556cf3eb01be2c7c368f263771fe6160d1e2a7

Order: SELL order, valid until 2021-06-22T13:16:28.000Z<PHONE_NUMBER>)
Trade: sell 2.6619999998248 WETH (2)
        buy 0.15772572 WBTC (0)
        fee 0.0180000001752 WETH (2)
Owner: 0x431be6F935fDd4FC32b52A80FB8B8e0aFee55564
Receiver: 0x431be6F935fDd4FC32b52A80FB8B8e0aFee55564
AppData: 0x0000000000000000000000000000000000000000000000000000000000000001
Signature (eip-712): 0x424f41c7f27e46e9b9f5a7dd7a4d8dee7c739bb1fff009e65c0abe6025a9ccd27df9d3cc9b1ce6ee03bb86277356cba16436251812c055ef25dc3ecab588d11c1c
OrderUid: 0x0e00dd1cbd39f94ea1b60c7d63a54f1ddb6601a7e55dd9939c0c3405d200354a431be6f935fdd4fc32b52a80fb8b8e0afee5556460d1e2ac

=== Interactions ===
------------------------------------------------------------------------------------------------------------------------
  --- Pre-interactions ---

 ┌--- Intra-interactions ---
 ├───  Interaction: target address 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
 │     function: swapTokensForExactTokens
 │      - amountOut: 0.03237643
 │      - amountInMax:<PHONE_NUMBER>25961844689
 │      - path: 0x6B175474E89094C44Da98b954EedeAC495271d0F (DAI) -> 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 (WBTC)
 │      - to: 0x3328f5f2cEcAF00a2443082B657CedEAf70bfAEf
 │      - deadline:<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935
 │     calldata: 0x8803dbee000000000000000000000000000000000000000000000000000000000031670b000000000000000000000000000000000000000000000033d0c642fea75c9fd100000000000000000000000000000000000000000000000000000000000000a00000000000000000000000003328f5f2cecaf00a2443082b657cedeaf70bfaefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000020000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599
 ├───  Interaction: target address 0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F
 │     function: swapTokensForExactTokens
 │      - amountOut: 0.540787685122734122
 │      - amountInMax: 0.03240881
 │      - path: 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 (WBTC) -> 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 (WETH)
 │      - to: 0x3328f5f2cEcAF00a2443082B657CedEAf70bfAEf
 │      - deadline:<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935
 │     calldata: 0x8803dbee00000000000000000000000000000000000000000000000007814388cea5782a00000000000000000000000000000000000000000000000000000000003173b100000000000000000000000000000000000000000000000000000000000000a00000000000000000000000003328f5f2cecaf00a2443082b657cedeaf70bfaefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000020000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
 ├───  Interaction: target address 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
 │     function: swapTokensForExactTokens
 │      - amountOut: 960.957811
 │      - amountInMax: 0.541328472807856857
 │      - path: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 (WETH) -> 0xdAC17F958D2ee523a2206206994597C13D831ec7 (USDT)
 │      - to: 0x3328f5f2cEcAF00a2443082B657CedEAf70bfAEf
 │      - deadline:<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935
 │     calldata: 0x8803dbee0000000000000000000000000000000000000000000000000000000039470d7300000000000000000000000000000000000000000000000007832f60c0845ad900000000000000000000000000000000000000000000000000000000000000a00000000000000000000000003328f5f2cecaf00a2443082b657cedeaf70bfaefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
 ├───  Interaction: target address 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
 │     function: swapTokensForExactTokens
 │      - amountOut: 4720.124801233017022568
 │      - amountInMax: 2.6646619998246248
 │      - path: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 (WETH) -> 0x6B175474E89094C44Da98b954EedeAC495271d0F (DAI)
 │      - to: 0x3328f5f2cEcAF00a2443082B657CedEAf70bfAEf
 │      - deadline:<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935
 │     calldata: 0x8803dbee0000000000000000000000000000000000000000000000ffe0e3f26dad42a86800000000000000000000000000000000000000000000000024fac7f88a075ca000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000003328f5f2cecaf00a2443082b657cedeaf70bfaefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
 └───  Interaction: target address 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
       function: swapTokensForExactTokens
        - amountOut: 0.15868097
        - amountInMax: 4724.844926034250039591
        - path: 0x6B175474E89094C44Da98b954EedeAC495271d0F (DAI) -> 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599 (WBTC)
        - to: 0x3328f5f2cEcAF00a2443082B657CedEAf70bfAEf
        - deadline:<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935
       calldata: 0x8803dbee0000000000000000000000000000000000000000000000000000000000f220c1000000000000000000000000000000000000000000000100226532ed4644012700000000000000000000000000000000000000000000000000000000000000a00000000000000000000000003328f5f2cecaf00a2443082b657cedeaf70bfaefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000020000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599

  --- Post-interactions ---

Nice observation, and not super obvious to me how this can be solved (given that the settlement is already a quite abstract data type).
Maybe we could add intersects(&self, other: &Box<dyn Interaction>) on the Interaction trait, but I assume this would require something like Any in order to actually inspect/downcast the concrete Interaction at runtime.

On the other hand it can be reasonable to assume that single trades do not move liquidity sources significantly. The merged settlements still need to pass simulation which must have been the case in the example too. I feel overall this should be rare enough that merging is better.


ListParse not work with cyrillic

dump(
    ListParser::parse(' value="price 1.xlsx"; attribute=""', [';', '=']),
    ListParser::parse(' value="Прайс 2.xlsx"; attribute=""', [';', '='])
);

array:4 [
  0 => " value"
  1 => ""price 1.xlsx""
  2 => " attribute"
  3 => """"
]
array:3 [
  0 => " value"
  1 => ""Прайс 2.xlsx""
  2 => " attribu"
]

may be
        for ($i = 0; $i < $length; $i += 1) {             //$char = $value[$i];             $char = substr($value,$i,1);

@dimaxz I've tested it on mine and also some server and it works fine in both cases. Looks like it is system dependant issue.

Can I send you an email with an attachment so you can read it?

@dimaxz ping me on zf slack, please

Failed! invite_limit_reached

This repository has been closed and moved to laminas/laminas-mail; a new issue has been opened at https://github.com/laminas/laminas-mail/issues/8.


one-class-train.tar can't be downloaded.

please, one-class-train.tar can't be downloaded.

Here is a mirror: zenodo.org/record/4395294


PostGetter::get_post_class unnecessarily instantiates return PostClass

Expected behavior
I expect the class wrapper for the returned post class in Timber::get_post to only be instantiated once.
Actual behavior
The class wrapper is instantiated twice.
Steps to reproduce behavior
Create a class wrapper which extends TimberPost, the constructor will be called twice.
What version of WordPress, PHP and Timber are you using?
WordPress 4.9.4, PHP PHP 7.0.27, Timber 1.7.0
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
Composer

Closed by #1663 and #1661


Switch to MIT license

Coverage remained the same at 89.578% when pulling 1faf6842c0b52c663a767acc7c22c11c229cb4ed on mit-license into b4a8ae7b6a4f58d0e8f5726163b9d42686896166 on develop.


Doesn't support anonymous FTP

I've tried:
FTPClient *client = [FTPClient clientWithHost:@"localhost" port:21 username:@"" password:@""];

and:
FTPClient *client = [FTPClient clientWithHost:@"localhost"port:21 username:nil password:nil];

but neither of these appear to work. Are anonymous servers supported?

Ah, this works:
FTPClient *client = [FTPClient clientWithHost:@"localhost" port:21 username:@"anonymous" password:@""];

Would be good to hardcode the username "anonymous" if nil is passed then mention this in the readme.


Occasionally freeze when moving the mouse in the editor

Godot version
f692b4768
System information
Linux mint 21, forward_plus ,NVIDIA GeForce GTX 1050 Ti
Issue description
I occasionally get stuck when moving the mouse in the editor. I have encountered it many times so far, but I have not explored the specific cause. Cannot use the screenshot tool to take a screenshot after being stuck.
Recently I tried to reproduce it by just moving the mouse, and I only succeeded once, but still can't find any reproducible steps. Might be related to the tooltip popup. When the popup does not disappear with the mouse movement, it means that it has been stuck.
I use i3wm, prone to this problem in the following situations.

When switching workspaces, you may need to stay in other workspaces for a while;
Or let the editor display on the screen, leave the computer for a while and use the mouse to move again.

Just using the mouse to move in the editor will also encounter this issue.
There are no signs or messages. Might be related to #69582, I'm not sure.
Steps to reproduce
Sorry, this issue came up by accident and I'm not sure of the exact steps to reproduce.
Minimal reproduction project
N/A

I was just about to report the same issue :+1:
I use Arch Linux and was using a 3.x custom build. I once succeeded reproducing the freeze by attaching a new script, typing some export variable declaration, and randomly clicking the mouse. But those steps no longer work now.
When I was able to reproduce the freeze with gdb on, interrupting the process shows that the main thread is stuck at a pthread mutex lock inside the XSetICValues() in OS_X11::set_ime_position() (called by TextEdit::_notification()). I'm not sure if this is related to the freeze.
https://github.com/godotengine/godot/blob/f128170a1878758e27ee4c9ded7e74ebcde210b8/platform/x11/os_x11.cpp#L828-L848

Notable all reports are on linux. Has this occurred before or is it recent?
Most recent PR is #69943. (If this is occurring on 3.x and master).
Just looking at that PR, I can see a possible problem:
void JoypadLinux::monitor_joypads() {
	while (!monitor_joypads_exit.is_set()) {
		DIR *input_directory;
		input_directory = opendir("/dev/input");
		if (input_directory) {
			struct dirent *current;
			char fname[64];
			while ((current = readdir(input_directory)) != nullptr) {
				if (strncmp(current->d_name, "event", 5) != 0) {
					continue;
				}
				sprintf(fname, "/dev/input/%.*s", 16, current->d_name);
				if (attached_devices.find(fname) == -1) {
					open_joypad(fname);
				}
			}
		}
		closedir(input_directory);
		usleep(1000000); // 1s
	}
REMOVED	usleep(1000000); // 1s
}

How often is monitor_joypads() called? Should there be a sleep in both locations?

i have this problem too. the current and only seaming work around is using 3.2.3 as that is the latest working version. 3.3.x breaks in the same way as 3.5.1

Void Linux, Wayland, Sway 1.8.2. Godot 3.5.1 constantly freezes in the editor after few minutes of work. As @timothyqiu mentioned set_ime_position() I thought maybe IME is causing this issue. I had fcitx5 running as IME, when I stop it Godot works without freezing.

BTW for anyone getting this, it would be really helpful to know how far back in terms of versions this freezing happens, because it might help pinpoint which change might be responsible (i.e. if you download some old builds 3.4, 3.3 etc and see if you can work out how far back this was happening, or when it started).

it would be really helpful to know how far back in terms of versions this freezing happens

For me it seems:

3.2.3 no issue
3.2.4-beta1 has issue

This commit happened between these versions and looks related.

That indeed looks likely as it looks like the events_mutex might have been responsible in @timothyqiu 's bit of code, and that was introduced in #42341 .

IME stands for Input Method Editors and it is mostly used in Asian languages. (Arabic uses a RTL keyboard layout, which does not need an IME)

By any chance are all you guys with this problem using non-english language? Or has anyone reproducing this with english input?

@lawnjelly I use IME (fcitx5) for Japanese input ocassionally, but I only use English layout in Godot. In fact, to reproduce the freeze I don't even need to input anything, just start selecting text in the editor with mouse and moving the mouse cursor around. I'm not sure that IMEs others use, but this might be partially a fcitx5 issue, IME support in Wayland is not perfect and fcitx5 was the only IME that actually worked for me. Maybe Godot makes some expectations about IME that doesn't happen since it's not so stable in Wayland.

when we select text it seems got auto-copied to PRIMARY clipboard

That's a system thing not a Godot thing

That's a system thing not a Godot thing

True, I was confused by PRIMARY mentioned in set_clipboard, but after some checking it turns out copying is not happending during selection, actually it happens when paste event triggered somewhere.

It seems that a thread is reserved when compiling (scons -j$((`nproc` - 1))), and it is easier to reproduce this issue in the editor. I'm stuck in the following situations in a7276f1ce:

After creating a new project, it is stuck in the import progress bar;
After the OptionButton pops up the options;
When renaming the node name.


changing data type of 't' to int in lamb_update_phase1

Description
Fixing data type of t in lamb_update_phase1
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@mxnet-label-bot add [pr-awaiting-review]

@sxjscience @eric-haibin-lin  PR is ready for review


SyntaxWarning: "is not" with a literal. Did you mean "!="?

the low_mark comparison is not obviously an error.
I get this warning running:
python manage.py runserver

/var/venv/lib/python3.8/site-packages/queryset_sequence/init.py:255: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if low_mark is not 0:

For this reason I did that change, maybe, not strictly necessary.
Originally posted by @alfredo-ardito in https://github.com/percipient/django-querysetsequence/issues/58#issuecomment-562550902

I don't see this when running tests on Python 3.7, questions I have:

Is this a new warning?
Why was this code originally written to use is not here? It seems wrong, will need to investigate more.

It looks like this code was originally added in dd3502822ec4b9616aae1b9baaf5342211c992d1, so it has always been that way.

I guess this warning comes from Python 3.8
I'll investigate and let you know

Seems to be documented in the changelog:

The compiler now produces a SyntaxWarning when identity checks (is and is not) are used with certain types of literals (e.g. strings, numbers). These can often work by accident in CPython, but are not guaranteed by the language spec. The warning advises users to use equality tests (== and !=) instead. (Contributed by Serhiy Storchaka in bpo-34850.)

I believe your fix was correct to just change it to a !=!

okay, good to know.

Thanks for reporting this!


32x32 Matrix not working!

I know that this library only has been tested with 64x64 matrix but i've heard that people have got it working with a 32x16 so i thought it would be just plug and play here but sadly no :/
my board is
IFH6-32x32-16S-V1.0 (HUB75D)

Can you pst a link to the panel you bought? Can you try the earliest version of the library 1.0.2 and see if that makes any difference? Please triple check your cabling?

Can you pst a link to the panel you bought? Can you try the earliest version of the library 1.0.2 and see if that makes any difference? Please triple check your cabling?

this is the board ->
i've gone over it 7 times!! everything is fine
Code running
#ifndef MYMATRIX_H
#define MYMATRIX_H

#include <ESP32-RGB64x32MatrixPanel-I2S-DMA.h>

RGB64x32MatrixPanel_I2S_DMA matrix;

namespace Matrix
{

void begin()
{
    Serial.println("...Starting Display");
    matrix.begin();

    matrix.fillScreen(matrix.color565(255, 0, 0));

    matrix.setPanelBrightness(16);
    //matrix.clearScreen();
}

void update()
{
}

};

#endif

Here is a image of what im seeing, running the code i posted above here!

@mrfaptastic so just a quick update! i've checked my wires 9 times now (i even de-solder and re-soldered the wires)
i have NO problems using fill to actualy fill the entire screen with a solid color! but when it comes to animations / image display and so on the display is just garbage :/ /using your example codes only)

That's good news. Can you show a photo of the testshapes_32x64 sketch? It's almost impossible to diagnose what is going on. From the first screenshot of the failed red, it looked like D line wasn't connected.
Perhaps do a simple sketch that draws a line from the top left to the bottom right as well - show a photo.

soooo i did this in setup matrix.drawRect(0, 0, 32, 32, matrix.color565(0, 255, 0)); and using default pinout (i've even hardwired it now to a breadboard!)
and this is the outcome (btw RL it's flickering like crazy)

Can you try another library like pxMatrix or something? Also, can you do a drawLine instead of a drawrect? Something I think is wrong with the panel perhaps.

actualy i had my Matrix working 100% with PXMatrix library :) so i know it's working :)
yes i adjusted WIDTH and HEIGHT in the .h file :)

This is turning into one of these mysteries. Try drawing a single pixel / single diagonal line etc.... might help understand what's going on. also try version 1.0.2 of this library etc.

Can you try with the earlier version of this library? 1.0.2
I am hoping there isn't a regression that I have inadvertantly introduced for some 32x32 px panels!

im on 1.0.2 now and if i set
`#ifndef MATRIX_HEIGHT
#define MATRIX_HEIGHT               32 //64
#endif
#ifndef MATRIX_WIDTH
#define MATRIX_WIDTH                32
#endif`
the colors and pattern is fucked up and if i set to 32x64 then it works but is wrong size since i have a 32x32 so :S but color and pattern is correct
running the plasmapattern btw! please make a fix for 32x32 <3 would realy like to use this library!

@mrfaptastic this is the ESP32 im using dunno if it differs from the one you used to build this library
DOIT ESP32 DEVKIT 1

Can you show a photo of your wiring? The shorter the cable the better.

Hi, I tested this with 32x32 on a 64x32 (width, height) and as expected I got two 32x32 images showing on the single panel. I can't find a datasheet on this Adafruit panel on how it works, but this library won't work with anything with less rows than 32px.


ImportError: cannot import name 'ToTAgent' from 'tree_of_thoughts'

When running from tree_of_thoughts import ToTAgent, MonteCarloSearch gets the following error: ImportError: cannot import name 'ToTAgent' from 'tree_of_thoughts', how do we solve this problem?

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

+1

+2

+4

+5

+6

+7

+8

+9

@WillReynolds5 @networkdao @nadyanvl @tengjieksee @skinnynpale I have fixed the code, try the new example in the readme.md and let me know if it works


How to integrate it with r9y9/Tacotron-2 ?

Tacotron-2 implementation of r9y9 (https://github.com/r9y9/Tacotron-2) output the mel-spectrogram but when I give that mel-spectrogram input to nv-wavenet after covert .npy file to torch tensor and do inference then it generates noise. Do I have to do some extra to Tacotron 2 generate mel-spectrogram then input to nv-wavenet for speech synthesis?

Ideally, you should train on the same spectrograms as you're going to do inference on
At minimum you might want to look through the closed issues of NVIDIA/tacotron2 to find some examples you could base your solution from, like this one: https://github.com/NVIDIA/tacotron2/issues/52

@rishikksh20 Are you trying to use the WaveNet from r9y9 for inference, or are you training a WaveNet using the code in the PyTorch directory?  If you're using a WaveNet from r9y9, can you post the code you're using to try the bindings?

@rafaelvalle is it possible to integrate r9y9's Tacotron 2 with this repo ? If yes then what changes are required to do with Tacotron 2 output's Mel spectrogram to compatible with nv-wavenet input Mel spectrogram.

@rishikksh20 In addition to training Tacotron2 and Wavenet on the same speaker, the same mel-spectrogram representation has to be used, including FFT and mel params.

@rishikksh20 did you manage to get it working?
If so, would you please share the code you're using to convert from r9y9/Tacotron-2 mel-spectogram to nv-wavenet mel-spectogram?
Thank you in advance.