Mission Upload issues with Mavsdk Java and Ardupilot

In an effort to build capabilities while testing and learning mavsdk I have been modifying some of the example code in MavSDK Java to talk with a SITL Arducopter drone.
My Environment:
- Windows 11 host
- Ardupilot SITL using WSL Linux ubuntu
- Mavsdk server from Releases hosted in Alpine 3.19 docker
-  MavSDKJava examples running from intellij gradle task
The Issue:
When attempting to start a mission upload using the code snippet below I get a "TIMEOUT" return after just a second or 2. This error happens regardless of using MissionRaw or Mission plugins.
To Reproduce:
- run mavsdk server  v2.0 using ./mavsdk_server --sysid 10 --compid 10 udp://:14450  -p 50051
- Install or otherwise have ardupilot SITL on your machine
-  add MCTSSA=33.246358,-117.425353,200,90 to your location.txt file located at ardupilot/Tools/autotest/
- run the SITL using: sim_vehicle.py -v ArduCopter --console --map --location MCTSSA --instance 0
- Manually give your drone a mission of fly-to points using the draw or edit features in MavProxy or otherwise get a mission to the drone
- pull MavSDK-Java latest
- Add uploadIssueCode.txt in examples/java-client/src/main/java/io/mavsdk/example/ as a .java file
- Run the file changing IS_RAW flag to true or false to change plugin used
I get times out on the request very quickly (1-2 seconds) with no log messages in Mavsdk.
SITL displays
Got MISSION_ACK: TYPE_MISSION: OPERATION_CANCELLED
AP: Mission upload timeout:

sometime later about 10+ seconds after request
My console log below showing that position updates and mission download both work but upload does not:
10:44:38 AM: Executing ':MissionUploadIssue.main()'...

> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes

> Task :MissionUploadIssue.main()
10:44:39.152 [main] DEBUG io.mavsdk.example.MissionUploadIssue - Starting example: mission upload...
10:44:39.185 [main] DEBUG io.mavsdk.example.MissionUploadIssue - Creating RAW Mission Items...
10:44:39.185 [main] INFO io.mavsdk.example.MissionUploadIssue - Test MissionRaw Created!
10:44:39.185 [main] INFO io.mavsdk.example.MissionUploadIssue - ### START Raw Created Mission List ###
10:44:39.204 [main] INFO io.mavsdk.example.MissionUploadIssue - Mission Raw Item List:
MissionItem[0]: {seq = 0, frame = 0, command = 16, current = 1, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332463580, y = -1174253530, z = 200.09999, missionType = 0}, MissionItem[1]: {seq = 1, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332473225, y = -1174241931, z = 30.0, missionType = 0}, MissionItem[2]: {seq = 2, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332473436, y = -1174220750, z = 30.0, missionType = 0}, MissionItem[3]: {seq = 3, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332458991, y = -1174214572, z = 30.0, missionType = 0}, MissionItem[4]: {seq = 4, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332451715, y = -1174230962, z = 30.0, missionType = 0}, MissionItem[5]: {seq = 5, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332458253, y = -1174263995, z = 30.0, missionType = 0}, MissionItem[6]: {seq = 6, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332462365, y = -1174266768, z = 30.0, missionType = 0}, MissionItem[7]: {seq = 7, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332462365, y = -1174266768, z = 30.0, missionType = 0},
10:44:39.206 [main] INFO io.mavsdk.example.MissionUploadIssue - ### END Raw Created Mission List ###
10:44:39.206 [main] DEBUG io.mavsdk.example.MissionUploadIssue - Creating Standard Mission Items...
10:44:39.208 [main] INFO io.mavsdk.example.MissionUploadIssue - Test MissionStandard Created!
10:44:39.208 [main] INFO io.mavsdk.example.MissionUploadIssue - ### START Created Standard Mission List ###
10:44:39.209 [main] INFO io.mavsdk.example.MissionUploadIssue - Mission Raw Item List:
MissionItem[0]: {seq = 0, frame = 0, command = 16, current = 1, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332463580, y = -1174253530, z = 200.09999, missionType = 0}, MissionItem[1]: {seq = 1, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332473225, y = -1174241931, z = 30.0, missionType = 0}, MissionItem[2]: {seq = 2, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332473436, y = -1174220750, z = 30.0, missionType = 0}, MissionItem[3]: {seq = 3, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332458991, y = -1174214572, z = 30.0, missionType = 0}, MissionItem[4]: {seq = 4, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332451715, y = -1174230962, z = 30.0, missionType = 0}, MissionItem[5]: {seq = 5, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332458253, y = -1174263995, z = 30.0, missionType = 0}, MissionItem[6]: {seq = 6, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332462365, y = -1174266768, z = 30.0, missionType = 0}, MissionItem[7]: {seq = 7, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332462365, y = -1174266768, z = 30.0, missionType = 0},
10:44:39.209 [main] INFO io.mavsdk.example.MissionUploadIssue - ### END Created Standard Mission List ###
10:44:39.209 [main] INFO io.mavsdk.example.MissionUploadIssue - Subscribing to Telemetry updates...
10:44:39.349 [main] INFO io.mavsdk.example.MissionUploadIssue - Subscription Complete...
10:44:39.349 [main] INFO io.mavsdk.example.MissionUploadIssue - Downloading Mission...
10:44:39.592 [grpc-default-executor-1] INFO io.mavsdk.example.MissionUploadIssue - ### START Downloaded Mission List ###
10:44:39.593 [grpc-default-executor-1] INFO io.mavsdk.example.MissionUploadIssue - Mission Raw Item List:
MissionItem[0]: {seq = 0, frame = 0, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332463580, y = -1174253530, z = 200.09999, missionType = 0}, MissionItem[1]: {seq = 1, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332474174, y = -1174244201, z = 100.0, missionType = 0}, MissionItem[2]: {seq = 2, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332457093, y = -1174225919, z = 100.0, missionType = 0}, MissionItem[3]: {seq = 3, frame = 3, command = 16, current = 0, autocontinue = 1, param1 = 0.0, param2 = 0.0, param3 = 0.0, param4 = 0.0, x = 332453297, y = -1174258573, z = 100.0, missionType = 0},
10:44:39.593 [grpc-default-executor-1] INFO io.mavsdk.example.MissionUploadIssue - ### END Downloaded Mission List ###
10:44:39.593 [grpc-default-executor-1] INFO io.mavsdk.example.MissionUploadIssue - Attempting Mission Upload
10:44:40.444 [grpc-default-executor-1] INFO io.mavsdk.example.MissionUploadIssue - Current Postition = [33.2463581,33.2463581,-0.025]
10:44:41.441 [grpc-default-executor-1] INFO io.mavsdk.example.MissionUploadIssue - Current Postition = [33.2463581,33.2463581,-0.025]
10:44:42.173 [grpc-default-executor-1] INFO io.mavsdk.example.MissionUploadIssue - Standard Upload Mission Failed! Reason = TIMEOUT: Timeout

A Note: The mission upload will fail for being invalid if you do not make one of the mission items (possibly the first one) have a "current" value of 1

A Note: The mission upload will fail if you do not make one of the mission items (possibly the first one) have a "current" value of 1

Yes, there is an offset between how PX4 and Ardupilot interprete the mission. It should be fixed for Ardupilot in the mission implementation. I think it should not be too much work, but... somebody using Ardupilot should look into it :innocent:.
Would you be willing to have a look?

Would you be willing to have a look?

I am about to take a deeper dive into the c++ code for another implementation so I will see if I can try and figure out the issue then.
I am new to this code base and rusty with C++ so it may take me a lot more time than someone else to figure out the issue lol.
If someone else who uses Ardupilot gets the time or inclination that would also be a great help

Also have a look at this, maybe: https://github.com/mavlink/MAVSDK/issues/2058

I think it should not be too much work, but... somebody using Ardupilot should look into it 😇.

I don't think that will magically be fixed. That's been like this for 10 years and I don't think it's trivial to fix it an also make it backwards compatible.

I don't think that will magically be fixed. That's been like this for 10 years and I don't think it's trivial to fix it an also make it backwards compatible.

I was not referring to fixing this in MAVLink (I actually think that it is not possible in a backward compatible way). I was more thinking about some if (ardupilot) { ... } else { ... } in the MAVSDK mission logic. Don't you think that should be feasible?

Ah, yes, that's what we should do.

and the mission raw upload succeeds!

Oh you are using mission_raw? I always assumed it was mission, which has the indexing problem. The mission_raw plugin should work with Ardupilot, I am pretty sure that some people are using it already :+1:.

I plan to run a test to see exactly what the _sender.autopilot() is at that time but I don't have the time for a rebuild at the moment.

Let us know what you find!

I encountered the same issue when using mission_raw. The problem is within
 Autopilot ServerComponentImpl::OurSender::autopilot() const  {      // FIXME: hard-coded to PX4 for now to avoid the dependency into mavsdk_impl.     return Autopilot::Px4;  }
hard-coding return Autopilot::ArduPilot; fixes the issue for me but that's for sure not the correct solution :)

Hm, so you're creating a "fake" autopilot but want it to behave like ArduPilot, is that right?

I don't think so - I'm just uploading waypoints to an ardupilot with mission_raw

But this todo is only relevant for components which are used for _server plugins. So, if you're just connecting to ArduPilot, you would not be using a server plugin.
Can you reproduce this with the latest version? And if so, what's the exact error?

Ok, I did not use the really last version - looks like you fixed it in 30d2693417fe2afdfe494ace3e0f5b8ee5331f03 some weeks ago. But have to try it out during the next week an will report back if it really fixes the issue but it looks promising.

I can confirm that 30d2693417fe2afdfe494ace3e0f5b8ee5331f03 fixes the timeout problem for me.

I think I have the same issue, and it seems that you made it go away! What did you do? Please help if you can @chehrlic, I would appreciate it a ton!


Fix mbed v2beta header

PR Type

[ ] 💰 Feature
[x] 🪲 Bug Fix
[x] 👷♀ Refactor
[ ] 📖 Documentation Update

Description

Checklist

[x] 🌞 Changelog updated

turns out I didn't make this bug I thought I made...


Ability to break up json files into multiple json files feature request.

I'm submitting a ...  (check one with "x")
[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[x] feature request

Current behavior
It seems like:
TranslateHttpLoader(http, './assets/i18n/', '.json');
matches one filename stem:
 e.g.  it matches en.json or fr.json e.t.c

Expected/desired behavior
As the application gets bigger it would be great to have separate json files for different functions.
For example:
 header_en.json
 header_fr.json
 login_en.json
 login_fr.json

Maybe support for wild cards would be great
 TranslateHttpLoader(http, './assets/i18n/*', '.json');

Maybe it is possible do this with a custom loader but am a beginner -the task is too hard for me.  If anyone could code this I would use it and be very happy.  It is good if this functionality becomes part of the API.
One of the reasons for breaking out into multiple files is to avoid code versioning conflicts and make the internationalization more maintainable.
Reproduction of the problem
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar. You can use this template as a starting point: http://plnkr.co/edit/tpl:01UjWY3TKfP6pgwXKuEa
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:

ngx-translate version: x.x.x

Angular version: 2.x.x

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Similar issue to:
https://github.com/ngx-translate/core/issues/199
?

@jarodsmk thank you

@jarodsmk thank you in angular 11 if works


Comparison Mode "Multiple"

Hi there,
first: very nice extension, thanks for developing.
My question is: is it possible to have a checkbox logic, where the cards in the list get filtered on a multiple comparison mode?
[ checkbox-a, checkbox-b ]
So, i check checkbox a and the list displays only items with items-a - so far, so good, thats what possible in the cards example - but when i also check checkbox b, i want the list to display items with values a and b.
So, instead of a radio-logic like in the example, i want a checkbox logic where the items in the list add up based on the selected checkboxes. Any ideas how i get there?

Hello @GuiltyRemnant, thanks for the nice words.
You can pass a function to the object prop of ds-filter-fields to achieve this.
I've prepared a code sandbox, please tell me if this works for you.

Thank you so much for doing that for me :)
I tried to figure this out for me, but i still struggle to implement it for my usecase.
When i try to filter more than one property over the ds-filter-fields, i doesnt work for me.
My json looks like this: https://codesandbox.io/s/vue-dataset-multiple-forked-qlllq?file=/src/users.json
Lets say i want to do a partner portal, where all the cards are showing when i initialy come to the website (i experimented with a method and tried it with updating my users list, but i failed horribly).
When i check the checkbox for "cool_dude", only the cards should showing up, that are "cool_dude": true in the json. When i now check "blue_eyes" checkbox, i want to see all results for "cool_dude" and "blue_eyes".
What broke my neck on my own experiment was, when i uncheck one of the boxes again, it doesnt deliver the right result anymore (so for example, when i uncheck blue_eyes, it shows results with long legs or so, not the results with cool_dude).
And when everything is unchecked again, show the full list again - what i did here for me was an array, that remembers the checked filter and when this array is empty, return with an original copy of the users as an result. This piece of code works pretty nice - the other not so much :D

What you want is to dynamically construct a filter object and pass it to the ds-filter-fields.
It might be a little bit tricky because your JSON contains empty string in case there's a false  value but
something like this will do the trick

This works like a charme - thank you so much :)
I am a fan now! <3


Use dotenv to control user password?

https://github.com/xxhomey19/github-uploader/blob/master/src/upload.js#L18

Actually, that is a fake account I created.
It would be better if user could use their own account, but I'm afraid user would concern about it. Anyway, I haven't figure out a better solution yet.

Got it.

Have to find a alternative way.
Let's keep this issue open 👍

Couldn't you have the option to log in the first time though?

I like the way it is now :)


Fix Clockwork.kernel:GetPathToGMod() function after util.RelativePathToFull() deprecation.

Tested by two people so far and works fine.

was this tested on linux?

was this tested on linux?


Fix lint issues

Order imports
use const instead let

Pull Request Test Coverage Report for Build 218

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 57.641%

Files with Coverage Reduction
New Missed Lines
%

packages/sdk/ui-react/src/splitter/splitter.tsx
2
0.0%

Totals

Change from base Build 205:
0.0%

Covered Lines:
5429

Relevant Lines:
8865

💛  - Coveralls

The lint errors were fixed by the Microsoft side


use new devnet

Use the new devnet which:

Updated to master
Using some bleeding edge sector-builder & filecoin-ffi deps to:

Allow the devnet be long running and not get problems with Windowed PoSts on sectorbuilder mock.
Use 512Mib sectors, which allow to store bigger files.

The textile/lotus-devnet supports a new flag bigsectors which if enabled will use 512Mib sectors. The make embed setup enables this flag, so if you run a common flow in the CLI you can store files up to ~512Mb. (I tested with 100mb, and works).
Refer https://github.com/textileio/lotus-devnet/pull/18 to know more details.

Thanks!


v4.12.0

Bump BITBOX dep and don't hardcode REST.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Testing/Benchmark Comparisons

We should add benchmarks comparing this library to the base streadway lib.

Basic Benchmarks added by #46, but this issue will be left open for more comprehensive benchmars.


Recusive function vs overload set

Take:
bit f(in bit t)
{
  return t;
}

bit<2> f(in bit<2> t)
{
  bit b0;
  bit b1;
  b0 = (bit)t;
  b1 = (bit)(t>>1);
  b0 = f(b0);
  b1 = f(b1);
  bit<2> b = (bit<2>)b0;
  b = b | (((bit<2>)b1)<<1);
  return b;
}

f is not recusive even though f is named the same but the reference compiler rejects it. I think this should be valid but it is not obvious in the specification if it is valid or not.

FWIW, the type checker for my Cornell group's clean-slate reimplementation of P4 type checks this example just fine.
https://github.com/verified-network-toolchain/petr4

So I agree p4c is wrong in giving this error message:
% p4test pinski.p4
pinski.p4(13): [--Werror=type-error] error: f: Recursive function call
  b0 = f(b0);
       ^
pinski.p4(14): [--Werror=type-error] error: f: Recursive function call
  b1 = f(b1);
       ^

This should have been filed against the compiler.

I will close this issue in favor of the one in the compiler - which refers to this one...


feat: allowed HEAD HTTP method

Closes https://github.com/epam/ai-dial-core/issues/511

/deploy-review

/deploy-review


container.item().read() does not work

The page shows example with container.item(1).read(). It did not work for me and I found the solution from stackoverflow, after wasting some time because of this documentation, that item(, ) should be used. I tried also the read({partitionKey:}) as well but that also does not work. That way was found in some other Microsoft documentation. Maybe this is an SDK version difference, but then it should be made clear.

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

ID: c4bed5dc-c173-b7b9-f52d-a4ead58e15c0
Version Independent ID: 27ed24eb-b98a-7c2d-dd29-23893ab38b74
Content: Azure Cosmos DB client library for JavaScript
Content Source: docs-ref-services/latest/cosmos-readme.md
Service: ****
Product: azure
Technology: azure
GitHub Login: @maggiepint
Microsoft Alias: magpint

Thanks for reporting @sijucm
@southpolesteve, @zfoster Can we have the content here fixed? The file to update is https://github.com/MicrosoftDocs/azure-docs-sdk-node/blob/master/docs-ref-services/latest/cosmos-readme.md

Closing this issue in favor of https://github.com/Azure/azure-sdk-for-js/issues/13518


feat: Allow configuring min instances for createCheckoutSession

I am proposing a new configuration setting that would allow setting the minInstances for the createCheckouSession function.
The response time of this function is critical for how fast users percieve the checkout experience.  I have found times where the response can take >7-8 seconds and this amount of waiting leads to users starting the checkout process and then abandoning because they think the process is hung.
This change would allow using firebase functions support for idle instances to ensure there are instances ready to process the request and ensure higher speed response for checkout.
see: https://firebase.google.com/docs/functions/manage-functions#min-max-instances
Note: I have not been able to test these changes as I do not know a way to test extensions.  I am putting up the PR as an example of how I think it could work to discuss with the maintainers.

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

@jsteele-stripe @lemuel-stripe I am not sure if this is of interest to the project, but I think it would help me and likely other users tremendously with conversion improvements.  The current checkout flow simply takes too long from cold starts, atleast in my experience running it for several months.


pythd throws when HOME undefined

pythd crashes with the following when getenv ( "HOME" ) returns nullptr:
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Aborted

HOME being undefined is not common and in my case may be an artifact of what nitro-cli is doing under the hood, but figured this would be helpful for anyone who runs into the same issue. A quick test to ensure the envvar is defined and provide less cryptic output may also be helpful.

I ran into this when trying to run pythd as a systemd service. What worked was running it as a specific user instead, i.e.
[Service]
Type=simple
ExecStart=/usr/local/bin/pythd {...rest of the args}
User=myuser
Group=myuser

Had the same issue with systemd unit & DynamicUser=true

/opt/pyth-client/git/pcapps/pyth_admin.cpp:15:static const std::string DEFAULT_KEY_STORE = std::string( getenv( "HOME" ) ) + "/.pythd/";
/opt/pyth-client/git/pcapps/pyth_admin.cpp-16-
--
/opt/pyth-client/git/pcapps/pyth.cpp:15:static const std::string DEFAULT_KEY_STORE = std::string( getenv( "HOME" ) ) + "/.pythd/";
/opt/pyth-client/git/pcapps/pyth.cpp-16-
--
/opt/pyth-client/git/pcapps/pythd.cpp:23:  std::string dir = getenv("HOME");
/opt/pyth-client/git/pcapps/pythd.cpp-24-  return dir + "/.pythd/";


request help: Need help in installing Apisix 3.1 with yaml files in kubernetes cluster

Issue description
https://apisix.apache.org/docs/ingress-controller/tutorials/the-hard-way/
The above link provides the steps to install Apisix 2.15.0 using yaml file.
Similarly, I need the steps to install Apisix latest version - 3.0 or 3.1 using yaml files in kubernetes cluster. The yaml should have the configuration of DNS Service discovery and without etcd server.
Thanks,
Hariharan.
Environment
your apisix-ingress-controller version (output of apisix-ingress-controller version --long): 1.6.0
your Kubernetes cluster version (output of kubectl version): 1.28.3
if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
etcd - docker.io/bitnami/etcd:3.5.7-debian-11-r14
Apisix version - Apisix 3

@nphariharan By without etcd server, do you mean you are looking for the composite architecture where ingress controller and apisix run in the same pod without any etcd server?

https://apisix.apache.org/blog/2023/10/18/ingress-apisix/
As per the above link, I need to install apisix with mock etcd server using yaml files.

Looks like https://github.com/apache/apisix-ingress-controller/issues/2128


Demo Kit: shared deep link doesn't expand documentation tree

Steps to reproduce the problem:

Go to https://openui5nightly.hana.ondemand.com/topic/9c6400eb7dc145b78e94a81e6e390780
Click on, for example, 4. Make Use of Asynchronous Module Loading (AMD Style) or copy the link.
The (copied) URL is now:https://openui5nightly.hana.ondemand.com/topic/408b40efed3c416681e1bd8cdd8910d4.html#loio408b40efed3c416681e1bd8cdd8910d4/section_AsyncModuleLoading

Refresh the page / share the link.

What is the expected result?
The tree on the left side is expanded to the topic Performance: Speed Up Your App since the section belongs to that topic.
What happens instead?
The tree is not expanded:

Hello @boghyon ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Tsanislav

Fixed with https://github.com/SAP/openui5/commit/6cb0d5f6d3226fdbcf835d3414608cab3f9afe0b


Fixed UI bug for listApplicant and listJob

Codecov Report

Merging #284 (bbefa22) into master (e5edaac) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #284   +/-   ##
=========================================
  Coverage     70.02%   70.02%
  Complexity      826      826
=========================================
  Files           131      131
  Lines          2886     2886
  Branches        375      375
=========================================
  Hits           2021     2021
  Misses          738      738
  Partials        127      127

Impacted Files
Coverage Δ

...ddress/logic/commands/applicant/ListApplicant.java
100.00% <100.00%> (ø)

...java/seedu/address/logic/commands/job/ListJob.java
100.00% <100.00%> (ø)

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 e5edaac...bbefa22. Read the comment docs.


Jira webhooks handling resolution set as 2nd step

Addresses #4330
Going in if the JIRA resolution is set, but then make no assumption on whether the DD finding is active or not.
Based on the JIRA resolution, it will simply go back in and re-set attributes.
Only if the resolution is removed, then the finding would be forced to re-open.

The happy path works quite well at least. What am I missing @valentijnscholten ?

Thanks for the feedback. I need to think of this audit log I use to have disabled, going to get that database manager up from now on ;-)


[PLC] [Builtins] Removed static typed builtins

This removes typed static builtins (integer and bytestring) that previously were special-cased due to size problems.
Do not review yet, it's here mostly because I want CI to check things like the playground for me.
(Who again failed to use draft pull requests? Yep, me!)

Ready for review, but do not merge yet, because docs are likely to be out of sync.

Yeah, there were a lot of outdated docs and comments (related to sizes and other stuff that changed some time ago).
Should be mergeable now, please review.

I'll merge this, because I need it to fix the 1/0 bug.


Timezone is not adjustable for Time based axis

While very elegant, the existing system doesn't seem to allow displaying the x axis unix timestamps using whatever time zone is appropriate (browser time zone for example).
It ends up using (for hour formatting) something like this:
new Date(1350425400*1000).toUTCString().match(/(\d+:\d+):/)[1]

no matter what

+1 for handling timezones

The trick actually is hacking the ticks like @ryancurtin did, and use a custom time unit formatter as @rbriski said too.
The first hack is used to sync the X axis ticks with your data points, and the second one is to avoid having the wrong date displayed on the ticks.
Anyway, the ticks offsets will be often wrong because they are calculated with seconds span and not from a real calendar (i.e: month = 86400 * 30.5), so I think this Time Axis has to be rewritten from scratch.
Will post one I have time to write it.

Hi guys,
Took time this morning to write a new component wich uses d3.time to compute ticks offsets and allow you to customize the labels for displaying proper timezone formats.
Here is the code: https://gist.github.com/pierre-b/f9be76e3237c12951262
Feel free to merge it with the official code base if you want to.

@pierre-b , thanks for putting in the time (in multiple senses of the phrase.) The link to your code is giving a 404 at the moment, however

Sorry @RashidClark since there was no much activity here I thought the Rickshaw project was dead and I deleted my code to switch to another graph lib (a commercial one), however thank you for Rickshaw I was really happy to use it by the time ;)

So there's still no official, merged solution for this, despite multiple attempts at solutions and pull requests? Is anyone even still managing this project?

+1

The Rickshaw documentation is really bad, so you have to read the source code to make sense of the library which is agony for new comers. Maybe we all should make a public documentation for this amazing library.
Anyway, here's a simple solution.
For the X-Axis use - Rickshaw.Fixtures.Time.Local():
var x_axis = new Rickshaw.Graph.Axis.Time( {
            graph: graph,
            timeFixture: new Rickshaw.Fixtures.Time.Local()
        } );

Now you might have face inconsistency with Rickshaw.Graph.HoverDetail. So for that, update the xFormatter as follows:
var hoverDetail = new Rickshaw.Graph.HoverDetail( {
        graph: graph,
        xFormatter: function(x) {
		        return new Date( x * 1000 ).toLocaleString();
                    }
        });

This is because Rickshaw by default uses toUTCString(). You can further modify the date format to your liking.
Side note: Rickshaw uses seconds instead of milliseconds, therefore the (x * 1000)

+1 for handling timezones


Add random chest on map on session start

This could be useful: https://github.com/Emafire003/StructurePlacerAPI

https://fabricmc.net/wiki/tutorial:structures

Could use the code of /place command to figure out how to randomly place structures, and add a structure with a custom chest with a beacon beam before being opened with a custom loot table.


Clear git Prompt

Hello!
I am using iTerm for my terminal, powerlevel9k as my theme and I am on a Mac. I am having an issue (maybe it's a git thing) but one day while I was using git, I accidentally committed code outside of the directory the project was on and since zsh has a git prompt on it, this shows up.

It comes up no matter what project I am on. In the image, I am in my main directory.
How do I get clear this so I can start fresh?
Thank you.

You can't commit code outside the directory your project is in unless that directory is also a git repository.
I would guess that cleaning up that git repo would resolve the issue.

You need to find the root directory of the git repo you're in. git rev-parse --show-toplevel will help you. Then you can run git status to figure out what to do. You'll probably have to end up deleting the .git folder in that root directory.


[RFE] Include a tool tip reminding users to check for k8s deprications before upgrading to 1.16

What kind of request is this (question/bug/enhancement/feature request):
Steps to reproduce (least amount of steps as possible):
Result:
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):
Machine type (cloud/VM/metal) and specifications (CPU/memory):
Kubernetes version (use kubectl version):

(paste the output here)

Docker version (use docker version):

(paste the output here)

https://github.com/rancher/rancher/issues/24829 made a note on reviewing the k8s release notes before upgrading.

@superseb This addresses that user should review the docs, what about when they go to skip versions?
It's also not going to stand out much to the UI user that just goes and changes the version.  I almost feel like it should be red... sooo many people do not read that tooltip.


Feature request: Proxy support

Can we add proxy support to this module?  Has it been discussed?

See #83.


Grand Exchange Limit restart timer

After you've bought out your limit. (eg. 20k fire runes) , the plugin shows you, how much time you have left, until you can buy it again.
The plugin also shows you, how much more you can buy until trade limit.
Adds you widgets in your game so you can monitor your G.E offers.
a) Ability to customize to show buys-only, sales only, both.
b) Ability to high-light certain transactions.

This feature has recently been implemented in my external plugin.

This feature has recently been implemented in my external plugin.

Would it be possible for you to make a widget for it to the in-game window as well?

Honestly, I have no idea how to make a widget but I can look into it.

Since the requested feature already exists in an external plugin, I'm closing this request.


hidden table column when print

Hi Allen,
Is there any way to make one column disappear when print the web page? I tried to use 'hidden-print' in TableHeaderColumn. It will disappear, but still take places.

Did you try on both the header and the column?
<TableHeaderColumn className={'hidden-print'} columnClassName={'hidden-print'} />


layer 0 init seems not to startup port 111

https://gist.github.com/b02bc6711852887a7f57

thanx in advance.

@ebergonzi it looks like there are issues with the etcd cluster, can you please gist the contents of the following file:
/tmp/flynn-host-logs/flynn-etcd-23e2e3434fc64b2d92be1518484a2e72/flynn-etcd-23e2e3434fc64b2d92be1518484a2e72.log

Thank you for the answer. Im not running a custer. Im running in a single
node over ubuntu into virtualbox. Excuse for not to explain myself
El mar 14, 2015 1:48 PM, "Lewis Marshall"<EMAIL_ADDRESS>escribió:

@ebergonzi https://github.com/ebergonzi it looks like there are issues
with the etcd cluster, can you please gist the contents of the following
file:
/tmp/flynn-host-logs/flynn-etcd-23e2e3434fc64b2d92be1518484a2e72/flynn-etcd-23e2e3434fc64b2d92be1518484a2e72.log
—
Reply to this email directly or view it on GitHub
https://github.com/flynn/flynn/issues/1258#issuecomment-80573822.

@ebergonzi ok thanks for clarifying, the contents of that log file will still be helpful though, can you upload  it to a gist so I can take a look?

Thanks for the reply.
Pittifully, the file requested for you doesn't exists, but i'll upload flynn-hosts.log. Maybe you can guide to me to research for something into the info inducted from it.
https://gist.github.com/ebergonzi/283afc091c435394e8b8

The ls -la of the dir requested for you doesn't seems to contain an etcd related dir nor an etcd related file.
I'll show that
root@flynn:/tmp/flynn-host-logs# ls -la /tmp/flynn-host-logs/
total 32
drwxr--r-- 8 root root 4096 mar 16 11:56 .
drwxrwxrwt 3 root root 4096 mar 16 12:20 ..
drwxr--r-- 2 root root 4096 mar 16 11:56 4649f5188e824512866c21e706c4bed5
drwxr--r-- 2 root root 4096 mar 16 11:40 8534f380885d456eafdf3ba0526d504e
drwxr--r-- 2 root root 4096 mar 16 11:44 99df96a6039347df9b307fbcdc0553a7
drwxr--r-- 2 root root 4096 mar 16 11:47 d75374b620934b8e9052d5c8caf1df4c
drwxr--r-- 2 root root 4096 mar 16 11:47 e5f6c6a251d7495bbde6b0508810b74b
drwxr--r-- 2 root root 4096 mar 16 11:58 f1ef45f0dfaa4b5db9995d73e10e0558

@ebergonzi since you do not have the relevant logs it is quite difficult for me to understand what the issue is.
I would suggest building a new VM and seeing if you still have issues bootstrapping, and if you do then run sudo flynn-host collect-debug-info again and also gist the contents of any files with name like /tmp/flynn-host-logs/*-etcd-*/*.log.

Lmars... we've talked via irc, and you've solved thw trouble. ...Not to use
a proxy between slugrunner and blobstore.... Excuse me for not to upload a
gist. This issue is solved
El mar 23, 2015 8:48 AM, "Lewis Marshall"<EMAIL_ADDRESS>escribió:

@ebergonzi https://github.com/ebergonzi since you do not have the
relevant logs it is quite difficult for me to understand what the issue is.
I would suggest building a new VM and seeing if you still have issues
bootstrapping, and if you do then run sudo flynn-host collect-debug-info
again and also gist the contents of any files with name like
/tmp/flynn-host-logs/-etcd-/*.log.
—
Reply to this email directly or view it on GitHub
https://github.com/flynn/flynn/issues/1258#issuecomment-84963126.


1.9-0.0.1 crashes dedicated forge server 1.9 build 1821 on startup

Issue: simplelables-1.9-0.0.1 crashes dedicated forge server 1.9 build 1821 on startup
crash report:
https://gist.github.com/75664d0dfc7a24e7215d24dd5e403aaa
fml server latest:
https://gist.github.com/121cd3497bf594f6a9f0d026a72e28b2

I also have this same crash.

Your forge is too new, things changed.

I'm getting the same crash. Most new mods are requiring Forge 1833. Please update to accommodate these changes.

As of the time of your comment, 1833 had been out for 14 HOURS.

Thanks for the RUDE comment. I wasn't being rude. I was just giving you info on what was happening with your mod.

"Most new mods are requiring Forge 1833." is not helpful. It's also improbable considering the time scale. Just try to remember that we do this in our spare time for free, that's all.


AWS Workspaces require use of specific AZ ids

Is your feature request related to a problem? Please describe.
Use of AWS Workspaces require very specific AZ ids to be used (use1-az2, use1-az4, use1-az6), we currently only use AZ names (us-east-1a, us-east-1b, us-east-1c).  The implications are that 2 accounts can deploy the same AZ names, but Workspaces can't deploy because the IDs are different between accounts even if the AZ names are the same, and a Workspaces deployment will fail.  Other things like AD connectors and Domain Controllers are similarly restricted if Workspaces uses that integration.
Describe the solution you'd like
Use the "availability_zone_id" parameter for "aws_subnet" resources instead of "availability_zone" that we currently do.  May also need some validation against the valid AZ IDs that are valid for Workspaces:
https://docs.aws.amazon.com/workspaces/latest/adminguide/azs-workspaces.html
Describe alternatives you've considered
It's possible that this is optional if Workspaces never needs to be used, but it is probably simpler to make it mandatory since it would be difficult (impossible) to rework the networking after deployment if someone wants to use Workspaces down the road beyond the initial planning stages.
Functionally I'm not expecting problems to arise since there are sufficient AZs available for use even with said restrictions.  I'm not aware of any other requirements beyond "AZ 1 must be different from AZ 2".  Naming conventions for subnets would probably need to change though since those tend to be based off AZ names.

would it make sense to add a workspaces subnet input type to the module instead? that way any time workspaces is spun up it'll use the specific AZs its supposed to? I can add something like that too.

That should work.  It just would likely need to be noted somewhere in documentation (README or otherwise) that Workspaces is something that needs to be carefully considered when building the VPC subnets and ruled out in future architecture.  Just because I'd imagine it's not easy (or possible?) if someone deploys in say, us-east-1a, us-east-1b, us-east-1c thinking they don't ever need Workspaces, but then a few years later they want/need to add Workspaces but the subnets are in the wrong AZ IDs for the account.

synced with @herman-wong-cf on the tech sync, i didn't understand correctly that the AZ IDs can vary per account per region, so the mapping isn't consistent per region, its consistent per account only. Will work to update this on the backside.


Updated the completion scripts for current command set.

Also works now with zsh (but without any of the fancy stuff).

Fixes  #1111

Does this also fix #1142 ?

For the A part yes.


I am having trouble downloading the latest etcher version for windows 64

Etcher version:
Operating system and architecture:
Image flashed:
Do you see any meaningful error information in the DevTools?

Hi @ellafairhurst, can you describe the issue you're having in a little more detail? Does the download not complete, is it slow, or what's happening?

And from where are you downloading it (https://etcher.io, github releases, etc...)?

Actually, it seems to be working now, thanks!
On Tue, 12 Jun 2018, 20:41 Jonas Hermsmeier<EMAIL_ADDRESS>wrote:

And from where are you downloading it (https://etcher.io, github
releases, etc...)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/issues/2389#issuecomment-396709362,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmWh7QrlL4ytxuqIznjIpO3NVM2ILf4_ks5t8BmDgaJpZM4UlAiE
.

Alright, good to hear! Do let us know if you have any further troubles!

Hi,
Have attached the zero cam to the pi zero, it lights up green, but
there is no red light on the zero cam, do you know why this would be?
Thanks,
Ella
On Tue, 12 Jun 2018, 20:47 Jonas Hermsmeier<EMAIL_ADDRESS>wrote:

Closed #2389 https://github.com/resin-io/etcher/issues/2389.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/issues/2389#event-1677161602, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AmWh7QSuqfbRY1NjMRyIQASXeL5vVem4ks5t8Bq7gaJpZM4UlAiE
.

That sounds like a question for https://www.raspberrypi.org/forums/ rather than the Etcher issues list :wink:

I've downloaded etcher but can't download naturecam file, seems to be
corrupted.
Any suggestions?
Thanks
Ella
On Mon, 25 Jun 2018, 17:51 Andrew Scheller<EMAIL_ADDRESS>wrote:

That sounds like a question for https://www.raspberrypi.org/forums/
rather than the Etcher issues list 😉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/issues/2389#issuecomment-400020521,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmWh7c6yE0iD793BctqDlCaI6RYP_eumks5uARUkgaJpZM4UlAiE
.


[FEATURE] - Add more languages

Is your feature request related to a problem? Please describe.
It may make software easier to use by adding more supported languages
Describe the solution you'd like
Make the application support per-app language setting in Android 13+, and provide switching language option for the application of Android 12 and below
The language translation work can be distributed to other members in the community through Weblate or Crowdin
Additional context
Weblate  https://weblate.org/en/
Crowdin  https://crowdin.com/

another possibility would be to offer the language in individual language files here. Because other users could take over the translation and upload the update here.

Marking this one as closed as I think I have everything configured in Weblate properly now. We will work out the kinks as new translations are added.

I'm sorry that I only saw your replies now. It's a great thing for me that my opinion is adopted by you, and this change is worth celebrating because it can lower the threshold for people in more areas.

Hi bro, I am the person who requested your project called "WGtunnel" on github to add multi-language functionality. I just joined GitHub not long ago, so I don't know if I will expose my real email when I reply to you directly through email. Address. If you can see this email, please reply to me if you have seen my real email address. If so, please attach the email address you saw. Thank you very much!!!

Hi bro, I am the person who requested your project called "WGtunnel" on github to add multi-language functionality. I just joined GitHub not long ago, so I don't know if I will expose my real email when I reply to you directly through email. Address. If you can see this email, please reply to me if you have seen my real email address. If so, please attach the email address you saw. Thank you very much!!!

I don't see any email.

That sounds good, it means that GitHub's email protection settings are effective. Thank you very much for your help.

I don't see any email.


revise scope of FY GNC

We will be the Schizosaccharomyces GNC
update:
https://www.pombase.org/submit-data/gene-names
https://www.pombase.org/submit-data/gene-naming-guidelines
https://www.pombase.org/submit-data/gene-naming-committee-members
Snezhana will replace Matthias who has retired.
We also need to remove Matthias from the GNC mailing list, add snezhana and update Takashi and Yoshi's e-mails (their correct e-mails are in Canto).
I mailed all members to update details as I think there will be additional changes required. hang fire for a day or two.

I used Snezhka's KCL email address for the GNC list, since I've had more from that one than the Crick address recently, but I can use both if you want.


get default value only if prop is specified as an object

When props is specified as an array of strings this line throws an error because it uses the in operator on a string. Adding an additional condition can prevent this error.
Refer to this issue for more details #107

@femioladeji
Thank you for reporting and patching the bug!
I'll release this PR today.


Multi Theft Auto: San Andreas

Game Title: Multi Theft Auto: San Andreas
How to obtain: https://multitheftauto.com/
Suppoted OSs: Windows, Linux
Supports RCON/Console input? Yes
I confirm:
[x] that I have searched for an existing module request for this application.
[x] that the server is an official server distributed by the games publishers/developers.
[x] that the server is available to the general public.
[x] that the server can be run headless (without a GUI).
[] I have already attempted to create a configuration myself using the configuration tool

Working draft in my dev branch for Linux. Console output is being buffered in AMP, needs LinuxBufferedConsole fixed. Not configured for Windows yet as it needs an installer run to install the server, but I can't find any info on running that non-interactive/headless

Working draft in my dev branch for Linux. Console output is being buffered in AMP, needs LinuxBufferedConsole fixed. Not configured for Windows yet as it needs an installer run to install the server, but I can't find any info on running that non-interactive/headless

I went to test, When starting the original files are not in resources that include webadmin etc which is needed, I get this when running without it:
[22:51:32] Starting resources...
[22:51:32] ERROR: Couldn't find resource admin. Check it exists.
[22:51:32] ERROR: Couldn't find resource defaultstats. Check it exists.
[22:51:32] ERROR: Couldn't find resource helpmanager. Check it exists.
[22:51:32] ERROR: Couldn't find resource joinquit. Check it exists.
[22:51:32] ERROR: Couldn't find resource mapcycler. Check it exists.
[22:51:32] ERROR: Couldn't find resource mapmanager. Check it exists.
[22:51:32] ERROR: Couldn't find resource parachute. Check it exists.
[22:51:32] ERROR: Couldn't find resource performancebrowser. Check it exists.
[22:51:32] ERROR: Couldn't find resource ipb. Check it exists.
[22:51:32] ERROR: Couldn't find resource reload. Check it exists.
[22:51:32] ERROR: Couldn't find resource resourcebrowser. Check it exists.
[22:51:32] ERROR: Couldn't find resource resourcemanager. Check it exists.
[22:51:32] ERROR: Couldn't find resource scoreboard. Check it exists.
[22:51:32] ERROR: Couldn't find resource spawnmanager. Check it exists.
[22:51:32] ERROR: Couldn't find resource voice. Check it exists.
[22:51:32] ERROR: Couldn't find resource votemanager. Check it exists.
[22:51:32] ERROR: Couldn't find resource webadmin. Check it exists.
[22:51:32] ERROR: Couldn't find resource play. Check it exists.
[22:51:32] Authorized serial account protection is enabled for the ACL group(s): Admin See http://mtasa.com/authserial
[22:51:32] Server started and is ready to accept connections!
[22:51:32] To stop the server, type 'shutdown' or press Ctrl-C
[22:51:32] Type 'help' for a list of commands.
[22:51:33] Querying MTA master server... success! (Auto detected IP:xxx.xxx.xxx.xxx.xxx.xxx)
[22:55:53] SHUTDOWN: Got shutdown command from Console (No reason specified)
[22:55:54] Server stopped!
[22:55:54] Stopping resources...
I have went and enabled the:
Install Default Resources
If enabled, the default MTA:SA resources will be installed when the server is updated
And still recieve the same issue. There should be about 178 Resources and the settings.xml should have information within I believe.

Also windows is no issue, linux is our chosen OS so thanks I will help in any possible way to make this as easy as possible to complete.

Wasn't sure whether the default resources should be installed by default. The wiki suggested they were optional. Happy to hardwire that to always install if appropriate.
Enabling the UI setting and updating worked fine for me.
I will add the rest of the mtaserver.conf settings eventually but I want the console fixed first.
I've asked in the MTA discord about headless windows installs

[00:01:36] Resource 'runcode' requests some acl rights. Use the command 'aclrequest list runcode'


Is forceUpdate needed or other issue with react-render-visualizer

I had a component that used react-render-visualizer as a mixin. I noticed the updated render happening and was wondering if that is by design or intentional? If it is it might be nice to somehow work with react-render-visualizer. Thanks

Does the rendering happen continuously without doing anything with the component? If so, how often?
Does this happen for any component? Including ones from the cosmos-example repo?

I didn't have time to test react-render-visualizer, but ComponentPlayground shouldn't re-render unless

the component re-renders by itself
you change the fixture in the editor

Here's a gif I made that confirms this:

@AddictArts let me know if you have more data on this topic.


stray arrow placement in REPL information

this:

is annoying.
Getting things  to  print exact full lines that overwrite previous ones without stray characters is surprisingly not straightforward and requires a bit too much gymnastics with  \r, rpad and displaysize to my liking.

This may have been fixed while working on #pub , needs testing.


No dry-run output for pre-release-replacements by default

After #450, I tried putting pre-release-replacements in a [package.metadata.release] section for an individual package. It seems to work, but it looks like it doesn't display anything in the dry-run output:
$ cargo release patch
[2022-04-09T02:50:41Z ERROR cargo_release::release] Cannot release from branch "HEAD", instead switch to "*, !HEAD"
[2022-04-09T02:50:43Z WARN  cargo_release::git] Push target `origin/HEAD` doesn't exist
[2022-04-09T02:50:43Z INFO  cargo_release::release] Update git-branchless-lib to version 0.3.13
[2022-04-09T02:50:43Z INFO  cargo_release::release] Update git-branchless to version 0.3.13
[2022-04-09T02:50:43Z INFO  cargo_release::release] Publishing git-branchless-lib
    Updating crates.io index
   Packaging git-branchless-lib v0.3.12 (/Users/wkhan/workspace/git-branchless/git-branchless-lib)
   Uploading git-branchless-lib v0.3.12 (/Users/wkhan/workspace/git-branchless/git-branchless-lib)
warning: aborting upload due to dry run
[2022-04-09T02:50:46Z INFO  cargo_release::release] Publishing git-branchless
    Updating crates.io index
   Packaging git-branchless v0.3.12 (/Users/wkhan/workspace/git-branchless/git-branchless)
   Uploading git-branchless v0.3.12 (/Users/wkhan/workspace/git-branchless/git-branchless)
warning: aborting upload due to dry run
[2022-04-09T02:50:46Z WARN  cargo_release::release] Ran a `dry-run`, re-run with `--execute` if all looked good.

It looks like the information is produced, but at the debug level, so it doesn't appear in the output:
https://github.com/crate-ci/cargo-release/blob/f06a43c1b7117f7bce013ff147433883ee6aba8c/src/replace.rs#L132
I also didn't find information in the documentation on how to adjust the logging output level. I tried setting RUST_LOG=debug, but it didn't seem to cause a change in the output.
There are several other logs at debug! level, so I'm wondering if perhaps they are also being omitted? It looks like many of them would contain useful information for a dry-run.

Even if we choose not to display a full diff by default, maybe we should upgrade the log level for a statement like this? I imagine that the number of output lines would be small in that case?
https://github.com/crate-ci/cargo-release/blob/ef77bee75b73ba55aa53b534078c7f98c8c26117/src/replace.rs#L76
Currently, there's no indication whatsoever that replacements are/aren't being applied.

I think the question is "what should we generally be doing for logging".  Let's break down our high level steps:

Version bump: info, O(crates)
Pre-release replacements: debug, O(crates x files)
Pre-release hook: debug, O(crates)
Publish: info, O(crates)
Tag: debug , O(crates)
Post-release version bump: info, O(crates x files)
Post-release replacements: debug, O(crates)
Push: info, O(crates)

Thinking over this, I believe the considerations for what we log by default are:

Don't overwhelm the user
Make important things obvious
Version selection is per-run so need to verify it, making it important
Delay from publish is important
Delay from push / authentication for push is important

The rest are more for debugging static information; we expect users set it in their config and test it at a lower frequency than releasing.
If we log replacements, we should probably log all high level steps and I'm not seeing us get enough value out of it vs users missing important information from among the flood of other information.  What we do log becomes more important as we guide the user more on what needs to be released or can be skipped within a workspace (or start doing it on the users behalf).

As a brand new user, the lack of logging related to the configuration options that I specified is confusing. For example now I'm in the position where the CHANGELOG wasn't updated despite the pre-release-replacements being specified and I don't know why and there's no logging anywhere to be seen. I suppose it might be because it was the initial version of the crate, because running now with the RUST_LOG set will output the replacement logging lines.
IMHO rather than having a fixed stance on the debug/info level it should be based off what options the user added in the configuration.

FWIW, I'm facing this same problem. I'm try to get pre-release-replacements working and I am not able to get any useful output from the dry run.

0.21.4 raised the log level of "Substituting" to "info" and added a cargo release replace subcommand which logs the diffs at "info".
I feel like this is probably the best balance we can strike for now and am going to close this

I suppose it might be because it was the initial version of the crate, because running now with the RUST_LOG set will output the replacement logging lines.

FYI #239 #482 were tracking confusion over that and will be resolved in 0.22 (not yet released).  See #538 for details


Fix typo

What does this PR try to resolve?
one-word typo in docs, no associated issue

Thanks!
@bors r+

:pushpin: Commit 709ecf5eae3095058eacc274ccf4e961e34f5027 has been approved by ehuss
It is now in the queue for this repository.

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing f3905fa5b3a63985d4a8e17baac3d8d12512d0fd to master...


feat: allow loading optical configs from fpbase, general refactor of optical configs

This develops the OpticalConfig object a bit.  adding:

OpticalConfig.from_fpbase, for loading a config from FPbase (e.g. OpticalConfig.from_fpbase("wKqWb::Widefield Green"))
Filter.from_fpbase, for loading a Filter from FPbase (e.g. SpectrumFilter.from_fpbase("Chroma ET525/50m"))
.plot() for a number of a spectral objects, like OpticalConfigs, Filters, Fluorophores

CC @ashesh-0, this impinges a tiny bit on #35 ... so you'll have some merge conflicts.  but this will make it easier to have real data to play around with

CC @ashesh-0, this impinges a tiny bit on #35 ... so you'll have some merge conflicts. but this will make it easier to have real data to play around with

Thanks for the heads up. When you see fit to merge this, I'll then update in my PR.

merged!


[CDS-100697] Updated allowed values in Manual Approval step

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

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

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

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

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

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

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


improve markdown rendering (round 1)

nested lists
links
better line height (the text is so compact)
strikethrough
underline

No longer need markdown rendering after https://github.com/lockbook/lockbook/pull/1538


Config Object not being loadaed into  ValidateClientConfigStrategy.js

Im getting this error when I updated the package to the latest version
6 Jul 17:03:08 - Error: API key ID and secret is required.     at newError (/home/lawrence/Development/sensorfact-web/node_modules/stormpath/node_modules/stormpath-config/lib/strategy/ValidateClientConfigStrategy.js:16:14)     at ValidateClientConfigStrategy.process (/home/lawrence/Development/sensorfact-web/node_modules/stormpath/node_modules/stormpath-config/lib/strategy/ValidateClientConfigStrategy.js:34:12)     at fn (/home/lawrence/Development/sensorfact-web/node_modules/async/lib/async.js:746:34)     at /home/lawrence/Development/sensorfact-web/node_modules/async/lib/async.js:1213:16     at /home/lawrence/Development/sensorfact-web/node_modules/async/lib/async.js:166:37     at /home/lawrence/Development/sensorfact-web/node_modules/async/lib/async.js:706:43     at /home/lawrence/Development/sensorfact-web/node_modules/async/lib/async.js:167:37     at Immediate._onImmediate (/home/lawrence/Development/sensorfact-web/node_modules/async/lib/async.js:1206:34)     at tryOnImmediate (timers.js:534:15)     at processImmediate [as _immediateCallback] (timers.js:514:5)

Can you tell us how you are providing your API Key and Secret to your application, e.g. through environment variables?  Thanks!

I'm providing it through the parameters, stormpath.init(app, stormpathOptions) where the object is declared at the top of the server.js

With some sleuthing, I found out that the client.on('ready') event is never fired.

The ready event won't fire if there is an error while parsing the provided configuration, one error is when we can't find the API Keys.  Can you tell me which version of NPM you are using?  We've had some problems with 2.x doing something strange with the dependency tree, which affect our config loading order.

My npm version is 3.8.6, Node is v5.12.0 and Im running on Ubuntu 14.04LTS if that matters.

I found that the object containing the fields that throw the error in the ValidateClintConfig, go as far as the Client factory in clint.js:10, but the  ExtendConfigStrategy is returning undefined.

Thanks! Could you also provide us with your stormpathOptions (with sensitive values omitted)? Just to have some insight on the configuration options that you are setting.

I tried with these two different settings and am getting the same error:
var stormpathOptions = {
  'client' : {
    'apiKey' : {
      'id' : '5SUAQA5PF3O7HGH4URNS2ITGD',
      'secret' : '/CwZRUQWO+qnG51CPYyokiUECIn4A0bwMRZ7tTiXuKU'
    }
  },
  'application' : {
    'href' : 'https://api.stormpath.com/v1/applications/1ye3UQxhA6mcqmdcxclHge'
  }
}

var stormpathOptions = {
  'apiKey' : {
    'id' : '5SUAQA5PF3O7HGH4URNS2ITGD',
    'secret' : '/CwZRUQWO+qnG51CPYyokiUECIn4A0bwMRZ7tTiXuKU'
  },
  'application' : {
    'href' : 'https://api.stormpath.com/v1/applications/1ye3UQxhA6mcqmdcxclHge'
  }
}

Unfortunately I don't really have a clear solution to this issue. In my case it was due to the stormpath-node version 0.0.13 being loaded. For some reason NPM was loading an old module. I manually removed the module directory and ran $ npm install and that fixed the issue. But with a clean install of the current version, I'm unable to replicate this.
@poxopox If you do $ cat /home/lawrence/Development/sensorfact-web/node_modules/stormpath/node_modules/stormpath-config/package.json, what version number do you see?

{   "_args": [     [<EMAIL_ADDRESS>      "/home/lawrence/Development/sensorfact-web/node_modules/express-stormpath"     ]   ],   "_from"<EMAIL_ADDRESS>  "_id"<EMAIL_ADDRESS>  "_inCache": true,   "_installable": true,   "_location": "/stormpath-config",   "_nodeVersion": "0.12.0",   "_npmOperationalInternal": {     "host": "packages-12-west.internal.npmjs.com",     "tmp": "tmp/stormpath-config-0.0.22.tgz_1456974275905_0.23874544515274465"   },   "_npmUser": {     "email"<EMAIL_ADDRESS>    "name": "typerandom"   },   "_npmVersion": "3.3.4",   "_phantomChildren": {},   "_requested": {     "name": "stormpath-config",     "raw"<EMAIL_ADDRESS>    "rawSpec": "0.0.22",     "scope": null,     "spec": "0.0.22",     "type": "version"   },   "_requiredBy": [     "/express-stormpath",     "/stormpath"   ],   "_resolved": "https://registry.npmjs.org/stormpath-config/-/stormpath-config-0.0.22.tgz",   "_shasum": "937af74f8583e85dee5cb437e5bae88cd43f68fe",   "_shrinkwrap": null,   "_spec"<EMAIL_ADDRESS>  "_where": "/home/lawrence/Development/sensorfact-web/node_modules/express-stormpath",   "author": {     "name": "Stormpath, Inc."   },   "bugs": {     "url": "https://github.com/stormpath/stormpath-node-config/issues"   },   "dependencies": {     "async": "^1.4.2",     "cloneextend": "0.0.3",     "flat": "^2.0.0",     "js-yaml": "^3.4.2",     "lodash": "^4.0.0",     "properties-parser": "^0.3.0"   },   "description": "Stormpath configuration loader.",   "devDependencies": {     "chai": "^3.4.0",     "coveralls": "^2.11.4",     "istanbul": "^0.4.0",     "mocha": "^2.3.3",     "mocha-lcov-reporter": "^1.0.0",     "sinon": "^1.17.2",     "stormpath": "^0.17.4",     "temp": "^0.8.3"   },   "directories": {},   "dist": {     "shasum": "937af74f8583e85dee5cb437e5bae88cd43f68fe",     "tarball": "https://registry.npmjs.org/stormpath-config/-/stormpath-config-0.0.22.tgz"   },   "gitHead": "f00a3b67a183458ae0159430c345a31caa8f5879",   "homepage": "https://github.com/stormpath/stormpath-node-config",   "keywords": [     "express",     "stormpath",     "authentication",     "security",     "configuration"   ],   "license": "Apache-2.0",   "main": "index.js",   "maintainers": [     {       "email"<EMAIL_ADDRESS>      "name": "rdegges"     },     {       "email"<EMAIL_ADDRESS>      "name": "robertjd"     },     {       "email"<EMAIL_ADDRESS>      "name": "typerandom"     }   ],   "name": "stormpath-config",   "optionalDependencies": {},   "readme": "ERROR: No README data found!",   "repository": {     "type": "git",     "url": "git+https://github.com/stormpath/stormpath-node-config.git"   },   "scripts": {     "test": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks test --recursive",     "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --recursive && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"   },   "version": "0.0.22" }


Clickable post if excerpt is shown

@zirius Any possible side-effects from stripping HTML from rendered excerpts?

@zirius Any possible side-effects from stripping HTML from rendered excerpts?

There is one side effect: html elements like links and images will be stripped and shown as regular texts.


Cannot find module 'react' from 'index.js' - (node_modules/jest-resolve/build/index.js:259:17)

My project creation process (this is a create-react-app typescript version template:
  25 npx create-react-app test --template typescript
  26 cd test
  27 ls
  28 npm install --save-dev react-test-renderer
  29 npm test
  30 npm test
  31 node --version
  32 npx create-react-app --version
  33 npm install antd -g
  34 npm test

My Jest version in package-lock.json
    "@jest/core": {
      "version": "24.9.0",

My node.js version is
v12.19.0

create-react-app version is
npx create-react-app --version
3.4.1

antd version is
<EMAIL_ADDRESS>
file: App.test.tsx testing file
import React from 'react';
import { render } from '@testing-library/react';
import App from './App';
import renderer from 'react-test-renderer';
import MyButton from './components/button';

it('renders a snapshot', () => {
  const tree = renderer.create(<App/>).toJSON();
  expect(tree).toMatchSnapshot();
});

it('MyButton', () => {
  const tree = renderer.create(<MyButton/>).toJSON();
  expect(tree).toMatchSnapshot();
});

My antd source file
import React from 'react'
import { Button } from 'antd';

const MyButton = () => {
  const [value, setValue] = React.useState('')

  // The event type is a "ChangeEvent"
  // We pass in "HTMLInputElement" to the input
  function onChange(e: React.ChangeEvent<HTMLInputElement>) {
    setValue(e.target.value)
  }

  return <Button></Button>
}

export default MyButton;

When I ran npm test, I got this
 FAIL  src/App.test.tsx
  ● Test suite failed to run

    Cannot find module 'react' from 'index.js'

    However, Jest was able to find:
        'components/button.tsx'

    You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['web.js', 'js', 'web.ts', 'ts', 'web.tsx', 'tsx', 'json', 'web.jsx', 'jsx', 'node'].

    See https://jestjs.io/docs/en/configuration#modulefileextensions-array-string

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:259:17)
      at Object.<anonymous> (../../../node_modules/antd/lib/affix/index.js:26:37)

Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@SimenB
Could you help me to join this channel?


Document the Picture-in-Picture API

The Picture-in-Picture API (https://w3c.github.io/picture-in-picture/) needs to be documented. Firefox does not currently implement it but it's supported in current Chrome and Edge, Safari 13.1 on macOS, and is coming up on iOS/iPadOS in Safari 14. Since it's in Blink, presumably it's coming up in Opera soon as well.
Firefox's implementation bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1463402

Just to note that this was positively reviewed by the TAG in 2018 and as part of that review an explainer was produced. That explainer may provide fodder for a MDN page. Also, this came to my attention because of its use on Whereby.com.

I'd be happy to take on that task if no one has claimed it already
Looking at the API wiki page, I can see a macro {{APIListAlpha}}. Could someone point me in the right direction as it is not obvious right now what I need to update

Happy to let you have it, @gsouquet , thanks!
Basically, the first thing to do is work out what pages need creating, then start to create the pages in the structure, as subpages of the main Web/API page. Use an existing API ref as a template. Let me know if you have any questions.

I believe I have reached a good stage for my content to be reviewed (ping @chrisdavidmills ). I have learned quite a far bit on the way, and mess a few things on the way (damn slugs...). Below is a list of the thing that would need your attention

[ ] The embedded example on the Picture-in-Picture API page does not have pictureInPictureEnabled, the spec does not mention anything regarding PiP in iframe
[ ] Review and merge mdn/kumascript#1433
[ ] Review and merge mdn/data#435
[ ] Review and merge mdn/browser-compat-data#7028
[ ] Change requestPictureInPicture() page slug, to remove the parenthesis at the end
[ ] Delete the extraenous requestPictureInPicture() page, I really messed up those slugs...
[ ] Update pictureInPictureElement slug, it contains pictureInPictureEnabled when it should be pictureInPictureElement
[ ] Update resize_event slug to remove the PictureInPictureWindow prefix

Two further questions that I should be able to sort out by myself but were slightly unclear:

How does the Events macro work? the PictureInPictureWindow interface has an event name clash with the Window object. They both have a resize event. How can I specify the correct interface to link to when using that macro?
My pages do not appear on Web/API, I'm not sure what I have done incorrectly here

Thank you in advance for your review 🙌

OK, reviewed!
For a start, wow, thanks for all this great work @gsouquet! This is a huge amount of work, and it is mostly looking really good.
I've looked over it and identified a bunch of nitpicks, but nothing particularly major.
General:

To answer your question and add some more details, the landing page API sidebar and the main Web/API page should be fixed once the addition you made to GroupData.json gets into production.
You need to create a set of interface pages for the PictureInPictureEvent interface object.
On the subject of this comment:

The embedded example on the Picture-in-Picture API page does not have pictureInPictureEnabled, the spec does not mention anything regarding PiP in iframe

I check the example in Chrome and it seemed to work correctly. Are you saying that something is missing from the MDN platform here? The subject of being able to set feature requests on example embed <iframe>s has come up a few times now.
https://wiki.developer.mozilla.org/en-US/docs/Web/API/Picture-in-Picture_API

This is mostly fine; it could just do with a "Concepts and usage" section, which would consist of a couple of paragraphs describing this API's reason for being — what are it's use cases, and how is it used (high level description, rather than low level code)? See https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API for an example.

When you say "The pictureInPictureElement property tells you the {{DOMxRef("Element")}} that's currently being displayed in full-screen mode on the DOM", what do you mean exactly — is this the video element that is being displayed in picture-in-picture mode? What does this have to do with fullscreen API, if anything? This is the kind of stuff that would be useful to briefly  explain in the aforementioned "Concepts and usage" section.

I edited a sentence to "Requests that the user agent returns the element in picture-in-picture mode back into its original box." Does this make sense? If not, I think this may be as a result of the confusion mentioned in the above bullet ;-)

"The autoPictureInPicture property will automatically enter and leave the picture-in-picture mode for a video element when the user switches tab and/or applications." — sounds a bit confusing, how does this property achieve this? I'd expect this behavior to occur automatically in supporting browsers. I'm guessing this is maybe better explained in the actual property page, which I haven't looked at yet.

The specification is currently showing up as unknown, but this will be fixed once the addition you've made to SpecData.json gets into production.

For the Browser compatibility section, it'll look really messy if you list everything on this page. I'd just list a single compat table of a feature that is central to the API. PictureInPictureWindow would be a good choice, imo.

On the subject of events:

To answer your question, the {{event}} macro no longer works - just use regular links to point to the event pages you want. I've done this on the event links on the API landing page.

You don't need an "Event" AND an "Event listeners" section. Just amalgamate them into a single "Events" section, in the same style as https://wiki.developer.mozilla.org/en-US/docs/Web/API/Document#Events

You should however provide links to the events related to picture-in-picture that appear on other interfaces such as document, in the page for those interfaces, under a "Picture-in-picture events" subsection.

https://wiki.developer.mozilla.org/en-US/docs/Web/API/Picture-in-Picture_API/Guide
This page needs to be written — it would be really helpful to have a short guide that explains how your example works.
https://wiki.developer.mozilla.org/en-US/docs/Web/API/PictureInPictureWindow
As described earlier, amalgamate the "Events" and "Event handlers" section.
https://wiki.developer.mozilla.org/en-US/docs/Web/API/PictureInPictureWindow
The main interface page, width, and height pages could do with an "Examples" section.
HTMLVideoElement pages

You could do with creating separate enterpictureinpicture and leavepictureinpicture event pages.
I still don't really understand what https://wiki.developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/disablePictureInPicture does, from reading the page, and you've not included an example. Is this the one you're unsure about?
On the onenterpictureinpicture event handler page, it says "The function receives a {{domxref("FocusEvent")}} object as its sole argument." — shouldn't this be a PictureInPictureEvent event, as listed in the spec?
Same comment for the onleavepictureinpicture page.

Hi @chrisdavidmills
Thank you for you very thorough review!
The example is working as expected, I was just testing it in Firefox (lol)... where the feature is not yet implemented.\
https://wiki.developer.mozilla.org/en-US/docs/Web/API/Picture-in-Picture_API

Concepts and usage section updated
That sentence has nothing to do with the Fullscreen API. Copy pasta! I used the Fullscreen API as a template for my work as it is mostly the same API as the Picture-in-Picture API
The autoPictureInPicture doesn't occur automatically as a web page can have multiple video on at the same time
I listed the BCP table as in the Fullscreen API page, it looks ok from what I see but happy to update it
Events macro, handlers section and all of that is sorted!

https://wiki.developer.mozilla.org/en-US/docs/Web/API/PictureInPictureWindow

Event handlers section removed
Added example

HTMLVideoElement pages

They were created but linked to with the Event macro, page updated
Regarding disablePictureInPicture, some browsers will add an overlay on top of the video or add a "pip" option in the context menu, setting that property to true will hint the browsers to remove that overlay or option, a programmatic call of requestPictureInPicture() on that video will throw. Not entirely sure how to phrase all of that well nor what a good example would be, let me know your suggestions
Thank you for updating FocusEvent to PictureInPictureEvent

PictureInPictureEvent

I have created the pages
I have updated the BCD PR too

@gsouquet thanks again for all the great work.
Few more bits of feedback.
https://wiki.developer.mozilla.org/en-US/docs/Web/API/Picture-in-Picture_API

I still can't see a "Concepts and usage" section.
There are another couple of mentions of "full-screen", which I think you'll want to fix.
The interfaces list should now include PictureInPictureEvent.


$(STRING) outputting STRING instead of evaluating it when

Problem Summary
I just switched to zplug from antigen, and am finding that a lot of the plugins/themes that I'm using aren't working when they use single quotes to evaluate expressions (excuse my ignorant terminology, I'm by no means a shell programmer). For example, when I use the theme frmendes/geometry, I get this.

You'll also notice the $(vi_mode_prompt_info) coming from the oh-my-zsh/vi-mode plugin. I noticed that when I change these lines in the frmendes/geometry code to be surrounded in double-quotes instead of single, it works just fine.

For some reason I doubt this is a problem with the plugins themselves, since I never had this problem when I was using antigen.
System Information

macOS, iterm2

zsh version

5.0.8 (x86_64-apple-darwin15.0)

zplug version/commit
2.1.0

Minimal zshrc

I'm showing all of my zplug specific lines since for all I know this problem could be because I'm not loading a certain plugin that I'm supposed to be.

Hi, @wwselleck
Thanks for reporting! Please set setopt prompt_subst and try again.

@wwselleck ping
I'll close this issue because it seems to have been solved.


acknowledge use of Aeron code in Pekko

See https://lists.apache.org/thread/mo611z4dpro1373r4f5pbgtlyjmhhtz9
These files:

./remote/src/test/java/org/apache/pekko/remote/artery/aeron/AeronStat.java
./remote/src/test/java/org/apache/pekko/remote/artery/RateReporter.java
./remote/src/main/java/org/apache/pekko/remote/artery/aeron/AeronErrorLog.java

possibly come from https://github.com/real-logic/aeron

So aeron is not beening used as a lib？

If you look at the 3 files in the description - they have Copyright 2014-2017 Real Logic Ltd.
This is what is getting us in trouble. We need to find out where these files came from and account for them in our LICENSE and NOTICE files.
Presumably, Lightbend copied these files to avoid having a jar depedendency.

#422 is merged


LibGfx+IPCCompiler: Treat PNG files without IDAT chunk as transparent but valid

This matches the behavior of other browsers, and is something that Cloudflare Turnstile checks for.
Also stop silently ignoring un-encodable IPC messages. I spent a lot of time being confused by this 😅

Hmm, I need to go back to the drawing board here, the issue is a bit different than I thought:

The PNG actually has an IDAT chunk.
png_get_valid() doesn't necessarily know about the presence of a given chunk at this stage of decoding..


Send auth password via POST as needed by Pi-Hole API (v4.4)

This change fixes this script to work with the current version of the Pi-Hole API.
I'm not sure when, but at some point they appear to have changed from sending the password in the URL Query Parameter auth to requiring that it be sent in a POST parameter pw.
This has been verified to work on my Pi-Hole instances, running the following versions, in Docker containers using pihole/pihole:latest as of the time of this post.

Pi-hole Version v4.4
Web Interface Version v4.3.3
FTL Version v4.3.1

Closing due to lack of response.


Its not working with sftp

I modified user to use it bash shell
usermod -s "binary" username
it does not working, when i change back usermod -s /bin/bash username
it works

As the README states, this shell is for demonstration and learning purposes only.  You shouldn't set it as your user's default shell, or use it for daily tasks like sftp.  Just stick to the tutorial and playing with the code!


Document how to upgrade Submariner version

Wanted to upgrade version on install using subctl, but can't find any manual regarding how to upgrade version (I find only install manuals)

@josepowera typically, with subctl, you can obtain the version of subctl you want to upgrade to, and simply re-run the 'join' commands. Agree that we better document this.

Closing this as the associated PRs are now merged.


Update create-publish-kb-csharp-sdk.md

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

Verified editorial correction. Thank you.


mc count reduced to 25

trying to find seg fault

Coverage decreased (-0.03%) to 93.383% when pulling 9ebe4b15a8c09f2ada8a53ddeba2679ec0e59a68 on release/1.8.1 into 46922179d0e0002ceaeab91baac3fb67330f21d9 on master.


chore: remove brew install gcc from build

Apparently adding brew install gcc adds portable ruby and all gcc dependencies to the Homebrew installation (thus makes the image a ton bigger). Just having GCC on the host system should satisfy brew doctor's checking.

We need to add gcc to the install list

GCC is already on the image LO


Poor on-screen font antialiasing/smoothing in mplcairo

I'm trying to switch to using the mplcairo backend because it does certain things better than the MacOSX backend, especially when colormaps have transparency. However, I've noticed that the font smoothing, at least for plots displayed on the screen, is noticeably poorer. The code below offers a MWE:
import numpy as np
from matplotlib import pyplot as plt

fig = plt.figure()
plt.plot(np.linspace(0,1,10), np.linspace(0,1,10), '-o')
plt.setp(plt.gca().get_xticklabels(), size=14)
plt.setp(plt.gca().get_yticklabels(), size=14)

With the mplcairo backend, the tick labels look jagged and not smooth, as below.

Whereas with the MacOSX backend gives me noticeably smoother fonts.

Everything is identical for the production of the two figures except the backend, which I switch in .matplotlibrc. Am I missing something? Is there a way to get mplcairo to render fonts with proper smoothing?
import mplcairo
mplcairo.get_versions()
{'python': '3.11.6 (main, Oct 12 2023, 21:46:57) [Clang 15.0.0 (clang-15<IP_ADDRESS>)]',
 'mplcairo': '0.5.post32+ge771c74',
 'matplotlib': '3.8.0',
 'cairo': '1.17.6 @ /Users/sbasu1/packages/macports/lib/libcairo.2.dylib',
 'freetype': '2.13.2 @ /Users/sbasu1/packages/macports/lib/libfreetype.6.dylib',
 'pybind11': '2.11.1',
 'raqm': None,
 'harfbuzz': None}

Unfortunately I cannot reproduce the issue.  What is the value of rcParams["text.antialiased"]?  If you apply the patch below, what antialiasing value gets printed?
diff --git i/ext/_util.cpp w/ext/_util.cpp
index 55ed9d2..57da84d 100644
--- i/ext/_util.cpp
+++ w/ext/_util.cpp
@@ -856,6 +856,7 @@ void adjust_font_options(cairo_t* cr)
   // The hint style is not set here: it is passed directly as load_flags to
   // cairo_ft_font_face_create_for_ft_face.
   cairo_set_font_options(cr, options);
+  py::print(cairo_font_options_get_antialias(options));
   cairo_font_options_destroy(options);
 }

from matplotlib import pyplot as plt
plt.rcParams['text.antialiased']
True

I would be happy to apply the patch you mentioned, but could you tell me how? Due to this issue, I can't install from a source tarball. Instead, I do
pip install -v git+https://github.com/anntzer/mplcairo

So where/how do I apply that patch?
OK, I will try updating cairo.

To test the patch: Clone the repository, apply the patch, then pip install . from the root directory.
Also, perhaps try the module://mplcairo.qt or module://mplcairo.tk backends?  (I think you're on the mplcairo.macosx backend right now; perhaps there are some issues with HiDPI.)

With the patch, antialias_t.SUBPIXEL gets printed. I tried module://mplcairo.tk and got this.

So, same issue with font smoothing as mplcairo.macosx.

I should also add that this seems to be a problem only for font sizes at the smaller end. In the above example, when I replace with size=16, I get this, which is smooth enough.

Do you have anything special in your matplotlibrc?  Does the issue remain if you remove all its contents except for the backend setting, or if you call matplotlib.rcdefaults() first?

I do have some stuff in my .matplotlibrc to set the font family and color order for plots, so I removed all that with a .matplotlibrc where the only non-commented line is backend : module://mplcairo.macosx. This is the result.

And with the same "blank" .matplotlibrc, if I switch back to backend      : MacOSX this is what I get.

Do you also have the problem with mathtext?  (plt.text(.5, .5, "$1.23$" at whatever relevant size)

With the following (to get a few different sized mathtext texts)
plt.text(.6, .2, r"$1.23$", ha='center', va='center', size=14)
plt.text(.6, .1, r"$1.23$", ha='center', va='center', size=12)
plt.text(.6, .3, r"$1.23$", ha='center', va='center', size=10)

I get the following, where the mathtext instances are smooth even down to size 10.

I should say here that I do have raqm and harfbuzz installed on the system, so I'm not sure why mplcairo does not use those (according to mplcairo.get_versions()).

Hmm, that is interesting.  What happens if you try to force loading raqm with mplcairo.set_options(raqm=True)?  What if you hard-code the path of the raqm dylib in load_raqm() (in _raqm.cpp), replacing the whole initial part (up to just before #define LOAD_API) with raqm::_handle = os::dlopen("/path/to/your/libraqm.dylib")?

OK, this is interesting and slightly puzzling. I have raqm installed via macports,
$ ls -l /Users/sbasu1/packages/macports/lib/libraqm.dylib
lrwxr-xr-x 1 sbasu1 staff 15 2024 Jan 04 01:32:15 /Users/sbasu1/packages/macports/lib/libraqm.dylib -> libraqm.0.dylib

and that path is both in LD_LIBRARY_PATH and LD_RUN_PATH,
$ env | grep LD_
LD_LIBRARY_PATH=/Users/sbasu1/packages/lib:/Users/sbasu1/packages/macports/lib:
LD_RUN_PATH=/Users/sbasu1/packages/lib:/Users/sbasu1/packages/macports/lib:

Yet, when I try to force load as follows,
In [1]: import mplcairo

In [2]: mplcairo.set_options(raqm=True)
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
Cell In[2], line 1
----> 1 mplcairo.set_options(raqm=True)

OSError: dlopen(libraqm.dylib, 0x0001): tried: '/opt/intel/compilers_and_libraries_2019.5.281/mac/compiler/lib/libraqm.dylib' (no such file), '/opt/intel/compilers_and_libraries_2019.5.281/mac/compiler/lib/intel64/libraqm.dylib' (no such file), '/opt/intel/compilers_and_libraries_2019.5.281/mac/tbb/lib/libraqm.dylib' (no such file), '/opt/intel/compilers_and_libraries_2019.5.281/mac/compiler/lib/libraqm.dylib' (no such file), '/opt/intel/compilers_and_libraries_2019.5.281/mac/mkl/lib/libraqm.dylib' (no such file), 'libraqm.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibraqm.dylib' (no such file), '/usr/lib/libraqm.dylib' (no such file, not in dyld cache), 'libraqm.dylib' (no such file), '/usr/local/lib/libraqm.dylib' (no such file), '/usr/lib/libraqm.dylib' (no such file, not in dyld cache)

It's not even looking in LD_LIBRARY_PATH and LD_RUN_PATH!

So, I hardcoded the path to libraqm.dylib as you suggested, and indeed mplcairo now knows about raqm (and also harfbuzz, somehow, although I did no hardcoding for that),
In [1]: import mplcairo

In [2]: mplcairo.get_versions()
Out[2]:
{'python': '3.11.7 (main, Jan  3 2024, 08:15:29) [Clang 15.0.0 (clang-15<IP_ADDRESS>.5)]',
 'mplcairo': '0.5.post32+ge771c74',
 'matplotlib': '3.8.2',
 'cairo': '1.17.6 @ /Users/sbasu1/packages/macports/lib/libcairo.2.dylib',
 'freetype': '2.13.2 @ /Users/sbasu1/packages/macports/lib/libfreetype.6.dylib',
 'pybind11': '2.11.1',
 'raqm': '0.10.1 @ /Users/sbasu1/packages/macports/lib/libraqm.0.dylib',
 'harfbuzz': '8.3.0 @ /Users/sbasu1/packages/macports/lib/libharfbuzz.0.dylib'}

However, the tick label fonts are still not smooth

Thanks for trying.  Not any bright idea right now...

My silly guess is that

the size-dependent smoothness at size 16 has something to do with the font's built-in bitmaps being used (macOS, as far as I know, doesn't like to use it at all)
the different threshold for plt.text is because it handles retina screen scale (DisplayFramebufferScale) differently

... I think there's something in fontconfig that might turn off bitmaps -- if it helps, my hunch would be in the right direction.

Having a bit of an issue reproducing on my end (but don't worry, anntzer also failed to repro). Probably something to do with how homebrew cairo and the whole stack below is configured differently compared to macports.
You should be able to (hopefully) turn off those bitmaps with a new file. Write the following into a new file called /opt/local/etc/fonts/conf.d/95-noemb.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
  <match target="font">
    <edit name="embeddedbitmap" mode="assign">
      <bool>false</bool>
    </edit>
  </match>
</fontconfig>


🔧 ProfileLink, ScrollTopButton & HotTable

part of #4750
close #6141
/hot page composition api

maybe different logo without background?

Kusama Branding Assets

Opened issue for the data view

https://github.com/kodadot/loligo/issues/43

looks good, couple of q please
1. how to navigate to this page (hot)? (i.e do we even need it anymore?)

2. could you move it under prefix?

If I remember we hide it a while ago, it will be reintroduce once we'll fixed all stuff in StatsDropdown (series, spotlight, sales, hot etc..)

regarding showing identity on the profile page, even if a user has it in its identity, we are not currently showing social media handles, right?

regarding showing identity on the profile page, even if a user has it in its identity, we are not currently showing social media handles, right?

I think we are showing them in profile detail page (/:prefix/u/:id)


option for syntax highlighting inline code

add a config option to nuekit to allow highlighting of inline code
This is just an idea, and might be irrlevant, but at some times i want to highlight code inline, if it is just a minimal snippet.
i might make a pr in the future, but i'm currently doing other stuff.

I feel syntax highligt does not belong there, because it is typically used for individual words and if there is a code snippet it's better to express it with a fenced code block. However, I have thought about a specialized mini rendered in there to give special rendering for things like hex color codes (a color "tint" + the code).


Certificate for AG nodes

To me at least, the certificate documentation for AG nodes is a little ambiguous. The document is very clear when it comes to defining what needs to be a part of the certificate for any given node. However, I find it incomplete in that it does not give equal clarity as to the N+1 node certificate. Does it need to be the same certificate on all nodes or a certificate per node overlapping the listener name(s)?
[Enter feedback here]

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

ID: c76c2d8c-17da-8982-8a91-dd9968efa26e
Version Independent ID: 2ecd127b-9f05-1f89-bcea-a93e8ded60eb
Content: Connect to an availability group listener - SQL Server Always On
Content Source: docs/database-engine/availability-groups/windows/listeners-client-connectivity-application-failover.md
Service: sql
Sub-service: availability-groups
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

Hi @pshore73 , Thank you for your submission! My sincere apologies for the delay it's taken to address your concern, we've been working through a very large backlog.
During this time, Git Issues have been deprecated as we've transitioned to a new feedback system. I've added your suggestion to our internal backlog (#250055) that we will continue addressing as priorities and resources allow.
We use your feedback to improve our documentation, so we are grateful for your input, and your time. I apologize for any inconvenience, and thank you for your patience and understanding.
Masha from the SQL Docs team
#please-close


Blob storage hangs for files > about 3500 kb

Guys,
InputStream is0 = new BufferedInputStream(new FileInputStream(f));
Date now = new Date();
System.out.println("uploading...@"+now+" "+f);
String storageConnectionString="DefaultEndpointsProtocol=http"+
";AccountName=mikebell" +
";AccountKey=";
CloudStorageAccount storageAccount = CloudStorageAccount.parse(storageConnectionString);
	CloudBlobClient bc = storageAccount.createCloudBlobClient();
	CloudBlobContainer c=bc.getContainerReference("retain");
	CloudBlockBlob blob =c.getBlockBlobReference(f.getName());
	blob.upload(is0,f.length());
	System.out.println("File uploaded... took "+(System.currentTimeMillis()-now.getTime())+" ms");

hangs forever for me if file exceeds 3500 MB
Attempts to diagnose:

Tried many files between 3500-7000KB. All fail pass the threshold which for me was about 3500-3800KB.
All files that fail always fail.
A .NET explorer gui works when uploading
Windows 7 x64 laptop, plenty of RAM (8 GB).
JVM given 1GB of RAM via xMx
Run from Eclipse 3.7.1 in IDE (run from application)
Java 1.6.0_24 JDK (oracle)
Memory and Buffered Streams made no dfifference.
Stack trace showed many threads all blocking while uploading in httpurlconnection, main coordinator thread waiting on take (pretty much as expected for a thread pool)

We are looking into this.
After initial investigations it appears there may be an issue in BufferedInputStream which is attempting to create a negative sized array while reading. The reason the app appers to "hang" is that the exception is thrown on the main thread in your app which will subsequently die an no longer be writing data to the blob input stream. I have a consistent repro using the code you supplied. If you remove BufferedInputStream and read directly from the FileInputStream this work correctly.  Also note, this stream is only read on the main thread.
Exception in thread "main" java.lang.NegativeArraySizeException
at java.io.BufferedInputStream.fill(BufferedInputStream.java:205)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at com.microsoft.windowsazure.services.core.storage.utils.Utility.writeToOutputStream(Utility.java:971
at com.microsoft.windowsazure.services.blob.client.BlobOutputStream.write(BlobOutputStream.java:546)
at com.microsoft.windowsazure.services.blob.client.CloudBlockBlob.upload(CloudBlockBlob.java:447)
at Blobs.main(Blobs.java:78)
I will continue investigating this issue, but for now I would recommend not using the BufferedInputStream.

Actually the main issue for me was not the buffering. It was the undocumented (ok, it's documented, but only in the C# sdk) 90 second timeout. This combined with a auto-retry of 3 was problematic with a large file.

We were able to repro this without using the library at all by simply opening a file and copying it to another local file.  It seems in some versions of the jre that when mark is used on a BufferedInputStream then it can cacluate the arraySize incorrectly.
The Timeout is applied in two places, the HTTPUrlConnecitons readTimeout and as a url parameter to the service.  The service will use the timeout value ( converted to seconds) on the server side. To be clear this does not mean that the entire blob has to uploaded / downloaded in the given timeout, only that either the server couldnt process the request in the given amount of time OR the client could not read data from the server in a given amount of time.
A retry executes the same operation again depending on the results of the previous attempt.  This means that any subsequent retry will get its own timeout and is not impacted by prior attempts.

Yes, on a slow connection you are correct that you may need a higher timeout value.
However as part of this investigation we have identified and reported a bug in BufferedInputStream regarding using mark values over 1 GB<PHONE_NUMBER> which will cause a NegativeArraySize Exception to be thrown.

FYI, another group of folks ran into that. Might get a useful workaround from them
https://bitbucket.org/jmurty/jets3t/issue/99/repeatablerequestentity-blindly-marks

From: joeg<EMAIL_ADDRESS>To: mikebell90<EMAIL_ADDRESS>Sent: Thursday, January 12, 2012 10:51 AM
Subject: Re: [azure-sdk-for-java] Blob storage hangs for files > about 3500 kb (#1)
Yes, on a slow connection you are correct that you may need a higher timeout value.
However as part of this investigation we have identified and reported a bug in BufferedInputStream regarding using mark values over 1 GB<PHONE_NUMBER> which will cause a NegativeArraySize Exception to be thrown.

Reply to this email directly or view it on GitHub:
https://github.com/WindowsAzure/azure-sdk-for-java/issues/1#issuecomment-3468412

This issue has been resolved in the most recent pull request.


Update link for old ascii tables

Great code! The NIST website changed location of their old ASCII tables, so the urls in nist.py should be updated accordingly:
2014
2010

Thanks for your interest in this project.
I have updated the two URLs and have added a try: ... except: structure to detect downloading problems.


change declaration_request and employee_request,add new properties [patch]

Coverage remained the same at 90.815% when pulling cca3a9f756218632458f3fdfdb69fc6030a2746b on json_schemas_1602 into 0de09bea7633ddd2315044aca7d700dab96406d3 on master.