Shield play command results in playback in background of Shield Plex Client menus

Setup:
HomeAssistant on Ubuntu with HACS-installed plex-assistant and IFTTT hook, pointing to the latest Nvidia Shield TV Pro as the default plex player.
Errors in plex-assistant or plex-server:
none
Problematic commands:
seemingly any playback commands, but I can reproduce reliably with "play a random episode of seinfeld" and "play better off ted"
Advanced/custom config:
none, just a vanilla HACS install using the Shield as my "default plex player"
Steps to reproduce:

Using a Google Home, say the command "Hey Google, tell plex to play a random episode of seinfeld". ("tell plex" is my IFTTT hotword hook).
Assistant will verify the IFTTT call, IFTTT will proxy to plex-assistant/plex, and playback will start of the requested media on the Shield with the video properly in the foreground.

Expected: The video continues playing in the foreground
Actual: After about 1-2 seconds, the Shield's Plex client browse menu (i.e. where you'd go to select the media to play from the TV) comes back up, and covers the entire screen. However, the video's audio is continuing in the background, so the media is still playing in the background. There's no way to close or exit the menu to return to the playback. This does not happen on other plex clients (specifically tested on Rasplex, which correctly plays and keeps the video in the foreground). Strangely enough, there doesn't seem to be a way to have any sort of background playing happen on the Shield through its official interface, so maybe there's some unexpected API calls being made by plex-assistant? The playback also works correctly if I choose the Shield as the cast target from app.plex.tv's web UI (i.e. not using plex-assistant).

Couple of questions:

Are you using a startup script for the device?
Does this happen when using the Home Assistant service play_media?

You can test it in developer tools. Example:
service: media_player.play_media
target:
  entity_id: media_player.shields_entity_id
data:
  media_content_type: movie
  media_content_id: 'plex://{"library_name": "Movies", "title": "Groundhog Day"}'

Are you using a startup script for the device?

The Shield does not have a startup script, I turn that on manually. Plex Media Server (on a standalone linux box) starts up with systemd. HomeAssistant is running in a docker container with a restart always policy on the same machine as PMS.

Does this happen when using the Home Assistant service play_media?

The issue does not reproduce with a devtools Home Assistant service call. Specifically, the media starts playing correctly and remains in the foreground, as expected. I had to make some minor tweaks to the command to get it to parse, which I've listed below (specifically, I had to remove the plex:// intent prefix to get it to parse as JSON.
service: media_player.play_media
target:
  entity_id: media_player.plex_plex_for_android_tv_shield_android_tv
data:
  media_content_type: movie
  media_content_id: "{\"library_name\": \"Movies\", \"title\": \"Pitch Perfect\"}"

Please let me know if there's any additional information you need. Thanks!
I'll see if I can get Shield network logs for the homeassistant API vs plexassistant, maybe that'll shed some light on what might be going on.

OK, grabbed some logs from Shield.
Steps:

Enable network logging on Shield
Open network logging page.
Give command to start playback (either "hey google, play pitch perfect 3" for plex-assistant trigger or homeassistant dev tools command pasted above).
Refresh logs page after video has been playing for a few seconds (plex-assistant triggered playback has already returned to home screen with audio continuing in background at that point).

Home Assistant Dev API playback Shield logs (working): https://pastebin.com/4mvTKrKk
plex-assistant playback Shield logs (broken): https://pastebin.com/AGWPwrjz

Interesting, will look into it further, but all Plex Assistant is doing is calling the same service as above.

Is the shield entity. media_player.plex_plex_for_android_tv_shield_android_tv, the same entity you are using for Plex Assistant and not something like media_player.shield?

Is there a place I can verify that? I don't see it in the HomeAssistant -> Configuration -> PlexAssistant Options screen, nor did I see anything useful in /custom_components.
I deleted and readded PlexAssistant (via HACS again) and explicitly set my default cast device as the Shield, and the same issue happens. I'm hoping setting the default device correctly sets the entity?

Well, the shield device can show up as two separate devices (one from the device itself and one from the plex integration) which is why I ask. Can you enable Plex Assistant's debug logs as explained in the troubleshooting guide and post the debug lines here?

2021-04-18 14:58:05 DEBUG (SyncWorker_1) [custom_components.plex_assistant.const] Media titles: 12163
2021-04-18 15:00:09 DEBUG (SyncWorker_0) [custom_components.plex_assistant.const] IFTTT Call: play Pitch Perfect 3
2021-04-18 15:00:09 DEBUG (SyncWorker_5) [custom_components.plex_assistant.const] Command: play Pitch Perfect 3
2021-04-18 15:00:09 DEBUG (SyncWorker_5) [custom_components.plex_assistant.const] Processed Command: {'media': 'pitch perfect 3', 'device': 'Plex (Plex for Android (TV) - SHIELD Android TV)'}
2021-04-18 15:00:09 DEBUG (SyncWorker_2) [custom_components.plex_assistant.const] Command: play Pitch Perfect 3
2021-04-18 15:00:09 DEBUG (SyncWorker_2) [custom_components.plex_assistant.const] Processed Command: {'media': 'pitch perfect 3', 'device': 'Plex (Plex for Android (TV) - SHIELD Android TV)'}
2021-04-18 15:00:27 DEBUG (SyncWorker_5) [custom_components.plex_assistant.const] Updated Library: 2021-04-18 15:00:27.390957
2021-04-18 15:00:27 DEBUG (SyncWorker_5) [custom_components.plex_assistant.const] PA Devices: {'Plex (Plex for Android (TV) - SHIELD Android TV)': {'entity_id': 'media_player.plex_plex_for_android_tv_shield_android_tv', 'device_type': 'plex'}, 'SHIELD': {'entity_id': 'media_player.shield_2', 'device_type': 'cast'}, 'Living Room TV': {'entity_id': 'media_player.chromecastultra5142', 'device_type': 'cast'}, 'Office display': {'entity_id': 'media_player.nesthubmax59f3', 'device_type': 'cast'}, 'Living Room speaker': {'entity_id': 'media_player.living_room_speaker', 'device_type': 'cast'}}
2021-04-18 15:00:27 DEBUG (SyncWorker_5) [custom_components.plex_assistant.const] Device: Plex (Plex for Android (TV) - SHIELD Android TV)
2021-04-18 15:00:27 DEBUG (SyncWorker_5) [custom_components.plex_assistant.const] Media: [<Movie:1150:Pitch-Perfect-3>]
2021-04-18 15:00:30 DEBUG (SyncWorker_2) [custom_components.plex_assistant.const] Updated Library: 2021-04-18 15:00:30.403895
2021-04-18 15:00:30 DEBUG (SyncWorker_2) [custom_components.plex_assistant.const] PA Devices: {'Plex (Plex for Android (TV) - SHIELD Android TV)': {'entity_id': 'media_player.plex_plex_for_android_tv_shield_android_tv', 'device_type': 'plex'}, 'SHIELD': {'entity_id': 'media_player.shield_2', 'device_type': 'cast'}, 'Living Room TV': {'entity_id': 'media_player.chromecastultra5142', 'device_type': 'cast'}, 'Office display': {'entity_id': 'media_player.nesthubmax59f3', 'device_type': 'cast'}, 'Living Room speaker': {'entity_id': 'media_player.living_room_speaker', 'device_type': 'cast'}}
2021-04-18 15:00:30 DEBUG (SyncWorker_2) [custom_components.plex_assistant.const] Device: Plex (Plex for Android (TV) - SHIELD Android TV)
2021-04-18 15:00:30 DEBUG (SyncWorker_2) [custom_components.plex_assistant.const] Media: [<Movie:1150:Pitch-Perfect-3>]

Yup, 2 different entities for the same device:

media_player.plex_plex_for_android_tv_shield_android_tv
media_player.shield_2

Try this in developer tools and let me know if you see the same behavior of background playing:
service: media_player.play_media
target:
  entity_id: media_player.shield_2
data:
  media_content_type: movie
  media_content_id: "plex://{'library_name': 'Movies', 'title': 'Pitch Perfect'}"

Using media_player.shield_2 made the Shield switch to internal-Chromecast mode (it didn't play, but the screen is now just a chromecast icon). I can probably just disable the internal chromecast, as I have a standalone real chromecast already.

Nah, I wouldn't do all that. Just set the Plex (Plex for Android (TV) - SHIELD Android TV) as your default device instead of the one called "SHIELD" which is media_player.shield_2 and see if it helps the situation.

Plex (Plex for Android (TV) - SHIELD Android TV) is the one that I've been setting to default, and (unless I'm reading the debug logs incorrectly), it's also the one that plexassistant is (correctly) choosing for playback.

My mistake, then I would try it the other way around and see if it helps

Hmm, it looks like using media_player.shield_2 in plex-assistant results in nothing playing (I get a plex screen saying "sorry something went wrong"). The plexassistant debug logs look correct though (no unexpected errors).
My guess is that media_player.shield_2 is the Shield's internal Chromecast which doesn't seem to play nice with plex playback for some reason (the homeassistant devtools didn't work for it either), and Plex (Plex for Android (TV) - SHIELD Android TV) is the direct intent into casting inside of the Shield's Plex Client app (which worked correctly from devtools, and starts playback in foreground and immediately goes to background for plexassistant - i.e. broken).

I'll try poking around in the src of my local install to see if I can debug any further. Do I need to do anything special (rebuild/etc), or is just modifying .py files and restarting homeassistant sufficient? Do you have any codepointers I should specifically be starting wwith/looking at? I don't have experience with homeassistant specifically, but I'm familiar enough with Python.

OK looks like I somehow had a double installation of plex_assistant, possibly from a bugged manual upgrade to v1.0. I noticed there were double the logs from plex_assistant for a single command (as seen in my debug logs posted above). I fully removed any existing plex_assistant entries from the HA UI, manually deleted all directories/files I found on my filesystem, and readded the repository via HACS. I also had some old directives in HA's configuration.yaml for the old plex_assistant which I also deleted. I then reinstalled the integration fresh, restarted HA, and it seems to work correctly now! The debug logs for plex_assistant now also only show one "Processed Command" entry rather than two. I'm guessing there was some race condition in how Shield was handling back to back queue playback commands, and the double-command-processing was causing the issue.
Sorry for the noise, but thanks for your help in debugging!


bug: App constanbtly crashes when browsing my following on Galaxy S22+ Android 13

Describe the bug
Hi, thanks for this excellent app !
I have the 1.0.1 version from Google Play, I set my home on "Following".
It crashes every time I open Graysky and scroll a little the skeets.
To reproduce
Just scrolling the skeets on my home makes the app suddenly crash and immediately close.
Additional information
I run it on a Samsung Galaxy S22+ and Android 13. Please tell me if I and how can provide more debug.

Hi, I still have the crash with version 1.1.2


[SUPPORT] Add AS OF syntax support

Use sql to query the specified version data
SELECT * FROM default.people10m VERSION AS OF 0;
SELECT * FROM default.people10m TIMESTAMP AS OF '2019-01-29 00:37:58';

@XuQianJin-Stars : can you respond here. guess we already added this support to latest master if I am not wrong.

feel free to link the jira and close it out.

@XuQianJin-Stars : can you respond here. guess we already added this support to latest master if I am not wrong.

hi @melin This is already supported in the master.


JavaScript properties missing

I only realized this on JavaScript in HTML, even though it may be on more languages:
When I coded, I noticed some properties I know are in JS weren't showing in the suggestion menu and didn't have any info about them. I still remember document.getElementById( "someId" ).value ( .value is missing in this example ) which is not in the menu and is said to return any

VSCode Version: 1.20.0
OS Version: Windows 8.1

Steps to Reproduce:

add missing information & add properties

Does this issue occur when all extensions are disabled?: Yes

https://stackoverflow.com/questions/12989741/the-property-value-does-not-exist-on-value-of-type-htmlelement
has the answer...


MaxoutDense doesn't work

model = Sequential()
model.add(MaxoutDense(output_dim=16, nb_feature=4, input_dim=8))
model.add(Dense(1, activation="sigmoid"))
model.compile(optimizer="sgd", loss="binary_crossentropy")

==> ValueError: Shape (4, 8, 16) must have rank 2

MaxoutDense calculates the output as below. X is 2D and self.W is 3D, but K.dot takes two 2D inputs. Hence, it raises the error like above.
output = K.max(K.dot(X, self.W) + self.b, axis=1)

I think it should be fixed like below.
splited_W = [self.W[i, :, :] for i in range(self.nb_feature)]
splited_z = [K.dot(X, W) for W in splited_W]
z = K.concatenate([K.expand_dims(_z) for _z in splited_z])
output = K.max(z, -1)

[x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[x] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

I cannot reproduce the error. Tried this model on the mnist_mlp example and it worked fine:
model = Sequential()
model.add(MaxoutDense(output_dim=512, nb_feature=4, input_dim=784))
model.add(Activation('relu'))
model.add(Dropout(0.2))
model.add(MaxoutDense(10))
model.add(Activation('softmax'))

Also loops, as in your proposed solution, should be avoided whenever possible. If you can provide a more complete demonstration (as in everything needed to reproduce) of things breaking I'll try it out.

@the-moliver
Thanks. Do you use theano as backend? Using it, as you said it didn't raise error. I get error when with tensorflow.

Ah yes this is indeed an issue!

The main cause of this issue is not MaxoutDense, so I'll close this. Thank you.


Update URLs and author in package.json

Does it need to say Teacher services: Becoming a teacher?

Does it need to say Teacher services: Becoming a teacher?

Or possibly a reference to Department for Education..

Maybe just "Department for Education"?


Home modules not installed

Hello again Ye Lite,
I've come up against another issue that seems to stem from Home Manager not being configured out of the box.
I can reproduce this issue with a trivial system zsh module and home git module where I conditionally enable each via a mkEnableOption.
{ config
, lib
, ...
}:
let
  inherit (lib) mkEnableOption mkIf;
  cfg = config.my.system.zsh;
in
{
  options.my.system.zsh = {
    enable = mkEnableOption "zsh";
  };

  config = mkIf cfg.enable {
    programs.zsh.enable = true;
  };
}

{ config
, lib
, ...
}:
let
  inherit (lib) mkEnableOption mkIf;
  cfg = config.my.home.git;
in
{
  options.my.home.git = {
    enable = mkEnableOption "git";
  };

  config = mkIf cfg.enable {
    programs.git.enable = true;
  };
}

I toggle these on in my host configuration and only see the system module taking affect.
{ ... }: {
  my = {
    system = {
      zsh.enable = true;
    };

    home = {
      git.enable = true;
    };
  };
}

I might be missing something; maybe I have more work to do with Home Manager to get modules showing up in the host config?
https://github.com/jcf/lite-system-emacs-overlay/tree/main#home-modules

Try to import this in your system module,
{config, ...}: {
  home-manager = {
    sharedModules = [
      {
        my.home = config.my.home;
      }
    ];
  };
}

The problem is that home manager modules are evaluated as submodule under NixOS modules. This means the options and config of home manager modules are separate from the ones of system module.
This seems to be a common problem when building system config with NixOS and home manager. I have a similar module in my config too (https://github.com/yelite/system-config/blob/a46c05d5c9ebfc49b3ffccdc6b8382f48e26fe7a/system/home-manager.nix#L43). It would be great if lite-system can do this automatically, but I don't have good idea on how to have a clean and simple API for it.

Ahh, I see! So the home modules aren't aware of any of the options declared at the system level.
I've tried adding a sharedModule but that seems to pass in something a lot more empty than expected.
{ lib
, config
, ...
}: {
  config = {
    home-manager = {
      users.${config.my.username} = { };
      sharedModules = [{ my = config.my; }];
    };
  };
}

         at /nix/store/aiv01710wqn2b7hms2253d1cq89kdzh8-source/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `my.home':

       … from call site

         at /nix/store/aiv01710wqn2b7hms2253d1cq89kdzh8-source/lib/modules.nix:844:59:

          843|       if isDefined then
          844|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
             |                                                           ^
          845|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;

       … while calling 'merge'

         at /nix/store/aiv01710wqn2b7hms2253d1cq89kdzh8-source/lib/types.nix:762:22:

          761|         check = x: isAttrs x || isFunction x || path.check x;
          762|         merge = loc: defs:
             |                      ^
          763|           (base.extendModules {

       error: The option `my.home.alacritty' does not exist. Definition values:
       - In `/nix/store/8xp12dvzjhzkxlkrfnw7gr2knyd6mz2f-host/max':
           {
             enable = true;
           }

       However there are no options defined in `my.home'. Are you sure you've
       declared your options properly? This can happen if you e.g. declared your options in `types.submodule'
       under `config' rather than `options'.

I'll see if I can reproduce in my minimal example repo.
Thanks for all the help, @yelite!

Thanks again, @yelite! I've applied your patch, and I'm able to build a result successfully.
I'm still missing the Git packages I was hoping Home Manager would install when enabled via the host configuration, and I'm perplexed as to why I can't pass in the my.username.
For this basic example it's not a huge problem, but as soon as I have email addresses, secrets etc. in my configuration, I'd love to be able to pass in all of config.my.
I've pushed your suggestions to my mini repo, and expect a green build soon enough. I might add a quick test to assert that the result is packed full of the requested goodies too.
Watch this space!

I got the build passing by adding an x86-specific host — a sample lite-system that builds a result via GitHub Actions.
There's still the problem of Git (from a home module) not actually being installed, which leads me to believe the my.home configuration isn't being passed around as I had hoped.
I've verified this via CI with a little find ... | grep step.
I'll continue sluething to try to and prepare a sample we can use as documentation for future users of lite-system.

@jcf git is indeed installed. You can check it with
nix why-depends -a .#darwinConfigurations.aarch64-darwin.system .#darwinConfigurations.aarch64-darwin.config.home-manager.users.jcf.programs.git.package

It should output
/nix/store/jablb7giccqx4m5kr5k17kj1b3hfssrd-darwin-system-24.05pre-git+darwin4.4b9b83d
├───/nix/store/09cwfgk4wxxh35fs0bm84waly1s2aifl-system-path
│   ├───/nix/store/6ypavfvrl3w3xq6d32z80075g8vyz785-darwin-option
│   │   └───/nix/store/rxpifxzrsjb0xfjrkrg16vm1876scqvj-git-2.42.0
│   ├───/nix/store/ad0l65c4hylyj917nx60ncgzw90ddrkr-darwin-rebuild
│   │   └───/nix/store/rxpifxzrsjb0xfjrkrg16vm1876scqvj-git-2.42.0
│   └───/nix/store/9wm3xwkvbhda2q8rrrgyl2f3f4bgm7qx-darwin-uninstaller
│       └───/nix/store/814r8w71i7agc18m67zs6hplwj93ygg7-darwin-system-24.05pre-git+darwin4
│           └───/nix/store/vdwnd71b6420hs973h2ljc3aiz3pm1f5-system-path
│               ├───/nix/store/6ypavfvrl3w3xq6d32z80075g8vyz785-darwin-option
│               └───/nix/store/ad0l65c4hylyj917nx60ncgzw90ddrkr-darwin-rebuild
└───/nix/store/83qdds8n0cy9nqyhljp5ysgvnghal0wg-activation-jcf
    └───/nix/store/km8xv23cy62fk50h7v34pcixcji7j9qy-home-manager-generation
        └───/nix/store/v1cmx2racg3rfd04wx7br8dd8vxw07mh-home-manager-path
            └───/nix/store/rxpifxzrsjb0xfjrkrg16vm1876scqvj-git-2.42.0

You can also check the evaluation result with nix repl.
❯ nix repl
Welcome to Nix 2.18.1. Type :? for help.

nix-repl> :lf .
Added 22 variables.

nix-repl> darwinConfigurations.aarch64-darwin.config.home-manager.users.jcf.programs.git.enable
true

find ... | grep does not work if you want to find any package in the dependency graph. The build result points to /nix/store/jablb7giccqx4m5kr5k17kj1b3hfssrd-darwin-system-24.05pre-git+darwin4.4b9b83d and the content in it will only contain the direct dependencies of this package.
If you can't use the git from nix in your shell, it's probably due to a different shell being used.

Thanks for the pointer, @yelite! I didn't realise that the home-manager-managed dependencies wouldn't be so easily discoverable. That might well mean I have a working configuration as long as I don't need to share configuration between system and home directory.
Unfortunately, I can't see myself duplicating information like my username, email address, etc. in more than one place, and there doesn't seem to be any way to pass a simple map of config.my to Home Manager.
I'll keep experimenting with this, but given the cryptic errors and cached failures, progress is slower than I'd like. I hope you don't mind bearing with me!

Someone on Discord pointed me towards osConfig and suggested I avoid passing things through the module system twice.
I'm probably going to take a break from Nix for a while at this point because I'm spending too much time setting up the basics and not enough time on meaningful work.
I haven't solved this problem fully, and apologise to anyone who finds themselves here hoping for a solution, but will close this to take the work off Lite Ye's plate as it's not a problem specific to lite-system.


MaxListenersExceededWarning

Hi Guys not having no luck with this one at all have updated to 0.4.0 then when I update plugin to 0.10.2   I am getting this constantly.....
raspberrypi homebridge[321]: (node:321) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 _on_timeout listeners added. Use emitter.setMaxListeners() to increase limit
Then if I turn an XBOX  off/on once or twice im getting.......
[4/27/2019, 10:40:33 PM] TypeError: this._socket.send is not a function
Apr 27 22:40:33 raspberrypi homebridge[321]:     at Object._send (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:221:26)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at Object. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:100:22)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at Object. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:144:25)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at EventEmitter.emit (events.js:194:15)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at EventEmitter. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/events.js:50:23)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at EventEmitter.emit (events.js:189:13)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at Object. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:197:33)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at Socket.emit (events.js:189:13)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at UDP.onMessage [as onmessage] (dgram.js:628:8)
Apr 27 22:40:33 raspberrypi homebridge[321]: [4/27/2019, 10:40:33 PM] Got SIGTERM, shutting down Homebridge...
Apr 27 22:40:33 raspberrypi homebridge[321]: [4/27/2019, 10:40:33 PM] TypeError: Cannot read property '_crypto' of undefined
Apr 27 22:40:33 raspberrypi homebridge[321]:     at Object.unpack (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/packet/simple.js:145:48)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at Object.unpack (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/packet/packer.js:48:30)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at EventEmitter. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/events.js:9:28)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at EventEmitter.emit (events.js:189:13)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at Object. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:197:33)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at Socket.emit (events.js:189:13)
Apr 27 22:40:33 raspberrypi homebridge[321]:     at UDP.onMessage [as onmessage] (dgram.js:628:8)
Apr 27 22:40:38 raspberrypi systemd[1]: homebridgeXbox.service: Main process exited, code=exited, status=143/n/a

Yeah now after a restart it instance just wont start and is just in a loop with below...
: [4/27/2019, 10:46:00 PM] [Kids Xbox One] Launching app: Dashboard
Apr 27 22:46:00 raspberrypi homebridge[3571]: [4/27/2019, 10:46:00 PM] TypeError: Cannot read property '_crypto' of undefined
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at Object.unpack (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/packet/simple.js:145:48)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at Object.unpack (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/packet/packer.js:48:30)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at EventEmitter. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/events.js:9:28)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at EventEmitter.emit (events.js:189:13)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at Object. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:197:33)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at Socket.emit (events.js:189:13)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at UDP.onMessage [as onmessage] (dgram.js:628:8)
Apr 27 22:46:00 raspberrypi homebridge[3571]: [4/27/2019, 10:46:00 PM] TypeError: Cannot read property '_crypto' of undefined
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at Object.unpack (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/packet/message.js:367:34)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at Object.unpack (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/packet/packer.js:48:30)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at EventEmitter. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/events.js:9:28)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at EventEmitter.emit (events.js:189:13)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at Object. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:197:33)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at Socket.emit (events.js:189:13)
Apr 27 22:46:00 raspberrypi homebridge[3571]:     at UDP.onMessage [as onmessage] (dgram.js:628:8)
Apr 27 22:46:00 raspberrypi homebridge[3571]: [4/27/2019, 10:46:00 PM] Got SIGTERM, shutting down Homebridge...
Apr 27 22:46:00 raspberrypi homebridge[3571]: [4/27/2019, 10:46:00 PM] TypeError: Cannot read property '_crypto' of undefined

I have 2 Xbox's Running under the 1 instance Should I split them? But they were OK under the previous version 0.10.1...

Thanks for the bug report! I will look into this soon, probably in 2 weeks due limited time.

I've been debugging this a bit but it is hard to say where it goes wrong exactly. It could be a combination of the homebridge code and the new release. With only one xbox it works flawless.
I've been trying to connect twice to the same xbox, but it appears that the xbox only responds on one connection.
Try to split it up over 2 homebridge instances. As long i dont have 2 xbox's in one network it is hard to debug this, i'm sorry.

Please try out the new 0.11.0 version. I think it should work now with multiple xbox's. Can you try?

Hi Thanks I have had them running on 2 instances and as you say it works flawless other that the instance will crash if you turn the xbox off/on a few times in a row (why you would ever do this normally ) so operating normally no issues
I will try later and run them on the same instance to see how it goes and report back...

[5/11/2019, 10:47:55 AM] [Xbox One] Setting Device Power State...
May 11 10:49:20 raspberrypi homebridge[381]: [5/11/2019, 10:49:20 AM] [Xbox One] Setting Device Power State...
May 11 10:49:37 raspberrypi homebridge[381]: [5/11/2019, 10:49:37 AM] [Xbox One] Launching app: Netflix
May 11 10:49:48 raspberrypi homebridge[381]: Failed to connect to xbox: undefined
May 11 10:49:48 raspberrypi homebridge[381]: Failed to connect to xbox: undefined
May 11 10:49:48 raspberrypi homebridge[381]: Failed to connect to xbox: undefined
May 11 10:49:48 raspberrypi homebridge[381]: Failed to connect to xbox: undefined
May 11 10:49:48 raspberrypi homebridge[381]: [5/11/2019, 10:49:48 AM] TypeError: this._socket.send is not a function
May 11 10:49:48 raspberrypi homebridge[381]:     at Object._send (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:221:26)
May 11 10:49:48 raspberrypi homebridge[381]:     at Object. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:100:22)
May 11 10:49:48 raspberrypi homebridge[381]:     at Object. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:144:25)
May 11 10:49:48 raspberrypi homebridge[381]:     at EventEmitter.emit (events.js:194:15)
May 11 10:49:48 raspberrypi homebridge[381]:     at EventEmitter. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/events.js:50:23)
May 11 10:49:48 raspberrypi homebridge[381]:     at EventEmitter.emit (events.js:189:13)
May 11 10:49:48 raspberrypi homebridge[381]:     at Object. (/usr/local/lib/node_modules/homebridge-smartglass/node_modules/xbox-smartglass-core-node/src/smartglass.js:197:33)
May 11 10:49:48 raspberrypi homebridge[381]:     at Socket.emit (events.js:189:13)
May 11 10:49:48 raspberrypi homebridge[381]:     at UDP.onMessage [as onmessage] (dgram.js:628:8)
May 11 10:49:48 raspberrypi homebridge[381]: [5/11/2019, 10:49:48 AM] Got SIGTERM, shutting down Homebridge...
May 11 10:49:48 raspberrypi homebridge[381]: Current active app: Xbox.Dashboard_8wekyb3d8bbwe!Xbox.Dashboard.Application
May 11 10:49:48 raspberrypi homebridge[381]: 2
May 11 10:49:48 raspberrypi homebridge[381]: [5/11/2019, 10:49:48 AM] [Xbox One] Launching app: Dashboard
May 11 10:49:53 raspberrypi systemd[1]: homebridgeXbox.service: Main process exited, code=exited, status=143/n/a
May 11 10:49:53 raspberrypi systemd[1]: homebridgeXbox.service: Unit entered failed state.
May 11 10:49:53 raspberrypi systemd[1]: homebridgeXbox.service: Failed with result 'exit-code'.

That's just testing a Single XBox after the update...

[5/11/2019, 10:58:36 AM] [Xbox One] Setting Device Power State...
May 11 10:58:36 raspberrypi homebridge[6820]: [5/11/2019, 10:58:36 AM] [Xbox One] 0
May 11 10:58:41 raspberrypi homebridge[6820]: Xbox succesfully connected!
May 11 10:58:52 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 10:59:22 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 10:59:52 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 11:00:22 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 11:00:50 raspberrypi homebridge[6820]: (node:6820) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 _on_console_status listeners added. Use emitter.setMaxListeners() to increase limit
May 11 11:00:52 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 11:01:22 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 11:01:52 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 11:02:20 raspberrypi homebridge[6820]: (node:6820) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 _on_discovery_response listeners added. Use emitter.setMaxListeners() to increase limit
May 11 11:02:20 raspberrypi homebridge[6820]: (node:6820) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 _on_timeout listeners added. Use emitter.setMaxListeners() to increase limit
May 11 11:02:22 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 11:02:52 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 11:03:22 raspberrypi homebridge[6820]: Failed to connect to xbox: false
May 11 11:03:52 raspberrypi homebridge[6820]: Failed to connect to xbox: false

Are you sure you are running the newer version? The stack trace does tell me it is not using the newest version.

I've seen this error when missing python + the required dependencies. Please check the readme for the dependencies.


HADOOP-17777. Update clover-maven-plugin version from 3.3.0 to 4.4.1

Update clover-maven-plugin version to 4.4.1, some important changes are as follows:

the license key is no longer required to run Clover
the Atlassian brand and logos were removed to avoid any trademark violations
the 'org.openclover.*' groupId is used for artifacts

The license key is no longer required is the key factor to do this update. So the developer can run and get the code coverage easier.
https://issues.apache.org/jira/browse/HADOOP-17777

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 48s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

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

_ trunk Compile Tests _

+0 :ok:
mvndep
13m 20s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
20m  2s

trunk passed

+1 :green_heart:
compile
20m 48s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
18m 16s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
mvnsite
24m 33s

trunk passed

+1 :green_heart:
javadoc
7m 33s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
7m 38s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
shadedclient
125m 42s

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

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 41s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
19m 51s

the patch passed

+1 :green_heart:
compile
20m 47s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
20m 47s

the patch passed

+1 :green_heart:
compile
18m  7s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
18m  7s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
mvnsite
20m 11s

the patch passed

+1 :green_heart:
xml
0m  2s

The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
7m 27s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
7m 39s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
shadedclient
29m 43s

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

_ Other Tests _

-1 :x:
unit
1069m 18s
/patch-unit-root.txt
root in the patch passed.

+1 :green_heart:
asflicense
1m 36s

The patch does not generate ASF License warnings.

1308m 57s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.TestDecommissioningStatusWithBackoffMonitor

hadoop.hdfs.TestDFSShell

hadoop.hdfs.server.namenode.ha.TestBootstrapStandby

hadoop.hdfs.server.namenode.ha.TestEditLogTailer

hadoop.hdfs.server.namenode.TestDecommissioningStatus

hadoop.tools.dynamometer.TestDynamometerInfra

Subsystem
Report/Notes

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

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

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

uname
Linux d5aadf635cb1 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 4db3b23ce4d6b9eb673bb6ceabbb3d9e0a8c8211

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

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

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

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

modules
C: hadoop-maven-plugins . U: .

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

versions
git=2.25.1 maven=3.6.3

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

This message was automatically generated.

LGTM. I suppose the test failures aren't related?

Thanks @jojochuang for the review. I rechecked the failed UTs and think it is unrelated for this patch.


Upstream DNS rework

pending this being merged:
https://github.com/folbricht/routedns/pull/317

closed in favor of #89


Last Week in Pony - May 9, 2021

Theo Butler has, up until this point, been the primary maintainer of our "make it easy to install pony tools" tool ponyup. Theo is finishing up his degree and hasn't had much time in the last few months for anything Pony related. We are looking for someone to step in and work with core team members Theo and Sean and become the primary maintainer of Ponyup.
Interested? We hope so. Please drop Theo or Sean a line on the Zulip.

Version 1.0.3 of ponylang/glob has been released.
See the release notes for more details.

Audio from the May 04, 2021 Pony development sync call is available.

Version 0.4.1 of ponylang/http has been released.
See the release notes for more details.

Version 0.1.3 of ponylang/appdirs has been released.
See the release notes for more details.


invalid_session_id

Hello, good project, I have a small problem, for some reason when I authenticate it returns the Post:
{"type":"error","error":"invalid_session_id","country":"co"}
Any idea what field I'm missing from the body?
 body = {                 "acr_values": "",                 "claims": "",                 "client_id": "riot-client",                 "code_challenge": "",                 "code_challenge_method": "",                 "nonce": token_urlsafe(16),                 "redirect_uri": "http://localhost/redirect",                 "response_type": "token id_token",                 "scope": "openid link ban lol_region account",             }

I don't understand why you would ask this, do you have an minimal reproducible example?

I mean that I downloaded your project, but for some reason the post returns an error. at HERE  .
Are there any fields missing from the submitted data? That's what I was wondering.


Consider first name synonyms when checking for existing contact

This extends first name synonym application to the duplicate detection used in the v3 TRN request endpoint.
As part of this I've moved the synonym download code out of the existing job (that populates the TRS DB) into its own service.

 Add synonym name matching support for V3 TRN API


If there is an error in before_all method, this is not reported properly

If we are checking the number of tests, before_all is not reported. No tests are executed. And I think nothing is reported. We can do a work around and report all tests in that test case as error pointing to the before_all method. This would be aligned with an error in before method I think.
Otherwise we will need to keep a total list count and show how many are not executed. In this case we should also report a test not executed if there is an error in before method I think,

I need to check what is the default behavior in unittest package. We should follow it to be predictable I think. I need to check errors, assertions and skip requests. Same applies to before method.


Two refresh button in right click of commit

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: latest
OS Version: Windows 11

Steps to Reproduce:

Expand commits on the left side and right-click it.
It shows two refresh button

@mohanbabu-zumen, the "Commits" view is being contributed by the GitLens extension.
Please create an issue in the extension's repository to get further assistance. Thank you!


Fix add_bounds() breaking when time coords are cftime objects

Description

Closes #240

Summary of Changes

Fix add_bounds() breaking when time coords are cftime objects
Remove ds as a keyword arg for TemporalAccessor.center_times() to allow for standalone usage
Update tests in test_temporal.py with masked data

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My changes generate no new warnings -- I added a warning filter for a pd.PerformanceWarning. There is a #FIXME comment to address this in the future.
[x] Any dependent changes have been merged and published in downstream modules

If applicable:

[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass with my changes (locally and CI/CD build)
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have noted that this is a breaking change for a major release (fix or feature that would cause existing functionality to not work as expected)

Codecov Report

Merging #241 (ab5a986) into main (1fdc8a9) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #241   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         8    -1
  Lines          742       728   -14
=========================================
- Hits           742       728   -14

Impacted Files
Coverage Δ

xcdat/axis.py
100.00% <ø> (ø)

xcdat/utils.py
100.00% <ø> (ø)

xcdat/__init__.py
100.00% <100.00%> (ø)

xcdat/bounds.py
100.00% <100.00%> (ø)

xcdat/dataset.py
100.00% <100.00%> (ø)

xcdat/spatial.py
100.00% <100.00%> (ø)

xcdat/temporal.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Examples not building on MacOS

Hi :)
I was trying to build the example projects but every single time I get the following error:
error: array subscript value '17' is outside the bounds of array type 'char [17]'
Any ideas?
I'm new with C/C++ and I thought this could be a fun place to start.
I'm on MacOS Monterrey 12.0.1
Thanks!!!
Here is a more detailed error log:
/Users/agustinmachiavello/softwareprojects/butano/butano/include/bn_span.h:480:9:   in 'constexpr' expansion of '_bn::assert::file_name<10>(((const char*)"/Users/agustinmachiavello/softwareprojects/butano/butano/include/bn_span.h"))' /Users/agustinmachiavello/softwareprojects/butano/butano/include/bn_assert.h:171:35: error: array subscript value '17' is outside the bounds of array type 'char [17]' make[2]: *** [common_stats.o] Error 1 make[2]: *** [main.o] Error 1 make[1]: *** [build] Error 2 make: *** [all] Error 2

Hi,
I can't reproduce that error with the latest versions of Butano and devkitARM.
Do you have the latest version of both projects?
What example are you trying to build?

Thanks for the quick reply.
I was trying to build the text example project, but the same error pops up with all the others so I'm thinking it's more like a set-up related problem.
I've just downloaded Butano 8.6.0 version and for I'm using devkitPRO 1.0.2.
I'm not sure how to get the devkit version it self, but reinstalling it via Pacman showed the following results:
armv4t-pkg-config-0.28-1  devkitARM-r56-4  devkitARM-gdb-10.2-1               devkitarm-cmake-1.0.0-4  devkitarm-crtls-1.1.1-1               gba-examples-20190122-1  gba-tools-1.2.0-1  general-tools-1.2.0-2               grit-0.8.16-1  libfat-gba-1.1.5-1  libgba-0.5.2-2               libtonc-1.4.3-3  maxmod-gba-1.0.14-1  mmutil-1.9.1-1               pkg-config-0.29.2-1

I have GCC 11 on my machine, so it should be a devkitARM install issue.
Try reinstalling it using this guide.

Found the issue! :)
I just edited the line 156 inside bn_assert.h like this:
FROM:
alignas(int) char characters[Size < 17 ? 17 : Size];
TO:
alignas(int) char characters[Size < 170 ? 170 : Size];
I just set 170 as a random number tho. I'm not sure why it was set to 17.
Do you want me to open a PR or something?

Sorry, but do you still have that issue with the latest version of devkitARM?

Yeah. I reinstalled devkitARM, Xcode tools, and even checked my gcc version but nothing really worked. The same error message kept appearing after all that.
In my case, the examples did not compile due to a code error (the one described on my previous comment), not really a set-up error.
I even got it running on VisualBoy Advanced now!

Thanks.
Could you find the lowest value that works with you machine?

18
Now the line looks like this:
alignas(int) char characters[Size < 18 ? 18 : Size];
Not sure why tho lol

Great.
Could you try to update Butano to check if it works now?

It works!
Just compiled a few examples without a problem.
THANKS :)


CiviForm admin UX: add descriptive text to programs page

Is your feature request related to a problem? Please describe.
The user needs more context about what they are seeing on the "all programs page". In UXR with the CiviForm admin, the user was not clear what to do on the page
Describe the solution you'd like
Add subtext to the programs title. Mock here
Additional context
From Admin UX feedback sheet

Hi Cassandra
I've got a fix for this ready. As per the mocks it also changes "All programs" to "Program dashboard"
I  wanted to run this past you before sending it for review as it means that the videos in the documentation below
will still contain "All programs" while the implementation would read "Program dashboard".
That doesn't seem too bad and I'm happy to submit if the text  "Program dashboard" is indeed what we want to go for.
https://docs.civiform.us/user-manual/civiform-admin-guide/create-a-program

Yep, program dashboard is good


Updated zh-CN.js

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Update zh-CN i18n strings
Type of change
Please delete any options that are not relevant.

Translation update

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)
Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.

Some of the i18n entries are used in different contexts, which makes me harder to translate.
Example: High to describe both priority and price, Normal to describe both priority and UI position

Some of the i18n entries are used in different contexts, which makes me harder to translate.
Example: High to represent both priority and price, Normal to describe both priority and UI position
Please, these entries should be split into specific ones.
and there are 2 keys High and high

I agree, the key names should be renamed.

I merge this first, if you would like to fix the key names issue, feel free to open a pr. Thanks


update infra-repo

Duplicate
[v1.8.0][Auto] Build and bump infra-repo #236
https://github.com/th2-net/th2-infra/pull/236#pullrequestreview-1030311605


auth: Tweak invalid credentials error message.

Follow-up on #32104 - we decided this is the better string to use.

Merged, thanks @mateuszmandera!


add evalId in generate OutputFile

If we could have the evalId of a run in the generated output file (OutputFile), it would be possible to get the VSCode test controller UI to reopen the promptfoo web ui on the evluation page using the eval?evalId=... route.

The context is that I have a testcontroller in visual studio code that provide a nice front end to the tests. If I can store the eventId for a run, I can open the web ui directly in vs code for a nice integrated experience.

Your PR is released in 0.62.0!

Great news. Thanks for pushing it through.


Support for weekly indices

For logstash, we use:
index => "stats-%{+xxxx.ww}"
and
config.php mentions:
'date_based' => true, # Whether to append a date to the index (logstash becomes logstash-2016.01.01).
So it seems there is no current support for those logstashing to weekly indices?

Not at the moment. I'd like to add support for arbitrary expressions, but that's a big chunk of work and low priority (It would require implementing all of this: http://joda-time.sourceforge.net/apidocs/org/joda/time/format/DateTimeFormat.html)
A workaround is to specify:
    'date_based' => false, # Tells 411 not to modify the index name.
    'index' => 'stats-*',

That workaround is fine, thanks.

Implemented in this (poorly named) commit 61894305e6c55a3517a809f6d81613890027875b.


Add seed user instructions to README

In reference to #793.
Not entirely sure how much I like the wording, so any suggestions would be awesome!
@trainerbill

I think the documentation needs an update to correct it - for either dev or prod both user and admin accounts are seeded if they aren't available.

@codydaig whenever you can address the comments, other than that looks good.

@lirantal Totally forgot about this PR. I updated and squashed.

Great, merging.


/zh-CN/docs/Web/HTTP/Access_control_CORS

预检请求的案例中自定义字段Content-Type是application/xml，还是text/xml？内容表述有歧义。

I think this bit on the English version answers your question:
https://wiki.developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Preflighted_requests
Looks like it is application/xml. Are you OK to update the Chinese version to make this clearer?

There is a problem with the preflight request example in the English version, the text and code section is "application / xml", and the picture is "text / xml".

The request header field of the code part is "Ping-Other", but the text part and the picture are "X-PINGOHTHER".

Duplicate of https://github.com/mdn/sprints/issues/2487


Prusa Slicer Set Active Spool Filament Gcode

Describe the bug
If I put the code: SET_ACTIVE_SPOOL ID= in the custom filament gcode and specify the ID of the spool, then the spool in mainsail is not automatically activated
Expected behavior
Actually, I expect that as soon as the gcode file is uploaded, it will automatically activate the spool with which I want to print
Screenshots

Desktop (please complete the following information):

OS: Windows 11
Browser Firefox
Version 124.0.1

Additional context
What is the correct filament Gcode to automatically activate the spool?

Ok if I understand correctly, is the code in the filament Gcode correct and when I start printing then the spool is automatically selected?

Ok if I understand correctly, is the code in the filament Gcode correct and when I start printing then the spool is automatically selected?

correct.

ok thx

it works thx

As a secondary thing I'm not sure the exact code for prusaslicer so may have to modify some but this works perfectly in orcaslicer. For the filament's start gcode add the SET_ACTIVE_SPOOL code

Then in the print start gcode you can add {filament_start_gcode[0]} to execute the filament start gcode at the start of your machine start gcode and it will select it as soon as the print starts and not have to wait for it to get to that in your start macro.

Doing this also allows you do keep letting it set your gcode based on the filament selected in the slicer.


Reduce 349

Opening this PR for 2 reasons:

it shows a valid way to reduce a fuzz reproducer
it goes full circle, using wasm-interp from the wabt tools to compare with the bare result of Chicory

Supersede #349

We need first to re-enable the fuzz tests based on wasm-interp


BigTruck vehicle missing

In this latest release I cannot find the BigTruck vehicle class. It has been replace with something else?

I think I have to use a custom lua file with DinamicVehicle. But I gave a custom InternalGetFactor function as the follow snippet. How can I achieve the same behaviour with the new version?
`
    private static Func<IAttributeCollection, Factor> InternalGetFactor(HazmatTruck hazmat)
    {
        // adjusts to a hypothetical speed indicating preference.

        //var getFactorDefault = hazmat.GetGetFactor();
        var getSpeedDefault = hazmat.GetGetSpeed();
        return (tags) =>
        {
            var speed = getSpeedDefault(tags);
            if (speed.Value == 0)
            {
                return new Itinero.Profiles.Factor()
                {
                    Value = 0,
                    Direction = 0
                };
            }

            if (tags != null)
            {
                string highwayType;
                string nogo;
                if (tags.TryGetValue("nogo", out nogo))
                {
                    float ng;
                    if (float.TryParse(nogo, out ng))
                        speed.Value /= (ng / 100);
                }
                if (tags.TryGetValue("highway", out highwayType))
                {
                    switch (highwayType)
                    {

`

You can convert the code to identical code in lua, do make sure to add 'nogo' to the profile whitelist.

I studied the new release and found that the whitelist should solve the
problem but I can't find the equivalent of "InternalGetFactor" function of
the profile.
2016-12-07 9:16 GMT+01:00 Ben Abelshausen<EMAIL_ADDRESS>
You can convert the code to identical code in lua, do make sure to add
'nogo' to the profile whitelist.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/itinero/routing/issues/34#issuecomment-265384062, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABtMQcksibR6ACudw4EczuxQFn_1VOZPks5rFmtbgaJpZM4LEc1T
.

--
Alessandro Cavalieri

Have you checked this page:
https://github.com/itinero/routing/wiki/Profiles

I didn't see this document. Sorry.
One thing is no clear for me: think about factor_and_speed function, what
is the differences between profile_whitelist and meta_whitelist? If I add
an attribute to profile_whitelist is that available only using that profile
and if I add an attribute to meta_whitelist is that available using all
profiles?
Thanks in advance for your help
2016-12-08 11:50 GMT+01:00 Ben Abelshausen<EMAIL_ADDRESS>
Have you checked this page:
https://github.com/itinero/routing/wiki/Profiles
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/itinero/routing/issues/34#issuecomment-265711428, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABtMQWspCzgodvpRTPyrTyvwvRcQOL3zks5rF-DggaJpZM4LEc1T
.

--
Alessandro Cavalieri

No, the profile whitelist has to contain all routing-related tags, the meta-whitelist a collection of meta-data like streetnames and so on. These two are treaded differently because the first affect routing, the second just contain passive data.
When you combine profiles, these lists are combined too. Profile whitelist from profile1 and profile whitelist from profile2 are combined...

Ok. thanks.


Comaptability with Cucumber 2.0+

Updated gem to work with new cucumber 2.0 functionality. Updated tests. Everything seems to be passing. I didnt bump version or anything. Ill leave that up to you if you want to roll it in.

LGTM

yeah, that was my fault. These repairs will work for version 2.0 of cucumber. Just found out that we will need to fix again for 3.0, but that will be a separate commit


Evaluate ohai_plugin_enabled in the source recipe

Description
The changes from #457 only apply this for the package recipe / install_method.
This pull request also applies this in the source recipe / install_method
Issues Resolved
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Thanks


GetTransaction includeWatchOnly

I have need to access watch only transactions but the GetTransaction function currently passes nil into the btcjson NewGetTransactionCmd constructor (meaning do not return watch only). Is there any objection to a PR exposing the the book in the GetTransaction and GetTransactionAsync parameters?

sounds fine to me.

although we have traditionally used multiple functions when optional parameters can be passed, in this case we'd need to do the same. don't change the signature of GetTransaction(Async).

This issue was moved to btcsuite/btcd#1004


Request has no response data

I use java project, which can be accessed normally in other channels, but I can't return response in postwoman.

Please tell how to reproduce the bug?

I use Java springboot project and nginx proxy to local domain name.
Should it be a matter of proxy?
server {
  listen       80;
  server_name  platform-services.me;

  location / {
    proxy_pass   http://<IP_ADDRESS>:7019;
  }
}

Were there any errors in the console?

Were there any errors in the console?

I see, just cross domain problem.

I can't reproduce the issue with any other URL. Please share public share URL (current URL of PW's state).


Fix: line height issues of button

Details

Allow the Text component to override the default line-height.
Removed the Line-height from Button Text to vertically center any size button.

Fixed Issues

$ https://github.com/Expensify/App/issues/5333
Tests | QA Steps

Create a workspace.
Enter Expensify Card tab.
See the "Get Started" and "Help" buttons are properly aligned on the vertical axis.

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web | Desktop

Mobile Web

iOS

Android

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @chiragsalian in version: 1.1.1-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@parasharrajat @chiragsalian is it ok if we test this with the "Manage Cards" button?

Yeah @isagoico with any button in the app.

🚀 Deployed to production by @timszot in version: 1.1.2-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


feat: attribute JLC_ROTATION is added to the angle field in the CPL file

Since JLCPCB's pin 1 angle position isn't very consistent, I thought it would be useful if the script automatically modifies the angle within a project.
If a part has an attribute named "JLC_ROTATION", the angle in the CPL file will be rotated accordingly.
I also added "LCSC" as well as "LCSC_PART" for extracting the LCSC part number, and The README file has also been updated.
Feel free to modify the files before merging.

Thank you for your contribution!


Error message when starknet-class-hash command do not work as expected

can you also wrap other places where we invoke starknet cli

can you also wrap other places where we invoke starknet cli

Other places are already wrapped, eg.
I'm not sure that those cases errors are always because of an old starknet version


Auto Nong GD

Song Name
Lost (XVA Remix) x World Cup Mashup
Artist Name
AidanTR
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=FsiXaDwrTWg
Direct File Link
No response
Song ID
945695
Extra
27960100 - Slaughterhouse

slaugtherhouse's song starts with a delay of like 40 seconds iirc. so the youtube song has to have an into of 40 seconds of silence.. so that means it will not sync :(

It does have delay, but the nong doesn't show it
On Fri, 31 May 2024, 22:43 Flafy, @.***> wrote:

slaugtherhouse's song starts with a delay of like 40 seconds iirc. so the
youtube song has to have an into of 40 seconds of silence.. so that means
it will not sync :(
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/38#issuecomment-2143018053,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BI3LXIC7ZYFCC3LJ6DXLDE3ZFDVHFAVCNFSM6AAAAABITHDSMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGAYTQMBVGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Schemas/Journal: FSSAllBodiesFound

It is proposed that the FSSAllBodiesFound event be allowed in the Journal schema.
Please discuss any objections, caveats or possible problems with this.

Augmented with StarPos I'd imagine.

As per current policy this events should not be added to the journal schema, but instead to its own schema.

Augmented with StarPos I'd imagine.

I'm not actually sure it's needed in this case.  There should always have been other events beforehand to give this data for the cited SystemAddress.
@spansh @AnthorNet @clonedArtie any comment ?  You're the main consumers of such.

Since we can't guarantee when things arrive in EDDN from the players (some producers retain certain events but not others), I'd always prefer anything referring to a system patched in id64, name and coordinates.

Since we can't guarantee when things arrive in EDDN from the players (some producers retain certain events but not others), I'd always prefer anything referring to a system patched in id64, name and coordinates.

I can accept that (and grumble a little as EDMC maintainer, because this always means it's the EDDN sender end that has to do that sort of state tracking).

I can see the use of it, it already carries SystemName, SystemAddress and Count, augment it  with StarPos and you get a count of all bodies in a system.

FSSAllBodiesFound contains a subset of the information in FSSDiscoveryScan
{ "timestamp":"2021-10-24T10:17:47Z", "event":"FSSDiscoveryScan", "Progress":1.000000, "BodyCount":1, "NonBodyCount":1, "SystemName":"LP 658-2", "SystemAddress":7268024198561 }
{ "timestamp":"2021-10-24T10:17:48Z", "event":"FSSAllBodiesFound", "SystemName":"LP 658-2", "SystemAddress":7268024198561, "Count":1 }

FSSAllBodiesFound also implies "Progress": 1.000000

A naive reading of the latest (v32) Journal documentation would suggest that there's no need for this FSSAllBodiesFound schema, as the actually useful information is the Count  field, and that same information should be in FSSDiscoveryScan events, in the BodyCount field.
However, looking back over EDCD Discord to determine why this new schema was proposed at all I've come across some statements from LCU No Fool Like One Canonn R&D :
[ 15:00 ] LCU No Fool Like One Canonn R&D : ScanOrganic and FSSDiscoveryScan are problematic because of fdev bugs.
[ 15:01 ] LCU No Fool Like One Canonn R&D : Both can be generated in the wrong system. ScanOrganic can be thousands of light years from the system it should have appeared in
[ 15:04 ] LCU No Fool Like One Canonn R&D : FSSDiscoveryScan  gets triggered between StartJump and FSDJump as well as after FSDJump.

So, the potential value in this new schema is to have a (more) reliable source for "Total number of bodies in this system".

However, it seems likely LCU No Fool Like One had a brainfart, conflating FSSDiscoveryScan (performed manually by a Cmdr using the Discovery Scanner, so definitely after arrival in a system), with FSSSignalDiscovered.  The latter can indeed appear in a Journal before the jump to the pertinent system has completed.

Thus I'm going to conclude that, given I only opened this issue due to a Discord/EDCD @spansh message citing the event back in July 2021, which is before we added the FSSDiscoveryScan schema, there is no longer any need for this new event/schema, and will close this issue if no-one nay-says that.

{ "timestamp":"2021-12-20T15:37:57Z", "event":"FSSDiscoveryScan", "Progress":0.261145, "BodyCount":6, "NonBodyCount":0, "SystemName":"xdx", "SystemAddress":176274140042027 }
vs
{ "timestamp":"2021-12-20T15:38:47Z", "event":"FSSAllBodiesFound", "SystemName":"xdx", "SystemAddress":176274140042027, "Count":6 }
Seems to be the same..

I just did a test in Odyssey <IP_ADDRESS>0:
{ "timestamp":"2022-01-26T16:20:55Z", "event":"Music", "MusicTrack":"DestinationFromHyperspace" }
{ "timestamp":"2022-01-26T16:21:00Z", "event":"Music", "MusicTrack":"Supercruise" }
{ "timestamp":"2022-01-26T16:21:00Z", "event":"Scan", "ScanType":"AutoScan", "BodyName":"Zeta Doradus", "BodyID":0, "StarSystem":"Zeta Doradus", "SystemAddress":44853889387, "DistanceFromArrivalLS":0.000000, "StarType":"F", "Subclass":9, "StellarMass":1.128906, "Radius":745187648.000000, "AbsoluteMagnitude":4.501938, "Age_MY":744, "SurfaceTemperature":6321.000000, "Luminosity":"V", "RotationPeriod":353717.494272, "AxialTilt":0.000000, "WasDiscovered":true, "WasMapped":false }
{ "timestamp":"2022-01-26T16:21:00Z", "event":"FSSAllBodiesFound", "SystemName":"Zeta Doradus", "SystemAddress":44853889387, "Count":1 }

That's a system I didn't have system map data for beforehand, and only has the single star in it, no other bodies.
So, if a Cmdr arrives in a system they didn't already know, which has literally only the arrival star for bodies (or possibly any other body is also close enough to be autoscanned), then FSSAllBodiesFound will fire after the AutoScan(s) and give useful data in the absence of a honk/FSSDiscoveryScan.

The docs for this schema should probably allow for:

Senders MAY choose to not send an FSSAllBodiesFound event if they know they have just sent an FSSDiscoveryScan event with Progress == 1.0.  But it is not necessary to perform such filtering.

This schema is now present in the beta branch is available for testing on the beta service:
Upload: https://beta.eddn.edcd.io:4431/upload/
Listen: tcp://beta.eddn.edcd.io:9510/


Sample file for GoogleDocs API still uses deprecated oauth2client module

Raising this issue per the instructions at https://google-auth.readthedocs.io/en/master/oauth2client-deprecation.html :
Please update the GoogleDocs API v1 Python sample for extracting text from a document:
https://developers.google.com/docs/api/samples/extract-text?authuser=1
It still uses the deprecated oauth2client module rather than google-auth
Python: 3.8.3
OS: Windows 11

Hi @jesuisme,
Thanks for taking the time to file an issue. Unfortunately our team doesn't directly author all the samples that use google-api-python-client. It looks like the Google Docs API Python quickstart uses google-auth instead of oauth2client. The credential fetching steps should be a drop in replacement for the sample you linked to.
If you encounter samples that have issues, the best way to file issues is to click on the "Send Feedback" button:


Problem Running node authorize.js

I generated an Oauth client ID in the Google interface and placed it in the file credentials.json in the MMM-GoogleCalendar directory.  When I run: node authorize.js, it says:
MMM-GoogleCalendar: Error loading credentials Error: ENOENT: no such file or directory, open '/home/mjw/MagicMirror/modules/MMM-GoogleCalendar/token.json'
I tried cp credentials.json token.json but I got:
MMM-GoogleCalendar: Error loading credentials Error: The incoming JSON object does not contain a client_email field
I'm not sure what else to try now.  If you would please offer some help, I would really appreciate it.  Thank you.

can you edit the credentials.json
it is missing a field
The incoming JSON object does not contain a client_email field
did you provide all the info, and select the right type of credentials?

I did download the credentials but it doesn't have a client_email field.  Should it?
I tried hand editing it to add one but that didn't work
I am doing  OAuth client ID
Also, I put the credentials file as credentials.json in the MMM-Google Calendar dir but it was looking for a token.js

Here the same, these are my outputs:
node@mm:/opt/magic_mirror/modules/MMM-GoogleCalendar$ node authorize.js
(node:193) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
MMM-GoogleCalendar: Error loading credentials Error: ENOENT: no such file or directory, open '/opt/magic_mirror/modules/MMM-GoogleCalendar/token.json'
at async open (node:internal/fs/promises:638:25)
at async Object.readFile (node:internal/fs/promises:1238:14)
at async loadSavedCredentialsIfExist (/opt/magic_mirror/modules/MMM-GoogleCalendar/authorize.js:22:21)
at async authorize (/opt/magic_mirror/modules/MMM-GoogleCalendar/authorize.js:55:16) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/opt/magic_mirror/modules/MMM-GoogleCalendar/token.json'
}
And after "cp credentials.json token.json":
node@mm:/opt/magic_mirror/modules/MMM-GoogleCalendar$ node --trace-deprecation authorize.js
(node:346) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
at node:punycode:3:9
at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:399:7)
at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:338:10)
at loadBuiltinModule (node:internal/modules/helpers:114:7)
at Function._load (node:internal/modules/cjs/loader:1100:17)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
at Module.require (node:internal/modules/cjs/loader:1340:12)
at require (node:internal/modules/helpers:141:16)
at Object. (/opt/magic_mirror/modules/MMM-GoogleCalendar/node_modules/whatwg-url/lib/url-state-machine.js:2:18)
MMM-GoogleCalendar: Error loading credentials Error: The incoming JSON object does not contain a client_email field
at JWT.fromJSON (/opt/magic_mirror/modules/MMM-GoogleCalendar/node_modules/google-auth-library/build/src/auth/jwtclient.js:210:19)
at AuthPlus.fromJSON (/opt/magic_mirror/modules/MMM-GoogleCalendar/node_modules/google-auth-library/build/src/auth/googleauth.js:385:20)
at loadSavedCredentialsIfExist (/opt/magic_mirror/modules/MMM-GoogleCalendar/authorize.js:24:24)
at async authorize (/opt/magic_mirror/modules/MMM-GoogleCalendar/authorize.js:55:16)


Can't get midi example working

Running this in Tidal Cycles and I get black screen:
import Sound.Tidal.MIDI.Context
displayOutputDevices >>= putStrLn
devices <- midiDevices
m1 <- midiStream devices "IAC Driver Bus 1" 1 synthController

m1 $ n "cs5 a4"

from web midi monitoring midi events appear to be working:
Found 1 MIDI input(s)
Connected first input: IAC Driver Bus 1
controller id: 61, value: 63
controller id: 61, value: 60
controller id: 57, value: 63
controller id: 57, value: 60

@fand
note.frag doesn't work too.


Add a warning message to our detach command

@gpang PTAL

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6404/
Test FAILed.

jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6406/
Test FAILed.

jenkins, test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6408/
Test PASSed.

@gpang PTAL

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.1 please


Dijkstra's algorithm should not be O(n^2)

While studying for the cs341 final, it occurred to me that my implementation of Dijkstra is bad and runs in quadratic time. It should be O(n log n) if we use priority queue like we're supposed to. Not super high priority to fix because performance is fast enough in most cases, but adding to to-do list.
Also iOS should be updated as well, of course.

Lol


Can't resize terminal buffers

If I try to resize a terminal buffer I get this error:
E5108: Error executing lua: .../packer/start/smart-splits.nvim/lua/smart-splits/api.lua:64: Vim(normal):Can't re-enter normal mode from terminal mode
stack traceback:
        [C]: in function 'cmd'
        .../packer/start/smart-splits.nvim/lua/smart-splits/api.lua:64: in function 'next_window'
        .../packer/start/smart-splits.nvim/lua/smart-splits/api.lua:116: in function 'at_right_edge'
        .../packer/start/smart-splits.nvim/lua/smart-splits/api.lua:130: in function 'win_position'
        .../packer/start/smart-splits.nvim/lua/smart-splits/api.lua:158: in function 'compute_direction_horizontal'
        .../packer/start/smart-splits.nvim/lua/smart-splits/api.lua:249: in function 'resize'
        .../packer/start/smart-splits.nvim/lua/smart-splits/api.lua:320: in function <.../packer/start/smart-splits.nvim/lua/smart-splits/api.lua:316>

Unable to reproduce, what's your Neovim version?

NVIM v0.8.0-dev+433-g0e8186bdd

Hmm, I can’t reproduce. Please provide a minimal reproducible configuration.

Reproduced using your instructions. Looks like there's a bug in Neovim related to this.
https://github.com/neovim/neovim/issues/4895
I'll look into the feedkeys workaround mentioned in that issue.

I'm not getting this error anymore and I'm now able to resize terminals.
Closing the issue.

Probably was fixed upstream in Neovim.


Config profile

Component
Other (please describe)
Describe the feature you would like

Currently, cli use default config profile to load config. Can it pass argument to load other .toml or merge with foundry.toml? or to load .env in root folder? Using export RPC="" is a little bit annoying.

Usage example:

separate sensitive config with foundry.toml

# env.toml

ETH_RPC_URL="https://eth-goerli.alchemyapi.io/v2/XXXXXX"

# example for forking
forge test --profile env.toml

Additional context
No response

there should exist a --config-path <path> option

Oh, I found it. Some of the cli have that option. Can verify-contract and verify-check support, too?

Oh, I found it. Some of the cli have that option. Can verify-contract and verify-check support, too?

good idea, tracking this in new issue


[Bug] Usually not transforming

About 3/4 of the time it’s not transforming text on mobile. This is in a new sandbox test vault with no other plugins and on the default theme. The popover view stays up after selecting any of the default popkit options and the text usually does not transform.
On a working vault with a lot of plugins, something was happening/conflicting with it where other UI elements like settings Etc wouldn’t open when their icon was selected or open from the command palate until it was disabled.
Cool project though. Let me know if I can help find any bugs.
iPadOS 17.6.1

I just tested it on my iPad (system version 16.1.1, though I don't think the iPad version is particularly important) and couldn't reproduce the issue. I believe I haven't found the correct way to reproduce it.

No worries, I know how these things can be hard to understand without having the hardware there. I should add, this is on the new Insider version of Obsidian that's not out yet so maybe related to that? I'll close the issue and get back if I can find a pattern.


Supporting writing schema metadata when writing Parquet in parallel

Which issue does this PR close?
Closes https://github.com/apache/datafusion/issues/11770
Rationale for this change
The ArrowWriter with it's default ArrowWriterOptions will encode the arrow schema in the parquet kv_metadata, unless explicitly skipped. Skipping is done via ArrowWriterOptions::with_skip_arrow_metadata.
In datafusion's ParquetSink, we can write in either single threaded or parallelized format. When in single-threaded mode, we use the default ArrowWriterOptions and the arrow schema is inserted into file kv_meta. However, when performing parallelized writes we do not use the ArrowWriter and instead rely upon the SerializedFileWriter. As a result, we are missing the arrow schema metadata in the parquet files (see the issue ticket).
ArrowWriterOptions vs WriterProperties
The SerializedFileWriter, along with other associated writers, rely upon the WriterProperties. The WriterProperties differ from the ArrowWriterOptions only in terms of the skip_arrow_metadata and the schema_root:
pub struct ArrowWriterOptions {
    properties: WriterProperties,
    skip_arrow_metadata: bool,
    schema_root: Option<String>,
}

The skip_arrow_metadata config is only used to decide if the schema should be added to the WriterProperties.kv_metadata.
Proposed Solution
Since we have WriterProperties, not ArrowWriterOptions, I focused on solutions which construct the proper WriterProperties.kv_metadata (with or without the arrow schema).
Our established pattern is to take TableParquetOptions configurations, and derive WriterProperties from those. Therefore, I updates those conversion methods to consider arrow schema insertion.
What changes are included in this PR?

add a new configuration ParquetOptions.skip_arrow_metadata
have ParquetSink single-threaded writes, which use the ArrowWriter, respect this configuration
have ParquetSink multiple-threaded writes, which use WriterProperties, respect this configuration
TableParquetOptions => into WriterProperties conversion methods are updated

Are these changes tested?
yes.
Are there any user-facing changes?
We have new APIs:

ParquetOptions.skip_arrow_metadata configuration
replace/deprecate ParquetWriterOptions::try_from(ParquetWriterOptions) and replace with methods which explicitly handle arrow schema

I'll plan to merge this tomorrow unless others would like time to review
Thanks again @wiedld


Upgrade tightenco/collect for Laravel 7 compatibility

What does this PR do?

updates tightenco/collect to latest for Laravel 7
cleans up whitespace
imports Exception in  SparqlClient

Thank you for your help!


Basic basepath support

Added super-basic support of basepath option.
There are two ways to setup a basepath:

Global: <Router basepath="/app">
Single location: useLocation({ basepath: '/app' })

Common example
<Router basepath="/app">
  <Link to="/">Index</Link>
  <Link to="/about">About Us</Link>

  <Route path="/">Index</Route>
  <Route path="/about">About Us</Route>
</Router>

Codecov Report

Merging #94 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   99.43%   99.45%   +0.01%
==========================================
  Files           7        7
  Lines         178      183       +5
  Branches       30       31       +1
==========================================
+ Hits          177      182       +5
  Misses          1        1

Impacted Files
Coverage Δ

use-location.js
100% <100%> (ø)
:arrow_up:

index.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@omgovich Thanks! How far are we from the size limit?

@molefrog
  index.js
  Package size limit has exceeded by 61 B
  Size limit: 1.2 KB
  Size:       1.26 KB

  use-location.js
  Package size limit has exceeded by 50 B
  Size limit: 288 B
  Size:       338 B

@molefrog
  index.js
  Package size limit has exceeded by 53 B
  Size limit: 1.2 KB
  Size:       1.25 KB with all dependencies, minified and gzipped

  use-location.js
  Package size limit has exceeded by 50 B
  Size limit: 288 B
  Size:       338 B with all dependencies, minified and gzipped

I'm going to work on the types and README for this feature.


TS Typings define REGL as a UMD module; regl cannot be used in TS from modules context

I am using regl from a Webpack context so everything is es6 modules by default. Since 1.3.1 on npm doesn't include the typings file, I copied it into my project so that they could be used with the npm installation.
However, the "official" typings are defined as a UMD module, preventing them from being used.
The typings file mentions something about referring to documentation to workaround a supposed issue with ES6 modules not allowing function default exports, but doesn't specify what documentation to read on this. This isn't necessarily true either, export default regl; should work fine within a declared module.

+1 something is weird about the typescript typings.
I have a file that does this:
import reglFactory from 'regl';
// ...
const reglF = reglFactory as createREGL;

and I get the error on the as createREGL syntax
[ts] Cannot use namespace 'createREGL' as a type.

Additionally in VSCode when I right-click on import reglFactory and try to go to the definition, nothing comes up.
I added the regl.d.ts directly into my project in a ext/ folder, and in tsconfig.json I have:
    "typeRoots": [
      "ext/@types",
      "node_modules/@types"
    ]

Tagging one of the awesome devs who typed this: @davschne

Hi, @HybridEidolon and @pconerly. I structured the module as recommended in the TypeScript documentation for declaration files. In brief, because regl exports a CommonJS module, the proper way to consume it is using the pattern:
import REGL = require('regl');

Did you look at the examples? That's how I do it there, and it seems to work.

As to the line "Note that ES6 modules cannot directly export callable functions", that comes from the module template in the TypeScript docs. Yeah, I'm confused about that as well. According to MDN, you can certainly export a function in ES6, and I know I've done so many times.


Auth Management UI also?

Love the idea of this plugin.
Could we have a UI for managing the auth? Eg signout and deletion of user from app?

Hi, this plugin is wrapper of native firebase ui library. I don't think it provides UI for such operations but I'll check in details. Meanwhile you can use logout method for manually logging out. Currently there's no method in plugin for deleting user which I'll add in upcoming updates :)

Hi @giorgio79, I've added a method to delete a user for now. I am not sure how much it'll be helpful to have a UI for managing auth as for most of the operations, it's a matter of calling a single method.
Of course, if you are talking about functionalities like change password then it makes sense to have a UI. I am still not sure if native Android/iOS Firebase UI has something for this. I've closed the issue for now and if I find the way, I'll re-open this :)


Improved: Code to schedule jobs in bulk(#32j3gu0)

Related Issues

Closes #304
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to add changelog entry
Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

Closing as no longer needed.


Permission to bring changes upstream

Hey guys,
You're doing some pretty interesting work on Badger. Kudos!
Curious: Are you guys using Badger at Pingcap?
Also, what license are your changes under? Can the Badger team bring back some of these optimizations that you have done, so we can improve Badger for all users?
Cheers,
Manish (Badger author)

@manishrjain
Thank you for your excellent project.
We use badger in an experimental project, not used in production yet.
The license is still APACHE LICENSE 2.0.
Of course, you can bring the optimizations back to the upstream, just reference our PR or commit link in the backport commit message would be enough.

Thanks, we'll bring some of these optimizations back. If you can point us to the most important ones, that'd be very helpful.
How is Badger's performance in your experiments?

@manishrjain
The most important optimization is the SST format change and table iterator, merge iterator.
The scan performance has improved multiple times, even faster than RocksDB.

Nice. Pointers to some commits?

Those are the related PRs, the earlier ones are more important.
https://github.com/coocood/badger/pulls?utf8=✓&q=is%3Apr+is%3Aclosed+optimize


add support for ghes

Signed-off-by: Marcos Lilljedahl<EMAIL_ADDRESS>

cc @sandzwerg would you give it a try?
You need to set the GHES_* env variables for this to work. Usually the UPLOAD_URL and the BASE_URL should be the same one, but some GHES deployment use different ones.

@sirlatrom mind :eye: one more time? :pray:


[mempool] Give ordering to upstream peers

In order to better utilize upstream peers, we now provide a priority
order between all upstream peers.  This will allow us to simply choose
which peers to send txns to.  Additionally, removed some extra logic
around upstream configs since now there's no need for determining which
networks are for upstream.

Thanks, Greg! 😄 LGTM! 2 high-level questions before I stamp:

Does it make sense to add some unit tests? I'm guessing we don't have anyway to test this prioritization logic yet?

I'll add a unit test to make sure for VFNs, the primary peer is always the validator.

IIUC, you're going to follow this up with a PR that actually uses these prioritized peers? Does it make sense to extend this PR, or will it be too large?

I won't be extending this PR, mostly because from an MVP standpoint, it was to remove upstream config, and simplify / lay the groundwork for future work around peer optimization.  A similar thing will need to be done in State sync (taking into account the scores still and all that fun).  Next thing I'm looking into is the original peer selection in Connectivity Manager so we can cut out the second public interface confusion on the VFNs.

/land


Pip new dependency resolver takes hours

Reproducing the error. Python 3.7.9. Pip 20.3.3
pip install spacy-transformers==0.6.1 tokenizers==0.10.0

To be fair spacy-transformers depends on a version transformers (<=2.9) that depends on a version of tokenizers (<=0.5.2) which is incompatible. But this should just trigger an incompatibility error in due time. Instead pip goes on a cycle of trying an extensive range of dependencies which takes hours.
Running pip install spacy-transformers==0.6.1 tokenizers does not trigger that behaviour
Running pip install -r requirements.txt with the following requirements file
# requirements.txt
spacy-transformers==0.6.1
transformers<=2.9
tokenizers==0.10.0

throws this ERROR quickly
ERROR: Cannot install -r requirements.txt (line 4) and tokenizers==0.10.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested tokenizers==0.10.0
    transformers 2.8.0 depends on tokenizers==0.5.2
    The user requested tokenizers==0.10.0
    transformers 2.7.0 depends on tokenizers==0.5.2
    The user requested tokenizers==0.10.0
    transformers 2.6.0 depends on tokenizers==0.5.2
    The user requested tokenizers==0.10.0
    transformers 2.5.1 depends on tokenizers==0.5.2
    The user requested tokenizers==0.10.0
    transformers 2.5.0 depends on tokenizers==0.5.0
    The user requested tokenizers==0.10.0
    transformers 2.4.1 depends on tokenizers==0.0.11
    The user requested tokenizers==0.10.0
    transformers 2.4.0 depends on tokenizers==0.0.11

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Good news is that the latest spacy-transformers and almost lately tokenizers work well together from the eyes of the pip dependency resolver at least
pip install spacy-transformers==1.0.0 tokenizers==0.9.4 works fine

Yeah, this looks like the specific version of tokenizer in requriements.txt has a conflicting dependency then. So maybe transformers has a strict dependency requirement on an older version of tokenizers then?

We have resolved this by pinning the correct dependencies, will reopen if we experience that problem again


GCController not found on ios

Hello,
just bought a mac and triied to build some project on a fresh install of all latest haxelib and I get a linking error from sdl which is not finding GCController.
I targeted simulator, I don't know if the problem occurs on other target, can't test it yet.
The problem is easy to solve though, all I had to do is adding the GameController.framework to the xcode project.
Thanks

This pull request seems to fix the problem https://github.com/openfl/lime/pull/689.
So if it gets accepted, the problem should be fixed.


docker not available: permission denied

RancherOS Version: (ros os version)
1.1.0
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
in a VM in KVM-qemu
docker ps doesn't work and give me permission denied.
I've read that system-docker was only for docker container within the system... So what should I do? Should I provide you with something like logs or anything ?
I'm a beginner on docker .

So it seems that the container os-docker is restarting every 3 seconds. any idea why it would be in a loophole ?

time="2017-11-22T17:23:13.591442492Z" level=warning msg="Could not get operating system name: Error opening /usr/lib/os-release: open /usr/lib/os-release: no such file or directory"
that's the content of the system-docker.log don't know if it's relevant

Could not load X509 key pair (cert: "/etc/docker/tls/server-cert.pem", key: "/etc/docker/tls/server-key.pem"): open /etc/docker/tls/server-cert.pem: no such file or directory
that's the content of docker.log

there is indeed no files in /etc/docker/tls ... but why whouldn't no files since I didn't make any change to the file structure ...?

no advice then ?

What did you use to start RancherOS? Starting from the ISO doesn't give me a restarting user Docker, what is different in your setup?

it's installed on the disk.  so I just follow the steps which are described  in the forum. What do you need me to show you ?

Did you use the ISO to install it? What command did you use to install it? What cloud-config.yml did you use?

yes the iso.
the install commad that's a good question ^^ ros install something I think ... I should verify but in the meanwhile I have the cloud-config available:
sudo ros config export
EXTRA_CMDLINE: /init
hostname: rancher-node1
rancher:
docker:
tls: true
environment:
EXTRA_CMDLINE: /init
network:
dns:
nameservers:
- <IP_ADDRESS>
- <IP_ADDRESS>
interfaces:
eth*:
dhcp: false
eth0:
address: <IP_ADDRESS>/25
gateway: <IP_ADDRESS>
mtu: 1500
password:
services_include:
kvm-vm-tools: true
state:
dev: LABEL=RANCHER_STATE
wait: true
ssh_authorized_keys:

ssh-rsa

the tls key we speak about here, is it the official key of docker ? which are available at the installation to authenficate the docker version ? or is it private key from our domain ?

You are configuring the user docker to use TLS, but do you supply certificates somewhere?

Okey sorry about that, since several people were taking that into default config, I assume that it was default key of docker generate automatically at the installation and not some customization to make docker instance communicate with outside world.
put sudo ros config set rancher.docker.tls false
should I do something else?
thanks anyway


Debug trait not working correctly

    let mzstr = string::LStrOwned::from_data("etst".as_bytes()).unwrap();
    println!("{:?}", mzstr.0);  // no error
    println!("{:?}", mzstr);    // error Debug not implemented

This is an issue when using LStrOwned as part of a struct that should derive Debug... well for debugging, or for using a HashMap...
I couldn't yet quite identify the root cause, I think it has something to do with the deref and as_ref implementations in the type "chain".

This is probably because Debug needs implementing on LvOwned and perhaps UHandle.
It probably wants to print like a tuple so you get an output of OwnedHandle(Inner) or UHandle(Inner). A simple derive will probably give this

in my testing I made sure that all the types in the chain had a derive or a manual implementation.
Best Regards
Johannes
sent from mobile
--
NuFlo s.à r.l.
physics. engineering. solutions.
Dr.- Ing. Johannes KNEER
general manager / CTO
Mobil: +352 621 530 008
<EMAIL_ADDRESS>https://nuflo.eu/
NuFlo s.à r.l., 50 Am Kiem, L-8538 Hovelange, LUXEMBURG
RCS: B255344  -  Autorisation: 10126931 /0 /1  -  TVA: LU33076440

From: James McNally @.>
Sent: Saturday, July 13, 2024 10:55:37 AM
To: WiresmithTech/Rust-LabVIEW-Interop @.>
Cc: Johannes Kneer @.>; Author @.>
Subject: Re: [WiresmithTech/Rust-LabVIEW-Interop] Debug trait not working correctly (Issue #31)
This is probably because Debug needs implementing on LvOwned and perhaps UHandle.
It probably wants to print like a tuple so you get an output of OwnedHandle(Inner) or UHandle(Inner). A simple derive will probably give this
—
Reply to this email directly, view it on GitHubhttps://github.com/WiresmithTech/Rust-LabVIEW-Interop/issues/31#issuecomment-2226827664, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AULCTB5ROT6GQ45CYTCM3OTZMDTQTAVCNFSM6AAAAABKZUAFUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWHAZDONRWGQ.
You are receiving this because you authored the thread.Message ID: @.***>

OK I see what has happened here:

LvOwned lacked a debug implementation. I've added that.
But you are trying to print the internal type, you need to dereference the handle first to do this so it look like this:

 fn print_value(handle: UHandle<i32>) {
   println!("{}", *handle);
 }

I think that is not solving it, cannot verify further but when I do:
#[derive(Debug)]
pub struc {
var1: ...
var2: LvOwned<LStr>,
...
}

I get a lint on var2 complaining about the missing implementation.


Split PAPI into 3 code modules and make user import from just one of them

Divide PAPI (which contains code that does/should run only in the renderer, code that does/should run only in the extension host, and code that can run in any TS/JS context) into 3 modules.  The shared module will likely serve only as a base for the other two modules that are focused on the renderer and extension host.  Then extension developers will either import papi designed the renderer or the extension host.  The individual imported modules should only have properties that are valid for that context.

This is marked "External Extension Ready" because if we do it later, we know this will be a breaking change for all extensions.

There is a branch 172c-dts-bundle-generator that attempted to use the dts-bundle-generator package (currently used in papi-components) to generate the papi.d.ts file. The branch mostly works but there are still a few errors in the papi.d.ts file to fix:

Unfortunatley, the fixes for these started heading us in a direction that might make our ability to generate it fragile on how source items are written. Given this work was somewhat outside the scope of this issue anyway I haven't persued it further at this time. This initial work on the branch 172c-dts-bundle-generator might be useful for #166 and #175.


Documentation for webhooks

The sample payloads for the various webhooks don't appear to be up-to-date.  For example, the Sent example is using status where it should be event.  The MessageBounced example is missing event, timestamp etc, as well as the wrapping payload key.

Or perhaps it's just that the event, timestamp and payload keys are missing in the samples, and what you're showing is just the inner contents of payload?  Either way, it's confusing, and more complete samples are probably warranted.

Additionally, it would be much appreciated if we could have all the event types (mentioned in the Postal UI) similarly documented.


[FEATURE REQUEST] Being able to save the same bookmark to multiple collections

Hi
Being able to save the same bookmark to multiple collections would be really useful because some bookmarks fall into different categories and the only way to assign them multiple categories is by using tags, which are good, but in many workflowd like mine, just adding bookmarks to different collections bring less friction.
I'm talking being able to add them to different collections, but not as copy, but as an instance of the same bookmark.
Thanks.

Please add feature requests here https://better.raindrop.io/