Enable to increase timeout for steps in openstack_update_run target

openstack_update_run make target uses globall timeout variable value. To be able to increase timeout when openstack_update_run runs from CI-framework we need set timeout in _make_openstack_update_run_params.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

/lgtm tested on a live env:
using -e cifmw_update_openstack_update_run_timeout=1200s resulted on this output:
TASK [install_yamls_makes : Debug make_openstack_update_run_params var=make_openstack_update_run_params] ***
Tuesday 23 July 2024  09:28:15 -0400 (0:00:00.094)       0:02:06.205 **********
ok: [localhost] =>
  make_openstack_update_run_params:
    OPENSTACK_VERSION: 0.0.5
    TIMEOUT: 1200s

and this command was run:
oc wait openstackversion.core.openstack.org/controlplane --for=condition=MinorUpdateDataplane --timeout=1200s

When the value is not changed we see 600s as expected.

/lgtm
/approve


events: add listenerCount

As per the Node 4.0.0 documentation

Resolves https://github.com/Gozala/events/issues/19


did my issue

i finished my page, used some jsom to display dynamic data projects. i pulled some changes later called merged branch, please ignore that if it appears

no conflict!


Sweep: Failing to Deploy

Details
5:36:11 PM: build-image version: ecdc8b770f4a0193fd3f258c1bc6029e681813a4 (focal)
5:36:11 PM: buildbot version: 7f71d4a04b466d01951f8f6e47bdfedeb2f4f92f
5:36:11 PM: Fetching cached dependencies
5:36:11 PM: Failed to fetch cache, continuing with build
5:36:11 PM: Starting to prepare the repo for build
5:36:12 PM: No cached dependencies found. Cloning fresh repo
5:36:12 PM: git clone --filter=blob:none https://github.com/himshim/bandwidth-hero-proxy2
5:36:12 PM: Preparing Git Reference refs/heads/main
5:36:13 PM: Pushing to repository git@github.com:Sazu-bit/bandwidth-hero-proxy2
5:36:19 PM: Custom functions path detected. Proceeding with the specified path: 'functions'
5:36:20 PM: Starting to install dependencies
5:36:20 PM: Python version set to 3.8
5:36:21 PM: Attempting Ruby version 2.7.2, read from environment
5:36:22 PM: Using Ruby version 2.7.2
5:36:23 PM: Started restoring cached go cache
5:36:23 PM: Finished restoring cached go cache
5:36:24 PM: go version go1.19.13 linux/amd64
5:36:25 PM: Using PHP version 8.0
5:36:28 PM: v18.20.4 is already installed.
5:36:29 PM: Now using node v18.20.4 (npm v10.7.0)
5:36:29 PM: Enabling Node.js Corepack
5:36:29 PM: Started restoring cached build plugins
5:36:29 PM: Finished restoring cached build plugins
5:36:29 PM: Started restoring cached corepack dependencies
5:36:29 PM: Finished restoring cached corepack dependencies
5:36:29 PM: Started restoring cached yarn cache
5:36:29 PM: Finished restoring cached yarn cache
5:36:29 PM: No yarn workspaces detected
5:36:29 PM: Started restoring cached node modules
5:36:29 PM: Finished restoring cached node modules
5:36:29 PM: Installing npm packages using Yarn version 1.22.19
5:36:30 PM: yarn install v1.22.19
5:36:30 PM: [1/4] Resolving packages...
5:36:31 PM: warning jest > @jest/core ><EMAIL_ADDRESS>Rimraf versions prior to v4 are no longer supported
5:36:31 PM: warning jest > jest-cli > jest-config ><EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
5:36:31 PM: warning jest > @jest/core > rimraf ><EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
5:36:31 PM: warning jest > @jest/core > jest-runtime ><EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
5:36:31 PM: warning jest > @jest/core > @jest/reporters ><EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
5:36:31 PM: warning jest > jest-cli > jest-config > glob ><EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
5:36:32 PM: warning jest > @jest/core > @jest/transform > babel-plugin-istanbul > test-exclude ><EMAIL_ADDRESS>Glob versions prior to v9 are no longer supported
5:36:32 PM: warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom ><EMAIL_ADDRESS>Use your platform's native atob() and btoa() methods instead
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > data-urls ><EMAIL_ADDRESS>Use your platform's native atob() and btoa() methods instead
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom ><EMAIL_ADDRESS>Use your platform's native DOMException instead
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom ><EMAIL_ADDRESS>Use your platform's native performance.now() and performance.timeOrigin.
[2/4] Fetching packages...
5:36:36 PM: [3/4] Linking dependencies...
5:36:37 PM: [4/4] Building fresh packages...
5:36:40 PM: success Saved lockfile.
5:36:40 PM: Done in 10.42s.
5:36:40 PM: npm packages installed using Yarn
5:36:41 PM: Successfully installed dependencies
5:36:41 PM: Starting build script
5:36:43 PM: Detected 0 framework(s)
5:36:43 PM: Section completed: initializing
5:36:47 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
5:36:45 PM:
5:36:45 PM: Netlify Build
5:36:45 PM: ────────────────────────────────────────────────────────────────
5:36:45 PM:
5:36:45 PM: ❯ Version
5:36:45 PM:   @netlify/build 29.54.9
5:36:45 PM:
5:36:45 PM: ❯ Flags
5:36:45 PM:   accountId: 66fd7190764d002ffbd60564
5:36:45 PM:   baseRelDir: true
5:36:45 PM:   buildId: 66fd76686d7c8135b445a40e
5:36:45 PM:   deployId: 66fd76686d7c8135b445a410
5:36:45 PM:
5:36:45 PM: ❯ Current directory
5:36:45 PM:   /opt/build/repo
5:36:45 PM:
5:36:45 PM: ❯ Config file
5:36:45 PM:   /opt/build/repo/netlify.toml
5:36:45 PM:
5:36:45 PM: ❯ Context
5:36:45 PM:   production
5:36:45 PM:
5:36:45 PM: Functions bundling
5:36:45 PM: ────────────────────────────────────────────────────────────────
5:36:45 PM:
5:36:45 PM: Packaging Functions from functions directory:
5:36:45 PM:  - index.js
5:36:45 PM:
5:36:46 PM:
5:36:46 PM: (Functions bundling completed in 1s)
5:36:46 PM:
5:36:46 PM: Deploy site
5:36:46 PM: ────────────────────────────────────────────────────────────────
5:36:46 PM:
5:36:46 PM:
5:36:46 PM: Configuration error
5:36:46 PM: ────────────────────────────────────────────────────────────────
5:36:46 PM:
5:36:46 PM:   Error message
5:36:46 PM:   Deploy did not succeed: Build cancelled, found file owned by root
5:36:46 PM:
5:36:46 PM:   Resolved config
5:36:46 PM:   build:
5:36:46 PM:     publish: /opt/build/repo
5:36:46 PM:     publishOrigin: ui
5:36:46 PM:   functionsDirectory: /opt/build/repo/functions
5:36:46 PM:   redirects:
5:36:47 PM:     - from: /api/*
      status: 200
      to: /.netlify/functions/:splat
  redirectsOrigin: config
5:36:47 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
5:36:47 PM: Failing build: Failed to build site
5:36:47 PM: Finished processing build request in 36.258s

The repository should be fresh and i havent put anything in there. Atm i dont have access to commandline git


Update README.md

Fix of Breaking changes in README.md out of Version v4.1.0
https://github.com/dewenni/ESP_Buderus_KM271/releases/tag/v4.1.0

Thanks for the hint.
In this context, this also needs to be checked and adjusted: /Doc/param.txt

Thanks for the hint. In this context, this also needs to be checked and adjusted: /Doc/param.txt

No problem, many Thanks for this brilliant Project 😀
I made a second Commit, where i Updatet the /Doc/param.txt


Request for Code: Text Semantic Parser for Tag Extraction

Hi there! First of all, thank you for sharing your code and models. I've been reading your paper and came across Section 3.2, where you mentioned using a text semantic parser to extract tags from raw captions. It would be immensely helpful if you could also share the code for the semantic parser. With access to this code, I'll be able to test your models on other datasets effectively. Thank you once again for your contribution!

Hi, thanks for your attention! Open-source parsing code requires the approval process of the company. I recommend you directly use SceneGraphParser and refer section 3.2 of Tag2Text paper. Also, you can use GPT to extract tags from the text.
Welcome to provide feedback if you have more issues.

Thanks！


scripts: runners: improve hex file detection and output

This is a band-aid to make it more obvious to potential users of 'west
sign' and 'west flash' which hex file they are flashing, when they are
falling back on a binary file, and erroring out when a hex file does
not exist.
Fixes: #18201

This is a generalization and slight tweak of c484935fe5dc2fc93f2b4c54ba85807aba15b171.

LGTM. I wondering if you could move the logic for which file formats are required up a level and than just have the specific runner specify which types.

The real fix IMO is to deprecate --bin-file, --hex-file, and --elf-file entirely and just use a single --file argument. I expect centralizing what type of file you can flash within RunnerCaps around that time will make sense.

@mbolivar so the goal with this PR isn't to make the commands work like they did pre v2.0.  It's more to explain what's being flashed so that the user has a better understanding?

Making sure I can build the 4.0.4 userspace in Alpine, before I merge this.

@mbolivar so the goal with this PR isn't to make the commands work like they did pre v2.0.

Are you talking about west sign? From the original bug report,

At some point during Zephyr v2.0 development, west sign moved the zephyr.signed.hex(.bin) into the build dir.

If so, the move of the default signed file location from $PWD to the build directory was on purpose and I would be strongly against changing it. It plays a lot better with west config options like build.dir-fmt that let you create multiple build directories depending on the board, app, etc.
You can always give the path to the output signed file explicitly, using the LTS or 2.0 versions of west sign, if you need consistent results.
I put the signed files in the current directory because I thought the build system maintainers wouldn't want me to be messing with files in there outside of CMake. Turns out I was wrong, so I made that change (also other users requested this change).

It's more to explain what's being flashed so that the user has a better understanding?

Not just that. It also errors out if you pass an explicit --hex-file that does not exist, or the system is otherwise looking for a nonexistent hex file. In the original report, these were the steps to reproduce and problem:

    west build -d build/lwm2m-nrf52840_pca10056 -b nrf52840_pca10056 -s zephyr/samples/net/lwm2m_client -- -DOVERLAY_CONFIG=overlay-ieee802154.conf -DCONFIG_BOOTLOADER_MCUBOOT=y
    west sign -d build/lwm2m-nrf52840_pca10056 -t imgtool -- --key mcuboot/root-rsa-2048.pem
    west flash -d build/lwm2m-nrf52840_pca10056 --hex-file zephyr.signed.hex

The expected behavior was "Users migrating from v1.14 to v2.0 will expect this to work or complain with an error, but not silently flash the wrong binary."
The error should not be silently ignored now with these patches, except perhaps on a few obscure runners I don't want to touch :).

@mike-scott could you take another look at this converstation?


hono/logger has annoying spaces when using a custom PrintFunc

What version of Hono are you using?
4.5.9
What runtime/platform is your app running on?
Cloudflare Workers
What steps can reproduce the bug?
When using hono/logger with a custom PrintFunc like:
app.use(logger((message: string, ...rest: string[]) => {
  ctx.var.logger.debug(message, ...rest);
}));

the log statements are prefixed with 2 spaces which does look annoying.
What is the expected behavior?
No spaces.
What do you see instead?
Spaces:
[23:14:11.215] DEBUG (90875f1e-6a22-4f38-ba2c-d5ea16b9ac1d):   <-- GET /customers/1
[23:14:11.232] DEBUG (90875f1e-6a22-4f38-ba2c-d5ea16b9ac1d): Some other log statement

Additional information
Reason is:
  const out =
    prefix === LogPrefix.Incoming
      ? `  ${prefix} ${method} ${path}`
      : `  ${prefix} ${method} ${path} ${colorStatus(status)} ${elapsed}`
  fn(out)

https://github.com/honojs/hono/blob/main/src/middleware/logger/index.ts#L58-L59
There is a easy workaround to trim() the message:
app.use(logger((message: string, ...rest: string[]) => {
  ctx.var.logger.debug(`${message.trim()}`, ...rest);
}));

but why does Hono add these spaces?
\

PS: if it's considered to remove the spaces, I can create a PR.

Hi @marceloverdijk thank you for raising the issue.
@metrue Do you know why we added the three spaces to it? If there is no specific reason, I think we can remove it.

If they can removed, I already prepared a PR: https://github.com/honojs/hono/pull/3334

Everyone's preferences are different, I just felt the leading spaces gave me a better feeling than no spaces left between log and edge.
  <-- GET /
  --> GET / 200 4ms
  <-- GET /
  --> GET / 200 1ms
  <-- GET /
  --> GET / 200 1ms

<-- GET /
--> GET / 200 4ms
<-- GET /
--> GET / 200 1ms
<-- GET /
--> GET / 200 1ms

But it's true, when you add a custom printing, it's not perfect looking.
export const customLogger = (message: string, ...rest: string[]) => {
  console.log(message, ...rest)
  console.log('some other logs')
}

  <-- GET /
some other logs
  --> GET / 200 5ms
some other logs

I am ok to remove the spaces, @yusukebe you can make decision.

@metrue Thank you for your explanation.
So, let's remove the spaces. I'll merge the #3334 by @marceloverdijk .


CI: Update base Alpine and Distroless container images

Commit Message: Update base Alpine and Distroless container images
Risk Level: Low
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Michael Payne<EMAIL_ADDRESS>

/retest


Fix COMException when no audio device is present

Fixes an issue reported in Discord where IMMDeviceEnumerator::GetDefaultAudioEndpoint would return hr 0x80070490 (element not found) & raise an uncaught COMException when no audio device was available.

Thanks!  Closes #498!


Prohibit starred arguments after double-starred arguments

CPython prohibits f(**kwargs, *args); we should too.

I believe you can use the following command to test your changes locally:
# this runs all of the tests (not necessary if you know which test is affected)
cargo run --release --features ssl,jit -- -m test -j 1 -u all --slowest --fail-env-changed -v
# this runs only the test suite named "test_whatever" (usually located at `Lib/test/test_whatever.py`)
cargo run --release --features ssl,jit -- -m test -j 1 -u all --slowest --fail-env-changed -v test_whatever


Move all track 2 autogenerated libraries to rush workspace

Create uni\fied pipelines etc, whatever needs to be done,
Make sure documentation for onboarding is up-to-date

we don't want to move @azure/synapse to rush, since it doesn't have any characteristics of a track 2 library. it is more aligned with management plane libraries, since it uses arm-templates for autogeneration. Closing this task.


Template html.twig is not defined

Hi,
I'm getting the same issue with diferent packages, i tried core alone, with skeletons ...
When i try to use the wysiwyg button to edit pages i get this message : Template "modular/my_file.html.twig" is not defined ().
I checked the folder templates/modular and my file is right there, i dont understand why it's not working.
If u have any sugestions ...
Thanks.

can you first provide a screenshot of the error?

I've put some different handling in around this error message. Next time it occurs it should be more helpful.


[SkyWalking 10] Service Architecture-Layer Concept

Hi @apache/skywalking-committers
I am writing this issue and created 10.0.0 milestone to track for long-term ideas. We are going to maintain and enhance SkyWalking 8.x and reserve 9.x for possible breaking upgrades. So, SkyWalking 10 would be the next core-level features and architecture-related version.
The first idea in mine and @Fine0830 's mind is a new and powerful UI, with all existing monitoring targets that would work together. Currently, we have in-process agents, mesh-controlled services/pods, k8s nodes, VM(OS) nodes. In real architecture, they are in different layers physically.

Language agents monitoring services are in-process level, which is the code and method level monitoring. They are on the top of VM(OS) or in a pod managed by k8s, even service mesh
Mesh-controlled services are in k8s pod or VM.
K8s nodes are on VM(OS) nodes.

Also, we could have higher lever layer, such as

Versioned service to group service instances based on CD and version control system
Cluster to group services based on physical deployment.

Each instance could have layer concepts, including on top of and contains 2 types.

on top of could represent a service instance that is running on a VM node.
contains could represent a k8s node containing several images.

For filling this relationship, each level's agents should enhance the capabilities to build this kind of link.
Service should aggregate instances' layers(2 directions) together, and automatically splits into different logic service group to represent different groups of instances which have same layer information.
To @Fine0830, UI should have a totally different layout, the first level should be dynamic layers, then each layer should provide supported observability data, such as whether

Traces/logs are available
Events detected
Metrics dashboards

All these things are dynamic in the runtime. Alarms should be another one on the top level, but be able to link to a specific service/instance in a specific layer.
Also, we should have a layer map, from top to bottom, such as this(only a demo)

But also, should accept those layers could have more than one of this scenograph.

All above changes are compatible at the protocol level, as layers could be assigned at the backend or using new fields.
If anyone has anything want to discuss, welcome to comment here or set up a video meeting with me.

This is still open to discussion, just close as this is long-term. All committers are welcome to share ideas.


HashMap usage logic in UpgradeTracker

Does the logic in the UpgradeTracker class work correctly with the use of String[] as a key, or should a different key type be used, such as List<String>? As I know hashCode for String[] returns a value based on the object's reference rather than the array's content.
https://github.com/kserve/modelmesh/blob/af8c30042b319f323812fb3ac826bd5b96c2a061/src/main/java/com/ibm/watson/modelmesh/UpgradeTracker.java#L67

anybody can answer on question, please)


[Feature request] Tool support

Since Anthropic just released the public beta of tools yesterday, I'd be happy to see support in this library. See Anthropic docs: https://docs.anthropic.com/claude/docs/tool-use
I could imagine some similar C# support for functions like in the OpenAI-DotNet package where C# functions can be used for the request and which can also be invoked from the result, so that you hardly have to deal with fiddling around with JSON schema in C#.
What do you think?

On it! 🙂

Seconded.  Thanks for making this great library!

WIP, should have something that tests out pretty well in a few more days, thoughts?
[Function("This function returns the weather for a given location")]
public static async Task<string> GetWeather([FunctionParameter("Location of the weather", true)]string location)
{
    return "72 degrees and sunny";
}

[TestMethod]
public async Task TestBasicTool()
{
    var client = new AnthropicClient();
    var messages = new List<Message>
    {
        new Message()
        {
            Role = RoleType.User,
            Content = "What is the weather in San Francisco, CA?"
        }
    };
    var tools = Common.Tool.GetAllAvailableTools(includeDefaults: false, forceUpdate: true, clearCache: true);

    var parameters = new MessageParameters()
    {
        Messages = messages,
        MaxTokens = 2048,
        Model = AnthropicModels.Claude3Sonnet,
        Stream = false,
        Temperature = 1.0m,
    };
    var res = await client.Messages.GetClaudeMessageAsync(parameters, tools.ToList());

    messages.Add(res.Content.AsAssistantMessage());

    foreach (var toolCall in res.ToolCalls)
    {
        var response = await toolCall.InvokeAsync<string>();

        messages.Add(new Message(toolCall, response));
    }

    var finalResult = await client.Messages.GetClaudeMessageAsync(parameters);

    Assert.IsTrue(finalResult.FirstMessage.Text.Contains("72 degrees and sunny"));
}

Looks good!  Cool that you can pull it straight from real methods.  Just wanted to make sure that I can also just generate Tool objects from scratch?  I need to roll my own tools in some cases. For example:
Tool tool = new Tool("functionName", new List<Parameter> {new Parameter("paramDescription", true)});
Also can the tools collection just be a member of the MessageParameters?  I think that's how others do it. Is there a reason it's separate from all the other parameters?

Yeah, that'll be an option as well, something similar to:
var tools = new List<Tool>
{
    Tool.GetOrCreateTool(objectInstance, "TheNameOfTheMethodToCall"),
    Tool.FromFunc("a_custom_name_for_your_function", ()=> { /* Some logic to run */ })
};

This was mostly my first crack at wiring up the internals to abstract away all the JSON manipulation.

Tool support has been added, along with some other changes to keep pace with Anthropic.  Hope it helps, and feel free to raise any issues - did the best I could - wanted to get something out there relatively quick for everyone.

Awesome, thanks for the quick addition!

Amazing, will try it out today!

Some thoughts after giving it a try:
First, according to the Claude docs, they support JSON schema for the input_schema property:

Tools are specified in the tools top-level parameter of the API request. Each tool definition includes:

name: The name of the tool. Must match the regex ^[a-zA-Z0-9_-]{1,64}$.
description: A detailed plaintext description of what the tool does, when it should be used, and how it behaves.
input_schema: A JSON Schema object defining the expected parameters for the tool.

You created some classes yourself as some kind of snippet of the JSON schema. Was this an active decision not to go the same route as the OpenAI package I linked above, where they just went with JsonNode and its full flexibility and JSON Schema support?
Secondly, this also lead to the bug I've found and tracked in issue #24
Finally, ToolContentResult seems to be missing the is_error field as described in Anthropic's docs:

And here's an example of returning an error result:

{
  "role": "user",
  "content": [
    {
      "type": "tool_result",
      "tool_use_id": "toolu_01A09q90qw90lq917835lq9",
      "content": "ConnectionError: the weather service API is not available (HTTP 500)",
      "is_error": true
    }
  ]
}

I hope it's okay to send this feedback here and not directly open a new issue for each. I only decided to open a separate one for the bug in order to be able to track it.


Added us/ky/boone

Looks good to merge now 👍

Thanks! Sorry for the late merge, feel free to tag me (@ingalls) so it pops up on my feed faster

No worries. Thanks for merging!
On May 6, 2021, GitHub @.***> wrote:

Thanks! Sorry for the late merge, feel free to tag me @.***
https://github.com/ingalls) so it pops up on my feed faster

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/openaddresses/openaddresses/pull/5756#issuecomment-
833158525>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AABV253OXNRWPFMIHDJ7MD3TMHWBRANCNFSM4337LA4A>.


Syntax highlighting stops without ; in 1.7 beta

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-003121)
Product Information:
Version:            1.0.0-preview2-003121
Commit SHA-1 hash:  1e9d529bc5
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.12
OS Platform: Darwin
RID:         osx.10.12-x64
VS Code version: 1.8.1
C# Extension version: 1.7.0-beta1
Steps to reproduce
namespace MyTest
{
    public class ColorTest
    {
        private readonly string _color
        public ColorTest(string white)
        {
            _color = white;
        }
    }
}

Expected  behavior
This behavior happens when there is a syntax error (missing ;), so this makes it absolutely clear. Maybe it's a feature 😄 Visual Studio syntax highlighting continues to work for other lines, so I guess most users will expect that to be with VS Code also.
Actual behavior

Edit: It looks like that it only happens within class block and not in a method:

This issue was moved to dotnet/csharp-tmLanguage#15

Thanks Tom! I've moved this over to the https://github.com/dotnet/csharp-tmLanguage repo. I'll make the fix over there.


Flaky test: test &Oidcc.client_credentials_token/2 works (Oidcc.TokenTest)

oidcc version
b3bb1a9e31905ca52f372b963c968acd3b12c640
Erlang version
27.0.1
Elixir version
1.17.2
Summary
There is a flaky test.
Current behavior
occassionally this test fails
  1) test &Oidcc.client_credentials_token/2 works (Oidcc.TokenTest)
     test/oidcc/token_test.exs:211
     match (=) failed
     code:  assert {:ok, %Token{}} =
              Oidcc.Token.client_credentials(
                client_context,
                %{scope: ["openid"]}
              )
     left:  {:ok, %Oidcc.Token{}}
     right: {:error, :no_matching_key}
     stacktrace:
       test/oidcc/token_test.exs:224: (test)

How to reproduce
mix test

Expected behavior
all tests should pass

The issues seem to be triggered when Zitadel does not have any keys in the jwks initially since not all tests perform key rotation on a new kid.


No byte codec?

I am very crazy or didn't exist a basic Array[Byte] codec?

@sisso, @mauhiz guys, currently there isn't one. But will happen next version.

Closing since 1.7.2, which adds this codec, was released.


quick search: sharing link to results does not work

Context
it's maybe unfair to call this a bug, but I wanted to make this one a visible priority somehow. If someone makes a search they're excited about, and shares it, it needs to work with who they shared it with!
Example: this was generated by a search from another user, but when the link was shared with me, I got a 404. I could go make the search myself and get the results.
https://data-sources.pdap.io/search/Officer Involved Shootings/detroit
Requirements

when a link to search results is shared, it should work for other users who have not made the search themselves
this is (maybe) a heavier lift, but needs to happen anyway and will achieve the desired effect by creating permalinks to searches. consider doing it instead: https://github.com/Police-Data-Accessibility-Project/data-sources-app/issues/21

closing as duplicate of https://github.com/Police-Data-Accessibility-Project/data-sources-app/issues/78


ck constants

like features but a list of named constants
like alt_names for tell_rpc
ck constants
ck constant name value
stored in the db

This is complete CK constants


Setting MSAA to 1 sample to disable it is really confusing

What problem does this solve or what need does it fill?
It's confusing that you have to set the samples value to 1 to turn off MSAA.
What solution would you like?
Ira presented a pretty good one: https://discord.com/channels/691052431525675048/1051819150189809715/1051822325907079208 Just have the MSAA be a field on the camera like HDR.
What alternative(s) have you considered?
Could have an MSAA enum like:
enum MSAA {
    On(u32),
    Off,
}

and insert that as a resource.

It always made sense to me, but I guess it assumes a lot of rendering knowledge. I'd approve a PR with this change.

Sample counts can be (or at least I have never seen anything else) only be 2^n. But even this rule is limited. In Vulkan there are only the values 1, 2, 4, 8, 16, 32 and 64. I don't think anything beyond that would be useful or even supported by any platform. Therefore I would suggest the following MSAA enum:
enum MSAA {     Off,     Sample2,     Sample4,     Sample8,     Sample16,     Sample32,     Sample64 }
As a positive side effect, no invalid values could be provided.

Only 1 and 4 are supported for now: https://github.com/gfx-rs/wgpu/issues/1832

Good point, and as you said this could still change in the future. For this reason I think it makes sense to use #[non_exhaustive] and for now only use the available values.


Pretrained Model

Can we get a pretrained model? :)

We do have a reference config, so that you can reproduce in 1 GPU-day.
The trouble of actually releasing a pre-trained model is that these models are quite big.
Leaving this open for now because I don't have a good way of releasing huge files.

added a link to pre-trained model


v0.36

Version 0.36
Released November 6, 2023

Add special holidays per subdivisions support (#1520 by @KJhellico)
Add special_holidays_observed support (#1535 by @KJhellico)
Refactor Australia holidays (#1531 by @KJhellico)
Refactor Isle of Man holidays (Tynwald Day) (#1532 by @KJhellico)
Add Bahamas holidays (#1517 by @PPsyrius)
Add Timor-Leste holidays (#1516 by @PPsyrius)
Add Tonga holidays (#1534 by @PPsyrius)
Update Portugal holidays: add holiday categories (#1529 by @KJhellico)
Update South Africa holidays: add holiday in honor of Winning the Rugby World Cup 2023 (Dec 15, 2023) (#1538 by @KJhellico)
Update snapshots generator (#1530 by @KJhellico)
Add Thailand's Bridge Public Holiday on Dec 29, 2023 (#1528 by @PPsyrius)
Migrate the remaining special_holidays to StaticHolidays class (#1519 by @PPsyrius)
Remove hard-coding observed_rule for Bahamas (#1527 by @PPsyrius)
Remove redundant gettext assignment (#1533 by @arkid15r)
Set concurrency group for CI/CD jobs (#1540 by @arkid15r)
Set pyproject.toml project version dynamically (#1525 by @arkid15r)
Use OIDC (trusted publishers) for PyPI uploads (#1523 by @arkid15r)
Use setdefault instead of hard-coding observed_rule and observed_since (#1521 by @BossColo)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

519 of 519 (100.0%)  changed or added relevant lines in 75 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 99.978%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
10148

Relevant Lines:
10148

💛  - Coveralls


Update default ETA

For default sampler Euler a we need eta=1.0 as default, because with eta=0 it's equivalent Euler (works bad)

Thank you for the PR 👍


PHP-FPM mode can't suppose unix socket connect ?

Predis is very good, I already use it in my project. But I have a problem.
This is a demo:
require "frame/predis/Autoloader.php";
Predis\Autoloader::register();
$redis = new Predis\Client([
    'scheme' => 'unix',
    'path' => "/home/work/local/monitor/redis/redis.sock",
]);

$redis->set('test', '123');
echo $redis->get('test')."###\n";

cli:
php test.php
123###

well done.
But, when I access http://xxx/test.php:

It connect redis use TCP socket, but I set my redis "port 0", so failure.
I use nginx/1.4.4, php/5.4, redis/3.02, predis/1.0.3 and my system is Red Hat 4.4.4.

I modify redis.conf and listen on a TCP socket again, It is work well.

Hardly related to Predis. Check the permissions of your UNIX domain socket file to make sure that the user of your PHP processes can properly access it.

Thx, I forget check this point.

@nrk Maybe not UNIX socket permissions's reason. I chmod 777 redis.socket file, but It is not work.
srwxrwxrwx  work work   redis.sock

@iyaozhen it's not an issue related to Predis anyway or you wouldn't be able to use UNIX sockets via CLI. The exception says your script is trying to connect using TCP sockets which means it's a most likely a misconfiguration of your script.

@nrk I understand. I just worry it's Predis's bug. I'll check my environment again, It is must be my bug.

There is another explanation for CentOS / RHEL 7 and related operating systems using SELinux.
SELinux blocks the connection between PHP-FPM and the unix sockets, even when permissions are 777.
There may be a policy that allows Redis and PHP-FPM to talk. In a pinch, disabling SELinux at /etc/sysconfig/selinux and rebooting allows the socket to immediately work.
If someone finds the proper SELinux policy to allow the two to talk then please post.


New Ticket Alerts Are Not Triggered

When using this plugin, Ticket Assignment Alerts are not getting triggered.

@tdefreest now you can download fix from master


⚠ BCR Bot has degraded performance

In 0ae9ea0, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 3934 ms

Resolved: BCR Bot performance has improved in a4cd28c.


Hard crash

The mod Improved Combinator SE (1.0.15) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event ImprovedCombinatorSE::on_gui_click (ID 1)
ImprovedCombinatorSE/scripts/overlay_gui.lua:267: attempt to compare number with nil
stack traceback:
ImprovedCombinatorSE/scripts/overlay_gui.lua:267: in function 'on_click_set_constant'
ImprovedCombinatorSE/scripts/overlay_gui.lua:168: in function 'on_click'
ImprovedCombinatorSE/scripts/gui.lua:51: in function <ImprovedCombinatorSE/scripts/gui.lua:46>

submitted PR


Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'

Bcrypt error while installing on mac elcapitan. npm-debug log added to issue.
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save-dev"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output abov
npm-debug.log.tar.gz
e.

Have the same issue on Windoze 10
c:\Build\nodejs\test>npm install bcrypt

<EMAIL_ADDRESS>install c:\Build\nodejs\test\node_modules\bcrypt
node-gyp rebuild

c:\Build\nodejs\test\node_modules\bcrypt>if not defined npm_config_node_gyp (node "G:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (G:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:401:14)
gyp ERR! stack     at G:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:356:11
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:117:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "G:\Program Files\nodejs\node.exe" "G:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Build\nodejs\test\node_modules\bcrypt
gyp ERR! node -v v6.2.2
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "G:\Program Files\nodejs\node.exe" "G:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "bcrypt"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     c:\Build\nodejs\test\npm-debug.log
npm-debug.log.zip

@rwdietrich your log includes the error that you're missing python:
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

@satishweb you might be short of a dependency too. I stumbled upon this list of required packages https://gist.github.com/rakam/b851c02589c3467982b0

@masone Thanks for the comment. I noticed python missing as well, but it seems like it should have been installed as a dependency. I tried "npm install python" but got the same results for bcrypt.

Python is a system level dependency, not a missing npm package. https://www.python.org/downloads/

Grumble, grumble. Still a dependency. Anyway, I installed 3.5 and then found I needed 2.7. Then tried pointing PYTHON env variable to the executable and got:
`c:\Build\nodejs\test>npm install bcrypt

<EMAIL_ADDRESS>install c:\Build\nodejs\test\node_modules\bcrypt
node-gyp rebuild

c:\Build\nodejs\test\node_modules\bcrypt>if not defined npm_config_node_gyp (node "G:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe". To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual
Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.  [c:\Build\nodejs\test\node_modules\bcrypt\build\binding.
sln]
gyp ERR! build error
gyp ERR! stack Error: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (G:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "G:\Program Files\nodejs\node.exe" "G:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd c:\Build\nodejs\test\node_modules\bcrypt
gyp ERR! node -v v6.2.2
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok`
So I guess I need to find the VC++ components now. All this is a painful departure from trying to get the original task done.

Same issue as OP here. I've searched around and this seems to be a common occurrence for windows users, but I am on a mac.

Guess I don't understand why an issue that hasn't been resolved is closed with no comments. Does the closer simply want to avoid fixing an issue on Windows?

Judging by the comment above by @masone and the fact that the project readme states a dependency on Python 2.x, I believe the solution is to ensure Python is installed on the system.
Installing Python before installing bcrypt resolved this issue for me when installing in a container based on the debian:jesse Dockerimage:
sudo apt-get update && sudo apt-get install -y build-essential python

@jonatanblue, I appreciate your willingness to comment, but read a bit more closely. Python 2.7 was installed, and more importantly, it was a problem on Windoze. Your example uses sudo and apt-get, not available in that environment.


[Windows] Running tests

Windows 10 x64
Branch: master/main
Built from source

All tests pass except 'oqs_test_kems'.

We have tried setting up some environment variables (e.g. OQSENC) to no avail.
Thanks in advance.

All tests pass

Thanks for the good news...

except 'oqs_test_kems'.

...OK, one cannot have it all :-) The error is really weird, deep down in the EC logic: Never saw that.
Same question as last time: Any chance you can share scripts to re-build on our side? Also very welcome would be a CI script for Windows testing via PR.

We have tried setting up some environment variables (e.g. OQSENC) to no avail.

This would only work with a Debug build: Did you build one?


Create a fancy SM template to be presented for new users in future videos

This template should make people think "SM is not that ugly after all".
-> that it is possible to make SM look fancy
This template could be used in trailer for SMA for example
Objective:

To hook more people in with attractive layout

Example: ra#%'s template

I'm thinking in the starter collection we could include custom templates alongside recommended starting material. E.g. fancy template for keyboard shortcuts that are made to be more mnemonic.

I really like these ideas.

Shareable templates

Customized supermemo.css
Background image
Sounds (?)

A starter pack

Improved ABC collection
A default tree skeleton ?

Cheat sheets

Cheat sheets plugin
Users can share and download cheat sheets
Cheat sheets are displayed by holding Ctrl+Win
Cheat sheets are displayed like that
While holding Ctrl+Win, pressing Tab will display the next available cheat sheet (from those that the user has downloaded)


Step page for GitLab

This PR is part of #586. This is a duplication of what has been made for the GitHub view. At some point, it will require refactoring because many areas of the code are shared between GitHub and GitLab. As we want to move quickly, this can be done next quarter.
This PR needs #609 and #604 to be merged before going further.

I agree to refactor this quarter. About the web to do it, it seems better to do the refactoring when we have the duplicated code than before, IMHO. Indeed, it will give us a better overview of what can be shared and what can not.  I will add and merge the duplicated views if that's good for you. Once it's done, I'll factorize everything. Is that ok for you?

Your call - ok by me :)


frint-compat: register models before services and factories.

In Apps using 0.x, if a Service needs a Model via app instance, it gets null otherwise.

Coverage increased (+0.001%) to 97.309% when pulling 93a850b13d062f1b6757e9a1993c47796c4cdcb5 on frint-compat-models into 1f35131862cc088465deaa02f12a14ebaf5575c1 on master.

Coverage increased (+0.001%) to 97.309% when pulling ec62defc7278492aa2ae90e10f6a939ea8c86fff on frint-compat-models into 1f35131862cc088465deaa02f12a14ebaf5575c1 on master.


Figure Shell

Might be useful to have a dt-figure element that handles a few things:

Loading of large datasets with a loading indicator.

Defer computation for down-page figures so we don't pummel the browser with computation and loading on pageload. As you scroll, get updates when you're about to be onscreen, when you're onscreen and when you're offscreen.

<d-figure> covers most of this; closing for now—but will keep in mind for further development; especially the asset loader.


APPS-1176 Do not store default values when updating configuration file

Models must have exported fields for JSON encoding/decoding. It doesn't make sense to add getters to every public property without a reason.


Split tests in two groups

closes #1202
Checklist before merging

[x] I added an appropriate entry to CHANGELOG.md
[ ] I merged main into the current branch.

This looks great! There is some overhead, of course, but it's not so bad. The total pytest time is essentially unchanged, while the rest of the action takes ~40 seconds.
Here are some examples, for the record.
Old CI: 8m48s

New CI, core block: 5m15s

New CI, runner block: 4m27s


Platform 1 shown for all departures at some stations

Some stations are displaying Platform 1 for all departures. A few examples if this helps identify any pattern:
https://leddepartureboard.com/HNK
https://leddepartureboard.com/CAA
https://leddepartureboard.com/BKW
https://leddepartureboard.com/LGE
These are all 2 platform stations, although the issue doesn't happen with every 2 platform station.

The reason they were showing one was because of the real time api not being able to provide a platform, so I defaulted to 1. To be more accurate I have now changed it to not show a platform if none is provided.


Use Github PAT instead of ssh key

Hi,
I have 2 questions about authentication.
I see that it is possible to use PAT authentication in GH instead of ssh key when I bootstrap flux via the CLI:
--token-auth  when enabled, the personal access token will be used instead of SSH deploy key

Does this method applies to all the git sources?
If yes, is there a way to enable it using terraform bootstrap?

Thanks,
Emiliano

Hello @erighi  👋
I hope all is well with you. I'm just contacting you as part of our initiative to ensure the quality and responsiveness of our project's issue tracking. Thank you for your previous contributions by reporting issues you've encountered; your engagement is invaluable to the health and progress of our project.
I've reviewed the issue you reported and noted that it involves using supported resources, which is great. However, I also noticed that there has been little activity on this issue lately. We understand that circumstances change and priorities shift, which may affect the urgency or relevance of an issue.
We're implementing a policy regarding inactive issues to keep our project's issue tracker effective and up-to-date. If there's no further activity on this issue within the next 3 weeks, we will mark it inactive and close it. This approach helps us maintain focus on current and actively pursued concerns, ensuring resources are well allocated.
That said, we are still very much interested in resolving the issue you've encountered. If the problem persists or if you have any new information that could help us address it, please don't hesitate to update the issue or comment. Your input could be crucial in finding a resolution. Alternatively, if the issue no longer affects you or has been resolved, let us know so we can close it with the right resolution.
We're here to support and work with you to overcome any challenges you face using our project. Your continued feedback and participation are essential to our community's success.
Thank you once again for your contribution. I look forward to your update and am here to assist with any further questions or issues you might have.
Best regards,
Steve

Does this method applies to all the git sources?

Terraform creates the flux-system secret with the PAT. It's up to you to use this secret in all the other GitRepository definitions by setting .spec.secretRef.name to flux-system.


Added healthzPort option to injector helm chart - defaults to 8080

Description
Following from https://github.com/dapr/dapr/issues/4174 now that the health check port can be passed via command line argument, this PR adds the value to the chart so it can be set at deployment time.
When this is not used in combination with hostNetwork: true it doesn't make any difference since the ports are not exposed at node level. The main motivation for this setting is in combination with hostNetwork: true.
To use this, add the healthzPort: 8091 to any arbitrary port that is available in your node, assuming you have other apps already using port 8080.

Using values.yaml file:
helm upgrade --install dapr . \
  --namespace dapr-system \
  --create-namespace \
  --values values.yaml

values.yaml
# only needed while not part of a release
global:
  tag: "edge"

dapr_sidecar_injector:
  hostNetwork: true
  healthzPort: 8091

Using command line:
helm upgrade --install dapr . \
  --namespace dapr-system \
  --create-namespace \
  --set global.tag=edge \
  --set dapr_sidecar_injector.hostNetwork=true \
  --set dapr_sidecar_injector.healthzPort=8091

At this point, it only works with the "edge" tag, when this is part of the main line it won't be necessary, meanwhile, make sure you use the latest docker image.
Issue reference
Please reference the issue this PR will close: #[4174]
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[x] Extended the documentation / Modified helm chart README
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@yaron2 as mentioned earlier, in master branch, the file https://github.com/dapr/dapr/blob/master/cmd/injector/main.go doesn't have the new command line flag --healthz-port that's why the E2E are failing in this PR.

@yaron2 would you like me to cherry pick the cli flag change into master ? or changes in release-1.6 branch will eventually go to master.

Thank @artursouza, my previous changes are now in this branch, could the failing E2E test e2e (v1.23.0, ha) be retried ?
The error in the log seems unrelated to this PR.


Hash commitment with blake3

Motivation - to reduce the number of hashing algos that we use.

Codecov Report

Merging #20 (a98a288) into k3-proving-algo (9c86788) will not change coverage.
The diff coverage is 100.0%.

@@               Coverage Diff               @@
##           k3-proving-algo     #20   +/-   ##
===============================================
  Coverage             95.9%   95.9%
===============================================
  Files                   12      12
  Lines                  886     886
===============================================
  Hits                   850     850
  Misses                  36      36

Impacted Files
Coverage Δ

src/initialize.rs
100.0% <100.0%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Bug: Overrides is not imported as a type-only import

'Overrides' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.
compile:~ $ Error: test__factory.ts:12:52 - error TS1444: 'Overrides' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.

12 import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
                                                      ~~~~~~~~~

Just ran into this issue as well, hope it is fixed soon!

I believe #737 was created to fix this


chore(cd): update nextjs version and refactor codeql

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

Project coverage is 69.54%. Comparing base (effae15) to head (706c3ac).
Report is 15 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #961      +/-   ##
==========================================
+ Coverage   69.18%   69.54%   +0.36%
==========================================
  Files          41       42       +1
  Lines         503      509       +6
  Branches       74       74
==========================================
+ Hits          348      354       +6
  Misses        150      150
  Partials        5        5

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


Error in Nopython mode during for loop usage

Here is the error message I am receiving:
LoweringError: Failed in nopython mode pipeline (step: nopython mode backend)
Buffer dtype cannot be buffer
File "", line 10:
def stabilitySelect(lambdaNeed,x,y,numIter,mask):

vH=0;
for i in prange(0,numIter):
^
[1] During: lowering "id=27[LoopNest(index_variable = parfor_index.2067, range = ($const56.2, numIter, 1))]{154: <ir.Block at  (10)>}Var(parfor_index.2067,  (10))" at  (10)
This should not have happened, a problem has occurred in Numba's internals.
The minimum reproduction:
@njit(parallel=True)
def foo(numIter, vals ):
 for i in prange(0,numIter): #this is the line where I get the error
       print(vals[i])

foo(10,[0,1,2,3,4,5,6,7,8,9])

Hi @MainzKCL , are you using the latest Numba version? I was able to run your reproduction code in v0.43.1
@njit(parallel=True)
def foo(numIter, vals ):
 for i in prange(0,numIter): #this is the line where I get the error
       print(vals[i])
foo(10,[0,1,2,3,4,5,6,7,8,9])

0
4
5
621

3

7
8
9

HI,
It turns out the error was due to the jupyter notebook kernel itself. I restarted the kernel today and it worked.

From: luk-f-a<EMAIL_ADDRESS>Sent: 06 April 2019 12:03
To: numba/numba
Cc: Mainz, Adam; Mention
Subject: Re: [numba/numba] Error in Nopython mode during for loop usage (#3947)
Hi @MainzKCLhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMainzKCL&data=01|01|adam.mainz%40kcl.ac.uk|ca640818b92b40aa2f8308d6ba7f7ca1|8370cf1416f34c16b83c724071654356|0&sdata=uBnVfZ8eaekcRQlJBcwbPolgBIM7wA0yLtd0%2FY7UnLg%3D&reserved=0 , are you using the latest Numba version? I was able to run your reproduction code in v0.43.1
@njit(parallel=True)
def foo(numIter, vals ):
for i in prange(0,numIter): #this is the line where I get the error
print(vals[i])
foo(10,[0,1,2,3,4,5,6,7,8,9])
0
4
5
621
3
7
8
9
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnumba%2Fnumba%2Fissues%2F3947%23issuecomment-480495122&data=01|01|adam.mainz%40kcl.ac.uk|ca640818b92b40aa2f8308d6ba7f7ca1|8370cf1416f34c16b83c724071654356|0&sdata=ic%2FAD4SFDhnEVEaDb345xcrGjG%2BlyALXOzoiahQzdFA%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAs_lFvXhv8Aq3ZXy45E0RHkL2Exe4etuks5veH76gaJpZM4cfZZ5&data=01|01|adam.mainz%40kcl.ac.uk|ca640818b92b40aa2f8308d6ba7f7ca1|8370cf1416f34c16b83c724071654356|0&sdata=yA4ckvcVftCqCNktJdta%2BdTdpws0jP%2FMtPoTnqdah%2FY%3D&reserved=0.

I can also confirm that the reproducer works fine on current master: b5a7131d88d6960f27497c7bc199e7bbfa6eab3f

@MainzKCL thanks for getting back to us with the report. Please don't hesitate to report any issues you have in the future! I'll close this one now.

the weird thing is that using a tuple instead of a list does not work
@njit(parallel=True)
def foo(numIter, vals):
    a = 0.
    for i in prange(numIter):
        a +=vals[i]
    return a
foo(10,(0,1,2,3,4,5,6,7,8,9))

with error
LoweringError: Failed in nopython mode pipeline (step: nopython mode backend)
scalar type tuple(int64 x 10) given for non scalar argument #2

File "<ipython-input-65-ca3529a8403f>", line 6:
def foo(numIter, vals):
    <source elided>
    a = 0
    for i in prange(numIter):
    ^

[1] During: lowering "id=17[LoopNest(index_variable = parfor_index.1070, range = (0, numIter, 1))]{16: <ir.Block at <ipython-input-65-ca3529a8403f> (6)>}Var(parfor_index.1070, <ipython-input-65-ca3529a8403f> (6))" at <ipython-input-65-ca3529a8403f> (6)
-------------------------------------------------------------------------------
This should not have happened, a problem has occurred in Numba's internals.

@esc, what do you think of the example above? Should I open a new issue?

@luk-f-a probably a good idea, I just had a look and discovered, that this works when not using parallel=True.

@esc, I was going to open it but it looks like it would be a duplicate of #2625 and #2651

@luk-f-a good catch!


[BUG] Deleted dector remains in UI

Describe the bug
I used to use deepstack but now use compreface as my detector. The filters and also the "no results" screen still show deepstack as an option despite it not being in my config.
Version of Double Take
1.9.0 (happened on 1.8.0 as well)
Expected behavior
Only shows expected detector.
Screenshots

Hey Nick,
That detectors filter is based off any of the saved matches in the DB. Are there any records still or does the UI always show no files?
This is the query that's used to set that. I can dig into it a bit later to see what exactly might be happening.
SELECT json_extract(value, '$.detector') name
        FROM match, json_each(match.response)
        GROUP BY name
        ORDER BY name ASC

I will admit there's still a few things that could be handled better when switching from one detector to another, or like in my case I used to run multiple and just run ComperFace now.

Oh, that's very weird, it seems there are a number of deepstack matches which don't show in the UI at all. I also do not have any trained files for deepstack anymore. In this case easy enough to just delete the entries, I will make a copy of my current db in case it is helpful for any testing, it has been a while since I changed so I don't remember the exact steps I took.

Deleting detector also affect train view, because there is removed detector label, and user is unable to untrain/remove photo from DB. In my opinion photos labeled only by active detectors should be visible. Also consider (removing/labeling as untrain) photos that was sticked to detector that is not defined in configuration anymore

Deleting detector also affect train view, because there is removed detector label, and user is unable to untrain/remove photo from DB. In my opinion photos labeled only by active detectors should be visible. Also consider (removing/labeling as untrain) photos that was sticked to detector that is not defined in configuration anymore

I'm aware of this issue as well and it's on my list to eventually address. I originally kept it on there so the user would know it was still trained with that detector, even if it wasn't still in configured in Double Take. I'll try to come up with a way to handle this so it's easier to clean up some of these orphaned images.

Deleting detector also affect train view, because there is removed detector label, and user is unable to untrain/remove photo from DB. In my opinion photos labeled only by active detectors should be visible. Also consider (removing/labeling as untrain) photos that was sticked to detector that is not defined in configuration anymore

Glad I did a search, I just did the same thing after getting frustrated with deepstack and figuring out how to setup compreface I started cleaning up the training sets as compreface won't even use some as a face (doesn't like profile pics) but I can't remove them via the UI now.
If a detector was down I can see wanting to protect these however if a detector is no longer configured I would prefer it didn't stop me from removing things or there should maybe an option / prompt to purge all DB data related to the detector.


Update gist-doc for 11.1.0 and following release

Minimally, update Widoco
If time, update eBook
If time, update visualizations

@pwin Assigning to you in your absence. Let us know what's possible and if you have time to do it.

@pwin Should we pick this up for the Feb release?


[Hub Generated] Review request for Microsoft.Consumption to add version stable/2019-10-01

If you are a MSFT employee you can view your work branch via this link.
Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

@sri- would you like to split the ratelimit? It failed in spell check.

@sri- would you like to split the ratelimit? It failed in spell check.

That is how it is in the code currently, is it possible to add it to the allowed custom-words ?

@sri- would you like to split the ratelimit? It failed in spell check.

That is how it is in the code currently, is it possible to add it to the allowed custom-words ?

@NullMDR @akning-ms Is any setting for spell check?

/azp run automation - sdk


no error when terraform apply, but get node "No resources found."

I have issues
no error appear when i enter "terraform apply", but when it done, i get view node, it say "no resources found".
I'm submitting a...

[ ] bug report
[ ] feature request
[ v] support request
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
`$ kubectl get all --all-namespaces=true
NAMESPACE     NAME                           READY   STATUS    RESTARTS   AGE
kube-system   pod/coredns-6446cc57d9-ctntj   0/1     Pending   0          9m31s
kube-system   pod/coredns-6446cc57d9-tnwl6   0/1     Pending   0          9m31s
NAMESPACE     NAME                 TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)         AGE
default       service/kubernetes   ClusterIP   <IP_ADDRESS>            443/TCP         9m41s
kube-system   service/kube-dns     ClusterIP   <IP_ADDRESS>           53/UDP,53/TCP   9m41s
NAMESPACE     NAME                        DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
kube-system   daemonset.apps/aws-node     0         0         0       0            0                     9m31s
kube-system   daemonset.apps/kube-proxy   0         0         0       0            0                     9m36s
NAMESPACE     NAME                      DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
kube-system   deployment.apps/coredns   2         2         2            0           9m31s
NAMESPACE     NAME                                 DESIRED   CURRENT   READY   AGE
kube-system   replicaset.apps/coredns-6446cc57d9   2         2         0       9m32s
$ kubectl get all --all-namespaces=true
NAMESPACE     NAME                           READY   STATUS    RESTARTS   AGE
kube-system   pod/coredns-6446cc57d9-ctntj   0/1     Pending   0          13m
kube-system   pod/coredns-6446cc57d9-tnwl6   0/1     Pending   0          13m
NAMESPACE     NAME                 TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)         AGE
default       service/kubernetes   ClusterIP   <IP_ADDRESS>            443/TCP         13m
kube-system   service/kube-dns     ClusterIP   <IP_ADDRESS>           53/UDP,53/TCP   13m
NAMESPACE     NAME                        DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
kube-system   daemonset.apps/aws-node     0         0         0       0            0                     13m
kube-system   daemonset.apps/kube-proxy   0         0         0       0            0                     13m
NAMESPACE     NAME                      DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
kube-system   deployment.apps/coredns   2         2         2            0           13m
NAMESPACE     NAME                                 DESIRED   CURRENT   READY   AGE
kube-system   replicaset.apps/coredns-6446cc57d9   2         2         0       13m
$ kubectl get configmaps
No resources found.
$ kubectl --namespace=kube-system get configmap
NAME                                 DATA   AGE
aws-auth                             3      11m
coredns                              1      17m
extension-apiserver-authentication   5      17m
kube-proxy                           1      17m
kube-proxy-config                    1      17m
$ kubectl get nodes
No resources found.`
If this is a bug, how to reproduce? Please include a code sample if relevant.
What's the expected behavior?
Are you able to fix this problem and submit a PR? Link here if you have already.
Environment details

Affected module version: 4.0.2
OS: MacOS
Terraform version:
Terraform v0.11.13

provider.aws v2.13.0
provider.local v1.2.2
provider.null v2.1.2
provider.template v2.1.2

Any other relevant info

I use "worker_groups_launch_template_mixed" no work, but when i change to worker_group like example:
  worker_groups = [     {       name                = "on-demand-1"       instance_type       = "m4.xlarge"       asg_max_size        = 1       autoscaling_enabled = true       kubelet_extra_args  = "--node-labels=kubernetes.io/lifecycle=normal"       suspended_processes = "AZRebalance"     },     {       name                = "spot-1"       spot_price          = "0.199"       instance_type       = "c4.xlarge"       asg_max_size        = 20       autoscaling_enabled = true       kubelet_extra_args  = "--node-labels=kubernetes.io/lifecycle=spot"       suspended_processes = "AZRebalance"     },     {       name                = "spot-2"       spot_price          = "0.20"       instance_type       = "m4.xlarge"       asg_max_size        = 20       autoscaling_enabled = true       kubelet_extra_args  = "--node-labels=kubernetes.io/lifecycle=spot"       suspended_processes = "AZRebalance"     }   ]
then work.

Hi @phuthinh2202, this is normally because either:

Nodes can't reach EKS endpoint. (e.g. in private subnet)
Nodes can't authenticate to EKS service. (e.g. the aws-auth configmap was not applied, wrong instance profile, etc)

Maybe have a look at these similar issues:
https://github.com/terraform-aws-modules/terraform-aws-eks/issues/358
https://github.com/terraform-aws-modules/terraform-aws-eks/issues/310
https://github.com/terraform-aws-modules/terraform-aws-eks/issues/304

the different between "no work" with "worked", i just edit from "worker_groups_launch_template_mixed" to use "worker_groups" and about the result is same, include the aws-auth configmap was created. :D

So it's resolved?

yah, i used "worker_group" have no problem. I can access my eks cluster, but all worker have public ipv4, althrough i have set public_ip = false in "worker_group" object.


Updated expandables to fix style bugs and follow Atomic Design principles

Fixes text sizes of expandable groups (resolves #779)
Fixes background and border colors (resolves #780)
Removes margin outside the expandable and expandable group

Additions

Broke background and border modifications to their own classes.

Removals

Removed the margin, the component should not modify layout outside of it's bounds and the margin should be determined by the template.

Changes

Updated the recommended markup template to use h4

Testing

Follow the testing locally instructions
Run gulp build && npm start
Navigate to http://localhost:3000/components/cf-expandables/#default-state

Screenshots

Notes

This should probably be considered a breaking change. I've left off the changelog for the time being. These are the ideal updates to make this component follow our existing Atomic Design principles, but I'm open to discussing non-breaking suggestions.
Should be released with #810

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the development playbook
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[x] Visually tested in supported browsers and devices (see checklist below :point_down:)
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[x] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Browsers

[x] Chrome
[x] Firefox
[x] Safari
[x] Internet Explorer 8, 9, 10, and 11
[ ] Edge
[ ] iOS Safari
[ ] Chrome for Android

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

@jimmynotjim, would it be possible to include only what we needed from cf-core.less,  cf-buttons.less, and cf-icons.less?

would it be possible to include only what we needed from cf-core.less, cf-buttons.less, and cf-icons.less?

I've always wanted to figure out how to do this globally, because it would remove a lot of the reasoning behind using individually packaged and distributed modules instead of one installable for everything and make it a lot easier to get started using or contributing to CF. I'm not sure it's possible with our current toolchain due to the nature of Less. It may be worth exploring as we continue the discussions around combining CF and the Design Manual.

would it be possible to include only what we needed from cf-core.less, cf-buttons.less, and cf-icons.less?

I just had an aha moment on this. What if we pulled the component variables out of the main component file? If all you need is cf-buttons/src/atoms/buttons.less, you could import the variables file, then the atomic/buttons.less file, and ignore the rest. The main cf-buttons/src/cf-buttons.less would then add an import for the variables instead of defining those variables itself. I don't know how well Less will handle one module importing everything and another importing just some of the things, but we already import cf-core in all the other modules so it seems like it figures it all out and only includes the cf-core files once. At this point I should probably move this discussion to it's own issue huh?

Let's move the import discussion over to #788

Should we change our example markup to reflect that?
Hmm, this makes sense to me. I'll make an update.

It looks like modals might be a while yet. Since this would require a breaking change, is it worth holding off merging till either modals or another breaking change (I know icons is coming as well) are ready?

I think we should go with this and icons.

@Scotchester I've updated the examples to use h3s since it seems that's the typical heading hierarchy when expandables are used within content areas. I'm not sure how we should handle this on the wagtail admin side? We may need to add a heading level selector to allow editors to set the correct level for each individual piece of content.

Yeah, we could add a heading level selector to ExpandableGroup, conceivably. Individual expandables within a group shouldn't need to have different heading levels. The top and bottom padding in the expandable header looks a little tight. Is that to spec?
If that's good, you're still approved; merge when ready!

Thanks, I'm going to get the new alert roles working in the OaH explorer and then we should have removed all the old font icons. At that point I'll feel comfortable releasing the next major update here and not worrying about breaking things.


Cannot find a way to get a cross origin json in swagger UI from Startup.cs

Hi,
I have two ASP.NET Core projects. One is an API on which I generate a swagger.json to document my API.
On my other Core project I have implemented Swagger UI and I want to display the swagger.json.
I haven't found a way to specify a external host to get the json from.
To be clear :

My json is generated at localhost:5000
My swagger UI is at localhost:8000

I want to display my json on localhost:5000 to my UI on localhost:8000
in Startup.cs how can I specify this ?
app.UseSwaggerUI(c =>             {                //Some way to get json from localhost:5000             });
Hope I was clear.
Thanks for your help !
PS: I have allowed CORS and I can display my json if I enter the url in the swaggerUI search bar.

Have you tried the following:
‘’’csharp
app.UseSwaggerUI(c =>
{
c.SwaggerEndpoint(“http://localhost:5000/Swagger/v1/Swagger.json”, “V1 Docs”);
});

Of course, it just generate the following url : http://localhost:8000/http://localhost:5000/Swagger/v1/Swagger.json

Hmmm - then we have a bug because that's certainly not the intended behavior. Will investigate

Which version are you using? I'm using 1.1.0 and it works fine for me ...
This is what I have in my Startup.cs:
app.UseSwaggerUI(c =>
{
    c.SwaggerEndpoint("http://example.com/swagger/v1/swagger.json", "V1 Docs");
});

This is what I see in the UI:

Are you by any chance using a custom version of index.html that's doing something weird with the URL?

Ok I'm sorry I apparently did something wrong , i tested this :
app.UseSwaggerUI(c => {     c.SwaggerEndpoint("http://example.com/swagger/v1/swagger.json", "V1 Docs"); });
I got the expected behavior
so I tested again with localhost  :
app.UseSwaggerUI(c => {     c.SwaggerEndpoint(“http://localhost:5000/Swagger/v1/Swagger.json”, “V1 Docs”); });
and everything works. I must have done something wrong previouly.

https://stackoverflow.com/questions/48450262/asp-net-core-swashbuckle-not-creating-swagger-json-file/56129755#56129755


GHAS bootcamp request

Bootcamp Date
2024-04-04
Attendees
github-cloudlabsuser-258
Facilitators
cloudlabs-enterprise

Provisioning errored 👎
Additional information on this error is available in the Actions logs.


Update description of the huggingface-version quantized model

What

Update description of the huggingface-version quantized model on README

Why

I observed the following error and warning with the original code

OSError: vicuna-7b-v1.5 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `huggingface-cli login` or by passing `token=<your_token>`

/opt/conda/lib/python3.10/site-packages/bitsandbytes/nn/modules.py:224: UserWarning: Input type into Linear4bit is torch.float16, but bnb_4bit_compute_type=torch.float32 (default). This will lead to slow inference or training speed.
  warnings.warn(f'Input type into Linear4bit is torch.float16, but bnb_4bit_compute_type=torch.float32 (default). This will lead to slow inference or training speed.')

Cool, thank you for your contribution!


Can't initialize Bitshares

When I try and initialize Bitshares with the following code:
BitShares.init("wss://bitshares.openledger.info/ws"
I get:
BitShares.init("wss://bitshares.openledger.info/ws")
          ^

TypeError: BitShares.init is not a function```

Realized its not needed as its done by default.


Questions about businessKey field

Hi ! There is not a lot of information about this field. According release notes it should be "meaningful process IDs" and i can get process instance by this id. But when i call
curl -X POST "http://localhost:8080/blankprocess?businessKey=Key-111" -H  "accept: */*" -H  "Content-Type: application/json" -d "{}"
then
 curl -X GET "http://localhost:8080/blankprocess/Key-111" -H  "accept: application/json"
I receive 404
But if i call service with generated id
curl -X GET "http://localhost:8080/blankprocess/30800430-cc97-4793-a6d2-62a69424a7ee" -H  "accept: application/json"
it's OK.
Tested on 1.0.0.FInal and 1.2.0.Final
Am i missing something ?

Hit by this too in the context of forced sync process execution. Any thoughts from maintainers?

Hi, the usage of businessKey as described in the Release notes was deprecated with this JIRA https://issues.redhat.com/browse/KOGITO-2893
@hmanwani-rh can you check if current Release notes needs an update?

the usage of businessKey as described in the Release notes was deprecated with this JIRA https://issues.redhat.com/browse/KOGITO-2893
@hmanwani-rh can you check if current Release notes needs an update?

@fjtirado Thanks for letting me know. However, I checked the latest Kogito 1.8 release notes and there is no mention of businessKey in that. Therefore, I do not think we need any update in the release notes. Please let me know if you've any questions.

So, as a result of KOGITO-2893 we have:

no way to provide own process id
no way to access process instances by businessKey by any existing API (even listing of all process instances is not returned businessKey.)

Looks to me like hard functional degradation. Stateless systems (which can't store generated process ID) have no way to start the process with their own id and check the status later.

the usage of businessKey as described in the Release notes was deprecated with this JIRA https://issues.redhat.com/browse/KOGITO-2893
@hmanwani-rh can you check if current Release notes needs an update?

@fjtirado Thanks for letting me know. However, I checked the latest Kogito 1.8 release notes and there is no mention of businessKey in that. Therefore, I do not think we need any update in the release notes. Please let me know if you've any questions.

There are no release notes where existing functionality is broken (search by businessKey). It is silently disabled without any notes and/or replacement - exactly what about this issue is.

@vladimirfx
Yes, as you can see by looking at the JIRA description, there was no agreement on the team ( I was not here yet ;)) about the solution of this JIRA.

@vladimirfx
Yes, as you can see by looking at the JIRA description, there was no agreement on the team ( I was not here yet ;)) about the solution of this JIRA.

Maybe provide at least a discrete API call to access process state by businessKey?

@vladimirfx  take a view to data index

@fjtirado Thanks, I know about the Data Index subsystem. But IMO it is on a different level of abstraction and it is optional. This issue is about low-level process management.
Can we obtain process instance ID by known businessKey without data index? If yes - I want to implement such API method.

@vladimirfx
You are right, it is a different level of abstraction, but I think is still useful in the use case you mention. You store your business key somewhere else and use it to retrieve a "persistent" process that has been started a time ago, most likely already completed (note that Runtimes API only return process instances that have being finished if persistence addon is enabled)
Runtime API only support process instance retrieval by using the generated process id. As indicated in Kogito-2893, the relation between generated process id and provided business key does not longer exist. So the answer is no, currently you can not retrieve process instance information by using runtime API using provided business key.

Because of https://github.com/kiegroup/kogito-runtimes/issues/1214, we are stuck in our adoption of Kogito:

no external process ID and way to discover generated process ID by external ID
no way to start the process robustly (independent of process design) to retrieve generated process ID AND associate it with our own (external) ID

It is a very practical problem because we are trying to build a cloud-native decision engine using the Kogito stack. It takes 8 months of development and now I do not understand what to do with limitations. At the start of this project, we expect functional parity with jBPM but it seems I've been wrong...
Can you suggest a way to go?

The work around is to use curl -X POST "http://localhost:8080/blankprocess?businessKey=Key-111" -H "accept: /" -H "Content-Type: application/json" -d "{}", which is still doable and then use Data Index (which although optional, it is intended to be used by any Kogito deployment) to retrieve process instance information associated to that businessKey.

I will also discuss with my colleagues if we should add/recover GET API to retrieve process instance id using businesskey as identifier (rather than the generate process id), but please took into account that if persistence is not enabled that will only return active (still in execution) instances, but it wont return process instances that has been completed.
For such discussion, it will help if you can provide feedback about why data index is not usable in your context.

outdated.


Cannot get AWSCore to import on iOS

I cannot get it to build following the instructions in the guide in #35 .
I get the error #import <AWSCore/AWSCore.h> file not found.

I have AWSCore.framework in Libraries > Core.xcodeproj > Frameworks. Expanding it shows that it is empty (not sure if normal).

I also have a AWSCore.framework listed directly below the Project. Expanding that also shows nothing.
It looks like the header search paths are working correctly because the file that is throwing the error is included from node_modules/aws-sdk-react-native-core/ios/Frameworks. Project build settings frameworks search paths has $(SRCROOT)/../node_modules/aws-sdk-react-native-core/ios/Frameworks.
Opening that folder in finder shows AWSCore.framework. Expanding that shows Modules and Versions.
Ive also got AWSCore.framework in Target > General > Embedded Libraries.
Any idea what could be going wrong?
Its worth noting that the Android build works.

Yes! I figured it out!
TLDR: Use npm install not yarn add
Using yarn add aws-sdk-react-native-core-0.0.2.tgz breaks AWSCore.framework:

Using npm install aws-sdk-react-native-core-0.0.2.tgz leaves AWSCore.framework as it should be:


qemu-system-ppc64: ISA bus not available for sb16

I could start syz-manager but seeing the following error
# ./bin/syz-manager -config syz-manager/mycfg.cfg
2016/03/30 10:21:41 loading corpus...
2016/03/30 10:21:41 loaded 0 programs
2016/03/30 10:21:41 serving http on http://IPADDRESS:56741
2016/03/30 10:21:41 serving rpc on tcp://<IP_ADDRESS>:39881
2016/03/30 10:21:52 failed to create instance: qemu stopped:
qemu-system-ppc64: ISA bus not available for sb16
2016/03/30 10:21:52 failed to create instance: qemu stopped:
qemu-system-ppc64: ISA bus not available for sb16
...
*P.S. IPADDRESS placed here in the output to mask my original IPaddress.
Here is the configuration file I used
# cat syz-manager/mycfg.cfg
{
"http": "IPADDRESS:56741",
"workdir": "/syzkaller/workdir",
"kernel": "/root/linux/vmlinux",
"vmlinux": "/root/linux/vmlinux",
"image": "/var/lib/libvirt/images/rhel72-ppc64le.qcow2",
"sshkey": "/var/lib/libvirt/images/rhel72le_rsa",
"syzkaller": "/root/golang/src/github.com/google/syzkaller",
"type": "qemu",
"count": 16,
"procs": 4,
"cpu": 2,
"Bin": "qemu-system-ppc64",
"mem": 2048,
"disable_syscalls": [
"keyctl",
"add_key",
"request_key"
],
"suppressions": [
"some known bug"
]
}
Thanks in advance for your time.

Frankly I am not a qemu expert and never used it on ppc.
I see that this error message is produced by audio_init function in qemu:
https://github.com/afaerber/qemu-cpu/blob/master/arch_init.c
Try to remove "-soundhw", "all" in vm/qemu/qemu.go:
	args := []string{
		"-hda", inst.cfg.Image,
		"-snapshot",
		"-m", strconv.Itoa(inst.cfg.Mem),
		"-net", "nic",
		"-net", fmt.Sprintf("user,host=%v,hostfwd=tcp::%v-:22", hostAddr, inst.port),
		"-nographic",
		"-enable-kvm",
		"-numa", "node,nodeid=0,cpus=0-1", "-numa", "node,nodeid=1,cpus=2-3",
		"-smp", "sockets=2,cores=2,threads=1",
		"-usb", "-usbdevice", "mouse", "-usbdevice", "tablet",
		"-soundhw", "all",
	}
	if inst.cfg.Kernel != "" {
		args = append(args,
			"-kernel", inst.cfg.Kernel,
			"-append", "console=ttyS0 root=/dev/sda debug earlyprintk=serial slub_debug=UZ "+inst.cfg.Cmdline,
		)
	}

If it does not help try to also remove all unnecessary, I think it is:
"-usb", "-usbdevice", "mouse", "-usbdevice", "tablet",
Not sure about:
"-enable-kvm",

According to the following,
http://wiki.qemu.org/download/qemu-doc.html
sb16 is related to '-soundhw' but by removing '-soundhw' and '-usb' and some other entries didn't help.
Is there any way I can see some logs? or verbose or debug mode?
In the "workdir": "/syzkaller/workdir" I don't see any thing.
Thanks in advance.

You can run syz-manager with -debug flag, it will dump qemu output, but I guess it won't help in this case since it does not even start. Try to run qemu manually from command line and figure out combination of flags that works.

By removing "-soundhw", "all", qemu started working. Sorry for earlier feedback. I didn't compile after changing vm/qemu/qemu.go
I am using python from very long time so 'compiling' stuff didn't come to my mind.
Sorry for late reply. I was busy with other stuff.

Seems I have a problem with the qemu, what ever the working kernel image I give, it's not getting booted. It keeps on booting after 'trying to load from memory'. Looking in to the issue with the help from our colleagues. Thanks a lot for your time. This issue can be closed.

@rnsastry  If you come up with some patches to make syzkaller work on power out of the box, I will be happy to accept pull requests.


Concentration spells come out of the wrong spot in 1st person

Images. Happens with vanilla and modded spells, only with the mod on. It's purely visual but a bit jarring.

Issue is not present in current dev build.
However the issue might be related to Customizable Camera which would mean Proper Aiming needs disabling from that.


Optimizer Integration with Strapi S3 Plugin

Want to know how to integrate this optimization plugin with "@strapi/provider-upload-aws-s3" plugin because this plugin is not working with the s3 uploads!

have you received any solution over this?

have you received any solution over this?

It automatically started working!

Could you plz chk this https://github.com/marlokessler/strapi-plugin-image-optimizer/issues/32, Any suggestion


Unable to call class multiple time

I have been trying to build a flask-classful app,
The problem is I am unable to create more than one instance of the API
An error is thrown by the flask,
Traceback (most recent call last):   File "test1.py", line 27, in <module>     qt2.register(app)   File "C:\Python3\lib\site-packages\flask_classful.py", line 157, in register     app.add_url_rule(   File "C:\Python3\lib\site-packages\flask\app.py", line 98, in wrapper_func     return f(self, *args, **kwargs)   File "C:\Python3\lib\site-packages\flask\app.py", line 1282, in add_url_rule     raise AssertionError( AssertionError: View function mapping is overwriting an existing endpoint function: QuotesView:index
I know that the error is thrown due to declaration of same function name and route,I am able to overcome the problem of routename by adding a random value as padding to the route.,But I have no idea what to do about the function naming.
`
from flask import Flask
import random
from flask_classful import FlaskView,route
quotes = [
"A noble spirit embiggens the smallest man! ~ Jebediah Springfield",
"If there is a way to do it better... find it. ~ Thomas Edison",
"No one knows what he can do till he tries. ~ Publilius Syrus"
]
app = Flask(name)
class QuotesView(FlaskView):
id = None
@route("/"+str(random.randint(0,10000000)), methods=['GET', 'POST'])
def index(self):
    return "
".join(quotes)

def somestuff(self):
    self.id = random.randint(0,100);

qt = QuotesView()
qt.register(app)
qt2 = QuotesView()
qt2.register(app)
if name == 'main':
app.run()
`
If possible please suggest a work around.

Hey @thesunRider , I'm not really sure what you want to achieve here.
Can you describe what your expected functionality is?
I don't really understand why would you register the same view more times.

I am using this to create an api for twilio,Whenever a guy calls in,the application redirects him to his specific class that was dynamically generate.
So what I want is to create separate instances of the same class that goto different routes whenever each call is being made.
I know this would be memory intensive but for now its not for production use! Hope you understand my use case.

Not really understanding the use-case here, but cannot it be achieved using  in your url / route?
Something like
@route("/<unique_token>", methods=['GET', 'POST'])
def index(self, unique_token):
   return "
".join(quotes)

?
Now you can generate this key elsewhere and redirect to this route e.g. /index/26421256.

Is there any way to call the class twice,on each call,let the routes be assigned different but the function names should remain the same

I'm sorry, I really don't understand why you want to do that.
Maybe try to detail what function of your app should be and then we can find a way to do that.

Sure!
This is the file which calls the twilio API I just made
File no 1.
import time,random,uuid
from twilioplayer import PlayAudio,AudioPlayer
from flask_classful import FlaskView
from flask import Flask,request
from twilio.twiml.voice_response import VoiceResponse, Gather

database_url = 'http://myipaddress'

app = Flask(__name__)

response_main = VoiceResponse()

calls_inline = []

@app.route("/call_status", methods=['GET', 'POST'])
def callstat():
	print("Printing call status")
	print(calls_inline)
	response_main = VoiceResponse()
	return str(response_main)

@app.route("/voice", methods=['GET', 'POST'])
def voice():
	player = PlayAudio(app,response_main,"sample_audio", database_url)
	player2 = PlayAudio(app,response_main,"sample_audio", database_url)
	data = request.form.to_dict(flat=False)
	caller_no = data['From'][0]
	calls_inline.append({"no":caller_no,"id":player.id_base})
	return str(player.twilio_obj)

if __name__ == '__main__':
    app.run(host='<IP_ADDRESS>', port=8000)

And this is the API I wrote for playback:
File no .2
from flask import Flask,send_file, make_response ,request
from twilio.twiml.voice_response import VoiceResponse, Gather
from pydub import AudioSegment
from pydub.playback import play
import io,random,configparser,time
from flask_classful import FlaskView,route
import requests,uuid,random

class PlayAudio():
	twilio_obj = None
	id_base = None

	def __init__(self,app,twilio_obj,audio_id,database_url):
		route_base = "/" + str(uuid.uuid4()).replace("-","") + str(random.randint(10, 5000))
		AudioPlayer_instance =  globals()['AudioPlayer']
		AudioPlayer_instance.register(app,route_base=route_base,init_argument={'base':route_base,'id':audio_id, 'db':database_url})
		twilio_obj.redirect(route_base + '/voice')
		self.twilio_obj = twilio_obj
		self.id_base = route_base
		#print("finished calling initialier")

class  AudioPlayer(FlaskView):
	route_mainbase = '/call_audio'

	#Reading INI File which contains audio info,We dont want all audio info to be kept at one place
	config_file = 'config.ini'
	config = configparser.ConfigParser()
	config.read(config_file)

	list_data = {}

	#Audio id which will be played this is specified for portability
	audio_id = 'sample_audio'

	#url to ask for audio
	url = 'http://localhost'

	#this is set to compensate for overall time delay (note that there is a function which gives more control)
	time_compensate = 0
	time_delaycompensate = 0.5

	#audio length in seconds,this is the time that gather uses for timeout
	audio_length = 103.0

	#used to set increments in speed of audio
	delta_time = 0.25

	#Use this to set your range of audio speed
	time_speed = {'min':1,'max':2}

	#amount of time to skip the audio
	skip_time = 15

	#extra variables
	#audio = AudioSegment.from_wav(config['audio'][audio_id])

	def __init__(self, init_arg):
		self.route_mainbase = init_arg['base']
		self.audio_id = init_arg['id']
		self.url = init_arg['db']
		#self.audio_getlength()
		#print("Setting all variables")
		#print(self.url)
		#print('_________________')

	def index(self):
		return "
Nothing In here"

	@route("/voice", methods=['GET', 'POST'])
	def voice(self):
		return 0 #return some more stuff

	@route("/check_keypress", methods=['GET', 'POST'])
	def check_key(self):
		return 0 #return some stuff

	@route("/call_status", methods=['GET', 'POST'])
	def call_status(self):
		return 0 #return some stuff

	#this is called only when method 1 is enabled,currently using method2
	@route("/giveme_audio", methods=['GET', 'POST'])
	def giveme_audio(self):
		return 0 #return some stuff

	def play_audio(self,response,loop_details):
		#playback some audio
		return response

	def calculate_serverparams(self,ary):
		return 0 #return some stuff

	def delay_compensator(self,server_params,loop_details):
		return 0 #return some stuff

	def audio_getlength(self):
		return 0 #return some stuff

So in here everytime a call comes in, File no 1 creates a new class instance and redirects the user to that specific class and an audio according which the user has already set (its the users preference) is played (this is passed to File no 2 as audio_id) ,this is achieved by dynamically creating a  new class instance everytime a user calls in ,and whenever he calls ,a dedicated route for that specific user is made by the flask application,But in here creating another instance of the same class is not possible as even though the routes are created different the function names in the classes remains the same,I need a work around for this,Any help in any direction is greatly appreciated ,Thanks

I'm sorry, as I'm not familiar with Twilio, I don't really understand what are you trying to achieve and why are you trying to do it this way.
It doesn't make much sense to dynamically generated routes to me in general, as it adds some functionality and use case that seems a bit obscured and non-explicit (opposing "Explicit is better than implicit" in Zen of Python. I don't see why on-demand generated URLs cannot be managed via attribute, as I would do in token-based authentication or similar).
Maybe someone else will help, or we can try to have a chat on stackoverflow (which might me good place to ask for general solution for this).
Hope you will manage to solve this.

Register under different endpoint, see https://werkzeug.palletsprojects.com/en/1.0.x/routing/#werkzeug.routing.Rule, doc: http://flask-classful.teracy.org/#a-few-words-on-register


Document the need of @RegisterForReflection in Bean doc

When using CDI bean used in camel-bean component, we need for native mode the annotation @RegisterForReflection which is not documented (see eg. https://github.com/apache/camel-quarkus/blob/main/integration-test-groups/foundation/bean/src/main/java/org/apache/camel/quarkus/component/bean/NamedBean.java#L31).

Seems we have this covered already. The usage section of the bean docs link to the CDI guide, which mentions native requirements.
https://camel.apache.org/camel-quarkus/latest/reference/extensions/bean.html#_usage


OAuth2 email verification

General Troubleshooting
Hey there! Before you report a bug or suggest a new feature,
please make sure to follow these steps first!

[x]  I have checked for similar issues.
[x] I have updated to the latest JDA version.
[x] I have checked the branches or the maintainers' PRs for upcoming features/bug fixes.

This is not the place to learn Java. Please refer to StackOverflow
for your general programming questions.

Issue
Issue Type

[x] Feature Request

Description
May you add a method "isVerified()" in user class?
In Disocrd Doc, user object can return with email with OAuth2
I want to distinguish email-verified user and non-verified to determine whether add him a role.  Thanks.

The extra fields are only returned when viewing yourself, or using OAuth2. It is not possible to do this because in the OAuth2 process the user has to authorize your application from the browser. From the authorization, you get a code, which can be used to get a token. You would have to implement this yourself in your application.

thanks a lot!


Added drone detection model

Added pretrained YOLOv4, YOLOv5 and DETR models for drone detection.

Added pretrained YOLOv4, YOLOv5 and DETR models for drone detection.

Thanks for the contribution


Get Sources (TFVC) should support WorkspaceOptions.SetFileTimeToCheckin setting

TFVC workspaces support to preserve the timestamps of files. Here the workspace timestamp is set to the time which is within source control. This option has to be set before calling SyncSources.
Please add an option to keep the timestamps within the Get Sources task.
Note
Internally the tf vc workspace tool is called which supports the setting already.

tf vc workspace /new [/noprompt] [/template:workspacename[;workspaceowner]]
[/computer:computername] [/comment:("comment"|@commentfile)]
[workspacename[;workspaceowner]]
[/collection:TeamProjectCollectionUrl]
[/permission:(Private|PublicLimited|Public)]
[/location:(local|server)]
[/filetime:(current|checkin)]
[/login:username,[password]]

Seems like checkin should be the default.  Not sure there is a great reason to ever use current.

@chrisrpatterson "Current" makes sense because Msbuild incremental build mechanisms are based on timestamps. So if you default to "checkin", then the incremental build will be broken.
"checkin" is nontheless helpful (if used in clean builds). In our case we have plenty of files (which are not compilation results) and these get part of an MSI installer. We create incremental updates and here we don't like to transfer files, which are not changed at all. If the timestamp is the original one then the checksum of the file is the same and the file gets excluded from the update package, thus the update gets smaller.

This issue is stale because it has been open for a year with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days


[Docs-Hierarchy] (Your question)

I'm creating a model with lots of individual objects that I want to manipulate as a single model, a building for example with all its individual object components.
Should I use a UI.Handle or a Hierarchy? If I wanted to have several such models (say floors of a building), what are the best options and what are the trade-offs.
They both seem to group a collection of things together.

UI.Handle and Hierarchy do share some similarities, but let's refine this to a more direct equivalent! UI.Handle calls UI.PushSurface, which is UI hierarchy functionality without the grabbing/moving. This is the UI's direct equivalent of Hierarchy.Push!
In actuality, UI.PushSurface calls Hierarchy.Push! It also makes some internal UI information available for that Hierarchy level, and kicks off some layout data, so it's a Hierarchy and UI.
Rule of thumb is, if you're making calls to UI functions, it should be inside of a UI.PushSurface/UI.Handle/UI.Window. If all you've got inside is draw calls and non-UI code, you can use a Hierarchy.Push instead. UI.Handle and such are also fine to have inside of a Hierarchy.Push/Pop!
Hope that's insightful :)

That explanation was very insightful indeed. My building analogy interpretation would seem to benefit from a hierarchy for all the building structural components (columns, walls, door openings, etc.) that are static immovable in the building space. The furniture in a room could each have its UI.Handle for manipulation.  Naturally, I could enter a mode where the bounding box is not there for interactions with the furniture elements.


Use optimized parameters according to optimization in issue #423

The last PR to be split out from #426.
If we activate multi-context seeds only for certain read lengths, should we also only use optimized parameters for those read lengths?
To Do:

[ ] Rebase once #452 has been merged.

If we activate multi-context seeds only for certain read lengths, should we also only use optimized parameters for those read lengths?

Good point


Fix Dtype Issue of Gemma RMSNorm

🐛 Describe the bug
Follow up of https://github.com/linkedin/Liger-Kernel/pull/85
Reproduce
No response
Versions
NA

New issue for book keeping the issue, thanks @davidgonmar

Taking a look at this!


⚠ Bofrost.be has degraded performance

In 6e6dacf, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2880 ms

Resolved: Bofrost.be performance has improved in 8267b9c.