Nice Code Stealing

Love how I come across an interesting bot only to find it's a rip off without credit.
https://github.com/Ultz/Volte
project: structured the same way
You have similar extensions. Some of which, the logic is identical, even if they're one-liners. The project structure is a near-perfect match to my bot. Which, if you couldn't tell, has been around longer than this repository has.
No, I'm not the rip off. Volte is my brain child and this project just cloned the repository and made changes. Sure, there may be a lot of changes, but have a look at this, it's almost identical to this. At the very least I'd like credit on the repo.

Hey there, so good to hear from you!
I'm going to give you a bit of backstory on the project, but you can also skip to the TL;DR at the bottom.
Disregarding v1 of the bot, which was written in a different language, v2 was written pretty rushed, since we needed an urgent replacement for v1, which practically went down overnight. As such, the code written was practically unmaintainable and "patched together" by software standards. Which is why, almost a year ago, we decided to rewrite the project, this time with more patience, time and research.
Discord.Net is a really powerful library for making Discord bots running on C#, and only upon researching other bots which run the same library did I figure that out. Which is why, this time, I took my time looking into the Discord.Net docs (also looking at Qmmands which functions similarly), as well as various existing C# Discord bots on GitHub.
It's true, I looked over your project, studying best practices, but so did I look at 4 other projects.
I am curious though, as to why you would publish your project on GitHub with a permissive MIT license if you wouldn't want other people to look at, study and learn from your project.
As to your claim (ours vs. yours) I am almost hurt that you accredit the invention of a builder-design-pattern to yourself. We don't even use EventArgs, and do you know the reason why they use the same properties? Because they do the same thing. Even the usage of similar extensions makes sense because they eliminate the same bothers that we would have without them.
TL;DR: No, we won't accredit your repository.
I know that this reply most likely will not be satisfactory to you, but I hope I was at least able to widen your understanding and appreciation of public sources and the luxury of research.

I also find it highly unprofessional to bring up these issues like this, and then either yourself or people in your name go and harass another server and attempt to publicly humiliate programmers. I would advise you, for future reference, to contact the developer of a repository by email or direct message to resolve any issues you may have with them, and try to talk it out rather than instantly blatantly insulting them with "nice code stealing".

I'm fine with people looking over my repository and taking inspiration from it. In fact, that's a benefit. But the thing is some files (as is with ModerationLogEntry) the thing that gets me is the fact that it's the little things that make it look copied. Now, not every file is an exact copy, which is a good thing, but you've never look at another project and been like "I've seen this before..."

From: YilianSource<EMAIL_ADDRESS>Sent: Sunday, August 2, 2020 6:16:40 AM
To: YilianSource/brackeys-bot<EMAIL_ADDRESS>Cc: Evan Husted<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [YilianSource/brackeys-bot] Nice Code Stealing (#252)
Hey there, so good to hear from you!
I'm going to give you a bit of backstory on the project, but you can also skip to the TL;DR at the bottom.
Disregarding v1 of the bot, which was written in a different language, v2 was written pretty rushed, since we needed an urgent replacement for v1, which practically went down overnight. As such, the code written was practically unmaintainable and "patched together" by software standards. Which is why, almost a year ago, we decided to rewrite the project, this time with more patience, time and research.
Discord.Net is a really powerful library for making Discord bots running on C#, and only upon researching other bots which run the same library did I figure that out. Which is why, this time, I took my time looking into the Discord.Net docs (also looking at Qmmandshttps://github.com/Quahu/Qmmands which functions similarly), as well as various existing C# Discord bots on GitHub.
It's true, I looked over your project, studying best practices, but so did I look at 4 other projects.
I am curious though, as to why you would publish your project on GitHub with a permissive MIT license if you wouldn't want other people to look at, study and learn from your project.
As to your claim (ourshttps://github.com/YilianSource/brackeys-bot/blob/master/src/Core/Models/Logging/ModerationLogEntry.cs vs. yourshttps://github.com/Ultz/Volte/blob/v3/src/Core/Models/EventArgs/ModActionEventArgs.cs) I am almost hurt that you accredit the invention of a builder-design-pattern to yourself. We don't even use EventArgs, and do you know the reason why they use the same properties? Because they do the same thing. Even the usage of similar extensions makes sense because they eliminate the same bothers that we would have without them.
TL;DR: No, we won't accredit your repository.
I know that this reply most likely will not be satisfactory to you, but I hope I was at least able to widen your understanding and appreciation of public sources and the luxury of research.

I also find it highly unprofessional to bring up these issues like this, and then either yourself or people in your name go and harass another server and attempt to publicly humiliate programmers. I would advise you, for future reference, to contact the developer of a repository by email or direct message to resolve any issues you may have with them, and try to talk it out rather than instantly blatantly insulting them with "nice code stealing".
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/YilianSource/brackeys-bot/issues/252#issuecomment-667660843, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG2BJLWMNNE5WOZ3QZZ6J23R6VDJRANCNFSM4PQRCJQA.

I'm fine with people looking over my repository and taking inspiration from it. In fact, that's a benefit. But the thing is some files (as is with ModerationLogEntry) the thing that gets me is the fact that it's the little things that make it look copied. Now, not every file is an exact copy, which is a good thing, but you've never look at another project and been like "I've seen this before..."
Also, what "other server" did I harass?

I totally understand what you mean. But just because we are doing the same thing doesn't mean that one copied from the other.
Usually, if I see a file that is close to identical, I think to myself: "Hey, that's cool, that must mean that my idea isn't half bad!".
I'm referring to you (if that was you) entering the Discord server and insisting on the copyright violation, linking this issue, reflecting badly on us in general. If that didn't happen to be you, then I apologize.

Yeah, I know what ModerationLogEntry is for, but the gripe I have is that we used the builder pattern for the same part of the bot, and I don't have any other objects that used the builder pattern. I know the entire bot isn't a rip off anymore, and I respect you for that, but I still can't get over of how similar it's structured and the fact that some files (as mentioned above) contain similar conventions.

I'm referring to you (if that was you) entering the Discord server and insisting on the copyright violation, linking this issue, reflecting badly on us in general. If that didn't happen to be you, then I apologize.

I was in the Discord as Greem#1337; I do believe someone named johnk from the organization I'm in did join your discord and do what you said.

We've used the builder object in another place, just because it's a convenient pattern to use for completing object information. The structure and conventions are coincidentally similar, as a result of restructuring and organization. In my eyes, this does not qualify for substantial or even partial code usage.

I was in the Discord as Greem#1337; I do believe someone named johnk from the organization I'm in did join your discord and do what you said.

I see, then I do apologize for that claim, but I'd appreciate it if you'd be so kind as to forward this conversation to him. If he has additional thoughts he is free to add them, otherwise, I would feel that this is settled.

Agreed. But do you see the dilemma I had when I first discovered this repository? It was like deja vu.

:wave: Head honcho from @Ultz here.
I'd like to apologise on behalf of @john-h-k, another one of the Ultz developers, for the inadverent ruckus he may have caused in the Discord server. I didn't know he was going to do that, and while I appreciate the defense of Volte's IP, this shouldn't have been done on such a mass public forum. Preferably all discussion of the matter should've been constrained to this GitHub issue.
When Greem made me aware of this I did look into the similarities between the codebase and, while the structure is pretty much the same, I don't believe that it is in violation of any copyright held by Greem or Ultz due to the divergence of this bot's codebase from the original. Some files more strongly matched than others, however the consensus was that while it feels the same, it is derivative enough to not infringe on any of our IP.
I sincerely apologise for this whole mess on behalf of all parties involved, and any inconvenience caused by us. We should've looked into this further before making any rash judgements or actions. We're not going to pursue this issue further, however if you did want to link to the bots that inspired this bot in good faith (similar to how Volte has linked to Abyss for inspiring Volte's codebase) then please do! But we're not going to force or demand you to do so.

I really appreciate the apology, @Perksey, I'm glad we were able to resolve this! I'll close this issue soon then.
As to us linking your bot, I do admit that I am inclined to do so.
We're currently thinking up a new version that might even include a dashboard and SQL database, so not a lot of new progress will be made on this probably.
As a closer, I'd like to congratulate you and your team on your project and the code quality contained and we would be happy to help you in the future if you need anything.


fix: eventtailer with workloadMetaOverrides

add option for workloadMetaOverriders and reoder to become equal to docu:
https://kube-logging.github.io/docs/configuration/crds/extensions/eventtailer_types/

Hey, we had to move the authoritative versions of the logging-operator and logging-operator-logging charts back to the logging-operator repo (under e2e/charts).
Could you please send these patches there first?

when is this branch merged?

will do


Saved html file doesn't work, when script reference is set to local file

You can save a html file for debugging.
This file doesn't work, when a script reference is set to local file.

Reason: Path to local file contains a prefix "https://msaccess/"
Solution: Remove prefix when file is saved.

Published with version 4.13.01


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1121 ms

Resolved: Bofrost.lu performance has improved in dfc3706.


Explain binary installs first, remove git install

I saw someone get confused and think they need to install via cargo.
Not sure what installing git has to do with this project?

Thanks for the pull request!
Just depends on sh for running commands, and those git distributions the easiest ways to get it. I've reworded that part to make it clearer why they're mentioned.


Read version from go.mod if .go-version is not available

Tracking version in .go-version is useful for scenarios where the user of goenv (who has goenv installed locally) is also a maintainer, or simply when the project has .go-version.
It would be great if goenv could also adapt to a scenario where project does not have .go-version for any reason, but the version can be read from go.mod file (go directive specifically):
module my-module

go 1.11

With that in mind, assuming that the version listed in go.mod is installed and there's no .go-version, goenv could behave the same way as if there is .go-version and just switch to the relevant compatible Go version.
It's worth noting that the two are not equivalent since go.mod only tracks minor versions (not patch versions), but I assume that goenv could just pick the latest compatible patch version that is installed?

Good idea, will look into it.

this would be a really nice feature since some projects don't want to add a .go-version to not duplicate go.mod info

Hey @radeksimko - if you have still need for this, fetch the latest version and try setting GOENV_GOMOD_VERSION_ENABLE=1. It should now pick up the version from go.mod if .go-version is absent.

any chance this can be the default behavior ? ... it seem like a reasonable thing to expect :)

... also GOENV_GOMOD_VERSION_ENABLE does not work, it results in
goenv: version '1.18' is not installed (set by go.mod)

@grosser I believe that is the desired behaviour.
Project maintainers elected to default GOENV_GOMOD_VERSION_ENABLE to 0 (disabled by default).
And the installation of a version of 1.18 remains up to the user.

Hey @syndbg @ChronosMasterOfAllTime can you guys confirm the above understanding I have?

We will need to tweak the behavior of goenv itself. I believe it uses a "0" patch version of none specified. At some point I want to make it behave like tfswitch, where running goenv without any args will try to auto switch and source the installed go version (project or global).

I confirmed that goenv install 1.18 works, I did not expect that to work.
... and it would be nice if it selected the newest 1.18 (avoids running
known bugs)
On Mon, Oct 3, 2022 at 5:43 AM ChronosMasterOfAllTime <
@.***> wrote:

We will need to tweak the behavior of goenv itself. I believe it uses a
"0" patch version of none specified. At some point I want to make it behave
like tfswitch, where running goenv without any args will try to auto switch
and source the installed go version (project or global).
—
Reply to this email directly, view it on GitHub
https://github.com/syndbg/goenv/issues/121#issuecomment-1265385172, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACYZ5PUEDMQFTKBU7FWLTWBLIGRANCNFSM4MQUHT4A
.
You are receiving this because you were mentioned.Message ID:
@.***>

I confirmed that goenv install 1.18 works, I did not expect that to work.
... and it would be nice if it selected the newest 1.18 (avoids running
known bugs)
On Mon, Oct 3, 2022 at 5:43 AM ChronosMasterOfAllTime <
@.***> wrote:

We will need to tweak the behavior of goenv itself. I believe it uses a
"0" patch version of none specified. At some point I want to make it behave
like tfswitch, where running goenv without any args will try to auto switch
and source the installed go version (project or global).
—
Reply to this email directly, view it on GitHub
https://github.com/syndbg/goenv/issues/121#issuecomment-1265385172, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACYZ5PUEDMQFTKBU7FWLTWBLIGRANCNFSM4MQUHT4A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yep, I did see that as the default behavior in the code if no patch version is specified. We will have to do some tweaks to change that behavior to install 1.x.latest_x. I wouldn't think this is a major change. Would we want to omit beta and rc from the lookup? I typically would only want stable revisions in this case.

I'd expect it to pick the latest stable patch, but beta/alpha if nothing
else is available.
On Mon, Oct 3, 2022 at 8:53 AM ChronosMasterOfAllTime <
@.***> wrote:

I confirmed that goenv install 1.18 works, I did not expect that to work.
... and it would be nice if it selected the newest 1.18 (avoids running
known bugs)
On Mon, Oct 3, 2022 at 5:43 AM ChronosMasterOfAllTime <
@.***> wrote:
We will need to tweak the behavior of goenv itself. I believe it uses a
"0" patch version of none specified. At some point I want to make it behave
like tfswitch, where running goenv without any args will try to auto switch
and source the installed go version (project or global).
—
Reply to this email directly, view it on GitHub
#121 (comment)
https://github.com/syndbg/goenv/issues/121#issuecomment-1265385172, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACYZ5PUEDMQFTKBU7FWLTWBLIGRANCNFSM4MQUHT4A
.
You are receiving this because you were mentioned.Message ID:
@.***>
Yep, I did see that as the default behavior in the code if no patch
version is specified. We will have to do some tweaks to change that
behavior to install 1.x.latest_x. I wouldn't think this is a major change.
Would we want to omit beta and rc from the lookup? I typically would only
want stable revisions in this case.
—
Reply to this email directly, view it on GitHub
https://github.com/syndbg/goenv/issues/121#issuecomment-1265673871, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACYZZMK5DG5DS53RUFMRLWBL6PBANCNFSM4MQUHT4A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Need to tweak in the following places:
https://github.com/syndbg/goenv/search?q=Adding+Patch+Version
We had an idea I was discussing @ChronosMasterOfAllTime that would be a larger, more scalable change.
Using the following cURL will yield all the released versions (including beta/rc) in ascending sort order by release date.
 curl -s -H "Accept: application/vnd.github+json" https://api.github.com/repos/golang/go/git/refs/tags | grep -oE "go[0-9]\\.[0-9]+\\.?([0-9]+|beta[0-9]+|rc[0-9]+)?" | sed s/go//  | awk '!x[$0]++'
Using this, we can auto-generate a list of releases and URLs without having to maintain all the files in https://github.com/syndbg/goenv/tree/master/plugins/go-build/share/go-build
Thoughts? I was kinda bummed go.dev doesnt expose an API as all their pages are SSR'd.
If we want SHA verification, then we will need to do HTML parsing or keep it as-is 🙅 🤮
As for the "short-term" change...you can use the above command and replace the first part of the regex with the derived version from go.mod
For example
if go.mod has 1.19
the command becomes
curl -s -H "Accept: application/vnd.github+json" https://api.github.com/repos/golang/go/git/refs/tags | grep -oE "1\\.19\\.?([0-9]+|beta[0-9]+|rc[0-9]+)?" | sed s/go//  | awk '!x[$0]++'
we can grab the "latest" version in the list by adding  | tail -1 to either command. We want to get to a point where if we specify goenv install latest or goenv install (outside of a project dir) it will assume latest version and install it for us

Created PR #252  to resolve the major.minor semantic version to install latest patch available to goenv. Cheers! 🎉

Sorry to revive a dead issue, but it looks like this was never actually completed.
@ChronosMasterOfAllTime the PR you submitted doesn't add support for reading go.mod, as this issue requests.
@syndbg Can we re-open this or can someone help me understand what is the best course? Thanks :)

@ChronosMasterOfAllTime I did not have GOENV_GOMOD_VERSION_ENABLE=1 set. I wasn't aware that was needed. Thank you very much for pointing the way!


METRON-2141 Cache REST API status update calls to the Storm UI

Contributor Comments
https://issues.apache.org/jira/browse/METRON-2141
Pull Request Checklist
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[ ] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[ ] Have you included steps or a guide to how the change may be verified and tested manually?

[ ] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

n/a If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

n/a Have you ensured that any documentation diagrams have been updated, along with their source files, using draw.io? See Metron Development Guidelines for instructions.

Check cache hits

Log into the Management UI, pull up your browser's DOM inspector, and checkout the Network tab.

Notice roughly every 5 seconds or so there is a new call to the REST API for Storm that takes roughly 1 second to complete.

Open up Swagger via the Ambari Quick Links under Metron and click on the Storm Controller

Click Try it Out once every couple seconds for about 15 seconds.

Look at the browser's Inspector networking view again. You should notice a significant drop in completion time as the browser is now getting data from the REST API's internal cache that is fronting the Storm service.

Enable logging
We can see the cache expire and log when it's getting updated values.

Check out https://github.com/apache/metron/tree/master/metron-interface/metron-rest#logging, and then go to the REST config section in Ambari

Set Metron Spring Options to --logging.level.org.apache.metron.rest.service.impl.CachedStormStatusServiceImpl=DEBUG and restart the REST application.
Open up /var/log/metron/metron-rest.log. Without even logging into the Management UI again, you should see this line on startup INFO 2625 --- [           main] o.a.m.r.s.i.CachedStormStatusServiceImpl : Creating S    torm service cache with max size '10000', record expiration seconds '5'.
Now login to the Management UI. If you refresh your metron-rest.log, you should start to see log lines like the following DEBUG 2625 --- [nio-8082-exec-5] o.a.m.r.s.i.CachedStormStatusServiceImpl : Loading all topology status roughly every 5 seconds.
Head back over to Ambari again, change the timeout to 30 seconds and restart once again.
Now you should the log entry about loading topology status only once every 30 seconds or so.2019-06-10 22:24:12.425 DEBUG 8305 --- [nio-8082-exec-6] o.a.m.r.s.i.CachedStormStatusServiceImpl : Loading all topology status
2019-06-10 22:24:44.307 DEBUG 8305 --- [nio-8082-exec-9] o.a.m.r.s.i.CachedStormStatusServiceImpl : Loading all topology status
2019-06-10 22:25:16.312 DEBUG 8305 --- [nio-8082-exec-6] o.a.m.r.s.i.CachedStormStatusServiceImpl : Loading all topology status
2019-06-10 22:25:49.188 DEBUG 8305 --- [nio-8082-exec-9] o.a.m.r.s.i.CachedStormStatusServiceImpl : Loading all topology status

You'll also see a line printed at startup with the new config value INFO 8305 --- [           main] o.a.m.r.s.i.CachedStormStatusServiceImpl : Creating Storm service cache with max size '10000', record expiration seconds '30'

I tested this in full dev and it worked as advertised.  +1


Don't upload local file on save.

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed: https://github.com/icetee/remote-ftp/issues

Description
Local files shouldn't be uploaded to remote server, even when connected, unless explicitly done so.
Steps to Reproduce

Create a .ftpconfig and configure your connection.
Connect to the remote server.
Save the local file.
Go to the remote server and verify the file is there.

Expected behavior: [What you expect to happen]
Local file(s) shouldn't be uploaded, unless explicitly done so.
Actual behavior: [What actually happens]
They are uploaded.
Reproduces how often: [What percentage of the time does it reproduce?]
100%
Versions
You can get this information from copy and pasting the output of atom --version from the command line. Also, please include the OS and what version of the OS you're running.
Atom    : 1.27.1
Electron: 1.7.15
Chrome  : 58.0.3029.110
Node    : 7.9.0
OS        : macOS 10.13.3
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

I have the same issue

Did you set the "Auto Upload On Save"-option in the package settings to "never"? Default for this option is always.

Did you set the "Auto Upload On Save"-option in the package settings to "never"? Default for this option is always.

No. It's set to "always".

Mine is set to “only when connected”
27 Haz 2018 Çar, saat 16:57 tarihinde freeriderND<EMAIL_ADDRESS>şunu yazdı:

Did you set the "Auto Upload On Save"-option in the package settings to
"never"? Default for this option is always.
No. It's set to "always".
[image: remote-ftp]
https://user-images.githubusercontent.com/19728752/41978780-f20bef4a-7a3b-11e8-9ae9-8b72eb77faee.PNG
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/icetee/remote-ftp/issues/1177#issuecomment-400681122,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXn6gkwNmKIrcXPA2M4AtgVuk-Dvzks5uA49egaJpZM4UaV7d
.

--
Best regards,
Tolga

@freeriderND @kartagis And in the StatusBar enable Auto-save?

Yes.
Best regards,
Tolga
On 28 June 2018 at 00:49, Tamás András Horváth<EMAIL_ADDRESS>wrote:

@freeriderND https://github.com/freeriderND @kartagis
https://github.com/kartagis And in the StatusBar enable Auto-save?
[image: screenshot 2018-06-27 23 46 18]
https://user-images.githubusercontent.com/1855340/42001523-7f9f2480-7a64-11e8-8ec5-15a8ee0de80c.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/icetee/remote-ftp/issues/1177#issuecomment-400840231,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiHXo1ob3FNykqPmaWiK1TJmVRBtSPJks5uA_3igaJpZM4UaV7d
.

@freeriderND @kartagis And in the StatusBar enable Auto-save?

No. I have this option disabled.

Any updates on this?

Any updates on this?

happens to me too

None of my local files upload - Thankfully
What does happen though, if I saved a local file while connected to the remote. It'll attempt to upload, and just hang there until I disconnect. During this time I can no longer edit and save remote files.


Problem with reserved identifiers

It looks like identifiers like "date", "time", and "timestamp" are reserved.
For example, this will generate an error:
SELECT * FROM quakes WHERE date > 40998

Is there any way to work around that?

As best as I can tell, this is against the SQLite rules. To use reserved words as column names you can enclose them in single quotes or brackets: 'date' or [date].


wishlist: cached options

In some surveys, there are options that get used over and over again, especially if the survey consists of many questions in a Likert scal, e.g.:
How strongly do you agree that chocolate is the best ice cream?

Agree Strongly.
Agree
Disagree
Disagree Strongly.

It would be very convenient if we had separate window for the most popular ones. You would then need to add a copyOption action, or represent the cached option as a generator (looks like it would be similar to the DraggableBlock)

You mean an option group, right? I was planning to have a similar area for stored Option groups (below the toolbox for example) where users can save set of options as one block and then drag them in one go. The options can be persisted in localStorage at the start. I plan to get working on this as soon as treeview and other easier features stabilize.

Sounds good!
On Apr 29, 2015, at 10:51 PM, Prakhar Srivastav<EMAIL_ADDRESS>wrote:

You mean an option group, right? I was planning to have a similar area for stored Option groups (below the toolbox for example) where users can save set of options as one block and then drag them in one go. The options can be persisted in localStorage at the start. I plan to get working on this as soon as treeview and other easier features stabilize.
—
Reply to this email directly or view it on GitHub.

@etosch : Quick question - Is it fair to assume that the question ids generated in a survey are unique across the survey (across blocks, subblocks etc.)? I've not yet looked at how those are generated. Can you also point me to the code where those are generated as I need to do the same in this project?

There is an internal id that is uniquely generated, but the id that’s used in surveyman.js takes the form  from the csv implementation. This allowed us to debug more easily (e.g., ensure that the randomization was occurring properly), to look up the value of the id in the original csv, etc.
When re-using options, as we’ve been discussing, they should each have a unique id.
On May 1, 2015, at 11:06 AM, Prakhar Srivastav<EMAIL_ADDRESS>wrote:

@etosch : Quick question - Is it fair to assume that the question ids generated in a survey are unique across the survey (across blocks, subblocks etc.)? I've not yet looked at how those are generated. Can you also point me to the code where those are generated as I need to do the same in this project?
—
Reply to this email directly or view it on GitHub.

That sounds good. However, when the survey is generated from react-surveyman how should I instantiate new types with IDs since I don't have a row or col?

“col” should be the same for all Options. “row” is computed from the existing options associated with the containing question — just set it to be the size of the current list of options.
On May 4, 2015, at 9:11 AM, Prakhar Srivastav<EMAIL_ADDRESS>wrote:

That sounds good. However, when the survey is generated from react-surveyman how should I instantiate new types with IDs since I don't have a row or col?
—
Reply to this email directly or view it on GitHub.

Ok. I'll try and figure this out and get back to you if I'm stuck.


Fix #951: Sass support

Issue: Sass files (.scss) weren't being picked up by the bundled css-language-server.
Defect: The filetype is scss instead of sass
Fix: Use correct filetype in default configuration

Fixes #951


Enyo 1181 Add new layout GridListItem to sample

Issue
There is UX requirement for horizontal layout GridListImageItem.
Fix
Simply add some css class and compose a sample kind.
Enyo-DCO-1.1-Signed-off-by: David Um<EMAIL_ADDRESS>

Closing in favor of enyojs/enyo-strawman#11


Browser version soon to be out of date for Slack app (September 1, 2024)

Application version: 3.0.0
OS: MacOS 14.5

Steps to Reproduce:

Go to Slack space on sidebar
Click on Add a new Team
See banner "This browser won’t be supported starting September 1st, 2024. Update your browser to keep using Slack. Learn more"

Note: I am not certain what browser Station is using in the background, but I have seen this banner several times and am hopeful that it can be resolved before September!
Screenshots

Just close this message
We will update browser version as soon as we have a capacity.


HADOOP-19305: Fix ProcessEnvironment ClassCastException in Shell.java

Description of PR
See HADOOP-19305 and HIVE-28191
How was this patch tested?
Tested with the Apache Hive Tests.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

@zhangbutao I will review this PR later. I hope that after resolving this issue, we can update Hadoop 3.4.0 in Hive.

@zhangbutao I will review this PR later. I hope that after resolving this issue, we can update Hadoop 3.4.0 in Hive.

Thanks @slfan1989 . Please check my comment. Change Shell.java can fix the issue, and imrpove hive's UTs code can also resolve this issue.   Changing Shell.java is more simple but i am not sure when hadoop release the new version. Imrpoving hive's UTs may need some time to explore&test the env related codes.
https://issues.apache.org/jira/browse/HADOOP-19305?focusedCommentId=17888197&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17888197

@zhangbutao Thank you for your contribution! I will respond later today.

Also, can you try doing this PR against branch-3.4.1, as this is the one we want to build an RC off this week. get in in there and the next hadoop release will work

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 30s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
48m 37s

trunk passed

+1 :green_heart:
compile
19m 53s

trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
compile
18m 11s

trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
checkstyle
1m 19s

trunk passed

+1 :green_heart:
mvnsite
1m 46s

trunk passed

+1 :green_heart:
javadoc
1m 18s

trunk passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
javadoc
0m 53s

trunk passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
spotbugs
2m 41s

trunk passed

+1 :green_heart:
shadedclient
42m  0s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 58s

the patch passed

+1 :green_heart:
compile
19m  0s

the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
javac
19m  0s

the patch passed

+1 :green_heart:
compile
18m 28s

the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
javac
18m 28s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m 17s

the patch passed

+1 :green_heart:
mvnsite
1m 42s

the patch passed

+1 :green_heart:
javadoc
1m 12s

the patch passed with JDK Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04

+1 :green_heart:
javadoc
0m 53s

the patch passed with JDK Private Build-1.8.0_422-8u422-b05-1~20.04-b05

+1 :green_heart:
spotbugs
2m 46s

the patch passed

+1 :green_heart:
shadedclient
44m  6s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
19m 33s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
1m  5s

The patch does not generate ASF License warnings.

248m 49s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7106/1/artifact/out/Dockerfile

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

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 803e0335ccc6 5.15.0-119-generic #129-Ubuntu SMP Fri Aug 2 19:25:20 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 3e4803c2baa0f4cbf66f0d5496b853c83bb12a5e

Default Java
Private Build-1.8.0_422-8u422-b05-1~20.04-b05

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.24+8-post-Ubuntu-1ubuntu320.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_422-8u422-b05-1~20.04-b05

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7106/1/testReport/

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

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7106/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

while this change seems valid, why aren't you just using Shell.setEnvironment() getting at the patch either through reflection or (cleaner) putting some accessor class inside the same package?

@steveloughran Thanks your suggestion. Not sure if I understand what you mean correctly.
Hive does not use the Shell directly. The error stacktrace in HADOOP-19305 shows that it is called indirectly by Hive through RawLocalFileSystem :
org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission(RawLocalFileSystem.java:952) ~[hadoop-common-3.4.0.jar:?]
So i don't think it is good to use Shell.setEnvironment().
BTW, the root cause is not from Shell.java, but this change can as a workaroud to skip the exception in Hive. It would be good if we can merge this as a improvement. I am also trying to fix it at the root & Hive side. :)

Also, can you try doing this PR against branch-3.4.1, as this is the one we want to build an RC off this week. get in in there and the next hadoop release will work

@steveloughran https://github.com/apache/hadoop/pull/7107  Fix in branch-3.4.1

@zhangbutao afraid RC3 is already out, and as this is a test only failure I don't think it is a blocker. Why doesn't the setEnvironment method work for your tests?

@zhangbutao Sure!
Thank you for your continued attention to this issue! The change seems feasible, but we may need to find a workaround.

Hadoop is currently in the process of releasing version 3.4.1 (which is very resource-intensive for RM, especially with Steve investing a lot of time). The RC3 for 3.4.1 has already been released, and if the vote passes, Steve will release hadoop-3.4.1. Therefore, if we want to merge this PR, it might have to wait until the release of 3.4.2.

If we can make adjustments in Hive, could we first implement unit test modifications in Hive to address this issue? This way, we can apply hadoop-3.4.0 to the Hive branch.

@zhangbutao
Thank you for your continued attention to this issue! The change seems feasible, but we may need to find a workaround.

Hadoop is currently in the process of releasing version 3.4.1 (which is very resource-intensive for RM, especially with Steve investing a lot of time). The RC3 for 3.4.1 has already been released, and if the vote passes, Steve will release hadoop-3.4.1. Therefore, if we want to merge this PR, it might have to wait until the release of 3.4.2.
If we can make adjustments in Hive, could we first implement unit test modifications in Hive to address this issue? This way, we can apply hadoop-3.4.0 to the Hive branch.

I have found the solution in Hive side. So free feel to merge it in Hadoop 3.4.2. BTW, if Hadoop 3.4.1 is released out, i think we can update hadoop version to 3.4.1 in Hive. :)

@zhangbutao
Thank you for your continued attention to this issue! The change seems feasible, but we may need to find a workaround.

Hadoop is currently in the process of releasing version 3.4.1 (which is very resource-intensive for RM, especially with Steve investing a lot of time). The RC3 for 3.4.1 has already been released, and if the vote passes, Steve will release hadoop-3.4.1. Therefore, if we want to merge this PR, it might have to wait until the release of 3.4.2.
If we can make adjustments in Hive, could we first implement unit test modifications in Hive to address this issue? This way, we can apply hadoop-3.4.0 to the Hive branch.

I have found the solution in Hive side. So free feel to merge it in Hadoop 3.4.2. BTW, if Hadoop 3.4.1 is released out, i think we can update hadoop version to 3.4.1 in Hive. :)

@zhangbutao
hadoop-3.4.1 may take some time to be released; I personally feel it could be at least 1-2 weeks, or even longer. Would it be possible for us to upgrade the supported Hadoop version in Hive to 3.4.0 first? This way, when Hadoop 3.4.1 is released, we can submit a PR for the upgrade version.

I have found the solution in Hive side. So free feel to merge it in Hadoop 3.4.2. BTW, if Hadoop 3.4.1 is released out, i think we can update hadoop version to 3.4.1 in Hive. :)

@zhangbutaoI can approve this PR, but we still need Steve's consent, as he is very knowledgeable and insightful in this area.

hadoop-3.4.1 may take some time to be released; I personally feel it could be at least 1-2 weeks, or even longer. Would it be possible for us to upgrade the supported Hadoop version in Hive to 3.4.0 first? This way, when Hadoop 3.4.1 is released, we can submit a PR for the upgrade version.

We may also need Apache Tez to upgrade Hadoop version to 3.4.0 at the same time. So i am not sure if we can quickly upgrade Hadoop version in Hive.
@ayushtkn may give some thought about upgrading hadoop version in Tez side.

@zhangbutao Hi, what is different to #7107 , if they are the same one, please choose one to close, thanks.

@Hexiaoqiao it is a backport to branch3.4.1. If 3.4.1 is released out, please feel free to close it. thanks.


Update instructors and requirements to 2024

Hey, @lagru, thanks for updating the older tutorial.
I suggested to include pyqt as a dependency.
Once I installed ittest-env.py worked.

@lagru, What OS are you using? I think we were getting different errors. Mine wasn't segfault.

With adding pyqt and switching napari-animation to conda from pip, the test script runs on my mac -- I'm on M1 though.
BTW, I would suggest using arm64 miniforge these days on arm64 Macs instead of x86.

Okay, I think this is ready to merge now. :D
PS: @psobolewskiPhD I invited you to this org as well.

I'm merging this now since I won't be able to contribute much work tomorrow and over the weekend. I'm hoping to get the pages for this repo working so that we can point participants at nice HTML instead of markdown on GitHub.
Please feel welcome to continue to give feedback here if there are still thinks to address. And thanks for the reviews so far. :)

FYI @lagru @psobolewskiPhD, in case this happens during the tutorial.
A linux wizard (@ziwenlu) from work mentioned that the segfault might be from different versions of llvm being used by different packages, installing numba from the anaconda numba could fix it.

FYI @lagru @psobolewskiPhD, in case this happens during the tutorial. A linux wizard (@ziw-liu) from work mentioned that the segfault might be from different versions of llvm being used by different packages, installing numba from the anaconda numba could fix it.

Just adding more details: The official Numba builds on PyPI and the Numba channel for conda (-c numba) statically link LLVM so they might avoid this issue. See https://github.com/conda-forge/llvmlite-feedstock/issues/84.


perf(core) do not register event handlers on control planes

Summary
Control planes only enable Admin API and Admin API does not use cache,
nor does it need to build router or plugins iterator based on events.

Just one question. If we skip the worker events registration in CP, will it cause the necessary cluster events to not be generated between CPs running in a cluster?
e.g. if there are 2 CPs running inside the same cluster, will this cause the other CP (the one not receiving the Admin API call) to miss the event and not push out new configs to it's DP?

Just one question. If we skip the worker events registration in CP, will it cause the necessary cluster events to not be generated between CPs running in a cluster?
e.g. if there are 2 CPs running inside the same cluster, will this cause the other CP (the one not receiving the Admin API call) to miss the event and not push out new configs to it's DP?

It does not.


Windows 7, Maya 2014

I couldn't get it to work. Is there a way to get the error log/report?

I traced the issue down to that the quotation marks gets included in the host, so the following;
ADDR = (options.host, int(options.port))

should be something similar to;
host = options.host.replace('\'', '')
port = int(options.port)

ADDR = (host, port)

Send a pull request...


[FLINK-10610] [tests] Port slot sharing cases to new codebase

What is the purpose of the change
Port CoLocationConstraintITCase and SlotSharingITCase to new codebase.
Brief change log

Introduce CountDownLatchedReceiver, CountDownLatchedSender and CountDownLatchedAgnosticBinaryReceiver, which the sender only finished on all receiver running. It is for prevent the sender finish causing return the slot, which breaks testing purpose.

do the porting job and replace TestingCluster with MiniCluster.

Verifying this change
This change is a trivial rework and it itself the test.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

cc @tillrohrmann

cc @tillrohrmann @StefanRRichter

What about the TaskManagerFailsWithSlotSharingITCase? At a glance it looks similar and related to these tests.

Address comments. For TaskManagerFailsWithSlotSharingITCase, it can also be covered in this scope. Ported as testSlotSharingForForwardJobWithFailedTaskManager. Specifically, only tests calling shutdown that sent PoisonPill message. We don't use Kill message any more iirc.

checkstyle:
01:08:26.782 [ERROR] src/test/java/org/apache/flink/runtime/minicluster/MiniClusterITCase.java:[355] (whitespace) EmptyLineSeparator: 'METHOD_DEF' has more than 1 empty lines before.

Thanks for your review very much @zentol ! Address comments.

Sorry for joining so late to the party. I actually missed this PR and accidentally opened #7689. While porting the tests, I think that we can completely remove the SlotSharingITCase, since the test is no longer valid. If you remove the slot sharing groups the test would pass with the new code because of the queued scheduling. The only test which I would port is the CoLocationConstraintITCase  (#7690).
Moreover, with #7676 I added some functionality for terminating and starting new TaskExecutors for the MiniCluster.
I also think that TaskManagerFailsWithSlotSharingITCase should simply be removed since it is the same as the #7676 just with slot sharing. One could argue that slot sharing is the more common case and, therefore should be used. But then we should simply adapt #7676.

@tillrohrmann thanks for your guide. Now I see the reason that slot sharing isn't really tested and approve that we should only port CoLocationConstraintITCase.
I've moved to #7690 and find that even we don't have code below we can pass the test. Maybe we can set a CountDownLatch like this pr does?
                final SlotSharingGroup slotSharingGroup = new SlotSharingGroup();
		receiver.setSlotSharingGroup(slotSharingGroup);
		sender.setSlotSharingGroup(slotSharingGroup);

		receiver.setStrictlyCoLocatedWith(sender);

basically it's OK to me that we close this thread and move discussions to #7689 #7690 and #7676

You're right that #7690 does not contain any assertions that receiver and sender run in the same slot. The count down latch does not enforce this (at least not how we used it in this PR). Maybe we could send non serializable records which need to go through a local channel without serialization to test the functionality.


Safety button

Hi,
I am trying to put a stop button on the color sorting machine but it keeps saying stuck in a loop. I used a ISR function using pin 2. I have attached a file with my codes. any idea how I can do this
Thanks for your help

Hi Chen we figured out the problem, thanks for your help though


Allow to load Safe Apps with ENS names

#686
Some notes about this PR:

I removed ethereum-ens in favor of web3.eth.ens, this lib was being used only to retrieve the address for an ENS name. That can be done with web3.

To obtain the ENS content where the IPFS is uploaded it was needed to update web3 to 1.2.8-rc.0. Here is the explanation of why it was needed https://github.com/ethereum/web3.js/issues/3392. What do you think guys about using an RC dependency for web3? Should we wait for it until it becomes a stable release?

@Agupane could you take a look if this change didn't break anything?

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

@francovenica I registered in Rinkeby ENS this name: transaction-builder.eth pointing to the transaction builder deploy on IPFS.

I was able to use the new name to load the Tx builder in the app tab
The validation to not add 2 times the same app still applies with the name
The other methods to add the app (like a regular URL that points to the IPFS or the IPFS hash itself) still work fine as well
Tested the Tx builder just in case doing basic tx's and loading ABI's
Looks good to me

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

@mikheevm
I fixed all the review problems regarding this Issue.
Regarding the TS problems, I set the type as any, because it's inferring the wrong types from web3.

and then:

It could be because web3 has incorrect types or because the abi has any as its type.
TypeChain looks interesting but perhaps, we can fix the problem setting the correct type for the ABIs without adding a new dependency.
Any be the case, it should be handled outside this PR, in a new issue. The changes made here were only to make it compile.

I'm having issues to add the tx builder.
I've cleaned the cache and local storage, so the app doesn't show in the app tab anymore, but if I try to add it it tells me that "is already there"

I've used the name you gave me "transaction-builder.eth" as well as the other 2 urls I have, and both show the same issue
https://thegerman.de/
https://ipfs.io/ipfs/QmTgnb1J9FDR9gimptzvaEiNa25s92iQy37GyqYfwZw8Aj/
I tried in https://safe-team.dev.gnosisdev.com/app/ with the same safe and I had no problems there
I think the safe itself should not be the issue, but just in case, is this one: 0x9913B9180C20C6b0F21B6480c84422F6ebc4B808

I'll take a look

I can reproduce it from the deploy but not locally. Locally works fine. I'll rebuild the PR.. something weird is going on.

I know what the problem is, we need to set an env var to make it work.

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

@nicosampler

TypeChain looks interesting but perhaps, we can fix the problem setting the correct type for the ABIs without adding a new dependency.

I highly doubt it, there is no way that typescript can understand an ABI and correctly understand transform it into type definitions without an external tool.
What is your concern about adding a new dependency? It's not a runtime dependency, so it's not included into the build

@nicosampler

TypeChain looks interesting but perhaps, we can fix the problem setting the correct type for the ABIs without adding a new dependency.

I highly doubt it, there is no way that typescript can understand an ABI and correctly understand transform it into type definitions without an external tool.
What is your concern about adding a new dependency? It's not a runtime dependency, so it's not included into the build

No problem at all, but it's a new lib and needs some config. Then we need to change every place where we are using abis. Fay away of this PR scope.

@mikheevm changes are pushed

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

@nicosampler could you please also check older comments about return types?

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

Travis automatic deployment:
https://pr911--safereact.review.gnosisdev.com/app

Tried again with the Tx builder and a "Collectibles" app that was shared with me. I had no problem adding those to the list of apps
Tx builder: transaction-builder.eth
Collectibles app: https://affectionate-darwin-1c4372.netlify.app/
Looks good to me


#257 Enhance AnimalConnection

totalCount returns all animals count, and ignores filters like ids, gender and other.

Tests are failing can you take a look?


[Suggestion] Local Debug & Build needs no maven-gpg-plugin verification

It looks like when it comes to local debug & package or just install the project to local repo, it needs no  maven-gpg-plugin to be involved, may be move it to the "deploy" phase is a good idea.

We think your suggestion is right, and we will fix this problem later


Cash App Pay Button - Second time open model Regenerate issue

I have implemented the model for one, but the second time when the model is opened, it doesn't regenerate. Without a page refresh function

This is likely an implementation issue rather than a bug with this repository. Would you mind posting to our Developer forums where we're able to give better support for cases like this? A minimal reproduction for how you are building your experience would also be helpful. If you aren't already, you might call detach (or destroy) when your model (modal?) is closed. Then, you should be able to attach again the second time.


private-mendix-platform-prerequisites

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: private-mendix-platform-prerequisites
Document link: pmp-prerequisites.md
My Issue/Suggestion
Update from: Application management | Mendix for Private Cloud Operator | 2.x+
Update to: Application management | Mendix for Private Cloud Operator | 2.12+

@mengdix Done! Should be visible sometime tomorrow. Let me know if you need it earlier.


"powa_statements_snapshot" failed

Hi Team,
I am using PoWA 4.1.4 on PostgreSQL 14.5. I have faced powa snapshot fail error;
powa_take_snapshot(1): function "powa_statements_snapshot" failed: duplicate key value violates unique constraint "powa_statements_pkey"
I truncated the pow_statements table, it worked for a while, but the error occurred again.
What should I do for the solution?
Thanks in advance for your help.

@mencutekinf any news on this issue?

Hi,
Yes, I have fixed the problem by updating the powa collector.
Thank you.

Ah, that's a great news.  Thanks a lot for the feedback!


Xchainjs at manifest v3 extensions

Problems with using library at manifest v3.
Axios library is not working in new browser extensions with manifest v3 (xmlhttprequest was deprecated)
Does someone have solution for avoiding this problem (using library without internal axios library)?

we will look at upgrading axios and using the axios-fetch-adapter


Simplify type name across the tree

Dogfooding the Roslyn feature across the tree, resulting in the following bugs:
https://github.com/dotnet/roslyn/issues/16001
https://github.com/dotnet/roslyn/issues/16000
https://github.com/dotnet/roslyn/issues/15999
https://github.com/dotnet/roslyn/issues/15998
https://github.com/dotnet/roslyn/issues/15997
https://github.com/dotnet/roslyn/issues/15996
NOTE: I gave up fixing all occurrences of this, due to https://github.com/dotnet/roslyn/issues/15997, it's too painful using Roslyn to fix it across the tree.

tag @dotnet/project-system


Server thread hang

Mod prevents server from stopping properly, probably hanging some threads, when I remove it it is fine.

It stays like this forever

Looks like a duplicate of #38

yeah, my bad, haven't searched properly


Change CamelCase to Proper Case Script

Hi Daniel,
I haven't done any previous C# coding, and I was wondering if you would have the time to provide an edit to your script that will change all objects written in the following format: all_lower_case_with_underscore_separation to proper case?
I guess this could be an easy fix, but I've been reading some of your links for a couple of hours and I'm really not sure where to start, seeing the finished change to compare with the 1st script would really help my learning.
Many thanks,

This is a modification of the CamelCase to Proper Case script, which changes the first letter of a name and every letter following and underscore to uppercase. In addition, underscores are replaced with spaces.
foreach(var obj in Selected.OfType<ITabularNamedObject>()) {
    var oldName = obj.Name;
    var newName = new System.Text.StringBuilder();
    for(int i = 0; i < oldName.Length; i++) {
        // First letter should always be capitalized:
        if(i == 0) newName.Append(Char.ToUpper(oldName[i]));

        // When an underscore is encountered, replace it with a space and insert the next letter as uppercase:
        else if(i + 1 < oldName.Length && oldName[i] == '_')
        {
            newName.Append(" ");
            newName.Append(Char.ToUpper(oldName[i + 1]));
            i++;
        }
        else
        {
            newName.Append(oldName[i]);
        }
    }
    obj.Name = newName.ToString();
}

@otykier - Thank you so much for this, I see it was a simple change, so has helped with my understanding.


WIP: Implement a bare-bones cargo-sqlx subcommand

@danielakhterov Closing only because this has definitely become un-mergeable easily due to bitrot. A good way forward is for us to start a discussion on how we want the cargo sqlx migrate _ commands to look and to help merge in https://github.com/JesperAxelsson/blue-grouse-migrator as a base. We still want this in 0.4.


Prepare for geostyler major releases

This prepares the parser setup/config to produce an esm build analogous to the other parsers, based on the various beta/next prereleases of the other parsers.

LGTM. 👍


switch to itk.js for nifti i/o so that we can read and write data

nifti-reader.js does not provide an easy way to write data (if we needed it). ITK.js does, and it can read from Files, Blobs, and array buffers which seems perfect for what we wanted. It also returns types arrays (which we want) and does its work via webworkers.
https://insightsoftwareconsortium.github.io/itk-js/api/browser_io.html
@cdrake and @neurolabusc what do you think of making the switch? I think it should support the IO use cases we cater to.

In general, ITK products are well designed and have a strong community. I suspect this will also allow us to access a lot of other useful formats. My big concern would be how large this dependency is. It seems like the niche we are going for is very lightweight and fast to load, install, etc.


Warn when a type is ignored

type will be ignored if a property has a getter. We should warn in cases like
get foo() {
  return "bar";
},
type: Number

warning would be similar to this one: https://github.com/canjs/can-define-mixin/blob/ef55b90d40df5a5ca4b90d57fb1a526d910525e1/src/define.js#L357-L363
cc @mikemitchel


[Feature Request]: Improve server api for generating clients for statically typed languages

Describe the problem
While creating clients for chroma in Java and Go I've wanted to be able to generate java/go specific clients from the openapi.json of chroma sever API. However as it was taken from pyhon implementation, it relies on generics (e.g. { } as return object) which JS and Python are all to happy to play along with. However static languages like java/go etc. do not like this type of generics and generated clients need a lot of adjustments.
Describe the proposed solution
I have created a "good enough" spec based on 0.4.4 server which can be used to enhance the FastAPI endpoints (response models mostly) so that generated OpenAPI spec is useful for static langs.
Here is the Gist with the spec - https://gist.github.com/tazarov/c2e0f4952a881cc7a0fb01de982e8556
Alternatives considered
Update the generated clients by hand - too consuming and when, inevitably, changes to the API are made it is a lot more difficult to update clients.
Importance
would make my life easier
Additional Information
No response

@jeffchuber you can attach https://github.com/chroma-core/chroma/pull/942 to this


[Question] About drawMode in MeshRenderer

I wonder why Mesh.DRAW_MODES does not have a FAN mode?
Mesh.DRAW_MODES = {
    TRIANGLE_MESH: 0,
    TRIANGLES: 1,
};

I think the FAN mode is really useful for drawing circles?
and I think this is easy to add, just change https://github.com/pixijs/pixi.js/blob/90268cd4472618c28c383ed5901caa3105c9a7df/src/mesh/webgl/MeshRenderer.js#L130 this line to add gl.TRIANGLE_FAN?
or is it actually realted to a compatible problem?

TRIANGLE_FAN mode is useful


Added aggregate exception handling.

what is the root cause of this? is it possible to unwrap this exception? sorry for questions - just reviewing from phone right now.

Yes, that's what I am doing here - unwrapping exception.
P.S. This is for Klarna Demo site (Quicksilver) which fails on a test but not locally. This is not for the actual package. As Klarna repo requires 2 approvers, it is hard to make changes for the site and test.

code review from phone is not good idea


Upgrade the apiserver version

Issue: https://github.com/rancher/rancher/issues/40296

Problem
We get a panic on some apiserver logs when in debug mode
Solution
Fix was made in https://github.com/rancher/apiserver/pull/23
This just updates the apiserver version to include the fix by running go get -u github.com/rancher/apiserver
Testing

Start Rancher with the --debug flag
Create a standard user with no roles or privileges
Login as that standard user
navigate to v1/management.cattle.io.globalroles/podsecurityadmissionconfigurationtemplates-manage

From comments I have just upgraded the apiserver version and not used the go get -u and upgrade other modules as well


What is the purpose of including logback.xml in maven artifact?

Hi Andrew!
First of all thank you for your library!
I have a question which I hope you can answer. What is the purpose of including logback.xml in maven artifact (s3proxy-1.5.3-jar-with-dependencies.jar)?
I am using s3proxy in a spring boot project and logback.xml included in the jar makes it hard for me to either specify log configuration via application.properties, or to add my own logback.xml. Is logback.xml really needed in the distributed jar?
Best regards,
Anatoly

@anatoly71 Users interact with S3Proxy via two mechanisms:

by itself via the Docker image or standalone jar so the logback.xml logs correctly
as a Maven dependency where logback.xml interferes with other logging

I think s3proxy-1.5.3-jar-with-dependencies.jar should include logback.xml but s3proxy-1.5.3.jar should not.  What do you think?  Could you submit a pull request to change pom.xml` to accomplish this?


The "path" argument must be of type string. Received undefined

mikro-orm schema:update --run
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
What it want from me?

Duplicate of #4679. Try using latest dev version, should be fixed there.


Is there a way to modify the User-Agent and the Device?

Hello,
I feel like it would be safer to allow easily the User-Agent and Device so that all the users of this library would have more changes to have different ones (and also make sure the latest version if the User-Agent is used). Since I am using an iPhone, I would also like my scripts to use an iPhone as a Device instead of an Android.
I would love to know if this is possible.  Thank you :)

It is possible, just change values in ig.state. You can see all existing keys here

Just to make sure: anything can be modified directly and the next request will be using those new values? And by chance, do you have any device strings for the iPhone or any way to find them? That would be really helpful. I am just not sure where to look, and it is better not to make any wrong steps, especially these days.

Besides the device info do you know of any other limits for using this API for iPhone users? It seems like we're getting more challenges for iPhone users than for Android.
Anyway, you can see one example for iPhone user agent here
I'd also like to know other valid iPhone user agent strings.

Just to make sure: anything can be modified directly and the next request will be using those new values? And by chance, do you have any device strings for the iPhone or any way to find them? That would be really helpful. I am just not sure where to look, and it is better not to make any wrong steps, especially these days.

I think this website should help you find some valid User-Agent values:
https://www.handsetdetection.com/device-detection-database/apps/instagram/


update action versions

I updated the versions of actions used in workflows as some of them were quite old and used some NodeJS versions are going to be deprecated soon.
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
Spring 2024 is the target window to transfer to node 20, although there is no finalized date.

Is this covered in this change? "EventType was used from victorsmartkill, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'victorsmartkill' custom integration"

Is this covered in this change? "EventType was used from victorsmartkill, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'victorsmartkill' custom integration"

Nope! That is a separate issue.

The failing Push action is due to the cache: pip line.
Either add a requirements.txt or remove the offending line.
Sorry about that!


Prediction example for bert models.

The 'infer_example.py' does not work for bert models because different preparation of input data (tokenization) is required. Here, I wrote a prediction example for bert models and tested for bert_spc.

resolve #55

@all-contributors please add @rmarcacini for code


Bug where one radio button in group required

The HTML spec does not seemd to clearly state what "required" does when
only some of a radio button set are required.
This answer on StackOverflow states that only one of the set is
required: http://stackoverflow.com/a/8287947/1009332
Per the comments added in the fix:
We cannot just compare allInputs for radio buttons, as the spec for required radio buttons
states that only one of a radio button set needs to be required.
If you have 2 radio buttons, and one is checked, but it's not required, then we get
the other required radio button and see that there are no other radio buttons checked
for the "required" ones.
Thus, if the input control is a radio button, then filter for all radio buttons with
the same name on the form.
This will get all radio buttons of a given name that are checked and see that at
least one is checked. Don't count unchecked required radio if other radio with same
name is checked. But do count checked non-required radio of the same name.

Besides the bind/delegate/on discussion, do you like the fix, @JangoSteve and @lucasmazza and @callumacrae?

@justin808 I think the idea is right (by the way, if anyone comes across this later, it would probably help to link directly to the relevant HTML spec here in addition to the StackOverflow link in the original description). Personally I'd recommend two changes:

Shorten the comment in the code; for example, it'd probably be enough just to change the original code comment:

// Don't count unchecked required radio if other radio with same name is checked

To something like this:

// Don't count unchecked required radio if other radio with same name is checked,
// regardless of whether same-name radio input has required attribute or not.

I don't necessarily like that the proposed code does a live form.find(...) inside the allInputs.each() iteration. As a sort of worst-case scenario, let's consider that we have 50 radio inputs of the same name. This code will do a live DOM search 50 times, each time selecting the other 49 radio inputs of the same name.
I think this could be made more efficient with one of the following:
a) Pre-selecting and caching as a variable outside the iteration the non-required radio inputs (notice we'd just be selecting the non-required radio inputs since we already have the required ones in the allInputs variable; this way we're not double-selecting inputs unnecessarily).
b) Being a little more clever (though I usually try not to be) with our if statement so that we only do the form search if necessary. I.e. something like:

... && (allInputs.filter('input[type=radio]:checked[name="' + input.attr('name') + '"]').length || form.find('input[type=radio]:checked[name="' + input.attr('name') + '"]').length)

I don't particularly like the above example as I think it could be better written, but just trying to illustrate how it'd be more efficient, since we already have the `allInputs` cached, so we wouldn't do a live DOM search unless we had to.

I'd lean more towards the (a) method, though some combination of (a) and (b) would probably be optimal.

I should probably also mention though that both of my points above are relatively minor I think. Especially since the find() is being done on form and not on document or something like that (in most practical situations, the form.find probably isn't much more expensive than allInputs.filter, but there are scenarios, such as a form with a lot of non-required inputs, where it could be).

@JangoSteve I'll try to take care of both of those issues today. Thanks for the feedback.

@JangoSteve Please let me know if you like the updates.

@JangoSteve @lucasmazza Any pending actions left for me on this? Any ETA that I can give the interested parties on when we might have a published version include this fix?
I did mention a possible slightly more readable code, as when @JangoSteve first read the code, he missed the return true from the anonymous function. Then again, if this works, it's probably just fine as-is.

@justin808 I think the if/else statement would make it better. Could you change it and squash your commits? I'll merge.

@rafaelfranca Thanks! I'll try to do it by tomorrow. Any ETA on the next release?

If I can merge it tomorrow I can do it tomorrow or in the next day.

@rafaelfranca My fix is complete. Thanks to you all!

Awesome! I'll release it tomorrow

Thanks @rafaelfranca. Any ETA for the release? I've got a production system ready to use this fix.

I was fixing some others bugs before releasing. I'll try to do in the begin of this week.

@rafaelfranca is this released yet? I'm trying to move a production system off any local forks. Thanks!

OMG! Thank you for the ping. Doing right now.

1.2.1 tagged.


TypeScript file instead of Definition files?

One simple question, can you please make the typescript file available instead of a definition. Is there any plans on that?

The library is written in plain JavaScript. I don't see a compelling reason to port it to TypeScript, since it might be an obstacle to some people who would like to contribute.
Having a definition file seems to be a decent solution for those wanting to use BigInteger in TypeScript. Are you having any issues using the definition file?

peterolson, first many thanks for the reply and for your work on this library. I am intending to port the library to typescript, simply because  of a reason that when types are presented the code looks much cleaner and it is easier to spot things that have not been seen before (but this is strictly my opinion). I would present the ported version soon. I would love if you take a look over the types since it is really crucial to get those right.


chore: Add Rename context menu

Description
Adds the Rename context menu in the Action Redesign Epic
Fixes #36968
Automation
/ok-to-test<EMAIL_ADDRESS>:mag: Cypress test results

[!WARNING]
Tests have not run on the HEAD ca018cd5464a89228fd15f5f7110adee9b87c3e9 yet
Mon, 28 Oct 2024 12:25:50 UTC

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[ ] No

Summary by CodeRabbit
Release Notes

New Features

Introduced the InputCursorMoveIcon for enhanced visual representation.
Added RenameMenuItem component for improved renaming functionality.
New useIsRenaming hook to manage renaming state effectively.

Enhancements

Updated EditableName component to improve editing control and validation.
Enhanced EditableText component with better styling and error handling.
Streamlined EditableTab component integration with Redux for renaming interactions.

Bug Fixes

Refined test cases for the EditableName component to ensure accurate behavior during editing.

Chores

Consolidated exports in the IDE module for better organization.

/build-deploy-preview

/build-deploy-preview

@hetunandu

On outside click, the new name is not getting saved
JS objects doesn't have the rename context menu added, will that be handled in a separate PR?
Wasn't able to check for modules, workflows & module instances. Do we have a EE PR as well for testing?

/build-deploy-preview

@ankitakinger

On outside click, the new name is not getting saved
Done
JS objects doesn't have the rename context menu added, will that be handled in a separate PR?
Done
Wasn't able to check for modules, workflows & module instances. Do we have a EE PR as well for testing?
https://github.com/appsmithorg/appsmith-ee/pull/5456

@hetunandu when I'm trying to edit the name, and end up giving the same name and press "enter" or click outside, it calls the API and gives error.


[mm2] Allow Checkpoints for consumers using static partition assignments

Currently mm2 is not generating checkpoints for upstream consumers using static partition assignments. The reason is that these consumers are being explicitly filtered out. I couldn't find why this filter is being applied. This PR removes this limitation.
I've tested this change (but only in one direction: source->target) and it does not break any functionality. Even KAFKA-9076 continues working fine and allows consumer offset sync for consumers using static assignments.

cc: @ryannedolan who added this filter and might have more context on why this was needed.
cc: @mimaison for more eyes on this :)

@ryannedolan friendly ping. Would love your feedback on this one.

Groups created on the target cluster by KAFKA-9076 are "simple groups" as there's no member information.
Not entirely sure why these were explicitly filtered. I can't immediately come up with a reason.
@scanterog Can you add a test as well?

Groups created on the target cluster by KAFKA-9076 are "simple groups" as there's no member information.
Not entirely sure why these were explicitly filtered. I can't immediately come up with a reason.
@scanterog Can you add a test as well?

Sure. Do we want a test for findConsumerGroups or what are you looking to test?

@mimaison Not sure what we can test here. It is basically just allowing consumers with no members information (generally the case of consumer with static partition assignments) when discovering the available consumers. Happy to test what needs to be tested but I personally don't think we need a unit test for this. Happy to read on @ryannedolan's feedback too.

@scanterog
This PR changes the way the Checkpoint connector works. We need a test to exercise the new behaviour.
Something simple like this would do:
@Test
public void testFindConsumerGroups() throws Exception {
    MirrorConnectorConfig config = new MirrorConnectorConfig(makeProps());
    MirrorCheckpointConnector connector = new MirrorCheckpointConnector(Collections.emptyList(), config);
    connector = spy(connector);

    Collection<ConsumerGroupListing> groups = Arrays.asList(
            new ConsumerGroupListing("g1", true),
            new ConsumerGroupListing("g2", false));
    doReturn(groups).when(connector).listConsumerGroups();
    doReturn(true).when(connector).shouldReplicate(anyString());
    List<String> groupFound = connector.findConsumerGroups();

    Set<String> expectedGroups = groups.stream().map(g -> g.groupId()).collect(Collectors.toSet());
    assertEquals(expectedGroups, new HashSet<>(groupFound));
}

On trunk this test fails. But with your PR it passes.

Sorry, late to the convo, but lgtm, thanks!


How to use FileClient  to speed?

I found mmdetection has provided the file-client function to speed up io.
_backends = {         'disk': HardDiskBackend,         'ceph': CephBackend,         'memcached': MemcachedBackend,         'lmdb': LmdbBackend,     }
But I do not know how to use this and there is no document to read.
So I want to get help for this.

Please refer to the doc in mmcv. If you installed ceph of LMDB in your system and use them for data io, then you can use these backends to accelerate your data io. Otherwise, you could only use the HardDiskBackend.


errors when using docker compose

Tried deploying to a docker container using compose. Sadly I get the following in the logs
[1] Error: Settings file dont exist.
[1]     at getAppSettings (/app/cron.js:34:16)
[1] node:internal/process/promises:288
[1]             triggerUncaughtException(err, true /* fromPromise */);
[1]             ^
[1]
[1] [Error: EACCES: permission denied, open '/app/data/settings.json'] {
[1]   errno: -13,
[1]   code: 'EACCES',
[1]   syscall: 'open',
[1]   path: '/app/data/settings.json'
[1] }
[1]
[1] Node.js v18.12.1
[1] node cron.js exited with code 1
[0] Listening on port 3000
[0] ConnectionError [SequelizeConnectionError]: SQLITE_CANTOPEN: unable to open database file
[0]     at Database.<anonymous> (/app/node_modules/sequelize/lib/dialects/sqlite/connection-manager.js:52:25) {
[0]   parent: [Error: SQLITE_CANTOPEN: unable to open database file] {
[0]     errno: 14,
[0]     code: 'SQLITE_CANTOPEN'
[0]   },
[0]   original: [Error: SQLITE_CANTOPEN: unable to open database file] {
[0]     errno: 14,
[0]     code: 'SQLITE_CANTOPEN'
[0]   }
[0] }

Any ideas?

@rastarr It could be that your container cannot access the docker volume you created for the app. Did you create the volume as described in the doc?

@rastarr It could be that your container cannot access the docker volume you created for the app. Did you create the volume as described in the doc?

well the compose I've added is below
version: "3.8"
services:
  app:
    image: towfiqi/serpbear
    container_name: serpbear
    restart: unless-stopped
    ports:
      - 3000:3000
    environment:
      - USER=admin
      - PASSWORD=0123456789
      - SECRET=4715aed3216f7b0a38e6b534a958362654e96d10fbc04700770d572af3dce43625dd
      - APIKEY=5saedXklbslhnapihe2pihp3pih4fdnakhjwq5
      - NEXT_PUBLIC_APP_URL=http://localhost:3000
    volumes:
      - /volume1/docker/serpbear/serpbear_data:/app/data
networks:
  my-network:
    driver: bridge
volumes:
  serpbear_data:

So maybe something is not correct but I am a newbie at all this. Do you see anything obvious?
Appreciate your help

Can you try changing this line: - /volume1/docker/serpbear/serpbear_data:/app/data to this:   - serpbear_data:/app/data

Can you try changing this line: - /volume1/docker/serpbear/serpbear_data:/app/data to this: - serpbear_data:/app/data

Nope - Failure X
failed to deploy a stack:
service "app" refers to
undefined volume
serpbear_data: invalid compose
project

Sounds like docker compose cannot create the volume.
Can you try running  docker volume create serpbear_data and then run docker compose up

Great! :)

I know this is a resolved issue, but I think there is an issue with running SerpBear on standard mounted paths. If I create a volume and assign it, it works fine, but as soon as I assign a path (existing), SerpBear cannot access settings.json or anything it needs to create. I tried to set PUID / PGID to user owning the directory (1026:100 as first user in Synology) but nothing changed. I tried to run it on multiple machines with Docker and couldn't start it without docker volume.

Having the same issue as @morvy trying to run this in kubernetes


Hyper-V TLFS hypercall's list

Latest Hyper-V TLFS has not updated list of hypercalls in Appendix A: Hypercall Code Reference. It is same as Windows Server 2016 hypercall list from previous TLFS.
Link to doc: https://github.com/MicrosoftDocs/Virtualization-Documentation/raw/master/tlfs/Hypervisor Top Level Functional Specification v6.0.pdf

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Document MailChip lists and plans to merge and segment

@natalienoel1 phew, this was a doozey. I've documented all the mailing list here:
https://docs.google.com/document/d/1WoNiCYgh_zugp4uCRlH1sy-Lw19Ym2kAWfFlzHknNNA/edit#
I think it would be best to read it from bottom to top. This way you can see the current state of affairs, what needs to happen (thanks for you expertise here), and where we should end up. Let me know if this makes sense. If you have any questions,  just add comments to the Google Doc and assign them to me.
cc @ashumz


Test Data

Hey
So i have a file of tweets but its not exactly in the same order or contain the header fields like your test data, any idea how I can test on this different tweet file ?
I can rearrange the columns to match your test data file but is there an alternative you may have tried?

This is not a bug in our code, please stop creating redundant issues for your doubts.
Now to answer your question, this is a custom classifier that trains on a set of features available in our input if you do not pass in headers there is no way for the algorithm to identify the feature vs target. Your options at this point are: Change the feature names in the code at your end, keep the headers same and modify the data. You cannot navigate around having non-headers.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 3980 ms

Resolved: Bofrost.lu performance has improved in 50b8f3a.


pnap (PhoenixNAP) node driver update to version 0.5.1

Update built-in version of built-in pnap node driver to version 0.5.1.

Validated that v2.10-head https://github.com/rancher/rancher/commit/a50a71479241fa02a3e31f8e2b9a73010264b140. See details:
ENVIRONMENT DETAILS

Rancher install: Helm
Rancher version: v2.10-head https://github.com/rancher/rancher/commit/a50a71479241fa02a3e31f8e2b9a73010264b140

TEST RESULT

#
Scenario
Test Result

1
Validated that PhoenixNAP version is now set to 0.5.1
:white_check_mark:

Please note that as we do not have access to node driver credentials, so QA has simply validated that the node driver has been bumped. We did not provision a cluster with this node driver.


Refactor response building in xds test

This change is

@thelinuxfoundation

https://github.com/grpc/grpc/issues/19802


How to Eliminate Shadows on ubuntu 16.04

I don't like the shadow of every square. I want to eliminate it. What should I do?

By "shadow", do you mean the preview of where the piece will land? Sorry, I haven't included a way to turn that off, but you can customize what it looks like. Currently the best you could do to turn it off would be to run tetris --preview-chars ' .' but this will still color the dots of the grid where the preview is.
Thanks for the issue though, this is definitely something that should be toggle-able. I'll try to find some time to do that this week.

OK
Thank you
Anticipation.....

I'd love a new release including this commit! :-D

@elcste a bit late but here's a new release

@samtay I'd love a new release including this commit! :-D


Run Perl linter

@rjust Could you address the Perl style warnings, then merge this pull request?

@rjust Can this be merged?


Define a way to go from SDK client library name to User-Agent string

See https://github.com/Azure/azure-sdk/blob/master/docs/design/Telemetry.mdk

@KrzysztofCwalina

@pakrym is this still relevant?

Not with the new telemetry guideline.


Previous and Next buttons on repo page should be deactivated

Seen on http://dev.gitrank.io/github/apache/spark?page=1, the previous and next buttons are always active even if there is only one page. It crashes when we click on it (Exception for previous and no feedback for next).
More generally we should protect the input of the query parameter  page.

The current code doesn't look good.

Will do that

Still happening : http://dev.gitrank.io/github/elastic/elasticsearch?page=1 (previous and next buttons below feedbacks).


How to train the generating anchor method?Actually I can't find such kind of files.

Does generating anchor method means methods like RPN? Here is an example config of RPN
https://github.com/open-mmlab/mmdetection/blob/master/configs/rpn/rpn_r50_fpn_1x_coco.py

Thanks for your reply! Actually, I want to find the method of Guided Anchoring, but it seems to provide the related configuraton

Guided anchoring is there:
https://github.com/open-mmlab/mmdetection/blob/master/configs/guided_anchoring/ga_faster_r50_fpn_1x_coco.py


Add dialects to connectors

Describe the feature
The Connector type should be extended with an additional dialect property.
It should be a string that represents the SQL dialect that the connector supports.
For example: sqlite, postgresql or mysql
The Database interface should be extended with an additional getDialect method.
It should return the dialect or the connector that the database is using.
This would make integrating db0 with other libraries more straight forward.
I was wondering if these types should also be generic, so that other adapters/drivers could narrow allowing only specific dialects of db0 instances to be provided as dependency, like Database<"sqlite" | "postgresql">.
Related: https://github.com/unjs/unstorage/pull/476
Additional information

[X] Would you be willing to help implement this feature?

Good idea! Added in https://github.com/unjs/db0/pull/59


Document how to pass options to ChromeDriver

What are you trying to achieve?
I am want to avoid the prompt for saving username and password when logging in, so I am trying to find a way of setting the credentials_enable_service option for the ChromeDriver in Selenium. See this example. Example in javascript.
What do you get instead?
I am unable to find any information on this.

It turns out that the CodeceptJS options under desiredCapabilities are more less identical to WebDriverIO's or Protractor's capabilities options. That means chromeOptions used in WebdriverIO should work in CodeceptJS as well, and after some searching I found that it had a prefs property that can be used to set preferences.
Doing what I wanted made the config look like this:
desiredCapabilities: {
      'browserName': 'chrome',
      'chromeOptions': {
          'prefs': {
              'credentials_enable_service': false,

Still think this should be noted somewhere in the official docs, but I'll let this one lie here for the sake of documenting this at least one place on the web :-)


Jedi server cannot start - AttributeError: module 'typing' has no attribute '_SpecialForm'

Type: Bug
Since recently, Jedi server fails to start. Output shows this exception:
Traceback (most recent call last):
  File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/run-jedi-language-server.py", line 9, in <module>
    from jedi_language_server.cli import cli
  File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/jedi_language_server/cli.py", line 7, in <module>
    from .server import SERVER
  File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/jedi_language_server/server.py", line 14, in <module>
    from pydantic import ValidationError
  File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/pydantic/__init__.py", line 2, in <module>
    from . import dataclasses
  File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/pydantic/dataclasses.py", line 52, in <module>
    from typing_extensions import dataclass_transform
  File "/var/home/yajo/.vscode-oss/extensions/ms-python.python-2022.20.2-universal/pythonFiles/lib/jedilsp/typing_extensions.py", line 193, in <module>
    class _FinalForm(typing._SpecialForm, _root=True):
AttributeError: module 'typing' has no attribute '_SpecialForm'
[Info  - 7:47:21] Connection to server got closed. Server will restart.
[Error - 7:47:21] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 7:47:21] Python Jedi client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097

No configuration changed recently on my side AFAIK... 🤔
Extension version: 2022.20.2
VSCodium version: VSCodium 1.74.3 (f8b9aeda40058455453f1298fd606caf6ff8d675, 2023-01-10T19:39:41.226Z)
OS version: Linux x64 6.1.5-200.fc37.x86_64
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
AMD Ryzen 7 5700U with Radeon Graphics (16 x 4290)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 1, 1

Memory (System)
15.01GB (8.67GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
gnome

XDG_CURRENT_DESKTOP
GNOME

XDG_SESSION_DESKTOP
gnome

XDG_SESSION_TYPE
wayland

What is the version of python that you are using?

This might have been due to an outdated typing_extensions lib. I just updated the jedi-language-server, please try the pre-release that will come out tomorrow (2023.3.*)


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.16 to before v5.10.90",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=68957303f44a501af5cf37913208a2acaa6bcdf1",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e553265ea56482da5700f56319fda9ff53e7dcb4"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "68957303f44a501af5cf37913208a2acaa6bcdf1",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "e553265ea56482da5700f56319fda9ff53e7dcb4",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "NFC: st21nfca: Fix memory leak in device probe and remove\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.90 by commit e553265ea56482da5700f56319fda9ff53e7dcb4, it was introduced in version v3.16 by commit 68957303f44a501af5cf37913208a2acaa6bcdf1. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000043


Attributes can be succeeded without changing their content

Readiness checklist

[x] I added/updated tests.
[x] I ensured that the PR title is good enough for the changelog.
[x] I labeled the PR.
[x] I self-reviewed the PR.

I did some rearranging of the errors, that is partly independent of this PR, as a result of our discussion. I hope you don't mind it mixing up a bit, since the PR is still quite small.