Dynamic node_id?

Hey there, love the work you've done here to radically simplify scene management with Inovelli switches! Quick ask - is it possible to use dynamic values for the node_id in the scene manager node? Ref:

When I check the value of msg.payload.event.node_id using a debug node, it shows the proper node_id integer.

And when I manually enter that integer into the scene manager config, it works great. But when I try to use msg.payload.event.node_id in the node config, I can't seem to get it to work.
Any advice? Thanks!

Currently that field uses the provided node ID, or a list of node IDs, to send the value notification message to the proper node output. Perhaps I'm not understanding, but in its current state leaving that wide open it would try to process every single Z-Wave value notification, meaning if you have different switch types in your Z-Wave network then they would be incorrectly sorted through the node.
I'm very interested to understand your use case because I want this to be one-size-fits-all solution for people. If it's of any interest, for my set up I have all of my dimmer node IDs in a dimmer scene-manager node and each output of that node feeds to a specific function node which then handles automatons based on the msg.payload.event.node_id value. Not sure if that's of any help to you

.

Thanks for the reply! My use case may be somewhat unique, in that the only scene capable devices in my network are LZW30-SN switches.
So I'd love to be able to have options for "if ANY device is 5x tapped, do X" situations without having to hard code node IDs wherever possible. Or some other upstream filtering that's not dependent on hard coded node ID.
Hope that helps clarify!

Brilliant, gotcha! I'm wrapping up for the evening, but tomorrow I can add a passthrough toggle that disables the Node ID field and just sends through any value notification message.

Awesome! Thanks for the quick turnaround! Once you're set, let me know and I'll be happy to test and confirm for ya.


Max Year Impl and Start Year fix

MonthPickerInput didn't send startYear property, so MonthCalendar never received it.
Implemented maxYear property, so now calendar can be limited by max year

@ChocolateSlayer thank you!

@ChocolateSlayer released 1.2.3


Update sites.yml

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the Cloudflare report
[x] This site is not an ultra minimal site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: jenkinslikes.tech
  url: https://jenkinslikes.tech/
  size: 26.27
  last_checked: 2024-06-21

Cloudflare Report:
https://radar.cloudflare.com/scan/d4d925f8-c2c8-49a1-b671-123ea1470210/summary

Thanks!


Custom selector showing actioned pictures: After entering then leaving fullscreen, scrolls to a different place

With Show actioned pictures enabled.
After entering then leaving fullscreen, I am scrolled to a different place in my roll of pictures:
https://github.com/user-attachments/assets/98574a21-3cc4-423f-8b66-46edb8ff688d

I have found the reason
1.

2.

can you assign this issue to me?

Can you reassign this issue to me? Me and whe128 are in the same team for fix issues.


api: Prevent special characters in streams name.

Special characters, including \r, \n, and more esoteric codepoints
like non-characters, can negatively affect rendering and UI behavior,
such as creating two streams with the same name, but with different URLs.
Check for, and prevent making new streams with, characters in the
Unicode categories of Cc (control characters), Cs (surrogates), and
Cn (unassigned, non-characters)
To learn more about Unicode characters

Unicode Wikipedia
https://www.unicode.org/reports/tr44/#General_Category_Values
Examples of Surrogate category
Examples of Non characters

For tests, I have created test for Cc and Cn characters, as python don't allow surrogate characters.
Fixes a part of #20128

@alexmv can you please review this and suggest any changes required, Thank you!!

@timabbott @alexmv I have created a new library check_input_string in zerver/lib/string_validation.py. And replaced this for stream name, and also added some tests. Changed some error messages as suggested by @alexmv.

We just discovered that under the unicodedata distributed with Python 3.6, some Emoji are classified as Cn, and no So:
$ unicode 1f929 --long
U+1F929 GRINNING FACE WITH STAR EYES
UTF-8: f0 9f a4 a9 UTF-16BE: d83edd29 Decimal: 🤩 Octal: \0374451
🤩
Category: So (Symbol, Other); East Asian width: W (wide)
Unicode block: 1F900..1F9FF; Supplemental Symbols and Pictographs
Bidi: ON (Other Neutrals)

$ python3.6 -c 'import unicodedata; print(unicodedata.category("\U0001f929"))'
Cn

$ python3.7 -c 'import unicodedata; print(unicodedata.category("\U0001f929"))'
So

Given that ,we should drop Cn from the list that we exclude.   I think ideally we'd refuse anything containing one of the 66 explicit non-characters, which are never going to change, but accept anything which is unassigned -- that way we're forward-compatible with future versions of Unicode.

Also, as a follow-up PR, we should strip any invalid characters from incoming emails via the incoming email gateway.  Otherwise, emails with invalid characters in their Subject will get dropped, and generate a JsonableError in the incoming mail gateway codepath; see https://sentry.io/share/issue/104c521c822d4c27ba41fa50185a7f99/ for such a stacktrace.

@alexmv In the latest commit, I have set a check for all the 66 non-characters. Is this the correct implementation? Thank you!!

@timabbott @alexmv I have made the changes for the 66 non-characters, is this the correct way? I was confused about sending the error message from the common function, for which I have made a fix, where we specify the object for which we are validating like Stream name, Topic name etc. Can this work?

@alexmv As per your review, I have removed the hardcoded list of non-characters, besides, I made a common function checking of Unicode characters of Cc, Cs, and non-characters which returns the position of the character if present or -1, and introduced check_stream_name to avoid the wrong abstraction, and will add check_topic_name function in a future commit.

@zulipbot comment
On Fri, 31 Dec 2021, 19:42 Mateusz Mandera, @.***>
wrote:

@.**** commented on this pull request.
In zerver/lib/string_validation.py
https://github.com/zulip/zulip/pull/20375#discussion_r777049325:

+import unicodedata

+from django.utils.translation import gettext as _
+
+from zerver.lib.exceptions import JsonableError
+from zerver.models import Stream
+
+unicode_non_chars = [

chr(x)
for x in list(range(0xFDD0, 0xFDF0))  # FDD0 through FDEF, inclusive

list(range(0xFFFE, 0x110000, 0x10000))  # 0xFFFE, 0x1FFFE, ... 0x10FFFE inclusive

list(range(0xFFFF, 0x110000, 0x10000))  # 0xFFFF, 0x1FFFF, ... 0x10FFFF inclusive
+]

+def check_invalid_unicode_character(var: str) -> int:
Do we need this to return the position of the first invalid character
rather than just True/False?
To make the function name clearer, should it perhaps be
check_string_for_disallowed_characters or something like that? Perhaps
Alex will have a comment on that, given the discussion about the term
"invalid X" earlier.
—
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/pull/20375#pullrequestreview-842295928,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADRP6AI2SJ4A2R3PXSBDBQTUTYBQRANCNFSM5I34MXYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@alexmv I have implemented the new changes, can you please have a look?

@alexmv thanks for the review. This issue has taken a lot of turns and has solved a wider range of issues and removed code duplication with string validation and one commit can't really describe the changes. I too think making different commits for different changes would be a better idea. For now I have pushed a single commit with updated commit message, added check_topic_name, and updated the tests.
For making different commits should I make a new PR so that it would be convenient?

Thanks for all of this work, @madrix01!  I split apart the commits, and merged most of it (all but the last commit) into main as df50280c5423f44a9cf6bfdabfed85a5cef32dc1.  We're a little nervous to get df50280c5423f44a9cf6bfdabfed85a5cef32dc1 merged sooner rather than later, because that will unbreak people, in terms of being able to use emoji in topic names.
I didn't merge the last commit because we also need to write a migration for this.  If we merge the last commit, we could have folks with existing "invalid" stream names, who might get errors when trying to send to them, or edit properties of them.  We should merge this last commit that prevents making new ones at the same time as we clean up the old ones.
The migration will be similar to zerver/migrations/0371_invalid_characters_in_topics.py, but:

We don't need to do the fancy batching -- we can just get the Stream model and iterate over Stream.objects.all() and update them via stream.save()
Any stream name which ends up empty needs to get replaced with something probably-unique -- like Unknown stream {stream.id} or similar.
Any stream which isn't unique after removing invalid characters needs to be made unique, possibly via appending  (#{stream.id}) or similar.

@alexmv thanks for guiding me while solving this issue. Can I work on creating migration for the stream name as you mentioned?

@madrix01: Let's keep the changes in one PR, since we want to merge them at the same time?  I'll leave some comments there, but please close than one, and re-push this with that commit added to it.

The migration duplicates work with https://github.com/zulip/zulip/pull/20522, aside of #20522 still having an older version of the logic for character_is_printable. Its main upsides are going realm-by-realm instead of fetching the entirety of Stream.objects.all() (which I'm not sure if is large enough on Zulip Cloud to be an issue?) and some somewhat useful printing to see the progress.
Should we perhaps take the migration logic from it and plug this PR's  character_is_printable into it?

@mateuszmandera: Ah, I'd forgotten (or not seen) the migration you made!  And I think I prefer that one, albeit with the character_is_printable from here, yes.
My ideal is that we land these two changes back-to-back.  If you adjust your PR, we can merge it immediately following the first commit of this one.
@madrix01, I'm sorry for the duplicated work!  I intend to close #20782, since regardless of if we use your migration, that work is contained in this PR now.

@alexmv Okay, I've updated the PR with the character_is_printable logic

Okay good, now suck my shlong.
On Thu, 20 Jan 2022, 15:46 Mateusz Mandera, @.***>
wrote:

@alexmv https://github.com/alexmv Okay, I've updated the PR with the
character_is_printable logic
—
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/pull/20375#issuecomment-1017642066, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADRP6APVNUHVPJBGOQAO4Z3UXAU3VANCNFSM5I34MXYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

I think this, in conjunction with #20522, is in good shape!
Can you rebase this?  With the drop of 18.04 support, the testsuite names have changed, so Github wants to have the new tests run before it will let it merge.
@mateuszmandera: #20522 will also need a rebase, it looks like.  I'll merge them back-to-back once they're rebased.

@alexmv the commit that is yet to be merged is df50280. right?

@alexmv the commit that is yet to be merged is df50280. right?

@madrix01: No, df50280c5423f44a9cf6bfdabfed85a5cef32dc1 is the one we have merged already.  If you click that link, under the commit message, you'll even see a little main label which tells you which branches it's in.
When you rebase, you'll want to keep the first commit, and not the second -- we'll pull #20522 for the migration.

@alexmv I'm facing problem with git as I've formatted my laptop.

it is showing #empty beside the commit.

And on git status :
On branch valid_stream_name
Your branch is ahead of 'origin/valid_stream_name' by 231 commits.
  (use "git push" to publish your local commits)

nothing to commit, working tree clean

When you rebase, you'll want to keep the first commit, and not the second -- we'll pull #20522 for the migration.

@alexmv Hmm, it looks good to me without rebasing, not sure if I'm missing something? The migration number 0375 looks correct with the current upstream/main

@mateuszmandera: Left a comment on that PR.
@madrix01: It looks like the re-push inhttps://github.com/zulip/zulip/pull/20375#event-5899226309 from cd1117d to bd7a1d1 made the second commit into a no-op empty commit.  Something must have gone amiss with that rebase.  I've re-applied the commit in cd1117d454959ea71df6caa8e70a950ede222cd4 and re-pushed that.

Ah, thanks for fixing, were just working with @madrix01 to recover that as well! 😁

Ah, it looks like the commit I re-pushed included the migration.  Repushed with that trimmed out.

Merged as d1234ef18c.


[ST-700] add unit test for gooletest's subset

SSIA

TIL: SSIA stands for "Subject says it all". Very convenient.

TIL: SSIA stands for "Subject says it all". Very convenient.


Bundler won't install any new gems in the Gemfile

I'm working on an existing project and trying to install new gems by adding an entry into the Gemfile. However, I keep getting a cyclic dependency error for just about any ruby gem that I try to install.
Here's how the original Gemfile looks:
$ cat Gemfile
source 'https://rubygems.org'
group :development do
  gem 'pry'
  gem 'rspec'
  gem 'rubocop'
  gem 'simplecov'
  gem 'webmock'
end

ENV['OVERRIDE_CUSTOM1_GEM_VERSION'] = '1.2'
gem 'custom1', git: 'git@github.com:name/custom1'

gemspec

I ran a bundle install (which succeeded) and then modified it to the following:
$ cat Gemfile
source 'https://rubygems.org'
group :development do
  gem 'pry'
  gem 'rspec'
  gem 'rubocop'
  gem 'simplecov'
  gem 'webmock'
end

ENV['OVERRIDE_CUSTOM1_GEM_VERSION'] = '1.2'
gem 'custom1', git: 'git@github.com:name/custom1'
gem 'custom2', git: 'git@github.com:name/custom2'

gemspec

Ran another bundle install and got the following message:
$ bundle install
Fetching git@github.com:name/custom2
Warning: Permanently added ***** to the list of known hosts.
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
Your bundle requires gems that depend on each other, creating an infinite loop. Please remove gem 'rubygems' and try again.

When I try to install another gem by the name gem 'jira-ruby', '~> 1.1', I get:
$ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Your bundle requires gems that depend on each other, creating an infinite loop. Please remove gem 'rubygems' and try again.
$

I tried erasing all data from Gemfile.lock and then running bundle update which didn't work. The existing project repo also consists of a ./vendor/cache directory which contains all the installed gems. I already tried removing the gems from vendor/cache and reinstalling, that didn't work too.
Please suggest how this issue could be resolved.

ping @manikjain

@greysteil @colby-swandale Sorry for the delayed response. This appears to be related to the way gems were setup in one of the linked repositories further down the nested projects (as informed by my colleague), which still isn't very clear. But I think it's ok to assume for now that it may be unrelated to bundler as such. The issue can be closed.

Thanks @manikjain


Access to server but not navigate

I start the script. After create certificate I access to the server but I cannot navigate.
On raspberry with raspbian jessie. I also open  port 1194 on the router

Is your RPi behind a NAT? If so, check https://github.com/Nyr/openvpn-install/issues/138
Are you using a firewall? If so, you need to add exceptions.
Please, don't open new issues for common problems which had been addressed plenty of times already and aren't bugs with with the script anyway.


NIFI-10656 Log ignored event with info instead of warning

Summary
NIFI-10656
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Thank you for the reviews @exceptionfactory and @turcsanyip! I've updated the pr based on your requests.


Rain in australia prediction#188

Description
I had made the model for rain prediction in australia on a specific day
i made model using ANN(Artificial neural network)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

(Add x in the [] to mark as completed.)
Related Issues or Pull Requests
#188

Please push only one file per PR.


self host database to a self hosted version OR planetscale pro

we should think about migrating the database to a self hosted version or getting a paid version @planetscale. They stopped the hobby version for all users from India, so we probably shouldn't trust these guys. :/

@aswanthkrishna @n0w0f ok, we have an internal MySQL DB now, but they cannot easily open it to the web. What is our best alternative now (given that the DB is in sleep now already)

@aswanthkrishna @n0w0f what do you recommend? Currently, we are offline here https://www.chembench.org/

could we at least redirect to https://lamalab-org.github.io/chem-bench/leaderboard/ while it is not working?

waiting for @aswanthkrishna to reply, while we migrate the database redirecting the link should be comparatively easy ?

waiting for @aswanthkrishna to reply, while we migrate the database redirecting the link should be comparatively easy ?

yeah, redirect would be perfect for now


mocha leaks event listeners on process

Prerequisites

[x] Checked that your issue hasn't already been filed by cross-referencing issues with the faq label
[x] Checked next-gen ES issues and syntax problems by using the same environment and/or transpiler configuration without Mocha to ensure it isn't just a feature that actually isn't supported in the environment in question or a bug in your code.
[x] 'Smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, your usage of Mocha, or Mocha itself
[x] Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with: node node_modules/.bin/mocha --version(Local) and mocha --version(Global). We recommend that you not install Mocha globally.

Description
Runner does not clean up event listeners on global objects.
Steps to Reproduce
https://github.com/eps1lon/mocha-event-leak
Expected behavior: [What you expect to happen]
Removes all event listeners when destroyed.
Actual behavior: [What actually happens]
Event listeners on process leak:
ℹ [mocha] waiting for changes...
(node:18921) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
(node:18921) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 unhandledRejection listeners added to [process]. Use emitter.setMaxListeners() to increase limit

Runner.prototype.dispose is never called in watchmode.
Reproduces how often: [What percentage of the time does it reproduce?]
Every time after the ~10th run
Versions

The output of mocha --version and node node_modules/.bin/mocha --version:
The output of node --version: 14.4.0
Your operating system

name and version: Ubuntu 18.04
architecture (32 or 64-bit): 64  bit

Your shell (e.g., bash, zsh, PowerShell, cmd): fish
Your browser and version (if running browser tests): N/A
Any third-party Mocha-related modules (and their versions): no
Any code transpiler (e.g., TypeScript, CoffeeScript, Babel) being used (and its version): no

Additional Information
The event handlers are attempted to be removed in prepare:https://github.com/mochajs/mocha/blob/7e490aa13e8ed25c78e77faa6fed0337e948b619/lib/runner.js#L1063-L1064
That doesn't have any effect after instantiation since this.uncaught is different between each runner instance. Whatever constructs the Runner instance also needs to call dispose. Might be better if the Runner took care of it e.g. with this.once('end', () => this.dispose()) in the constructor.

thanks. plausible, since we've had problems with this before.

See #4496


build(build-tools): Run clean:manifest before build:compile

The manifest file was previously removed in parallel with the build. This sometimes causes the build to pick up an old manifest file when building.
This change makes the manifest file removal serial.

@DLehenbauer Do you know how I can verify this doesn't cause fluid-build issues for our partners before I merge?


Colormap: shortcut to get a range of colors

This is a common task:
ScottPlot.Colormaps.Turbo cmap = new();

for (int i = 0; i < count; i++)
{
    double fraction = (double)i / (count - 1);
    sig.Color = cmap.GetColor(fraction);

It would be nice if there were a shortcut to get a collection of colors given a start and stop position on a colormap

This is what I'm using in the meantime
ScottPlot.Colormaps.Turbo cmap = new();
ScottPlot.Color[] colors = cmap.GetColors(count, .1, .9);

public static class ColormapExtensions
{
    public static ScottPlot.Color[] GetColors(this ScottPlot.IColormap cmap, int count, double start = 0, double end = 1)
    {
        double step = (end - start) / (count - 1);
        return Enumerable.Range(0, count)
            .Select(i => cmap.GetColor(i * step + start))
            .ToArray();
    }
}


Allow initial entity type filter to be set in DefaultCatalogPage

Feature Suggestion
Our org (SeatGeek) is centralizing on the Kind: System entity as our "core" entity. We'd like the initial entity type filter to be Kind: System. This isn't settable in the DefaultCatalogPage currently. Of course it may be the intention to push people towards creating a custom catalog page.. but given...

there is already a prop for initial user filter (though perhaps too generically named)
EntityTypePicker has an initialFilter prop
Creating a custom catalog page for such a small customization leads to potential migration pain & backstage drift

... I think passing this prop through would be great!

Possible Implementation
Add a new prop to defaultcatalogpage, initiallySelectedEntityTypeFilter?: EntityTypePickerKind, pass that through to EntityTypePicker
Context
customization of our catalog without the cost of needing to maintain our own catalog page implementation

Oh sorry - this is what you want, right? https://github.com/backstage/backstage/pull/10291

ah, perfect!

will this issue be linked when the change ships? dont think it’s been published yet and am curious if i need to keep checking the changelog or if i’ll get a notification for a comment on this thread!

No, it won't be seen in here. Once it's in master, it'll be in any following release. The nearest next (weekly) release is on Tuesday, if you follow those pre-release rather than the mainline


Updated song parser for JS

Based on the work of pull request #1 ("Quick and dirty song parser...") by @lberezy...
A textbox has been added to the HTML to allow for the editing of what gets played back. The smb.song file has also been included and can be played back by copying and pasting it into the textbox. Everything from #1 except for the "delay" command has been implemented. (JS doesn't really have a good way to do that.)
This pull request also makes various fixes to the code of the Vanilla JS port including undefined vars, code spacing, etc.

@fulldecent Is there any plan of getting this meged?

Blocker #28

@fulldecent So, if I change over to the new format, it will get merged?

Yes! Sorry for the delay. Just wanted to prevent rework.

@fulldecent The new files should be ready for a merge, and are compliant with the new song language from #28. I made the changes right away but, I hadn't realized that they never got committed.

@fulldecent Is everything good to go?

Looks great, thank you. Merged!

Ok, great! Thanks!
P.s. Improvements to the CSS and JS coming soon!

Nice!


heron-explorer

heron-explorer is a command-line tool, which has functionalities equivalent to heron-ui's.
Background
Heron UI is designed for users to allow them have a good understanding the status of their topologies. It provides a wide range of information in an organized way. However, we believe there is also need for a command-line tool that displays topology information on terminal. The CLI tool heron-explorer has the following advantages over heron-ui:

One can get desired information instantly on terminal, instead of opening web browser, clicking several buttons, and searching on the webpage

Auto-complete feature via Bash Programmable Completion

Design
The design is quite simple.
heron-explorer parses user input using Python’s argparse library. It reuses API call wrapper in heron.ui.src.python.handlers.access to talk to heron-tracker. It then converts API call result from JSON structure to tabulate and prints it on the terminal.
heron-explorer assumes heron-tracker locates at <IP_ADDRESS>:8888, but tracker base URL can be optionally set using --tracker_url.
Note: heron-tracker is extended so that its API supports role parameter. This means that we can make API call that queries topologies submitted only by specified user. It is extended in a way such that no function using its current APIs will break.
Functionalites
heron-explorer currently supports three main categories of subcommands.
Display running topologies

heron-explorer show cluster/[role]/[env]
The show subcommand displays running topologies. Cluster name is required, while role and environment name are optional.

Display logical plan info of a particular topology

heron-explorer bolts cluster/role/env/topology
The bolts subcommand displays bolts of a running topology.

heron-explorer spouts cluster/role/env/topology
The spouts subcommand displays spouts of a running topology.

heron-explorer components cluster/role/env/topology
The components subcommand displays spouts and bolts of a running topology.

Display physical plan info of a particular topology

heron-explorer bolts-metric cluster/role/env/topology
The bolts-metric subcommand displays metrics of bolts in all the physical containers of a topology.

heron-explorer spouts-metric cluster/role/env/topology
The spouts-metric subcommand displays metrics of spouts in all the physical containers of a topology.

heron-explorer containers cluster/role/env/topology
The containers subcommand shows all the physical containers of a running topology.

Comments on the demo:

Remove the unncessary logs printed
Separate heron-explorer's dependencies on heron-ui
Some results can be printed in a better format, for instance, print the list of topologies running on a specific cluster in a table.

Please separate your changes for heron-tracker in another PR
fix the problem when a non-existing role provided the program throws exceptions, and checks if any other information missing will also cause the exception

Thanks. I'll fix all the problems, and submit two PRs separately.

close this because we are going to split this PR


Ubuntu 18 requires Mongo 4.

Add Ubuntu 18 in test-kitchen
Use Mongo 4.0.3 for Ubuntu 18 since 3.x is unavailable

Resolves #209

[ ] All tests pass. See https://github.com/sous-chefs/apache2/blob/master/TESTING.md
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable

Working on getting all of the test suites to pass.

Thank you so much @mrala, do you need anything from us at this point?

Trying to figure out why some tests are failing on Travis CI even though they're passing locally.

At least one of these is a timeout. We can force a rebuilt of those tests for now, and engage @damacus's circleci wizardry for a permanent solution.

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

          1 Warning

:warning:
This is a big Pull Request.

  Generated by :no_entry_sign: Danger

Some tests are still failing on circle-ci but they are passing locally.

How is that test passing locally? 🤔

This requires the new CircleCI orb version (@2) for this pipeline to work. If you can get that working separately that'd be great 👍
Closing for now as this hasn't been touched in a few months


Add a PlacedWeapon class that Dynamite and Landmine will inherit from

A placed weapon should be dropped at the foot of the Worm, and unequip/hide upon fire.

This is finished.


Support for removing main content layout

I have Fragment A with the root as the SlidingUpPanelLayout with two children -

Main content layout with a transparent background.
Sliding panel layout.
Both are Relative layouts with width and height set as match parent.

Now I'm attaching Fragment A to another activity. (I want the fragment to be reusable)
I'm not able to remove the Main content layout so that the underlying activity receives touch events.
I tried setting android:clickable="false" to the main content layout but it still seems to receive touch events.
Much appreciated help. Thanks in advance.

I am having the same issue.. Have you find any solution ?


chore(blockifier): remove redundent clone() from tx obj

This change is

#2523  👈 (View in Graphite)
main

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


Split property component tree into its own directory

This makes it easier to understand what components are related to properties and which operate at a higher level.

Could you provide more context and why you're suggesting this change in the PR's description?

@jermnelson conflict resolved.


Update nerdctl 0.20.0 → 0.21.0

https://github.com/containerd/nerdctl/releases/tag/v0.21.0

@jandubois Could you create a new release (or may I create a new one)?

Could you create a new release (or may I create a new one)?

Of course you can, if you want to, but I've now created a PR that I will merge and tag if CI is green.
Note that I still haven't implemented support for CA certs in lima-init, so that part will still not work.
I also ran into some testing issues with the Alpine 3.16 based image, but they are probably all related to the missing sync calls (and Rancher Desktop always using limactl stop -f to stop a VM). I guess if a new release passes Lima tests, then it should be ok to include in the release.

Oops, so sorry, I was totally confused when commenting here; assuming this was the PR bumping nerdctl in lima, so I could have simply merged it instead of creating a duplicate. :(
Anyways, I've pushed the 0.2.17 tag now and will create the release when CI is done.


FND-342 - Revise the ownership lattice relations to better align with the situational model

Signed-off-by: Elisa Kendall<EMAIL_ADDRESS>Description
This resolution involved renaming certain ownership properties to better align with the situational pattern, to improve consistency and clarify usage, including:
(1) hasOwnedThing --> hasOwnedAsset (name was inconsistent with target range),
(2) isOwnedThingInRole --> isOwnedAsset (inverse of hasOwnedAsset),
(3) isOwningPartyInRole --> isOwningParty (name was inconsistent with its inverse),
(4) isOwnedBy --> isAssetOf (for consistency with the pattern - points from asset to owner),
(5) added ownsAsset - inverse of isAssetOf (party in role to party in role, was a gap),
(6) made owns a subproperty of 'plays active role that directly affects', and
(7) added a new isOwnedBy, subproperty of experiences directly and inverse of owns to complete the pattern (was also a gap) and create a consistent pattern of naming the various roles involved in ownership.
The resulting pattern is shown in the figure attached:
OwnershipPattern.pdf
See this PR in FIBO Viewer
Fixes: #1483 / FND-342
Checklist:

[x] I'm familiar with the FIBO developer quide. My contribution meets all the requirements described there.
[x] My contribution follows the principles of best practices for FIBO.
[x] My changes have been reconciled with latest master and no merge conflicts remain.
[x] This PR is related to exactly one issue. The issue is referenced by using a GitHub keyword such as "fixes", "closes", or "resolves".
[x] Hygiene tests have been applied by a PR with "(WIP)" in title.
[x] The issue has been tested locally using a reasoner (for ontology changes).

@dallemang I don't see that restriction on owner - it inherits the restriction on hasIdentity as you mention, but the only restriction on that class is that it is played by owns something.  Having said that, the restrictions weren't aligned with the pattern, and there is a redundant restriction on Asset with respect to hasIdentity - I've addressed that.  With respect to the latter issue, we might need to do that higher up the food chain - not on owner or asset, but at the party in role level.  I'm not sure how much of an issue that would be, but if we decide to address it I would do so at a higher level.

You're right - I was looking sometimes at the Q1 and sometimes at the PR (I wrote to Robert about how I can get a hold of the PR products that would make it easier for me to review the details in the most recent version).   I'm glad you found it.
I'm going to wait for the commit to finish building so that I can look at the result in the FIBO Viewer before I approve it.

@dallemang Ok - thanks!


[Jetpack Compose] Manage @Composable properties

Configuration
Code Connect CLI version: 1.1.4
Sources
package ...

import androidx.compose.material3.Button
import androidx.compose.material3.ButtonDefaults
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Shape
import com.figma.code.connect.Figma
import com.figma.code.connect.FigmaConnect
import com.figma.code.connect.FigmaProperty
import com.figma.code.connect.FigmaType
import com.figma.code.connect.FigmaVariant

@FigmaConnect(url = "https://www.figma.com/...")
@FigmaVariant("Variant", "Primary")
@FigmaVariant("Variant style", "Regular")
class PrimaryButtonDoc {
    @FigmaProperty(FigmaType.Text, "Label")
    val label: String = ""

    @FigmaProperty(FigmaType.Enum, "State")
    val enabled: Boolean = Figma.mapping(
        "Default" to true,
        "Disabled" to false,
    )

    @FigmaProperty(FigmaType.Enum, "Shape")
    val shape: Shape
        @Composable get() = Figma.mapping(
            "Rounded" to ButtonDefaults.shape,
            "Squared" to ButtonDefaults.outlinedShape,
        )

    @Composable
    fun Snippet() {
        Button(
            onClick = {},
            enabled = enabled,
            shape = shape,
        ) {}
    }
}

Result (parser)
figma connect publish --token ... --verbose

Config file found, parsing /... using specified include globs
Running parser: ./gradlew -p . parseCodeConnect -PfilePath=tmp/figma-code-connect-parser-input.json.tmp -q
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':code-connect:parseCodeConnect'.
> null cannot be cast to non-null type org.jetbrains.kotlin.psi.KtDotQualifiedExpression

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 6s
Error returned from parser: Parser exited with code 1. Try re-running the command with --verbose for more information.

Problem/Question
I'm trying to map an enum to a @Composable values using the get() = accessor. This format produce an issue during the parsing.
It's works with this format but I got a lint error (because the @Composable annotation is required)
@FigmaProperty(FigmaType.Enum, "Shape")
val shape: Shape = Figma.mapping(
    "Rounded" to ButtonDefaults.roundedCornerShape,
    "Squared" to ButtonDefaults.squaredCornerShape,
)

Hey @tomduncalf-figma, thanks for the answer.
In my exemple, I need to map my "Shape" enum to Material3 values. These values are @Composable.

Without the @Composable annotation, I got this error :
@Composable invocations can only happen from the context of a @Composable function

Thanks @corentin-stamper, this sounds like something we should probably add support for. I'll raise for discussion with the team and add to the backlog if we agree we should do it


Improve vulnerability reporting

Hello, could you please improve the vulnerability reporting experience? In particular:

Add a SECURITY.md file, the current mention in CONTRIBUTING.md might not be immediately noticeable
Replace http:// with https:// URLs, at the very least please for the vulnerability reporting URL in CONTRIBUTING.md
Consider using GitHub's private vulnerability reporting instead of requiring reports to the AWS Security team. It appears the AWS Security team is not necessarily excepting reports for amazon-ion, and the communication over e-mail might be a bit tedious.

Note that this is not specific to ion-java, but probably applies to all amazon-ion repositories.

@tgregg, @zslayton, @popematt
The reason why I created this issue is also because a few weeks before I wrote to<EMAIL_ADDRESS>After some back and forth I got the following response:

We have raised this with the appropriate team to address the issue

So I hope it did actually reach you, but I am not sure because so far I haven't seen any fixes for that issue. I am not planning to disclose the content of that report here though.

Hi @Marcono1234,
Thank you for bringing this up, and I'm sorry that it has taken this long to get back to you.
We can certainly update all of the http links. For the other two items you mentioned, we'll need to talk to our security team to find out if they're okay with those changes.
In the meantime, if you would like, you can email us at<EMAIL_ADDRESS>with a brief summary of the issue you reported, and we can confirm to you whether or not we were informed about it.

In the meantime, if you would like, you can email us at<EMAIL_ADDRESS>with a brief summary of the issue you reported, and we can confirm to you whether or not we were informed about it.

Thanks! I have just forwarded the original mail to that address, it is not that long, so I hope that is ok for you.

Thank you. We will look into this.

@Marcono1234, thanks for your patience with this. As you can probably guess, some of these changes require some work behind closed doors with our security teams and from the outside it might look like we are doing nothing.
Here are some of the changes that have happened so far:

We now have a security policy set up for the amazon-ion organization that applies to all repos. See https://github.com/amazon-ion/ion-java/security/policy, for example.
We have coordinated with AWS Security to ensure that they are expecting reports about Ion and that all security disclosures will be shared with us regardless of the severity of the issue, its eligibility for any bug bounty programs, etc.
We are switching the links in CONTRIBUTING.md to use https (#554).

Thanks a lot for the update! The changes look and sound good to me.

We are switching the links in CONTRIBUTING.md to use https

In case you aren't aware of it yet, SECURITY.md and CONTRIBUTING.md in https://github.com/amazon-ion/.github still use http:// for the vulnerability reporting URL.


Error: type 'Query' does not have a field 'blogIndex'

Hi, I created my first blog post using the BaseHub blog template that was created during the setup, and committed my changes.
Then I followed the steps in the attached image, which works fine (returns "{ typename: 'Query' }" successfully).

But whenever I try to run:
const data = await basehub({ next: { revalidate: 30 }}).query({
    typename: true,
    blogIndex: {
      _id: true,
      blogPosts: {
        args: { first: 10, orderBy: 'publishDateDESC' },
        items: {
          _id: true,
          _title: true,
          _slug: true,
          subtitle: true,
          coverImage: { url: true },
          body: { json: true },
        },
      },
    }
  });

It keeps returning my this error (and I can't get my actual blog posts... What's wrong?
I already tried reinstalling - but it still doesn't work...

Closed via Discord :)
Was a .next directory issue: sometimes, deleting the .next tells Next.js to re-compile files and modules again to reflect fresh data.


[resolves #361] Dependency on lucene defined twice

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/wildfly-camel-pullreq/248/
Test PASSed.


How to implement One time purchase & how to use consumePurchase Method ?

I think you should find out more about consumable, non-consumable products on each platform.


improve trace event ordering

SpanEvents now uses its wrapping Span's id when ordering
Asynchronous events are now guaranteed to be placed after its parent
event (used to cause problems when async traces happened at the same
time as its parent event)
Fix cases where nulls are passed into annotations when creating
ExpectedTrace (cases where ExpectedAnnotation[] is used instead of
varargs)

closing, fixed in #721


IDE0028: Simplify object collection

All changes were done by the IDE

Can you be extremely pedantic about what you did to produce the refactoring here? Was it a "fix all in solution" on IDE0028? Which solution did you have open at the time (MSBuild.sln or MSBuild.dev.sln)? Did you do any manual fixups afterward?

Every change was automatic. I did no manual fixes or changes.

cc: @rainersigwald

It was a fix all solution, but I checked every single one and disabled the refactorings of object collection that was incorrect.

MSBuild.dev.sln was open at the time

Team triage: Thank you for the pull request. At the moment, we don't have a formally defined .editorconfig code style, so we'd like to defer all automated style fixes until we do (#4092).


Test DBngin

https://github.com/TablePlus/DBngin

Some features are missing like run the service on startup.


Removed firedantic from restful_service

Remove firedantic from dependencies in restful_service

E2E test run: https://github.com/GoogleCloudPlatform/solutions-template/actions/runs/5578809130


Track sessions

Sentry has Release health tracking that's performed by providing the release name in the Sentry.init config and monitoring sessions. According to their docs, session tracking in backend apps is done per request. But I cannot make Sentry track requests as sessions, or transactions for that matter, per request. I've implemented a custom filter that creates transactions manually for reach request, but sessions are still aren't generated, which means I can't benefit from Release health tracking. Has anyone else encountered this problem? Is there a solution for this? I tried applying solutions their docs have for Express, but wasn't successful.

@nick-lvov-dev I've been on a ride with trying to enable sentry performance with this library, thinking that the library didn't support it, but after a while, I could make it work.
My setup is with graphql but I hope this helps you.
There are two things that worked for me, first, it was including the tracesSampleRate in the sentry module, and second and most important is adding the import @sentry/tracking package in the first line of the module.
Note the sentry message in their code example here: https://docs.sentry.io/platforms/node/performance/
"// Note: You MUST import the package for tracing to work"
    SentryModule.forRootAsync({
      imports: [ConfigModule],
      useFactory: async (configService: ConfigService) => ({
        debug: false,
        logLevel: configService.get('sentry.logLevel'),
        dsn: configService.get('sentry.dns'),
        environment: configService.get('environment.name'),
        sampleRate: Number(configService.get('sentry.sampleRate')),
        tracesSampleRate: Number(configService.get('sentry.tracesSampleRate')),  <-- initially confused this with the sample rate
        integrations: [new Sentry.Integrations.Http({ tracing: true })],
      }),
      inject: [ConfigService],
    }),

After this I was able to inject the sentry instance and start a transaction like so
    const transaction = this.sentryService.instance().startTransaction({
      op: 'gql',
      name: 'GraphQL',
    });

And when the request finishes you can do transaction.finish().
Hope this helps, it took me a while, I was even considering forking the library but those two hidden things worked for me.


Build with cmake

The previous build system of platform-specific Makefiles requiring manual modification was pretty hairy. Here is a new build setup which uses CMake, with the following advantages:

A single configuration file (CMakeLists.txt) for all platforms and options
Automatic detection of paths for OpenMP, LAPACK/BLAS
Automated dependency resolution within Fortran sources/modules - no more need to specify the compile order by hand

This will require some updates to the compile instructions, but those will conflict with #17. So let's merge that one first, and then I'll fix this PR up.

Added some changes to address #6 (PGI compiler problems) and #11 (Don't fail on missing git).
Building with the PGI compiler is not tested in Travis. It's certainly possible but I'm not sure it's worth doing.

@jcokemurray can you review and approve this PR?

Rebased onto the tip of dev to resolve conflicts. I removed the outdated Windows install instructions. If somebody wishes they can update doc/compile.md with Windows-specific instructions.

Works for me. Cmake would definitely be an improvement over the manual Makefile approach...

@jcokemurray thanks for reviewing. @whophil merging this PR now.


Migrate setup-java action to use Temurin

AdoptOpenJDK has moved the the Eclipse Foundation and now distributes binaries under the new name "Eclipse Temurin"

Thanks for the PR!


FIX #5557 Tests with no DB requirements wont create test DB

Removed duplicate logic that is already in using_temp_db
Only need to create the temp db if we aren't using one - this logic is not needed to wrap the entire set of logic around fixtures, etc.


Docs 1.0.x remove apis

Summary
Removes deprecated API object from most of the docs.
Full changelog
Divided into several commits:

Added some elements (navigation) to make the 1.0.0 branch visible while making changes
Remove references to APIs from the "main" docs
Remove references to APIs from most plugins (excluded old EE versions and non-kong plugins)
Remove code that generated APIs for plugins automatically (this commit was left separate in case it was deemed better not to remove it).

@coopr 	I have added an extra commit doing a copy of the 0.14 docs so that the changes I made for 1.0 are now visible in isolation on their commit:
https://github.com/Kong/docs.konghq.com/pull/1069/commits/01b696e8789f89910e8c55b775daaf49b03e14bb
Regarding Plugin versioning: I didn't know plugins were versioned now. I assume I can just rename the "api" ones to an older plugin version, and then create a new index.md page for each plugin? Only drawback I see with that approach is that you will not be able to easily see the differences between versions, as you can now. Maybe do a first pass on the plugin changes and if everything is ok I will redo them as new versions?

Update regarding Plugin versions: I did my best to add new versions for the plugins. However I must have done something wrong while doing so because now the website doesn't render. It does not throw any error anywhere, it just says "could not render /".


feat: update the banner to promote London CFP on the website

PR with the update of the CFP banner with the London details.

/rtm


BBB 2.5 compatibility

Hi,
Is the code for bbb2.4 compatible with the recently released bbb2.5 ?
Thanks

Tested, and it does work.


NameError: uninitialized constant RSpec

rake aborted!
Hi
I updated redmine 4.0.5 -> 4.1.0.
I get an error while running the command
"bundle exec rake generate_secret_token".

Environment:
  Redmine version                4.1.0.stable
  Ruby version                   2.6.3-p62 (2019-04-16) [x86_64-linux]
  Rails version                  <IP_ADDRESS>
  Environment                    production
  Database adapter               PostgreSQL
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp
SCM:
  Subversion                     1.7.14
  Mercurial                      5.2.2
  Bazaar                         2.5.1
  Git                            2.9.3
  Filesystem
  Xitolite                       2.9.3
Redmine plugins:
  additionals                    2.0.23
  progressive_projects_list      4.0.0
  redmine_git_hosting            4.0.1
  redmine_issue_badge            0.1.3
  redmine_tags                   4.0.0

[~/redmine]$ bundle exec rake generate_secret_token
rake aborted!
NameError: uninitialized constant RSpec
/mnt/storage/opt/redmine/redmine/plugins/redmine_git_hosting/lib/tasks/ci_tools.rake:4:in `block (2 levels) in '
/mnt/storage/opt/redmine/redmine/plugins/redmine_git_hosting/lib/tasks/ci_tools.rake:2:in `block in '
/mnt/storage/opt/redmine/redmine/plugins/redmine_git_hosting/lib/tasks/ci_tools.rake:1:in `'
/mnt/storage/opt/redmine/redmine/lib/tasks/redmine.rake:202:in `load'
/mnt/storage/opt/redmine/redmine/lib/tasks/redmine.rake:202:in `block in '
/mnt/storage/opt/redmine/redmine/lib/tasks/redmine.rake:202:in `each'
/mnt/storage/opt/redmine/redmine/lib/tasks/redmine.rake:202:in `'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:656:in `load'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:656:in `block in run_tasks_blocks'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:656:in `each'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:656:in `run_tasks_blocks'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:515:in `run_tasks_blocks'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:459:in `load_tasks'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:190:in `public_send'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:190:in `method_missing'
/mnt/storage/opt/redmine/redmine/Rakefile:7:in `'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/gems/rake-13.0.1/exe/rake:27:in `'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `'
(See full trace by running task with --trace)

[~/redmine/plugins/redmine_git_hosting]$ git branch
* (HEAD detached at 4.0.1)
  devel

~/redmine/plugins]$ ll
drwxr-xr-x 11 redmine redmine 4096 Feb 28 11:43 additionals
drwxr-xr-x  7 redmine redmine  118 Feb 28 11:39 progressive_projects_list
drwxr-xr-x 11 redmine redmine  306 Feb 28 11:57 redmine_git_hosting
drwxr-xr-x 13 redmine redmine 4096 Feb 28 12:36 redmine_issue_badge
drwxr-xr-x  9 redmine redmine  261 Feb 28 11:39 redmine_tags

Any news here? I am still on ruby 2.4.10p364 (2020-03-31 revision 67879) [x86_64-linux] but I have the same issue when I want to run rake commands.

rake aborted!
NameError: uninitialized constant RSpec
ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
Rails <IP_ADDRESS>
Redmine 4.1.1
`
[~/redmine-4.1.1/plugins/redmine_git_hosting]$ git branch

(HEAD detached at 4.0.1)
devel

$ bundle exec rake tmp:cache:clear  tmp:sockets:clear
rake aborted!
NameError: uninitialized constant RSpec
/mnt/storage/opt/redmine/redmine-4.1.1/plugins/redmine_git_hosting/lib/tasks/ci_tools.rake:4:in block (2 levels) in <top (required)>' /mnt/storage/opt/redmine/redmine-4.1.1/plugins/redmine_git_hosting/lib/tasks/ci_tools.rake:2:in block in <top (required)>'
/mnt/storage/opt/redmine/redmine-4.1.1/plugins/redmine_git_hosting/lib/tasks/ci_tools.rake:1:in <top (required)>' /mnt/storage/opt/redmine/redmine-4.1.1/lib/tasks/redmine.rake:202:in load'
/mnt/storage/opt/redmine/redmine-4.1.1/lib/tasks/redmine.rake:202:in block in <top (required)>' /mnt/storage/opt/redmine/redmine-4.1.1/lib/tasks/redmine.rake:202:in each'
/mnt/storage/opt/redmine/redmine-4.1.1/lib/tasks/redmine.rake:202:in <top (required)>' /mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:656:in load'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:656:in block in run_tasks_blocks' /mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:656:in each'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:656:in run_tasks_blocks' /mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:515:in run_tasks_blocks'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:459:in load_tasks' /mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:190:in public_send'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:190:in method_missing' /mnt/storage/opt/redmine/redmine-4.1.1/Rakefile:7:in <top (required)>'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/gems/rake-13.0.1/exe/rake:27:in <top (required)>' /mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/bin/ruby_executable_hooks:24:in eval'
/mnt/storage/opt/redmine/.rvm/gems/ruby-2.6.5/bin/ruby_executable_hooks:24:in <main>' (See full trace by running task with --trace)

Like this. This is how it works:

bundle exec rake tmp:cache:clear  tmp:sockets:clear RAILS_ENV=production

Assuming this is either resolved or obsolete.

Yes, the problem is in the missing RAILS_ENV variable:
bundle exec rake generate_secret_token
rake aborted!
NameError: uninitialized constant RSpec

bundle exec rake generate_secret_token RAILS_ENV=production

A part of the code responsible for the error is in lib/tasks/c_tool.rake. I think that this is wrong.
unless Rails.env.production?
    RSpec::Core::RakeTask.new do |task|
      task.rspec_opts = '--pattern plugins/redmine_git_hosting/spec/\*\*\{,/\*/\*\*\}/\*_spec.rb --color'
    end
  end


Implement zooming using Ctrl + Mouse wheel in the TileMap editor

Follow-up to #33950.
This was previously implemented in the GridMap editor. This makes the same feature available in the TileMap editor.
This partially addresses https://github.com/godotengine/godot-proposals/issues/968.

Needs a rebase on current master to fix CI.

Thanks!

Cherry-picked for 3.2.2.


Java::JavaLang::UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V

Hi,
I ran into this problem and it seems to be related to some native library that doesn't load. I've been working on one project in two different linux distributions (archlinux and ubuntu trusty 14.4) and I used the very same packages. In the former, everything work smoothly, but in Ubuntu the error prompts every time I use ActiveRecord for manipulating SQLite3.
I got in the two boxes:
RVM 1.26.8
JRuby 1.7.18
ActiveRecord 4.1.8
activerecord-jdbcsqlite3-adapter 1.3.13
Errors:
https://gist.github.com/jomendoz/e04e0722772353b4942b
Libs:
https://gist.github.com/jomendoz/7bce15e928c98f8f5c0d

this seems as a bug in jdbc-sqlite3 itself, which we do not maintain at the source level - we're only releasing the .jar driver artifacts as a gem. for completeness JVM details and jdbc-sqlite3 version might be interesting for the users running into this, thanks!


Plot label quadrant

First of all - thank you for such an amazing job with this project!
Is your feature request related to a problem? Please describe.
Plot label currently is stuck in top-right corner of the pointer, which is an issue if you want to read label at the edge of a plot (top edge, or right edge). Label isn't drawn in that case (screenshot below)

Describe the solution you'd like
I don't know internals of the library well enough to produce a sensible solution (and very new to rust as a whole), but I made a simple hack for my own purposes, which is: compare value (which i assume just pointer coordinates in plot space) with plot bounds (screenshot with solution below). That way we can put label in the opposite quadrant of the cursor compared to cursor's position in the plot (it's in the egui/crates/egui/src/widgets/plot/items/mod.rs rulers_at_value())

Describe alternatives you've considered
I think a much better way to do this would be to provide some setting for user to decide how label is displayed
Additional context
again, much thanks for the work you all put into this project, it's extremely useful.
code of hacky solution in the screenshot:
// determine which quadrant cursor is placed in.
let bounds = plot.transform.bounds();
let mut quadrant: [bool; 2] = [true, true];
quadrant[0] = value.x > bounds.min()[0] + (bounds.max()[0] - bounds.min()[0]) / 2.0;
quadrant[1] = value.y > bounds.min()[1] + (bounds.max()[1] - bounds.min()[1]) / 2.0;
let label_quadrant = match quadrant {
    [true, true] => Align2::RIGHT_TOP,
    [false, true] => Align2::LEFT_TOP,
    [true, false] => Align2::RIGHT_BOTTOM,
    [false, false] => Align2::LEFT_BOTTOM,
};

let label_offset = quadrant.map(|b| match b {
    true => 1.0,
    false => -1.0,
});

let font_id = TextStyle::Body.resolve(plot.ui.style());
plot.ui.fonts(|f| {
    shapes.push(Shape::text(
        f,
        pointer + vec2(-3.0 * label_offset[0], 2.0 * label_offset[1]),
        label_quadrant,
        text,
        font_id,
        plot.ui.visuals().text_color(),
    ));
});

Having the label move around relative to the cursor does not seem great to me, and then you are still going to clip if the label is too big to fit into the graph area (happens a lot if you use multiple narrow plots next to each other, for example).
I find that using show_tooltip_at_pointer(..) works better and is a lot more flexible - it is consistent, deals with window edges as well, and then you have much more freedom to shape/format the output as you need.
For example:
https://github.com/emilk/egui/assets/8810462/841bb028-6951-408c-aa9e-1e6b9a0e63ae

Having the label move around relative to the cursor does not seem great to me, and then you are still going to clip if the label is too big to fit into the graph area (happens a lot if you use multiple narrow plots next to each other, for example).

I totally agree with all that. In fact small graphs is exactly the reason I did that modification.

I find that using show_tooltip_at_pointer(..) works better and is a lot more flexible - it is consistent, deals with window edges as well, and then you have much more freedom to shape/format the output as you need.

That is really helpful! I didn't know that functionality existed
However this method lacks "snapping" to the nearest point, unless I do the calculations myself, which is doable, but since native label does this already and it would be nice to get the item to which label has "snapped to", instead of performing same calculations twice. Is there something like that cause I can't find it?...
But the resulting ui itself is miles better than what I had before. I could really use some snapping tho

What you want to snap is not the location of the pointer, it's the location egui samples on the graph. All you have to do is cache the n that egui computes and gives to the formatter, then do your own lookup of the graph value at that point (which is preferable anyway, especially when you have more complex ways of looking at the data).
See the following in my code (ignore the Sym part, n is what you care about):
let pp = std::rc::Rc::new(std::cell::RefCell::<(Sym, f32, f32)>::new((
    Sym::EMPTY,
    0.0,
    0.0,
)));
let pp_ = pp.clone();
let formatter = move |name: &str, n: &egui::plot::PlotPoint| {
    *pp.borrow_mut() = (Sym::hash_str(name), n.x as f32, n.y as f32);
    "".into()
};

let egui::plot::PlotResponse { inner: hovered, .. } = sovs_plot.show(ui, |plot_ui| {
    // ..draw the plot here
});

if hovered {
    let (name, time, n) = *pp_.borrow();
    if let Some(tx) = self.graph_readout(name, time, n, time_stats) {
        egui::show_tooltip_at_pointer(context, egui::Id::new("graph_read"), |ui| {
            widget::text_style(
                ui,
                egui::TextStyle::Name(String::from(Self::MONO_SMALL).into()),
                |ui| {
                    tx.iter().for_each(|t| {
                        ui.label(t.clone());
                    })
                },
            );
        });
    }
}

This still leverages the snapping and calculations egui does, but caches the value that gets computed by accessing it from the formatter, and then uses it to make as complex and as detailed a "tooltip" as I desire at whatever the actual pointer location will be (close to the point but not snapped). Works very well.

BTW you can see in my video that you still get the plot location snapped and highlighted by egui, as desired.

Thank you a lot, this works great!
Feels a bit hacky but still does the job :D

Is it through the label formatter where you can also retrieve values from the points?
https://github.com/emilk/egui/discussions/856#discussioncomment-1572805
Seems like it should be a feature but haven't found how/where.


"TypeError: Cannot read property 'objectMode' of undefined" when process.env.NODE_ENV == 'test'

System

Operating System version: Windows 10
Firebase SDK version: "firebase-admin": "^9.2.0",
Firebase Product: storage
Node.js version: v12.18.3
NPM version: 6.14.8

The Problem:
I get an error while trying to run some code to upload a file to cloud storage in a test environment.
Error
`
TypeError: Cannot read property 'objectMode' of undefined
  at Pumpify.Object.<anonymous>.Writable.write (node_modules/firebase-admin/node_modules/readable-stream/lib/_stream_writable.js:292:22)

So the state (references _writeableState) is undefined.
Running the same code in live cloud functions work perfectly
Steps to reproduce

Setup a jest test
Run the code below with a file of name image.png in the same dir as the test file.

Code:
const { v4: uuid } = require('uuid');
test("Uploads a file to cloud storage without throwing an error",()=>{
    const metadata = {
        metadata: {
            firebaseStorageDownloadTokens: uuid()
        },
        contentType: 'image/png',
        cacheControl: 'public, max-age=31536000',
    };
    let filePath = path.join(__dirname, "image.png");
    await bucket.upload(filePath, {
        destination: `users/testUser/documents/image.png`,
        gzip: true,
        metadata: metadata,
    });
});

If someone is running into this issue and are using JEST.
Scoping your upload inside a beforeAll instead of beforeEach seems to do the trick. I have no idea why...
`/// This does not work
beforeEach(async () => {
/// Trying to upload your file here will fail
})
afterEach(async () => {});
describe("Upload image", () => {
test("Test whatever ", async () => { });
});`
This does for some reason:
`describe("Upload image", () => {
beforeAll(async () => {
    /// Upload your file
})

afterAll(async () => {
    /// the file delete
});
test("Test whatever ", async () => { });

});
`

Also asked here: https://stackoverflow.com/questions/64557855/typeerror-cannot-read-property-objectmode-of-undefined-when-calling-bucket
Use SO for questions and debugging usage issues.

Also asked here: https://stackoverflow.com/questions/64557855/typeerror-cannot-read-property-objectmode-of-undefined-when-calling-bucket
Use SO for questions and debugging usage issues.

Because I asked it there...
Seems like a bug in the library, thats why I've posted it here...

same here!


IPv4 Link-local implementation doesn't detect IP address collisions

The current IPv4 implementation selects a randomly generated IP address and proceeds to use it without probing for its existence of announcing itself. See https://tools.ietf.org/html/rfc3927#section-2.2.1 for what it should be doing.

Closing this issue because it is a duplicate of https://github.com/nerves-project/nerves_network/issues/16


train inception from scratch: imagenet_train not a target

I successfully compiled tensorflow and I was able to run the retrain binary with my own images.
I'd like to retrain inception from scratch, as described here, but the package is not available:
$ bazel build inception/imagenet_train
ERROR: no such target '//:inception/imagenet_train': target 'inception/imagenet_train' not declared in package

Note that inception is in a different models repository.

This is what I see under models
$ bazel build tensorflow/models/
tensorflow/models/embedding:  tensorflow/models/embedding/  tensorflow/models/image/      tensorflow/models/rnn:        tensorflow/models/rnn/

I don't see imagenet_train

@zzzrpagliari If you want to find inception in the models repo, please click on your own link from the original comment.


Define an SDK library specification for KRM function authoring

Two languages are supported to author KRM functions:

typescript; https://googlecontainertools.github.io/kpt/guides/producer/functions/ts/

Go; https://googlecontainertools.github.io/kpt/guides/producer/functions/golang/

but there's no easy way to compare these libraries to generally understand the capabilities offered, and see what is missing.
We need a doc on the kpt site, possibly simply a markdown matrix, describing what's offered, and linking to the relevant packages.
It might help (or it might be overkill) to establish a language agnostic api definition using openapi.

https://pkg.go.dev/sigs.k8s.io/kustomize/kyaml/yaml
https://www.npmjs.com/package/kpt-functions

@Shell32-Natsu Please add sizing and other details to this issue.

@mengqiy might this be something you pick up?  I think you have done a lot of the analysis here already.


vk ERROR: Video does not exist.

youtube-dl https://vk.com/video25702507_456241957 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://vk.com/video25702507_456241957', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.04
[debug] Python version 2.7.6 (CPython) - Linux-4.9.103-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.20-6, avprobe 9.20-6
[debug] Proxy map: {}
[vk] 25702507_456241957: Downloading webpage
ERROR: Video 25702507_456241957 does not exist.
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 501, in extract
ie_result = self._real_extract(url)
File "./youtube-dl/youtube_dl/extractor/vk.py", line 352, in _real_extract
raise ExtractorError(error_msg % video_id, expected=True)
ExtractorError: Video 25702507_456241957 does not exist.

You did not pass account credentials.

Totally same problem. It never happened before, and this is public video.
$ youtube-dl 'https://vk.com/bemiraculous?w=wall-122455412_211532' --verbose [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['https://vk.com/bemiraculous?w=wall-122455412_211532', '--verbose'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2018.07.04 [debug] Python version 3.5.2 (CPython) - Linux-4.9.0-040900-generic-x86_64-with-Ubuntu-16.04-xenial [debug] exe versions: ffmpeg 3.4.2-1, ffprobe 3.4.2-1 [debug] Proxy map: {} [vk:wallpost] 122455412_211532: Downloading webpage [download] Downloading playlist: Miraculous | Леди Баг и Супер-Кот - Wall post 122455412_211532 [vk:wallpost] playlist Miraculous | Леди Баг и Супер-Кот - Wall post 122455412_211532: Collected 1 video ids (downloading 1 of them) [download] Downloading video 1 of 1 [vk] -122455412_456239972: Downloading webpage ERROR: Video -122455412_456239972 does not exist. Traceback (most recent call last):   File "/home/cat/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info     ie_result = ie.extract(url)   File "/home/cat/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 501, in extract     ie_result = self._real_extract(url)   File "/home/cat/.local/lib/python3.5/site-packages/youtube_dl/extractor/vk.py", line 352, in _real_extract     raise ExtractorError(error_msg % video_id, expected=True) youtube_dl.utils.ExtractorError: Video -122455412_456239972 does not exist.

@dstftw  However, streamlink can handle VK streams without needing account credentials.
$ streamlink -l debug https://vk.com/video25702507_456241957 best -o /tmp/output.mp4
[cli][debug] OS:         Linux-4.15.0-22-generic-x86_64-with-Ubuntu-18.04-bionic
[cli][debug] Python:     3.6.5
[cli][debug] Streamlink: 0+unknown
[cli][debug] Requests(2.19.1), Socks(1.6.7), Websocket(0.48.0)
[cli][info] Found matching plugin vk for URL https://vk.com/video25702507_456241957
[plugin.vk][debug] video ID: 25702507_456241957
[cli][info] Available streams: 240p (worst), 360p, 480p, 720p, 1080p (best)
[cli][info] Opening stream: 1080p (http)
[cli][debug] Pre-buffering 8192 bytes
[cli][debug] Checking file output
[cli][debug] Writing stream to output
[download][output.mp4] Written 2.3 MB (3s @ 631.5 KB/s)
^C[cli][info] Stream ended
Interrupted! Exiting...
[cli][info] Closing currently open stream...

So why not do same with youtube-dl?
$ youtube-dl --ignore-config -v https://vk.com/video-27532693_456243764
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-v', 'https://vk.com/video-27532693_456243764']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.04
[debug] Python version 3.6.5 (CPython) - Linux-4.15.0-22-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.2-2, ffprobe 3.4.2-2, phantomjs 16, rtmpdump 2.4
[debug] Proxy map: {}
[vk] -27532693_456243764: Downloading webpage
ERROR: Video -27532693_456243764 does not exist.
Traceback (most recent call last):
  File "/home/pavel/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/home/pavel/.local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 501, in extract
    ie_result = self._real_extract(url)
  File "/home/pavel/.local/lib/python3.6/site-packages/youtube_dl/extractor/vk.py", line 352, in _real_extract
    raise ExtractorError(error_msg % video_id, expected=True)
youtube_dl.utils.ExtractorError: Video -27532693_456243764 does not exist.

Same problem here, they're all public videos that I can watch on the site so why can't I do it in youtube-dl?

@remitamine Good job. Finally, after all this time... We could have it sooner :) https://github.com/rg3/youtube-dl/pull/10755
Back then I opted for fallback to "inline" link instead of using it directly. Not all videos were available on inline link. But it was a long time ago and my memory is foggy.


Automatic error report

<!---   *** BEFORE SUBMITTING: PASTE CLIPBOARD HERE TO COMPLETE YOUR REPORT ***   ---!>

No substantive information provided. If you can describe in detail the circumstances in which the error occurred, and post the information listed in relevant subsection of the Spyder Troubleshooting Guide as a comment to this issue, then please re-open.


Multiplier tab breaks with Continuum enabled due to Achievement 183

Describe the bug
When viewing the Multiplier tab with Continuum enabled, "Base AD Production" breaks because "Purchased AD N" fails to calculate as a result of an error thrown in the following line:
https://github.com/Rangaz/AntimatterDimensionsWithAchievementRewards/blob/bfb4398d04e1ed43553692e0245d0d1ad1ff7f51/src/core/secret-formula/multiplier-tab/antimatter-dimensions.js#L67
The error is:
04:16:36.338 Uncaught (in promise) TypeError: AntimatterDimension(...).continuumValue.timesEffectOf is not a function
    t antimatter-dimensions.js:67
    multValue antimatter-dimensions.js:78
    multValue antimatter-dimensions.js:78
    Ij breakdown-entry-info.js:93
    get mult breakdown-entry-info.js:47
    get isVisible breakdown-entry-info.js:87
    update breakdown-entry-info.js:33
    update MultiplierBreakdownEntry.vue:114
    dispatch event-hub.js:26
    flushEvents ui.js:143
27 antimatter-dimensions.js:67:49

To Reproduce
Steps to reproduce the behavior:

Unlock the sixth Celestial and enable Continuum.
View the Multiplier Tab, specifically the "Antimatter Production" or "Antimatter Dimensions" subtabs.
Notice they both display no information and instead falsely say that the total effect is disabled, inactive, or reduced to 1.

Expected behavior
The multiplier breakdown should work properly for these tabs.
Savefile
AD Rewarded predoom.txt

I have launched a fix. Thank you for reporting!


Testnet 131 candidate

Motivation
Candidate build for next testnet
Changes

more logging of p2p (for #2386)

bors try

bors try

bors try


fix: no longer rewriting body unnecessarily

:tada: This PR is included in version 4.1.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: