Add support for react runtime resolving package issue

Credit go to @alamothe
Adding alias for react runtime. Due to an issue in react packages the runtime doesn't resolve correctly - this is fixed in react v18 but not yet backported
References
https://github.com/facebook/react/issues/20235
https://github.com/facebook/create-react-app/issues/11769
Fixes #11769
https://github.com/facebook/create-react-app/issues/11769#issuecomment-996515228

Please get this merged, oh React gods. This is a blocking issue for performing any tasks with react-scripts with Yarn.

If you can fix the lockfile conflicts we can get this merged.

As I metioned here, this fix can be broken when React 17.0.3 publishes, for a package that defines an export field in package.json, full specified path like jsx-runtime.js is not reachable, so use resolve.fallback instead of resolve.alias is much more resilient to different versions of React

is there any ETA when the react gods will bless us with 17.0.3 though?

@raix can you do as @iansu requested and fix the lockfile conflicts?
Just tried to start a new CRA project and was stopped in my tracks with this issue.

Would be awesome if anyone would like to take over this pr - I'm currently out of time 🙏


fix after cleanup of netlib.utils in mitmproxy.console.statusbar

Can someone please tell me what the codecov/patch tool does and why it failed?

We recently enabled coverage reporting for the console, codecov is complaining that there is none. Whatsoever, Thanks for the PR! :smiley:


Is WAL mode supposed to be enabled by default?

I migrated my NestJS project from the sqlite3 library to better-sqlite3, using the 7.5.1 version, being managed by TypeORM (version 0.2.45). Before the migration, WAL files were not being created, but now they are. From the docs, I see that enabling WAL mode is strongly recommended, but doesn't seem something that better-sqlite3 does by default.
I'm using the database in a embedded Linux device, with many processes accessing it but not so much concurrent writes happening, so I prefer the WAL mode not being enabled. I can try to disable it myself, but, is this behaviour supposed to happen with the library?

is this behaviour supposed to happen with the library?

No, it does not change the journal_mode on its own. Maybe TypeORM does it?
https://github.com/WiseLibs/better-sqlite3/pull/831

For testing purposes, I'm calling a single REST endpoint after setting up the NestJs server with the configuration above:
  async getAll(): Promise<any> {
    Logger.log(JSON.stringify(await this.repository.query('PRAGMA journal_mode')));
    Logger.log(JSON.stringify(await getConnection().options));
    return null;
  }

This prints out this:
[Nest] 21735  - 09/26/2022, 11:52:50 AM     LOG [{"journal_mode":"wal"}]
[Nest] 21735  - 09/26/2022, 11:52:50 AM     LOG {"type":"better-sqlite3","database":"/mnt/data/db.sqlite","synchronize":false,"logger":{},"logging":["error"],"migrationsRun":false,"enableWal":false,"entities":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]}

Even if the default connection is being properly retrieved for TypeORM, it seems that the journal mode in the DB gets overwritten with the WAL value once and again...

Just found it, it seems that the TypeORM better-sqlite driver is forcing the WAL mode for each new connection:
https://github.com/typeorm/typeorm/blob/master/src/driver/better-sqlite3/BetterSqlite3Driver.ts#L171


Switch to the new Docker Github action in Meshery-nsm repo

Description
Since last Monday (7th October 2019) the default Docker GitHub action stopped working because the repo was deleted. We have migrated to a different docker GitHub action in the Meshery repo.
We need to replace the entire Docker block in Meshery-nsm repo's https://github.com/layer5io/meshery-nsm/blob/master/.github/workflows/ci.yml file with the one from the Meshery repo (https://github.com/layer5io/meshery/blob/master/.github/workflows/ci.yml).
Here is the snippet from the Meshery repo which we want copied over:
https://github.com/layer5io/meshery/blob/82018c54539f3d79eb639109b7c7cf6f67e41b2b/.github/workflows/ci.yml#L139-L173
Here is the snippet which needs to be replaced:
https://github.com/layer5io/meshery-nsm/blob/fe3190e3a132bec17c2541da1d4f03bcb961f9be/.github/workflows/ci.yml#L105-L157

This is completed.


Consider repackaging guava to prevent dependency conflict

As guava upgrade comes up from time to time (#835 , #931) and querydsl is currently on v18 while the latest stable is v19 (and soon google will release v20) did you consider to just repackage the guava version that querydsl is using?
For example by using the maven shade plugin.
This way querydsl would allow its consumers to use any guava version they want (which would be great considering guava is not a backward compatible library).

We already have artifacts named *-one-jar.
Could you verify that that is what you need?
If you really mean the relocation of classes to another package, I'm not sure about that.
If guava were a purely internal library, then I think shading is a good idea.
The issue is that we also accept guava Functions for functionality, which would mean that the current Functions are not of the same type, and converting from/to those Functions is then a burden on the consumer.

I was thinking about the relocation to a different package.
For people using java8 the api change would probably not be too problematic as the lambda expressions could be recompiled against the "new" packages as well.
But I understand that this would be a bigger change for java6/7 users.

Is there currently a problem with a newer version of Guava ?
In about 10 projects we are using Guava 19 with Querydsl and we haven't noticed any incompatibility bug between these 2 libraries.
If there isn't any serious incompatibility issue, I am not sure repackaging Guava is such a good idea. Here is 2 drawbacks that will occur if Guava is repackaged:

when one will try to use a Guava API, he will have to check he didn't import the repackaged version class (it is already a pain with Jersey and its Guava repackaged version :/)
Guava is a 1.3Mo library, repackaging it will mean projects using Querydsl will be 1.3Mo heavier.

If conflicts do occur with Guava, maybe just copy/pasting the Guava classes that are used into Querydsl may be better. This approach would enable:

to restrict Guava classes visibility,
to reduce the size of the "repackaged" Guava.

This approach has successfully been implemented in jOOQ: https://blog.jooq.org/2016/08/11/all-libraries-should-follow-a-zero-dependency-policy/

FYI:
We have encountered a dependency conflict issue with Guava: the Azure keyvault SDK relies on Guava 20 and we tracked down the conflict to the querydsl library. We placed a dependency in our main pom on Guava 20, and now everybody seems to be playing nicely with each other.

The best would be not to rely on guava at all. I wonder that with regards to JDK8 or even JDK9 if there's still something essential in guava?

Immutable collections(which we could replace with unmodifiable collections)
functions (which are in jdk8, I know)
caches (which we could replace with another library like caffeine, but 1) does a cache library pull enough merit? would we then not just move the 'keep synchronized with upstream' to another dependency?).

Just to jot down a few things, let me know your thoughts.

The less the dependencies, the better (faster builds, less exposure to third parties and their bugs/responsiveness). But replacing one dependency with a different one at the cost of couple (tens?) of MDs just to save a couple of bytes, is probably not a good idea.
But if you could just carve out a couple of classes providing the cache (i.e. the banana, without requiring the gorilla holding the banana and the whole jungle around him) and make that an integral part of querydsl I think that would deserve some consideration with regards to the (above mentioned) benefits.

It looks like there is one usage of CacheBuilder, which is unbounded and used for self populating. That could be replaced with ConcurrentHashMap#computeIfAbsent, though do not it locks pessimistically in JDK8. In JDK9 it now has partial prescreening, but I haven't benchmarked that version. Is there another usage that I am missing?
It does look fairly easy to remove Guava from being a runtime dependency (probably no issue for the codegen and tests). But do note that Guava changed its compatibility guarantee to be much more forgiving by not removing deprecated methods, rather than the 2 year cycle.

New Guava compatibility policy
https://groups.google.com/forum/?fromgroups#!topic/guava-discuss/rX-QXo-67ZU

The dependency on Guava was removed with #2676

The dependency on Guava was removed with #2676


Flex Grid

Hey,
great work on starting to port the awesome foundation for apps over!!!
I am looking at this for the first time and am very impressed.
I just wanted to ask if the grid from foundation for apps is also available?
I would really like to use it, or would you suggest to use another solution for that, like for instance https://github.com/tcoopman/react-flexbox or just a global stylesheet with the grid classes?
Cheers

@janusch Bit late here, but I ended up using the grid from react-bootstrap. Doesn't add too much more overhead if you include just the grid.

Hey @lindo-jmm ,
thanks for the reply!
I am looking for a flexbox grid. There is one in bs4 alpha, but it was still pretty alpha/buggy when i tried. Had to patch quite a bit. But I guess maybe that is still the best option. Are you using the same?


Different results on InMemoryDatabase vs LuceneDatabase

I have a simple csv file containing 5 records with the following fields: last name, first name, driver's license number and city. Two of the records are identical with being only different on their last name:  "THOMAS" vs "THOMAAS".
I also have configuration file (xml) with the comparators, cleaners set up. When I set the database to LuceneDatabase in the configuration file I get no results. When I switch to InMemoryDatabase I get results. I noticed that findCandidateMatches() on LuceneDatabase returns zero results. How could I fix this? Is this a bug?

One possibility is that you're using the 1.2 release and have a field with a high probability of 1.0. In that case there's a bug in the boosting computation that makes this happen. Switching to 0.99 solves the problem. (If that's it.)
Another possibility is that you're not using fuzzy search, so the Lucene search doesn't find THOMAS from THOMAAS (and vice versa).
A third possibility is that the lookup properties chosen by Duke are not the right ones. Try running the command-line tool with --lookups to see which properties Duke searches on.

@larsga Thanks for the reply and the suggestions. I tried all three suggestions but the problem seems to persist. I was wondering if you help check it out if I sent you the files (sample and configuration files). I would really appreciate it. Thanks.

Sure, just email it to me at larsga at garshol.priv.no


⚠ Rumah123 has degraded performance

In bf88f08, Rumah123 (https://www.rumah123.com) experienced degraded performance:

HTTP code: 200
Response time: 10020 ms

Resolved: Rumah123 performance has improved in d22d340 after 40 minutes.


Position and Style of Search Bar, Categories sec and Recent Posts in a better way in Main page

What's the style idea?
We need to improve the style of elements on main page as we can take the search bar just below or on the nav bar and we can give the option to choose categories just below that which should be in a dropdown affect menu. Moreover We can add our "recent posts" just above footer. We can even design footer in better way with enhancing UI.
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSoC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Hey, allow me to work on this under GSSOC' 2024


Staging OSTree sources with very strict permissions fails

See original issue on GitLab
In GitLab by [Gitlab user @juergbi] on Sep 28, 2018, 10:26
Summary
When trying to build an element whose sources contain files without read/write permissions (e.g., 0111), staging sources fails. This has been observed with an OSTree source, however, the issue may be independent of the source plugin.
Steps to reproduce
Run bst build centos.bst in the attached project repro.tar.gz, from https://gitlab.com/BuildStream/buildstream/issues/429#note_104869069.
What is the current bug behavior?
Staging sources fails with a BUG message.
What is the expected correct behavior?
Staging sources succeeds.
Relevant logs and/or screenshots
https://gitlab.com/BuildStream/buildstream/snippets/1758155
Possible fixes
git bisect result:
849724ce197850afb4094a5484a5aabbb8a192e4 is the first bad commit
commit 849724ce197850afb4094a5484a5aabbb8a192e4
Author: Jim MacArthur <jim.macarthur[[Gitlab user @codethink]](https://gitlab.com/codethink).co.uk>
Date:   Tue May 8 16:19:22 2018 +0100

    element.py: Conversion to use virtual directories

Other relevant information
This is a regression in BuildStream master (1.3). It works in BuildStream 1.2.
See also #429.

In GitLab by [Gitlab user @toscalix] on Sep 28, 2018, 13:58
marked this issue as related to #429

In GitLab by [Gitlab user @jmacarthur] on Sep 28, 2018, 16:29
assigned to [Gitlab user @jmacarthur]

In GitLab by [Gitlab user @jmacarthur] on Sep 28, 2018, 16:54
Bug confirmed, looking into it now

In GitLab by [Gitlab user @jmacarthur] on Sep 28, 2018, 17:46
Looks fairly straightforward. Virtual directories introduced an extra temporary directory so we need to handle copying files which are marked unreadable and preserve their permissions. I believe we can fix this, but I think you'll run into another problem in cascache.py when it tries to hash a file marked as unreadable, such as:
        [00:00:08] FAILURE centos.bst: Failed to hash object: [Errno 13] Permission denied: '/home/jimmacarthur/.cache/buildstream/build/centos-qqio475u/artifact/files/usr/bin/ssh-agent'

We can chmod files which cause a problem and put their original mode back later, but this comments:
        # Always write out new file to avoid corruption if input file is modified

Suggests there might be a possibility of someone else access these files at the same time. Is that possible? If so, I don't have a solution at the moment.

In GitLab by [Gitlab user @jmacarthur] on Sep 28, 2018, 18:00
mentioned in merge request !837

In GitLab by [Gitlab user @juergbi] on Sep 28, 2018, 18:36

I believe we can fix this, but I think you'll run into another problem in cascache.py when it tries to hash a file marked as unreadable, such as:

Yes, I should have mentioned this in the description. The artifact cache aspect, which also affects BuildStream 1.2, is #429.

In GitLab by [Gitlab user @jmacarthur] on Oct 1, 2018, 17:22
!837 will now fix this, but I'm not happy with it because it modifies the source paths. I need to find a way to do the import/copy without modifying it.

In GitLab by [Gitlab user @jmacarthur] on Oct 3, 2018, 17:20
mentioned in merge request !856

In GitLab by [Gitlab user @jmacarthur] on Oct 25, 2018, 10:16
We're stuck on the final piece of this, which is what to do with unreadable files. !837 is an unsafe way to fix this. See [Gitlab user @juergbi]'s comments on that. I've asked for advice at https://mail.gnome.org/archives/buildstream-list/2018-October/msg00056.html.

In GitLab by [Gitlab user @jmacarthur] on Feb 25, 2019, 08:52
Still present as of 80a0832.

In GitLab by [Gitlab user @tristanvb] on Nov 5, 2020, 06:58
marked this issue as related to #32

In GitLab by [Gitlab user @tristanvb] on Nov 5, 2020, 06:58
removed the relation with #32

Closing this as this belongs in another repo.
Moved to: https://gitlab.com/BuildStream/bst-plugins-experimental/-/issues/50


Revert changes around CHANGES file.

The idea was to simplify the release process and de-duplicate source of truth (as git is the real one).
But this attempt failed as there are too many usages of this project on either a non-git tree, or a pruned git tree (with a different history).
Patching this to make it work across all those use cases makes it more complex than the original CHANGES file.

LunarG is fine with the reported "version" being "wrong" for a few days when preparing the release.


Understand reject on NO_DATA in Conditions.ipynb

Solved - there was a major error such that only 1/2 the raw file was considered - thus there were no trials for half the events (thus the NO_DATA message)


Infinite loading

Facing the same issue as https://github.com/jlesage/docker-firefox/issues/80 inside of docker+compose with an nginx as a server

It leads to

If I comment out the /websockify section and set it like this

It loads something for a long time and shows the same error again
Thanks in advance

Is your nginx server able to reach firefox_firefox_1 ?

Closing as not relevant anymore


[New API] : Mapbox API

Brief Description 🤓
Offers customizable and scalable map services, including real-time traffic data, geocoding, and advanced map visualizations, useful for location-based services.
How will you develop it?🤩
React, JavaScript
Deployment
None
Select the open source program you are contributing to
Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINES of this project.

/gssoc24

Greetings @revanth1718🎀 ! , We are excited to have you dive into another issue with us!🚀
Your involvement in our project has been invaluable, and we're confident that your skills and insights will help us conquer this challenge😇.  Use command /gssoc24 to self assign the issue.  This issue represents an exciting opportunity for us to improve and enhance our project, and we are thrilled to have you on board.
We request you to follow CONTRIBUTING GUIDELINES.
Looking for your PR soon!
In case of any issues, you can contact us on Discord.❣


Scout coding games

Improve your knowledge about the already existing coding games

5 Points

Check out the 5 most interesting ones
1. CodeCombat

[ ] research document entry about game progression
[ ] research document entry with screens and explanation

2. Code.org

[ ] research document entry about game progression
[ ] research document entry with screens and explanation

3. CodinGame

[x] research document entry about game progression
[x] research document entry with screens and explanation

4. Lightbot and Lightbot Jr.

[x] research document entry about game progression
[x] research document entry with screens and explanation

5. All can code

[x] research document entry about game progression
[x] research document entry with screens and explanation

Done for Lightbot.
https://github.com/robotopia-x/research/blob/master/other_games/lightbot.md
I hope it suits the needs, if not present maybe the other MD files can have a similar Structure.

Link to the game as title

What is the task
Level Description

Game Progress (represented by an ordered list)
What is Good / Bad

Good
Bad

https://github.com/robotopia-x/research/blob/master/other_games/runMarco.md

https://github.com/robotopia-x/research/blob/master/other_games/codingame.md

https://github.com/robotopia-x/research/blob/master/other_games/codeOrg.md


What is the Output of Backbone CenterNet?

Hi there! Thank you for your great work . I would like to know that output of after passing the image to img2feats function is 64x112x200.
In centernet the 64 implies C which is no. of object categories but in our case the number of object categories is 10.
Then why are the features channel 64?. The regression heads and heatmaps  add upto  48
{'hm': 10, 'reg': 2, 'wh': 2, 'dep': 1, 'rot': 8, 'dim': 3, 'amodel_offset': 2, 'dep_sec': 1, 'rot_sec': 8, 'nuscenes_att': 8, 'velocity': 3}
Also what does reg tells us about? If it is regression then have we add it to the dictionary list when the regression heads
are already then why add it

@mrnabati


4.32 Missing Data Tests - Guidance

Hi,
For ONC Certification (g)(10) Standardized API V.3.3.1 on inferno.healthit.gov
I seem to be having trouble with these tests.. this is my current understanding:
Looking at other issues reported, and the descriptions of the tests, there seems to be two items we're looking at:

Required Fields [Cardinality 1+ for FHIR endpoint specifications]
Must Support fields [Cardinality 1+ for FHIR endpoints under U.S. Core]

Then for Missing Data:

If the missing data is a CodeableConcept, and has no 'unk' / 'unknown' value in the code system, use the data-absent-reason codeset: https://www.hl7.org/FHIR/valueset-data-absent-reason.html
If the missing data is NOT a CodeableConcept, use the extension: https://hl7.org/FHIR/extension-data-absent-reason.html

Then these are the specific tests:

4.32.01 Server represents missing data with the DataAbsentReason Extension
For non-coded data elements, servers SHALL use the DataAbsentReason Extension to represent missing data in a required field

So, is this test looking SPECIFICALLY for fields that are REQUIRED per FHIR, but NOT Must Support per US Core?

4.32.02 Server represents missing data with the DataAbsentReason CodeSystem
For coded data elements with example, preferred, or extensible binding strengths to ValueSets which do not include an appropriate "unknown" code, servers SHALL use the "unknown" code from the DataAbsentReason CodeSystem.

So, is this test looking at ANY for fields that are represented by code systems that dont have unknown values?  Maybe Loinc as an example?
I seem to be having trouble being able to pass this test, but also pass all other Must Support and Required Fields tests for each endpoint.  Maybe an example for each test would help me understand.

For test 4.32.01, Inferno looks the DAR extension in any non-coded data elements.
For test 4.32.02, Inferno looks the DAR code unknown in any coded data elements.
The exception here is Observation.value since Observation has a dedicated Observation.dataAbsentReason element.
These two tests are independent from validation tests and MS tests.
Inferno demo server has Condition resource which has DAR extension in Condition.category for US Core v3.1.1 and US Core v4.0.0.

so, if I just have an extension for CareTeam.participant, we will fail the CareTeam tests:
CareTeam/30560df3-fa14-4bc2-9834-7d1c360c34f0: CareTeam.participant[0]: CareTeam.participant.member: minimum required = 1, but only found 0 (from http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam)
BUT we pass the Data Absent test:
4.32.01 Server represents missing data with the DataAbsentReason Extension
So essentially to pass both tests, we MUST include multiple patients?  One which has data, and one which does not.
I'm not sure if its more appropriate to "skip" a test using the extension than failing, but now that I know what to do, its easier to understand.

This led me to a follow-up question.. how to use Additional Patient IDs for the Single Patient API Test?
This seems to use the same token as the patient you logged in as during Standalone Patient App.. you cant give a second token? You must have one token that allows inferno to pull info for multiple patients?  Currently we don't allow for this... there might be a use case here for primary / dependent accounts, but we don't have that feature yet.

May be CareTeam.participant.member.
You can have multiple CareTeam for a patient or a CareTeam with multiple participant and one of which has a DAR extension on participant.member.
The Test 3 is EHR practitioner login. A practitioner may have access to multiple patients. If you run the tests in sequence, the token in Test 3 is the one used for the following Single Patient (Test 4) tests.

The system value is wrong. it should be http://terminology.hl7.org/CodeSystem/data-absent-reason

I was JUST looking that up after I re-read!! Testing :)


Disable Javadoc/Scaladoc by default

:mag: Description
This PR disables Javadoc/Scaladoc by default, while still enabling that on Nexus deploy and CI, to speed up the normal building by developers daily performed.
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Apple M1 Max, Java 17
$ time build/mvn clean install -DskipTests

before: 1145.67s user 62.41s system 276% cpu 7:16.56 total
after: 530.33s user 35.82s system 214% cpu 4:23.69 total

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Thanks, merged to master and branch-1.9.

I found an issue after merging this, all tests are skipped, this is because that maven.scaladoc.skip are not configured properly, will fix soon


Adding Adaptive RI profile

How will the user know to associate the phrase "Adaptive RI" with the Quantinuum target?


I/ACodec: codec does not support config operating rate (err -2147483648)

I have developed a custom curve view that provides speed values, and I'm using an FFmpeg wrapper in an Android application to apply these speed values to video segments. The primary goal is to enable variable playback speed for video segments in our front-end application.
I encountered an issue where I couldn't change the speed beyond a certain point. Specifically, I observed an error related to the operating rate in the logs.
I/ACodec: codec does not support config operating rate (err -2147483648)
I am speeding up or down the video using a handle and runnable for each segment and the next speed change is called after the time needs to be taken by segment. Still, I am facing issues after the speed does not change after some segments according to my speed list for the video.
I need to speed up or down the video from 0.1 to 10x.

Hi @zohaibmushwani,
Thank you for reaching out to us. However, I have noticed that the log you provided is from the Android platform and not directly related to our library. We do not provide support for Android platform, as our focus is on ensuring the seamless functioning of our library itself.
If you could provide more context about the media3/ExoPlayer API you're using I will able to assist you further.
Thanks,

I am using media3 exoplayer to play videos with variable speed, but the playback speed does not change according to my settings. I tried to adjust the playback speed from 0.1x to 10x, but the player native code keeps reporting this log: [I/ACodec: codec does not support config operating rate (err -2147483648)].I think there is something wrong with the library code that prevents it from changing the speed in such a short time.
What is the playback limit of media3 exoplayer? How can I increase it if it is too low for my purpose? Do I need to compile or modify the source code of the library?
My requirement is to speed up or slow down the video up to 10x or 0.1x, and change it frequently in a short period of time.

Are you using Player.setPlaybackSpeed(float speed) to set the playback speed? Please try to give more details about the APIs you're using, the settings you're using and how often are you trying to update the speed, etc.

What is the playback limit of media3 exoplayer?

The only limitation is to not have a playbackSpeed of 0.

I have created the segments of video after interval 200-1000 milli seconds so overall video is divided in a list of interval,
0,1 | 1,2 | 2,3 | and so on and each segment has a speed from 0.1x to 1x and 1x to 10x the slow and fast speed, as available in video editing applications the slow-motion using curve.
I am updating the speed after each segment by calling speed changing from the handler duration = INTERVAL/speed
and also I am changing the seekbar integrated in my custom view.
I am getting that error in logs "I/ACodec: codec does not support config operating rate (err -2147483648)".
val segments = listOf(     Pair(0.0f, 1.3f),     Pair(1.3f, 2.5f),      Pair(2.5f, 3.8f),      Pair(3.8f, 5.0f),      Pair(5.0f, 6.3f),      Pair(6.3f, 7.5f),      Pair(7.5f, 8.8f),      Pair(8.8f, 10.0f),      Pair(10.0f, 12.0f),      Pair(12.0f, 13.5f),      Pair(13.5f, 14.0f),      Pair(14.0f, 15.5f)  )
val speedList = listOf(0.3f, 0.5f, 1.0f, 1.6f, 2.5f, 3.0f, 4.0f, 5.5f, 6.6f, 7.7f,8.7f,9.5f)

You can probably ignore logging like codec does not support config operating rate as it's unlikely to be directly relevant to what you are trying to do -- the codec's operating rate is just a hint to tell the codec what resources to reserve so it can decode at a requested speed, but a given codec implementation may decode faster or slower and ExoPlayer/the app is generally responsible for when frames are actually presented.

Still, I am facing issues after the speed does not change after some segments according to my speed list for the video.

Are you saying that when using player.setPlaybackSpeed sometimes the speed change takes effect and sometimes it doesn't?


Please add a wiki : users could help document things

Title says all : with a wiki, I could add some docs about ... applications, install/updates, wrappers, steptalk, etc.

done.
Please feel free to structure it however you feel is appropriate.
Thanks for your help.

Thanks, but AFAIK it is not open for writing.

I think the way github wiki pages supose to work is that you fork the repo, make your changes and then submit a push request.

Not at all AFAIK, because in other projects I can modify the Wiki freely.

See this documentation
https://docs.github.com/en/communities/documenting-your-project-with-wikis/changing-access-permissions-for-wikis

OK, good to know.
give a try then. It should be open to anyone now.
Thanks

Yes it works !


TBPTT

Hi Magehrig could you tell me where is the TBPTT dataloader in your code? I didn't find it

This function creates the 'streaming' datasets.

If you create the training dataset with this function, it will eventually use the ConcatStreamingDataPipe.
If you create the validation dataset with this function, it will eventually use the ShardedStreamingDataPipe.

If you look further into the code you can find the DataModule that is use by Pytorch-Lightning to handle the dataloading. The datamodule that I wrote can return 2 dataloaders during training. One dataloader returns random samples (for BPTT) and another one streams sequences (for TBPTT). For evaluation, we only use the streaming dataloader.
Finally, in the training loop, we merge the batches from both dataloaders here.
Let me know if I answered your question.

Thanks a lot for your reply, I'll close the issue


Best practice to import a P5.js library

hey there, nice integration, thanks
just wondering what would the best way to go about importing a 3rd party library to use with this component, for e.g. https://antiboredom.github.io/p5.riso?

Thanks, @boonier!
For an internal enhancement to this component, the library would ideally support an instance namespace instead of the global namespace -- for that, we could perhaps add an optional hook for registering those libraries.
It does appear that p5.riso supports p5's instance mode, so I'll play around with integrating that with p5-svelte and think more on that internal hook to generalize the solution to all compatible p5 libraries.
In the case of globally namespaced libraries, your mileage may vary and your IDE/the svelte compiler may error out thinking the library isn't defined if you try to register it globally in say, app.html or a <svelte:head> component

Quick correction after exploring riso -- it still pollutes the global namespace as its vehicle into p5's instance mode. I'm testing if there's a way to avoid that causing the aforementioned errors that bubble up from attaching things to window in Svelte.

Thanks @tonyketcham I've tried the global import in both app.html and svelte:head with mix (yet unsuccessful) results.
Are suggesting a prop that accepts something like and array or object containing a reference to the library, that p5-svelte wraps internally to namespace it?

I also tried every permutation of how I'd approach importing Riso and came up unsuccessful. Riso's method for latching onto an instance also hijacks every instance on the page which would be something I don't want to support in this library since that'll cause isolation issues in the case of multiple <P5/> components per page.
And yes, passing a set of references to third-party libraries on to p5-svelte under the hood to mount after the p5 instance is created was what I was thinking. However, that particular approach only works for libraries that support import syntax.
For Riso, it may be easier to fork the library and convert it to ESM syntax that can optionally accept a direct p5 instance to operate on, rather than defaulting to mounting on window.

For Riso, it may be easier to fork the library and convert it to ESM syntax that can optionally accept a direct p5 instance to operate on, rather than defaulting to mounting on window.

...along the lines of what I was starting to thinY. I'll look into it and let you know.
cheers for digging into this though :)


Use toolbox exec rather than Shell

Fixes #1513.

Thanks @jamonholmgren for the super quick reaction! 😍

Still have a test failure, not related to this, but i'll fix it.

Even with my fix ? 🤔 Passed locally

Oh, I missed that! Merged!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Problem to export from VTK to PLY with colors

Hey there!
I have a segmented model in VTK with different colors to deifferent teeth:

I exported it to PLY using vedo:

import vedo
mesh = vedo.load("Original.vtk")
vedo.io.write(mesh, "Result.ply", binary=True)

And the Result had only two different colors:

Original:
Original.zip
Result:
Result.zip
Is it possible export it keeping the original colors?
Thanks for your attention.

Hi Cicero, thanks for your interest.
It looks like this is due to a limitation in the upstream VTK reader for the ply format.
https://www.paraview.org/pipermail/paraview/2018-March/042164.html

Hi @marcomusy
Thank you to answer me.
Yes, I read this post in other research I made. Curiously I open the vpt file on Paraview and export like ply with colors. You can do it on that software. But I need a solution based on command line or Python, to increase the addon I develop.
The result manually open and export on Paraview:

Do you think it is possible to convert Scalars to colors with vedo?
A big hug!

that's an interesting piece of information. I need then to investigate it further.

Do you think it is possible to convert Scalars to colors with vedo?

yes absolutely, there are various examples to do it , check e.g:
https://github.com/marcomusy/vedo/blob/master/examples/basic/mesh_custom.py
https://github.com/marcomusy/vedo/blob/master/examples/basic/mesh_coloring.py

that's an interesting piece of information. I need then to investigate it further.

This is the original vtp file:
Arcada_Superior_predicted_refined.zip
And this is the PLY exported from ParaView:
PARA.zip
I'll and study the files you sent me, thank you!

Ready!
Now you can import VTK using OrtogOnBlender add-on and vedo.
YouTube video:

Next step: Pubblish a book chapter about it, cite the tools and mak the acknoledgements.
Thank you very much @marcomusy !


Wish: Add LogTarget that prints to standard output, and make it default in console config

I have been bitten quite a few times when (for example) cache/flush-all doesn't work because of permissions issue (say, the cache files are owned by www-data), and in turn the error messages are redirected to the app log... which can't be written because it is owned by www-data too.
The console commands should default to printing everything on stderr, and that should include warning/error log messages.

Shouldn't this Logger be in yii-console instead?

Could be, yes.


RMF Linter

This PR introduces the rmf_uncurstify linter and applies the same on

rmf_traffic
rmf_traffic_ros2
rmf_fleet_adapter

packages based on the rules specified in rmf_utils/test/format/rmf_code_style.cfg
Once the packages are built, running
colcon test --packages-select rmf_traffic rmf_traffic_ros2 rmf_fleet_adapter
will run the cmake-integrated rmf_uncristify linter on the packages.
To see details of the test results
cat log/latest_test/<pkg_name>/stdout_stderr.log

Thanks for all the work on this, I'm sure it was a slog!
Out of curiosity, is there any tool that could be used to easily generate a patch for the style corrections? Right now it seems that the best we can do is look at the log and snip the patch segments out of that, but it would be nice if we could just produce the raw patch so we can easily apply it to the code. If that doesn't exist yet, we can open a separate ticket for it and move along with merging this.

Hi Grey,
Running colcon test generates an xunit compliant XML file (uncrustify.xunit.xml) which summarizes the results of the test and lists the diff of the changes required. This file is located in build/<pkg_name>/test_results/<pkg_name>/ directory. I'm not sure if there's a way to use this file to directly patch the original code but I'll look into it. I've attached an example file generated with errors for your reference.
uncrustify.xunit.zip
However, there is a way to automatically apply all the formatting changes in-place and this is what I use after reviewing the diff. With eloquent sourced,
ament_uncrustify -c src/rmf_core/rmf_utils/test/format/rmf_code_style.cfg <PATH_TO_FILE(s)> --reformat

Throwing my 2 cents, I think a "reasonable" way to structure future work and inspect the diff could be:

Do your code changes and tests
Commit
Run the linter with the --reformat
Check that everything makes sense (or if you want a patch git diff > linter.patch)
git add and commit --amend
Push

Does that makes sense?

@Yadunund thanks, the ament_uncrustify tool is almost exactly what I was hoping for. I wonder if we can wrap that tool with something like rmf_uncrustify that automatically selects the rmf_code_style.cfg. That can be work for a future PR.
@luca-della-vedova I think that's an excellent work flow. I'll definitely be using that myself :ok_hand:

@mxgrey sure thing, I can look into making rmf_code_style.cfg as the default configuration file in a separate PR.


Changed README to reflect GetObject

If I'm not wrong GetObjectAsync is no longer part of Akavache:
https://github.com/akavache/Akavache/search?utf8=✓&q=GetObjectAsync
The extension method also does not appear in the VS Object Browser.
It only seems to exist in the README.

You're totally right @kiangtengl, thanks!


Integrate changelog mail in mailchimp

Background
Currently we have a manually updated mailing list for the Deploy changelog mail in Excel. This mailing list exists for 'power users' who work with the API and therefore value updates on changed/new/deleted inputs. There might be users that would also value such a changelog mail, but that we do not know of. These users in their turn do not know of the changelog mail.
Goal
Instead of a manual Excel mailing list, manage mail subscriptions to the changelog in the same way as the newsletter. We can then integrate the option of subscribing for the changelog, similar to the newsletter, in the ETM account:

[ ] Setup mailchimp for changelog mail
[ ] Integrate changelog mail option in ETM account
[ ] Refer to changelog mail option where relevant, for example in What's new and/or API docs
[ ] Add users from Excel to new mailing list

@noracato @louispt1 does this feel like a complete set of to-do's?

Before I continue with this, I wanted to check that we definitely want to go down the Mailchimp route. Currently (and in the past) we've been on a free Mailchimp plan. Now we have more than 500 contacts, they want us to pay. The Mailchimp 'newsletters' have not been sent since April 2022.
Note that the below prices are for the 500-1500 contact range. We are currently at ~950. The prices do increase slightly with more contacts.

@mabijkerk any thoughts on this?

Thanks for this @louispt1, I'll discuss it coming Monday.


chore: GHA to request reviews from gateway-reviewers

GH recommends using CODEOWNERS to automatically request reviewers on PRs.
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#about-code-owners. However the teams mentioned within the CODEOWNERS file must have WRITE access. Since this is not the case for envoyproxy/gateway-reviewers who have triage access today, this PR adds a Github Action that adds envoyproxy/gateway-reviewers as reviewers using the GH CLI whenever a PR is opened

Adapted from https://stackoverflow.com/questions/66557514/how-to-automatically-request-a-review-from-someone-using-github-actions

this is not going to work since the GH TOKEN for forks dont have enough permissions to modify the PR

looks like this can only be tested when this GHA lands on main, YOLO


Update README.rst

parse_proto doesn't seem to work with bytearray input, and the test functions show casting it to bytes, so reflecting that here.

@sei-jmattson fixed in the 2.0 release.


Files App not Working

debug.log
Description
When viewing files, I cannot see the picture preview, then I receive an error message to report this issue.
Steps To Reproduce
click on files
open pic folder
get error message
Requirements
have the files app function
Files Version
unknown, downloaded 09/07/2023 from microsoft store
Windows Version
Windows 11 Home
Log File
Unavailable

Thanks for the report, Can you give the following information

Files version. You can get it from Files Settings > About
Can you please upload (Do not copy and paste content) the debug.log file directly to GitHub (email attachments don't work) . You can get it in Files settings > About > Open log folder.
What's the error you get?
What do you mean by picture preview. Are you using the preview pane, thumbnail or something else?

Files, Version <IP_ADDRESS>

What do you mean by picture preview. Are you using the preview pane, thumbnail or something else? When I look at my pictures folder, with hundreds of blue file folders, it briefly loaded the picture preview, then immediately reverts to the blue folder icon. I need to see the picture.  Not sure if this is a setting problem, default windows setting, I am not sure.  This is a solution to view picture and vids from an external hard drive

Thumbnails are made by the default program that opens them, Files doesn't make them.

same thing, that's why I thought the app would work

Unfortunately not, you need a program that can make the thumbnails.

Refunds are handled by Microsoft you will have to look at contacting them

It sounds like a different issue, you mentioned the thumbnails show briefly before disappearing?

It sounds like a different issue, you mentioned the thumbnails show brefily before disappearing?

It was a setting or not a setting. I opened the file options in windows and
restored defaults and problem solved. Never thought to restore defaults
when I never made changes and everything looked correct.
Best Regards,
Heather
On Thu, Sep 7, 2023 at 12:12 PM Yair @.***> wrote:

Reopened #13343 https://github.com/files-community/Files/issues/13343.
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/13343#event-10309369651,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCNM27VNETFYS4B4SROMALTXZHW7FANCNFSM6AAAAAA4PC74IU
.
You are receiving this because you authored the thread.Message ID:
@.***>

That's good to hear, is everything working in Files as well?


How to download a smpl_model in the same format as your requirements?

Hi, thank you for your brilliant work!
I could not find the smpl_model in the required format at AMASS. The SMPL_python_v.1.1.0 models I found on the AMASS website that are compatible with python have the following format:
smpl/
├── models
│   └── basicmodel_f_lbs_10_207_0_v1.1.0.pkl
│   └── basicmodel_m_lbs_10_207_0_v1.1.0.pkl
│   └── basicmodel_neutral_lbs_10_207_0_v1.1.0.pkl
├── .DS_Store
├── init.py
└── smpl_webuser
└── hello_world
└── hello_smpl.py
└── render_smpl.py
└── lbs.py
└── LICENSE.txt
└── posemapper.py
└── README.txt
└── serialization.py
└── verts.py
Could you please tell me how to get the smpl_model in the format requested below?
smpl_model/
├── female
│   └── model.npz
├── info.txt
├── LICENSE.txt
├── male
│   └── model.npz
└── neutral
└── model.npz
Thank you in advance!

You can get the corresponding SMPL+H files from the official guide from AMASS.


Delay cleanup of old dartdoc-generated content

I believe that with keeping the latest two runtimes we don't need a hotfix-deploy with these two commits, and the next deploy should not have the missing content issue.


Create .py

o

H

Hola

call-me-g13:patch-1

Missed this. Did this too. Thanks for submitting. But closing as no longer relevant


Generate "problem" entry when syntax is fine but query doesn't validate against schema

While intellisense is provided during editing it there there are cases where somebody might slip in a typo or simply a field name has changed.
In these cases it would be great to generate a "problem" entry just like its already done when systax is checked.
Happy to help if you give me some pointers. Not that deep into language services.

It seems a nice feature 😄

Would love this as well!

As we couldn't live without this, we ended up using the GraphQL for vscode plugin which now provides both typeahead as well as linting in both .graphql file and gql tags.
It's a bit clunky to setup but right now its only tooling that gives you all of the above. @Quramy I'd really love to use the typescript one as right now i'm running like 5 different watchers, but sadly by design it only works with typescript files :)


Fix issue with submission sections visibility

References

Fixes https://github.com/DSpace/dspace-angular/issues/3274
Related to https://github.com/DSpace/dspace-angular/pull/3276

Description
See description here https://github.com/DSpace/dspace-angular/pull/3276
Instructions for Reviewers
See instructions here https://github.com/DSpace/dspace-angular/pull/3276
List of changes in this PR:

Exposed the missing attribute scope for the SubmissionSection object

Checklist

[x] My PR is created against the main branch of code (unless it is a backport or is fixing an issue specific to an older branch).
[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[x] My PR includes details on how to test it. I've provided clear instructions to reviewers on how to successfully test this fix or feature.
[x] If my PR includes new libraries/dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR modifies REST API endpoints, I've opened a separate REST Contract PR related to this change.
[x] If my PR includes new configurations, I've provided basic technical documentation in the PR itself.
[x] If my PR fixes an issue ticket, I've linked them together.

@atarix83 : Just a quick note, this PR also seems to include a large number of unrelated commits (34 commits in total), when only the last few seem related to this bug fix. Could you try to rebase or cleanup this PR so that is shows the proper commits? It might be that you just need to rebase on latest main.


Discrepancy between the subsln CLI and Visual Studio extension

Hi.
Thank you for SubSolution.
There seems to be a discrepancy between the behavior of the subsln CLI and the Visual Studio extension.
I've attached a set of files that can reproduce the issue.
SubSolutionTest.zip
Steps to reproduce:

Download and extract SubSolutionTest.zip to a folder called SubSolutionTest
Open a command prompt
run cd SubSolutionTest
run subsln generate Test.subsln --import-fallback --force
Notice the CLI added the projects ClassLibrary1 and Dll1 to the generated solution file, as expected.
Open the generated Test.sln in Visual Studio.
Click Preview in the message "We detected new changes to apply to your solution after generation of your .subsln file." which appear at the top of the Solution Explorer window
Notice the Visual Studio extension wants to remove the Dll1 project

I didn't expect the Visual Studio extension to want to remove the Dll1 project.
Any ideas?
Thank you.
subsln 0.5.2+5debbb70b73093b9bd6ae2c0684ff2751e29980a
SubSolution (2022) 0.5.2
Visual Studio 2022 17.2.2

Hi Rami, thank you for feedback and the test files. 😃
First, the problem here is that SubSolution silently failed to read projects because of the invalid import paths from your other issue (#4). Change the paths using $(SolutionDir) as suggested and Visual Studio plugin will behave the same as subsln.
The Visual Studio plugin is also supposed to display an error message in the Solution Explorer if the initial background generation fail in some way. (https://github.com/ReMinoer/SubSolution/blob/master/Plugins/SubSolution.VisualStudio.Shared/Watchers/OutdatedSolutionWatcher.cs#L143)
I will make sure that generation errors show an error message instead of the current message.

More about project reading:
With subsln, the option --import-fallback make it possible to read those projects despite import issues but that option doesn't exist in the Visual Studio plugin because that option is mostly used to fallback in case of missing/invalid MSBuild setup and the user is supposed to have a valid MSBuild setup in Visual Studio.
It was only fatal to the loading of the C++ project for some reason and that's why only the C++ project was removed in the preview. But I think the loading problem also silently exist for the C# project.
Also, after solving the .props import issue, you will have another import issue because of the default import made by the C++ project. You should still be able to load the project with --import-fallback but you should consider using the -msbuild option if you want to read projects the same way the VS plugin does. As I previously explained, --import-fallback is only a fallback.
You can replace --import-fallback by --msbuild "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin" in your command line if you have a standard Visual Studio 2019 install.
For your information, I'm using Microsoft.Build.Locator by default to get a MSBuild setup in subsln. But the current locator implementation only look for dotnet CLI setups by default, and not actual MSBuild executables installed by Visual Studio. So that's why subsln is able to read your C# projects but not your C++ projects without specifying a MSBuild directory path. I will try to improve that in the future, or at least make it clear in the subsln help.

With commit 777964e and version 0.6.0, generation errors will now show correctly a message box (on a generation after save) or an info bar (on background generation at solution opening). Error details can be see in the Visual Studio Output panel.
It would be even better to show the errors in the message box but I'm closing this issue since the extension now correctly show an error message to user.


NPCs which change form don't have their light sources updated

This is most noticeable in the Threatre of Blood as nylocas changing forms don't have updated light sources when they do so, but is also noticeable if a player changes the form of a pet which casts light, such as changing the color of a phoenix or metamorphising pets like the Theatre of Blood pet.
As far as I can tell, this is solveable by adding the following to the plugin itself:
@Subscribe
public void onNpcChanged(NpcChanged event)
{
	lightManager.removeNpcLight(event.getNpc());
	lightManager.addNpcLight(event.getNpc());
}

This would also require changing LightManager#removeNpcLight(NpcDespawned npcDespawned) to the following: (and changing the NpcDespawned subscriber accordingly)
public void removeNpcLight(NPC npc)
{
	sceneLights.removeIf(light -> light.npc == npc);
}

this issue was fixed here https://github.com/RS117/RLHD/pull/92


Weima (Wima) Cylinder Door #990

Hello,
Do you have an idea?
https://github.com/KiwiHC16/Abeille/issues/990

an idea?

Hello
sorry for my english which is not correct.
I wanted to say that we have opened an outlet for the tuya vima smart lock.
We are looking for help to decode what we have sniffed to date.
If you can put your intellectual contribution, we would be very happy.
cordially

i only list already confirmed devices, i do not do protocol sniffing or decoding

ok merci


Copyedits

The edits are largely fixes to typos or errors in references that should be straightforward. In a few cases, the edits suggest changes in punctuation or word choice for readability and are more discretionary.

 Gov4Git notices
On Monday, 29-Jul-24 20:39:24 UTC by Gov4Git dev
Notice jz7sff
Started managing this PR, using the Plural Management Protocol v1, as Gov4Git proposal 957 with initial approval score of 0.000000.
This project is managed by Gov4Git, a decentralized governance system for collaborative git projects.
To participate in governance, install the Gov4Git desktop app.
Notice kl6s6b
This PR's approval score is now 0.000000.
The cost of review is 0.000000.
The projected bounty is now 0.000000.
Notice kvjvf3
The set of eligible issues claimed by this PR is empty.

 Gov4Git notices
On Thursday, 01-Aug-24 18:50:16 UTC by Gov4Git dev
Notice xkkjjf
This PR's approval score is now 12.000000.
The cost of review is 144.000000.
The projected bounty is now 0.000000.
Notice nnzve6
The set of eligible issues claimed by this PR is empty.

Please address conflicts @techxorcist and you have approval.

 Gov4Git notices
On Friday, 23-Aug-24 05:53:14 UTC by Gov4Git dev
Notice 7h3bhr
This PR's approval score is now 362.000000.
The cost of review is<PHONE_NUMBER>00.
The projected bounty is now 0.000000.
Notice ng6hlb
The set of eligible issues claimed by this PR is empty.

There are conflicts that need to be resolved, but then happy to merge this.

Thank you @GlenWeyl. I have resolved the conflicts.

 Gov4Git notices
On Friday, 13-Dec-24 14:40:03 UTC by Gov4Git dev
Notice wx2z6i
This PR, managed as Gov4Git proposal 957, has been accepted 🎉
The PR approval tally was 362.000000.
No issues were claimed by this PR.
PR reviewers were rewarded:

Reviewer @glenweyl was rewarded 24.000000 credits
Reviewer @shaudub was rewarded 700.000000 credits

The cost of review of this PR was<PHONE_NUMBER>00.
A donation of<PHONE_NUMBER>00 credits from the cost of review was made to the matching fund.
PR approval tally by reviewer was:

Reviewer @glenweyl contributed 12.000000 votes
Reviewer @shaudub contributed 350.000000 votes


chore: update doc_components

Note: We want to try https://github.com/denoland/doc_components/pull/56 to see if it fixes some strange errors in production


Reorganize Settings screen

I plan on doing on work on the Settings view; try to clean up the island details (maybe pull that in to it's own view); leave the door open for any future preferences we need to integrate

Adding to that: I would love to use the info you can enter in settings screen to generate a cool card on the dashboard with an avatar (you can upload) and island name, fruits etc... So you can share it around. I might do that next.

I like that. If you don’t get to it, I will!!

Adding to that: I would love to use the info you can enter in settings screen to generate a cool card on the dashboard with an avatar (you can upload) and island name, fruits etc... So you can share it around. I might do that next.

I’ve actually got something you might like.... I will polish over the next few days


Small typo fix

Long running lower bound should be >5 seconds, not ms.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/concepts/add-in-development-best-practices.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[BUG]: Replicated PV misses the RootClientEnable parameter

Bug Description
While testing the CSM replication with PowerScale I noticed an issue with permissions (both NFSv3 & NFSv4).
It looks like after the failover on the target site (site-b) the PV is missing RootClientEnabled
Logs
See screenshots
Screenshots

Additional Environment Information
No response
Steps to Reproduce
Create replicated PV
Expected Behavior
Target PV should have RootClientEnabled attribute
CSM Driver(s)
CSM Replication v1.3.0
CSI Driver for PowerScale v2.3.0
Installation Type
No response
Container Storage Modules Enabled
No response
Container Orchestrator
Any
Operating System
Any

RootClientEnabled was added to the target PV and it is configurable via StorageClass - user can specify a different value for the target side. This was added when similar work was done for AzServiceIP in https://github.com/dell/csi-powerscale/pull/142
<SRC PV>

spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 14Gi
  claimRef:
    apiVersion: v1
    kind: PersistentVolumeClaim
    name: pvcnsl10
    namespace: nsd1
    resourceVersion: "47481543"
    uid: ffd050a7-a57f-4707-b7db-2dce887686a7
  csi:
    driver: csi-isilon.dellemc.com
    volumeAttributes:
      AccessZone: System
      AzServiceIP: 10.xx.xx.xx
      ClusterName: P1
      ID: "10527"
      Name: k8s-ffd050a7a5
      Path: /ifs/data/csi/1/csi-nsd1-10.xx.xx.xx-Five_Minutes/k8s-ffd050a7a5
      RootClientEnabled: "false"
      storage.kubernetes.io/csiProvisionerIdentity:<PHONE_NUMBER>590-8081-csi-isilon.dellemc.com
    volumeHandle: k8s-ffd050a7a5=_=_=10527=_=_=System=_=_=P1
  persistentVolumeReclaimPolicy: Delete
  storageClassName: isilon-rep
  volumeMode: Filesystem
status:
  phase: Bound

<TGT PV>

spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 14Gi
  csi:
    driver: csi-isilon.dellemc.com
    volumeAttributes:
      AccessZone: System
      AzServiceIP: 10.xx.xx.xx
      ClusterName: P2
      ID: "98792"
      Name: k8s-ffd050a7a5
      Path: /ifs/data/csi/1/csi-nsd1-10.xx.xx.xx-Five_Minutes/k8s-ffd050a7a5
      RootClientEnabled: "false"
    volumeHandle: k8s-ffd050a7a5=_=_=98792=_=_=System=_=_=P2
  persistentVolumeReclaimPolicy: Delete
  storageClassName: isilon-rep
  volumeMode: Filesystem
status:
  phase: Available


the detail of EOS p2p network protocols?

Hi,
I want to know the detail of EOS p2p network protocols,  but can't find it.    Can somebody tell me where to find it?

See plugins/net_plugin/*


main page is crashing

Hello there!
I open this issue to let you know that the nashboard.space is crashing right now...
It appears to be something related with a Netlify function, since accessing https://nashboard.space/wlvs.space returns this kind of error:

Netlify internal ID: 01GP3DADW8XGY22WE53NR910YQ

Fixed. Thanks for raising the issue.


[Bug]: plugin won't start after update to 1.5.0-71

What happened?
The plugin is not starting after update
Your configuration
No response
Relevant log output
[20:52:16.989] [Matterbridge] Added and registered bridged device (1/1) Home Lights  (MA-onofflight) for plugin matterbridge-home-assistant
file:///usr/local/lib/node_modules/matterbridge/node_modules/@project-chip/matter.js/dist/esm/device/Device.js:164
    throw new ImplementationError("createOptionalClusterServer needs to be implemented by derived classes");
          ^

ImplementationError: createOptionalClusterServer needs to be implemented by derived classes
    at MatterbridgeDevice.createOptionalClusterServer (file:///usr/local/lib/node_modules/matterbridge/node_modules/@project-chip/matter.js/dist/esm/device/Device.js:164:11)
    at MatterbridgeDevice.getClusterServer (file:///usr/local/lib/node_modules/matterbridge/node_modules/@project-chip/matter.js/dist/esm/device/Device.js:176:37)
    at get levelControlCluster [as levelControlCluster] (file:///usr/local/lib/node_modules/matterbridge-home-assistant/lib/devices/aspects/level-control-aspect.js:8:28)
    at LevelControlAspect.update (file:///usr/local/lib/node_modules/matterbridge-home-assistant/lib/devices/aspects/level-control-aspect.js:32:48)
    at LightDevice.updateState (file:///usr/local/lib/node_modules/matterbridge-home-assistant/lib/devices/home-assistant-device.js:21:26)
    at async HomeAssistantMatterAdapter.create (file:///usr/local/lib/node_modules/matterbridge-home-assistant/lib/home-assistant/home-assistant-matter-adapter.js:91:9)
    at async HomeAssistantMatterAdapter.expensiveUpdate (file:///usr/local/lib/node_modules/matterbridge-home-assistant/lib/home-assistant/home-assistant-matter-adapter.js:45:13)
    at async HomeAssistantClient.expensiveUpdate (file:///usr/local/lib/node_modules/matterbridge-home-assistant/lib/home-assistant/home-assistant-client.js:50:13)

Node.js v18.20.3
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Version
Add-on version: 1.5.0-71  You are running the latest version of this add-on.  System: Home Assistant OS 12.4  (amd64 / generic-x86-64)  Home Assistant Core: 2024.6.4  Home Assistant Supervisor: 2024.06.2

Is Home Lights a light WITHOUT brightness control?

Could you try the new bug fix release 1.5.1?

Is Home Lights a light WITHOUT brightness control?

You were right. I disabled the problematic helper and add-on starter.

Yeah it was not a problem with your light, but a bug with my latest change. I just wanted to verify the bug. Should be fixed with 1.5.1

Could you try the new bug fix release 1.5.1?

This update worked too (with problematic helper enabled)


iOS & macOS help

First, I would like to THANK YOU for this amazing repository. This is HUGE help because, if we have apps following Material You guidelines, this will help a lot to all of us as developers.
I downloaded the repository and noticed on the README.md that you are asking for help with iOS and macOS, I downloaded it locally on macOS and tried to compile it for macOS or iOS by adding the net7.0-ios;net7.0-maccatalyst to the .csproj file and I keep getting 4 errors that is preventing to run the sample app locally on iOS.

I believe you can find what our friend @jsuarezruiz did on his repository as experimental. Maybe even @jsuarezruiz can come here and provide some insights to solve the issue we are facing on iOS and macOS.
https://github.com/dotnet/Microsoft.Maui.Graphics.Controls

Thanks @yiszza for the help. I will pull latest changes and run tests locally and share the findings here 😎👍🏻

Bad news?

I am unable to run it until I implement the SplitViewer on macOS and iOS. However, I am still researching best practices to achieve that.
btw, I ran it on Android and it looks just wonderful. You did an amazing work

In fact, the controls marked as 😭needs help in the readme usually indicate that they need to work with navite controls, which is why they need help, because I can't build and test them on the ios/mac platform.
You need to create a new project, test the controls marked as 😄ready and 🤔unverified on the mac/ios platform, if they perform well and think they are valuable, you can help improve controls marked as 😭needs help or anything.
Thank you agin!👍🏻

I'm closing this issue, since I was able to compile the project and collaborate with feedback on the compatibility for iOS and macOS 👍🏻 .
Thanks @yiszza for the support again.


Malware virus

Describe the issue
This virus hack my Android phone or Gmail account. How I can fix it. ###malwarebug
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

This is not a datatracker issue.


Add "Next step recommendation" once a user wins an auction

Ideas:

"Join our Discord"
Follow us on Twitter

I think these would be good for a rec after a user creates a dao. maybe we should have the DAO external links be shown after user wins an auction. also where should these links be shown at? the winning user might not be settling the auction.


Fixed copyright headers

This fixes the copyright headers.
We have to merge the PR #8 first.

FYI - There was one more header change:
https://github.com/microsoft/FluidFramework/pull/5879
If you find that generated 'packageVersion.ts' files are reverting to the old header text, this is why.


[BUG]: 6.3.0 iOS crash at RCTVideoUtils function

Version
6.3.0
What platforms are you having the problem on?
iOS
System Version
6.3.0
On what device are you experiencing the issue?
Real device, Simulator
Architecture
Old architecture
What happened?
I faced this issue while trying to open an .mkv video file from a Url that i dont know exaclty what is extension of file given.
and App error/crashes on iOS devices/simulators.

iOS 15 -> crash directly.
iOS 17 -> not crash but got onError ->
"error": {
"code": -11829,
"localizedDescription": "Cannot Open",
"localizedFailureReason": "This media may be damaged.",
"domain": "AVFoundationErrorDomain",
"localizedRecoverySuggestion": ""
}

At file: react-native-video/ios/Video/Features/RCTVideoUtils.swift,  at line 380
Need to check the url variable =! nil

Reproduction Link
repository link
Reproduction
Here the patch i'm temporary using for avoid crash issue. while waiting for upgrade place into lastest RNVideo in future
diff --git a/ios/Video/Features/RCTVideoUtils.swift b/ios/Video/Features/RCTVideoUtils.swift
index c13c4d94031f9adf728306e8d98942ca9973ad3c..0d22b0d51ab08954b4616d61752d4eb8ca8bd315 100644
--- a/ios/Video/Features/RCTVideoUtils.swift
+++ b/ios/Video/Features/RCTVideoUtils.swift
@@ -368,9 +368,14 @@ enum RCTVideoUtils {
             }
             let cookies: [AnyObject]! = HTTPCookieStorage.shared.cookies
             assetOptions.setObject(cookies, forKey: AVURLAssetHTTPCookiesKey as NSCopying)
-            asset = AVURLAsset(url: url!, options: assetOptions as! [String: Any])
+            // asset = AVURLAsset(url: url!, options: assetOptions as! [String: Any])
+            if(url != nil) {
+                asset = AVURLAsset(url: url!, options: assetOptions as! [String: Any])
+            }
         } else {
-            asset = AVURLAsset(url: url!)
+            if(url != nil) {
+                asset = AVURLAsset(url: url!)
+            }
         }
         return (asset, assetOptions)
      }

@NguyenHoangMinhkkkk I created a PR with that change & much more fixes where ! are used: https://github.com/TheWidlarzGroup/react-native-video/pull/4182/files


Use Mutex for runtime and client

Take it or leave it, this ought to fix thread local issues.
I didn't look too much into the change in the examples/script.py timing, but this doesn't have any discernible decrease in performance, but do note that even on main branch, the timings seem out of date from what's on README.

the timings seem out of date from what's on README.

This is as measured on my home wifi, which doesn't particularly like to have loads of connections in flight :)

Ah, well that's right, it would be one instance per globally. However, from my understanding of it, the runtime itself is using one worker thread which exists inside the block of releasing the GIL so as far as being GIL-free this doesn't change anything, but if you added more worker threads then there would be contention for the runtime and/or client.

It should be using the in-thread runtime (i.e., concurrent as opposed to parallel) for the IO tasks - I picture it as working exactly like python asyncio, with which you can also in theory run an event loop in each thread. https://docs.rs/tokio/0.3.5/tokio/runtime/struct.Builder.html#method.new_current_thread


Scrollbar jumps unexpectedly when viewing instance logs

Describe the bug
https://github.com/user-attachments/assets/e2927f0f-88ae-460e-954d-365e8af5adee
Environment

GPUStack version: 0.3.0

UI version: c442a33
Test Result: pass


Support Python property / snake_case set / get

ITK uses Set* and Get* for properties on itk.LightObject.
Expose these as Python property's in Pythonic snake_case.
This can be auto-generated in igenerator.py through class method analysis, the snake_case name generator.

This is available ITK 5.


Highlighting of python operator keywords

We have the same issue as https://github.com/chriskempson/base16-vim/issues/29

That is : python operator keywords in, not, and, is and or are not highlighted. I understand that the rationale for not highlighting operator is to avoid distraction in long arithmetic expression, but those, particularly in that is part of the for … in …: construct don't look good this way.
Now base16-vim solved this issue by using the pythonOperator class provided by vim's Python highlighting, but this solution would probably not be practical in atom (especially given the current language-python/MagicPython conundrum we have right now). What we could do would be changing syntax--operator in language.less to syntax--arithmetic, which would still keep arithmetic operator lowlighted but highlight those keywords.

Thank you for digging into this and for providing a solution. Excluding only syntax--arithmetic from being highlighted looks indeed like the most sensible thing to do. I will make the change and push a new release soon.


Add Bamboots

Bamboots
Project URL
https://github.com/mmoaay/Bamboots
Category
Networking
Description
Bamboots is a network request framework based on Alamofire, aiming at making network request easier for business development.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[ ] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 2 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

736
301
https://github.com/knly/Evergreen redirects tohttps://github.com/nilsleiffischer/Evergreen

2878
404
https://www.manning.com/books/ios-development-with-swift

  Generated by :no_entry_sign: Danger

@lfarah: Request changes are done.

Thanks!


How to solve the truth rectangle problem ...

Hi,
I tried to train the dnn_mmod_ex and I got the following error. Would you please guide me to solve it?

There is too much diversity in your annotation rectangles.  Make them have a more similar aspect ratio.


genion 1.1.1 installed by conda returns version string 1.1.0

Install of genion with specific version:
mamba install genion=1.1.1 -c bioconda
installs a binary that give version string 1.1.0:
 $ ./genion -v
1.1.0

Thank you for letting me know. I forgot to update the version string, it should be 1.1.1. I will make the versioning automatic in future updates.


Deploying recent application-related changes

Merges the contents of #595, #601, #602 and #606 into deployment.

I think we should go through the usual process of testing this on staging first.
I'd also like to run a backup of the prod database before deploying these changes. The chances of things going wrong are pretty slim; but still, we need to run a migration, and there is already live applicant data on the system. It would be a disaster to lose it.

You are right. How should we do this? I'd be glad if you could do it, but I can also click through it.
Also, it has crossed my mind whether we need the staging branch for testing. Maybe it would be simpler to simply run the staging system from the development branch; that way, we only need one PR instead of two. WDYT?

How should we do this? I'd be glad if you could do it, but I can also click through it.

I think the easiest would be if I pushed up the merge commit to the staging branch. I've tested these commits locally, but it would still be interesting to check if everything works well with the production data.

Maybe it would be simpler to simply run the staging system from the development branch

I think this could work. However, this setup was @horcsinbalint's idea, so I'd love to hear his take on this.
One counterargument I could imagine is that staging contains more trustworthy code, as it ideally goes through one more round of review when development is merged into staging. Maybe if more people had permissions to merge things into development than staging, this might even make sense.
This also hasn't happened before: but if we wanted to keep the commit history clean, we could have a policy of reverting staging to a workable state, and fixing development "forward" instead.

Also, it has crossed my mind whether we need the staging branch for testing. Maybe it would be simpler to simply run the staging system from the development branch; that way, we only need one PR instead of two. WDYT?

There have been a discussion on it in #556 as well

I think the easiest would be if I pushed up the merge commit to the staging branch. I've tested these commits locally, but it would still be interesting to check if everything works well with the production data.

That's fine:) could you try it?

One counterargument I could imagine is that staging contains more trustworthy code, as it ideally goes through one more round of review when development is merged into staging. Maybe if more people had permissions to merge things into development than staging, this might even make sense.

We should then define what qualifies for being merged into staging from development; do you have any ideas for this? Also, we would need a mechanism for bug fixes that have to be deployed urgently.
But I think it is easier to simply use only one step.

@horcsinbalint now I see what you've written in #556... what if we retained the staging branch but opened no separate PRs for it? That way, we could use that tag flexibly and test/try things, while still keeping the development branch clean.

@horcsinbalint now I see what you've written in #556... what if we retained the staging branch but opened no separate PRs for it? That way, we could use that tag flexibly and test/try things, while still keeping the development branch clean.

I stopped creating PRs for them except for cases where I did not agree with the contents of the changes:

cba8418a68003b0c6bd3144ba6fa383269c30280
e8ba4b0fa867f3d20ff842f5bc751a4daa93dbb6
04a9faa185257e22df24aadc77826771ba12f94c
313ccdd97ce922c99d6528e1f122cd3da7905981
8fa66258682de45a0705af71c05190a3f14b8d04
c09cb2a86fd480fcd1b68d17fab2570d03be2b31

I see; it’s fine for me then:) what annoyed me was the two-stage PR process. But if we don’t do separate PRs for staging, it is fine.

The backup is done. Everything looks okay according to my local testing. will push to deployment manually.


Short solution needed: "Breast cancer dataset" (python-scikit-learn)

Please help us write most modern and shortest code solution for this issue:
Breast cancer dataset (technology: python-scikit-learn)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

Load Boston housing dataset


Lexical kg-cards missing on website after ghost update with zip

Issue Summary
I updated my custom Ghost to version 5.71.2.
It runs fine in development via yarn dev, but upgrading the 5.70 docker with an .tgz file from yarn archive brings up some problems.
When editing existing posts (mobiledoc) and saving them with the new editor (lexical) ALL images and other kg-cards will not show up anymore on the website of this post.
There is not a single error in webconsole or docker-compose logs -f during/saving editing or while upgrading ghost.
When running the original 5.71 docker image or yarn dev everything runs fine without this issue.
~Looking into the sqlite database, I'll found that the lexical code is complete with the image.~
So it seems like an update problem, that I cant narrow down without some help.
Any idea how to fix this?
Steps to Reproduce

create the following DOCKERFILE

FROM ghost:5.71.0-alpine
WORKDIR /var/lib/ghost
COPY ./ghost-5.71.2.tgz /var/lib
RUN apk add --no-cache git
USER node
RUN yarn --version
RUN yarn cache clean
RUN rm -rf node_modules
RUN yarn
RUN chmod -R 00775 /var/lib/ghost/content &&\
    ghost update --force --zip /var/lib/ghost-5.71.2.tgz
RUN chmod -R 00775 /var/lib/ghost/content

create the docker-compose.yml

version: '3.1'

services:

  lfg-ghost:
    build: .
    container_name: lfg-ghost
    restart: always
    ports:
      - 2368:2368
    volumes:
      -  ./content:/var/lib/ghost/content
      -  ./.env:/var/lib/ghost/.env
    environment:
      NODE_ENV: development
      database__client: sqlite3
      database__connection__filename: /var/lib/ghost/content/data/ghost.db
      url:
      mail__transport: SMTP
      mail__from:
      mail__options__service: SMTP
      mail__options__host:
      mail__options__port: 587
      mail__options__auth__user:
      mail__options__auth__pass:

Download the release file from here
run sudo docker-compose build, sudo docker-compose up -d

Ghost Version
5.71.2
Node.js Version
18
How did you install Ghost?
docker-compose
Database type
SQLite3
Browser & OS version
Win 11/Ubuntu 20/Chrome/Firefox/Edge
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

An example from the website I'm running (lyonel-feininger-gymnasium.de):
It looks like this in the editor

and lik ethis on the website

As you can see, the snow picture is nowhere to be seen.

Ok, I've got some more information:
I looked into the db and found that the images are against my previous claims in fact are NOT present in the lexical field of the post
Here is the code snippet from the working original docker version
 receive emails when new content is publishrfed!

<img src="__GHOST_URL__/content/images/2023/11/Screenshot-2023-11-11-at-18-42-13-Studienfahrt-nach-Gillingham--Kent-GB--der-9.-Klassen.png" class="kg-image" alt="" loading="lazy" width="1920" height="673" srcset="__GHOST_URL__/content/images/size/w600/2023/11/Screenshot-2023-11-11-at-18-42-13-Studienfahrt-nach-Gillingham--Kent-GB--der-9.-Klassen.png 600w, __GHOST_URL__/content/images/size/w1000/2023/11/Screenshot-2023-11-11-at-18-42-13-Studienfahrt-nach-Gillingham--Kent-GB--der-9.-Klassen.png 1000w, __GHOST_URL__/content/images/size/w1600/2023/11/Screenshot-2023-11-11-at-18-42-13-Studienfahrt-nach-Gillingham--Kent-GB--der-9.-Klassen.png 1600w, __GHOST_URL__/content/images/2023/11/Screenshot-2023-11-11-at-18-42-13-Studienfahrt-nach-Gillingham--Kent-GB--der-9.-Klassen.png 1920w" sizes="(min-width: 720px) 720px">

And here the one I'm getting with my updated version inside docker
 receive emails when new content is publishrfed!

Now the question where does this go wrong?

Another Update:
I downloaded the original source files from 5.71.2 build them to an archive with yarn archive and used the resulting .tgz (attached) to update the ghost 5.71.0-alpine docker.
Result:
The problem is still occuring the same way as before :(
So it seems like in the build or update process the reference to the js for the kg-cards/nodes goes missing.
I will attach some log info below, where the missing functions/attr are named:
-

Something in the build system is broken. I build my docker instance similar to how you do it, and since 5.71.0, at least, I get two kg-default-nodes modules, one in ghost/node_modules/@tryghost/ and one in ghost/ghost/core/node_modules/@tryghost. Removing ghost/ghost/core/node_modules fixes the issue.
The duplicate module import creates two definitions of KoenigDecoratorNode. This causes the instanceof test in $isKoenigCard to fail, which causes exportTopLevelElementOrDecorator to fail on elements where $isKoenigCard should return true but returns false (Images and Cards, at least).
I know very little about Ghost's build system, but someone with more knowledge than me should be able to fix this fairly quickly.
The official images do not exhibit this problem. They may be building ghost differently.

Wow great! Thanks @sergiosgc
That will solve the issue till a fix is implemented.
Looks like kg-default-nodes is imported here "@tryghost/kg-default-nodes": "0.2.9", in the ghost/core/package.json
and
here const {DEFAULT_NODES} = require('@tryghost/kg-default-nodes'); in the ghost/core/core/server/lib/lexical.js
When I delete the line in the package.json and build, everything works as expected.
Maybe this could be a valid fix?

This problem seems to impact Ghost(Pro) subscribers as well. I have a JavaScript code that uses the Admin API JavaScript Client that updates the content of one post. It used to work but now isn't working. I am seeing no errors. The post history shows that it is being updated but the content isn't changing. If I recall correctly, the source for the blog post used to show that it uses a markdown card. Now, I don't see a markdown class in the post's source.
I tried troubleshooting the code for several hours with the help of Bing AI to no avail. I agree, partially, with its observation:

The issue affects the mobiledoc format for posts, which is used by the Ghost API. The mobiledoc format is a JSON document that defines the structure and content of a post using cards, atoms, and markups. The problem is that the Ghost API is not creating the cards correctly, resulting in empty or corrupted posts.

I think the problem is that the API isn't creating the cards, so my post's history shows it is being updated but the Markdown card inside the post isn't changing.

This should be fixed now!


Code reformatting

Hi, I have a dozen of changes that I can contribute to the project:

charts
HLS camera streaming
more tiles (icon, weather_icon, service, sensor_chart, camera_stream, door_entry_stream)
better error handling
additional features
icon notifications on screensaver
more "modes" for styling in different environments (desktop, tablet, mobile)
and more...

But one thing that keeps me from PRs is poor code formatting in JS and HTML. This commit unifies all JS code formatting.

Sorry, but this will likely never go through. Style for this project is different and it doesn't make sense to force anyone's personal style because then every other person would try to change it. I think you would need to rather just follow the project's style.
What makes sense is creating an eslint configuration in this project to enforce rules that would follow the current style. Unfortunately this project is not an npm project so it makes things difficult in that respect. Otherwise it would be easy to create lint script and commit hooks that would guard proper style.

Also, it's generally not a good idea to reformat vendor scripts.

True, vendors shall not be reformatted.


Delay removing iframe to fix renderer crash

Signed-off-by: Sebastian Malton<EMAIL_ADDRESS>

There's still an issue with connection races but the renderer process is not getting killed anymore.
https://user-images.githubusercontent.com/40840436/212776927-4bc55eab-c270-414b-8467-7b902b341a6e.mov
Plus the context menu doesn't always come up right away, or respond right away.

What kind of renderer crash it fixes? This one https://github.com/lensapp/lens/issues/6934?

@aleksfront Yes


Child $stateParams empty object in state.resolve 1.0

Version: 1.0.0-alpha.4

Plunker
Related post on StackOverflow

The plunker example demonstrates similar state tree as I currently have in my application. The problem is when transitioning from home.list to home.foo.bar({ id: 1 }). The abstract state home.foo resolve shows correctly $stateParams = { id: 1} but the child state home.foo.bar shows only empty object.
Furthermore, $state.params is also empty object BUT shows correctly after the resolve block is completed. The value is bind to the view in the Plunker example.

I suggest using $transition$.params().  We may be deprecating $stateParams because of how confusing it is.

$stateParams is a global angular1 service which has the current committed state parameters
However, when injected into a controller or resolve, $stateParams is a different object.

Has state parameters for the pending transition
Limited to only those parameters defined on the state being injected

$state.params and the global $stateParams service ares updated after the transition completes.  During the transition (when resolves are being fetched, etc), these values still reflect the previous transition's parameters.

This is indeed a regression from 0.2.18, but I'm confused about 0.2.18's behavior. I don't think $stateParams  in home.foo.bar should have the :id parameter from home.foo.  Will look into it.
I think we will want to change the transition's $stateParams injectable to be the current value of $transition$.params().  Then, all states will get all the params for the transition.

Closed by 8b961fcda8c47d70066bdb049a3d2fa08675dd27
$stateParams as injected into a controller is now an alias for Transition.params(), so it will receive all of the current transition's parameter values.


twister: Allow sharing hardware platform between variants

Extended hardware map to share a single board between variants. To run tests for different variants on the same board without re-configuring the hardware map file for each variant, one can extend the platform attribute with board names separated by spaces or use platform as a list.
Generate hardware map:
${ZEPHYR_BASE}/scripts/twister --generate-hardware-map hardware_map.yml
Update platform with two variants you want to use:
- connected: true
  id: '001050076605'
  platform: nrf5340dk/nrf5340/cpuapp nrf5340dk/nrf5340/cpuapp/ns
  product: J-Link
  runner: nrfjprog
  serial: /dev/ttyACM1

Run tests:
./scripts/twister -T samples/hello_world --device-testing --hardware-map hardware_map.yml --west-flash=--recover -vv --no-clean -ll debug
DEBUG   - platform filter: ['nrf5340dk/nrf5340/cpuapp', 'nrf5340dk/nrf5340/cpuapp/ns']
...
| Board                       |           ID |   Counter |   Failures |
|-----------------------------|--------------|-----------|------------|
| nrf5340dk/nrf5340/cpuapp    |<PHONE_NUMBER>05 |         1 |          0 |
| nrf5340dk/nrf5340/cpuapp/ns |<PHONE_NUMBER>05 |         1 |          0 |

When test is run on a selected board, then all DUTs with same id are locked.

@gchwier this would be a problem, if we add pre_script/post_scripts, we need know the platform, so we need pass the platform name to the scripts as well?

@gchwier this would be a problem, if we add pre_script/post_scripts, we need know the platform, so we need pass the platform name to the scripts as well?

It will work with PR #81389
because a separate DUT instance is created for every platform.
If you plan to rework your PR to pass parameters to pre-script directly from hardware map yaml file, you can still use separate entries for every variants (as it works now, this change is backward compatible)


Print Out Button

Value Proposition
As a user
i want to have an Print Out button
so i can print out my invoice

Acceptance Criteria
(describe every scenario in detail)

[ ] after pressing the print out button, the invoice will be printed out localy on your printer.

Tasks
(for developers team)

[ ] create a print out button
[ ] add a print out function (window.print) to the print out-button (inside the code).

Hi Mate,
nothing to complain! ;-)
You rock! 🪨


Cloudlfare UAM fails - possibly requires QUIC

Can't bypass UAM page. (example: admin.kingblue.xyz)
From initial research, it looks like there's a QUIC conversation taking over. I don't know if that's what they're looking for, or something else, but it seems to be causing this to not work.

Worked through issue on discord.


Consider using one server "to rule them all"

Why do we need separate servers for hot-reload and serving app? Why don't just use one for both tasks?
Have a look at this example.

Because if you make changes to the real server which causes it to be re-run (through nodemon) will break hot-reloading so you have to reload the browser everytime you do a server change.

Did you take a look at the example provided? In this example nodemon is not used. Server reloading is performed by clearing cache and re-requiring modules.

See, https://github.com/este/este/pull/475 for a similar discussion.

I don't really see the point. You still need a production server and then you end up with either code duplication or messy isProduction checks everywhere.

Thank you @ronag for answers. Yes, I don't see any advantage of replacing what we have.

@ronag Yeah, thank you for the answers. Actually it was a request from our DevOp guy. He faced some troubles while deploying the app on our staging server, where we have docker, some proxy stuff and we also need hot reloading there) For the most cases your solution is much better.

App should be deployed in production mode to your staging server, so you don't need two servers. It's just for development.

@steida we have very specific needs) This is not our production server. We need hot reload there) Because our marketing team can edit some static pages with built-in editor and after saving this changes everybody should see the result) Something like this.


Mock testcase and Use the new JSON.toJSONString(...) in provider

1 Commit FastJsonHttpMessageConverter mock testcase.
2 Use the new JSON.toJSONString(...) in FastJsonProvider.

testcase failed.

It's succeed in my environment, Why failed?


Error in pubspec.yaml: Unexpected child "asserts" found under "flutter"

Using Flutter, I get the following error message when building:
Error detected in pubspec.yaml:
Unexpected child "asserts" found under "flutter".
What is there to change in order to get rid of this error message ?
Here is my pubspec.yaml file:
pubspec.txt
Here is my flutter doctor -v log:
flutter doctor -v.txt

@ron-don
Used your pubspec.yaml as-is, in a sample app and flutter pub get was run without any issues:
/Users/dhs/Documents/Fluttersdk/flutter/bin/flutter --no-color pub get
Running "flutter pub get" in macbug...                              3.3s
Process finished with exit code 0

 pubspec.yaml
name: prisons
description: PMS

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  intl: ^0.17.0
  http: 0.12.1
  flutter_staggered_grid_view: ^0.3.0
  data_tables: ^1.0.1
  get_it: ^2.0.1
  modal_progress_hud: ^0.1.3
  flutter_form_builder: ^5.0.0
  file_picker: 1.4.2
  path_provider: ^1.4.5
  fit_image: ^0.1.2
  flutter_typeahead: ^3.1.0
  flutter_keyboard_visibility:
  url_launcher: ^6.0.3

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  image_picker: ^0.6.1+4
  image_cropper: 1.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter
# For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  assets:
    - images/uploadPerson.png
    - images/fingerprintUpload.png
    - images/prisonModule.png
    - images/PrisonImage.jpg
    - images/cameraButton.png
    - images/uploadButton.png
    - images/registration_screen.png
    - images/logo.png
    - images/leftFaceIcon.png
    - images/rightFaceIcon.png
  #  - images/a_dot_burr.jpeg
  #  - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  #  fonts:
  #    - family: MyFlutterApp
  #      fonts:
  #        - asset: assets/fonts/MyFlutterApp.ttf
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages
flutter_icons:
  android: "launcher_icon"
  ios: false
  image_path: "images/logo.png"

Double check your pubspec.yaml to see if there are any indentation or typos which could be throwing the issue at your end.

HI @darshankawar, thanks for the reply. I have crossed checked the 'pubspec.yaml' file a couple of times and it seems okay.
Is there another file I can send you to check?

Let me add a screenshot just incase :)

Looking at the error, it seems to be pointing to flutter_keyboard_visibility plugin which is 3rd party. Please open this issue in dedicated repo: https://github.com/MisterJimson/flutter_keyboard_visibility/issues
Closing from here since it's not a framework issue.


Use cargo reference manifest section order

In #131 I added a check that ensures that the section in Cargo.toml (and there values) are in a specific order. I invented the order quite randomly, in the order which I thought might be useful.
This PR changes the order to be the same as in Cargo's reference about The Manifest Format. Also some missing softlinks were added.

I don't think the order matters much but at least now it's more beautiful. :laughing:


SPIKE: Rich text editor

Background Info
It was decided that building our own WYSIWYG editor is not the way we want to go. So we want this spike to determine the best way to include a WYSIWYG editor with our Text Area component.
Acceptance Criteria

Investigate currently used options

CIDOS (talk to Rianna)

Investigate custom extensions

Early Childhood Educator approval (talk to Mike Schuck / Aaron Heinrich)
Program Review Licensing (talk to Mike Schuck / Aaron Heinrich)
Simon Pomeransky
Alex Raboud
Reach out on ddd_fullstackdevelopment and design-system-support

Pay special attention to accessibility (issues and how it works)
Pay attention to licensing of the various options
Can it be customized for visual appearance (ie. can we make it look like our stuff)
Is it receiving regular updates vs. is it deprecated
React and Angular support (works for both? or only one?)

Output
List of possible options with pros and cons for each, and a recommendation.

Is your feature request related to a problem? Please describe
A few different ministry design teams have created in Figma/code (or used a plugin) the standard rich text editor tool (patterns) like Headings, Bold, Italics, Bullets, Links, etc. As this functionality is used more in our service we are hoping to add these patterns/components and usage guidelines to the Design System.
Describe the solution you'd like
Here are two areas I've seen the rich text editor used:
Notebook component on CIDOS.
Please see Rianna Alizadeh for more details.
https://www.figma.com/file/l69iSkWTKueJXSqJ3XBzXh/CIDOS-Take-Call?type=design&node-id=10963-245509&mode=design&t=PGWIkV2TmfAPq9u0-4
Early Childhood Educator approval letter in Certification
(see attached screenshot)

Program Review CCDS Licensing
Looking to add it to the Program Review
https://goa-dio.atlassian.net/browse/CLIC-731
In combing through the Design System slack thread on this component, it appears Front End Benji Franck may have also created these components.
Provide evidence this is a needed component
From initial information gathering it looks like three teams have created these patterns in Figma > Production, while other teams use plugins.
Describe alternatives you've considered
From initial information gathering it looks like three teams have created these patterns in Figma > Production, while other teams use plugins.
Do you have anything already created for this that we can use?
yes
Are you currently using this proposal inside your own service
no
Are you able to assist to bring the feature to reality?
yes
Additional context
Please reach out to myself (Mike Schuck) if more information is needed. As other designers share their experience with designing rich text editor components I can update this request. Cheers

Hello,
In reference to the CIDOS (CPI) Notebook, we are currently using CKEditor5, which is costly.
In regards to need, we currently have 3 applications that would make use of a rich text component:

CIDOS CPI
CIDOS ISC
CIDOS IRC

IRC in particular would like the ability to paste formatted text from a word doc and retain all formatting.

Short video demo of SCSS Case management comments feature using Quill rich text editor.


pg_search_scope on multi tenant db

Hello, i'm using a a quite simple scope on a Spree::Product class:
pg_search_scope :custom_pg_search, using: { tsearch: { dictionary: :italian } }

On a multi tenant db, with the spree_products table on the public schema, i get invalid queries because, on the query, the table pg_search_spree_products becomes pg_search_public.spree_products.
i think it should be pg_search_public_spree_products...
PG::SyntaxError: ERROR:  syntax error at or near "."
LINE 1: ...', ''' ' || 'cream' || ' '''))))) pg_search_public.spree_products...

Any hint on how to look to fix this?
Thanks!

This actually works on 1.0.5 and master, i was on 1.0.4.