Error: Navigating frame was detached at #onFrameDetached

Hi,
From today I've suddenly been experiencing this error:
Lambda Execution Exception for Wnx\SidecarBrowsershot\Functions\BrowsershotFunction: "Command failed: node ./browser.cjs '-f file:///tmp/browsershot.js' Error: Navigating frame was detached at #onFrameDetached (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js:110:47) at /opt/nodejs/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:1:269 at Array.map () at Object.emit (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:1:252) at CDPFrame.emit (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js:88:22) at #removeFramesRecursively (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js:448:15) at #onClientDisconnect (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js:114:42) . [TRACE] Error: Command failed: node ./browser.cjs '-f file:///tmp/browsershot.js' Error: Navigating frame was detached at #onFrameDetached (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js:110:47)".
Using:

PHP 8.2
"spatie/pdf-to-image": "^2.2"
"wnx/sidecar-browsershot": "^1.1"
"hammerstone/sidecar": "^0.4"
"spatie/browsershot": "^3.57".

Thanks

Hi,

From today […]

There hasn't been a new release of sidecar-browsershot for a while now. Have you made any changes to your environment? Upgraded a package or deployed a new version of a Lambda function?
The version constraints you shared are vague, but I can already see that you're using an older version of sidecar-browsershot. v2 has been release a while ago, could you upgrade your project to the latest version and see if the error occurs again?
You can get the exact versions of installed packages by using this composer command:
composer show --locked --direct

Hi Stefan,
Thanks for your quick reply yesterday,
I managed to fix the issue yesterday by creating a new lambda instance, rather than upgrading, this created a new instance on node 20, instead of node 18. It may be reproducible with node 18, but we've not had any issues with node 20. This was the case regardless of the sidecar version (1 or 2).
If there's any more information I can provide to help let me know,
Thanks :-)

Great to hear you could resolve the issue.
The latest version of the package already uses Node 20.
https://github.com/stefanzweifel/sidecar-browsershot/blob/main/src/Functions/BrowsershotFunction.php#L84-L90
Gonna close this issue now. If someone experiences the same issue, please comment below with details on how to reproduce the issue.


Build warnings in github test pipeline

While working on #1636 I noticed a build error in the Github pipeline. It did not affect the build, but maybe we should have a look into it so it doesn´t develop into an error:
fatal error: module 'MMTabBarView' in AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/2FZ4EOA8JPHOT/MMTabBarView-1HR905AU2FYUO.pcm' (imported by AST file '/Users/runner/Library/Developer/Xcode/DerivedData/Vienna-cwjfzllgtanqjlabpciyrdviznkw/Build/Intermediates.noindex/PrecompiledHeaders/Vienna Tests-Bridging-Header-swift_3RQRU3SNOOOUT-clang_2FZ4EOA8JPHOT.pch') is not defined in any loaded module map file; maybe you need to load '/Users/runner/Library/Developer/Xcode/DerivedData/Vienna-cwjfzllgtanqjlabpciyrdviznkw/Build/Intermediates.noindex/GeneratedModuleMaps/MMTabBarView.modulemap'?

I don't see the problem occur on recent builds of master branch.


Cannot compile Web API project TaxiFare_API

System Information (please complete the following information):

Model Builder or CLI Version: <IP_ADDRESS>3002
Visual Studio Version (if applicable): 2019, Version 16.11.2

Describe the bug

On which page of the tutorial did you run into an issue (URL):
Clear description of the problem: After finishing of project TaxiFarePrediction I added to it Web API project TaxiFare_API. When I tried to run it I got the following error message:
Error	NETSDK1045	The current .NET SDK does not support targeting .NET 6.0.  Either target .NET 5.0 or lower, or use a version of the .NET SDK that supports .NET 6.0.	TaxiFare_API	C:\Program Files\dotnet\sdk\5.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets	141
It was strange because project TaxiFarePrediction  was under Net5.0 and I don't have Net6.0. So I changed in TaxiFare_API.csproj the value of TargetFramework to net5.0. But after that I got the following error message:
Error	CS0103	The name 'WebApplication' does not exist in the current context ...Program.cs	9
After that all Visual Studio hanged.
So I need to know how it could be fixed?

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@ekleiman22 sorry for hitting this issue. The issue is known  https://github.com/dotnet/machinelearning-modelbuilder/issues/1664 and I will be fixed in the September release of the Model Builder.


Make 404 page

@rug1 what happened with this? Is it merged or on your local somewhere?

Haven't done it yet


EPIC: Namespacing of experiments

Use cases

multiple users share an instance of FastTrackML
a user wants to partition its experiments/runs/metrics in a different space but keep them all under a unique instance of FastTrackML

How
In order to achieve this, we want to add a suffix to the tracking URI that effectively partitions the experiments into different namespaces. The 2 UIs and their respective APIs will thus be prefixed by /ns/<namespace>/ to access a different namespace than the default one.
Example
A server is started on localhost:5000 and the tracking URI for the default namespace is thus http://localhost:5000. The MLFlow client will hit it to create experiments, runs, etc. The UI chooser is available on http://localhost:5000/, the MLFlow UI is available on http://localhost:5000/mlflow/, and the Aim UI is available on http://localhost:5000/aim/. The actual API endpoints are under http://localhost:5000/(ajax-)api/2.0/mlflow/ for MLFlow and http://localhost:5000/aim/api/ for Aim.
All the calls towards these endpoints will use the default namespace and thus filter the experiments/runs/etc. based on that.
A namespace called ns1 is created. The tracking URI to use it is http://localhost:5000/ns/ns1, and the UIs are all available under http://localhost:5000/ns/ns1/ (e.g. Aim is on http://localhost:5000/ns/ns1/aim/). The actual API endpoints are under http://localhost:5000/ns/ns1/(ajax-)api/2.0/mlflow/ for MLFlow and http://localhost:5000/ns/ns1/aim/api/ for Aim. All the calls towards these endpoints will use the namespace ns1 and thus filter the experiments/runs/etc. based on that.

[x] Schema: create new table "namespaces" and reference it in the "experiments" table (foreign key - required)
[x] Schema: add default namespace to the table
[x] Add middleware that maps /ns/<namespace>/ to a namespace and adds it to the fiber context — when there is no prefix, set the namespace to the default one
[x] Adapt all endpoints to fetch the namespace from the context and use it to restrict the queries

[x] #203
[x] #204

[x] Adapt both UIs to adapt their API path to include the namespace (if not the default)

[x] MLFlow
[x] Aim

[x] #201
[x] #202

Feature is complete, future bugs will be tracked as one-off. See 0.4 series for preview release.


Rendering beyond a single page

Is there a way to have more than a single page document if the content I'm tryna render spans multiple pages?

@Imam-Abubakar did you find any solution for this use case?

Nah, I tinkered with it for a bit but it didn’t work as expected…You should just use jspdf

thanks, @Imam-Abubakar for the response.

@Imam-Abubakar Do you have proper example of how to use jsPdf for react to pdf?

v1 has been released automatically support multipage, please refer to README for more details and examples 🙂 .


Why Chinese vocab contains ##word?

In the chinese vocab, we see many word pieces contains ##. In my understanding, those ## words only exist if the words are rare. But after tokenization, the article is converted to a sequence of single character, in what case do we use/need those vocabs ##?

I am a Chinese,but i have never seen such a character in a sentence.

However, embeddings of the characters (##char) seem meaningful as I test them in a Chinese sequence classification task. I want to ask how you get the embeddings of these (##char) characters. Are they just randomly initialized? Thank you!


Changing output/reaction at the moment of detection

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No, I've followed a tutorial and haven't touched the base setup of it. https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlow installed from (source or binary): Source
TensorFlow version (use command below): 1.5.0
Python version: 3.6
Bazel version (if compiling from source): Couldn't get the capture script to return this
GCC/Compiler version (if compiling from source): b'unknown'
CUDA/cuDNN version: 9.0 / 7.05
GPU model and memory: Nvidia GeForce GTX 960M / 2Gb?
Exact command to reproduce: No idea

Describe the problem
Hello TensorFlow and everyone else,
I was wondering where in the code we can change the output or rather, the reaction the framework has on a detected item. Quick notice: I have no prior Python experience so it's a bit difficult to go around and deduce code.
For simplicity, let's say, at the moment Tensor detects an object, i'd like to create a file. I've been looking around but can not find a structure or UML-diagram saying which code leads to which, so I have no solid idea where to begin. I'd be very greatful if any directions could be given.
Thanks in advance
Source code / logs
N/A for this question

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Option parameters for appr.tc

I've been working on the development of some tests for the parameters listed here:
https://apprtc.appspot.com/params.html
Are all of these parameters currently supported? Also, looking at the apprtc.py, I've seen some other parameters are also available, but not listed in the page above, such as:

it=relay&tt=tcp
firefox_fake_device=1
dtls=true
..

Are these also supported?

There are more support but have not been added, overall I would say the URL parameters might need a walk-through see what works and what doesn't and then the params.html would need to be updated to reflect this.


Upgrade to actions/checkout@v3

Description
Upgrade to Github Actions actions/checkout@v3
Release notes here: https://github.com/actions/checkout/releases
Main difference is that v3 uses Node 16 instead of Node 14

@louislam Quick non-breaking PR :-)


No responsiveness for calculator page

Description
The ui for the calculator page is designed for a wide screen
Expected Behavior
The calculator page responds to different screen sizes
Actual Behavior
The calculator page is not responsive
Motivation
improved ui

hi @t-muthuri , can I check this one?

Yes. Thank youOn 17 Aug 2024, at 00:10, Rodrigo @.***> wrote:
hi @t-muthuri , can I check this one?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Post Pallet for Storing "Remarks" On-Chain

This is a simple, but quite needed pallet allowing users to store some arbitrary data on-chain for a deposit.
This is most similar to remark, where a user can post some arbitrary comment, but unlike remarks the data in the pallet-post gets stored on chain. This will allow 3rd party developers to bootstrap a number of scenarios on top of Substrate based networks without needing to create custom pallets.
In order to avoid post conflicts, all posts are gated by two keys: AccountId and Topic. There are two kinds of posts depending on the ordering of these keys:

Blogs: Account -> Topic -> Post
Threads: Topic -> Account -> Post

The idea of blogs is that a user may want to make a post on a number of different topics, just like a personal blog. In this kind of post format, you can easily query all the posts from a user by querying for all the blogs under an Account, which will give you a list of topics, and finally the underlying post.
The idea of threads is that many users may want to make a post on a shared topic, just like a forum thread. In this kind of post format, you can easily query all of the topics that are open for discussion, and then the accounts that have commented on that topic and made a post. Unfortunately there isnt directly a way to make multiple posts on the same topic, but in combination with blogs, such a design could probably be hacked together. Otherwise, we may want to consider a triple map, which is Topic -> Account -> Index -> Post.
Users will pay a deposit base on the number of bytes used in their topic + post. To return that deposit, users simply need to delete their post.
Posts include a block_number so they may be easily sorted and presented to the outside world.
Scenarios

We want to make a poll where on-chain users will provide feedback about some general topic. Off-chain we will define a certain "topic" for discussion, and a format for how users should make a post (for example sending 0x00 for nay and 0x01 for aye. Then users can make a post under that thread for the duration of the polling time. At the end of the polling time, a snapshot of the chain and the current votes can be tallied, with any filtering applied off-chain (for example a filter for only accounts with identities or a weighting factor based on number of tokens held at the end of the poll time. As long as these criteria are made public, anyone else could trustlessly verify the results.

We want to create a "profile page" for all validators to make comments about their validator setup and why users should vote for them. Here we make another topic under a thread where anyone can make a post using some defined format. Then a service like Polkadot JS could query all the pages under this thread, filtering for users who are in the staking pool, and show this information for each user.

I may want to make a series of personal posts about things happening on the network. I would add a new topic under my blogs for each of my comments. I could then host a page which queries and presents all of these posts under my account. I could also use this mechanism as a simple way to index into my posts in other threads. For example, I can make a post in a thread under a certain topic, and in my blog place a simple indicator like 0x01 under the same topic so show that if you look at the thread, you would find my post. (i.e. account -> topic -> "0x01" could imply that topic -> account -> post exists

Users could post on chain details about some democracy proposal, or whether they support such a proposal using posts, in addition to depending on 3rd party services.

Fixes: https://github.com/paritytech/substrate/issues/7109

/benchmark runtime pallet post

/benchmark runtime pallet pallet_post

Very much needed pallet indeed. Fwiw, looks good to me.
Perhaps another way to think about these "social structures" is in terms of trees, with roots and parent links. Then a "topic" may be just a post with a special null root (zero?). I'm thinking something like this:
account -> [postId]
parentId -> [postId]
postId -> post { parentId, account, content, deposit }
nextId
with deposit according to content. But I'm aware that is not efficient as your version, maybe you can comment on the cons.

@marcio-diaz the main goal here should be to make it easy to query all posts under a topic.
The main scenarios this hopes to solve are related to having users all post some details about some topic.
For example:

Validators posting why you should nominate them on chain.
Making a poll for users about a certain topic.

So whatever organization we choose, it should be easy to query all posts under a topic.
The blog organization was then a simple way potentially organize all posts by a user, if they choose.
TBH I am not super attached to this structure, but i think any other structures should have at least these properties.

Is this still being worked towards?

Is this still being worked towards?


Issue for FireFox: getComputedStyle is null for iframe

Version
@PeachScript,
Could you please take a look on closed Pull request #74? Sorry for delay, I've provided answers on your questions.
Is it possible to have fix in upcoming version?
Vue.js version
2.2.0
What is expected?
Add simple check that will not throw exception for getScrollParent method
What is actually happening?
When infinite-loading used in iFrame and for FireFox browser it throws expection
Original FF issue https://bugzilla.mozilla.org/show_bug.cgi?id=548397
How to reproduce this problem?
I am using KeenUi Modal component that contains iframe with huge list of items. When page is rendered Modal component initialized and infiniteScrolling is triggered (but modal was not actualy opened). And in this situation infinite loading throws exception for FireFox browser due to their issue - getComputedStyle returns null for iframe

For this problem, I think this solution cannot solve the real problem, because this component will find a error scroll wrapper if the real parent is a invisible iframe in the Firefox browser, it just prevent the error be thrown, the developers and users may don't understand why the program cannot work properly and there is no error, so I don't think it's a effective solution.
Perhaps we can control the component render through the v-if directive, we can render this component when the iframe is visible, how do you think about it?

@PeachScript the problem here is that window.getComputedStyle returns null for FireFox inside iframe even when iframe is visible... So, v-if will not help, and there is no way to fix (just some UI work around for FF like a button where a user can click and load more).
I do not know if possible to use something differ instead of window...
Let me double check how it behaves for opened iframe. I will post result soon

I see, maybe the force-use-infinite-wrapper attribute can help you, details in here

Oh, I found that you were also one of the participants in that issue, is this method useless?

I tested with v-if but the issue is reproducible. It throws exception TypeError: getComputedStyle(...) is null. So, no matter if content id hidden in iFrame or shown.
I did not try force-use-infinite-wrapper attr yet. When I have result, I will post my status here

@vbabenko got it, thanks!


Allow reading json arrays

Description
Currently we only support reading new line delimited json. I'd to also support complete json arrays so that we can read files in the form of:
[
  {
    <object1>
  },
  {
    <object2>
  }
]

this should probably happen upstream in either datafusion or arrow-rs.

this should probably happen upstream in either datafusion or arrow-rs.

Likely, though I think I'm inclined to implement this locally, and then try and upstream it, unless there's an obvious way to do this trivally in the upstream.
Also sorry for opening the duplicate issue. I'm inclined to keep the #2218 issue open.


Elevenlabs should work for Free and Starter price tiers

The ElevenLabs plugin was written when PCM audio was supported in lower price tiers. Now it looks like only mp3 audio is supported in the lower price tiers.
Our default implementation currently doesn't work. This issue represents:

The ElevenLabs Plugin should support for the mp3 output formats
The default for the ElevenLabs should be an output format supported by the lowest price tier

https://github.com/livekit/agents/pull/321


Negative priority frontends

Do you want to request a feature or report a bug?
Feature request
What did you do?

[frontends]
	[frontends.frontend-specific]
	backend = "backend-specific"
		[frontends.frontend-specific.routes.route0]
		rule = "Host:something.example.com"

	[frontends.frontend-fallback]
	backend = "backend-fallback"
	priority = -5000
		[frontends.frontend-fallback.routes.anything]
		rule = "HostRegexp:{anything:[\\da-z\\._\\-]+}"

What did you expect to see?
frontend-specific takes priority, due to negative priority on frontend-fallback.
What did you see instead?
frontend-fallback takes priority.
Output of traefik version: (What version of Traefik are you using?)

Version:      v1.5.2
Codename:     cancoillotte
Go version:   go1.9.4
Built:        2018-02-12_10:56:31AM
OS/Arch:      linux/amd64

My usecase
I've tried the above setup to use Traefik as a way to migrate away from a legacy webserver.
In the [file] section I set the fallback rules to route to the legacy server.
While in docker containers the new implementations would be dynamically configured.
In order to avoid setting priorities on all overrides, I would like to set a negative priority like above instead.

@Beanow A workaround for now is to set priority=1 on the fallback. The other frontends will have a higher priority by default.
see: https://www.techjunktrunk.com/docker/2017/11/03/traefik-default-server-catch-all/

Some more documentation about the priorities would probably suffice to find this workaround. Although negative priorities would still give some more option when there are many overlapping fallbacks.
Using priority=1 has worked for my case though.

Hello!
I close this issue as it targets an unsupported version of Traefik.
Feel free to re-open it or join our Community Forum.


Don't work with React HOOKS

Please send suport for React Hooks, components class is obsolete.

Please support the function components with hooks.

Yes I would suggest a hooks implementation ASAP for react since that is the direction it's headed.

wrote a custom hook to replace withAITracking, seams to work ok, i have a 'key' paramter because i have a tabbed UI in the component i am tracking, and the key is the tab state
function useAITracking(componentName, key) {
useEffect( () => {
let start= new Date()
return () => {
reactPlugin.trackMetric({
average: (new Date() - start)/1000,
name: 'React Component (seconds)',
sampleCount: 1
}, { 'Component Name': componentName, 'Navigation': key });
};
}, [componentName, key])
}

I've done a write up on how you can create custom hooks to work with AppInsights, you'll find it here: https://dev.to/aaronpowell/combining-react-hooks-with-appinsights-5692
In it there is a Context, allowing you to useContext to access the React plugin, a hook for tracking a normal event (using trackEvent for AppInsights) and one for doing metric tracking like the HOC does.
Does it look like what people would expect from a programmatic model of AppInsights + Hooks?

Included in v 2.5.5 which is now fully deployed

@aaronpowell @MSNev is there any official documentation on how to use the new stuff for react hooks?

I second this question. Is there any documentation?

Docs have been written and are currently being reviewed by our content team. Fingers crossed they should be available soon.

Docs are now published - https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript-react-plugin#using-react-hooks

thanks for this!

@aaronpowell It would be great to have those docs in the react Readme.md as well

@aaronpowell It would be great to have those docs in the react Readme.md as well

Good suggestion @dps88. I've opened a PR to add it.

Good suggestion @dps88. I've opened a PR to add it.

I have been attempting to get the Hooks based implementation to work in one of my current apps and I am having a few issues being certain if it is working as intended.
Setup
MS AppInsights + React-Plugin
https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript-react-plugin#basic-usage
Context Usage
Within my component, I accessing the AppInsights context, and then simply want to track metrics at my page component level. To do that I followed the exact recommendation listed in the documentation (linked above)
  const metricData = {
    average: 10, // Not explained in the docs, so I just put this as a 1 as I assume it is up to us to define a mechanism for calculating this client-side?
    name: 'React Component Engaged Time (seconds)',
    sampleCount: 1
  };
  const additionalProperties = { 'Component Name': 'ListView' };
  appInsights.trackMetric(metricData, additionalProperties);

In the console, I see the "track" network request, but it seems like the "additionalProperties" are not logged or tracked. This makes it impossible to do any splitting or aggregation on the AI side.

So I feel like Im on the right track, but I must be missing something. Additonally, I tried following the user-invoked useTrackMetric approach, though this did not seem to work at all. Manually triggering the callback provided via useTrackMetric did to appear to trigger any network traffic / tracking


Latest jinja release breaks our theme

Hi,
This is what shows up in the log:
Extension error:
Could not import extension sphinx_bluebrain_theme (exception: cannot import name 'contextfilter' from 'jinja2' (.tox/docs/lib/python3.9/site-packages/jinja2/__init__.py))

Pinning jinja helps:
[testenv:docs]
changedir = doc
deps =
    Jinja2~=3.0.0
    sphinx
    sphinx-bluebrain-theme

:facepalm:

The breaking changes were introduced https://github.com/pallets/jinja/releases/tag/3.1.0

Now it's fixed, right?

Yes it is working as before with the pin version


Why does AuthorizationServerConfiguration need to be static?

I am using the sparklr example to set up my authorization server and resource server and I want to separate them into two separate configuration files. I noticed that AuthorizationServerConfiguration needs to be static in order for the authorization endpoint to get hit. This means I have to create a nested static class like below for the authorization server to work properly. Can someone explain why AuthorizationServerConfiguration needs to be static?
@Configuration
public class AuthorizationServerConfigurer {
    @Configuration
    @EnableAuthorizationServer
    private static class AuthorizationServerConfiguration extends AuthorizationServerConfigurerAdapter {
        ...
    }
}

It doesn't have to be static if it's not nested. If it is nested it does because it needs a default public  constructor so that a proxy can be created for it in Spring's configuration class processing.

Sorry, reopening this ticket. If I do something like below, it won't work.
@Configuration
@EnableAuthorizationServer
public class AuthorizationServerConfiguration extends AuthorizationServerConfigurerAdapter {
...
}

What do you mean by "it won't work"? I doubt very much if it's the same question.

If i move the AuthorizationServerConfiguration class out of the AuthorizationServerConfigurer class, the authorization endpoints do not get hit.

Maybe your AuthorizationServerConfiguration isn't a Spring bean any more? It rather depends on how you construct your ApplicationContext. It isn't enough to just write the code - you have to tell Spring where to find it as well.


Several questions regarding Profile-Guided Optimization (PGO) and LLVM BOLT

Hi!
Right now I am testing Profile-Guided Optimization (PGO) and LLVM BOLT effects in multiple software domains - all current results are available here. During the research, I have met multiple questions about PGO status in Swift that I want to discuss here.

Does Switft support building Swift programs with PGO? I am trying to find something similar to the Clang docs about PGO but for Swift - didn't find any on the Internet. If you have such a link - could you please share it with me? The only link that I found is the source code with some PGO-related flag in the compiler: GitHub. Would be nice to have a dedicated manual for PGO (as it's done in other compilers like Clang, GCC, Rustc).
If Swift supports PGO, what kind of PGO is it? Instrumentation, Sampling, or something else? Is it possible to use the AutoFDO project with Swift?
As far as I see in the closed PRs, Swift compiler already supports building with PGO for both parts (Swift compiler itself and LLVM part). Does it support optimizing the compiler with LLVM BOLT? E.g. Clang and Rustc compilers already support optimizing with LLVM BOLT.
Do you optimize prebuilt Swift compiler binaries with PGO? If yes, could you please share somewhere performance results after enabling PGO? It helps a lot to the maintainers of the custom Swift compiler builds with estimation - do they need to build Swift compiler with PGO/BOLT or not.
How do you collect the PGO profile for the Swift compiler? Is there any committed profile or it's regenerated on each build? If there are some ready-to-use scripts for it - would be awesome if you could show them.
Do you use PGO for optimizing other Swift-related tooling (like the code-formatters)? It could be an interesting topic since according to my tests on LLVM tooling - helps a lot for different kinds of LLVM-based software (code formatting, language server, static analysis).

Thanks in advance!

@eeckstein Who's the best person to address this to?

There is some very basic, experimental - and probably outdated - infrastructure in the SIL (profile counters). Beside that, AFAIK, there is no activity on pgo.
I think you should ask those questions in the swift forums.

Created the corresponding topic on the Swift forum: https://forums.swift.org/t/several-questions-regarding-profile-guided-optimization-pgo-and-llvm-bolt/67963


Use default admin interface for all models

Summary Change Description
The admin interface can be very useful when looking through the values in the database. Having a default view for each model makes it much more usable.
Affected Issue Numbers
Code Review Notes
Checklist

[x] Changes have been added to the Unreleased section in the changelog.md.
[x] All issue requirements satisfied (or no linked issues)
[x] Linting passes.
[x] Migrations created & committed (or no model changes)
Tests

[x] Tests implemented (or no code changes)
[x] All tests pass
[x] All example load tests pass (remotely) (or their failures predated and are unrelated to this branch)

We endeavored to incorporate logic into models so we could use tools like this, but we can just leave this for individual devs to implement. I'll have it my git stash.


soc: arm: nrf5340: Add option to allow the app core to run at 128MHz

This commit adds support for running the nRF53 app-core at 128MHz.
Signed-off-by: Johan Stridkvist<EMAIL_ADDRESS>

@ioannisg and @anangl please review

@jostn @anangl, just asking, would we need to do a core-clock update, in SystemInit(), if we move the clock to 128MHz?
Also, any effect of this change to busy_wait() routines?

Yes, SystemCoreClockUpdate() needs to be called after the divider change. This will cause that the nrfx_coredep_delay_us() routine that k_busy_wait() executes underneath will correctly calculate the needed number of delay cycles. And that's why nrfx_clock_divider_set() should be called instead of just nrf_clock_hfclk_div_set(). This function will take care of additional operations needed after the main clock frequency is changed.

@jostn could you please follow up with the comments by @anangl ?

Yes, SystemCoreClockUpdate() needs to be called after the divider change.

Is this done finally?

Yes, SystemCoreClockUpdate() needs to be called after the divider change.

Is this done finally?

nrfx_clock_divider_set() does it appropriately.


chore: update api verison to v2.0.141

Description

Update api version.
Add methods for scheduler rpcserver.

Commands:
go get -u d7y.io/api/v2
go mod tidy

Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

@gaius-qi PTAL


package_info_plus 5.0.1 not supporting.

I want to use package_info_plus v5.0.1.
But your pluging asking 4.2.0.
Thanks in advance.

I think version 1.2.0 might support this. There was #46 which allowed if you are on newer versions to have a wider range of this package.


Updated cfg version

Signed-off-by: raneethgithub<EMAIL_ADDRESS>

:tada: This PR is included in version 0.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Make explicit that order matters in event note spec

This failed and I went to change eq to contain_exactly but order matters, so make that explicit and remove the EventNote.all indirection.  Not sure where flakiness could come from here, but can't reproduce easily so punting for now.

selfie


Performance Analyzer use too many /dev/shm

My opendistro cluster currently running on k8s. I found the /dev/shm was  used up, and i found Performance Analyzer is use /dev/shm.  But in k8s pod, /dev/shm only has 64MB.
If I mount memory to /dev/shm, it may be "OOM". Can you give me some solution?

I have a couple of options in mind -

Create an inmemory volume and change the performance analyzer configuration file to point to the path - https://github.com/opendistro-for-elasticsearch/performance-analyzer/blob/master/pa_config/performance-analyzer.properties
You can also just mount the volume at /dev/shm and avoid changing the path.

@aetter @ditac  Thanks too much. But I want to know is how to set this size, I worry about "OOM"

Hi @scf0920, sure, does the --shm-size 1gb flag not work for you?

@aetter sorry, maybe I didn't express my meaning. What I mean is why is set to "1gb".  Is this calculated or by "experience dependence"? I feel this is related to the data size. Thanks.

Hi @scf0920, we've seen up to 1 GB of usage when testing heavy workloads, but I don't have details on what sort of data scale, indexing rate, and search rate "heavy" means. @ditac might know more.

Added a quick note and am closing out: https://github.com/opendistro/for-elasticsearch-docs/commit/f476ccb3cc1ef81d8bf5ea41aa2cbfa6d6d7345d


Custom shell wrapper doesn't work with powershell

When using the custom shell wrapper with powershell I get an error from github actions:
I am doing something like this on Windows runner.
- run:
    pytest
  shell: pixi run pwsh -e test {0}

The pixi run command sends all info after the initial command to the task.
I think something like this could work:
- name: Run test with powershell
  run: pytest
  shell: pixi run  -e test pwsh -File {0}

This should be updated in the readme (and we should add a test for it as well)

maybe also add a test for cmd.exe

@ruben-arts

I think something like this could work:
shell: pixi run -e test pwsh -File {0}

It doesn't seem to work.

It is odd, because GitHub Actions Docs does seem to indicate that is possible. Maybe they do something special if they detect the first argument is "pwsh" or "powershell".

Yeah I experienced the same, that's why we added this to the documentation and tests in #79
- run: |
    python --version | Select-String "3.11"
  shell: pixi run pwsh -Command {0}

You can use the environment with:
- run: pytest
  shell: pixi run -e test pwsh -Command {0}

Powershell can't run scripts without the right extension. So GitHub Actions does something special when they detect the first command is "pwsh". This seem to work for me though:
shell: pwsh -command "pixi run -e test pwsh '{0}'"

But now as nice to look at :(

Ahh. Ok. I hadn't tried your way

shell: pixi run -e test pwsh -Command {0}

I will give that a try.

Powershell can't run scripts without the right extension. So GitHub Actions does something special when they detect the first command is "pwsh". This seem to work for me though:
shell: pwsh -command "pixi run -e test pwsh '{0}'"

But now as nice to look at :(

Was this a reaction to my latest comment or did we comment at the same time?

They cross path I thing :)

@ruben-arts, I am not sure your suggestion (pixi run -e test pwsh -Command {0}) works.
It doesn't produce any errors, but it doesn't run my code either. Or maybe it only runs the first line of run section. I have not tested that.
If I use my workaround:
shell: pwsh -command "pixi run -e test pwsh '{0}'"

Then the code actually runs.
See these screenshots from my pipeline:
With your suggestion nothing runs:

With: pwsh -command "pixi run -e test pwsh '{0}'" it runs:

Yeah, I didn't try to reproduce this yet... Is the issue maybe that it's multiple files?
Does this work for your use case?
https://github.com/prefix-dev/setup-pixi/blob/20681dbcbf237e7ff110345f31abf0e2afc0d758/.github/workflows/test.yml#L336-L338

Does this work for your use case?

@melund did you get around to try this?

@pavelzw: Yes that doesn't work:
https://github.com/melund/test-pixi/actions/runs/11090308043/job/30812485079#step:5:5
Only: shell: pwsh -command "pixi run -e test pwsh '{0}'" seems to work


RFC: Property Animation

RFC
Background
luma.gl can now accept function valued props that get reevaluated agains a set of animationProps before every frame.

Streamline deck.gl so that layers (and shadermodules) can accept function valued props.
Forward the right set of animationProps into the layers.
Add a system that enables animation to happen every frame even if layers haven't changed.
P2 - enable the user to set FPS update frequency, to prevent fans from running hot.

To Do List

[x] Add label and assign to milestone
[x] Coding
[x] Doc update
[ ] Whats new update
[ ] Test

GIF framerate is lower than actual rendering

Implemented in 6.2


[Documentation] Citing Garak

How should Garak be cited in research papers?

That's a nice question. For now, this works:
@misc{garak,
  title={garak: {A Framework for Large Language Model Red Teaming}},
  author={Leon Derczynski and Erick Galinkin and Subho Majumdar},
  year={2024},
  howpublished={\url{https://garak.ai}}
}

(adjust \url to suit your taste)

addressed in #511


Update to include the config

Included the kubectl config which was missing because I have multiple of these configs and this one wasn't being used.

I signed it!

I didn't make any code changes and I don't know why the build is failing.


typo fix

s/overriden/overridden

Haha, didn't take long for people to start diving into the code. Thanks for the fix!


Docker image on Dockerhub and built from Dockerfile has issues

I installed dependencies and built with make deploy -- --tags kernel and then rebooted.
uname -r
6.0.0-nyx+

I get this issue when I run a container based on the image pulled from Dockerhub (intellabs/kafl:latest) as well as when I build the image locally with the latest Dockerfile from master.
docker run -it --device /dev/kvm --user $(id -u):$(id -g) --group-add $(getent group kvm | cut -d: -f3) kafl:latest fuzz
[7] Module object for pyimod02_importers is NULL!
Traceback (most recent call last):
  File "PyInstaller/loader/pyimod02_importers.py", line 22, in <module>
  File "pathlib.py", line 14, in <module>
  File "urllib/parse.py", line 40, in <module>
ModuleNotFoundError: No module named 'ipaddress'
Traceback (most recent call last):
  File "PyInstaller/loader/pyiboot01_bootstrap.py", line 17, in <module>
ModuleNotFoundError: No module named 'pyimod02_importers'
[7] Failed to execute script 'pyiboot01_bootstrap' due to unhandled exception!

When I was building I did run into issues with python 3.8 vs 3.9 but I resolved those with #175

Hey @dkoch144,
thank you very much for reporting this problem ! 💯
This seems related to Pyinstaller, judging by this very similar issue reported a few months ago:
https://github.com/pyinstaller/pyinstaller/issues/7692
I'll try to update the pyinstaller dependency.

Confirm the latest image on Dockerhub starts as expected.
use --pull always to force the refresh !
I'm also keen to get your feedback on how you use the kAFL docker image !

Thanks for the fix!
I'm just looking to benchmark the Redqueen feature currently and I didn't want to have to do the cgroups myself.
I see that the linux userspace tutorial is still in the works. Can I just follow the tutorial at https://github.com/RUB-SysSec/redqueen to get going?


fix(python_module): fix syntaxwarning when importing megengine at the time

Fix the SyntaxWarning about is and is not.
When importing megengine in the first time in Python 3.8, it will raise the following warning:
/home/wkcn/proj/megengine/build/python_module/megengine/_internal/craniotome.py:311: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if cur is 0:
/home/wkcn/proj/megengine/build/python_module/megengine/core/function.py:49: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if isinstance(grads, Tensor) or grads is None or grads is 0:
/home/wkcn/proj/megengine/build/python_module/megengine/core/function.py:58: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  list(x._symvar if x is not None and x is not 0 else 0 for x in grads)

We have recently re-implemented almost all python interfaces and there is no such problem now, thanks for your contribution.


Diagnostics break for the entire file when an empty message is posted

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

VS Code Version: 1.69.1
OS Version: Linux

Spotted in https://github.com/rust-lang/rust-analyzer/issues/11404. I suspect the undefined in https://github.com/microsoft/vscode/blob/5acd9508c913b1d0ce3243f056c3cb039bac6938/src/vs/platform/markers/common/markerService.ts#L201-L203 breaks the caller.
CC https://github.com/microsoft/vscode/issues/5952

Repro (with rust-analyzer):
fn main() {
    $;
    compile_error!("");
    $;
}

This is thrown in the extension host (here) and indicates bad extension behaviour. Depending on how the extension is written this likely prevent further errors but not errors from other extension.
Closing as extension-caused since they must provide valid diagnostic objects

I don't think this is a bug in the extension. Rust code can legitimately emit compilation errors without a message. And the compiler does that too (for the related diagnostics), if I recall correctly.

Curious but is it documented somewhere that the diagnostic message is not allowed to be empty? If not that should be at least written down somewhere.
Fwiw the language server protocol also does not say that a message has to be non-empty, so either that should be added to that there as well or in my eyes VSCode is missing something to handle that case  there.

@jrieken would you mind reconsidering this, given the two comments above?

Yes, this is very much intentional. The one change I should probably do is to also throw with whitespace-only strings. Diagnostics are user-facing elements, they represent an issue with source code and doing that without a message feels illogical.
Maybe I am not understanding your use-case but when would like to see an error squiggle (or entry in the problems views) without stating what the problem is? What's the use-case and how is that desirable?

The one change I should probably do is to also throw with whitespace-only strings.

You're not throwing away anything, you're completely breaking the diagnostics for the whole extension when you encounter an empty one.

What's the use-case and how is that desirable?

Rust code, including libraries, can emit compiler errors with an empty message. That might not be a great experience for the users, but it's fully allowed and used. Sample. Some popular libraries do or did this at one point.
Rust compiler errors include multiple spans. Notice how the one on &'a i32 has no message:

We expand them to multiple diagnostics, in order to show them nicely:

If you delete the first span, you throw away information from the compiler:

And of course, by throwing that exception, you're completely breaking diagnostics in the whole file (or even project/workspace, I don't remember), even those that do have an associated message.
We could duplicate the message from &'b i32 in this case, but I'm not sure that works every time, and it would crowd out the diagnostic list. I think we did something like this at one point.

Why aren't you using DiagnosticRelatedInformation for such cases?

We are. As far as I know, this was/is also an issue for those.
And that doesn't fix the compiler_error! case.


Fixes for ExtractorUtils::GetPolicyContent

BUG: When policyContent contained a value such as [concat(parameters('PolicyXMLBaseUrl'), '/insights-apikeys-generate-key-operationPolicy.xml')], )] became part of the filename
- FIX:  From the result of the split on ',', split on "'" and use the second segment
- CONCERNS:  I am not sure of the full realm of possible values, and this fix may be too specific to my situation.
BUG:  When fileFolder in extractor params is an absolute path, prepending with CurrentDirectory will not work
- FIX:  Use Path.IsPathRooted to determine whether to prepend CurrentDirectory
- CONCERNS:  Will this cover all cases without breaking existing cases?

Is there something further that I need to do with this PR?  It has been waiting on the "continuous-integration/SwaggerValidator" for a couple weeks now.  I re-checked the Contributions description, and I do not see anything mentioned as required other than the CLA.

Hello @KevinHale-Bentley,
Thanks a lot for a nice bug-catch and a contribution.
We've been working on refactoring the repo code a lot recent time, so I have recreated your commit PR in refactored code. Check the PR: #654
New PR will close this one once merged. But if you meet troubles, feel free to open a new issue. Remember to checkout latest version of resource-kit.


python3.8-breezy-3.1.0 cannot build, blocking nix-prefetch-bzr and cabal2nix

Describe the bug
/build/breezy-3.1.0/dist /build/breezy-3.1.0
Processing ./breezy-3.1.0-cp38-cp38-linux_x86_64.whl
ERROR: Could not find a version that satisfies the requirement patiencediff (from breezy)
ERROR: No matching distribution found for patiencediff
builder for '/nix/store/3wf38d1nidny3ds20cgb8ra3d7mjxc5d-python3.8-breezy-3.1.0.drv' failed with exit code 1
cannot build derivation '/nix/store/3ggnx4dzrcm6ra4if5cbi3facpxv046b-nix-prefetch-bzr.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/71snm9gvvl6hs689sgicvaraiili5rhq-nix-prefetch-scripts.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/zp3w23nralr68sz78fg7rf5gj4nazf4d-cabal2nix-2.15.5.drv': 1 dependencies couldn't be built
error: build of '/nix/store/zp3w23nralr68sz78fg7rf5gj4nazf4d-cabal2nix-2.15.5.drv' failed

To Reproduce
Steps to reproduce the behavior:
Expected behavior
The package builds successfully.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 5.4.81, NixOS, 21.03pre257339.83cbad92d73 (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.9
channels(root): "nixos, nixos-unstable"
channels(mono): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: python3.8-breezy nix-prefetch-bzr cabal2nix
# a list of nixos modules affected by the problem
module:

possible dupe of https://github.com/NixOS/nixpkgs/issues/106253

possible dupe of #106253

Indeed. It seems okay now.


About baseline methods

您好，请问能否提供您选用的一些baseline方法的代码呢，因为我发现许多的源码具有特异性，而我刚入门这个领域，对于如何改写这些模型感到困惑
（例如LGRec和MCRec它们的initial embedding的详细生成方法并未提供，而且LGRec的模型代码似乎跑不通；HetGNN模型是hard coded for academic paper，怎么改用到其他数据呢？HAN模型是embedding方法，如果要改用到推荐，该如何实现呢？）
希望能得到您的回复

For baselines, the initial embeddings for nodes are often randomized unless otherwise stated. One solution is to employ their methods following the description of the algorithm in their papers. Their implementations may be limited within certain datasets but their algorithms are kind of general idea for the heterogeneous graphs.  GNN methods are mainly used as encoding methods. That is to say, after obtaining the node embedding, it's straightforward to compute the similarity between the source and target nodes to derive the prediction score for the link existance.


Deprecated option 'max_length' added to fields

Hi,
when an entity field has length parameter set, the function guessMissingFieldOptions  in TranslationFormBundle/TranslationForm/TranslationForm.php automatically add 'max_length' option in field which is deprecated in Symfony 3.
This make an exception is thrown during template rendering.
Thanks for your help

Same problem here.

Related to https://github.com/a2lix/TranslationFormBundle/pull/220

New tag https://github.com/a2lix/TranslationFormBundle/releases/tag/2.1.1 created, update the bundle and try again.

I used that fork yesterday, it worked :) It works with tag 2.1.1 here.

Fine, I close. Thanks for feedback.


Invariants

This PR is two small features.

Don't allow DFS to work through the "public" label (bug fix)
Add an invariant type that checks that two labels are directly connected.

For the second feature, it's possible that in the future this invariant and the main reach invariant could be combined in an invariant that takes a depth argument, but (imho) this isn't worth doing right now.

Pushed two new commits which add the ability to annotate nodes in the stitch with static analysis-relevant characteristics, and a new invariant type which does annotation-aware reachability.
The implementation of reachACL (stitch/invariant.go) is a bit messy, but I think it's not at the threshold of writing some overarching reach() function which reduces code re-occurrence.


WorkersPresent Data Field

Based on WZDx Workshop participants, construction workers can benefit from data that puts them “on the map,” making them visible in work  zones,  which  can  be  high-risk  environments.  In  addition,  participants  noted  that  these workers  can  provide  real-time,  on-the-ground  information  to  make  work  zone  data  more complete  and  useful  as  a  tool  for  improving  safety.  Incorporating  this  information  about  work zones  into  navigation  apps  and  consumer  maps  can  alert  drivers  to  reduce  speed  and  signal  to AVs to transfer control to a human driver ahead of time.
Solution: Make WorkersPresent data field changed from "Optional" to "Required" in the next version of the specification

In Iowa this isn't something we currently collect.  I don't know of any good large scale solutions currently available to get this data either.  I have heard limited type deployments.
So  I am very hesitant to make this required because I feel the options at least in Iowa and some other states would be to say workers are present all of the time or just not produce a WZDx because they can't provide all of the required data.
I agree it is very important information to have and collect but don't know the capability in providing this yet.

I agree that this is a very important information going forward. This also goes well with initive to change speed in work zone when workers present.
I would suggest that this information is added to the current revision with an "optional" status.  This will show the importance going FWD and will help the market to adjust.  in a V.3 then the status might become "required".

worker present is also defined in the data dictionary https://collaboration.fhwa.dot.gov/wzmp/Data%20DictionaryDocuments/WZAD%20Data%20Dictionary_VERSION%202.pdf  table 6, element 135 on page 40.

We need some clarity on what this represents:

workers on site in the work zone; which has issues already explained in this thread
workers in the roadway, such as flagger, uniformed police officers, etc. These may be outside the work zone contained by traffic control devices. I see more value in communicating number 2.

Regardless, this is information that most urban jurisdiction won't be able to provide so if we make it required we will need to have a unknown value, at which point it's not really much different than being optional.

Comment from Charlotte Tao from Lyft - Worker presence data would be particularly valuable for autonomous driving for two reasons:
1 - One is for safety purposes. Autonomous vehicles should detect workers present at work zones and should either slow down or switch to manual driving mode completely. In cases when perception fails to detect workers, vehicles are expected to rely on an offline dataset as the baseline and still slow down or switch to manual mode if necessary.
2 - The other is for machine learning purposes. Having the dataset will certainly help train and validate perception models for detecting work zones and workers. There will be no better way to collect the ground truth for data like this.

A boolean seems to be difficult for this field. There's no way to say "we don't know if workers are present", which is probably the case most of the time. It could become an enumeration which adds "Unknown" to the list with present and not present.

Thinking more about this.  I see this as a very valuable item for Automated Driving (hands free driving like a SAE Level 2, 3, or even 4 vehicle).  Basically, these vehicles could use this information to hand back driving to the human when before entering a Work Zone that has workers present.  I could even see this at some point becoming a requirement.  This could be transmitted to the vehicle either V2V/V2X or even possibly through the mapping companies adding this data to the traffic dynamic layer of the navigation maps.  These Automated driving systems should already have some connection between navigation and the Automated Driving system, so this could be a simple input added to the escalation process of handing back control to the human.

Partial resolution in #206, implemented in WZDx v4.0.
For further suggestions for handling worker presence, create a new issue.


Issue with cache cost calculation for UIImage created from Core Image

We are using PINRemoteImage's processorBlock to download an image from a URL, and then processing it using Core Image. We return UIImage(ciImage: processedCoreImage) in the processorBlock.
However we're hitting an NSAssert in PINRemoteImage during cache cost calculation:
NSAssert(container.image == nil || imageRef != NULL, @"We only cache a decompressed image if we decompressed it ourselves. In that case, it should be backed by a CGImageRef.");

It seems like this only supports UIImage that is CGImage backed, which is not the case with Core Image. Any help or guidance would be appreciated, thanks!

Hey @rounak , did you find any solution for this?


Remove duplicate D6 under Wrappers section

Checklist

[x] Use a separate branch in your local repo (not master).
[x] Did not modify any code, should not affect test coverage.

Coverage remained the same at 100.0% when pulling b813a40ad848ea273244fca37854cd551b94d83a on plankp:patch-1 into 59307d05691bbd0f5f7a4b44aa633e7553d2a88e on google:master.

Thank you!


Bug in web dev compiler

I just inserted a new dependency: flutter_map (a leaflet plugin using mapbox), and a minimal example of a map in my project (which was compiling correctly for chrome before). And I got an error when compiling for chrome:
 Error compiling dartdevc module:flutter_app|lib/screen/chat_screen.ddc.js

           We're sorry, you've found a bug in our compiler.
           You can report this bug at:
               https://github.com/dart-lang/sdk/issues/labels/web-dev-compiler
           Please include the information below in your report, along with
           any other information that may help us track it down. Thanks!

               dartdevc -k arguments: --dart-sdk-summary=/Data/Applis/Linux/FlutterSDK/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
--modules=amd
               --no-summarize -o packages/flutter_app/screen/chat_screen.ddc.js --source-map --summary=packages/meta/meta.ddc.dill=packages/meta/meta
               --summary=packages/typed_data/typed_buffers.ddc.dill=packages/typed_data/typed_buffers
               --summary=packages/flutter/src/foundation/_bitfield_web.ddc.dill=packages/flutter/src/foundation/_bitfield_web
               --summary=packages/flutter/foundation.ddc.dill=packages/flutter/foundation
--summary=packages/vector_math/hash.ddc.dill=packages/vector_math/hash
               --summary=packages/vector_math/vector_math_64.ddc.dill=packages/vector_math/vector_math_64
               --summary=packages/flutter/src/physics/clamped_simulation.ddc.dill=packages/flutter/src/physics/clamped_simulation
               --summary=packages/flutter/physics.ddc.dill=packages/flutter/physics
--summary=packages/collection/src/utils.ddc.dill=packages/collection/src/utils
               --summary=packages/collection/src/algorithms.ddc.dill=packages/collection/src/algorithms
               --summary=packages/collection/src/iterable_zip.ddc.dill=packages/collection/src/iterable_zip
               --summary=packages/collection/src/comparators.ddc.dill=packages/collection/src/comparators
               --summary=packages/collection/src/priority_queue.ddc.dill=packages/collection/src/priority_queue
               --summary=packages/collection/src/canonicalized_map.ddc.dill=packages/collection/src/canonicalized_map
               --summary=packages/collection/collection.ddc.dill=packages/collection/collection
               --summary=packages/flutter/src/gestures/arena.ddc.dill=packages/flutter/src/gestures/arena
               --summary=packages/flutter/gestures.ddc.dill=packages/flutter/gestures
               --summary=packages/flutter/src/painting/_network_image_web.ddc.dill=packages/flutter/src/painting/_network_image_web
               --summary=packages/flutter/painting.ddc.dill=packages/flutter/painting
               --summary=packages/flutter/src/semantics/binding.ddc.dill=packages/flutter/src/semantics/binding
               --summary=packages/flutter/semantics.ddc.dill=packages/flutter/semantics
               --summary=packages/flutter/src/animation/animation.ddc.dill=packages/flutter/src/animation/animation
               --summary=packages/flutter/animation.ddc.dill=packages/flutter/animation
               --summary=packages/flutter/src/rendering/animated_size.ddc.dill=packages/flutter/src/rendering/animated_size
               --summary=packages/flutter/rendering.ddc.dill=packages/flutter/rendering
               --summary=packages/flutter/src/widgets/actions.ddc.dill=packages/flutter/src/widgets/actions
               --summary=packages/flutter/widgets.ddc.dill=packages/flutter/widgets
               --summary=packages/flutter/src/cupertino/action_sheet.ddc.dill=packages/flutter/src/cupertino/action_sheet
               --summary=packages/flutter/cupertino.ddc.dill=packages/flutter/cupertino
--summary=packages/flutter/material.ddc.dill=packages/flutter/material
               --packages=file:///tmp/kernel_builder_OAOWMC/.packages --module-name=packages/flutter_app/screen/chat_screen
--multi-root-scheme=org-dartlang-app
               --multi-root=. --track-widget-creation --inline-source-map
               --libraries-file=file:///Data/Applis/Linux/FlutterSDK/flutter/bin/cache/flutter_web_sdk/libraries.json
               --used-inputs-file=/tmp/ddk_builder_KVESAJ/used_inputs.txt package:flutter_app/screen/chat_screen.dart
               dart --version: 2.6.0-dev.8.2.flutter-1bd6e20d76 (Thu Oct 24 13:00:50 2019 +0000) on "linux_x64"

           Bad state: Empty input given.
           #0      BinaryBuilder._checkEmptyInput (package:kernel/binary/ast_from_binary.dart:458:29)
           #1      BinaryBuilder.readComponent.<anonymous closure> (package:kernel/binary/ast_from_binary.dart:475:7)
           #2      Timeline.timeSync (dart:developer/timeline.dart:161:22)
           #3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:473:21)
           #4      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:410:10)
           #5      initializeIncrementalCompiler (package:front_end/src/api_unstable/modular_incremental_compilation.dart:207:29)
           <asynchronous suspension>
           #6      initializeIncrementalCompiler (package:front_end/src/api_unstable/ddc.dart:153:10)
           <asynchronous suspension>
           #7      _compile (package:dev_compiler/src/kernel/command.dart:277:27)
           <asynchronous suspension>
           #8      compile (package:dev_compiler/src/kernel/command.dart:42:18)
           <asynchronous suspension>
           #9      compile (package:dev_compiler/src/compiler/shared_command.dart:394:12)
           #10     _CompilerWorker.performRequest.<anonymous closure>
(file:///b/s/w/ir/cache/builder/src/third_party/dart/pkg/dev_compiler/bin/dartdevc.dart:64:13)
           #11     _rootRun (dart:async/zone.dart:1124:13)
           #12     _CustomZone.run (dart:async/zone.dart:1021:19)
           #13     _runZoned (dart:async/zone.dart:1516:10)
           #14     runZoned (dart:async/zone.dart:1463:12)
           #15     _CompilerWorker.performRequest (file:///b/s/w/ir/cache/builder/src/third_party/dart/pkg/dev_compiler/bin/dartdevc.dart:62:24)
           <asynchronous suspension>
           #16     AsyncWorkerLoop.run.<anonymous closure> (package:bazel_worker/src/worker/async_worker_loop.dart:33:41)
           #17     _rootRun (dart:async/zone.dart:1124:13)
           #18     _CustomZone.run (dart:async/zone.dart:1021:19)
           #19     _runZoned (dart:async/zone.dart:1516:10)
           #20     runZoned (dart:async/zone.dart:1463:12)
           #21     AsyncWorkerLoop.run (package:bazel_worker/src/worker/async_worker_loop.dart:33:26)
           <asynchronous suspension>
           #22     main (file:///b/s/w/ir/cache/builder/src/third_party/dart/pkg/dev_compiler/bin/dartdevc.dart:28:57)
           <asynchronous suspension>
           #23     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:301:32)
           #24     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

I use dart version: Dart VM version: 2.6.0-dev.8.2.flutter-1bd6e20d76 (Thu Oct 24 13:00:50 2019 +0000) on "linux_x64"
I am on Linux
Compiling for Chrome

Thanks for reporting the issue. There appears to be a transient bug, so you may find that the issue disappears after trying again. We are still investigating and will be making changes to reduce the changes of this happening.
Merging as duplicate of #38102


OKD4.4 - Install fails on OpenStack with self-signed certs

I need to install okd4.4-beta4 on openstack (VIO 5.1 vmware integrated openstack). However, when I try to install okd4.4 on openstack by IPI, I see the below error.
FATAL failed to fetch Install Config: failed to fetch dependency of "Install Config": failed to fetch dependency of "Base Domain": failed to generate asset "Platform": Post https://x.x.x.x:5000/v3/auth/tokens: x509: certificate signed by unknown authority
I use this link and do step by step.
https://docs.openshift.com/container-platform/4.4/installing/installing_openstack/installing-openstack-user.html

Can confirm duplication on daily 4.5.0-0.okd-2020-05-21-094504. I will go get logs.

log-bundle-20200621200614.tar.gz

@ashaver I don't think you're hitting the same issue: CVO object has desired version 4.5.0-0.okd-2020-06-21-094504, but CVO logs on master <IP_ADDRESS> has Desired version from operator is v1.Update{Version:"4.4.0-0.okd-2020-05-23-055148-beta5".
Seem you've joined the master which is already running 4.4-beta5 and didn't get provisioned again?

Absolutely correct. My teardown script was not resetting the disk on the VM.

Excuse me. I've not got your answers.
martin andre in below link said: "The team considers this bug as valid. "
https://bugzilla.redhat.com/show_bug.cgi?id=1786314

Hi, so to confirm.   In my case, I'm deploying OCP from my TripleO Director node and it does indeed trust that CA.
If it is in your clouds.yaml file, are you also able to add it to your systems trusts like so:
cp ca.crt /etc/pki/ca-trust/source/anchors
sudo update-ca-trust extract

(I'm assuming you have the ca.crt file somewhere and are able to copy it)
Do you still get the same error after doing that?

Closing due to lack of response. Please provide necessary info and reopen if necessary


RandomBatchEwald

Please briefly describe  what is the main revision when requesting a code review, thanks.

Well done! A few more things to do:

add energy function and compare with the reference results by EwaldSummations.jl
add exact method for force and compare with the reference results by EwaldSummations.jl


Release 2.6 CD is a bad master

Hey,
I wonder whether you could re-master the current CD version.
The mastering tool used put in some nonsense into the sector headers, which won't work on a real machine.
The reason it works when burned to CD is that the CD software (or the drive itself) is correcting all the errors :p
Maybe it was just wrong settings used, maybe the mastering software is just bad.
A good modern alternative is https://github.com/Lameguy64/mkpsxiso , cheers! :)

@ramapcsx2
Are you aware of any alternatives to this homebrew? I'm trying to dump my original PS1 BIOS with this software using an Xstation and Memcard Pro, but can't get the program to launch, just hangs on a black screen. Like you said, looks like a bad CD image that's not working on real hardware.

"A good modern alternative is https://github.com/Lameguy64/mkpsxiso , cheers! :)"
^^

Thanks for the heads-up @ramapcsx2. I don't even remember what software I used to master the image.
I think it was either "PsOne ISO Maker PRO" or even older "PSX ISO Maker" :)
@CWCprime Can you try running the new image?

@ShendoXT Just tried it. Works great now, thanks!

Awesome. Thanks for the feedback guys.

Thanks for the update, too :)


[Bug] tests are not implemented

What did I do
Run tests.
What happened
No tests were run.
Expected
Run tests or remove the dependencies.
Environment

OS: kali rolling
node: 16

FYI: https://github.com/emqx/MQTTX/pull/1434#pullrequestreview-1645517381

tests works now.


[docs] request for documentation: auction

Please describe the algorithm of how to create an auction using the seaport protocol
as a user, I want to be able to create a store to sell items at auction
I want to be able to set the start and end time of the auction in the future
I want to be able to set a buyout price that ends the auction immediately
How to create an order with date ranges?
How to create an order which will not be filled after the first bet and will accept another bet with a bigger amount
How to set buyout price which will end auction right after fulfillment
How to call seaport from the server when action timed up but the buyout price was not reached

Would just like to ask here as well to request for documentation on setting Royalty fees

Hey! We will definitely be updating our documentation for specific functionality in the coming weeks. Right now we're just heavily focused on audits and ensuring no vulnerabilities.

How many weeks yet?

Looking forward updated documentation. Thanks @Slokh

Is it time for updated documentation yet? Thanks @Slokh

I guess at this point it is absolutely obvious that the OpenSea team will not provide us with any documentation because of a simple reason - they are going to earn money themself. This means if you are smart enough to understand how it works - use it, otherwise go back to web2.0. Basically, we had the same with the wyvern protocol.

@Slokh Hey bro, can I participate in writing code. I have to gain some exp. please reply, I am waiting for your reply


[Storage] add new stroage account kind "FileStorage" and "BlockBlobStorage" and new feature fileaadIntegration

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
Rest Spec: https://microsoft.sharepoint.com/teams/AzureStorage/_layouts/15/Doc.aspx?sourcedoc={00d45481-7f25-4170-a95e-82dbc6a3041d}&action=default&slrid=0d385f9e-a0fa-0000-758b-e5dde88dbd09
Pass review on private repo:
New Kind:  https://github.com/Azure/azure-rest-api-specs-pr/pull/538
FileAAdIntegration: https://github.com/Azure/azure-rest-api-specs-pr/pull/508
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Can one of the admins verify this patch?

Automation for azure-sdk-for-ruby

Hi @blueww
What is the status of 2018-03-01-preview? I see that management policies methods are not here in this PR. Does it mean it's missing here (and PR needs to be updated), or that management policies should be still called from 2018-03-01-preview? If the later is the truth, this means there is some Readme configuration to do to mix-up 2018-03-01-preview/2018-07-01 for SDK release.

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java

Automation for azure-sdk-for-node

@lmazuel
Management policies is not supported on 2018-07-01, it's only on 2018-03-01-preview now, so there will be a breaking change.
I have discussed with Management policies feature PM and SRP team, and get agreement not support Management policies  on 2018-07-01 and the SRP SDK based on it.
We will add back Management policies to a stable api version when the feature GA in the future.

@lmazuel
I have added the Management policy feature back. And remove Global Usage list since not supported in new api version (as location usage added).
Please help to review.

@lmazuel
I have fixed the management policy swagger  location. And for Usage -> Usages, it's required by OneSDK team since "Using non-plural name for operation group is against SDK guideline ", I think we should keep using "Usages".
I also added new Sku "Premium_ZRS" per feature team requirement.
Since the release is target Ignite, and we need to raise and review SDK PR after the swagger PR is in, would you please help to review and merge the PR asap if no other issues.
Thanks very much!

@blueww  Hi Wei, just a quick question I see this AAD support coming to AzureFiles, is this the same as what was just released at ignite as that  also required the use of Azure Active Directory Domain Services which is a real pain compared to say the new AAD for object storage which doesn't
Please let me know your thoughts
Hass

@hassanbabaie
You can find more details for the feature in https://azure.microsoft.com/en-us/blog/azure-active-directory-integration-for-smb-access-now-in-public-preview/
If you have any question or suggestions for this feature, you can contact<EMAIL_ADDRESS>


not supported windows server 2022

good day. Please help, rdpwrapper stopped working. I attach files
Files.zip

Duplicate of #3199


What is learning rate and how does it affect the final image?

Hey - interested in digging into the parameters a bit more and am a little lost with learning rate and what effect it might have on the style transfer.  Any push in the right direction would help!

Learning rate affects how much the image is changed in each iteration, when the optimization algorithm is trying to find minimum loss. If the learning rate is small, more iterations are likely to be needed. If the learning rate is too large, too big changes are made and the search for optimum might not behave correctly.
Therefore, the effect of learning rate on the final image is indirect. Neural-style is looking for an optimum and learning rate affects how the search is being made. Furthermore, from the code it looks like that of the two optimization algorithms, only adam uses the learning rate parameter, so there is no point in experimenting with learning rate with l-bfgs.


Sound warning

Reference Issues/PRs
#49
What does this implement/fix? Explain your changes.
After this PR we will raise a warning after each failing trial for using playsound.

@sepandhaghighi Is there any way we can add tests for this new feature?

Codecov Report

Merging #71 (d74297e) into dev (7308f7f) will decrease coverage by 2.27%.
The diff coverage is 44.45%.

@@            Coverage Diff             @@
##              dev      #71      +/-   ##
==========================================
- Coverage   96.47%   94.21%   -2.26%
==========================================
  Files           2        2
  Lines         198      207       +9
  Branches       22       22
==========================================
+ Hits          191      195       +4
- Misses          4        9       +5
  Partials        3        3

Impacted Files
Coverage Δ

nafas/functions.py
92.36% <37.50%> (-2.94%)
:arrow_down:

nafas/params.py
100.00% <100.00%> (ø)

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

@sepandhaghighi Can you take a look at it again?


Add to the Kazakhstan collection

Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md.

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Content (and my changes are in index.md)

Added a new repository to the Kazakhstan collection.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

👋  Hi, @snxx-lppxx! It looks like one of the checkboxes from the PR template has been removed from your description.

[ ] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Unfortunately, as per our contribution guidelines, we don't allow self promotion if you are a maintainer of the project. We do this so that project get curated if there is enough support/activity in the community. Thank you!


Kerning in italic quotations marks.

The following typst markup creates an italics right double quotation mark which appears too close to the following capital W.
_"instead."_ With \
"instead." With \
"_instead._" With

This renders like so.

This appears to be kerning specifically with italics right double quotes transitioning to a non-italics letter.

To possibly generalize the issue: (_stuff_) _stuff_!

Maybe you'll want to consider an option for enabling automated italic correction when shifting between italics and non-italics...

Maybe you'll want to consider an option for enabling automated italic correction when shifting between italics and non-italics...

We've considered that but I am not aware of any metrics being available in OpenType for this. I might be missing something.

We've considered that but I am not aware of any metrics being available in OpenType for this. I might be missing something.

While TeX with Metafont had such a concept, there's indeed no provision for it, as far as I know, in OpenType or other technologies such as Graphite, etc. These formats do not cover "kerning" across font style changes.
What modern TeX engines do for OpenType fonts is to "fake" it, by heuristically computing a correction based on character metrics. That's at least the case for LuaTeX when (pseudo-)feature +itlc is enabled.[^1]
For the record, a similar approach is considered for inclusion in SILE 0.15, though behind a configuration setting rather than a pseudo font-feature, and possibly with a slightly different algorithm.[^2]
By the very nature of it, however, it cannot be anything but a heuristic approach (detecting roman to italics and italic to roman changes, and computing an assumed correction pre- or post- offset based on the characters' metrics). It cannot be perfect in the general case, therefore, but for a "reasonable" choice of "usual" fonts, it may provide a very decent typographic output -- avoiding the need for users to insert small kerns manually here and there.
[^1]: https://ctan.math.utah.edu/ctan/tex-archive/macros/luatex/generic/luaotfload/luaotfload-latex.pdf section 6.2 p. 21.
[^2]: https://github.com/sile-typesetter/sile/pull/1792 -- Disclosure: I authored that PR. I'm only offering this information here for context and I don't have any stake in the decision on this issue regarding what Typst should do or not, and how.


By default disable auto delete

Hi,
I was implement skilltree in my organization before and everything look fine, lot of record'd put into database. Afterward there is some reason we temporary we hold the implementation until recently we want to resume back. Then we notice that all the record been deleted automatically.
I know there is email warning, and I know we shall backup the database however at try run period we no configure everything well, and all records from all employee been deleted.
To avoid another victim i suggest that add option to 'on/off' the auto delete, and off it by default to prevent unwanted deletion.
Thanks,

Hi @kstan79, thank you so much for requesting this feature. In the meantime, you can facilitate the on/off behaviour by setting skills.config.expireUnusedProjectsOlderThan (default is 180 days) installation property to a very large value. We also added a ticket to document these installation properties in the Properties Catalog section.


Welcome Contributors

Hello, Everyone ✨🙌
Thanks for showing your interest in being a part of this ever-growing community 💥
We are super delighted to have you on board for your Contributions on NeoAlgo 🙌
Project Maintainers:

Name 📛
Social Media #⃣
Github 🐱💻

Aanisha Bhattacharyyai
LinkedIn
Github

Abhinav Anand
LinkedIn
Github

AnushKrishnav
Website
Github

Harsh Bardhan Mishra
Website
Github

Rajiv Ranjan Singh
LinkedIn
Github

Ricardo Prins
Website
Github

Syed Farhan Ahmad
LinkedIn
Github

Vijaya Gajanan Buddha
LinkedIn
Github

Events :
Here are some 12 Rules, you should be following while working on an Open-Source to have a great experience during the whole process:

Be Nice, Be Respectful (BNBR)
Check if the Issue you created, exists or not.
Make proper commit messages and document your PR well.
Always add Comments in your Code and explain it at points if possible add Doctest.
Dynamic Input is always preferred over static Driver Code.
Squash your commits before you push them.
Always create a Pull Request from a Branch; Never from the Master.
Follow proper Code conventions. Using I, j in Loops shows a poor understanding of Code Quality. Use proper Variable, Function Names.
Issues would be served on a "First Come, First Serve" basis.
Issues would be tagged as Easy, Medium, Hard. Scores would be assigned to the difficulty of the Issue you solve.
Code would be reviewed by Maintainers before they are merged. Every PR requires 3 Reviews.
No person can take up more than 2 Issues at a single point of time.

Regards,
Team TesseractCoding 🤗

Hey, I would like to contribute can you suggest me way to get started?


String literal types from typeof is reduced to string when passing through a generic function that "boxes" the type

TypeScript Version:  2.7.2

Search Terms: string literal, typeof, generic, structuring, boxing
Code
type StringLiteral = 'A' | 'B';
const map = (genders: StringLiteral[]): { gender: StringLiteral }[] =>
    genders.map(gender => ({ gender }));
// OK

const CONST_A = 'A';
const CONST_B = 'B';
type StringLiteralFromTypeof = typeof CONST_A | typeof CONST_B;

// StringLiteral and StringLiteralFromTypeof have the same type, when you hover them.

const map_typeof_no_generics_struct = (gender: StringLiteralFromTypeof): { gender: StringLiteralFromTypeof } =>
    ({ gender });
// OK if we struct (or "box") but don't pass through a generic function

const map_typeof_map_struct = (genders: StringLiteralFromTypeof[]): { gender: StringLiteralFromTypeof }[] =>
    genders.map(gender => ({ gender }));
// Error: inferred type is { gender: string }[]

const map_typeof_map_nonstruct = (genders: StringLiteralFromTypeof[]): StringLiteralFromTypeof[] =>
    genders.map(gender => gender);
// OK: if not structured into object or array, the type is inferred correctly

const identity = <T>(v: T) => v;
const map_typeof_any_generic = (gender: StringLiteralFromTypeof): { gender: StringLiteralFromTypeof } =>
    identity({ gender });
// Error: inferred type is { gender: string }[]

const map_typeof_any_generic_nonstruct = (gender: StringLiteralFromTypeof): StringLiteralFromTypeof =>
    identity(gender);
// OK: if not structured into object or array, the type is inferred correctly

Expected behavior:
A string literal type that was constructed from typeof someVar | ... should behave the same as a string literal type defined from string values 'val' | ....
Actual behavior:
When both passing through a generic function, AND structuring or "boxing" the type into an object or array, then the type is reduced to string.
Playground Link: link to see inferred types
Related Issues:
unknown

StringLiteral and StringLiteralFromTypeof are not identical, even though they have the same display text. See #22211


Multiple Traffic Managers

How to add more than one traffic manager to a vehicle?

https://carla.readthedocs.io/en/latest/adv_traffic_manager/#running-multiple-traffic-managers


NUMBER:JACK - Improper generation of Initial Sequence Number in TCP stack

On February 10, 2021 Forescout Research Labs published another vulnerability report that affects multiple TCP/IP stacks.
uIP TCP/IP stack is among them, with the following description:
ISN generator is initialized with a constant value and has constant increments.

In fact, the description seems fit to NuttX TCP/IP stack. In https://github.com/apache/incubator-nuttx/blob/master/net/tcp/tcp_seqno.c, g_tcpsequence is initialized with 0, and each call to tcp_nextsequence() just increments the variable.
Link to the report:
https://www.forescout.com/company/blog/numberjack-forescout-research-labs-finds-nine-isn-generation-vulnerabilities-affecting-tcpip-stacks

Please in the future report security issues inline with our reporting policy so we can evaluate it responsibility.
https://www.github.com/apache/incubator-nuttx/tree/master/.github%2FSECURITY.md


Dependency caching blog

Proposed changes

Blog post for dependency caching
Unreleased product version (optional)

Related issues (optional)

the blog post is also missing links. At the minimum, we should link to

Pulumi Deployments Docs
Pulumi Cloud webpage

If we are requesting for feedback at the end, I'd link the cloud requests repo link as well.


[Bug Report]: missing Infinity Metal Gear recipe

Is there an existing issue for this?

[x] I did not find any existing issues.

Current Behavior
title
Expected Behavior
Infinity Metal Gear recipe to appear?
How to Test
well, use the mod ig?
Local Environment
- **Operating System**: windows
- **Java version**: 21
- **Minecraft Version**: 1.21.1
- **Version**: latest
- **Other Mods**: too many

Any Additional Information?
a

neoforge 1.21.1 btw

Looks like there's something wrong with your modpack setup or another mod in the pack - the recipe appears as expected when running Ender IO on its own

strange, ill investigate more ig, thank you


Reorganize tests

Move fixtures closer to tests so it would be easier to go back and forth
between them and tests

@SevInf currently failing with
rm: cannot remove 'packages/vscode/language-server/test': No such file or directory

https://github.com/prisma/language-tools/actions/runs/9116048506/job/25092399489?pr=1733#step:8:12

closing in favour of https://github.com/prisma/language-tools/pull/1749


fix(kselect): kselect reskin [KHCP-8998]

Summary
Jira
Figma
KSelect component reskin.
Links:

Kongponents sandbox
Kongponents docs preview

PR Checklist

[ ] Conventional Commits all commits follow the conventional commit standards outlined in the main README.
[ ] Tests coverage: test coverage was added for new features and bug fixes
[ ] Docs: includes a technically accurate README

@Leopoldthecoder or @sumimakito it looks like the autosuggest prop is being removed in this PR.
Wasn't it added for Kong Manager specifically?

Small correction: the async items fetching functionality - which in my understanding is what we needed the autosuggest prop for is still supported with enableFiltering and @query-change event: https://deploy-preview-1832--kongponents.netlify.app/components/select.html#loading

I tested the preview package with the public-ui-components repo. It worked normally with Kong Manager's Admin API filtering mechanism. IMO, it should be okay to remove this prop as long as we update our usages accordingly in the public-ui-components repo.
As @portikM pointed out, the filtering is implemented on the host side (public-ui-components in this case), and it appears that autosuggest was only introduced as a hint that actually controls the underlying filter things (e.g., filterIsEnabled previously).
One more minor thing: I noticed the behavior of filteredItems will be inverted after these changes: Previously, when autosuggest was present, we would not call the filter function, while now we will call a default filter function if we enable-filtering but not providing a filter-function.
const filteredItems = computed(() => {
  return props.enableFiltering ? props.filterFunction({ query: filterQuery.value, items: selectItems.value }) : selectItems.value
})

https://github.com/Kong/kongponents/pull/1832/files#diff-68c30a7348bc67fac2678056261caf1e95de49eac77fe252f3efa4c7fe2eecf9R428-R430
Would it be better if we bypass the props.filterFunction call when it is null or non-function?

I tested the preview package with the public-ui-components repo. It worked normally with Kong Manager's Admin API filtering mechanism. IMO, it should be okay to remove this prop as long as we update our usages accordingly in the public-ui-components repo.
As @portikM pointed out, the filtering is implemented on the host side (public-ui-components in this case), and it appears that autosuggest was only introduced as a hint that actually controls the underlying filter things (e.g., filterIsEnabled previously).
One more minor thing: I noticed the behavior of filteredItems will be inverted after these changes: Previously, when autosuggest was present, we would not call the filter function, while now we will call a default filter function if we enable-filtering but not providing a filter-function.
const filteredItems = computed(() => {
  return props.enableFiltering ? props.filterFunction({ query: filterQuery.value, items: selectItems.value }) : selectItems.value
})

https://github.com/Kong/kongponents/pull/1832/files#diff-68c30a7348bc67fac2678056261caf1e95de49eac77fe252f3efa4c7fe2eecf9R428-R430
Would it be better if we bypass the props.filterFunction call when it is null or non-function?

Good call, thanks for testing this Makito! I added an option to bypass default filter function by passing a function that returns true through filterFunction prop: https://github.com/Kong/kongponents/pull/1832/commits/fe76192430bb235be9afaef9153ee52f64890d0e.

A couple issues showing up on the sandbox:

The KSelect (and the sandbox container) extends beyond the right side of the page
The KSelect dropdown is wider than the input element

on the enableItemCreation example, there is a bunch of extra space in the dropdown below the added item

In the sandbox, there's raw code - something isn't right

Most of the functionality is good, but I noticed some things that don't appear right or are confusing.
Item creation appears to be broken, nothing happens when I hit enter - you will need to hook up to the emitted events and add the item into the list in order to verify the actual use case works as expected (and show devs how they are expected to use it).

Too much bottom padding on empty state/item create?

Disabled state should have disabled cursor, not pointer:

Sandbox issue - same KSelectItem instance being used in 2 different KSelect's, clicking one triggers a click on the other

Two items selected? Possibly caused by reusing the KSelectItem?

To actually test the functionality, this KSelect needs filtering enabled (input event should fire when you type):

I'm not sure this is the best example, I sort of expect results for this query. Maybe make the other searchable field be a string instead of an array, or adjust your function to check if each item of the array includes the substring rather than just if the array includes it. I also recommend updating the item template to show the other field being searched so it's less visually confusing what's happening.

I understand we want to keep things simple but these examples feel broken since you can't see/use the non-loading/non-empty state. I'd kind of like to see something even as simple as a toggle or button to switch between normal state and whatever slot you're trying to show to ensure default functionality is working as expected with the slot.

It would be really helpful if we can link to or display what we expect item to look like here

Thanks for catching bugs here! Fixed a few bugs outlined here and added some improvements in documentation like specifying interfaces and better examples.

issue: I can tab to the "clearable" button, but I can't press any key to actually clear the select

bug: Item creation has a bug when hitting enter - my typed text is cleared. We should do nothing instead.

bug: still seeing this

Two items selected? Possibly caused by reusing the KSelectItem?

request: Please can we do this?

I'm not sure this is the best example, I sort of expect results for this query. Maybe make the other searchable field be a string instead of an array, or adjust your function to check if each item of the array includes the substring rather than just if the array includes it. I also recommend updating the item template to show the other field being searched so it's less visually confusing what's happening.

suggestion: I still think this is a problem. We have basically provided non-usable examples (ex. a user is never going to have a scenario where you want loading state to always be visible). We could easily improve these examples by having a toggle for loading and whether or not items is an empty array.

I understand we want to keep things simple but these examples feel broken since you can't see/use the non-loading/non-empty state. I'd kind of like to see something even as simple as a toggle or button to switch between normal state and whatever slot you're trying to show to ensure default functionality is working as expected with the slot.

request: Please can we do this? You can just link to here since the first thing under that prop is the interface for SelectItem.

It would be really helpful if we can link to or display what we expect item to look like here

 In the sandbox, there's raw code - something isn't right

It's an example