Plugin not working

Problem/Motivation

Plugin not sending data to cameras

Expected behavior

not sure

Actual behavior

gives error in log
Fatal error : Could not open /var/run/chrony/chronyd.pid : Permission denied

tried to uninstall/reinstall/reboot same error, having a hard time to get into container as mc/apt/other soft not available inside

Please post the full addon startup log

`[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
Add-on: chrony
A local NTP (Network Time Protocol) server for cameras etc.
Add-on version: 2.2.1
You are running the latest version of this add-on.
System: Debian GNU/Linux 10 (buster)  (amd64 / qemux86-64)
Home Assistant Core: 2021.11.3
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Home Assistant Supervisor: 2021.10.8
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] chrony.sh: executing...
[cont-init.d] chrony.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[14:18:00] INFO: Starting chronyd...
2021-11-14T11:18:00Z chronyd version 4.1 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 -DEBUG)
2021-11-14T11:18:00Z Fatal error : Could not open /var/run/chrony/chronyd.pid : Permission denied
[14:18:01] INFO: Starting chronyd...`

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
Add-on: chrony
A local NTP (Network Time Protocol) server for cameras etc.
Add-on version: 2.2.1
You are running the latest version of this add-on.
System: Debian GNU/Linux 10 (buster)  (amd64 / qemux86-64)
Home Assistant Core: 2021.11.3
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Home Assistant Supervisor: 2021.10.8
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] chrony.sh: executing...
[cont-init.d] chrony.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[14:18:00] INFO: Starting chronyd...
2021-11-14T11:18:00Z chronyd version 4.1 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP -SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 -DEBUG)
2021-11-14T11:18:00Z Fatal error : Could not open /var/run/chrony/chronyd.pid : Permission denied
[14:18:01] INFO: Starting chronyd...


--removeComments behaves inconsistently

Latest ts that works in VS 2015 - 1.8.6
Expected behaviour - via https://www.typescriptlang.org/docs/handbook/compiler-options.html:
--removeComments : Remove all comments except copy-right header comments beginning with /*!
Actual behaviour:
parts of .js files:
Keeps comment
// they must have the exact same prototype chain, the closest we can do is
// test there constructor.
for (var p in x) {
Keeps comment
// other properties were tested using x.constructor === y.constructor
if (!y.hasOwnProperty(p))
return false;
Keeps comment above if , removes the one below it
// Numbers, Strings, Functions, Booleans must be strictly equal
if (!this.Equals(x[p], y[p]))
return false;
// Objects and Arrays must be tested recursively
All reference comments are kept.

Nevermind. After I restarted the VS 2015, the --removeComments started to behave as expacted.


Fix redirects

Before this change redirects didn't work because method Service.extendMapper didn't copy the value of URLMapper.RedirectType to the extended result.
To fix this we return the original URLMapper instead of creating a new one (it can also help to avoid similar bugs in the future). We can reuse URLMapper because it is passed by value.

2022/11/07 13:47:25 INFO  activate http proxy server on <IP_ADDRESS>:49700
    proxy_test.go:66:
        	Error Trace:	proxy_test.go:66
        	Error:      	Received unexpected error:
        	            	Get "http://<IP_ADDRESS>:49700/api/something": dial tcp <IP_ADDRESS>:49700: connect: connection refused
        	Test:       	TestHttp_Do
--- FAIL: TestHttp_Do (0.06s)

I reproduced this fail (~1/50 test runs). It looks like the 10ms delay (app/proxy/proxy_test.go:58) sometimes is not long enough. I can increase it to 20ms, for example. Another option is to just re-run CI.

2022/11/07 14:06:38.404 [INFO]  {logger/logger.go:134 logger.(*Middleware).Handler.func1.1} GET - /svc2/test - <IP_ADDRESS> - <IP_ADDRESS> - 404 (43) - 169.961115ms
main_test.go:81:
      Error Trace:	main_test.go:81
      Error:      	Not equal:
                    expected: 200
                    actual  : 404
      Test:       	Test_Main
main_test.go:84:
      Error Trace:	main_test.go:84
      Error:      	"404 page not found\n" does not contain "echo echo 123"
      Test:       	Test_Main

app/main_test.go:28

"--static.rule=*,/svc2/(.*), https://echo.umputun.com/$1,https://feedmaster.umputun.com/ping",

It looks like https://echo.umputun.com/test doesn't work as expected anymore. I am not sure what caused this. Should I update expected status code and body?

I think the decrease of coverage by 0.02% is not very critical. Especially, I believe it is caused by code removal.


Update protobuf version used to build TFDV

When I used TFDV (1.13.0) built with this PR, I faced the following error.
#0 25.94 File /usr/local/lib/python3.8/site-packages/google/protobuf/descriptor.py:561, in FieldDescriptor.__new__(cls, name, full_name, index, number, type, cpp_type, label, default_value, message_type, enum_type, containing_type, is_extension, extension_scope, options, serialized_options, has_default_value, containing_oneof, json_name, file, create_key)
#0 25.94     555 def __new__(cls, name, full_name, index, number, type, cpp_type, label,
#0 25.94     556             default_value, message_type, enum_type, containing_type,
#0 25.94     557             is_extension, extension_scope, options=None,
#0 25.94     558             serialized_options=None,
#0 25.94     559             has_default_value=True, containing_oneof=None, json_name=None,
#0 25.94     560             file=None, create_key=None):  # pylint: disable=redefined-builtin
#0 25.94 --> 561   _message.Message._CheckCalledFromGeneratedFile()
#0 25.94     562   if is_extension:
#0 25.94     563     return _message.default_pool.FindExtensionByName(full_name)
#0 25.94
#0 25.94 TypeError: Descriptors cannot not be created directly.
#0 25.94 If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
#0 25.94 If you cannot immediately regenerate your protos, some other possible workarounds are:
#0 25.94  1. Downgrade the protobuf package to 3.20.x or lower.
#0 25.94  2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
#0 25.94
#0 25.94 More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
#0 25.94

The cause of this issue is other libraries I used in my environment contain a newer version of protobuf==4.22.5. I cannot find the way to change the version of protobuf used to build TFDV.

I think this issue is caused by TFDV or TFX, not this repository. I faced the same issue with the intel CPU binary. Let me close this.

Actually @AseiSugiyama, I have faced the same issue with TensorFlow, I solved it using
RUN pip install protobuf==3.20.1

Checkout https://github.com/diyor28/tf-aarch64/blob/c5e1fb3dec2ec7d8fa02263b528ec68051c68d01/back/src/generate.py#L62

Thanks for sharing the information!


API feature request...

Sir,
For now, we are following this pattern to add/access sections...
Section section = new Section("Sample");
Configuration.Add(section);
It might be helpful to add following support...
Section section = Configuration.Add("Sample");
i.e. Add following API...
Section Configuration.Add(string name);
and similar for Setting class too.
Thanks

This seems a bit redundant, as you can already use the Section getter of Configuration for this.
Section section = Configuration["Sample"];

This will create a section called "Sample" automatically, if it does not exist yet.
Otherwise it will return the already existing section.
Cheers!

Thanks again.
On Thu, Apr 21, 2016 at 2:55 AM, Cemalettin Dervis<EMAIL_ADDRESS>
wrote:

Reopened #23 https://github.com/cemdervis/SharpConfig/issues/23.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/cemdervis/SharpConfig/issues/23#event-635209760


build: support OwnNamespace installMode type

We currently don't have a conversion webhook,
therefore can support the OwnNamespace installMode type too.
This change was done by default when webhook support was added.
Signed-off-by: Rakshith R<EMAIL_ADDRESS>

I've tested this pr and it works fine,
marking it ready for review.

Yes, this is good to go, To summarize, this is not a must for upstream, and no harm in keeping it also and this is a kind of temporary fix for downstream builds. If we add support for conversion webhooks in the future, the ODF should fix the way it's installing the CSI-addons operator right?

We don't need to have this restriction at the moment.
We can introduce it when we have conversion webhooks.
Other operators that depend on this must adapt accordingly at that time.


cpplint.py is failing

@soonhokong cpplint.py does not work after today changes.
It is failing on my machine, and at http://build.leanprover.net/
Any ideas?

I had issues on my mac, but not on my linux machines, so I ignored it. @favonia, I think it comes from your changes in cpplint.py file in https://github.com/leanprover/lean/commit/073c1d1c31f8262c8f1ae04006796215d2fdab1a#diff-295600dcc0bae237e888018d819ef0d6. Could you take a look at this one?

If it's difficult to make cpplint.py compatible with both of python 2 and 3, let keep the python2 version. It's only for the C++ developers who knows things better. What do you think @leodemoura?
Of course, if it's not so difficult, we're happy to have more compatible programs in general.

What do you think @leodemoura?

I agree.

For the moment, let me rollback cpplint.py to the previous version. @favonia, please feel free to take your time if you want to work on this issue.

fixed by https://github.com/leanprover/lean/commit/65cc4d3c086187d37874526ae3d76373fa44d6d4


Support for Smallworld 4.x?

Just a quick question. Is Smallworld 4.x supported, or can you think of any workaround to get the extension running with this older version?
Thank's a lot!

Please contact paride<EMAIL_ADDRESS>who has forked this extension with support for Smallworld 4.x.

This extension doesn't support Smallworld 4.x sessions, but you can contact paride<EMAIL_ADDRESS>who has forked this extension with support for Smallworld 4.x.

Thank you for your help. I've contacted Paride and hope to get an answer soon!


cannot scrollTo

The following code cannot work:
$scope.gotoFooter = function() {
$("html, body").animate({
scrollTop: $("#footer").offset().top
}, 10);
};
But it works when I comment the file: "mobile-angular-ui-base.css"
I think that "mobile-angular-ui-base.css"  disabled  ScrollTo function
How to enable it?
Thanks

Im getting "element" is not defined if I use the above code in my controller... Can't get the scrolling to work at all.


[0.5pt] Add Store

setup redux store to consume backend API data

Added the store successfully  !!


crash with rei compatibility plugin

my log
https://pastebin.com/GwL7F2Xf

it's 1.20.1 latest version (I dont use rei now so I can't get version now)

ok i will check
Thanks for report


Changed the number of the cities, and replaced Null city name with '-'

Changed the number of the cities in readme.md to reflect the actual number in cities.sql : 48,314.

Replaced empty city name for city ID 22269 with '-' (zero length string fails Not null constraint set on that column). Tested on Oracle 12.1C

I should probably remove city_id = 22269.
Still, I get
-- 48312

There's probably another one failing.

I also thought of removing city_id = 22269. But was not sure whether to reseync the sequence or leave the gap. Another thing, in cities.sql the sequence created after insert starts with 48315, which also suggest the number of rows before insert was 48314.
My run for the following:
select count(*) from cities; --48314
So as you said, there's probably another one failing

Closing this as the new data source does not match the PR code.


Bug in Clear Menu option

There is a bug in clear menu options,
How to get the bug :->

Open the tool
Close the project if open any
Go to recent projects and Press clear menu
Close the tool
Reopen the tool
You will see in the recent projects section, it is still showing the "Clear Menu" option.
Ideally there isn't any project open so it should not show any menu under recent projects.

Enhancement :-- >

Clear menu font should be less than the actual project name and the height of the button should also less than other.

Completed on the commit number :- > ab3478b


[SPARK-9005][MLlib]Fix RegressionMetrics computation of explainedVariance and r2

Fixes implementation of explainedVariance and r2 to be consistent with their definitions as described in SPARK-9005.

Merged build triggered.

Merged build started.

Test build #37104 has started for   PR 7361 at commit 4c4e56f.

Test build #37104 has finished for   PR 7361 at commit 4c4e56f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37106 has finished for   PR 7361 at commit bde9761.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37109 has started for   PR 7361 at commit db8605a.

Test build #37109 has finished for   PR 7361 at commit db8605a.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37118 has started for   PR 7361 at commit 08a0e1b.

Test build #37118 has finished for   PR 7361 at commit 08a0e1b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37140 has started for   PR 7361 at commit 1a3d098.

Test build #37140 has finished for   PR 7361 at commit 1a3d098.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

jenkins retest this please

Merged build triggered.

Merged build started.

Test build #37149 has started for   PR 7361 at commit 1a3d098.

Test build #37149 has finished for   PR 7361 at commit 1a3d098.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

LGTM pending tests

Merged build triggered.

Merged build started.

Test build #37174 has started for   PR 7361 at commit f1112fc.

Test build #37174 has finished for   PR 7361 at commit f1112fc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

LGTM

Test build #1070 has started for   PR 7361 at commit f1112fc.

Test build #1070 has finished for   PR 7361 at commit f1112fc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

@feynmanliang Could you please modify the title and description so they just say that explainedVariance is being fixed?  (r2 is not changing, right?)

Merging with master
Thanks!


[bug][v2] Problem with transparent background when migrating

Describe the bug
I recently decided to migrate a project I made for testing to version v2 and found a problem with transparent windows, in which they only become truly transparent if their size is redefined, like:
The window is defined as "800x600" in tauri.conf.json, but in setup its size is reset to "1280x800", so only the remaining size is transparent, as in the photo below:

I managed to get around the problem by setting the window size to zero, and then resetting it to the originally desired value, as below:

let window = app.get_window("main").unwrap();

window.set_size(Size::Logical(tauri::LogicalSize { width: 0.0, height: 0.0})).unwrap();

window.set_size(Size::Logical(tauri::LogicalSize { width: 1280.0, height: 800.0})).unwrap();

Reproduction
create a project using create-tauri-app and set "transparent" property to "true" in tauri.conf.json
Expected behavior
The window background becoming completely transparent as below:

Platform and versions
[✔] Environment
    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 118.0.2088.69
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.74.0-nightly (7b4d9e155 2023-09-28)
    ✔ cargo: 1.74.0-nightly (e6aabe8b3 2023-09-26)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: nightly-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 20.6.1
    - npm: 9.8.1

[-] Packages
    - tauri [RUST]: 2.0.0-alpha.17
    - tauri-build [RUST]: 2.0.0-alpha.11
    - wry [RUST]: 0.34.2
    - tao [RUST]: 0.23.0
    - tauri-cli [RUST]: 2.0.0-alpha.17
    - @tauri-apps/api [NPM]: 1.5.1
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.17

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../build
    - devPath: http://localhost:9000/
    - framework: Svelte
    - bundler: Vite

Stack trace
not aplicable

Additional context
Before the migration, my project was in version 1.4

Hi 👋 Can you disable shadows for the window? They are enabled by default in v2 but cause the same issue the "normal" decorations do with transparent backgrounds (the thing you're seeing).
If you want to keep those shadows, you can just add them back once the window was created, it just can't be created with them.

Hi 👋 Can you disable shadows for the window? They are enabled by default in v2 but cause the same issue the "normal" decorations do with transparent backgrounds (the thing you're seeing).
If you want to keep those shadows, you can just add them back once the window was created, it just can't be created with them.

Keeps the same
https://github.com/Ziguiriguidum/Store/blob/main/src-tauri/src/main.rs

your repository is private

your repository is private

fixed

Okay sorry, i should have been more specific. In v2, the window-shadows crate is now part of tauri and enabled by default. So what i'm asking you to do is to add "shadow": false in the window config here: https://github.com/Ziguiriguidum/Store/blob/main/src-tauri/tauri.conf.json#L57.
You can still enable it at runtime like you did before (though you can use window.set_shadow instead of the crate).

Okay sorry, i should have been more specific. In v2, the window-shadows crate is now part of tauri and enabled by default. So what i'm asking you to do is to add "shadow": false in the window config here: https://github.com/Ziguiriguidum/Store/blob/main/src-tauri/tauri.conf.json#L57. You can still enable it at runtime like you did before (though you can use window.set_shadow instead of the crate).

"Window" property is not recognized
Error tauri.conf.json error on tauri > windows > 0: Additional properties are not allowed ('shadow' was unexpected)

Your package.json and it's lockfile still list 1.5 for the tauri API and cli, can you update them to v2 too and try again?

Your package.json and it's lockfile still list 1.5 for the tauri API and cli, can you update them to v2 too and try again?

Oh, I didn't realize, thank you. The issue was resolved by disabling the "shadow" property in tauri.conf.json. I was having a caching problem, I ran "cargo clean" and the problem with the property not existing was resolved. Thanks for your help :)


Bug: Routing/Firewall is unstable dont work after editing/adding a vlan

Hi,
assigning, editing, adding a VLAN brings the OPNSense System unstable
was cleared with 15.7.22 and now with OPNsense 15.7.99_2008-amd64 its again like that

Thanks for trying out the development version, it's probably a problem with reloading some settings. Do you have some more information available?
Like the output of ifconfig when there are issues. And when exactly does issues occur, on edit, delete or create?

Management was / is on VLAN 1 on em0
In one case i moved a VLAN from one Interface to another (em0 -> em2)
result - webgui doesnt reloaud - after 5-10 min it was accessible. No DNS Service - no connection via the firewall to the internet
other case i made a new vlan on em2
result no dns service was reachable.

I had similar issues recently after creating VLANs, but after a reboot the issues were gone. Do you still face the problems after a reboot?

No after a reset it works
But like I wrote on 15.7.22 there it was no problem
I think it should be called a heavy bug because I think it's normal on system to make new vlan on a interface
I just can say that the webgui goes down, the dns system - perhaps the firewall itself goes down
On one interface the routing and the rules showed a break every ten to 12 seconds
So I think it's should be investigated more - Franco told me that the problem was found but I think there seems more
The question is if it will be done with the raise on 16.1?!

I don't think anything particular changed in that area, but changing interfaces you primary need sometimes gives hassles (a reboot is often advisable).
commit https://github.com/opnsense/core/commit/bb223225d05b423e7d9032e698f67710064f21dd might solve some issues.

I also had some issues and it could be because routing was not sending packets exclusively to the VLANs it's supposed to, but to the other ones as well. If I understand that commit properly, it should help.


chore: package.json refactors

Some minor refactors

Thanks for the contribution @privatenumber! Love how you commented on all your changed


make aws plugin load profile names from ~/.aws/credentials

NOTE: It is more feasible to load profile names from .aws/credentials
rather than loading it from .aws/config. the 'credentials' file is a lot
more frequently used when using third party tools to retrieve and store
temporary STS credentials. Therefore, profile names in .aws/credentials
are more likely to be backed with actual 'hot' credentials.
Signed-off-by: Daniel Stamer<EMAIL_ADDRESS>

It can be easily modified to read from both files, can you do it?

ping @helloworlddan


Eugene - Letter to Mayor, City Commissioners, Budget Committee, and City Council

To<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [*** INSERT UNIQUE SUBJECT LINE***]
Message (Don't forget to replace the [x]'s with your information!)
Dear Mayor Lucy Vinis, Commissioners, Budget Committee, and City Council,
My name is [YOUR NAME] and I am a resident of [CITY/DISTRICT]. It is my understanding that you will be reviewing the proposed 2021 City Budget on June 22th, 2020. I must urge you to oppose the increase in funding from $61.35 mil in FY-2020 to $67.97 mil in FY-2021 for the Eugene Police Department (EPD).
Policing plays a strong role in enforcing racism and social control of communities of color through disempowerment, displacement, and repression. Black people and communities of color have been disproportionately targeted and brutalized by the police throughout American history.
Despite a decrease in crime over the past few decades, police funding across the United States has continued to increase. As a Eugene citizen, I do not support the militarization of the police force which is accentuated by the 1033 program and I do not support the use of EPD officers in schools.
Promises of police reform and additional training programs do not do enough to address the underlying issue of systemic racism that plagues policing in America. The only solution is immediate and aggressive divestment from police funding and real consideration given to alternative public safety measures. To quote Alex S. Vitale, professor of sociology and coordinator of the Policing and Social Justice Project at Brooklyn College and the author of The End of Policing, "The alternative is not more money for police training programs, hardware or oversight. It is to dramatically shrink their function. We must demand that local politicians develop non-police solutions to the problems poor people face. We must invest in housing, employment and healthcare in ways that directly target the problems of public safety. Instead of criminalizing homelessness, we need publicly financed supportive housing; instead of gang units, we need community-based anti-violence programs, trauma services and jobs for young people; instead of school police we need more counselors, after-school programs, and restorative justice programs."
CAHOOTS (Crisis Assistance Helping Out On The Streets) of Eugene has been praised as a cost-effective approach that utilizes de-escalation tactics and skills of medical and mental health professionals. As stated on the White Bird Clinic Website, "CAHOOTS gets 2 percent of the police budget, but with that 2 percent they handle 17 percent of public safety calls." Per the FY20 Budget Report, CAHOOTS funding was only $281,000. When addressing continued action, White Bird Clinic states, "We’re growing our programs, demonstrating our commitment to serving low income, under-resourced community members. In response to burgeoning community need, we are expanding the hours of CAHOOTS mobile crisis services, which responded to over 23,000 calls in 2018, saving an estimated $6M in emergency medical services costs alone."
The City of Eugene should continue to work towards the expansion of the CAHOOTS program by diverting additional funds from EPD. It is essential that the City of Eugene connects with local businesses and programs that offer a diverse range of social services to help tackle systemic issues from the ground up. Some of these local businesses include Looking Glass, Boys and Girls Club, Relief Nursery, S.A.S.S., 15th Night, and Womanspace.
The City of Eugene has already shown willingness to invest in change by funding programs like CAHOOTS. As a community, we should continue to build on these ideals and continue to invest in evidence-based alternatives to police that directly advocate for our citizens and work to replace policing with other systems of public safety. This starts with divesting funding from the EPD in FY-2021.
Thank you for your time,
[YOUR NAME] [YOUR ADDRESS] [YOUR EMAIL] [YOUR PHONE NUMBER]

Numbers appear to be correct, https://budget.eugene-or.gov/#!/year/2021/operating/0/department/Police/0/service.
We may decide to remove the specific businesses, we don't want to advocate for any one in particualr.
The mention of CAHOOTS is nice, and appears to follow the older (I guess current) guidelines about specific programs.
Pending secondary review

@swallan Okay, I agree with your comment about listing specific businesses and removed that sentence from the email!
To<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [*** INSERT UNIQUE SUBJECT LINE***]
Message (Don't forget to replace the [x]'s with your information!)
Dear Mayor Lucy Vinis, Commissioners, Budget Committee, and City Council,
My name is [YOUR NAME] and I am a resident of [CITY/DISTRICT]. It is my understanding that you will be reviewing the proposed 2021 City Budget on June 22th, 2020. I must urge you to oppose the increase in funding from $61.35 mil in FY-2020 to $67.97 mil in FY-2021 for the Eugene Police Department (EPD).
Policing plays a strong role in enforcing racism and social control of communities of color through disempowerment, displacement, and repression. Black people and communities of color have been disproportionately targeted and brutalized by the police throughout American history.
Despite a decrease in crime over the past few decades, police funding across the United States has continued to increase. As a Eugene citizen, I do not support the militarization of the police force which is accentuated by the 1033 program and I do not support the use of EPD officers in schools.
Promises of police reform and additional training programs do not do enough to address the underlying issue of systemic racism that plagues policing in America. The only solution is immediate and aggressive divestment from police funding and real consideration given to alternative public safety measures. To quote Alex S. Vitale, professor of sociology and coordinator of the Policing and Social Justice Project at Brooklyn College and the author of The End of Policing, "The alternative is not more money for police training programs, hardware or oversight. It is to dramatically shrink their function. We must demand that local politicians develop non-police solutions to the problems poor people face. We must invest in housing, employment and healthcare in ways that directly target the problems of public safety. Instead of criminalizing homelessness, we need publicly financed supportive housing; instead of gang units, we need community-based anti-violence programs, trauma services and jobs for young people; instead of school police we need more counselors, after-school programs, and restorative justice programs."
CAHOOTS (Crisis Assistance Helping Out On The Streets) of Eugene has been praised as a cost-effective approach that utilizes de-escalation tactics and skills of medical and mental health professionals. As stated on the White Bird Clinic Website, "CAHOOTS gets 2 percent of the police budget, but with that 2 percent they handle 17 percent of public safety calls." Per the FY20 Budget Report, CAHOOTS funding was only $281,000. When addressing continued action, White Bird Clinic states, "We’re growing our programs, demonstrating our commitment to serving low income, under-resourced community members. In response to burgeoning community need, we are expanding the hours of CAHOOTS mobile crisis services, which responded to over 23,000 calls in 2018, saving an estimated $6M in emergency medical services costs alone."
The City of Eugene should continue to work towards the expansion of the CAHOOTS program by diverting additional funds from EPD. It is essential that the City of Eugene connect with local businesses and programs that offer a diverse range of social services to help tackle systemic issues from the ground up.
The City of Eugene has already shown willingness to invest in change by funding programs like CAHOOTS. As a community, we should continue to build on these ideals and continue to invest in evidence-based alternatives to police that directly advocate for our citizens and work to replace policing with other systems of public safety. This starts with divesting funding from the EPD in FY-2021.
Thank you for your time,
[YOUR NAME] [YOUR ADDRESS] [YOUR EMAIL] [YOUR PHONE NUMBER]

To<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [*** INSERT UNIQUE SUBJECT LINE***]
Message (Don't forget to replace the [x]'s with your information!)
Dear Mayor Lucy Vinis, Commissioners, Budget Committee, and City Council,
My name is [YOUR NAME] and I am a resident of [CITY/DISTRICT]. It is my understanding that you will be reviewing the proposed 2021 City Budget on June 22th, 2020. I urge you to oppose the increase in funding from $61.35 mil in FY-2020 to $67.97 mil in FY-2021 for the Eugene Police Department (EPD) and instead, decrease it.
Policing plays a strong role in enforcing racism and social control of communities of color through disempowerment, displacement, and repression. Black people and communities of color have been disproportionately targeted and brutalized by the police throughout American history.
Despite a decrease in crime over the past few decades, police funding across the United States has continued to increase. As a Eugene citizen, I do not support the militarization of the police force which is accentuated by the 1033 program and I do not support the use of EPD officers in schools.
Promises of police reform and additional training programs do not do enough to address the underlying issue of systemic racism that plagues policing in America. The only solution is immediate and aggressive divestment from police funding and real consideration given to alternative public safety measures. To quote Alex S. Vitale, professor of sociology and coordinator of the Policing and Social Justice Project at Brooklyn College and the author of The End of Policing, "The alternative is not more money for police training programs, hardware or oversight. It is to dramatically shrink their function. We must demand that local politicians develop non-police solutions to the problems poor people face. We must invest in housing, employment and healthcare in ways that directly target the problems of public safety. Instead of criminalizing homelessness, we need publicly financed supportive housing; instead of gang units, we need community-based anti-violence programs, trauma services and jobs for young people; instead of school police we need more counselors, after-school programs, and restorative justice programs."
There are already some tangible programs in action, for example, CAHOOTS (Crisis Assistance Helping Out On The Streets) of Eugene has been praised as a cost-effective approach that utilizes de-escalation tactics and skills of medical and mental health professionals. As stated on the White Bird Clinic Website, "CAHOOTS gets 2 percent of the police budget, but with that 2 percent they handle 17 percent of public safety calls." Per the FY20 Budget Report, CAHOOTS funding was only $281,000. When addressing continued action, White Bird Clinic states, "We’re growing our programs, demonstrating our commitment to serving low income, under-resourced community members. In response to burgeoning community need, we are expanding the hours of CAHOOTS mobile crisis services, which responded to over 23,000 calls in 2018, saving an estimated $6M in emergency medical services costs alone."
The City of Eugene should continue to work towards the expansion programs that benefit the community, like CAHOOTS, by diverting additional funds from EPD. It is essential that the City of Eugene connect with local businesses and programs that offer a diverse range of social services to help tackle systemic issues from the ground up.
The City of Eugene has already shown willingness to invest in change by funding programs like CAHOOTS. As a community, we should continue to build on these ideals and continue to invest in evidence-based alternatives to police that directly advocate for our citizens and work to replace policing with other systems of public safety. This starts with divesting funding from the EPD in FY-2021.
Thank you for your time,
[YOUR NAME] [YOUR ADDRESS] [YOUR EMAIL] [YOUR PHONE NUMBER]
Light edits to generalize that funding may be towards programs like cahoots, I think it is a good candidate for a PR. If any other content reviewers prefer it even more general, leave a comment.

On it!


updated algorithm learner

updated algorithm learner and #4166

Close #4166

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

@MohitGupta121 sir kindly review and merge this PR


Fix history so the bot knows previous messages + misc cookie issue

Been playing around with the api. Here are a couple fixes that could make it work better

parentId should always be updated to the previous message sent by the bot
conversation id should be populated after initial message received from bot (comes in parsedData)

its not working for me with sessionToken (kept getting unauthorized), so i modified it to use the entire cookie string and it works.

Thanks for the feedback @publu 🙏

its not working for me with sessionToken (kept getting unauthorized), so i modified it to use the entire cookie string and it works.

Can you explain a bit more what wasn't working for you? Maybe blurring out part of the string?
The session token should be approximately 2164 characters.

parentId should always be updated to the previous message sent by the bot

https://github.com/transitive-bullshit/chatgpt-api/pull/26 might fix this.
A common use case is replying to multiple users, so it's difficult to assume that the conversation ID should always be set to the last message sent, but it's definitely a good idea worth considering.
To continue the conversation about conversation support, please use #29

https://github.com/transitive-bullshit/chatgpt-api/releases/tag/v2.0.0 adds support for conversations. See the updated readme for more details.


discrepancy between title and name

This code doesn't work
sysctl { "4 - Refresh Route config":
  name    => 'net.ipv4.route.flush',
  value   => 1,
  persist => false,
}

"and throws the error: Could not evaluate: net.ipv4.route.flush is not a valid sysctl key"
This code works:
sysctl { "'net.ipv4.route.flush",
  value   => 1,
  persist => false,
}

The reason might stem from net.ipv4.route.flush not showing up in sysctl --all (self.instances)
I realize this is a very special case, that might be better served with an exec, especially since we want a refresh-only here! But i'm submitting it non-the-less as someone might stumble of a similar issue.

Hey @igalic! I'm guessing there's a typo in the working code, where there's an extra ' in the title, correct?

maaaaaaaaaaybe 🙇♀


fix: historically estimate maxPriorityFeePerGas

What it solves
Resolves #3393
How this PR fixes it
The 50th percentile of the latest block is retrieved from getFeeHistory and maxPriorityFeePerGas/maxFeePerGas are parses/returned from it. The maxPriorityFeePerGas is then clamped between 0.001 and maxFeePerGas - 1 if necessary.
Full test coverage is included.
How to test it

Execute a transaction and observe that:

maxFeePerGas is higher than maxPriorityFeePerGas
execution is successful

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 17 (11.76%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 33.459%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/routes/safe/components/Transactions/helpers/EditableTxParameters.tsx
0
1
0.0%

src/logic/hooks/useEstimateTransactionGas.tsx
0
2
0.0%

src/logic/safe/utils/maxPriorityFeePerGas.ts
2
14
14.29%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
3217

Relevant Lines:
8573

💛  - Coveralls

I still see the main issue reported in the 3393 with the goerli network when creating a safe

For send funds the values are valid, although they are barely above the max prio fee. Is expected to be this close? (granted, goerli and rinkeby networks don't require a max fee per gas much higher than 1)

I still see the main issue reported in the 3393 with the goerli network when creating a safe

I overlooked updating the gas estimation for Safe creation. I'll adjust this now.

For send funds the values are valid, although they are barely above the max prio fee. Is expected to be this close? (granted, goerli and rinkeby networks don't require a max fee per gas much higher than 1)

These are the 'official' values returned by the estimation function from web3.

I've been creating safes and trying "send funds" tx in several networks checking the new price.
In the only one where I got a really big difference was in Polygon
Is the Max Prio Fee being estimated by an oracle as well? or are we setting it by other means?
Poly in prod:

Poly in this PR:

In the only one where I got a really big difference was in Polygon Is the Max Prio Fee being estimated by an oracle as well? or are we setting it by other means?

It is being estimated by the web3 instance directly. Is it only Polygon that is doing this? I guess we'll have to look into why it's doing it.

In the only one where I got a really big difference was in Polygon Is the Max Prio Fee being estimated by an oracle as well? or are we setting it by other means?

It is being estimated by the web3 instance directly. Is it only Polygon that is doing this? I guess we'll have to look into why it's doing it.

From all the networks I tried, Polygon is the one with such a big difference between what we currently have in prod and what is estimated in this PR

From all the networks I tried, Polygon is the only one with such a big difference between what we currently have in prod and what is estimated in this PR

When testing it, they were both showing the same. It seems like there were gas spikes earlier on on Polygon. Could you test it again?

Ok, It went down a lot trying it again. Let's blame it on a spike in the network

Also the issue with Goerli's default estimation for the safe creation is fixed


Search. search result is duplicated

ocis local:
branch: v2.0.0-alpha1
Preparation:

rm -rf /.ocis
run ocis
admin creates New folder

Steps:

in the home page try to search by "folder" - work correct. search result contains one value
create inside the "New folder" file
in the home page try to search by "folder"

Actual: the search result contains 3 values. but the folder is the only one

@ScharfViktor I can not reproduce this on current master. Can you please reopen if you still see this happen? thanks!

I retested this on fresh master. I could not reproduce it


Updating documentation to reflect api changes

Coverage remained the same at 94.519% when pulling 84a6003ee7e3555d9e523a757b1b3aae0186ef12 on reshma-search-doc into 95da9df1023770c90b26a0b41024fa1344d699ec on main.


Multi-phase elections solution resubmission

Migration of #7976 to multi-phase-elections.

Fix issues such as paritytech/stakingops#130
Our OCW runner in staking is too conservative now. It only runs once at the beginning of the election window, and only attempts to submit once. If for any reason (e.g. secondary/primary slot overlap, fork and rollback) all validators temporarily think that a solution is submitted, they will all drop their computed solution and never try again. In essence, they will attempt to submit it, which will fail because there is already a good solution on-chain, and the process ends. In this scenario, if the submitted solution gets reverted, we are left with nothing, and thus a heavy on-chain election.
This is a minimal patch to fix the situation. OCW will compute, save and submit the solution initially, and until the end of the election window periodically try to re-submitted the saved solution, if none is stored yet.

polkadot companion: https://github.com/paritytech/polkadot/pull/2648

You must ensure that a solution of round N is never submitted to round N+1, and we need a test for this (see original PR for inspiration).

I'm not sure what you mean by "round N". Do you mean fn ensure_solution_is_recent or similar?

You must ensure that a solution of round N is never submitted to round N+1, and we need a test for this (see original PR for inspiration).

I'm not sure what you mean by "round N". Do you mean fn ensure_solution_is_recent or similar?
[edit] If yes, does that mean we should import EraIndex from pallet-staking, adding a dependency there, or invent our own?

Yes, that's what I mean.
and No, we already have the concept of round in this code exactly for this purpose. My suggestion is that we declare: each RawSubmission should name the round number that it belongs to, and it should be part of the validation. Using this, we can also discard any wrongly written solution to cache. I recommend you to use this opportunity and skim the whole pallet and get a feeling about how things work overall.
I want to emphasize a bit on the fact that that importing anything from pallet_staking is a bad idea (these are things that I don't expect you to know, so now's a good time to explain it). If we were to make a hard dependency linking between staking and election (i.e. one imports the other), why bother with making all of this ElectionProvider abstraction? Staking could directly import pallet-multi-phase and call functions from it. A fundamental design choice of frame (that keeps it highly modular) is that pallets should rarely depend on one another, and use traits most of the time to expose functionalities to one another.

I see. Yeah, I'd missed the equivalence of Round and EraIndex. I think that https://github.com/paritytech/substrate/pull/8290/commits/c6ecab84eeb2f94ebc44c0387f18c4429c5b4731 takes care of the feature, and https://github.com/paritytech/substrate/pull/8290/commits/ad3b786488844f9ac7b7149519ff00dec5421881 adds the test.
It makes sense that pallets should avoid dependencies when possible. Thanks for the explanation!

@tomusdrw Do you have time to chime in on the behavior of StorageValueRef::local? I'm having a hard time tracking down its actual implementation. There are two behaviors of interest:

If the local fork-aware storage contains some data in a fork, it is not visible outside that fork.
After a fork is dropped, the storage gets cleaned up without explicit user action.

Are both of those behaviors correct? (Alternately: can you link to the concrete types implementing those traits or precursor traits, so I can check them myself?)

Are both of those behaviors correct?

Unfortunately StorageKind::LOCAL is not really implemented yet. I was expecting that it would fail in tests as well, but actually it seems to be implemented in TestOffchainExt, but not in the production set up.

If the local fork-aware storage contains some data in a fork, it is not visible outside that fork.

Yes, that's my expectation of how the LOCAL Storage should work.

After a fork is dropped, the storage gets cleaned up without explicit user action.

That one is a little bit more tricky to implement, but overall yes - when we reach finality and we are pruning old states, at the same time the non-canonical state entries of Off-Chain DB should be cleaned up.

Given the update from @tomusdrw, we should stick to persistent as there's no other option.
@coriolinus you can wait for the audit and see what they come up with. Since this PR delivered an identical to #7976, we can call it at this point. Yet, please make an issue for the enhancement that I named as option 2 up there (or give it a try here if you fancy, both fine with me).
Will do a final review today.

@coriolinus about fork aware offchain db, that was https://github.com/paritytech/substrate/pull/7291, the code should ~ work, but I am working on the backend  db on different branch.
Mainly because ocw as easy as I thought, because of the additional design related the multi-thread question, and IIRC I was not totally happy with what I did propose.
I want to reopen the PR when the db backend code will be tested a bit more (I am runing it as a snapshot-db over the state-db currently, but there is still some part that really lack testing (pruning), and I also find some big slow stuff in the flamegraph).
So yes unimplemented at this point.

@cheme ok, thanks for letting me know! I guess I can report that there is definitely a use case for that feature, but it's worth taking the time to get to an implementation you're happy with.

All requested items except burnin have now been completed. There's some more work necessary before this can be merged--burnin and CI--but this is in a good place for review now.

bot merge

bot merge


Create Subway Level

Add 2nd map, small probably around 250mx250m
One idea is a subway/underground map, taking inspiration from Operation Metro, the FO3 underground maps, the NYC stations and the Matrix/Deus Ex subway station maps

[ ] Fancy Electronic Store
[ ] 2nd Bathrooms
[ ] Burned out Store
[ ] Bar
[ ] Fast Food
[ ] Jewelry Store
[ ] Salon
[ ] Phonebooths/Semi Crash
[ ] Service Halls
[ ] Train Cars
[ ] Triage Base

[ ] Ballistic Solids
[ ] Loot Areas
[ ] Enemy Spawns
[ ] Enemy Patrol POIs
[ ] Spawns/Extracts
[ ] Ambient Sound


"Too many open files" errors cause some targets was missed

Steps to reproduce
https://github.com/byt3bl33d3r/CrackMapExec/blob/master/cme/protocols/smb.py#L411
Modify the create_smbv3_conn function to the following code to print exception message
    def create_smbv3_conn(self):
        try:
            self.conn = SMBConnection(self.host, self.host, None, self.args.port)
            self.smbv1 = False
        except socket.error as e:
            logging.debug('SMBv3 connection error on {}: {}'.format(self.host, e))
            return False
        except Exception as e:
            logging.debug('Error creating SMBv3 connection to {}: {}'.format(self.host, e))
            return False

        return True

Then, execute CME, using the default 100 threads or more
python crackmapexec.py -t 100 --verbose smb <IP_ADDRESS>/24

CME verbose output (using the --verbose flag)
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files
DEBUG SMBv3 connection error on <IP_ADDRESS>: [Errno Connection error (<IP_ADDRESS>:445)] [Errno 24] Too many open files

CME Version (cme --version)
5.1.7dev
OS
macOS Big Sur 11.2.3
Detailed issue explanation
The Too many open files errors cause some targets was missed in the CME scanning process and final results
I know that I can use ulimit to increase the maximum file descriptors, but It seems better if this issue can be solved in the code level.

thanks for the report, I will look into it :)

Not only a problem on macOS. This exists in Kali Linux as well (Version: 5.1.5dev)

Increase the upper bound on file descriptors with ulimit

That the solution I use. Maybe I should print the error not only in debug mode

Printing this error outside of debug mode would certainly help raise awareness of the issue and notify people that data is getting dropped during their scans, but I wouldn't call ulimit a solution. It's a workaround. The issue is in how CME handles connections.
From what I understand, this bug is either caused by too many concurrent connections, or the file descriptors for these sockets are not getting cleaned up properly.

If the file descriptors aren't being cleaned up programmatically and it is just left up to garbage collection, they can easily pile up, causing the upper bound to be hit and this error to occur before garbage collection attempts to close them. In this case the bug can be fixed by closing file descriptors properly.
If it is too many concurrent connections, then I imagine it should be possible to limit the number of connections CME attempts to hold open at once, waiting for sockets to close before opening new ones.

Another idea
https://twitter.com/mcohmi/status/1514420094079700994?s=20&t=3QSVZgKiT2NuRKx9hqMv2A

hrm, it does seem ulimit hasn't been explained at all in this thread. That would probably be helpful.
ulimit is short for user limit (I believe) and it is a limiter in place for how many file handles a single user on a system can have open at one time. In other words, it is not a crackmapexec implemented limit, it is a linux system enforced limit. So, you have to change this limit in the system config files, not crackmapexec files.
You can change the ulimit for a user with the command ulimit. There should be a man or help page for it, and also this stack overflow question covers a fair bit about changing the limits. https://askubuntu.com/questions/162229/how-do-i-increase-the-open-files-limit-for-a-non-root-user


Possible EventEmitter memory leak detected

From https://github.com/homebridge/homebridge/issues/3576
(node:1608878) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 initialised listeners added to [Gateway]. Use emitter.setMaxListeners() to increase limit
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at _addListener (node:events:592:17)
at Gateway.addListener (node:events:610:10)
at Gateway.once (node:events:654:8)
at eventTargetAgnosticAddListener (node:events:1035:15)
at node:events:997:5
at new Promise ()
at Function.once (node:events:977:10)
at DeconzPlatform.foundGateway (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzPlatform.js:115:18)
(node:1608878) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 error listeners added to [Gateway]. Use emitter.setMaxListeners() to increase limit
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at _addListener (node:events:592:17)
at Gateway.addListener (node:events:610:10)
at Gateway.once (node:events:654:8)
at node:events:1001:15
at new Promise ()
at Function.once (node:events:977:10)
at DeconzPlatform.foundGateway (/var/lib/homebridge/node_modules/homebridge-deconz/lib/DeconzPlatform.js:115:18)
at processTicksAndRejections (node:internal/process/task_queues:95:5)

@djsmix could you please provide some info on your environment:

Is the config.json from the Homebridge issue indeed all you have specified for Homebridge deCONZ?  Are you automatically discovering the gateways?
How many gateways do you have?  What is the output of deconz -D discover
Do you see any other warnings in the log, in particular warning: unlock gateway and set expose to obtain an API key?

I think Homebridge deCONZ discovers one or more gateways for which it doesn't have an API key.  The logic to handle that is probably somewhat flawed.  The warning should go away once you unlock those gateway(s) or when you specify the gateway(s) you want to expose under hosts in config.json.

deconz: upnp: request 1: M-SEARCH *
deconz: upnp: listening on upnp
deconz: phoscon.de: request 1: GET /
deconz: upnp: found 00212EFFFF066A58 at <IP_ADDRESS>
deconz: <IP_ADDRESS>: request 1: GET /config
deconz: <IP_ADDRESS>: request 1: 200 OK
deconz: phoscon.de: request 1: 200 OK
deconz: phoscon.de: found 00212EFFFF066A58 at <IP_ADDRESS>
deconz: upnp: search done
{
"<IP_ADDRESS>": {
"apiversion": "1.16.0",
"bridgeid": "00212EFFFF066A58",
"datastoreversion": "93",
"devicename": "ConBee II",
"factorynew": false,
"mac": "dc:a6:32:93:df:5a",
"modelid": "deCONZ",
"name": "Phoscon-GW",
"replacesbridgeid": null,
"starterkitid": "",
"swversion": "2.26.3"
}
}
i only se this related to API:
Phoscon-GW: warning: 7F1EF14AA7: potentially stale api key: {"create date":"2023-12-30T23:13:11","last use date":"2023-12-30T23:16:12","name":"homebridge-deconz#raspberrypi"}
and i have already specified the host under config.json:
"name": "deCONZ",
"hosts": [
"<IP_ADDRESS>"
],
"_bridge": {
"username": "xx.xx.xx.xx",
"port": 58882
},
"platform": "deCONZ"
}

Hm, only one gateway, and Homebridge deCONZ seems to connect to it just fine.  Do you still get the "Possible EventEmitter memory leak detected" warnings?

Phoscon-GW: warning: 7F1EF14AA7: potentially stale api key: {"create date":"2023-12-30T23:13:11","last use date":"2023-12-30T23:16:12","name":"homebridge-deconz#raspberrypi"}

This typically means that you reset the Homebridge configuration (deleted cachedAccessoires), causing Homebridge deCONZ to obtain a new API key.  deCONZ still has the previously used API key.
I would recommend running deCONZ and Homebrdige deCONZ on the same host (Raspberry Pi), so there's no network in between them.

Aren't deCONZ and Homebridge deCONZ already on the same host?
And yes, i got the warning like in the morning

Aren't deCONZ and Homebridge deCONZ already on the same host?

In that case, you'd better specify the host in config.json as <IP_ADDRESS> or localhost.

And yes, i got the warning like in the morning

Did you restart Homebridge this morning?
I'm afraid I have no clue as to what's happening here.  Could you please run Homebridge in DEBUG mode and capture the Homebridge log into a file, form the moment that Homebridge startups, up to and including when the warnings appear.  Please attach the file (and don't copy/paste large amounts of text).


chore(main): release nest 2.0.0

:robot: I have created a release beep boop
2.0.0 (2024-04-05)
⚠ BREAKING CHANGES

Reduce complexity of paths
Create private node using exchange key pair

Features

Add Share class (055e351)
Add share class methods (d1a5104)
Create private node using exchange key pair (0f322fe)
Implement private shares (89f7d22)
Release v2.0.0 (f0fd48c)

Code Refactoring

Reduce complexity of paths (2414180)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wnfs-wg/nest/releases/tag/nest-v2.0.0 :sunflower:


Any value in downloading 2x DPI image?

When describing the rs download command, the mapbox example uses the "@2x" specification to get a higher DPI image. Indeed, when I run the same rs download command with the "@2x" specification I get an image that is twice the size (measured in pixels) versus without the specification. But, from reading about DPI, it looks like DPI/PPI come into play when rendering an image be it digitally or printing. When using the image for model training there's no true increase in information through the "@2x" specification, right? If anything, it's bad to have the increased DPI because you're basically just doubling the size of your image but the true resolution doesn't change. Am I misunderstanding something here?
Thanks!

From https://docs.mapbox.com/api/#high-dpi-images:

Mapbox supports high DPI image output on all the Maps Service APIs that serve images. Add @2x before the file extension on a URL to request an image at double scale. For instance, a map tile that is 256×256 pixels will be 512×512 pixels with @2x, but will show the same content. When displayed on a page, the image will still be sized to 256×256 pixels, but four pixels of the original will represent one pixel in screen units.

I think your understanding is correct - I'd expect that the 2x requests would be wasteful for your purposes.


[bug] Issues and inconsistencies when running clipboard.writeText()

Describe the bug
I am building a small emoji picker desktop app with tauri and svelte. Thanks a lot for tauri and its documentation, it was quick and pleasant to get the project up and running!
I am facing 2 issues when writing to the clipboard though, they occur in different context but seem to be related
When the user clicks on an emoji it is added to the clipboard using clipboard.writeText(emoji) in javascript, the window is hidden, then we invoke() a rust command which aims to automatically paste the copied emoji. In the rust invocation we have 2 scenarios:

On x11 we use xdotool key ctrl+v, the emoji is properly pasted, but the clipboard is emptied, and we get the same behavior when using xdotool type 😅

If we try to write again the emoji to the clipboard with app_handle.clipboard_manager().write_text(emoji).unwrap(); we actually end up with what was in the clipboard previously (which is a nice feature, but not what we expected)
On an other hand triggering xdotool directly from the terminal does not empty the clipboard, which makes me think something could be happening on the tauri side

On wayland we use ydotool key, the emoji is properly pasted, and it stays in the clipboard. But if I try to add back the item that was in the clipboard before copying the emoji, this time the emoji stays...

I also tried to write back the previous clipboard item through the javascript, after having await the invoke, but the emoji stays in the clipboard. I also tried to do all the write_text and hide window from the rust command, but still the same issues
This happens when I just hide the window, and when I completely close the app, no changes
Reproduction
Feel free to check the code, it is quite straight to the point and has comments:

JavaScript: https://github.com/vemonet/EmojiMart/blob/main/src/routes/%2Bpage.svelte#L28
Rust command: https://github.com/vemonet/EmojiMart/blob/main/src-tauri/src/main.rs#L65

To reproduce:
If you are using linux x11 you will need to install an additional dependency for xdotool, on fedora it goes like sudo dnf install libX11-devel libxdo-devel
Then install and run the app:
git clone https://github.com/vemonet/EmojiMart -b clipboard-issue
cd EmojiMart
make install
make dev

When the picker pops up click on an emoji:

If you are on x11: the emoji will be pasted to the currently focused window, but will not be in the clipboard anymore. Which is not normal because we do not overwrite the text.

If we just remove the xdotool key command, then the emoji stays in the clipboard, indicating xdotool might play a role, at least in the x11 case
If we try to add clipboard.writeText(emoji) the previous item is copied!!! even if the previous item was not even read in the first place! (that was a funny surprise, got data I never asked for)
If we try to add clipboard.writeText(previous) after running xdotool all of sudden at the same time we have xdotool automatically copying the previous text to the focused window, and magically this time the clipboard is not cleared! (what a funny coincidence)

If you are on wayland: the emoji will be added to the clipboard, which is not normal because we run clipboard.writeText(previous) after copying the emoji

Sorry if it is a bit complex but those 2 errors are so connected it did not feel right to create 2 different issues yet
You can change a bit where the clipboard.writeText() are called to see how weird the whole clipboard behavior is
Expected behavior
When we call clipboard.writeText("😅") (or its rust counterpart) it should add 😅 to the keyboard, instead of adding the previous clipboard item or clearing the clipboard
Platform and versions
[✔] Environment
    - OS: Fedora 38.0.0 X64
    ✔ webkit2gtk-4.0: 2.40.3
    ✔ rsvg2: 2.56.2
    ✔ rustc: 1.67.1 (d5a82bbd2 2023-02-07)
    ✔ Cargo: 1.67.1 (8ecd4f20a 2023-01-10)
    ✔ rustup: 1.25.2 (17db695f1 2023-02-01)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 18.15.0
    - pnpm: 8.3.0
    - yarn: 1.22.19
    - npm: 9.5.0

[-] Packages
    - tauri [RUST]: 1.4.1
    - tauri-build [RUST]: 1.4.0
    - wry [RUST]: 0.24.3
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: 1.4.0
    - @tauri-apps/cli [NPM]: 1.4.0

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../build
    - devPath: http://localhost:5173/
    - framework: Svelte
    - bundler: Vite

Stack trace
No response
Additional context
I found an issue that could be related here: https://github.com/tauri-apps/tauri/issues/3666
I also tried to run the clipboard_manager().write_text in a separate thread (using thread::spawn), but the results were the same
Any idea what could cause these issues? Are they caused by the same underlying problem? Or are they 2 completely separate problems dependent on the windowing system?
Anyone ever faced this weird cleaning of the clipboard by xdotool only when called from tauri?
I must admit it's quite puzzling, so any tips on how to better handle the clipboard are welcomed! Maybe there are things I am not aware of (different types of clipboard exists?)

I don't think tauri has any effect since you're using Command which is from rust std lib, but maybe try using arboard crate which will be used under the hood for tauri-plugin-clipboard for v2


Feature to support Projects API and Security-Groups API

The customer is looking for a feature to support Projects API and Security-Groups API  in the Go client to automate
Projects API: - https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-PROJECTS
Security-Groups API: - https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API#ArtifactoryRESTAPI-CreateorReplaceGroup

@harishgoudb -
Is this what you're looking for in terms of User Groups management? Notice that there are additionbal related management APIs there that are also available.
As for Projects Management, this is something that we're considering to add in the near future.

Thank you for the clarification @eyalbe4!
I overlooked the Groups service, but as you linked it's there.
Just to elaborate more on our use case, we need to implement automation to:

Create a new Project for a product team
Create default roles for the Project (Admin/Contributor/Reader)
If they not exist already:
a. Create new default Groups (Admin/Contrib/Read) for the product team
b. Sync these groups with the related Azure AD security groups of the product team
Assign the Groups to the Project with related roles

The goal here is to provision an isolated Project for a product team, give them a default group permissions setup that can fulfill most teams needs, but still giving them admin rights (admin_privileges.manage_resoures) so that they will be able to further customize anything they need on the Project.

Hi, @amazzotti.
The PR's above addressing some of the features requests mentioned here:
Create/Update/Delete project API
Assign/Unassign repository from project

@amazzotti -
Are you asking about enhancing this API to also support projects? If so, would you like to create a PR with this addition? We'd love to have it.


update Readme

@vadeg We should inform users that they need to move their custom objectTransformer to the new default package, or they need to provide scanning namespace instead of supporting the old namespace ("de.zalando") ( https://github.com/zalando-stups/java-sproc-wrapper/pull/68)
It is solution for https://github.com/zalando-stups/java-sproc-wrapper/issues/67

@mesut why did you close #68 ?

@vadeg It doesn't make sense to support old namespace for new version of the library since the library provides to the clients an alternative path to scan value-transformer via "global.value.transformer.search.namespace" system env key. So instead of making changing "global.value.transformer.search.namespace" to the array, it would be better to keep it as it is and inform the client that they need to change directory of their value-transformer to "de.zalando". Or if they don't want to change it they can provide their existing directory via "global.value.transformer.search.namespace". So that's why I closed https://github.com/zalando-stups/java-sproc-wrapper/pull/68 and created this one for updating README.md.

@mesut readme update would be helpful, bu I think support of multiple packages also make sense. Library provide a UUIDValueTransformer global value transformers out of the box. If someone wants to use that, then it enforces to keep all transformers in the org.zalando package what may not match with packages in other projects.

@vadeg your point is valid

Vulnerabilities found. Need to fix them first

One or more dependencies were identified with vulnerabilities:
Error:
Error:  postgresql-42.2.14.jar: CVE-2022-21724, CVE-2022-31197, CVE-2022-26520
Error:  spring-core-5.2.16.RELEASE.jar: CVE-2021-22060, CVE-2021-22096, CVE-2022-22968, CVE-2022-22965, CVE-2022-22971, CVE-2022-22950, CVE-2016-1000027, CVE-2022-22970


Define a registry adapter to use when discovery is not possible, i.e. just list the images

Moving https://github.com/openshift/ansible-service-broker/issues/878 over to here
For those cases where a user wants to use the Broker against a Registry that does not support discovery, let's provide a clear option of explicitly listing the images.
Assume we will want to call this adapter something that clearly expresses it is a manual listing of images, i.e. no discovery. User is responsible for listing the desired images to obtain.
Will need documentation to explain that if we lack working adapters for their intended registry choice, then it's possible to fallback to this method manually listing images.
I'm assuming.....that if we have the image name we can speak to the registry to get the manifest and obtain the ServiceBundle spec....unsure if that is always true.

Closing stale issues


FEATURE REQUEST: ability to disable admin during install

it would be good to be able to disable the admin portal and remove access during installation

During installation, you can't; but you can do it after. You need to edit (myrtille install path)\bin\Myrtille.Services.exe.config as follow :

  <!-- if you don't have a domain or don't want to use the enterprise mode (with group access restrictions), you can use the simplified (local admin) hosts management -->
  <!-- comment the lines below to disable it (automatically disabled if using the enterprise mode) -->
  <!-- the default password ("admin") is changed (and encrypted) upon first login; reset if needed -->
  <!-- <localAdmin>
    <add key="LocalAdminUser" value="admin" />
    <add key="LocalAdminPassword" value="admin" />
  </localAdmin>-->


Manual mock documentation is out of date

In the manual mocks documentation, I read:

The example mock shown here uses jest.genMockFromModule to generate an automatic mock, and overrides its default behavior. This is the recommended approach, but is completely optional.

However, since 81d6697617b130cddf1eff3df9c0fec084efbdf7 this example does not use jest.genMockFromModule. I would submit a PR to clear this up, but I'm not entirely sure what the best thing to do is.

Thanks for noticing! This part of the documentation didn't make any sense after my big rewrite. I updated it in #860.


LeVit, Visformer, RedNet/Involution models and layers

Commenting here again as this is a better place for it.
You should be able to find visformer_small weights here - https://github.com/danczs/Visformer/issues/2#issuecomment-836096399
Please note that I didn't train the model myself but copied the weights from here.
Hope this helps :)

Where's the RedNet pretrained weights?
I load rednet50ts but get a warning:
No pretrained weights exist for this model. Using random initialization.

@LvJC clearly they don't exist, this is a development branch


hasattr(obj, beam) causes exception

Regression introduced by https://github.com/radio-astro-tools/spectral-cube/pull/700, I believe:
ipdb> hasattr(obj,'beam')
*** spectral_cube.utils.NoBeamError: No beam is defined for this SpectralCube or the beam information could not be parsed from the header. A `~radio_beam.Beam` object can be added using `cube.with_beam`.

This is because you can't access a .beam attribute without raising an exception if it's not defined.  But, the object will always have the .beam attribute.

I have a fix in progress

Fixed in #720


Assist "coudn't understand" if there's a space in entity friendly_name

Hi everybody.
In my HA i've configured some lights as "Salotto 1", "Salotto 2"... as a friendly name.
Entity ID is light.salotto_1, light.salotto_2,....
("Salotto" is the "living room" in italian)
I just upgraded to 2023.3.6, I cant see that assist work as expected only for entities that don't have a space in their friendly name.
But, only if using HA via Browser
If I input "Accendi corridoio" it works correctly and the light is turned on (I also get response 'Ho acceso corridoio').
But, if I input 'Accendi Salotto 1' the assist response is "Sorry, I couldn't understand".
Everything is working fine if the Android app is used.
May I help with some additionals checks or tests?
Have a nice day!

Seems to be solved after manually update intents to 2023.3.29 using pip and editing the conversation manifest.json.


How to get tf.data autotune metrics?

Issue type
Performance
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
latest
Custom code
No
OS platform and distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I want to better understand the internals of the tf.data autotuning algorithm. I found that a lot of metrics are logged in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/metrics.h and https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/model.cc, but I cannot find in my program runs where these metrics are logged or how I can get programatic access to them.
For example, I want to see how tensorflow models the output latency of my operators, according to Section 3.3.2 of the tf.data paper (https://arxiv.org/abs/2101.12127). Can I somehow get this information from either the Python API or the logs?
cc @tlongeri if you are still working on Tensorflow metrics
Standalone code to reproduce the issue
Any tf.data pipeline. I'm using the code from https://www.tensorflow.org/guide/data_performance#reproducing_the_figures

Relevant log output
No response

Based on the tensorflow documentation, it seems there are different autotune algorithms.
https://www.tensorflow.org/api_docs/python/tf/data/experimental/AutotuneAlgorithm
Open the symbols panel to see the structure in the options.py file below
https://github.com/tensorflow/tensorflow/blob/v2.14.0/tensorflow/python/data/ops/options.py#L540

@franklsf95,
tf.data builds a performance model of the input pipeline and runs an optimization algorithm to find a good allocation of its CPU budget across all parameters specified as AUTOTUNE. While the input pipeline is running, tf.data tracks the time spent in each operation, so that these times can be fed into the optimization algorithm.
The OptimizationOptions object gives some control over how autotune will behave. Thank you!

@tilakrayal I understand the autotune algorithm, but want to see how it works in action. Specifically, for example, the code logs the stopping condition for the autotune algorithm (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/model.cc#L2695), which would help me understand how the algorithm works. My question is where can I find these metrics? They must be logged somewhere.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Update Item DataTable

Namely - Crystals, Mythril Synth among others.

TresItemData.zip
This changes the Proofs to be Gummi BluePrints: I18065, I18066 & I18067
Also allows all food and Synth Materials (Crystals, Mythril and other Gummi Mission synth materials) to be bought from the store.

Updated with NONE
TresItemData.zip


New support for Python in Flow

Hi Drimix20,
Flow can now install an embedded version of python for users, and using a CD pipeline here on Git, can automatically install dependencies relative to an individual plugin so the user needs to just download and run. You do need to make a small adjustment to your plugin to point to where the script looks for libraries, and inlcude the Github Actions script which will run whenever you update the master branch.
Have a look at my plugin repos to see how that works and if you need any assistance just yell out on Discord or GH Discussions

@deefrawley  Thank you for you suggestion. I will look at it. Currently there is issue in textblob (ref. https://github.com/sloria/TextBlob/issues/395, changed google translate api).


Update version in Repo?

Repo = 0.1.1
NPM 0.2.1 since May
Github 0.2.4
Please check

Ok, npm is now also on 0.2.4


index: add flag for updating meta on checkout

Updating meta by default usually makes sense because in most cases we will checkout to the same filesystem as our "new" index, but this is not always the case. For worktree update, the "new" index is the remote's, and "old" index is local, and we checkout to local, so we do not want to update meta (which would make us lose the latest/new version ID+etag and replace them with local inode/mtime)

Codecov Report
Base: 55.19% // Head: 55.07% // Decreases project coverage by -0.11% :warning:

Coverage data is based on head (047711d) compared to base (36bafdb).
Patch coverage: 75.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #239      +/-   ##
==========================================
- Coverage   55.19%   55.07%   -0.12%
==========================================
  Files          49       49
  Lines        2935     2934       -1
  Branches      504      387     -117
==========================================
- Hits         1620     1616       -4
- Misses       1237     1245       +8
+ Partials       78       73       -5

Impacted Files
Coverage Δ

src/dvc_data/index/checkout.py
60.00% <75.00%> (-1.12%)
:arrow_down:

src/dvc_data/index/save.py
83.54% <0.00%> (-2.54%)
:arrow_down:

src/dvc_data/hashfile/hash.py
75.00% <0.00%> (-0.26%)
:arrow_down:

src/dvc_data/cli.py
32.10% <0.00%> (ø)

src/dvc_data/hashfile/build.py
17.60% <0.00%> (ø)

src/dvc_data/hashfile/state.py
34.48% <0.00%> (ø)

src/dvc_data/hashfile/db/index.py
0.00% <0.00%> (ø)

tests/hashfile/test_hash_stream.py
100.00% <0.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


move external dependancies into this git repo.

When I first started working on this repo we have lots of markdown files in github we wanted to pull into the website.
Currently, the website build tasks pulls the markdown files and converts to html.
I think having files across two repos just adds confusion and complexity. Those files should be moved into the pages directory as plain old html.

please add a little more to the description

sorry accidentally created the issue before finishing my description.

understood, can you list some examples to move across?
How can we know when its done?


Opponents note skin

Describe your problem here.
How do i change the opponents note skin and keep bfs noteskin the same in source ive been trying to find a tutorial but i cant find any please help.
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

This could work but bear in mind that you would need to add it in the override public function update part and add your stage there as a case
for (i in 0...unspawnNotes.length - 1) {
	if(!unspawnNotes[i].mustPress)unspawnNotes[i].texture = ur note skin; (String)
}
for (i in 0...opponentStrums.length) {
	opponentStrums.members[i].texture = ur note skin;
}

Sorry, I was giving my own answer to this.


Hide audio upload if not Premium

Merging this in, should be the final 3.2.1 change.

Hi @vincentritter, as an optimization later we may want to return a microblog-premium field from /micropub?q=config too. Requires a server change but would fit with Micropub and possibly mean one less API hit when opening the new post screen.

Yep, this would be a great addition! Because when I was changing this I
thought exactly that… “when a site you’re invited to has premium (or
another site on your account), we should show/hide depending on that
value instead”.
— Vincent
On September 27, 2023, Manton Reece @.***> wrote:

Hi @vincentritter https://github.com/vincentritter, as an
optimization later we may want to return a microblog-premium field
from /micropub?q=config too. Requires a server change but would fit
with Micropub and possibly mean one less API hit when opening the new
post screen.

—
Reply to this email directly, view it on GitHub
<https://github.com/microdotblog/microblog-react/pull/70#issuecomment-
1737832543>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/AAU35W55ZZBFQJKOUCNMZETX4RRFXANCNFSM6AAAAAA5JXKAAQ>.
You are receiving this because you were mentioned.Message ID:
@.***>


Error when trying to set alpha value

Using the code style.constellation_borders.alpha = 0 or, for example, style.bayer_labels.font_size = 15 works just fine, but inserting the code style.gridlines.alpha = 0  returns: ValueError: "PathStyle" object has no field "alpha".
The same occurs if one tries, say, style.celestial_equator.alpha = 0. The code I was trying to use is copied below.

from starplot import PlotStyle, MapPlot, Projection

style = PlotStyle()
style.bayer_labels.font_name = "Times New Roman"
style.bayer_labels.font_size = 15
style.constellation_borders.alpha = 0
style.milky_way.alpha = 0
style.gridlines.alpha = 0

p = MapPlot(
    projection=Projection.MERCATOR,
    ra_min=4.6,
    ra_max=6.4,
    dec_min=-16,
    dec_max=23.6,
    limiting_magnitude=6.0,
    style=style,
    resolution=3600,
)

p.export("test.png", padding=0.5)

Alternatively, trying to create a style using a YAML file did not work. I tried the following code (adapted from the "More Complex Example" on the website):
from starplot import PlotStyle, MapPlot, Projection
from starplot.styles import LineStyle, ObjectStyle, PathStyle

style = PlotStyle.load_from_file("/Users/josephcaruana/Downloads/check/style.yml")

p = MapPlot(
    projection=Projection.MERCATOR,
    ra_min=4.6,
    ra_max=6.5,
    dec_min=-16,
    dec_max=23.6,
    style=style,
)

p.export("figure.png", padding=0.5)

I used the following YAML file:
# style.yml

# hide the constellation labels/lines:
constellation:
  label:
    visible: false
  line:
    visible: false

# make the Milky Way gray
milky_way:
  visible: false

# change the color of star labels to blue and
# and change their symbol from dots to stars
star:
  label:
    font_color: '#0e69b8'
  marker:
    symbol: '*'

# make nebulas green and their markers diamonds
dso_nebula:
  marker:
    color: green
    symbol: D

However, although this did not return any errors, none of the chosen style options were implemented in the chart that was produced.

Hi, thanks for reporting these issues! It seems the documentation is not very clear that some objects have a PathStyle, some have a LineStyle, and some have a wrapper that includes something like a LineStyle AND a LabelStyle — I implemented it this way to keep the styling flexible. I’ll try to make this more clear in the documentation.
Anyway, I updated your code and added a few comments to get your first example working:
from starplot import PlotStyle, MapPlot, Projection

style = PlotStyle()
style.bayer_labels.font_name = "Times New Roman"
style.bayer_labels.font_size = 15

# since the constellation borders are a LineStyle, you can set the alpha directly.
# Currently they have no labels, so I didn't wrap the border style in a PathStyle
# like the Celestial Equator (which DOES have an optional label)
style.constellation_borders.alpha = 0
style.milky_way.alpha = 0

# Gridlines have labels on the plot axes, so gridlines are actually a PathStyle
# (which has a "line" and a "label"). So, to set ONLY the alpha on the lines, use:
style.gridlines.line.alpha = 0

# for the labels you'd do:
# style.gridlines.label.font_alpha = 0

# below code is unchanged:

p = MapPlot(
    projection=Projection.MERCATOR,
    ra_min=4.6,
    ra_max=6.4,
    dec_min=-16,
    dec_max=23.6,
    limiting_magnitude=6.0,
    style=style,
    resolution=3600,
)

p.export("test.png", padding=0.5)

With those changes, I get this:

Also, if you want to hide certain objects, I recommend setting the visible style property to "false" instead of alpha to 0 because Starplot will exit functions early (and thus, speed up total run time) when an object's visibility is set to false.
In your second example that loads a style from a YAML file, looks like this is caused by a bug in the PlotStyle’s load_from_file function. I just released a new version of Starplot, 0.7.1, that fixes this :)
With the bug fix, I get this when running your code:

Which looks correct, except the star symbols are dots instead of stars. I’ll look into that…
Thanks again for reporting these issues! Starplot is still very much a work in progress, so I also appreciate your patience and understanding.


Allow using an arbitrary Docker image instead of forcing crates-build-env

While Rustwide technically already allows to run a build with an arbitrary container image, it forces you to use (a fork of) crates-build-env as it integrated with it (through the MAP_USER_ID environment variable) to drop privileges inside the container.
This PR lifts that restriction by using Docker's --user flag to drop privileges, instead of the entrypoint in crates-build-env.

:tada:


Latex matrix not rendered when I enable R8/Progaurd

Markwon version: 4.3.0
When R8/Progaurd is enabled the latex matrix notations don't render but it renders when I disable it. Are there any progaurd rules available for the Markwon library and its extensions?

@noties  I'm facing the same issue. Perhaps there are some proguard rules that needs to be set to enable matrices to render correctly on android. They render correctly in debug but in release after enabling proguard, matrix fails to render.

add the following line to your proguard
-keep class org.scilab.forge.jlatexmath.** { *; }

Thank you @joaozemind it worked.

I'm reopening this issue as "-keep class org.scilab.forge.jlatexmath.** { *; }" doesn't work for me. And the following rules also not working (based on the source code):
-keep class org.commonmark.node.** { *; }
-keep class io.noties.markwon.ext.latex.** { *; }


Support benchmarking with GHCJS

I have disabled analysis support for GHCJS as it requires some C functions for
statistics. Though we can use javascript versions of those I did not spend the
effort to do that.
There is no CI script but it can be built using:
cabal new-bench --project-file cabal.project.ghcjs

We can then run the benchmarking executable manually using "node" or using a
browser:
node /vol/hosts/cueball/workspace/github/hs-gauge/dist-newstyle/build/x86_64-linux/ghcjs-<IP_ADDRESS>/gauge-0.2.4/b/self/build/self/self.jsexe/all.js

@vincenthz is this ok to merge it now?

@vincenthz can we merge this?


Change the way url and link are updated on the list

requests from another user's calls don't take url (CALL) and link to etherscan (LINK) in the proper way

done


Distance metric refinement

Reference Issues/PRs

What does this implement/fix? Explain your changes.

TLDR:
Improves the speed of the metrics and fixes a bug that occurred when using the numba fastmath flag and bounding matrix parameters. In addition the lower_bounding parameter has been removed and instead the lower_bounding technique to use is inferred based on the other parameters passed.
Full version:
Previously the distances weren't being cache'd as efficiently as possible and so the cache flag has been added to the factory methods to allow them to be cache'd for repeat calls.
In addition there was a bug caused by using the fastmath numba flag where values were being inserted into the wrong indexes of the bounding matrix (still not sure why this is caused). As such for now the fastmath flag has been removed.
Finally the lower_bounding parameter felt redundent as it could simply be inferred by which parameters are being passed and therefore the parameter was removed.
Does your contribution introduce a new dependency? If yes, which one?

What should a reviewer concentrate their feedback on?

Any other comments?

PR checklist

For all contributions

[x] I've added myself to the list of contributors.
[x] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[x] I've added unit tests and made sure they pass locally.

For new estimators

[x] I've added the estimator to the online documentation.
[x] I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

I think this is ok if we can get it in for the next release. If the release happens before the merge, I would have major reservations because this would result in interface changes, so can we get this done quickly?
Besides that, I only have one minor comment: please remove any commented out code.

hi franz, what interface changes are there? All of thes numba distances are new, and all the existing code is still there


⚠ Spryr has degraded performance

In bcc7174, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4409 ms

Resolved: Spryr performance has improved in 361898a after 9 minutes.


How to trigger updates again once dependencies were ignored and pull requests closed in the past?

Coming from the Kubernetes ecosystem we have to ignore certain dependencies for a little while until we can catch up with everything. So we have a directive like the one below.
  ignore:
  - dependency-name: k8s.io/*
    versions:
    - ">=0.17.0"

After some time we want to move on and modify the ignore directive as follows. Note minor 17 became minor 19.
  ignore:
  - dependency-name: k8s.io/*
    versions:
    - ">=0.19.0"

Now there are still no pull requests coming from dependabot and I presume this is due to certain pull requests being closed which tried to update these dependencies before we had the ignore directive in place. I would like to get updates again once the ignore directive changed. How does this work right now?

You can do it via Insights -> Dependency graph -> Dependabot [Beta] (example: https://github.com/ansible/pylibssh/network/updates). Just click on the Last checked XXX ago link right to the dependency file path to see the log and then, you'll have a button saying Check for updates (example log: https://github.com/ansible/pylibssh/network/updates/63370976 -- you won't see the button in my repo tho, but it'll be at the top in yours).

I triggered dependabot manually twice over the past 24 hours, which is why I reach out so that I can better understand the desired behaviour. This is the timeline of events.

Back in April we closed some of the dependabot PRs manually. That was reason enough for dependabot to not create PRs anymore for certain dependencies.
Meanwhile we added the ignore directive with >=0.17.0.
Now we changed the ignore directive to >=0.19.0.
Now dependabot does not create PRs still because we closed PRs back in April even though our requirements changed now.

Based on this reasoning I can comprehend why dependabot does not update anymore, though I would find it very useful for dependabot to realize that our constraints changed and that it should provide updates according to the new rules, regardless our instructions in the past.

@xh3b4sd do you know there's two dependabot integrations? One is the old GitHub App (https://app.dependabot.com/) that has to be given access / installed on the respective org/user account with access to the specific repo (or all). And the other one is built-in. It's in public beta now, you can opt-in by adding .github/dependabot.yml config in your repo.

We configure our repos with the config file. We use the built-in dependabot. We run it like that for a while and we get all the updates every day. That works. It is just that in the described case we do not get updates, which is why I reached out.

One of our repos we had to patch manually now is https://github.com/giantswarm/operatorkit.

I think you'l want to comment with @dependabot reopen on the old PR? What version was the original PR for?

It looks like this issue has been open for a while and we’ve made a bunch of improvements to Dependabot since. Is this still happening, or has this problem been resolved and can we close this issue?


build: use -fvisibility=hidden in autotools build

The gyp build only exports symbols from the API but the autotools build
did not until now.
Fixes: https://github.com/libuv/libuv/issues/149
R=@saghul

Oh, good catch! LGTM.


handle_exit called with missing starter causes a crash

Creating an issue for this problem discussed in the Discord.
It's possible for the handle_exit function in the supervisor module to be called with state that is missing the starter.exec function.
This causes the following error due to this  let assert
Runtime terminating during boot ({#{function=><<"handle_exit">>,line=>303,message=><<"Assertion pattern match failed">>,module=><<"gleam/otp/supervisor">>,value=>none,gleam_error=>let_assert},[{'gleam@otp@supervisor',handle_exit,2,[{file,"/[....]/build/dev/erlang/gleam_otp/_gleam_artefacts/gleam@otp@supervisor.erl"},{line,235}]},{'gleam@otp@actor',loop,1,[{file,"/[....]/build/dev/erlang/gleam_otp/_gleam_artefacts/gleam@otp@actor.erl"},{line,150}]}]})

Unfortunately I do not have a way to reproduce at the moment and I'm unsure as to the exact details that cause the none value.

Thank you.

FYI, I have a regular error on Gloogle due to this error, because I'm exiting normally some children. That triggers server to restart. It's not a big deal at the moment, but it's bothering enough I'd like to fix it. Are you interested in some PR @lpil ? In case you are, do you have some opinions or some hints to get started on the subject?

PRs welcome but I've not investigated this.

I think I understood why it's happening: I'm using a supervisor to start fire & forget tasks. In Gloogle, when I want to extract signatures, I'm spawning a process to do it in an async way, but I'm starting it within a supervisor. So when it shutdown, there's no other children to start, because it's supposed to stop. Am I right to say that every supervisor children processes should be thought as long running processes, that restart automatically?

Am I right to say that every supervisor children processes should be thought as long running processes, that restart automatically?

No, it would depend on what supervisor you are using and how it has been configured.


Refacor tracking

More testing, domain and language knowledge should continue to highlight areas to make improvements. I want to do this often early one to find a good foundation.

More decoupling of structures. Some initial thoughts:

There might be a need to create interface differences for different configuration data.
Toml data is configuration data for Python projects. Config can probably hand interface to it for a more integrated Config.
An environment is the context of a project. An environment can contain a Venv. A project doesn't have to physically contain it. It just needs to know about it and be able to use it. Less coupling probably.


Conflict between "ci" and "chore" commit types

Is there an existing issue for this?

[X] I have searched the existing issues

Description of the bug
I've noticed, that with template like this:
commit_parsers = [
  { message = "^ci*", group = "Continuous Integration" },
  { message = "^chore*", group = "Miscellaneous Tasks" },
]

Group "Continuous Integration" will capture all chore commits. I'm struggling to understand how such simple regex can be interpreted this way.
It's not a big deal, as I was able to achieve desired result by removing *, but it's concerning that it behaves that way and that it can be found only be testing.
Steps To Reproduce

Create 2 commits with messages ci: ... and chore: ...
Update clif.toml with parsers:

commit_parsers = [
  { message = "^ci*", group = "Continuous Integration" },
  { message = "^chore*", group = "Miscellaneous Tasks" },
]

Generate changelog

Expected behavior
I expect chore and ci commits to be grouped separately
Screenshots / Logs
No response
Software information

Operating system: Manjaro 23.1.3
Rust version:
Project version: git-cliff 2.1.2

Additional context
No response

The correct regex is the following (i.e. use .* instead of *):
commit_parsers = [
    { message = "^ci.*", group = "Continuous Integration" },
    { message = "^chore.*", group = "Miscellaneous Tasks" },
]

^ci* matches anything that starts with c and that's why both commits are grouped under "Continuous Integration".
You can test the regex here: https://regex101.com/r/NoaLur/1


Update protocol implementation example

It looks like this example is slightly incorrect based on the code here: https://github.com/devinus/poison/blob/master/lib/poison/encoder.ex#L83.
I've updated the README to use encode/2 instead.

Closing since it looks like this has been fixed.


Support authoring multi-language components in .NET

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
pulumi/pulumi#5485 adds support for using multi-language components from .NET. This issue tracks being able to author multi-language components in .NET.

Interested in this but probably won't work on it myself.   That said, here's a relevant comment from Slack:

The smallest necessary fix here probably isn't that big, just adding Construct/Call methods to https://github.com/pulumi/pulumi-dotnet/blob/main/sdk/Pulumi/Provider/Provider.cs which will be a similar shape to what they look like in other languages:
e.g. TypeScript https://github.com/pulumi/pulumi/blob/master/sdk/nodejs/provider/server.ts
That would get C# on par with TypeScript.

@Frassle Is your comment still valid, that the changes shouldn't be too much and that the link you gave is still the place to get started?

Aye, still accurate.

I am going to work on this topic. @Frassle have you done any development, yet?

@Frassle This is now implemented as part of #275 , anything else missing?

Nothing else. We're at parity with TS/Python now.