gh-1436, gh-1438 - GraphFrames and PageRank implementations

This PR provides simple implementations for both gh-1436 and gh-1438, and is based around the existing Gaffer/Dataframes implementation.
There's a big caveat around the use of the Graphframes PageRank implementation in v0.5.0. There's a performance issue which is discussed here:
https://github.com/graphframes/graphframes/issues/232
Despite this performance issue I have left the implemenation as-is, under the assumption that this will be fixed in a future release of Graphframes.

Codecov Report

Merging #1439 into develop will decrease coverage by 0.21%.
The diff coverage is 23.3%.

@@              Coverage Diff              @@
##             develop    #1439      +/-   ##
=============================================
- Coverage      65.88%   65.67%   -0.22%
- Complexity      1646     1651       +5
=============================================
  Files            707      711       +4
  Lines          23152    23246      +94
  Branches        2938     2941       +3
=============================================
+ Hits           15254    15266      +12
- Misses          6713     6789      +76
- Partials        1185     1191       +6

Impacted Files
Coverage Δ
Complexity Δ

...hq/gaffer/spark/operation/graphframe/PageRank.java
0% <0%> (ø)
0 <0> (?)

.../operation/graphframe/GetGraphFrameOfElements.java
0% <0%> (ø)
0 <0> (?)

...er/spark/serialisation/TypeReferenceSparkImpl.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ain/java/uk/gov/gchq/gaffer/data/element/Edge.java
76.31% <40%> (ø)
0 <0> (ø)
:arrow_down:

...va/uk/gov/gchq/gaffer/operation/data/EdgeSeed.java
81.66% <50%> (ø)
24 <1> (ø)
:arrow_down:

.../operation/handler/graphframe/PageRankHandler.java
50% <50%> (ø)
2 <2> (?)

...ler/graphframe/GetGraphFrameOfElementsHandler.java
88.88% <88.88%> (ø)
4 <4> (?)

.../gov/gchq/gaffer/store/schema/SchemaOptimiser.java
75.26% <0%> (-6.46%)
0% <0%> (ø)

...onutil/iterable/LimitedInMemorySortedIterable.java
47.22% <0%> (-2.78%)
15% <0%> (-1%)

... and 3 more

Continue to review full report at Codecov.

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

Closing while changes are made.


[Sequencer] Libp2p config changes

This PR:
TL;DR: Gets the sequencer ready to use our Libp2p networks.
Specifically, in order of importance:

Moves the Libp2p from_config function out of testing to libp2p_network.rs
Adds key derivation functions for Libp2p keypairs that we use to generate a secondary key from a given SignatureKey (in this case, our consensus key). Previously we were generating this from a seed, which is insecure
Changes bootstrap behavior. Instead of choosing the first n nodes to be bootstrap, all nodes are "bootstrap" nodes, but we choose mesh_n random nodes to connect to on startup.
Add the ability to push both your Libp2p public key and address to the orchestrator
Some cleanup - types, remove duplicate code from examples

This PR does not:

Change anything else about the orchestrator

Key places for review:

libp2p_network.rs - The from_config function

@mrain checking with you on using Blake3 as a KDF - is this alright?


Fix the "Show the Local Weather" project

Challenge Name
Show the local weather
Issue Description
Currently this project has at least two major problems:

It recommends more than one API. We should just have a single API that reliably works on CodePen
It suggests putting private keys in a visible place on Codepen. This is an anti-pattern.

Here's what I propose we do. We build a Glitch.com app that serves as an API. The Glitch App can then reach out to the Dark Sky (or whatever API works best) on the user's behalf and pass back the data.
This way, the keys are obscured, and the user has a simplified API they can interact with. There's no need for them to shop around for APIs or worry about security issues with CodePen.
We have already done something like this with our Twitch.tv challenge.

Possibly related issues:

'Show local weather' challenge needs update since "CodePen is going HTTPS" (https://github.com/freeCodeCamp/freeCodeCamp/issues/15576)
Show the Local Weather challenge is not working for me (https://github.com/freeCodeCamp/freeCodeCamp/issues/15447)
Content issue - "Show the local weather" challenge https://github.com/freeCodeCamp/freeCodeCamp/issues/8988
CodePen is blocking Open Weather Map API (https://github.com/freeCodeCamp/freeCodeCamp/issues/8214)

The issue with weather APIs is that most (and maybe all) have a max number of free calls per day. Dark Sky has a max at 1000 calls. We set the API to default to using the longitude and latitude requested and store all the calls of the last 24 hours. Then, if more than 1000 calls are requested in 24 hours, the API sends the closest data to the requested longitude and latitude.

Something like this: https://fcc-weather-api.glitch.me? Uses similar index.html as the Twitch API. Right now, it just uses the OpenWeatherMap which allows for 60 requests per minute. Right now, only geographic coordinate requests are supported. I am willing to work on this more.

@MiloATH Wow - this is perfect! Excellent work. I think we just need to handle the case where we've exceeded the API limits and show a message. If this is caching results, we should be fine.
Would you be willing to get this working with the existing example app? https://codepen.io/freeCodeCamp/full/bELRjV
If you can give me the updated JavaScript for that app, I can use it to update the example app.
Note that we have moved the weather app out of the core curriculum and over to supplemental challenges on https://beta.freecodecamp.com, so soon the rate limit shouldn't be that big of a deal.

I forked the freeCodeCamp codepen and updated the code. Here is the forked codepen. For the icons, I provide the link to the images on the glitch cdn. I will add caching results next. Then, I will update the instructions in the challenge and make a PR.
Right now, weather can only be requested by longitude and latitude. City or zip code searches code be added fairly easily. Here is all that is currently working.
API requests:

/api/current

Required parameters:

lon is longitude
lat is latitude

Optional parameters:

callback can be set to JSON_CALLBACK

The temperature is returned in celsius. Do we need to add other units options as optional parameters?
Do any other types of API requests or request options need to be handled?
Examples:
https://fcc-weather-api.glitch.me/api/current?lat=35&lon=139
https://fcc-weather-api.glitch.me/api/current?lat=35&lon=139&callback=JSON_CALLBACK
Note: my codepen linked above uses a request to ipinfo.io for the longitude and latitude. However, it could be implemented to just use HTML5 Geolocation.

I read through OpenWeatherMap's faq, and open source projects can get the access limits lifted.
Here is from http://openweathermap.org/faq

For FOSS developers: we welcome free and open source software and are willing to help you. If you want to use OWM data in your free software application please register an API key and file a ticket describing your application and API key registered. OWM will review your request lift access limits for your key if used in open source application.

@QuincyLarson I can file a ticket for FreeCodeCamp to OpenWeatherMap if this is something FreeCodeCamp believes this is a good idea.
This means we wouldn't have to cache results.
I would have to make the code on glitch open source, but that really wouldn't change much.
This would be nice, but may not be worth the time since this challenge will become optional. Also, the free API key allows for 60 requests every minute which is fast enough. I don't think we are going to need caching very much using the current free API plan.

The freeCodeCamp codepen javascript still needs to be updated. Here is the javascript:
var app = angular.module('Weather', []);

app.factory('WeatherApi', function($http) {
  var obj = {};

  obj.getLoc = function() {
    return $http.jsonp("https://ipinfo.io/json?callback=JSON_CALLBACK");
  };
  obj.getCurrent = function(loc) {
    var api = "https://fcc-weather-api.glitch.me/api/current?";
    loc = loc.split(",");
    var lat = "lat=" + loc[0];
    var lon = "&lon=" + loc[1];
    var cb = "&callback=JSON_CALLBACK";
    return $http.jsonp(api + lat + lon + cb);
  };
  return obj
});

app.controller('MainCtrl', function($scope, WeatherApi) {
  $scope.Data = {};
  $scope.Data.unit ='C';
  $scope.Data.sysChange = false;
  WeatherApi.getLoc().success(function(data) {
    var city = data.loc + ',' + data.country;
    $scope.Data.city = data.city;
    $scope.Data.country = data.country;
    WeatherApi.getCurrent(data.loc).success(function(data) {
      CurrentWeather(data)
    });
  });

  function CurrentWeather(data) {
    $scope.Data.temp = Math.round(data.main.temp);
    $scope.Data.Cel = Math.round(data.main.temp);
    $scope.Data.des = data.weather[0].main;
    $scope.Data.Fah = Math.round( ($scope.Data.temp * 9)/5 + 32 );
    return IconGen($scope.Data.des);
  }

  function IconGen(city) {
    var city = city.toLowerCase()
    switch (city) {
      case 'drizzle':
        addIcon(city)
        break;
      case 'clouds':
        addIcon(city)
        break;
      case 'rain':
        addIcon(city)
        break;
      case 'snow':
        addIcon(city)
        break;
      case 'clear':
        addIcon(city)
        break;
      case 'thunderstom':
        addIcon(city)
        break;
      default:
    $('div.clouds').removeClass('hide');
    }
  }

  function addIcon(city) {
    $('div.' + city).removeClass('hide');
  }

  $scope.Data.sys= function(){
   if($scope.Data.sysChange){
     $scope.Data.unit ='C';
     $scope.Data.temp = $scope.Data.Cel;
     return $scope.Data.sysChange = false;
     }
    $scope.Data.unit ='F';
    $scope.Data.temp = $scope.Data.Fah;
    return $scope.Data.sysChange = true;
  }

});

Also, the challenge is still on the master branch with old instructions for using API keys.

nice

Per the discussion on https://github.com/freeCodeCamp/testable-projects-fcc/issues/133 I think this issue should reopen.

@aw1231 thanks for letting us know.
@MiloATH I have updated the official codepen.
Potential contributors:
I am re-opening this, and tagging this for updating the instructions. Can we please branch off backup/master update the instructions and make a pull request against the same?
Let us know in the Contributors Chat room if you need assistance.

Also it would be awesome if you could reference any related duplicate issues that you find on the tracker.

@raisedadead I made a PR that updated the instructions on backup/master. See #15619.

@MiloATH one other thing I noticed, is that my ad-blocker uBlock Origin blocks ipinfo.io , so that the weather doesn't come back unless I disable uBlock temporarily.  uBlock is a pretty popular extension that many campers might use, so maybe would be useful to add a try-catch block in the codepen so that if if the ipinfo.io call is blocked it will display a some sort of message to user that they need to allow ipinfo.io or temporarily disable their ad-blocker to view the app.
with uBlock:
$http.jsonp("https://ipinfo.io/json?callback=JSON_CALLBACK");
returns
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

Weather forecast proxy helper
Usage
replace https://api.darksky.net
by  https://proxy-forecast.glitch.me
The query params and the querystring are the same as the draksky docs
expect the user should not provide his/her dark sky key
Only works for forecast not the time machine
Caching
Responses are cached for one hour, except the ones with errors.
If the user change the query options, the cached data is updated
Important
The Api only accept requests from codepen.
Improvements
Refactoring the code responsible for caching
Links
Glitch Code
Api
Github repo

@marigerr That is interesting. It is hard for me to test that error because I don't have that ad blocker. Do you have suggested code?
We could default to use HTML5 Geolocation, but the we wouldn't have the city.

@marigerr @MiloATH we will not be fixing any pens or codes etc, to specifically check for ad-blockers, it's beyond the scope of the assistance that we can provide.
It's up to users to be aware of such caveats

@raisedadead can this issue be closed or is something still missing? backup/master has been updated.

@MiloATH oh yes, thanks. I missed your comment earlier.

@MiloATH @raisedadead I was looking at this a little bit closer.   The instructions on the weather app challenge recommend for the user to use HTML 5 geolocation to get user's location.   But the example codepen app uses ipinfo.io to get the user's Lat Long.    I wonder if it would be better to have the example project use the HTML 5 geolocation that is recommended in the instructions.   Ipinfo.io, gets a user's ip info without their consent which is a little sketchy imo and maybe something that shouldn't be encouraged at FCC in an example project?   While HTML 5 geolocation, will ask for the user's permission.  I might try to join in the contributors room and see if there are more opinions on this.

Here is a altered version of the example pen that uses HTML5 geolocation instead of ipinfo.io
It uses the new api at fcc-weather-api.glitch.me
https://codepen.io/marigerr/full/mwgVoJ/

@marigerr I have updated the pen. Thanks for working on this.

Hey everyone, I built a proxy server that works quite well for this purpose. It's for the Dark Sky API. You can self host it on a heroku instance.
https://github.com/adeluccar/fcc-show-the-local-weather-proxy


Attempting to craft the redstone servo instead makes the redstone dust cover facade BETA 10 HOTFIX 4

I shift click the redstone servo recipe into the crafting table with EMI, it's exactly as it's supposed to be, but it has the redstone dust cover facade as the output for whatever reason. It stays as the output even if I remove three of the redston dusts, however it disapears if I take all four away or if I take any of the three iron plates away. EMI says the recipe for that item is supposed to be three plates and stone in a mixer for automated shapless crafting. My best guess is that redstone dust is tagged as "stone" and therefore works with the recipe, however I'm not sure why it still works even with more than one redstone present, why it's recipe overwrites the servo recipe, or why it can be crafted at a crafting table when EMI only shows it's recipe in a mixer.
If it's relevant, I have added other mods for the sake of performance and convienence, they are the following:
Compact Machines
Crafting Tweaks
Fastworkbench
Fastfurnace
Fastsuit
Dank Storage
Entangled
Openblocks elevator
Super Factory Manager
Tool Belts
I have attempted disabling the mods I added, but the issue persists, so I'm unsure if they are the cause or not.

This is a GregTech bug that has existed for almost an year. I cannot fix it


[Dubbo-perf]: Reduce object allocation for ProtocolUtils.serviceKey(int, Stri…

…ng, String, String)
What is the purpose of the change
Reduce object allocation and memory copy.
Brief changelog
Add a cache for ProtocolUtils.serviceKey(int, String, String, String).
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ x Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

@chickenlj PTAL.

LGTM.

Please, add LICENSE header for newly added files.

Sorry for bothering you again, this file needs LICENSE too.
dubbo-common/src/test/java/org/apache/dubbo/rpc/support/ProtocolUtilsTest.java


error not properly displaying when variable declared twice

Describe the bug
when I declared the variable master twice, the game would become a black screen and no error would be output.
const master = "m"
const sky = "b"
const solid = "s"
setLegend(
  [ master, bitmap`
....0.05550.....
......0...0.....
.....0....0.....
.....0...0......
......000.......
......0.0.......
.....00.00......
....00...00.....
....0.....0.....
....0.....0.....
....0.....0.....
....0.....0.....
....0.....0.....
....0.....0.....
...00.....00....
..00.......00...` ],
  [ follower, bitmap`
................
.....0000000....
....00.....00...
....0.......0...
....0.......0...
....0.......0...
....0.......0...
....0.......0...
....0.......0...
...00000000000..
.......000......
.......0.0......
......0..0......
......0...0.0...
....0003.30.0...
....0.0...000...` ],
  [ solid, bitmap`
4444444444444444
4444444444444444
44DD44D444444444
4DCCD4CD44DD444D
DCCCCDCCD4CCDDDC
CCCCCCCCCDCCCCCC
CCCCCCCCCCCCCCCC
CCC1LCCCCCC1LCCC
CCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCC
CCCCCCCCCCCC1LCC
CCCCCCCCCCCCCCCC
CC1LCCCCCCCCCCCC
CCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCC`]
)

let master = {dx:0,dy:0}
let follower = {dx:0,dy:0}

//lets define our player as on object!
let actor = {x:3, y:3, sprite:"idle"};

setSolids([])

//With a map of 10x8 tiles, pixels are 1:1 with the display of the sprig!
const levels = [
  map`
...........
...........
...........
..f........
..m...sss..
...........
...........
sssssssssss`
]

function updatesprite(){
console.log(actor.x)

}

setMap(levels[0])

onInput("w", () => {
  actor.y+=1
})
onInput("a", () => {
  actor.x-=1
})
onInput("s", () => {
  actor.y-=1
})
onInput("d", () => {
  actor.x+=1
})

afterInput(() => {
  updatesprite()
})

To Reproduce
Steps to reproduce the behavior:

declare variable as sprite key
declare variable as object with properties
attempt to run game

Expected behavior
a error should be displayed at the bottom of the code area.
Actual behavior
error only displays in console, which is 1. not inherently expected to be open and 2. isn't accessible on locked down school computeers
Screenshots

could reproduce with
const master = "something"
let master = "some other thing"


[5.4] Minor if-else tweak

Minor if-else tweaks, there is no need of else in these conditions.

I don't make these kind of changes. I also like having elses in certain cases.


BUG: Unknown Frame wrongly returned error code

Description

Type: Non-conformance Bug
Priority: Minor

Non-conformance Bug
Commit: 482610bf84af287648c42c0cc0e3429915421979
**Expected behavior **
The QUIC 1 RFC in section 12.4 states that:

An endpoint MUST treat the receipt of a frame of unknown type as a connection error of type FRAME_ENCODING_ERROR.

**Actual behavior **
When a client and a server are exchanging packets, receipt of an unknown frame will cause the generation of a CC with the PROTOCOL_VIOLATION error code.
I have attached the captured interaction between a QUIC client and a server containing the mentioned problem. The master secret log file is also attached so that one can decrypt the exchanged traffic.
unknown-frame-type.zip

Thank you for reporting the issue.
I think the behavior is correct, we do support frame type 0x30 (DATAGRAM), and the draft states that PROTOCOL_VIOLATION MUST be sent when support for the DATAGRAM frame has not been indicated by the peer (https://datatracker.ietf.org/doc/html/draft-ietf-quic-datagram#section-3).

You are right about this. I assume we can close this issue then.


The first valid Part in a displayDurationGroup has its expectedDuration extended by 3 seconds under rare conditions

As the title says. This issue is present in at least R49 and R50, possibly earlier. It happens in the following scenario:

The first Segment has just one Part, which is invalid. That Part is part of displayDurationGroup called 'foo'.
The second Segment starts with a valid Part that is also part of 'foo'.

Without displayDurationGroup = 'foo':

With displayDurationGroup = 'foo':

The root question here is: what should happen when Parts in different Segments re-use a displayDurationGroup name? If that behavior is undefined, should Sofie show a warning when it occurs?

Actually, I think this works correctly. Here's why I think so:

The Part 1 is invalid, but it's expectedDuration is 3.
An invalid Part is a Sofie invention. The NRCS has no idea, that this is invalid, so it's counting the show as if that 3 seconds are supposed to happen.
If both of these parts belong to the same displayDurationGroup, then they share the pool of their expectedDurations.
Since Part 1 is invalid, it has no chance of playing. That means all of it's expectedDuration (3 seconds) should "oveflow" to the next available Part, which in this case in Part 2.
By overflowing the time, Sofie maintains, to the best of it's ability, the intention of the description of the Rundown from NRCS: there are 3 seconds planned in Part 1, but they cannot play, and Part 1 and Part 2 share timing.


Crash when Minecraft Opens [CRASH] [1.17]

java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'cloth-config'!
java.lang.RuntimeException: Config 'class me.shedaniel.autoconfig.example.ExampleConfig' already registered
crash-2021-07-20_16.44.22-server.txt
This crash is already reported in #34, but they closed it without ever receiving or giving an answer.

This error occured because multiple mods embedded cloth config. All I had to do was update "Underground Ambient Lighting" because it no longers embeds your mod, or at least not in the same way


samples: bluetooth/ipsp: Update multicast address

With current value of IPV6 Multicast address, IPV6 mcast bind
does not succeed and IPSP use case could not work.
Change use case multicast address to match IPV6 address and
enable binding
fixes: #6050
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #6052   +/-   ##
=======================================
  Coverage   52.63%   52.63%
=======================================
  Files         410      410
  Lines       40041    40041
  Branches     7779     7779
=======================================
  Hits        21074    21074
  Misses      15767    15767
  Partials     3200     3200

Continue to review full report at Codecov.

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


Upgrade dependencies

Upgrade six and pyflakes to the latest version.

Automated message from Dropbox CLA bot
@sharmaeklavya2, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @sharmaeklavya2!


Changing shipping address country loses classes and data elements on state input/select

When changing the billing address country, the state input or select form element (store-checkout-billing-state) gets replaced with values for the new country, and retains any custom classes or data elements added to that element.
When changing the shipping address country, any custom classes or data elements which were added to the state form field (store-checkout-shipping-state) get lost.

In communityStore.js, the updateBillingStates function gets the classList and dataList of the existing element, and passes that as part of the data array to the stateprovince/getstates helper.
In the updateShippingStates, this does not happen. Copying those lines from the updateBillingStates function seems to resolve the problem.

Thanks for this - I've pushed up this update:
https://github.com/concrete5-community-store/community_store/commit/c76ab9d28c2f15eb21ffd8f2dae4e36d05c77701
Does that reflect what you were saying in terms of copying the same code from the billing side of things?  (and fix your issue!)


Chef Automate EAS Applications Documentation

The Chef Automate EAS Applications Beta Documentation is getting ready for GA.

[x] Convert from GDoc to Markdown
[x] Test it out
[x] Edits and reviews

i believe this is a duplicate of https://github.com/chef/automate/issues/1651 ?

this work has been completed


Fixed transformers version conflict and fixed UT error

What does this PR do?
Fixed transformers version conflict and fixed UT error

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

https://github.com/huggingface/optimum-intel/actions/runs/7097503652/job/19317724224?pr=483#step:5:747 This case failed due to HF connect issue, @echarlaix could you help to check?

Could you rebase @PenghuiCheng ? (recent fixes were integrated for the failing tests)

hi, Ella, the pre-ci tests on the OpenVino section. It is not the cause of this PR. Could you review this PR?


Feature request: Be able to use !secret

Hi! Hope this finds you well!
Wondering if you could implement the usage of !secret for user and password.
Best regards!
Marcelo

I think it's already supported

I think it's already supported

I tried it before posting this request. It is not supported yet. When you include the exclamation mark on the yaml, either for an automation or script it complains. If you enclose it in ' the service returns the error 'authentication failed'

https://github.com/AlexxIT/SSHCommand/releases/tag/v1.1.0


fix(rest): set correct predicate in paged iteration

Summary
We found this bug inside the sphere-product-import and sort of fixed it by passing another limit. However, since it did not solve the root issue @butenkor was so friendly to help out with debugging and we could subsequently find the root cause.
PR sets correct predicate string inside the paged function so it does no longer throw us into an infinite recursive loop.
Description
More reading and details on this issue can be found here: https://github.com/sphereio/sphere-node-sdk/issues/267
resolves #267

Coverage remained the same at 97.657% when pulling 6d1b12a1c020be4608bf3a71eddce0c17f3315dd on 267-wrong-where-predicate-inside-paged-recursion into 276d47e8d8870894773c2d242efedbbc321fc7f5 on master.

Don't we have same issue here too?


Add support for feature backup cancel

Description
Add support for feature backup cancel
Issues Resolved
None
Check List

[x] New functionality includes testing.

[x] All tests pass($ tox).

[x] New functionality has been documented in the README if applicable.

[x] New functionality has been thoroughly documented in the examples (please include helpful comments).
[x] New endpoints supported are updated in the endpoints-support.md file.

[x] Changes are documented in the CHANGELOG.

@svt-vverma, resolve conflicts


error in build , fatal error : InsetInfo.h:No such file or directory

This happens on build. CentOS7
i use command scons -j8 release=1 build
In file included from NATIVE-REL-x86_64/fusion/autoingest/plugins/RasterProjectAsset.h:299:0,from NATIVE-REL-x86_64/fusion/autoingest/LoadAny.cpp:25:
NATIVE-REL-x86_64/fusion/autoingest/sysman/plugins/PacketGenAssetD.h:18:23: fatal error: InsetInfo.h: No such file or directory
#include <InsetInfo.h>
In file included from NATIVE-REL-x86_64/fusion/autoingest/plugins/CombinedRPAsset.h:167:0,
from NATIVE-REL-x86_64/fusion/autoingest/sysman/plugins/CombinedRPAssetD.h:11,
from NATIVE-REL-x86_64/fusion/autoingest/plugins/RasterProductAsset.h:184,
from fusion/khraster/khRasterProduct.cpp:32:
NATIVE-REL-x86_64/fusion/autoingest/sysman/plugins/MosaicAssetD.h:12:27: fatal error: sysman/AssetD.h: No such file or directory
#include <sysman/AssetD.h>
compilation terminated.
can't find file sysman/AssetD.h and InsetInfo.h

I'm not able to reproduce this problem. Would you double check that you installed all the prerequisites listed here: https://github.com/google/earthenterprise/blob/master/earth_enterprise/BUILD_RHEL_CentOS.md?

There hasn't been much movement on this ticket in the last little while. I'm going to close it - feel free to reopen it if you still have a problem.


Not working with strapi v4.5.6

i cannot even build the app...
npm run build
fails

I need some logs, to be able to help

#0 0.428 yarn run v1.22.19
#0 0.451 $ strapi build
#0 1.963 Building your admin UI with development configuration...
#0 2.444 ℹ Compiling Webpack
#0 5.884 ModuleNotFoundError: Module not found: Error: Can't resolve 'prosemirror-history' in '/opt/app/node_modules/@tiptap/extension-history/dist'
#0 5.884     at /opt/app/node_modules/webpack/lib/Compilation.js:2016:28
#0 5.884     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:798:13
#0 5.884     at eval (eval at create (/opt/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
#0 5.884     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:270:22
#0 5.884     at eval (eval at create (/opt/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
#0 5.884     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:434:22
#0 5.884     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:116:11
#0 5.884     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:670:25
#0 5.884     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:855:8
#0 5.884     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:975:5
#0 5.884 resolve 'prosemirror-history' in '/opt/app/node_modules/@tiptap/extension-history/dist'
#0 5.884   Parsed request is a module
#0 5.884   using description file<EMAIL_ADDRESS>(relative path: ./dist)
#0 5.884     Field 'browser' doesn't contain a valid alias configuration
#0 5.884     resolve as module
#0 5.884       /opt/app/node_modules/@tiptap/extension-history/dist/node_modules doesn't exist or is not a directory
#0 5.884       /opt/app/node_modules/@tiptap/extension-history/node_modules doesn't exist or is not a directory
#0 5.884       /opt/app/node_modules/@tiptap/node_modules doesn't exist or is not a directory
#0 5.884       /opt/app/node_modules/node_modules doesn't exist or is not a directory
#0 5.884       looking for modules in /opt/app/node_modules
#0 5.884         single file module
#0 5.884           using description file: /opt/app/package.json (relative path: ./node_modules/prosemirror-history)
#0 5.884             no extension
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884               /opt/app/node_modules/prosemirror-history doesn't exist
#0 5.884             .js
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884               /opt/app/node_modules/prosemirror-history.js doesn't exist
#0 5.884             .jsx
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884               /opt/app/node_modules/prosemirror-history.jsx doesn't exist
#0 5.884             .react.js
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884               /opt/app/node_modules/prosemirror-history.react.js doesn't exist
#0 5.884             .ts
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884               /opt/app/node_modules/prosemirror-history.ts doesn't exist
#0 5.884             .tsx
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884               /opt/app/node_modules/prosemirror-history.tsx doesn't exist
#0 5.884         /opt/app/node_modules/prosemirror-history doesn't exist
#0 5.884       /opt/node_modules doesn't exist or is not a directory
#0 5.884       /node_modules doesn't exist or is not a directory
#0 5.884       looking for modules in /opt/app/node_modules/@strapi/admin/node_modules
#0 5.884         single file module
#0 5.884           using description file<EMAIL_ADDRESS>(relative path: ./node_modules/prosemirror-history)
#0 5.884             no extension
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884               /opt/app/node_modules/@strapi/admin/node_modules/prosemirror-history doesn't exist
#0 5.884             .js
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884<EMAIL_ADDRESS>doesn't exist
#0 5.884             .jsx
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884<EMAIL_ADDRESS>doesn't exist
#0 5.884             .react.js
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884<EMAIL_ADDRESS>doesn't exist
#0 5.884             .ts
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884<EMAIL_ADDRESS>doesn't exist
#0 5.884             .tsx
#0 5.884               Field 'browser' doesn't contain a valid alias configuration
#0 5.884<EMAIL_ADDRESS>doesn't exist
#0 5.884         /opt/app/node_modules/@strapi/admin/node_modules/prosemirror-history doesn't exist
#0 5.892 ModuleNotFoundError: Module not found: Error: Can't resolve 'prosemirror-history' in '/opt/app/node_modules/@tiptap/extension-history/dist'
#0 5.892     at /opt/app/node_modules/webpack/lib/Compilation.js:2016:28
#0 5.892     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:798:13
#0 5.892     at eval (eval at create (/opt/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
#0 5.892     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:270:22
#0 5.892     at eval (eval at create (/opt/app/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
#0 5.892     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:434:22
#0 5.892     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:116:11
#0 5.892     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:670:25
#0 5.892     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:855:8
#0 5.892     at /opt/app/node_modules/webpack/lib/NormalModuleFactory.js:975:5
#0 5.892 resolve 'prosemirror-history' in '/opt/app/node_modules/@tiptap/extension-history/dist'
#0 5.892   Parsed request is a module
#0 5.892   using description file<EMAIL_ADDRESS>(relative path: ./dist)
#0 5.892     Field 'browser' doesn't contain a valid alias configuration
#0 5.892     resolve as module
#0 5.892       /opt/app/node_modules/@tiptap/extension-history/dist/node_modules doesn't exist or is not a directory
#0 5.892       /opt/app/node_modules/@tiptap/extension-history/node_modules doesn't exist or is not a directory
#0 5.892       /opt/app/node_modules/@tiptap/node_modules doesn't exist or is not a directory
#0 5.892       /opt/app/node_modules/node_modules doesn't exist or is not a directory
#0 5.892       looking for modules in /opt/app/node_modules
#0 5.892         single file module
#0 5.892           using description file: /opt/app/package.json (relative path: ./node_modules/prosemirror-history)
#0 5.892             no extension
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892               /opt/app/node_modules/prosemirror-history doesn't exist
#0 5.892             .js
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892               /opt/app/node_modules/prosemirror-history.js doesn't exist
#0 5.892             .jsx
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892               /opt/app/node_modules/prosemirror-history.jsx doesn't exist
#0 5.892             .react.js
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892               /opt/app/node_modules/prosemirror-history.react.js doesn't exist
#0 5.892             .ts
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892               /opt/app/node_modules/prosemirror-history.ts doesn't exist
#0 5.892             .tsx
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892               /opt/app/node_modules/prosemirror-history.tsx doesn't exist
#0 5.892         /opt/app/node_modules/prosemirror-history doesn't exist
#0 5.892       /opt/node_modules doesn't exist or is not a directory
#0 5.892       /node_modules doesn't exist or is not a directory
#0 5.892       looking for modules in /opt/app/node_modules/@strapi/admin/node_modules
#0 5.892         single file module
#0 5.892           using description file<EMAIL_ADDRESS>(relative path: ./node_modules/prosemirror-history)
#0 5.892             no extension
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892               /opt/app/node_modules/@strapi/admin/node_modules/prosemirror-history doesn't exist
#0 5.892             .js
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892<EMAIL_ADDRESS>doesn't exist
#0 5.892             .jsx
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892<EMAIL_ADDRESS>doesn't exist
#0 5.892             .react.js
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892<EMAIL_ADDRESS>doesn't exist
#0 5.892             .ts
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892<EMAIL_ADDRESS>doesn't exist
#0 5.892             .tsx
#0 5.892               Field 'browser' doesn't contain a valid alias configuration
#0 5.892<EMAIL_ADDRESS>doesn't exist
#0 5.892         /opt/app/node_modules/@strapi/admin/node_modules/prosemirror-history doesn't exist
#0 5.924 error Command failed with exit code 1.
#0 5.924 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@martenb
I found same problem in strapi 4.5.6 . but, this problem still found tiptap/react since version 2.0.0-beta.xxx to present

solution to fixbug
yarn add prosemirror-schema-list prosemirror-history prosemirror-dropcursor prosemirror-gapcursor prosemirror-keymap prosemirror-commands

Tried this with Strapi 4.5.6, Node 14.20.0, Windows 10, Yarn 1.22.19, the solution by @NLGRF doesn't fix the error with this configuation.

After installing the dependencies, Strapi throws this error when opening the editor: RangeError: Adding different instances of a keyed plugin (plugin$)
Any progress on this?


Fix TextInput API update nits

Ref: https://github.com/facebook/react-native/pull/8392/files/7e7c2b5d57afe451dc5b6ede6b419819e3ac7fbd#r68444537
Ref: https://github.com/facebook/react-native/pull/8392/files/7e7c2b5d57afe451dc5b6ede6b419819e3ac7fbd#r68444442
Test Plan:
Just spelling

By analyzing the blame information on this pull request, we identified @Bhullnatik and @javache to be potential reviewers.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Bug: DTOs cannot handle generic types

Description
DTOs does not seem to support generic types.
URL to code causing the issue
No response
MCVE
from dataclasses import dataclass
from typing import Generic, TypeVar

from litestar import Litestar
from litestar import post
from litestar.dto import DTOConfig, DataclassDTO, DTOData

T = TypeVar("T")

@dataclass
class Foo(Generic[T]):
    foo: T

FooDTO = DataclassDTO[Foo[int]]

@post("/foo", dto=FooDTO)
async def foo_handler(data: DTOData[Foo[int]]) -> Foo[int]:
    return data.create_instance()

app = Litestar([foo_handler])

Steps to reproduce
Run `litestar run`.

Screenshots
No response
Logs
Traceback (most recent call last):
  File "/home/guacs/open-source/litestar/.venv/bin/litestar", line 8, in <module>
    sys.exit(run_cli())
  File "/home/guacs/open-source/litestar/litestar/__main__.py", line 6, in run_cli
    litestar_group()
  File "/home/guacs/open-source/litestar/.venv/lib/python3.8/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/guacs/open-source/litestar/.venv/lib/python3.8/site-packages/rich_click/rich_command.py", line 125, in main
    with self.make_context(prog_name, args, **extra) as ctx:
  File "/home/guacs/open-source/litestar/litestar/cli/_utils.py", line 242, in make_context
    self._prepare(ctx)
  File "/home/guacs/open-source/litestar/litestar/cli/_utils.py", line 224, in _prepare
    env = ctx.obj = LitestarEnv.from_env(ctx.params.get("app_path"), ctx.params.get("app_dir"))
  File "/home/guacs/open-source/litestar/litestar/cli/_utils.py", line 122, in from_env
    loaded_app = _autodiscover_app(cwd)
  File "/home/guacs/open-source/litestar/litestar/cli/_utils.py", line 332, in _autodiscover_app
    module = importlib.import_module(import_path)
  File "/home/guacs/.pyenv/versions/3.8.17/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/guacs/open-source/litestar/app.py", line 25, in <module>
    app = Litestar([foo_handler])
  File "/home/guacs/open-source/litestar/litestar/app.py", line 447, in __init__
    self.register(route_handler)
  File "/home/guacs/open-source/litestar/litestar/app.py", line 623, in register
    route_handler.on_registration(self)
  File "/home/guacs/open-source/litestar/litestar/handlers/http_handlers/base.py", line 492, in on_registration
    super().on_registration(app)
  File "/home/guacs/open-source/litestar/litestar/handlers/base.py", line 525, in on_registration
    self.resolve_data_dto()
  File "/home/guacs/open-source/litestar/litestar/handlers/base.py", line 451, in resolve_data_dto
    data_dto.create_for_field_definition(
  File "/home/guacs/open-source/litestar/litestar/dto/base_dto.py", line 176, in create_for_field_definition
    raise InvalidAnnotationException(
litestar.exceptions.dto_exceptions.InvalidAnnotationException: DTO narrowed with 'app.Foo[int]', handler type is 'litestar.dto.data_structures.DTOData[app.Foo[int]]'

Litestar Version
main
Platform

[X] Linux
[ ] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh Litestar dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

@peterschutt You started working on this, but closed the PR again. Is this blocked by something?

No, just ran into a dead-end with the approach I was taking and have been sidetracked since.

Encountered this on python 3.12 on Windows, as well


AzcopyVersion  10.10.0, the upload of a VHD to Azure Stack Edge is failed.

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
AzcopyVersion  10.10.0
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
Job-Command copy C:\tmp\FGT_VM64_AZURE-v7-b66-d54e\fortios-d54e.vhd https://default.blob.ftnt-ase.qa-labs.ca/vhd?se=2021-06-08t18%3A43%3A32z&sig=-REDACTED-&sp=racwdl&spr=https&srt=sco&ss=bfqt&sv=2017-07-29
What problem was encountered?
The upload of a VHD to Azure Stack Edge is failed.
cd415e94-bfe1-a845-6b24-578121f82c36.log
cd415e94-bfe1-a845-6b24-578121f82c36-scanning.log
Response Details: InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format. x-ms-version2020-04-08
How can we reproduce the problem in the simplest way?
Upload a fixed-size VHD to Azure Stack Edge 2105 (2.2.1606.3320) per following URL.
https://docs.microsoft.com/en-us/azure/databox-online/azure-stack-edge-gpu-deploy-virtual-machine-powershell
$ContainerName =
$ResourceGroupName =
$StorageAccountName =
$VHDPath = "Full VHD Path"
$VHDFile =
$StorageAccountKey = (Get-AzureRmStorageAccountKey -ResourceGroupName $ResourceGroupName -Name $StorageAccountName)[0].Value
$endPoint = (Get-AzureRmStorageAccount -name $StorageAccountName -resourcegroupname $ResourceGroupName).PrimaryEndpoints.Blob
$StorageAccountContext = New-AzureStorageContext -StorageAccountName $StorageAccountName -StorageAccountKey $StorageAccountKey -Endpoint $endPoint
$StorageAccountSAS = New-AzureStorageAccountSASToken -Service Blob,File,Queue,Table -ResourceType Container,Service,Object -Permission "acdlrw" -Context $StorageAccountContext -Protocol HttpsOnly
C:\bin\AzCopy.exe  copy "$VHDPath$VHDFile" "$endPoint$ContainerName$StorageAccountSAS"
Have you found a mitigation/solution?
No.
cd415e94-bfe1-a845-6b24-578121f82c36.log
cd415e94-bfe1-a845-6b24-578121f82c36-scanning.log

Thank you.
"AzCopy 10.1 is now able to be configured to use older API versions. This enables (limited) support for Azure Stack Hub. To configure the API version for AzCopy to support Azure Stack Hub, set the AZCOPY_DEFAULT_SERVICE_API_VERSION environment variable to 2017-11-09."
https://docs.microsoft.com/en-us/azure-stack/user/azure-stack-storage-transfer?view=azs-2102&tabs=az1


Use data.length

Use data.length for the upper bound of the random number used, if there is a small result set then the random number will probably not be in the range of param.searchCount
https://github.com/spences10/twitter-bot-bootstrap/blob/ede59d49cfa6b3e3fca891e9464048d071be1fe4/src/api/retweet.js#L27

Closed with cb18cefe917f917c971297cdbcb478aca48421ff thanks @pabrams 👍


Cannot export K9 Mail settings in other folder than "Download" folder

K9 Kmail in version 5.170 on a LG K50s smartphone with Android 9 Pie.

K9 Mail App > Settings > Backup: Export settings > general settings and settings for my IMAP mail account enabled > EXPORT > Press three-dot-icon at the top in right corner > New folder > Enter name for new folder > Press OK > a message is shown "No Elements" > Press Save > The folder "k9_settings_export" is created within the "Download" folder where I do not want to have my settings being saved.

With a file manager I moved the newly created folder "k9_settings_export" one level up from the "Download" folder, so that the newly created folder is on the same folder level as the "Download" folder

K9 Mail App > Settings > Backup: Export settings > general settings and settings for my IMAP mail account enabled > EXPORT > Press three-dot-icon at the top in right corner > a message is shown "No Elements" > Press the sandwich icon at the top in the left corner > I can only save my export settings in the "Download" folder which I do not would like to do. I would like to save it in the already existing folder "k9_settings_export" which I moved in step 2 from the "Download" folder one folder level higher: The folder "k9_settings_export" is located on the same folder level as the folder "Download".

I guess debugging is currently not necessary for this issue. By the way, I currently do not have an USB cable for connecting my smartphone with my Debian box.

The behavior of the file picker is specific to your Android version. If something doesn't work as expected please consult your phone's documentation and/or contact the vendor.

Thanks, cketti. I just informed the vendor of my smartphone. I tried to find a bugtracking system for Android itself, but for creating bug reports there it seems as if I need a Google account, something that I do no want due to data protection reasons.


Crashing when loading

I am experiencing a bug i crash when i do ./toolbox.sh -l
my csgo closes i am using ubuntu 20.04
if u could do something about this i would apreciate it

I HAVE built The cheat and sorry for not asking on discord
ke 26. toukok. 2021 klo 3.01 ip. dave @.***> kirjoitti:

Hey, thanks for ignoring the template!
Have you actually built it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/seksea/gamesneeze/issues/83#issuecomment-848710255,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUHLJHBR7XNH3G3P4NXLX2DTPTPJBANCNFSM45R3UVGA
.

Well since you haven't provided any useful information and purposefully wiped the template from your first comment, I have no choice but to close this issue thread.
If you open another issue thread without the template/provide any specific information/logs, there's nothing we can do about it.


value | is not a member of String in Scala 2.10

It seems that the ParserApi implicit does not get invoked in Scala 2.10. The same source code compiles with Scala 2.11.
Sample build.sbt:
scalaVersion := "2.10.6"

libraryDependencies += "com.lihaoyi" %% "fastparse" % "0.3.4"

Hello.scala:
import fastparse.all._

object Hello {
  val t: P[String] = P("boo" | "bar")
}

sbt compile:
[info] Compiling 1 Scala source to /tmp/fp/target/scala-2.10/classes...
[error] /tmp/fp/Hello.scala:4: value | is not a member of String
[error]   val t: P[String] = P("boo" | "bar")
[error]                              ^
[error] one error found
[error] (compile:compile) Compilation failed
[error] Total time: 1 s, completed Dec 27, 2015 5:36:13 PM

Found a workaround. I am mixing in the following trait in all objects that use fastparse combinators:
trait Scala210Compat {
  protected implicit def strToParserApi(s: String): ParserApi[Unit] = parserApi(s)
  protected implicit def parserToParserApi[T](s: Parser[T]): ParserApi[T] = parserApi(s)
}

Same thing with scala 2.10.6. I just copied example json parser and try to run it
Error:(40, 36) No implicit view available from fastparse.parsers.Intrinsics.CharsWhile => fastparse.core.Parser[V].
val space         = P( CharsWhile(Whitespace).? )
^

Also got the same issue with 0.3.7 version. Thanks @thesamet for the workaround !

I had the same issue. I fixed it by including macro paradise as it does not come with Scala 2.10. Basically, for Scala 2.10.6 this works, for other versions of scala 2.10, tweaks may be needed:
libraryDependencies ++= Seq(
  ...
  "com.lihaoyi" %% "fastparse" % "0.3.7",
  compilerPlugin("org.scalamacros" % "paradise" % "2.0.1" cross CrossVersion.full),
...

if  using maven ? how to solve this problem?

Probably going to call this wontfix; most people should have upgraded to 2.11, and if you're still on 2.10 upgrading is probably the higher priority


Cannot use different ports by brokers

Hi,
I'm playing with a local Kafka cluster on docker.
Brokers are running in the dedicated containers and I use them via published ports on the docker host,
like <IP_ADDRESS>:9091, <IP_ADDRESS>:9092, <IP_ADDRESS>:9093, by setting advertised.host.name and advertised.port.
On the other hand, Burrow seems not to allow different ports by brokers.
I hope Burrow will support this feature!
Thanks.

This should be pretty easy to add in. I'll try and get to this shortly.

Good to hear that! I'm looking forward to it.

I've resolved this with the latest commit. You can now use the host:port format for hostnames. The port config options (like port in the zookeeper section, and zookeeper-port and broker-port in the cluster sections) are now optional, defaulting to 2181 for Zookeeper and 9092 for Kafka. If you have a host that does not have a ":port" at the end, it gets that port number tacked on.


[openssl] doesn't support spaces in path

I have been repeatedly getting errors when I try to build OpenSSL with the tuple x64-windows. I keep getting the error message:
`CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:14 (message):
Command failed: C:/Program Files/vcpkg/downloads/cmake-3.8.0-rc1-win32-x86/bin/cmake.exe;--build;.
Working Directory: C:/Program Files/vcpkg/buildtrees/openssl/x64-windows-rel
See logs for more information:
C:\Program Files\vcpkg\buildtrees\openssl\build-x64-windows-rel-out.log
C:\Program Files\vcpkg\buildtrees\openssl\build-x64-windows-rel-err.log
Call Stack (most recent call first):
ports/openssl/portfile.cmake:43 (vcpkg_execute_required_process)
scripts/ports.cmake:73 (include)
Error: Building package openssl:x64-windows failed with: BUILD_FAILED
Please ensure sure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: openssl:x64-windows
Vcpkg version: 0.0.75-da09a8136d32890ab5f3804d9abcc5f9685a30e0
Additionally, attach any relevant sections from the log files above.`
The mentioned log files are here.
build-x64-windows-rel-out.log:
http://pastebin.com/0FQVrSzZ
build-x64-windows-rel-err.log
http://pastebin.com/q7C6mEma
I have no idea what is going on. My version of vcpkg is current, my portfiles are current, and other packages are installing just fine.
Please help!

Unfortunately, OpenSSL currently breaks if you have spaces on the path to Vcpkg. We're trying to fix this, but it requires patching OpenSSL's perl-based buildsystem.
The best workaround is to move your vcpkg enlistment to a folder like C:\vcpkg. An advanced alternative you might try is using the subst command to remap your Vcpkg folder to look like a drive, then build OpenSSL via that -- I haven't tried this, but it might work if you really want to put vcpkg inside program files.

Duplicate of #222

Fixed with 463862b94bbad473452605f9f2b3e3d25abb8816.


protonlaunch doesn't work with sudo-ed user

I installed steam as a separate user. And when running protonlaunch, I am usually in a session started with sudo -iu steam.
Amazingly, this breaks this script. protonlaunch reasonably uses > /dev/stderr and > /dev/stdout to redirect to corresponding outputs. However, this is not compatible with a sudo session, due to this: https://unix.stackexchange.com/questions/38538/bash-dev-stderr-permission-denied
It's not your fault in fact, this seems to be a bug in the bash shell. I'm unreasonably angry at bash and am abstaining from profanities.
A solution would be to replace all instances of > /dev/stdout by  >&1 and > /dev/stderr by >&2

Hello,
Sorry the long time to response. I've added the fix. I dont have ´sudo' to test but I've tested with ´doas´ which have the same redirection issues and it worked.
Its already available on dev branch ;)

Hello,
Thanks once again. The changes are merged into main.


Two sessions create two records in payment_payment

I do have two open browser and checking out order with same user and details and clicked the button at the same time it created two record in the database and show in the list twice as well, this is also occuring when the user is in the middle of calling of the api then suddenly the IP of the machine changed.

Could you provide more details about mutations you are calling?


Axe scan shows Aria role error

"Aria role tablist is not allowed for given element"
Not sure if fix is to remove the tablist role or change the element.

Good catch, it shouldn't be a <nav> element, it should be a <div>. Would you be willing to open a PR?


retire guardian/actions-setup-node

the official setup-node action got kind of support for node version files in https://github.com/actions/setup-node/pull/338 - enough that it's not really worth maintaining this anymore.
we should put this repo into retirement and provide guidance on how to use the official way

What does guidance look like? A note at the top of the readme of this, now archived, project?


[release-v0.36.x] Improve DAG validation for pipelines with hundreds of tasks

Changes
This is a manual cherry-pick of #5421 and #5434.
Automated cherry-pick did not work because of merge conflict (there is no v1 api in v0.36x).
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
bug fixes:
- https://github.com/tektoncd/pipeline/issues/5420 - Improve DAG validation for pipelines with hundreds of tasks (validation wehbook performance)

/kind bug

/lgtm

/lgtm

/test pull-tekton-pipeline-integration-tests


Get test coverage for the router back up to 90+%

Pretty straightforward - just tedious.

I'm still trying to figure out how the hell to test http in go.

I ended up ignoring main.go and errors.go since they're getting changed later anyway.


TypeError: Cannot read property 'toString' of undefined

Check please this URL - https://jsonplaceholder.typicode.com/posts/1?_embed=comments&_expand=user
I see this error:
TypeError: Cannot read property 'toString' of undefined at /app/node_modules/lodash-id/src/index.js:37:51 at baseFindIndex (/app/node_modules/lodash/lodash.js:802:11) at findIndex (/app/node_modules/lodash/lodash.js:7260:14) at Function.find (/app/node_modules/lodash/lodash.js:5065:21) at Function.getById (/app/node_modules/lodash-id/src/index.js:35:17) at /app/node_modules/lodash/lodash.js:4374:28 at arrayReduce (/app/node_modules/lodash/lodash.js:683:21) at baseWrapperValue (/app/node_modules/lodash/lodash.js:4373:14) at LodashWrapper.wrapperValue (/app/node_modules/lodash/lodash.js:9052:14) at e.concat.forEach.innerResource (/app/node_modules/json-server/lib/server/router/plural.js:44:74)

I am facing the same issue trying to access a nested resource. Any new input?

Same here

Still an issue. But I normally use jsonserver as a module with some modifications. One of those is to use uuids with the provided mixin:
this.db._.mixin({
      createId() {
        return uuidv4();
      },
});

Then expand works like expected.


FEATURE | Improve custom error output

FEATURE
CONTEXT
Custom error output is currently displayed on a single line, and it is separated by the pipe symbol “|”.
GOAL
Create an output where each error is separated by new lines, adding four whitespace at the beginning. Each line will have a subtitle indicating what type of output is being discussed, whether it is the description or the raw error output.
CURRENTLY
These are the real examples, every line is one type of error. These follow the next structure: “Error: General error | Specific error | Technical error”.
Error: Version manager error | Failed to download version from 'www.fake.com' | builder error
Error: Version manager error | Failed to download Python from 'https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tgz.fake' | Status: 404 Not Found
Error: Version manager error | Failed to create download file '/home/wolf/.shuru/python/3.10.2/python.tgz' | Permission denied (os error 13)
Error: Version manager error | Failed to run command 'cd "/home/wolf/.shuru/python/3.10.2/Python-3.10.2" && "./configurex" "--prefix=/home/wolf/.shuru/python/3.10.2/install"' | No such file or directory (os error 2)
Error: Version manager error | Python build command failed | Exit code: 1
Error: Version manager error | Python build command failed | Exit code: 1 > configure: error: unrecognized option: `-abcdef'
Error: Version manager error | Failed to remove downloaded archive '/home/wolf/.shuru/python/3.10.2/python.tgz/xxx' | Not a directory (os error 20)

There are other types of errors which return two errors. In the below example, the format is “Error: General error | Specific error | General error | Specific error | Technical error”
Error: Version manager error | Failed to extract archive '/home/wolf/.shuru/python/3.10.2/python.tgz' to '/home/wolf/.shuru/python/3.10.2' | Command execution error | Failed to open tar.gz file | Permission denied (os error 13)

EXPECTATIONS
When it throws one error.
Error: Version manager error
    Description: Failed to remove downloaded archive '/home/wolf/.shuru/python/3.10.2/python.tgz/xxx'
    Technical: Not a directory (os error 20)

Error: Version manager error
    Description: Failed to download Python from 'https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tgz.fake'
    Technical: Status: 404 Not Found

Special cases when the error throws two technical outputs.
Error: Version manager error
    Description: Python build command failed
    Technical: Exit code: 1
    Technical: configure: error: unrecognized option: `-abcdef'

Cases where it throws two errors.
Error: Version manager error
    Description: Failed to extract archive '/home/wolf/.shuru/python/3.10.2/python.tgz' to '/home/wolf/.shuru/python/3.10.2'
    Error: Command execution error
    Description: Failed to open tar.gz file
    Technical: Permission denied (os error 13)

DEVELOPERS
The file for the errors is in src/error.rs. The errors are in pub enum VersionManagerError.
The implementation of these errors are in two files:

src/version_manager/python_version_manager.rs.
src/version_manager/node_version_manager.rs.

TIP:
The resolution of this problem could be a little easy. In theory, only needs to add four spaces in the error file.
NOTE
This feature was discussed in this post: https://github.com/shuru-project/shuru/discussions/29.

Hi, @andcscott. I removed the block, you can work on this issue.

Hi @airvzxf, I wrote the implementation today and testing now - hoping to push this weekend. Just a quick question when you have the time: it looks like some errors such as CommandNameValidationError and HttpError aren't called from anywhere in the rest of the program. How would you like me to handle those?
At the moment I've just formatted the errors the same as the others in the event they're needed in the future. For example:
#[error("HTTP error\n    Technical: {0}")]
HttpError(#[from] reqwest::Error),

Yes, @andcscott. Just format the errors, don't clean up or remove errors. You have an eagle eye, thank you for bringing to the conversation.
@harshdoesdev owns the project, and he created for some reason.

Hi @andcscott, thanks for pointing this out. The CommandNameValidationError can be removed, as it is no longer used. The HTTPError was included for prototyping and can also be removed for now.

Hi @harshdoesdev, I understand, and thanks for your input!


Bluetooth: host: Fix compilation issue when privacy is disabled

Fix compilation issue when extended advertising is enabled but privacy
is disabled. In this case the rpa_update work is compiled out.
Signed-off-by: Joakim Andersson<EMAIL_ADDRESS>

To prevent this from happening again could you also enable some sample or test in CI for the configuration combination that was failing?

To prevent this from happening again could you also enable some sample or test in CI for the configuration combination that was failing?

I have added 2 configurations to the shell as build only targets. I think we should wait until we have extended advertising support in the controller before adding samples.

@joerchan note the Shippable failure. You should use %zd for ssize_t and %zu for size_t. Actually, I don't see anything like that in the code you're changing/adding, so seems like you unveiled pre-existing issues in the code which you'll now have to fix in this PR :)

@joerchan note the Shippable failure. You should use %zd for ssize_t and %zu for size_t. Actually, I don't see anything like that in the code you're changing/adding, so seems like you unveiled pre-existing issues in the code which you'll now have to fix in this PR :)

Thanks. It must be because I enabled the tests using native_posix board. In sanity-check this builds with  -m64, while locally for me it builds with  -m32. I don't know why that happens though.


Updating docs changed the method name from downloadWithURL to downloadImageWithURL

Updating docs changed the method name from downloadWithURL to downloadImageWithURL

Replaced by 7f99c01. Thanks @JamesMura


nextcloud-client 3.0.2: crash when clicking systray icon

Describe the bug
nextcloud-client crashes when I click the systray icon.
To Reproduce
Steps to reproduce the behavior:

System: NixOS 21.05, nextcloud-client from 20.09 (!) (so, this is version 3.0.2)
Run nextcloud
Sync works, and I can access the settings menu by right-clicking on the systray icon, but when I click the systray icon with the left mouse button it crashes

Expected behavior
The systray menu should open when I click the systray icon.
Additional context
Reason why I switched to nextcloud-client from nixos 20.09: When starting nextcloud-client 3.2.1 (nixos 20.09 version), it gives me the error

Unsupported Server Version
The server on account<EMAIL_ADDRESS>runs an unsupported version <IP_ADDRESS>. Using this client with unsupported server versions is untested and potentially dangerous. Proceed at your own risk.

as a notification, and crashes immediately after. So I switched to nextcloud-client 3.0.2.
Console output of running 3.0.2:
❯ nextcloud
libGL error: MESA-LOADER: failed to open iris: /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libc.so.6: version `GLIBC_2.32' not found (required by /run/opengl-driver/lib/dri/iris_dri.so) (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libc.so.6: version `GLIBC_2.32' not found (required by /run/opengl-driver/lib/dri/iris_dri.so) (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libc.so.6: version `GLIBC_2.32' not found (required by /run/opengl-driver/lib/dri/swrast_dri.so) (search paths /run/opengl-driver/lib/dri)
libGL error: failed to load driver: swrast
2021-06-15 12:22:10:548 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2021-06-15 12:22:10:910 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2021-06-15 12:22:10:913 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2021-06-15 12:22:10:914 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2021-06-15 12:22:10:916 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2021-06-15 12:22:10:917 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2021-06-15 12:22:10:918 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2021-06-15 12:22:10:919 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2021-06-15 12:22:10:921 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2021-06-15 12:22:11:029 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::writePassword(const QString&, const QString&, const QString&, QKeychain::JobPrivate::Mode, const QByteArray&, QKeychain::JobPrivate*)
2021-06-15 12:22:11:098 [ debug default ]	[ unknown ]:	static bool LibSecretKeyring::writePassword(const QString&, const QString&, const QString&, QKeychain::JobPrivate::Mode, const QByteArray&, QKeychain::JobPrivate*)
# clicked on the nextcloud systray icon...
2021-06-15 12:29:47:246 [ debug nextcloud.gui.systray ]	[ OCC::Systray::computeWindowReferencePoint ]:	screenRect: QRect(0,0 1920x1080)
2021-06-15 12:29:47:246 [ debug nextcloud.gui.systray ]	[ OCC::Systray::computeWindowReferencePoint ]:	taskbarRect: QRect(0,0 1920x32)
2021-06-15 12:29:47:246 [ debug nextcloud.gui.systray ]	[ OCC::Systray::computeWindowReferencePoint ]:	taskbarScreenEdge: OCC::Systray::TaskBarPosition::Top
2021-06-15 12:29:47:246 [ debug nextcloud.gui.systray ]	[ OCC::Systray::computeWindowReferencePoint ]:	trayIconCenter: QPoint(1854,12)
2021-06-15 12:29:47:246 [ debug nextcloud.gui.systray ]	[ OCC::Systray::computeWindowPosition ]:	taskbarScreenEdge: OCC::Systray::TaskBarPosition::Top
2021-06-15 12:29:47:246 [ debug nextcloud.gui.systray ]	[ OCC::Systray::computeWindowPosition ]:	screenRect: QRect(0,0 1920x1080)
2021-06-15 12:29:47:246 [ debug nextcloud.gui.systray ]	[ OCC::Systray::computeWindowPosition ]:	windowRect (reference) QRect(1654,36 401x511)
2021-06-15 12:29:47:246 [ debug nextcloud.gui.systray ]	[ OCC::Systray::computeWindowPosition ]:	windowRect (adjusted ) QRect(1515,36 401x511)
2021-06-15 12:29:47:260 [ fatal default ]:	Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
zsh: IOT instruction (core dumped)  nextcloud

Related issues: https://github.com/nextcloud/desktop/issues/2636, https://github.com/NixOS/nixpkgs/issues/103680
I removed ~/.cache/Nextcloud once and tried starting nextcloud-client 3.0.2, but still the same error occurs (crash on click, similar command line output).
Notify maintainers
@caugner
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 5.10.42, NixOS, 21.05.961.1f91fd10406 (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20210601_5985b8b
channels(root): "emacs, nixos-21.05.961.1f91fd10406, nixos-hardware, nixos-old-20.09.4321.115dbbe82eb, nixos-unstable-21.11pre294801.432fc2d9a67, nixos-unstable-small-21.11pre295283.6aa2bb6a818"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
  - nextcloud-client
# a list of nixos modules affected by the problem
module:

@laikq Are you still having this issue?
I ran into a very similar behavior with similar crash! In my case I had nextcloud-client installed via nix-env.
The printout also told me "Failed to create OpenGL context for format QSurfaceFormat..."
However, when installing nextcloud-client via nix-shell -p or in the configuration.nix it works for me without any crashes. I am thinking of creating a new issue detailing my findings, also this specific issue is a bit old and might not get updated.
I had no idea that a program could behave differently when installed via nix-env -iA vs nix-shell -p or globally in configuration.nix...

Probably makes sense to ping @Kranzes ;)

Hm. I am no longer to reproduce it. "Reinstalling" seems to have fixed it. In the process of reinstalling I also did delete everything nextcloud related in $HOME/.config and $HOME/.local/share, though...

I'm using client version 3.2.1 now, and just don't sync at all with the unsupported server version 18 :/

Not much we can do, v18 is long gone.
21, 22 and 23 are currently supported.
18 has been EOL'd for ages.

I think I've seen it again recently and removing the config or state folder is enough. It's an issue with upstream so let's close.


Make iOS keyboard dark when ThemeData brightness is dark

Make iOS keyboard dark when ThemeData brightness is dark

It doesn't look like we currently support this setting with out current system chrome api, but we should.

What is "current system chrome api" and can I use it to change the keyboard to dark when the theme is dark?

SystemChrome is a collection of apis we use to change visual features on the host platform.  You can't use this api to change the keyboard darkness though because we haven't implemented it yet.

@lukepighetti Did you find a temporary solution for showing a dark keyboard on iOS in the meantime?
Developing a dark themed app for iOS is only half as much fun with a white keyboard 😏

@NiklasPor I haven't found anything. I was just sorta hoping Flutter team would magically do it for me. 😄
@jonahwilliams is there any way for me to access the keyboard settings manually 20 days later?
In react-native <InputField keyboardAppearance="dark"/>

Sorry for the delay, I have the engine implementation pending here: https://github.com/flutter/engine/pull/5714 and the framework implementation following shortly

Thanks a lot @jonahwilliams, you're the real hero here 👍 🚀 Can't wait to build all those beautiful dark UIs 😆

Awesome man, great news for the iOS guys. Thank you so much.

This won't actually be usable until the next engine roll, probably early next week

What branch will it be on?

master

This should be submitted and implemented for iOS

@jonahwilliams How to using this feature?


feat: added response headers count

Description

Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request.

added headers count for response

Thanks for taking care of this @therealrinku !


[4.1] Remove Skip UnderscoreToCamelCaseVariableNameRector for Autoloader.php file

Previously, in develop, it skipped due conflict with deprecated code. In 4.1, deprecated code is removed.
Checklist:

[x] Securely signed commits

All green :tada:


Add script to reload events if pending.data changed

This needs the Python watchdog library

Changes look good. I think it would be helpful to add some documentation, what are your thoughts about the best location? Could be added as a comment at the top of the script, or in some of the other existing markdown doc in the repo?

Note that Taskwarrior 3.0 (released in March) does not support pending.data. It now uses a single database (taskchampion.sqlite3) rather than separate databases for pending, completed, etc.

Note that Taskwarrior 3.0 (released in March) does not support pending.data

Yep, I saw this. My understanding of the upgrade is that VIT should work seamlessly with 3.x, as the CLI interface has not changed, only the storage mechanism.
I have not personally upgraded to 3.x, and will not do so until it's matured a bit more. I suspect I am not alone in this decision.
That being said, if SQLite is being used as the local storage mechanism, I would think this kind of file listener approach could still work?

Could be added as a comment at the top of the script, or in some of the other existing markdown doc in the repo?

Added a comment.

Yep, I saw this. My understanding of the upgrade is that VIT should work seamlessly with 3.x, as the CLI interface has not changed, only the storage mechanism.

Seems to work fine.

I have not personally upgraded to 3.x, and will not do so until it's matured a bit more. I suspect I am not alone in this decision.

Same here. We also have to think about what to do with the Debian package as it will be a bit of work to get all that Rust stuff in.

That being said, if SQLite is being used as the local storage mechanism, I would think this kind of file listener approach could still work?

Sadly it does not work as running task creates a write event to the database.

Sadly it does not work as running task creates a write event to the database.

I understand the purpose of this PR, as a simple solution to handle automatic updates, which is why I'll commit it when it's ready. However, there's already a documented method for doing auto-refresh: https://github.com/vit-project/vit/blob/2.x/CUSTOMIZE.md#auto-refreshing-vits-interface -- this method will continue to work in Taskwarrior 3.x

That being said, if SQLite is being used as the local storage mechanism, I would think this kind of file listener approach could still work?

Sadly it does not work as running task creates a write event to the database. @scottkosty do you know if that write event can be dropped?

Unfortunately I don't know anything about 3.x under the hood.


Sound effect preview only plays after pressing the Play button twice

Describe the bug
After changing the Effect Index number of a HammerFX sound effect, the Play button needs to be pressed twice to play the sound.
To Reproduce
Steps to reproduce the behavior:

Add a "Play Sound Effect" event and pick a sav file
Change the Index number
Press play
Press play again to actually hear the sound

Expected behavior
The sound effect plays immediately after pressing the Play button
Screenshots

Platform (please complete the following information):

OS: macOS Sonoma 14.5
All versions of GB Studio 4

This happens to me too on Mac

I managed to reproduce this issue too and have added a fix in 5e9522982cd1779b1f7b6123568d21f44c2d9488 which will be included in the next release. Thanks for spotting this

This issue was fixed in the 4.1.0 release :-)


build site

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: frankharkins:x: nathanearnestnobleYou have signed the CLA already but the status is still pending? Let us recheck it.


Fix JointStatePublisher plugin

The current JointStatePublisher plugin was not correctly ignoring fixed joints.
While they are not used historically in UUV / Plankton, they can be used instead of all the 0-bounded joints used for examples to define the sensor frames. Using revolute joints with 0-limits has two limitations:

it increases the load on the physics engine
it makes it more difficult to use the robot model outside of Plankton, as these joint values are not published (or we have to use a custom publisher)

Additionally, a new tag <only_actuators> is available for the JointStatePublisher plugin. If this is true then only 0-bounded joints and joints containing fin or thruster will be published. Indeed, if a UUV has e.g. a moving camera, the corresponding joint will be controlled / published from a classical ros2_control approach (that can also work on the vehicle).

Hi,
Besides the PR on the JointStatePublisher I have encountered a severe bug when building a custom controller.
The PoseGT plugin publishes an Odometry message where both the pose and the twist are expressed in the world frame.
The standard Odometry message states that the twist should be expressed in the vehicle frame coordinates. The last commit solves this and complies with Odometry standard.


wrong i18n

OS: [e.g. macOS, Windows, Linux]
Version of IPFS Desktop [e.g. 0.11.1]

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

This was fixed in https://github.com/ipfs-shipyard/ipfs-desktop/pull/1729 and will be included in the next release. Thanks!

This was fixed in https://github.com/ipfs-shipyard/ipfs-desktop/pull/1729 and will be included in the next release. Thanks!


Hide output when resetting changes introduced by YEAR

Such detailed output is unnecessary. Just tell if this file is reset or not is enough.
e.g.
+ read file
++ git diff pkg/ovs/ovsconfig/testing/mock_ovsconfig.go
+ [[ diff --git a/pkg/ovs/ovsconfig/testing/mock_ovsconfig.go b/pkg/ovs/ovsconfig/testing/mock_ovsconfig.go
index cd52701..588e471 100644
--- a/pkg/ovs/ovsconfig/testing/mock_ovsconfig.go
+++ b/pkg/ovs/ovsconfig/testing/mock_ovsconfig.go
@@ -1,4 +1,4 @@
-// Copyright 2019 Antrea Authors
+// Copyright 2020 Antrea Authors
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License. == *\-\/\/\ \C\o\p\y\r\i\g\h\t\ *\ \A\n\t\r\e\a\ \A\u\t\h\o\r\s* ]]
+ git checkout HEAD -- pkg/ovs/ovsconfig/testing/mock_ovsconfig.go
+ echo '=== pkg/ovs/ovsconfig/testing/mock_ovsconfig.go is reset ==='
+ read file
=== pkg/ovs/ovsconfig/testing/mock_ovsconfig.go is reset ===

/skip-all


I need resize function to add support for model-viewer to Python/ HoloViz Panel.

I'm trying to add support for web components in general and the model-viewer in particular to Panel. Panel is a framework for creating awesome analytics apps in Python.
It's pretty easy to do, except I cannot trigger a resize of the model-viewer to 100% of the width and height of the parentElement. I need to do this after the layout of the parentElement.
I've tried to find this functionality without luck.
Please guide me to what function on the model-viewer to run in order to resize the element. Or if it does not exist please add this functionality.
Thanks
Additional Context
.Git video of model-viewer in Jupyter Notebook using Panel.

I need this too for resizing on ios. I've added resize-observer-polyfill to my page, but as the app (universalviewer.io) can load a variety of content types it would be nice to use the recommended ponyfill pattern in the modelviewer extension to call a modelviewer.resize() method. Otherwise all other extensions load the polyfill unecessarily and suffer a performance hit.

@edsilv @MarcSkovMadsen thank you for the request and the feedback.
Before I launch into my short essay below, here is a quick suggestion to address the stated problem:
Per our documentation on polyfills, you can dispatch a global "fake" resize event in order to force a resize of <model-viewer> without using the polyfill. To offer some pseudocode:
function forceResize() {
  var event = new CustomEvent('resize');
  self.dispatchEvent(event); // Dispatch "fake" resize event on window
}

// When something happens and you know you need to resize <model-viewer>:
forceResize();

Wherever possible, <model-viewer> relies on native web platform constructs in order to achieve its design goals. Resize Observer is a standards-track solution for monitoring the realtime layout changes of an HTML element. At this point, it is implemented in most major browsers, with significant exceptions including Safari and IE11. In browsers where it is implemented, no polyfill is required.
I strongly recommend taking the path of including the Resize Observer polyfill in the page. Resize Observer will cover a lot of layout changes you may not be considering, and also will be more efficient than manual resizing in a lot of cases (because of timing details related to how it notifies of resize).
In many cases, the cost of using the Resize Observer polyfill is low. Where performance is a concern, I like to look at performance traces before jumping to conclusions about the cost of something. If you have an example site I could look at, I would be happy to do a performance analysis to gauge what the practical impact of the Resize Observer might be.

Your docs say this about performance:

However, it is important to note that Resize Observer is optional because the polyfill is known to have performance consequences that might be considered unacceptable for some use cases (it uses a Mutation Observer that observes the whole document tree).

It also recommends to use a ponyfill instead of a global on the resize-observer-polyfill readme:
https://github.com/que-etc/resize-observer-polyfill#usage-example
Based on that, I thought the above comments were well founded, but you're right, it's always better to test yourself.
Forcing another window.resize is suboptimal for us as it will trigger a full resize throughout the app, and we're trying to keep these to a minimum.
Happy to include the polyfill though if that's your recommendation :-)

We are open to amendments to our recommendations pending a performance
analysis. If the analysis shows that you are in between a rock and a hard
place, we will move to make things easier to the extent that we can. I'm
happy to help analyze a performance-related test case if you have one.
On Mon, Mar 16, 2020, 11:28 AM Edward Silverton<EMAIL_ADDRESS>wrote:

Your docs say this about performance:
However, it is important to note that Resize Observer is optional because
the polyfill is known to have performance consequences that might be
considered unacceptable for some use cases (it uses a Mutation Observer
that observes the whole document tree).
It also recommends to use a ponyfill instead of a global on the
resize-observer-polyfill readme:
https://github.com/que-etc/resize-observer-polyfill#usage-example
Based on that, I thought the above comments were well founded, but you're
right, it's always better to test yourself.
Forcing another window.resize is suboptimal for us as it will trigger a
full resize throughout the app, and we're trying to keep these to a minimum.
Happy to include the polyfill though if that's your recommendation :-)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/model-viewer/issues/1088#issuecomment-599694110,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB2TUYCE3IT5XWYC4N45J3RHZVU5ANCNFSM4LLDSEDA
.

Hi  @cdata and @edsilv
Thanks for your comments. What you write is not within my area of expertise. It will take some time to understand and digest.
I will try raising the resize event. But my current understanding is that everything has just resized (The function I normally have to run an resize function in is called after_layout). So raising a new resize event will just cause everything to resize again. I could be afraid I would end up in an infinite cycle. But thats up for me to test.
I have yet to understand how the ResizeObserver can be of use. As far as I understand it just observes for things resizing. And I already know things have resized. But the model-viewer has not. So I need some kind of functionality to trigger that.
Sorry if this does not make sense. Again. It's outside my area of expertise. I actually looked into the model-viewer in the hope to provide it to python users so that we/ they can avoid diving into the world of JavaScript and front end development.
Thanks for taking the time to put together quality feedback.

@MarcSkovMadsen if you did, in fact, just "react" to a resize even (in after_layout), then <model-viewer> will have also observed that "true" resize event and updated its size accordingly. Unfortunately, it can be difficult to coordinate layout resizing when multiple libraries are on the page at the same time. This is why ResizeObserver is the recommended approach: it fixes the coordination problem by allowing every user to know their latest layout dimensions regardless of when the layout changed last.
To speak to @edsilv 's question about using it as a ponyfill, if you are building an end-user-facing app or website (and not a re-distributable library) then I think that using it as a ponyfill is acceptable. However, it is not acceptable for a library like <model-viewer> to bundle a polyfill like ResizeObserver because the extra byte size will not be desired or needed by some of our users. In principle, polyfills should only be used when they are called for by the final usage scenario.
@MarcSkovMadsen the practical performance cost of using ResizeObserver for you is likely to be quite low. I would recommend that you try putting this script on your site just to give it a shot:
<script<EMAIL_ADDRESS>
That's all you would need to do, no further intervention needed. LMK if you can give it a shot and how it goes!

Hi
Thanks for your help.
I now got it working...and without the polyfill. I had to change some Panel code instead.
For the record the below code works for me
import panel as pn

js = """
<script src="https://unpkg.com/<EMAIL_ADDRESS><script type="module"<EMAIL_ADDRESS><script nomodule<EMAIL_ADDRESS>"""
js_pane = pn.pane.HTML(js)

html="""
<model-viewer src="https://modelviewer.dev/shared-assets/models/Astronaut.glb" alt="A 3D model of an astronaut"
auto-rotate camera-controls style="height:100%;width:100%;">
</model-viewer>
"""

model_viewer_pane = pn.pane.HTML(html, height=800, width=500)

app = pn.Column(
    js_pane,
    model_viewer_pane,
    background="grey",
)

app.servable()