configurator: directory browsing issue

Hassio 88.2, Configurator 2
Logs:
INFO:2019-03-02 06:51:57,745:main:<IP_ADDRESS> - "GET /api/listdir?path=. HTTP/1.1" 401 -
INFO:2019-03-02 06:52:00,543:main:Requesting authorization
INFO:2019-03-02 06:52:00,544:main:<IP_ADDRESS> - "GET /api/listdir?path=/config/packages HTTP/1.1" 401 -
INFO:2019-03-02 06:52:01,997:main:Requesting authorization
INFO:2019-03-02 06:52:01,999:main:<IP_ADDRESS> - "GET /api/listdir?path=/config/packages/plants HTTP/1.1" 401 -
INFO:2019-03-02 06:52:04,939:main:Requesting authorization
INFO:2019-03-02 06:52:04,940:main:<IP_ADDRESS> - "GET /api/listdir?path=/config HTTP/1.1" 401 -
INFO:2019-03-02 06:52:05,754:main:Requesting authorization
INFO:2019-03-02 06:52:05,755:main:<IP_ADDRESS> - "GET /api/listdir?path=/ HTTP/1.1" 401 -
Issue:
When attempting to browse subdirectories, the GUI doesn't allow to proceed after a certain directory (e.g. ~/packages/climate/ ) and so I am unable to get to my YAML files for a packaged structure.
Ref:
https://community.home-assistant.io/t/configurator-not-working/98563

It seems after a full host reload (Pi3) it seems to have come good. Restarting Hass alone multiple times had no impact.


Added sun, moon, and local time

Just an FYI / suggestion.
I added "Astronomy" to updateData and made frames for sunrise / sunset times and phase of the moon.
The bonus is that the astronomy record also provides the local time - adjusted to DST and TZ. This eliminates the need to use TimeClient and do the conversions.
I'd be happy to share the changes to the current version of WundergroundClient.cpp and .h if you are interested.

That would be great! Easiest for me would be a pull request: just fork this repository, apply your changes and create a pull request with the differences between your fork and the master repository. Or if you prefer, attach your files  to this issue...

Sorry, I'd like to do it the easiest way for you but I'm afraid I'm GitHub impaired :)
I've attached the files. The changes are all commented, just search for "JJG".
I apologize in advance for the hack job I did with returning AM & PM. I was too excited and scared to do it right!
I also added screenshots of the sun and moon frames just to give you the idea. The Meteocons I used were "1" and "J".
Thanks again for a very well put together project. I had a nice time with it.
(I can be reached at the contact info on my blog - http://brohogan.blogspot.com/)
sun+moon.zip

I hope not to interfere, if bHogan2 wants to pull his changes, please remove mine. I wish those changes be available for quick use in PlatformIo :) Thanks for all of your work.


String dates containing ordinals are treated as invalid

moment("30th September 2015").format()
Returns "Invalid date". I'd expect Moment to detect and correctly handle ordinals (especially when valid).

Moment isn't an NL parser: when you call it with no format string, it just let's the native Date() constructor parse the input string, and that format isn't one your browser happens to handle. That feature is actually even deprecated and probably warned you.
Try this instead:
moment("30th September 2015", "Do MMMM YYYY").format();


spot array generates non-uniform pitch spot arrays

As of
a3750006b10d301ed08a0a5c3c2dfe88c5230fab
See
https://drive.google.com/file/d/1ETdWihIc-QpywtLbokbTRt6uHXcsMk25/view?usp=share_link

Hmm. I think this is actually intended behavior. Looks like integer rounding to me, where the upper spots happened to be rounded up one in the (integer) computational k-space knm.
Internally, a grid is created in .make_rectangular_array() from x and y lists on each edge:
x_edge = (np.arange(array_shape[0]) - (array_shape[0] - 1) / 2)
x_edge = x_edge * array_pitch[0] + array_center[0]
y_edge = (np.arange(array_shape[1]) - (array_shape[1] - 1) / 2)
y_edge = y_edge * array_pitch[1] + array_center[1]

But then, the points generated from these edges are ceiled up.
self.spot_knm_rounded = np.ceil(shape / 2 + self.spot_knm.astype(np.float))
self.spot_knm_rounded = self.spot_knm_rounded.astype(np.int)

The fix is either to increase the resolution of k-space to be finer (and the off-by-one less noticeable, or choose array_shape and array_center more carefully to avoid undesirable rounding.
Rounding is going to happen no matter what, which is why this is intended behavior. I added a user info note in 7a84c9c732d894049dc97991aec75bc8d9d432a3.

I realized this would affect results of fourier calibration so I spent some more time thinking about it. I am proposing that we adopt the convention I declared here:
https://github.com/QPG-MIT/slmsuite/blob/eb0316cd2612c2dfbce9129a2145a1ce8dd9c108/slmsuite/holography/toolbox.py#L4
The x_edge and y_edge computation is fine because the results are floats with uniform pitch. I think spot_knm_rounded is funky due to the ceil. For example,  say shape / 2 + self.spot_knm.astype(np.float)) has x coords 58.6, 64, 69.4: 58.6 is rounded up to 57, 64 stays, 69.4 is rounded up to 70, so the array isn't uniform anymore. You can prove by considering a few simple cases that under this convention two points equally spaced about zero (58.6 ~ -5.4) and (69.4 ~ 5.4) always end up an equal number of indices away from zero. The thing that gets rounded in a non-deterministic way is the offset index where zero is. I'll keep the note you wrote and add a link to the toolbox note in docs.

The ceil was intended to make the rounding explicit. The rounding has to occur no matter what to generate an image in computational k-space. I'm not sure if the proposed convention resolves the problem, as you're back to non-uniform pitch once you do more than three points in the example (e.g. five points). The heart of the issue was passing a non-integer knm pitch in the first place, I would argue, which is a user issue that we can (at best) warn about.

But in retrospect, round probably produces better results in the case of spot_knm_rounded. See https://github.com/QPG-MIT/slmsuite/commit/2a958cc8b28c360091f9d6788ed9da1d20cd7ff1.


Sparse matrix support

It would be nice to be able to visualize sparse matrices, especially in the COO format.  For instance if we have the following structure:
:card_index_dividers: HDF5.File: (read-only)
├─ :open_file_folder: some_group
│  ├─ :open_file_folder: matrix_coo
│  │  ├─ :1234: I
│  │  ├─ :1234: J
│  │  └─ :1234: V
Also, support for matrices indexed from 1 would nice for this case.

That should be doable, but would need you to change the way you format the data. If the matrix is 3 separated datasets: I, J, and V; like the above example, we have to combine them somehow to visualize them. This is impossible for the current NiceGUI framework (i.e. these actions: select I, select J, and select V is not doable with the current framework). If you can change matrix_coo = tuple(I,J,V) or matrix_coo = np.asarray([I, J, V]), I can add the requested visualization capability to broh5

Let reopen this when it's doable.


Adding Barcelona Executive Business School

@odetolakehinde First stage of verification passed, official domain for Barcelona Executive Business School is bebs.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@odetolakehinde First stage of verification passed, official domain for Barcelona Executive Business School is bebs.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Thanks @philipto
how long on an average does this take?

@odetolakehinde

how long on an average does this take?

It depends. Usually it takes one-two days, but if something is unclear it may take more. In case of this school, we need some more information:
Please provide us with an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course. Thank you!

@odetolakehinde You might miss my previous comment. Please react.

@odetolakehinde You might miss my previous comment. Please react.

hello. yes, I missed it.
Here's the course I'm currently taking that requires be to write code - https://bebs.org/programs/mba/international-business-management-innovation/
It's just a year though.

@odetolakehinde  Thank you for the clarifications. Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system.

@odetolakehinde Thank you for the clarifications. Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system.

Successfully applied for it. thanks a lot!


[FIX] Evoked topomap colors correspond to the colorbar.

Noticed that the color range is too large for small activations when using multiple times in evoked topomaps. This is because the full range is always used. This means that the colors in colorbar don't correspond to the colors in topomaps (except the one with highest activation).

Before:

After:

Another option would be to add colorbar for every map like with ICA, but I don't think it's as nice:

Nice catch. One colorbar for the figure is probably better here

Thanks @jaeilepp , this has always annoyed me.

thanks @jaeilepp
I'll fix the whats new in master


Request control

Your program work perfectly, but Im facing a little issue with a special setup.
Error:
I2C communication failed: (iokit/?) unknown subsystem error
Probblem description
I have a monitor plug with input 18 on a Windows machine, and input 17 on a macbook pro m1 2020.
While being on the mac, if I do m1ddc display 1 set input 18, everything is fine, and the control of the screen is sent to the Windows machine. But if I try on the mac do request the control of the monitor using m1ddc display 1 set input 17, while the windows machine having it.
Note that I have a similar program as m1ddc on windows, and it can request the control of the screen even if the mac has it, so it seems to be feasible, but might also be an apple restriction, i dont know.

Hi, it depends on whether the display reports itself available to the mac or not. If it does not, then macOS removes the display from the ioreg tree and you can't send commands to it any longer. Or if it does not the display might still not receive I2C commands from the display. Some displays behave differently regarding this on their HDMI, DisplayPort and USB-C ports. Also, macOS might be more finicky regarding this than Windows.

If I do the m1ddc display list, it being listed even while Windows has the control. But 'input' command not working has the error shown above.

If this is the case, then the display was not removed from the ioreg tree but I2C communication (which is a simple serial communication protocol used by DDC) is blocked either by the display or by the mac. You might want to try switching which machine uses which input on the display and see if mac can control the display as if it were in the place of the Windows machine while the display is set to Windows.


Authentication does not contain roles

The Authentication object initialized from the idToken doesn't contain any granted authority by default because it looks for https://access.control/roles claims which is non-standard, I guess (at least, my vanilla Auth0 doesn't show roles in this claim).
Start the provided sample app and set a breakpoint at: https://github.com/auth0-samples/auth0-spring-security-mvc-sample/blob/master/01-Login/src/main/java/com/auth0/example/mvc/CallbackController.java#L49
Roles can be retrieved via another call to the management API that unfortunately adds latency:
AuthAPI authAPI = new AuthAPI(domain, clientId, clientSecret);
AuthRequest authRequest = authAPI.requestToken("https://" + domain + "/api/v2/");
TokenHolder holder = authRequest.execute();
ManagementAPI mgmt = new ManagementAPI(domain, holder.getAccessToken());
List<Role> roles = mgmt.roles()
		.list(new RolesFilter())
		.execute()
		.getItems();

but this in turn requires that the default Auth0 Management API is authorized and granted all relevant grants (for example via Dashboard > Machine to machine Applications).
Another option is adding the roles to the claim via a custom rule, but that should be documented somewhere because developing rules for Auth0 is very cumbersome and definitely not a beginner task (while on the other hand getting roles is a fundamental necessity for Auth0 users).

Hi @RaffaeleSgarro - thanks for reporting this 🙏!
In talking to some other engineers, it appears this code is some leftover legacy code from an earlier Quickstart article. Since the Quickstart is now focused just on login, this code is unnecessary and can cause confusion. I'll make a PR to remove it to avoid the confusion. Thanks!


Keep latex figures

This PR addresses #273
I never saw a reason to discard the figures, maybe space saving in the tmp folder?
If the figures are kept, one can manually recompile the document if one wants to change something, or if automatic compilation failed.
The diff looks larger than it really is since I removed a try-catch and therefore changed indentation.

Closed in favor of #302


fix: Stop cloning Traits!

Description
Problem*
The Trait struct is quite large and was being cloned every time get_trait was called in the NodeResolver, which was somewhat often.
Summary*
Stops the cloning of traits! The Clone derive is removed entirely and when needed for ownership reasons we either re-retrieve the trait by calling get_trait again (which now returns a reference), or we temporarily take ownership of the trait's methods.
Additional Context
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

@TomAFrench do you know why the javascript tests are failing for every PR?

@TomAFrench do you know why the javascript tests are failing for every PR?

Not sure. Seems like it started sometime this week so :shrug:

I believe the issue was related to ts-node and the experimental feature we/everyone uses


TypeSystem does not work with schema files that references each other

This is a foundational problem.
This needs to be solved.
Reference:
https://json-schema.org/understanding-json-schema/structuring
@hemil-ruparel-blox
This came as a side problem of implementing a cron end point where I wanted to return list of jobs and a single job.
Ideally, we can use a Job schema and then create another job list schema.
There are of course way out, which is define all in a single file. That works too.
However, that is .. a bit contrived.

Here is the PR for the same.
https://github.com/nmondal/cowj/pull/105


wrong type for DebugReportCallbackFunctionEXT generated

        uint flags,
flags should be DebugReportFlagsEXT

We can't fix this without a breaking change unfortunately.


Homewhiz loses connection

Hallo,
it worked fine for a while but now it lost connection. This is the error log:
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/homewhiz/cloud.py:208
integration: HomeWhiz (documentation, issues)
First occurred: 06:28:15 (1 occurrences)
Last logged: 06:28:15

Error doing job: Future exception was never retrieved (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/homewhiz/cloud.py", line 208, in force_read
    _LOGGER.debug(f"Force read result: {publish.result()}")
                                        ~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ~~~~~~~~~~~~~~~~~^^
  File "/usr/local/lib/python3.13/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.13/site-packages/awscrt/mqtt.py", line 834, in publish
    packet_id = _awscrt.mqtt_client_connection_publish(self._binding, topic, payload, qos.value, retain, puback)
RuntimeError: 5131 (AWS_ERROR_MQTT_NOT_CONNECTED): The requested operation is invalid as the connection is not open.

Is this happening regularly or only occasionally?

It didnt occur again since then

Had the exact same issue at the Same time. The problem disappeared on its own for me after 2 days. Probably connection problems to the HomeWhiz service.

Thanks for the feedback, then I'll close this issue for now. Just reopen if you are facing this issue again.


[TearsheetNarrow auto focusing on close button]

Package
Carbon for IBM Products
Description
In ibm-products v2.47.0, when opening the TearsheetNarrow, it is automatically focusing on the top-right x close button for some reason.. The focus and tooltip is distracting every time it opens.

Component(s) impacted
TearsheetNarrow
Browser
Chrome
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
v2.47.0
Suggested Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Product/offering
sysml v2
CodeSandbox or Stackblitz example
NA
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

It can be fixed by setting selectorPrimaryFocus attribute.


Convert to to feed alternative usage

SPARQL2JSON:

script.sh

JSON:

LL-LanguagesRecordsData.json
LL-LanguagesActive.json

To reuse in:

Lingualibre bot
operations

Processing
# For Lingua Libre Bot
cat LL-LanguagesRecordsData.json | jq -r '.[] | .language + "\t" + .records' > output.txt
# For Operations
cat LL-LanguagesActive.json | jq -r '.[] | .language +"-"+ .iso +"-"+ .languageLabel' > output.txt

CSV
For csv: convert json to csv or download csv directly.

@pamputt, which file format do you prefer for listing lingualibre languages (lili qid) to feed the bot ? Json, csv, tsv ?

The less complicated the better, so TSV if the best (or CSV), but definitely not JSON.

sparql2data already has parameters so the output is csv or tsv.
Given query LL-LanguagesRecordsData.json, then something like
bash script.sh -q ./path/to/LL-LanguagesRecordsData.sparql -s lingualibre -f csv
# Output response in ./data/LL-LanguagesRecordsData.csv

Then you will have to cat and loop on that data with several values per languages such as Qid, number of records, iso, ... to do what you want to.

@pamputt , I see the way head.
After you merge https://github.com/lingua-libre/Lingua-Libre-Bot/pull/22 , I can move forward.


Fix minor spelling mistake in plugins.md doc.

Fix minor spelling mistake in plugins.md doc.
Summary
How was it tested?

Thanks!


Use typescript

The more I use VSCode the more I value the little helps that the type definitions (even those defined externally like momentjs / lodash).
Although Ember's flexibility limit the effectiveness of types, this barely relies in Ember. Many of the arguments and return types (e.g NodeList) can be known in advance.
It is possible to develop addons in typescript already? Shall we?

Yes, we can.  Seems fine to start experimenting.
The basic tldr; is that we need to add ember-cli-typescript to the repo, and start converting.

Per @robbiepitts ... FWIW, this is a good resource for TS compilation: https://github.com/glimmerjs/glimmer-build/blob/master/index.js

Per @robbiepitts ... FWIW, this is a good resource for TS compilation: https://github.com/glimmerjs/glimmer-build/blob/master/index.js

@danielchappell let me know if you have any ideas on getting TS to work in an addon.


Update UI Design to Add Quiz Score on the User Profile Page

Follow the same design as other user stats


Move deprecated Kotlin extensions to HIDDEN deprecations

These methods are still reachable by code compiled using them, but new code will not be able to use these extensions.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


feat(api): megaparse under api

This commit updates the dependencies in the pyproject.toml file. It adds new packages such as fastapi, uvicorn, ratelimit, requests, backoff, pypdf, psutil, and numpy. Additionally, it updates the version of pycryptodome to 3.21.0.

Left :
[ ] Tests on new megaparse
[ ] Fix Read me and evaluation notebook

Also update documentation to explain how to work with the API.


New-BCContainerWizard closes if font size for Powershell to too big

Set the font size for Powershell window to be 36 or higher (on my machine) and New-BCContainerWizard will close the window again after briefly opening it.

Fix shipped in 1.0.10


Set a sensor to check if tv-show is among next_to_watch

Is there a way I can check the attributes if say "House of Cards" is among the next episodes to watch?
I tried {{ state_attr("sensor.trakt_next_to_watch_all", "title") }} But that gave me nothing
`

title: Neste sommer
poster: https://image.tmdb.org/t/p/w500/mzxSOl4Hm5hFBXfKwAlAwL3yiw1.jpg
fanart: https://image.tmdb.org/t/p/w500/lPKCKoBEUSk1XujYR7fJ5I3Umxt.jpg
genres:

Comedy
rating: 8.8
studio: discovery+
release: $day, $date $time
airdate: '2016-02-28T20:30:00Z'
episode: Episode 3
number: S03E03

title: House of Cards
poster: https://image.tmdb.org/t/p/w500/hKWxWjFwnMvkWQawbhvC0Y7ygQ8.jpg
fanart: https://image.tmdb.org/t/p/w500/yJjxO44EvaMYeeM9VHXHzdZ1kYL.jpg
genres:

Drama
rating: 8.026
studio: Netflix
release: $day, $date $time
airdate: '2016-03-04T08:00:00Z'
episode: Chapter 40
number: S04E01

title: Quantico
poster: https://image.tmdb.org/t/p/w500/3ofY2mALEiE0QDyRlVOV3sDNMYC.jpg
fanart: https://image.tmdb.org/t/p/w500/3rdQ4cbley3iOIkruTwMKDUzsLj.jpg
genres:

Crime
Drama
Mystery
rating: 6.5
studio: ABC
release: $day, $date $time
airdate: '2016-03-07T01:00:00Z'
episode: Alex
number: S01E12`

Here's a binary sensor template to achieve this:
{% set data = state_attr("sensor.trakt_next_to_watch_all", "data") %}
{% set ns = namespace(title_found=False) %}

{% for item in data %}
  {% if item.title == "House of Cards" %}
    {% set ns.title_found = True %}
    {% break %}
  {% endif %}
{% endfor %}

{{ ns.title_found }}


Extensions in Browser Isolation: Add Chromium-based Browser Prerequisite

Which Cloudflare product(s) does this pertain to?
Zero Trust
Subject Matter
Desktop Chromium-based browser is required for extensions in Browser Isolation
Content Location
https://developers.cloudflare.com/cloudflare-one/policies/browser-isolation/extensions/#prerequisite-isolate-chrome-web-store
Additional information
Browser Isolation passes the user agent of the browser used to access the isolated session as the user agent of the isolated browser. This means that to install and use extensions, the client's browser itself needs to either support Chrome extensions or spoof its user agent to pose as a browser that supports Chrome extensions.
The documentation doesn't mention this, which leads to confusion when users try to install extensions in the isolated browser while using Safari or Firefox.

Just a quick update. Not sure if it's related to this request at all, but I've been using Browser Isolation nearly every day for seven months now extensions have never been loaded in isolated sessions unless my user agent was Chromium-based. But as of tonight, my extensions are loading in Safari on iOS, which is fantastic!
I'm still not able to install new ones though unless I use a Chromium-based browser or user agent. Maybe Browser Isolation can be redesigned such that Chrome's user agent is always sent when users visit the Chrome Web Store? This would allow them to install extensions using any browser as the client, and still have an accurate user agent presented to every other website.

Hi there. This appears to be a feature request. I have shared this request with the team to be tracked internally as a feature request.


langchain[patch]: Fix memory issue for large number of child chunks on large documents

Fixes OOM issues. The docker container of our index manager is killed on specific documents after using more than 2GB of memory. For large documents the ParentDocumentRetriever can create lots of parent and child documents.
While this change seems to fix the memory issues, I'm still investigating another issue on the same large document at the moment: Uncaught exception: error: terminating connection due to idle-session timeout.
@PetersClemens

Couldn't push to your branch so merged in #6012 after running yarn format


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_24gh46c1wx/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_24gh46c1wx/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_24gh46c1wx/clone/recipe/meta.yaml:41: missing_description: The recipe is missing a description
ERROR: /tmp/abs_24gh46c1wx/clone/recipe/meta.yaml:41: missing_dev_url: The recipe is missing a dev_url
Errors were found


github repo

Can you please share a github repo with the code for this example?

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

ID: f71c199c-c217-1edf-b6a3-987303c43a71
Version Independent ID: 7085914e-878e-5f25-0e03-4b7685fd1db6
Content: Use Spring Data R2DBC with Azure Database for MySQL
Content Source: articles/java/spring-framework/configure-spring-data-r2dbc-with-azure-mysql.md
Service: mysql
GitHub Login: @bmitchell287
Microsoft Alias: judubois

Hi @wilferac - thanks for the comment! We've added sample links to several topics, including this one. I hope it helps!


Clarify behaviour when there is a conflict

It's not clear what the behavior of this action is if:

The release already exists.
The release already exists and has a different body.
The release asset already exists.

I'm doing the following kind of releases

v* - only happens once.
master - happens for every commit to master
dev-* happens for every commit to a branch

For each of these, if the release already exists, I'd like to update it. This means replacing the body and any assets.

good call and good question.
there was a recent contribution to this action that would allow for filling in fields with a previous mentioned in this section of the readme

When the release info keys (such as name, body, draft, prerelease, etc.) are not explicitly set and there is already an existing release for the tag, the release will retain its original info.

That might answer the whole set of question above but let me know if that helps

What is the etc. of this? Would love some clarification on how to allow for rolling updates of one draft release


opens then immediatly closes the session

please update your client and check again

use version 2.0.4 for now until this connection issue is resolved

how to downgrade also i just installed it

just do npm i -g stunel-client i just corrected the error

nvm figured it out now


Project does not build with Java 16

Seeing issues here and there I tried to build the project and "no surprise" found it does not build. First step would  be to upgrade gradle to https://docs.gradle.org/7.0-milestone-3/release-notes.html.
After that we may need more changes.
~/github/asciidoctorj >>> ./gradlew test                                                                                ±[A4●][master]
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :asciidoctorj-api:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':asciidoctorj-api:compileJava'.
> java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x18434b8) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x18434b8

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.2/userguide/command_line_interface.html#sec:command_line_warnings

Gradle 6.8.2
Build time:   2021-02-05 12:53:00 UTC
Revision:     b9bd4a5c6026ac52f690eaf2829ee26563cad426
Kotlin:       1.4.20
Groovy:       2.5.12
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          16 (AdoptOpenJDK 16+36)
OS:           Linux 5.11.6-1-MANJARO amd64


feat:[PIPE-19589]: Autocreation of entities in Harness

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6673e9e49b6d6417940366a3--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66742de3803efa588adbf16b--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66742f71235f9b5fa0a5c1ee--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66743143edca865b6b351bff--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66743f068132606ac847135c--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66793869af42038a8f07c78f--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66793ccaa47af867bdd36be1--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66795e04b32e3ba1bc777cbc--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://667a91bc131c8ed9a0e79aa8--harness-developer.netlify.app


Excess DEBUG entries in build after PR #2319

#2319 seems to have introduced thousands of lines of DEBUG lines into the build:
-rw-r--r--    1 jonesn  staff  2402404 30 Dec 15:02 egeria-20191230144839-std.log
-rw-r--r--    1 jonesn  staff  4328936 31 Dec 12:30 egeria-20191231121527-withFVT.log
drwxr-xr-x  357 jonesn  staff    11424 31 Dec 13:38 .
-rw-r--r--    1 jonesn  staff  4244470 31 Dec 13:54 egeria-20191231133852-std.log
drwxr-xr-x@ 172 jonesn  staff     5504 31 Dec 14:54 ..
➜  logs cat egeria-20191230144839-std.log | grep DEBUG | wc -l
       0
➜  logs cat egeria-20191231133852-std.log | grep DEBUG | wc -l
    1721

However this isn't due to changes to the slf4j/logback configuration - indeed a comparitive 'mvn dependency:tree' looks fine. Rather it is just the execution of the archive builder. When run within the build we need to change the logging level up a notch to reduce build noise.

The invocation of the builder should also likely be in the package phase not test


CI to .NET 5

It's released!

Not ready, for some reason can't convert it into draft

There we go, I guess

thanks :)


Lots of regression in exit codes [from 1.12 to master]rr

Under docker-1.10, flag.go exits 125 when a command-line flag is missing a required argument. With docker 1.12 most commands do so... except for a seemingly random few:
   # docker load --input;echo $?
   flag needs an argument: --input
   See 'docker load --help'.
   1    <-- 125 with docker-1.10

   # docker ps --filters;echo $?         <-- same with -n or --format
   unknown flag: --filters
   See 'docker ps --help'.
   1    <-- 125 with docker-1.10

(List is not meant to be exhaustive; there are more).
If my diagnosis is correct, root cause is that as part of the cobra migration in June some NewXxxCommand() functions were added with this line:
    cmd.SetFlagErrorFunc(flagErrorFunc)

...and some were not:
    $ grep -L lagErrorFunc api/client/{image,container}/* | wc -l
    23

If this analysis is correct, I hope there's a less duplicationy way to solve this than adding cmd.SetFlagErrorFunc() to each source file!
@vdemeester @dnephin

SetFlagErrorFunc() should only be necessary on the root command, not every command. I removed it from all the commands in #25354
I just tried the examples with a binary built on master and they all return the correct 125. Can you try master and see if it's fixed?

@dnephin tried master, works fine, closing (thx)

ping @dnephin @vdemeester @runcom I checked this issue with 1.11, and it looks like this was a regression in 1.12. Do you think it's possible (and worth it) to fix just this issue for 1.12.2 (without including the conversion of docker to Cobra)?

Also ping @vieux ^^

ping @dnephin @vdemeester @runcom I checked this issue with 1.11, and it looks like this was a regression in 1.12. Do you think it's possible (and worth it) to fix just this issue for 1.12.2 (without including the conversion of docker to Cobra)?

this is huge and I don't have any clue if we can fix just this for 1.12.2 - would be great though if anyone can do this fast for 1.12.2 :)

@runcom I opened https://github.com/docker/docker/issues/26775 so that we don't loose sight of the issue


IntrospectionQuery being called non stop every 2 seconds (infinite loop)

This issue pertains to the following package(s):

[ ] GraphQL Playground - Electron App
[x] GraphQL Playground HTML
[ ] GraphQL Playground
[ ] GraphQL Playground Express Middleware
[ ] GraphQL Playground Hapi Middleware
[ ] GraphQL Playground Koa Middleware
[ ] GraphQL Playground Lambda Middleware

What OS and OS version are you experiencing the issue(s) on?
macOS 10.15
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
apollo-server-micro: 2.9.3
@apollographql/graphql-playground-html: 1.6.24
graphql-playground: not sure
What is the expected behavior?
Instropected query be called only once.
What is the actual behavior?
A new request is made every couple seconds. The http returns 200 and the response json is correct. I can see the schema and docs correctly in the UI, but the polling never stops, making my logs huge and slowing things down.
What steps may we take to reproduce the behavior?
Simple server using apollo-server-micro, then open the playground. The polling starts automatically and never stops.
Please provide a gif or image of the issue for a quicker response/fix.

@brunolemos  have you tried to disable schema polling in the settings?


Header color is no longer overridable

Current Behavior
If you pass a headerStyle in on a StackNavigator that contains a backgroundColor prop it is no longer taking up the entire Header.
Snack Example: https://snack.expo.io/HJdcOPvCW
Expected Behavior
The background color provided via the headerStyle should be used instead of the default color for the entire Header
Possible Solution:
With the new SafeAreaView the container structure changed a bit which changed how styles work. As you can see here https://github.com/react-community/react-navigation/blob/master/src/views/Header/Header.js#L307 headerStyle is still being put in but that style gets added to the View nested in the SafeAreaView. The SafeAreaView style (which is not configurable at all) contains the background color now. I would recommend either making the SafeAreaView style overridable or moving the headerStyle to override the SafeAreaViews style instead
Your Environment

software
version

react-navigation
1.0.0-beta.16

react-native
0.48.4

node
4.2.0

npm or yarn
yarn

Duplicate #2854


Add macro methods to ProcNotation and ProcLiteral

Fixes #4485.
I can't see where tests for macros live, so I've only briefly tested this manually. I will happily write some real tests before merging.
Also unsure about whether NilLiteral is the best thing to return in the case of no return type - is there already a convention for this?

Some tests would be nice.

Macro specs are here: https://github.com/crystal-lang/crystal/blob/master/spec/compiler/macro/macro_methods_spec.cr

Not sure why Travis is failng, the tests are passing on my machine.

@javanut13 Probably some hiccup.
In any case, I'm sorry but I confused ProcNotation with ProcLiteral. Now I remember there's no receiver for ProcLiteral. So only body and args. Could you make that last change? Maybe travis will also work after that change (if not, I'll restart it).

I remembered there is also ProcPointer (e.g: ->some_func(String)) that don't have macro methods, maybe it would be the right PR to add them?

@asterite No worries, I'll change that.
@bew this would probably be a reasonable place to do so - what methods should it have? Looking at the definition in ast.cr there is obj, name, and args. I assume name and args are definite, but what is obj?

obj is the receiver of the method.
For example: ->my_instance.some_method(String). Here obj is my_instance, name is some_method and args is String.

Is there anything else that needs attention here?

Bump, could we have this soon?
I know you requested a review from @asterite but I'm not we'll ever get it.. (please correct me if I'm wrong!)


Commenting on any child report does not surface the report as unread in the LHN

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: Staging/web v9.0.2-0
Reproducible in staging?: Yes
Reproducible in production?: Unknown
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @tgolen
Slack conversation: here
Action Performed:

Have an expense report submitted to someone
While active and online in newdot, have the other person comment on the report in newdot

Expected Result:
I should see the chat appear in my LHN as unread
Actual Result:
I don't get any notifications and no chat appears in my LHN
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
cc @puneetlath @danieldoglas

The problem has been tracked down to code not properly calculating the notificationPreference in the report object in the Onyx update of the messages.
That is happening here in PHP, or here in Auth
@jasperhuangg would you have any ideas as to why this might be failing to give the proper notification preference? See here for full context.

@tgolen - should we mark this as an Internal Hot Pick or wait for Jasper's feedback?

@tgolen Hmm not that I'm familiar with–I just ported over structureReportsForOnyx from PHP but I doubt the issue is from that function–I commented in the Slack thread:

That is happening here in PHP, or here in Auth

All that structureReportsForOnyx does is take a report summary from GetChats and format it for Onyx–so I think the problem would either be coming from how we’re calling GetChats or from within GetChats itself.

@tgolen - should I add the Hot Pick label here?

@alexpensify I think adding Hot Pick is good here.

I updated the issue title to include all child reports since @puneetlath and I were able to reproduce this issue with regular chat threads too.

Heads up, I will be offline until Monday, July 8, 2024, and will not actively watch over this GitHub during that period.
I'll try to check in a few times. If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks!

No update, waiting for help here

Still waiting for help here.

No update, waiting for help.

No update, still a Hot Pick.

Issue not reproducible during KI retests. (First week)

Since this isn't appearing in recent tests, I think we should close. I'll review more and confirm.

Asked about retesting it again here, I'll close if I can't reproduce

Can't reproduce, closing


ci: Merging 3.10.1 following release.

This merges release/3.10.x following the release of 3.10.1

@mazulo thanks. There was some work done on a spell checker as part of the pre-commit hooks. Not sure if it merged yet but it should help prevent future spelling errors


refactor: overhaul undici interface

This would solve...

#18
and others.

The implementation should look like...

Allow duplex / writeable streams
Enable the usage of a pool, agent, or anything that implements a dispatcher as opposed to exclusively an undici client
Add redirect infrastructure

I have also considered...
N/A.
Additional context
N/A.

I think we need a signal too. (for request aborting)

I think we need a signal too. (for request aborting)

Yeah, we can definitely add that as well.

@wonderlandpark Can you file that as a separate issue please, under a feature request? :)

@wonderlandpark Can you file that as a separate issue please, under a feature request? :)

Added at #22


Common (?) question regarding programmable eager filtering

Hi,
let's say we have, for example, Person and City where Person has fields like {id, id_city} and City has {id, address}.
I can query Person as
Person.query().eager("[city]")
using as an example the first reviews(onlyGood) example at
https://www.vincit.fi/blog/nested-eager-loading-and-inserts-with-objection-js/
how could I filter by a given substring of address? How could I pass a parameter to a filter? The given example is on the link is
.eager('reviews(onlyGood)', {
    onlyGood: (query) => {
      query.where('stars', '>', 3)
    }
});

but 3 is fixed.
So is it possible to dynamically filter on a field on an eager-linked/joined array of objects?
I read a few other issues on this subject but I'm not sure about the general answer, sorry.
Thanks.
PS: this issue should have the "help wanted" label but I didn't get how to add it.

So just to make it clear, what you want is to get "all persons whose city's address contains a certain substring"?
There are (at least) two easy ways to do that by leveraging SQL:

Using subqueries

await Person
  .query()
  .whereExists(Person.relatedQuery('city').where('addres', 'like', 'Helsinki'))

Using joins

await Person
  .query()
  .joinRelation('city')
  .where('person.address', 'like', 'Helsinki')


Fixes flaky tests and tests running in landscape

Fixes #128, also bumps minor version of AGP and fixes some comments.

Does the reference solution for createTest() also need to be updated for this?

Very good point, I just pushed the content of the codelab.


Create flow tearsheet not respecting application theme

Create flow tearsheet not respecting application theme on v2 package.
What package(s) are you using?

[x] Carbon for IBM Products (or Carbon for IBM Cloud & Cognitive)
[ ] Legacy/CDAI
[ ] Legacy/Security

Detailed description

Describe in detail the issue you're having.

Root theme is set to g100 but the tearsheet is still on light theme.

Is this issue related to a specific component?

Tearsheet component

What did you expect to happen? What happened instead? What would you like to
see changed?

Tearsheet should follow set theme

What browser are you working in?

What version of the @carbon/ibm-products (or @carbon/ibm-cloud-cognitive)
package are you using?

 "@carbon/ibm-products": "^2.0.0-rc.27"
Additional information

Screenshots or code

Hey @omar-zahid, can you provide a code sandbox or stackblitz reproduction for us? Our example shows the create tearsheet responding to the theme that is set. There does seem to be a minor discrepancy in the disabled button state which is something we can address.

Thanks @matthewgallo. This issue is specific to the Theme component from @carbon/react.
Here's the codesandbox for reference.
https://codesandbox.io/p/sandbox/tender-smoke-2r0wbc?file=%2Fsrc%2FExample%2FExample.jsx%3A1%2C1
Other components such as PageHeader and Card works just fine.


Simple calculations in inspector integer/float inputs

It will be nice if inspector could understand simple calculations like 64 + 64 + 10 resulting into 138 but not 64. It will help to place GUI and other game elements faster (if you need to set it by hand in scene).
i am at version 3.0 alpha

It already does this in 2.1.3, and I'd assume 3.0 as well. Addition, subtraction, multiplication, and division all work.

Actually it seems to be broken in 3.0, but since @xdeadmonkx did not respect the issue template and did not state what Godot version they were referring to, not much I can do to triage this better...

i am at 3.0 version now and it is not working

i disabled it because something broke.. but i think a real evaluator should be made eventually :\


[Question] Inquiry Regarding Navier-Stokes Experiment Data Pair

I am a Ph.D. candidate conducting research on the prediction of turbulence dynamics using DL models. Currently, I am reproducing the results presented in the paper, but I have a question about the composition of data pairs.
Is it correct that one simulation becomes one input-output pair? In other words, in each case of Table 1 in the paper, is it correct to train one model with N ([0.10] input / (10,T] output) pairs?
I understood that by using 11 time steps in the channel direction and performing lifting-Fourier layers-projection, outputs for T-10 time steps can be obtained at once. However, although I understand the concept of the neural operator, a mapping between infinite-dimensional function spaces, I wonder if it is possible to predict the dynamics of flow fields for dozens of time steps using 11 inputs.
In fact, when I trained the model with the data I have (decaying 2D HIT without forcing), the prediction performance was too poor, which made me question whether I misunderstood the concept.
Thank you.

Usually more layers can help if your loss function has plateaued.

hello，could you please help me reproducing the results presented in the paper about ns ？


json: replace literal string to constexpr and force Streamer to use simple output abstraction

Commit Message: json: replace literal string to constexpr and force Streamer to use simple output abstraction
Additional Description:
Continuous work of #35891. This replace the literal string to constexpr string view to make it's more friendly for dev tools. And this PR also create a simple wrapper to the Buffer::Instance to force the Streamer only access the limited abstraction (only provides an add()) to streaming it's output.
Risk Level: low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

quic is also flaky frequently.

/retest

/retest

I think the BufferOutput abstraction is useful if you make it an interface, and we exploit that with 2 overrides instead of using a template. But if we go with templating, you don't need to specify the class this way: just document that the templatized class must implement two methods.

I am inclined to use template and I will document it in the last PR . At that PR we will change the Streamer to template class.
The wrapper here is to ensure we needn't to change anything at the call sites of the output abstraction at the last PR. We just need to change the class Streamer to template <class OutputType> class Streamer. (And the constructor, may be only 5 lines code changes at last PR?)

Good point about sharing keywords.
But I suggest you move these constants to their own file. Eg source/common/json/constants.h or well_known_names.h.

Seems @alyssawilk still on vacation. Let's assign this to another senior maintainer.
/assign-from @envoyproxy/senior-maintainers

/assign-from @envoyproxy/senior-maintainers


Google Japanese Input IME Suggestion window is not updated when editor.experimentalEditContextEnabled is enabled.

Type: Bug
When editor.experimentalEditContextEnabled is enabled, the Google Japanese Input IME suggestion window does not update while you are typing.
There is no problem when editor.experimentalEditContextEnabled is disabled.
Similarly, there is no problem with Microsoft IME, regardless of the setting of editor.experimentalEditContextEnabled.
Reproduction steps:

Enable editor.experimentalEditContextEnabled and restart Visual Studio Code.
Enable Google Japanese Input IME and type some characters.
The contents of the suggestion window should update as you type, but they do not.

https://github.com/user-attachments/assets/69dd04dd-0999-414e-aef0-e6365d101eac
https://github.com/user-attachments/assets/1d320491-33b2-4210-8305-816bf736c236
VS Code version: Code - Insiders 1.94.0-insider (dc9412125d4e0a480593962ae2687e74e64af728, 2024-09-09T17:10:54.809Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 7 3700X 8-Core Processor              (16 x 3600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
63.93GB (55.98GB free)

Process Argv
--crash-reporter-id 10b11618-d4e6-4d55-aedc-6f34beb13e63

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

vscode-language-pack-ja
MS-
1.93.2024090409

debugpy
ms-
2024.10.0

python
ms-
2024.14.0

vscode-pylance
ms-
2024.9.1

cmake-tools
ms-
1.19.51

cpptools
ms-
1.22.2

cpptools-extension-pack
ms-
1.3.0

powershell
ms-
2024.2.2

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vsc_aa:30263845
vscod805:30301674
vsaa593:30376534
py29gd2263:31024238
c4g48928:30535728
2i9eh265:30646982
962ge761:30841072
pythongtdpath:30726887
welcomedialog:30812478
pythonnoceb:30776497
asynctok:30898717
dsvsc014:30777825
dsvsc015:30821418
pythonmypyd1:30859725
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772
cppperfnew:30980852
pythonait:30973460
da93g388:31013173
a69g1124:31018687
dvdeprecation:31040973
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31057980
nativerepl1:31134653
refactort:31084545
pythonrstrctxt:31093868
flighttreat:31119334
wkspc-onlycs-t:31132770
nativeloc1:31118317
wkspc-ranged-c:31125598
cf971741:31111988
jh802675:31132134
e80f6927:31120813
pme_test_t:31118333
ei213698:31121563

Hi thanks a lot for posting this issue. I was indeed able to reproduce this issue. After some investigation I was able to confirm that this bug does not exist when VS Code is on the electron version 32.0.1 (currently it is on 30.0.4). This bug seems to be caused by chromium and after we upgrade to a higher electron version, this should be fixed. cc @deepak1556

Here is a screen recording showing it working with electron 32.0.1 on VS Code.
https://github.com/user-attachments/assets/9cf43149-61a7-45ab-bc4f-7ed3ec1b4d9e

This issue will be closed.


make Walk API handle empty trie

Except for Walk API, all the public API of Trie can be called safely
with an empty trie. Consistency would be nice if Walk() can be called
with an empty trie too.

I didn't realize it.
Thanks!


Migrations-1015 - DRAFT - Add buildscript for replayer

Description
This adds a gradle build script file to make it possible repeatedly build the Traffic Replayer, compiling all java files, run unit tests and run checkstyle on the code, all with one command.
You can either run gradle assemble within the traffic replayer directory, or to do this with a gradle wrapper, then you must run gradle wrapper then run ./gradlew assemble
Due to the current state of the java code, the command will fail because checkstyle violations.
To build the replayer and run the unit tests without running checkstyle, you must comment out this part in the build.gradle file:
tasks.assemble.dependsOn {
    project.tasks.findAll { task ->
        task.name.startsWith('checkstyleMain')
    }
}

Issues Resolved
Migrations-1015
Check List

[ ] New functionality includes testing

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #118 (340b4c8) into main (fba8d07) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #118   +/-   ##
=======================================
  Coverage   91.51%   91.51%
=======================================
  Files          25       25
  Lines        1155     1155
  Branches      122      122
=======================================
  Hits         1057     1057
  Misses         83       83
  Partials       15       15

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

Can you look up what the conventions are for other opensearch gradle projects.  What are some of the target names, are there any other specific tools that are commonly used (like checkstyle)?  You can create more tasks to add them, but it's good to maintain consistency for future developers.

Can you look up what the conventions are for other opensearch gradle projects. What are some of the target names, are there any other specific tools that are commonly used (like checkstyle)? You can create more tasks to add them, but it's good to maintain consistency for future developers.

opensearch-project/opensearch-java repo actually has checkstyle as a github action, while the opensearch-project/opensearch stopped using checkstyle and started using spotless

Couple things then I'm fine to approve:
I don't want to mess with the gradle configuration too much while this is still a sub directory of this repo as its hard to tell what is an actual problem or what is Intelij having trouble reconciling. But we should definitely make sure this works well when we move it out and is properly picked up by Intelij.
I was able to build successfully after fixing a spot bugs issue in line 282 of TrafficReplayer.java. Not sure if you've looked into this but if @gregschohn does not have concern would add it in
Bug: Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding is suitable. This will cause the application behaviour to vary between platforms. Use an alternative API and specify a charset name or Charset object explicitly
Original:
try (InputStreamReader r = new InputStreamReader(fis)) {
Change:
try (InputStreamReader r = new InputStreamReader(fis, StandardCharsets.UTF_8)) {

You can also delete the IntelliJ project file (TrafficReplayer.iml) I'm sure that I will soon regret not looking at the checkstyle.xml file carefully :)

@gregschohn I'll remove that file in one of the other PR's that I have open.
The checkstyle.xml file just the default google java style guideline.


The result of sort with multiple fields will not be consistent

!!! MANDATORY TO FILL OUT !!!

Goals

Sort documents by multiple field when using MongoDB collection find or aggregate.
e.g. {$sort: {createdAt: -1, username: 1}}
Expected Results

First sort by createdAt in descending order and then sort by username in ascending order.
Actual Results

Since Dictionary in Swift or NSDictionary in Objective-C is unordered collection, the order of {$sort: {createdAt: -1, username: 1}} is uncertain, it could not make sure the consistency of sort order.
For example, using FindOptions for finding document
let options = FindOptions(limit: 20, projection: nil, sort: ["createdAt": -1, "username": 1])
collection.find(filter: ["favorite": "MongoDB Realm"], options: options)

This result will be not consistent, because the result could be sorted by createdAt than username or by username than createdAt.
Steps for others to Reproduce

Code Sample

Version of Realm and Tooling

Realm framework version: 10.7.2
Xcode version: 12.4
iOS/OSX version: 14.4
Dependency manager + version: Swift Package Manager

HI @ananfang can you give us more info about this?, maybe an example of what you want?

HI @ananfang can you give us more info about this?, maybe an example of what you want?

@dianaafanador3 Sorry for mistake, I've updated more information.

Hi @ananfang thanks for the update, I'll check this and will get back to you.

I've tested again, and here is the result
let findOptions = FindOptions(20, nil, [
            "username": 1,
            "name": -1,
            "brief": 1,
            "updatedAt": -1
        ])
someCollection.find(filter: [:], options: findOptions)

I ran this query three times, and the sort order was different each time:
1st: {username: 1, name: -1, brief: 1, updatedAt: -1}
2nd: {updatedAt: -1, brief: 1, name: -1, username: 1}
3rd: {brief: 1, username: 1, updatedAt: -1, name: -1}

Hi @ananfang as you can see if you query the collection the resulted [Document] contains an array of Dictionary<String, AnyBSON?>, dictionaries are not intended to be ordered, so we cannot guarantee the order of the resulted dictionary.
If you want control over which properties of the collection to return you can use projections
https://docs.mongodb.com/manual/reference/method/db.collection.find/#method-find-projection,
or if you want to order your documents in the result set, you can use sort.

or if you want to order your documents in the result set, you can use sort.

Yes, I want to order the documents in the result set. And if I use mutiple sort options (e.g. {fieldA: 1, fieldB: -1, fieldC: 1}), eventually it will not guarantee the order of sort options, since Dictionary in Swift is unordered collection.
But the order of sort options is important, different order will result different documents in return. I'vd tested, and found the order is not consistent based the logs from MongoDB Realm app.
Please review again.

@dianaafanador3
I think this issue should be reopen (I just left the reason above), but I can't.
Could you help me to reopen this issue?

Hi @ananfang so sorry, i misunderstood your question.
In case of comparing values of different BSON types, mongodb uses the following comparison order, from lowest to highest
MinKey (internal type)
Null
Numbers (ints, longs, doubles, decimals)
Symbol, String
Object
Array
BinData
ObjectId
Boolean
Date
Timestamp
Regular Expression
MaxKey (internal type)

You can find the complete documentation here.
https://docs.mongodb.com/manual/reference/method/cursor.sort/#sort-asc-desc

@dianaafanador3 The sort order I mentioned is NOT BSON type sort for the same field.

Hi @ananfang so sorry, i misunderstood your question.
In case of comparing values of different BSON types, mongodb uses the following comparison order, from lowest to highest
You can find the complete documentation here.
https://docs.mongodb.com/manual/reference/method/cursor.sort/#sort-asc-desc

Let me describe more detail with example data and sample code.
First, if we have the following data:
[
    {"username": "Andy", "name": "The 2nd Knight", "updatedAt": "2019-12-31T16:00:00.000+00:00", "brief": "Green", "followerCount": 15},
    {"username": "Bill", "name": "The 3rd Knight", "updatedAt": "2020-01-12T05:46:40.000+00:00", "brief": "Blue", "followerCount": 213},
    {"username": "Carl", "name": "The 4th Knight", "updatedAt": "2020-01-23T19:33:20.000+00:00", "brief": "Red", "followerCount": 49},
    {"username": "Danny", "name": "The 5th Knight", "updatedAt": "2019-12-08T12:26:40.000+00:00", "brief": "Orange", "followerCount": 30},
    {"username": "Fred", "name": "The 1st Knight", "updatedAt": "2019-12-20T02:13:20.000+00:00", "brief": "Yellow", "followerCount": 38}
]

And then using the MongoDB Realm iOS SDK directly access to MongoDB.
let findOptions = FindOptions(20, nil, ["username": 1, "name": -1, "updatedAt": -1, "brief": 1, "followerCount": 1])
collection.find(filter: [:], options: findOptions)

And you'll find that every time you execute the "find" query, the documents in return will be in different order. Because the following order is important and should be consistent:
["username": 1, "name": -1, "updatedAt": -1, "brief": 1, "followerCount": 1]
Since Dictionary in Swift is unordered collection, this order is not guaranteed to be the same every time. Eventually it will cause the query result will be in the same order.
I've created a sample code for demo, please refer to this repository:
ananfang/mongodb-realm-sorting-issue
(It's a private repository, I've added you as a collaborator)

Hi @ananfang thanks for the invite to the repo, I'll take a llok at it as soon as possible.

@dianaafanador3 Any update for this issue?

HI @ananfang, actually i reviewed this today and checked that everything is ok in our side (Cocoa), conclusion, unordered results are coming from the server.
I asked in our internal channels for an answer on mongo side, I'll let you know when we get an answer as soon as possible.

HI @ananfang, actually i reviewed this today and checked that everything is ok in our side (Cocoa), conclusion, unordered results are coming from the server.

@dianaafanador3 Since the Dictionary in Swift is unordered and we put a sort options in the Dictionary, it'll cause the inconsistent result. Thus I think this issue definitely happened in the client SDK, not server side. Please kindly review it again.

@ananfang I checked that your result set was returning different order each time, (not the properties within the document dictionary, this will be unordered since dictionary in swift is unordered). The result that is been returned by the server has a different order each time we call the find function, and should be the same, this is not happening for example in the case of using just a sorting argument like ["username": 1].

@ananfang I checked that your result set was returning different order each time, (not the properties within the document dictionary, this will be unordered since dictionary in swift is unordered). The result that is been returned by the server has a different order each time we call the find function, and should be the same, this is not happening for example in the case of using just a sorting argument like ["username": 1].

@dianaafanador3
Yes. The reason why server returned inconsistent results is that every time client SDK iterates sort options in Dictionary to call API, and Dictionary is unordered, each iteration will be different. Thus the sort options of the real API call from client is different each time, then the server will return inconsistent results.
I suggest that maybe we could use array to wrap the sort options in client SDK, since it's ordered.

HI @ananfang, you are right about this issue in our API (I'm sorry it took me so much to see it) and we are discussing solutions for this. We'll try to fit a fix for this in future releases.
For now I'll recommend to do the sorting by just one property as using more than one could cause an unordered set.

It's almost 1 year, any update for this issue?

Hi @ananfang, unfortunately this will be a breaking change in our API, we will need to change the API to allow something that is not a Document Dictionary<String, AnyBSON?> (for example SortDescriptor could work here), which is only allowed on major versions. Also, this will make the API less flexible in case there is a change on Mongo's side. We'll keep discussing this for a future major release.

@dianaafanador3 Any update on when a major release including this could be happening? Sorting in queries with multiple keys is a quite fundamental requirement that is probably needed by lots of people. Also there is not really a workaround for this, which is why we would have to consider switching to some other provider if this is not fixed..
P.S. I would also suggest to make a note in the SwiftSDK documentation if it is not fixed soon, since it can lead to "unexpected behaviour" when simply following the docs the way they are now..

Hi @davidkessler-ch this is tagged for our next major release, which we don't have a release date for now. If this is something critical for you, I'll put it for discussion with the team and see if we can work something out.

Thanks for the quick reply. Yes, that would be greatly appreciated!

Fixed by this PR https://github.com/realm/realm-swift/pull/8181


Update Fuse Product name and descriptions

Fix update fuse platform names to match names from developers portal

Codecov Report

Merging #793 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #793      +/-   ##
==========================================
- Coverage   97.67%   97.65%   -0.03%
==========================================
  Files          33       33
  Lines        3092     3278     +186
  Branches      261      466     +205
==========================================
+ Hits         3020     3201     +181
+ Misses         72       69       -3
- Partials        0        8       +8

Impacted Files
Coverage Δ

browser/model/jbosseap.js
98.09% <0%> (-1.91%)
:arrow_down:

browser/model/helpers/downloader.js
96.94% <0%> (-1.52%)
:arrow_down:

browser/model/cdk.js
99.22% <0%> (-0.78%)
:arrow_down:

browser/services/data.js
97.24% <0%> (-0.56%)
:arrow_down:

browser/model/jdk-install.js
97.29% <0%> (-0.45%)
:arrow_down:

browser/model/devstudio.js
87.82% <0%> (-0.36%)
:arrow_down:

browser/directives/pathValidator.js
100% <0%> (ø)
:arrow_up:

browser/model/cygwin.js
100% <0%> (ø)
:arrow_up:

browser/model/installable-item.js
100% <0%> (ø)
:arrow_up:

browser/pages/location/controller.js
100% <0%> (ø)
:arrow_up:

... and 19 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 da42fea...eebbe91. Read the comment docs.


fix: Increase the compatibility of id structure between the Databuilder and the Metadata Library

Summary of Changes
The gremlin metadata proxy uses two id fields. The first is the default id on the vertex. ~id and they use a field called key found: https://github.com/amundsen-io/amundsenmetadatalibrary/blob/master/metadata_service/proxy/neptune_proxy.py#L117
It would require rewriting most of the queries to consolidate the two id's and I am not sure how compatible it would be with the other gremlin databases.
Note: This looks like a large change but it is mostly testing changes. The majority of the logic changes occur in the neptune serializer.
Tests
Corrected all the ids on the models
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[X] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[X] PR includes a summary of changes.
[X] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[X] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[X] PR passes make test

do we need to wait for https://github.com/amundsen-io/amundsenmetadatalibrary/pull/260/files to land?

Yeah I think we should wait incase I need to change some of the attribute names.

lgtm


FIx the documentation url for pypi package

The url should be case sensitive - with FoXAI instead of foxai

Is this fixed? What needs to be done to finish this issue?


Random 'nope' error

On this line an error is logged simply saying "nope" https://github.com/keajs/kea-subscriptions/blob/8f8a6a38b351044e1271907a781f5d822f582942/src/index.ts#L81
Managed to get this to happen in PostHog and tracked it down to here 😅

Version 3.0.1 has been released for your enjoyment with a slightly better error:
console.error(`[KEA] Subscription Failed for action ${action.type} on logic ${sub.logic.pathString}.`)
console.error(error)


Update Integrating Azure AD With SmarterU

Added some text at the top of the page.

@ShaunnaL : Thanks for your contribution! The author(s) have been notified to review your proposed change.


doc: clarify how to run fake-lmp-device-register

Signed-off-by: Camila Macedo<EMAIL_ADDRESS>

Hi @vkhoroz @StealthyCoder
The fix for the fake client is: https://github.com/foundriesio/factory-registration-ref/pull/16
I tried address all suggestions.
It seems good to fly now, please feel free to check this one.
thank you for your attention and time.

HI @doanac and @vkhoroz
I tried to address all suggestions from you both
now, the fake register is in the contrib/ as its instructions


Inconsistent Icon in Discussion Section

URL:
http://localhost:3000/discussions
Browser Name:
Brave
Browser Version:
Version 1.66.113 Chromium: 125.0.6422.76 (Official Build) (64-bit)
Operating System:
Linux
How to reproduce the issue:
Inconsistent Icon in Discussion Section
Description
The GitHub icons in the repository are consistent across all sections except for the discussion section, which has a different icon. This inconsistency should be addressed to ensure uniformity across the platform.
Steps to Reproduce

Navigate to the repository.
Observe the GitHub icons in different sections such as "Projects", "LeaderBoard", "feed", etc.
Go to the "Discussions" section.
Notice the different icon used in the "Discussions" section.

Expected Behavior
The icon in the "Discussions" section should be consistent with the icons used in other sections of the repository.
Screenshots
Incorrect Icon in Discussions Section

Correct Icons in Other Sections

Additional Context
Consistency in UI elements helps in maintaining a professional look and improves user experience.
Proposed Solution
Update the icon in the "Discussions" section to match the icons used in other sections of the repository.

@rithviknishad   please Assign this issue to me .

@Indrajeety993648 this is the expected icon as it matches the button's style. This is the same icon that's used in projects section and good first issues sections too. So it is not inconsistent.
Feel free to re-open the issue if there are any other related issue.


Connnection lost and resumed repeatedly getting it every

Getting this error over 10-15 times a day in my emails it just doesn't seem to stop no matter what I do.
Could you please suggest a fix for this

Pretty sure its not my ISP because I have a 2nd backup Synology device with 10GB network with (E10G18-T1) and NOT the E10M20-T1, worth mention they are connected to the same network same switch same ISP. I do totally understand I have received those errors when I have restarted the modem due to slow internet etc, so I know what you mean by that.
that 2nd device with E10G18-T1 has never sent me any errors. Only this device with E10M20-T1, Also I have never had trouble accessing any data on any of these NAS while receiving these errors just random connect disconnect notification and they exist in the log center too. Do you think it could be a faulty E10M20-T1?

here is a screen shot of the log centre. Pardon some of the scribbles because these are public form I am parnoid of some random hacker might cause me inconvenience. Also please let me know if I do leave some private info that pops out to you straight away so I can fix it.
I do get alot more notification than the log centre registered here.

Are both DS1821=+'s connected to the same UPS?
Are LAN 1, 2, 3 and 4 on a VLAN or separate LAN to the E10M20-T1?
Do you have the fan speed set to full?
I'm curious if the problem would move to the other DS1821+ if you swapped the E1018_T1 and E10M20-T1 between the 2 NAS (without running any scripts on the other NAS).

If you are using NVMe drives in the E10M20-T1 as a cache you'd need to delete the cache from the volume their assigned to.
If you are using NVMe drives in the E10M20-T1 as a volume you can either remove them before installing the card, or just leave the NVMe drives installed and not do an online assemble.

Do you have the same DNS servers set on both DS1821+?

Are both DS1821+'s connected to the same UPS? Yes it was
Are LAN 1, 2, 3 and 4 on a VLAN or separate LAN to the E10M20-T1? I don't remember connecting any cables to LAN 1~4 on the mentioned date so I am confused ( LAN 1~4 is built in 1GBE ports isn't it ) I don't use VLAN
Do you have the fan speed set to full? yes I changed the fan speed to full as I thought maybe its heating up
I'm curious if the problem would move to the other DS1821+ if you swapped the E1018_T1 and E10M20-T1 between the 2 NAS (without running any scripts on the other NAS). I wouldn't risk changing hardware on the 2nd device as thats my only backup trying to keep that as compatible hardware as possible
If you are using NVMe drives in the E10M20-T1 as a cache you'd need to delete the cache from the volume their assigned to.
Not applicable for me as I don't use Cache on those NVME's I use it as volume
If you are using NVMe drives in the E10M20-T1 as a volume you can either remove them before installing the card, or just leave the NVMe drives installed and not do an online assemble. Not keen on moving hardware across, if there is another solution to this happy to hear

Go to "Control Panel > Network > General" and check if  "Manually configure DSN server" is selected. If it is note what the Preferred and Alternative DNS server addresses are. Then compare that to the backup NAS.

Those log entries at 15:03:07 show LAN 1, 2, 3 and 4 getting an IP address and subnet mask via DHCP.
I just rebooted my DS720+ and only the LAN port that has a cable plugged in shows up in the log.
If you go to  "Control Panel > Network > Network Interface" are LAN 1, 2, 3 and 4 showing as Disconnected with IP addresses starting with 169.254 ?

Does the backup NAS also have "Manually configure DSN server" disabled?

I'll have to check that one for you as I have turned of too move it to an offsite location.


Add path: source strategy to pub, pull packages from location on disk

Not all packages come from git, some come from a location on disk (like the SDK). Add a path: source strategy to find and use them.
e.g.
dependencies:
  unittest:
    path: /absolute/path/to/sdk/lib

This issue has been moved to dart-lang/pub#54.


Clean up unix-evasion-prefix.ra

unix-evasion-prefix.ra needs to be cleaned up:

there are currently two blocks of prefixes that are partly duplicates
\w+=(?:[^\s]*|\$.*|\$.*|<.*|>.*|\'.*\'|\".*\")\s+ contains a duplicate alternation
white space matches are pretty much arbitrary

@theseion Is this for v4?

No, can wait.


forest-cli wallet subcommands migration

Summary of changes

Changes introduced in this pull request:

Moved the following forest-cli wallet subcommands to forest-wallet

Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

I don't quite understand. What benefit does moving forest-cli wallet to forest-wallet bring? I mean, the keys are still governed by the Forest node. To my understanding, the goal was to have better key security by decoupling it completely from the Forest node. See https://github.com/ChainSafe/forest/discussions/2274

I don't quite understand. What benefit does moving forest-cli wallet to forest-wallet bring? I mean, the keys are still governed by the Forest node. To my understanding, the goal was to have better key security by decoupling it completely from the Forest node. See #2274

I think it's the end goal. And moving commands to a new standalone binary is a first step.


Add missing space in documentation line

Added a missing space in a note on the section "docker stop and docker rm".

/check-cla

@jamieluckett Any issue while signing the CLA?

Looks good to me.
@jamieluckett , can you sign the CLA please so that this change can be reviewed?

Hey, sorry for the delay. I've signed the CLA now.


replace audio files of different SampleRate

When using AKAudioPlayer, first loaded into an audio file (SampleRate: 44100). Then use: player.replace (file: newFile), the switch to a new file (SampleRate: 48000), the audio file playback will slow down, reverse order load becomes faster.
I have done the following test to eliminate this problem:
let engine = AVAudioEngine()
let player = AVAudioPlayerNode()
let url = URL(fileURLWithPath: Bundle.main.path(forResource: "one", ofType: "mp3")!)
let file = try! AVAudioFile(forReading: url)
let buffer = AVAudioPCMBuffer(pcmFormat: file.processingFormat, frameCapacity: AVAudioFrameCount(file.length))
try? file.read(into: buffer)
engine.attach(player)
engine.connect(player, to: engine.mainMixerNode, format: buffer.format)
try? engine.start()
player.scheduleBuffer(buffer, completionHandler: nil)
player.play()
let newUrl = URL(fileURLWithPath: Bundle.main.path(forResource: "two", ofType: "mp3")!)
let newFile = try! AVAudioFile(forReading: newUrl)
let newBuffer = AVAudioPCMBuffer(pcmFormat: newFile.processingFormat, frameCapacity: AVAudioFrameCount(newFile.length))
try? file.read(into: newBuffer)
player.stop()
/// detach Node
engine.detach(player)
/// attach Node, using new format
engine.attach(player)
engine.connect(player, to: engine.mainMixerNode, format: newBuffer.format)
player.scheduleBuffer(newBuffer, completionHandler: nil)
player.play()

I am sorry, what is it that you would like AudioKit to do differently?

I wrote a demo with AudioKit, so you can listen to the difference in speed between the two ends of the audio
https://github.com/qqqssagithub/AudioTest.git

@qqqssagithub I thin you should try using the new AKSamplePlayer instead of AKAudioPlayer.  As long as your files aren't too huge, it should be a better player.


Black corners on android 5(>=) if set LAYER_TYPE_SOFTWARE

I am try write like this:
compile 'de.hdodenhof:circleimageview:2.0.0'
CircleImageView circleImageView = (CircleImageView) findViewById(R.id.circleImageView); circleImageView.setLayerType(View.LAYER_TYPE_SOFTWARE, null); circleImageView.setImageResource(R.drawable.vincent_van_gogh_irises);
And I see:
Android 5.1.1 / Sony Xperia

Android 6 .0.1 / Nexus 5

But
Android 4.4 / HTC One

Does this only happen when using LAYER_TYPE_SOFTWARE?

Yep, Work fine If I set LAYER_TYPE_HARDWARE or LAYER_TYPE_NONE (or not set at all).

Same result for me when I use backgound attribute i.e. android:background="@android:color/black". I've tested only on lollipop

How did you fix it? I'm facing the same problem

I couldn't quick fix it, so I just refused to use LAYER_TYPE_SOFTWARE

Closing this as duplicate of #108 and for the reasons I mentioned in that issue.

Actually, it's probably not a dupe - can confirm it is directly connected to using LAYER_TYPE_SOFTWARE, which is not advised anyway.

Yes am i also facing this issue anybody can help me to resolve this issue or provide the link for solution.


Handling the optional r/er in Beijing accent

When a word does not require an 儿 to make sense CC-CEDICT writes the pinyin for 儿's as "rT" in pinyin (where T is the tone number) - for example, 聊天(儿).
On the other hand, CC-CEDICT writes "erT" where 儿 is required for the character combination to be valid (e.g. in 奴儿).

We do indeed get liao2 tian1 r5 for 聊天儿
To clarify the problem statement, consider this test:
    @Test
    void erHuaTest() throws IOException {
        List<String> wordStrings = List.of("奴儿");
        Set<Word> validWords = new HashSet<>();
        for (String wordString: wordStrings){
            validWords.add(extract.getWordFromChinese(wordString));
        }
        Deck outputDeck = DeckFactory.generateDeck(validWords);
        assertEquals(IOUtils.toString(this.getClass().getResourceAsStream("validWordsDeck.txt")),
                Arrays.toString(outputDeck.getLines().toArray()).replace(",","\n"));
    }

neither Extract's simplifiedMapping nor traditionalMapping have an entry for 奴儿, hence it fails.
Erhua is quite common, so we should sanitise this input. For now I'll do a trivial PR just to get it working.

https://github.com/danielt998/HanziToAnki/pull/88 merged


Data Quality Tracking

Is HERD data catalog able to specify and manage DQ rules and measure data against DQ rules?

Consolidated along with other questions into #413


streamlit application not loading

streamlit application works just fine when using Docker Container locally, but not with pulumi aws...
aws streamlit application

local docker instance

Hey @Tanner-Ray-Martin, are you still stuck on this?
We could maybe have a short liveshare debugging session together this weekend.
Otherwise happy to look into it together next session 💪


Add "Already distributed" value

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. E.g, I'm always frustrated when [...]
Describe the solution you'd like
On the rewards page at https://orbs-network.github.io/voting/reward add a value called "Received rewards" with the sum of all rewards this address received so far.
A clear and concise description of what you want to happen. If applicable, consider adding a code example of how you'd like to use the feature.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered. If applicable, provide links to alternative solutions/features in other projects.
Additional context
Add any other context or screenshots about the feature request here.

@andr444 I don't remember the reason for this task. Do you?

Solved with "Total Distributed", no further issue here


BangleRun is not updating distance/velocity

After the recent GPS changes to BangleRun we've had a few issues, and I have now stopped using the Kalman filter for the GPS data that is logged since it never appeared to update the GPS coordinates.
However it looks like there are still issues - distance/velocity do not update based on http://forum.espruino.com/conversations/359549 - which is problematic because it's a complete pain to debug something that only works when it's moving.
I had a quick peek at the values on my desk (where I'd expected there to be at least minor movement showing up as GPS data wandered around) and I discovered that pGain is always 0 which seemed odd.
@singintime do you have any thoughts on how I could debug this?

This was fixed by removing the Kalman filter altogether