Fixes NPE if ClientImpl has been closed/destroyed before the end of invokation

Hi,
We are facing a random crash in our tests in ClientImpl with the following stacktrace:
Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.put(Object, Object)" because "this.responseContext" is null
        at org.apache.cxf.endpoint.ClientImpl.setResponseContext(ClientImpl.java:288)
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:546)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:441)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:356)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:314)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:334)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
        ...

The bug seems to appear "randomly" after many calls being sent through the WebService in our integration tests. Taken one-by-one, all the calls are working correctly, so it seems there is something else causing this error (for instance a fault) but we aren't able to see it because this NPE.

Error:  Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.2.2:checkstyle (validate) on project cxf-core: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 10.18.2 with cxf-checkstyle.xml ruleset. -> [Help 1]


fix(grafana): add empty provisioning notifiers and plugins folder

If the folder plugins or notifiers are not defined in the provisioning folder an error will be thrown while reading provisioning files.
Failed to read plugin provisioning files from directory" logger=provisioning.plugins path=/etc/grafana/provisioning/plugins error="open /etc/grafana/provisioning/plugins: no such file or directory
Can't read alert notification provisioning files from directory" logger=provisioning.notifiers path=/etc/grafana/provisioning/notifiers error="open /etc/grafana/provisioning/notifiers: no such file or directory

These errors as far as I can tell don't actually cause any issues.
Having said that we can fix this by instead by changing the following line: https://github.com/stefanprodan/dockprom/blob/4c2b86c47c31b011ca490560615fc7eff875bf96/docker-compose.yml#L92
To instead read:
      - ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
      - ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources

Happy for you to adjust this PR to my suggestion to get this merged.

These errors as far as I can tell don't actually cause any issues.
Having said that we can fix this by instead by changing the following line: https://github.com/stefanprodan/dockprom/blob/4c2b86c47c31b011ca490560615fc7eff875bf96/docker-compose.yml#L92
To instead read:
      - ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
      - ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources

Happy for you to adjust this PR to my suggestion to get this merged.


Define final configuration to run

Currently, the pipeline has been designed to run as described as shown in here.  However, given the discussion on that issue the final setup will be something like described in here, which the final year to be decided.
I think we could try the best-case scenario (2080?) for a couple of LADs and measure how long it will take to run and its costs. This needs direct input from Ruth, Hadrien.

My take on the subject is that we should try to limit ourselves to 5 dates (including 2011 and 2020), as there are further steps to prepare the data for the full SPC process once these data are produced. Ruth to decide which dates that would be. Just bear in mind that we have no real control on the quality of the projections.

Hey there - I think the ideal would be one date several decades in the future, but modelled on the different shared socioeconomic pathways, if possible (as here) - however if not possible and its the same socioeconomic projection just temporally different, then 2040, 2060, 2080 would be great

Hi both! Could you advise how this would look like from the configuration files in here? I don't see any obvious variable for step size in the simulation.

Hi! As far as I know, the step size is hard-coded as one year (the output for every year until the specified date is created in the same folder when running the ssm scripts). Maybe turning the file writing off for years we don't want in a separate branch could accelerate the process?

I've been looking a this today and looks like the steps that create the intermediate years (run_ssm.py and run_ssm_h.py) are fairly fast to run -seconds-, so we might not have to worry too much about that. The assignment process is the lengthy one, and it's done individually per year and we can configure it with the json files.
Now, a problem I've found is that the household microsimulation (run_ssm_h.py script) uses these ONS projections to create the datasets, and they have an upper limit for 2042. If we try to go futher the code breaks for lack of data to project.
Do you have an idea of how to work around this?

All right, then we could choose 2012, 2020, 2022, 2032 and 2042 @RuthBowyer . What I can do is add a mechanic to also grow the population in numbers within the new version of SPC. It will have to be based on some other projections once they become available (based on the new census that is).

All right, then we could choose 2012, 2020, 2022, 2032 and 2042 @RuthBowyer . What I can do is add a mechanic to also grow the population in numbers within the new version of SPC. It will have to be based on some other projections once they become available (based on the new census that is).

Sorry for so reply, I wanted to chat it over with Gavin first - that sounds great, thank you!! And in future I will think about how we might instead integrate the shared socioeconomic pathway data projections

That sounds good! Is Northern Ireland included out of interest?

Great, thank you!


New release

The latest release has been released on March and since then there have been some useful additions.
Using gogen-avro with Glide or Dep make us use the 4.0.2 by default while installing the compiler using go get installs the latest commit.
Unfortunately, the code doesn't compile because of differences on some signatures.
I think it would be way easier if you created a new release with possibly prebuilt binaries. What do you think ?

I cut a v5.0 that should do a better job of not breaking - all the references should be to the gopkg.in version rather than Github master. Let me know if it works better for you.

That's great ! Thank you !


Revert winrmPort sensor in VanillaWindowsProcess

Thanks @bostko - a couple of minor comments to address, and then this is good to merge. Can you also add to https://github.com/apache/brooklyn-docs/blob/master/guide/misc/release-notes.md a (very short) entry under "backwards compatibility" saying what the new names are, and that the old names are now deprecated.

An impressive build failure by jenkins:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error

Can you close + reopen this PR, so that jenkins has another go please?

LGTM, thanks @bostko - merging.


digital twin property not sent to cloud after it was cleared and set again

Describe the bug

Setting a digital twin property to the same value after it has been cleared does not result in the value being forwarded to Cumulocity IoT.
To Reproduce

Connect thin-edge.io to Cumulocity

Publish a property/fragment to the digital twin
tedge mqtt pub te/device/main///twin/subtype '"rp1"' -r

Verify that the subtype property has been set to rpi in Cumulocity IoT.

Clear the previous fragment from the previous
tedge mqtt pub te/device/main///twin/subtype '' -r

Verify that the subtype property has removed in Cumulocity IoT.

Publish a property/fragment to the digital twin
tedge mqtt pub te/device/main///twin/subtype '"rp1"' -r

Verify that the subtype property has been set to rpi in Cumulocity IoT. Currently this step fails. However sending a different value will result in the value being forwarded to Cumulocity IoT.

Expected behavior

Setting a previously cleared flag with the original value should write the value in the cloud.
Screenshots

Environment (please complete the following information):

Property
Value

OS [incl. version]
Raspbian GNU/Linux 11 (bullseye)

Hardware [incl. revision]
Raspberry Pi Model B Rev 2

System-Architecture
Linux finn 6.1.21+ #1642 Mon Apr  3 17:19:14 BST 2023 armv6l GNU/Linux

thin-edge.io version
tedge 0.12.1~457+gd3ed45f

Additional context

Most likely this is a simple bug with the internal model is not cleared when a fragment is cleared which affects the internal diff model evaluation.

QA has thoroughly checked the feature and here are the results:

[x] Test for ticket exists in the test suite.
[x] QA has tested the bug and could not reproduce it anymore.


factor: Add 32b variant for modular arithmetic

Twice as fast as master

[x] Implement and test 32b variant.
[x] Refactor to avoid code duplication between the 32 and 64b versions.
[x] Use specialised basis for the Miller-Rabin primality test.

I'm not sure what's the way forward there: ideally, I can make Montgomery generic over a numeric type, which means needing something like num-traits which IIRC isn't the most pleasant thing to work with.

@nbraud I consolidated Montgomery and Montgomery32 into one.  The code needs to be cleaned up a bit, but the commit is ef50150528c84f56c5b9d272e562ca67beb8ecdb.  If you’d prefer, I can just push it to your fork.

I successfully generalised the function for computing modular inverses (which might also be useful if we want to make the trial division table smaller, etc.), but I'm running into a couple of issues trying to refactor Montgomery to make it similarly generic:

I don't only need an integer type, but also a type of intermediate values with double the width (i.e. u32 -> u64, u64 -> u128, etc.) ; that can be solved with an associated type, but the conversions get pretty messy.
Not being able to use integer literals (i.e. write 2 * x + 1 in source or somesuch) really hurts readability.
It would make sense to replace Arithmetic::{from,to}_u64 with a {from,to}_int that takes the datatype's native integer type (i.e. u32 for Montgomery32, u64 for Montgomery64, etc.), so we would need to make the Arithmetic trait itself generic.
There are some optimisations which only apply to certain sizes; for instance, in Montgomery64 we can safely assume that 2⁶⁴ > n > 2³² (i.e. n is a u64, but couldn't be a u32 otherwise we would use Montgomery32) and that we only want to reduce 64b integers x mod n, so n² > x and we can use Barrett reduction ( I expect that to be a pretty large win, as the 128b reduction mod n in Montgomery::from_u64 consumes 25-30% of the runtime in master )

I thought I had a trait-based solution for this, but it doesn't work out: where clauses on associated types are unstable and do not support “constraints cycles” (like type DoubleWidth: From<Self> where Self: From<Self::DoubleWidth>)
I guess the way forward is to accept a little bit of code duplication, as it seems like a macro-based solution would not be too good here (even worse maintainability)

@nbraud I consolidated Montgomery and Montgomery32 into one. The code needs to be cleaned up a bit, but the commit is ef50150. If you’d prefer, I can just push it to your fork.

Oops, sorry @Arcterus, the Github UI was hiding this message until I refreshed.  I will do have a look, thanks  :)

Oh?  cp -r failed, but only on one build environment?  I guess this is something to investigate later.

I think we need to add RUST_BACKTRACE=1 to the CI and dump stderr on failure, as we have no idea why things fail with sporadic failures like this.
I think we can apply size-specific optimizations by playing around with the traits a bit more.

@Arcterus Thanks for the feedback, I'll look later this week; maybe tomorrow if I feel up for it

I think we can apply size-specific optimizations by playing around with the traits a bit more.

Yes, I think I can do the optimization I had in mind in a pretty straightforward way

I can't seem to load the log for the failing CI instance  :(

The build failure is due to one task, Style (macos-latest, macos), failing to install the Rust toolchain.
Why are we even running what's presumably cargo fmt and clippy on 3 different OSes?

Found a bug in this, currently fixing

@Arcterus Sorry, this got a bit out of hand, but I ended up doing some serious improvements to the testsuite to be confident that there were no bugs left, ended up finding a couple more issues in miller_rabin (which are now fixed)

Also, this is currently twice as fast as master :)

Bravo for the coverage
I am afraid I don't know enough about this kind of math to do a proper review

Bravo for the coverage
I am afraid I don't know enough about this kind of math to do a proper review

Thanks regardless :purple_heart:

@nbraud could you please fix the conflicts? sorry
thanks

@nbraud could you please fix the conflicts? sorry

No need to apologise, I already had a local commit to resolve the merge conflict, I just needed to know which PR it would go to  :)

Tests are passing.
@nbraud , if you're happy, I'll take a quick overview look later today and merge.

@nbraud , I'm happy with this ...
@Arcterus , any remaining concerns on your end?
If no, I'll merge on Friday and then start getting the the next couple of @nbraud's PRs.

@rivy Thanks!

Merged.
If you're happy with the other two PRs and will rebase them, I'll merge them later today.


Add sending alarm value template option when arming and disarming the alarm.

Is your feature request related to a problem? Please describe.
Currently the code is on the end point/your app (NOT HA). This means if you use mobile app or web UI you don't need a code to arm/disarm.
Describe the solution you'd like
Given the use case of enabling the Alarm panel in the UI for web access and mobile app access, it would be great to be able to have a code in HA. This would then need you to enter the code in the alarm panel. The user would then enter their alarm code in your app, and it would send the required alarm code via MQTT as per the docs in the message when armed or disarmed.
code: xxxx

They could be different, but they also could be the same - user preference I guess.
Thanks

The HA alarm control panel does not accept the code through MQTT, this would need to be implemented first.  This is why I recommend in the documentation to use the same code as HA, but that code is not passed to HA.

Apologies I’m not sure I follow? The HA alarm control panel does accept a code if enabled:
https://www.home-assistant.io/integrations/alarm_control_panel.mqtt/

Apologies I’m not sure I follow? The HA alarm control panel does accept a code if enabled:
https://www.home-assistant.io/integrations/alarm_control_panel.mqtt/

It does not receive and process a code value sent over MQTT.  It does form the HA front end, which calls the service directly.

Thank you, let me know if you need me to test/or any feedback etc. appreciate you taking on the feature.

I could not use the the following commands in the configuration file for the MQTT Manual Alarm Panel:
code_arm_required
(boolean)(Optional)

If true the code is required to arm the alarm. If false the code is not validated.

Default value:

true

code_disarm_required
(boolean)(Optional)

If true the code is required to disarm the alarm. If false the code is not validated.

Default value:

true

command_template
(string)(Optional)

The template used for the command payload. Available variables: action and code.

Default value:

action

command_topic
(string)(Required)

The MQTT topic to publish commands to change the alarm state.

device

I am not sure what is going on, there was a breaking change in the latest home assistant so I am trying to configure the new arming, disarming along with sending an command_topic.  I cannot save the configuration:
Invalid config for [alarm_control_panel.manual_mqtt]: [code_disarm_required] is an invalid option for [alarm_control_panel.manual_mqtt]. Check: alarm_control_panel.manual_mqtt->code_disarm_required. (See ?, line ?).

https://www.home-assistant.io/blog/2020/05/20/release-110/#read-more

It appears there is a mismatch between the documentation for the MQTT Manual Alarm Panel and the actual functionality.  There is also a disconnect between the documentation of the Manual Alarm Panel and the MQTT Manual Alarm Panel which it is based upon.  For now, it looks like there is no to implement this feature or any of the new states for the Alarm Panel until these issues are resolved in Home Assistant.

I have posted a question on the home assistant community https://community.home-assistant.io/t/mqtt-manual-alarm-panel-issues/198398.

We now integrate with alarmo which supports codes and have a remote code option in the app to send the code to the server.


Data provider based on JDBC system. Full support on Oracle, SQLServer, DB2?

Hi,
can we aspect full support on Oracle, SQLServer and DB2?
We need to know about this issue, because we have to develop a RDB2RDF via Java API.
Best Regards.

Hi marcyborg.
thanks for your interest but unfortunately I no longer have the time to do further development. Though I can give you some pointers how to extend the code for different database dialects, if you're interested

Thanks to your availability,
Now I'm going to have an overview into these dialects, and we can update in a few weeks.


Fix: Not removing absolute path in Maya DL submission

Changelog Description
This occured only in Maya (or DCC with AOV), caused pasting whole absolute path to metadata.json which could cause Given file names contain full paths (if ValidateExpectedFiles was disabled). 'files' is expecting only file names, not full paths.
Testing notes:

disable ValidateExpectedFiles
publish from Maya
check metadata.json, shouldn't contain absolute paths, but only file names in files

This also influences other DCCs and should also need confirmation that it works from other hosts, like Houdini and potentially others that submit to the farm?
Technically it's by all of these. So we may want to confirm at least a few:

[ ] Blender
[ ] Celaction
[ ] Fusion
[ ] Harmony
[ ] Houdini
[ ] Max
[ ] Maya
[ ] Nuke
[ ] Unreal

This also influences other DCCs and should also need confirmation that it works from other hosts, like Houdini and potentially others that submit to the farm?

We should test it, but on the other hand it is returning back the code that was there before and was removed by mistake (mine ☝🏻 )

This also influences other DCCs and should also need confirmation that it works from other hosts, like Houdini and potentially others that submit to the farm?
Technically it's by all of these. So we may want to confirm at least a few:

[ ]  Blender
[ ]  Celaction
[ ]  Fusion
[ ]  Harmony
[ ]  Houdini
[ ]  Max
[ ]  Maya
[x]  Nuke
[ ]  Unreal

We should also confirm the publish jobs work.

It would be affecting only DCCs which have AOVs, which are not these on the list, imho.

Also works in blender host . Again full testing with rendering and publish job done. LGTM

so now also 3dsmax been tested and all good too


Private MSBuild backward compatibility

Given a project that

Already exists
Uses full-framework tasks and targets
Targets building for the full framework

In a world where MSBuild isn't installed and potentially comes in mutiple flavors (desktop/full framework, .NET Core, Mono), what is required to build this project?
At the moment, .NET Core MSBuild can't build a project that targets the full framework. Reasons this isn't trivial:

Can't load tasks that aren't .NET Core compatible (this could be alleviated by #711)
Can't use MSBuild functionality that's tied to the desktop CLR, like ResolveAssemblyReferences, binding redirects, and some toolset/helper things
A desire to make netcore MSBuild work the same everywhere--for example disallowing registry operations, even though they could work (on Windows)

At the same time, the dotnet CLI can currently build applications that target the full framework, and it would be good to preserve that behavior.
One possibility is to always use the full framework MSBuild on Windows--that code will handle building projects that target full framework (as it always has) and .NET Core (because there are no .NET Core-exclusive features of MSBuild).

We could do a short term / long term thing.
Short term, due to VS release time constraints: the easiest thing (for MSBuild at least) is for dotnet CLI and VS to use the full framework MSBuild on Windows. This means they would both agree, and users would not get different builds from VS and command line (as long as CLI users match the msbuild command line to the configuration that VS does).
Long term, we could do work towards 1 build engine: beefing up .Net Core msbuild until it is good enough in terms of feature parity. Things like switching to Roslyn for inline tasks and converting many ifdefs to runtime checks.

Please preserve the use of the xbuild-frameworks folder that comes with mono, it provides the necessary framework lists to target full-framework/mono.

I'm not sure this makes sense any more, closing.


Typo in Popup Usage section "Specifying Content In Metadata"

In the info box here the top bullets says "Using HTML title attribute" when it should probably say "Using HTML data-title attribute" instead, like the data-content and data-html tags mentioned after it.

Thank you, I opened a PR; closing as resolved.


Support for SuSE and custom gem binary

Fixes #31 and #35.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

Both of these changes are currently merged onto master from different PRs.


update swift 3

This is a fully updated working swift 3 code

Thanks for PR. Unfortunately, I worked on support Swift3.0. I'll merge my PR into a master branch.
Please check it:)

Thanks:) I updated by myself.


Add playbackRate

This PR adds a playbackRate option to anime, which allows an animation to play faster/slower than originally intended.
Rationale:
I have some css animations with keyframes with a user overridden duration, like this:
@keyframe 0% {...}
@keyframe 23% {...}
...
animation-duration: CHOSEN BY THE USER

Since animeJs does not support % keyframes, but only durations, in order to be able to override the duration I'd need to either:
a) make a function that generates the animation by multiplying each duration by some amount
b) make a function that goes over the animation object and multiplies durations, delays, endDelays, time offsets and so on keys by this amount.
Option a is not possible since animations need to be serialized and loaded from a JSON.
Option b is possible, but annoying
Although perhaps the preferable way to solve this issue would be to allow keyframes to express their durations and delays in "x%" in addition to msecs, this PR would solve it by allowing an animation to have a "playbackRate", which would solve my case by making all the base animations 1 second, each % keyframe "0.%" seconds, and setting the playbackRate to the user overridden number of seconds he wants the animation to last.

@juliangarnier FYI

This will be possible in V4, but I'm thinking about using a similar concept as the oldschool turntable https://en.wikipedia.org/wiki/Pitch_control (where 0 = no change of speed)

I went with animation.setPlaybackRate() and animation.setFrameRate() in the current V4 beta.
Also globalTimeline.setPlaybackRate() and globalTimeline.setFrameRate() to affect all animations timings.
Will share soon !

This will be possible in V4, but I'm thinking about using a similar concept as the pitch control on oldschool turntables https://en.wikipedia.org/wiki/Pitch_control (where 0 = no change of speed)

There will be a V4?

Yes I have everything ready for an early access, just need to finish the documentation and a migration guide.

Yes I have everything ready for an early access, just need to finish the documentation and a migration guide.

That is great


AR ->one($db) relations are not loaded from the same DB

What steps will reproduce the problem?
$db = \Yii::$app->db2;
$model = Model::find()->one($db); // works fine
var_dump($model->customers);

What is the expected result?
I expect that customers will be loaded from the same DB that I've passed to ->one()
What do you get instead?
Instead it is loading customers from Customers::getDb() database
Additional info

Q
A

Yii version
<IP_ADDRESS>

PHP version
7.1.6

Operating system
Ubuntu

Do you have customers in multiple databases?

no, but what I wanted to do is to copy models with its relations from one database to another, here's the example:
$models = Orders::find()->all(\Yii::$app->db2); // Order has relation "customer", and also "customer" in Order::fields() defined
foreach ($models as $model) {
    $new_model = new Orders;
    $new_model->setAttributes(ArrayHelper::toArray($model), false);
    $new_model->save();
}

basically Orders are copied properly, but customers aren't, since it is trying to find them in the wrong database (\Yii::$app->db instead of \Yii::$app->db2)

Does it work if you specify the relation with the query?
$db = \Yii::$app->db2;
$model = Model::find()->with(['customers'])->one($db); // works fine
var_dump($model->customers);

I'm not sure it conceptually should load from the same DB since cross-database relations are supported by Yii.

For the task you're trying to achieve I'd not rely on Active Record in the fist place. Batches and query builder suit it much better.


Allow collapsing operations in the trace view

I want to be able to collapse the trace at any level so I can focus on pieces at a time. For e.g. in the trace below I'd love to be able to minimize the first 2 calls to figure out why there are so many db queries.

@JamesNK there's an open PR for this. Thanks @stbau04 .


[CI] Update trigger phrases for Windows tests

proxyall-e2e is included in test-windows-all and remove
test-windows-proxyall-all
Signed-off-by: Zhecheng Li<EMAIL_ADDRESS>

Codecov Report

Merging #2957 (1ff8e95) into main (11d1370) will decrease coverage by 21.07%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #2957       +/-   ##
===========================================
- Coverage   61.63%   40.55%   -21.08%
===========================================
  Files         283      158      -125
  Lines       23821    19959     -3862
===========================================
- Hits        14681     8095     -6586
- Misses       7569    11093     +3524
+ Partials     1571      771      -800

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
40.55% <ø> (ø)

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


add security and license to gomakefilemaker conf, run gomakefilemaker

at some point in the redo of go makefile maker we lost license, and codeql

coverage: 58.917%. remained the same
when pulling a5137e5b725e385aa1c6c203ac53fe7493114c24 on run_go_makefile_maker
into ec98d9b5d4a6fd457b598fd01ce90bf40c47effd on master.

Yeah, it doesn't run correctly through ci because it needs generated files. It works perfectly fine locally for me. Hrm... maybe that's why it was removed, and I forgot....  Okay, closing and deleting this.


Needs more robustness for additional delegates

If you build Prig.Samples in the following order, you will get a build failure.

Build QUICK TOUR sample.
Build Replace Three or More out ref Parameter Method sample.
Clean the results of 2.
Rebuild QUICK TOUR sample => This build will fail :broken_heart:

This is because Prig cannot reference the delegate that was added in the step 2. However, it isn't needed in the step 4.
Prig should just ignore the additional delegates that doesn't exist.

This issue is fixed in the following commit:
b98d7b3786080f2124b10cf4e4aeaa61f0b6dbb2


supercollider: 3.9.1 -> 3.9.2

Semi-automatic update generated by https://github.com/ryantm/nix-update tools.
This update was made based on information from https://repology.org/metapackage/supercollider/versions.
These checks were done:

built on NixOS
ran /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/bin/scsynth -v and found version 3.9.2
ran /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/bin/supernova -h got 0 exit code
ran /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/bin/supernova --help got 0 exit code
ran /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/bin/supernova -v and found version 3.9.2
ran /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/bin/supernova --version and found version 3.9.2
ran /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/bin/sclang -h got 0 exit code
ran /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/bin/sclang -v and found version 3.9.2
found 3.9.2 with grep in /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2
directory tree listing: https://gist.github.com/5b90384fd1df273cba0757c752a352d6

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: supercollider
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Failure on aarch64-linux (full log)
Attempted: supercollider
Partial log (click to expand)
g++: error: unrecognized command line option '-mfpmath=sse'
g++: error: unrecognized command line option '-msse2'
make[2]: *** [external_libraries/CMakeFiles/boost_program_options.dir/build.make:279: external_libraries/CMakeFiles/boost_program_options.dir/boost/libs/program_options/src/variables_map.cpp.o] Error 1
g++: error: unrecognized command line option '-mfpmath=sse'
g++: error: unrecognized command line option '-msse2'
make[2]: *** [external_libraries/CMakeFiles/boost_program_options.dir/build.make:303: external_libraries/CMakeFiles/boost_program_options.dir/boost/libs/program_options/src/winmain.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1053: external_libraries/CMakeFiles/boost_program_options.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
builder for '/nix/store/paz6vhnm16jy5ivnk4bxizq1727zcqzk-supercollider-3.9.2.drv' failed with exit code 2
error: build of '/nix/store/paz6vhnm16jy5ivnk4bxizq1727zcqzk-supercollider-3.9.2.drv' failed

Success on x86_64-linux (full log)
Attempted: supercollider
Partial log (click to expand)
shrinking /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/lib/SuperCollider/plugins/MulAddUGens_supernova.so
shrinking /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/lib/SuperCollider/plugins/UIUGens_supernova.so
shrinking /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/lib/SuperCollider/plugins/IOUGens_supernova.so
shrinking /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/lib/SuperCollider/plugins/ML_UGens.so
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/lib  /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2/bin
patching script interpreter paths in /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2
checking for references to /build in /nix/store/a6z8q6az7fzhh0sp4llp4fzp8c95bm6y-supercollider-3.9.2...
postPatchMkspecs
postPatchMkspecs


Remove scheme color

Please explain how to remove ALL or some color scheme (no one theme at the time). It would be useful to know where all this code is installed.
I find quite annoying that every time I open a new tab I have to specify the color scheme.

https://github.com/Mayccoll/Gogh/issues/233
https://github.com/Mayccoll/Gogh/issues/61#issuecomment-289478323
https://github.com/Mayccoll/Gogh/issues/227#issuecomment-626352654


Currently .xcconfig files on Xcode don't seem to follow the folder hierarchy.

When using the top-level configFiles: label to point to individual .xcconfig files, it all works correctly, with the exception of how it's currently displayed in the xcode file drawer. The files I'm pointing to are two levels down the file hierarchy (we have a significant amount of them), but on Xcode they're displayed at the top level. Is this a bug, intended behaviour, or did I miss some aspect of the file spec?
Excerpt of project.yaml with names changed.
configs:
  APP DEV: debug
  APP1: release
  APP2: release
  APP3: release

configFiles:
  APP DEV: SourceFolder/Supporting Files/APP DEV/APP DEV.xcconfig
  APP1: SourceFolder/Supporting Files/APP1/APP1.xcconfig
  APP2: SourceFolder/Supporting Files/APP2/APP2.xcconfig
  APP3: SourceFolder/Supporting Files/APP3/APP3.xcconfig

targets:
  MainTarget:
    type: application
    platform: iOS
    deploymentTarget: "14.4"
    sources: [SourceFolder]
    configVariants:
      - APP1
      - APP2
      - APP3
      - APP DEV

On Xcode they show app at the top level as such:
-  MainTarget
    - APP DEV
        - APP DEV.xcconfig
     - APP1
         - APP1.xcconfig
     - APP2
         - APP2.xcconfig
      - APP3
         - APP3.xcconfig

And the Supporting Files folder appears empty. When inspecting the file locations on Xcode, I can see that it points to the right file, deeper inside the folder structure. Any clues on what's happening is appreciated.

createIntermediateGroups make keep hierarchy of the generated project and the actual folder one.
# Write it top of project.yml
options:
   createIntermediateGroups: true

Could you help confirming it?

Doc: https://github.com/yonaskolb/XcodeGen/blob/4233cc8578b660f7a5df2a345fd3bbaf425af747/Docs/ProjectSpec.md#options

@freddi-kit thanks a lot, I'll check!


Currency in $ and £

Requested from user, Grant Massie:

Is there a way I can change the currency from $ to £?

Need to investigate options in Grafana.

You can change this in the individual panels by changing the unit:

It doesn't appear to be possible to set this using a variable. Maybe during the setup script the user could be prompted to pick a currency unit from a list and then a find/replace operation could be run on the dashboard.json to change the currency unit?
For £:
"unit": "currencyUSD"
would need to be changed to:
      "unit": "currencyGBP"

and you might want an option for:
      "unit": "currencyEUR"


Persisting state on NodeRed deploy/restart

Currently, the component resets the integral part when nodered deploys new flow or restarts. This is a problem when the integral part is very long (in my case 24 hours for a heating system).
Would it be possible to add an option to persist the integral state under these circumstances?

I am away from my desk at the moment, but if my memory is correct the setting initial_integral is used to initialise that.  That can be set by using msg.integral_default (check the help text to make sure my memory is correct).  If you know the approximate power required to control at the setpoint then you can set that in the node's config.  If that is variable then if you remember the output power in persistent memory and feed that back in on startup as msg.integral_default (before or with the first process value) then it will use that value. That assumes that the process is in control close to the setpoint when you restart of course.

Thanks - I managed to get that working.
It wasn't trivial through, mostly because I had to build a small state machine that prevents other messages to reach the PID node before it is initialized (otherwise it would emit a "wrong" integral value that would mess with the process / persistence layer).

Would an inject node set to fire once on startup, feeding the context variable in, have done the job?  I would have thought that that would be bound to get in before any sensor had got round to feeding in data.


compiler: do not emit code for unused imported functions

Our current algorithm marks function as used if it is called
at least ones, even if the callee function is itself unused.
This commit implements more clever traversal to collect usage
information more precisely.
Signed-off-by: Evgeniy Stratonikov<EMAIL_ADDRESS>

Looks good, btw.


Add PHP 7.4 Travis build

Also replace mock-objects with PHP 5.6-7.4 compatible fork sminnee/phpunit-mock-objects

We can change to 7.4 instead of 7.4snapshot only after https://travis-ci.community/t/some-extensions-are-missing-in-php-7-4-0-zip-gmp-sodium/6320 is fixed


Stop looking at binding patterns for type argument inference

Binding patterns are already sketchy enough as contextual types where type argument inference is not involved, but I see no good reason to let them play a part in actual generic inference.
Fixes #45663
Fixes #43605
Related: #39081

@typescript-bot user test this inline
@typescript-bot run dt
@typescript-bot test this

@typescript-bot user test this inline
@typescript-bot run dt
@typescript-bot test this


[epic] v1.0.0 Performance and Scale

Epic Goal

Measure and implement any necessary improvements to ensure OLM v1.0.0 meets or exceeds OCP guidelines around performance and scalability.

Why is this important?

OLM v1.0.0 will be a payload component that always runs in OCP clusters. In order to reduce SD and customer costs, we need to minimize this overhead.
OLM v1.0.0 is intended to be used on a wide variety of clusters, ranging from single node clusters with just a few namespaces to clusters 2-3 orders of magnitude larger. We need make sure that it runs just as well on a small cluster as it does a large cluster.
In order to reduce user frustration, we need to provide a responsive user experience. Reconciliation needs to be fast and non-blocking to ensure users receive the experience they have come to expect from OCP. To the extent possible, long-running tasks (e.g. catalog fetching/caching and image pulling) should be performed asynchronously.

Scenarios

Collect pprof profiles for CPU and memory when running standard user flows around installing, upgrading, and removing operators from public catalogs (e.g. operatorhub)
Find the most resource intensive code paths. Provide documentation and recommendations related to making improvements in those areas.
Coordinate with OLM maintainers to make improvements in areas deemed to provide the most significant performance and scale gain.
Implement automated performance and scale regression tests in the existing upstream CI test suite.

Examples of known areas for improvement include:

When reconciling a ClusterExtension to resolve a bundle from the criteria provided by a user, the reconciler should return a desired bundle within 100ms and allocate no more memory than the size of the catalog metadata for the named spec.packageName.
When the ClusterExtension reconciler does not have the contents of a resolved image bundle available, it does not block waiting for the image to be pulled and processed. Rather, it starts an asychronous job, reports the pending image pull via the ClusterExtension status, and returns from reconcile.

/assign

I think I've found one unexpected slowdown: the bundle handler that converts a registry+v1 bundle to plain and then to helm. It takes 5s on my machine in the "Force upgfade" epic.

@OchiengEd just wanted to check to make sure you didn't find any critical (as in "must fix for 1.0.0") issues in your performance and scale research?
If not, can we move the remaining scope of this epic to v1.x?

Item to include in performance and scale (although maybe more of a release blocker based on other discussions):

[ ] https://github.com/operator-framework/operator-controller/issues/1025 (optimization)

No critical issues were identified. This epic was slated to be moved to 1.x


Document prometheus metric deprecations

Original work in https://github.com/kedacore/keda-docs/pull/1258, reasons for duplicate PR https://github.com/kedacore/keda/pull/5687#issuecomment-2058419250

Updates the docs with the changes in kedacore/keda#5174.

I merely cherry-picked the documentation changes and applied review suggestions

moved the docs to target 2.14
fixed minor typos
also kept original text next to the deprecated metrics right after the deprecation notice and recommendation to use new metric

Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

closes: https://github.com/kedacore/keda-docs/pull/1258

thanks @tomkerkhove, I applied your suggestions, let me please know if there is anything else.


Possible Bug On Malformed URL

When I do the following:
bucket.get("some.bad.url")
I get the following immediately:
java.lang.IllegalArgumentException: Illegal character in path at index 174
at java.net.URI.create(URI.java:859)
at fly.play.aws.auth.Request.uri$lzycompute(Request.scala:13)
...
The exception is fine of course, but shouldn't it be wrapped in a Failure within the Future to be unlocked with a recover rather than just happen synchronously? Or am I just doing something dumb?
Thanks.

I agree, that would simplify recovery for dynamic usage. This would however break backwards compatibility, so I will add it on the next big version bump.

Thinking about that, it's quite tricky. The error happens quite far away from the method call. I am wondering what the benefit would be of catching it into a future failure.
Maybe it helps to know your usecase. For most people this would just be a programming error, for which it's fine to have an early exception with a clear origin. Could you explain your usecase a bit more?

My use case isn't terribly elaborate. I was simply using the method normally and assumed all errors would be in Futures and coded accordingly. The fact this one wasn't led to weirdness on my end until I figured out the issue.
So it was my bad for assuming.
If it is too much trouble, then I guess simply documenting which exceptions are synchronous and which are asynchronous should be sufficient.

The problem with that is that errors as the one in this particular example come from Java.

I am closing this issue as a 'wont fix'. There are too many potential exceptions that can be thrown.

Just to be clear, I raised the issue not because I care about differentiating among exceptions but because I was hoping whatever exception happens can be recovered from the Future. I think handling exceptions from Java libraries is possible though I've never had to do it it. So easy for me to say.
But yeah, if that's too hard to do, then that's cool.

In this case there should be no reason to catch it. It will be caught (at least I hope) on your first test run as it indicates an invalid url which you do not want to leave around.
If you are assigning the url dynamically (from a user form or something similar) then I hope you would validate the url before using using it. So even in this dynamic case the exception would not occur when the application is running in production.


Make a wetsuit variant wearable on earth

It seems feasible to create a variant of the websuit which is wearable on earth, the clue point is to check if removing the neopren property affects the visibility of the helmet.

We need to check if the property "uniformType = "neopren";" affects the visibility of the helmet in the wetsuit config.


Command returned a non-zero code:<PHONE_NUMBER>

Discussed in https://github.com/microsoft/dotnet-framework-docker/discussions/945

Originally posted by Hassnain-Alvi April 25, 2022
I am using mcr.microsoft.com/dotnet/framework/aspnet:4.7.2 for quite some time on windows server 2019
Recently i downloaded newer version of container and now when  ever i try to build newer image on Windows server 2019 running powershell command it returns Command returned a non-zero code:<PHONE_NUMBER>
This happen regardless of command and i tried 4.7,2 and 4.8 same behavior. The same docker container when i try to build it locally on windows 11 works fine
Is there anything i need to do to make it work ?
Here is my dockerfile
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.7.2

RUN powershell -NoProfile -Command Remove-Item -Recurse C:\inetpub\wwwroot\*

RUN powershell -NoProfile -Command Import-module WebAdministration | set-itemProperty IIS:\apppools\DefaultAppPool -name “enable32BitAppOnWin64” -Value “true”

WORKDIR /inetpub/wwwroot

COPY . .

[Triage]
Can you narrow down which command is actually producing the error? The 2nd PowerShell statement consists of multiple commands. Is it the Import-Module that's failing?

Can you provide the output of docker history mcr.microsoft.com/dotnet/framework/aspnet:4.7.2 and docker inspect mcr.microsoft.com/dotnet/framework/aspnet:4.7.2 from the machine that is running the build? I'd also like to see the full output of the docker build command.
If you're able to identify the aspnet image that was working in the past, that would certainly be helpful.
The error code you get,<PHONE_NUMBER>, indicates a missing DLL which doesn't really make sense. If things were fundamentally broken in the image with PowerShell, we'd be getting a lot of feedback from feedback but there hasn't been.
I just ran the build on my machine with this Dockerfile:
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019

RUN powershell -NoProfile -Command Remove-Item -Recurse C:\inetpub\wwwroot\*

RUN powershell -NoProfile -Command Import-module WebAdministration | set-itemProperty IIS:\apppools\DefaultAppPool -name "enable32BitAppOnWin64" -Value "true"

And it works:
C:\> docker build -f "C:\Users\mthalman\Documents\Dockerfile" "C:\Users\mthalman\Documents"
Sending build context to Docker daemon  4.608kB
Step 1/3 : FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019
4.8-windowsservercore-ltsc2019: Pulling from dotnet/framework/aspnet
Digest: sha256:8962b347e0df025ee5a887e5b23e305a80384e174ba1a3165e94a8b17f49390f
Status: Downloaded newer image for mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019
 ---> b2559d02b11a
Step 2/3 : RUN powershell -NoProfile -Command Remove-Item -Recurse C:\inetpub\wwwroot\*
 ---> Running in f92561d68b8c
Removing intermediate container f92561d68b8c
 ---> 482017b281c8
Step 3/3 : RUN powershell -NoProfile -Command Import-module WebAdministration | set-itemProperty IIS:\apppools\DefaultAppPool -name "enable32BitAppOnWin64" -Value "true"
 ---> Running in 967e7851c0b8
Removing intermediate container 967e7851c0b8
 ---> 8d6ee7bf74a7
Successfully built 8d6ee7bf74a7

In the third instruction, I did need to change something from your pasted content. Your content includes “ and ” characters, causing a failure for me.  By replacing them with ", it works. Are you really using those characters in your Dockerfile or was that just a paste artifact?

Closing due to inactivity. Feel free to respond if there's more information that can be provided.


intercepting DRM request to add header

Trying to play HLS stream with DRM protection, after loading the stream, the player using stream request response immediately automatically sends a request for license (observed via flipper logs), the problem is I need to modify headers to add token to license request which I can't figure it out how to do. The drm prop in Video component is completely ignored, so adding header through there isn't an option. Also adding headers in source prop works but it also adds header to the stream request, so it is a security problem for our project. Is there a way to expose functionality that can intercept only license server request and modify headers ?
Also we managed to make it work using video.js in javascript, so it looked something like this:
function myFunction() {
        videojs.Vhs.xhr.beforeRequest = function(options) {
          if (options.uri.startsWith(<license_url>)){
              <ADD TOKEN HERE>
          }
          return options;
        };
	var player = videojs('vid1');
	player.src({
	  src: "<stream_url>/index.m3u8"
	});
	player.play();
}

Maybe something similar can be implemented in react-native-video ?

I confirm you should use drm property object:
https://github.com/react-native-video/react-native-video/blob/master/docs/DRM.md
And to define a custom header, the headers property
headers
Notice that you must define a licenseUrl, like in the headers sample.
Let me know if it is Ok for you.


Added a tooltip for Next and Previous arrow buttons on the Landing pa…

…ge of Zulip. Issue #17467
issue link:
https://github.com/zulip/zulip/issues/17467

Closing, as if we want fancy tooltips, we'll want to do it via TippyJS, our tooltip library.
Thanks for working on this @LefterisKyriazanos!


fix(@angular/cli): correctly split array options

This PR will fix https://github.com/angular/angular-cli/issues/16320

@alan-agius4 is it still active?

@splincode no.
@d-koppenhagen, thanks for your contribution.
We've been evaluating an alternative parsers for a number of months and currently we'd like to avoid changing the semantics of how the parser threats values as this can eventually lead to breaking changes depending on which parser we choose to go with.


Placeholder not showing with bootstrap modal in IE8

I made a jsFidlle to display my point.
The symptoms are quite similar to issue #22 about jQuery UI Modal dialog but this time using
jQuery 1.7.1
jQuery-placeholder 2.0.5
Bootstrap (JS part) 2.0.1
under IE8
In the jsFiddle hereunder, I have an url that embed all this to display the modal dialog
http://jsfiddle.net/Arculeo/fuQgG/1/
It works perfectly well under all other circumstances.
If it not a bug but a misuse, please tell me where I am wrong.
Thanks and congratulation for this great tool

I have found a workaround for now
$("#signin-form div input").each(function(){
	$(this).focus().blur();
});
`

It’s an HTML document (text/html, not XHTML/application/xhtml+xml) and you’re using <script type='text/javascript' src='http://glassceilingindex.org/js/bootstrap-modal/placeholder' /> — it’s missing the end </script> tag. This works: http://jsfiddle.net/fuQgG/4/

I can't believe I am that dumb!
Sorry


Add support for FP8E4M3 and FP8E5M2 dtypes

🚀 Feature
Currently supported dtypes are listed in this conversion dict:
https://github.com/Lightning-AI/lightning-thunder/blob/17024fa1c805c4c7bc37673be26fac4ef7a1b64f/thunder/core/dtypes.py#L504-L535
PyTorch has recently added support for FP8E4M3 and FP8E5M2 dtypes and we need to add them to Thunder for native FP8 mixed precision training.
The first step is to be able to compile a function that does only dtype conversion.
cc @crcrpar

Sounds good!
How do we want to deal with the variants for each fp8 type present in torch? At the moment torch implements the following fp8 types:
# E4M3
torch.float8_e4m3fn
torch.float8_e4m3fnuz

# E5M2
torch.float8_e5m2
torch.float8_e5m2fnuz

Where the postfix FN stands for "only nan values and no infinite values" and the postfix UZ stands for  "no negative zero". 1
Also for traces we use a shorthand for all the types like f32 for float32 however in this case, using the same notation as the one we currently use doesn't give enough information about the type f8 could be any of E4M3 or E5M2 variants.

Thunder should recognize all FP8 variants that exist in PyTorch. As for printing them, I suggest using f8 with the full suffix, for example, f8_e5m2fnuz.


Updated glob to version 7.0.0.

To get rid of the deprecation warning for graceful-fs 2.0.3. Mocha has a dependency on that package through glob 3.2.3. After updating to glob 7.0.0 I ran the test suite and no test was reported as failing.

Thanks for the PR! Closing as it's a duplicate of https://github.com/mochajs/mocha/pull/2123
Related: https://github.com/mochajs/mocha/issues/2121#issuecomment-187367807


Setting boolean flag in questions.yaml, show wrong value in answers

Rancher versions: 2.0 master 6/4
Steps to Reproduce:

Create a helm chart that has a boolean question type.
make the default = true
Add Helm catalog to rancher
Go to catalog app
Change question a to false

Results:  answers shows it as "true"

Example of questions.yaml
categories:
  - things
  - stuffs
questions:
  - variable: a
    type: boolean
    description: The A"
    default: true

Results:

@loganhz is this UI or is it backend?

Tested with latest build from master:
When changing a question from "True" to "False" , answers shows as false as expected.


Fixed an issue when generating inventory list, HOST_PREFIX did not get applied

When I use HOST_PREFIX when creating an inventory host.ini using contrib/inventory_builder/inventory.py the prefix does not apply.
eg:
declare -a IPS=(<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>)
CONFIG_FILE=inventory/mycluster/hosts.ini HOST_PREFIX=mynode python3 contrib/inventory_builder/inventory.py ${IPS[@]}
The host.ini file contains the default node prefix:
eg:
[all]
node1    ansible_host=<IP_ADDRESS> ip=<IP_ADDRESS>
node2    ansible_host=<IP_ADDRESS> ip=<IP_ADDRESS>
node3    ansible_host=<IP_ADDRESS> ip=<IP_ADDRESS>
This small change fixed the issue in inventory.py

I registered and signed the agreement, just awaiting approval

Curious if I am missing anything.  I believe I have covered everything.  Commenting to bump to see if there are still failures.

/assign @woopstar

@ragetti I can't reproduce the issue you're facing by executing the same commands as the ones specified.
That's the output I get with the master version:
DEBUG: Adding group all
DEBUG: Adding group kube-master
DEBUG: Adding group kube-node
DEBUG: Adding group etcd
DEBUG: Adding group k8s-cluster:children
DEBUG: Adding group calico-rr
DEBUG: Adding group vault
DEBUG: Skipping existing host <IP_ADDRESS>.
DEBUG: Skipping existing host <IP_ADDRESS>.
DEBUG: Skipping existing host <IP_ADDRESS>.
DEBUG: adding host mynode1 to group all
DEBUG: adding host mynode2 to group all
DEBUG: adding host mynode3 to group all
DEBUG: adding host kube-node to group k8s-cluster:children
DEBUG: adding host kube-master to group k8s-cluster:children
DEBUG: adding host mynode1 to group etcd
DEBUG: adding host mynode1 to group vault
DEBUG: adding host mynode2 to group etcd
DEBUG: adding host mynode2 to group vault
DEBUG: adding host mynode3 to group etcd
DEBUG: adding host mynode3 to group vault
DEBUG: adding host mynode1 to group kube-master
DEBUG: adding host mynode2 to group kube-master
DEBUG: adding host mynode1 to group kube-node
DEBUG: adding host mynode2 to group kube-node
DEBUG: adding host mynode3 to group kube-node

Btw what is the output you get ? What is your python version, os, shell ?
Actually if there is no error raised when executing the script and the inventory contains hostnames with default host prefix ("node"), it means that HOST_PREFIX is set at the beginning of the script but defaults to "node" which may indicate that there is no problem with the script itself...

/lifecycle stale


using -s -a option can lead to "indefinite" output

[ ] I'm reporting a broken site support issue
[x ] I've verified that I'm running youtube-dl version 2<IP_ADDRESS>
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log
C:\Users\emcodem>"C:\dev\FFAStrans\FFAStrans\processors\FFmpeg\youtube-dl.exe" -v -s -a c:\temp\yt.txt
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-s', '-a', 'c:\temp\yt.txt']
[debug] Batch file urls: ['https://www.youtube.com/watch?v=iGh6ONUhyec&list=UUD-4g5w1h8xQpLaNS_ghU4g&index=10']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[youtube:tab] Downloading playlist UUD-4g5w1h8xQpLaNS_ghU4g - add --no-playlist to just download video iGh6ONUhyec
[youtube:tab] UUD-4g5w1h8xQpLaNS_ghU4g: Downloading webpage
[youtube:tab] UUD-4g5w1h8xQpLaNS_ghU4g: Downloading webpage
[download] Downloading playlist: Uploads from NewRetroWave
[youtube:tab] Downloading page 1
[youtube:tab] Downloading page 2
[youtube:tab] Downloading page 3
[youtube:tab] Downloading page 4
[youtube:tab] Downloading page 5
[youtube:tab] Downloading page 6
[youtube:tab] Downloading page 7
[youtube:tab] Downloading page 8
Description
Above will run forever. When specifying the input URL directly and therefore omitting -a we get the expected result

And won't run forever, it will run until it browses all pages of this 2378 videos playlist.

Uhm ok but why does it make such a huge difference between providing the url on comandline VS using -a

It does not make any difference.

Sorry, maybe i didnt make myself clear enough
This works:
"C:\dev\FFAStrans\FFAStrans\processors\FFmpeg\youtube-dl.exe" -v -s https://www.youtube.com/watch?v=iGh6ONUhyec&list=UUD-4g5w1h8xQpLaNS_ghU4g&index=10
While writint the exact url into a txt file an use -a option parses the whole playlist


multi-stage pipeline publishPlanResults

Describe the bug
When using a multi-stage pipeline, which has more than 1 terraform plan run, when using publishPlanResults (all with different names), no terraform plan results are published. I have run a single stage and it works fine
To Reproduce
Steps to reproduce the behavior:

Setup pipeline as (include yaml configuration or screenshots of classic ui editor)

stage: BaseInfrastructureUpdates
    jobs:
       - job:
         steps:
              - task: TerraformCLI@0
                 displayName: ${{ parameters.displayName }}
                 inputs:
                     environmentServiceName: **
                     providerServiceAws: **
                     providerAwsRegion: eu-west-1
                     backendType: aws
                     backendServiceAws: **
                     publishPlanResults: ${{ parameters.publishPlanResults }}
stage: Microservices
    jobs:
       - job:
         steps:
              - task: TerraformCLI@0
                 displayName: ${{ parameters.displayName }}
                 inputs:
                     environmentServiceName: **
                     providerServiceAws: **
                     providerAwsRegion: eu-west-1
                     backendType: aws
                     backendServiceAws: **
                     publishPlanResults: ${{ parameters.publishPlanResults }}

Execute pipeline
No plans results

Expected behavior
All terraform plans to be shown
Screenshots

Agent Configuration

OS: [e.g. ubuntu debian]: ubuntu-latest
Hosted/Self Hosted: Hosted (ubuntu-latest)
Terraform version used: latest (v1.1.7)
AzureCLI version used (Default for hosted agent is acceptable or N/A): N?A

At least I'm not the only one with this issue 😄  (see #267)

In your example, you are not including command: plan. Could be that?
I have been using this task in multi-stage pipelines for a while and I have never faced this issue, with or without empty plans.

Commenting here to +1 this and add some more debugging info.
This is the error I see in the console:

Interestingly, it only shows up once - for what I think is the first plan that was run out of 8. So the 404 is causing the view to barf without trying to process any other plans.
As a test, I added some conditionals to my pipeline definition to only add the publishPlanResults input to the runs where I expected changes. With that, the plan that has changes is showing up in the plan view.
So this also strongly points in the direction of an issue with empty plans.

So it took me a while but this issue is actually really simple.
This is the regex for an empty plan:
https://github.com/jason-johnson/azure-pipelines-tasks-terraform/blob/2328fcd61e3119b7e5cf7b98c69608ad4c6ca700/tasks/terraform-cli/src/commands/tf-plan.ts#L12
This is the actual output from Terraform:

No changes. Your infrastructure matches the configuration.

From the debug log:
2022-08-23T01:18:17.4756647Z No changes. Your infrastructure matches the configuration.

So the simple fix is to update the regex, maybe just to /^No changes./. A better fix may be to remove the parsing entirely from this case:
https://github.com/jason-johnson/azure-pipelines-tasks-terraform/blob/2328fcd61e3119b7e5cf7b98c69608ad4c6ca700/tasks/terraform-cli/src/commands/tf-plan.ts#L56-L60
If there are no changes, then the output doesn't need to be parsed, a simple static "No changes" message can be output instead.
@jason-johnson I don't have any development environment for azure devops extensions and I won't be able to set one up on short notice, is there any way you could fix up the regex and publish a preview version or something?

I'm still getting my environment set up from the switch over and don't yet have an environment either.

@LRR1993  First there has to be a change in the plan.  If there is no change it wont show anything.  I would like to see that functionality changes to show the plan REGARDLESS.
So in my case I am giving the publishPlanResults a unique file name for each environment - $(Build.DefinitionName)-$(Build.BuildId)-${{ parameters.env }}.tfplan
Then in the pipeline gui I get the option to pick which one I want to see:

Possibly what is happening on yours is that it is over writting it?

@jmyers82
I tried to add a buildId to the plan output name as well.
It still the same issue.

@vanwx not sure that it matters but can you make the file name end with .log    Not sure that is the actual problem in your case but that is the one difference I see.  Can you put in the section of code where you make the call for the plan?

@jmyers82
Same with the .log.
I noticed the first requests to pull all possible paln results succeeded with good response including all the plans.
But the request to get the individual plan result failed with 404 code

I think this is all the same underlying bug as I noted up-thread https://github.com/jason-johnson/azure-pipelines-tasks-terraform/issues/268#issuecomment-1223412278. The regex for detecting "No changes" is broken and the correct code path for dealing with an empty plan is never taken.

@lerlacher-haylix I think you are probably right.
The dropdown list probably pick the last plan result from the multi-stage build.
That last one might not have any changes and were not pushed like you said hence the api resulted 404.
As a result the dropdown can't be rendered 😅

Sorry @vanwx I made the assumption that there were infact changes in the plan.  Yeah I dont like how the NO CHANGE process works.  I would like it to render the plan showing no changes still yet.

@jmyers82 no worries at all.
I can confidently confirm the issue about NO CHANGE process is the problem.
It doesn't push log files or unchanging plans.
As my case abose, i have only 1 stage that produce the plan changes. That stage is not the last stage which doesn't have any changes and were not pushed the plan logs.
The dropdown can't be rendered due to js error as it defaults to select the last log, when I manually copy the url for the changing plan and open in browser, I can indeed get the logs succesfully.
Fixing the regex seems simply, can we just send PR with above suggestions @jason-johnson ?

I also suffer the same problem in a multi stage pipeline.
Thanks to @lerlacher-haylix comments and following @vanwx idea I've created a PR 😄
@jason-johnson can you please review it?
Thanks!

I'm extremely happy to see progress on this and other activity in the project.
Is there a path to getting a release cut?
Is there anything I can do to help? Happy to set up a dev environment to test this out but this is very far from what I normally work on so no idea where to start.


⚠ Bofrost.es has degraded performance

In 42f85fb, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1603 ms

Resolved: Bofrost.es performance has improved in f787b84 after 9 minutes.


Add support for fitness features of the CASIO GG-B100, the Mudmaster watch

We like to add support to the step counter and other fitness functions for the CASIO GG-B100, the Mudmaster watch. Eventually, we like to integrate it with Google fit. Let us discuss here.

This python function converts some of the data to the step count of 8265 steps
byte_array = b'\x49\x20\x00\x00'
# Convert bytes to integer (assuming little-endian byte order)
integer_value = int.from_bytes(byte_array, byteorder='little')
print("Converted integer value:", integer_value)

Since I do not own this watch, I am looking for somebody with a similar watch and some technical skills to help me add this function to the app. Here is what I need:

Send me Wireshark logs containing some geo-location data, step counter, and other sensor information from the watch, such as altitude, temperature, etc. Just a relevant section from the Wireshark logs is all I need; no need to manipulate it.

I will create a Python function to read and parse the data, with your help to indicate which value is which. I can then incorporate this function into the existing Python project.

I will add this functionality to the Android app as a separate screen, with your input. I think we should keep it simple, limited to one screen with the information coming from the watch, and delegate the analysis to another app like Google Fit or Strava(?).

Thank you.

Hi,
this is awesome! I will send you a data dump and some separate details about it as DM.
Thanks for this great work!

@tgvecchio OK, I got confused, I should have seen the last name.
Let us continue to discuss here, it is easer to follow.

Great!
The GG-B100 only supports these:
Steps
Altitud			(Redords the difference since logging started)
Barometer		(Records the difference and an additional curve graph since logging started)
Temp			 (No records)
Compass		(No records)
and about ten to fifteen altitude records.
The ff fe changed a few times between dumps and I never had my phone GPS activated (actually I did no t granted location permission to the app). You might be right though.
I guess that these empty slots are for the accumulated data that the watch itself stores. I can wait one week until the next dump to see if these slots get written.

Supporting data files:
20240429_1217_btsnoop_hci_CASIODUMPS (1).log
20240429_1217_APPandWATCH_STATE (1).txt

@tgvecchio Can you tell me what the current app displays? I see some of the steps values you send me for different days, but I think they also send the dates. So I get some vlaues like these:
Chunk: de0d0000 -> Integer: 3550
Chunk: 92060000 -> Integer: 1682
Chunk: 9f460000 -> Integer: 18079
Chunk: e31e0000 -> Integer: 7907
Chunk: 9a110000 -> Integer: 4506
Chunk: af070000 -> Integer: 1967
Some of these match your expected values. I will have to look into how they encode dates.
Any altitude or other information displayed on the app?

Hi,
that one is going to be difficult.
The watch can also use air pressure data (together with the step counter) to better calculate calories consumed (either in kcal or kJ).
Air presure fluctuate in normal values and kcal usually range between 1823 and 2300 (wich equals aprox 7600 to 9500 kJ). Neither of the values match.

Do not have this watch. I will close the issue for now. If somebody has the watch and would like to assist. let me know and I will reopen.

Do not have this watch. I will close the issue for now. If somebody has the watch and would like to assist. let me know and I will reopen.


chore(app): clean and update dependencies

Close #3899 .
I'm using this refactor to clear a lot of unused / old dependencies that are triggering vuln issues (even if they are only used for development).
Audit result of this PR
$> yarn audit
yarn audit v1.22.4
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ moderate      │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ angular                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=1.7.9                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ angular                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ angular                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/1343                        │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ moderate      │ Cross-Site Scripting                                         │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ bootbox                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ No patch available                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ bootbox                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ bootbox                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://www.npmjs.com/advisories/882                         │
└───────────────┴──────────────────────────────────────────────────────────────┘
2 vulnerabilities found - Packages audited: 1556
Severity: 2 Moderate
Done in 1.29s.

Notes about this PR
Do someone have an idea of why we are using js-yaml dependency ?
Despite the fact bootbox has new releases, they won't fix the reported vulnerability as for them it's not the library that is causing the XSS vuln but some ways developers can use the library that can result in XSS. To prevent this vuln to be exposed we only need to sanitize all strings (titles / messages) passed to bootbox, thing we are already doing since #3230  .
More details here : https://github.com/makeusabrew/bootbox/issues/661
Tests
FWIW, I tested:

local build, dev-serve and release processes, everything seems to be working as expected on build/dev side with these new versions
bootbox and toastr latest updates, everything seem to work as expected (we are doing nothing fancy with these libs)
jQuery in a smaller maner, as we are using it to automatically add headers to POST/PUT/PATCH requests ; all POST/PUT requests I tested are working as expected. /!\ I did no tests on the registry-management extension, which is also using jQuery. It shouldn't have bugs tho.

Do someone have an idea of why we are using js-yaml dependency ?

No idea why it's in develop but we're using it in the k8s build iirc.

Do someone have an idea of why we are using js-yaml dependency ?

No idea why it's in develop but we're using it in the k8s build iirc.

@deviantony
It's a dependency sitting in project since https://github.com/portainer/portainer/pull/1280 . But it doesn't seem to be used. We may want to get rid of it ?

@xAt0mZ ah true, then let's get rid of it. Can you take care of it as another PR also related to #3899 ?


[995] add read only support UI to Computacenter area (Spike 1)

Context
Trello card 995 - this is "Spike 1" - how we could give Computacenter a read-only view of the information we have in the support area, by replicating parts of the UI in the /computacenter/ namespace. There will be a separate "spike 2" for the other option (introducing a genuine authorization/permissions system for the support UI) so DON'T MERGE THIS PR yet
Changes proposed in this pull request

Replicate the 'browse RBs' / 'browse schools within an RB' / 'find schools by URN' functionality from the /support namespace to the /computacenter namespace
Provide a slightly-improved user experience by noticing that when we remove all the non-read-only options, the /schools page only has one option (search) - so instead link directly to the search form from the Computacenter home

Guidance to review
Screenshots:

We've now done #809 instead, which supersedes this. Closing.


Error while updating property 'nativeBackgroundAndroid' of a view managed by: RCTView

FATAL EXCEPTION: main
com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'nativeBackgroundAndroid' of a view managed by: RCTView
at com.facebook.react.uimanager.b1$l.a()
at com.facebook.react.uimanager.z0$c.a()
at com.facebook.react.uimanager.z0.a()
at com.facebook.react.uimanager.ViewManager.updateProperties()
at com.facebook.react.uimanager.m.a()
at com.facebook.react.uimanager.v0$e.execute()
at com.facebook.react.uimanager.v0$j.c()
at com.facebook.react.uimanager.v0$j.b()
at com.facebook.react.uimanager.e.a()
at com.facebook.react.modules.core.g$d.a()
at com.facebook.react.modules.core.a$a$a.doFrame()
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:789)
at android.view.Choreographer.doCallbacks(Choreographer.java:591)
at android.view.Choreographer.doFrame(Choreographer.java:560)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:5419)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
... 24 more
Caused by: java.lang.VerifyError: com/facebook/react/views/view/c
at com.facebook.react.views.view.ReactViewManager.setNativeBackground()
Devices info:
Galaxy s3
Test code
1
Screen size
720 × 1280
Test duration
300 seconds
Screen density (dpi)
320
Model name
Galaxy s3
RAM
1024 MB
Manufacturer
Samsung
OpenGL ES version
2.0
Android version
Android 4.3
Native platform
armeabi-v7a
Locality
pt_BR
CPU brand
Samsung
CPU model
Exynos 4412
Galaxy S3
Código de teste
1
Tamanho da tela
720 × 1280
Duração do teste
300 segundos
Densidade da tela (dpi)
320
Nome do modelo
Galaxy S3
RAM
1024 MB
Fabricante
Samsung
Versão OpenGL ES
2.0
Versão do Android
Android 4.3
Plataforma nativa
armeabi-v7a
Localidade
pt_BR
Marca da CPU
Samsung
Modelo de CPU
Exynos 4412
Description
I'm having trouble uploading the app to the play store. The return to the Galaxy S3 device is the following error:
com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'nativeBackgroundAndroid' of a view managed by: RCTView
Don't know what to do to solve.
React Native version:
System:
OS: Windows 10 10.0.18363
CPU: (8) x64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
Memory: 923.28 MB / 7.88 GB
Binaries:
Node: 14.5.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.0 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.5 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 23, 28, 29
Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.0
System Images: android-28 | Google Play Intel x86 Atom, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-193.69<IP_ADDRESS>14223
Languages:
Java: 1.8.0_211
Python: 3.8.4
npmPackages:
@react-native-community/cli: ^4.10.1 => 4.10.1
react: 16.13.1 => 16.13.1
react-native: 0.63.0 => 0.63.0
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
The error occurs as soon as you open the application, the logo cannot report a form of reproduction or error. This happens only in the production environment.

watch this , is the same for me ,run on android emulator API 19
System:     OS: macOS 10.15.5     CPU: (12) x64 Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz     Memory: 1.40 GB / 32.00 GB     Shell: 5.7.1 - /bin/zsh   Binaries:     Node: 12.18.1 - /usr/local/bin/node     Yarn: 1.22.4 - ~/.yarn/bin/yarn     npm: 6.14.5 - /usr/local/bin/npm     Watchman: 4.9.0 - /usr/local/bin/watchman   Managers:     CocoaPods: 1.9.1 - /usr/local/bin/pod   SDKs:     iOS SDK:       Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2     Android SDK:       API Levels: 15, 18, 20, 22, 23, 25, 26, 27, 28, 29       Build Tools: 23.0.1, 23.0.2, 24.0.1, 25.0.0, 25.0.1, 25.0.3, 26.0.0, 26.0.2, 27.0.3, 28.0.2, 28.0.3, 29.0.0, 29.0.2, 29.0.3       System Images: android-19 | Intel x86 Atom, android-22 | Intel x86 Atom_64, android-23 | Intel x86 Atom_64, android-25 | Intel x86 Atom_64, android-29 | Intel x86 Atom_64       Android NDK: 21.3.6528147   IDEs:     Android Studio: 4.0 AI-193.69<IP_ADDRESS>14223     Xcode: 11.6/11E708 - /usr/bin/xcodebuild   Languages:     Java: 1.8.0_192 - /usr/bin/javac     Python: 2.7.17 - /usr/local/bin/python   npmPackages:     @react-native-community/cli: Not Found     react: 16.13.1 => 16.13.1     react-native: 0.63.2 => 0.63.2   npmGlobalPackages:     *react-native*: Not Found

watch this , is the same for me ,run on android emulator API 19。
I found use Button can Reproduce the problem。

We're having this issue too. Seems like it could be related to whatever caused the ripple issue? https://github.com/facebook/react-native/issues/9870

I've reproduced the issue. Android versions between 4.1 and 4.4 are crashing

I have same issue - TouchableNativeFeedback does't work on Android 4.x simulator
react-native ver. 0.63.2
Just run
> react-native init newApp

and add TouchableNativeFeedback to the code.

I'm also having this issue with RN 0.63 and TouchableNativeFeedback in android 4.3

Thanks for the issue @euthribeiro, could you provide a repro that demonstrates the crash?

@safaiyeh try to add into TouchableNativeFeedback View component:
<TouchableNativeFeedback>
   <View>
      <Text>{"test"}</Text>
   </View>
</TouchableNativeFeedback>

Also if remove View from React native Button component error will gone.

same on RN 0.63.2

@safaiyeh Sorry, I restructured the entire project. I had a deadline and I needed to finish. But I still don't know the cause of the problem.

@safaiyeh try to add into TouchableNativeFeedback View component:
<TouchableNativeFeedback>
   <View>
      <Text>{"test"}</Text>
   </View>
</TouchableNativeFeedback>

Also if remove View from React native Button component error will gone.

Maybe open New issue with this ?

@safaiyeh It is the same problem, I just clarified where to look. Button uses TouchableNativeFeedback

Hi,
I am using React Native 0.63.2, I have the same issue, and this is my code:
`import React, { Component } from 'react'
import { Text, View, StyleSheet, TouchableOpacity, Dimensions, Pressable } from 'react-native'
import { SafeAreaView } from 'react-native-safe-area-context'
import { StackNavigationProp } from '@react-navigation/stack'
import { TopScreenParams } from '../../types/screens'
import { TextLink } from './TextLink'
import { grantUserAccessToOnboarding } from '../../../store/user-info/actions'
import { connect } from 'react-redux'
import { Dispatch } from 'redux'
interface ConcessionProps {
navigation: StackNavigationProp<TopScreenParams, 'ScreenIntroduction'>
grantUserAccessToOnboarding: typeof grantUserAccessToOnboarding
}
class Concession extends Component {
onPress(): void {
	const { grantUserAccessToOnboarding } = this.props
	grantUserAccessToOnboarding()
}

render() {
	return (
		<SafeAreaView style={ s.safeArea }>
			<View style={ s.container }>
				<Text style={ s.header }>

Lorem Header

<Text style={ s.paragraph }>
Lorem Ipsum.

<Text style={ s.paragraph }>
Lorem Ipsum

<TouchableOpacity style={ s.touchable } onPress={ this.onPress.bind(this) }>
<Text style={ s.confirmText }>
I have read and accepted.

		</SafeAreaView>
	)
}

}
const { width, height } = Dimensions.get('window')
const s = StyleSheet.create({
safeArea: { flex: 1, backgroundColor: '#1273EB', alignItems: 'center' },
container: {
flex: 1,
width: '88%',
alignItems: 'center',
paddingVertical: height * 0.07,
},
header: {
fontSize: 20,
color: 'white',
marginBottom: height * 0.07,
fontWeight: 'bold'
},
paragraph: {
color: 'white',
textAlign: 'center',
fontSize: 14,
marginBottom: height * 0.12,
lineHeight: 25
},
confirmText: {
color: '#1273EB',
fontSize: 20
},
touchable: {
justifyContent: 'center',
alignItems: 'center',
width: '100%',
height: width * 0.18,
bottom: height * 0.08,
backgroundColor: 'white',
marginTop: 20,
borderRadius: 7,
}
})
const mapDispatchToProps = (dispatch: Dispatch) => {
return {
grantUserAccessToOnboarding: () => dispatch(grantUserAccessToOnboarding())
}
}
export default connect(null, mapDispatchToProps)(Concession)
`

Bump for RN v0.63.2, Android 4.4.2, Device model LG-D415

Maybe open New issue with this ?

https://github.com/facebook/react-native/issues/29983

Quick patch-package for this specific issue as it will not be fixed for the React Native 0.63.4 anyway.
react-native+0.63.4.patch.zip

 was causing the issue. I replaced it TochableOpacity with activeOpacity={0.9} as a workaround

 was causing the issue for me. I replaced it TochableOpacity with activeOpacity={0.9} as a workaround


bump composer

we need to release another version on composer so that php apps can get the new "Proof of Attendance" type

Ok. I’ll get on it.

Done


Add support for defining WMS imagery layers in CZML

Don't merge this (not that anyone would).  I'm just opening it in the hope that @mramato can tell me if I'm on the right track, since I don't really know what I'm doing in the DataSources namespace.
Most of this is copy/pasted from other CZML processing bits and hopefully not too far off.  One strange thing I'm doing is defining a Property type for each type of imagery provider (I modeled this part after materials) and delegating some of the update logic to the property itself (this is not done elsewhere to my knowledge).  Sound reasonable?
Here's some code you can paste into Sandcastle to try this:
var viewer = new Cesium.Viewer('cesiumContainer');

Sandcastle.addToolbarButton('Imagery Layer CZML', function() {
    var builtInCzml = [{
        "id" : "document",
        "version" : "1.0"
    }, {
        "imageryLayer" : {
            "alpha": 0.25,
            "webMapService" : {
                url : '/proxy/http://mesonet.agron.iastate.edu/cgi-bin/wms/goes/conus_ir.cgi?',
                layers : 'goes_conus_ir'
            }
        }
    }];

    var czmlDataSource = new Cesium.CzmlDataSource();
    czmlDataSource.load(builtInCzml, 'Imagery Layer CZML');
    viewer.dataSources.add(czmlDataSource);
});

Here are some things I still need to figure out how to do.  If you know how you would do it off the top of your head, I'd love to hear it.  Otherwise I'll figure something out.

Allow developers to add new types of imagery providers, and CZML support for them, without modifying CzmlDataSource.
Support the "property bag" that WebMapServiceImageryProvider lets you pass to the constructor.  Properties in the bag are just passed through in the WMS GetImage URL.  For example, the CZML might look like this:

{
    imageryLayer : {
        webMapService : {
            url : 'http://whatever',
            layers : 'something'
            properties : {
                format : 'image/png',
                transparent : true
            }
        }
    }
}

Presumably in CZML each of the properties in the bag would potentially be time-varying.
Any feedback is greatly appreciated before I write a bunch more code following the patterns here! :)

@kring can we close this?  Or what do you want to do with this? The last commit was more than a year ago.

Yes, we can close it.  We ended up going a different way, and I'm not totally sure anymore whether this approach even makes sense.


Allow displaying datetime in any locale

Fixes #2840.
As mentioned in that PR, it's not easy to support non-English languages in the existing API: it's blocked on https://github.com/time-rs/time/issues/680 and the maintainer doesn't intend to fix it soon.
Instead we can use icu_datetime as an alternative. This has the added benefit of picking the correct order for the given locale, and supporting various calendars:
#datetime.today().display(locale: "de") \
#datetime.today().display(locale: "de" date: "full") \
#datetime.today().display(locale: "de", date: "short ", time: "short") \
#datetime.today().display(locale: "ja-u-ca-japanese") \
#datetime.today().display(locale: "th")

What's the impact on binary size for this? See also https://github.com/typst/typst/issues/1537#issuecomment-2156418750.

Before this PR:
 % wc -c target/release/typst
 29554984 target/release/typst

After this PR:
 % wc -c target/release/typst
 41625624 target/release/typst

Ouch. OK, I should definitely think about reducing it :) Maybe we can drop support for non-Gregorian calendars.

I'm not a big fan of having more or less the raw time + icu4x APIs shoehorned into a single function. Both don't really feel natively Typst to me.

The time format strings work very differently from other stuff in Typst (e.g. numbering, though these will also likely change)
The icu single-string locale is at odds with Typst's approach of specifying lang and region separately. The date and time widths enums feel a bit ad-hoc.

I don't have a good proposal how to deal with this. I think the capability added by this is very nice, but the API design is hard.
I also agree that this should integrate with context (ideally, it will become datetime's show rule in a future where types and content are the same). Then, the configuration would likely be something on #set datetime(..). This will be a breaking change anyway, but we can still keep it a bit in mind when designing the API.
On another note, we usually generate the icu4x data and check it into typst-assets. However, I must admit I'm not 100% sure why we do that instead of using compiled_data, it just started that way in https://github.com/typst/typst/pull/1355. Maybe it results in a leaner build? cc @peng1999

However, I must admit I'm not 100% sure why we do that instead of using compiled_data, it just started that way in #1355. Maybe it results in a leaner build? cc @peng1999

We don't use compiled_data because the linebreak algorithm needs customized data provider. After unicode-org/icu4x#3284, maybe we can switch to compiled_data. But for now, I suggest stick on generated data and avoid compiled_data to prevent binary duplication.

We don't use compiled_data because the linebreak algorithm needs customized data provide

couldn't we use a custom blob specifically for linebreak data, but compiled_data for everything else?

couldn't we use a custom blob specifically for linebreak data, but compiled_data for everything else?

Maybe yes. Need to adjust flags of icu-datagen.

Another approach is to only leave only the time format string API, and then use find-and-replace to localize the result.
So, datetime.today().display("[weekday repr:long], [day] [month repr:long]") would do something like

Pass the string to time-rs and get back s = "Sunday, 7 July".
Look up the lang/region in typst and see that it is e.g. nl
Ask icu for the month and weekday names for that language.
Make a new string using the localized names: s.replace("Sunday", "zondag").replace("July", "juli")

I think this needs more design (ideally in a forge thread on Discord) before we can continue on the implementation side, so I'll close this PR for now. With types and thus show rules for datetimes coming in the future, there's also more to consider API-design-wise.
Thanks still!


updated glfw implementation

Moved to the glfw-based implementation from newer imgui example
some more widgets added

I've tested this on as many devices I could, seems to work fine.

Unfortunately, even nowdays there are devices with just OpenGL 2.1. Like MacBook Air with INTEL graphics.

Turns out I was very wrong. With GLFW_OPENGL_FORWARD_COMPAT, my MacBook Air can do OpenGL 4.1. Without it, the highest supported version is 2.1.
All this time I didn't know that it was capable of doing that.
Thanks!


improve "no device connected" message after "flutter run"

For first time users, this provides a bit more information.
@Hixie


Changes of Lua API in v<IP_ADDRESS> (WIKI)

Happy New Year @hossimo,
i have discovered some changes in the Lua API that should be added to the wiki:

gone in v<IP_ADDRESS>

Execute
idx
last

added in v<IP_ADDRESS>

FindTexture
LoadStorePreferencesFromProfile
SaveStorePreferencesToProfile
SetFilterSettingsTarget
UnhookMultiple

bugs

MultiLanguage is still present in v<IP_ADDRESS>
Set Color has a typo: SetColor

If you add me as contributor I'd be happy to add those changes myself. 😇
Kind regards
@lukas-runge

I haven't done a diff on the versions yet but I have made you a contributor.
Happy New Years!

I haven't done a diff on the versions yet but I have made you a contributor.
Happy New Years!

I haven't thought too much of this yet but I think the removed items should be struck out and if a page exists it should be kept but noted when it was removed.

I haven't thought too much of this yet but I think the removed items should be struck out and if a page exists it should be kept but noted when it was removed.

Just added the changes: 🔖 updated functions for v<IP_ADDRESS>, Issue #28
Closing issue #28
Kind regards
@lukas-runge

Just added the changes: 🔖 updated functions for v<IP_ADDRESS>, Issue #28
Closing issue #28
Kind regards
@lukas-runge


Message content references

Add the ability to store message content in other storage mediums, like S3 or Redis, providing only a reference as the message body within the message system. This would provide similar behaviour as the SQS extended client, but be baked into Queuebacca and provide more options.

This should just support S3 to start, with additional tickets to support other storage systems.


Publish extensions to open-vsx

I'm a VS Codium user, a FLOSS version of VS Code, it's the same code but without the Microsoft's telemetry and branding.
I want to request if possible to add the C# Extensions extension on the open-vsx.org market to us doesn't need to works with the Microsoft marketplace as is unclear if it's legal to use it on VS Code forks, see here.
Additional info:

This is how to publish a new extension.

https://open-vsx.org/extension/jsw/csharpextensions


fix link to sample.neomuttrc-starter

It looks like the file has moved. I just wanted to get started with neomutt and ran into it. :)

Ah, sorry about that.
Thanks for the fix.
This file is auto-generated, so I've also applied your fix to the original in the source tree.


Use less specific versions for stable dependencies

Use less specific versions for dependencies that have a very stable api (like serde or anyhow), e.g. serde = "1" instead of serde = "1.0.12"

Implemented in issue #29.


Select a CMS for guides

As a Bloomer, I want a way to easily write, publish, and manage changes for guides around how we work as a company.
Good Things to Eval

Ease of standing up a new site
Ease of adding a style/CSS library
Ease of adding a frontend JS library
Ease of theming (stretch: is there a theme ecosystem)
Sustainability of platform's development (i.e. if an open source project, how is it maintained / is it maintained?)

Other Notes

Would be good to select a static site generator that can leverage GitHub's PR workfow for change management AND be easy for non-developers to navigate and work within.
Two CMSes we've already explored, but opted against is Gatsby (heavy, hard to maintain, and not liked by clients) and Jekyll (open source project seems like it's on a down spiral).
Two compelling options are Eleventy (used by Corey and California ODI) and Hugo (looks like 18F is toying with moving their guides to this)

Done when

[x] A CMS has been selected
[x] A new Eleventy project is generated and committed to the repo
[ ] The reasons for selecting that CMS have been documented in a decision doc

Meeting Notes
May 30, 2023

Makai: Stick with Netlify for hosting and leaning towards Eleventy, but playing with Hugo.

June 1 update:

Makai has tried out Eleventy, and just needs to try Hugo
Leaning towards Eleventy

Notes for 6/6:

Eleventy is the choice
Moving back to ready, so that we can prioritize work with Josh. Documentation to come later.
Still to do: Create a starter for Eleventy in the guides-template repo

Notes from 6/8:

Makai and Jeff to meet tomorrow to get Eleventy in
Will return to backlog for decision doc later

Notes from 06/13:

Need to set up pipelines
Need to push to Git
Add Eleventy Template

Notes from 06/15:
• Makai has this up and working!

Only item remaining is to document the decision.

@SMakaiTakori : Reviewed the decision doc and it looks great! Made one suggested edit and would be great to move it into the new decision docs folder.


Old client secret has been revoked

old client secret has been revoked. If you want that gtasks continues to work for you, you need to create a new GCP project here: https://developers.google.com/tasks/firstapp#register
The config.json file can be found at the location where gtasks was installed.

Hi @BRO3886 . Is this the cause of the "This application is blocked" error page when doing gtasks login?

Unfortunately, Google has deprecated OAuth Out-of-Band auth method (aka copy/paste auth method). The solution doesn't work any more and required migration.


Add Zenodo DOI

Is it worth liking this repository to Zenodo in order to get a DOI?

Yes we would probably should do this, but I think we should clear some of the issues first.

Also - same for the data-files (in fact they are likely to make use of a doi)