docs_fix(little typo)

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
just a little typo
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign leogr after the PR has been reviewed.
You can assign the PR to them by writing /assign @leogr in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

e8d9dcb docs_fix(little typo)

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Welcome @pabloopez! It looks like this is your first PR to falcosecurity/falco-website 🎉

LGTM label has been added.  Git tree hash: c5b11dd8817efc54fea0e0e299b61aa7f0636cc6

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Issif
To complete the pull request process, please assign leogr after the PR has been reviewed.
You can assign the PR to them by writing /assign @leogr in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pabloopez you forgot to sign-off your commit, can you run these commands, please:
git commit --amend -s
git push origin patch-1 -f

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign leogr after the PR has been reviewed.
You can assign the PR to them by writing /assign @leogr in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @leogr

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Promscale deployment

Research how to deploy Promscale into K8S cluster

No need for Promscale since we are not using timescale as a database


[Feature Request] Hide License Not Open Source when applicable (e.g. company only entries)

Does your feature request address a specific issue? Please elaborate.
For entries that are companies / members only, would like to hide the "License Not Open Source" field
Outline your desired solution
have the license not open source field not appear
Discuss any alternative solutions or features you've considered.
No response
Additional information.
Example at https://landscape.cncf.io/members?selected=intuit-member

Resolved by adding hide_license: true under Extra


How can I add that subscribe to different segments?

Hi. I want to add my subscriber different segment by signup source. I create two segment in Mailchimp. How can I add that subscribe to different segments? I using API v2.

Hi - this isn't the best place for support with using the MailChimp API. I can help with technical issues involving the code of the library, but not with API usage.


Bump BDK to 0.21

it also updates maia and removes our fork of electrum-client

LGTM 👍
Will this also fix the warnings in the logs?
WARN Send message every interval{interval_secs=180}:xtra_actor_request{actor_type=daemon::wallet::Actor<bdk::blockchain::electrum::ElectrumBlockchain, sled::tree::Tree> message_type=daemon::wallet::Sync}:xtra_message_handler:Handle Sync:Sync wallet:Sync wallet database with blockchain: electrum_client::raw_client: got error for req_id 761: JSON(Error("EOF while parsing a value", line: 1, column: 0))

this is indeed the hope! after merging this, the idea is to closely monitor testnet.

@luckysori I have removed the last commit (removing our fork of electrum-rust-client, as it turns out that only bdk 0.22 will use the newer electrum-rust-client, which will not require us manually patching that dependency.

bors r+


cannot use RTVS with VS2015 on Windows 10

I am at a loss ...
Installation seems to run smoootly.
I start VS2015 ... it says it is scanning some new components ...
Then

The activity log does nothelp me ... but maybe you can find a clue.
ActivityLog.txt
Can it be an interaction with the Python add-ons?
Looking forward to your feedback.
Any ideas whata I can try to debug this issue?

I don't see anything RTVS related in the attached log. However, VS seems to be 14.0.25420.1 which, I think, is Update 2. Try updating to 3 which is 14.0.2543*.

Hello Mickhail,
thanks so much for your reply ... good catch, but it is weird: when I view "Help/About Microsoft Visual Studio" I get

I.E. it tells me it is update 3 and version 14.0.2543*.* ... that's why I though I was safe on this frontier.
So VS seems to be confused about which version it is?
That cannot be good.
I might need to consider a reinstall ... mind you ,nothing I am looking forward to, as the "acquisition" of the components over Wifi took about 2h last time.

Also, if you dismiss the message - do you see R Tools menu? If yes, does opening R Tools -> Windows -> R Interactive brings up proper REPL with R prompt?

sorry for the delay ...

I re-installed RTVS
started VS, error was still there
tried to open interactive Window, did not work (none of the R Tools options did anything)
stopped VS
started VS ... no more error!
was able to open interactive R window => it seems I am up and running now ;-)

No idea why it suddenly works. Is it possible it has to do with location?
My first attempts were from China. Now I tried from Switzerland.
Thanks for chipping in to help. I am happy it works now. But also frustrated that it seems to arbitrary ... hope the system stays stable.
Have a good start into a healthy, successful, and totally amazing 2017!

... not stable.

This happens on some machines if you had R Interactive open when you closed VS. Workaround is to close REPL before shutting down VS. This is fixed in upcoming 0.6 and next VS 2017 update as #2806

Closing since 0.6 is not being distributed and included into VS 2017.


Upgrade webpack-dev-middleware to ^5.3.4 per CVE-2024-29180

#2443  👈
main

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

Join @nickgraz and the rest of your teammates on  Graphite


Add more properties for trait helm

Added version, targetNamespace and value for trait helm
co-authored-by:  qiaozp<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

@zzxwill Please help review this PR.

LGTM


border and text color

Hi, thank you for the nice theme.
I want to change the color in the theme. bg and link is able to change. border and text is always white no matter which color I use.
Thanx

Thank you for reporting.
Border color was caused by missing css attributes in the box element.
Text color was caused by wrong variable name in template header file.
They are both fixed now. Please pull the master again and give it a try.

Hi, thanks, how can pull the master did not clone the repository? I made a local project with blogdown::new_site(). Otherwise make new_site and copy my posts and my config.yaml?

Second way work, bg color and text corol work. Thank you!

Thank you for update!
May I close the issue?

Yes, thanks. Shortcode for youtube Video also does not work.
In config.yaml I wrote:
enableInlineShortcodes: true
In Rmd:
{{< youtube buiLez6AMU8 >}}
Watch the final site: http://gansser.de/post/choughs-verhaltenstypisierung/

I checked your page, it maybe caused by missing space before the closing delimiter.
Current:
{{< youtube id=“buiLez6AMU8”>}}

Try adding a space before >}}, like following:
{{< youtube id=“buiLez6AMU8” >}}

{{< youtube buiLez6AMU8 >}}
still does not work. Must be something different. I mad another site with another theme for my sister, there it works:
https://isigansser.netlify.app/post/ms/

HTML Site shows without space. In my Rmd there is a space. Strange.

Can you test your sister site with my theme?
Because the short code is working in my example site https://sk3.jsiu.dev/post/rich-content/ , and the md for that page is https://github.com/gohugoio/hugoBasicExample/blob/master/content/post/rich-content.md

how can I change the theme of a site?

If you use git, go to root of your hugo site:
git clone https://github.com/J-Siu/hugo-theme-sk3 themes/sk3

Then in the config.toml file, look for the line theme = .... and change it to
theme=sk3

I created a RStudio testing project https://github.com/J-Siu/blogdown-sk3-test
I am able to see the embedded youtube video inside the viewer. So I am closing this for now.


Using editor changes the style of the template

Hello, beginner issue I'm afraid. This is the 3rd WYSIWIG editor I have installed and is the best so far in terms of ease of installation and use. However, When I go to use it on my blog app it completely changes the styling of the templates where the output is being displayed (I did see this behaviour with the two other WYSIWYG editors, amongst other strange issues that lead me to uninstall them).
I'm now into my second day of trying to find out what the problem is and fix it, but I'm not getting very far, although, adding |safe to the template is what appears to trigger the change (I know I need |safe here as leaving the HTML is not an option). I have attached an image of what the page looks like before and after adding |safe:
Before |safe

After |safe:

In the after |safe image the card has moved from being in the row down to the column and the text is red, even though it is set as black in the editor itself.
I am using Django 2.0.2 & Python 3.4.6. My styling uses Bootstrap 4, the list view of the blog is using cards in a 3 column x 4 row format. I am using a forloop to generate this.
I realise this is not necessarily specific to CKeditor given that I've seen this with other editors, but if you have any ideas that would really be appreciated as currently I'm getting fed up of banging my head against a brick wall. It's either a compatibility issue, or I'm missing something very simple.

I am currently facing this same issue.
Is there a way to fix this??

The editor uses (almost?) no CSS to style content in its editor area unless you are overriding it with contentsCss.
However, your frontend may have default styling e.g. for <code> blocks. The styling issue has almost certainly nothing to do with django-ckeditor, but is a result of some CSS you're using on your own site.

I found the problem.. the problem was that CKEditor was outputting various HTML tags on the page which was breaking the website and the |safe filter didn't help.
I eventually figured it out and I am able to display the contents without any HTML tags and everything works fine now.
There should be a filter that returns plain text for CKeditor, it will save people from a lot of worries.

Hmm why would you use a rich text / HTML editor and not just a <textarea> if all you wanted was plain text?

Let's say I have a Django blog where I publish articles with images, bold text, italics and the likes using CKeditor but then on my home page, I want to display an excerpt of all my articles.
This excerpt should not have any HTML tags in it, just plain text!
Do I need to add an extra field to my model just because I want to get plain text description??
it is counter-productive to do such; a friend recommended adding another model field for short description but I said NO.
My rich text editor should be able to provide me with a plain text version for places where I don't need text styling and formatting.

Ah alright.
I don't think it's the editor's job to do this though. Anyway, you've probably found Django's |striptags filter then https://docs.djangoproject.com/en/3.1/ref/templates/builtins/#striptags

Yes, I found striptags filter and it helped except for "white spaces" ; so I combined it with the |safe filter and all tags are gone.
so, |striptags |safe does the trick.


this is  not gpt4

as you can see,gpt 4 showed in the title actually is gpt 3.5

That's a fallback, if your account do not have the gpt-4 permission, it will use gpt-3.5

okk,thanks


How to write into a pointer inside a callback?

I need to pass a callback that would write into the pointer param.
The callback has the prototype int8_t (*get_resolution)(int32_t* width, int32_t* height).
I know that I can use decode to get the value, but I cannot set it.
const width = koffi.decode(ptrwidth, koffi.array('int32_t', 1, 'Array'))
width[0] = 111 // this cannot and shouldn't write into *width, at least.

After all, memcpy does help dealing this situation.
memcpy(ptrwidth, [111], 4)

But I still wonder if there would be a better solution

I will look into implementing something like koffi.encode() soon.
The memcpy is a good solution in the mean time :)

Can you try Koffi 2.5.21-beta.2?
koffi.encode(ptrwidth, 'int32_t', 123);
koffi.encode(ptrheight, 'int32_t', 321);

I've published Koffi 2.6.0 with all of this.
Documentation: https://koffi.dev/variables
Changelog: https://koffi.dev/changelog


Pr/v1.12 backport 2022 11 07 minus 21234

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Thanks for contributing!

Fixes: #issue-number
<!-- Enter the release note text here if needed or remove this section! -->

/test-backport-1.12

ci-awscni-1.12: cluster creation failure.
ci-eks-1.12: cluster creation failure.
ci-gke-1.12: https://github.com/cilium/cilium-cli/issues/940
ci-external-workloads-v1.12: https://github.com/cilium/cilium-cli/issues/940
ci-multicluster-1.12: https://github.com/cilium/cilium-cli/issues/940
test-gke: https://github.com/cilium/cilium/issues/17628
test-1.21-4.9: https://github.com/cilium/cilium/issues/19790


Support Rails 4

Hi, @sinsoku
On Rails4 environment, rake db:create and rake db:drop seem to not work.
It raise error like this...
$ bundle ex rake db:create
rake aborted!
NoMethodError: undefined method `create_database' for main:Object

$ bundle ex rake db:drop
rake aborted!
NoMethodError: undefined method `drop_database_and_rescue' for main:Object

So I checked Rails code, and found problem that create_database and drop_database_and_rescue moved to other file and rewritten.
see@https://github.com/rails/rails/blob/master/activerecord/lib/active_record/tasks/database_tasks.rb
see@https://github.com/rails/rails/blob/master/activerecord/lib/active_record/railties/databases.rake
This PR fix that issue in my environment. Please check and merge.
Regards.

Merged! Thanks @syguer :thumbsup:

@sinsoku
Thank you for merge! wait for gem push :gem:


Error: Cannot find module 'node-elm-compiler'

Hi,
while setting elm-webpack-loader, I got the error
Module build failed: Error: Cannot find module 'node-elm-compiler'

so I run yarn install node-elm-compiler to resolve the issue, but it could not be resolved properly. After little investigation I came to realize that by running yarn install node-elm-compiler, I am actually installing the latest version that is 5.0.2
So I try to install the 5.0.0 version instead to see it will work. And yes by installing 5.0.0 version it does work.
I would like to update about this issue.
Best
Dev.

Seeing a similar issue. Thanks for the tip on downgrading!

Version 5.0.1 also works and it has improved error messages. The issue only seems to be with version 5.0.2 that was pushed out yesterday.


Symbolic refactoring ideas half of them are math related

Around 10 line simplification, can be increased but with cost of performance

Can you add tests for these simplifications and confirm behavior is the same?

Can you add tests for these simplifications and confirm behavior is the same?

I have not added new simplification rules so current tests should cover it. But I realized that even though I made wrong refactoring tests did not catch it

Closing as I realized that math is not completely true but tests are passing needs more careful thinking


[Bug]: Ballerina runtime is packed inside native dependency jar [AsyncAPI trigger for Azure Service Bus]

Connector Name
other (None Listed Above)
What happened?
Error giving in observability view when receiving an events from the ASB trigger in Choreo Console.
The trigger is working when running it from the code server-side. Events are also receiving.
import ballerina/log;
import ballerinax/trigger.asb;

configurable asb:ListenerConfig config = ?;

listener asb:Listener webhookListener = new (config);

service asb:MessageService on webhookListener {

    remote function onMessage(asb:Message message, asb:Caller caller) returns error? {

        log:printInfo(message.toJsonString());
    }
}

Reported issue in Choreo - https://github.com/wso2-enterprise/choreo/issues/11782
Relevant log output
04/03/2022 11:19:02 We appreciate it if you can report the code that broke Ballerina in
04/03/2022 11:19:02 https://github.com/ballerina-platform/ballerina-lang/issues with the
04/03/2022 11:19:02
04/03/2022 11:19:02 We thank you for helping make us better.
04/03/2022 11:19:02 log you get below and your sample code.
04/03/2022 11:19:02
04/03/2022 11:19:02
04/03/2022 11:19:02 ballerina: Oh no, something really went wrong. Bad. Sad.
04/03/2022 11:19:02
04/03/2022 11:19:02  at rolandhewage.asb_ga_test2.0.$_init.main(asb_ga_test2)
04/03/2022 11:19:02 java.lang.NoSuchFieldError: frames
04/03/2022 11:19:02 [2022-03-04 05:49:02,155] SEVERE {b7a.log.crash} - frames
04/03/2022 11:19:02  at rolandhewage.asb_ga_test2.0.$_init$SignalListener.run(Unknown Source)
04/03/2022 11:19:02  at rolandhewage.asb_ga_test2.0.$_init.$moduleStop(asb_ga_test2)
04/03/2022 11:19:02 Exception in thread "Thread-0" java.lang.NoSuchFieldError: frames
04/03/2022 11:19:02 cat: can't open 'ballerina-internal.log': No such file or directory

Closing since this issue is fixed with https://central.ballerina.io/ballerinax/trigger.asb/0.3.3


[reopen] [proposal] auto polyfilling support via @babel/preset-env

Command
build, serve

I completely disagree with the fact that feature requests are closed without an exhaustive explanation. This is actually the scope of angular-cli. So, reopen: #17318

Description
According to Official Document, polyfills can only be included manually.
Sometimes we somehow use ESNext features like Array.prototype.flatMap but forget adding its polyfill into polyfills.ts, it accidentally breaks on some browsers.
Describe the solution you'd like
In https://github.com/alauda, we are using @alauda/custom-webpack which pipes babel-loader after @ngtools/webpack in webpack config, so that we get auto polyfilling successfully via @babel/preset-env.
So I'm suggesting to add auto polyfilling support into @angular/cli.
Describe alternatives you've considered
If we can build all .ts via @ngtools/webpack with targeting esnext, then we can use babel to compiling all ES syntaxes totally but are able to get types metadata still at the same time.

Angular CLI doesn't automatically include polyfills for several reasons:

Modern Browser Support: The officially supported browsers by Angular (https://angular.io/guide/browser-support) often don't necessitate polyfilling.
Esbuild Integration: Since version 17, Angular's build process leverages esbuild, prioritizing speed and efficiency. Including automatic polyfilling via Babel would introduce overhead.
Developer Choice: By not imposing a specific polyfilling solution, Angular empowers developers to select the polyfills that best align with their project requirements and preferences.

Esbuild Integration: Since version 17, Angular's build process leverages esbuild, prioritizing speed and efficiency. Including automatic polyfilling via Babel would introduce overhead.

But, as far as I know, the new ESBuild based build system still uses babel under the hook, isn't it?

From my perspective automatic polyfilling is a valid usecase. Consider the case that you have to support Chrome 88. Some time later your customer updates their Chrome and you only have to support Chrome 95. You would then have to determine which polyfills can be removed.
Also polyfilling based on the usage in your code base could be handled through babel.
The CLI might have a flag to enable/disable it (default disabled).
@MillerSvt Can you provide the webpack config to make auto polyfilling work?

        module: {
            ...module,
            rules: [
                // Adding babel-loader before all others, because angular loader
                // should already receive a valid file with polyfiles as input
                {
                    test: /\.[cm]?[tj]sx?$/,
                    // Exclude libraries that don't need to be polyfilled
                    exclude: /node_modules[\\/](?!@some-untrusted-library)/,
                    use: {
                        loader: `babel-loader`,
                        options: {
                            presets: [
                                [
                                    `@babel/preset-env`,
                                    {
                                        corejs: `3.37`,
                                        useBuiltIns: `usage`,
                                    },
                                ],
                            ],
                        },
                    },
                },
                ...(module?.rules ?? []),
            ],
        },

Thanks. Where does ...module come from? Is it a import from the angular cli webpack config?

Thanks. Where does ...module come from? Is it a import from the angular cli webpack config?

updated the example

With your update the build works, but nothing is polyfilled.

With your update the build works, but nothing is polyfilled.

It works for me. What builder are you using? I use the @nx/angular:webpack-browser builder. I haven't tested it with the default builder.

Yeah thats exactly my setup. NX with @nx/angular:webpack-browser. Here are a couple of questions:

do you have an additional .babelrc?

do you use a .browserslistrc?

which version of nx/angular do you use? (I use angular v17, nx v18)

did you specify the following in your nx.json?

{
"plugin": "@nx/webpack/plugin",
"options": {
"buildTargetName": "build",
"serveTargetName": "serve"
}
}

do you have an additional .babelrc?

no

do you use a .browserslistrc?

yes:
extends @taiga-ui/browserslist-config

which version of nx/angular do you use? (I use angular v17, nx v18)

17

did you specify the following in your nx.json?
no

Two last questions (sorry to bother you :D):

Do you have a polyfills entry in your project.json? (zone.js should be there I suppose)
Do you know how angular/webpack knows that it has to pass the polyfills from babel into the polyfills.hash.js?

I have polyfills entry with only zone.js.
Babel compiles every source file and adds the necessary polyfills with imports to the same file. So it adds polyfills to the same entry where they are used, instead of adding them to a separate polyfills entry.

That was the missing link. When creating an Angular NX project by default outputHashing is set to all in build -> configurations -> production. This results in files having such filenames: main.cf0f75c4009e0a01.js. When removing outputHashing it works. But I would like to keep outputHashing. Maybe I find a solution.

Thanks again @MillerSvt for your help. I wrote a comprehensive guide with all my findings on stackoverflow: https://stackoverflow.com/a/78611674/6098257 maybe this helps someone.

The officially supported browsers by Angular (https://angular.io/guide/browser-support) often don't necessitate polyfilling.

@alan-agius4 It's a bit confusing for me. This means that if we want to have support for chrome >= 88 ' for example, then we can't upgrade above Angular 11`? This is complete nonsense!


Update to account for SwiftSyntaxMacros module rename and overhaul

Deal with the rework of MacroExpansionContext and the macro protocols, switching to the SwiftSyntaxMacros module in the process.
This ended up growing in scope slightly: we weren't detaching nodes before passing them to macro implementations like we should. Doing so broke diagnostics emission, so introduce a source manager that can handle detaching and such.

https://github.com/apple/swift-syntax/pull/1288
@swift-ci please smoke test

https://github.com/apple/swift-syntax/pull/1288
@swift-ci please smoke test

https://github.com/apple/swift-syntax/pull/1288
@swift-ci please smoke test

https://github.com/apple/swift-syntax/pull/1288
@swift-ci please smoke test

https://github.com/apple/swift-syntax/pull/1288
@swift-ci please smoke test

https://github.com/apple/swift-syntax/pull/1288
@swift-ci please smoke test

https://github.com/apple/swift-syntax/pull/1288
@swift-ci please smoke test


Add SSL Option to Backend Service

This PR allows the backend service to be secured with SSL.
It is completely optional, if the environment variables are not set the service will start up as normal without SSL.
To enable this, set the following environment variables:
BUSOLA_SSL_ENABLED=1
BUSOLA_SSL_KEY_FILE=/path/to/tls.key
BUSOLA_SSL_CRT_FILE=/path/to/tls.crt
BUSOLA_SSL_CA_FILE=/path/to/ca.crt

Changes proposed in this pull request:

Add the option to secure the backend service with SSL

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

/test all

Hi @KaiReichart, thanks for your contribution! To get this thing running on CI, you need to also bump the k8s deployment here - https://github.com/kyma-project/busola/blob/main/resources/backend/deployment.yaml#L23. Just use your PR number.

/retest

hey @Wawrzyn321,
thanks for the pointer, have updated it but unfortunately can't trigger the retest

/test all

Hi @KaiReichart
we have a problem with linter check, please run npm run lint-fix in main catalog, there will be that changes:

After that, we can run tests on your PR.
I try to do it myself but I don't have access to your repo.
Thanks!

hey @mrCherry97, just coming back from holiday!
I added the changes you suggested, can you try the tests again pls?

/test all

@KaiReichart Hello again. I regret to inform you that after a longer discussion with my product owner and team we won't be merging this - we don't need this SSL option for our Busola hosting, and (even if it's an opt-in thing) we'd need to provide full future support for this.
I hope running Busola from your fork will be fine and just enough for you. Thank you for your effort and good intentions.

@KaiReichart Thank you for reaching up on Slack Channel.
Your use-case seems to be a valid one. Can you adjust the documentation and maybe provide a istio configuration that will work with https https://github.com/kyma-project/busola/tree/main/resources/istio

@valentinvieriu @Wawrzyn321 @mrCherry97
Thanks for your input, I added some more documentation and a sample DestinationRule for the istio configuration.
Is this sufficient? Or should I go into more detail in the docs?

/test pre-busola-integration-test-k3s-namespace


JWT Dependency pulled from ruby_gems

Hey this is very hot given the whole left-pad incident.
So the JWT gem looks to have been pulled from ruby gems thus breaking this library, and the gloud-ruby gem as well.

NVM only v1.5.3 was pulled updating my Gemfile.lock fixed the issue.  They must of yanked it yesterday.


Missing HTML content

Hi,
I'm experiencing a problem on this website with puppeteer.
Website url: http://www.aspo.com/en/news
The page seems to load properly. After the page is loaded it waits for a while before displaying the press-release list. The data for the press-releases is loaded after the main page and it takes a few seconds the be renedered in html.
The html content for the press release list is not present in the code returned by puppeteer.
Below the code to reproduce the issue:
const puppeteer = require('puppeteer');
var fs = require ("fs");
let docRedirected = false;

(async () => {
    const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox'],
        headless: false,
        timeout: 10000
    });

    const page = await browser.newPage();
    await page.waitFor(1000);
    await page.setRequestInterception(true);

    const onResponseHandler = (response) => {
        docRedirected = response._url;
    };

    page.on('response', onResponseHandler);

    page.on('request', interceptedRequest => {
        interceptedRequest.continue();
    });

    await page.setViewport({
        width: 1280,
        height: 800
    });

    try {
        const htmlCode = await page.goto('http://www.aspo.com/en/news');
        await page.waitFor(500);
        console.log(await htmlCode.text());
        await browser.close();

    } catch (e) {
        console.log(e);
        browser.close();
    }
})();

If you search inside the html code returned by puppeteer by one of the title present in the press-release list nothing is present.
Am I doing something wrong ?

@MadGhigno
htmlCode.text() (i.e. response.text()) contains HTML returned by the server without any dinamic content added by the page scripts.
You need the page.content() instead, but it is huge for this page due to a big amount of data hidden in the Releases table. If you just need a visible headers list, this can suffice:
console.log(await page.evaluate(() => document.body.querySelector('#archive').innerText));


The plugin should output a report compatible with Dependency Check

Dependency Check outputs a file in a format that Sonar understands it would be good for this plugin to produce the same report format.

osv-scanner supports sarif format, this may be the format that is compatible with Sonar. Need to validate this by running a sonar instance and importing the report.
Post 1.0 release


Get-SPOTenantLogEntry Command not working.

Get-SPOTenantLogEntry is not available for us. is there any plan to make it available for everyone?

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

ID: 09da7b62-1030-7e2e-03c3-388925add9c9
Version Independent ID: 83480c70-9a33-06a8-d9a8-a4189ad7af5d
Content: Get-SPOTenantLogEntry (sharepoint-online)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Get-SPOTenantLogEntry.md
Service: sharepoint-powershell
GitHub Login: @vesajuvonen
Microsoft Alias: vesaj

@officedocsbot assign @yogkumgit

agreed ... this does nothing me as well ... even running the command alone without params returns squat

Not working for me as well. No error/No output.

According to MS, this will not be allowed.
https://sharepoint.uservoice.com/forums/330318-sharepoint-administration/suggestions/11485845-get-in-sharepoint-online-the-uls-entries-for-your

It will not work, SharePoint Engineer has removed this since 2015.
You can send the support desk a copy of the correlation ID, it takes a week or two on average from what my sys admins have told me (They put in all our requests). You will either get the log lines, a translation of what happened or be told it is internal.

Hello everyone,
Thanks for your feedback.
I can confirm that the cmdlet is of internal use.
Thank you

@get-itips  Thank you very much for the contribution and sharing this explanation. @MaxKraft
Hope this comment is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


feat: more API for the complex of morphisms between cochain complexes

This PR shows that the composition of cochains is bilinear and introduces the differential on cochains.

[x] depends on: #6720

bors r+


Feature request: Map k8s pod labels as project tags

As a System Operator,
I would like to add pod labels as project tags in DependencyTrack
So that grouping/filtering by label in dtrack is possible
Background: We use k8s pod labels to determine and group things like application, stage, department, ...
Given the following deployment was applied to k8s cluster:
  ---
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: dependencytrack-frontend
    namespace: dependencytrack-sales-live
  spec:
    template:
        metadata:
          labels:
            app=dependencytrack
            stage=live
            department=sales
            service=inventory
        spec:
          containers:
            - name: dependencytrack-frontend
              image: dependencytrack-frontend:4.5.1
  ---
When the sbom-operator scans the pod and adds the project to dtrack
Then the following tags should be added to dtrack:
  [namespace=dependencytrack-sales-live, app=dependencytrack, stage=live, department=sales, ...]
But currently only the following tags are added:
  [namespace=dependencytrack-sales-live, ...]

What do you think about the idea of adding Labels map[string]string to struct libk8s.PodInfo and allow custom mapping of labels to dtrack project tags?
What would be an appropriate way to configure the custom mapping?
sbom-operator is awesome. Thank you!

Hi @muellerst-hg,
thanks for your request. Sure, the Dependency Track integration can be extended with the pod-labels as you specified.
What do you mean with "custom mapping"? Can you give a few more details about this?

Maybe "custom mapping" isn't the right term.
Given I have the following labels:
  app=dependencytrack
  stage=live
  department=sales
  service=inventory
  pod-template-hash=12c5401afc
And I have selected "app" and "stage" as labels to be added as tags
Then the following project tags should be added to dtrack
    app=dependencytrack
    stage=live

With two labels "app=dependencytrack" and "app=nginx", some magic would be required to identify both by matching "app" left of the equals sign.

A user could provide a regex for matching labels like SBOM_DTRACK_LABEL_TAG_MATCHER="^(?:app|stage)="

I got it, you want to control which pod-labels where mapped to Dependency Track.


./github/scripts/auto-backport: align process to source available and more

Syncing a few changes that have already been implemented in scylla-pkg:

remove condition for enterprise - since we are now running always from the scylla-machine-image repo
run backport process from stable branch (which is master)
improve conflict cases - by adding a comment to notify the PR owner
pass label for each pull_request_target trigger

@Annamikhlin ping review


Add internal kb info to docs

@ragog it seems to be already documented https://www.checklyhq.com/docs/api-checks/setup-teardown-scripts/#technical-limitations
I'll delete this one


[feature] support list meta variable transformation

⭐ Suggestion
It is impossible to transform a multiple-meta-variable match at the moment.
We can only move multi-var match around in the fix.
It is possible to introduce a list-comprehension like transformation to the YAML rule.
Promposal:
rule:
  pattern: $$$LISTS
transform:
  NEW_LIST:
    source: $$$LISTS
    item: $ITEM
    rewrite: rewriteWith($ITEM)
    includeUnnamed: true # optional, default to false
fix:  useNew($$$NEW_LIST)

💻 Use Cases
Suppose we have this code.
import {A, B, C} from 'lib'

We want to transform it to
import A from 'lib/a'
import B from 'lib/b'
import C from 'lib/c'

This can be achieved by something similar to
rule:
  pattern: import {$$$IMPORTS} from 'lib'
transform:
  NEW_IMPORTS:
    source: $$$LISTS
    item: $ITEM
    rewrite: import $ITEM from 'lib/$ITEM'
    includeUnnamed: false # optional

Questions

should list transform produce one new transform variable or one multi-meta-var? Put it in another way, should people use the list transformed variable as $LIST or $$$LIST?
what if I want to transform $ITEM? e.g. in the example above $ITEM is A but the actually we need a lowercase a in  'lib/a' as import source.
Is it making the rule/fix system way too complex? I remember using bad YAML rules in my day job.

This can be accomplished today by writing two rules and running them repeatedly until there are no more matches:
import {$FIRST, $$$REST} from 'lib'
->
import $FIRST from 'lib/$LOWERCASE_FIRST'
import $REST from 'lib'

and
import {$ONLY} from 'lib'
->
import $ONLY from 'lib/$LOWERCASE_ONLY'

List meta transformation may be related to this. We need a way to select a list of nodes.
https://github.com/ast-grep/ast-grep/issues/779

List comprehensions seem artificially limiting. What it i want to transform groups of N items together, e.g. convert key: value pairs to key=value. It would be much more powerful and add less complexity to the mental model if it was possible to run one or more rules over the contents of a list metavariable, thereby harnessing all the existing capabilities instead of adding new one-off functionality.

@emosenkis would you like to elaborate more on the grouping and converting? I am interested in alternative ways to transformations.

I think what I was trying to express is that I don't think transformations are the right abstraction here. ast-grep is an incredibly powerful framework for transforming code and it doesn't make any sense to me to create a second, much less capable, mechanism for transforming code. Why not instead allow rules to be run against the metavariables. The config might look something like this:
rule:
    id: dict-constructor-to-literal
    language: python
    pattern: dict($$$PARAMS)
   # not included here: filter out positional argument dict constructor calls, e.g. dict(list_of_pairs)
fix:
    { ${applyRules(dict-items, $$$PARAMS)} }
---
rule:
    id: kwarg-to-dict-literal
    language: python
    groups: [dict-items]
    pattern: $KEY=$VAL
    kind: keyword_argument
fix: "$KEY": $VAL

I'm combining a few ideas here, each of which can be accepted or rejected independently:

Add a transformation that can accept both regular and list metavariables as input and runs one or more ast-grep rules over the input, outputting the fixed result of applying those rules

Add a groups attribute to rules, allowing multiple rules to be identified by group IDs. Instead, the rule definitions could be required to be defined inline in the rule that invokes them or they could be referenced by individual rule IDs instead (both would work, but reduce reusability)

Borrowing from Bash and JS template string ${expression} syntax to allow function calls, not just variable names in variable interpolation. I like that because it avoids the need to define a new metavariable for every transformation, offering no way to inline metavariables that are only referenced once. It also offers a path towards consolidating the rule/fix and the transform systems into a single code-rewriting model, which would simplify the mental model and avoid all the gotchas resulting when each of the two mechanisms for transforming code only implements a subset of the capabilities required, resulting in awkward switching back and forth between the two systems. However, applying rules to metavariables could instead be implemented as just another transform, e.g.:
transform:
    DICT_LITERAL_ARGS:
        applyRules:
            source: $$$PARAMS
            rule_group: dict-items

Thank you for the detailed explanation! I really appreciate your informative input! 😃
I will also share my thoughts about the suggestions:

Add a transformation that can accept both regular and list metavariables as input and runs one or more ast-grep rules over the input, outputting the fixed result of applying those rules

This is a nice idea and it will be very powerful! My concern is whether nesting rules/referencing rules will be too complex for users to understand.

Add a groups attribute to rules, allowing multiple rules to be identified by group IDs. Instead, the rule definitions could be required to be defined inline in the rule that invokes them or they could be referenced by individual rule IDs instead (both would work, but reduce reusability)

I would prefer the latter solution by using rule IDs at first. Fewer concepts can make it easier to learn.

Borrowing from Bash and JS template string ${expression} syntax to allow function calls, not just variable names in variable interpolation.

The format of transformation is discussed in https://github.com/ast-grep/ast-grep/issues/436. I also proposed a mini-bash-like scripting language for fix templates. I eventually withdrew the proposal because it is too likely to evolve into another complex DSL hard to learn. I also had not designed the escaping mechanism for the fix lang, say, if users want to change 'string' + a + 'string'   into string${variable}string. It will require ast-grep add escaping for ${}

Contemplating on the essence of ast-grep rewriting, I found apply-rule is a nice fit for sub meta variable transformation.
ast-grep rewrite rule
The mental model of ast-grep is like:

parse the source to AST
find nodes based on rule/pattern. Note that every rewritten node does not overlap with each other.
generate fix string based on matched nodes
replace node text with generated fix

Rewrite list with Python's mindset
Previously I'm thinking about using list comprehension to transform multiple nodes. Indeed it is limited.  I was previously imagining something like the pseudo Python code below
[
  rewrite(node)
  for node in meta_var_list
  if node.matches(filter_rule)
]

So that I can generate a list of fix strings that correspond to meta_var_list.
Furthermore, I can aggregate the list transformation results into one string like "comma separated item list"
','.join(rewrite for node in list if filter)

The YAML transformation for the fake code above will be like
rewrite_list:
  source: $$$METAVARS
  item: $NODE
  filter:
    kind: xxx
  rewrite: rewrite($NODE)
  join: ','

What's missing in list comprehension?

it introduces a new concept of filter_rule in transformation that is not used anywhere else
it only manipulates the direct children of a node in the list
it only supports multiple meta variables. It is common to change some specific nodes that cannot be captured by meta vars. In list compression, it can be supported by introducing more sources (like children of a node, sibling of a node). But that introduces more concepts :/

(TO BE CONTINUED)

The simpler way: applyRule

applyRules make it possible to generate code fix that is not bound to a node range, making it more flexible to splice code fixes
we need a way to join the codefixes from applyRules. So that we have a way to aggregate the result. so the joiner property may still be added.

Also, applyRule transformation is orthogonal to powerful fixer, i.e. node range expansion. Theoretically it is possible to achieve node expansion by using applyRule, say:

find the parent node of the desired node
use the applyRule to rewrite the desired node
apply another rule to remove the nodes before/after the desired node.
replace the whole parent node with the new rewrite

 Click to see the comparison of expansion and applyRule to remove a key-value pair in a dictionary/object
Expansion:
rule:
  kind: pair
  has:
    field: key
    regex: test
fix:
  template: ''
  expandEnd:
    regex: ','

Apply Rules
utils:
  pairs:
    kind: pair
    has:
      field: key
      regex: test
rule:
  kind: object
  pattern: $OBJ
  has:
    matches: pairs
    stopBy: end
transform:
  NEW_OBJ:
    applyRules:
      source: $OBJ
      rules:
      - removePair
      - removeComma
rewriter:
  removePair:
    rule: { matches: pairs }
    fix: ''
  removeComma:
    rule:
      regex: /,/
      follows: { matches: pairs }
    fix: ''
fix: '$NEW_OBJ'

Concerns

ast-grep will record matched meta-variables in a dictionary called MetaVarEnv. It is unclear how to populate the env in applyRules. More concretely, how to inherit meta vars from parent rules? Should one invocation of a subrule impact another invocation's MetaVarEnv ?
Should we allow recursively calling sub-rule in sub-rule? If yes, how do we avoid
Sub-rule should only be called in parent rule. ast-grep should ignore

Withdrawn Proposal
⭐ Suggestion
It is impossible to transform a multiple-meta-variable match at the moment.
We can only move multi-var match around in the fix.
It is possible to introduce a list-comprehension like transformation to the YAML rule.
Promposal:
rule:
  pattern: $$$LISTS
transform:
  NEW_LIST:
    source: $$$LISTS
    item: $ITEM
    rewrite: rewriteWith($ITEM)
    includeUnnamed: true # optional, default to false
fix:  useNew($$$NEW_LIST)

💻 Use Cases
Suppose we have this code.
import {A, B, C} from 'lib'

We want to transform it to
import A from 'lib/a'
import B from 'lib/b'
import C from 'lib/c'

This can be achieved by something similar to
rule:
  pattern: import {$$$IMPORTS} from 'lib'
transform:
  NEW_IMPORTS:
    source: $$$LISTS
    item: $ITEM
    rewrite: import $ITEM from 'lib/$ITEM'
    includeUnnamed: false # optional

Questions

should list transform produce one new transform variable or one multi-meta-var? Put it in another way, should people use the list transformed variable as $LIST or $$$LIST?
what if I want to transform $ITEM? e.g. in the example above $ITEM is A but the actually we need a lowercase a in  'lib/a' as import source.
Is it making the rule/fix system way too complex? I remember using bad YAML rules in my day job.

Status update!
This rule

rewrites to this

All sub-tasks are done!


JobSpawn crashes when passed null for onExit

Description of the problem or steps to reproduce
Create a plugin with shell.JobSpawn that takes in nil as onExit
shell.JobSpawn("curl", args, nil, nil, nil)

Micro crashes with
Micro encountered an error: runtime.errorString runtime error: invalid memory address or nil pointer dereference
runtime/panic.go:260 (0x24ecd6)
runtime/panic.go:259 (0x24eca6)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:423 (0x6e566b)
github.com/zyedidia/micro/v2/cmd/micro/micro.go:400 (0x6e5251)
runtime/proc.go:250 (0x23c95e)
runtime/asm_amd64.s:1594 (0x26a0c1)

If you can reproduce this error, please report it at https://github.com/zyedidia/micro/issues

Specifications
Version: 2.0.14
Commit hash: 04c57704
OS: Windows
Terminal: Windows Terminal/Command Prompt

Already fixed with #3554.


I think this repo is removed from hacktoberfest (my pull req is marked excluded

@Harshvg2021 Yeah i have mailed the issue dw


Login stuck on cloudfare check and cannot see private league

🐞 bug report
Describe the bug

Login stuck on cloudfare check and cannot see private league
To Reproduce

Expected behavior

Screenshots

🌍  Your Environment

OS: Win10
Version: 0.8.7
PoE: 3.16

https://i.gyazo.com/5b29a1a67a4b16eb69b82d622c9fee55.mp4

This is still an issue.
https://i.gyazo.com/5b29a1a67a4b16eb69b82d622c9fee55.mp4

Thank you for reporting this. It has also been reported in the Discord channel. A fix/workaround will be made in the next release.


Fix test of first of 255 CBC padding bytes.

Thanks to Peter Gijsels for pointing out that if a CBC record has 255
bytes of padding, the first was not being checked.
(This is an import of change 80842bdb from BoringSSL.)

I'm afraid that this is my screw-up, twice: I screwed up the original code and then, when it was reported to me, I read the report as suggesting that the reporter was going to report to OpenSSL too but, on rereading, it they didn't mean that.
Security-wise, I don't think this is important. Very few clients will send this much padding and, even if they do there's only one byte that's not checked, giving an attacker a negligible chance of finding a block that happens to work.

we forgive you :)
ship it.

+1 (the Travis failure appears to be a flake)

pushed at eea8723.  thanks.


fix: createPoolTx coin selection

This PR is a rework of the createPoolTx coin selection strategy. It fixes "dust" errors happening if the second fee estimation fails.
@altafan please review

createPoolTx > createRoundTx as we are at it


Solution to specify-exact-number-of-matches.english JavaScript Challenge

Added an explanation to the working code too

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

@aesher9o1 I agree with @paulywill on this requested change.

Sure!! I'll do the needful.
On Thu, Feb 21, 2019, 2:10 AM Randell Dawson<EMAIL_ADDRESS>wrote:

@aesher9o1 https://github.com/aesher9o1 I agree with @paulywill
https://github.com/paulywill on this requested change.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/pull/34757#issuecomment-465744039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbvMA5ax06HVj4vzKEQdnpOwpzfN7ryhks5vPbK6gaJpZM4ZkExy
.

@paulywill I made the requested changes on behalf of the user.  I also removed the comments in the code, which did were not necessary.  I have tested the solution.  If you are OK with the changes, please approve and merge at will.

@aesher9o1 @RandellDawson Thank you!


Pressing escape in the terminal should clear the selection

Testing #46594.

Select command output that was previously scrolled out of the viewport
Realize you were off by one and selected the wrong output
Press ESC
-> The output is deselected and the terminal scroll to the prompt. If the command was several dozen commands before, I have to go all the way back to correct an off-by-one mistake.

I'm unsure what the right thing is. I'd expect the first ESC to remove the selection and the second to jump back. But I'm not sure how many flows would break with that.

The behavior you're after seems reasonable, I think to do that we would need a terminalHasSelection context key (like editorHasSelection) and then add a terminal.integrated.clearSelection to ESC. Open to PRs.

@Tyriar I can jump on this one. I'd like to complete a few of these "good first issue" issues before moving on. I already have a PR for another one. How does that sound?

@ddruker sounds good! Also I just realized that we already have such a context key terminalTextSelected, so it will be easier than I expected 😃

@kieferrm or @Tyriar Would it be possible to add a once or two sentence user story to this issue? This way the solution will address that issue exactly.
"As a user I would like to ...."

@kieferrm Please view the gif below and confirm this is the problem. When terminal output is selected and you press escape once it immediately scrolls to the prompt rather then just deselecting the text. You would like the escape key to just deselect on the first press and jump on the second.

@Tyriar Just wondering. I have this working by adding it to terminal.integrated.commandsToSkipShell but would you prefer this as a separate configuration called terminal.integrated.clearSelection? We do need to control the keybinding here.  Please see the working UX below.
The user can select and when escape is pressed, it will clear the selection.

@ddruker looks good! We shouldn't have a setting for this as people can unbind the keybinding. For commandsToSkipShell you want to add the command to the default values for that setting:
https://github.com/Microsoft/vscode/blob/b66f0ba3c70b08ffc046a9f1a6f56e0260129540/src/vs/workbench/parts/terminal/electron-browser/terminal.contribution.ts#L207

Thanks @Tyriar ! I look forward to the feedback.

Fixed in https://github.com/Microsoft/vscode/pull/47042, thanks @ddruker :+1:


Java code?

Hi,
I was wondering if I can use your package with java?
I tried but got stuck at the PlaceAPI.builder part.
Is it supported and if so, could you provide the code?
Would be a big help, really looking to implement something like this instead of the usual AutoCompleteSupportFragment.
Thanks in advance.

Hi @Luuk99 !!


MILLION / color_temp

i am getting this error
ESP_MQTT_Digital_LEDs:394: error: 'MILLION' was not declared in this scope

#37

Simply define MILLION at the beginning of the code:
#define MILLION 1000000


Cannot import class

Hi,
I've got error, when tried to save your example as python script
Traceback (most recent call last):
File "magicswitchbot.py", line 1, in
from magicswitchbot import MagicSwitchbot
File "/home/pi/Python-3.5.2/magicswitchbot.py", line 1, in
from magicswitchbot import MagicSwitchbot
ImportError: cannot import name 'MagicSwitchbot' from 'magicswitchbot' (/home/pi/Python-3.5.2/magicswitchbot.py).
If I change it to "import magicswithbot" rather than "from magicswitchbot import MagicSwitchbot" , then I get another error
device = MagicSwitchbot(mac=MAC)
NameError: name 'MagicSwitchbot' is not defined.

Could you show me your project's file structure?
How do you name your test program?

Ok, It works! I did nothing, but rename script from magicswitchbot.py to test.py )
apparently name "magicswitchbot" somehow was confusing with the library, as you said!
Thank you! Now switchbot connected!
NFO:magicswitchbot:Connected to MagicSwitchbot at 34:14:B5:4B:2D:48
INFO:magicswitchbot:Auto-disconnect enabled after 30 seconds.
, but then I got another error
Traceback (most recent call last):
File "test.py", line 12, in
res = device.get_battery()
File "/usr/local/lib/python3.7/dist-packages/magicswitchbot/init.py", line 578, in get_battery
ok = self._sendCommand(self.CMD_GETBAT, "01", self._retry_count)
File "/usr/local/lib/python3.7/dist-packages/magicswitchbot/init.py", line 397, in _sendCommand
go = self._auth(self._password)
TypeError: _auth() takes 1 positional argument but 2 were given
INFO:magicswitchbot:Client disconnected from 34:14:B5:4B:2D:48

Make sure you have the latest code from the library.
If you are cloning it with git, run:
$ git pull

at the local working copy...
If you downloaded, make sure to download it again, the current main branch does not have that error.

It's working now! Thank you

You're welcome!


"Error: Kubernetes cluster unreachable" when creating upstream k3s cluster on aws

I have cloned the repo to my local laptop.

I think I found the issue. I added an output to check what the kubeconfig file points to:
kourosh@kourosh:~/tf-rancher-up/recipes/upstream/aws/k3s$ terraform output
instances_private_ip = [
  [
    "<IP_ADDRESS>",
  ],
  [],
]
instances_public_ip = [
  [
    "<IP_ADDRESS>",
  ],
  [],
]
kubeconfig_file = "~/.kube/rancher-terraform.yml"
rancher_bootstrap_password = "initial-admin-password"
rancher_hostname = "rancher.<IP_ADDRESS>.sslip.io"
rancher_url = "https://rancher.<IP_ADDRESS>.sslip.io"
kourosh@kourosh:~/tf-rancher-up/recipes/upstream/aws/k3s$ cat \~/.kube/rancher-terraform.yml
cat: '~/.kube/rancher-terraform.yml': Is a directory
kourosh@kourosh:~/tf-rancher-up/recipes/upstream/aws/k3s$ ls \~/.kube/rancher-terraform.yml
kourosh_kube_config.yml  kourosh_kube_config.yml.backup

The script creates a directory in ~/.kube/ with the name rancher-terraform.yml and then the kubeconfig file is generated beneath that directory. But the script is trying to use ~/.kube/rancher-terraform.yml as the kubeconfig file which is invalid.

Thanks @kourosh7, looks like we need to check the logic here https://github.com/rancher/tf-rancher-up/blob/main/recipes/upstream/aws/k3s/main.tf#L2-L4
Will pick up on this next week

I think the issue might be related to the kubeconfig_file having a full path, looking at the code it should have a filename only, if you want the path you can add that too, eg
kube_config_path = "~/.kube/"
kube_config_filename = "rancher-terraform.yml"

https://github.com/rancher/tf-rancher-up/blob/main/recipes/upstream/aws/k3s/variables.tf#L106-L116
By default, without a path it will use the current working directory (cwd)
https://github.com/rancher/tf-rancher-up/blob/main/recipes/upstream/aws/k3s/main.tf#L2-L4

@dkeightley I think you are on the right track. The problem can be seen when:

following the example in the terraform.tfvars.exmple file:

## -- Override the default (${prefix}_kube_config.yml) kubeconfig file/path
kube_config_path = "~/.kube/rancher-terraform.yml"

Following your example has the same problem.

It works fine when:

kube_config_path is set to just a filename
Not setting any file/path in the terraform.tfvars file at all


Move method refactoring causes syntax errors due to dependency on interfaces

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

VS Code Version: 1.88.1
OS Version: Windows11
-Language：java
Steps to Reproduce:

select "myMethod()"
2.click “Refacator-Move method”

class OriginalClass {
TargetClass c;
interface InnerInterface {
void innerMethod();
}
public void myMethod() {
    InnerInterface inner = new InnerInterface() {
        @Override
        public void innerMethod() {
            // Some logic here
        }
    };
    inner.innerMethod();    }

}
// TargetClass.java
class TargetClass {
}
reafactoring result:

/extJava

It looks like this is caused by the Java extension. Please file the issue to the Java extension repository. Make sure to check their troubleshooting instructions and provide relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


Fix build virtualenv-clone with python3.8

Fixes #59

@eeshangarg we should probably do a release so Python 3.8 support works?


Create README.md for product analytics instructions

Where is that duplicated from?

Where is that duplicated from?

RIght now its not duplicated from anywhere. It could be duplicated by the template detail page content on moosejs.com/templates/[template id] but currently that page does not use markdown

Let's merge then


Cannot Acces to the Library

When i try to exprt my plugin comes an error: cannot access dev.jcsoftware.jscoreboards.JGlobalScoreboard

Hello,
This was resolved in version 2.1.1-RELEASE. Please update your project accordingly and reopen the issue if it hasn't been fixed properly.


Github pages, but where

Yo where the gh pages hosted at?
I see this 🚀Deploy to gh-pages at branch gh-pages but can't find the url to wherever 😩
ty fam

Should be here: https://goodbyekansas.github.io/nedryland/ :)


GitHub Actions failing and time increased

INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while. This message comes before the error.

pip is having to resolve which version of unspecified packages to install. It errors due to an incorrect print statement in pip for some of these packages. I specify a version for the packages to speed up the dependency install process and to resolve this issue.

Not a DVC issue, was cause by the new version of pip. Using legacy options will work for now


Support label based namespace partitioning

Closes #411
This is just a rebase of https://github.com/Shopify/kubernetes-deploy/pull/421 on https://github.com/Shopify/kubernetes-deploy/pull/425 (for https://github.com/Shopify/kubernetes-deploy/pull/424) to get early feedback and test results.

This isn't serving any purpose; closing.


Add delegation tests

Perhaps replicate https://github.com/iotaledger/iota.go/blob/develop/vm/nova/stvf_test.go#L3168-L3694

Closed by https://github.com/iotaledger/iota-sdk/pull/1976


[Docs] Option to go back to English from Espanol

Current State
When we go to the Espanol page there is no option to go back to the English version
Desired State
When we are on the English version then there is a button at the top right corner to Espanol. So when we are on the Espanol page then the button should change to English to go back to the English version. Or maybe we can make a dropdown with two options which might be a better approach because in the future we might introduce docs in another language.
Screenshot

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

i want to work on this

@varunsaral Any updates on this?

@adithyaakrishna need some help , can i ping you on slack?

@varunsaral are you still working on this issue?

@Abhijay007 let's talk on slack about this issue , i have some doubts

@Abhijay007 let's talk on slack about this issue , i have some doubts

okay :)

@leecalcote I would love to work on this challenging issue if I got assigned 😀

is this issue still open ?? if yes I would love to work on this

@Chadha93 is this issue still open ?? if yes I would love to work on this

Sure @Ayan-thecodeking, just a quick check - are you able to build docs locally? If yes let's get you assigned.

dropdown wi

@Chadha93 can you please brief me, on what you mean by building docs locally.

dropdown wi

@Chadha93 can you please brief me, on what you mean by building docs locally.

building docs locally means - are you able to setup and run the project on your system? For this specific issue, you need to run the meshery docs locally to make changes accordingly and then make a pr. Hope this helps. 😃

dropdown wi

@Chadha93 can you please brief me, on what you mean by building docs locally.

building docs locally means - are you able to setup and run the project on your system? For this specific issue, you need to run the meshery docs locally to make changes accordingly and then make a pr. Hope this helps. 😃

Got it .. I'm beginner but I'll try my best and make a pr 🙌

The language translation link is removed !?

Upkeep on the translated pages wasn’t happening and so I believe the limit to that translated pages has been removed. Let’s go ahead and close this issue.


raw.plot() axes overlap on macOS with qt5 backend

When I plot raw data on macOS using the qt5 Matplotlib backend, some axes overlap and are therefore unreadable (the time axis labels of the currently visible segment, the "Ch." label, the channel labels, the x axis label, and even the "Help" button):

Everything works when I use the default osx backend though:

Is this something we can fix? Where would you start debugging this in the first place? BTW, everything looks normal on Linux using the qt5 backend, so it seems to be specific to macOS (I don't have Windows to test this).

Probably an issue with HiDPI / physical vs logical pixels. I'd start out by searching terms related to this to find issues like https://github.com/matplotlib/matplotlib/issues/8052.
If nothing promising having to do with HiDPI / scaling / physical vs logical pixels comes up, I'd try to replicate using a minimal example that just uses plt calls that mimic what we do in raw.plot (which appears to be at least constructing axes using plt.subplot2grid). Then once the MWE is set, ping the matplotlib listserv to see the right way to deal with it.

I confirm the problem on my mac

@larsoner you're right, this is definitely related to HiDPI resolutions. I usually scale my 3840x2160 display to 3360x1890, but if I turn off scaling (that is, if I use the full 4K resolution), the plot looks fine.

are you doing this on a laptop screen too? on my mac book with default
settings I have the pb.

Yes, the default on MacBooks with retina display is also some scaled resolution.

I couldn't come up with a simple MWE, but I found that maybe we can fix the problem in https://github.com/mne-tools/mne-python/blob/56ce204fda6763458540755988f97c76a69bbcbd/mne/viz/utils.py#L472 ourselves. I tested with 5 resolutions and 2 backends (Qt5Agg and macosx), here are the values for the sizes we compute:
Qt5Agg
======

1:1 3840x2160:
size = [1620.  939.], get_size_inches = [16.2   9.39], dpi = 100.0
pos = [0.06172839506172839, 0.10117145899893504, 0.9104938271604939, 0.8615548455804047]

Scaled 3360x1890:
size = [3240. 1878.], get_size_inches = [16.2   9.39], dpi = 200.0
pos = [0.030864197530864196, 0.05058572949946752, 0.9552469135802468, 0.9307774227902024]

Scaled 3008x1692:
size = [3240. 1878.], get_size_inches = [16.2   9.39], dpi = 200.0
pos = [0.030864197530864196, 0.05058572949946752, 0.9552469135802468, 0.9307774227902024]

Scaled 2560x1440:
size = [3240. 1878.], get_size_inches = [16.2   9.39], dpi = 200.0
pos = [0.030864197530864196, 0.05058572949946752, 0.9552469135802468, 0.9307774227902024]

2:1 1920x1080:
size = [3240. 1878.], get_size_inches = [16.2   9.39], dpi = 200.0
pos = [0.030864197530864196, 0.05058572949946752, 0.9552469135802468, 0.9307774227902024]

macosx
======

1:1 3840x2160:
size = [1620.  939.], get_size_inches = [16.2   9.39], dpi = 100.0
[0.06172839506172839, 0.10117145899893504, 0.9104938271604939, 0.8615548455804047]

Scaled 3360x1890:
size = [1620.  939.], get_size_inches = [16.2   9.39], dpi = 100.0
pos = [0.06172839506172839, 0.10117145899893504, 0.9104938271604939, 0.8615548455804047]

Scaled 3008x1692:
size = [1620.  939.], get_size_inches = [16.2   9.39], dpi = 100.0
pos = [0.06172839506172839, 0.10117145899893504, 0.9104938271604939, 0.8615548455804047]

Scaled 2560x1440:
size = [1620.  939.], get_size_inches = [16.2   9.39], dpi = 100.0
[0.06172839506172839, 0.10117145899893504, 0.9104938271604939, 0.8615548455804047]

2:1 1920x1080:
size = [1620.  939.], get_size_inches = [16.2   9.39], dpi = 100.0
pos = [0.06172839506172839, 0.10117145899893504, 0.9104938271604939, 0.8615548455804047]

With the macosx backend, the figure is always correct. With the Qt5Agg backend, the figure displays correctly only using the native 1:1 resolution. All other resolutions yield twice the dpi and size. I wonder if we can use this somehow in our border calcuations...

You can use dpi_ratio = getattr(fig.canvas, '_dpi_ratio', 1.) to get the HiDPI ratio. Can you see if there is a way to fix our spacing using this value?

@larsoner can you test #6043 to see if this works for you?


fix: add support for dynamic config url

We are migrating to the single auth provider (removing infamous mas-sso). This PR targets to enable us to do it.
This PR:

Adds ability to detect if mas-sso should be used for authentication
Adds ability to use dynamic tokenURL

What this does

We are using dynamic url for tokenUrl from Kas-API. Previously that API were hardcoded so it is huge change.
temp.go is very ugly hack to enable us have dynamic switch once migration happens. What this does is call our api which is unprotected to know if mas-sso is used. If not it uses the sso.redhat.com token.

Assumptions
Both are based on following assumptions:

MAS.SSO will be running after migration for some time as CLI will still login to mas-sso (I can use the same flag to disable login if needed)
During migration url on that endpoint will be changed to sso.redhat.com
The same client and token can be used for both data plane and control plane after migration

@akoserwal @Rajagopalan-Ranganathan I think this PR is going to solve all issues we would have and it can be merged instantly once we get ssoProviders api public into production.

I actually added ability to do conditional login considering that users do not update CLI that often as we can update UI

I have verified this change with mock to test all cases.

I realized that we need support for calling stage API as well - Current PR does call production only

Ideally we want to test migration 3-4 times on stage before we go to prod with already released UI and CLI that can switch dynamically

Fixed problem with not using stage/prod env. Looking to test this with real API :D

LGTM!


Notes with date and time.

A user can write notes using voice and it will be saved with date and time in a text file
Just like a Voice Diary.
Kindly assign me this feature for SWOC.

Go on !


Journalctl can suppress messages resulting in lost console output

When running posh as a service and using journalctl to view the logs (as per poshc2.service) if there are a lot of messages or lines then journalctl can suppress those messages resulting in incomplete information being logged to the console.
The full output is still logged to the database however.
The initial limit on linux mint/ubuntu appears to kickin around 3-4000 lines into a large file when being cat-ed, but it's rate limiting not line limiting so the value will vary.
Journalctl rate limiting can be adjusted in /etc/systemd/journald.conf, rate limiting can be turned off with a value set to 0 but be aware this is a system-wide change.
See below for more information:

https://bani.com.br/2015/06/systemd-journal-what-does-systemd-journal-suppressed-n-messages-from-system-slice-mean/
https://www.rootusers.com/how-to-change-log-rate-limiting-in-linux/

An alternative could instead be to just run python C2Server.py > server.log rather than using journalctl, then tail -f server.log to view it? That way you get a full log and the output without changing system config...?

Fixed in 4.8, see https://github.com/nettitude/PoshC2_Python/blob/master/README.md


Update create-retail-experience-app.md

Same sentence is repeated twice. Recommending removing the duplicate one.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: tatelang sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


extra file?

i found this file: https://github.com/ploomber/soorgeon/blob/main/tests/please_delete_me.yaml
looks like something we should delete (?)

Good catch!
@Wxl19980214 ? something we missed in the code review?

I dont recall lol. My bad. But it sure needs to be deleted

Please remove and PR so we know it doesn't break anything.

Ok on it


Configure records produced per second

How do I configure records produced per second by the monitor? It is pretty high right now.
Also I don't want to produce every second. How do I configure this as well?

@anandsk123 You can modify produce.record.delay.ms in the config/kafka-monitor.properties to specify the delay in ms before Kafka Monitor sends the next message. You can use this config to control the number of messages that will be sent in each second.

I tried changing this, and also rebuilding the project. It does not throttle.
Please let me know.

@anandsk123 I have tested Kafka Monitor by tuning produce.record.delay.ms in config/kafka-monitor.properties. The records-produced-total increases at a lower rate as expected if I increase produce.record.delay.ms. How do you figure out this is not working? Have you asked others to reproduce the issue?

How do I configure 'records-produced-rate' specifically?


Soundmanager

Hi,
your library looks fantastic!
is it possible to combine wavesurfer with soundmanager (http://www.schillmania.com/projects/soundmanager2/ )?

+1

I haven't tried, but I think it should be possible. You need to take the same audio element that Soundmanager is playing and pass it to wavesurfer.js, like here: https://github.com/katspaugh/wavesurfer.js/blob/master/example/video-element/main.js#L17-L19

I'm trying to do this too and I got the waveform to generate using Bar UI and some simple jQuery:
$('.sm2-playlist-bd li a').on('click', function() {
	var tURL = $(this).attr('href');
	wavesurfer.load(tURL);
});

This generates the waveform but I'm having no luck binding seek changes from wavesurfer to the Bar UI progress or vice-versa.
Ideally, when you mouse click in the waveform (using the wavesurfer seek method) to apply those changes to the SM2 progress bar/ball and likewise when changing the progress bar/ball in SM2, update the seek location in the wavesurfer waveform.
I've tried with this with no luck:
 wavesurfer.on('seek', function (position) {
     var currentTime = position * wavesurfer.getDuration();
     var trackTime = wavesurfer.getCurrentTime(position);
     var ttime = fmtMSS(trackTime);

     // none of these stick
     $('.sm2-progress-bar').attr('style', 'width:' + currentTime + '%');
     $('.sm2-progress-ball').attr('style', 'left:' + currentTime + '%');
     $('.sm2-inline-time').html(ttime);

});

function fmtMSS(s){return(s-(s%=60))/60+(9<s?':':':0')+s} // turns raw seconds into mm:ss

Any ideas on how to do that?


How to get iOS notifications?

Is there a way to receive iOS notifications when a block update comes in?

Unfortunately the Web Notifications API is not supported on iOS, so there's no easy way for us to support this.


Nexus 6p

User reported app not working at all on the 6p. Please fix!

E-mailed the user, and can confirm it was the same issue I was experiencing and fixed on my 5x
closed via 0bcefbc9df28b77c095f48020f645c8cf16c856a


JSONAny types from FireFly's API show up as strings

Because the TypeScript definitions are generated from FireFly's OpenAPI spec, and currently the spec generator uses "string" for JSONAny types, these fields show up as "string" in the SDK. Passing strings in general will not work, as these generally expect JSON objects.
It would be appropriate to alter FireFly's generation and the SDK's schema import to set these fields to the "any" type.

I agree - all JSONAny fields should be:
https://swagger.io/docs/specification/data-models/data-types/#any

I believe this should just be a case of adding to this switch statement:
https://github.com/hyperledger/firefly/blob/b8af1a9f2f34917ad3cd040b78d20cf37afe9798/internal/oapispec/openapi3.go#L156-L173
I will give that a try

Ah, well I found there was already a PR, and added this comment: https://github.com/hyperledger/firefly/pull/733/files#r853532855


Zephyr API ( flash_stm32_check_status ) not giving correct values for failure

I am trying to use Zephyr API ( flash_stm32_check_status ( flash_stm32.c/.h ) for my development. I have used different Zephyr APIs for Read/Write/Erase, All working fine. Based on that, I want to get the status of any errors for Write Failure, Read Failure, Program Sequence Errors using flash_stm32_check_status but i am always getting 0 values for H743 controller. Any suggestion for this API is most welcome.

Note that flash_stm32_check_status is not an API but an internal driver function, called in Read/Write/Erase operations.
Then, it seems that flash_stm32_check_status clears errors when run, so calling it from the application after it is called from Read/Write/Erase function will indeed mostly always return 0 (unless for some reason the error flag can't be cleared).


Allow users to assign more than one role at a time

Currently you can only assign one role at a time, eg:
!roles cpsc-4910
!roles senior
Instead it would be nice if users could self-assign multiple roles at once, eg:
!roles cpsc-4910 senior etc.

i really like this idea, and its a somewhat easy thing to add
d.py exposes a converter that makes this somewhat trivial https://discordpy.readthedocs.io/en/latest/ext/commands/api.html#discord.ext.commands.Greedy

Is this still up for grabs

Is this still up for grabs @Jay-Madden @JacobStauch

Yes it is still open, would you like to pick it up?

Would love to! @Jay-Madden

Is work on this ongoing?

Hi,
I've worked with discord.py module and have a bit of knowledge about. I would like to ask if I can pick up this issue ??

Hi,
I've worked with discord.py module and have a bit of knowledge about. I would like to ask if I can pick up this issue ??

If you would like to i will assign you this issue, i believe you are already in the test server

If you would like to i will assign you this issue, i believe you are already in the test server

Attempted this issue and the possible solutions were deemed not good enough. Open to anyone else who can come up with a solid solution


Github top banner is light when not logged in

Is there an existing issue outlining your problem?

[X] I am using the latest version of the provided userstyle.
[X] I have searched the existing issues and they do not solve my problem.

What userstyles are you seeing the problem on?
lbl:github
Describe your problem.
The top bar is bright when not logged in, which probably looks fine on light mode but is a rather distracting flashbang due to the contrast otherwise.
Attach screenshots.
When logged in all dark and fine:

When not logged in I get flashbanged:

What browser(s) are you seeing the problem on?
Firefox v128.0.3
Any additional comments?
Maybe this is how the theme has always looked, but as a new user I find it to be quite an odd choice given the painful spike in contrast relative to the rest of the easy-on-the-eyes theme.
Perhaps it isn't intended to be that way, given the default github theme doesn't have this contrast spike on their dark mode?

This is an issue with GitHub's HTML, where they explicitly set the theme to be light mode in that section of the page but invert it or something on their end:

It is properly themed with Latte though so I have no plans of changing this.

(Duplicate of #954 as well).


decompctx.py doesn't respect #pragma once

See title, I use #pragma once as my header guard and pass in -once to the compiler, but it seems like decompctx only looks for the ifndef define pattern

Looking into this, is there a good reason to not use in_file as the lookup key? You're only ever going to be including each file once anyways
https://github.com/encounter/dtk-template/blob/main/tools/decompctx.py#L62
diff --git a/decompctx.py b/tools/decompctx.py
index e86d5ef..56d423a 100755
--- a/decompctx.py
+++ b/tools/decompctx.py
@@ -24,7 +24,6 @@ include_dirs = [
 ]

 include_pattern = re.compile(r'^#include\s*[<"](.+?)[>"]$')
-guard_pattern = re.compile(r"^#ifndef\s+(.*)$")

 defines = set()

@@ -59,12 +58,10 @@ def import_c_file(in_file: str, deps: List[str]) -> str:
 def process_file(in_file: str, lines: List[str], deps: List[str]) -> str:
     out_text = ""
     for idx, line in enumerate(lines):
-        guard_match = guard_pattern.match(line.strip())
         if idx == 0:
-            if guard_match:
-                if guard_match[1] in defines:
-                    break
-                defines.add(guard_match[1])
+            if in_file in defines:
+                break
+            defines.add(in_file)
             print("Processing file", in_file)
         include_match = include_pattern.match(line.strip())
         if include_match and not include_match[1].endswith(".s"):

is there a good reason to not use in_file as the lookup key?

I'd say no. Some libraries might have headers meant for multiple inclusion, such as STLport and its prologue/epilogue headers, but this is a pretty extreme edge case. The standard decompctx doesn't particularly need to accommodate edge cases like this, though handling them out of the box would be nice.
If a project does happen to run into issues and needs something more advanced, there's the pcpp module which rb3's decompctx script uses. It took some work to get running in a way that preserved stuff we wanted to keep though, we certainly have some hacks in there lol


Create Post “index”

Automatically generated by Netlify CMS

👷 Deploy Preview for acvite processing.

Name
Link

🔨 Latest commit
93477c5a291a5d2cf9626180930d88950c67ef29

🔍 Latest deploy log
https://app.netlify.com/sites/acvite/deploys/677365c41ca1b00008d7c952


Compiling Error. incompatible types: int cannot be converted to String

i found this error while i am compiling Compilation failed; the compiler error output for details. error: incompatible types: int cannot be converted to String
public MediaHandlerImpl mediaHandler() { on file WorkThread.java

@meritcode this repository is out of maintenance. could you pls take a look at this one instead? https://github.com/AgoraIO-Usecase/Live-Shop Many thanks.


[BUG] Iron Chests and/or CoFH Core crash

What did you expect to happen?
The game to launch!
What actually happened?
Crash log: https://mclo.gs/WcrzilJ
Additional context
Seems to have cropped up after the changes made in v5.0.2 and the issue fixed in #3

Reverting CoFH / Thermal series mods to their CurseForge versions (as opposed to Modrinth) seems to have fixed this. New update imminent.


Add functionality to make roads masks

@avanetten, I don't know if you already have this somewhere you want to leave it (e.g. APLS). If so, we can just import it from there; alternatively, if you'd rather port the code into cw-geodata we can probably put it in cw_geodata.vector_label.mask.

Issue moved to CosmiQ/solaris #17 via ZenHub


Trustbadge buyer protection requires unsafe-eval CSP directive

First of all, this is probably not 100% the right place, since the trustbadge JS code itself is closed source. Anyway, here we go:
On my shop system's order confirmation page, the JS console tells it just blocked some code execution when my server is configured to send a Content Security Policy header that limits the allowed script-srces.
The blocked code looks like this, and IMHO won't make much more sense if you'd rewrite it to using JSON.parse instead. But it would at least not require us to set the unsafe-eval directive:
XHR.onload = function() {
  if (XHR.readyState == 4) {
    response = eval("(" + XHR.responseText + ")");
    callBack(response);
  } else {
    var response = eval("(" + XHR.responseText + ")");
    callBack(response);
  }
}

Hey,
thank you for your feedback we will look into this issue and will keep you updated about the status.

Hey again,
we have removed the eval function from the trustbadge code, thank you for your feedback!

👍


setItemSelected() doesn't focus item at center

thanks, you can use 1.2.0 version.
other: If the item you selected is visible, then the sliding behavior is what you set before and will not slide into center.

Thanks!


follow me example updates for dkpy2

Updated the Follow me example to DKPY2 and to use the same "pattern" as other docs and examples.
As a side note, I don't think this would have ever worked prior to this update because there was no code to get the vehicle to take off, and because one of the checks on whether or not to run the loop to get GPS would never have run.
This was tested in a simulated environment using simulated gps :-)

@tcr3dr I added fixes to your suggestions. The new location object has not yet been merged. Sebastian did want it ASAP and asked for this on the associated pull request.
Please merge this in (or help walk me through what I'm doing wrong with these cursed rebases)

@hamishwillee A good strategy is git rebase origin/master -X theirs which will attempt to resolve commits for you, to a point.

Thanks Tim, I'll try that rebase strategy next time.


More types

Includes some alphabetizing of import lines.

@SteveDiamond the Python Foundation dropped support for 3.5 a while ago. We had a conversation about dropping support for 3.5 the last time I updated Travis/AppVeyor. The remaining mentions of 3.5 support in the docs should probably be updated to reflect no support for 3.5, and our GH Actions CI should probably not build for 3.5. Pinging @akshayka to make sure I'm not mis-remembering.

Hmm ok, I guess that's fine to drop 3.5. We had to abandon f-strings at one point because someone made a case for keeping 3.5.

Thanks @r-barnes ! It looks good to me. I was a little confused about types for constants.


Use Sidekiq-like error handling collection

Copied from https://github.com/jondot/sneakers/pull/184#discussion_r43554582
The raven-ruby gem is what Sentry uses to hook into our apps, and it includes a shim for Sidekiq:
raven-ruby/lib/raven/integrations/sidekiq.rb
Sidekiq.configure_server do |config|
  config.error_handlers << Proc.new {|ex,context| Raven.capture_exception(ex, :extra => {:sidekiq => context}) }
end

And then Sidekiq has a method that's invoked in their processing rescues that enumerates the config.error_handlers collection and passes the context hash to the interface method:
# sidekiq/lib/sidekiq/exception_handler.rb
def handle_exception(ex, ctxHash={})
  Sidekiq.error_handlers.each do |handler|
    begin
      handler.call(ex, ctxHash)
    rescue => ex
      Sidekiq.logger.error "!!! ERROR HANDLER THREW AN ERROR !!!"
      Sidekiq.logger.error ex
      Sidekiq.logger.error ex.backtrace.join("\n") unless ex.backtrace.nil?
    end
  end
end

Sneakers should use a similar pattern. Sneakers::Worker#worker_error should should enumerate the low-level error handlers (maybe "reporters" instead to avoid ambiguity with the already existing sneakers handlers) collection instead of logging things:
# sneakers/lib/sneakers/worker.rb
def worker_error(msg, exception)
  Sneakers.error_reporters.each do |reporter|
    reporter.call(exception, { message: msg }) # add whatever else could be help for the worker context
  end
end

We could include a default reporter that copied sidekiq's default error handler and would log the message like you are wanting:
# sneakers/lib/sneakers/exception_reporter.rb
module Sneakers
  module ExceptionReporter
    class Logger
      def call(exception, context = {})
        Sneakers.logger.warn(context) if !context.empty?
        Sneakers.logger.warn "#{exception.class.name}: #{ex.message}"
        Sneakers.logger.warn exception.backtrace.join("\n") unless exception.backtrace.nil?
      end
    end
  end
end

Hutch has a similar thing as well.

Im completely in favor, if you see a good value in it as long as it can be modular :) :+1:
The only reason Sneakers never had this kind of error reporting - is that typically it is used (both in my deployment and other close partner companies that use it) in an own-controlled server farm or cloud.
In this scenario we always use our own logging infrastructure (graylog, splunk, etc.) rather a SaaS log collector, since in high performance scenarios we could not ensure that those 3rd parties won't affect our own processes since we want all kind of logs in the same place - errors and others (so also - no sensible deal in terms of price).


undefined variable: vim

environment

vim: neovim 4.4
vim-airline: latest
OS: wsl

screen shot (if possible)

maybe this ?
i'm pretty new to linux/vim so tell me if you need more.
edit: neovim with python, no lua, maybe thats why?
edit2: does it need neovim 5 for this function to work?

I'm having the same issue after updating vim-airline just now.

I just compiled latest neovim: NVIM v0.5.0-dev+1062-gcc1851c9f and the problem exists there as well.

btw let g:airline#extensions#nvimlsp#enabled= 0 to disable the extension and the error to go away until it is fixed.

For me it looks like, this commit caused the issue: bffa7a4d

I'm also having the same issue.

vim: v0.4.4
vim-airline: latest
OS: macOS Big Sur 11.1

Just update this extensions and starting to get the same error
Error detected while processing function airline#extensions#nvimlsp#get_warning[1]..airline#extensions#nvimlsp#get:
line    1:
E121: Undefined variable: vim
Error detected while processing function airline#extensions#nvimlsp#get_warning[1]..airline#extensions#nvimlsp#get:
line    1:
E15: Invalid expression: vim.lsp.buf_get_clients() == 0
Error detected while processing functio

environment:

NVIM v0.5.0-dev+916-gee5ece084
vim-airline: latest
OS: Arch  Linux 5.10.11-arch1-1

I am sorry about this. I am a bit frustrated about this whole thing.
sorry, this whole lua stuff in nvim seems to be under documented. I have no idea what this needs to be and just believed that neovim just magically understands vim.lsp.buffer_get_clients(). Apparently, one needs to use v:lua.vim.lsp.buf_get_clients() or may be even v:lua.vim.lsp.buf_get_clients(0) ?  I don't know, and this doesn't seem to be documented correctly. Where is v:lua documented? What about buf_get_clients()?  The repository https://github.com/neovim/nvim-lspconfig doesn't even have a doc directory.
This is just confusing and not really helpful for somebody who basically knows nothing about lua in neovim.
Sorry about my frustration. I think I have fixed it now. Don't know if this works correctly, I'll leave this to Neovim users to fix any remaining problems.

Hi Chris,
Sorry about the frustrations, I understand you don't normally develop in the lua space for neovim so it's pretty overwhelming.
50dfca5 doesn't quite do the right thing due to a typing issue. From neovim's lsp.txt helpdocs I found the following line in an example for setting the status, I believe this is the safe way to check for attached clients with vimscript:
    if luaeval('not vim.tbl_isempty(vim.lsp.buf_get_clients(0))')

Patch for 50dfca5, tested as working on my machine:
index e506b8a..11bdf22 100644
--- a/autoload/airline/extensions/nvimlsp.vim
+++ b/autoload/airline/extensions/nvimlsp.vim
@@ -14,8 +14,7 @@ function! s:airline_nvimlsp_count(cnt, symbol) abort
 endfunction

 function! airline#extensions#nvimlsp#get(type) abort
-  if !exists("v:lua.vim.lsp.buf_get_clients()") ||
-        \ empty(v:lua.vim.lsp.buf_get_clients(0))
+  if luaeval('vim.tbl_isempty(vim.lsp.buf_get_clients(0))')
     return ''
   endifdiff

thanks, for making an effort to fix this properly. Please open a PR once this is ready to be merged. Thanks.


Fix cody autocomplete suggestions

Fixes https://linear.app/sourcegraph/issue/QA-182/jetbrains-autocomplete-is-not-working
Test plan
With autocomplete enabled:

Open code file in IntelliJ
Start typing
Autocomplete suggestion should appear
Click Esc to dismiss it
Hit ⌥ Option + ⌘ Command + P to trigger autocomplete again
Autocomplete suggestion should appear

With autocomplete disabled:

Open code file in IntelliJ
Start typing
Autocomplete suggestion should NOT appear

Hit ⌥ Option + ⌘ Command + P to trigger autocomplete

Autocomplete suggestion should NOT appear

apologies for the noise, we're fixing the error messages


Styling fixes to Sponsors page & continuing Home page

Sponsors: fixed mobile design, altered board image + text on bottom of page
Home: continuing draft

First card appears faded, change some text font, and yeah fill in the rest. Lmk if you need any assistance finishing the page

@ufsasewebmaster which card appears faded? also do you know of any library i could use to make the values carousel on the home page?

Going and close and reopen a new pr


Importing CommonModule instead of BrowserModule

BrowserModule should only be imported once in root component of an application.
Fixes this error:

EXCEPTION: Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.

Thanks for your involving!


Add stubs for Collection->pop and Collection->shift

If a $count of 1 is provided, these methods return a value or null.
If any other $count is provided, these methods return a collection.

[x] Added or updated tests
[ ] Documented user facing changes

Changes
Adds stubs for Collection->pop() and Collection->shift() that adds a conditional return type on the $count
Breaking changes

Have restored and corrected those tests. Let me know if you'd also like me to add checks for the singular return vs the collection return for all of them too.

Latest Laravel 11 may have introduced changes
https://github.com/larastan/larastan/actions/runs/7749285580/job/21133539947

Hi,
Could you rebase your changes? CI should run then.

Thank you.


Alternate interface to COPI1/CIPO1

Lattice development boards (e.g. UP5K, ICE40HX8K, MachXO3LF) have an FTDI device configured with an SPI interface (for programming the device in SPI slave mode) and a UART interface, whereas the icepool board has uses two SPI interfaces.
For the sake of using the development boards, is it possible to substitute the second SPI interface, e.g.

with a UART interface?
by doubling the first SPI interface?

Nah.


[WIP] Add Behat tests

Please keep in mind a short PR is more readable than a huge one. To add functional tests in this project, please provides multiple PRs (e.g. 1 per case)

BTW, don't forget to enable behat script on travis:
script:
    - vendor/bin/phpunit
    - vendor/bin/behat

@vincentchalamon Done
The collectionBuild feature happens in a future PR.

Please add license header in each php files:
/*
 * This file is part of the PostmanGeneratorBundle package.
 *
 * (c) Vincent Chalamon<EMAIL_ADDRESS> *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

@vincentchalamon @sroze Done

Please rebase from master

@toofff so this PR adds the Behat configuration without any test? :smile:

At least, it can add 1 feature

@vincentchalamon, @sroze
I just spoke with @dunglas, why do Behat tests for this project. I do not understand the interest. It would be better to make PHPUnit tests for its 3 scenarios:

1 folder Collection and 5 request (GET GET PUT POST DELETE)
scenario 1 + a road custum
scenario 1 + authentication

AFAIK you created the PR to add Behat tests haha. I think that actually makes sense to have Behat tests for that. But you need to test the generated code. Behat and PhpSpec feature files are good examples.

Is Behat the good tool for testing commands? Why not using the standard PHPUnit setup provided by Symfony to test commands? http://symfony.com/doc/current/components/console/introduction.html#testing-commands

@toofff Why did you close it?


Import multi-language files: Japanese (Round 1)

Describe the task
Import multi-language files: Japanese

Version test: v1.1.0(217)
Device test: IP 11
Validation passed.


Sending emails with attachments

Is your feature request related to a problem? Please describe.
I was trying to send emails that have attachments, but I wasn't able to find any methods for doing it. I briefly searched through the code and didn't find anything too.
Describe the solution you'd like
Able to add attachments to email body.
Is it possible to do this currently?
Thanks!

Not possible at the moment but it is a good case since every e-mail provider has its own implementation. For example, SendGrid uses SendGrid.Helpers.Mail.Attachment while SMTP uses System.Net.Mail.Attachment. You wouldn't want to work with those classes directly in your code base so I'll try to come up with a solution. Would a stream provided with some metadata be sufficient?

I think it should be? I'm am not very sure about how it will be implemented, but I think something similar to how MailKit handles attachments should be sufficient.

I added a simple mechanism to add attachments to the e-mail request. A snippet from an SMTP test:
SmtpCredentials credentials = new SmtpCredentials("", " ", "", "", "", "");
byte[] txtBytes = File.ReadAllBytes("Attachments\\Attachment.txt");
byte[] pdfBytes = File.ReadAllBytes("Attachments\\Attachment.pdf");

List<Attachment> attachments = new()
{
    new() { ContentBytes = txtBytes, Name = "Attachment.txt" },
    new() { ContentBytes = pdfBytes, Name = "Attachment.pdf" }
};

EmailComposer<TestMailModel> composer = new EmailComposer<TestMailModel>();
EmailRequest<TestMailModel> request = composer
    .SetModel(new TestMailModel { Email =<EMAIL_ADDRESS>Name = "Guy Gadbois" })
    .SetSubject("Hello world")
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>    .Attach(attachments) // This is new
    .Build();

IMailer mailer = new SmtpMailer(credentials);

IMailBodyBuilder builder = new MailBodyBuilder();
EmailRequest populatedRequest = await builder
    .UseProvider(new AppDirectoryTemplateProvider("Templates", ".sbnhtml"))
    .UseResolver(new ViewModelTemplateResolver())
    .UseCompiler(new ScribanCompiler())
    .BuildAsync(request);

await mailer.SendMailAsync(populatedRequest);

To simplify the retrieval of attachments, you can use helper classes that will ultimately end up as separate NuGet packages. For example, Facteur.Attachments.IO is a simple library that allows you to fetch files using good old System.IO. It goes without saying that this mechanism can be expanded to other storage mediums like Azure Blobs.
using Facteur.Attachments.IO;
...
IAttachmentSource fileAttachment = new Facteur.Attachments.IO.FileAttachment();
Attachment attachment = await fileAttachment.Fetch("Attachments\\Attachment.txt");

Thoughts? Enough in scope to publish a new version?

I took a quick look at the code, looks good to me!

Another relevant use case that I can think of is inlining/embedding attachment images directly into the message body (iirc by using cid for referencing the images?). I was thinking maybe we could add that... but I did some research (at least for SMTP) and seems like they are quite complicated to implement (eg: https://stackoverflow.com/a/11000938/).
I am not really familiar with other email providers, but I am guessing it would take quite some effort have a generalized interface for all of them, of course I might be wrong 😅
So the I think the current implementation is probably enough for now.
Thanks!

Great, I'll finalize and publish a new version soon.
About the inline attachments, can't this be covered with the templates? You could provide a placeholder in the template which is then populated by a URL property in the mail model?   Images could be converted into data uris as to not rely on external content. Haven't tested that yet but it could be an easier way than cid, which looks quite complicated indeed. Fair point indeed and I'll create an issue for it.

Yeah I agree. In most of the cases using image url is much simpler, but iirc base64-encoded image doesn't work reliably for most email clients (eg. gmail) - most of the solutions I've seen seem to suggest using cid instead.


[WIP] #1864 - when updating from nuget, remove NuGetPackageImportStamp

ref https://github.com/fsprojects/Paket/issues/1864

can you please rebase this?

done

cool stuff. thanks