Update Composer dependencies (2022-02-09-00-09)

Visual regression test passed!
View the visual regression test report


refactoring matcher

drop keys arg pathToRegexp function
simplify getRegexp function

Codecov Report

Merging #42 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #42   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         103    102    -1
  Branches       25     24    -1
=====================================
- Hits          103    102    -1

Impacted Files
Coverage Δ

matcher.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 4f4d990...71be5f9. Read the comment docs.


adding reopen_duration feature

A new feature that was necessary for my use case while trying to keep the original functionality in place.
Added functionality so the user can set the number of days to determine whether a ticket with same labels should be re-opened or recreated. If the new value introduced is set to 0, it will keep the original functionality of re-opening the same ticket.
I have tested this over couple of months and it is working as expected in my use case.

Oh, and one more issue: the Travis CI build is failing because of a deprecated (due to your updating the go-jira dependency) way of authenticating with JIRA. The fix appears to be straightforward, according to the go-jira readme.
And thanks for contributing. I should have started with that.

Included the recommendations suggested. Also made couple of minor changes in other places:

line 95 in notify.go - I needed the component to be read from the template so I modified the code to allow that
line 219/223 on notify.go I made a new pointer and repointed because the value of the pointer was getting lost previously and the ticket number would never print out


Allowing @suppressWarnings

This commit brings the suppress warnings annotations into line with other
common PHP annotations, allowing the first letter to be lowercase  so that
both upper @SuppressWarnings and lower @suppressWarnings camel case are
accepted.

Thank you, @choult


Code enhancements and test data for file mode geoid interpolation

This pull request provides some minor enhancements to geoid and includes two sample test datasets and test coverage scripts for file mode geoid interpolation (via the --text-file arg option)

Codecov Report

Merging #89 (322e75e) into master (e4f85c7) will increase coverage by 0.66%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
+ Coverage   59.84%   60.50%   +0.66%
==========================================
  Files         117      117
  Lines       33946    33948       +2
==========================================
+ Hits        20314    20541     +227
+ Misses      13632    13407     -225

Impacted Files
Coverage Δ

...just/dynadjust/dnageoidwrapper/dnageoidwrapper.cpp
64.30% <66.66%> (+4.61%)
:arrow_up:

...t/dynadjust/dnaadjustwrapper/dnaadjustprogress.cpp
50.82% <0.00%> (-1.11%)
:arrow_down:

dynadjust/include/functions/dnastrmanipfuncs.hpp
71.42% <0.00%> (+1.68%)
:arrow_up:

dynadjust/include/functions/dnastringfuncs.cpp
96.15% <0.00%> (+3.84%)
:arrow_up:

dynadjust/dynadjust/dnageoid/dnageoid.cpp
43.57% <0.00%> (+14.00%)
:arrow_up:

dynadjust/include/exception/dnaexception.hpp
33.33% <0.00%> (+14.81%)
: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 e4f85c7...322e75e. Read the comment docs.


adding ENTRP as token

Hello Taylor and Team - I'm adding our token following a successful crowdsale last year;
https://hut34.io/ is the website<EMAIL_ADDRESS>is the support address, https://t.me/hut34 is the Telegram Group.
The Entropy token (ENTRP) powers the Hut34 Network, building a marketplace for data where bots, IoT devices, A.I. instances and even people, through which you can connect, route, resolve and monetise queries.
My name is Peter, a co-founder, and my email is<EMAIL_ADDRESS>Good luck settling down after your recent bumps and bashes, and purely as a user and beneficiary of your outstanding work, many thanks!
best,
Peter.

Hey I'm in the process of updating all the tokens across the various lists right now. I'll make sure you're in and it should be live on the site tomorrow. :)


Automatically set column-width to "fit" data

Is this already a feature in the project, or is there a pattern you would suggest, that would make it so the columns of the generated spreadsheet "fit" their largest piece of data?  This same behavior can be achieved in Excel by double-clicking on the right-hand edge of a column-header (after it turns into the resize cursor).
I'm positive that I will be able to get this result using the methods you've already provided in the API, but I figured I'd ask if you had any suggestions first before I start getting into it.
Thanks!

That's a tricky one. Excel renders the text (including formatting, font size/family, word wrapping, etc.), finds the largest rendered width, and then just sets the column width to that size. Since xlsx-populate doesn't do rendering that's not possible.
Given the wide range of rendering options there isn't a general solution to the problem, but here is a pattern that should work. You basically need to iterate through all the cells in the column, count the number of characters in each cell, find the max length cell and then set the width based on that. Something like this:
const maxStringLength = sheet.range("A1:A20").reduce((max, cell) => {
    const value = cell.value();
    if (value === undefined) return max;
    return Math.max(max, value.toString().length);
}, 0);

// For the default font settings in Excel, 1 char -> 1 pt is a pretty good estimate.
sheet.column("A").width(maxStringLength);

Awesome!  Thank you so much for the explanation, advice and code example.  Since I can control the font settings, I can always do tweaking to that "1 char -> 1 pt" relationship, if need be.

@dtjohnson Hi. Are there any workarounds how to set row height to fit data?
I change you example a little bit
`const maxStringLength = sheet.range("A1:E1").reduce((max, cell) => {
const value = cell.value();
if (value === undefined) return max;
return Math.max(max, value.toString().length);
}, 0);
// For the default font settings in Excel, 1 char -> 1 pt is a pretty good estimate.
sheet.row(0).height(maxStringLength);
`
But it doesn't work the way I expected. The space between text and cell borders are so big.
Thank you.

Hi @andreidolhaniuk, I created a module @papb/json-excel that converts JSON data to .xlsx, automatically fits cell rows and column sizes to content. Maybe it helps you!

@andreidolhaniuk Hi, were you able to find any workaround for height?

@andreidolhaniuk Hi, were you able to find any workaround for height?

@sentientmachin3 Glad you liked 😄


Improve the mxd test 43 v2

Please describe your PR:

What does this PR introduce?   it will solve the issue raise https://github.com/eclipse-tractusx/tutorial-resources/issues/43
Does it fix a bug?  it will improve the testing performance.
Does it add a new feature?
Is it enhancing documentation? yes

This cover below postman collection
•	Create an asset BOB,
•	Create an asset Alice
•	Create policy BOB,
•	Create policy Alice
•	Create contract def BOB
•	Create contract def Alice
•	Make a catalog request Alice to BOB
•	Make a catalog request BOB to Alice
We have created reuseable workflow for test issue and completed below comments as suggested.
Executing Postman collections before the cluster is created (Completed)
Create test assertions in Postman (Completed)
Create separate Test file for reusable workflow (Completed)
Modify your Terraform workflow YAML file to invoke the test workflow (Completed)
Test locally (Completed)
Test after code push (Completed)
Sample Screen Shot of RUN

Documentation
[Issue 43.docx]
(https://github.com/eclipse-tractusx/tutorial-resources/files/12768709/Issue.43.docx)
Closes #43

furthermore: please don't attach Word documents. This is cumbersome for reviewers, provides 0 additional value, and forces the use of non-OSS tools in an OSS project.
There also is no need to provide a comprehensive list of tasks that you completed. just a quick summary of the PR.

Let me work in suggested points. I will update you @paullatzelsperger

@paullatzelsperger  I have updated the request changes. Kindly check and approve the PR
@hemantxpatel  Kindly let me know if there is any change for same.


“Metric not found or supported” on load tests for GPU indexes

Hello,
I’m attempting to run load tests for a GPU-enabled Milvus cluster and I’ve been using IP as a metric. However, the tests always result in an error that tells me L2/IP are either nonexistent or not supported. The error message indicates that Cosine is being used. Would it be possible to specify the metric type from the UI?
This is the error in full:
RPC error: [create_index], <MilvusException: (code=65535, message=metric type not found or not supported, supported: [L2 IP])>, <Time:{'RPC start': '2024-05-22 00:10:32.288218', 'RPC error': '2024-05-22 00:10:32.300662'}>
2024-05-22 00:10:32,300 | WARNING: pre run case error: <MilvusException: (code=65535, message=metric type not found or not supported, supported: [L2 IP])> (task_runner.py:92) (3138906)
2024-05-22 00:10:32,300 | WARNING: [1/1] case {'label': <CaseLabel.Performance: 2>, 'dataset': {'data': {'name': 'Cohere', 'size': 1000000, 'dim': 768, 'metric_type': <MetricType.COSINE: 'COSINE'>}}, 'db': 'Milvus-default'} failed to run, reason=<MilvusException: (code=65535, message=metric type not found or not supported, supported: [L2 IP])>

Thanks!

@bobtoalice Thank you for bringing this issue to our attention. We appreciate you taking the time to identify this limitation in the GPU Index project.
You're right that the current GPU-Index only supports IP and L2 metrics, but the Cohere / OpenAI datasets (provided by VectorDBBench) rely on Cosine similarity. Performing an additional normalization step to handle this discrepancy is a sensible approach.
I will try to fix this issue as soon as possible, and let you know once it's done.

@bobtoalice The latest code has resolved it. We will publish the updated version to PyPI soon. In the meantime, you can test the changes using the following steps.
git clone https://github.com/zilliztech/VectorDBBench.git
cd VectorDBBench
pip install -e ".[test]"
init_bench


Ipv6 privacy extensions

Motivation for this change
#56306
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test ipv6

I figured out how to make both works by adding a second udev rule:
diff --git a/nixos/modules/tasks/network-interfaces.nix b/nixos/modules/tasks/network-interfaces.nix
index e14cafa9b12..1a13e386947 100644
--- a/nixos/modules/tasks/network-interfaces.nix
+++ b/nixos/modules/tasks/network-interfaces.nix
@@ -1089,12 +1089,22 @@ in

     services.udev.packages =  [
       (pkgs.writeTextFile rec {
-        name = "99-ipv6-privacy-extensions.rules";
-        destination = "/etc/udev/rules.d/99-${name}";
+        name = "ipv6-privacy-extensions.rules";
+        destination = "/etc/udev/rules.d/98-${name}";
         text = ''
+          # enable and prefer IPv6 privacy addresses by default
           ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.procps}/bin/sysctl net.ipv6.conf.%k.use_tempaddr=2"
         '';
-      }) ] ++ lib.optional (cfg.wlanInterfaces != {})
+      })
+      (pkgs.writeTextFile rec {
+        name = "ipv6-privacy-extensions.rules";
+        destination = "/etc/udev/rules.d/99-${name}";
+        text = concatMapStrings (i: ''
+          # enable IPv6 privacy addresses but prefer EUI-64 addresses for ${i.name}
+          ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.procps}/bin/sysctl net.ipv6.conf.${i.name}.use_tempaddr=1"
+        '') (filter (i: !i.preferTempAddress) interfaces);
+      })
+    ] ++ lib.optional (cfg.wlanInterfaces != {})
       (pkgs.writeTextFile {
         name = "99-zzz-40-wlanInterfaces.rules";
         destination = "/etc/udev/rules.d/99-zzz-40-wlanInterfaces.rules";
diff --git a/nixos/tests/networking.nix b/nixos/tests/networking.nix
index ed9f287d558..949d946bdc4 100644
--- a/nixos/tests/networking.nix
+++ b/nixos/tests/networking.nix
@@ -510,7 +510,7 @@ let
           '';
         };
       };
-      nodes.client = { pkgs, ... }: with pkgs.lib; {
+      nodes.clientWithPrivacy = { pkgs, ... }: with pkgs.lib; {
         virtualisation.vlans = [ 1 ];
         networking = {
           useNetworkd = networkd;
@@ -522,21 +522,39 @@ let
           };
         };
       };
+      nodes.client = { pkgs, ... }: with pkgs.lib; {
+        virtualisation.vlans = [ 1 ];
+        networking = {
+          useNetworkd = networkd;
+          useDHCP = true;
+          interfaces.eth1 = {
+            preferTempAddress = false;
+            ipv4.addresses = mkOverride 0 [ ];
+            ipv6.addresses = mkOverride 0 [ ];
+          };
+        };
+      };
       testScript = { ... }:
         ''
           startAll;

           $client->waitForUnit("network.target");
+          $clientWithPrivacy->waitForUnit("network.target");
           $router->waitForUnit("network-online.target");

           # Wait until we have an ip address
+          $clientWithPrivacy->waitUntilSucceeds("ip addr show dev eth1 | grep -q 'fd00:1234:5678:1:'");
           $client->waitUntilSucceeds("ip addr show dev eth1 | grep -q 'fd00:1234:5678:1:'");

           # Test vlan 1
+          $clientWithPrivacy->waitUntilSucceeds("ping -c 1 fd00:1234:5678:1::1");
           $client->waitUntilSucceeds("ping -c 1 fd00:1234:5678:1::1");

           # Test address used is temporary
-          $client->waitUntilSucceeds("! ip route get fd00:1234:5678:1::1 | grep -q ':[a-f0-9]*ff:fe[a-f0-9]*:'");
+          $clientWithPrivacy->waitUntilSucceeds("! ip route get fd00:1234:5678:1::1 | grep -q ':[a-f0-9]*ff:fe[a-f0-9]*:'");
+
+          # Test address used is EUI-64
+          $client->waitUntilSucceeds("ip route get fd00:1234:5678:1::1 | grep -q ':[a-f0-9]*ff:fe[a-f0-9]*:'");
         '';
     };
     routes = {

This patch also updates the test to check both cases.

Oh, good catch! Thanks.

Soo, can we merge this?


Link to Higher Vocational School Nova Gorica

WHOIS link: https://www.whois.com/whois/tscng.org
Official page of the school: https://vss.scng.si/

@BineBolcina file/lib/domains/org/tscng.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

I apologize, i will create a new pull request with the correct file path.


[Skype] AudioCard audio URL not actually working on macOS & Android

Bot Info

App ID: c9391606-842e-44a1-a466-28da1d9d7c46
SDK Platform: REST API
SDK Version: N/A
Active Channels: Skype, Cortana
Deployment Environment: AWS Elastic Beanstalk

Issue Description
AudioCards in Skype (macOS) do not play the audio. I click the play button (which I shouldn't have to do, since I have autostart set to true), it just spins. When I try to play the audio on Skype for Android, the app just crashes.
JSON Example
{
  "type": "message",
  "topicName": null,
  "timestamp": "2017-12-08T22:11:29.690Z",
  "textFormat": null,
  "text": "Hey Example",
  "summary": null,
  "speak": "Hey Example",
  "serviceUrl": null,
  "replyToId": "11111111",
  "recipient": {
    "id": "default-user"
  },
  "membersRemoved": null,
  "membersAdded": null,
  "locale": null,
  "inputHint": "expectingInput",
  "id": "232222222",
  "historyDisclosed": null,
  "from": {
    "name": "Bot",
    "id": "222222222"
  },
  "entities": null,
  "conversation": {
    "name": null,
    "id": "333333333"
  },
  "channelId": "skype",
  "channelData": null,
  "attachments": [
    {
      "contentUrl": "http://www.wavlist.com/movies/004/father.wav",
      "contentType": "application/vnd.microsoft.card.audio",
      "content": {
        "media": [
          {
            "url": "http://www.wavlist.com/movies/004/father.wav",
            "profile": "audiocard"
          }
        ],
        "image": {
          "url": "https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png"
        },
        "autostart": true,
        "autoloop": false
      }
    }
  ],
  "attachmentLayout": null,
  "action": null,
  "localTimestamp": "2017-12-08T16:11:29-06:00"
}

Log
Reproduction Steps

Talking to my bot should always return an AudioCard, and it doesn't work.

Expected Behavior
Audio button should actually play the audio.
Actual Results
Audio doesn't play, just spins.

I think this is a known issue with the Skype mobile clients.

@deybhayden Here's what's happing - Skype requires HTTPS for media URLs - but the demo URL from wavlist.com doesn't support HTTPS.
Try another media URL that is available over HTTPS and it should work.
Relates to #2708

I tried this URL, and it does not work: https://ccrma.stanford.edu/~jos/wav/bachfugue.wav. Also, tried MP3 files on a HTTPS CDN and they don't work either - just spinning when I hit play.

Thanks for the update @deybhayden  - I will investigate further.

Any more info on this issue? Would love to have AudioCards as advertised, they'd be perfect for my bot.

Please open a new issue if you still need assistance on this.


How to publish data between Node.js modules?

Hello, I have two node modules (A & B).
In Node module A I have a Class A which defines the following:
module_a\ClassA.js
ClassA.prototype.postEvent = function() {
  postal.subscribe({
    channel: "my-channel",
    topic: "my-topic",
    callback: function(data, envelope) {
      console.log('Received data in Module A.', data, envelope);
    }
  });

  postal.publish({
    channel: "my-channel",
    topic: "my-topic",
    data: {
      text: 'Hello World!'
    }
  });
}

As you can see, Class A subscribes to a topic and then publishes data for this specific topic.
Now I want to subscribe to the same topic in module B (which initiates Class A from module A):
module_b\app.js
var ModuleA = require('module_a');
var postal = require('postal');

postal.subscribe({
  channel: "my-channel",
  topic: "my-topic",
  callback: function(data, envelope) {
    console.log('Received data in Module B.', data, envelope);
  }
});

var classA = new ModuleA.ClassA();
classA.postEvent();

Unfortunately, the subscription of Module B doesn't get invoked when calling classA.postEvent();. Only Class A's subscription gets invoked.
Can you tell me what I am doing wrong? Do I have to take care of something additional when publishing events for other Node.js modules?

@bennyn - quick question, are both modules pulling in the same version of postal? (i.e. - are these separate npm modules that have different version ranges of postal in their package.json?)

@ifandelse That was exactly the issue!
I declared postal in the package.json files of both modules. But because ModuleB is using ModuleA, it receives postal already as transitive dependency from ModuleA, so I don't need to declare postal as dependency again in the package.json file of ModuleB (in fact this causes problems, having both modules using different postal instances).
Thank you for your help! Now I am eagerly waiting for postal v2.0.5. 😃
Thumbs up and keep the good work!
Will close this issue here as solved. 👍


iOS 14b7 crash on launch

When running on iOS 14 beta7 my app crashes on launch with the following exception:
-[MBBKnuff advertiser:didNotStartAdvertisingPeer:]: unrecognized selector sent to instance 0x2818c6560
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[MBBKnuff advertiser:didNotStartAdvertisingPeer:]: unrecognized selector sent to instance 0x2818c6560'

The problem is that Knuff.m files is missing the optional delegate method for MCNearbyServiceAdvertiserDelegate
-(void) advertiser:(MCNearbyServiceAdvertiser *)advertiser didNotStartAdvertisingPeer:(NSError *)error
{
}


Automated cherry pick of #7525

Cherry pick of #7525 on release-2.8.
/cc  @amyblais
NONE

Assigning Elias as I don't have merge permissions.


Eve cluster part2: Add EveWeather attributes

Add Class attribute for Eve Cluster (EveWeather device):

Altitude
Pressure

HA core PR: Add EveWeatherPressure attribute #123565

And finally, you also need to adjust it here:
https://github.com/home-assistant-libs/python-matter-server/blob/1c3814722070295bfb349bb50b4fc81a8b7b3e1a/matter_server/common/custom_clusters.py#L88

Fixed.

Working fine with 6.5.0 BETA 1 version:


Update heroku buildpack vips

https://github.com/vsh91/heroku-buildpack-vips#usage

@vsh91 I've checked it on my stepan-host staging, works good - I've created a listing with images, image versions have been created, webp converted to jpeg.


Re-activated test with random values

Re-activated the test that performs multiple random sorts and compares against std's sort.
I decreased the size of of the arrays to keep the tests fast. I think that the test is really useful. Related to https://github.com/apache/arrow/pull/9602 .

Codecov Report

Merging #2 (105b7eb) into master (f663e81) will increase coverage by 1.50%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #2      +/-   ##
==========================================
+ Coverage   80.39%   81.89%   +1.50%
==========================================
  Files           1        1
  Lines         102      116      +14
==========================================
+ Hits           82       95      +13
- Misses         20       21       +1

Impacted Files
Coverage Δ

src/lib.rs
81.89% <100.00%> (+1.50%)
: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 f663e81...105b7eb. Read the comment docs.

I comment on it because I don't want to introduce the rand crate.
I did not find the way to make rand only work in dev-dependencies.
My IDE suggested me to add crate rand.
At last, I found there is an option.
edition = "2018"

I just noticed the miri test is failed. But no detailed error logs, is that issue about partial_sort or miri?
running 5 tests
test tests::empty_test ... ok
test tests::single_test ... ok
error: test failed, to rerun pass '--lib'

Caused by:
  process didn't exit successfully: `/usr/share/rust/.rustup/toolchains/nightly-2021-01-19-x86_64-unknown-linux-gnu/bin/cargo-miri /home/runner/work/partial_sort/partial_sort/target/x86_64-unknown-linux-gnu/debug/deps/partial_sort-bf79b09649087c3d --nocapture` (exit code: 255)
make: *** [Makefile:5: miri] Error 255
test tests::sorted_random_u64_test ...
Error: Process completed with exit code 2.


Broken links in v3 docs. Need versioned docs

Versions

gatsby-source-prismic: v3

Reproduction

Visit the following link:
https://github.com/prismicio/gatsby/tree/v3
Try to click the following links:

Migrating from v2 to v3
Previews

The links go to 404 pages.
Additional Details
We need to have some versioned documentation for this source plugin. We have clients still on v3 and we cannot upgrade them to v4 at the moment. For example, we need to do some debugging withUnpublishedPreview and without the v3 docs it's hard to understand how it was originally intended to operate.
It would be really great to see versioned docs similar to how Laravel works.
Steps to reproduce
As noted above
What is expected?
Working links.
What is actually happening?
Links go to 404 page.

@greatwitenorth Thanks for catching the broken links. I've updated the docs in the v3 branch to use the correct URLs. Can you let me know if this fixes the issue you had?
Re: versioned docs - Documentation will be on Prismic's site going forward. Versioning the technical documentation (this page for example) is currently being worked on.
I don't have an estimate when it will be ready, but hopefully it will be before the next minor version change.


Use SBOM descriptor version

Fix lack of version info when Syft is used a library.

Format
Pass/Fail
Notes

syft-json
🟢

cyclonedx-xml
🟢

cyclonedx-json
🟢

github-0-json
🟢
Reports 0.0.0-dev

spdx-tag-value
🟢

spdx-json
🟢

table
🟢
N/A

text
🟢
N/A

Fix: https://github.com/anchore/syft/issues/1010
Signed-off-by: Jonas Xavier<EMAIL_ADDRESS>

didn't get to this before the merge, can we add some explicit tests to ensure we grab the version from the descriptor and not the lib approach (so not lean on snapshot tests here)?


feat: getPositionalPointerNormalized method

Signed-off-by: ankitjena<EMAIL_ADDRESS>Add getPositionalPointerMethod and tests.

The build's still failing due to the force push.


Hard to access navigation items in mobile nav

Summary
Introduce hamburger menu to make navigation more accessible
Steps to reproduce
Use mobile view port
A link to a reproduction repository
No response
Output from envinfo
No response

Please assign.

How about implement menu from the navbar from official Tailwind CSS set of components? I think it would be good solution. I propose to put a mobile menu toggle on the right side of the navbar after link to cart.


HomeKit not showing individual zones

I had zero issues with this wonderful plug-in until recently. All of a sudden, I am seeing blank space where the individual switches for each sprinkler zone used to show up. See below image. Any thoughts? Thanks!!

I am seeing the same thing and it seem hit or miss with Apple. I am not sure what changed or what if anything I can do with the plugin. But I will be looking into it.

Thanks @valiquette!

Daniel M. Fein
Tel:<PHONE_NUMBER>
Email: @.***

On Apr 19, 2022, at 12:06 PM, valiquette @.***> wrote:

I am seeing the same thing and it seem hit or miss with Apple. I am not sure what changed or what if anything I can do with the plugin. But I will be looking into it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Seems to be a wide spread issue with irrigation system and not just this plugin. I did find a note from someone else that if you long press the tile, not just click it will display correctly and that seems to work for me. Which make sense to now to my earlier comment that it maybe hit or mis.

Thanks. That doesn’t work for me but thanks! Probably an iOS 14.1 update related issue?

From: valiquette @.>
Sent: Tuesday, April 19, 2022 4:54:57 PM
To: valiquette/homebridge-rachio-irrigation @.>
Cc: dfizzo @.>; Author @.>
Subject: Re: [valiquette/homebridge-rachio-irrigation] HomeKit not showing individual zones (Issue #41)
Seems to be a wide spread issue with irrigation system and not just this plugin. I did find a note from someone else that if you long press the tile, not just click it will display correctly and that seems to work for me. Which make sense to now to my earlier comment that it maybe hit or mis.
—
Reply to this email directly, view it on GitHubhttps://github.com/valiquette/homebridge-rachio-irrigation/issues/41#issuecomment-1103157143, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT52XE24RGTNMUSUK2IBMZ3VF4MSDANCNFSM5TZGETFQ.
You are receiving this because you authored the thread.Message ID: @.***>

I too am seeing this with this plugin as well as the native rachio integration. Seems like an Apple issue.

Fixed in IOS 16

Hello - I am seeing this issue again in iOS 16.5.  I only see one tile for the sprinkler.  The only way to see each zone is tape the tile.  Is that the current work-around?

I am not sure exactly what you are asking about. By default there should be one tile, tap to show all zones. Alternately in the plugin setting you can turn off show as irrigation. Then in homekit show as separate tiles.
When you did the 16.5 update did you do the home app update too?

I am not sure exactly what you are asking about. By default there should be one tile, tap to show all zones. Alternately in the plugin setting you can turn off show as irrigation. Then in homekit show as separate tiles.
When you did the 16.5 update did you do the home app update too?

Thank you.  It appears to be working as designed.  I am on 16.5 and have done the Home app update when it first came out.


What should be the schema for a non json log text file

Hi @fulmicoton
I want to index and benchmark a text file containing millions of logs with each line having this structure
[Thu Jun 09 06:07:04 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK

How can I define the schema for this file given schema is must with tantivy

Non-JSON is not supported in tantivy cli
The docs for tantivy (which does not have this limitation) are here:
https://docs.rs/tantivy/latest/tantivy/


Reporter should be 'dominant' or don't write to log anything but teamcity commands

CLI reporter is dominant. It means if there are two dominant reporters they will fight against each other and make output almost useless.
// Mark the CLI reporter as dominant, so that no two dominant reporters are together
PostmanCLIReporter.prototype.dominant = true;

I can't use -r cli,teamcity together - common output is awful. I need teamcity diagnostics (start/stop/success/failure) in 'real time' while everything else I can read from cli output in a pretty form.

Thanks for pointing this out, I've fixed this issue in v0.1.6.


various fixes to make things work

@jhamman
@kwilcox
@czender
Please review mods
ncks - Shell commands not working at all
fixed this by setting use_shell=True by default in get()
Some of the option args to ncap2 need to be enclosed with single or double quotes
shlex.split was removing these quotes
fixed by using the original
cmd.extend(str.split(option))
The nco operators ncks, ncatted, ncap2, ncrename can function with a single input file and
have no need of a temporary file. Have addressed this by making a list of these
self.SingleFileOperatorsPattern = ["ncap2" , "ncatted", "ncks", "ncrename"]

@hmb1 why does this PR fail the Travis tests? Normally we would not accept a PR that introduces regressions. If the tests are faulty (false-positives) please fix the tests.

From what I can tell many (maybe all?) of these fixes seem to be in the code. Is this still outstanding?

That's possible. We failed to document progress on this merge. It seems stale now so I'll close it because @hmb1 does not seem interested in pursuing it.


[SPARK-47081][CONNECT][TESTS][FOLLOW-UP] Skip the flaky doctests for now

What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/45150 that skips flaky doctests.
Why are the changes needed?
In order to make the build stable.
Does this PR introduce any user-facing change?
No, test-only.
How was this patch tested?
CI in this PR should verify it.
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master - as it recovers the CI. It's pretty flaky.


Use Unicode emoji for crates.io compatibility

This makes the emoji show up on https://crates.io/crates/wtransport .

Nice thanks!


Apply new naming convention to PUDL assets

Pending approval of the design doc, we should actually apply the naming convention
Scope is placeholder, to be fleshed out on design doc completion.
## Scope
- [ ] https://github.com/catalyst-cooperative/pudl/issues/2777
- [ ] https://github.com/catalyst-cooperative/pudl/issues/2788
- [ ] https://github.com/catalyst-cooperative/pudl/issues/2868
- [x] Add warnings to PudlTabl
- [ ] https://github.com/catalyst-cooperative/pudl/issues/2812
- [x] Run a full nightly build before merging into dev
- [x] Double check everything has been renamed... see #3052
- [ ] https://github.com/catalyst-cooperative/pudl/issues/3030
- [ ] Update table names in kaggle notebooks, pudl-example notebooks currently don't work so don't worry about updating them
- [ ] https://github.com/catalyst-cooperative/pudl/pull/3073

Hey @jdangerx! I was thinking about breaking up the work into two PRs off of dev:

Rename the raw and intermediate core assets
Rename the user-facing tables and documentation

I could also rename the user-facing tables in separate PRs to avoid a monster PR though the table names on dataset and s3 will follow different naming conventions during the conversion. This might be fine given the tables already follow different conventions! I could start with the output tables because we have a disclaimer that the current names are temporary and finish with the core tables which most users likely rely on. What do you think?

I think splitting this into:

raw_, _core
core
_output, output (I guess you could put the _output as a separate PR earlier in the process, since it's also hidden from users)

Makes sense to me! I'm OK with having discrepancies on datasette vs. S3 since we're pretty clear about the nightly builds being unstable.
I like doing the non-user-facing stuff first as practice for the user-facing stuff - we can see what breaks when we try to publish the data with the new names, before it breaks stuff for more important tables...
I think it's a good idea to move as much stuff from output into _output as possible, before we make output tables accessible to the public. Putting something in output is basically a promise to users that it will stay there - we can always "promote" _output tables to output. Same for core, really, though I think we have less leeway there.

Sounds good!
Based on feedback in #2503, people would prefer the changes to happen once. Here is a more detailed plan of how we can roll out these changes:

Rename raw and intermediate core assets. Merge into dev. None of these assets are persisted to the database so this will not impact users.
Rename output and core assets in a feature branch. This step will include converting some output assets that don't need to be user-facing to intermediate assets that aren't persisted in the database. We don't want to release a bunch of new tables in a tagged version and later remove them. This branch will also add a deprecation warning to PudlTabl. s3://intake.catalyst.coop should be renamed to s3://pudl.catalyst.coop #2574 prior to step 3.
Before merging the feature branch into dev, merge dev into main, tag a version pre-naming-change, and run a full build. Users can rely on this tagged version as they migrate to use the new table names and remove PudlTabl.
Merge the feature branch into dev, merge dev into main and tag a release using our desired release naming convention: vYYYY.MM.DD.
Help users migrate from depending on PudlTabl, old table names and pinning to dev to relying on the new tables in the pudl.sqlite database in the public s3 bucket.
Once core users are migrated, deprecate PudlTabl.

How does this plan sound to y'all? @zaneselvans @arengel @grgmiller @gschivley?

Ok! I think we're going to merge this thing in! Here is a todo list for rolling this out:
Release 2022 data with old names

[ ] Open a PR merging the latest commits to pass the nightly builds on dev into main.
[ ] The commits are in main. The 2022 data will be in main so we can do a data release!
[ ] Create and push a tag called v2023.12.04. This will kick off a full build.
[ ] When the build passes we'll have directory called s3://pudl.catalyst.coop/v2023.12.04
[ ] Create a manual Zenodo data release with the tagged data (not entirely sure what this entails)
[ ] Notify known users that we'll be applying the rename to dev so if they are pinned to data on datasette or pulling from the s3://pudl.catalyst.coop/dev directory, their code will break. To resolve the breakage, point your code towards the data in s3://pudl.catalyst.coop/v2023.12.04 or replace your references to PUDL tables using this sheet. Users who are still using PudlTabl and are pinned to dev will not be affected because the PudlTabl methods have not been changed though we are planning on removing PudlTabl and users should migrate to pulling the data directly from the database.

Release PUDL with new names

[ ] Merge https://github.com/catalyst-cooperative/pudl/pull/2818 into dev.
[ ] Once the nightly builds have a successful run, open a PR from dev into main.
[ ] Once the new names are in main create a tag called v2023.12.{day}, push and wait for a build to pass
[ ] Create a manual Zenodo data release once the build passes
[ ] Notify our users about the changes and fix breakages (example notebooks... tbd)

Questions

Should we do a code freeze on dev and main while we are working through these release mechanics?
How do we want to name these releases? They will likely happen on different days so the names will be different or we could use a suffix like v2023.12.04.oldnames and v2023.12.04.

Sounds like @zaneselvans and I will get cracking on the data release once #3086 is merged.


refactor(linter): reduce llvm lines generated by RuleEnum::read_json

#3207  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Boshen and the rest of your teammates on  Graphite


Jump to absolute path rather than relative path while debugging.

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
When I debug in jupyter, it supposed to jump to my code in the working directory, but it actually open a new file editor from the absolute path.
Simple code to reproduce:
we have two files as
.
├── debug.ipynb
└── temp.py

in debug.ipynb:
from temp import temp
temp()

in temp.py:
def temp():
    print("this is a temp func") # break here
    return 1

With a break on line 2, debug the ipynb cell, it will open a file with absolute path rather than open the relative path, so I will have two edit windows for the same file.

And, breaks can add to both files, as:

Although this does not affect the code, but it is very annoying.
VS Code Version
版本: 1.76.2 (system setup) 提交: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884 日期: 2023-03-14T17:55:54.936Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: <IP_ADDRESS>-electron.0 OS: Windows_NT x64 10.0.19045 沙盒化: Yes
Jupyter Extension Version
v2023.3.1000851011
Jupyter logs
No response
Coding Language and Runtime Version
Python 3.10.6
Language Extension Version (if applicable)
Python v2023.4.1
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Remote

Is this a vscode remote window? What does your ipynb code look like?
Also can you run the command "Log Working Copies" and copy the result from devtools (Help > Toggle Developer Tools)

Yes, this is on remote window.

That's all the code jupyter output to reproduce this problem.
Log Working Copies returns:

INFO
[Working Copies]
vscode-remote://ssh-remote+<IP_ADDRESS>/data/test/temp.py (typeId: )
vscode-remote://ssh-remote+<IP_ADDRESS>/data/test/debug.ipynb (typeId: notebook/jupyter-notebook)
vscode-remote://ssh-remote+<IP_ADDRESS>/data_111/zhangyi/Data/test/temp.py (typeId: )
[Backups]

Any idea where data_111 comes from? Are there symlinks involved? We didn't make up that path

Yes, '/data' is a softlink for '/data_111/zhangyi/Data', and I open the project from '/data'. May be this caused the problem?发自我的手机-------- 原始邮件 --------发件人： Rob Lourens @.>日期： 2023年4月1日周六 02:38收件人： microsoft/vscode-jupyter @.>抄送： ease_zh @.>, Author @.>主    题： Re: [microsoft/vscode-jupyter] Jump to absolute path rather than relative path while debugging. (Issue #13224)
Any idea where data_111 comes from? Are there symlinks involved? We didn't make up that path
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

@ease-zh so /data is the symlink and /data_111 is the canonical path on disk? As a workaround, you might open /data_111 instead of /data.
@int19h what's the expected behavior here when stepping into a symlinked file?

It can be configured to resolve symlinks or not by setting "resolveSymlinks" in the debug config, or by setting PYDEVD_RESOLVE_SYMLINKS=True in environment variables. But the default is to not resolve, at least for paths that are reported to UI. Maybe that gets overwritten by something? The debug config setting should override the env, so that would be one thing to try.

@int19h Sorry for the late reply.
I tired to set PYDEVD_RESOLVE_SYMLINKS=False in launch.json, it worked for .py file debug, but how could I set this variable to .ipynb files?
To be more clear, I create a new file named temp2.py:
from temp import temp
import os
print(os.environ['PYDEVD_RESOLVE_SYMLINKS'])
temp()

and a break was set on the last line.
With PYDEVD_RESOLVE_SYMLINKS=True, when start debug, it directly jump to the absolute path, /data_111/.../temp2.py.
With PYDEVD_RESOLVE_SYMLINKS=False, when start debug, it stays in the relative path, /data/test/temp2.py. And even step into the break point, it goto the relative path /data/test/temp.py as suspected.
However, the launch.json seems not affect the ipynb file, os.environ['PYDEVD_RESOLVE_SYMLINKS'] will raise an KeyError, so how can I make this work in jupyter process?
And, i'm not sure where is the debug config, and how can i set the "resolveSymlinks" .

Sorry @ease-zh we will have to make changes in the Jupyter extension in order to support this


Improve response times for large number of attacks

Very large numbers of attacks causes a very large number of permutations to be generated. The memory issues have been resolved by moving to a generator, however, the response time is still too high for attacks 10+
Instead of creating results on a per toughness basis, the fighters.ts model should instead loop through the permutations once, appending to lt, eq, and gt objects. These can then be extracted properly in the statsController.

Another idea is that if the number of attacks exceeds 10, we can switch from population stats, to simulations


PhraseList no longer working for real-time speech-to-text (STT) service

Describe the bug
PhraseList feature stopped working ~ Oct 30th, 2023 - with special phrases no longer included in the transcription to improve its accuracy.
We've noticed this by using Java SDK version 1.31.0 (also 1.30.0), but same issue is reproducible through Azure Speech Studio, hence this is probably a bug in the service itself.
To Reproduce
Steps to reproduce the behavior:

Go to Real-time Speech to text in Speech Studio.
Select Show advanced options, turn on Phrase list and enter  Contoso;Jessie;Rehaan;bankovation;loanovation;helocovation;flexspend-it;pay-as-you-go in the phrase list text box
Use microphone and utter the following phrase hi Rehaan this is jesse from Contoso bank we have bankovation going on at the bank including loanovation helocovation flexspend-it business credit cards and pay-as-you-go personal credit cards
Resulting transcription below is inaccurate since it doesn't take entire PhraseList into account Hi Reehan. This is Jesse from. Contoso Bank. We have Bank of Asia going on at the bank. Including loan ovation. Hill location. Flex Expanded business credit cards and pay-as-you-go personal credit cards..

Expected behavior
We expected transcription to take PhraseList into account and be hi Rehaan this is jesse from Contoso bank we have bankovation going on at the bank including loanovation helocovation flexspend-it business credit cards and pay-as-you-go personal credit cards. This was working  for the last ~8 months but stopped working ~ Oct 30th, 2023.
Version of the Cognitive Services Speech SDK
Java SDK version 1.31.0 (also 1.30.0)
Platform, Operating System, and Programming Language

OS: Amazon Linux
Hardware - x64
Programming language: Java

Additional info
Please see screenshot attached

Thanks for using the Speech Service and reporting the issue to us. The Speech Service does update the Speech Recognition (SD) models over time and constantly evaluates the quality model changes. I've already passed your feedback to the team that owns recognition quality.

Current I-438337567 (previous I-437394077 set as duplicate). Issue acknowledged by a service team, no update yet. Assigning this to @fmegen for now.

Is there any update on this issue? It seems to be affecting our customers since a while now.

The PhraseList service issues are now resolved!
Closing this out to keep our issue list current. If you continue to experience issues, please feel free to re-open this issue, or file new one.

I honestly believe this issue is still occurring and needs to be fixed in May 2024. The speech recognition still didn't take PhraseList into account at all.
I have verified through both

the web GUI Speech Studio quick demo page;
the python Speech SDK

I honestly believe this issue is still occurring and needs to be fixed in May 2024. The speech recognition still didn't take PhraseList into account at all. I have verified through both

the web GUI Speech Studio quick demo page;
the python Speech SDK

Can only confirm, we did a lot of testing after this was marked as resolved but the outcome was never as satisfying as before.

I have the same issue, verified on the speech studio demo page. The phrases only work when they're the only word / phrase said in an utterance. As soon as you use them in a longer phrase (like 1 additional word) they never seem to work.

I have the same issue using the SDK and Speech Studio. Phrase lists are not taken into account at all.

I also have the same issue, adding words to phrase list does not work in SDK (Python)

This is especially noticeable for proper nouns. Names can have various spellings and PhraseLists should allow us to influence the transcription when we provide the context. Right now however, Microsoft just doesn't perform as well as Google so we can't recommend customers use Microsoft for these use cases.


Godot game on iPad Pro 12.9 3rd can't get window safe area

Godot version:

3.1.1
OS/device including version:

XCode 10.2, iOS 12.2, iPad Pro 12.9 3rd gen simulator
Issue description:

Godot game can't fill full screen of iPad Pro 12.9 3rd Simulator device, leave black edges in all 4 direction.
the return value of get_viewport_rect() and OS.get_window_safe_area() always the same
in iPhone X simulator, they are different and works fine!
Steps to reproduce:
Minimal reproduction project:

demo.zip
iPhone X

iPad Pro 3rd demo project

iPad Pro 3rd message app

demo project compare with message in background preview

CC @godotengine/ios

If the demo project work fine with iPhone X simulator, I think there must be something wrong with the iOS template project not the engine.
Probably cause by LaunchImage, LaunchStoryboard or something, have no idea how to fix it

Sorry! my bad, I'm mistakenly link against older SDK(11.4) not the latest(12.2), that cause the app running in "compatibility mode" which iOS keep app running in the safe area and telling it that it already running in native mode, in "compatibility mode" get_viewport_rect() and OS.get_window_safe_area() always the same
Sorry for my stupid, and thank you all!

Problem solved I'm close this one


Add Code block

Description
Adds a Code block component with support for:

copying the code sample
syntax highlighting
line numbers
highlighted lines

Related Issue
n/a
Motivation and Context
Makes our code blocks in our docs look so much nicer.
How Has This Been Tested?

Screenshots (if appropriate):
Here's a kitchen sink screenshot:

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

How does the highlighted lines look like ?


Flaky tests

Some tests are still flaky...

test_large_spends
test_not_announceable_spend

They both timeout during revault_network.activate_fresh_vaults(vaults), which is odd...
logs_760.zip

I think closed via #243


Don't use callbacks with *Sync methods

In https://github.com/rclee91/SiteGen/blob/main/bin/index.js#L107 you call a synchronous fs method, but then pass it a callback function.  Only the async versions work this way.

Issue understood.
I've changed this part of the code in issue #9, so this line of code no longer exists.


Detecting pollution resulting in hangs

In my test suite, I have some tests that hang due to test pollution, ie, they don't complete/fail.
I know about pytest-timeout, and was wondering if there is a way to combine it with this tool.

PYTEST_ADDOPTS (or the config) and pytest-timeout is what I've done for the same thing


[docs] Fix import in demo InputAdornment.js

There was an import error in demo InputAdornment.js

@hongyuan1306 😱 thank you!


Remove Template Blog Posts

The template files in /src/content/post need to be removed and/or replaced with non-boilerplate content.

Removed unused posts; some that contained useful reference info were changed to draft:true so as to hide from prod. while still being accessible in a dev env


Show how to use --startup-project

A lot of developers don't know how to use the --startup-project parameter for moving their DbContext to another assembly and then run the migrations. They are still creating static void main in other assemblies which is not necessary if --startup-project is specified.
dotnet ef  --configuration Release --startup-project ../TestPrj/ migrations add V1
dotnet ef  --configuration Release --startup-project ../TestPrj/ database update

Consolidating with #204


incorrectly formatted number in twilio log

2017-12-10 00:59:43 UTC
https://www.twilio.com/console/runtime/debugger/NOa5112de0bb636cded07da97e6079cb4b
Possible Causes
The called number is not a valid E.164 number.
Possible Solutions
Make sure that any phone number sent via SIP to Twilio is always E.164-formatted.

this is from macro-dial-tryagain losing the number again, $ARG1, and giving a blank number to twilio. Looks like a nested macro environment issue or something.
tryagain does get a lot of false uses for a disconnected destination number, but it does run into a lot of Temporarily Unavailable, enough that if a large fraction of these can recover it would be worth it.
Simple Python supervisor?
Adapt the iterate-guard?
[Dec  4 18:18:43] VERBOSE[20782][C-000001d2] chan_sip.c:     -- Got SIP response 480 "Temporarily not available" back from <IP_ADDRESS>:1079
[Dec  6 17:41:28] VERBOSE[20782][C-00000221] chan_sip.c:     -- Got SIP response 480 "Temporarily Unavailable" back from <IP_ADDRESS>:5060
[Dec  7 04:34:15] VERBOSE[20782][C-0000023d] chan_sip.c:     -- Got SIP response 480 "Temporarily not available" back from <IP_ADDRESS>:1079
[Dec  8 13:28:10] VERBOSE[20782][C-00000292] chan_sip.c:     -- Got SIP response 480 "Temporarily not available" back from <IP_ADDRESS>:1079
[Dec  9 12:16:55] VERBOSE[20782][C-000002e4] chan_sip.c:     -- Got SIP response 480 "Temporarily not available" back from <IP_ADDRESS>:1087
[Dec  9 16:59:39] VERBOSE[20782][C-000002fa] chan_sip.c:     -- Got SIP response 480 "Temporarily not available" back from <IP_ADDRESS>:5060
[Dec  9 22:32:01] VERBOSE[20782][C-00000304] chan_sip.c:     -- Got SIP response 480 "Temporarily not available" back from <IP_ADDRESS>:1079

removed tryagain


Issue with pip install -e git+git_repo_address

Hi,
I'm trying to install visdom via source code to use new features such as audio, video, and others.
Also, I want to install the visdom via setup.py or requirements.txt by using the command like "git+git_repo_address"
However, the install didn't work even the message said success.
Got fails from setup.py and requirements.txt, I also tried to install visdom for local, but the results are same as following.

~user$ pip install -e git+https://github.com/facebookresearch/visdom.git@master#egg=visdom
Obtaining visdom from git+https://github.com/facebookresearch/visdom.git@master#egg=visdom
  Updating ./src/visdom clone (to master)
Requirement already satisfied: numpy>=1.8 in /Users/user/anaconda3/lib/python3.6/site-packages (from visdom)
Requirement already satisfied: scipy in /Users/user/anaconda3/lib/python3.6/site-packages (from visdom)
Requirement already satisfied: pillow in /Users/user/anaconda3/lib/python3.6/site-packages (from visdom)
Requirement already satisfied: requests in /Users/user/anaconda3/lib/python3.6/site-packages (from visdom)
Requirement already satisfied: tornado in /Users/user/anaconda3/lib/python3.6/site-packages (from visdom)
Requirement already satisfied: pyzmq in /Users/user/anaconda3/lib/python3.6/site-packages (from visdom)
Requirement already satisfied: six in /Users/user/anaconda3/lib/python3.6/site-packages (from visdom)
Requirement already satisfied: torchfile in /Users/user/anaconda3/lib/python3.6/site-packages (from visdom)
Requirement already satisfied: websocket-client in /Users/user/anaconda3/lib/python3.6/site-packages (from visdom)
Requirement already satisfied: olefile in /Users/user/anaconda3/lib/python3.6/site-packages (from pillow->visdom)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /Users/user/anaconda3/lib/python3.6/site-packages (from requests->visdom)
Requirement already satisfied: idna<2.7,>=2.5 in /Users/user/anaconda3/lib/python3.6/site-packages (from requests->visdom)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /Users/user/anaconda3/lib/python3.6/site-packages (from requests->visdom)
Requirement already satisfied: certifi>=2017.4.17 in /Users/user/anaconda3/lib/python3.6/site-packages (from requests->visdom)
Installing collected packages: visdom
  Found existing installation: visdom <IP_ADDRESS>
    Uninstalling visdom-<IP_ADDRESS>:
      Successfully uninstalled visdom-<IP_ADDRESS>
  Running setup.py develop for visdom
Successfully installed visdom
~user$ python -m visdom.server
/Users/user/anaconda3/bin/python: No module named visdom.server

I think this issue is closely related with the closed issue #16, so the problem seems in install "pip install -e . ", and I think the issue is not fixed yet.

I've finally found the root cause of this issue (been able to reproduce it recently) though I don't think I'll understand why pip install -e . ever would work before on certain systems. Seems that setuptools ignores the package_dir param when the sourced directory is the package directory rather than contains the package directory. I've put together a fix in #281


Port From Insider To Stable VS Code

The proposed API for inline completions has now been released.
See this:
https://github.com/microsoft/vscode-discussions/discussions/26

Thanks for the notice. We'll work on publishing it

@hieunc229 I created a port-proposed-api branch to link future pull requests automatically. make sure to continue development in there.

@hieunc229 any updates?

Hey @dgbkn, we published the extension last week. You can find "Captain Stack" on VSCode Marketplace, or using this link https://marketplace.visualstudio.com/items?itemName=captainstack.captain-stack
My apology, I haven't made an update as my schedule is packed recently.
Any feedback are welcome and if you like it, would appreciate your rating on the marketplace!

@hieunc229 Thanks , @Kek5chen - He Has Added to VS Code See ScreenShot

Thanks For Your Work

Still an issue as Captain Stack has not yet ported to stable vs code.
Will be resolved with #65


ffmpeg is not installed

just for win.exe

Could you explain your issue or provide me with more details?

Hello, thank you for creating such a wonderful tool!
I encounter the same error, at the very beginning I am not aware of the ffmpeg dependency, so the task failed with Error:
ERROR: You have requested merging of multiple formats but ffmpeg is not installed, Aborting due to --abort-on-error.
Then I install ffmpeg under Windows10, and configure the path to make it work by running ffmpeg -version in Powershell, it shows the version info, apparently the ffmpeg was installed sucessfully,
however, when I reopen the YTSage, repeat the download process: analyze, download the highest resolution video, click download, then same error, could you please take a look at this issue ?

Sorry for the false positive, I remove then reinstall the executable, then everything works perfectly, thank you !


Bug/secret capital letters issue

if the EKS cluster has Upper chars secret was not created with error:
 Error: metadata.0.name a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
│
│   with module.gitops_bridge_bootstrap.kubernetes_secret_v1.cluster[0],
│   on .terraform/modules/gitops_bridge_bootstrap/main.tf line 127, in resource "kubernetes_secret_v1" "cluster":
│  127:     name        = local.argocd.metadata.name

Fixing the issue by using the lower function in the clusters name

I think is ok to leave the cluster name with upper case this way the user will see the same name in the ArgoCD UI and in the AWS Console UI.
Lets fix this in the addons templates I opened an issue to discuss and fix, if you want to work on it here https://github.com/gitops-bridge-dev/gitops-bridge-argocd-control-plane-template/issues/47


WIP: Parameter & Port Meta Editing

WIP work for meta editing of instance parameters. Wanna check if that does the intended job @x37v ?
Think for ports it's gonna be pretty similar, we just need to drill open ports into records as they are currently simple Map AFAIR

Another thought.. I originally thought there might be an "edit meta" button next to the parameter.. I get that it would take up space but it might be nice to not have to navigate 2 different ways, you could use the sort and search to find a parameter you care about and edit it.
I wonder if the "..." menu like sets and presets could work for that? Eventually I'd like to add "map midi" into that menu if we had it..

See comment above about the restore value. Other than that this should hopefully address most of your concerns? Also note that "remote updates" with a "dirty input" are triggering a dialogue to confirm the overwrite.
Ideally the concept of the modal should be ez enough to apply for inport and outports as well given that it's not really parameter specific / bound anymore. You ok making the changes need to expand this, esp wrt turning the ImmuMap<string,string> of [inport] and [outports] into something like a MessageRecord to support sorting metadata and whatever else might come?

You ok making the changes need to expand this, esp wrt turning the ImmuMap<string,string> of [inport] and [outports] into something like a MessageRecord to support sorting metadata and whatever else might come?

Yeah, I'm happy to take over. There are a couple of minor little editor things happening that could be smoothed out a bit more but, this is really great!


AV is detecting PS>Attack

Windows Defender (and maybe others) are detecting PS>Attack now. Need to figure out what they're tripping on and implement obfuscation to address that and future possible detections.

Adding #23 from @nullbites as a comment here:

To defeat heuristic based AV you could try and implement the following as an option

if(cpu_cores < 1) { exit(); }
2) You can also include random do-nothing functions in builds as well and vary the levels of optimization.

Implementing string XORing/encryption with a random value created at build time may also work.

I'll do a pull later and try and implement some of these. I'll also start working on that 's/Console/Socket/g' idea we had for the networking functionality.

I saw specifically that AV is flagging on the payloads as they get decrypted. Recommend running through Invoke-Obfuscation.

Hrm.. do you know which AV caught it decrypting?

Windows Defender. After compiling and when first loading.
[image: Inline image 2]
[image: Inline image 1]
On Tue, Mar 7, 2017 at 8:57 PM, Jared Haight<EMAIL_ADDRESS>wrote:

Hrm.. do you know which AV caught it decrypting?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jaredhaight/PSAttack/issues/21#issuecomment-284931775,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFWURJS3goILGiHKQud_r-o1hxozPAV6ks5rjhkigaJpZM4JfA94
.


Feature: Filter cargoes

Describe the solution you'd like
Add a new query parameter to filter cargoes on GET /cargoes :

Name: to perform a like on the name
Limit: to add a limit
Offset: to add an offset

This will be usefull on the dashboard for example to enable data on scroll.
You can see an example on GET /namespaces.
We could also add filter parameters to the cli

Coud i please have this issue?


Wrong version when installing with composer

When installing this plugin with composer require winter/wn-translate-plugin, a version for octoberCMS v3.1 will be installed in plugins\winter\wn-translate
Tested with a clean install from the dev-channel of winterCMS

Thanks for letting us know @xitara - we'll have that fixed shortly.

Should be fixed now


Modify example to function as intended

It appears that in the first example "Example arguments to main" there will be no output unless the "/n" argument is used. I would suggest that the last line be split as such:
for (int i = 0; envp[i] != NULL; ++i) {
        if (iNumberLines)
            cout << i << ": ";   // prepend number only for iNumberLines = 1
        cout << envp[i] << "\n"; // default with no line numbers
 }

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

ID: e0c5ec8f-dc90-d0bd-5aa5-1340ccc877c3
Version Independent ID: 19646aca-3da3-14e8-ea9a-fcb3020cf51c
Content: main function and command-line arguments (C++)
Content Source: docs/cpp/main-function-command-line-args.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @corob-msft
Microsoft Alias: corob

@BlenderChrisDW
Thanks for the report. While there might have been some logic to the sample behavior, it wasn't very good logic, so I've updated it per your suggestion.


dovecot: unconditionally delete all mails after 40 days

Does anyone have an idea how to test this?

This simply doesn't work yet. No idea why.

Ah, it seems doveadm expunge -A doesn't work because of iterate_disable=yes in https://github.com/deltachat/chatmail/blob/main/cmdeploy/src/cmdeploy/dovecot/auth.conf#L2. We might need a different way to iterate over our users.

This should work now. I'm not sure if we need/can have a useful test for it; it could involve creating two accounts, sending a message, running a modified find command with -mtime +0, and asserting the message doesn't arrive (which means waiting for a few seconds and praying it isn't just a delay I guess). I don't like the idea very much, it doesn't really test the find command in the cron job, only the find command in the test, so I'd just leave it out.


Ignore vector selectors with fallback values

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.86%. Comparing base (d65e099) to head (fb000b1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #905      +/-   ##
==========================================
+ Coverage   94.84%   94.86%   +0.01%
==========================================
  Files          92       93       +1
  Lines        8766     8797      +31
==========================================
+ Hits         8314     8345      +31
  Misses        311      311
  Partials      141      141

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Image NoiseSampler

An implementation of NoiseSampler that uses an image with a configurable color channel to pull noise values from.

this will also go along with a reimplementation of noise configs to make them more modular.
The reimplementation will use a nested approach for things like normalizers, and will allow definition of "sampler type" at the root, rather than noise type.
Each sampler type will have a separate sub-section. Mock config:
noise:
  sampler: NORMALIZER
  type: LINEAR
  linear:
    min: 0
    max: 1
  input:
    sampler: NOISE
    type: Cellular
    cellular:
      return: NoiseLookup
      lookup:
        sampler: NOISE
        type: OpenSimplex2
        fractal:
          type: FBm
          octaves: 2
        frequency: 0.01
    frequency: 0.005

This also gives us a chance to rename some of the not ideally named things from FastNoise (looking at you, cellular distance function types)

this will also go along with a reimplementation of noise configs to make them more modular.
The reimplementation will use a nested approach for things like normalizers, and will allow definition of "sampler type" at the root, rather than noise type.
Each sampler type will have a separate sub-section. Mock config:
noise:
  sampler: NORMALIZER
  type: LINEAR
  linear:
    min: 0
    max: 1
  input:
    sampler: NOISE
    type: Cellular
    cellular:
      return: NoiseLookup
      lookup:
        sampler: NOISE
        type: OpenSimplex2
        fractal:
          type: FBm
          octaves: 2
        frequency: 0.01
    frequency: 0.005

This also gives us a chance to rename some of the not ideally named things from FastNoise (looking at you, cellular distance function types)

Also this should for the most part maintain compatibility with old noise configs. (We can have sampler default to NOISE for backwards compat)
The only thing i see breaking are configs with normalizers, and that's an easy fix, besides, I doubt normalizers are widely known/used.

Also this should for the most part maintain compatibility with old noise configs. (We can have sampler default to NOISE for backwards compat)
The only thing i see breaking are configs with normalizers, and that's an easy fix, besides, I doubt normalizers are widely known/used.

Implemented in e306a0fd09e39f1ea17457dc0ff5252b097e3856

Implemented in e306a0fd09e39f1ea17457dc0ff5252b097e3856


Is this compatible with React?

Management wants to know before allocating resources to evaluate this framework.

Yes


Update dj-stripe library in packages/backend to 2.7.x and stripe-mock docker image

Is your feature request related to a problem? Please describe.
There's a newer version of dj-stripe which has support for more payment methods.
There's also a newer version of stripe-mock docker image hosted in a different organisation. We should migrate.
I'm putting this information in the same ticket as probably new dj-stripe would need new API mock.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional context
I tried updating myself but seems that a number of tests fail and it's not a quick drop-in change.

Release 2.8.0 has just emerged https://github.com/dj-stripe/dj-stripe/releases/tag/2.8.0 . Maybe @dsowinski2 can you take a look at updating that?


Schematic has wrong pins, resulting in Error: JTAG scan chain interrogation failed: all zeroes (EUB-59)

M_TDI and M_TDO are swapped between the default config and the example schematic.
The example schematic shows:
M_TDO: GPIO 3 on ESP32-S2 and GPIO 15 on target ESP32
M_TDI: GPIO 9 on ESP32-S2 and GPIO 12 on target ESP32

The default settings for sdkconfig, however, has GPIO 3 for M_TDI and GPIO 9 for M_TDO.  Using those pins as in the sdkconfig results in:
Error: JTAG scan chain interrogation failed: all zeroes

Swapping them in the code (since I'd already wired up a board using the schematic) allows it to work fine.
I beat my head on the wall for quite some time and checked and re-checked wiring, etc until I decided to try swapping them (I finally realized the schematic had M_RXD connected to ESP32 TXD0 and M_TXD to ESP32 RXD0, which makes sense as you swap the TX and RX, so I swapped the TDI and TDO and it works fine.)

Hello @prabbit237 , thank you for bringing this issue to light, we will fix the schematic.


Add RHOSP network template automation

writes network config templates
supports Redhat/CentOS and Ubuntu

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

ok to test

:+1:


Fix: we should be able to call class_exists

https://github.com/psalm/psalm-plugin-laravel/issues/24#issuecomment-611184388 explains this pretty well, in conjunction with my comment.
Essentially the existing implementation makes it so that nothing else executed after it can call class_exists, even the application source code being tested

Mind making phpcs happy?

We could get fancier with this by solving https://github.com/barryvdh/laravel-ide-helper/issues/915 via our custom class here, but I think simply making a noop is fine for now


yaml: invalid map key: map[interface

Hello, i have sparkApplication.yaml with driver configutation:
 driver:
    cores:  {{.Values.params.driver_cores}}

in my values.yaml file:
  params:
    driver_cores: 1

and after that in CI i tried to set  helm template --set params.driver_cores="\{\{ params.driver_cores \}\}" (i want to use Jinja template to redefine it later during the launch in Airflow )
but i got error :
install.go:222: [debug] Original chart version: ""
install.go:239: [debug] CHART PATH: /builds/sparkjob
Error: YAML parse error on sparkjob/sparkApplication.yaml: error converting YAML to JSON: yaml: invalid map key: map[interface {}]interface {}{"params.driver_cores":interface {}(nil)}
helm.go:84: [debug] error converting YAML to JSON: yaml: invalid map key: map[interface {}]interface {}{"params.driver_cores":interface {}(nil)}
YAML parse error on sparkjob/templates/sparkApplication.yaml
helm.sh/helm/v3/pkg/releaseutil.(*manifestFile).sort
	helm.sh/helm/v3/pkg/releaseutil/manifest_sorter.go:146
helm.sh/helm/v3/pkg/releaseutil.SortManifests
	helm.sh/helm/v3/pkg/releaseutil/manifest_sorter.go:106
helm.sh/helm/v3/pkg/action.(*Configuration).renderResources
	helm.sh/helm/v3/pkg/action/action.go:168
helm.sh/helm/v3/pkg/action.(*Install).RunWithContext
	helm.sh/helm/v3/pkg/action/install.go:312
main.runInstall
	helm.sh/helm/v3/cmd/helm/install.go:314
main.newTemplateCmd.func2
	helm.sh/helm/v3/cmd/helm/template.go:95
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.8.0/command.go:983
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.8.0/command.go:1115
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.8.0/command.go:1039
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:[27](https://gitlab****/-/jobs/51744#L27)1
runtime.goexit
	runtime/asm_amd64.s:1695

BUT when i used --set params.driver_cores="0{{ params.driver_cores }}" with 0 before brackets it work, i think helm have bug which not allowed symbols '{{' after rendering in begin of value,
driver:
    cores:  {{params.driver_cores}}

allowed
 driver:
    cores:  0{{params.driver_cores}}

!!!BUT  0{{params.driver_cores}} will octal number, not decimal, and its not suit for me
Output of helm version:3.15.2
Output of kubectl version:1.30.2
Cloud Provider/Platform (AKS, GKE, Minikube etc.): Gitlab Ci,  image:  name: alpine/k8s:1.30.2

driver:
    cores:  {{params.driver_cores}}

This is invalid yaml. The parser is trying to interpret the braces ({) as the start of a dict/map. You need to escape the braces.

same error
ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress

metadata:
  name: wsapp-ingress
  annotations:
    nginx.org/websocket-services: "wsserver-svc"

spec:
  ingressClassName: nginx
  rules:
    - host: { { .Values.ingressDomain } }
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: wsclient-svc
                port:
                  number: 80
          - path: /ws
            pathType: Prefix
            backend:
              service:
                name: wsserver-svc
                port:
                  number: 80

values.yaml
ingressDomain: app.local
webSocketServerReplicas: 1


What may have caused the extra noise added to a face during inference after adapting the current code framework in liveTalking from ernerf to Synctalk?

The inference of my model based on SyncTalk work perfectly fine, but after adapting this model to liveTalking codes based on the ERNERF approach, there was noise added to her face.
Please give me some hints on handling this issue. Thank you in advance.

@Deltaidiots  Hello,
I'm really excited to see this issue of yours! I'm also exploring the possibility of using the SyncTalk model instead of ER-NeRF as currently implemented in the repo. Could you guide me on how to make this transition?
I'm new to this, so detailed instructions would be incredibly helpful. Thank you so much for your kindness!
Also, if I would like to reach out to you for further discussion, what would be the best way to contact you?
Best regards,

This is basically a matter of parameters setting issue


Call method user.logout before login

I'm submitting a ...

[x] Bug report
[ ] Feature requestdd
[ ] Question / Support request

Software Versions

Grafana
Zabbix
Grafana-Zabbix Plugin

4.4.1
3.2.6
3.1.2

What did you do?
In Grafana call method user.login but do not call user.logout
What was the expected result?
The number of records in the table sessions increases.
Because of this, the size of the table will increase

What happened instead?
Only one method user.login is called.
For each session, you need to call a method user.logout.
If it relates to metric data visualization would be great to get

An image or text representation of your metric query
The raw query and response for the network request (check this in chrome dev tools network tab, here you can see metric requests and other request, please include the request body and request response)

Not sure when I should call user.logout. Do you have any idea?

After completion of each request.

user.login
api request
user.logout

Or you can do call method user.login at the beginning of the day and at the end of the day call user.logout

Hm... Not sure that doing user.logout after api call is a good idea. Typical dashboard produces dozens of api calls so this can reduce performance (it needs 3 calls instead of 1). Another problem is page reload: plugin can't handle it and have to login again, but an old session will persist in Zabbix.

Does Zabbix flush expired session from table? Is there a real problem to have a few dozens of records in this table?

From Zabbix point of view this is a "Known issue":

API login
A large number of open user sessions can be created when using custom scripts with the user.login method without a following user.logout.

As far as I know, most Zabbix API wrappers in Perl, Python, etc. use file to store authentication tokens and reuse existing session.

@i-ky plugin stores API token during the session and re-login only if token is expired (and on first page load, of course).

The only thing I can improve in this case - call user.logout if token is expired, before new user.login call.

If token is expired it means no seans call user.logout.
I suggest if the session expires, we will get the respons:
{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Session terminated, re-login, please."},"id":1}
... then call user.login.

Or you can do call method user.login at the beginning of the day and at the end of the day call user.logout

@DIKPro, I believe you can achieve the same result by setting Autologout parameter to 1 day in Zabbix for the user you use for plugin.

@alexanderzobnin, is it possible to use the same token for multiple sessions? As far as I understand (and I know very little about Web) Zabbix frontend saves token in a cookie file:
self::setSessionCookie(self::$data['sessionid']);

after calling user.login. And then reads it whenever it needs to call API:
public function getUserSID() {
	$sessionid = CWebUser::getSessionCookie();

	if ($sessionid === null || strlen($sessionid) < 16) {
		return null;
	}

	return substr($sessionid, 16, 16);
}

Or you can do call method user.login at the beginning of the day and at the end of the day call user.logout

@DIKPro, I believe you can achieve the same result by setting Autologout parameter to 1 day in Zabbix for the user you use for plugin.
Thanks you, this is good option.

@DIKPro but I do the same - user.login is invoking only if plugin gets "not autorised" error:
https://github.com/alexanderzobnin/grafana-zabbix/blob/master/src/datasource-zabbix/zabbix/connectors/zabbix_api/zabbixAPIConnector.js#L478
request(method, params) {
    return this.zabbixAPICore.request(this.url, method, params, this.requestOptions, this.auth)
    .catch(error => {
      if (isNotAuthorized(error.data)) {
        // Handle auth errors
        this.loginErrorCount++;
        if (this.loginErrorCount > this.maxLoginAttempts) {
          this.loginErrorCount = 0;
          return null;
        } else {
          return this.loginOnce()
          .then(() => this.request(method, params));
        }
      } else {
        return Promise.reject(error);
      }
    });
  }

@SinghDivneet I still have no strong opinion that I should do that.

@alexanderzobnin  It works for me too without calling the user.login time again . Just saving the authtoken in a file for now , don't know if that's the best way . Would you do me a favour & let me know if you find something conclusive .
Thanks

Also if there is an edge case to this , like there is an unexpected reboot of zabbix server & does the authtoken expire then ?

Also if there is an edge case to this , like there is an unexpected reboot of zabbix server & does the authtoken expire then ?

I can answer that question. No, a token is issued by API (which is more like PHP/frontend side of Zabbix) and is stored in the database, so restart of Zabbix server has no effect on the lifetime of the token.


Cluster crashed after adding a node while another node is down

inspection-report-20210618_165740.tar.gz
We have a 3 node cluster, one of the nodes had a hardware failure last week, and today I replaced it with a new node. After setting it up, enabling gpu, I ran add-node on the main node, and then join on the new node. I should probably have ran remove-node --force for the missing node, but I forgot that step.
To my horror after running the join command the whole cluster went unavailable. microk8s status keeps returning:
microk8s is not running. Use microk8s inspect for a deeper inspection.

I can't curl the api server either, so I think it's not running at all.
tinco@automator-1:~$ curl https://<IP_ADDRESS>:16443
curl: (7) Failed to connect to <IP_ADDRESS> port 16443: Connection refused

I can't figure out what exactly is preventing the api server from running, there's no errors in the api-server logs that I can see.

Alright, have some more info, pretty sure it's the dqlite cluster that's broken, because this command just hangs forever:
tinco@automator-1:~/inspection-report$ microk8s dbctl backup
Backing up the datastore
INFO[0000] mode: backup-dqlite, endpoint: unix:///var/snap/microk8s/current/var/kubernetes/backend/kine.sock, dir: /tmp/tmpvaf2by57/backup-2021-06-18-21-01-04

I think dqlite didn't start on time.
Did you try to check the cluster from the other 2 nodes?
It will also be interesting to see whats in your /var/snap/microk8s/current/var/kubernetes/backend/cluster.yaml

Thanks!
- Address: <IP_ADDRESS>:19001
  ID:<PHONE_NUMBER>608546238
  Role: 0
- Address: <IP_ADDRESS>:19001
  ID:<PHONE_NUMBER>7000826160
  Role: 0
- Address: <IP_ADDRESS>:19001
  ID:<PHONE_NUMBER>238981192
  Role: 0

So the broken node that's gone is "<IP_ADDRESS>", and the new node that broke the cluster upon joining isn't in this list (it's <IP_ADDRESS>).
Most important for me is bringing at least <IP_ADDRESS> back up, with its original configuration. Could I remove the cluster.yaml to achieve this?

Oh actually, this is interesting, the cluster.yaml of <IP_ADDRESS> and of <IP_ADDRESS> do contain <IP_ADDRESS> as a member. So it's just <IP_ADDRESS> that doesn't have the new node in its cluster config.

Is there any way to recover the database? All commands I can use seem to have to connect to the dqlite database through the socket, which just doesn't seem to work because I guess it doesn't have a leader or something?

I don't even know what node is supposed to be the leader at this point.

Hi @tinco you may get some luck trying this.
https://discuss.kubernetes.io/t/recovery-of-ha-microk8s-clusters/12931

Hi @balchua ! Thanks a lot for your support. I had actually recovered the cluster at the moment I typed that cluster, I just didn't know it yet. For other people, the link @balchua gave is probably the way to go, but this is what I did:

stop all nodes
make sure all cluster.yaml files are the same and have the nodes you want in them
identify a node that was last healthy, and scp the files that look like this 00000xxxx-000xxxx to all the other nodes
start all nodes
wait 10 minutes

This got me back all nodes, and the database was still fine.
So I'm rescued now, and can finally start my weekend, but I'm still a bit shocked that the simple process of replacing a failed node cost my team a days work and me a good portion of my weekend.
Besides being apparently being prone to failure, it is also very much undocumented how to recover from failure. I had googled and I consider myself to be pretty good at googling, and I had not found the link @balchua just posted. Copying over those files was a complete guess on my part, I hadn't even found the location of the database and cluster configuration yet until @balchua gave me the path (/var/snap/microk8s/current/var/kubernetes/backend).
The microk8s website only seems to document the happy path.


Refactored map logic into one place

@markquintontulloch I think this puts everything into one place

Looks good. Definitely neater.


Add one step generator for new projects

Add:
Example:
elmchemy new my_project
mix test
# 0

->
my_project/
├── elm-package.json
├── mix.exs
├── elm
    ├── Hello.elm
├── lib
    ├── Hello.ex
├── tests
    ├── hello_test.exs

I technically could do that.

Shouldn't files be named after project name or something? What contents should those files have?

They (elm/File.elm, tests/file_test.exs) could be parametrized to the name of the project.
The main idea is to cut the boilerplate and hopefully generate something self-explanatory with benefits of learning all the essential basics with just a template

@wende Do you still want to store files under Elm directory after name change?

@wende Mix task is created and it does work. It needs more testing though. I have no idea how to put in production.
Sample usage.
Go into installer and call:
mix elchemy.new erlang_style_name --location where_to_put_files

Also help needs to be written.

@wende Do you still want to store files under Elm directory after name change?
That's a good question actually. I think it's worth leaving it as it is until we're using .elm extension and Elm tooling

@Baransu Let me know when you're feeling like picking up this issue


Title: Catch Me If You Can

Is your feature request related to a problem? Please describe.
In the beginning i get great difficulty in learning Event in js and most people get same issue in beginning
Describe the solution you'd like.
So i have a great solution of it by making a cool game know as Catch Me If You Can
Describe alternatives you've considered.
I will be using mouse event for this
I will create a box whose size changes dynamically according to viewport size. Now when you hover over the box, it should change its position randomly inside the viewport.
You can put the box initially at any position inside the viewport
Add any other context or screenshots about the feature request here.
The box will look like this -

Gif for this problem is -

I'm a GSSoC22 participant.

@swapnilsparsh The PR is made #423. Kindly review and merge it.
Thank You


No way to exclude specific types when they conflict.

If two projects have conflicting type declarations there's no way to get them to play nicely.
jquery and webdriverio both declare * and they conflict.
I can include only specific types but I can't exclude individual broken types.
I don't think there's a way to solve this. I hope I'm wrong!
I have a project setup to demonstrate this:
https://github.com/burtonator/broken-ts-test

TypeScript Version:  3.0.3
Expected behavior:
should compile
Actual behavior:
Playground Link:
https://github.com/burtonator/broken-ts-test

I think only you can do is copy out jquery's index.d.ts and remove declare $ from it...

If two things both claim to declare $ then they can't both be loaded at the same time. If there's some other behavior going on at runtime, then the type definitions should be structured differently


Add Missing notnull checks to DRBG

Issue # (if available):  N/A
Description of changes:
Adds missing notnull_check() calls to DRBG code
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request head (notnull_drbg@bfd93e4). Click here to learn what that means.
The diff coverage is n/a.


[bazel] New rules: //sw/device/silicon_creator/manuf/tests/BUILD

Convert //sw/device/silicon_creator/manuf/tests/BUILD to the new build rules.

Some tests require jtag and ram binaries so cannot be converted until #19719 is merged

Done in #19964


Allow outputDirectory to be set from a user-property on the commandline

Fixes Issue
1686
Description of Change
Allow outputDirectory to be set from a user-property on the commandline using -DoutputDirectory
Have test cases been added to cover the new functionality?
no

@jeremylong Not sure whether we should use this MR unchanged.
It has at least (potentially more cases) a propertyname clash with a default maven plugin DependencyPlugin which uses it to redirect the downloaded artifacts to a specific folder, which means it might trigger unwanted side-effects.
As a general rule I would say that a userProperty of a plugin should use a prefix to avoid such clashes. (e.g. dependencycheck.outputDirectory for this case)


Runtime with flexicubes

Hi, roughly how long does it take to reconstruct an object using flexicubes and nvdiffrec?

That depends on various factors. We are not able to provide detailed timings.
You can reach out to flexicubes authors on their github. The original authors have ported the Kaolin version of flexi-cubes and timings should be the same as in the paper.


Dual callbacks on pagePerSize dropdown change

Hello @AllenFang
For some weird reason I'm doing a fetch request on onPageChange and sizePerPageListChange both.
I've encountered a scenario where sizePerPageListChange event also triggers onPageChange event. This is very similar to the example here(section: Pagination Hook)
Can we avoid the table doing multiple events like these?
Thanks.

Also I found a serve mismatch as when changing page size from dropdown, onPageChange event is fired before onSizePerPageList.

HI @prajapati-parth
Because sizePerPage change may also change the page due to the number of total page will be recalculate after sizePerPage changed, for example,
if you are in last page(10) with sizePerPage 10, if you change sizePerPage to 80, now, the page 10 is not existing. so react-bootstrap-talbe will auto redirect the page to page 2. so that there's a page change event here.
But it's a chance problems, I can avoid to call onPageChange when current page is same as before one after sizePerPage changed, but seems like you want to avoid onPageChange to being called every time even current page change after sizePerPage changed?!
Thanks !!

can avoid to call onPageChange when current page is same as before one after sizePerPage changed

I've currently used the same fix.

seems like you want to avoid onPageChange to being called every time even current page change after sizePerPage changed

Yes, that's what I require. But I'm unsure what's the correct way.

I think I can avoid call onPageChange when current page is not change actually, but if we want to avoid to call onPageChange every time after onSizePerPageList, I think it will have some trouble for the other people.
And also I'll investigate if we can call the  onSizePerPageList firstly then call onPageChange.
Feel free to let me know if you have any idea or concern, thanks 👍

Sure @AllenFang. Thanks for taking quick action.
Here's the code snippet how I fixed it. If it can be of some help to you.
const onPageChange = () => {
    // If previous page size and the new page size are equal, page change is actual, otherwise it is triggred by sizePerPage dropdown change
    // This is a fix. An issue in the original repo has been created here: https://github.com/AllenFang/react-bootstrap-table/issues/1587
    let oldPageSize = this.refs['BootstrapTable'].getSizePerPage(),
    isActualPageChange = oldPageSize == sizePerPage

    if (isActualPageChange) {
        // onPageChange code
    }
}

Nice, thanks for sharing 👍

Hey @AllenFang any updates on this.


Only set the JWT UUID if it is not already set

This is a regression of #539. Basically if you were creating a new token using an existing JWT you always got an error since the jti property is already set in the original payload.
Closes https://github.com/feathersjs/authentication-jwt/issues/43

Ah so it is what I thought. Some people were recycling token payloads.
:shipit: Looks good. Thanks for fixing that @daffl!


Themed components don't work when the theme is never used.

import React from 'react'
import ReactDOM from 'react-dom'
import { makeTheme } from 'glamor/react'

const btnTheme = makeTheme()
const ThemedBtn = btnTheme()(function () {
  return <button children="Submit" />
})

// This doesn't work
function App() {
  return (

      <ThemedBtn />

  )
}

//  This works
// const App = btnTheme.add()(function () {
//   return (
//

//       <ThemedBtn />
//

//   )
// })

ReactDOM.render(
  <App />,
  document.getElementById('root')
)

getting an error in console: Uncaught TypeError: Cannot convert undefined or null to object

This actually looks pretty easy to fix:
https://github.com/threepointone/glamor/pull/66

live as of 2.16.2/2.17.0. thank you!


Automated cherry pick of #3691: Reduce permission of antrea-agent service account

Cherry pick of #3691 on release-1.6.
#3691: Reduce permission of antrea-agent service account
For details on the cherry pick process, see the cherry pick requests page.

Codecov Report

Merging #3743 (e8a8abf) into release-1.6 (7de7578) will decrease coverage by 19.97%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           release-1.6    #3743       +/-   ##
================================================
- Coverage        58.08%   38.11%   -19.98%
================================================
  Files              278      114      -164
  Lines            27839    15266    -12573
================================================
- Hits             16171     5819    -10352
+ Misses            9881     8965      -916
+ Partials          1787      482     -1305

Flag
Coverage Δ

integration-tests
38.11% <ø> (?)

kind-e2e-tests
?

unit-tests
?

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

Impacted Files
Coverage Δ

pkg/agent/apiserver/apiserver.go

...g/agent/controller/serviceexternalip/controller.go

pkg/antctl/antctl.go

pkg/querier/querier.go

pkg/apis/crd/v1alpha2/webhook.go

pkg/agent/querier/querier.go

pkg/apis/stats/v1alpha1/register.go

pkg/agent/config/node_config.go

pkg/agent/openflow/meters_linux.go

pkg/ovs/openflow/ofctrl_action.go

... and 382 more

PR needs rebase to fix image issue.

/test-all

/test-conformance
/test-networkpolicy

/test-conformance
/test-networkpolicy

/skip-networkpolicy
/skip-conformance
manually verified above tests.