Update to dry-struct and new dry-validation/logic

This is ready in terms of code changes in the app itself, but I'm keeping this as a WIP until we have the new gems actually released, unless you're OK with using stuff from master, then it's ready to be merged.

          2 Warnings

:warning:
Tests were not updated

:warning:
PR is classed as Work in Progress

Rubocop violations

File
Line
Reason

Gemfile
33
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Gemfile
33
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Gemfile
34
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Gemfile
34
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Gemfile
35
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Gemfile
35
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Gemfile
36
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

Gemfile
36
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

  Generated by :no_entry_sign: danger

@timriley I updated this to use released gems. specs are passing but travis set up is broken because assets don't compile there


Rely on Jupyter CDN, install libsm6

libsm6 is a system dependency that conda won't provide (needed for some plotting), since it's an X11 library.
This also sets up the jupyter/minimal and jupyter/demo images to use the Jupyter CDN. This does mean that custom.js is not loaded from the container though. We can modify the template but perhaps this needs to be addressed in the notebook.

Ok, now we have a fixed set of static resources for try, hosted off the CDN.


feat: Add monokai theme

https://github.com/nvim-lualine/lualine.nvim/blob/master/CONTRIBUTING.md#getting-started

Currently we aren't accepting regular colorscheme based themes. We think they make more sense with colorschemes as they tend not to get updated once added here.

Also I think monokai was mistakenly named molokai . Check if this is what you're looking for.


SIG Service Binding proposal

This issue is created to keep track of the proposal to form a new Kubernetes SIG for Service Binding spec and a reference implementation.  This issue is created based on the discussion in issue #108 .  The spec and reference implementation require governance.  Issues about API group (#113 ) becomes a challenge due to the lack of governance.  Since the spec and the reference-implementation are specifically targeted at Kubernetes, the best option is to become part of the project itself.

.

.

.

.

I added the above dot comments to make it visible at the top of the issue. I will use it to summarise the ongoing discussion.

When I asked about this in SIG Contribex, they redirected me to SIG Auth.
https://kubernetes.slack.com/archives/C1TU9EB9S/p1601627320144800

I asked about this in SIG Auth: https://kubernetes.slack.com/archives/C0EN96KUY/p1601694332033400

I asked about this in SIG Auth: https://kubernetes.slack.com/archives/C0EN96KUY/p1601694332033400

As there was no response in the chat, I sent a mail to the mailing list. Since this is my first email, it requires moderator approval :)

I asked about this in SIG Auth: https://kubernetes.slack.com/archives/C0EN96KUY/p1601694332033400

As there was no response in the chat, I sent a mail to the mailing list. Since this is my first email, it requires moderator approval :)

The mail has reached the SIG Auth mailing list: https://groups.google.com/g/kubernetes-sig-auth/c/G3IOlq8Mow0

Discussed during interlock. Ongoing work to find a SIG...

Closing this issue as the spec found a new home at catalog-sig #138


The search screen is clearly… empty

Hi everyone,
When we search for something, the screen is really minimalist.
We could maybe reuse the animation from #4318

Here's the initial search proposal if it can be of some inspiration

What we could do is immediately add placeholders with shimmers.
Also, do we do a minimal search query (name, scores, miniatures) before the big search query with all the product data ?

Maybe the quick fix would be to use the header.
But a better would indeed be your proposal with a minimal search


Expose the memory feature from Pulsa

I forgot that I had already implemented this functionality :man_facepalming:

Done on v1.0.4 :tada:


Raw pitch information is wrong in planning_simulator

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
In the planning simulator, we saw that the raw pitch value is negative of the actual value.
https://github.com/autowarefoundation/autoware.universe/assets/45468306/d83deb49-3df9-4258-84ae-7f366ba1df41
Also, you can see the raw pitch info (blue) and pitch info from trajectory (red)

Expected behavior
True pitch value
Actual behavior
Negative of the pitch value
Steps to reproduce
Run planning simulator in hilly environmenta
Versions
No response
Possible causes
No response
Additional context
No response

Today I retested the pitch information in simulation, however, the vehicle's pitch value always seems to be 0.0.

The blue line is the trajectory's slope(degree), and the red is the raw_pitch value.
Also, I checked the orientation in the kinematic_state topic, same there.


How high is the camera sampling frequency to meet the requirements

Hi, i have a question, 120fps is enough？

The raspi cam records at 60 fps for this (observer.py, line 36). If you're talking about the monitor refresh rate, it doesn't matter unless it's terribly low.


"Saravale" is listed in the drop-down menu

Description:
"Saravale" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Saravale" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Saravale, TIMIȘ (Saravale)" and "Comuna Saravale, TIMIȘ".


Hasattr returns True for attributes in 0-dimensional arrays

Behavior is somewhat expected, although counter-intuitive and unlike NumPy's. Elements of a cp.array are also cp.arrays rather than scalars, and thus hasattr returns true for attributes such as len. However, of course, calling len on an element throws an error.
MWE:
x = cp.array([1])
# [1]

hasattr(x[0], "__len__")
# True

len(x[0])
# TypeError: len() of unsized object

Elements of a cp.array are also cp.arrays rather than scalars

By design of CuPy, it does not perform memory transfer between GPU/CPU automatically. Please refer to https://docs-cupy.chainer.org/en/latest/reference/difference.html#zero-dimensional-array for details.

hasattr returns true for attributes such as len. However, of course, calling len on an element throws an error.

This behavior is the same as NumPy's 0-dim array.


docs: Fix links

Problem
When adding the new token docs, some of the filenames were changed, but not in the sidebars, causing a build error.
Solution
Fix the links, and in the future, consider doing a docs build in CI for PRs on docs. I thought this was happening already, but maybe we need to add one more step.

Will fix up the CI in a separate PR, landing this now since the build failure is on master.


[Feature Request]: Check the response format from embedding functions and error if it's wrong

Describe the problem
I've seen a few users in Discord with mysterious-looking error messages deep in our code when they try to add -- most recently, KeyError: 0 in segment.py: https://discord.com/channels/1073293645303795742/1074711446589542552/1183352033902862366 . These are caused by an external embedding function not returning data in the format we expect, either because the embedding provider changes or we change.
We should have validation code which checks that externally provided embeddings conform to our expected format. We could give a much more helpful error message if not.
Describe the proposed solution
Code to make sure that embeddings are formatted how we expect. Probably in the base EmbeddingFunction class but I'm not attached to any particular implementation.
Alternatives considered
The current state of the world.
Importance
would make my life easier
Additional Information
No response

I would love to work on this, if possible can anyone guide me a little towards how I should go about this?

@hey-sagar  start by looking at https://github.com/chroma-core/chroma/blob/main/DEVELOP.md if you haven't

@beggers How is a KeyError being raised for accessing item on a List datatype in this problem?

Python datatypes are only hints which must be manually checked before runtime. They don't actually enforce anything at runtime. In other words, we don't know that the data being accessed is actually a List.
Right now it's possible for someone to write an EmbeddingFunction which returns...anything. In our type hints we assume that EmbeddingFunctions return Lists because they're supposed to, but if a user writes one which doesn't they'll get the KeyErorr

@GauravWaghmare Thanks for you input. Even After Changing the Model name to the correct one the KeyError issue persisted if the api_key is left empty as it was in https://discord.com/channels/1073293645303795742/1074711446589542552/1183352785295654972. Is there a chance that api_key part was left empty while referencing the documentation? As providing my api_key into the same code worked as intended.

@hey-sagar The response of the embedding function when the API key is missing is
{

'error': "Authorization header is invalid, use 'Bearer API_TOKEN'"

}

which would raise the same KeyError. Have raised a pull request to validate the response and throw a more informative error. https://github.com/chroma-core/chroma/pull/1615


Get new municipal water intake locations from OWRD

The old data came from here:
Municipal Use Drinking Water
The analysis of municipal use drinking water sources within each of the scenarios used the ‘Water_Rights’ dataset from the Oregon Water Resources Department (WRD) (2008). The dataset depicts the location of each water right diversion point and information about the associated water right. Only entries categorized as “Municipal Use’ were used in the analysis.
http://spatialdata.oregonexplorer.info/geoportal/details;id=14fac385d20c4c1f8ce2dd3da297b781
We need to locate the new version....

Email sent to Bob Harmon about 2022 version of this data

Reply from Bob Harmon:

We got this data and have now included it in our updated asset inventory (still to be posted).


Can not make Tracing extension work

Hello,
I'm trying to set up the Tracing extension to report execution traces to Jaeger.
Whatever I do I can not make it work - spans from extension never get to the dispatcher.
I don't think it's tracing problem, because spans from other places (e.g. actix-web middleware) are working.
Maybe I'm doing something wrong and there is some working example exists somewhere?

Can manually call the tracing::event macro output the correct content?

@sunli829 in other places of the program - yes. All traces/events are properly logged and delivered to jaeger.
But in Tracing extension, any calls to span/event seem to be completely ignored.

Do you enable the Tracing extension? 😂

Lol. Of course. Other extensions are working. I also have a custom Logging extension that uses tracing::events and they are working just fine.

So I assume that it's somehow related to the fact that Tracing is using tracing::dispatcher::get_default(). Maybe it's not available in that context for some reason...

Could you help us solve this problem? 🙂

I was trying to solve it for the last 4 hrs with no luck.
That's why I created issue instead of PR :) But I will work on it more.

Could you provide the simplest example project?

Maybe you need to call tracing_core::dispatcher::set_global_default?

I have prepared an example project here: https://github.com/kop/async_graphql_tracing

Maybe you need to call tracing_core::dispatcher::set_global_default?

It is done at https://github.com/kop/async_graphql_tracing/blob/master/src/main.rs#L75.

Ok, I managed to get tracing working. I wrote a custom extension that is using opentelemetry directly instead of relying on tracing and this did the trick.
However, in the end, I realized that it's not what I want. The resulting image looks like this:

After digging some more into library internals, I now understand that no matter what I'll do in extension, I can not get the desired picture when the spans of child requests belong to the corresponding resolver span. There is just no easy way to propagate it to resolvers.
I think this can be done by storing a map of the field path to corresponding span in Context and extracting it in every resolver...
So I was thinking, maybe it makes sense to just move the tracing from extension to the library itself and create spans for execute_once and resolve_field?

@kop Good news! I solved the problem of tracing extension, and now it is very cool to use!

@sunli829 just tried the master branch, still not works for me :(
Do you have some test project where you are testing this? Maybe I'm doing something wrong.

@sunli829 just tried the master branch, still not works for me :(
Do you have some test project where you are testing this? Maybe I'm doing something wrong.

https://github.com/tokio-rs/tracing/blob/6f0122657009e47077c9a2207d592e1fc38c910f/examples/examples/opentelemetry.rs#L19
I just used this function to do initialization Tracing.

I have prepared an example project here: https://github.com/kop/async_graphql_tracing

Maybe you need to call tracing_core::dispatcher::set_global_default?

It is done at https://github.com/kop/async_graphql_tracing/blob/master/src/main.rs#L75.

I tried the example you provided and it works fine.

If the problem has been resolved, please close it.

@sunli829 please give me a couple of days. I will return to this issue once I'll have a chance. I want to understand why it was not working in my setup and maybe add corresponding instructions to the book.


Add support for custom message parsing.

Ran into an issue where we needed control of the message parsing functionality. Specifically the ability to include default field values. Set it up so that it works the same as default, but a custom parsing class can be passed in.
Just did the async side for now, can port to the sync side if wanted.

One question about the implementation, but the spirit looks good.
Do you have a gut feel on whether there may be numerous different MessageProtocol implementation the library may want to support in the future?
I ask, because the client classes are feeling a bit hefty already, and it may be worthwhile to start considering breaking the code apart a bit in the near future.

So my attempt here was to make a straightforward to use custom message parser, CustomArgumentParsers. Which lets you set the keyword args for MessageToDict, while also allowing someone to expand if they wanted to do something completely different (json grpc or something) without having to change the library.
So 90% of people probably won't use custom parsers, 9% of people will use the built in custom parser with custom arguments, and 1% can write their own parser implementation.

Thanks for answering my questions. All in all looks good - feel free to merge at your leisure, or, I'll go ahead and merge it in when I get some time later this week to work on a new release, as we slated those deprecated methods to be removed in 0.1.17.

I don't believe I have write permissions on the repo. Happy to wait for 0.1.17

Well, I'll get ya'll into develop at least, so I can build upon your commits. Thanks as always for the contributions1


[Feature] refactor dataSource manager with plugin

Purpose of this pull request
https://github.com/flowerfine/scaleph/issues/55
Brief change log
(for example:)

Add datasource plugin and jdbc datasource plugin implementations
scaleph-ui datasource menu loads available datasource plugins automatically
seatunnel connector-jdbc job retrieves datasource from datasource plugin

Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[x] If necessary, please update the documentation to describe the new feature.

Codecov Report

Merging #84 (917db10) into dev (e28a7af) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##             dev     #84    +/-   ##
======================================
  Coverage   0.00%   0.00%
======================================
  Files        142     145     +3
  Lines       3782    3964   +182
  Branches     230     230
======================================
- Misses      3782    3964   +182

Impacted Files
Coverage Δ

...sliew/scaleph/api/controller/CommonController.java
0.00% <0.00%> (ø)

...eph/api/controller/admin/LogMessageController.java
0.00% <0.00%> (ø)

...caleph/api/controller/admin/SecUserController.java
0.00% <ø> (ø)

...leph/api/controller/admin/SysConfigController.java
0.00% <0.00%> (ø)

...leph/api/controller/datadev/ClusterController.java
0.00% <ø> (ø)

...h/api/controller/datadev/DataSourceController.java
0.00% <0.00%> (ø)

...ph/api/controller/datadev/DirectoryController.java
0.00% <0.00%> (ø)

.../scaleph/api/controller/datadev/JobController.java
0.00% <ø> (ø)

...leph/api/controller/datadev/ProjectController.java
0.00% <0.00%> (ø)

.../scaleph/api/exception/GlobalExceptionHandler.java
0.00% <0.00%> (ø)

... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e28a7af...917db10. Read the comment docs.


Rename this project dataset-viewer?

idea from here: https://huggingface.slack.com/archives/C02V51Q3800/p1711555601697509?thread_ts=1711535232.998799&cid=C02V51Q3800 (internal)

First is that I think nobody has any idea it’s related to the viewer (keep pointing people to it when they ask)

Making it clear that this code "powers the frontend feature":

it would help when providing support (this project sends the data and the errors to the dataset viewer)
it could foster more contributions: people contribute to see the features they want on HF (think Croissant for example)

[x] change the repo's name - everything will be redirected (https://docs.github.com/en/repositories/creating-and-managing-repositories/renaming-a-repository), so: we should be able to do it at any time
[x] in this repo, change all the names / variables / docs to replace datasets-server with dataset-viewer, Datasets Server with Dataset viewer, etc. -> #2663, #2665
[x] Slack channels
[x] Notion pages
[x] Grafana charts -> https://grafana.huggingface.tech/dashboards/f/e_I3EQ0Vz/dataset-viewer
[x] https://huggingface.co/spaces/datasets-maintainers/datasets-server-admin-ui -> https://huggingface.co/spaces/datasets-maintainers/dataset-viewer-admin-ui (with redirection)
[x] observable notebooks
[x] Miro
[x] kibana
[x] https://github.com/orgs/huggingface/teams/datasets-server -> @huggingface/dataset-viewer
[ ] https://datasets-server.huggingface.co -> https://dataset-viewer.huggingface.co (with redirection)
[ ] https://huggingface.co/docs/datasets-server -> https://huggingface.co/docs/dataset-viewer (with redirection)
[ ] https://github.com/huggingface/moon-landing (https://github.com/huggingface/moon-landing/pull/9520)
[ ] https://github.com/huggingface/datasets
[ ] https://datasets-server.us.dev.moon.huggingface.tech -> https://dataset-viewer.us.dev.moon.huggingface.tech (with redirection)
[ ] huggingface blogposts?

internal (infra):

[ ] https://github.com/huggingface/infra
[ ] https://github.com/huggingface/infra-deployments
[ ] docker image tags (https://hub.docker.com/r/huggingface/datasets-server-services-search -> https://hub.docker.com/r/huggingface/dataset-viewer-services-search)
[ ] Helm chart name
[ ] AWS parameters
[ ] kubernetes namespaces
[ ] Hub app names and tokens
[ ] https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets-server
[ ] buckets: hf-datasets-server-statics-test, hf-datasets-server-statics
[ ] MongoDB databases
[ ] BetterUptime
[ ] shared directories (PARQUET_METADATA_CACHE_APPNAME)

Longer term

rework the docs (and READMEs) to make it clear:

that the project powers the Hub's dataset viewer
(that it does not contain source code for the viewer as such)

in favor!

Note that we already have the good old https://github.com/huggingface/datasets-viewer. Not to be confused with the new proposed https://github.com/huggingface/dataset-viewer without s :)

TODO:

[ ] in this repo: change all the names / variables / docs to replace datasets-server with dataset-viewer, Datasets Server with Dataset viewer, etc.
[ ] in other repos (moon-landing, infra, etc.) fix the URLs, texts, docs, variable names
[ ] change the repo's name (is this the last step?)
[ ] change the URLs

https://datasets-server.huggingface.co -> https://dataset-viewer.huggingface.co
https://datasets-server.us.dev.moon.huggingface.tech -> https://dataset-viewer.us.dev.moon.huggingface.tech
and redirect old URLs to new URLs

The principal issue will be to change the API domain (datasets-server.huggingface.co -> dataset-viewer.huggingface.co). Not urgent though, nobody will complain meanwhile.
Also: renaming the docs (/docs/datasets-server -> /docs/dataset-viewer)

the API domain we don't really need to change it no?

the docs yes i would advocate to change them (and create a redirect in moon or Cloudfront)

the API domain we don't really need to change it no?

sure, it would be a lot simpler. Anyway, we can also change it later if we want. Same for all the infra-related stuff.


Changing language may break the game

Describe the bug
I did a game with the editor in Spanish (MX). Then I switched to English and the game was broken. It seems Sprite bottom (translated as "abajo" in Spanish) ends up replaced by Sprite x in a couple of places. I did a minimum example where the bug can be reproduced: https://github.com/manuq/language-bug
To Reproduce
Steps to reproduce the behavior:

With the Arcade editor in Spanish (MX), load from this repo: https://github.com/manuq/language-bug
See the fruit correctly stopping when it reaches the bottom of the screen
Change editor language to English
See the fruit falling off the screen

Expected behavior
The game should work consistently regardless of the language.
Screenshots
Here are the blocks in Spanish:

And then after switching to English they become:

Desktop (please complete the following information):

OS: Linux (Endless OS)
Browser: Google Chrome
Version: 120.0.6099.71

The issue here is that "mySprite.bottom/abajo" is translating back to "mySprite.x"

The issue here is that "mySprite.bottom/abajo" is translating back to "mySprite.x"

Yes, but is this a translation issue? I would expect that the code is decoupled from the translations. Isn't this the case in Arcade?

It does this for both Spanish locales. It seems to want to reset to the first property get() on sprites. The property will not change if left in the context of the JavaScript editor when the language is changed. Investigating further...

Here's the behavior in blocks:

@ganicke exactly! Thanks for picturing the bug. Going from Spanish to English the "down" property is replaced by the "x" property in some blocks. Going back to Spanish the property is left as "x".


WIP: Begin process of implementing Cosmos RPC

Indication of the process required to close #1339

Connecting to Tendermint directly is almost impossible to get right, since you need a local Amino encoding/decoding library. Such a library does not exist in any well-maintained way. Things will change with the upcoming Cosmos SDK 0.39 that uses protobuf.
For now I recommend closing this PR.


Random BPM change

Hi,
I've connected 2x XDJ 1000Mk2 with a port switch and then to MacOS. I'm using the latest XDJ firmware.
When I'm using Prolink Tools, the BPM of the XDJ's change randomly without any physical contact to the player.
This happens only when I use Prolink Tools. When I use the XDJ's without Prolink Tools, everything is fine.

This is a very strange bug. Are you using USB drives? Could you try with rekordbox LINK EXPORT mode if you have a second computer?
A video of this behavior could also be useful


chore: upgrade typescript & SDKs

This should improve type compatibility between different SDK versions

I guess I should've also updated the CHANGELOG here, will add that.


feat: added labs page

This PR adds the Labs Page.

Can you also add https://academy.solo.io/learn/courses/8/introduction-to-cilium and https://www.edx.org/course/introduction-to-cilium?

Can you make sure the getting started labs are the first ones listed on the all labs page? Also the Linux Foundation and Solo.io Academy branding should be removed from the cards

Can you make sure the getting started labs are the first ones listed on the all labs page? Also the Linux Foundation and Solo.io Academy branding should be removed from the cards

When opening the "all labs" page, is it possible to randomize the order in which they appear each time?


document behavior of exists and other functions in the presence of DNE and permission errors

If we attempt to access a file in a bucket that does not exist, that's just a normal failure, but if the bucket does exist and we don't have access to it, raise an exception


Some links to probes are outdated

https://github.com/rapid7/sonar/wiki/UDP
Take a look at the link "bacnet" probe at the bottom for example.

Those three links are dead:
https://github.com/zmap/zmap/blob/master/examples/udp-probes/ntp_123_readvar.pkt
https://github.com/zmap/zmap/blob/master/examples/udp-probes/sip.template
https://github.com/zmap/zmap/blob/master/examples/udp-probes/bacnet_rpm_47808.pkt

Fixed.  Thanks!


Can you please wrap an interface in R?

Can you please wrap an interface in R? Thank you very much.

No. I will gladly accept PR but we do not have the resources, nor the knowledge to do it.


FindIce: Update for version 3.6.0 and find all Ice programs

ZeroC will release Ice version 3.6.0 in a week or so.  The FindIce module has been updated to find version 3.6.0 and tested against 3.6.0-rc2 to make sure the logic is correct.
Ice provides a number of daemons and other utility programs; I've also updated the logic to find these for use by end users (since they are visual-studio-version- and architecture-specific).

Thanks.  I've merged to next for testing per our normal workflow, and will later merge to master.  I'll close this for now and re-open if there are problems discovered by testing.


[WIP] Dredd

Merging with this PR https://github.com/CounterpartyXCP/counterparty-core/pull/1751
Dredd test will be part of Docker Compose test (mainnet)


Add installation scripts for Wazuh

Closes #19

Right now we are using Filebeat from Wazuh3 and Elastic from Wazuh4.


Fix a " bug " in readme.md

I was looking at some of your repositories and I noticed that there was a redirect error in the readme link, anyway, if you have anything there, for me to help and contribute, than is open, I took a look and it seems that most of them need a key of api to at least try to do something ..... so if you can guide me on how to get a key, so I can contribute to the projects, I would appreciate it, hugs!

@matheustatangelo valeu demais <3


Update service-fabric-image-store-connection-string.md

Updating document freshness date

@alexwun - Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.
It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/Microsoft/azure-docs/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Microsoft/azure-docs-pr/blob/master/articles/azure-portal-overview.md
We've closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions


When you restart Home Assistant, the Xplora integration takes a long time to start

What version of Integration has the issue?
V 2.10.1
System Health details
Raspberry 4
Checklist

[X] I have enabled debug logging for my installation.
[x] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).

Describe the issue
Hello everyone,
First of all, thank you for your work, I think it's great that I can integrate my daughter's smartwatch into HA.
Now to my problem:
Yesterday evening I updated the Xplora integration. Maybe I should have read beforehand that all the entities change. I have installed the smartwatch in many automations. It was definitely fun to change everything up 😀
In any case, since updating to the latest version, the Xplora integration takes almost exactly 5 minutes to restart with a home assistant. That wasn't the case before and unfortunately I can't use the version because I can't and don't want to wait 5 minutes for integration every time I restart.
I have already completely reinstalled and set up the integration, but unfortunately the problem still persists. Is the error known and could you perhaps help me?
Best regards
Additional: I come from Germany and this text was translated using Google Translate.
Reproduction steps

...
Nothing
Debug logs
Nothing

Hallo @MaggiMaikel ich werde schauen, ob ich was machen kann. Kannst du mir sagen, welches Intervall du eingestellt hast?

Hello,
I left the interval at default (180 seconds).

Any progress in this?
It's getting a bit annoying when you need to restart Home Assistant since other integrations are waiting to start up.

@MaggiMaikel  I have two clocks that are initializing and it takes 26 seconds

Hello,
I tried it today with the latest version. Unfortunately the same problem still exists, which is why I unfortunately have to install a backup.

Try: https://github.com/Ludy87/xplora_watch/pull/348

OK, great, thank you very much.
I'll try it in the next few days as soon as I have time. I hope it works better then. I will let you know and thank you again for your work.

Hello,
I couldn't wait to install the update. But unfortunately the problem still exists. But I was able to narrow it down further. This is school mode. Start xplora_watch.switch... This is what slows down the reboot very much. I also noticed that even if the reboot is finished at some point, the school mode switch shows up as unavailable. Unfortunately, I will have to install a backup again because school mode plays an important role for us and we can't do without it.


Mixing single JS file not creating expected file

I'm compiling a test.js file located on my resources and the output generated file doesn't work.
I've just created a new laravel5.4 project from scratch. Created resources/assets/js/test.jswith a single function:
function testFunction() {
    console.log('test');
}

I've cleaned welcome.blade and instead I simply import js/test.js script from public folder and execute my function
<!DOCTYPE html>
<html lang="{{ config('app.locale') }}">
    <head>
        <script src="{{ url("js/test.js") }}"></script>
    </head>
    <body>
    <script>
        testFunction();
    </script>
    </body>
</html>

On my webpack.mix I'm only compiling test.js
mix.js('resources/assets/js/test.js', 'public/js');
It compiles succesfully but when I visit welcome page I receive
testFunction is not defined
Any idea what's going on? On inspector I can see that my js is loading ok too.

Use {{ mix('js/test.js') }} as your script src.

This does not appear to be my problem, url or mix does work. My problem is the resulting public/js/test.js was weird and not working. I found a workaround using mix.combine and now it seems to work correctly.
mix.combine(['resources/assets/js/test.js'], 'public/js/test.js');

When it compiles, it won't automatically be in the global space. You have to explicitly request that.
window.testFunction = function () {
    console.log('test');
}


Add support for staging component name mywolfssl

The staging instance component name of wolfSSL is called mywolfssl instead of wolfssl to ensure there's no ambiguity between release and test/ preview code.
https://components-staging.espressif.com/components/gojimmypi/mywolfssl

@gojimmypi
FAILED: esp-idf/esptool_py/CMakeFiles/app_check_size /project/examples/led/build/esp-idf/esptool_py/CMakeFiles/app_check_size
cd /project/examples/led/build/esp-idf/esptool_py && /opt/esp/python_env/idf5.4_py3.10_env/bin/python /opt/esp/idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /project/examples/led/build/partition_table/partition-table.bin /project/examples/led/build/main.bin
Error: app partition is too small for binary main.bin size 0x1038b0:
  - Part 'factory' 0/0 @ 0x10000 size 0x100000 (overflow 0x38b0)
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /project/examples/led/build/log/idf_py_stderr_output_1430 and /project/examples/led/build/log/idf_py_stdout_output_1430

Given https://github.com/AchimPieters/esp32-homekit-demo/pull/12#issuecomment-2133749247 regarding resolved flash footprint size, @AchimPieters do you think it would still be a good idea to turn off hardware acceleration for all 1MB flash to conserve flash size?
We could look for #define CONFIG_ESPTOOLPY_FLASHSIZE_1MB 1 in the sdkconfig.h;  I'd add a Kconfig "Disable hardware acceleration for 1MB devices" option as well, and set this only as needed, such as when the Apple HomeKit is enabled, something like this in user_settings'h:
#if defined(WOLFSSL_APPLE_HOMEKIT) || defined(CONFIG_WOLFSSL_APPLE_HOMEKIT)
    /* SRP is known to need 8K; slow on some devices */
    #undef  FP_MAX_BITS
    #define FP_MAX_BITS (8192 * 2)
    #define WOLFCRYPT_HAVE_SRP
    #define HAVE_CHACHA
    #define HAVE_POLY1305
    #define WOLFSSL_BASE64_ENCODE
    #define HAVE_HKDF
    #define WOLFSSL_SHA512
    #if defined(CONFIG_ESPTOOLPY_FLASHSIZE_1MB) && defined(CONFIG_WOLFSSL_NO_1MB_ESP32_CRYPT)
        #define NO_ESP32_CRYPT
    #endif
 #endif

@gojimmypi  OR we just say you need an ESP32 with at least 4MB, and use the optimized settings, for the best result, with the lowest impact on performance and stability, and as lean as we can get it?

I still like your idea of "it just works on every device, everywhere".
Was your resolution a revised partition file, and you didn't actually have a 1MB ESP32? Curious I did not see that error when building from a fresh project. I assumed your build actually found a 1MB device and used that limit, eh?
btw - that capture of an ESP32 Partition Calculator is pretty cool. Is it this one: https://esp32.jgarrettcorbin.com/ ?
Let me know where we are with things: what still needs attention? If all is looking good with the staging component I will update the release preview.

@gojimmypi
Yes, my resolution was a revised partition file. I didn't actually have a 1MB ESP32; I just configured the partition file to reflect that size.
Regarding the error you mentioned, it didn't occur because the partition file was manually set that way, not because the build found a 1MB device.
And yes, the ESP32 Partition Calculator you saw is the one available at https://esp32.jgarrettcorbin.com/.
As for the current status, the tests I've conducted so far are working fine. If everything looks good with the staging component, feel free to update the release preview.

Hi @AchimPieters
That's interesting about the partition file... for several reasons.

One: why I used the same prior 1MB partition file and did not have the build / flash errors that you saw on your EPS32.
Two: even more interesting that now I do see a problem with the partition files, but at runtime, not build time.
What actually triggers flash size warnings or errors?

What version of the ESP-IDF are you using? I'm using v5.2.
I've been doing regression tests to make sure all the devices work with the latest preview version of wolfSSL. My ESP32-C2 has only 2MB of flash. I am able to program it successfully, yet the device will not boot. I worked on this for some time before considering the updated partition file, as there's no warning or other indication of memory size problem. It just fails with this message at boot time:
invalid header: 0x852▒ESP-ROM:esp8684-api2-20220127
Build:Jan 27 2022
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40059706
invalid header: 0x85228b2a
invalid header: 0x85228b2a
invalid header: 0x85228b2a
invalid header: 0x85228b2a
invalid header: 0x85228b2a
[...repeats many times and then reboots...]

Here's the log header with details that are displayed with the wolfssl_test app instead loaded on that ESP32-C2:
SP-ROM:esp8684-api2-20220127
Build:Jan 27 2022
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5c80,len:0x16f0
load:0x403acb70,len:0xbb0
load:0x403aeb70,len:0x27e0
entry 0x403acb7a
I (21) boot: ESP-IDF v5.2-dev-3903-g66992aca7a-dirty 2nd stage bootloader
I (21) boot: compile time May 28 2024 22:06:37
I (22) boot: chip revision: v1.0
I (26) boot.esp32c2: MMU Page Size  : 32K
I (31) boot.esp32c2: SPI Speed      : 60MHz
I (36) boot.esp32c2: SPI Mode       : DIO
I (40) boot.esp32c2: SPI Flash Size : 2MB
I (45) boot: Enabling RNG early entropy source...
I (50) boot: Partition Table:
I (54) boot: ## Label            Usage          Type ST Offset   Length
I (61) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (69) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (76) boot:  2 factory          factory app      00 00 00010000 00177000
I (84) boot: End of partition table
I (88) esp_image: segment 0: paddr=00010020 vaddr=3c0b0020 size=2e1e0h (188896)                                              map
I (139) esp_image: segment 1: paddr=0003e208 vaddr=3fcaa500 size=0175ch (  5980)                                              load
I (140) esp_image: segment 2: paddr=0003f96c vaddr=40380000 size=006ach (  1708)                                              load
I (145) esp_image: segment 3: paddr=00040020 vaddr=42000020 size=ad3a8h (709544)                                              map
I (312) esp_image: segment 4: paddr=000ed3d0 vaddr=403806ac size=09e4ch ( 40524)                                              load
I (325) boot: Loaded app from partition at offset 0x10000
I (326) boot: Disabling RNG early entropy source...
I (337) cpu_start: Unicore app
I (346) cpu_start: Pro cpu start user code
I (346) cpu_start: cpu freq: 120000000 Hz
I (346) cpu_start: Application information:
I (349) cpu_start: Project name:     wolfssl_test
I (354) cpu_start: App version:      v5.7.0-stable-2294-ga60d2986c-d
I (361) cpu_start: Compile time:     May 28 2024 22:06:15
I (367) cpu_start: ELF file SHA256:  54f57b3d5...
I (373) cpu_start: ESP-IDF:          v5.2-dev-3903-g66992aca7a-dirty
I (380) cpu_start: Min chip rev:     v1.0
I (384) cpu_start: Max chip rev:     v1.99
I (389) cpu_start: Chip rev:         v1.0
I (394) heap_init: Initializing. RAM available for dynamic allocation:
I (401) heap_init: At 3FCACF90 len 0002FBE0 (190 KiB): RAM
I (407) heap_init: At 3FCDCB70 len 0000294C (10 KiB): RAM
I (414) spi_flash: detected chip: generic
I (418) spi_flash: flash io: dio
I (422) sleep: Configure to isolate all GPIO pins in sleep state
I (429) sleep: Enable automatic switching of GPIO sleep configuration

As this is unrelated to wolfSSL, I'll complete a bit more testing and then publish a release preview soon.
Thanks for all your help. This exercise has been educational for us both!
Cheers

@gojimmypi I remembered, why I set the max to 1MB, because I wanted to use LCM in combination with this module: https://nl.aliexpress.com/item/1005004708883228.html?spm=a2g0o.order_list.order_list_main.192.c5c379d2ctD3Rj&gatewayAdapt=glo2nld It has 2 MB and I need two times an OTA partition for LCM, so it needs to be smaller than <1MB.

I set the max to 1MB, because I wanted to use LCM

ah yes, I see. Well, I have several other devices that are also failing with the partition changes. Not only is my ESP32-C2 a 2MB device, but also ESP32-C3, ESP32-S2,  and ESP32-S3.
So perhaps we're back to fitting into a 1MB partition? What do you see as the best method? There might be other flash-saving options to consider as well.

I should note that although the staging components are working from command-line (e.g. WSL), I've not been able to get that working in VisualGDB. See:
https://sysprogs.com/w/forums/topic/espressif-esp32-staging-components-preview-fails-to-find-component/

@gojimmypi I'm going to look into this one, this weekend, but don't have the time I would like. I also have found some optimizations options.

@gojimmypi
To optimize speed, minimize binary size, and minimize RAM usage for an ESP32 project using the ESP-IDF, I configured the SDK using the sdkconfig.defaults file. Based on the guidelines from the Espressif documentation, here are the configurations I added:
General Optimization
Enable Compiler Optimization:
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
This sets the compiler to optimize for size, reducing binary size.
Enable LTO (Link Time Optimization):
CONFIG_COMPILER_OPTIMIZATION_LTO=y
LTO can significantly reduce binary size and sometimes improve execution speed.
Binary Size Reduction
Reduce Log Level:
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
This reduces the amount of log output, minimizing binary size and runtime overhead.
Disable Unused Components:
CONFIG_BT_ENABLED=n
CONFIG_BLE_ENABLED=n
CONFIG_ESP_CONSOLE_UART_DEFAULT=n

Disable Bluetooth, BLE, and default UART console if not needed to save space.
Trim Unused Parts of Libraries:
CONFIG_FREERTOS_UNICORE=y
CONFIG_ESP32_DEFAULT_CPU_FREQ_80=y

Configure the system to use a single core (if your application allows it) and reduce the CPU frequency to the lowest necessary for your application.
Exclude Unnecessary Features:
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=n
CONFIG_ESP32_PANIC_PRINT_HALT=n
CONFIG_ESP32_REDUCE_PHY_TX_POWER=y

RAM Usage Minimization
Optimize Task Stack Sizes:
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=512
CONFIG_FREERTOS_ISR_STACKSIZE=1536

Adjust stack sizes for the idle and ISR tasks.
Optimize Heap Configuration:
CONFIG_HEAP_POISONING_DISABLED=y
CONFIG_HEAP_TRACING_OFF=y

Reduce TCP/IP Stack Size:
CONFIG_TCPIP_RECVMBOX_SIZE=32
CONFIG_TCPIP_SENDMBOX_SIZE=32
CONFIG_TCP_MSS=536

Here’s the sdkconfig.defaults file with the configurations mentioned:
# General Optimization
CONFIG_COMPILER_OPTIMIZATION_SIZE=y
CONFIG_COMPILER_OPTIMIZATION_LTO=y

# Binary Size Reduction
CONFIG_LOG_DEFAULT_LEVEL_ERROR=y
CONFIG_BT_ENABLED=n
CONFIG_BLE_ENABLED=n
CONFIG_ESP_CONSOLE_UART_DEFAULT=n
CONFIG_FREERTOS_UNICORE=y
CONFIG_ESP32_DEFAULT_CPU_FREQ_80=y
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=n
CONFIG_ESP32_PANIC_PRINT_HALT=n
CONFIG_ESP32_REDUCE_PHY_TX_POWER=y

# RAM Usage Minimization
CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=512
CONFIG_FREERTOS_ISR_STACKSIZE=1536
CONFIG_HEAP_POISONING_DISABLED=y
CONFIG_HEAP_TRACING_OFF=y
CONFIG_TCPIP_RECVMBOX_SIZE=32
CONFIG_TCPIP_SENDMBOX_SIZE=32
CONFIG_TCP_MSS=536

You can further customize these settings based on your specific application (WOLFSSL) requirements. Make sure to test the performance and stability of your application after applying these optimizations.


Creating a composite action - Creating an action metadata file is using deprecated "::set-output"

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/creating-actions/creating-a-composite-action#creating-an-action-metadata-file
What part(s) of the article would you like to see updated?
https://github.com/github/docs/blob/main/content/actions/creating-actions/creating-a-composite-action.md?plain=1#L85
Additional information
No response

Also https://github.com/github/docs/blob/main/content/actions/using-jobs/defining-outputs-for-jobs.md does this... probably would be a good idea to grep this repository for set-output ?

(BTW I am surprised GitHub started to nag all projects about this a few days ago before even updating their own actions and documentations. Perhaps next time this should be the other way around?)

@fingolfin Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

Thanks for reporting this, @neilime! It took us a while to catch and version all of the docs mentions; and it was fixed in https://github.com/github/docs/commit/ad70a7012fc7d664cce60c12344a87cf85d780e3.
Please let us know if we missed anything.


I am using a background subtraction algorithm to find a new object, and then want to use the depth camera measurement example to create a way to find the measurements of the object placed in front of the camera. The problem I am running in to with the example that it has a lot of black spots of where the depth data is missing because the depth and colour are aligned. Now was my question if there is a possibility to get a seperate colour image to run through the algorithm.
I do realise there is a point to be made for not needing this, as if there is no depth data, it won't be possible to get measurements in the first place.
I am mostly just trying to learn what is possible and I am not sure where to look for this specific problem as I don't know what combines the 2 images.
P.S. I am using OpenCV to create windows and other visualisations, maybe there is something 'simple' I got to change as I see that the example is using OpenGL

Hi @Rad0n1   An easy way to fill in black gaps on an image where color is mapped to depth would be to apply a post-processing Hole-Filling Filter.  The image below from the RealSense Viewer's 3D point cloud mode demonstrates a scene before (upper) and after (lower) when applying the hole-filling filter.

The Intel documentation link below provides information about how the Hole-Filling filter works.
https://dev.intelrealsense.com/docs/post-processing-filters#section-holes-filling-filter
In regard to the mechanism for combining images in the rs-measure example, that program uses color to depth alignment rather than the more common depth-to-color alignment.  My understanding is that it was programmed this way to provide an example of programming color-to-depth alignment and that it is not vital to align images this way for the purposes of point-to-point measurement.  For example, a Python conversion of rs-measure created by a RealSense community member used depth-to-color instead.
In color-to-depth alignment, the field of view (FOV) size of the color is resized to the FOV size of the depth.  On camera models where the FOV size of depth and color are different (like the D435 and D435i), this can stretch the aligned image out to fill the full size of the panel because the depth sensor on these models has a larger FOV size than the RGB sensor.
When performing depth-to-color, the depth FOV is resized to the color FOV size, so on D435 / D435i the outer regions of the aligned image can become excluded from the image due to the color sensor having a smaller FOV.
If you would prefer to perform depth-color alignment in OpenCV, the rs-grabcuts example program may suit your requirements.
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv/grabcuts

That's exactly what I was looking for! Thank you so much for your detailed answer, it's really appreciated 😄

That's great to hear, @Rad0n1 - I'm pleased that I could help!


Domain name for Paris

For the moment, the domain name is coded as PAR-3, following the current trend of naming CORDEX domains with 3 capital letters for ESGF. All domains seem to follow this rule, e.g. in CORDEX continental domains (MENA was compacted to MNA):
https://github.com/ESGF/config/blob/44ba5f5df09c45800029325623b035a422fa18aa/publisher-configs/ini/esg.cordex.ini#L29
Or in the FPS-CONV:
https://github.com/ESGF/config/blob/44ba5f5df09c45800029325623b035a422fa18aa/publisher-configs/ini/esg.cordex-fpsconv.ini#L29
However, as domains become smaller, many more names are required and, without the hint of being continent names, 3-letter acronyms become cryptic and less useful. @MartinaSt, do you know if there is any higher-level restriction on domain names in ESGF? or any string passed as domain_option in the files above would work?
In such a case, we could consider PARIS-3 as domain name, or even Paris-3, if not case restriction is in place.

There is no restriction to three letter acronyms for the domains but as domains are part of the DRS and become a facet in ESGF they should not get too long. Some city names will need an abbreviation.
I suggest to keep the length of the domain including resolution <= 16 characters, which was used for source_id in CMIP6. If you need two characters for the resolution plus one for the '-', you would have max. 13 letters left for the city names. The full name can always become a global attribute in the file header. The DRS components should remain compact but I agree they should not become cryptic.
Please also remember the allowed characters:  a-z, A-Z, 0-9 and the hyphen (“-”) .

Great, thank you!


GEOMESA-999 Adding support for all geometries to z3 index

Adapted density, temporal-density, map-aggregate iterators to work on z3 indices and use kryo lazy decoding
Refactored old iterators to extend the kryo iterators with back-compatible decoding
Added server-side deduplication for aggregate and bin queries
Modified FilterHelper intervals to account for the fact that joda time intervals are [min, max)

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

I did some timings tests against old ST index using the tdrive data set as line strings. Results for initial tests were mixed. However, the Z3 only had 2 tablets (on a 10 node cluster), while the ST index had 16. I increased the split size on the Z3 table so that they were roughly equivalent, and included those numbers as well.

query
z3
z3-with-splits
st

househour
0.096
0.085
0.142

blockhour
0.089
0.076
0.095

cityhour
0.083
0.082
0.175

houseday
0.527
0.461
0.177

blockday
0.695
0.301
0.392

cityday
1.128
0.476
0.733

houseweek
1.412
0.733
0.735

blockweek
1.881
0.785
1.705

cityweek
3.116
3.042
3.926

cityweektaxi
1.612
2.639
0.556

taking a look at this one next

Need a new release of sfcurve for this PR.

6c6873e..70a83df


PostsAdmin page: database

Please do all work for this task in a branch called issue-15.
Have Posts read data from the database. Make sure that they admins can only view unverified posts.


[image-picker] plugin localization under camera app

Hi, first of all thanks for this amazing plugin.
I would like to change the Strings presented within the camera app called by the image picker plugin in iOS. In my device, the system language selected is "Portugês" (pt-BR), but when i call it using the plug-in the the options are presented in English.
It isn't supposed to use the system language to localize this Strings?
Or is there a way to set them as a fixed value?
Thanks.

Hi @Gabrielhn
This platform is not met for assistance on personal code.
Nevertheless you might want to take a look at this documentation
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


Add file that generates logo

@jkrumbiegel I made you a coauthor on the commit – hope that works for you. Thanks again for the nice logo!!
I also made some final tweaks in illustrator (smoothed corners and drop shadow):

We can definitely keep updating it though.

Hm, seems like the best way to actually put this on the README is just drag and drop it to the markdown. So will merge first and then drag the logo over.

Oh cool, yeah sorry I was super busy with work and the Makie 0.20 release.. I would maybe still replace the ks field with h or hr because ks is so unusual, but it doesn't really matter either way :)

No worries! Yeah good point... will get to that eventually...


"foreach loop to LINQ query" quick fix not available?

The article mentions the "foreach loop to LINQ query" quick fix. How can I make that show up? The following two code snippets only offer quick fixes to convert the foreach loops into for loops:
First example:
        var arr = new List<int> { 1, 2, 3 };
        foreach (var i in arr)
        {
            Console.WriteLine(i);
        }

Second example:
        var arr = new List<int> { 1, 2, 3 };
        var sum = 0;
        foreach (var i in arr)
        {
            sum += i;
        }

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

ID: 1815d49f-fef6-46ef-8443-7a6db8e970c1
Version Independent ID: 3a8e4fea-8492-8ccd-08cd-a4ca74b35cd4
Content: Increase your productivity for .NET development - Visual Studio
Content Source: docs/ide/csharp-developer-productivity.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@johannes-riecken -- Johannes, thank you for your question.  Please see this article.


Moving forward

Hey folks! I'm a huge fan of this project, and I've recently joined as a maintainer. There's a sizable backlog of issues and PRs, so I'd appreciate our support to prioritize and know what our biggest gripes—issues and feature requests—are, and be able to move the project forward.
Please comment with links to significant issues and pull requests you've been waiting on. You can also mention a feature you'd like to see. If someone has already mentioned an issue you're interested in, please react on their comment with a 👍 so we know it affects you too. Thanks!

Feature: place endpoints in categories
In the sidebar, all endpoints are placed in the general category. The ability to place endpoints in categories would improve the usability of the sidebar.

@mykeels This project uses Documentarian, which is a PHP port of Slate. You can use the @resource annotation to get categories. For instance,

/**
 * @resource User management
 *
 * APIs for managing officers and customers
 */
class UserController extends Controller

All the endpoints in this class will be grouped under the 'Users' category.

I'm not sure, but I think you can also tag indvidual methods like this.

I just came across this library, I'll try to contribute and drop issues.

No longer valid because of #343


[Docs] The results of the validation during training are not consistent with the results of the validation using test.py

Branch
main branch  https://mmdetection3d.readthedocs.io/en/latest/
📚 The doc issue
Hello, I have a question. When I trained the VoteNet on the ScanNet V 2 dataset, the evaluation metrics with training and the time I used test.py to evaluate the same epoch is different. For example, during the whole training process, when I train to the 36th epoch for validation, the results are not consistent with when I use the weights of the 36th epoch and test.py to validate. Why cause this issue? Hope to get your reply! Thanks!
Suggest a potential alternative/fix
No response

Can you provide more detailed information?

Thanks for your quick reply! For the environment, I used
mmcls==0.25.0
mmcv-full==1.6.2
mmdet==2.28.2
mmdet3d==1.0.0rc6
mmsegmentation==0.30.0
pytorch==1.8.1
The question is that, during training, the evaluation results for the 36th epoch is as follows:
+----------------+---------+---------+---------+---------+
| classes        | AP_0.25 | AR_0.25 | AP_0.50 | AR_0.50 |
+----------------+---------+---------+---------+---------+
| cabinet        | 0.5191  | 0.8091  | 0.1579  | 0.4435  |
| bed            | 0.8919  | 0.9383  | 0.8098  | 0.8519  |
| chair          | 0.8930  | 0.9298  | 0.7313  | 0.7990  |
| sofa           | 0.8906  | 0.9794  | 0.7247  | 0.8660  |
| table          | 0.6241  | 0.8486  | 0.4581  | 0.6943  |
| door           | 0.5247  | 0.7323  | 0.2054  | 0.4111  |
| window         | 0.4606  | 0.6773  | 0.1550  | 0.3121  |
| bookshelf      | 0.5354  | 0.8571  | 0.3768  | 0.6364  |
| picture        | 0.1160  | 0.2973  | 0.0143  | 0.0811  |
| counter        | 0.5831  | 0.9423  | 0.2629  | 0.4808  |
| desk           | 0.6424  | 0.9370  | 0.3950  | 0.6772  |
| curtain        | 0.5497  | 0.7910  | 0.1892  | 0.3731  |
| refrigerator   | 0.4641  | 0.9123  | 0.3245  | 0.6491  |
| showercurtrain | 0.7304  | 0.8571  | 0.1596  | 0.3571  |
| toilet         | 0.9627  | 1.0000  | 0.9063  | 0.9310  |
| sink           | 0.5007  | 0.6735  | 0.2423  | 0.3571  |
| bathtub        | 0.8994  | 0.9355  | 0.7641  | 0.8065  |
| garbagebin     | 0.4660  | 0.7000  | 0.2441  | 0.4585  |
+----------------+---------+---------+---------+---------+
| Overall        | 0.6252  | 0.8232  | 0.3956  | 0.5659  |
+----------------+---------+---------+---------+---------+
When I used the weights of the 36th epoch and test.py to validate by the command:
python tools/test.py configs/votenet/votenet_8x8_scannet-3d-18class.py work_dirs/votenet_8x8_scannet-3d-18class_raw/epoch_36.pth --eval mAP
The results are as follows:
+----------------+---------+---------+---------+---------+
| classes        | AP_0.25 | AR_0.25 | AP_0.50 | AR_0.50 |
+----------------+---------+---------+---------+---------+
| cabinet        | 0.5039  | 0.7876  | 0.1730  | 0.4597  |
| bed            | 0.8978  | 0.9506  | 0.8138  | 0.8519  |
| chair          | 0.9021  | 0.9357  | 0.7412  | 0.8012  |
| sofa           | 0.8949  | 0.9794  | 0.7009  | 0.8660  |
| table          | 0.6174  | 0.8543  | 0.4602  | 0.6943  |
| door           | 0.5345  | 0.7409  | 0.2066  | 0.4047  |
| window         | 0.4455  | 0.6879  | 0.1530  | 0.3050  |
| bookshelf      | 0.5421  | 0.8831  | 0.3700  | 0.6494  |
| picture        | 0.1091  | 0.2883  | 0.0277  | 0.0811  |
| counter        | 0.5558  | 0.9038  | 0.2409  | 0.4231  |
| desk           | 0.6385  | 0.9528  | 0.2916  | 0.5748  |
| curtain        | 0.5412  | 0.7761  | 0.2172  | 0.3731  |
| refrigerator   | 0.4699  | 0.9649  | 0.2748  | 0.6316  |
| showercurtrain | 0.7085  | 0.9286  | 0.1482  | 0.3929  |
| toilet         | 0.9536  | 1.0000  | 0.8795  | 0.8966  |
| sink           | 0.5330  | 0.6939  | 0.2799  | 0.4490  |
| bathtub        | 0.9068  | 0.9355  | 0.8380  | 0.8710  |
| garbagebin     | 0.4604  | 0.7245  | 0.2189  | 0.4830  |
+----------------+---------+---------+---------+---------+
| Overall        | 0.6231  | 0.8327  | 0.3909  | 0.5671  |
+----------------+---------+---------+---------+---------+
The results are not consistent. This phenomenon doesn't only occur in the last epoch, it also occurs when I test for the other epochs using the similar command as mentioned above. I would like to know the reason why this problem occurs. Hope to get your reply! Thanks!

Hello, Xiangxu-0103. Thanks for your quick reply! For the environment, I used
mmcls==0.25.0
mmcv-full==1.6.2
mmdet==2.28.2
mmdet3d==1.0.0rc6
mmsegmentation==0.30.0
pytorch==1.8.1
The question is that, during training, the evaluation results for the 36th epoch are as follows:
+----------------+---------+---------+---------+---------+
| classes | AP_0.25 | AR_0.25 | AP_0.50 | AR_0.50 |
+----------------+---------+---------+---------+---------+
| cabinet | 0.5191 | 0.8091 | 0.1579 | 0.4435 |
| bed | 0.8919 | 0.9383 | 0.8098 | 0.8519 |
| chair | 0.8930 | 0.9298 | 0.7313 | 0.7990 |
| sofa | 0.8906 | 0.9794 | 0.7247 | 0.8660 |
| table | 0.6241 | 0.8486 | 0.4581 | 0.6943 |
| door | 0.5247 | 0.7323 | 0.2054 | 0.4111 |
| window | 0.4606 | 0.6773 | 0.1550 | 0.3121 |
| bookshelf | 0.5354 | 0.8571 | 0.3768 | 0.6364 |
| picture | 0.1160 | 0.2973 | 0.0143 | 0.0811 |
| counter | 0.5831 | 0.9423 | 0.2629 | 0.4808 |
| desk | 0.6424 | 0.9370 | 0.3950 | 0.6772 |
| curtain | 0.5497 | 0.7910 | 0.1892 | 0.3731 |
| refrigerator | 0.4641 | 0.9123 | 0.3245 | 0.6491 |
| showercurtrain | 0.7304 | 0.8571 | 0.1596 | 0.3571 |
| toilet | 0.9627 | 1.0000 | 0.9063 | 0.9310 |
| sink | 0.5007 | 0.6735 | 0.2423 | 0.3571 |
| bathtub | 0.8994 | 0.9355 | 0.7641 | 0.8065 |
| garbagebin | 0.4660 | 0.7000 | 0.2441 | 0.4585 |
+----------------+---------+---------+---------+---------+
| Overall | 0.6252 | 0.8232 | 0.3956 | 0.5659 |
+----------------+---------+---------+---------+---------+
When I used the weights of the 36th epoch and test.py to validate by the command:
python tools/test.py configs/votenet/votenet_8x8_scannet-3d-18class.py work_dirs/votenet_8x8_scannet-3d-18class_raw/epoch_36.pth --eval mAP
The results are as follows:
+----------------+---------+---------+---------+---------+
| classes | AP_0.25 | AR_0.25 | AP_0.50 | AR_0.50 |
+----------------+---------+---------+---------+---------+
| cabinet | 0.5039 | 0.7876 | 0.1730 | 0.4597 |
| bed | 0.8978 | 0.9506 | 0.8138 | 0.8519 |
| chair | 0.9021 | 0.9357 | 0.7412 | 0.8012 |
| sofa | 0.8949 | 0.9794 | 0.7009 | 0.8660 |
| table | 0.6174 | 0.8543 | 0.4602 | 0.6943 |
| door | 0.5345 | 0.7409 | 0.2066 | 0.4047 |
| window | 0.4455 | 0.6879 | 0.1530 | 0.3050 |
| bookshelf | 0.5421 | 0.8831 | 0.3700 | 0.6494 |
| picture | 0.1091 | 0.2883 | 0.0277 | 0.0811 |
| counter | 0.5558 | 0.9038 | 0.2409 | 0.4231 |
| desk | 0.6385 | 0.9528 | 0.2916 | 0.5748 |
| curtain | 0.5412 | 0.7761 | 0.2172 | 0.3731 |
| refrigerator | 0.4699 | 0.9649 | 0.2748 | 0.6316 |
| showercurtrain | 0.7085 | 0.9286 | 0.1482 | 0.3929 |
| toilet | 0.9536 | 1.0000 | 0.8795 | 0.8966 |
| sink | 0.5330 | 0.6939 | 0.2799 | 0.4490 |
| bathtub | 0.9068 | 0.9355 | 0.8380 | 0.8710 |
| garbagebin | 0.4604 | 0.7245 | 0.2189 | 0.4830 |
+----------------+---------+---------+---------+---------+
| Overall | 0.6231 | 0.8327 | 0.3909 | 0.5671 |
+----------------+---------+---------+---------+---------+
The results are not consistent. This phenomenon doesn't only occur in the last epoch, it also occurs when I test for the other epochs using the similar command as mentioned above. I would like to know the reason why this problem occurs. Hope to get your reply! Thanks!


Theming: List

Subject
List
Description
Create a basic theming documentation for the List component that showcases how you can style it.
Theming file: List theming file
Template Reference
For single part components, feel free to use the Button component theming doc as a template reference: Button theming.
For multipart components, feel free to use the Input component theming doc as a template reference: Input theming.

I'm going to make a PR.


Add kontena master current command

Implements #612 with a --name flag (like kontena grid current --name).
Includes some basic tests.

Looks good!

LGTM!


Fixed addres space metrics

Removed Prometheus anti-pattern of changing labels from address space metrics
Added address space metrics to Grafana dashboard

@robshelly The build fails in a unit test in the address space controller, probably because there is an additional metric now.

@robshelly  @vbusch Added a commit to fix the unit test


Update documentation for changing unsafeRandom -> secureRandom

this PR suggests new documentation for upgrading unsafeRandom to secureRandom

Thank you for the PR @AlexHentschel !
After discussing with the Cadence team last week, we decided that the new name as well as how/when unsafeRandom will be deprecated will be proposed in a FLIP (that I'll submit). Therefore, I suggest to keep this PR open till the FLIP outcome is decided. Only then we can adjust the documentation PR accordingly and merge.

superseded by PR https://github.com/onflow/docs/pull/423


Email notification/send not working (Codabench)

I registered to join a competition (NTU coursework), but I couldn't receive the activation email.
I am using Edge 129.0.2792.65.

Please send an email to<EMAIL_ADDRESS>with your registered email, and tell your Codabench username in the request.
This way, we can see if there is any problem with your email domain, and on any case manually activate your account.
Soon there will be a "resend activation email" button on the platform (#1615).
I close this issue to continue resolving this on the support email.


Time slider should be disabled when there data for only one year available

When there is data only for one year ("Biomass stock in forest") time slider works confusingly.
Steps to reproduce:

Go to http://tools-stage.gapminderdev.org/tools/bubbles#_state_time_value=2005&start=2005&end=2005;&marker_axis%2F_x_which=biomass%2F_stock%2F_in%2F_forest%2F_tons&domainMin:2000000&domainMax:107600000000&zoomedMin:2000000&zoomedMax:107600000000 .
Try to drag time slider.

Actual result:
Slider always gets back to start position in the beginning (while default position in the end).
Expected result:
Slider should be disabled at all for data with only one year available.

Tested. Implemented.


feat(tier4_autoware_utils): add interpolation function (backport #1097, #1100, #1126)

Description

以下をバックポートします。

https://github.com/autowarefoundation/autoware.universe/pull/1097
https://github.com/autowarefoundation/autoware.universe/pull/1100
https://github.com/autowarefoundation/autoware.universe/pull/1126

各PRについてコンフリクトはありません。（全く同一の変更内容）
Related links

https://github.com/autowarefoundation/autoware.universe/pull/1097
https://github.com/autowarefoundation/autoware.universe/pull/1100
https://github.com/autowarefoundation/autoware.universe/pull/1126
Tests performed

Notes for reviewers

Interface changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Codecov Report

:exclamation: No coverage uploaded for pull request base (feat/keep_stopping_dist/v0.3.16@e0e6d0c). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@                        Coverage Diff                         @@
##             feat/keep_stopping_dist/v0.3.16     #592   +/-   ##
==================================================================
  Coverage                                   ?   10.01%
==================================================================
  Files                                      ?      427
  Lines                                      ?    35909
  Branches                                   ?     8090
==================================================================
  Hits                                       ?     3597
  Misses                                     ?    28864
  Partials                                   ?     3448

Flag
Coverage Δ

differential
10.01% <0.00%> (?)

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


Open Docker terminal from Terminal

Open a Docker-hosted terminal directly using Windows Terminal

Possibility to add a terminal profile hosted in Docker as part of the Windows Terminal profiles.
This allows the user to instantly launch a terminal session hosted by Docker (provided that there is an already active container)

Proposed technical implementation details
"profiles":
    [
        {
            "guid": "{5743275e-4f2q-5b06-ad1e-a6969a402336}",
            "hidden": false,
            "name": "Ubuntu 18.04 LTS over Docker",
            "source": "Docker.Container.Ubuntu.trusted-twister",
            "fontFace" : "Cascadia Code",
            "fontSize" : 10,
            "acrylicOpacity" : 1,
            "useAcrylic" : false
        },

You’d be better served by just adding a new profile whose commandline is “docker exec -t -i container /process". Even if terminal randomly guessed what shell you wanted inside a random container, it wouldn’t be very reliable and people would hate the autogenerating profiles for each one :smile:
You know your containers a lot better than we ever could!

Thanks, however, for the request!

@jmsnavarro I have a script in my Ubuntu WSL distro for generating these profiles. I created it as an experiment. I am not sure what the practical purpose of wanting these profiles is, but you could copy and edit this t accomplish what you want. If you do not have jq installed, you can install it via sudo apt-get install -y jq. This also relies on the fact that there are no comments in the settings.json since jq cannot handle them.
VALUE=$(docker ps --format '{{ json . }}' | jq '{"name": ("Docker " + .Names + " " + .Image), "guid": ("{0974efce-f787-4a0a-8468-"+.ID+"}"), "hidden": false, "commandline": ("docker exec -it " + .Names + " /bin/bash")}' | jq -s .)
cat /mnt/c/Users/Joshua/AppData/Local/Packages/Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe/LocalState/settings.json \
  | jq '.profiles.list=([.profiles.list[] | select(.name | contains("Docker") | not)] + '$VALUE')' \
  > /mnt/c/Users/Joshua/AppData/Local/Packages/Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe/LocalState/settings.json

Once https://github.com/microsoft/terminal/pull/7584/https://github.com/microsoft/terminal/pull/7632 is done, you could leave comments in place and just direct the first line into a file instead of a variable.


Create(docs.armory.io): Version Explaination

Create a .md that should be added to the beginning of the rn-armory-spinnaker _index.md, just under the description, but before he indexing of the versions
The Version pages should be updated to stop calling the 2.x releases as "minor" versions
This is loosely tied to CDSH-529

This has no left nav title - probably an error in the PR.  Otherwise looks good as a new page.

Slack conversation with Kinnon. He'd like this content added to the top of the /continuous-deployment/release-notes/rn-armory-spinnaker/_index.md, so I'll do that in https://github.com/armory/docs/pull/2239


IRGen: don't stack promote classes for which the layout has not a fixed size

In most cases this was already checked with ClassLayout::isFixedLayout. But for classes which are imported from another module and contain implementation-only C-imported stored properties, those properties don't show up in the class layout. Stack promoting such classes will reserve too less space on the stack which leads to all kind of memory corruption problems. The fix is to also check ClassLayout::isFixedSize, which returns false for such classes.
Fixes a miscompile
rdar://131067105

@swift-ci test


Show test results in discord

Will do this as a link to the aws cloudwatch logs

@mahendra3web example on constructing url to logs. This is used for messages in the warnings-ceramic channel on discord
https://github.com/ceramicnetwork/ceramic-anchor-service/blob/develop/runner/helpers.js


Adding anonymous vote system

Until the next General Assembly, I would like to add a feature through which people could vote using their Urán account. I already have a plan for the database which would not contain who voted for what; if you have any comments, I would appreciate them:)

Yes, I thought about this also. Good initative. To make it simpler, I don't think we need to keep track of the sittings, and you don't need time_of_voting as the default created_at field does the same. Also question_id and id. And I'd rename the options table to question_options to be more readable.

These are good ideas; thank you:) I already have a UI for the sittings, so I think they can stay now, but I'll apply the others.


Expose NPC Eye Height through API

Currently, the only way to get an NPCs eye height is by accessing the backing NMS Entity.
Npc#getNpc().getEyeHeight()
It would be nice (also is also kinda required for FancyHolograms linking 🔜) for the eye height or eye location to be directly exposed by the API.
ex.
Npc#getEyeHeight
or
Npc#getEyeLocation

Added Npc#getEyeHeight, thank you


webhooks can use @everyone

Crap, I was just about to make an issue on this, I could've sworn mention filtering worked in previous builds, so something just broke recently...

Fixed in 1.2.3 https://modrinth.com/mod/teabridge/version/1.2.3


Icons don't update on disconnected network drives

Description
When disconnecting from a network where we have mapped network drives, the drives appear as online in the left menu (sidebar):

Steps To Reproduce

open Files app
map network drives
disconnect from network
open Files app again

Requirements
should show network drives as disconnected.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22621.2861
Log File
no logs needed for this issue.

Is there any other area where the icon doesn't update, or just the sidebar (we're tracking the sidebar icons in #10367)?

It's just the sidebar.
I read the #10367 description, the only difference is here that the icons stay incorrect even after restart of Files app.

That issue was opened before Files added the stay in background option. Right now you can right click the system tray icon > quit or turn off Files settings > Advanced > Leave app running in the background when the window is closed

It's just the sidebar. I read the #10367 description, the only difference is here that the icons stay incorrect even after restart of Files app.

Thanks for confirming, hopefully we can get that sorted out so that the icons update right away.


Support for sub-tile Line Reduce Scatter

In llama 70B on TG we split the users into four groups along the columns during attention (after the QKV matmul). So we have a Line AllReduce followed by a selection matmul. This could be simplified by having a Line ReduceScatter, that scatters in the user dimension.
Perf improvement:
Removing the selection matmul: 4 us -> 0 us
Reducing the data for the AllReduce CCL by 4x: 12 us -> ~ 3 us
Shapes:
in: [1, 1 ,32, 10240]
out: [1, 1, 8, 10240]
reduction/scatter dim = 2

Spoke with @johanna-rock-tt and since this is lower priority, and it's currentlyt if this will be in a tiny tile mode or in a full tile mode, and the amount of work between supporting those two is drastically different, we'll wait for some more input as it becomes higher priority for you guys. In the meantime, the CCL team will explore sub-tile support if priorities open up to allow that.


Produce artifacts on ci

So that not everyone needs a rust compiler to test out the backend

fa02dcfe4dedb9e2bee4af0b59c4dfc49b897e25 implements the basics of this, but we might want to add some extra rules on top for when it runs.


Display bug with IfMax with decorated layouts

When using IfMax with a decorated layout, the decorations appear on other workspaces, even over other windows, if the other workspace uses a different layout, and the decorations don't disappear on a given workspace if the layout is changed by IfMax.
This basic LayoutHook exhibits the bug:
myLayoutHook = IfMax 1 Full $ noFrillsDeco shrinkText def $ emptyBSP

This seems to be specifically related to IfMax, since using ToggleLayouts with the same two layouts doesn't display this behavior.

In fact, the problem appears when leaving a decorated layout controlled by IfMax, even if not from IfMax. Going to Full with a ToggleLayout, if toggling between full and IfMax n a b, exhibits the same behavior. I'd say, although I'm not sure, that leaving in any way any decorated layout controlled by IfMax leads to the same problem.
I had a look at the code to try and understand the difference between IfMax and ToggleLayouts, but couldn't spot the origin of the problem.

On Mon, Aug 15, 2016 at 12:39 PM, Thibault<EMAIL_ADDRESS>wrote:

In fact, the problem appears when leaving a decorated layout controlled by
IfMax, even if not from IfMax. Going to Full with a ToggleLayout, if
toggling between full and IfMax n a b, exhibits the same behavior. I'd
say, although I'm not sure, that leaving in any way any decorated layout
controlled by IfMax leads to the same problem.

Have you tried it with a layout not controlled by IfMax? Decoration has
some known bugs where it does not clean up after itself properly, and
ToggleLayout is likely to provoke them. And it is entirely possible that
layout modifiers --- not just IfMax, but any conditional layout modifier
--- would make these worse by not allowing what cleanup it does to happen.
--
brandon s allbery kf8nh                               sine nomine associates
<EMAIL_ADDRESS><EMAIL_ADDRESS>unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Thanks for your answer. Layouts not controlled by IfMax switches from decorated to undecorated without any visible problems: myLayoutHook = toggleLayouts Full $ noFrillsDeco shrinkText def $ emptyBSP works perfectly. NoFrills is my decorated layout of choice, but not the only one with the bug: I tried with some others, and all are affected as long as they're controlled by IfMax, but none with ToggleLayouts alone. I also tried using the git version of IfMax, with same results.
I'll write a few MWEs, so you can see if the bug is reproductible. I'm using latest packaged XMonad (from main repositories) on an up-to-date ArchLinux.

there are some fixes in X.L.IfMax in master, try it. 0.12 is not as up-to-date

@f1u77y : As I said in my previous message, I already tried with the git version of IfMax, not the full git xmonad-contrib though.
I'll write a MWE later today.

couldn't you give your conf? i experienced sort of that bug and thought it was fixed in master

Hi again,
Here's a MWE, as promised:
import XMonad
import XMonad.Config.Azerty
import XMonad.Layout.BinarySpacePartition (emptyBSP, ResizeDirectional(..), SelectMoveNode(..), Rotate(Rotate))
import XMonad.Layout.IfMax
-- import MyIfMax
import XMonad.Layout.NoFrillsDecoration
import XMonad.Layout.ToggleLayouts (toggleLayouts, ToggleLayout (ToggleLayout))

myLayoutHook = IfMax 1 Full $ noFrillsDeco shrinkText def emptyBSP

main :: IO ()
main = do
  xmonad azertyConfig {
    terminal = "urxvt"
    , layoutHook = myLayoutHook
    }

Apologies for using AzertyConfig: feel free to replace with def. This is the version I've been testing with.
With this MWE, and using git IfMax (imported as MyIfMax):

When reducing the number of windows on a given workspace below IfMax's threshold, decorations correctly disappear (this is not the case with packaged IfMax). OK.

When switching from a decorated workspace (that is, a workspace with number of windows above threshold, triggering use of decorated layout) to another decorated workspace, the decorations change according to the new workspace layout. OK.

When switching from a decorated workspace to another, undecorated workspace, either empty or with only 1 window, the decorations remain visible above the background or the single window.

@f1u77y, FWIW, my full config is here, but this one doesn't use IfMax, so shouldn't be of any help.

i think i got the problem. IfMax gets number of windows from other workspace when it handles the Hide message. will try to fix

Thanks for looking into it! By the way, what I'm actually trying to achieve is to have decorations if and only if there's more than one (non-floating) window in the current workspace. I really prefer decorations over borders to indicate focus. If you have any idea :-) I'm currently doing this with a custom MultiToggle Transformer, but that's obviously not automatic.

you can use X.L.IfMax version with a worksround as a temporary solution but you can experience other problems with messages(e.g. struts may work badly or smth else)

you can use X.L.IfMax version with a worksround as a temporary solution but you can experience other problems with messages(e.g. struts may work badly or smth else)

I just tried it, it seems to work perfectly, including struts (XMobar), toggling them, and layout messages. I haven't tested exhaustively, but everything in this config seems to work well.
Thanks again!

@f1u77y Did your fixes for X.L.IfMax make it into xmonad-contrib?

@pjones that fix is just a workaround. Layout should know, what(in this case at least how many) windows are there on its workspace at every moment; that's the only way that allows to fix this bug.

Weeding old stuff in my inbox... how completely should it need to know this, @f1u77y ? Because some things require actually running the layout, and you can't do that if it's not displayed. (Notably, if I doShift in the manageHook, this increases the number of windows in the layout without notifying it; layouts only "exist" when rendering a workspace, not when manipulating the StackSet.)

I just countered the same issue in version 0.16. I haven't tried the work around yet.

I decided to go with the approach shared here: https://www.reddit.com/r/xmonad/comments/glkc6r/can_xmonad_apply_window_decorations_nofrillsdeco/fqy1vda/
Here's the commit where I added it to my config in case anyone is wondering how to add and use it.
https://github.com/willbush/system/commit/0b502f9e44d934f6d793659353bff8d7de5e1690

I think the correct way to fix this is to add a L | R field to the IfMax data type so that handleMessage doesn't need to guess which one of the two layouts is active.
That being said, @f1u77y's workaround is probably quite safe as well, as sending extra Hide messages shouldn't harm anything, and is actually being done by IfMax's runLayout function all the time. But propagation of other messages to IfMax layouts on inactive (visible/hidden) workspaces is entirely broken still.
I'm not an IfMax user myself so this is low-prio for me but I'd be happy to review/mentor any efforts towards fixing this.


sheer_index manage.py command

Before merging, must add:

[ ] README changes
[ ] CHANGELOG changes

(cfgov-refresh)rk@:~/projects/cfgov-refresh$ cfgov/manage.py sheer_index --help
usage: manage.py sheer_index [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH] [--traceback]
                             [--no-color] [--reindex] [--processors [PROCESSORS [PROCESSORS ...]]]
                             [--elasticsearch ELASTICSEARCH] [--index INDEX]

Run the classic 'sheer' indexer

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -v {0,1,2,3}, --verbosity {0,1,2,3}
                        Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output
  --settings SETTINGS   The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the
                        DJANGO_SETTINGS_MODULE environment variable will be used.
  --pythonpath PYTHONPATH
                        A directory to add to the Python path, e.g. "/home/djangoprojects/myproject".
  --traceback           Raise on CommandError exceptions
  --no-color            Don't colorize the command output.
  --reindex, -r         Recreate the index and reindex all content.
  --processors [PROCESSORS [PROCESSORS ...]], -p [PROCESSORS [PROCESSORS ...]]
                        Content processors to index.
  --elasticsearch ELASTICSEARCH, -e ELASTICSEARCH
                        Elasticsearch host:port pairs. Separate hosts with commas. Default is localhost:9200. You can also set
                        the SHEER_ELASTICSEARCH_HOSTS environment variable.
  --index INDEX, -i INDEX
                        Elasticsearch index name. Default is 'content'. You can also set the SHEER_ELASTICSEARCH_INDEX
                        environment variable.

@anselmbradford committed reformatted json files! I don't think we're going to change the content of those files right now, though--  I just think the cost/benefit ratio of those sort of changes are pretty low right now. Happy to discuss it, though.

It's probably worth noting that 'sheerlike' has moved into cfgov-refresh with this PR.

@anselmbradford committed reformatted json files! I don't think we're going to change the content of those files right now, though-- I just think the cost/benefit ratio of those sort of changes are pretty low right now. Happy to discuss it, though.

Sounds good! Open issues for anything you feel would be good to tackle in a future PR please.

After uninstalling django-sheerlike, it indexes like a charm...not that that should've mattered.
:+1:

Hmm, I'll have to make sure to get the word out about that

:+1


Potential performance issue: Unreliable performance of .loc in pandas 2.0.3

Issue Description:
Hello.
I have discovered a performance degradation in the .loc function of pandas version 2.0.3 when .loc handling big DataFrame with non-unique indexes. When using pandas more than 4 indexes, .loc drastically increases to X1000 times. And I notice that requirements.txt, shows that it depends on pandas version 2.0.3.  I am not sure whether this performance problem in pandas will affect this repository. I found some discussions on GitHub related to this issue, including #54550 and #54746.
I also found that prettymapp/osm.py used the influenced api. There may be more files used the influenced api.
Suggestion
I would recommend considering an upgrade to a different version of pandas >= 2.1 or exploring other solutions to optimize the performance of .loc .
Any other workarounds or solutions would be greatly appreciated.
Thank you!

Thanks for reporting! All dependencies upgraded in https://github.com/chrieke/prettymapp/pull/49, new release soon.


KeyError: 'streams'

SERVER:  nr-wg-mtu-finder --mode server --mtu-min 1280 --mtu-max 1420 --mtu-step 2 --server-ip <IP_ADDRESS>
CLIENT: nr-wg-mtu-finder --mode peer --mtu-min 1280 --mtu-max 1420 --mtu-step 2 --server-ip <IP_ADDRESS>
After running the test for a while, I receive the following error:
WG Interface Down                                 : SUCCESS
Setting MTU to 1344 in /etc/wireguard/wg0.conf    : SUCCESS
WG Interface Up                                   : SUCCESS
Running peer upload                               : SUCCESS
Running peer download                             : SUCCESS
Appending log for MTU: 1344                       : SUCCESS
--------------------------------------------------------------------------------
WG Interface Down                                 : SUCCESS
Setting MTU to 1346 in /etc/wireguard/wg0.conf    : SUCCESS
WG Interface Up                                   : SUCCESS
Running peer upload                               : SUCCESS
Running peer download                             : SUCCESS
Appending log for MTU: 1346                       : SUCCESS
--------------------------------------------------------------------------------
WG Interface Down                                 : SUCCESS
Setting MTU to 1348 in /etc/wireguard/wg0.conf    : SUCCESS
WG Interface Up                                   : SUCCESS
Running peer upload                               : FAILED with code 1
Running peer download                             : FAILED with code 1
Traceback (most recent call last):
  File "/etc/miniforge3/envs/wireguard-mtu/bin/nr-wg-mtu-finder", line 8, in <module>
    sys.exit(run())
  File "/etc/miniforge3/envs/wireguard-mtu/lib/python3.9/site-packages/nr_wg_mtu_finder/main.py", line 105, in run
    MTUFinder(**args.dict())
  File "/etc/miniforge3/envs/wireguard-mtu/lib/python3.9/site-packages/nr_wg_mtu_finder/mtu_finder.py", line 43, in __init__
    self.run_peer_mode()
  File "/etc/miniforge3/envs/wireguard-mtu/lib/python3.9/site-packages/nr_wg_mtu_finder/mtu_finder.py", line 296, in run_peer_mode
    down_rcv_bps, down_snd_bps = self.run_iperf3_download_test()
  File "/etc/miniforge3/envs/wireguard-mtu/lib/python3.9/site-packages/nr_wg_mtu_finder/mtu_finder.py", line 183, in run_iperf3_download_test
    output["end"]["streams"][0]["receiver"]["bits_per_second"],
KeyError: 'streams'

If I restart the client from a mtu-min of 1346 then it continues as normal and passes where the error occurred previously.
Using:
SERVER:  nr-wg-mtu-finder --mode server --mtu-min 1280 --mtu-max 1340 --mtu-step 2 --server-ip <IP_ADDRESS>
CLIENT: nr-wg-mtu-finder --mode peer --mtu-min 1280 --mtu-max 1340 --mtu-step 2 --server-ip <IP_ADDRESS>
I can run the test successfully without any errors.

Hi, I really appreciate you trying it out and I'm glad you were able to fully go through all the MTUs even though it was with some difficulties.
As for the KeyError: 'streams' error, it occurs when peer upload or peer download fails and the output json from the iperf3 -c command doesn't contain the streams key. I faced this issue very often but only when the server MTU was changed. That's why when the server MTU changes, I added the additional ping and flask-server checks.
However I never faced an issue like you did, where the peer upload and peer download failed during the loop. It could have failed due to several reasons. Some I can think of are:

The connection isn't flushed i.e. a keep alive packet wasn't sent or a handshake wasn't made between the server and peer.
A sleep time of 1 second was insufficient after wg-quick up to run iperf3 -c
Maybe establishing a connection for a particular peer MTU is impossible or the bandwidth is next to zero. I don't know enough to rule it out.

I will attempt to make one or more of the following fixes for this problem:

Provide a --skip-errors flag that will let the peer script continue with testing other MTUs if one of the test fails.
Provide a --peer-pre-ping flag that will let the peer script ping the server before attempting to run iperf3 -c commands. The ping command always helped me re-establish the server peer connection and the handshake time was refreshed.
Print out the error from the peer upload and peer download tests in case there was a failure. This should have already been there.

I pushed some changes

Added --peer-skip-errors True option that is True by default and can be set to False by --peer-skip-errors False
Peer will now always ping the server each time after the peer MTU has been changed
Prints out stdout and stderr messages if ever a command fails


[T3A5][W13-A2]Luo Yuyang

Work in progress

@R-o-y We've went through your PR during lesson. Just a short recap will be that there are still certain functions in TextUI.java that formats the string before output. Note that these functions can all be move to Formatter.java to ensure SRP. You can now close this PR.


Updated greedynav.js - deleted unused var

deleted unused 'var $nav'

Sorry it has taken me a while to get to this. Looks good, thanks for the PR :shipit:


Make sure you can add SetFunctionCallables to BipartiteDiagrams during limit computation

OK, this should be ready now.


Some updates to Marcelo's e_adjust branch

This PR adds some changes to Marcelo's PR branch. This PR does the following:

Adds two GitHub Actions that verify that the documentation works: docs_check.yml and deploy_docs.yml
Adds a deploy_docs badge to the top of the README.md file
Updates the documentation _config.yml file
Fixes typos in documentation files demographics.md, earnings.md, and exogenous_parameters.md
Updates the run_og_zaf.py example run script to include linear tax function rates and a corporate income tax increase
Updates some values in ogzaf_default_parameters.json

The run script runs great, and the results look pretty good. Once you have reviewed this PR and merged it into your branch, I can merge your PR into the main branch of OG-ZAF.
cc: @SeaCelo

Looks good


Is there any example code to use OpenTCS Nena with multiple-agv?

I've been trying to add multiple turtlebot on Gazebo by ysing ros2 foxy but could not managed. I can see in model tree but not on Gazebo. Have you ever tried to add multiple robots and check that does it work with it. I really need an example code id managed to add multiple robots.


Chore/update deps

Description:
Updates all dependencies to latest version, including updating Electron to 3.0
Motivation and Context:
https://electronjs.org/releases#3.0.0
How Has This Been Tested?
Run tests and manually test the app.
Types of changes:
Chore
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage decreased (-0.006%) to 16.178% when pulling eb9f03fa3fdf8479e786fbc2070b9264f5b16c2f on mrfelton:chore/update-deps into 5eb4320b187df6d827fbf07b64e3ea76c152cca0 on LN-Zap:master.

Coverage decreased (-0.006%) to 16.178% when pulling eb9f03fa3fdf8479e786fbc2070b9264f5b16c2f on mrfelton:chore/update-deps into 5eb4320b187df6d827fbf07b64e3ea76c152cca0 on LN-Zap:master.

@mrfelton is this ready to be tested?

This one is ready for review now @JimmyMow

Tested ACK 7a88786


Saving a world with the F3 menu results in weirdly moved F3 menu on the screenshot.

I think this is due to the resolution setting. Try using 'Native' if you aren't already.

Apparently Mojang itself doesn't follow the hudhidden option when it comes to the debug menu... nice. To fix this I would need to make it so that it does respect it, which shouldn't be too hard.
If the resolution was changed to Native, it would just show at a more normal scale, it would still be there though.

Fixed in v1.3.3


Jm/add brightcove lifecycle events

Addresses: https://www.pivotaltracker.com/story/show/158605475
Paired with PR in crew_rn (https://github.com/TrueRowing/crew_rn/pull/242)
Design decisions:
I added one single callback (onStatusEvent) rather than follow the existing pattern of one callback per event type.  11 new callbacks seemed too many and pointless.  I also added the new callback (onStatusEvent) to the existing events (i.e. onPlay() etc.).  This maintains backwards compatibility and allows callers to have a single event to track all status events.
I'm happy to discuss a different/better way.
Also added a onStatusEvent() callback to loadMovie() since it was previously failing silently.
I tested the lifecycle events I could repro. I could not find a way to test the error returning events, such as kBCOVPlaybackSessionLifecycleEventFail which return error info in the event properties keyed by kBCOVPlaybackSessionLifecycleEventError.
To test this, the easiest thing is to:

in node_modules, delete react-native-brightcove-player
Clone this repo/branch into that folder.
debug in Xcode (for the the Objective-C)

Also, we should add the documentation to the README about the next function that was added for getting the rest of the status events.


Attendance model

Resolves #17
Description
This work-in-progress PR includes Attendance and SchoolWeek models. The Attendance model has associations with the User and SchoolWeek models. As the SchoolWeek model was not yet present in the project, I had to create it as part of implementing the Attendance model.
Given the dependencies between Attendance and SchoolWeek, we might encounter potential issues that need to be addressed. I am seeking early feedback on these model definitions before I write the associated spec tests.
Type of change
This PR adds new functionality (non-breaking change).

@kristenking - This looks good so far! I'd have to see our central doc to remind myself of all of our other considerations at this time.
Any ideas what quarter_bonus is supposed to represent? I see you haven't stored it as a boolean, but it looks like that is all it is supposed to represent. If so, I'd suggest we just name it bonus_awarded and change it over to the boolean.

stored it as a boolean, but it looks like that is all it is supposed to represent. If so, I'd suggest we just name it bonus_awarded and change it over to the boolean.

Also, if it's just an indiciator if the bonus has been awarded, we can make it a little bit richer by turning it into a timestamp:  bonus_awarded_at  -- if it's null, then the bonus hasn't been given, and if it's populated, it indicates not only that a bonus has been awarded, but also when.

(also, since the PR message mentions this being a work in progress, I converted it to a draft)

Let's create the weeks table and :
  create_table "weeks", force: :cascade do |t|
    t.integer "academic_year_id", null: false
    t.date "start_date", null: false
  end

and the school_periods:
  create_table "school_periods", force: :cascade do |t|
    t.integer "period_number"
    t.integer "cohort_id", null: false
  end

Thank you for sorting through these associations and getting these models together!


document is missing the registration group attribute description

document is missing the registration group attribute description

Pr has been merged. Close issue


[jni] set max-page-size=16kb

Closes #1608

coverage: 89.457% (-2.8%) from 92.22%
when pulling 0d0250aee42de99a2f3dc65d95151e81e9ca181c on 16kb-page
into 1aae9dab0d5aaa81af1579d3f7dc4394a19bf9c5 on main.

Seems that some of the bots don't like that linker option. LGTM once the bots are fixed.

That's funny because I have a mac myself!


Support more chips

Currently only supports the esp32 & esp8266
We should add support for the following:

[ ] esp32c3
[ ] esp32s2

I should have some c3's coming soon to test things

ESP32-C3 support has been added in #35.


added use of new width resize method, bumped versions to 2.27.6

Closing for https://github.com/Livefyre/streamhub-sdk/pull/441


Enum

A VEnum and sim PV.

Made a change to the simulator, let me know what you think.
Also, when you try and change the value of an actual EPICS enum record, do you send the index, the value you want, or a whole new PV? Will research this further if not well known.

@willrogers added functionality to VEnum, does this look sensible? Alternative was to chain commands as: value.getDisplay().getChoices()


Add gregor tlf notifs desktop 1598

@keybase/react-hackers
Sets us up for to receive gregor messages and does it through sagas

@chrisnojima bump

👍