lastActionId is undefined

Homekit shows no response.  Have disabled & re-enabled websocket api, restarted device multiple times, updated homebridge with new keys, etc.
Everytime I tap on the gate from homekit, this appears in the homebridge console: Unexpected error - lastActionId is undefined

@oscarbrown4 please provide the firmware version of the Remootio device, and the version of this module.  Enable debugging and provide the debug logs.

Remootio device version 2.3
homebridge-remootio v1.2.7
I disabled other homebridge plugins and restarted to make sure nothing interfered.
[2/26/2022, 4:41:41 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[2/26/2022, 4:41:41 PM] [HB Supervisor] Started Homebridge v1.4.0 with PID: 4128
[2/26/2022, 4:41:41 PM] Loaded config.json with 10 accessories and 4 platforms.
[2/26/2022, 4:41:41 PM] Loaded 0 cached accessories from cachedAccessories.
[2/26/2022, 4:41:41 PM] ---
[2/26/2022, 4:41:41 PM] Loaded plugin<EMAIL_ADDRESS>[2/26/2022, 4:41:41 PM] Registering platform 'homebridge-config-ui-x.config'
[2/26/2022, 4:41:41 PM] ---
[2/26/2022, 4:41:41 PM] Disabled plugin<EMAIL_ADDRESS>[2/26/2022, 4:41:41 PM] ---
[2/26/2022, 4:41:41 PM] Disabled plugin<EMAIL_ADDRESS>[2/26/2022, 4:41:41 PM] ---
[2/26/2022, 4:41:41 PM] Disabled plugin<EMAIL_ADDRESS>[2/26/2022, 4:41:41 PM] ---
[2/26/2022, 4:41:42 PM] Loaded plugin<EMAIL_ADDRESS>[2/26/2022, 4:41:42 PM] Registering platform 'homebridge-remootio.Remootio'
[2/26/2022, 4:41:42 PM] ---
[2/26/2022, 4:41:42 PM] Disabled plugin<EMAIL_ADDRESS>[2/26/2022, 4:41:42 PM] ---
[2/26/2022, 4:41:42 PM] Loading 4 platforms...
[2/26/2022, 4:41:42 PM] [Config] Initializing config platform...
[2/26/2022, 4:41:42 PM] [Config] Running in Service Mode
[2/26/2022, 4:41:42 PM] Ignoring config for the platform "myQ" in your config.json as the plugin "homebridge-myq" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the platform "Ring" in your config.json as the plugin "homebridge-ring" has been disabled.
[2/26/2022, 4:41:42 PM] [Remootio] Initializing Remootio platform...
[2/26/2022, 4:41:42 PM] [Remootio] Initializing child bridge 0E:D0:EA:43:1C:CC
[2/26/2022, 4:41:42 PM] Loading 10 accessories...
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "MagicOccupancy" in your config.json as the plugin "homebridge-magic-occupancy" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "MagicOccupancy" in your config.json as the plugin "homebridge-magic-occupancy" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled.
[2/26/2022, 4:41:42 PM] Ignoring config for the accessory "DummySwitch" in your config.json as the plugin "homebridge-dummy" has been disabled.
[2/26/2022, 4:41:42 PM] Publishing bridge accessory (name: Homebridge 12B0, publishInfo: {
  username: '0E:6E:44:7A:12:B0',
  port: 51134,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: undefined
}).
Setup Payload:
X-HM://0024A1Y8L0TV6
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ 489-13-813 │
    └────────────┘

[2/26/2022, 4:41:42 PM] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 12B0) is running on port 51134.
[2/26/2022, 4:41:42 PM] [Remootio] Launched child bridge with PID 4132
[2/26/2022, 4:41:42 PM] Registering platform 'homebridge-remootio.Remootio'
[2/26/2022, 4:41:42 PM] [Remootio] Loaded homebridge-remootio v1.2.7 child bridge successfully
[2/26/2022, 4:41:42 PM] Loaded 1 cached accessories from cachedAccessories.0ED0EA431CCC.
[2/26/2022, 4:41:42 PM] [Remootio] Remootio platform finished initializing!
[2/26/2022, 4:41:42 PM] [Remootio] Configuring accessory Gate
[2/26/2022, 4:41:42 PM] Publishing bridge accessory (name: Remootio, publishInfo: {
  username: '0E:D0:EA:43:1C:CC',
  port: 55109,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: undefined
}).
[2/26/2022, 4:41:42 PM] [Remootio] Remotio platform didFinishLaunching()
[2/26/2022, 4:41:42 PM] [Remootio] IP: <IP_ADDRESS>
[2/26/2022, 4:41:42 PM] [Remootio] SK: A0EFA28D25FA67C3D09C46AF44771027C56B2129573A43103EFB47AAEEC5F5D1
[2/26/2022, 4:41:42 PM] [Remootio] AK: 8C5F8E6F8BEE3C8150F517EB8BDFA754D8EE9C80E7B343D00ADC88941E4E2ACF
[2/26/2022, 4:41:42 PM] [Remootio] [Gate] Finished initializing!
[2/26/2022, 4:41:42 PM] [Remootio] [Gate] Connecting: attempt 1
[2/26/2022, 4:41:42 PM] Homebridge v1.4.0 (HAP v0.10.0) (Remootio) is running on port 55109.
[2/26/2022, 4:41:43 PM] [Remootio] [Gate] getCurrentStateHandler: Current door state: [Closed]
Unexpected error - lastActionId is undefined
[2/26/2022, 4:41:43 PM] [Remootio] [Gate] getTargetStateHandler: Target door state: [Closed]
[2/26/2022, 4:41:43 PM] [Remootio] [Gate] ObstructionDetected was requested

@oscarbrown4 , After further thinking about it, I believe your problem is that the API keys may be incorrect. you should have the following sequence in the log:
[2/26/2022, 6:50:16 PM] [Remootio] Initializing Remootio platform...
[2/26/2022, 6:50:16 PM] [Remootio] Remootio platform finished initializing!
[2/26/2022, 6:50:16 PM] [Remootio] Configuring accessory Garage
[2/26/2022, 6:50:16 PM] [Remootio] Remotio platform didFinishLaunching()
[2/26/2022, 6:50:16 PM] [Remootio] [Garage] Finished initializing!
[2/26/2022, 6:50:17 PM] [Remootio] [Garage] Connected
[2/26/2022, 6:50:18 PM] [Remootio] [Garage] Setting current state to CLOSED
[2/26/2022, 6:50:18 PM] [Remootio] [Garage] Authenticated

@oscarbrown4 try the new 1.2.10 release. I have improved the debugging from the underlying api library from Remootio.

Hi @ronniepettersson
It seems it was an issue with my remootio device.  I copied and pasted the API keys, and turned off websocket API about a dozen times and it was still not working.  So I downloaded remootio's api client and tried to connect that way - no dice.  So I ended up completely resetting the remootio, getting new API keys, etc and now it works like a charm.
Apologies for wasting your time here, but thanks for responding quickly.  This is a great interface you made.  Shoot me your venmo, I'd love to buy you a beer.
Thanks!

Hi @oscarbrown4,
Not necessary, but appreciated. Put a dash ("-") between my first and last name and you'll have my venmo.
Thanks
Ronnie Pettersson


Usage without CMake

Hi, I notice in the docs you mention that CMake is integral to the build process of this library.
However I might like to port it to something like Zig in the future which has an integrated build system.
Is it impossible to use without CMake? Could you give me some pointers as to how I might try to use this without CMake/with a different build system?
Of course I can scan through the CMake files and see what it’s doing but maybe something to be aware of.

Something similar has been asked several times before. See e.g. #1360 #897 #703

Yes, but very little information was conveyed :)
I'm asking for any relevant advice so I can try it myself

To give some ideas:
A high level overview of what CMake is handling in the case of this project, how it is helping make this build process simpler?
Is there anything specific to the baremetal pipeline to be aware of? For example the sections relating to ELF2UF2.
What's stopping me from directly including dependencies / building directly without CMake.
The docs are quite sparse on these things.

Sorry, but I think it's unlikely you'll get much help with this on here

Could you explain why? Even this response is frustratingly vague!
Do you mean because it's a set of questions too common to build systems in general? Or because there's not enough will or time to help?

Time. At some point a decision was made to use cmake. I doubt there's any reason why another tool couldn't be used and I doubt there's any reason why you couldn't build without cmake. But without actually doing it, which I would imagine would take a long time that we don't have, it's hard to be sure what obstacles would get in the way. No doubt you'd end up solving all the same problems.  Hope that makes sense.

Thanks for your insight

If you haven't done so already, I guess you'll want to have a thorough look at https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-c-sdk.pdf especially Chapter 2.

Yes I did see that page ;)

I'll probably start by directly porting tiny sections of the SDK to my target language

If you're trying to "port" the SDK to an entirely different programming language, you might find https://github.com/rp-rs/rp-hal to be a useful inspiration? :man_shrugging:

Thanks I'll take a look. Perhaps I can compare  they do all the ELF2UF2 type stuff which I'm in the dark about.
I'm going to start with some Odin tests which is closer to C than Rust is. Progressively adapting the syntax of functions in this repo, as I need them, should get me most of the way. And it's very easy to include a C static library if needed.
When Zig is more stable the integrated build system will be very appealing.
As some background motivation - I think experienced C/C++ coders underestimate the sheer learning curve and complexity of the whole tooling ecosystem due to familiarity. I'm not part of some big team so it's not how I like to work

On the topic of alternative languages for the Pico SDK, I've wrapped the SDK in Nim and integrated CMake.
https://github.com/daniel-j/picostdlib
Nim compiles to C so this integration is really easy. The list of compiled C files just gets added as target sources in CMake. This way it's easy to keep up to date when Pico SDK gets updated, and Cyw43 chip on Pico W just works as expected. The integration is deeper than that with some generated .cmake and files Nim can parse.
I have not used Zig but found this, seems similar to what Rust does (e.g. not using the SDK):
https://github.com/ZigEmbeddedGroup/raspberrypi-rp2040
It might be possible to do something similar with Zig as I did with Nim if you can compile a static binary and link it from CMake side? Since Zig doesn't generate C code currently. I tried it with Nim, it worked but the resulting binary was slightly larger.

It might be worth moving this conversation to https://forums.raspberrypi.com/ and closing this issue?

To me it's a relevant issue that someone might want to look into one day ,  considering ease of adoption/binding by users of other languages. But close away if you have to.
There was also a comment from kilograham in an other issue suggesting it was on a rough roadmap to consider decoupling the build system a bit more, but sounds like it won't happen any time soon.

I'm afraid we're all very busy, and providing support for 3rd-party build systems (when CMake works just fine for 99% of users) is something unlikely to get any attention soon.

Ok , point taken!
Note that I originally only asked for a high level overview. By the time we've finished debating this maybe it could have been written and I would have been more helpful to the project.
But maybe I'm sounding difficult, not intended. Thanks for the work put in thus far.  (●'◡'●)


feat: Add outputs for launch template name and default version

Description

Add outputs for launch template name and default version

Motivation and Context

Commonly used attributes used by downstream components when using launch templates only (no ASG created)

Breaking Changes

No

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

This PR is included in version 6.3.0 :tada:


fixed createclient error when args are undefined

When createclient called without arguments and needed environment variables, "unknown type of connection in createclient()" error occurs in some machines. This fixes it.

+1 for this pr

This has been fixed by #786

Ok then.


[question] swarm stopped working after changing network

Description

I had a working swarm in a network like 192.168.0.xxx. Then, network admins changed us to 192.168.1.xxx.
As we were not using hostnames, now the swarm nodes can't see each other.
$ sudo docker node ls
ID                           HOSTNAME     STATUS  AVAILABILITY  MANAGER STATUS
ahb4838kra2yk0szqv19k10n8    some_node    Down    Active
bama9d3jhx7f4tj81c9upwsgw *  manager_name  Down    Active        Leader

as docker node inspect self returns
(...)
        "ManagerStatus": {
            "Leader": true,
            "Reachability": "reachable",
            "Addr": "<IP_ADDRESS>:2377"
        }
(...)

I need to change <IP_ADDRESS> to <IP_ADDRESS>. The same for every node.
Is there any way to do this?
I tried
docker node update --label-add "node.managerstatus.addr=<IP_ADDRESS>:2377"

but that was saved over here docker node inspect self:
(...)
        "Spec": {
            "Labels": {
                "node.managerstatus.addr": "<IP_ADDRESS>:2377"
            },
            "Role": "manager",
            "Availability": "active"
        },
(...)

I would like to avoid, if possible, deleting the whole swarm and re-adding the nodes and re-creating the services.
Additional information you deem important (e.g. issue happens only occasionally):
(I initially set-up the swarm like this)
Output of docker version:
Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 21:44:32 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 21:44:32 2016
 OS/Arch:      linux/amd64

Output of docker info:
$ sudo docker info
Containers: 36
 Running: 14
 Paused: 0
 Stopped: 22
Images: 220
Server Version: 1.12.3
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: xfs
 Dirs: 1015
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Swarm: active
 NodeID: bama9d3jhx7f4tj81c9upwsgw
 Is Manager: true
 ClusterID: 2d8p1mxhck1wr36wzjoudvfw7
 Managers: 1
 Nodes: 2
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 4.2.0-42-generic
Operating System: Ubuntu 14.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 61.05 GiB
Name: manager_name
ID: I3P4:SLVS:BBBQ:SBVF:3XLC:CWAY:3RCM:EFNR:TJPK:RRU7:6WJO:C43J
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
physical

Closed as duplicate of #29580


Add PowerTools LITE connector artifacts

Initial commit for Apptigent PowerTools LITE connector.

For those of us who do not use git command line tools often, it would be helpful if there were clear instructions on how to satisfy the requirements. I couldn't find anything telling me how to properly submit a PR, the instructions only go so far as getting a local dev branch configured. I don't know how to create a "good" merge for a "proper" PR.


Encapsulate model registry

Current implementation of the model registry is a top level var accessible via top-level un-namespaced methods. Need to encapsulate this in a type, probably DataStore.

This will involve changing API, Datastore and codegen process - to make the ModelRegistry available in both API and Datastore. Currently, we don't plan to change this.


Full support for Ruby pg driver

Fixes #7778.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/62788914a1e42c006caf0144bef1b405785e161a/
Edited pages:

v20.1/build-a-ruby-app-with-cockroachdb.md
v20.1/install-client-drivers.md
v20.2/build-a-ruby-app-with-cockroachdb.md
v20.2/install-client-drivers.md

@vy-ton Any updates on this?


added nincompup-profile

Description
Added my profile on devFind
Related Issues
added my contribution in #488
Changes Proposed
I've added my information in json file so that other developers can find me on this site.
Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
null

Hey @shyamtawli could you please review and merge my PR?

Profile already listed.


Create delegators (users that delegated to you at the best tip) field under accounts field.

Field should be like the following:
Account {
....
delegators: [Account!]!
...
}

Closing this issue as it is stale for a long time.


Resolving LESS imports in webpack

I can't seem to figure out why Webpack isn't resolving the LESS imports inside my less files.
I have a styles npm package that has a few universally defined less variables and functions, let's just say its @brand/styles installed in ./node_modules.
My components are pretty scattered. There's some inside a project-wide shared folder at ./src/shared, entry-point specific shared folders ./src/apps/AppName/shared, and specific components ./src/*.
My current webpack.config.js inside the .storybook folder:
const path = require('path');

var genDefaultConfig = require('@kadira/storybook/dist/server/config/defaults/webpack.config.js');

module.exports = function(config, env) {
  var config = genDefaultConfig(config, env);

  config.module.loaders.push({
    test: /\.less$/,
    loaders: [
      'style-loader',
      'css-loader?modules&importLoaders=1',
      'postcss-loader',
      'less-loader'
    ],
    include: [
      path.resolve('./src'),
      path.resolve('./node_modules/@brand/styles')
    ]
  });

  config.resolve.extensions.push('.less');

<EMAIL_ADDRESS>= path.resolve('./node_modules/@brand/styles/variables');

  config.resolve.root = [
    path.resolve('./'),
    path.resolve('./src/shared')
  ];

  config.resolve.fallback = config.resolve.fallback.concat([
    path.resolve('./src/apps/App/shared'),
  ]);

  // console.log(JSON.stringify(config));

  return config;
};

An example of a less file:
@import '~@brand/styles/variables';

:local {
  .link {
    margin-left: @global-grid * 1.5;
    font-size: @global-grid / 2;
  }
}

I would get errors saying @global-grid is undefined. I don't see any examples for less integration so any help or insights would be really really awesome.

It seems like less-loader and its module resolution doesn't play nicely with storybook 2's config at the moment. I've tried<EMAIL_ADDRESS>but all of them have trouble resolving import '~@brand/styles/filename.
Seems like it will be resolved by storybook 3 and webpack 2.

Hey @danielduan
I never use webpack aliases, because it's so confusing what's actually being required that way, but hey, it's your codebase ¯\_(ツ)_/¯. So I'm probably not the right person to answer this. But I would like to understand some things, it's not criticism!
What's the ~ for / from ? ~@brand/styles/variables, looks to me it would a valid module be without it?
Why load non-js files without a file-extension?
To me this seems super odd:
<EMAIL_ADDRESS>= path.resolve('./node_modules/@brand/styles/variables')

Storybook 3 will include webpack 2, it's resolve config has changed a bit.

I should have removed that alias, I was just trying anything to get it to work.
The ~ tells less-loader and webpack that it's a module. This was me trying to create a webpack 1 config so it could work for 2.35.3. Definitely wasn't my choice to drop the .less extension in imports.
I was able to less module resolve working with the webpack 2 from the mono repo with the example config from less-loader's readme and<EMAIL_ADDRESS>I'll mark this as closed.

Ow wow, did I understand you correctly you're using the version from the mono-repo? 😮

const path = require('path');

var genDefaultConfig = require('@kadira/storybook/dist/server/config/defaults/webpack.config.js');

module.exports = function(config, env) {
  var config = genDefaultConfig(config, env);

  if (!config.module.rules) {
    config.module.rules = [];
  }

  config.module.rules.push({
    test: /\.less$/,
    use: [
      {
        loader: 'style-loader' // creates style nodes from JS strings
      },
      {
        loader: 'css-loader',
        options: {
          importLoaders: 2
        } // translates CSS into CommonJS
      },
      {
        loader: 'postcss-loader' // add vendor prefixes
      },
      {
        loader: 'less-loader' // compiles Less to CSS
      }
    ],
    include: [
      path.resolve('./src'),
      path.resolve('./node_modules/@brand/styles')
    ],
  });

  config.resolve.extensions.push('.less');

  if (!config.resolve.modules) {
    config.resolve.modules = [];
  }

  config.resolve.modules = config.resolve.modules.concat([
    path.resolve('./'),
    path.resolve('./src'),
    'node_modules',
    'shared',
    'src'
  ]);

  return config;
};

Yes, the less config looks something like this for webpack 2.


Deploy

Purpose

Updates the login mode to support azd, and add comments

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

@microsoft-github-policy-service agree [company="Ernesto Cardenas"]

Closing as this is out-of-date with the latest update, but feel free to re-open if you see any additional tweaks/improvements we can make. Thanks!


Update part_i.rst

Edits

Thanks @gelles-brandeis . I made some small formatting fixes. Also changed back to lamda (which I've been using instead of lambda which is a keyword in Python).


[Lesson 1.4] Typo in raspberry-pi-os/docs/lesson01/linux/kernel-startup.md "childern" > "children"

In file raspberry-pi-os/docs/lesson01/linux/kernel-startup.md there is a typo: "childern" should read "children". Submitting a quick fix.

Also found typo "gues" which should read "guess". Fixing that as well.

Sent with GitHawk


How do we use future frames?

I have some confusion regarding the future frames mentioned in your paper. How are "ours-0" and "ours-7" defined? The convolution across the temporal dimension in the code uses padding of seven frames front and back, with a window of 15. Does this imply that it uses 7 future frames? In the experimental section, you mention a window of 64 frames with 7 future frames. What does the mention of a 64-frame window with 7 future frames mean in the experimental section? Does this refer to a convolution window of 64 frames?

In both cases we have a window of 64 frames. Padding is added later, so if padding is 7, it will add 7 elements at the beginning and 7 elements at the end. It does not affect the 64 frames window size.
If I remember correctly, the way it works is the following:
We construct the 64 frames window of sparse poses.
In ours-0 we use frames 1 to 63 to add previous sparse poses, and in frame 64 we add the current frame sparse pose, then we just read the frame 64 output for the predicted pose.
In ours-7 we use frames 1 to 56 to add previous sparse poses, in frame 57 we add the frame we want to process, and frame 58 to 64, we add the "future sparse poses". In this case we read the frame 57 from the output. Conceptually, this is equivalent to having our method running with 7 frames of delay with respect to the application.
Hope it clarifies your question, let me know if you need further detail!

Thank you very much for your patient explanation;
I now have a clearer understanding of what you've described. The 64-frame window you mentioned serves as the basis for generating results for each frame. In ours-0 and ours-7, the number of future frames within this window differs. We pad this window and then apply a convolution with a kernel size of 15 along the temporal dimension, ultimately adopting the result of only one frame (the current frame) as the output.
I haven't seen such operations in your provided train, eval, or unity code; are they simplified versions? Do you only employ this operation during the final result assessment as a means of data augmentation?
This is my first encounter with such a concept, and I would be very grateful if you could further explain the principles and significance of this approach.


Test

This is a test comment

Hi Lyra,
I have completed the Introduction to GitHub task, and I am looking forward to this test. I request you to provide me the access to the test.
Thank you,
Subramanya


Question: how to get vertical lines?

Hello and thank you for the plugin! I have only a small question.
How to get vertical lines like on this screenshot?

https://github.com/lukas-reineke/indent-blankline.nvim/


[5.0.1] Missing AC presence values in configuration...

The default setting page when ticking the AC box is correct but the presence doesn't offer any AC dedicated presets for presence...

Strange. I have automated test for this which are working as expected.
Can you please send the exact sequence of configuration screen which reproduce this issue. Will try to reproduce myself, but yesterday when publishing 5.0.1 I have done a lot of automated and manual tests.

Here are the relevant pages:

Hello, I guess this is normal. A switch cannot manage both mode (heat and cool) but only heat or only cool.
There is no way to change the hvac_mode of a switch.
So for a switch with ac_mode checked you only give the target temperature of the ac mode.
I know this can be a few confusing.

Well I did manage to have an automation to switch the heat pump between summer and winter mode (heat / cool)...
In this case, the thermostat card offers both heat and cool which is confusing because it should one or the other if I understand your point.
Anyway, I'm evaluating what to do with version 5 given that it is changing again my approach on saving heat and cool and electricity...

It is not ideal but that was a layer on top of your plug-in.
I didn't like the fact that heat pump was on all the time and overheating the room even with adaptation.
Some heat pump presets are way too inaccurate compared to 3rd party sensors that have a 0,1 precision.
I end up with +1 to +2c over temp...
So making a switch automation on top allows me to have better control over it so far.
I'll rethink the strategy later...

I end up with +1 to +2c over temp...

With sekf-regulation, you should not have this.
My strategy is the following:

have an Scheduler which starts (hvac_heat) / stop (hvac_off) the clim at specific hours and in the same Scheduler, change the preset. The clim is in the bedroom so it can't be shutoff on the morning (10:00) and turned on at 22:00 during the offpeak hour. If it is really cold, and need some heating during the day, I turn it on manually.


what the version scikit-image is?

ImportError: cannot import name 'rgb2grey' from 'skimage.color'
cant import the rgb2grey
and in the. init.py also cant find the rgb2grey but only has rgb2gray

Hello !
This project is super old, unfortunately it seems I was not really doing a good job with requirements.txt :p
But, after a quick check, it's maybe around the 0.11.x ? For exemple you can see at this address that rgb2grey existed at this time : https://scikit-image.org/docs/0.11.x/api/skimage.color.html#rgb2grey 🦖
Good luck ! 🤞🏻


no valid module file was found in any module directory

Hi,
when I try to import the module I'm getting this error:

Import-Module : The specified module 'IntunePfxImport.psd1' was not loaded because no valid module file was found in any module directory.
At line:1 char:1

Import-Module IntunePfxImport.psd1

  + CategoryInfo          : ResourceUnavailable: (IntunePfxImport.psd1:String) [Import-Module], FileNotFoundException
  + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

I'm a PS noob but should there not be anywhere the Microsoft.Management.Powershell.PFXImport.dll file?
Thanks for help and best regards
Jakob

Hi Jakob,
I've updated the readme documentation. You need to make sure you first build the solution and have the correct path to the psd module when you try to import it.
This feature isn't live yet but should be soon.
Cheers!


Does not work on WinGet

https://github.com/microsoft/winget-pkgs/pull/106696

Ok - I see your problem - you need to 1. Update customtkinter to the latest 5.2.0 (see this 2. overwrite that google theme doc with this https://github.com/willwade/project-gameface/blob/inno6-installer/assets/themes/google_theme.json (there was a typo in that doc)


could not complete execution

hey im gettin this error
kaliuser@kaliuser:/CloudFail$ python3 cloudfail.py --target seo.com
cloudfail.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while choice is not 'y' and choice is not 'n':
cloudfail.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while choice is not 'y' and choice is not 'n':
cloudfail.py:182: SyntaxWarning: "is" with a literal. Did you mean "=="?
if choice is 'y':

/ | | ___  _   _  __| |  | () |
| |   | |/ _ | | | |/  | |_ / _ | | |
| || | () | || | (| |  | (| | | |
_||_/ _,|_,||  _,||_|
v1.0.2                      by m0rtem
[11:24:00] Initializing CloudFail - the date is: 02/12/2020
[11:24:00] Fetching initial information from: seo.com...
[11:24:00] No ipout file found, fetching data
[11:24:00] Just checking for updates, please wait...
[11:24:00] Updating CloudFlare subnet...
Traceback (most recent call last):
File "cloudfail.py", line 309, in
init(args.target)
File "cloudfail.py", line 138, in init
update()
File "cloudfail.py", line 246, in update
with open('data/cf-subnet.txt', 'wb') as fd:
PermissionError: [Errno 13] Permission denied: 'data/cf-subnet.txt'

try to run the script as sudo
it should fix the issue

 Same ...

try to install the python3 component by using this command
sudo pip3 install win_inet_pton
it should fix it

tried both still the same


Add option to use bcrypt

I know there is a way to pass it as a property when we initiate this module, but I don't think its fully compatible. When I tried to pass it, I got an error related to the provider not being a function.
Error line:
https://github.com/feathersjs/feathers-authentication/blob/master/src/index.js#L142
So it may be easier to the library itself provide a way to change the bcrypt implementation that's gonna be used.

This is now possible and much more flexible. You can use the native bcrypt module by simply extending the verifier for feathers-authentication-local and implementing your own _comparePassword function that uses bcrypt. In fact, you can use any hashing function you would like.
You will also need to pass your own hash function as an option to the hashPassword hook.


Feature Request: Option to Use Custom Preview App?

Just as Command+Shift+E lets me open the note in the editor of my choice, could a similar keyboard shortcut give an option to preview in the app of my choice? Ideally both the build in preview and the optional preview would be available with different keyboard shortcuts.

I doubt we'll add the ability to set a custom markdown preview app like you're requesting (we're not adding major features these days, mostly bug fixes). But already you can use Brett's app, Marked. ctrl-cmd-m  (look in the Preview menu)

Fair enough. And Marked suits my needs just fine. Can't believe I didn't notice that before. Thanks!


Error while downloading default cheats

Using Navi 2.3.0 on Ubuntu 19.04.
After installing Navi, adding source <(navi widget bash) to ~/.bashrc, opening a new shell and hitting Ctrl-g, I'm getting the following error:
> navi repo add denisidoro/cheats
Cloning https://github.com/denisidoro/cheats into /home/ngirard/.local/share/navi/cheats/tmp...

invalid preview window layout: --preview-window right:30%
Error: Custom { kind: InvalidInput, error: "the source path is not an existing regular file" }

The problem doesn't arise using Navi 2.2.0.

I experience the same issue with Navi 2.3.0 on Arch LInux.

Thanks !


Add etw UnicodeStringField

Allow to send UTF-16 encoded message. It's the only missing part needed for writing messages with local characters into event log via this library, when string is specified as win:UnicodeString in instrumentation manifest (which cannot be changed).
UnicodeStringArray is there only for completeness from my point of view.

@pavelbazika
If you are still interested in merging this, could you rebase and push? it should be pretty quick to merge after that

Closing old PR. Please reactivate if this is still relevant.


style: Update HOMEPAGE_URL in CMakeLists.txt

The value for the key of HOMEPAGE_URL is url-string type.
project(<PROJECT-NAME>
        [VERSION <major>[.<minor>[.<patch>[.<tweak>]]]]
        [DESCRIPTION <project-description-string>]
        [HOMEPAGE_URL <url-string>]
        [LANGUAGES <language-name>...])

Once I built a snapcraft application and found the problem, the reference log as follow.
Building libsgfcplusplus
+ snapcraftctl build
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
CMake Error: Could not find cmake module file: CMakeDetermineHOMEPAGE_URLCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_HOMEPAGE_URL_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_HOMEPAGE_URL_COMPILER
CMake Error: Could not find cmake module file: /build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/3.10.2/CMakeHOMEPAGE_URLCompiler.cmake
CMake Error: Could not find cmake module file: CMakeDeterminehttps://github.com/herzbube/libsgfcplusplusCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER
CMake Error: Could not find cmake module file: /build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/3.10.2/CMakehttps://github.com/herzbube/libsgfcplusplusCompiler.cmake
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_HOMEPAGE_URL_COMPILER could be found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_HOMEPAGE_URL_COMPILER to the full path to the compiler, or to the
  compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakeHOMEPAGE_URLInformation.cmake
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER could be
  found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakehttps://github.com/herzbube/libsgfcplusplusInformation.cmake
CMake Error: CMAKE_HOMEPAGE_URL_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/CMakeOutput.log".

Once I built a snapcraft application and found the problem, the reference log as follow.
Building libsgfcplusplus
+ snapcraftctl build
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
CMake Error: Could not find cmake module file: CMakeDetermineHOMEPAGE_URLCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_HOMEPAGE_URL_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_HOMEPAGE_URL_COMPILER
CMake Error: Could not find cmake module file: /build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/3.10.2/CMakeHOMEPAGE_URLCompiler.cmake
CMake Error: Could not find cmake module file: CMakeDeterminehttps://github.com/herzbube/libsgfcplusplusCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER
CMake Error: Could not find cmake module file: /build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/3.10.2/CMakehttps://github.com/herzbube/libsgfcplusplusCompiler.cmake
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_HOMEPAGE_URL_COMPILER could be found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_HOMEPAGE_URL_COMPILER to the full path to the compiler, or to the
  compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakeHOMEPAGE_URLInformation.cmake
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER could be
  found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakehttps://github.com/herzbube/libsgfcplusplusInformation.cmake
CMake Error: CMAKE_HOMEPAGE_URL_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/CMakeOutput.log".

Once I built a snapcraft application and found the problem, the reference log as follow.
Building libsgfcplusplus
+ snapcraftctl build
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
CMake Error: Could not find cmake module file: CMakeDetermineHOMEPAGE_URLCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_HOMEPAGE_URL_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_HOMEPAGE_URL_COMPILER
CMake Error: Could not find cmake module file: /build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/3.10.2/CMakeHOMEPAGE_URLCompiler.cmake
CMake Error: Could not find cmake module file: CMakeDeterminehttps://github.com/herzbube/libsgfcplusplusCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER
CMake Error: Could not find cmake module file: /build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/3.10.2/CMakehttps://github.com/herzbube/libsgfcplusplusCompiler.cmake
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_HOMEPAGE_URL_COMPILER could be found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_HOMEPAGE_URL_COMPILER to the full path to the compiler, or to the
  compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakeHOMEPAGE_URLInformation.cmake
CMake Error at CMakeLists.txt:10 (project):
  No CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER could be
  found.

  Tell CMake where to find the compiler by setting the CMake cache entry
  CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

CMake Error: Could not find cmake module file: CMakehttps://github.com/herzbube/libsgfcplusplusInformation.cmake
CMake Error: CMAKE_HOMEPAGE_URL_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_https://github.com/herzbube/libsgfcplusplus_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/build/qpiskvork/parts/libsgfcplusplus/build/CMakeFiles/CMakeOutput.log".

Thanks a lot for your contribution!


Rouge  tag on API page

Link to article:
https://docs.microsoft.com/en-us/windows/desktop/api/wincred/nf-wincred-creduicmdlinepromptforcredentialsa
Content issue in the block of text under "Parameters->pszTargetName"
Problem:
The paragraph opens a bold section <b> but then encodes the closing tag's brackets </b>, causing the rest of the page to display as bold. Seen in Chrome on Windows 10.

Hi @adambengis -- thank you so much for letting us know! We'll work on getting this page fixed.


[Feature][GCS FT] Redis cleanup improvement

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description

[x] Issue 1: https://ray-distributed.slack.com/archives/C02GFQ82JPM/p1697556705340069

#1556

[ ] Issue 2: Enhance observability. For instance, display the link to the KubeRay GCS FT doc on the Ray website in the K8s Job. In addition, we can also consider create a K8s event when the K8s Job fails to clean up the Redis key.

[ ] Issue 3: Currently, if the K8s Job fails to clean up the Redis key, KubeRay will not remove the RayCluster's finalizer. As a result, users must remove the finalizer manually. This approach is somewhat aggressive, and we might consider changing the behavior to be best-effort. For instance, if the K8s Job fails to clean up the Redis key within 5 minutes, KubeRay could issue a K8s event for observability and then remove the finalizer.

Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

@rueian @evalaiyc98 will take this issue.

In terms of issue 3, there are two job configurations we can leverage:

.spec.backoffLimit
.spec.activeDeadlineSeconds

When setting the .spec.backoffLimit to 5, the job will be terminated after 5+1 tries which takes about 310 seconds (due to the backoff) if no pod is stuck in the pending phase.
In contrast, when setting the .spec.activeDeadlineSeconds, the job will terminated after the deadline no matter what, even if the job pod is stuck in the pending phase.
I would recommend setting the .spec.activeDeadlineSeconds if we want to guarantee that the cleanup job will terminate.
Either way, after setting up one of these options, we can then detect if the job is terminated by checking its .status.Conditions here between L283 and L284:
https://github.com/ray-project/kuberay/blob/856a33ed7c9a359b08fa645b738e8754c2bd0a3e/ray-operator/controllers/ray/raycluster_controller.go#L283-L284
And then remove the finalizer. For example:
				for _, condition := range redisCleanupJob.Status.Conditions {
					if condition.Status == corev1.ConditionTrue && condition.Type == batchv1.JobFailed {
						controllerutil.RemoveFinalizer(instance, common.GCSFaultToleranceRedisCleanupFinalizer)
						if err := r.Update(ctx, instance); err != nil {
							return ctrl.Result{RequeueAfter: DefaultRequeueDuration}, err
						}
						return ctrl.Result{}, nil
					}
				}
				if redisCleanupJob.Status.Failed > 0 {
					r.Log.Info("If the Redis cleanup Job has failed, we will requeue the RayCluster CR after 1 minute.")
					return ctrl.Result{RequeueAfter: 1 * time.Minute}, nil
				}

https://github.com/ray-project/kuberay/issues/1557#issuecomment-1784162985
This makes sense.

activeDeadlineSeconds exists in Kubernetes 1.19, so it will not cause any compatibility issues.
Maybe we can also consider using the utility function from Kubernetes if we do not need to import new packages.

I will take issue 3, and @evalaiyc98 will take issue 2.

I've reconsidered issue 3. I've decided not to adopt the best-effort strategy in v1.0.0. The reason is that the Redis cleanup feature isn't stable enough, and adopting this strategy might cause us to miss some opportunities to enhance the feature.
When we are confident that the Redis cleanup feature works well in most scenarios, we can adopt the best-effort strategy to enhance the user experience during certain edge cases, such as network connection issues.


DSA 2.2.4 Bisection Method ( Binary search)

Description
Give an introduction and explain the working of bisection method for root finding.
Task

[ ] Documentation
[ ] Audio
[ ] Video

Note

While requesting the issue to be assigned, please mention your NAME & BATCH NUMBER.
Kindly refer to Issue Guidelines.
In case you see that the issue has already been assigned, try to request for a different task within the same issue.
Changes should be made inside the DSA/directory & DSA branch.
Name of the file should be same as the issue.
This issue is only for 'GWOC' contributors of 'DSA' Domain.

/assign

DSa batch 1-documentation

Debjit Pal, DSA Batch 1
Please assign me this issue. I want to do the documentation part.


Incorrect order sale price in backtesting?

Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: macOS 10.13.1
Python Version: Python 3.6.3
Python Bitness: 64
How did you install Catalyst: pip
Python packages:

aiodns==1.1.1
aiohttp==2.3.6
alembic==0.9.6
apipkg==1.4
appnope==0.1.0
asn1crypto==0.24.0
async-timeout==2.0.0
atari-py==0.1.1
bcolz==0.12.1
bitfinex==0.2.6
bittrex==0.1.4
bleach==1.5.0
boto3==1.5.1
botocore==1.8.15
Bottleneck==1.2.1
btfxwss==1.1.14
cchardet==2.1.1
ccxt==1.10.393
certifi==2017.11.5
cffi==1.11.2
chardet==3.0.4
click==6.7
codacy-coverage==1.3.9
contextlib2==0.5.5
coverage==4.4.2
cryptocompare==0.3
cryptography==2.1.4
cvxopt==1.1.9
cycler==0.10.0
cyordereddict==1.0.0
Cython==0.27.3
decorator==4.1.2
docutils==0.14
empyrical==0.2.1
enigma-catalyst==0.4.0
entrypoints==0.2.3
enum34==1.1.6
execnet==1.5.0
future==0.16.0
Glances==2.11.1
gym==0.9.4
h5py==2.7.1
html5lib==0.9999999
httpretty==0.8.14
idna==2.6
intervaltree==2.1.0
ipdb==0.10.3
ipykernel==4.6.1
ipython==6.2.1
ipython-genutils==0.2.0
ipywidgets==7.0.4
jedi==0.11.0
Jinja2==2.10
jmespath==0.9.3
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.1.0
jupyter-console==5.2.0
jupyter-core==4.4.0
Keras==1.2.2
keras-rl==0.3.1
knapsack==0.0.3
Logbook==1.1.0
lru-dict==1.1.6
Mako==1.0.7
Markdown==2.6.9
MarkupSafe==1.0
matplotlib==1.4.3
mem-top==0.1.5
mistune==0.8.1
multidict==3.3.2
multipledispatch==0.4.9
nbconvert==5.3.1
nbformat==4.4.0
networkx==2.0
nose==1.3.7
notebook==5.2.1
numexpr==2.6.4
numpy==1.13.3
olefile==0.44
pachi-py==0.0.21
pandas==0.19.2
pandas-datareader==0.5.0
pandocfilters==1.4.2
parso==0.1.0
patsy==0.4.1
pexpect==4.3.0
pickleshare==0.7.4
Pillow==4.3.0
prompt-toolkit==1.0.15
protobuf==3.5.0
psutil==5.4.1
ptyprocess==0.5.2
py==1.5.2
PyAlgoTrade==0.18
pycares==2.3.0
pycparser==2.18
pyglet==1.3.0
Pygments==2.2.0
Pympler==0.5
PyOpenGL==3.1.0
pyparsing==2.2.0
PyScaffold==2.5.8
pytest==3.2.5
pytest-cov==2.5.1
pytest-forked==0.2
pytest-xdist==1.20.1
python-bittrex==0.2.1
python-dateutil==2.6.1
python-editor==1.0.3
pytz==2017.3
PyYAML==3.12
pyzmq==16.0.3
qtconsole==4.3.1
raven==6.3.0
requests==2.18.4
requests-file==1.4.2
requests-ftp==0.3.1
s3transfer==0.1.12
schedule==0.5.0
scipy==1.0.0
seaborn==0.8.1
simplegeneric==0.8.1
six==1.11.0
slackclient==1.1.0
sortedcontainers==1.5.9
SQLAlchemy==1.1.15
statsmodels==0.8.0
TA-Lib==0.4.10
tables==3.4.2
tensorflow==1.4.0
tensorflow-tensorboard==0.4.0rc3
terminado==0.6
testpath==0.3.1
tflearn==0.3.2
Theano==0.9.0
toolz==0.8.2
tornado==4.5.2
traitlets==4.3.2
urllib3==1.22
wcwidth==0.1.7
webencodings==0.5.1
websocket-client==0.44.0
websockets==4.0.1
Werkzeug==0.12.2
widgetsnbextension==3.0.7
yarl==0.16.0
zipline-poloniex==0.1.2
Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
When I was playing around with backtesting, I noticed that the price at which an order is executed is equal to the price of the asset in the next trading period, not the current one.
Here's an example to explain what I mean. Consider this simple backtest run:
from catalyst import run_algorithm
from catalyst.api import order, record, symbol
import pandas as pd

def initialize(context):
  context.asset = symbol('btc_usd')
  context.first = True

def handle_data(context, data):
  print("=== New Trading Period ===")
  price = data.current(context.asset, 'price')

  print("Current price: %s" % price)
  print("Current positions: %s" % context.portfolio.positions)

  if context.first:
    context.first = False

    print("Placing order at price: %s" % price)
    order(context.asset, 1)

if __name__ == '__main__':
  run_algorithm(
      capital_base=10000,
      data_frequency='daily',
      initialize=initialize,
      handle_data=handle_data,
      exchange_name='bitfinex',
      algo_namespace='buy_and_hodl',
      base_currency='usd',
      start=pd.to_datetime('2015-03-01', utc=True),
      end=pd.to_datetime('2015-03-02', utc=True),
  )

The output for the code above is:
=== New Trading Period ===
Current price:<PHONE_NUMBER>9
Current positions: {}
Placing order at price:<PHONE_NUMBER>9
=== New Trading Period ===
Current price: 277.41
Current positions: {Trading Pair btc_usd(98871) Exchange: bitfinex, Introduced On: 2013-03-31 00:00:00+00:00, Base Currency: btc, Quote Currency: usd, Exchange Leverage: 1.0, Minimum Trade Size: 0.0020000000949949026 Last daily ingestion: 2017-12-22 00:00:00+00:00 Last minutely ingestion: 2017-12-22 00:00:00+00:00: Position({'asset': Trading Pair btc_usd(98871) Exchange: bitfinex, Introduced On: 2013-03-31 00:00:00+00:00, Base Currency: btc, Quote Currency: usd, Exchange Leverage: 1.0, Minimum Trade Size: 0.0020000000949949026 Last daily ingestion: 2017-12-22 00:00:00+00:00 Last minutely ingestion: 2017-12-22 00:00:00+00:00, 'amount': 1, 'cost_basis':<PHONE_NUMBER>083552, 'last_sale_price': 277.41, 'last_sale_date': Timestamp('2015-03-02 23:59:00+0000', tz='UTC')})}

Notice that, from the output above, the order, which was placed when the price of BTC was $262.39, has been executed at the price of $277.41, the price of BTC in the next trading period ('last_sale_price': 277.41). Is this intentional? The behavior I expected was that 'last_sale_price' would be equal to the price of BTC at the time I placed the order, which was 262.39.

This looks accurate to me. The ‘last_sale_price’ goes with
‘last_sale_date’, it tracks the current value of the market which useful to
calculate things like pnl. cost_basis is what you paid on average for each
unit of your position. For the original price of your order, look for the
orders list.
On Tue, Dec 26, 2017 at 4:29 AM ielashi<EMAIL_ADDRESS>wrote:

Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: macOS 10.13.1
Python Version: Python 3.6.3
Python Bitness: 64
How did you install Catalyst: pip
Python packages:

aiodns==1.1.1
aiohttp==2.3.6
alembic==0.9.6
apipkg==1.4
appnope==0.1.0
asn1crypto==0.24.0
async-timeout==2.0.0
atari-py==0.1.1
bcolz==0.12.1
bitfinex==0.2.6
bittrex==0.1.4
bleach==1.5.0
boto3==1.5.1
botocore==1.8.15
Bottleneck==1.2.1
btfxwss==1.1.14
cchardet==2.1.1
ccxt==1.10.393
certifi==2017.11.5
cffi==1.11.2
chardet==3.0.4
click==6.7
codacy-coverage==1.3.9
contextlib2==0.5.5
coverage==4.4.2
cryptocompare==0.3
cryptography==2.1.4
cvxopt==1.1.9
cycler==0.10.0
cyordereddict==1.0.0
Cython==0.27.3
decorator==4.1.2
docutils==0.14
empyrical==0.2.1
enigma-catalyst==0.4.0
entrypoints==0.2.3
enum34==1.1.6
execnet==1.5.0
future==0.16.0
Glances==2.11.1
gym==0.9.4
h5py==2.7.1
html5lib==0.9999999
httpretty==0.8.14
idna==2.6
intervaltree==2.1.0
ipdb==0.10.3
ipykernel==4.6.1
ipython==6.2.1
ipython-genutils==0.2.0
ipywidgets==7.0.4
jedi==0.11.0
Jinja2==2.10
jmespath==0.9.3
jsonschema==2.6.0
jupyter==1.0.0
jupyter-client==5.1.0
jupyter-console==5.2.0
jupyter-core==4.4.0
Keras==1.2.2
keras-rl==0.3.1
knapsack==0.0.3
Logbook==1.1.0
lru-dict==1.1.6
Mako==1.0.7
Markdown==2.6.9
MarkupSafe==1.0
matplotlib==1.4.3
mem-top==0.1.5
mistune==0.8.1
multidict==3.3.2
multipledispatch==0.4.9
nbconvert==5.3.1
nbformat==4.4.0
networkx==2.0
nose==1.3.7
notebook==5.2.1
numexpr==2.6.4
numpy==1.13.3
olefile==0.44
pachi-py==0.0.21
pandas==0.19.2
pandas-datareader==0.5.0
pandocfilters==1.4.2
parso==0.1.0
patsy==0.4.1
pexpect==4.3.0
pickleshare==0.7.4
Pillow==4.3.0
prompt-toolkit==1.0.15
protobuf==3.5.0
psutil==5.4.1
ptyprocess==0.5.2
py==1.5.2
PyAlgoTrade==0.18
pycares==2.3.0
pycparser==2.18
pyglet==1.3.0
Pygments==2.2.0
Pympler==0.5
PyOpenGL==3.1.0
pyparsing==2.2.0
PyScaffold==2.5.8
pytest==3.2.5
pytest-cov==2.5.1
pytest-forked==0.2
pytest-xdist==1.20.1
python-bittrex==0.2.1
python-dateutil==2.6.1
python-editor==1.0.3
pytz==2017.3
PyYAML==3.12
pyzmq==16.0.3
qtconsole==4.3.1
raven==6.3.0
requests==2.18.4
requests-file==1.4.2
requests-ftp==0.3.1
s3transfer==0.1.12
schedule==0.5.0
scipy==1.0.0
seaborn==0.8.1
simplegeneric==0.8.1
six==1.11.0
slackclient==1.1.0
sortedcontainers==1.5.9
SQLAlchemy==1.1.15
statsmodels==0.8.0
TA-Lib==0.4.10
tables==3.4.2
tensorflow==1.4.0
tensorflow-tensorboard==0.4.0rc3
terminado==0.6
testpath==0.3.1
tflearn==0.3.2
Theano==0.9.0
toolz==0.8.2
tornado==4.5.2
traitlets==4.3.2
urllib3==1.22
wcwidth==0.1.7
webencodings==0.5.1
websocket-client==0.44.0
websockets==4.0.1
Werkzeug==0.12.2
widgetsnbextension==3.0.7
yarl==0.16.0
zipline-poloniex==0.1.2
Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
When I was playing around with backtesting, I noticed that the price at
which an order is executed is equal to the price of the asset in the
next trading period, not the current one.
Here's an example to explain what I mean. Consider this simple backtest
run:
from catalyst import run_algorithm
from catalyst.api import order, record, symbol
import pandas as pd
def initialize(context):
context.asset = symbol('btc_usd')
context.first = True
def handle_data(context, data):
print("=== New Trading Period ===")
price = data.current(context.asset, 'price')
print("Current price: %s" % price)
print("Current positions: %s" % context.portfolio.positions)
if context.first:
context.first = False
print("Placing order at price: %s" % price)
order(context.asset, 1)

if name == 'main':
run_algorithm(
capital_base=10000,
data_frequency='daily',
initialize=initialize,
handle_data=handle_data,
exchange_name='bitfinex',
algo_namespace='buy_and_hodl',
base_currency='usd',
start=pd.to_datetime('2015-03-01', utc=True),
end=pd.to_datetime('2015-03-02', utc=True),
)
The output for the code above is:
=== New Trading Period ===
Current price:<PHONE_NUMBER>9
Current positions: {}
Placing order at price:<PHONE_NUMBER>9
=== New Trading Period ===
Current price: 277.41
Current positions: {Trading Pair btc_usd(98871) Exchange: bitfinex, Introduced On: 2013-03-31 00:00:00+00:00, Base Currency: btc, Quote Currency: usd, Exchange Leverage: 1.0, Minimum Trade Size: 0.0020000000949949026 Last daily ingestion: 2017-12-22 00:00:00+00:00 Last minutely ingestion: 2017-12-22 00:00:00+00:00: Position({'asset': Trading Pair btc_usd(98871) Exchange: bitfinex, Introduced On: 2013-03-31 00:00:00+00:00, Base Currency: btc, Quote Currency: usd, Exchange Leverage: 1.0, Minimum Trade Size: 0.0020000000949949026 Last daily ingestion: 2017-12-22 00:00:00+00:00 Last minutely ingestion: 2017-12-22 00:00:00+00:00, 'amount': 1, 'cost_basis':<PHONE_NUMBER>083552, 'last_sale_price': 277.41, 'last_sale_date': Timestamp('2015-03-02 23:59:00+0000', tz='UTC')})}
Notice that, from the output above, the order, which was placed when the
price of BTC was $262.39, has been executed at the price of $277.41, the
price of BTC in the next trading period ('last_sale_price': 277.41). Is
this intentional? The behavior I expected was that 'last_sale_price'
would be equal to the price of BTC at the time I placed the order, which
was 262.39.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/enigmampc/catalyst/issues/118, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZ-Qgnbl99CqPQ5Gk43CaQ5ETiieCOYks5tEOavgaJpZM4RMvNS
.

The part that I don't understand is, in the example above the order was placed at "2015-03-01 23:59:00+0000", but the last sales date (and price) is that of the next day "2015-03-02 23:59:00+0000". My expectation was that the last_sale_price and last_sale_date would be the date and price the order was placed. Am I missing something?

Yes, last_sale_date gets updated in every frame. It represents the last transaction in that frame. It's unrelated to your particular orders. This is simply a reference price to calculate the pnl.


tt_cluster.hpp uses ARCH_NAME specific includes to gather L1 Address params

https://github.com/tenstorrent/tt-metal/blob/1b5d19faa16efbb173cf044156d31bc58a881ceb/tt_metal/llrt/tt_cluster.hpp#L304-L314
These parameters are passed over to UMD at runtime, but code tries to initialize a struct at compile time.
Need to change tt_cluster.cpp to initialize the struct at runtime using Hal.
Some parameters may need to be added to Hal.

@abhullar-tt @pgkeller looks like we need to add
FIRMWARE as a key to hal, but looks like each of the 5 process cores will have its own value?
Also, ERIC_BARRIER_BASE is not currently considered by HAL.
Same with FW_VERSION_ADDR
Any guidance on this?

UMD only uses
(uint32_t)MEM_L1_BARRIER,
(uint32_t)eth_l1_mem::address_map::ERISC_BARRIER_BASE,
(uint32_t)eth_l1_mem::address_map::FW_VERSION_ADDR

I think we should prune unused params, defines, etc before making changes to reflect existing state

This issue is linked to:
https://github.com/tenstorrent/tt-umd/issues/244

UMD only uses
(uint32_t)MEM_L1_BARRIER,
(uint32_t)eth_l1_mem::address_map::ERISC_BARRIER_BASE,
(uint32_t)eth_l1_mem::address_map::FW_VERSION_ADDR

When I grep UMD code, I see the following fields getting used:
l1_address_params.trisc0_size
l1_address_params.trisc1_size
l1_address_params.trisc2_size
l1_address_params.trisc_base
l1_address_params.tensix_l1_barrier_base
l1_address_params.eth_l1_barrier_base
l1_address_params.fw_version_addr

https://github.com/tenstorrent/tt-umd/pull/260
Pruning the params^


Get info of all UPCOMING corporate events for given ticker?

Is it possible to obtain all announced upcoming corporate actions for given ticker (dividends, splits, mergers, etc)? They are listed on
https://finance.yahoo.com/calendar/

Probably possible to implement scraping, but not possible with yfinance right now. Same request as #1223

Is it not possible because it hasn't been implemented or for some legal reason?

Not implemented


Deal with expansion of app window

We need to make sure the different sections expand together with the window rather than leaving blank spaces, otherwise we have to fix the size of the window.

Restricted resizing


Stale data on client when fields are deleted on server.

If an object is fetched on the client, then a field from that object is deleted on the server, and then the object is retrieved via Parse.Query(...).get(id), the object will still have the field that was deleted on the server. This requires single instance mode to be enabled.

#206 should resolve this

I might want to add some extra internal integration tests as well

Resolved in 1.7.1


Can't install the cert-manager-trust Helm chart

Followed the instruction on installing the Helm chart. No success:
$ helm repo add jetstack https://charts.jetstack.io --force-update
"jetstack" has been added to your repositories

$ helm upgrade -i -n cert-manager cert-manager-trust jetstack/cert-manager-trust --wait
Release "cert-manager-trust" does not exist. Installing it now.
Error: failed to download "jetstack/cert-manager-trust" (hint: running `helm repo update` may help)

$ helm repo update
Hang tight while we grab the latest from your chart repositories...
...
...Successfully got an update from the "jetstack" chart repository
...
Update Complete. Happy Helming!

$ helm search repo jetstack
NAME                                    CHART VERSION   APP VERSION     DESCRIPTION
jetstack/cert-manager                   v1.6.1          v1.6.1          A Helm chart for cert-manager
jetstack/cert-manager-approver-policy   v0.1.0          v0.1.0          A Helm chart for cert-manager-approver-policy
jetstack/cert-manager-csi-driver        v0.2.0          v0.2.0          A Helm chart for cert-manager-csi-driver
jetstack/cert-manager-csi-driver-spiffe v0.1.0          v0.1.0          A Helm chart for cert-manager-csi-driver-spiffe
jetstack/cert-manager-istio-csr         v0.3.1          v0.3.0          A Helm chart for istio-csr

I proceeded by cloning the repository and installing the chart from a local directory.
However, I cannot pull the image.
$ docker pull quay.io/jetstack/cert-manager-trust
Using default tag: latest
Error response from daemon: unauthorized: access to the requested resource is not authorized

Thanks for opening @nuriel77, apologies for not having an image available. After #6 is merged, I'll release the v0.1.0 image and publish the helm chart.

@nuriel77 the v0.1.0 image and helm chart has now been released so you should be able to install trust using Jetstack's Helm repository.
Feel free to re-open the issue if you are still having issues.
/close


Starting UI

Getting the following error when trying to start the UI:
[2015-03-19 Thu 16:01:23] - pinball.ui.cache_thread - INFO    "Workflow data computation starting."
[2015-03-19 Thu 16:01:23] - pinball.ui.cache_thread - ERROR   "'WorkflowSchedule' object has no attribute 'workflows_config'"
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pinball/ui/cache_thread.py", line 67, in _compute_workflow
    schedules_data = data_builder.get_schedules()
  File "/usr/local/lib/python2.7/dist-packages/pinball/ui/data_builder.py", line 862, in get_schedules
    workflows_config=schedule.workflows_config,
AttributeError: 'WorkflowSchedule' object has no attribute 'workflows_config'
[2015-03-19 Thu 16:01:23] - pinball.ui.cache_thread - INFO    "Workflow data computation starting."

I also get this error on schedules:
An error occurred on the server: INTERNAL SERVER ERROR
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pinball/ui/views.py", line 201, in schedules
    schedules_data = data_builder.get_schedules()
  File "/usr/local/lib/python2.7/dist-packages/pinball/ui/data_builder.py", line 862, in get_schedules
    workflows_config=schedule.workflows_config,
AttributeError: 'WorkflowSchedule' object has no attribute 'workflows_config'

Looking @ class WorkflowSchedule(Schedule):
"""Schedule for a workflow."""
def init(
self,
next_run_time=None,
recurrence_seconds=None,
overrun_policy=OverrunPolicy.SKIP,
parser_params=PinballConfig.PARSER_PARAMS,
workflow=None,
emails=None,
max_running_instances=None):
Schedule.init(self, next_run_time, recurrence_seconds,
overrun_policy)
self.parser_params = parser_params
self.workflow = workflow
self.emails = emails if emails is not None else []
Does not contain a workflows_config attribute.

Thanks for reporting this. Will check this issue and update here soon

this issue has been fixed, thanks @arukaen !


Updating long running tasks

This is kind of related to issue #71.
I have a service that is running a task which might take minutes or even hours to complete.
In this case, sending an update to Conductor is crucial in combination with the responseTimeoutSeconds to make sure that the worker is actually still running and did not die for some reason.
The difference from the issue mentioned above is that the long running work happens directly on the worker, which means that only this one instance of my service knows about the tasks state. I know that Conductor is designed for small tasks, but in this case I don't really have a choice. Writing a second service just to poll the state from the actual service seems highly redundant.
Here is the expected behaviour:

When a task is not updated at least every X seconds, it should time out (-> responseTimeoutSeconds ?)
When a task is not complete after X seconds, it should fail (-> timeoutSeconds)
When a task is updated it will not be put back into the queue, but will continue being IN_PROGRESS with the two behaviours above (especially that a task times out if it isn't updated continously).

Some questions I have:

How should one approach this?
Should callbackAfterSeconds be set to 0, -1, null or even the same as timeoutSeconds to avoid polling from a different worker?
What value should responseTimeoutSeconds have? Does it even work when updating multiple times in a row?

Thank you for the explanation.

@MarkusA380

When a task is updated it will not be put back into the queue, but will continue being IN_PROGRESS with the two behaviours above (especially that a task times out if it isn't updated continously).

Seems the pattern you are looking for here is that of a heartbeat mechanism from the worker that is currently processing the task. Currently, conductor does not support this.

Should callbackAfterSeconds be set to 0, -1, null or even the same as timeoutSeconds to avoid polling from a different worker?
What value should responseTimeoutSeconds have? Does it even work when updating multiple times in a row?

Updating a task within responseTimeoutSeconds with IN_PROGRESS status does not guarantee that the same worker instance will pick up the task from the queue. Setting a value for callbackAfterSeconds during such an update ensures that the task is only available to be polled again after this time value has expired and will stay in the queue (similar to an invisibility timeout). This mechanism can be used to poll and update the task multiple times in a row. However, these polls and updates could happen across different worker instances which does not seem to fit your need.

How should one approach this?

In order to solve this use case, I would recommend you to consider using a WAIT task in your workflow. So, your task which invokes processing would basically be a fire-and-forget task such that the worker starts the processing and updates Conductor with COMPLETED status once processing is kicked off successfully. The WAIT task could follow this task and you could add logic in your service to fire an event once the processing complete. You can also configure a timeout for your WAIT task such that if the event is not received within this time, the processing is considered to have failed.

Did the solution work?


Add md file documenting Request Pattern Removal guidance and status

Description
We are working on deprecating the request pattern (IFluidRouter, etc).  The request pattern appears simple but in practice is quite complex/nuanced, and we lack any documentation of how it is currently used and what the alternatives should be.
This document will be the home page for this effort, containing docs for how to migrate, and the status of what APIs are deprecated / removed and when.

Thanks for the comments!  Planning to have this merged as-is and then address feedback in a later PR. This way we can start linking to this doc in changesets on related PRs.


Ffmpeg.so file for android

Hi,
I see the code produces an android executable for ffmpeg and ffprobe.
Is there a way to produce ffmpeg.so lib?

Hello,
Not really. FFmpeg as a project is actually a set of libraries and you can import them instead. Additionally it has the ffmpeg binary and it is just a facade for the same libraries.


Add Voxel School to the directory

This is and digital arts school (3D, videogames, web, design, animation)
Located close to the center of Madrid with modern installations.
Useful Jetbrains tools:

Pycharm; 3D scripting Maya
WebStorm, Web and web design
Rider, Unity C# programing

https://voxelschool.com/

@kenny-reyes First stage of verification passed, official domain is voxelschool.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@kenny-reyes Pull request merged. Thank you.


Fix grammar in KBFS notification text

@keybase/react-hackers
This was printing "You does not have access to [..]".

👍


BUG: CORS Config Path ordering is changed while processing CORS requests at times, causing CORS errors at random times.

We have below CORS configuration entries in one of our applications, with the expectation that /authorize calls should match to first entry, /callback should match to second entry and all other calls to match to last default entry. I did not find any documentation that confirms the order of these entries are important - but we assumed the processing is based on the order.
Is this expectation correct? If not, then ignore the below points - and educate me on the options that we could use to achieve the above mentioned behaviour.
If the expectation is right, then we are noticing a different random ordering behaviour at times with Helidon MP. On debugging more, I noticed that, Aggregator::findFirst receives all entries from the below configuration as List and at times, the order or elements in this list is different from the order mentioned in the configuration. This creates an issue, as the Aggregator.findFirst method picks the first entry from the ones that match the pattern.
 cors:
   paths:
     - path-pattern: "/authorize[/{+}]"
       allow-origins: ["*"]
       allow-methods: ["GET"]
       allow-credentials: true
     - path-pattern: "/callback[/{+}]"
       allow-origins: ["*"]
       allow-methods: ["PUT", "POST"]
       allow-credentials: true
     - path-pattern: "{^(?!((authorize)|(callback))).*$}"
       allow-origins: ["http://backend-base-uri}", "http://frontend-base-uri}", "http://test-origin}", "null"]
       allow-methods: ["DELETE", "PATCH", "HEAD"]
       allow-credentials: true

Environment Details

Helidon Version: 2.5.1
Helidon MP
JDK version: 17
OS: Windows 11
Docker version (if applicable): NA

Wanted to provide more details on this potential bug - I have noticed that the runtime ordering of the elements in the list is dependent on regex patterns in path-patterns.
Whatever be the case, Shouldn't the order of the elements be consistent with the order mentioned in the configuration? Else, it would result in runtime CORS failures - and that too randomly.

@bvkrish83 As explained in the documentation https://helidon.io/docs/latest/index.html#/mp/cors/03_configuration-with-cors-mp#_understanding_the_mapped_cross_origin_configuration_format, the path-pattern values are not regexes but path patterns as used elsewhere in Helidon and described in the JavaDoc https://helidon.io/docs/latest/apidocs/io.helidon.webserver/io/helidon/webserver/PathMatcher.html
It's not surprising to think they might be regexes which is actually why we chose the config key path-pattern instead of just pattern to help emphasize that.
That said, our intent is that the path patterns be checked in the order they appear in the configuration. We will look into the potential ordering problem you mentioned. (The list is actually prepared well upstream from the Aggregator#findFirst method, based on the configuration, so any problem will be upstream from there as well.)

In the environment details, you mentioned this is MP.
We recommend (although obviously it's not required) that developers use META-INF/microprofile-config.properties to hold config in MP apps.
Although it's admittedly more cumbersome and wordy, using the .properties format might afford you a possible workaround. You'd convert the config to something like this:
cors.paths.0.path-pattern=/authorize[/{+}]
cors.paths.0.allow-origins=*
cors.paths.0.allow-methods=GET
cors.paths.0.allow-credentials=true
cors.paths.1.path-pattern=/callback[/{+}]
cors.paths.1...

etc.
Doing this might make sure that the ordering is what you want. We'll need to verify that; depending exactly on what the problem is this might not work but if you have a chance please give that a try and see if it helps.

No need to try the .properties format config. That will not help. Fix pending in 2.x and 3.x.

2.x and 3.x PRs merged.


Wrap all code in generic try/except and output stacktrace to error log

Wrap main code in generic try/except to make sure all error are outputed to error log.

Duplicate of #1


Remote dom components 2

Background
(Provide a link to any relevant issues AND provide a TLDR of the issue in this pull request)
Solution
(Describe your solution, why this approach was chosen, and what the alternatives/impacts may be)
🎩

...

Checklist

[ ] I have :tophat:'d these changes
[ ] I have updated relevant documentation

/snapit

/snapit

/snapit

/snapit

/snapit

/snapit

/snapit

/snapit


[FEATURE] New reserved roles are not sourced to security index on an upgrade

Is your feature request related to a problem?
New reserved roles are often added between releases when a new plug-in is released and associated roles are created to provision access to features of the new plugin. Reserved roles are added to the security repo roles.yml like is done in this PR: https://github.com/opensearch-project/security/pull/2192 which introduces 3 new reserved roles between 2.3.0 and 2.4.0.
When starting up a cluster with the upgraded version of OpenSearch I receive the following line:
Index .opendistro_security already contains doc with id roles, skipping update

indicating that the new reserved roles in roles.yml will need to be manually added either via the API by an admin or via securityadmin tool connecting via clientcert as a super admin.
This becomes additionally complicated when users of OpenSearch add custom roles or modify the security index in any way via the OSD UI or API as it is destructive to run securityadmin.sh because it can delete custom configuration. In order to get around this I have:

Ran a backup of the security index using security admin: https://opensearch.org/docs/latest/security-plugin/configuration/security-admin/#a-word-of-caution
Reconcile the exported roles.yml with new reserved roles in the repo's roles.yml: https://github.com/opensearch-project/security/blob/main/config/roles.yml
Run securityadmin.sh with the coalesced exported roles.yml with custom roles and the repo's roles.yml of the corresponding version of opensearch

This is not an idea process and there can be a better solution to source new reserved roles during an upgrade

@opensearch-project/security-analytics This scenario might be impacting y'all, it might be worthwhile to invest in this scenario.  Here is where I believe there is a lot of overlap, after upgrading a cluster that does not have the new roles needed for the security-analytics plugin when it is 'upgraded-in' on at a later time.

[Triage] In the short-term this can be a documentation fix.
@peternied to follow-up on this issue.

One possible solution:
Have 2 security config indices - one for pre-defined roles (internal to Opensearch and its plugins) and one for execlusively for user defined roles
On every node restart/bootup (or a new admin API invocation), we should reload roles/permissions into the pre-defined roles index from the yml file and leave the user security roles as is.
This would remove some of the static-ness from our design and solve the problem for upgrading domains getting the latest roles and permissions from yml file

This is observed on a cluster where the cluster was upgrade from 1.3 to 2.3 and missing CCR perms and roles. This does not resolve after redeploy.

This is observed on a cluster where the cluster was upgrade from 1.3 to 2.3 and missing CCR perms and roles. This does not resolve after redeploy.

This is the expected behavior, the security plugin does not alter the security configuration on established clusters.  Cluster administrators can add this functionality via the security admin tool https://opensearch.org/docs/latest/security/configuration/security-admin
This feature request is about adding this functionality which some administrators might be comfortable with, whereas others might not want this behavior.  Its a complex scenario based on the expectations of the administrator, we would be open for pull requests around this space.

This is observed on a cluster where the cluster was upgrade from 1.3 to 2.3 and missing CCR perms and roles. This does not resolve after redeploy.

This is the expected behavior, the security plugin does not alter the security configuration on established clusters. Cluster administrators can add this functionality via the security admin tool https://opensearch.org/docs/latest/security/configuration/security-admin
This feature request is about adding this functionality which some administrators might be comfortable with, whereas others might not want this behavior. Its a complex scenario based on the expectations of the administrator, we would be open for pull requests around this space.

Got it, it would be nice if it can prompt a windows to let me know new roles in 2.3 version after upgrade. This would be very handy and easy for the users.
Without this, I was fairly confused for half a day trying to figure out is my cluster have enough permission to run ccr, without using the all_access role.
Thanks.

@peterzhuamazon Roger that - must have been frustrating.  Good idea about the warning.

@peternied This approach looks good to me. I think it makes sense to create an API where you can check to see if your current security config has the latest version of all reserved rolls.
I know there is no current mapping between role -> plugin, but if its possible, it would also be interesting to take into account whether a specific plugin is installed and that the roles associated with the plugins exist in the security index.

FYI @cwperks draft PR https://github.com/willyborankin/security/pull/1

This feature was added in https://github.com/opensearch-project/security/pull/4102


Caddy: Support the s390x platform (update vendored github.com/lucas-clemente/aes12)

1. What version of Caddy are you using (caddy -version)?
Caddy v0.10.12
2. What are you trying to do?
While packaging Caddy for Fedora, I haven't been able to get it to build on s390x.  For a long time I assumed it was something strange Fedora was doing to golang on that architecture and just excluded building for it.  However, once I got time to debug it, I found the problem.
3. What is your entire Caddyfile?
n/a

4.  Please paste any relevant HTTP request(s) here.
n/a
6. What did you expect to see?
Successful build of Caddy
7. What did you see instead (give full error messages and/or log)?
src/github.com/mholt/caddy/vendor/github.com/lucas-clemente/aes12/cipher.go:36:9: undefined: newCipher
8. How can someone who is starting from scratch reproduce the bug as minimally as possible?
Build Caddy for the s390x platform
env GOOS=linux GOARCH=s390x go build
The commit of github.com/lucas-clemente/aes12 that is vendored has a build tag to exclude the s390x architecture.  The literal next commit removes that build tag.

Hello,
we (or rather Matt) regularly update vendored dependencies.
Please be patient, in the meantime you can update it yourself
:smile:

Yeah, we update vendored dependencies before a release.
Although I think soon we should switch to updating them just after a release.
Will happen soon!

regularly update vendored dependencies

Sorry, that doesn't seem to be the case.  github.com/lucas-clemente/aes12 hasn't been updated since it was first commited.  I count nine releases since then.

you can update it yourself

I've already addressed the issue locally, the point of opening an issue was to let yall know about the problem.  To phrase it differently, Caddy fails to build on s390x architecture.  I don't want to rush yall, but can this issue be left open until the problem is resolved?

Sorry, that doesn't seem to be the case. github.com/lucas-clemente/aes12 hasn't been updated since it was first commited. I count nine releases since then.

It seems there is an issue with the update process, thank you for pointing this out!

I've already addressed the issue locally, the point of opening an issue was to let yall know about the problem. To phrase it differently, Caddy fails to build on s390x architecture. I don't want to rush yall, but can this issue be left open until the problem is resolved?

We are really thankful!!! I will rewrite this issue report into a feature request for further reference.

Sorry I didn't fill out the whole issue template at first, I had all those n/a's too and they made it seem like not a great fit.

Done in a674c0051a62615c9c1bba60719ba35d91de1852.


what is "base" (as in "from base import...

D:\src\py\pyloo\src>python pyloo.py
Traceback (most recent call last):
File "pyloo.py", line 24, in
import uno
File "C:\Python34\lib\site-packages\uno_init_.py", line 4, in
from base import Element, Css, Payload, UnoBaseFeature, UnoBaseField
ImportError: No module named 'base'
D:\src\py\pyloo\src>pip install base
Downloading/unpacking base
Could not find any downloads that satisfy the requirement base
Cleaning up...
No distributions at all found for base
Storing debug log for failure in C:\Users[redacted]\pip\pip.log
D:\src\py\pyloo\src>

pip install python-base


quantization: errror during quantizing bert model

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Linux version 3.10.107-1-tlinux2_kvm_guest-0048, Red Hat 4.8.2-16
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): conda
TensorFlow version (use command below): 1.13.1
Python version: 3.6.9
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
i want to use quantize_graph.py to quantize bert model under tensorflow/tool/quantization on git branch r1.11, but load generated pb file generated error
Describe the expected behavior
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
i use the script to convert the model
python quantize_graph.py --input=/root/batch-bert-op/2layer_model.pb --output_node_names="classifier/predict_probability" --output=/root/batch-bert-op/eight_bit.pb --mode=eightbit

in which 2layer_model.pb is the original pb and eight_bit.pb is the generated pb. 2layer_model.pb can be loaded and get inference result successfully but eight_bit.pb produce error. the code to load the pb file is:
with tf.Session() as sess:
    g = tf.Graph().as_default()
    pb_file = sys.argv[1]
    with open(pb_file, "rb") as f:
        g_def = tf.GraphDef()
        g_def.ParseFromString(f.read())
        _ = tf.import_graph_def(g_def, name="")

after i remove this line in quantize_graph.py I can load quantized pb successfully but inference take 4s while the original pb takes only 200ms
self.set_input_graph(graph_util.remove_training_nodes(self.input_graph, protected_nodes=output_node_names))

probability the error is introduced by remove_training_nodes, but without it, inference time is tremendous.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
The full traceback is below:
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
  * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
  * https://github.com/tensorflow/addons
If you depend on functionality not listed there, please file an issue.

-I/root/anaconda3/envs/py36tf113/lib/python3.6/site-packages/tensorflow/include -D_GLIBCXX_USE_CXX11_ABI=1
2019-08-16 19:09:44.358947: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2019-08-16 19:09:44.384488: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2019-08-16 19:09:44.384818: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x7f2a68c2d470 executing computations on platform Host. Devices:
2019-08-16 19:09:44.384885: I tensorflow/compiler/xla/service/service.cc:158]   StreamExecutor device (0): <undefined>, <undefined>
OMP: Info #212: KMP_AFFINITY: decoding x2APIC ids.
OMP: Info #213: KMP_AFFINITY: cpuid leaf 11 not supported - decoding legacy APIC ids.
OMP: Info #149: KMP_AFFINITY: Affinity capable, using global cpuid info
OMP: Info #154: KMP_AFFINITY: Initial OS proc set respected: 0-7
OMP: Info #156: KMP_AFFINITY: 8 available OS procs
OMP: Info #157: KMP_AFFINITY: Uniform topology
OMP: Info #159: KMP_AFFINITY: 1 packages x 8 cores/pkg x 1 threads/core (8 total cores)
OMP: Info #214: KMP_AFFINITY: OS proc to physical thread map:
OMP: Info #171: KMP_AFFINITY: OS proc 0 maps to package 0 core 0
OMP: Info #171: KMP_AFFINITY: OS proc 1 maps to package 0 core 1
OMP: Info #171: KMP_AFFINITY: OS proc 2 maps to package 0 core 2
OMP: Info #171: KMP_AFFINITY: OS proc 3 maps to package 0 core 3
OMP: Info #171: KMP_AFFINITY: OS proc 4 maps to package 0 core 4
OMP: Info #171: KMP_AFFINITY: OS proc 5 maps to package 0 core 5
OMP: Info #171: KMP_AFFINITY: OS proc 6 maps to package 0 core 6
OMP: Info #171: KMP_AFFINITY: OS proc 7 maps to package 0 core 7
OMP: Info #250: KMP_AFFINITY: pid 9830 tid 9830 thread 0 bound to OS proc set 0
2019-08-16 19:09:44.419205: I tensorflow/core/common_runtime/process_util.cc:71] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance.
Traceback (most recent call last):
  File "/root/anaconda3/envs/py36tf113/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 426, in import_graph_def
    graph._c_graph, serialized, options)  # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.InvalidArgumentError: NodeDef expected inputs '' do not match 1 inputs specified; Op<name=Const; signature= -> output:dtype; attr=value:tensor; attr=dtype:type>; NodeDef: {{node bert/embeddings/cond/Slice/begin}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "pb_inference_test.py", line 122, in <module>
    _ = tf.import_graph_def(g_def, name="")
  File "/root/anaconda3/envs/py36tf113/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 507, in new_func
    return func(*args, **kwargs)
  File "/root/anaconda3/envs/py36tf113/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 430, in import_graph_def
    raise ValueError(str(e))
ValueError: NodeDef expected inputs '' do not match 1 inputs specified; Op<name=Const; signature= -> output:dtype; attr=value:tensor; attr=dtype:type>; NodeDef: {{node bert/embeddings/cond/Slice/begin}}

Are you quantize bert in CPU or in mobile phone.

Are you quantize bert in CPU or in mobile phone.

i want to use it in CPU instead of mobile phone.

@huanghaifeng1 ,
In order to expedite the trouble-shooting process, please provide compelete code snippet to reproduce the issue reported here. Thanks!

I  also quantize bert model in CPU，i quantized it success，but the output result is wrong。precision is lost.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


md49_base_controller: 0.1.0-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository md49_base_controller to 0.1.0-0:

upstream repository: https://github.com/Scheik/md49_base_controller.git
release repository: https://github.com/Scheik/md49_base_controller.git
distro file: indigo/distribution.yaml
bloom version: 0.5.20
previous version for package: null

I agree about the custom_messages package name, please keep in mind that your package names are in a flat namespace with everyone else's packages too. So unless your package is truly generic and reusable, please consider prefixing it with the project or organization name.

It's also highly recommended to keep the upstream and release repos separated. A release repo produces a lot of redundant data from the source repo which is optimized for the release process, and is causes extra overhead when checking out the upstream source if combined in a single repo.

Hi, thanks for your comments. This was my first pull request to contribute to ROS. Maybe i am a bit to inexperienced. Intention was to have a Package/Stack that works with MD49, which is a dual motor driver board driven by serial port.
The custom_message package just provides the ROS messages that are published by the md49_base_controller node (like encoderdata and other data from MD49, as current speed, acceleration and so on) Instead of renaming the custom_message package i think i will "merge" the custom messages back into md49_base_controller package himself.
The serialport package works as a library, which is used from md49_base_controller, to establish and handle the serial communictaion with the MD49. Maybe i also should find another solution for that?
I think, best way is to rethink some things again, so i will just close the pull request for now.

@Scheik It's up to you, but I'll just provide some advice on a few of the points.
For the custom_messages package I'd recommend renaming, probably to something like md49_messages. That way if someone wants to communicate with your controller node using these messages on a different computer, then they only need to build your messages and not the whole controller on their computer. This is a common patter in the ROS community (to separate the messages from the rest in a different package).
If the serialport package is truly generic, then the name might be ok, but there's really no reason you couldn't call it md49_serialport just to be safe. You can search for similar packages already released, there are a few ways:

ROS wiki: http://www.ros.org/browse/search.php?distro=indigo&q=serial
ROS Index (community project): http://rosindex.github.io/search/?q=serial
Google: https://www.google.com/?gws_rd=ssl#q=ros+package+serial

Through those you'd probably find:

serial: http://wiki.ros.org/serial
Full disclose (I wrote this).
http://wiki.ros.org/cereal_port

Both of which might be something you could reuse/improve to your needs rather than make a new package.
Hopefully that helps you figure out what to do next.

Thanks a lot for the advice, i really appreciate that!
At first i now figured out, how and why it is recommended to separate the repos into an upstream- (the one i develop in) and the release- repo. Learning curve is still high after a year of using ROS now :-) Especially the way contributing to official repos was new for me, although i worked a lot with github with my own repos already. The fear of doing something wrong and causing trouble is high.
What i did yesterday, was to "merge" everything into a single package and send a pull request to rosdistro again, which was merged successfully already.
The released package is working, but still under development, so i think it is no problem to change some things again. In the future I will release the messages again as single package with a more clearer name, the advantage you described is obvious and was the reason i had them in a separate package in the beginning.
With the package for serial communications I'm not 100% sure for now, how to handle it. Although it is usable in a generic way to handle serial communications on Linux, i tend to release it as a package as part of the md49- stack at the moment. But maybe it will be better, to use an already released package, as you described. I think that will be closer to the general philosophy of ROS.
As you could have figured out already, i'm not a professional developer, more a hobbyist. Because of that i'm reliant to every advice from more experienced users and glad about every information i get, e.g. if that isn't the right place to discuss my beginners problems here ;-)


Documentation is out of date

In the section on 'Configure general settings', the actual Azure screen has many more values that the documentation doesn't touch on.

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

ID: 1e25899c-1ed8-7cfc-2c37-73bb010a87f0
Version Independent ID: 8b366c42-43f8-d5eb-b619-b356e75a9916
Content: Configure apps - Azure App Service
Content Source: articles/app-service/configure-common.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

Hi @sjrulandch , thanks for bringing this to our attention. I have assigned the issue to the content author to evaluate and update this doc as appropriate

#ready-to-doc


Failed to access the ISMIR2014 dataset

Hi! I found the link provided in the paper didn't work for downloading the dataset. Could you please share the available link here? Thanks a lot!

The ISMIR2014 dataset is too small and too old. We downloaded it a long time ago on our machine. There is no link. It is recommended to use MIR-ST500 dataset or SSVD dataset, which are mentioned in our latest paper https://ieeexplore.ieee.org/document/9746684.


Get the previous version of state var

Hi,
I'm pretty new in reactive programming and immutable stuffs.
I have one question, is there any easy way to get previous state of state variable? (I even don't know how to ask about it properly)
return hg.state({
frame: frame
});
and frame var has been changed to other value, but then I would like to have previous state of it?
Can you help me ?:)
Thanks for understanding
Artur

If I understand you correctly, you would like to have a history with changes. The observable (hg,state()) does not offer an API for this by default.
In other words, it's up to you to save the data you need, store it and query it the way you want it.
If you project has sufficiently large or complicated dataset, maybe you want to look at something like https://github.com/typeetfunc/datascript-mori/ and https://github.com/tonsky/datascript
If not, well there are lots of options, everything depends on what you want to model.

Thanks for fast reponse.
So I'm not sure if you familliar with mori.js but there are a lists and I can operate on this object and I would like to ask if it is propery way to use mori and mercury together?

There are multiple ways to use mori and mercury together, depending on how much you want to experiment with the situation :). You will probably want to replace this https://github.com/Raynos/main-loop/blob/master/index.js with something else. You can check the index.js in mercury where main-loop is used.


Add responsiveness to the whole site

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[ ] responsiveness is not good at the moment

To Reproduce
Steps to reproduce the behavior:

Go to browser console

Possible solutions (Optional)
Add responsiveness using tailwind css
Screenshots
If applicable, add screenshots to help explain your problem.

License

Alse if you want me to work on this issue please assign it to me and add the hacktoberfest tag
Thank you :)

Isn't this a duplicate of #61 ?


add python logo

Model here: https://www.mecabricks.com/en/models/Dp2llXYA2MV

Have (finally!) created the instructions, etc. and added directly to master, so that is live now. Many thanks @jdhodges