Update whitepaper-azure-b2b-power-bi.md

@haydnr : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the update.
@haydnr - Thanks for submitting this fix.


Pub should automatically save the log to a file on unexpected errors

If pub crashes unexpectedly, it would be nice if it would save the log to a file and then ask the user to report a bug including that file.

This issue has been moved to dart-lang/pub#533.


fix(charts): Set sessionAffinity in registry service

Sets the sessionAffinity on the deis-registry service to fix pushes when multiple registry replicas are deployed.
Fixes #84

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.

Jenkins, add to whitelist.


Is there a way to detect if the key is wrong ?

Hello,
First of all, thank you very much for this awesome package.
I'm using it to encrypt files, but I noticed that even when the key is wrong it returns "success". Is there a way to know if the entered key is wrong ?
Thank you in advance.
Best regards.

Hey
There is no way to know if key is incorrect, if key is incorrect it will not decrypt correctly. Key checking you have to handle on your side.

Hello 👋 Okay I understand, thank you for your answer 😁


[FLINK-25661] [flink-connector-base]- fatal exception handler

Add FatalExceptionHandler to allow the users of the sink to configure fatal exception handling.

What is the purpose of the change
This pull request allows users of a sink based on the AsyncSinkBase to provide an implementation of an exception handler FatalExceptionHandler to define a custom fatal exception handling.
Brief change log

Created a new PublicEvolving interface FatalExceptionHandler
The AsyncSinkBase constructor now allows to pass an instance of a FatalExceptionHandler
The AsyncSinkWriter constructor now allows to pass an instance of a FatalExceptionHandler
The AsyncSinkBase builder supports passing an instance of FatalExceptionHandler
The fatalExceptionCons in AsyncSinkWriter is now a BiConsumer accepting the failed batch of requests as well as the exception.

Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change added tests and can be verified as follows:

Added unit test

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@nirtsruya Can you please update documentation to add an example?

Thank you guys for the comments. It seems it requires a bit more thinking and planning, and I think given timelines and that I want to focus in the dynamodb pull request, this can be postponed. closing for now


Gem Hunt doesn't end properly if marble is OOB when timer hits 0s

On Ultra, Gem Hunt doesn't end properly if the marble is out of bounds. It respawns but the End Dialog never shows up. You may reproduce the bug easily on King of the Marble by jumping off the ledge when the timer hits about 1-2 seconds left.

Fixed in https://github.com/RandomityGuy/MBHaxe/commit/a96c95d19105f7ab6b91112d4a8312de19a5bca5
Version 1.0.1 released with the bugfixes


⚠ Bofrost.lu has degraded performance

In fd13e26, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2059 ms

Resolved: Bofrost.lu performance has improved in 5dc7437.


ASTE giving triplets with duplicated opinions and polarities

PyABSA Version (Required)
PyABSA 2.3.1
Torch 2.0.1+cu117
Transformers 4.30.2
Code To Reproduce (Required)
from pyabsa import AspectSentimentTripletExtraction as ASTE
triplet_extractor = ASTE.AspectSentimentTripletExtractor("multilingual")
triplet_extractor = ASTE.AspectSentimentTripletExtractor("multilingual")
textList = []
import csv
with open("C:\Users\userName\Desktop\Row64Stuff\Data\Data.csv") as csv_file:
csv_reader = csv.reader(csv_file, delimiter=',')
for row in csv_reader:
textList.append(row)
results = []
for text in textList:
result = triplet_extractor.predict(text)
if result != []:
results.append(result[-1])
else:
pass
Full Console Output (Required)
Example of one output:
'sentence': 'The ranked system of this game is actually such a freaking abysmal joke, from the mmr system, lack of transparency, trolls, duoq abusers, destructive lp gains, and matchmaking algorithm.',
'Triplets': [
{'Aspect': 'ranked system', 'Opinion': 'abysmal joke,', 'Polarity': 'Negative'},
{'Aspect': 'ranked system', 'Opinion': 'lack of transparency,', 'Polarity': 'Negative'},
{'Aspect': 'ranked system', 'Opinion': 'destructive', 'Polarity': 'Negative'},
{'Aspect': 'mmr system,', 'Opinion': 'abysmal joke,', 'Polarity': 'Negative'},
{'Aspect': 'mmr system,', 'Opinion': 'lack of transparency,', 'Polarity': 'Negative'},
{'Aspect': 'mmr system,', 'Opinion': 'destructive', 'Polarity': 'Negative'},
{'Aspect': 'lp gains,', 'Opinion': 'abysmal joke,', 'Polarity': 'Negative'},
{'Aspect': 'lp gains,', 'Opinion': 'lack of transparency,', 'Polarity': 'Negative'},
{'Aspect': 'lp gains,', 'Opinion': 'destructive', 'Polarity': 'Negative'},
{'Aspect': 'matchmaking algorithm.', 'Opinion': 'abysmal joke,', 'Polarity': 'Negative'},
{'Aspect': 'matchmaking algorithm.', 'Opinion': 'lack of transparency,', 'Polarity': 'Negative'},
{'Aspect': 'matchmaking algorithm.', 'Opinion': 'destructive', 'Polarity': 'Negative'}
Describe the bug
When the model predicts the outputs for each sentence I feed into the model - it produces each detected aspect with every opinion and polarity detected even if those opinions and polarities are not relevant to the specific aspect.
Expected behavior
I was hoping for each opinion and polarity to be attached to the relevant aspect as opposed to every aspect detected by the model.

This is a problem of the original model which I adapt from (according to the license). So, maybe you can contact the author to solve this problem. I will be happy to keep this model up-to-date with https://github.com/CCChenhao997/EMCGCN-ASTE

It seems that it is functioning correctly on the hugging face website (https://huggingface.co/spaces/yangheng/Multilingual-Aspect-Based-Sentiment-Analysis). Is there any difference between that model and this one?


Errors on install

I'm using Cocoapods to install Alamofire, and it's giving me a ton of errors. I've tried creating a brand new, test project with the only pod being Alamofire, and I'm having the same issue so I don't think it is project-specific. I'm using Xcode 7.2.1 and cocoapods version 1.0.0 with Alamofire version 3.4.0. The following screenshot shows the errors:

Sorry but Alamofire 3.3+ requires Xcode 7.3. If you're stuck on Xcode 7.2, use version 3.2.1.


Don't include TMT tests in the release archive

These tests seem to clash with the downstream TMT tests when we run unit-tests on unpacked upstream sources. As a result, no tests are being run.
See:
c10s https://artifacts.dev.testing-farm.io/236534cf-6c92-4798-89e9-fd21084bdd9c/
c9s https://artifacts.dev.testing-farm.io/4fa84989-8ffb-4da8-9c42-8ec5b868b00f/
Exclude the .fmf and tmt directories from upstream release archives generated by GitHub for release tags.
This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the READMEs listed here
[ ] submit a PR for the osbuild.org website repository if this PR changed any behavior not covered by the automatically updated READMEs

Looks ok to me. Have you been able to test it?

Nope, but I can try. good point... :innocent:

Draft?  Still not working?

I solved this in the downstream.


Revert "Upgrade Jackson dependencies to 2.17.2"

Reverts Azure/azure-sdk-for-java#41261

API change check
API changes are not detected in this pull request.

/check-enforcer override


set-up : export : status coloumn blocked

can't change the status of a n export

Fixed in the setup


Enable manual triggering of docs workflow

Sorry, this was a mistake. Missclicked while doing stuff on my fork, please ignore :D


[BUG] Invalid regular expression: /^[	   -íŸ¿î€€-ï¿½ð€€-ô¿¿]$/: Range out of order in character class

🐛 Bug Report

exceljs.min.js:18 Uncaught SyntaxError: Invalid regular expression: /^[
-íŸ¿î€€-ï¿½ð€€-ô¿¿]$/: Range out of order in character class
at new RegExp ()
at Object.508 (exceljs.min.js:18)
at i (exceljs.min.js:3)
at exceljs.min.js:3
at Object.467.xmlchars/xml/1.0/ed5 (exceljs.min.js:10)
at i (exceljs.min.js:3)
at exceljs.min.js:3
at Object.19.readable-stream (exceljs.min.js:3)
at i (exceljs.min.js:3)
at exceljs.min.js:3
Lib version: 3.9.0
Steps To Reproduce

Just loading the page creates the error, with minified js.
The expected behaviour:

This error should not come

@Subhajitdas298 This problem does not appear in my project, you can try the following.
yarn remove exceljs
yarn add exceljs -S

@Subhajitdas298 This problem does not appear in my project, you can try the following.
yarn remove exceljs
yarn add exceljs -S

No using yarn. Directly building from release sources. Then npm install. And then npm run clean-build.

No using yarn. Directly building from release sources. Then npm install. And then npm run clean-build

Is your problem solved now 😄?

No using yarn. Directly building from release sources. Then npm install. And then npm run clean-build

Is your problem solved now 😄?

No. As I explained, error is there. I just explained my process of building. How do you build?

Fixed issue in pull request:#1280

No using yarn. Directly building from release sources. Then npm install. And then npm run clean-build

Is your problem solved now 😄?

Please review my commit for the fix. Thanks

excuse me，should i rebuild the source code and replace exceljs/dist to solve the problem? expect for ur answer,thx

"I've created a web page using exceljs, and it works fine in Korea, China, and Europe, but the same error occurs only in the US: exceljs.min.js:24 Uncaught SyntaxError: Invalid regular expression:." how can i solve?


Can I keep socket server running with laravel task scheduler?

Is it a good idea to use laravel task scheduler to check server is running?
Something like:
protected function schedule(Schedule $schedule)
{
   $schedule->command('websockets:start_if_not_running_custom_command')
   ->everyMinute();
}

And if yes, how can I check server running?
Thanks in advance!

Handle method for my custom command:
   $host = 'host';
    $port = 6001;

    $connection = @fsockopen($host, $port);

    if (is_resource($connection))
    {
        $this->info('Websocket running!');
        fclose($connection);
    }
    else
    {
        $this->info('Port is not responding. Starting server...');
        \Illuminate\Support\Facades\Artisan::call('websockets:serve');
    }

You should use Supervisor to make sure the process is always running. See Laravel docs for guidance on configuration: https://laravel.com/docs/5.8/queues#supervisor-configuration

Using a cron for this is not the right approach. You should definitely be using a tool like supervisord or another kind of init tool. Cron/schedulers are meant for executing tasks like purging old records, sending out daily/whatever emails, triggering some scheduled backups, etc. Keeping a process running is a more specialized task and there are tools that are built specifically for that job.

on \App\Console\Kernel.php
    /**
     * Define the application's command schedule.
     */
    protected function schedule(Schedule $schedule): void
    {
         $schedule->command('websockets:serve')->when(function (){
             $connection = @fsockopen('*** YOUR WEBSOCKET ADDRESS ***', '6001');
             if (is_resource($connection))
             {
                 //WEBSOCKET IS RUNNING
                 fclose($connection);
                 return false;
             }
             else
             {
                //RUN WEBSOCKET
                 return true;
             }
         });
    }


Biochem additions

2 new search queries plus some additional relationships to play with

"float" should be "number" in json-schema speak

(done with my feedback now)


JobValidator: fix NPE if Job has malformed registration

Inspired by a real-life example where someone accidentally included the
volumes section in the registration section. The JobValidator does
not check that each registration entry has a non-null getPorts()
Map.

@spotify/helios-team @marcusb

Current coverage is 51.66% (diff: 75.00%)

Merging #1082 into master will increase coverage by 0.09%

@@             master      #1082   diff @@
==========================================
  Files           270        270
  Lines         12934      12938     +4
  Methods           0          0
  Messages          0          0
  Branches       1678       1679     +1
==========================================
+ Hits           6671       6685    +14
+ Misses         5759       5751     -8
+ Partials        504        502     -2

Powered by Codecov. Last update 6cb55ec...8ddb6d7


THRIFT-3109 Cross test log file cannot be browsed when served in HTTP se...

...rver

committed, you can close this

Thanks.
(commit: 783660a335aad8818a9ede210e594b7f8677aa56)


Add ECS Descriptors

What
Added support for describe_services and describe_task_definition actions in the ECS client.
http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTaskDefinition.html
http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServices.html

Coverage increased (+0.003%) to 94.284% when pulling f06419a039cc248a7a02e7079c66a1dab8de8e79 on robertsheehy-wf:add-ecs-descriptors into 05c6fc673896c9a500bf5cb7f6fa34510db1d50b on spulec:master.

Coverage decreased (-0.07%) to 94.208% when pulling 61deaa22ebddd8cae19e0bb0177461b3f9ca653b on robertsheehy-wf:add-ecs-descriptors into 05c6fc673896c9a500bf5cb7f6fa34510db1d50b on spulec:master.

Coverage decreased (-0.07%) to 94.208% when pulling 61deaa22ebddd8cae19e0bb0177461b3f9ca653b on robertsheehy-wf:add-ecs-descriptors into 05c6fc673896c9a500bf5cb7f6fa34510db1d50b on spulec:master.

Great, thanks!


Deleting a contributor gives false impression

Steps

Go to the sharing tab of a project with many contributors that you administer
Click x to remove a contributor near the top of the list
See that it says that the user is deleted

Expected
The user is deleted.
Actual
The user will be deleted pending the save. The save button is waaaay down at the bottom of the screen, so if there are too many contributors, then you won't see it.
Suggested fix
Change the wording to "Delete after save" and have it link to an anchor that is at the save button. That way, if they click the "Delete after save" link, they will be taken to the save button.

Why not deleting the contributor directly in the first place? And

:+1: @cosenal -- and I appreciate you sharing that article!

That is definitely where we are headed, but it would require a significant re-write of the code. Because this is such a potential problem (though I see it's tagged as low priority right now, so there may be some disagreement there), we wanted a quick fix to keep people from thinking they had removed a contributor but hadn't. Ultimately, all actions that happen on that screen will happen immediately.

"Low" as it is an improvement, but not a bug -- With that said, if there are reported user issues + mistakes + complaints around this potential confusion currently, then I'll certainly up it!

Not reported from users, but very likely that someone could be left with access to a project when they shouldn't. Consequences could be very bad.

Word - TY

@lbanner @brianjgeiger It's a simple change for the language part. However the redirect link will conflict with the current behavior of the contributor table. So if currently you click a second time anywhere on the removed contributor lane, it will unremove the contributor. Thoughts?

Good one for you to grab @chennan47 -- @brianjgeiger Look to you for thoughts here? TY

A short hotfix for this is rdy.
Since there is binding to the panel that when a contributor is in the deletedStages, the second click on anywhere of the line will just revert the remove contributor behavior. Add a redirect link to the save button on the line won't work under current behavior. And add another button outside the contributors table create a lot of extra css problems which takes time and  is not in the priority.

@chennan47 Changed the language to say "Will be removed after Save". @brianjgeiger Is this change enough to close the issue?

Yes, that should work.

The pr has already been merged and go on production.


chore(escape-highlight): fix circular dependency

Summary
There was a circular dependency in escape-highlight.ts
src/lib/utils/index.ts -> src/lib/utils/concatHighlightedParts.ts -> src/lib/escape-highlight.ts -> src/lib/utils/index.ts

I think this is a good change, but just realised moving a file is a potential breaking change, so would like a second opinion

How come is it a breaking change? Do you mean in a case where user is directly importing src/lib/escape-highlight.ts? If that's what you mean, then I agree that it's acceptable and the PR seems good to me.

I think this is a good change, but just realised moving a file is a potential breaking change, so would like a second opinion

How come is it a breaking change? Do you mean in a case where user is directly importing src/lib/escape-highlight.ts? If that's what you mean, then I agree that it's acceptable and the PR seems good to me.


lib/strings: remove 'head' and 'tail'

These operate on lists and error if you try to call them on strings... and they're already exposed under lib and lib.lists
Description of changes

lib.strings.head is no longer an alias for builtins.head, ditto for tail

Things done
I checked (somewhat sloppily) for references with rg lib.strings.head, rg '\(lib.strings\) .*head, rg lib.strings.tail, rg \(lib.strings\) .*tail and didn't notice any. I checked that <nixpkgs> and <nixpkgs/nixos> evaluate (on my system/with my config) as well

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

We should probably throw an actual error message to explain why it was removed

Yep, that's very fair, you're probably right... I think after a period it'd be nice to fully remove them though since they still show up in e.g. tabcompletion in the REPL otherwise..
I figured in this case it might make sense to be a bit more bold than usual for deprecation since well... the existing functions don't even work on strings (so chances are pretty slim anyone depends on importing these from lib.strings and using them on lists, honestly)

chances are pretty slim anyone depends on importing these from lib.strings and using them on lists, honestly

You'd be surprised what people do, especially accidentally, since nix lacks robust static analysis


Replaced with_flattened with with_items

This Pull request solves the following issue in ansible version 2.10.0
 FAILED! => {"reason": "'with_flattened' is not a valid attribute for a Task...

with_flattened was replaced by with_items combined with the filter flatten.
It is documented by ansible itself https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#with-flattened
Ansible recommends to use loop instead of with_flattened, but that didn`t worked in my project.

Not sure about your particular problem but the tests apparently pass on Ansible 2.10?


Replacing port numbers by port names in all manifest files

Fixes #108
Signed-off-by: nikita-mk<EMAIL_ADDRESS>

LGTM
@sipian 	would you have time to deploy the new manifest files?

/benchmark pr

/benchmark start 176

/benchmark start

The /benchmark comments work on the Prometheus repo.
I'll deploy the PR changes and check them.

I have checked and deployed this PR.


feat: allow setting type in external secret to support other than Opaque secrets

Possible solution for #109

Does this require anything more than being able to set type in the external secret resource?
Example:
apiVersion: kubernetes-client.io/v1
kind: ExternalSecret
metadata:
  name: my-dockerhub-secret
secretDescriptor:
  backendType: secretsManager
  type: kubernetes.io/dockerconfigjson
  data:
    - key: /development/mma/dockerhub
      name: .dockerconfigjson

Where the value in backend would be
{"auths":{"https://index.docker.io/v1/":{"auth":"bXljcmVkZW50aWFsczp2ZXJ5LW5pY2UtcGFzc3dvcmQ="}}}

Similarly could be done for tls?
apiVersion: kubernetes-client.io/v1
kind: ExternalSecret
metadata:
  name: my-tls
secretDescriptor:
  backendType: secretsManager
  type: kubernetes.io/tls
  data:
    - key: /development/mma/certifcate
      property: crt
      name: tls.crt
    - key: /development/mma/certifcate
      property: key
      name: tls.key

Originally posted by @Flydiverny in https://github.com/godaddy/kubernetes-external-secrets/issues/109#issuecomment-514268061

@silasbw @jeffpearce Please have a look :D

Would you mind adding a test?

@jeffpearce test added and typo fixed 😄

I'm not familiar with the release process here, but I'm closely tracking this PR because I have immediate use for it. When is the next release (1.3.2 ?) expected to make it out?

My team is eagerly awaiting this change as well, can we get an ETA on the next release?


[BUG] env file don't work

What happened?
I create a .env.chrome file with content:

and run this commond: plasmo build --zip --env=.env.chrome
But the variable don't be inject the code.

I wish the variable will be inject in code!
plasmo's version: 0.52.3
Version
Canary
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
Relevant log output
><EMAIL_ADDRESS>build-chrome D:\Company\outline_spa\src\browser_extension
> plasmo build --zip --env=.env.chrome

🟣 Plasmo v0.52.3
🟠 The browser extension development framework.
🔵 INFO   | Prepare to bundle the extension...
🟢 DONE   | Finished in 4494ms!
🔵 INFO   | Zip Package size: 96240 bytes

(OPTIONAL) Contribution

[X] I checked the current issues for duplicate problems.

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[ ] I would like to fix this BUG via a PR

This feature can run on Plasmo version 0.64.0 or above.


Support promiscuous ingress listeners.

Support promiscuous ingress listeners for systems that dynamically allocate ports.
Eliminate dependency on reverse lookup of service ports to generate inbound listener.

The reason we cannot support dynamic port is that istio need the user to specify which ports should be intercepted by envoy proxy.
Since 1.3 we provide the experimental feature that setting traffic.sidecar.istio.io/includeInboundPorts to "*" with no trampoline risk.
However, I am not sure how it works with the security feature. Since some policy referring a service by port name, dynamic port is not well compatible with these security mode.
tl;dr
Use with caution when security policy is involved.

You can also dynamically update the Sidecar API to expose new ingress ports without having to specify anything in the service apriori.

Fixed in 1.3


Fixing loading screen not disappearing

We fix bugs specific to 1 game?

It's just an example. If there's a bug appearing in our code in any game, we'll fix it.

Oh, I was confused.


Layers are not rendered when the map comes back from a popup window asynchronously.

Describe the bug
The map renders nothing when is moved back asynchronously after closing a popup window.
To Reproduce
Steps to reproduce the behavior:

Go to the "External map" example
Open it in CodeSandbox
Modify the main.js's resetMapTarget file as following

-map.setTarget(localMapTarget);
+setTimeout(() => map.setTarget(localMapTarget), 1000);

Or start directly from this sandbox that already includes the above steps

Click the  "Open external map" button rendered in the app

Wait for the map to be loaded in the popup

Close the popup

Wait for a second

The map is brought back in the main window, but empty

Please note that the map "is working" because by dragging it, new tiles are loaded (in the next screenshot I have the DevTools's network opened that shows the new tiles loaded after dragging the map)

Expected behavior
I expect the map to correctly render all the layers instead of showing empty.
Thanks for the hard work.\Stefano

To me it looks like a bug in Chromium as It works fine in Firefox.
The canvas is there and the draw calls for the tiles seem to be executed, but the canvas is not refreshed on the screen.
It works if you force recreation of the layer canvases when setting the target:
  setTimeout(() => {
    map.setTarget(localMapTarget);
    // hasRenderer, getRenderer are not in the api, but this should work as a workaround.
    map.getAllLayers().forEach(function (l) {
      if (l.hasRenderer()) {
        l.getRenderer().container = null;
      }
    });
  }, 1000);

First of all, sorry not to mention the browser and not to test it on different browsers...
Then, thanks a lot for the suggested solution, really appreciated it!


"Error: Bad public key" while it seems everything is OK!

I'm using eccrypto in my program. Bob encrypts a key in its NodeJS by eccrypto and Carol should decrypt it in its NodeJS by eccrypto too. The issue arises by decryption, encryption is successful but decryption is failed. Whenever the program runs eccrypto.decrypt() it throws this error on PowerShell:
secp256k1 unavailable, reverting to browser version
C:\...\node_modules\eccrypto\browser.js:16
    throw new Error(message || "Assertion failed");
          ^

Error: Bad public key
    at assert (C:\...\node_modules\eccrypto\browser.js:16:11)
    at C:\...\node_modules\eccrypto\browser.js:190:5
    at new Promise (<anonymous>)
    at exports.derive (C:\...\node_modules\eccrypto\browser.js:188:10)
    at Object.exports.decrypt (C:\...\node_modules\eccrypto\browser.js:246:10)
    at Object.<anonymous> (C:\...\Alice.js:30:16)
    at Module._compile (node:internal/modules/cjs/loader:1126:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Module.load (node:internal/modules/cjs/loader:1004:32)
    at Function.Module._load (node:internal/modules/cjs/loader:839:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47

This is my whole code:
const eccrypto=require("eccrypto");

const publicKey="0439c1b6515b1e3be3320d5601762d1730d48d01849f006380d4db6b5fb23fc5281de13ffec39787b86fc98ce47aabb26071d53aa6d3e32bcbe4ff4aa517ca1310";
const privateKey="ab2...a";
let crypto="7b2296...5d7d7d";
const cryptoString=hexToString(crypto);
const cryptoObj=JSON.parse(cryptoString);
const privateKeyString=hexToString(privateKey);

      eccrypto.decrypt(privateKeyString,cryptoObj).then(
        console.log
      );

function hexToString(hexString) {
  return new Buffer.from(hexString.match(/.{1,2}/g).map(byte => parseInt(byte, 16)));
}

What is the problem and how can I solve it?

Hello,
first of trying to run your code it's throw an error on line 7 (because JSON.parse only take as input a valid JSON, not a string).
Second, are you trying to use it with HTTP/multiple file? Look out at issue #75 .
There's a potential solution (to encode in base64 also the value of the encrypted set and to comment a line which trigger this assertion).
Good luck! ;)


 There are several hints that need to be developed, and the algorithm for generating these needs to be implemented.
Related Code
Additional Context
Finding blocks which support "BLOB" DA required a script, which I've copied to this gist: https://gist.github.com/notlesh/6032e58262f065bce7b776591969f4ad

Support has been in development by @whichqua for some time. I helped implement some final missing hints, set up the KzgManager, and test/debug against actual blob DA blocks.
PR: #304
Some example blob DA blocks on Sepolia:
48074 48077 48079 48081 48082 48083 48084 48086 48087 48088 48089 48090 48091 57849 64356 66632 66645 66691 66717 66776 66777
68170 68171 68173 68174 68175 68176 70510 70514 70537 70538 70597 70663 83286 83288 83340 83341 83558 83577 83578 83582


Pull in master branch changes to docs and composer.json to 3.x

Pull in the changes from master to the 3.x branch

Closed by dd00410


remove scikit-learn from release installation

Description
Please include a summary of the change and which is fixed.

remove scikit-learn from sources
add scikit-learn in experiment (ML train requirements)
partially fixes #568

How has this been tested?
Please describe the tests that you ran to verify your changes.

[x] UnitTest
[x] Benchmark

RELEASE_TIME (sec) = 220, current (sec) = 209. Diff (% * 10): 50
Speed-up.
BASE_TIME (sec) = 216, current (sec) = 209. Diff (% * 10): 32
Speed-up.


register as npm global package

So we can update easily and without cloning the repo

Note that you can use npm to install from GitHub repos, including Git commits and tags.

This was actually suggested in #3. As @derhuerst notes, it doesn't need to be added to npm for you to download it without cloning the repo. This might be worth adding in the README if you find it much more convenient than cloning.


Implement RoundRobinResourceQueue

What changes are proposed in this pull request?
Implemented RoundRobinResourceQueue, which unlike DynamicResourcePool, shares resources across multiple acquire calls and never blocks.
Why are the changes needed?
We might want to replace the current ClientPool model to share clients within the same FileSystemContext, which might help with issues like https://github.com/Alluxio/alluxio/issues/15893
Also, sharing client makes sense as clients are pretty much stateless and already synchronized. There's very little benefit creating many instances of the client anyway, since the underlying connection channels are already shared.
Does this PR introduce any user facing changes?
No

@dbw9580 Would you mind taking a look at this? Appreciate your feedback.

@ssz1997 For your visibility here.


[BUG] Attempted retransmission of packet max number of times, assuming connection has died

I've setup and used the server properly before in the past. Coming back to the mod and attempting to play with the same people we've started receiving the following error: "Attempted retransmission of packet max number of times, assuming connection has died" followed by disconnecting the client. See image below.

This error occurs after the player has connected to the server and someone is attempting to summon them as a co-op phantom. The initial warning message appears after confirming the summon but before the player actually appears in the game. The player is then in the game for about 30-60 seconds before being disconnected. I could be wrong but this seems like for some reason the message stream is closing early leading to the disconnect.

Does this happen on the latest build?

We haven't encountered this issue since updating to the latest build.


fix(central): fix scannerdefinitions handler

Description
This is the third PR in a chain of PRs to clean up and fix issues in the scannerdefinitions handler:

https://github.com/stackrox/stackrox/pull/11212
https://github.com/stackrox/stackrox/pull/11282
This

This PR is spilt into several commits for easier review. The commits are as follows:

a63665b

This updates the global variables: renames some, adds some
This also adds a few comments in a few places and replaces the panic call with utils.CrashOnError (not originally meant for this, but I'm too lazy to move it now)
Also does s/runCleanupUpdaters/cleanUpdatersPeriodic

c6c0820

This updates the httpHandler struct to add two new fields:

rootDir - defines the root directory to which all data is written
uploadPath - defines the file path to which all offline data is POSTed. This is essentially filepath.Join((*httpHandler).rootDir, offline-defs.zip)
This also removes initializeUpdaters, as it is no longer needed

6e25e9f

Protects against concurrent/parallel POST requests

3269448

Remove the returned clean func from openFromArchive, as there is no purpose for it

ca5da6f

Adds comments and does minor cleanup to get

635dbb2

Clean openDefinitions

Remove unnecessary log

3945ac0

Cleaned openOfflineDefinitions

updated log message to remove V4 reference
Fixed issue where an error can prevent the closing of the manifest file
Swapped s/Errorf/Error where necessary

add doc to openOfflineBlob
s/getOfflineFileVersion/readV4ManifestVersion

e1b82e1

Clean openOnlineDefinitions

Fix issue where the online ZIP file is not closed when it's not the returned file

Simplify getUpdater

NOTE: MY IDE CLAIMS mappingUpdaterType IS NEVER SET WHEN getUpdater IS CALLED

I don't think I believe this, but I'm hoping someone else can try to verify this

972ed4e

Clean validateV4DefsVersion

Create a validate closure to remove defer calls from loop
s/Errorf/Error

d9ed3ed

Minor nits to handleZipContentsFromVulnDump and handleScannerDefsFile

d3d7bc4

Last minute fixes

Checklist

[x] Investigated and inspected CI test results
~[ ] Unit test and regression tests added~
~[ ] Evaluated and added CHANGELOG entry if required~
~[ ] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
Here I tell how I validated my change
Ran This PR in an OpenShift cluster with Scanner V4 enabled and tested the following scenarios:
Deploy: OFFLINE_MODE=true ROX_SCANNER_V4=true ./deploy/openshift/deploy.sh

[ ] Offline-mode - upload offline data - Expect the bundle to be accepted and consumed
[ ] Offline-mode - concurrent offline data - Expect one of the bundles to be rejected

Deploy: ROX_SCANNER_V4=true ./deploy/openshift/deploy.sh

[ ] Online-mode - fresh installation - Expect Central to find the correct bundle to download
[ ] Online-mode - upload older offline data - Expect Central to prefer newer, online data
[ ] Online-mode - upload newer offline data (manipulate timestamps) - Expect Central to prefer newer, offline data

Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

I liked the newer, older = offline, online simplification over the previous code.

BTW, reviewing this would be simpler if broken into 2-3 PRs on top of those commits.

For sure, but my fear is that reviewing so many PRs would have taken forever, and I was hoping to get this done as quickly as possible. Let me know how I can help speed things up, as I'm hoping to get this into the next release

I somehow lost some commits, and this is getting out of hand, so I'll have to split this up, but I'm hoping it doesn't slow down the review process...


Code not running after await

I changed the example code for a simpler demonstration. The problem is that code after await does not run. Is the usage wrong or how should I deal with this situation? Many thanks.
import time
import sys
from PyQt6.QtCore import pyqtSlot
from PyQt6.QtWidgets import (
    QApplication,
    QMessageBox,
    QPushButton,
    QMainWindow)
from qt_async_threads import QtAsyncRunner

class TestClass(object):
    def __init__(self):
        pass

    def cumbersome(self) -> bool:
        time.sleep(2)
        return True

class Window(QMainWindow):
    def __init__(self, test: TestClass, runner: QtAsyncRunner) -> None:
        super().__init__()
        self.setWindowTitle('Test')
        self.test = test
        self.runner = runner
        self.search_button = QPushButton('Test')

        self.setCentralWidget(self.search_button)

        self.search_button.clicked.connect(self.runner.to_sync(self._on_search_button_clicked))

    @pyqtSlot()
    async def _on_search_button_clicked(self, *args: object) -> None:
        print('clicked')
        response = await self.runner.run(self.test.cumbersome)
        print('run done')
        if response:
            QMessageBox.information(self, 'info', 'ok')

if __name__ == '__main__':
    app = QApplication(sys.argv)
    test = TestClass()
    with QtAsyncRunner() as runner:
        window = Window(test, runner)
        window.show()
        app.exec()

Hi @liutongwei,
qt-async-threads only supports PyQt5 now, so I can't run your example. Changing the imports to PyQt5 I can run it, and it works as normal: clicking on the button shows clicked, after two seconds I see run done, and then the dialog shows up.

Thanks, I will change the pyqt version in my app to PyQt5. This is a great module and it really makes coding more straightforward and convenient. Thanks for your work!


Dockerfile and bash script to build and run prometheus from PR

Signed-off-by: Harsh Agarwal<EMAIL_ADDRESS>

PTAL

I am getting PR NUMBER is missing in argument
docker run --rm -it prometheus-builder 4268
in my case it worked after I changed it to
ENTRYPOINT ["/go/src/github.com/build.sh"]
It would be good to add a simple README.md with a full example how to use it.
including the files/folders that need to be mounted.

I have tested this image in minikube

would you mind also adding a short readme with an example how to use

I mean something like
docker run -v ..... args... etc

I'll add this in the readme.
But in prow, these things will be taken care by k8s

yes I meant in  temp/prometheus-builder/README.md
just a simple example so that someone looking the Dockerimage know how and what we are using it for.

PTAL


Browser hangs with loading spinner infinitely spinning

This issue is specific to version 1.2.2 of angular-meteor release.
When I try to open the app in browser (chrome) whole app freezes and chrome loading icon will be infinitely loading.
As chrome loading icon was shown, I thought chrome may be trying to load some resource without success. When I checked network tab, I saw chrome was unable to load following resource.
http://localhost:3001/packages/driftyco_ionic/release/fonts/ionicons.ttf?v=2.0.1

Only way I could able to solve the issue is by installing previous version of angular package.
Image: Chrome infinitely loads and freezes.

Image: Network tab: Trying to load driftyco_ionic

What happens if you open the url in a seperate tab?

@mxab I reinstalled angular 1.2.2, so that I can test as you specified. Surprisingly it's working now! It's strange! I will close this bug for now.


ConnectionResetError after generate a Python binary

The ConnectionResetError is receiving between a Python binary client .exe and a Python Signalling Server.
The following scenario was deployed:

The Python client binary was generated using Pyinstaller under Msys2 environment on Windows 11, with  the websockets library version 11.0.3 and accessed under wss to the Signalling Server.
The Signalling Server was deploy under wss using a valid certificate.

Running the Python client script directly on terminal the connection is established.

I recommend that you try to open a connection with asyncio.create_connection instead of websockets.client.connect, which removes websockets from the picture. Once that works, passing the same parameters to websockets.client.connect or setting up the same environment variables should work.
If it works with asyncio and not websockets, then maybe it's a websockets issue worth discussing here. Else, it's a Python or asyncio issue.

Sure.
In this case instead of use
self.conn = await websockets.connect("wss://domain:port")

I used
ssl_options = ssl.create_default_context()
ssl_options.check_hostname = True
ssl_options.verify_mode = ssl.CERT_REQUIRED
self.conn = create_connection("wss://domain:port", sslopt={"cert_reqs": ssl.CERT_REQUIRED, "ssl_version": ssl.PROTOCOL_TLS, "ca_certs": "C:/msys64/mingw64/etc/ssl/cert.pem"})

It worked great.

You used another WebSocket library entirely, which provides non-standard options to configure verification of TLS certificates. I was suggesting to establish a plain TCP connection with asyncio just to figure out standard options.
Something like this should work:
import ssl

ssl_context = ssl.create_default_context()
ssl_context.load_verify_locations("C:/msys64/mingw64/etc/ssl/cert.pem")

asyncio.run(asyncio.get_event_loop().open_connection("host", port, ssl=ssl_context)  # to debug without worrying about websockets
asyncio.run(websockets.connect("wss://domain:port", ssl=ssl_context)  # to use with websockets once it works.

Documentation here: https://docs.python.org/3/library/ssl.html#ssl.SSLContext


Narwhal project is discontinued

One of projects: https://headlesscms.org/projects/narwhalcms/ is discontinued.
Need to be removed from list :(

We've removed it already. Thanks.


Switch MANIFEST syntax to "default deny"

AFAICT from the code, the manifest syntax is "include everything, except the file patterns specified".
From a security perspective, I would argue this is a poor choice: When a developer adds a file with a completely unrelated extension, they may not be aware of the repo-sync task.
Instead of this "default allow" policy, a "default deny" policy where file patterns need to be explicitly included would be a safer default.
Of course we cannot simply invert the meaning of the --manifest option; instead we could e.g. add a --include-manifest option, and deprecate --manifest.

Sounds like an excellent idea @greschd . It was the original prototype and unfortunately, it staid in this state since.
I will invert the behavior. It will be much safer to exclude everything by default.

I like this approach. Let me work on that before we do a final release =) we are planning on doing a minor bump at the very least, even major. So no need to "deprecate" the manifest API as such...we can just drop it (IMO). What do you think @greschd @MaxJPRey?

I would suggest to keep it because you don't necessarily want to copy the entire content of a directory.

Hmm I might not understand what you mean by "keep it"
I meant that I would suggest dropping --manifest and adding --include-manifest - without having to "deprecate" -manifest since it will be a minor/major version bump

Ah yes! Sorry about that - my bad. Hope it's clear now =)


add editorconfig

Although I am the only contributor for now, its better to add editor config sooner than later.

fixed.


Create Outbound OML OBX Segment

Story
As a public health lab, to be able to make use of received electronic NBS orders, I need the OML OBX segment included with the order.
Pre-conditions

[ ] The required fields are already included in the incoming FHIR.

Acceptance Criteria

[x] The OBX segment shows up in the outbound OML and has all the required fields
[x] OBX can handle multiple segments

Tasks
Research

[x] Identify required fields (double check LOI)

Engineering

[x] OBX-1
[x] OBX-2
[x] OBX-3

[x] OBX-3.1
[x] OBX-3.2
[x] OBX-3.3

[x] OBX-4
[x] OBX-5
[x] OBX-6

[x] OBX-6.1
[x] OBX-6.2
[x] OBX-6.3

[x] OBX-11
[x] OBX-14

Definition of Done

[x] Documentation tasks completed

[x] Documentation and diagrams created or updated

[x] Implementation guide (/ig folder)

[x]  Add ig provenance (changelog) updates for this story specifically (if applicable)

[x] ADRs (/adr folder)
[x] Main README.md
[x] Other READMEs in the repo
[x] If applicable, update the ReportStream Setup section in README.md

[x] Threat model updated
[x] API documentation updated
[x] Source code documentation created when the code is not self-documenting

[x] Code quality tasks completed

[x] Logging added where useful
[x] Code refactored for clarity and no design/technical debt
[x] Adhere to separation of concerns; code is not tightly coupled, especially to 3rd party dependencies
[x] Code is reviewed or developed by pair; 1 approval is needed but consider requiring an outside-the-pair reviewer
[x] Code quality checks passed

[x] Security & Privacy tasks completed

[x] Security & privacy gates passed

[x] Testing tasks completed

[x] Load tests passed
[x] Unit test coverage of our code >= 90%

[x] Build & Deploy tasks completed

[x] Build process updated
[x] API(s) are versioned
[x] Feature toggles created and/or deleted.  Document the feature toggle
[x] Source code is merged to the main branch

Research Questions

Optional: Any initial questions for research

Decisions

Optional: Any decisions we've made while working on this story

Notes

RS fhir -> hl7vs KS video

This Story helps complete the requirement:
MVP-REQ-03 - Intermediaries must support delivery of AOE questions (data elements present on existing NBS order cards)

This Story helps complete the requirement:
MVP-REQ-08 - Each intermediary will support at least one format for outbound orders


Improved Functions binding editing experience

Provide some kind of button (similar to the "add configuration" that's visible) to add a binding. Provide some intellisense for bindings; I believe there's a schema that we could leverage.
CC and thanks to @asavaritayal for the spec

VS Code issue to add floating buttons in the the editor: https://github.com/Microsoft/vscode/issues/70813

Closing this as fixed in https://github.com/Microsoft/vscode-azurefunctions/pull/1162
The entry points are not super obvious (see screenshots in PR), but that will be improved in https://github.com/Microsoft/vscode-azurefunctions/issues/1163


[FEATURE] : Make the navbar buttons easily clickable

Is your feature request related to a problem? Please describe.
When we hover over navbar buttons, they change colour, and this makes the user think they are now clickable and they will click, but actually, they are only clickable directly on the text, which is a little bit confusing and can spoil the experience
Describe the solution you'd like
We can give the border to the links and padding to them, which will make the whole blank area clickable, and then give the hover effect to them, or if the property and class already exist we can simply provide the links with that class.
Recording of the issue
https://user-images.githubusercontent.com/65062036/189111299-ef51718a-9e8b-44d6-a43d-100e20293368.mp4

Hey @prakhartiwari0 great observation !! please fix the issue.


Relation "migratehistory" already exists

When I try to run all unapplied migrations, I get the following error:
peewee.ProgrammingError: relation "migratehistory" already exists

My python script to run all migrations:
db_connection.init_database()
db_connection.connect()
database = db_connection.get_database()

router = Router(database)

# Run all unapplied migrations
router.run()

After quick investigation to the source of peewee_migrate I found this from BaseRouter:
    @cached_property
    def model(self):
        """Initialize and cache MigrationHistory model."""
        MigrateHistory._meta.database = self.database
        MigrateHistory._meta.db_table = self.migrate_table
        MigrateHistory.create_table(True)
        return MigrateHistory

Looks like it tries to create the table always because of the last line before return which then fails if I have already migrated something to the db and the table exists. Why is that? Am I using this wrong somehow?
My peewee and peewee_migrate versions:
peewee==2.8.5
peewee-migrate==0.12.3

Using Python 3.5
And full stack trace:
Traceback (most recent call last):
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee.py", line 3768, in execute_sql
    cursor.execute(sql, params or ())
psycopg2.ProgrammingError: relation "migratehistory" already exists

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/tuomas/Code/KarjalaProject/karelian-db/tasks/migrate.py", line 12, in <module>
    router.run()
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee_migrate/router.py", line 163, in run
    diff = self.diff
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee_migrate/router.py", line 57, in diff
    done = set(self.done)
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee_migrate/router.py", line 52, in done
    return [mm.name for mm in self.model.select()]
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/cached_property.py", line 26, in __get__
    value = obj.__dict__[self.func.__name__] = self.func(obj)
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee_migrate/router.py", line 42, in model
    MigrateHistory.create_table(True)
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee.py", line 4975, in create_table
    db.create_table(cls)
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee.py", line 3852, in create_table
    return self.execute_sql(*qc.create_table(model_class, safe))
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee.py", line 3775, in execute_sql
    self.commit()
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee.py", line 3598, in __exit__
    reraise(new_type, new_type(*exc_args), traceback)
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee.py", line 135, in reraise
    raise value.with_traceback(tb)
  File "/home/tuomas/Code/KarjalaProject/karelian-db/karelian-db_venv/lib/python3.5/site-packages/peewee.py", line 3768, in execute_sql
    cursor.execute(sql, params or ())
peewee.ProgrammingError: relation "migratehistory" already exists

After some tinkering I found that the following modification seems to work:
@cached_property
    def model(self):
        """Initialize and cache MigrationHistory model."""
        MigrateHistory._meta.database = self.database
        MigrateHistory._meta.db_table = self.migrate_table
        self.database.create_table(MigrateHistory, safe=True)
        return MigrateHistory

and I posted an issue about it to peewee's repo: https://github.com/coleifer/peewee/issues/1314

Ok, I found the issue. Problem was that I have multiple schemas in my database and at the moment peewee_migrate seems to add migratehistorytable to first schema, in my case to schema extensions. Now since 'MigrateHistorydoes not specify meta optionschema peewee's table_exists function fails because its implementation requires schema to be set:
@classmethod
    def table_exists(cls):
        kwargs = {}
        if cls._meta.schema:
            kwargs['schema'] = cls._meta.schema
        return cls._meta.db_table in cls._meta.database.get_tables(**kwargs)

So for now the solution is to add following to the MigrateHistory model:
    class Meta:
        schema = 'schema_name'

This is a bit dirty however. Would it be possible to somehow configure MigrateHistorymodel to pass it the schema option?

Hello @Tumetsu,
Good point. Sorry for the late response, but I've added schema param to Router. And now the option is configurable.


Pointgoal generator retry loop contains an error

🐛 Bug

When running the pointgoal generator the number_retries_per_target does not break from the loop when a compatible source position is found.
https://github.com/facebookresearch/habitat-api/blob/8c20adaaaddfbaee85dc9fe8b4b9f3d85a9a4ddb/habitat/datasets/pointnav/pointnav_generator.py#L130
To Reproduce
Steps to reproduce the behavior:
Run the pointgoal example code.

Expected behavior
The loop should break when the first compatible point is found.
Add the following code after line 140
if is_compatible:
    break

This bug is already fixed.


Can't run litmusctl config set-account with a certificate signed by unknown authority

Can you add a --insecure flag to avoid the problem?
Thank you!

Hi, You can use this command for non-certificate endpoint or without SSL endpoint also. Can you share the response of this command?

Hi, You can use this command for non-certificate endpoint or without SSL endpoint also. Can you share the response of this command?

Thanks for the quick answer.
This is the error.

@luigi-bitonti , there is no "--insecure" flag, can you apply with it.

@luigi-bitonti , there is no "--insecure" flag for litmusctl, can you apply without it.

Are there news about the issue, guys?


correct value for ansible boolean is "yes"

fixes: https://github.com/kiali/kiali/issues/2792
Grrr... Ansible booleans require "yes" instead of "true".
"true" evaluates to "false" :/

At least its another win for molecule tests - found it while running them with Service Mesh installed in the cluster.


images not shown in sidebar

on enabling this module i can see containers but no images in the sidebar.
when i click refresh on the "Images" tab title there is no console output nor network activity.
there also appears to be no search option on the images tab (as there is with containers).

I have the same problem. Docker images section in Docker Explorer empty. The images are shown in Docker extension.
Docker Version 18.05.0-ce-win67 (18263)
Windows containers
with "experimental": true, "graph": "D:\Docker"
Win 10 Pro 1803
VSC 1.24.0

I have the same and I think the reason is, that I have two images with the same ID. It is of course the same image, just two different tags for the same image.

When refreshing images, I get this error in the VS Code corner

the reason is, that I have two images with the same ID

True, same here (I did not discover this issue earlier, hence I created a new one): https://github.com/formulahendry/vscode-docker-explorer/issues/48

I have different tags for every version. It still gives me the same error.


Feature: Helm kubernetes Deployment

Added helm deployment so you can quickly deploy it to your Kubernetes cluster.
The deployment consists of:

Service
Deployment
PVC
Ingress
ServiceAccount

@willzhang @arya-harness @abhinav-harness
Accidentally closed the pull request during the last commit and could not reopen it.
It is the same request as #3397 with the additional env vars.

I found that the Docker Dind section has been deleted. Is this not needed, or is there any other solution？
docker:
  enabled: true
  image: docker:24.0.3-dind
  resources: {}
    # limits:
    #   cpu: 100m
    #   memory: 128Mi
    # requests:
    #   cpu: 100m
    #   memory: 128Mi

or can we mount host docker.sock or containerd.sock ? Uncertain whether gitness supports containerd
host:
  docker:
    sock: /var/run/docker.sock
  containerd:
    sock: /var/run/containerd/containerd.sock
volumes:

Perhaps in the k8s environment, gigness directly communicates with the k8s API and runs jobs by creating multiple work pods？

good point, we would want a docker:dind container added for pipeline execution, similar to what we have in the official Drone help chart.  See https://github.com/drone/charts/blob/master/charts/drone-runner-docker/templates/deployment.yaml#L40
adding @jimsheldon as a reviewer (he is the creator of the Drone chart)

@willzhang  @bradrydzewski I made a mistake yesterday. We still need the dind and that definitely has to go back in. I'll adjust it.

Is there anything missing or can I tweak, I would love to do that. 😃

there is no index.yaml file for using these templates as a helm chart.


[release-0.59] instancetype: Handle VirtualMachineInstancetypeSpecRevision without APIVersion

What this PR does / why we need it:
This is a manual backport of https://github.com/kubevirt/kubevirt/pull/9584
Release note:

None

/retest


mode_normal's fg color changes after returning from file

What system are you running Yazi on?
macOS
What terminal are you running Yazi in?
Terminal
yazi --debug output

##### ↓↓↓ Paste the output here: ↓↓↓ #####
release ❯ ./yazi --debug                                                                                (main)
Gi=31,s=1,v=1,a=q,t=d,f=24;AAAA
Yazi
    Version: 0.2.5 (5b75a8f 2024-07-13)
    Debug  : false
    OS     : macos-aarch64 (unix)

Ya
    Version: 0.2.5

Emulator
    Emulator.via_env: ("xterm-256color", "Apple_Terminal")
    Emulator.via_csi: Ok(Unknown([]))
    Emulator.detect : Apple

Adapter
    Adapter.matches: Chafa

Desktop
    XDG_SESSION_TYPE: None
    WAYLAND_DISPLAY : None
    DISPLAY         : None

SSH
    shared.in_ssh_connection: false

WSL
    /proc/sys/fs/binfmt_misc/WSLInterop: false

Variables
    SHELL              : Some("/bin/zsh")
    EDITOR             : None
    ZELLIJ_SESSION_NAME: None
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None

Text Opener
    default: Some(Opener { run: "nvim \"$@\"", block: true, orphan: false, desc: "nvim", for_: None, spread: true })
    block  : Some(Opener { run: "nvim \"$@\"", block: true, orphan: false, desc: "nvim", for_: None, spread: true })

tmux
    TMUX   : false
    Version: 3.4

Dependencies
    file             : 5.41
    ueberzugpp       : No such file or directory (os error 2)
    ffmpegthumbnailer: 2.2.2
    magick           : No such file or directory (os error 2)
    fzf              : 0.54.0
    fd               : 10.1.0
    rg               : 14.1.0
    chafa            : No such file or directory (os error 2)
    zoxide           : 0.9.4
    unar             : 1.10.7
    jq               : 1.7.1

--------------------------------------------------
[yazi.log](https://github.com/user-attachments/files/16200645/yazi.log)

Did you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (yazi --debug) to the nightly that I tried
Describe the bug
To be precise, I'm not sure if this is a bug, but the behavior of yazi is definitely not what I expected.
The fg color of NORMAL displayed in the bottom status bar is inconsistent when the yazi interface is opened from the terminal and returned from the file.
I have tried both yazi downloaded from brew and yazi built from source, and they have the same problem.
This is gif:

Here is the comparison

More information Here
Expected Behavior
When you close the file and return to yazi again, the fg color of the NORMAL in the bottom status bar will not change
To Reproduce
There is no more for now, I will continue to add if necessary
Configuration
theme.toml:
[status] mode_normal = { fg = "yellow", bg = "23", bold = true }
Anything else?
No response

I haven't tested Yazi in Terminal.app, it's likely that it doesn't support some of the terminal features Yazi uses. I suggest switching to a more modern terminal emulator like iTerm, kitty, WezTerm, Alacritty, etc. They've all been tested and work well.
You can also run the official Ratatui example to test your terminal's compatibility: https://github.com/ratatui-org/ratatui/tree/main/examples#examples

Got it, thanks a lot! I will try tmux.


eframe::epi::clear_color uses a hard coded color instead of the given color

Is your feature request related to a problem? Please describe.

clear_color(&visuals) in eframe::epi::clear_color uses a hard coded color, while the input for the function already takes in a visuals struct. The commend in the function notes this but is commented in master
Describe the solution you'd like
Uncommenting the return value and removing the hard coded return value
Describe alternatives you've considered
Creating another function e.g. set_clear_color(&Color32)
Additional context
One of my projects which is an overlay program, which attempts to overlay an image on the users screen as a secondary UI to their desktop requires the background of the window to be completely transparent, this function would allow that, or the change listed above.
link to my fork which has the code modified

This is a method that you can implement in your App.  Just like you implemented update().
Just put that clear_color() method in your impl block
impl eframe::App for YourApp {
      fn clear_color(&self, visuals: &egui::Visuals) -> [f32; 4] {
         visuals.window_fill() would also be a natural choice
    }

Totally did not notice that, thank you! :)


Add option for generalized size comp to not specify number of inputs

Currently, the number of obs needs to be specified for the generalized size comps. It would be easier for those experimenting with model setups  if SS3 could determine this number without the user needing to specify. Model after the -9999 terminator as in age and size comps.

ditto for tag releases and tag recaptures


TextEditor.setScrollTop is deprecated.

This is now a view method. Call TextEditorElement::setScrollTop instead.
TextEditor.setScrollTop (/usr/share/atom/resources/app.asar/src/text-editor.js:3494:12)
Object.withoutMovingScreenOrCursor (/home/joe/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:111:21)
<unknown> (/home/joe/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:66:26)
ChildProcess.<anonymous> (/home/joe/.atom/packages/seeing-is-believing/lib/seeing-is-believing.coffee:95:16)
emitTwo (events.js:106:13)
ChildProcess.emit (events.js:191:7)

Ty, going to look at it now. Closing the issue as a duplicate of #28

Should be fixed and released, ty for reporting!

Oh, didn't see the other report, I apologize and thank for fixing the issue.


OJ-1678 Rename to 'enter your postcode' to 'postcode'

Proposed changes
What changed
Renamed the page 'enter your postcode' to 'postcode'
Why did it change
To prevent a grammatical error in the validation messages
Issue tracking

OJ-1678

Checklists
Environment variables or secrets

[x] No environment variables or secrets were added or changed

Other considerations

[x] Update README with any new instructions or tasks

Without the validation error


Maintain v1 and v2

Signed-off-by: Harshita sharma<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

closing as duplicate changes


[Idea] Profile system

Introduction
Currently, Elona foobar loads all of the mods placed in mods folder. It means that you cannot switch mod sets for each save. It is bad because it seems quite common to want to install different mods for different save data. This limitation can be solved by "profile" sytem. The idea is inspired by Minecraft. In Minecraft, you can create profiles, the environment independent from each other. Each profile has its own configuration file, save folder, resources, and mods, all of which are placed in the folder prepared for the profile. This sytem allows you to change the list of the installed mods for each save and also you can install and uninstall mods without any side-effects against other profiles. The profile system that I'll implement for Elona foobar is based on this idea of separation of environments, but its approach is different from Minecraft's.
Elona foobar's profile system
A profile in Elona foobar is a set of configuration options, especially about mods. config.hcl file (or some new file like profile.hcl) will have a new option, profiles, the list of profile definitions. (Also, the file defines the "startup profile", I'll explain it later.)
Example:
{
    ...
    # Note: this API is TBD.
    profiles {
        plain {
            mods = []
        }
        omake {
            mods = ["omake_younger_sister", "omake_title", ...]
        }
        elm {
            mods = ["elm_lovepotion", "enhanced_love_lmiracle", ...]
        }
    }

    startup_profile = "plain"
    ...
}

Save data always belongs to one profile, and when it is loaded, Elona foobar initializes and loads mods based on the profile. Let me describe how the game launches. More detailed description is here, it does not mention profiles though.)

Load core components.
Load all mods listed in startup_profile.
Show the main title menu.
If you create a new adventurer, query a profile for the new save; otherwise, i.e., if you continue an existing adventure, set its profile as the current profile.
Clear all mods (and related state) startup_profile provided. Note: it is expected to be difficult.
Load all mods listed in the current profile.
Start game (character making or usual adventure).

Elona foobar's profile system vs. Minecraft's
Note: in this section, "Minecraft's profile system" means "the profile system based on Minecraft's in Elona foobar", so maybe it differs from the original system due to differences between the two games and their mod systems.
Elona foobar's
Pros

Simpler.
Easy to copy and edit manually.
Less folder size.

Cons

Each environment is not perfectly separated.

Thus, it is hard to prepare sandbox environment. If you update a mod, the mod will be updated in all profiles.

Less flexible.

Minecraft's
Pros

Each profile is completely independent from each other.
You can switch anything, depending on profile, other than mods such as configuration file and save folder.

Cons

More complex, especially for end-users.
You have to install or configure mods for every profile.
Whole folder size gets larger.
Even if you update a mod in one profile, the update is not propagated to other profiles. Note: it can also be advantage.

As you notice, both of two approaches are not silver bullets. Both have several pros and cons. The very reason I choose the former method is that I do not wnat to make end-users understand a profile system. Since Minecraft's system separates folders, you need to know profile system to find the folders where your save files or mods are. To be honest, however, I'm considering whether it is really better. This topic is open to discuss still now.

https://discordapp.com/channels/520137317206458383/520200908538118144/543068776992604167
https://discordapp.com/channels/520137317206458383/520200908538118144/546008771428614144
According to the result of the poll held in the Discord server, it seems that Minecraft's profile system is most preferred.

Directory structure (draft)

Elona foobar.exe / Elona foobar The executable
Elona foobar Launcher.exe / Elona foobar Launcher The launcher
README (ja).txt The README in Japanese
README (en).txt The README in English
LICENSE.txt The license
CREDITS.txt The credits
config.hcl The global configuration file
doc/

index.html
...

font/ The built-in font folder

...

graphic/ The built-in graphic folder

...

sound/ The built-in sound folder

...

data/ The core data folder

script/ The Lua script folder

kernel/ The core Lua script folder

...

lib/ Several Lua libraries folder

...

log/ The log folder

0.log The latest log file
1-9.log There are up to 10 files including 0.log.

tmp/ The temporary working folder

...

profile/ The profile folder

_/ The special profile that all profiles are created by. It is immutable.

config/ The profile-local configuration folder.

config.hcl
keybindings.hcl
autopick.txt

mods/ The mod folder

core-v1.0.0/ The fundamental mod

...

elona-v1.0.0/ The fundamental mod

...

...

profile_1/ The user-created profile folder.

config/ The profile-local configuration folder.

...

mods/ The mod folder

...

save/ The save folder

...

user/ The customization folder

script/ The special script folder which override/extend system behaviors.

console.lua
init.lua

develop/ The mods folder under development by the user.
mods/ The folder for mod customization


Lock specific account: Steps for the tenant is missing

In [1] steps in getting the configuration done for a tenant is missing. Please add the information
[1] https://docs.wso2.com/display/IS540/Locking+a+Specific+User+Account

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Problem reconnecting to jupyter notebook

Applies To

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

What happened?
 Possibly a problem in storing tokens or cookies.
VS Code Version
Version: 1.74.3 (Universal)
Jupyter Extension Version
v2022.11.1003412109
Jupyter logs
No response
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
None

I get a problem when entering in my password (I have a jupyter config of a static password) and my notebook will give an error from VS code saying I cannot connect to notebook due to bad password, and my notebook will show forbidden.

However, when I disable and then reenable jupyter extension in the extension tab, it will then work flawlessly.

 Possibly a problem in storing tokens or cookies.

I get a problem when entering in my password (I have a jupyter config of a static password) and my notebook will give an error from VS code saying I cannot connect to notebook due to bad password, and my notebook will show forbidden.

These two seem to be separate issues.
Please could you confirm they are separate issues and if so, please could you file them separately.
If they are the same, then the problem seems to be specific to having a Jupyter server that was started and has a static password, is that correct.

If they are the same, then the problem seems to be specific to having a Jupyter server that was started and has a static password, is that correct.

Yes, this is correct. My specific set up uses a static password for my notebook server. I remember VS code asking me for a password (which I entered in correctly), but I would get the error (on the notebook side) in the top screen shot.
That said, I have not tested this specific workflow of a non-static password. Tomorrow I can probably try replicating it without a static password if it would help isolate the problem.

@KBlansit I believe this issue has been resolved, please could you install the laetst pre-relase version of Jupyter exteniosn into VS COde insiders and let me know how this goes?

Hi, i am a newbie, i installed VS code today, as soon as i run a cell and it runs for more than a minute i get the message "reconnecting to the kernel tensorflow (Python 3.10.10)". I spent hours looking on the web how to solve this but I am completely lost, I am not familiar with all these installs of coding stuff..

@benjamin83a install the pre-release version. This suggestion per @DonJayamanne solved my issue.

Hi, i am a newbie, i installed VS code today, as soon as i run a cell and it runs for more than a minute i get the message "reconnecting to the kernel tensorflow (Python 3.10.10)". I spent hours looking on the web how to solve this but I am completely lost, I am not familiar with all these installs of coding stuff..


Keybinds don't work when leaving focus while key pressed down

If you leave the picker while pressing down a key and go back to it, the keybinds don't work anymore.
The issue is that the keyState variable thinks a key is still pressed down, even when focus has changed. When focus comes back to the picker, keybinds are not executed because 2 keypresses are pressed down.
My fix is resetting keyState in the hide() method.

Facing same issue. Looking for a preferred solution...

The keyState is not set to 'r' because the keyup event is not triggered for keys that hide the picker.
As #1782 points out, this seems to be caused by calling blur() in the hide function.
Indeed, this has the effect that on a subsequent opening of the picker, the code still interprets this as mutliple keys being in the pressed 'p' state and then failing to call the handler.
However, this issue seems to be a duplicate of #1883.


New images and link fix

Q
A

Bug fix
yes

New sample?
no

What's in this Pull Request?
Replaced readme images with versions where the text is easier to read. Also, fixed one broken link

Thanks @tomresing !  Is there any chance you can remove the older screenshots we are no longer using from the previous PR? 👍

Thanks @tomresing ! Is there any chance you can remove the older screenshots we are no longer using from the previous PR? 👍

Done!

Beautiful! Thank you!


Add create-with-container (beta) support to google-cloud-compute

I was hoping to be able to do:
https://cloud.google.com/sdk/gcloud/reference/beta/compute/instances/create-with-container
But it doesn't seem like it's supported yet.

Moving this to google-cloud-java repository.


Hugo fails to locate page resources and taxonomy terms as of 0.123.x

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.123.6-92684f9a26838a46d1a81e3c250fef5207bcb735+extended linux/amd64 BuildDate=2024-02-28T18:29:40Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?
Yes, only with a 0.123.x version
My static website at https://github.com/yktoo/yktoo.com produces a number of errors when run against Hugo 0.123.x. There was no error or warning with 0.122.0:
$ hugo
Start building sites …
hugo v0.123.6-92684f9a26838a46d1a81e3c250fef5207bcb735+extended linux/amd64 BuildDate=2024-02-28T18:29:40Z VendorInfo=gohugoio

ERROR [en] REF_NOT_FOUND: Ref "/tags/queens-day" from page "/blog/posts/0094": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0106": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0122": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0110": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0168": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/queens-day" from page "/blog/posts/0184": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0199": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0233": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/kings-day" from page "/blog/posts/0277": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/marcel-coenen-friends" from page "/blog/posts/0283": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0339": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0421": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0457": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/omg-ubuntu" from page "/blog/posts/0760": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/tips-tricks" from page "/blog/posts/0792": page not found
ERROR [en] REF_NOT_FOUND: Ref "/tags/bosnia-herzegovina" from page "/blog/posts/0885": page not found
ERROR [en] REF_NOT_FOUND: Ref "/videoartists/marcel-coenen-friends" from page "/video/tracks/4bcegxzfmzg": page not found
ERROR [en] REF_NOT_FOUND: Ref "/videoartists/pagans-mind" from page "/video/tracks/9at33aijqj4": page not found
ERROR [en] REF_NOT_FOUND: Ref "/videoartists/marcel-coenen-friends" from page "/video/tracks/ijzlcffkp6i": page not found
ERROR [en] REF_NOT_FOUND: Ref "/videoartists/marcel-coenen-friends" from page "/video/tracks/lizwxaxxn0k": page not found
ERROR [en] REF_NOT_FOUND: Ref "/videoartists/pagans-mind" from page "/video/tracks/sluwjvkrchi": page not found
ERROR [en] REF_NOT_FOUND: Ref "/videoartists/marcel-coenen-friends" from page "/videoevents/vevt0035": page not found
ERROR [en] REF_NOT_FOUND: Ref "/videoartists/pagans-mind" from page "/videoevents/vevt0006": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/tags/pagans-mind" from page "/blog/posts/0136": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/tags/marcel-coenen-friends" from page "/blog/posts/0283": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/tags/omg-ubuntu" from page "/blog/posts/0760": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/videoartists/marcel-coenen-friends" from page "/video/tracks/4bcegxzfmzg": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/videoartists/pagans-mind" from page "/video/tracks/9at33aijqj4": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/videoartists/marcel-coenen-friends" from page "/video/tracks/ijzlcffkp6i": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/videoartists/marcel-coenen-friends" from page "/video/tracks/lizwxaxxn0k": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/videoartists/pagans-mind" from page "/video/tracks/sluwjvkrchi": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/videoartists/pagans-mind" from page "/videoevents/vevt0006": page not found
ERROR [ru] REF_NOT_FOUND: Ref "/videoartists/marcel-coenen-friends" from page "/videoevents/vevt0035": page not found
ERROR render of "page" failed: "/home/dk/code/GitHub/yktoo.com/layouts/post/single.html:221:45": execute of template failed: template: post/single.html:221:45: executing "main" at <.Render>: error calling Render: "/home/dk/code/GitHub/yktoo.com/content/blog/posts/0352/index.ru.md:1:1": failed to execute template post/card.html: "/home/dk/code/GitHub/yktoo.com/layouts/post/card.html:17:54": execute of template failed: template: post/card.html:17:54: executing "post/card.html" at <$url>: nil pointer evaluating resource.Resource.RelPermalink
ERROR render of "term" failed: "/home/dk/code/GitHub/yktoo.com/layouts/series/list.html:23:7": execute of template failed: template: series/list.html:23:7: executing "main" at <.Render>: error calling Render: "/home/dk/code/GitHub/yktoo.com/content/blog/posts/0352/index.ru.md:1:1": failed to execute template post/list-item.html: "/home/dk/code/GitHub/yktoo.com/layouts/post/list-item.html:19:58": execute of template failed: template: post/list-item.html:19:58: executing "post/list-item.html" at <$url>: nil pointer evaluating resource.Resource.RelPermalink
ERROR render of "term" failed: "/home/dk/code/GitHub/yktoo.com/layouts/tags/list.html:11:7": execute of template failed: template: tags/list.html:11:7: executing "main" at <.Render>: error calling Render: "/home/dk/code/GitHub/yktoo.com/content/blog/posts/0352/index.ru.md:1:1": failed to execute template post/list-item.html: "/home/dk/code/GitHub/yktoo.com/layouts/post/list-item.html:19:58": execute of template failed: template: post/list-item.html:19:58: executing "post/list-item.html" at <$url>: nil pointer evaluating resource.Resource.RelPermalink
ERROR render of "home" failed: "/home/dk/code/GitHub/yktoo.com/layouts/blog/list.html:52:8": execute of template failed: template: blog/list.html:52:8: executing "main" at <.Render>: error calling Render: "/home/dk/code/GitHub/yktoo.com/content/blog/posts/0352/index.ru.md:1:1": failed to execute template post/list-item.html: "/home/dk/code/GitHub/yktoo.com/layouts/post/list-item.html:19:58": execute of template failed: template: post/list-item.html:19:58: executing "post/list-item.html" at <$url>: nil pointer evaluating resource.Resource.RelPermalink
Total in 4974 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/home/dk/code/GitHub/yktoo.com/layouts/_default/baseof.html:4:8": execute of template failed: template: post/single.html:4:8: executing "post/single.html" at <partial "head-meta.html" .>: error calling partial: "/home/dk/code/GitHub/yktoo.com/layouts/partials/head-meta.html:6:4": execute of template failed: template: partials/head-meta.html:6:4: executing "partials/head-meta.html" at <partial "opengraph" .>: error calling partial: "/home/dk/code/GitHub/yktoo.com/layouts/partials/opengraph.html:9:46": execute of template failed: template: partials/opengraph.html:9:46: executing "partials/opengraph.html" at <$url>: nil pointer evaluating resource.Resource.Permalink

The first portion of errors is related to tags in the front matter that contain an apostrophe, e.g. Queen's Day (example). For an unknown reason they trigger a REF_NOT_FOUND.
The second portion of errors is caused by Hugo unable to find an image in the page resources (located, for instance, in content/blog/posts/0352). The resource is looked for using the code like:
{{- with $.Param "image" }}
    {{- $url := . }}
    {{- if not (findRE "^(/|http(s?)://)" $url) }}
        {{- $url = ($.Page.Resources.GetMatch $url).Permalink }}
    {{- end -}}
    <meta property="og:image" content="{{ $url | absURL }}" />
{{- end -}}

As I found out, $.Page.Resources.GetMatch always returns <nil>.

1) With v0.123.7 and later, when getting a page reference to a taxonomy term, change things like this:
{{ relref $page (print `/categories/` (urlize .)) }}

to something like this:
{{ relref $page (print `/categories/` .) }}

diff
commit 89ef1d54cfaf6ef62ae62206cb45690875a79b0d
Author: Joe Mooring<EMAIL_ADDRESS>Date:   Fri Mar 1 09:52:35 2024 -0800

    Remove urlize from relref calls to term pages

diff --git a/layouts/post/single.html b/layouts/post/single.html
index b4e6374aa..abba01a19 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -197,7 +197,7 @@

{{ T "categories" }}

                     {{- range $idx, $category := .Params.categories }}
-                    {{- if $idx }}, {{ end }}<a href="{{ relref $page (print `/categories/` (urlize .)) }}" rel="category tag">{{ . }}
+                    {{- if $idx }}, {{ end }}<a href="{{ relref $page (print `/categories/` .) }}" rel="category tag">{{ . }}
                     {{- end }}

                 {{- end }}
@@ -227,7 +227,7 @@

{{ T "tags" }}

                     {{- range $idx, $tag := sort .Params.tags }}
-                    {{- if $idx }}, {{ end }}<a href="{{ relref $page (print `/tags/` (urlize .)) }}" rel="tag">{{ . }}
+                    {{- if $idx }}, {{ end }}<a href="{{ relref $page (print `/tags/` .) }}" rel="tag">{{ . }}
                     {{- end }}

                 {{- end }}
diff --git a/layouts/videoevent/list.html b/layouts/videoevent/list.html
index a9ffc6586..b21011423 100644
--- a/layouts/videoevent/list.html
+++ b/layouts/videoevent/list.html
@@ -44,7 +44,7 @@
             {{- with $track.Params.videoartists }}

                 {{- T "withArtists" }}
-                {{- range $idx, $artist := . }}{{ if $idx }}, {{ end }}<a href="{{ relref $ (print `/videoartists/` (urlize .)) }}">{{ $artist }}{{ end -}}
+                {{- range $idx, $artist := . }}{{ if $idx }}, {{ end }}<a href="{{ relref $ (print `/videoartists/` .) }}">{{ $artist }}{{ end -}}

             {{- end }}

diff --git a/layouts/videotrack/single.html b/layouts/videotrack/single.html
index 2ff6ce119..7bbbc31d8 100644
--- a/layouts/videotrack/single.html
+++ b/layouts/videotrack/single.html
@@ -23,7 +23,7 @@

{{ T "inThisVideo" }}

     {{- range . }}
-
<a href="{{ relref $ (print `/videoartists/` (urlize .)) }}">{{ . }}

+
<a href="{{ relref $ (print `/videoartists/` .) }}">{{ . }}

     {{- end }}

2) Your usage of .GetPage is very fragile. Perform error checking every time you call .Site.GetPage or .Page.GetPage.  Change things like this:
{{ with .GetPage "foo" }}
  do something
{{ end }}

To something like this:
{{ with .GetPage "foo" }}
  do something
{{ else }}
  {{ errorf "Unable to get page 'foo'" }}
{{ end }}

This is required to identify broken page references, either existing or related to the intentional breaking changes in v0.123.x.
3) Your usage of .Resources.Get is very fragile. Perform error checking every time you call .Resources.Get. See example above.
4) You have images named like this:
image-en.png
image-ru.png

These should be:
image.en.png
image.ru.png

After going through the site, I haven't found any bugs. The required changes are related to the intentional breaking changes announced with v0.123.0.

Hi @jmooring, thanks a lot for investigating this, I implemented all fixes you mentioned and the site builds now!
There's, however, one last issue with an image page resource here. It concerns the image jetbrains.png mentioned as:
> {{< button "https://www.jetbrains.com/?from=SoundSwitcherIndicator" "![JetBrains logo](jetbrains.png)" >}}

The image does get copied to the /en site (as /en/software/sound-switcher-indicator/jetbrains.png), but not to /ru, causing a 404. What is the correct way of providing the image to both languages? Duplicating the image isn't the nicest solution in my view.

Regarding the JetBrains image...
By default, with a multilingual single-host site, Hugo v0.123.0 and later do not duplicate shared page resources when building the site. This is a huge storage/transfer/performance win. See details. Further down that page you'll see this:

To resolve Markdown link and image destinations to the correct location, you must use link and image render hooks that capture the page resource with the Page.ResourcesGet method, and then invoke its RelPermalink method.
By default, with multilingual single-host sites, Hugo enables its embedded link render hook and embedded image render hook to resolve Markdown link and image destinations.

So, the embedded image render hook is doing the right thing, but your button shortcode uses transform.Markdownify to render the markdown image, and there's a caveat with markdownify:

Although the markdownify function honors Markdown render hooks when rendering Markdown to HTML, use the RenderString method instead of markdownify if a render hook accesses .Page context. See issue #9692 for details.

Change your shortcode to this:
<a href="{{ .Get 0 | absURL }}" class="btn {{ .Get 2 | default `btn-secondary` }}">{{ .Get 1 | .Page.RenderString }}

Tested with your site... works great.

Phew, that's getting really complex now. Indeed, I used .Page.RenderString elsewhere, but in most places I still use markdownify, I'll try to phase it out gradually.
Anyway, thanks a lot for your help @jmooring, it works now! Closing the issue.

I'm glad it's working for you. Note that using .Page.RenderString has other benefits, namely the ability to render as either an inline or block element.


Consider using Long instead of buffers for IDs

According to @Raynos:

Keeping i64 in buffer is expensive for numerous reasons, prefer Long format.

buffers should have a "short life time", keeping them around will bloat memory ( they are internally slab allocated )
allocating a buffer slice is more expensive then an object with two integer fields

I see that Long has to/from hex string, so we should be using it instead of buffers:
Long#toString(radix=)
Long.fromString(str, unsigned=, radix=)

https://www.npmjs.com/package/long#longtostringradix

fixed by (dual representation of strings and buffers.) https://github.com/uber/jaeger-client-node/pull/30.
Also using longs did not reveal great benchmarks.  https://github.com/uber/jaeger-client-node/pull/12.
No benchmarks in link above, but I tested locally.


Filename generator extraction refactor

This closes #11337.
Acceptance minimum:

[x] URL sync.
[x] Dataset drop import.
[x] .carto import.

Acceptance is 🍏


Connection locks up

Bug description
Similar to 777, if I navigate away (e.g. a different space on macOS) I cannot use the open terminal connection in webssh. This makes it very difficult to use WebSSH in any practical way.
Screenshots
If applicable, add screenshots to help explain your problem
Steps to reproduce

Error is thrown

Michael I need more information to fix troubles you are encountering.
By « locks up » what do you mean?
Do you have any logs filled by errors?

Thank you Michael.
If the trouble comes again -> please try to reload the rendering engine by using Cmd + R or :

I would like to find if all WebSSH is locked or only the rendering engine.

I will definitely try to reprise and see if that solves the issue! Thank you.

@mbierman Feel free to reopen this issue if needed


vs code dosent work for Unity

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

VS Code Version: 1.81.0
OS Version: Windows 11

Steps to Reproduce:

Start unity project
Vs code not see references from other project files, and highlight dosent work

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


Add quota to capacity report

Splitting the capacity script out into its own directory as its not related to the garbage collection stuff.
Reformatting output to be more vertical
add quota reporting
add pytest for memory/cpu conversion

Tested and working on two clusters.

Jay


Inconsistent function signature of NDarray.randn

Description
NDArray.randn function signature
def rand (*shape, **kwargs):
is incorrect and inconsistent with rest of the signatures in Random Number Generator NDArray API
a. Rest of the parameters - loc, scale, shape, dtype, ctx, out need to be included
b. *shape has to be replaced by shape
c. Why is another level of abstraction added by putting everything in **kwargs and then popping it up. If that's required, why not for others?

can you please add links and references in the above issue description

Thank you for reporting this issue @ChaiBapchya
@mxnet-label-bot [NDArray]

Yup, I'm working on another PR that will have fix for this too.


IAM policy optimizer is too eager may cause a security issue

The IAM policy optimization code has an issue that may cause unwanted extension of permissions.
Repro:
const doc = new iam.PolicyDocument();
doc.addStatement(new iam.PolicyStatement()
  .addResource('bucket1')
  .addActions('s3:read-only'));

doc.addStatement(new iam.PolicyStatement()
  .addResource('bucket2')
  .addActions('s3:*'));

Output:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": [
        "bucket1",
        "bucket2"
      ]
    }
  ]
}

Expected (obvsiouly, we didn't want full access to "bucket1"):
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:read-only",
      "Resource": "bucket1"
    },
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": "bucket2"
    }
  ]
}

I am going to revert #916 for now and we should discuss what's the right way to introduce changes in this layer.


Define which way the manu is opened

Hello,
I'd like to use a react-tiny-fab in every Card component in the dashboard I'm creating.
It would be amazing to be free to position the react-tiny-fab in a position relative to its parent component.
It would be amazing to be free to define which way it expands.
For the moment I have positioned it this way but it's not clean at all.
 <Fab
        icon={<Settings />}
        event="hover"
        key={uuid.v4()}
        alwaysShowTitle={false}
        position={({ zIndex: 0, ...position })}
      >

Where position is calculated
const offsets = { top: -90, left: -90 } // this is the distance from the bottom-left corner of the Card
const position = { top: top + height + offsets.top, left: left + width + offsets.left } // this is evaluated in something like {top: 200, left:500 }

I also had to pass the zIndex parameter through the position prop because I haven't found a cleaner way to customize the component.
I haven't found any beautiful alternative around and this is the reason why I'd like to be able to customize a little bit more.
Thank you

@frab90 What would you propose the API should look like in order to achieve what you want?
One way you could do this is by using CSS (I could even allow props to be passed down in case you are using Styled Components, or some type of CSS-in-JS). If you want to use CSS to do what you want, here is how:
/* This is the main container around the FAB */
.rtf {
  position: absolute;
}

Then, the position you pass in would be relative to the nearest relative container - in your case, the Card component.

Thank you  @dericgw  for the quick reply.
About the expansion direction
I figured out that passing bottom instead of top to the position prop is enough to make the action appear upward. It works but if you want to allow more customization a way to improve it would be to add an expand prop with one of those values: up, down, left, right. If any value is provided for the expand prop, the component should automatically figure out the way to expand like it does right now.
 <Fab
       // other props
       expand={'up'} // if expand is not defined, the component automatically figures out which way to expand
      >

About relative positioning and/or other custom styling
I need to override the both the .rtf's position and the 'zIndex' attributes to achieve the result I want. Maybe someone else would be interested in overriding some other attributes. Do you think adding a style prop to the Fab component could make the component too complicated to use?
Does passing any styling attribute to the position prop do what I'm suggesting to achieve by adding a style prop?
If yes you could:

just rename position to style or
letting us pass one between position and style or both. If both are passed their value have to be merged before being applied to the component.

For example
 <Fab
       // other props
       style={ /* custom style to apply to the .rtf class */}
       position={top: 30, left:50}
      >

Does it make sense?

@frab90 I like your idea of changing the position prop to style prop - that really makes more sense because that is what it is used for. I also like the suggestion of having another prop like expand to allow the consumer to define which way the menu will expand. If I can get some time, I will implement this. This would require a new major version since the API would change (I wouldn't want to have to merge position and style because I would possibly need to merge three objects together and precedence could then become confusing.
If you wanted to take on this work and create a PR, you are more than welcome. It seems like you have a really good grasp on what should happen.

This will be fixed in v4 which is about to be released.


Ginkgo: log docker execution in verbose mode

When in verbose mode, print all commands that are executing in the runtime tests. Helps debug.
Signed-off-by: Joe Stringer<EMAIL_ADDRESS>

test-me-please


ARROW-4461: [C++] Expose bit map operations that work with raw pointers

Precursor to fixing the rest of the boolean computer kernels to not allocate memory.

Rebased

@xhochy mind taking a look to see if this can be merged?

I'll take a look now


[Icon] SimpleX

Could you add an icon for the messenger SimpleX? That'd be awesome!

I tried to convert the SVG found on their website to monochrome but theres like the tiniest gap at one point thats pissing me off but i'll share what i did so someone else can fix it maybe

ok for some reason that SVG was showign colour when opened in the browser
i think i fixed it now