New Theme : Somrat

Theme submission
Please make sure that you have read the theme submission guidelines before submitting a theme. The guidelines provide all relevant information and requirements that have to be fulfilled before the submission. Please tick the relevant boxes for your theme in the checklist below:
Link to my theme repository: https://github.com/Somrat37/somrat.git
I made sure that...

[x] the repository contains a good README.md describing my theme
[x] an open source license has been added to LICENSE.md
[x] all metadata have been added to theme.toml
[x] screenshots have been added in the images/ folder with the required dimensions
[x] in case I'm using a customized demo via the exampleSite folder that

[x] https://example.com is set as base url in exampleSite/config.{toml, yaml, json} to avoid the abuse of unused domains
[x] I tested that my theme's demo works with the content directory of gohugoio/HugoBasicExample

[x] I tested my theme against the gohugoio/HugoBasicExample

[x] I've checked the developer tools' console in my browser for error messages

[x] in case my theme is using Hugo Pipes features like toCSS and PostCSS that I have committed the /resources directory with all generated assets, for my theme to work in the basic version of Hugo

N.B. By submitting a theme to the Hugo Themes Showcase you understand that you need to maintain your theme. You will need to keep an eye on whether your theme's demo generates on the Hugo website, whenever there is a new release. We are a very small team and we just cannot keep up opening issues in the various theme repositories to notify authors. Whenever a theme demo breaks and remains broken then at some point it will be removed from the list without prior warning. If you no longer wish to maintain a theme please let us know.
Feel free to ask questions. We're glad to help.

Hello @Somrat37
Thank you for the theme submission. Before going further you need to look into the following:

As mentioned in the README of the repository you need to provide generic content that is as neutral as possible in the theme's exampleSite. The provided photos in the demo seem to be your own portraits. This is fine for your personal website but not for an open source theme demo. So unless you are willing to open source your likeness (that I do not recommend) please provide generic stock images. One source for generic and open source stock images is https://unsplash.com but there are many others that can be found with a simple search.

The theme's README is reminiscent of the one provided for Themefisher themes. I recommend that you write your own README. Keep it simple. Provide a one line description of the theme and a list of its features. There is no need to use a banner for Forestry etc.

Please eliminate the references to Themefisher in your theme's files: https://github.com/Somrat37/somrat/search?q=themefisher&unscoped_q=themefisher

You need to enter your name in the theme's LICENSE

cc: @digitalcraftsman

@onedrawingperday
Thanks for your feedback, I made all the changes and make a push. can you please check it again?

@Somrat37
Thank you for making the requested changes. I have added your theme to the repo on  d92f028

@digitalcraftsman
This is a single page portfolio theme.

@Somrat37 I've promoted your theme on Hugo's official Twitter account.


Executing JS from Dioxus doesn't yield the same result as from browser console.

Problem
Executing java-script through dioxus doesn't produce the correct expected result.

I am trying to do the following:
 // Dioxus component
 // ...
    let oninput = move |e: Event<FormData>| {
        let res = execute_js(&cx, "var ot=window.getSelection().baseNode.parentElement.offsetTop; dioxus.send(ot); console.log(ot);");
        println!("{:?}", res);
        println!("oninput data value: {:?}", e.data.value);
    };

This JS code should return an offset from the top of an element.
Steps To Reproduce
Expected behavior
Both results from dioxus.send(...) and the browser console should match.
Preview

Environment:

Dioxus version: 0.4.1
Rust version: 1.76.0
OS info: Window 10
App platform: desktop

Questionnaire

[x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

Issue was from my side not calling .restart(...) on the use_future hook. However, I still don't understand why the first value is always None on Dioxus side

A small wrapper to run js
// handy utility method to execute js
pub fn execute_js<'a, T>(cx: &'a Scope<'a, T>, js_code: &str) -> Option<&'a Value> {
    // Use eval returns a function that can spawn eval instances
    let create_eval = use_eval(cx);

    // You can create as many eval instances as you want
    let eval = create_eval(js_code).unwrap();

    let future = use_future(cx, (), |_| {
        to_owned![eval];
        async move {
            // You can receive any message from JavaScript with the recv method
            eval.recv().await.unwrap()
        }
    });

    future.restart();

    future.value()
}

You can't use hooks inside of event handlers, or any code that runs conditionally. It violates the rules of hooks

What's the recommended way of having an entity which you can throw some js commands to it and get the result?
I tried the following as well:
pub fn TArea(cx: Scope<TAreaProps>) -> Element {
// .. Component
    let create_eval = use_eval(cx);
    let eval = use_state(cx, || create_eval("").unwrap());
    let future = use_future(cx, (), |_| {
        to_owned![eval];
        async move {
            eval.recv().await.unwrap()
        }
    });

    let oninput = move |e: Event<FormData>| {
        eval.set(create_eval(GET_INITIAL_EDITABLE_AREA_OFFSET_TOP_LEFT).unwrap());
        future.restart();
        let res = future.value();
    }
    // ... rest

This gives a similar behaviour with the first value being always None on Dioxus side

calling .value() on a future will get the current value of the future. I think in 0.4.1, futures are not polled until the end of the render, so it will at least resolve to None once.
If you want to get a value immediately without a future, you can manually create a function with js-sys. The eval API in dioxus is cross platform and some platforms require all results to be async

Exactly, if you need to target anything more than web, the API needs to be async which means the future will be None before it is resolved


Bug in version release date

I randomly stumbled upon this app that shows last version as released over 52 years ago

PS: thanks for all your work +1

I fear, that this happens outside of the websites code, will have to follow up with @barthalion on this one

The appdata file should use date instead of timestamp.
    <releases>
        <release version="1.0.3" timestamp="2021-11-15"/>
        <release version="1.0.2" timestamp="2021-06-06"/>
        <release version="1.0.1" timestamp="2020-08-09"/>
        <release version="1.0.0" timestamp="2020-08-09"/>
    </releases>

I guess we should either this on the backend end somehow, given we just copy attributes right now:
        if releases is not None:
            app["releases"] = []
            for rel in releases:
                attrs = {}
                for attr in rel.attrib:
                    attrs[attr] = rel.attrib[attr]

…and avoid displaying the date at all if that attribute is missing.

The Appstream of this program contains a Misstake. The uses timestamp instead of Date. Timestamp is the number of seconds since 1970. I already filled a Bug on libappstream, so this can be blocked after the switch to libappstream.

…and avoid displaying the date at all if that attribute is missing.

The date tag gets converted to a Timestamp, so I guess it would be better to check if Timestamp is somewhere in the 70s.

Now the app is gone from the website? Both the old and new one?


Add basic supporting scripts for new python package in base directory

estimate 1
Parent story: #1885

Done criteria:

A branch exists based on geopm-service that provides basic scripting for new package
Name has been selected for new package, geopmctlpy?

WIP branch is here:
https://github.com/cmcantalupo/geopm/tree/issue-1886


baetyl-1223: Add cron for get list

Codecov Report

Merging #354 (243049d) into master (54073d5) will increase coverage by 0.08%.
The diff coverage is 100.00%.

:exclamation: Current head 243049d differs from pull request most recent head aa42c36. Consider uploading reports for the commit aa42c36 to get more accurate results

@@            Coverage Diff             @@
##           master     #354      +/-   ##
==========================================
+ Coverage   65.32%   65.41%   +0.08%
==========================================
  Files          94       94
  Lines        6423     6427       +4
==========================================
+ Hits         4196     4204       +8
+ Misses       1630     1627       -3
+ Partials      597      596       -1

Impacted Files
Coverage Δ

api/application.go
72.85% <100.00%> (+0.12%)
:arrow_up:

api/secret.go
70.90% <100.00%> (+0.53%)
:arrow_up:

server/mis_server.go
72.13% <0.00%> (+3.27%)
:arrow_up:

plugin/link/httplink/httplink.go
71.42% <0.00%> (+3.57%)
:arrow_up:

Continue to review full report at Codecov.

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


Doc resource refactor

Source: https://github.com/edelight/chef-mongodb/pull/307

I'm going to close this one, but keep the branch open as we'll probably want to use something similar to this code in the custom_resource rewrite.


cannot click backbutton

please allow back button

back button please

yeah, I have the same problem on android, I can't connect the back button to close the gallery. Did anyone solve this somehow?

I use renderHeaderComponent props with an icon which help me to close
` renderHeaderComponent={(_image , currentIndex) => (
<SafeAreaView style={{flex:1, flexDirection: 'row', justifyContent: 'flex-end'}}>
      {/* <Text style={styles.text}>Share</Text> */}
      <IconButton icon={'close'} color='red' onPress={closeGallery}/>

  </SafeAreaView>

)`

+1


Does this plugin support Spring Boot project?

I use this plugin in a Spring Boot project, and I got below errors:
[ERROR] Unable to get methods - skipping class class com.***Controller
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at com.fasterxml.jackson.databind.introspect.AnnotatedClass._findClassMethods(AnnotatedClass.java:1195)
.....

Hi
Thanks for reaching us.
IIRC, this stack trace is coming from Jackson but it shouldn't have high impact.
Can you please provide small example so we can take a look?
And yes, this plugin supports Spring Boot :)

Sorry, maybe it's due to my wrong usage. The cause of the exception is that there is a method which return ModelAndView instead of RESTFUL API in my controller class, when i removed the method, everything is OK.

Yes, you're right - having ModelAndView will cause the stack trace to occur.
However, MVC paradigm does not fit in REST world so I see this issue as a minor one.
What you can do in case you're stuck with ModelAndView in certain controller is to exclude it from raml generation with ignoredList parameter - https://github.com/phoenixnap/springmvc-raml-plugin/tree/master/springmvc-raml-plugin#ignoredlist


Fix adding empty Array of operations

This part of the code was unreachable and a request was issued with no operations.
Rejecting the promise seems unnatural.

Spotted https://github.com/craft-ai/craft-ai-client-js/issues/102 while working on this.


Fix some typos in Updating.md

Dear Airflow maintainers,
Please accept this PR, it addresses some small typos

Codecov Report

Merging #2474 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2474   +/-   ##
=======================================
  Coverage   73.43%   73.43%
=======================================
  Files         158      158
  Lines       11958    11958
=======================================
  Hits         8781     8781
  Misses       3177     3177

Continue to review full report at Codecov.

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


requirements.txt not needed

requirements.txt is not needed, as pip should be pulling from setup.py's requirements, if I'm told correctly. And local developers are using the Pipfile.

Fixed


Recaptcha (and therefore signup) is not yet working on the brand new server

To Reproduce
Steps to reproduce the behavior:

Visit https://near-academy-frontend-tfyr.onrender.com/
Click on 'Sign up'
Try to sign up as a new user (with a username starting with "test_")
See error in Chrome developer tools {"error":"Wrong re-captcha token"} (and also a toast error about it)

Desktop (please complete the following information):

OS: Mac
Browser: Chrome

Additional context
See also https://github.com/NEAR-Edu/near.academy/issues/17#issuecomment-1054525685

@oceanByte I made some progress but still haven't gotten signup working.
I'm pretty sure I needed to set up our own Google reCAPTCHA v3 for our onrender domain.
So I did this at https://www.google.com/recaptcha/admin/site/514289692/settings:

And I put the site key into the REACT_APP_RECAPTCHA_SITE_KEY of the frontend .env and the secret in the RECAPTCHA_SECRET_KEY of the API project .env and redeployed each.
(See https://github.com/NEAR-Edu/near.academy/commit/020915e1ce112ca2f175f252ca96db5a13c7845f)
But still, when I try to sign up at https://near-academy-frontend-tfyr.onrender.com/, I get error:

{"error":"Wrong re-captcha token"}

If you have suggestions about what to explore, I'd appreciate them.
Also interesting: https://near-academy-frontend-tfyr.onrender.com/sign-up (if I visit it directly) shows Not Found but if I visit https://near-academy-frontend-tfyr.onrender.com and then click Sign Up, the page loads fine. That direct route works fine at https://near.academy/sign-up (on your old server). I'm not sure yet what the root cause is.

Ahh, in the env variables at:
https://dashboard.render.com/static/srv-c8eg854objd6b711pkcg/env
https://dashboard.render.com/web/srv-c81d23rvog4kd0lhrqrg/env
I just changed the URLs to point to each other at the onrender domains rather than the production domains.
Then signup worked. I signed up as test_newRenderFE.  Apparently the username then got stored as lowercase, so searching for {username:"test_newrenderfe"} at https://cloud.mongodb.com/v2/6202c6f76dc24766a87e17e3#metrics/replicaSet/6214f248b64d8728415f1b40/explorer/nearacademy/users/find found my user. 👏
And then I changed those env values back to use the production domain (https://near.academy and https://api.near.academy) to be ready for https://github.com/NEAR-Edu/near.academy/issues/17.


minor edits

Some of these are opinionated; e.g. PDEs v. PDE's for the plural.

I couldn't find the Hannukainen & Juntunen preprint and the URL seems garbled.  Classic BiBTeX problem!

I couldn't find the Hannukainen & Juntunen preprint and the URL seems garbled. Classic BiBTeX problem!

Yes, I actually contacted one of the authors due to link rot and asked them to upload to arXiv or something which can be cited. I'll send you email.


Sprites aren't exporting

Before you say just use AssetStudio Gui that's what I normally use but it's having some trouble with the sprites
As you can see the program does see the sprites no issue it doesn't extract them only the Texture2D file and that's just a giant sprite sheet

Ripper extract sprites for Unity engine. You can inspect individual sprites in unity after export is done.


Missing setting on Identity Binding for Service Bus Trigger example

Under "Connect to Service Bus in your function app", when creating the service bus settings, it mentions two but only shows one.
Also the note for that setting doesn't scan:
"This setting connections your function app to the Service Bus use identity-based connections instead of secrets."

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

ID: 6bea1026-35d3-a51f-6161-01aa0cc245a4
Version Independent ID: 8f084907-67d6-c2a6-69a4-7a8c8aaa0ba0
Content: Use identity-based connections with Azure Functions triggers and bindings
Content Source: articles/azure-functions/functions-identity-based-connections-tutorial-2.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thanks for the feedback! We will review and get back to you shortly.

Thanks for the feedback! I have assigned the issue to the doc author to update appropriately.


Lab8 Test6_1

Summary
Is anyone facing the same test case issues as me? I was able to pass the other test cases for back() except for this but I can't figure out what is wrong. I was able to pass all the test cases in the task.

yo, u nid to change the insetion of the sword in back()

Hi, I actually faced exactly the same issue before. For test case 37 to 38, you need to change the insertion order of the sword in back() as mentioned by @Swagston20. Not sure if you are making the same mistake as I do but for test case 54 to 62, make sure after you take the sword from room A to B, the sword in room A will be taken by you. This means that if you drop your sword in room B and went back to room A, the sword will not exist in room A when you go back. For the last one, its just that when you create a room without a "previous room", you return the room when calling back(). (take note on your ticking manipulation) Hope this helps!

Not sure if you are making the same mistake as I do but for test case 54 to 62, make sure after you take the sword from room A to B, the sword in room A will be taken by you. This means that if you drop your sword in room B and went back to room A, the sword will not exist in room A when you go back. For the last one, its just that when you create a room without a "previous room", you return the room when calling back().

hello! i'm stuck on this part as well.

How should I remove the sword from the room A while returning B? I'm not sure how to go about updating both rooms simultaneously? Currently whether the sword is on hand is indicated by a boolean variable within the Room, and I'm not sure how to update room A's while moving to room B. Thanks!

hello! im stuck on this part as well :((( not sure if anyone knows how to fix this :(

Not sure if you are making the same mistake as I do but for test case 54 to 62, make sure after you take the sword from room A to B, the sword in room A will be taken by you. This means that if you drop your sword in room B and went back to room A, the sword will not exist in room A when you go back. For the last one, its just that when you create a room without a "previous room", you return the room when calling back().

hello! i'm stuck on this part as well.

How should I remove the sword from the room A while returning B? I'm not sure how to go about updating both rooms simultaneously? Currently whether the sword is on hand is indicated by a boolean variable within the Room, and I'm not sure how to update room A's while moving to room B. Thanks!

My code design is slightly diff as the sword taken status is store on the sword class itself. But tbh I don't think my code design is efficient as it has a lot of if else and for loop. Anyway, you might be able to do this by modifying the "go"" function.

In the back() method, stuff in the previous room comes first and then the taken stuff.
To update both rooms on the things that are taken, you can make all Item / Thing (whatever you name it) have a boolean tag to specify if is taken. If an Item is taken, it is gone but you dont have to do anything until the back() method is called as it is already marked. When the back() method is called, all you have to do is remove all Item marked as taken in this room that you are going back to then add all the Items that you are carrying. In summary,
Going from B back to A:

Remove all taken Items in A.
Add all taken Items that you have from B to remaining items in A.

You dont have to do this for the go() method as for the go() method you are going into a new room where everything is not taken.
When the troll is killed delete it.

Hi, I actually faced exactly the same issue before. For test case 37 to 38, you need to change the insertion order of the sword in back() as mentioned by @Swagston20. Not sure if you are making the same mistake as I do but for test case 54 to 62, make sure after you take the sword from room A to B, the sword in room A will be taken by you. This means that if you drop your sword in room B and went back to room A, the sword will not exist in room A when you go back. For the last one, its just that when you create a room without a "previous room", you return the room when calling back(). (take note on your ticking manipulation) Hope this helps!

Thanks for the debug! It works well for me~

In the back() method, stuff in the previous room comes first and then the taken stuff.
To update both rooms on the things that are taken, you can make all Item / Thing (whatever you name it) have a boolean tag to specify if is taken. If an Item is taken, it is gone but you dont have to do anything until the back() method is called as it is already marked. When the back() method is called, all you have to do is remove all Item marked as taken in this room that you are going back to then add all the Items that you are carrying. In summary, Going from B back to A:

Remove all taken Items in A.
Add all taken Items that you have from B to remaining items in A.

You dont have to do this for the go() method as for the go() method you are going into a new room where everything is not taken.
When the troll is killed delete it.

Hi @daitenshionyan, but how are you able to access the previous room/ the room you are going back to?

Hi @Darien2307 Room can have an Optional<Room> field variable to help it remember which room is back. The default initialisation of this variable will be an Optional.empty(), meaning that this room has no room to go back to. When creating the a room (B) when the go() method (of room A) is invoked, Room B's Optional should be an Optional of Room A. This was how I made my Room remember which way is back hope it helps!

empty

Hi Daiten. I am currently at this level using an optional to store the old room. However, when I try to use retrieve the ImList, it returns me an optional.empty.
This is how my go() method would return a new Room by taking an Optional of this room (the old room).
May I know is this how you did it too?
Thank you.

Hi. Does anyone know what might be causing this error for this test case? Thank you!

Hi. Does anyone know what might be causing this error for this test case? Thank you!

Did  you delete the troll from the room after killing it?

Hi. Does anyone know what might be causing this error for this test case? Thank you!

Did you delete the troll from the room after killing it?

Hi Sze Ying. I remove the troll inside the killTrol method within actions.jsh. Or am I supposed to remove it somewhere else too?

Hello @hengyjj, I am not sure if it is correct but I think the questions wants us to assume the sword has super powers and is able to delete all trolls in the room (even if there is more than one) and not just one at a time when killTroll is used. From your code segment, I think only one troll will be killed when killTroll is used in a room with multiple trolls. You can try this out but I am not sure if this theory is correct, but this is the behaviour of my code.
If this doesnt work you can try adding an additional println statement to print remove.second() to see if the troll is actually removed. If it doesnt print at all then I think the issue is within the if statement (most likely hasSword).

Hello @hengyjj, I am not sure if it is correct but I think the questions wants us to assume the sword has super powers and is able to delete all trolls in the room (even if there is more than one) and not just one at a time when killTroll is used. From your code segment, I think only one troll will be killed when killTroll is used in a room with multiple trolls. You can try this out but I am not sure if this theory is correct, but this is the behaviour of my code.
If this doesnt work you can try adding an additional println statement to print remove.second() to see if the troll is actually removed. If it doesnt print at all then I think the issue is within the if statement (most likely hasSword).

Thank Daiten!

In the back() method, stuff in the previous room comes first and then the taken stuff.
To update both rooms on the things that are taken, you can make all Item / Thing (whatever you name it) have a boolean tag to specify if is taken. If an Item is taken, it is gone but you dont have to do anything until the back() method is called as it is already marked. When the back() method is called, all you have to do is remove all Item marked as taken in this room that you are going back to then add all the Items that you are carrying. In summary, Going from B back to A:

Remove all taken Items in A.
Add all taken Items that you have from B to remaining items in A.

You dont have to do this for the go() method as for the go() method you are going into a new room where everything is not taken.
When the troll is killed delete it.

I know I'm extremely late to the discussion but I was having a really difficult time trying to understand how the game is supposed to operate when faced with this issue and this was the only solution that worked for me! Thanks so much Daiten:"

Hello! For the last error (the Candle one), I resolved it by ensuring that if I were to return the same room(because current room is the first room), then I will not use the .tick() method and just return the current room (ie this).
You also need to return this (same instance) or the Candle will not appear if you use .back(), but that doesn't seem to be a problem for you as your Candle did appear, but leaving this here for anyone who needs it


Added more patches to 1.20

Issue #, if available:
closes #1295
Description of changes:

Added 6 patches

0028-EKS-PATCH-Reduce-default-gzip-compression-level-from.patch
0029-EKS-PATCH-Add-node-high-priority-level.patch
0030-EKS-PATCH-Allow-uncertain-mount-tests-to-run-paralle.patch
0031-EKS-PATCH-Windows-ensure-runAsNonRoot-does-case-inse.patch
0032-EKS-PATCH-Add-an-option-for-aggregator.patch
0033-EKS-PATCH-Limit-redirect-proxy-handling-to-redirecte.patch

Minor other changes to align

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


Automated cherry pick of #9248: fix(keystone): oidc driver turn on debug mode if log-level is debug

Cherry pick of #9248 on release/3.5.
#9248: fix(keystone): oidc driver turn on debug mode if log-level is debug

Codecov Report

Merging #9250 (e162617) into release/3.5 (6a15e02) will increase coverage by 11.98%.
The diff coverage is 17.18%.

@@               Coverage Diff                @@
##           release/3.5    #9250       +/-   ##
================================================
+ Coverage         5.98%   17.96%   +11.98%
================================================
  Files              796       85      -711
  Lines           125693     8921   -116772
================================================
- Hits              7522     1603     -5919
+ Misses          117504     7148   -110356
+ Partials           667      170      -497

Flag
Coverage Δ

aFlag
17.96% <17.18%> (+11.98%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

.../monitor/alerting/conditions/suggestrulereducer.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/conditions/suggestquery.go
2.00% <2.00%> (ø)

pkg/util/seclib2/seclib.go
88.23% <100.00%> (+2.18%)
:arrow_up:

pkg/compute/models/networkschedtags.go

pkg/compute/models/groupguests.go

pkg/multicloud/aws/loadbalancerlistenerrule.go

pkg/keystone/models/localusers.go

pkg/mcclient/options/k8s/charts.go

pkg/cloudcommon/db/models.go

... and 651 more

Continue to review full report at Codecov.

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


added checks for length and changed loop counter

looks great! thanks again for tackling this @migui3230!


feat: Upgrade ClickHouse to 23.8 LTS

Running this through CI to check for any glaring issues, will change to draft after we have an idea of whether this breaks anything.

This worked fine locally, I'm going to just merge it!


HDDS-10473. Simplify some strings in HddsDispatcher

What changes were proposed in this pull request?
There are some redundant strings in the HddsDispatcher and the purpose of this pr is to simplify them.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10473
How was this patch tested?
You need to guarantee that the unit tests pass.

@adoroszlai , can you help take a look at this PR?
ci: https://github.com/jianghuazhu/ozone/actions/runs/8169369917

LGTM +1

@adoroszlai , can you help review this pr?
Thanks.

Thanks @jianghuazhu for the patch, @Galsza for the review.


Unable to Update flutter

So, I was using a flutter command after a long time and then it automatically started to upgrade. After downloading the ZIP file via BITS, it just started to extract the file. And suddenly, the moment it extracted the dart.exe file, my antivirus K7 thought that it was suspicious and deleted it while flutter got an error.
MY OS : WINDOWS
Command = flutter run
what flutter executed:
Checking Dart SDK version... Downloading Dart SDK from Flutter engine ae90085a8437c0ae94d6b5ad2741739ebc742cb4... Unzipping Dart SDK... Error: Unable to update Dart SDK. Retrying...
Response from K& antivirus

file : c:/src/flutter/bin/cache/dart0sdk/bin/dart.exe
I hope someone would find a solution for this

Hi @techmeav
Are you still facing this issue?

But, is there any way to change BITS to WebRequest to save my developing time??

I don't think so, as you can see the tool already try to use both if one failed. Why do you think it is necessary to change BITS manually?

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Hardware back button does not close the gallery photo viewer

Hello,
I installed your component and it is working great, but i have one problem, the hardware back button does not close the Photo viewer. Do you have the solution for this or did i missed one step in the installation guide.
Greetings

Hi, you didn't miss anything. If the hardware back button is not working, it's related to a missing implementation.
I'm going to implement this in two weeks. If you can't wait for it you may try to do it on your own. It requires to add an event listener on ngInit and removing the listener on ngDestroy. A listener like this is required: https://stackoverflow.com/questions/18997793/javascript-backbutton-event-listener-overrides-the-android-device-back-button closing mfp on listener call

Solving this issue isn't as easy as I thought. I'm still working on it.

I've managed to create a solution. I'd appreciate if you could run
npm install heilbaum-ionic-photoswipe@beta

and leave some feedback if everything is working as expected or if not.

Is this issue resolved ?


Combine detection with (TrOCR) recognition models

🚀 The feature
As we can see that the TrOCR model achieve State-of-the-art results for text recognition task and has limitation with line level it would be great to combine it with detection model such as db_resnet50 or any other migrated model for Hugging face format
Motivation, pitch
As there are a lot of valuable Historical Handwritten dataset (documents) and wanna digitize it in automation way
Alternatives
No response
Additional context
No response

Hi @Mohammed20201991  👋 ,
You should take a look at https://github.com/kforcodeai/doctr-trocr
Maybe @kforcodeai could update the space ? :)

@Mohammed20201991 Looks like we can close it ? :)
Otherwise let me know :+1:

Dear @felixdittrich92 still has some issues if you can help in this [doctr-trocr](https://huggingface.co/spaces/AlhitawiMohammed22/HTD_HTR)

Hey take a look into your requirements.txt python-doctr[torch] is missing ;)

I have pushed a relase a few minutes ago so you will get an the actual version from doctr :+1:  (version 0.7.0)


Added more tracking domains to redirects

I've added www.anrdoezrs.net and www.ojrq.net to redirects with tests. I added a test case for another domain that was missing one because I happened to stumble across one of the domains.
I also needed to tweak the regex slightly to accept hyphens in paths, since \w doesn't match them.

Thanks!


caddy and https fails with "can't finish registration: Error validating origin"

Just trying things out so its easy to debug issues across Mobile and Desktops...
Caddy is very easy to do this, but hit an issue when I register a user:
https://app.localhost is mapped to the passkeys example running on port 8080 with no changes at all to it.

Caddy
caddy  run --config Caddyfile --adapter caddyfile
Caddyfile:
# Caddyfile
{
	log {
		output stdout
		format console
		level DEBUG
	}

	admin :2019
}

# https://localhost
localhost {
	file_server {
		root .
		browse
	}
}

# https://hello.localhost
hello.localhost {
	respond "Hello world!"
}

# https://app.localhost
app.localhost {
	reverse_proxy :8080
}

Got the same error yesterday. I tried to run demo app in production mode (aws with let's encrypt ssl).
I found the problem and fixed it, but not push it yet. I'll do it today later and check your PR of course:)
BTW, after the fix I got it working on mobile Safari:


EN 15804+A2, chapter 7.1, i), variability of results

Implementation status:

[x] schema
[x] examples
[ ] reviewed & approved internally
[ ] documentation
[ ] validation rules

I raise this change request because...
-- [ ] the ILCD+EPD format lacks compliance with regualtions.
-- [X] the ILCD+EPD format lacks conformaty with standards.
-- [ ] the ILCD+EPD format needs to be improved regarding existing format or master data elements.
-- [ ] there is another problem or use case I´m trying to address.
Problem description
"in the case where an EPD is declared as an average environmental performance for a number of products a statement to that effect shall be included in the declaration together with a description of the range/ variability of the LCIA results if significant"
Solution description
Could be included in the following existing fields:

A1.4 General comment on data set
B2.2 Use advice for data set

Partly covered by B1.2 "subtype"
Relevance or added value
Medium relevance

Suggestion: use the same systematic as defined in ISO 22057, ideally amalgamate the variants given there for EN15804 and ISO21930 in order to have a unified and universal approach.
So we need an enum for describing this
•	Valid for a single product where variability is not described
•	Valid for a single product where variability is described
•	Valid for a range of products where variability is not described
•	Valid for a range of products where variability is not described
as well as a number for the variation of described.
Add a freetext comment field.

Let's consider a significant variation to be one that is larger than 10% (following ISO 14044).
We're looking at multiple indicators and multiple modules, so there is no single variation per se. It would first need to be defined which variation exactly.

How is variability defined?
How is "product" defined?

@ domain experts: please review and approve

so this is a conditional field: if average, then it´s mandatory. if mandatory, lets add the "classes" of ISO 14044 Annex B to identify the variability. this way we can also make it machine readable.

Ok from your side?

I would advise against it.
This, to me, is a feature request for the business logic layer of a software application displaying the data.
The data format should, imho, enclose exclusively the data that's strictly necessary -- that's data that is not recoverable, if omitted in the XML of a dataset.
The other aspect here is the fact that attaching the interpretation of the value is not something that's specific to the dataset/XML at hand. It is much more static in that it is probably done in the very same way for any dataset XML.
With this philosophy we keep not only the (already huge) memory footprint low but also ensure maximal flexibility: Anybody can do whatever interpretation of the value.
Our goal should be to provide/persist just enough data to allow any analysis (by experts or software) in a sufficiently normalised way to be efficiently processed.
PS:
Without the ISO 14044 Annex B classes in the XMLs it's still fairly easy for any software company to provide filters that accept these concepts/labels as search criteria. The necessary queries, except for syntax, do not even diverge much from what you've posted in the screenshot.

no - variablity of an average cannot be derived from declared values. Variability is determined by the underlying data (= foreground data, recipes etc.). So we could use the classes from ISO 14044 to declare variability:
<=2,5% neglectible variation

2,5 - 10% minor or "normal" variation
10% - 25% relevant variation
25% - 50% significant variation
Makes sense?

Thanks for the quick response!
The suggested implementation would look like this.
<variability>
   <manufacturerVariability type="Single production site" variation="5"/>

   <productVariability type="Range of products where variability is described" variation="20"/>

   <variabilityDescription xml:lang="en">... desc ...</variabilityDescription>
</variability>

I was referring to the variation value here, which in both instances holds the numerical value for variation in percent.
I think this covers it without locking us into ISO 14044?

This needs explanation; please set up a meeting to explain this to me. thx.

I also dont understand the statet solution a meeting would help. Otherwise i dont see the necessity to have it as a machine readable informaiton. I think a describtion in an existing field should be sufficient.
@EmilieBrisson what do you think, do you need that information on building level?

I agree (sort of) with @szwerenz. As of right now, we do not use variability. But it might come.
I do not think the ide above is a bad idea, but maybe with some more explanation for the group here, would be nice. Though I would maybe suggest UUID for the specific identified cases, from the screenshot @RobertSpang did. Othrwise we might get a lot of unusefull entries.

Summary from today's meeting: we will include both an option to state a discrete value in percent as well as one to state the range as suggested above, i.e. an optional attribute @variabilityRange is to be added.


Network Status Tracker Error

I've added google cloud (StackDriver) as one of my logging handlers. Logging happens fine, however my python scripts always end with the following message.
network_status_tracker.c:48] Memory leaked as all network endpoints were not shut down

Here's a snipet of code for how I'm logging.
from __future__ import absolute_import
from google.cloud import logging as gclogging
import logging as pylogging

defaultHandlersAdded = False

# A class based on of google stackdriver logger.
class GSDHandler(pylogging.Handler):
  gcclient = gclogging.Client()
  gcLogger = gcclient.logger('behold-ai-learning')
  def __init__(self, level=pylogging.NOTSET):
    pylogging.Handler.__init__(self, level)

  def emit(self, record):
    msg = self.format(record)
    self.gcLogger.log_struct(
      info = {
        'message': msg
      })

Any idea why the google cloud SDK is not shutting down the network endpoints?

@wakahiu Thanks for reporting!
I think this is actually some debug logging that should be removed from one of the c plugins.
@jonparrott or @bjwatson, do you know who would be good to mention this too?

This debug message originates from gRPC based on this issue.

@wakahiu thanks for finding it! I'll close this issue and we can track it there.

@nathanielmanistaatgoogle Note this is a user confounded by the memory leak

I've also started seeing this in the tests for python-docs-samples.


rbac: add metadata support to rbac filter

Signed-off-by: Yangmin Zhu<EMAIL_ADDRESS>title: rbac: add metadata support to rbac filter
Description:

Added a api/envoy/type/matchers/{metadata.proto, number.proto, string.proto} and namespace Envoy::Matchers for matchers
Added the new MetadataMatcher message to support a generic way to match a value in the Metadata
Modified the RBAC filter to use the MetadataMatcher and pass the metadata from the dynamicMetadata()

Note: This PR is actually different from my poc and the description in #3624. I changed to not to include a full Metadata in the RBAC policy, instead to use a more flexible way to retrieve a value from it and then do the custom match. The new way is much more simpler and gives us almost the same flexibility.

Risk Level: Low
Testing:
Added and ran unit tests.
Docs Changes:
N/A
Release Notes:
N/A
Fixes #3624
cc @lizan @liminw @diemtvu @qiwzhang @quanjielin

@mattklein123 @htuch PTAL, Thank you!


core dump

I built this for my raspberry pi. I finally got past the dbus errors and am now trying to get an audio connection. I can start bluealsa and bluetooth, I can pair, but as soon as I connect, it disconnects. In the journal, I get this:
Apr 02 19:37:32 livingrune audit[1210]: ANOM_ABEND auid=0 uid=0 gid=0 ses=1 pid=1210 comm="bluealsa" exe="/usr/bin/bluealsa" sig=11 res=1
Apr 02 19:37:32 livingrune kernel: audit: type=1701 audit(1554251852.041:38): auid=0 uid=0 gid=0 ses=1 pid=1210 comm="bluealsa" exe="/usr/bin/bluealsa" sig=11 res=1
Apr 02 19:37:32 livingrune systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Apr 02 19:37:32 livingrune systemd[1]: Started Process Core Dump (PID 1213/UID 0).
Apr 02 19:37:32 livingrune audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-1213-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 02 19:37:32 livingrune kernel: audit: type=1130 audit(1554251852.131:39): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-1213-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 02 19:37:33 livingrune systemd-coredump[1214]: Process 1210 (bluealsa) of user 0 dumped core.

                                                   Stack trace of thread 1210:
                                                   #0  0x0000000076914fee strlen (libc.so.6)
                                                   #1  0x00000000768de4f8 printf_positional (libc.so.6)
Apr 02 19:37:33 livingrune systemd[1]<EMAIL_ADDRESS>Succeeded.

I rebuilt without a flag and now it does not core dump

Which flag had caused this coredump?

I compiled it with aptx and got this result. I removed that flag and now it seems to load and run


minor optimizations and bug fixes

@CascadingRadium would you add to the description above everything this change intends to do.


Support multiline lint message

The Rust linter uses the native Rust toolchain to generate the lint messages. These lint messages may span multiple lines and may contain significant whitespace. However, this is neither supported by the bubbles nor by the overall message lists.

It's not actually documented but is supported, just set multiLine to true I think.

multiLine where?

refresh your page to see the updated message

Why do I have to set a boolean flag, when the message contains the text and the text already contains the information if it is multiline or not?

It was planned to make that the default behaviour, but I've been busy lately, at the moment, working on the ng branch. https://github.com/AtomLinter/linter-ng/pull/3


Add Analyzer support for DROP COLUMN

@BaurzhanSakhariev thx a lot, please take another look to check the new logic for the ifExists. thx!

retest this please

unrelated test_mbean_cluster_state_version failure.


Better exception for invalid connection string

Added Invalid Azure Storage ConnectionString exception in place of dictionary update sequence element #0 has length 1; 2 is required

Codecov Report

Merging #639 into master will decrease coverage by 0.03%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #639      +/-   ##
==========================================
- Coverage   87.01%   86.98%   -0.04%
==========================================
  Files          52       52
  Lines        5285     5288       +3
  Branches      566      566
==========================================
+ Hits         4599     4600       +1
- Misses        513      515       +2
  Partials      173      173

Impacted Files
Coverage Δ

...storage-common/azure/storage/common/_connection.py
94.44% <50%> (-2.66%)
:arrow_down:

Continue to review full report at Codecov.

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


Unable to implement report for multiple classes

Unable to implement report for multiple classes with the concept of initializing extentreport object in base class and further inheriting Base class in [TestFixture] classes. Only Last test gets logged.

Please share a small snippet, this seems like a usage issue.


at becomeFirstResponder time is not working

I have add     [txtEmail becomeFirstResponder];, its automatically remove floating textfield functionality
How can i fix this?

Will check in sometime can you tell me the language in which you getting issue is it objective c or swift ?
Sent from my iPhone

On 14-Oct-2017, at 1:41 PM, iOSEngineers<EMAIL_ADDRESS>wrote:
I have add [txtEmail becomeFirstResponder];, its automatically remove floating textfield functionality
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

In Objective-C and i have integrate on interface builder with IBInspectable  time not in programmatically so please check on IBInspectable.

Can you provide the sample code so that I can reproduce the issue thanks!
On Sat, 14 Oct 2017 at 1:59 PM, iOSEngineers<EMAIL_ADDRESS>wrote:

In Objective-C and i have integrate on interface builder with
IBInspectable time not in programmatically so please check on IBInspectable.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ErAbhishekChandani/ACFloatingTextfield/issues/36#issuecomment-336619960,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANMZ1zl5rmVuiJnbJje04J_aHgzk80-Wks5ssHDpgaJpZM4P5TTE
.

--
Thanks & Regards
Er. Abhishek Chandani

when i put [txtEmail becomeFirstResponder]; on viewDidLoad at that time placeholder remove from textfield so I have find this issue, i need to add line     [txtEmail setPlaceholder:@"Username or Email"];
on viewDidLoad, if you can without add this line then let me know

This issue has been resolved in latest version1.6 Please check and reopen if you still face the issue thanks.


delete beakerxTest dirs

#6362

this looks like it will solve the problem but wouldn't it be better to call this function in the right place?
https://github.com/twosigma/beakerx/blob/356cf950582b9c79d68c29eab7eca1a9d8476bf2/kernel/base/src/main/java/com/twosigma/beakerx/evaluator/BaseEvaluator.java#L189
this might not be a test problem.  are the directories leaking even from normal usage?

@jaroslawmalekcodete

Instead of adding task to build.gradle (which should work of course but only for test run from console) we can try to add path.toFile().deleteOnExit() below https://github.com/twosigma/beakerx/blob/master/kernel/base/src/test/java/com/twosigma/beakerx/evaluator/EvaluatorTest.java#L70


Cannot running ./PotreeConverter in ubuntu

Hello,
I have successfully installed PotreeConverter as you can see on the screenshot but when I try to make it work it gives me this error that I can't solve

the same error when using root

I found it :
sudo apt-get update
sudo apt-get install libtbb-dev


⚠ ClamAV has degraded performance

In 630fa7d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 77 ms

Resolved: ClamAV performance has improved in b55b3a4.


Calculating Score of Parenthesis Using Divide and Conquer Strategy

🚀 Feature
Calculating Score of Parenthesis Using Divide and Conquer Strategy
Have you read the Contributing Guidelines on Pull Requests?
Yes
Motivation
Calculating Score of Parenthesis is a good problem which I will try using Divide and Conquer Strategy.
Pitch
Calculating Score of Parenthesis is a good problem which I will try using Divide and Conquer Strategy.

/assign


Add missing intent action for notifications settings (closes #461)

Checklist

[x] Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
[x] If this PR comes from a fork, please Allow edits from maintainers
[x] Set a speaking title. Format: {task_name} (closes #{issue_number}). For example: Use logger (closes # 41)
[x] Link your Pull Request to an issue (if applicable)
[x] Create Work In Progress [WIP] pull requests only if you need clarification or an explicit review before you can continue your work item.
[x] Make sure that your PR is not introducing unnecessary reformatting (e.g., introduced by on-save hooks in your IDE)
[x] Make sure that your PR does not contain changes in strings.xml (see issue #332)
[x] Make sure that your PR does not contain compiled sources (already set by the default .gitignore) and / or binary files

Description
The intent action for app notifications is not defined as constant for pre-Oreo Android API, therefore a string representation of the action needs to be used.
This PR adds the correct intent action for "Open Devices Settings" on pre-Oreo devices.

If you think this contribution was valuable feel free to give back at https://opencollective.com/openintents


Copy - Missing copy on Review applicants page

Description
Missing copy for three of the buckets.
[ ] Veterans and Canadian citizens
[ ] Non-Canadian Citizens
[ ] Unqualified

File to change: ReviewCategory.tsx
Changes
Enter the approved copy here: Needs copy

[ ] Copy provided in English and French.

Duplicate. Fixed by #2138

This issue is to get copy for the buckets.

duplicate of #2156


enable main branch protection

What would you like enabled?

[x] Require a pull request before merging
[x] Require approvals (1)
[x] Require status checks to pass before merging
[x] Require branches to be up to date before merging
[ ] Require conversation resolution before merging
[ ] Require signed commits
[ ] Require linear history
[ ] Require deployments to succeed before merging
[ ] Include administrators
[ ] Restrict who can push to matching branches
[ ] Allow force pushes
[ ] Allow deletions


Fertilizer Stage

Is the Fertilizer Stage Option able to have an option for allowing it too apply to the second stage if you want instead of first?

There is an option which directly gives you the second stage fertilization (when not using Precision Farming).
Is that what you want, or were you thinking about adding +1, so if it wasn't fertilized, set it to first stage, and if it was at first stage already, set it to second?

Without PF I have 3 options for FERT.
First Stage, FULL Fert, None!

Was hoping if it was easy to have either a +1 or a Second Stage option in case we sprayed/spread first!

Could you explain how the "Second Stage" option would work exactly?

Honestly this may not be worth your time! We will just change our Prep Order as and do it properly! lol :)

Ah well the topic of conservation agriculture is quite controversial, especially in Europe, which is why I'm aiming for high configurability so everyone can adjust it to what they think is right ;-)
I'll try and see if I can get +1 working now. I tried in the past but ended up manipulating the same spot more than once, so would always set it to max. But I made a different change later which should no longer process the same spot twice in general, so it's worth a look if it works now

Our original Pre-CA order was : Lime > Fertilize > Mulch > Fertilize > Seed/Plant > Pre Growth Herbicide
Our original CA order was : Lime > Fertilize > Seed Oilseed > Plant Primary (which mulched but didn't fertilize since we already did it...
Our Current Order is : Lime > Seed Oilseed > Plant Primary > Spray Fert for 2nd round. (which honestly makes sense... as my wife said you probably wouldn't fertilize Pre-cover since those nutrients would be waste on the cover crop.

Makes sense. In real life, you would have to use additional fertilizer when transforming to CA and you might even have to fertilize your cover crops in the beginning (to get more biomass out of it). According to some, If you manage to get a balanced ecosystem in your field (above and below ground combined), you can get to a point where you don't have to fertilize at all, but that's kind of impossible to simulate with just two fertilizer stages

Yeah unfortunately it looks like I can'T make it work properly. This should only be the first level, but some parts are being processed twice by the looks of it

Implemented in branch https://github.com/Timmeey86/FS22_ConservationAgriculture/tree/feature/fixed-fertilization


Avoid BouncyCastle failures

BouncyCastle isn't known to work with MockWebServer.

From https://app.circleci.com/pipelines/github/square/okhttp/3392/workflows/fb8e7f49-2fb8-4192-9224-6e9136ff4816/jobs/14416/steps

That’s too bad. I wouldn’t have expected those features to interop so poorly.
Tracking bug upstream?

I closed it off with https://github.com/square/okhttp/issues/5698
There are lots of subtle individual differences causing failures.  So real, some just in terms of our test assumptions.
I made the call that a user trying to use MockWebServer shouldn't also enable bouncycastle. I think us working as a client with BC (which is generally the case) is higher priority than supporting the MWS code as well.
You could disable the assumption and go through and investigate and fix, but we haven't done that over past X years, feels like busy work.


[Proposal for Discussion] New roles of "github permission manager"

I suggest to add a role of a "github permission manager". That person would be in charge of adding and removing github permissions according to the rules agreed on by the community or the Coco, e.g. any sub-package maintainers for the core astropy package should get commit rights to the core repro.
This is now part of the Coco's responsibility and this new roles would be in addition to, not a replacement of, the Coco's duties, i.e. either any Coco member or the "github permission manager" could add and remove permissions.
My proposal to make this a dedicated single-person role is based on the follow ideas:

The "github permission manager" would regularly (say monthly) review permissions to avoid roles and permissions getting out of sync.
The Coco is, by their own admission, backlogged with issues and this is a more secretarial role that can be split out from the Coco's main tasks without a loss of coordination (e.g. the Coco would still invite somebody a maintainer and there might be a few back and forth emails, just if they forget to also add the appropriate github permissions there would be a dedicated person to catch that).
The github permissions manager would advocate for specific rules. We currently have a permissions system that's not well documented to the outside. Since the "permission manager" would rely on written rules only, we would quickly discover where written rules are missing.
In contrast, the Coco would still retain the power to add permissions to people ad-hoc (and notify the permissions manager if the permissions are to be in place for longer than a day).
In addition (although that is not an integral part of this proposal), I suggest to empower the permissions manager to give specific github permissions to any well-known (anyone in a named role) community member for up to 24h, if that community member has a valid use case that's related to their role (e.g. update a webhook to build RTD for an infrastructure maintainer). The "permissions manager" should keep a log and remove those permissions again after 24h. The "github permissions manager" would share the log with the Coco and review it regularly to see if any particular person / role needs to request temporary permissions often - that's probably a sign that the permanent permissions assiciated with that role should be expanded.

Of course, to do their job, the "github permission manager" themselves need the highest level of privileges in the github organization that's currently exclusive to the Coco. However, there are plenty of people in the Astropy community who have a similar level of community trust backing them as the Coco, as much experience with the project as the Coco, and at least the same level of knowledge about github's permission system. I don't think that adding another person to the highest level of privileges is a problem in principle, and I don't see that that person would be any more or less likely to vandalize the repro then the Coco.
Last, since the "github permission manager" under my proposal would have limited authority to act without Coco approval or written policies justifying any individual permission granted or revoked (at most, give temporary permissions for 24h), I think the Coco could just create that role at their will. Thus, I did not add this as an item to AP0, but just open an issue here.
@astropy/coordinators
@bsipocz

Maybe this position could also include keeping the core-maintainers email list updated.


[PE-D][Tester E] Suggestion for sort command success message

Success message when inputting sorti 1 f/Price o/L shows the following.
It would be clearer to replace L with ascending order as users might not know what L order refers to.

Labels: severity.Low type.FeatureFlaw
original: xGladiate/ped#10

functionality works so can't change success message as it is not a bug


Update AzPS Az/AzureRM TOCs for accessibility

Docs Build status updates of commit c990fa4:
:clock10: Full build: the average full build time is 33 min(s) 58 sec(s), this is based on the last 71 build(s) for this repository.
:warning: This is a FULL build due to the incremental build being disabled in configuration file (.openpublishing.publish.config.json in 'live' branch). For more detailed info, please click here.

Docs Build status updates of commit c990fa4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-2.0.0/toc.yml
:white_check_mark:Succeeded
View (azps-2.0.0)

docs-conceptual/azurermps-2.4.0/TOC.yml
:white_check_mark:Succeeded

docs-conceptual/azurermps-4.4.1/toc.yml
:white_check_mark:Succeeded
View (azurermps-4.4.1)

docs-conceptual/azurermps-5.7.0/toc.yml
:white_check_mark:Succeeded
View (azurermps-5.7.0)

docs-conceptual/azurermps-6.13.0/toc.yml
:white_check_mark:Succeeded
View (azurermps-6.13.0)

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.

Docs Build status updates of commit 596ce94:
:clock10: Full build: the average full build time is 33 min(s) 57 sec(s), this is based on the last 72 build(s) for this repository.
:warning: This is a FULL build due to the incremental build being disabled in configuration file (.openpublishing.publish.config.json in 'live' branch). For more detailed info, please click here.

Docs Build status updates of commit 596ce94:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-2.0.0/toc.yml
:white_check_mark:Succeeded
View (azps-2.0.0)

docs-conceptual/azurermps-2.4.0/TOC.yml
:white_check_mark:Succeeded

docs-conceptual/azurermps-4.4.1/toc.yml
:white_check_mark:Succeeded
View (azurermps-4.4.1)

docs-conceptual/azurermps-5.7.0/toc.yml
:white_check_mark:Succeeded
View (azurermps-5.7.0)

docs-conceptual/azurermps-6.13.0/toc.yml
:white_check_mark:Succeeded
View (azurermps-6.13.0)

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.


Demo offline use cases

The following functions should still work in CyBrowser when offline:

list installed apps
enable/disable
uninstall
install app from file

Test by loading local demo.html file into CyBrowser and testing functions unplugged, e.g.,
file:///Users/alexpico/git/cytoscape/js4cytoscape/packages/js4cytoscape/demo.html

It all works, in principle


ReCaptcha no longer works after upgrading to Statamic 3.1.11

I have some older sites Statamic 3.0.46 and statamic-captcha works well with ReCaptcha 3 invisible. After upgrading to Statamic 3.1.11 ReCaptcha shows an error on all variations of ReCaptcha 2 and 3?

Hi @granttransition, thanks for reporting this issue!
I've just tested Captcha on latest Statamic (v3.1.11) with latest Captcha (v1.4.0) installed using reCaptcha V2, and everything seems to be working as expected, both locally and in production.
Are you able to share the errors that you're seeing? The more detail, the better. Thanks!

Closing due to inactivity, but feel free to reopen if this issue still persists. Thanks!


docs: Create open graph image for social media

Describe your changes
Create open graph image for docs site

Checklist

[ ] Read and check your code before tagging someone for review.
[ ] Run yarn format
[ ] Run yarn lint in the root of the repository to ensure tests are passing
[ ] Run yarn test to ensure tests are passing. Run yarn test -u to update any snapshots tests.
[ ] Add necessary tests
[ ] Run yarn changeset to create a changeset file
[ ] Write documentation (README.md)
[ ] Create stories for Storybook

We will need to use a JPEG or PNG image for the open graph image
https://developers.facebook.com/docs/sharing/webmasters/#images

MIME type of the image. One of image/jpeg, image/gif or image/png


Ghost Ping Detection

When a user deletes a message that contains a ping to a user or a role, an embed will be sent alerting the user that was pinged.
This feature will stop users from scrolling looking for pings and users can also search for messages that mention them even if the message was deleted.

Looks good, but before I approve we need to think about an edge case: what happens if a user is banned or has their messages deleted by a Moderator or spam detection bot? Would the chat get spammed with these embeds? Would nothing happen?


Docker setup for issue #41

This binds the jekyll server to <IP_ADDRESS> instead of localhost. You can now access from <IP_ADDRESS>:4000 on a desktop, and there is an added bonus that we can access it on mobile as well (notes added to README).
@TinaHeiligers please confirm this code fixes the problem for you as well!

@krantzinator I owe you a lunch. Next time you're out here :)


Cmake 2 qurt unbreakage

Moved to Hexagon 7.4 Toolchain

Thanks!

Travis failed unfortunately.

I did not make any changes to
/home/travis/build/PX4/Firmware/src/lib/launchdetection/CatapultLaunchMethod.cpp
which contains the error.


Running executors as runner users

Running executors as runner users to prevent a user from running anything under root privilege level.
Also, chmod and chowning users code to prevent users from "spying" on each other and intentionally getting secret inputs from engineering man contests.
This should mean that nim can be added back to the piston.

Updated execute command to use the right parameter $lang instead of $bin and removed passing the runner id to the user code since it's not being used by any executors.

Updated execute command to use the right parameter $lang instead of $bin and removed passing the runner id to the user code since it's not being used by any executors.

Merged with #50

Merged with #50


For iOS to control the microphone permission.

Ticket: https://ubiquiti.atlassian.net/browse/UPC-3478

As discussed in slack - lets check if playout should be stopped when microphone  is enabled/disabled.
Concern is that if microphone will be enabled when existing playback is active, playback may be terminated


Make version checks async, closes #1465

Stops version checks from blocking the rendering of the page

It's not apparent to me how this solves the issue, I think we need to make this function not await the result of the GitHub releases API so that it doesn't block.
Also, something regressed in the logic that displays the banner

Oh I see, you removed the call to that function, where do we get the recommended (latest) UI version from now?


Test output spoiled with  Shared connection to x.x.x.x closed.

See for example:
https://artifacts.dev.testing-farm.io/23242cbe-7782-48fa-ae2b-b17167a8b8f7/
The test output is spoiled by ssh disconnecting message, we should filter it out, it is misleading and not really a test output.

So what I found out, this is connected to the fact we use tty and this message is exposed in all log levels except QUIET.
https://github.com/openssh/openssh-portable/blob/ca430d4d9cc0f62eca3b1fb1e2928395b7ce80f7/mux.c#L1948
Now, according to this StackExchange discussion:
https://unix.stackexchange.com/questions/191265/avoid-shared-connection-to-host-closed-messages
Seems using -o LogLevel=QUIET is a standard practice in automation remote tools according to one of the commenters.
Now the question is, we really need to display ssh connection issues, or we could just survive reading the ssh status code and print some reasonable message ourselves. Then this nasty problem is gone. I am really not happy about post-processing the ssh output.

I will first try to use the QUIET logging to see what we loose, if not, I will fallback to post-processing the output.
Any comments  @lukaszachy @happz @psss ?

I am starting to think this is the way to go, with that simple change:
The output
            test: /script-00
                cmd: echo "hello"
                out: Warning: Permanently added '[<IP_ADDRESS>]:10023' (ED25519) to the list of known hosts.
                out: hello
                out: Connection to <IP_ADDRESS> closed.
                00:00:00 pass /script-00 (on default-0) [1/1]

becomes
            test: /script-00
                cmd: echo "hello"
                out: hello
                00:00:00 pass /script-00 (on default-0) [1/1]

What is exactly what we want

Moved to 1.31 as my patch did not get enough blessing


CI

Could you enable CI in for example travis-ci to ensure that the code get tested on every commit and could you add a build badge to the readme?

@ungerik Could you indicate whether you will enable CI soon? I could submit a travis file, but then you have to enable CI in travis. I would like to enable it as well. Please let me know.

@030 do you want to take ownership of the repo?
You seem very interested and I haven't used it for years.

@ungerik That would be great.

@030 need help with CI?

@SuddenGunter Please. Could you fix the unit tests and implement your suggestion? https://github.com/ungerik/go-rss/issues/18#issuecomment-612207801

@ungerik could you add me as a maintainer of this repository?

@SuddenGunter I will create a fork and let you know when it is available

@SuddenGunter I created https://github.com/030/informado as I did not get any reply from ungerik anymore. We could start again and create features. CI is running. Please check whether it has to be changed and/or updated. Feel free to create issues and pull requests.

@SuddenGunter https://github.com/030/informado


swift-module-digester: include SubscriptDecl in the Json dump.

We model SubscriptDecl as an abstract function decl with a flag indicating
whether setter is defined.

@swift-ci please smoke test

@swift-ci please smoke test


Add Code Completion API (refactored from REPL)

What type of PR is this?
Improvement
What does this PR do / why is it needed?
Add code completion API to Legend server. Code refactored from REPL modules.

Which issue(s) this PR fixes:
Other notes for reviewers:
Does this PR introduce a user-facing change?

This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.


consolidate invalidate aws cache commands

Since it takes time to reflect the change in the /latest dir
Referred to microshift sync distribution id

/lgtm
/hold

/unhold


feat(core): improve HTML reporter output of axe-core failures

The default HTML reporter for axe-core failures lists a count of the number of JSON lines in the results along with the raw JSON output. Consider ways to make this output more human friendly and usable for a developer needing to act on the results.

Rather than a count of lines in the JSON response, show a count of actual a11y failures
Include a link to the page being tested to make it easier for a develop to jump to the problem page
Parse the JSON into a more readable human format

closing as we decided against an HTML report, but improved the default reporting.


[MTDSA-6538] - Tax Year Not Supported error added to amend pensions reliefs

you werent ment to delete mtd tax year validation, I want to check with james before we do because im pretty sure thats the way we should be doing it just change the files your ment to change


history of bot activity as a git repo?

This bot is so beautiful.
I wanted to propose the idea of storing the history of maintainer requests in something like git (say in another repo, in the wiki, or alongside the source) so that in the future people could review the progress of open source maintainer trends with the git history.  Maybe in a format that bots for other dev sites could potentially share.
Centralizing unmaintained projects for discussion, integration, and takeover, has been such a long standing issue.  This work is incredible.
EDIT: sorry about the automatic label

Hey! Thanks for the suggestion. I don't have any problem with sharing all the data contained within this project. So, if you wanna create this repo. And integrate it with RFM you're more than welcome to do so 🤗


Fix for POOL-363

Updated evictor thread to be a daemon, thus no longer blocking
application hooks (added via Runtime.addShutdownHook) and causing the VM
to hang on shutdown. For example, stand-alone applications using the
Spring Framework.

Coverage increased (+0.07%) to 85.246% when pulling 7ad4231e157bbcb2f9b1c04c8247b76ea2565999 on joshlandin:master into ac214bfcc63761ac440785675a0bed7d2798ec96 on apache:master.


Unable to install as per standard instructions

Doing npm install returns error:
npm http GET https://registry.npmjs.org/debug
npm http GET https://github.com/davehorton/drachtio.git
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/range_check/0.0.5
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/range_check/0.0.5
npm http 304 https://registry.npmjs.org/debug
npm http 200 https://github.com/davehorton/drachtio.git
npm ERR! not a package /root/tmp/npm-7385-I4Mzje3h/1460632440018-0.33174588438123465/tmp.tgz
npm ERR! Error: ENOENT, open '/root/tmp/npm-7385-I4Mzje3h/1460632440018-0.33174588438123465/package/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR!     http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR<EMAIL_ADDRESS>npm ERR! System Linux 3.13.0-74-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /usr/local/src/simple-sip-proxy
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /root/tmp/npm-7385-I4Mzje3h/1460632440018-0.33174588438123465/package/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /usr/local/src/simple-sip-proxy/npm-debug.log
npm ERR! not ok code 0

Could you try upgrading your npm to the latest version, doing a git pull on this project and then trying again?  It seems like the problem may be that the earlier version of npm that you are running does not support the syntax to define a dependency as being hosted on github rather than npmjs.  I also just made a checkin to package.json that may help


Ensure DOM lib is available for type Transferable

In certain environments, index.d.ts will generate a typing error when thread-stream is included a dependency of pino, and TS config (skipLibCheck) is not set to true.
Before:
$ [other-package] > npx tsc

TS2304: Cannot find name 'Transferable'.

89   emit(eventName: 'message', message: any, transferList?: Transferable[]): boolean
                                                             ~~~~~~~~~~~~
Found 1 error in ../../../../thread-stream/index.d.ts:90

After:
$ [other-package] > npx tsc

Adding the reference makes the compiler aware of the reference to the library, even if the package consuming it, does not have the necessary types included.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 49.907%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
201

Relevant Lines:
367

💛  - Coveralls

Unfortunately that fix is not correct, because this lib does not use the DOM. The correct way is to get https://github.com/DefinitelyTyped/DefinitelyTyped/blob/d8da2b742fb2d05ad786d8afb42d1032c0fa2eff/types/node/worker_threads.d.ts#L91.

Thanks for providing this ... it seemed strange to me to need a DOM lib for a backend implementation.
Based on the information you just gave, should the implementation use TransferListItem[] instead of the Transferable[] type then?
index.d.ts:
  /**
   * Post a message to the Worker with specified data and an optional list of transferable objects.
   *
   * @param eventName the name of the event, specifically 'message'.
   * @param message message data to be sent to the Worker.
   * @param transferList an optional list of transferable objects to be transferred to the Worker context.
   * @returns {boolean} true if the event had listeners, false otherwise.
   */
  emit(eventName: 'message', message: any, transferList?: workerThreads.TransferListItem[]): boolean

current implementation reads:
index.d.ts:
ref: https://github.com/pinojs/thread-stream/blob/88d852406d3700ef452a916e8df36546dee87c8c/index.d.ts#L89
the only type I could find for "Transferable" was within the DOM library.
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream<any> | WritableStream<any> | TransformStream<...> | VideoFrame | ArrayBuffer

also noticed these two types have some overlap ...
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | VideoFrame | ArrayBuffer;

type TransferListItem = ArrayBuffer | MessagePort | FileHandle | X509Certificate | Blob;

ref: Type: Transferable https://github.com/microsoft/TypeScript/blob/fa58c615a43d0c2c9ed60ef4ff4783da91c0ce32/src/lib/dom.generated.d.ts#L28393
ref: Type: TransferListItem
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/d8da2b742fb2d05ad786d8afb42d1032c0fa2eff/types/node/worker_threads.d.ts#L91


Create an Apache Spark client

Create a client package for Palisade in the same way that the other data source packages at https://spark-packages.org/?q=tags%3A"Data Sources" do. The client should enable a user to use the following syntax to query data via palisade:
spark.read.format('palisade')
.option("justification", "testing client")
.load("hdfs://dir/testfile.avro");

This should add any key values from the options method into a Context object and the load value is the resource ID. Then it will interact with the palisade service and relevant data services to return the data into a Spark dataframe.

The bulk of this work can be done before gh-53 is complete, however completion of this issue will be blocked until gh-53 is completed.


Azure policy exemptions at resource level are not exported

Describe the bug
After creating a policy exemption at the resource level using the Azure portal the new exemption does not appear in the GitHub repository as a new json file after a AzOps - Pull. The repository is unchanged after the pull.
Steps to reproduce
1 .Create a policy exemption for an Azure policy assignment using the Azure portal
2. Run the AzOps -Pull workflow
Screenshots

Sorry for the delayed response and thank you for the feedback
We currently don't support pulling exemptions at that scope - we will take a look at adding as an enhancement it in a future release.

In the 1.7.6 release, we added support for this at resourceGroup scopes. However, due to manageability concerns with excemptions at a resource level, we have decided not to implement support for this.


Add Krita, graphics, images

Project URL

https://krita.org
Category

Images
Graphics

Description

Why it should be included to Awesome macOS open source applications  (optional)
Checklist

[x] Edit applications.json instead of README.md.
[x] Only one project/change is in this pull request
[x] Screenshots(s) added if any
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

@matter-it-does Thank you! 🚀


Add Green Button Integration for Energy Data Downloads

http://www.greenbuttondata.org/
We may need to contact Eversource to get authorized. We need to review the documentation to ascertain how to integrate this with the rails app.

I sent an e-mail to the generic info address to get access to this. The e-mail bounced so I opened an issue on the website's GitHub repo https://github.com/green-button/green-button.github.io/issues/118. Hopefully the development team will get us an appropriate contact point. If I don't hear by Friday I'll try and see if there is another contact point.

Information on obtaining authorization is allegedly in the below document that I'm uploading here for future reference. Marty sends the following note along with it:
The end points of the Data Custodian you are communicating with are part of the needed parameters in for the ApplicationInformation  data structure which represents the shared relationship between a DataCustodian and a ThirdParty.
Some help on using the APIs is on http://www.greenbuttondata.org/developers/sandbox/.
In order to communicate with a DataCustodian  you will need:
DataCustodian endpoints
Your endpoints
Exchange of secure certificates with DataCustodian
Perform the scope negotiation sequence prior to redirecting RetailCustomer to DataCustodian
Extension of OAuth2.0 to provide the required parameters returned during the authorization
GreenButtonAuthorization.docx

Here is an update for making this work (which is worth doing):
Marty Burns at NIST is probably best bet for GB technical questions, as he helped developed the GB standard & is very knowledgeable/responsive: Burns, Martin<EMAIL_ADDRESS>The team at the Green Button Alliance, which is the recently launched industry-led group for GB standards & certification, is also a good resource. GB leaders are working transition GB leadership and expertise from Feds/NIST/DOE to private sector: http://www.greenbuttonalliance.org/contact/

Thanks Dazza Marty is the one I've been in contact via e-mail over the past day.

Just memorializing the email responses I got:

Hello, Matthew:
I thought I might add-on to the reply Marty gave.  It's always great to hear about new developments for >the Green Button ecosystem and we certainly want you to succeed.  Ruby and ROR are not too familiar >to our team; however, GB files/streams are simply Atom RSS XML feeds with specific information >represented by the derived NAESB ESPI REQ.21 XSD inside, so if you are familiar with XML parsing >and you are familiar with OAUTH2, then you're on your way.
There is indeed a gem project at https://github.com/cew821/greenbutton to help get you started; >however, it was written in February of 2014 and has not been updated since May of 2014.  Therefore, it >does not support any of the updates to the espiDerived.xsd file that have been released this year.  Also, >a note of warning: be sure your design does not marshal the Green Button data stream in memory.  >While that works well for testing, when there is a request for, say, 13 months of data at 15-minute >intervals, it will often exceed the memory capacity of such an in-memory design.
As I mentioned, we do not have Ruby or ROR expertise on staff; however, if you have further technical >questions about GB implementation in general, we do have the ability to support you through >membership in the Green Button Alliance or through hourly paid support.  Unfortunately, our technical >resources are very limited while we build-out our CMD Certification suite of testing tools; so as a >nonprofit organization, we need to keep to supporting members first and foremost.  Participating >Membership includes two hours of tech time, if you are interested, with other hours at $250 each.
Lastly, since "Eversource" is an umbrella of several, previously separate operating companies, there >may be different offerings for the different geographies.  If you know of the previous name of the >Eversource in your area, that may help us find you the API endpoints.  However, I'm not aware of a full >CMD implementation by Eversource as a whole; though their DMD implementation is companywide >now.
Thanks for contacting us, Matthew,

Jeremy

Matt,
The end points of the Data Custodian you are communicating with are part of the needed parameters in for the >ApplicationInformation  data structure which represents the shared relationship between a DataCustodian and a> ThirdParty.
Some help on using the APIs is on http://www.greenbuttondata.org/developers/sandbox/.
In order to communicate with a DataCustodian  you will need:
DataCustodian endpoints
Your endpoints
Exchange of secure certificates with DataCustodian
Perform the scope negotiation sequence prior to redirecting RetailCustomer to DataCustodian
Extension of OAuth2.0 to provide the required parameters returned during the authorization
Documentation on these aspects can be found at http://osgug.ucaiug.org/sgsystems/OpenADE/Shared Documents/>Testing%20and%20Certification/GreenButtonTestPlan/referenceMaterial/GreenButtonAuthorization.docx.>
HTH,
Marty

Hey, just clarifying - at this point, is the only missing information needed to integrate Green Button into our Cambridge Energy App (EnerSave) just the URL for the endpoint?

Yep
-Matt

On Jan 19, 2016, at 10:14 PM, Dazza Greenwood<EMAIL_ADDRESS>wrote:
Hey, just clarifying - at this point, is the only missing information needed to integrate Green Button into our Cambridge Energy App (EnerSave) just the URL for the endpoint?
—
Reply to this email directly or view it on GitHub.

Hi Jeremy,

Thanks so much for getting back to me, and apologies for the tardy reply as things were on hold for me with the holiday. This is definitely helpful. In Cambridge the provider's previous name was NStar. Is there an API endpoint for them, or someone there we should chat with to get that?

Best,

Matt

I e-mailed Tom Reid from Mass Clean Energy Center and he is going to reach out to Eversource on our behalf:

Hi Tom,
It was good to meet you earlier. Thanks so much for offering to help with getting us access to the Green Button API. We are looking for a way to get access to the API endpoints from Eversource. Specifically we are looking for documentation on what the appropriate URLs are to get the data along with whatever access tokens we might need. Further elaboration on this issue can be found on our GitHub page at https://github.com/codeforboston/cambridge_energy_app/issues/16. Also feel free to check out and learn more about our app from our main GitHub page at: https://github.com/codeforboston/cambridge_energy_app. Thanks again for your help.
-Matt

On Friday I called and e-mailed a friend at EverSource investor relations. I am hopeful this will yield a useful connection.

EverSource said they have not currently implemented "Connect My Data" on their system but are willing to work with us when they do it next year. I will consider this closed when we merge #243


New data elements: runtime environment, device attributes, conditional value and javascript tools.

Add 4 new data elements in order to reduce the need to write custom code.
Description
The new data elements were proposed here: https://github.com/adobe/reactor-extension-core/pull/54.
We decided to add them but with a few modifications:

Launch Environment is renamed to Runtime Environment
Visitor Attributes is renamed to Device Attributes. Keep only the Screen size and Browser size attributes. The code for the other ones is deprecated.
Remove the following functions from Javascript tools: capitalize, lower case, upper case. The lower case is available inside the Lens. We might add the other 2 in Lens too (there is a Jira issue created for it). Optimize the code for it.
Remove duplicated code for Conditional value.
Add tests for the library modules and view modules.
Added schema to extension.json for the new data elements.

I will update the Experience League documentation once I find out when the release will take place.
Related Issue

https://jira.corp.adobe.com/browse/PDCL-5939
Types of changes

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

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[ ] I have updated the Experience League documentation for the Core Extension
[x] All tests pass and I've made any necessary test changes.
[x] I have run the extension sandbox successfully.

This is awesome, thank you @dompuiu! In the meantime, another important piece of information became available: The Property ID. Could we still add this to the Runtime Environment Data Element or is it too late for that?

@frederikwerner I've added it right now. Thanks for bringing it up.


[FEATURE] Add support for class fields metadata similar to Kotlin reflection

In Kotlin to get a field metadata is very simple
class A(val p: Int)
val prop = A::p

Most usual use case is to get the field name A::p.name. This is also similar to C# nameof.
It will be very useful for mapping in persistence entities, in json mapping, in validation.
I propose to add a new annotation @ReflectionMetadata which will create a new field in the class
@ReflectionMetadata
class Point {
    private Integer x;
    private Integer y;

    public static final $PointReflectionMetadata $meta; // this will be generated

So, it will be possible
Point::$meta.x.name

This is already covered by https://projectlombok.org/features/experimental/FieldNameConstants


upgrade sinon

All of the tests which use sinon are run in the CI build - it is not used in any of the service integration tests

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS


HSEARCH-2108 Analyzer should be ignore if the field is not analyzed

This should fix the problem about the warning log Chris pointed out before.
The problem is caused by checking the analyzer even if the field is not analyzed.
It also add a couple of additional tests.

merged!


bug: ionic start is broken

I am just starting with ionic and following instructions on the get-started page. Initially I had Angular 9 installed on my machine and I faced the same issue. Then i uninstalled Angular (npn uninstall -g @angular/cli).
/home/pankaj/ionic>ionic start
Pick a framework! 😁
Please select the JavaScript framework to use for your new app. To bypass this prompt next time, supply a value for the
--type option.
? Framework: Angular
Every great app needs a name! 😍
Please enter the full name of your app. You can change this at any time. To bypass this prompt next time, supply name,
the first argument to ionic start.
? Project name: PankajT1
Let's pick the perfect starter template! 💪
Starter templates are ready-to-go Ionic apps that come packed with everything you need to build your app. To bypass this
prompt next time, supply template, the second argument to ionic start.
? Starter template: tabs
✔ Preparing directory ./PankajT1 - done!
✔ Downloading and extracting tabs starter - done!
? Integrate your new app with Capacitor to target native iOS and Android? No
Installing dependencies may take several minutes.
──────────────────────────────────────────────────────────────────────
  Ionic Enterprise, platform and solutions for teams by Ionic

              Powerful library of native APIs ⚡
             A supercharged platform for teams 💪

              👉  https://ion.link/enterprise  👈

──────────────────────────────────────────────────────────────────────

npm i
npm WARN deprecated<EMAIL_ADDRESS>TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm ERR! Unexpected end of JSON input while parsing near '...0-next.2":{"name":"@a'

npm ERR! A complete log of this run can be found in:

The contents of the log file are:
2020-06-20T12_19_07_996Z-debug.log

My node version is v12.16.3 and npm version is 6.14.4


push is missing when updated phonegap plugin push from 1.8.2 to 2.0.0

I have this code that is working properly at<EMAIL_ADDRESS>                Push.push.setApplicationIconBadgeNumber(() => {
                    console.log('Push.setBadge: ', activityBadgeCount);
                }, (e) => {
                    console.log('Push.setApplicationIconBadgeNumber: Error', e.message);
                }, activityBadgeCount);

recently i updated to<EMAIL_ADDRESS>and logged "Push" , it does not contain "Push.push" anymore, thus resulting to an error :

I have tried to check the repository the only difference I saw is that phonegap implemented 'use strict' does this affect Raix thus removing the push function?

could you try the latest published version?


I'm curious about 2024

Dear @NeVeSpl
Do you think it is best if you can publish full library to see ?
I'm working on version Revit 2024 and Visual Studio 2022 and I want to try whether it will work or not.
Thank you !

It should work, I haven't updated docs, but there is an attribute that allows you to choose Revit version:
[RunOn(RevitVer.Revit2024)]
https://github.com/NeVeSpl/RevitDBExplorer/blob/c7b3b469444533d3e3694690ddbd3dd06b6ce99f/tests/RDQ/QueryParserTests.cs#L11

Hi @NeVeSpl , it also meaning we don't need load file .runsettings ?

You can always try without it, but it rather will not work. As far as I remember it is mandatory.

nuget it is build with revit 2023 DLLs, so I would expect that it will work only with Revit 2023 and 2024

Thanks for clearly for me, I just want to confirm with anybody want to try it :

for <2023 is not working now
Rider is not working now
2023 and 2024 is good
2023-09-08-17-13-25-628___706d190a-f28d-41fc-bf0c-357320b87f1e.log


Spotraop does not respect port range for _spotify-connect._tcp port

When running spotraop, the spotify connect ports that are advertised via mdns are not chosen from the port range specified with the -a, the itunes control port is chosen from the range however.
When running with a firewall this prevents initial pairing of spotify credentials while the firewall is active. This can be worked around by using cli username and password or turning off the firewall, playing on each device at least once (to gen the credentials) and then turning it back on after.
It would be more ideal if the ports were chosen from the specified range however.

Fair point, I've fixed that in 0.9.2. Not perfect but should do

Thanks.
I should have opened with this, but thank you for this project, and for your airconnect project. I use both of these apps everyday!
Any chance you plan on adding a spotcast (spotify to chromecast) variant?
I know that spotify can send to chromecast natively, but it times out eventually and isn't as reliable as something running on a headless server maintaining the stream.

No worries - I'm glad you find these useful. Regarding sending to a CC, it's not really possible unfortunately as the apps that are sent in the devices are vendor specific and certified by Google which make the runtime environment impossible to emulate. In other words, you can't make a fake chromecast as they not only exchange data according to a protocol, but they host closed application that are loaded at play.

I meant the opposite way.
In the same way as you have
spotraop = spotify_connect => airplay,
spotupnp = spotify_connect => upnp,
you would have
spotcast => spotify_connect => cast,
I know that Spotify can already cast directly to a chromecast, and technically if you start playing from your iphone to a chromecast and you close the app, the song will continue playing because the chromecast runs the spotify receiver and operates independent of the phone. The problem is that eventually the chromecast will stop playing if the spotify app is not left open.
Your spotraop application is much more reliable and I figured that since you already have the airplay => cast bridge, that you would be able to reuse that logic for spotify_connect => cast.

ah, this way, yes I thought about it but as you said, Spotify can cast directly. I understand your point but I'd say there is a likely a "limited" general interest for such bridge. Even the these SpotConnect bridges seem to have much less success than I anticipated (especially compared to AirConnect whose popularity, on the other hand, surprised me). And yes I have all the bits and pieces but still, this is yet another piece of work and I'm really overloaded with too many projects.