Update dependencies

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@jack-pappas I've added myself to the recipe maintainers, but let me know if you prefer otherwise.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

ℹ noarch: python recipes should usually follow the syntax in our documentation for specifying the Python version.

For the host section of the recipe, you should usually use python {{ python_min }} for the python entry.
For the run section of the recipe, you should usually use python >={{ python_min }} for the python entry.
For the test.requires section of the recipe, you should usually use python {{ python_min }} for the python entry.
If the package requires a newer Python version than the currently supported minimum version on conda-forge, you can override the python_min variable by adding a Jinja2 set statement at the top of your recipe (or using an equivalent context variable for v1 recipes).

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12475358598. Examine the logs at this URL for more detail.

@jack-pappas bumping this

LGTM, thanks!


feat: add vitesse black theme

Hi @illixion , I want to know if there is a way to preview the effect so that I can make some adjustments.

I've just pushed v1.1.23 which includes a new "Custom theme" option to enable local previewing of themes. Simply change the Vibrancy theme to "Custom theme (use imports)" and load your CSS file using the vscode_vibrancy.imports setting, or refer to this guide for more info: https://github.com/illixion/vscode-vibrancy-continued/blob/master/themes/README.md.
Let me know if you encounter any issues and when I can merge your PR.

grateful! I will adjust this theme as soon as possible.

grateful! I will adjust this theme as soon as possible.

Closing this PR due to inactivity, please re-open once your theme is adjusted and ready to be merged


Vault & faucet tx in progress

Vault & faucet do not show 'transaction is in progress' status and allow withdraw/deposit while previous transaction is not finished.

checked


Plugin Open API: Wrong Open API spec generated for meta response data key

Description and expected behavior
The plugin should generate the proper spec for meta response data key.
Currently, I'm using npx openapi-typescript prisma/schema.json -o prisma/schema.d.ts to auto generate typings from Open API spec which will be later used to create API client using openapi-fetch. The problem is that "meta" key in response data has a wrong spec to begin with, hence the generated type is also wrong.
The expected type is:
ResponseData = {
  ...,
  meta?: {...}
}

and not
ResponseData = {
  ...,
  meta?: {
    meta?: {}
  }
}

Screenshots
(schema.zmodel)

(_Meta section of schema.json)

(_Meta section of schema.d.ts)

(response from api call)

Environment (please complete the following information):

ZenStack version: 2.2.4
Prisma version: 5.13.0
Database type: MySQL 8

Additional context
None

Fixed in 2.5.0


Cant install Pufferpanel Claims Git not installed

Unable to install pufferpanel on centos6
it claims Git is not installed even though it is.

Please use the forum for assistance with using the software: https://community.pufferpanel.com/

There is nothing in the forums about git
I cant get to even the installer it claims that git is not on the machine. but as you can see in the screenshot the machine does have git as you can tell from the git --version command

You need to install git into your server's PATH, not just using the binary from the source you built. To your system, git is not installed (and really, it's not if you are just using binaries you downloaded from the internet without installing them correctly).
Use your package manager to install git. You don't need to download the binaries from git or build it from source.

And you make a thread on the forum for help.


Add a FAQ to the readme

Things like how to do syntax highlighting and anchoring headers comes up a lot. Should probably add some links to solutions for those kind of problems to the readme.

Yes, same questions here! Any where to find the solution for them?

@rexxars, advice on anchoring headers would be super rad.  If you give me the details I can add it to the README and get a PR ready.  Just let me know! 😃

There are now many more examples in the readme


[feat] compatible with TF1.15.2

Description
Brief Description of the PR:

compatible with TF1.15.2
add CI docker files
Add TF1152 to workflow
change bazel version to 3.1.0
remove TF from requirement.txt and make it setup by code
Update README.md
change GPU compute Capability to 60/70/75/80

Type of change

[ ] Bug fix
[ ] New Tutorial
[ ] Updated or additional documentation
[ ] Additional Testing
[x] New Feature

Checklist:

[x] I've properly formatted my code according to the guidelines

[x] By running Yapf and clang-format
[ ] By running pre-commit hooks

[ ] This PR addresses an already submitted issue for TensorFlow Recommenders Addons
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] This PR contains modifications to C++ custom-ops

How Has This Been Tested?
If you're adding a bugfix or new feature please describe the tests that you ran to verify your changes:

Add TFRA with TF1152-CPU to CI workflow
Test TFRA with TF1152-GPU manually on Nvidia T4, V100 and P40

Please also decorate the names here and here

Please also decorate the names here and here

No need for them, the decorate macro is created for history reason, we had to compatible with TF1.x naming rule which doesn't support the "XYZ>AbcEfg" rule, but we cann't change the name directly for some user already use TFRA release 1 in product environment, and change name to "TfraXyz" may cause compatible problem. For new OPs, we would not use ">" at first.


🐛 Biome crashes in latest version of Docker Desktop

Environment information
`biome rage` can't run due to the bug, but it is latest Biome as of writing, and it is latest version of Docker Desktop on a Mac M1, running inside an `ubuntu:latest` Docker image.

What happened?

The issue only happens on Macs with an ARM CPU such as M1, M3 etc. It only happened after the latest Docker update.
Expected result
I expected Biome to work in ARM as well.
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

We're going to need a way to reproduce this.
Please provide a minimal Dockerfile that reproduces this issue.

We can close this. Found out I installed the x64 release directly inside the container. Doh.


Finishing civetconfig

[x] VSCode extension uses default civetconfig
[x] CLI uses default civetconfig
[x] unplugin should support default civetconfig, along with config override
[ ] eslint plugin should probably do the same
[ ] Babel plugin should probably do the same
[ ] Gulp plugin should probably do the same
[ ] What about ESM and Bun plugins?
[x] Document in https://civet.dev/config

There are also the proposed potential config files, as @STRd6 mentioned here.

Allow for parsing different config file extensions based on what modules exist in the local user project

Plus I threw together a quick PR to allow civetConfig in package.json also in #1300.


Travis should perform builds without zmap config files

It looks like PR #428 totally broke gateway detection. The only way it worked (in tests and via travis) was the presence of a zmap global config. It seems wise to consider changes to Travis to avoid this kind of failure in the future.

So this doesn't actually matter in Travis, since we don't run ZMap, we just build it. The real issue here is we don't have automated regression testing of functionality.


initial version of ipc extension

This is meant to provide the core constants for defining
common IPC metrics used across Netflix services.

There are potentially three places we can try this out within spectator:

Update the AWS metrics extension to report common IPC metrics.
The simple client helper / logging util in the sandbox
Adding an extension that provides a ServletFilter

Based on discussion with @kerumai , I'm going to go ahead and merge so we can get a snapshot to start experimenting with.


implemented pkce, axios post issue resolved

state was not required in token request, causing axios to fail. resolved now.

There is a pkce npm package. Looking into it. Working on the rest of the changes as well.

Hi @mooreds made the changes, please have a look.


Update test-file-04.md

@v-caxian : Thanks for your contribution to the Azure documentation! The author, @TinaLiuGirl, has been notified to review your proposed change.

#sign-off

@v-caxian: Only the author, @TinaLiuGirl, can sign off on this pull request.

@v-caxian : Thanks for your contribution to the Azure documentation! The author, @TinaLiuGirl, has been notified to review your proposed change.

#hold-off

#please-close

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

csidevdocs-public/Articles/test-file-04.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off

#hold-off


Add a h-100 class to fix the height screen 100% issue

This Pull Request fixes issue https://github.com/ResultadosDigitais/matrix/issues/89

@dvinciguerra code seems ok. :+1:

@all-contributors please add @lccezinha  for code


Guide Remediation Vuln Filtering not working (--vulns=OSV-ID)

Hi folks, I ran into an issue when trying to patch a specific vulnerability via vulns filter yielded nothing. Reference: https://google.github.io/osv-scanner/experimental/guided-remediation/#vulnerability-selection
Steps to reproduce

Scan npm dependencies with osv-scanner -r ., verify that vulnerability exists (e.g https://osv.dev/vulnerability/GHSA-xf7w-r453-m56c) in console output.
Patch with osv-scanner fix --non-interactive --strategy=relock -M package.json -L package-lock.json --data-source native --vulns=GHSA-xf7w-r453-m56c (trying with alias such as CVE-2019-13173 also failed).
Console output:

Found 0 vulnerabilities matching the filter
No dependency patches are possible
REMAINING-VULNS: 0
UNFIXABLE-VULNS: 0

Is OSV Id different then one of the value above? Unrelated to the issue, but it would be nice to be able to filter on the alias (CVE Id) as well, as they're more popular.

I think this might be caused by an oversight on my end.
I'm guessing completely relocking the project resolves the vulnerability without the need to change your direct requirements, and it doesn't actually check for the vulnerabilities in the lockfile before so it thinks there are no vulnerabilities.
Could you please verify by manually relocking the project yourself, by either:

deleting package-lock.json and node_modules/ then running npm install
or launching guided remediation in interactive mode and choosing Re-lock project -> Write changes to manifest.

Then could you run the osv-scanner scan to check if the vulnerability is removed.
Thanks for trying guided remediation and uncovering these issues, it's really appreciated!

Unrelated to the issue, but it would be nice to be able to filter on the alias (CVE Id) as well, as they're more popular.

Thanks @michaelkedar for taking a look! To add more context, the project has package.json and package-lock.json. Running fix command did not modify package.json, so re-locking with npm install yielded no changes. I would expect the outcome would be modifying both package files accordingly, otherwise it could confuse devs if those files are not in sync.
FWIW, I had better luck with a direct dependency of the project (lodash) when running in interactive mode. For non-interactive, it was able to find the issue, but could not fix it:
osv-scanner fix --non-interactive --strategy=relock -M package.json -L package-lock.json --data-source native --vulns=GHSA-35jh-r3h4-6jhm

Found 1 vulnerabilities matching the filter
No dependency patches are possible
REMAINING-VULNS: 1
UNFIXABLE-VULNS: 1

Also regarding re-locking, did you delete package-lock.json and node_modules/ first? I believe npm doesn't actually change anything if those exist.
Re-locking typically does change your package-lock.json, even if package.json isn't changed. This is because npm's dependency resolution typically takes the latest versions available for all dependencies, leading to frequent changes in the resolved dependency graph.
If you're able to share your package.json / package-lock.json, we'd be very happy to take a look! If you would prefer to send it in a private email, please send it to<EMAIL_ADDRESS>:)

Hello, I'm attached the package lockfiles below:
package.json
package-lock.json
OSV output
| https://osv.dev/GHSA-jf85-cpcp-j695 | 9.1  | npm       | lodash                       | 4.17.4  | package-lock.json |
| https://osv.dev/GHSA-jf85-cpcp-j695 | 9.1  | npm       | lodash-es                    | 4.17.4  | package-lock.json |

The vulnerability was https://github.com/advisories/GHSA-jf85-cpcp-j695, which affects both lodash  and lodash-es version 4.17.4:

Patching using interactive mode fixed lodash-es in package-lock.json file, while non-interactive mode failed.
Patching in non-interactive mode with strategy in-place also did upgrade it: UPGRADED-PACKAGE: lodash-es,4.17.4,4.17.21
Patching in non-interactive mode with strategy relock did not update anything
I would expect lodash should be updated as well, or at least the output should tell why it can't be updated because of some reason.

IMO only updating lock file resulted in a mismatch between package files, and if the developer install or update new dependency, it could wipe out the patched in lock file (if they decide to remove lock file before relocking). An update to a dependency is typically is made to both files for that reason.

Thanks for providing your manifest & lockfile, it's very helpful!
First, I will note that GHSA-jf85-cpcp-j695 appears 3 times in the scan output:
| https://osv.dev/GHSA-jf85-cpcp-j695 | 9.1  | npm       | lodash                       | 3.10.1  | package-lock.json |
| https://osv.dev/GHSA-jf85-cpcp-j695 | 9.1  | npm       | lodash                       | 4.17.4  | package-lock.json |
| https://osv.dev/GHSA-jf85-cpcp-j695 | 9.1  | npm       | lodash-es                    | 4.17.4  | package-lock.json |

<EMAIL_ADDRESS>may show up as a dev dependency, but it does also come in through one of your production dependencies - this is just a bug #924)

When I run in-place patches (both interactively and non-interactively), it upgrades lodash-es only, which fixes one instance of the vulnerability, but<EMAIL_ADDRESS>and<EMAIL_ADDRESS>both are still present and vulnerable.
Manually attempting to re-lock the project with npm gives an error due to mismatched peer dependencies (this is an issue I am aware of)
Using npm install --legacy-peer-deps to sidestep this issue (which is how guided remediation currently behaves), I see GHSA-jf85-cpcp-j695 now only affects<EMAIL_ADDRESS>
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>are also installed, but neither are affected by the vulnerability.

Currently, the relock strategy only considers a vulnerability fixable if all instances of the vulnerability can be removed from the dependency graph.
From some manual inspection, every version of the font-loader package (which you directly depend on) brings in the vulnerable version of lodash, which is (one of the reasons) why it cannot be resolved.

IMO only updating lock file resulted in a mismatch between package files, and if the developer install or update new dependency, it could wipe out the patched in lock file (if they decide to remove lock file before relocking). An update to a dependency is typically is made to both files for that reason.

lodash-es is not a direct dependency of your project - it does not appear in your package.json so there is nothing in that file to update. The in-place strategy will not change the package-lock.json in a way that is incompatible with the package.json. Relocking can significantly change the computed dependency graph so the previous in-place patches cannot be applicable anymore.

at least the output should tell why it can't be updated because of some reason.

Yes, I'll create a new issue to surface reasons for failure better.

Thanks for filing issue https://github.com/google/osv-scanner/issues/925 and the explanation.
Out of curiosity, I tried a minimal test case below for lodash:
{
  "name": "foo",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "lodash": "^3.10.1"
  }
}

osv-scanner was able to find the vulnerabilities, and fixed it in both package and package lock file, which is great!
Thanks again for taking a look!


[OS X] How much RAM is available & small things

So let me explain you what I wanted to say yesterday on /r/.
OS X -> there is always max RAM consumption. Using your script, it clearly says only available RAM (which works nice on all kinds of unixes) - except here. A lot of that "used" ram can be used as free, because it is actually free. You actually have to check for RAM pressure here on OS X. I am bad in expressing those things in english; thats why I like you to view picture below and try to understand what I actually wanted to say, for example using screenfetch.
http://imgur.com/9DvgnpG
I also made red dot at shell because of version (which are you already going to implement) and green arrow because I don't know if this gap is supposed to be here or is it a bug.
Also, what I would like to have here (disable by default, enabled via flagz):

Terminal app: like Apple Terminal or iTerm.
Batery status: like 50% or 100%
IP address: like xxx.xxx.xxx.xxx

I think I understand now.

I'll also include compressed ram in the OS X memory math.
I'll add an option to print more kernel info (Will be disabled by default)
I'll fix the huge gap below the script. (This is left over from the image mode as it's needed there)
I'll add shell version support. (I have an idea on how to do it now)
Battery status should be easy to add.
I don't know if I want to add an IP address function, I'll think about it.

Detecting Terminal Emulator is one of the features I'd love to have but it's impossible without checking running processes and I don't want to resort to that.
Thanks for the suggestions!

It also seems like you have a random forward slash in your gpu output, I'll fix that too.

It's "Intel Iris /".

What about this line?
system_profiler SPDisplaysDataType | awk -F': ' '/^\ *Chipset Model:/ {printf $2}' | awk '{ printf "%s ", $0 }'

This one is smooth, withtout "/". Nice!

Awesome, I'll push it to master now.

Also, see the 1.1 changelog for the new options:
https://github.com/dylanaraps/fetch/blob/master/1.1.md

If the new features work fine for you, I'll close the issue.

Sure.

Awesome, thanks!


Password in TicTacToe seems to be "password" rather than "PASSWORD"

Describe the bug
Testing the TicTacToe example, it seems to me that the password is "password" rather than "PASSWORD"?
To Reproduce
Try to Login to the TicTacToe example.  Note that the instructions suggest the password is "PASSWORD" but this doesn't seem to work.  "password" does work.  I suppose this is the result of using all caps in the instructions?
Screenshots

Haha, hey @khirsh! That's a styling change that happened between iOS versions where everything became uppercase. We think we have a workaround, though, so thanks for the heads-up!


[Feature Request] Facebook graph api access or at least access to the page access token

It would be nice to support access to the whole facebook graph api. Managing page_access tokens ourselves seems to undermine the purpose of the connector. A special case of this is access to the first name as in #1908.

I think the easiest solution would be to give the developer access to the page access token somehow.

For now I'm getting permanent access tokens by using the webapp here and clicking on Debug for the specific app I need it for. https://developers.facebook.com/tools/accesstoken/

@bmperrea are you using C# or Node SDK for BotBuilder?

Thank you for opening an issue against the Bot Framework SDK v3. As part of the Bot Framework v4 release, we’ve moved all v3 work to a new repo located at https://github.com/microsoft/botbuilder-v3. We will continue to support and offer maintenance updates to v3 via this new repo.
From now on, https://github.com/microsoft/botbuilder repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.
As part of this restructuring, we are closing all tickets in this repo.
For defects or feature requests, please create a new issue in the new Bot Framework v3 repo found here:
https://github.com/microsoft/botbuilder-v3/issues
For Azure Bot Service Channel specific defects or feature requests (e.g. Facebook, Twilio, Teams, Slack, etc.), please create a new issue in the new Bot Framework Channel repo found here:
https://github.com/microsoft/botbuilder-channels/issues
For product behavior, how-to, or general understanding questions, please use Stackoverflow.
https://stackoverflow.com/search?q=bot+framework
Thank you.
The Bot Framework Team


Fails when creating too many activities (and probably other Resources) at once

Hey guys, another issue in bigger environments is the rate-limiting of twilio-api, maybe i need to find another workaround for this. If anyone has any clues on how to work around this issue, I would be glad for any input on the topic!

We could automatically retry and use a Timeout for the creation of "normal" Resources.

Good point @TheGarkine. Twilio usually advice to implement an exponential backoff mechanism and I have a proof of concept implementation of that in nodeJS. @kaiquelupo what do you think?
@TheGarkine can you share the script you are using so I can create a test suite for trying my solution?

I cannot really share my original script with you, since it contains business logic, but I ccan easily reproduce the error with this:
"use strict";
const pulumi = require("@pulumi/pulumi");
const { Resource } = require('twilio-pulumi-provider');

for (let i = 0; i < 20; ++i) {
    let activity = new Resource(`TaskRouter-Activity:${i}`, {
        resource: ["taskrouter", { workspaces: process.env.TASKROUTER_WORKSPACE_SID }, "activities"],
        attributes: {
            friendlyName: `test-activity-${i}`,
            available: false
        }
    });
}

@vernig If you cannot come to it soon, I can also implement that by myself, thing is I want to be done with my IaC at end of this week.

Hey @TheGarkine, here you can find an implementation for exponential backoff library: https://gist.github.com/vernig/6226b218959ec64c67ceaa323bb16e7f
My idea is to use it this way:
public async create(inputs: any): Promise<pulumi.dynamic.CreateResult> {
...
   info = cleanObject(await exponentialBackoff(getAPI(client, resource).create, attributes), false);
...
}

I haven't tried it yet, and I honestly don't think I'll have enough time to implement it and test it by the end of the week. So given your deadline, it may be safer to implement your own version of it while we working on it.

Hey @vernig. Okay I will probably just add this to #14, since I am currently working with my private fork anyway. You could also just merge the PR at some point and I will reopen another one!

That's great, thanks for all your contributions @TheGarkine!

You could also just merge the PR at some point and I will reopen another one!

I leave @kaiquelupo to comment on that, since he's working on reviewing the currently opened PR

As already mentioned, #14 fixes this as well now. @vernig your solution needed some modification to work, if you have any questsions: hmu!

Amazing @TheGarkine thank you so much!

Merged


Replay

Hey @bruth
do you have a plan / solution for replay ?
Use cases:
You added a new aggregate of Consumer type and need to populate the read only side.
you are in Dev mode and want to deploy to Prod and have also introduced new events too. So you need those events to be run and consumers to create new read only data.
there are probysome side edges I am missing too in my use cases.
I am using Rita with wasm and if course Jetstream  as a bit of a thought experiment.

I had prototyped an abstraction for a "read model" which is built on a consumer. This can be an ephemeral one which exists for the duration of a process or a durable one which will "resume" or "catch-up" from where it left off.
This means if new events are stored that the consumer has interest in, those would be then delivered/consumed by the read model.
Is the question geared towards this abstraction and less about how it works?


Sidebar menu doesn't work with angular.js

Hello, I've tried using gentelella for my admin panel. Everything works fine but when I tried to make an angular project using templates the sidebar menu doesn't work. The menu links themselves work but they don't highlight when you hover over them and also dropdowns don't unfold when you click them. However there aren't any errors in the console which is weird. The sidebar menu also hides/appears when changing window size.
I use an abstract state for the main emplate and I load sidebar menu, navbar and content in 3 different ui-view elements. If you are interested in seeing the code itself I can upload it.

Nevermind, it's not gentelella related issue. It's just that the gentelella.js file is being loaded earlier than the actual angular.js framework and its templates and these variables:
$MENU_TOGGLE = $('#menu_toggle');
$SIDEBAR_MENU = $('#sidebar-menu');
$SIDEBAR_FOOTER = $('.sidebar-footer');
$LEFT_COL = $('.left_col');
$RIGHT_COL = $('.right_col');
$NAV_MENU = $('.nav_menu');
are being set before the sidebar and menu are even being loaded.

Hi, When i use vue.js 2.0 to load gentelella, the sidebar can't be click with js.

Hi hardmaster92 , how did you solve the problem ?. Can you please share your solution for this.

The sider menu does not work normally when clicking on it. Why?


More colors

I think it would be good idea to have more colors for buttons,cards.
Example  of bootstrap:
https://getbootstrap.com/docs/4.0/components/buttons/
https://getbootstrap.com/docs/4.0/components/card/#background-and-color

@AGhasemzadeh What button colors do you need?

exactly like boostrap and we can have guide to add more colors.

You can add these additional colors quite easily. I did this with toasts:
toast-item {
    .toast.toast-warning {
        background: #fcf8e3;
        border-color: #faebcc;
        color: #8a6d3b;
    }
    .toast.toast-info {
        color: #31708f;
        background-color: #d9edf7;
        border-color: #bce8f1;
    }
}

@AGhasemzadeh AG I have added success and error button colors. I don't think other colors will be used widely. If you need, you can create yours with button mixins.


FIX Import error in BOFT half precision test

It should be boft.layer.Linear and not boft.Linear.

FYI @Edenzzzz the nightly tests on GPU failed, this should fix them.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks. Maybe in the future we could do: https://github.com/huggingface/diffusers/blob/main/.github/workflows/run_tests_from_a_pr.yml
This will allow us to trigger desired tests on the GPU runner.

Normally I test GPU tests locally but as this was a late change, I forgot to re-run the tests, so it was just a personal oversight.


bot token is stored insecurily

https://github.com/Blamer-io/bot/blob/b2ca455ae2dbaa6fb363bb8c91eab0ebb95e998a/pom.xml#L109-L110

@h1alexbel it's just a dummy bot's creds, we don't care about that

wdyt

@l3r8yJ it's for testing purposes?

@h1alexbel yes it is

@l3r8yJ nice, resolved


Deleted package detected

I'm a Cyber Security researcher and developer of PackjGuard [1] to address open-source software supply chain attacks.
Issue
During my research, I detected a deleted package in this repository.
Details
Specifically, the package ethter mentioned in file README at line 8 does not exist on the public PyPI registry. A bad actor can hijack this package to propagate malicious code.
Impact
Not only your apps/services using https://github.com/ethtertesting/ethter repo code are vulnerable to this attack, but the users of your open-source Github repo could also fall victim.
You could read more about such attacks here<EMAIL_ADDRESS>Remediation
Please highlight this in file README and register a placeholder package for ethter on public PyPI soon to remediate.
To automatically fix such issues in future, please install PackjGuard Github app [1].
Thanks!

PackjGuard is a Github app that monitors your repos 24x7, detects vulnerable/malicious/risky open-source dependencies, and creates pull requests for auto remediation: https://github.com/marketplace/packjguard

sorry for duplicate.


netlify config resolve does not respect httpProxy flag

Describe the bug
~cli is using @netlify/config to resolve config, but @netlify/config/src/api/site_info.ts:getSiteInfo does not respect offline flag. It will try to retrieve site info until timeout. I found this when netlify dev, but later found that all sub commands resolving config will suffer from it.~
As pointed by erezrokah, it actually works. So this issue turns to the problem of httpProxy.
Additional context
BTW, resolve config does not respect httpProxy, too. That is how I found this. It will be better if config resolve can use the httpAgent.

Thanks for reporting @xhebox, @netlify/config returns undefined for the API when passing the offline flag:
https://github.com/netlify/build/blob/0d2009aa3fb308f93a71425a312c2f5a8ca9aa40/packages/config/src/api/client.js#L8
which then should cause getSiteInfo to not return any data:
https://github.com/netlify/build/blob/0d2009aa3fb308f93a71425a312c2f5a8ca9aa40/packages/config/src/api/site_info.js#L13
For httpProxy this looks like a bug and I agree passing down the httpAgent looks like the solution.

Wow, really quick response. And yes, I found that it works now. Maybe I messed code. I've modified the issue for httpAgent.

@erezrokah I think I figured out why offline does not work for me. It is still a bug. --offline works, but not -o. minimist parsed argv.o = true, but config is using argv.offline to judge. Looks like it is another kind of bug...

Thanks @xhebox, that's very helpful. I opened a new issue for that bug https://github.com/netlify/cli/issues/2400

Closing in favor of https://github.com/netlify/cli/issues/3115


formulae: unlink boost when building mysql, etc.

When building mysql, percona-server, and percona-xtrabackup and
boost is installed, CMake fails with an error like
CMake Error at CMakeLists.txt:1935 (MESSAGE):
  WITH_ICU=system is not compatible with Homebrew boost

  MySQL depends on boost_1_77_0 with a set of patches.

  Including headers from /opt/homebrew/include will break the build.

  Please use WITH_ICU=bundled

  or do 'brew uninstall boost' or 'brew unlink boost'

We don't have a mechanism to declare build-time-only conflicts, and I'm
not sure this is enough to justify one. Let's just let test-bot handle
the brew unlink boost step when necessary.
Needed for Homebrew/homebrew-core#98809.

Really not a fan of this as it's something that can affect our end users too - MySQL is not a relocatable bottle. It's why we need to consider patching this ridiculous check out.

If we patch it out I think mysql will end up linking with our boost instead of the bundled one.
Or, worse, end up using headers from one but try linking with the other.

If we patch it out I think mysql will end up linking with our boost instead of the bundled one.

Maybe it should and we should do this intentionally? Thoughts?

Actually, it seems like mysql uses only boost headers, so there is no risk of mixing headers and libraries of different versions. At least, this was true as of 5.7; I don't know if that's changed since then.
This means that

Maybe it should and we should do this intentionally? Thoughts?

will probably be the same as

patching this ridiculous check out.

I'm willing to try it. The Boost API changes quickly, but using the headers only means that it's only a problem when we need to rebuild mysql and friends, and not when we need to rebuild Boost (which I'd rather not add pain to).

The error specifically mentions ICU, so I imagine the issue is because something in icu4c is adding -I$HOMEBREW_PREFIX/include. I'm not sure why given icu4c is keg-only so we should probably address that. If we fix that then upstream probably won't have a need for this check.
For our case though, it's possible the superenv already helps out here. It's also never been an issue in previous versions in the numerous icu4c PRs we've done so I'm not convinced about the error.
I'm also not particularly fond of the strict zlib version check, given Apple has backported the 1.2.12 security patches to 1.2.11 but that's probably getting into a different argument now.

I'm not sure why given icu4c is keg-only so we should probably address that.

The error specifically mentions ICU, so I imagine the issue is because something in icu4c is adding -I$HOMEBREW_PREFIX/include. I'm not sure why given icu4c is keg-only so we should probably address that. If we fix that then upstream probably won't have a need for this check.

It isn't icu4c-specific. Just that ICU is the first system library upstream looks for. If you changed ICU to WITH_ICU=bundled, then it would fail on libevent.
https://github.com/mysql/mysql-server/blob/8.0/CMakeLists.txt#L1932-L1945
  IF(EXISTS ${HOMEBREW_BASE}/include/boost)
    FOREACH(SYSTEM_LIB ICU LIBEVENT LZ4 PROTOBUF ZSTD FIDO)
      IF(WITH_${SYSTEM_LIB} STREQUAL "system")
        MESSAGE(FATAL_ERROR
          "WITH_${SYSTEM_LIB}=system is not compatible with Homebrew boost\n"
          "MySQL depends on ${BOOST_PACKAGE_NAME} with a set of patches.\n"
          "Including headers from ${HOMEBREW_BASE}/include "
          "will break the build.\n"
          "Please use WITH_${SYSTEM_LIB}=bundled\n"
          "or do 'brew uninstall boost' or 'brew unlink boost'"
          )
      ENDIF()
    ENDFOREACH()
  ENDIF()

Right, you mentioned this in the icu4c PR. Too many comments there to keep track of; sorry.
How does mysql pass include flags to their boost? If they use -I then patching out the check should just work (since we use -isystem for HOMEBREW_PREFIX/"include"), but if not then it's a bit harder to tell which boost is used.


feat: clean up configmaps

closes #4

Looks great, just some small details I think would really shape it up


Allow configuring the docker-compose executable path

Describe the bug
On newer docker setups, docker-compose is part of docker under a docker sub commands: docker compose
This makes this library fail to find docker-compose when needed.
For now I have a little script but I expect this library to be able to change the executable name:
#!/usr/bin/env bash

exec docker compose "$@"

linking #358


refactor: upgrade components

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


Proxy setting

is there any way to set proxy in chakram module?

Chakram uses the request module for HTTP requests. Please have a look at the request options here: https://github.com/request/request#requestoptions-callback.
It seems like there is a proxy option. This option can be specified in the options provided to the chakram request methods.
Let me know how you get on

Due to lack of activity I will assume the request proxy settings were sufficient

@dareid sorry to bump up closed ticket but can you give an example how to pass proxy setting to chakram?

Please reopen this issue. It is a PAIN and simply does not work. I tried to supply options, but
a) it did NOT work at all
b) this is NOT the correct approach. I need to run these tests from behind proxies AND without proxies. Thus, the program (test definition) should not be different. There must be a global switch for the whole test suite to adhere to some proxy settings properly, without having to alter the code.


[MWPW-157031] Added more context to mailto links

Resolves: MWPW-157031
Test URLs:

Before: https://dev--events-milo--adobecom.hlx.page/events/create-now/create-now-chicago-2024-test/chicago/il/2024-07-27
After: https://mwpw-157031--events-milo--adobecom.hlx.page/events/create-now/create-now-chicago-2024-test/chicago/il/2024-07-27

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

Please upload report for BASE (dev@aa34edc). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff           @@
##             dev     #125   +/-   ##
======================================
  Coverage       ?   78.86%
======================================
  Files          ?       12
  Lines          ?     1973
  Branches       ?        0
======================================
  Hits           ?     1556
  Misses         ?      417
  Partials       ?        0

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


Add placeholder for displayname mit PlaceholderAPI

Please add a Placeholder for the displayname maybe %luckperms_displayname%

Users do not have a display name within LuckPerms.


!eval auto-upload truncate logic is at odds with actual settings

At the moment, eval automatically truncates output that is greater than 10 lines or has more than 1000 characters.
The eval formatter cuts off the output past 1000 characters with a "message is too long" message and past 10 lines with a "too many lines" message. However, at the moment it is set (with MAX_PASTE_LEN) to not upload results that have more than 1000 characters.
        elif len(output) >= 1000:
            truncated = True
            output = f"{output[:1000]}\n... (truncated - too long)"

        if truncated:
            paste_link = await self.upload_output(original_output)

This code contains a logic path that will only succeed at precisely 1000 characters, because the upload_output function checks len() > MAX_PASTE_LEN, but here we check len(output) >= 1000.
This is probably not worth cleaning up (because it's clearly intended to support higher MAX_PASTE_LEN values), but I think we should consider raising what we have this cap set to or moving the configuration value into the bot's actual configuration rather than a module constant. I'd vote for something around 2000-5000, at least enough to fit in a single message on the discord side, while keeping in mind we don't want to flood a channel with massive output.

@jb3 What is the current character limit and what is the current maximum content length? Even 10,000 characters is at worst 0.04 MB assuming UTF-8. Can we determine a sane limit based on the frequency of the uploads, available disk space, and how frequently pastes are cleared?

@MarkKoz Current character limit is 50,000 characters. Pastes are cleared 3 months after last viewing.
I'm confident we have enough storage to do whatever, and we can deal with things retroactively if it becomes an issue, we have alerts set up for these situations. We can safely raise this cap, 10,000 characters is absolutely fine in my eyes.


Import Code Profiles with CLI

Profiles are great, especially for school labs. However, currently it seems impossible to import .code-profile files using CLI. Looks like it can only be done interactively in the GUI.
Something like this would be perfect:
code --import-profile "\\myserver\share\code\xyz.code-profile"

This would be a lot of help for IT administrators who prepare scripted installation of VS Code on school labs with different classes and different profiles, config, extensions.

I would suggest to repeat the functionality of code with respect to extensions. It would be nice to have the following arguments
# show profile paths or urls
--profiles-locations

#  List the installed profiles
--list-profiles

# Installs or updates a profile
--install-profile <url | path>

# Short overview + list included extensions
--view-profile <name | path | url>

# Uninstalls an existing profile
--uninstall-profile <name>


build(deps): bump controller-runtime to v0.14.1

What this PR does / why we need it:
Run GH actions on fork and publish to docker.io/mesosphere as we can no longer expect any new images published from upstream.
This does not mean we will be adding more features to kubefed, this merely lays the foundation for creating PRs which can solely be used for maintenance mode of kubefed.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

Created this PR by mistake, sorry for the noise!


DOCS: fix typo in readme

I used [ci skip] in commit message because I don't think it is necessary to run tests for this change.

Thank you @LeonardoFurtado !


It is not a solution. It's a workaround. Be very cautious with using it. It changes how characters are displayed. Differences are subtle, but overall, letters are a bit wider.

          > > It is not a solution. It's a workaround. Be very cautious with using it. It changes how characters are displayed. Differences are subtle, but overall, letters are a bit wider.

Yes, this workaround increases letter spacing so it is not suitable for us. I just found another workaround which I not see in this thread:
 text.replaceAll(' ', '\u{000A0}')

We started to use it and it seems that it "just works" for all our use cases. It just replaces all spaces in text with Unicode No-Break Space character.
Hope it may help someone :)

this workaround make some Arab character broken (الماس =>  ا  ل م ا س). need fix by Flutter team.
Originally posted by @thailocnexle in https://github.com/flutter/flutter/issues/18761#issuecomment-1365686834

Please don't make comments into issues, instead make an effort to fill out the issue template


Can't install

  Problem 1
    - Conclusion: remove laravel/framework v5.8.3
    - Conclusion: don't install laravel/framework v5.8.3
    - lemberg/laravel-code-style-command 1.0.0 requires laravel/framework 5.4.*|5.5.* -> satisfiable by laravel/framework[5.4.x-dev, 5.5.x-dev].
    - lemberg/laravel-code-style-command 1.0.1 requires laravel/framework 5.4.*|5.5.* -> satisfiable by laravel/framework[5.4.x-dev, 5.5.x-dev].
    - Can only install one of: laravel/framework[5.5.x-dev, v5.8.3].
    - Can only install one of: laravel/framework[5.4.x-dev, v5.8.3].
    - Installation request for laravel/framework (locked at v5.8.3, required as 5.8.*) -> satisfiable by laravel/framework[v5.8.3].
    - Installation request for lemberg/laravel-code-style-command ^1.0 -> satisfiable by lemberg/laravel-code-style-command[1.0.0, 1.0.1].

neither with --dev nor with --prefer-dist

Might be worth to mention that I'm running Laravel 5.8.3 - support for this version would be nice.

Hi, @Hirbod
Thanks for your feedback.
Oh, my first ticket for public package :)
In fact, I wrote this command only for my own needs and even could not think that someone was using it :)
I added support for Laravel 5.8. Please upgrade your laravel-code-style-command up to version 2.0.1.

Thanks @bkhrupa
I ended up using PHPCS-Fixer
https://github.com/stechstudio/Laravel-PHP-CS-Fixer
but I appreciate your work!


Long-running tests for immutable backups

Immutable backups will require long-running test coverage to ensure things like renewing object locks functions as expected. These tests can be made a part of the new longevity test

annnddd I forgot I made a ticket for this already in #3799


iOS server socket dies on screen lock

It seems the server socket is dying when a device with iOS 5+ goes to sleep. This is easily reproducible with the iPhoneHTTPServer project. Just run it with the default configuration (connected to a WiFi network to verify that the server is reachable), then lock the device (the app can be in the foreground or in the background, doesn't matter) and unlock it again. Try to connect to the web server and the connection will be refused.

on applicationDidEnterBackground: I stop the HTTP server
on applicationWillEnterForeground: I start the HTTP server

Hi any example or doc, on how to achieve this?


They might add the option to add color to the text.

So you can change the color of the text using a syntax or command, so you can change the color text either in bold, in italics or in titles h1, h2, h3, etc. And also for links. Something like this: {#f66} hello or {blue} hello or also #{red} title. it would be a good idea.

Markdown syntax has no support for text color.

Yes, I know. But how could you customize it to be able to add that option. What would be the best way to do it and personalize it my way. Basically I want to do something similar like bbcode, but with the markdown syntax.

Given the specifications being targeted this seems out of scope.
Regarding your question, I do not believe there would be a way to do it without going beyond even the original intent of Markdown.


[DOC-3370] Add helm chart version note

Add helm chart version note
For reviewers, a preview is available.
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Support Embedded Elixir files (.eex) with web-mode

Doom does not correctly handle Embedded Elixir files (.eex), as instead of opening them in web-mode, which supports those files, it opens them in mhtml-mode.
The following lines are a temporary fix until the configuration for web-mode in Doom is fixed:
(add-to-list 'auto-mode-alist '("\\.html\\.eex\\'" . web-mode))
(setq web-mode-engines-alist
      '(("elixir" . "\\.html\\.eex\\'")))

As of f0bc835 and 4b8986c this should be resolved. Let me know if that isn't the case and I'll reopen the issue. Thanks for bringing it to my attention!

@hlissner I am still getting mhtml-mode when opening .eex or .leex files. I have to manually switch over to web-mode.
Happy to diagnose, but not sure how to trace it if you can point me in the right direction.


[ENH] Add ApplyMerges Function

Way of harmonizing metadata. Change sidecars to match the param group you want to merge into.

This will need a couple features:

[ ] a CLI entrypoint
[ ] a function that checks that the list of changes is possible (ie fieldmap keys are compatible)
[ ] add to the apply CSV function lines that call the CLI entrypoint with from and to json files


Many To Many, sync() won't fire $touches

Laravel Version: 5.6.26
PHP Version: 7.1.19
Database Driver & Version:

Description:
Post belongsToMany Tag
Tag belongsToMany Post
in the Tag model have set
protected $touches = ['post'];
when i use $post->tag()->sync($request->input('tags'));
how to touch (self)$post updated_at if sync has any changed ?

Eloquent expects a plural relationship name. You have to rename the relationship to posts and use protected $touches = ['posts'];.

thankyou for your reply, i think not the relationship problem, because
$post->tag()->sync($request->input('tags')); is working fine no problem
in my Post model has relationship method called tag() is belongsToMany Tag
and i have defined all the table_name , FK, local_key
in Tag model have set
protected $touches = ['post'];

// dosen't mean $touches will fire this method post() ?
public function post()
{

so i think the problem is $post->tag()->sync() won't fire the $touches

sync() does fire $touches, but it looks for a relationship named posts. You can't configure the name, it has to be the pluralization of the class name (Post).

@staudenmeir thankyou for your reply, i,m very confuse now
https://laravel.com/docs/5.6/eloquent-relationships#touching-parent-timestamps
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Comment extends Model
{
    protected $touches = ['post'];

    public function post()
    {
        return $this->belongsTo('App\Post');
    }
}

the only difference is i was use many-to-many

It's different for this situation, take a look at the code. Did you try renaming the relationship to posts?


minor: correct name and typo

Which issue does this PR close?

forgot to modify the name in #4185 🥹
other typo

Closes #.
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Thanks @jackwener  and @liukun4515


PDF Error: -22 - PNG has unsupported color type: 6

try to download this png file(black and white):
https://icons8.com/icons/set/person
or even google fonts:
https://fonts.google.com/icons?icon.size=24&icon.color=%235f6368&icon.query=person
And load it:
pdf_add_image_file(pdf, NULL, x-10, y-30, 10, 10, "data/person.png");
Compilation is fine. but when I run it, I receive this error:
PDF Error: -22 - PNG has unsupported color type: 6

Unfortunately PDFGen doesn't support alpha channels in images. The simplest option is to flatten the image down to having a white background. If you have imagemagick installed, you can do this with:
convert person.png  -background white -flatten flatten.png

Then you can put flatten.png into your PDF without issue.


HADOOP-17033. Update commons-codec from 1.11 to 1.14.

The patch compiles. I haven't done any tests beyond making sure it compiles.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 31s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
19m  1s
trunk passed

+1 :green_heart:
compile
0m 22s
trunk passed

+1 :green_heart:
mvnsite
0m 24s
trunk passed

+1 :green_heart:
shadedclient
33m 31s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 23s
trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 15s
the patch passed

+1 :green_heart:
compile
0m 12s
the patch passed

+1 :green_heart:
javac
0m 12s
the patch passed

+1 :green_heart:
mvnsite
0m 16s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

+1 :green_heart:
shadedclient
13m 39s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 17s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 17s
hadoop-project in the patch passed.

+1 :green_heart:
asflicense
0m 32s
The patch does not generate ASF License warnings.

52m  9s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-2000/1/artifact/out/Dockerfile

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

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

uname
Linux 8626f4ee899f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / d59de27c01d

Default Java
Private Build-1.8.0_252-8u252-b09-1~18.04-b09

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-2000/1/testReport/

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

modules
C: hadoop-project U: hadoop-project

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-2000/1/console

versions
git=2.17.1 maven=3.6.0

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Thanks! Merged it.


Add cmake option for additional runtime link libraries.

IREE_HAL_EXECUTABLE_IMPORT_PROVIDER_DEFAULT_FN now allows for external import providers to be defined but when set requires that all binaries both runtime and compiler have the symbol defined due to ConstEval and other compiler->runtime deps.
To make out-of-tree import providers possible we also need to link in user-defined static libraries that contain the symbol. An IREE_EXTERNAL_HAL_DEPS cmake var that just added deps via target_link_libraries in a central place would let this happen.
Users could then implement their provider in some .c, wrap that in a cmake library, set the symbol name via IREE_HAL_EXECUTABLE_IMPORT_PROVIDER_DEFAULT_FN, and append the library to IREE_EXTERNAL_HAL_DEPS. The python bindings, compiler tools, and all runtime tools would consistently use the provider.

Both the issue and the PR that fixes (#10551) commit message list a wrong flag name .. (resp. IREE_EXTERNAL_HAL_DEPS  and IREE_HAL_EXECUTABLE_LOADER_DEPS). The proper flag is IREE_HAL_EXECUTABLE_LOADER_EXTRA_DEPS, maybe surface it somewhere more visible?
Re:

To make out-of-tree import providers possible we also need to link in user-defined static libraries that contain the symbol.
An IREE_EXTERNAL_HAL_DEPS cmake var that just added deps via target_link_libraries in a central place would let this
happen.

I am unclear from this issue description whether adopting IREE_HAL_EXECUTABLE_LOADER_EXTRA_DEPS is supposed to make the ConstEval issue go away (in my case it does not and I still need a hack into Runtime.cpp).
Additionally, this does not seem to propagate to the build rule of iree-run-module which complains that the dependence is missing. Locally I was successful when I added the dependence directly to the build rule.
I put my current stack in https://github.com/nicolasvasilache/iree/tree/tpp-dev, the commit of interest is https://github.com/nicolasvasilache/iree/commit/b235ba58f18d2f782b39013a86e62a11ea158243

The issue was written before the PR + review feedback. It looks like the commit message was overwritten with the original PR message when squashed and that got the old name. 🤷 Did you look at the updated example? https://github.com/iree-org/iree/commit/a430a433b13559972c0217aca087a07650522864
Stepping back, it'll be useful if you understand the error you're getting (undefined symbol iree_hal_test_import_provider): that's saying that when linking there's no dependency (transitive or otherwise) providing that symbol. That's because in the original example and your code the symbol lives in context_util.c - only things depending on that will ever have the symbol. The compiler doesn't depend on that and as such the linker can't find it there when building it. In your change you've just mucked with the xsmm dependency and not resolved the actual missing symbol iree_hal_test_import_provider. It's useful to understand what linker errors indicate as they're usually pretty easy to track down in static builds (dynamic linkage is a lot more pain). It's just like if you wrote this and tried to link it:
void some_extern_function();
void foo() {
  some_extern_function();
}

You'd get undefined symbol some_extern_function until you provided it. Same error you're getting now.
If you look at the updated example it moved the provider out to its own library to make it clearer that it's not related to context_utils and that library is what's referenced in the extra deps var as that's what will provide the symbol. All binaries (compiler, runtime, bindings, etc) using IREE's HAL will pull in that dep and the symbol will be present. If you moved your code into someplace like that and used xsmm you'd add your xsmm dep to the iree_samples_custom_cpu_imports cmake target_link_libraries - it should then get pulled in to the final binaries automatically.
There's not really any magic here relative to normal C linkage:

IREE_HAL_EXECUTABLE_IMPORT_PROVIDER_DEFAULT_FN=iree_samples_custom_cpu_import_provider says call function iree_samples_custom_cpu_import_provider
the linker now needs some library to provide function iree_samples_custom_cpu_import_provider
in the example that iree_samples_custom_cpu_imports library provides the symbol
IREE_HAL_EXECUTABLE_LOADER_EXTRA_DEPS=iree_samples_custom_cpu_imports tells the linker to depend on that library
linker can now find iree_samples_custom_cpu_import_provider and happily links

The link I had was borked: https://github.com/iree-org/iree/compare/benvanik-loader-deps...benvanik-native-example?expand=1

https://github.com/iree-org/iree/commit/a430a433b13559972c0217aca087a07650522864 makes sense, thanks!


osm_to_xodr.py not working

CARLA version: 0.9.13
Platform/OS: Windows
While converting the osm file from Openstreetmap to xodr with the script provided from Carla osm_to_xodr.py
python3 osm_to_xodr.py -i   path\map.osm -o  path\map.xodr
it says
Convert OpenStreetMap file to OpenDRIVE file.
Warning: Discarding unusable type 'waterway.stream' (first occurence for edge '157911723').
Warning: Reducing junction cluster<PHONE_NUMBER>,3508918959,880447302 (5 incoming edges).
Warning: Speed of straight connection '23761113_0->305473847_0' reduced by 19.28 due to turning radius of 17.76 (length=2.35, angle=23.26).
Warning: Speed of straight connection '322857308#0_0->23761114_0' reduced by 5.99 due to turning radius of 47.91 (length=5.33, angle=21.58).
Warning: Speed of straight connection '23758971_0->-322857308#1_0' reduced by 14.40 due to turning radius of 11.12 (length=4.35, angle=40.92).
Warning: Speed of straight connection '871651449#0_0->322857308#0_0' reduced by 10.32 due to turning radius of 25.75 (length=14.26, angle=48.69).
Warning: Speed of straight connection '-39389724_0->-25307663#2_0' reduced by 5.47 due to turning radius of 90.49 (length=2.63, angle=16.69).
Warning: Network contains very large coordinates and could cause problems with Unreal Engine coordinates. The recomended maximum value in any axis is 50000
Warning: Could not compute smooth shape for edge '-60733475#3'.
Warning: Could not compute smooth shape from lane '227688325_0' to lane '23761113_0'. Use option 'junctions.scurve-stretch' or increase radius of junction '229946680' to fix this.
Warning: Could not compute smooth shape from lane '322857308#0_0' to lane '23761114_0'. Use option 'junctions.scurve-stretch' or increase radius of junction '256325620' to fix this.
Warning: 6 total messages of type: Speed of % connection '%' reduced by % due to turning radius of % (length=%, angle=%).
after that i run the xodr file to open it with the simulator and dont find the street. show nothing!
i open the xodr file with editor and the geometry values are very high:

where actually one example xodr file from Carla Town02 looks like these:

Town02.xodr on simulator

Thats what i need to get after convert the osm to xodr.
I cant use Roadrunner. I try also another converter from osm to xodr provided from: https://github.com/JHMeusener/osm2xodr and still not works.
Could anyone please help with any idea how to convert the osm to xodr so i can build it then with the fbx file on unreal engine.
Thank you

i have the same problem. I'm trying to make a map of my collage but carla is throwing this output.
Converting OSM data to opendrive
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
Warning: Discarding unusable type 'waterway.drain' (first occurence for edge '30037017').
Warning: Discarding unusable type 'highway.corridor' (first occurence for edge '206412006').
Warning: Discarding unknown compound 'cycleway.shared_lane' in type 'cycleway.shared_lane|highway.cycleway' (first occurence for edge '447986442').
pj_obj_create: Cannot find proj.db
Warning: Speed of straight connection '25504237#2_0->206809952#0_0' reduced by 6.89 due to turning radius of 42.74 (length=18.55, angle=40.47).
Warning: Could not write OpenDRIVE geoReference. Only unshifted Coordinate systems are supported (center_map and use_offsets need to be set to False)
Warning: Could not compute smooth shape from lane '22688331-AddedOffRampEdge_2' to lane '24730725#0_0'. Use option 'junctions.scurve-stretch' or increase radius of junction '268790432' to fix this.
Warning: Could not compute smooth shape from lane '1039298143_1' to lane '28233862_1'. Use option 'junctions.scurve-stretch' or increase radius of junction '268790436' to fix this.
load opendrive map.
And it load an empty world. Can anyone help me with this?

I don't have a solution for this issue, but regarding some of those warnings:

Warning: Network contains very large coordinates and could cause problems with Unreal Engine coordinates. The recomended maximum value in any axis is 50000

I believe this can be fixed with the option center_map = True in carla.Osm2OdrSettings().

i open the xodr file with editor and the geometry values are very high

This happened to me once and the result was just that the map was very far away from the origin in UE4, so I had to search around a bit until I found it.

pj_obj_create: Cannot find proj.db

As mentioned here, this can be fixed by creating an environment variable PROJ_LIB that points to your proj.db, which in my installation was located at carla_source\Build\proj-src\build\data.

Warning: Could not write OpenDRIVE geoReference. Only unshifted Coordinate systems are supported (center_map and use_offsets need to be set to False)

As mentioned here, you can ignore this warning since OpenDRIVE geoReference is not used by CARLA.

pj_obj_create: Cannot find proj.db

As mentioned here, this can be fixed by creating an environment variable PROJ_LIB that points to your proj.db, which in my installation was located at carla_source\Build\proj-src\build\data.

Hi, I cannot find proj.db in the first place, is there something I should have installed first?


Navigate to the top of a page on navigation

Description

Some links navigate to the bottom of the page when clicked. We want it to scroll to the top instead.

Tasks

[ ] Suggested fixes from StackOverflow using useLocation hook.

requesting to work on this issue. Kindly assign me: @sonylomo @spaceyatech-org

Go for it @octocatblain 🙂

@sonylomo I cant find links that scroll to th bottom of the page as suggested in the issue. Can you kindly give me specifics on where I can find the big?

Hey @octocatblain, I apologize for the inconvenience. This issue was already addressed in another PR. However, it wasn't documented. I'm therefore going to close this issue as complete.
You could take a look at other issues in the repo that you can help out with.

@sonylomo sure 💯 Will do.


Crash when using v5.0.0 TimelineDot with color='inherit'

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
I recently upgraded to MUI 5 from v4 and have been working through the issues. I just came across this one.
I create a component with
 <TimelineDot color="inherit" />

and get Uncaught TypeError: Cannot read property 'contrastText' of undefined
Expected Behavior 🤔
Component displays a timeline dot without crashing
Steps to Reproduce 🕹
https://codesandbox.io/s/relaxed-tharp-ew6tr?file=/src/Demo.tsx
Steps:

Example should error on first render

Context 🔦
Trying to upgrade from v4 to v5. Must be a regression.
Seems to happen on this line https://github.com/mui-org/material-ui/blob/6653315f16ce235244a438e9edf7c431b6618983/packages/material-ui-lab/src/TimelineDot/TimelineDot.js#L50
Probably just need to handle the "inherit" color specially since I would imagine it wouldn't be in the palette.
Your Environment 🌎

`npx @material-ui/envinfo`
I used Chrome to get this issue, but I'd imagine it would happen in any browser given the code.
  System:
    OS: macOS 10.15.6
  Binaries:
    Node: 14.5.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.5 - /usr/local/bin/npm
  Browsers:
    Chrome: 92.0.4515.131
    Edge: Not Found
    Firefox: 80.0.1
    Safari: 14.0
  npmPackages:
    @emotion/react: ^11.4.0 => 11.4.0
    @emotion/styled: ^11.3.0 => 11.3.0
    @material-ui/core: ^5.0.0-beta.2 => 5.0.0-beta.2
    @material-ui/icons: ^5.0.0-beta.1 => 5.0.0-beta.1
    @material-ui/lab: ^5.0.0-alpha.41 => 5.0.0-alpha.41
    @material-ui/private-theming:  5.0.0-beta.2
    @material-ui/styled-engine:  5.0.0-beta.1
    @material-ui/system:  5.0.0-beta.2
    @material-ui/types:  6.0.1
    @material-ui/unstyled:  5.0.0-alpha.41
    @material-ui/utils:  5.0.0-beta.1
    @types/react: ^16.9.56 => 16.14.11
    react: 17 => 17.0.2
    react-dom: 17 => 17.0.2
    typescript: ^4.1.1-rc => 4.3.5

Thanks for the report.
The codesandbox does not include any usage of TimelineDot. Did you forget to save its contents?

I guess I did forget to save, sorry. Should be fixed now.


transform=True fails when you have an index on a column name with an underscore

I'm using this project (sqlite_minutils) as a part of a FastHTML web app and came across a bug. I used python=3.12 and sqlite-minutils==3.37.0.post3. Here's a minimal reproduction:
#script.py

from fasthtml.common import Database
from datetime import datetime

db = Database('test.db')

class Request:
    id: str
    time: str
    # run with time_check and its index commented out first
    time_check: str

requests = db.create(Request, if_not_exists=True, transform=True)
requests.create_index(('time',), unique=True, if_not_exists=True)
# first run with this index creation commented out
requests.create_index(('time_check',), unique=True, if_not_exists=True)

for i in range(5):
    requests.insert(Request(time=datetime.now()))

To reproduce, simply first comment out time_check: str and the index on time_check, run python script.py. Then uncomment time_check and its index creation and re-run python script.py. You will get the following error, which is caused by the query returning nothing, and the index [0] trying to grab what isn't there.
File venv/lib/python3.12/site-packages/sqlite_minutils/db.py:1910, in Table.transform_sql(self, types, rename, drop, pk, not_null, defaults, drop_foreign_keys, add_foreign_keys, foreign_keys, column_order, tmp_suffix, keep_table)
   1908 for index in self.indexes:
   1909     if index.origin not in ("pk"):
-> 1910         index_sql = self.db.execute(
   1911             """SELECT sql FROM sqlite_master WHERE type = 'index' AND name = :index_name;""",
   1912             {"index_name": index.name},
   1913         ).fetchall()[0][0]
   1914         assert index_sql is not None, (
   1915             f"Index '{index}' on table '{self.name}' does not have a "
   1916             "CREATE INDEX statement. You must manually drop this index prior to running this "
   1917             "transformation and manually recreate the new index after running this transformation."
   1918         )
   1919         if keep_table:

IndexError: list index out of range

It looks like the parameter substitution fails when there is an extra underscore from the column name. If I do the same query manually using the ? substitution syntax it works, and if I do the query manually typing out the index name verbatim it also works.

I'll add, in case anyone else has this problem, that my workaround is to try/except on IndexError for the db.create statement, and if it's raised, I manually drop the index, re-rung the db.create statement, and then run create_index again.
I also tried manually setting the index_name to something without underscores, so I guess underscores don't matter.


Update project-info JDKs

We test with Temurin OpenJDK 8, 11 and 17. Adopt OpenJDK is no longer supported and Adoptium have taken over and name their JDKs as Temurin.
Relates to https://github.com/apache/incubator-pekko/issues/247

Can we just say "OpenJDK"? Adopt/Temurin are all distributions based off OpenJDK and while its true that we run Temurin in CI in the end whats important is that we are testing against OpenJDK.

Can we just say "OpenJDK"? Adopt/Temurin are all distributions based off OpenJDK and while its true that we run Temurin in CI in the end whats important is that we are testing against OpenJDK (or more accurately a distribution that has been compiled from OpenJDK sources).

changed

Nightly builds test JDK 11 and 17 - https://github.com/apache/incubator-pekko/actions/runs/4716114700

Nightly builds test JDK 11 and 17 - https://github.com/apache/incubator-pekko/actions/runs/4716114700

Thanks, didn't realize that


Architecture review

in #33, @anonrig mentioned not being happy with how the architecture is evolving here.
I'm gonna try and take a look and see what I think, but if you have anything to elaborate on what's bugging you, that's helpful.

For cache misses, I want to learn the proper approach as well. Do we put the data structure in a single thread and communicate it with message passing, or do we use some mutexes and condvars as describe in this blog post https://medium.com/@polyglot_factotum/rust-concurrency-patterns-condvars-and-locks-e278f18db74f?

Tarball extraction is a async process where the distinction of CPU intensive tasks (such as decompression, checksum verification) are on the same thread.

Try https://docs.rs/tokio/latest/tokio/task/fn.spawn_blocking.html?

Benchmarking is a huge pain.

Setup a mock server? Abstract away your IO and use a memory filesystem?

If I were to architect this, I may end up with a message passing system because I learned a bit of [akka[(https://akka.io/) a decade ago 😂

I would to this by saying that currently function that crates/package_manager/src/add.rs and crates/package_manager/src/install.rs needs rework:

add function duplicates install_package code.
TarballManager has too much responsibility, I think it should only manage tarballs not download dependencies and symlink them, it should only download tarballs and unpack them, maybe also not save them as files and pipe the data back
Make checks for is package early and use rust's hashmap for that, no fs lookup(currently it's only made when downloading the tarball)
All of this would make my life easier and make me able to implement normal install logging and a progress bar

Also some of the things I would also recommend researching:

Early build dependency tree, that you can use then to optimize further.(I am not an expert in that stuff)
Use http2 for downloading
Parallelize downloading

I am interested which options are you considering using?
My not expert ideas:

download queue?
tokio spawn?

I'm being quite slow with my PR, but definitely will look to help more in some ends

I tried migrating to futures stream, but got stuck with multithereaded datasharing

Distinction between cli and package_manager. I tried to distinguish the clap requirements and package_manager commands, but passing data between them, such as InstallArgs makes unnecessary data copies without sharing the type.

Yes, so the cli package to me feels really thin, and not useful.

When in a architecture where you share the types, it causes cyclic dependency error, and forces to create a new crate for them. (Chicken in the egg problem)

do you happen to have a branch lying around, or remember which packages caused this conflict?

Just saving for myself, to reproduce the cache misses:
diff --git a/crates/registry/src/lib.rs b/crates/registry/src/lib.rs
index a955f0a..59a1331 100644
--- a/crates/registry/src/lib.rs
+++ b/crates/registry/src/lib.rs
@@ -63,8 +63,10 @@ impl RegistryManager {

     pub async fn get_package(&self, name: &str) -> Result<&Package, RegistryError> {
         if let Some(package) = &self.cache.get(name) {
+            println!("cache hit: {}", package.name);
             return Ok(package);
         }
+        println!("cache miss: {name}");

         let package: Package = self
             .client

an example is the ajv package showing cache miss more than one time.

Yes, so the cli package to me feels really thin, and not useful.

@steveklabnik This PR removes package_manager crate and moves it to cli: https://github.com/anonrig/pacquet/pull/51


Issue accessing app from iphone browser - using oauth2 proxy

Hello,
I am facing couple of Issues when I am trying to access the application in iphone - It is browser based app and deployed in Azure Kubernetes. It is working fine with Android phone - I am using Azure as provider.
In few devices, I am getting below error - 403 Permission Denied http: named cookie not present
The oauth2 proxy pod logs shows this error - [AuthFailure] Invalid authentication via OAuth2: unable too obtain CSRF cookie
In few devices, I am getting below error
Origin "app link" is not allowed by Access-Control-Allow-Origin
Please help me resolving these.

Joel, any suggestions on these issues?

Any suggestions please????

Hey @dmahisingh, I don't feel like I have enough context to add anything useful to this conversation, apologies.
Perhaps if you provided more detail about your setup I might be able to add something?

Thanks Joel for the response.
We are developing one angular 7 application which is deployed in Azure Kubernetes envrionment. To have azure based authentication, we are using oauth2 proxy. please see below for the files which are deployed to kubernetes cluster
oauth2_proxy file - oauth2_proxy.txt
ingress yaml file - ingress.txt
It is working fine from desktops and android mobiles. When we are trying to access from ios (ipad/iphone), the application is not working. It will ask for Microsoft login page and after login we are getting below errors

In few devices, I am getting below error in the browser console, not even above 403 error -
Origin https://test.domain.com is not allowed by Access-Control-Allow-Origin
https://login.microsoftonline.com/tenantid/oauth2/authorize?approval_prompt=force&client_id=........ Failed to load resource: Origin https://test.domain.com is not allowed by Access-Control-Allow-Origin.
In few devices, I am getting below error -
The mobile browser (safari) shows this error - 403 Permission Denied http: named cookie not present
The oauth2 proxy pod logs shows this error - [AuthFailure] Invalid authentication via OAuth2: unable too obtain CSRF cookie

I am trying to alter the oauth2_proxy container args alot, but not working out any thing - Request your help for solving this issue

Honestly, I'm a bit stumped by this one. If it's working fine in some browsers but not iOS, that's very very strange. I don't really have any suggestions, I've never seen anything like this before

But do you see the configuration looks good?
In general, when do you get the 403 error, I think it is coming with old browsers...when we get the Invalid auth via OAuth2, the user is getting authenticated properly...I can see the user full profile displayed in the oauth2 proxy log
What causes these kind of issues?

FYI - If I remove the oauth2 proxy (authentication part), the app is working from ios along with other browsers.

Joel, any comments on this please? We are stuck here and not able to go ahead with project.

Joel, I see below code in https://github.com/pusher/oauth2_proxy/blob/master/oauthproxy.go
nonce := s[0]
redirect := s[1]
c, err := req.Cookie(p.CSRFCookieName)
if err != nil {
	logger.PrintAuthf(session.Email, req, logger.AuthFailure, "Invalid authentication via OAuth2: unable too obtain CSRF cookie")
	p.ErrorPage(rw, 403, "Permission Denied", err.Error())
	return
}

this is the same error we are getting at the back end. As ios generally uses safari, is there any issue with csrf cookie with all safari and old chrome browsers?? Please check once

There are no known issues with this area of the codebase, but I agree, I suspect this is the source of your problem. I wonder if there is a problem with the cookie name possible?
Which session storage are you using also? Can I ask you to try the Redis based session storage if you aren't already

Hi, it might be helpful occurs in ios12.
https://www.chromium.org/updates/same-site/incompatible-clients
Set cookie-samesite=lax might solve.
https://pusher.github.io/oauth2_proxy/configuration

Hi,
I've recently noticed this too with older iPhones using the google provider:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Mobile/15E148 Safari/604.1
Users that can log in through a computer somehow get rejected when doing so through an iPhone with the same account.
I have tried out @johejo's suggestion above without success (same behavior).

The bug is still in oauth2_proxy v5.1.0
@johejo, I had put the cookie-samesite="lax" in the configuration file, forgetting to replace the dash with an underscore.
Your suggestion does work.
CC @dmahisingh @JoelSpeed

cookie-samesite="lax" is not working for us unfortunately...the configuration is correctly loaded, but we see this:
Error loading cookied session: Cookie "_oauth2_proxy" not present

Regular browser passes it correctly. Could it be that mobile browsers don't support coookie splitting? We have 8k+ cookies

Cookie splitting is being deprecated. Please switch to using redis for session storage. See #482 for further details. We have also noted there that we want to support server side sessions other than redis, please add your thoughts if you have anything to add

In case some people still have iOS/MacOSX issue with cross-origin cookie, see my issue https://github.com/oauth2-proxy/oauth2-proxy/issues/830 and its related PR to fix it https://github.com/oauth2-proxy/oauth2-proxy/pull/832


Strange behavior with core_stack_display and Custom design on it

To reproduce the behavior :
Add a stack in a page; click just after on it and change some custom template or design; Save the page; edit the page and try to change the design settings. On hover the hole stack are highlighted but when we click on, we can only set Special design on blocks from the stack.
I do not think it's wanted ?

I have an issue with v8.1 that appears to be similar to this, possibly the same issue. Custom block templates applied to blocks in a stack. When logged in, the custom templates are rendered. When logged out, the core default templates are erroneously rendered.


Command-line with assemblies and projects specified

When starting the gui with the name of one or more test files (projects and/or assemblies) on the command-line, those tests will be loaded by NUnit.

Currently, command-line is ignored.


Unable to pass dynamic props

Hi,
Thanks for this amazing package.
I was unable to pass props with dynamic component:
<template>
    <div>
        <v-runtime-template :template="template"></v-runtime-template>
    </div>
</template>
<script>
    export default {
        data() {
            return {
                template: `<hero-component :message="'hello'" class="css-class"/>`
            }
        }
    }
</script>

<hero-component> never recieves message prop value, however i can see class is being pulled.

@sumit-chowjar, I'm not the maintainer, but how sure are you this was a problem with the template and not the "hero-component". I just tested it on my use case and it worked seemed to work.
If you're still having an issue, can you post the definition of hero-component, and if the issue is resolved, please close it. Thanks.


"the function failed to launch on the GPU" with 34B GGUF model

The bug
Trying to use https://huggingface.co/Doctor-Shotgun/airoboros-2.2.1-limarpv3-y34b Q5_K_M, I get:
CUDA error 716 at /tmp/pip-install-azvh5g5w/llama-cpp-python_68eefa42c492416390b746bedd7ad475/vendor/llama.cpp/ggml-cuda.cu:6835: misaligned address
Model works fine with KoboldCpp and text-generation-webui. I am also able to load and use the unquantized version of the model using models.TransformersChat using bitsandbytes to quantize it to 4 bits.
To Reproduce
Give a full working code snippet that can be pasted into a notebook cell or python file. Make sure to include the LLM load step so we know which model you are using.
from guidance import models, gen

def main():
    llm = models.LlamaCpp(
        "/home/seanl/SD/text-generation-webui/models/airoboros-2.2.1-limarpv3-y34b.q4_K_S.gguf",
        n_gpu_layers=-1,
    )

    lm = llm + "Pick a number between 1 and 10: " + gen(name="guess", stop="\n")
    print(lm["guess"])

if __name__ == "__main__":
    main()

System info (please complete the following information):

OS: Pop!_OS (Ubuntu based):
Guidance Version: 0.1.1

Can you check and make sure the airoboros-2.2.1-limarpv3-y34b.q4_K_S.gguf file works with a regular llama_cpp_python load? That way we can sort out if this is an issue with llama.cpp compatibility or guidance compatibility. Thanks!

It works in ooba, which is using llama.cpp to load it. I'm having exactly the same problem with https://huggingface.co/TheBloke/Nethena-20B-GGUF/blob/main/nethena-20b.Q5_K_M.gguf , which also works fine in ooba and koboldcpp.

@slundberg Sorry, I'd missed the question about where the GGUF file came from. It's https://huggingface.co/Doctor-Shotgun/Misc-Models/blob/main/airoboros-2.2.1-limarpv3-y34b.q4_K_S.gguf .


Temporarily disable string statistics in orc/drwf readers

The writer performs comparisons using java Strings to determine the minimum and maximum
values. This results in weird behaviors in the presence of surrogate pairs and special character (see http://icu-project.org/docs/papers/utf16_code_point_order.html)
For example, unicode codepoint 0x1D403 has the following representations:

UTF-16: [0xD835, 0xDC03]
UTF-8:  [0xF0, 0x9D, 0x90, 0x83]

while codepoint 0xFFFD (the replacement character) has the following representations:

UTF-16: [0xFFFD]
UTF-8:  [0xEF, 0xBF, 0xBD]

when comparisons between strings containing these characters are done with Java Strings (UTF-16),
0x1D403 < 0xFFFD, but when comparisons are done using raw codepoints or UTF-8, 0x1D403 > 0xFFFD
The bottom-line is that UTF-16 lexicographic ordering is not equivalent to UTF-8 lexicographic ordering or codepoint ordering.

Looks like the PR lost track of the commit, so here it is for reference: 96e45e22fe1e4392119b1c182ebeaa18bc4e5a5d


Bug report

Description
local music_region = finenv.Region()
local start_measure = music_region:GetStartMeasure()
local measure_pos = music_region:GetStartMeasurePos()
local start_staff = 11
local add_expression = finale.FCExpression()
add_expression:SetStaff(start_staff)
add_expression:SetScaleWithEntry(true)
add_expression:SetPartAssignment(true)
add_expression:SetScoreAssignment(true)
add_expression:SetID(15)
local connect_cell = finale.FCCell(start_measure, start_staff)
add_expression:SaveNewToCell(connect_cell)
This will insert an expression but on 1 staff. Not on the staff's selected in the Score list of that Category. Can that be solved? TIA
Metadata

Finale v26
Windows 10
Script: n/a

Created through the website by Hans Voerman<EMAIL_ADDRESS>

You have to assign the score list from the category to the expression assignment. Also, you may need to create all the individual staff assignments. Use the Enigma File Dump program to see what changes when Finale does it. Then mimic that.


Casual Meter connects, but no DPS Data shown

Casual Meter connects and displays the server, but no matter what I configure, I don't get any DPS data.
I am using Windows 8.1, WinPcap 4.1.3 and also prior tried nPcap, with nPcap the casual meter doesn't even show servername. I also tried Raw Sockets (no Firewall, only Router) and running as Administrator. Also I am trying with EU Tera. The game updated recently and the casual meter has updated as well, had the same issue prior to patch as well.
Any other possible solution?

Hmmm nevermind, it works now!


Shorten the object parts

When there's lot of data, the tooltip becomes unusable, so would be nice to show at least a part of it as a preview.
Basically we'll need to shorten: when a string is long, object keys or an array length exceeds a certain value.
@romseguy what do you think of moving it to redux devtools monorepo so we can get more attention for contributors?

Sure, do I have to give you access?

Thanks @romseguy! I need only access to npm packages to maintain the same names instead of creating new ones. Then after I transfer the code, I'll send a PR here just adding to the README that this repository is merged and maintained in redux-devtools monorepo. I'd need access also for the other 3:

redux-devtools-chart-monitor
d3-state-visualizer
map2tree.

For the first 2, I'm sorry that I wasn't active when the decision about moving happened, and causing extra-work. I think the right way would be to move them back to you and maintain inside monorepo as well. Not sure if you have access for doing that. I'll open an issue in redux-devtools-chart-monitor to ask the others of you think the same.

You should have received the invite for these 4 packages. I don't need access to the monorepo since I'm not interested in maintaining the chart monitor and its dependencies anymore.

Thanks! I moved d3tooltip and map2tree, added credits in the README. Opened this issue there.


Fix/verify dockerfile parser

Fixes #430
Parser now replace the as keyword to AS before moving into the splitting function.

AS is the one of the special keywords that we allowed the write-in lowercase.

ping
I forgot that I could offer suggestions in review and pushed a commit to your branch, which broke presubmit


HAWQ-218. Core dump while selecting data from partitioned table with where condition that belongs to no partition

Looks good

+1


how to filer out the response message of bosun /api/alter

Dear all:
I encounter some problems when I use bosun api of alter to filter out the alters I wanted.
In the bosun api documents, I can only see this description lines below:
/api/alerts?[filter=filter]
Returns a list of alert summaries matching the given filter (defaults to all).
But I do not know how the filter expression should be composed.
I tried this express  /api/alters?filter=Active:true but I can only see nothing.
So dear friend, can you please give me an examples on how can I filter out the alters.
Thank you all.

It uses the incident filters as documented in http://bosun.org/usage#incident-filters , this should be referenced from the API documentation so I added "Needs Documentation" Label.
Example
$ curl 'https://bosun.ds.stackexchange.com/api/alerts?filter=!notify:*patcher*%20AND%20!notify:*it*'


Failure to conclude the HA instalation process on Proxmox 6.2-4

I'm using your script to install HA on 2 two Proxmox 6.2-4 different machines.
Both get stuck early after the "Preparing Home Assistant" landing page gets available:
core logs:
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain search took 0.0 seconds.
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.5 seconds.
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setting up onboarding
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setting up zeroconf
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setting up mobile_app
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain mobile_app took 0.0 seconds.
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain onboarding took 0.1 seconds.
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setting up frontend
2020-05-17 18:02:10 INFO (SyncWorker_18) [homeassistant.loader] Loaded notify from homeassistant.components.notify
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setting up notify
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 0.0 seconds.
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setting up map
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds.
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setting up logbook
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.components.notify] Setting up notify.mobile_app
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.1 seconds.
2020-05-17 18:02:10 INFO (SyncWorker_2) [homeassistant.loader] Loaded spotify from homeassistant.components.spotify
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.components.updater] Submitted analytics to Home Assistant servers. Information submitted includes {}
2020-05-17 18:02:10 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.8 seconds.
2020-05-17 18:02:10 INFO (SyncWorker_7) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setting up default_config
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2020-05-17 18:02:11 INFO (SyncWorker_15) [homeassistant.loader] Loaded stream from homeassistant.components.stream
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.updater
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new binary_sensor.updater entity: binary_sensor.updater
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setting up stream
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setup of domain stream took 0.0 seconds.
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setup of domain default_config took 0.0 seconds.
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setting up hassio
2020-05-17 18:02:11 INFO (SyncWorker_16) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setting up tts
2020-05-17 18:02:11 INFO (SyncWorker_9) [homeassistant.components.tts] Create cache dir /config/tts
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.0 seconds.
2020-05-17 18:02:11 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 0.1 seconds.
2020-05-17 18:02:12 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 5.91s
2020-05-17 18:02:12 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2020-05-17 18:02:12 INFO (MainThread) [homeassistant.core] Timer:starting
2020-05-17 18:02:12 INFO (SyncWorker_11) [homeassistant.components.zeroconf] Starting Zeroconf broadcast

supervisor logs:
20-05-17 18:00:50 INFO (MainThread) [supervisor.discovery] Load 0 messages
20-05-17 18:00:50 INFO (MainThread) [supervisor.ingress] Load 0 ingress session
20-05-17 18:00:50 INFO (MainThread) [supervisor.secrets] Load Home Assistant secrets: 0
20-05-17 18:00:50 INFO (MainThread) [__main__] Run Supervisor
20-05-17 18:00:50 INFO (MainThread) [supervisor.api] Start API on <IP_ADDRESS>
20-05-17 18:00:50 INFO (MainThread) [supervisor.addons] Phase 'initialize' start 0 add-ons
20-05-17 18:00:50 INFO (MainThread) [supervisor.addons] Phase 'system' start 0 add-ons
20-05-17 18:00:50 INFO (MainThread) [supervisor.addons] Phase 'services' start 0 add-ons
20-05-17 18:00:50 INFO (MainThread) [supervisor.core] Skip start of Home Assistant
20-05-17 18:00:50 INFO (MainThread) [supervisor.addons] Phase 'application' start 0 add-ons
20-05-17 18:00:50 INFO (MainThread) [supervisor.tasks] All core tasks are scheduled
20-05-17 18:00:50 INFO (MainThread) [supervisor.hwmon] Started Supervisor hardware monitor
20-05-17 18:00:50 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-05-17 18:00:50 INFO (MainThread) [supervisor.homeassistant] Setup Home Assistant
20-05-17 18:00:50 INFO (MainThread) [supervisor.host.info] Update local host information
20-05-17 18:00:50 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/hostname1
20-05-17 18:00:50 INFO (SyncWorker_8) [supervisor.docker.interface] Update image homeassistant/qemux86-64-homeassistant:landingpage to homeassistant/qemux86-64-homeassistant:0.109.6
20-05-17 18:00:50 INFO (SyncWorker_8) [supervisor.docker.interface] Pull image homeassistant/qemux86-64-homeassistant tag 0.109.6.
20-05-17 18:00:50 INFO (MainThread) [supervisor.host.services] Update service information
20-05-17 18:00:50 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.systemd1.Manager.ListUnits on /org/freedesktop/systemd1
20-05-17 18:00:50 INFO (MainThread) [supervisor.host.network] Update local network DNS information
20-05-17 18:00:50 INFO (MainThread) [supervisor.utils.gdbus] Call org.freedesktop.DBus.Properties.GetAll on /org/freedesktop/NetworkManager/DnsManager
20-05-17 18:00:50 INFO (MainThread) [supervisor.host.sound] Update PulseAudio information
20-05-17 18:01:56 INFO (SyncWorker_8) [supervisor.docker.interface] Stop homeassistant application
20-05-17 18:02:01 INFO (SyncWorker_8) [supervisor.docker.interface] Clean homeassistant application
20-05-17 18:02:01 INFO (MainThread) [supervisor.homeassistant] Home Assistant docker now installed
20-05-17 18:02:01 INFO (MainThread) [supervisor.homeassistant] Start Home Assistant
20-05-17 18:02:01 INFO (MainThread) [supervisor.homeassistant] Update pulse/client.config: /data/tmp/homeassistant_pulse
20-05-17 18:02:01 INFO (SyncWorker_2) [supervisor.docker.homeassistant] Start homeassistant homeassistant/qemux86-64-homeassistant with version 0.109.6
20-05-17 18:02:16 INFO (MainThread) [supervisor.homeassistant] Detect a running Home Assistant instance
20-05-17 18:02:16 INFO (SyncWorker_18) [supervisor.docker.interface] Cleanup images: ['homeassistant/qemux86-64-homeassistant:landingpage']

Even after the 20 minutes period. No CPU, HDD or network activity for more than 15 minutes.
I'm using 1024 MB of RAM and 32 GB of storage for this container.
Any help, please?

Solved, was a browser issue, regarding javascript blocked by the noscript add-on on Firefox.


Stop search engines from crawling the tool

We do not want any results from this tool appearing in search engines results.
https://trello.com/c/6qUAhPQi/304-stop-internal-apps-and-deprecated-stuff-appearing-in-search-engines

I'm not very familiar with Flask, but does adding robots.txt to the project root mean that it will be served on the site root? The other files in the project root aren't part of the site itself.

@suzannehamilton thanks! updated


docs(examples): auto-wrap text in pager example

This revision adds automatic word wrapping to the pager example.
In particular, it exists to illustrate how to work around wrapping issues discussed in https://github.com/charmbracelet/bubbles/pull/578.

wrapping looks kind of weird for some reason 🤔
new:

old:


Translate UEFA to Chinese

Need to do the following:

Go through the XML file https://github.com/AlphaWallet/TokenScript/blob/master/examples/UEFA/UEFA.xml and add the "zh" section wherever there is an "en" section.
Copy the en.shtml layout file and create zh.shtml; in there you need to translate all the english text into chinese.

@James-Sangalli can put in one example, then I can follow

https://github.com/AlphaWallet/TokenScript/blob/master/examples/fifa/fifa.xml
but you need to copy the layout file and make a new one with .zh.shtml
@colourful-land maybe you want to pick this up instead?


core_messages.sh: line 40: /home/lgsm/log/script/rust-server-script.log: No such file or directory

Error occurs when executing ./rustserver presumably before the server has started for the first time but this situation was when the server wasn't even installed yet. Potentially add a check (or multiple) to core_messages.sh for the file existing
scarsz@ubuntu:/home/lgsm$ ./rustserver
Usage: ./rustserver [option]
Rust - Linux Game Server Manager - Version 210516
https://gameservermanagers.com/rustserver

Commands
start             st |Start the server.
stop              sp |Stop the server.
restart           r  |Restart the server.
update            u  |Checks and applies updates from SteamCMD.
force-update      fu |Bypasses the check and applies updates from SteamCMD.
update-functions  uf |Removes all functions so latest can be downloaded.
validate          v  |Validate server files with SteamCMD.
monitor           m  |Checks that the server is running.
test-alert        ta |Sends test alert.
details           dt |Displays useful infomation about the server.
backup            b  |Create archive of the server.
console           c  |Console allows you to access the live view of a server.
debug             d  |See the output of the server directly to your terminal.
install           i  |Install the server.
auto-install      ai |Install the server, without prompts.
/home/lgsm/lgsm/functions/core_messages.sh: line 40: /home/lgsm/log/script/rust-server-script.log: No such file or directory

Minor bug, but nice catch.

Simple checks were added in 464a8bd8e052056de9cc72f853026b4f16e98e5e.
This issue can be closed now?
I want to reduce open issues. Looks better (:


Create a Caching Mechanism for some slow REST Calls with the Database

We can discuss this tomorrow in the TIRA meeting, but I think this might be a good task for @Dumpling97.
We do not only need this cache for rest calls, we also need it for other functions.

Django seems to already have very mature caching mechanisms that we should look into.
It is very likely that they allow us to implement what we need with very simple steps: https://docs.djangoproject.com/en/4.1/topics/cache/

We discussed the following:

We have a new daemon that always refreshes (1) all available docker images and (2) all running software with all metadata in the cache.
the frontend uses the same cache mechanism, but with a much higher timeout

This is now implemented with a DatabaseCache that serialises everything into a dedicated MySQL table.
For two slow REST calls, we have now a daemon that periodically ensures that the cache for those slow rest calls is always fresh: https://github.com/tira-io/tira/blob/development/application/src/tira/management/commands/cache_daemon.py.
This daemon runs in kubernetes.