Weekly build triage for the week starting Saturday 2023/07/01

This week's build triage summary:

Date
Day
JDK Version
Pipeline
Pass/Build Fail/Test Fail
Pass/Preventable/Unpreventable

2023/07/01
Saturday
JDK8
Link
9/2/0
8/7/8910

2023/07/01
Saturday
JDK11
Link
11/0/0
6/7/8910

2023/07/02
Sunday
JDK17
Link
10/1/0
6/7/8910

2023/07/02
Sunday
JDK20
Link
10/0/0
6/7/8910

2023/07/02
Sunday
JDK21
Link
10/0/0
6/7/8910

Note: "Test Fail" is for when all the "build" jobs passed (build, sign, installer, etc) but one of the test jobs failed and the
status propagated upstream to the build job. Note that "unstable" test job status can be considered a pass, as these are
triaged in more detail here.
Comment template:
Triage breakdown for <Weekday>
List of failures:
<link to failing job>
<Problem summary>
New/Existing Issue: <Issue link>
Preventable: Yes/No
Repeat as needed.

Triage breakdown for Weekend
List of failures:
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-solaris-sparcv9-temurin/334/
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk8u/job/jdk8u-solaris-x64-temurin/346/
Processing certdata on Solaris (converting subjects into aliases) removes any csv element preceded by an underscore. Since the first element is often preceded by an underscore, this is normally trimmed off. The trimming isn't working on Solaris for some reason (possibly sed-related), so the first value is removed, and two certificates are subsequently identical, failing the build. Issue raised.
New Issue: https://github.com/adoptium/temurin-build/issues/3418
Preventable: Yes
https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk17u/job/jdk17u-mac-x64-temurin/253/

New/Existing Issue:
Preventable: Yes/No


Sometimes https is not working for new site

I have issue, that after some time, Armor won't issue TLS certificate for newly entered site in config.json.
Only way to get around this issue is to completely delete cache_tls file, and to start  again.
Another problem is, that I don't see that error in my Armor log file.
I am on Windows, and I am calling Armor from BAT file like so:
armor -c config.json >> armor.log
And this is working perfectly, but TLS error messages were not written into file. I see those messages only when I run armor.exe in terminal window:
 ⇛ https server started on
2016/11/17 11:27:42 http: TLS handshake error from <IP_ADDRESS>:52280: unknown host
2016/11/17 11:27:45 http: TLS handshake error from <IP_ADDRESS>:58976: unknown host
2016/11/17 11:27:45 http: TLS handshake error from <IP_ADDRESS>:58977: unknown host)

But in my armor.log I don't see those messages, only JSON log lines are showed:
{"time":"2016-11-17T11:29:42+01:00","remote_ip":"<IP_ADDRESS>","host":"","method":"GET","uri":"timeline","status":200, "latency":2131000,"latency_human":"2.131s","bytes_in":0,"bytes_out":86578}
{"time":"2016-11-17T11:29:42+01:00","remote_ip":"<IP_ADDRESS>","host":"","method":"GET","uri":"chrome.ico","status":200, "latency":55000,"latency_human":"55ms","bytes_in":0,"bytes_out":3638}

For logs, you also need to redirect stderr see http://stackoverflow.com/questions/503846/how-do-i-echo-and-send-console-output-to-a-file-in-a-bat-script
How often are you adding new domains?

Thank You for this this tip for redirecting stderr! It works now.
I am actually experimenting with Armor, and now I have 8 domains. When I added 9 domain, only for this newly added domain I am receiving this error.
First time when this issue occurred, I had 4 domains, and when I tried to add 5. then it didn't work, until i deleted cache_tls and then it worked for first 8 domains. When I later (tomorrow) tried to add 9. domain, it didn't work.
I have dyndns account, and I create there new domains for testing.
I want to move some static sites from web hosting to my local PC, with Armor as reverse proxy and for auto TLS.


IFC naming strategy in the Reference section

The naming strategy used by the IFC project can be confusing for people looking to access documentation. For example: IFC4x1 supersedes IFC4_Add2. To the non-domain expert, there is no immediate logical way to draw this conclusion. This presents a challenge when users are looking for the 'latest' version.
BuildingSMART use an alternative system which promotes the use of semantic versioning as a point of reference for each schema.
See Tim Chipman's explanation below:
Following is a proposal to consolidate messaging around IFC versioning to make it more clear to
software vendors on which standards they should target and maintain. Historically, IFC has had major
“platform versions” such as IFC2x, and now IFC4x, where the “core” remains stable meanwhile
“extension versions” such as IFC2x2 and IFC2x3 provide additive capabilities without impacting this core.
Then there have also been “addendums” containing minor schema changes and documentation updates
such as IFC4 Addendum and IFC4 Addendum 2. Then there has been the case of a “technical
corrigendum” such as IFC2x3 TC1 which update documentation but do not impact the schema.
Meanwhile, during development there have been interim versions called “release candidates” if they
are deemed suitable for vendors to implement, “beta” if they are deemed suitable for external review,
and “alpha” if they are deemed intended for internal review. The table below summarizes IFC releases
to date (though excluding IFC4 development releases). Each release may be shown as a normalized
version number and/or using existing notation (e.g. <IP_ADDRESS> for IFC4.0 Addendum 2).

Thus, it is advised that we provide a conversion table at the top of the reference page which explains to a user the conversion between specification and the common community name. For example 'IFC4_Add2' will be referred to as '<IP_ADDRESS>', which is what it will be referred to throughout the documentation.

Update made. Comments required.

A semantic versioning system is nice. (see here: http://semver.org). We woul have to define the thre levels for IFC.

Given a version number MAJOR.MINOR.PATCH, increment the:
MAJOR version when you make incompatible API changes,
MINOR version when you add functionality in a backwards-compatible manner, and
PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

Version name: IFC4_Add2
Version: <IP_ADDRESS> (without IFC prefix)
Name in Texts: IFC <IP_ADDRESS> (With IFC and space)
MAJOR: 4.0
MINOR: 2
PATCH: 0
I propose to use all three parts for every version, even if the patch is zero.


[Languages] Understanding POST and GET Requests in Java

Topic Suggestion
Languages
Writing sample(s):
Network troubleshooting using traceroute
Proposed title of article
Understanding Post and Get Requests in Java
Proposed article introduction
The modification and display of data is a critical activity in every application. Programmers utilize many techniques to read, change, or delete data from a database. These various ways are standardized so that developers may utilize the same principles while dealing with different databases.  There are five basic techniques for data modification and presentation between a server and an application, over a http connection. POST, GET, PUT, PATCH, and DELETE are the commands. The article will concentrate on two of the five CRUD operations. That is GET and POST requests.
Key takeaways
After reading the article the reader will know:

What are GET and POST requests
Characteristics of GET and POST requests
Differences between the two requests
How to implement the two methods using the HttpURLConnection and Apache HttpClient classes.

Article quality
Other articles and official documentations that relate to this topic suggestion only feature an explanation on how to setup and send the two requests. They however fail to present an in depth explanation on the anatomy of the two requests that this article will include.
References
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Thank you for submitting your topic.
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
Please feel free to suggest an alternate topic to explore. 🚀


Updated community resources by adding link

Description (required)
Added link to Wordpress Migration Tool

Related issues & labels (optional)

Closes #
Suggested label: hacktoberfest-accepted

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
guides/migrate-to-astro/from-wordpress.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


[NEW ICON] TiDB

Skill Name
TiDB
Why?
TiDB (/’taɪdiːbi:/, "Ti" stands for Titanium) is an open-source distributed SQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Reference Image
SVG image download

Since the maintainer did not show up in months, you can make issues here so it gets implemented faster. It's basically the same but rewritten in golang and is getting a lot more updates (near +90 icons more than here), so if you want you can go help there for some fast updates.

Skill Name
TiDB
Why?
TiDB (/’taɪdiːbi:/, "Ti" stands for Titanium) is an open-source distributed SQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Reference Image
SVG image download

Hi simonwei97  👋,
Thanks a bunch for reaching out! We've noticed the hiccup with updates in the repository. But no worries, we've got you covered! 😊 As an alternative, we've moved the icons to a new repository where updates are happening smoothly. You can find all the latest icons right here: Icons 🏝.
And guess what? Your requested icon, TiDB, is already there! 🎉 You can find it nestled among the others, ready to shine. ✨
Feel free to swing by, take a look, and even contribute if you'd like! It's an open invitation to join the fun. 🚀
Oh, and one more thing – if you find the icons useful, we'd be over the moon if you could give the repository a star ⭐. It helps others discover our little corner of the internet and means the world to us!
Additionally, if you're in a position to support the continued development and maintenance of this project, we'd greatly appreciate your sponsorship 💖. Every contribution helps us keep the lights on and the icons flowing!
Catch you later! 👋
Warm regards,
islandboymv


fix mender-standalone download link

@estenberg

oops, fixed the link.

I get access denied on https://doyabzhx7xw8o.cloudfront.net/master/mender-standalone.tar.gz

yup, because the file doesn't exist, I'm build master now, should be done in 5-10 minutes.

fixed


Make BackgroundIsolateBinaryMessenger API consistent on web

Use case
The BackgroundIsolateBinaryMessenger API requires an ensureInitialized() method call before its instance field can be used. Unfortunately the web implementation of the BackgroundIsolateBinaryMessenger does not have the ensureInitialized() method, to the compilation targeted for the web is failing at compile time with Member not found: 'BackgroundIsolateBinaryMessenger.ensureInitialized' error.
Currently we have to make own wrapper with platform-specific import to make this compile on web.
Proposal
It would be really handy if BackgroundIsolateBinaryMessenger has consistent API between io and web implementations. It will be sufficient to have it throw UnsupportedError('Isolates not supported on web.')

@ekuleshov
Please check this and see if it helps in your case or not.

@ekuleshov Please check this and see if it helps in your case or not.

Essentially that is the same issue looked from a different angle. But the solution I'm suggesting/requesting here is much simpler and does not require changes in the Dart compiler.
There is already conditional import in the Flutter's package:flutter/services.dart which imports one of:

_background_isolate_binary_messenger_io.dart
_background_isolate_binary_messenger_web.dart

However, due to the asymmetry of the web API (i.e. absence of the ensureInitialized() in the web-specific implementation), in order to use the web version adding if(kIsWeb) ... is not enough as noted in #136886
We have to make own wrapper with our own conditional import and implement own wrappers for ensureInitialized() for io and web.
If the Flutter's _background_isolate_binary_messenger_web.dart implementation simply had an ensureInitialized() method matching the io's API, all of that won't be necessary and we could simply use if(kIsWeb) ... instead of all those custom wrappers.

Thanks for the feedback.

I'll work on adding this method next, it'll throw Unimplemented.


Package evaluation & first pass documentation

The goal of this task is to better understand whether this package does what we need it to, and permit other Delphi members to understand the same without having to read the source.
Delphi blog posts that include plots also include the code used to produce those plots. Reproduce as many of the plots as you can from the following blog posts, using this package instead of covidcast.

Home for the Holidays: surveys indicators
Syndromic outpatient indicator from claims

Use your newly acquired knowledge to flesh out the package documentation with the basics.

#10 This is the PR for initial documentation and guide for the package

TODO:

[ ] add documentation (there's barely any)

[ ] get documentation buildable
[ ] sign up for hosting on readthedocs.org
[ ] port R vignettes and examples over

[ ] add tests
[ ] make sure the endpoint interfaces are the same

[x] rename endpoints to pub_ when needed
[x] double check that argument order is the same
[x] add support for geo_value = "*" default on most endpoints
[ ] add a fetch_args_list component
[ ] add caching

[ ] make sure the parameter validation for each endpoint either matches R or is of good quality for Python

[ ] make sure date inputs to all endpoints can be string, date, or int (needs a utility)

[ ] make sure that the data type casting from the API's JSON response to Pandas works well
[ ] get rid of all the unnecessary non-Pandas return options and just return a df by default
[ ] get rid of the overhead around non-Pandas types (like csv and classic and json and jsonl)

@rzats Here is a task you can work on. Feel free to ping me here or on Slack if something is unclear! TL;DR: we need to build a basic query test file.

port R vignettes and examples over
So some of the examples we want to port are in docstrings in the R functions. Here is an example for pvt_cdc endpoint (the endpoints marked with pvt_ are private and require a special key to access (different from the rate-limited API key); ask Brian for those). So what we would look like is to take those queries and port those to this package. At this point, let's just do it in a test file like test_epidata_calls.py, since I'm not sure if Python supports those kinds of examples in docstrings. Each test should make an equivalent call with the Python client and make sure that the output is non-trivial (as in non-empty; if some of them come back empty, then talk to me, and we should fix the query).

I expect that there may be errors along the way when trying to reproduce these (for various reasons, like function input data types or parsing issues, etc.). Record those as TODO items here.

Initial package evaluation and first pass documentation Done. Moving bigger picture items to #11


How to test it?

On test.spec.ts I've tried to test the record and play mechanism, yet failed to do so. When the Playwright team test the routeFromHar function they do something quite sophisticated with contextFactory, and I don't have the capacity to learn what's going on over there.
Anyway, I'd really like to have the ability to have a test that records a Har file, and then uses it
Any help would be appreciated

solved during #15


Keepass provider

I have just created simple provider for Keepass kdbx file - mskarbek/summon-keepass.

Thanks @mskarbek, this looks great. I'll add it to the docs.
One note - it may be useful if the keepass_db password could be read from an environment variable as well.

Your provider is now listed here: http://conjurinc.github.io/summon/#providers


unable to insert jump to DOCKER-ISOLATION-STAGE-1 rule in FORWARD chain

Hi
i have a problem with installation
when i run this command :
ADMIN_USER=admin ADMIN_PASSWORD=newpass docker-compose up -d
i see this error:
Creating network "dockprom_monitor-net" with driver "bridge"
ERROR: unable to insert jump to DOCKER-ISOLATION-STAGE-1 rule in FORWARD chain:  (iptables failed: iptables --wait -I FORWARD -j DOCKER-ISOLATION-STAGE-1: iptables v1.6.0: Couldn't load target `DOCKER-ISOLATION-STAGE-1':No such file or directory
Try `iptables -h' or 'iptables --help' for more information.
(exit status 2))
how can i solve this problem ?
thanks

Hello
I had the same problem
Check the configuration of your firewall, you may have forgotten the configuration of the docker.
Example with shorewall
/etc/shorewall/shorewall.conf:

DOCKER=Yes
/etc/shorewall/zones:

#ZONE         TYPE        OPTIONS
dock          ipv4        #'dock' is just an example -- call it anything you like
/etc/shorewall/policy:

#SOURCE        DEST        POLICY         LEVEL
dock           $FW         REJECT
dock           all         ACCEPT
/etc/shorewall/interfaces:

#ZONE          INTERFACE        OPTIONS
dock           docker0          bridge   #Allow ICC (bridge implies routeback=1)
or

#ZONE          INTERFACE        OPTIONS
dock           docker0          bridge,routeback=0   #Disallow ICC

Hi
i am using csf firewall that integrated with Iptables
how can i resolve the problem with iptables ?
thanks

@Rahimianes typically the IPTABLES rules are created by installing the Docker package with your distro.
If these have not been created I would be looking at either the Docker package or your upstream with your firewall of choice.

?

Where is the required rules documented ?

did you get a clue on this ?


Organize files

The main project got a bit out-of-hand. I created a few subfolders (Effects, SampleProviders, Subtitles, Helpers) to make it easier to find the right file.
Should I go one step further and delete all that Windows 8 clutter? The file structure could be simplified a lot if we only keep Windows 10 files. I would maybe delete the JS sample as well. It is horrible to maintain and no one uses WinJS anyways.

We can delete the winJS stuff.
We can keep the windows 10 and windows 8.1 project files in the same folder. We can make the "source" folder a subfolder of said folder.
We can keep only one solution.

Afaik, the winJS isn't supported anymore officially.

We have dropped Windows 8x support a while back, the Windows (Phone) 8 projects don't build since quite some time. I do not see a reason why we should keep those files when they don't work. It will only cause questions if people find and try them.

Ok then. Then we keep only windows 10.

Finished cleanup. Now we have a very simple file structure. Checkout the brach to see how things really look (diff is too hard to read).

Looks good to me.

Merged.
@mcosmin222 The current project file can be easily referenced directly from your app solution. I am pretty sure that it won't break your build anymore, give it a try. I changed it so it finds its dependencies, no matter where your other solution files and projects are.

Cool. I will give it a try when I get the chance.


Transitionscenario

In this PR:

a new algorithm performance test is added to show the capabilities of the eg01-eg23 transition scenario that uses d3ploy built in https://github.com/arfc/transition-scenarios/pull/91
the plotter.py is edited to make the plots look better
try and excepts are added to tester.py to make it less buggy

description of this pr?

closed with https://github.com/ergs/d3ploy/issues/177


Update User Classes in Distributed Mode

Proposal
When updating the user class, send a message to workers (if in distributed mode) to update their user classes as well
Tested
In distributed mode

fixes #2657

Nice. Can you add a unit test?

🎉


Improve arkime config files & containers

use BRIDGE mode for capture container
give capture container NET_ADMIN cap so ip and /dev/net stuff works
reduce viewer nodes min:2 max:4
organize capture/viewer config files
new capture default rules file
download capture oui/rir geo files
switch capture to afpacket mode

Sure, i deployed it into my cluster and made sure it continued to worked. This involved:

logging into the capture & viewer containers and make sure the config/geo files were updated and not sure docker cache issue
checking that in ECS it went down to 2 viewer node
logged into viewer and make sure traffic was still showing up

Are there a set of tests you want me to run each time? Do we have some automated tests we can run in google actions, or do they require an AWS account?


iOS - Scan - White line appears at the top of a camera screen after selecting "Take photo"

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.39-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4993298
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Open the "New.Expensify" app
Tap FAB.
Tap "Submit expense".
Select the Scan option.
Tap the menu icon at the bottom left corner of a Scan page.
Select "Take photo".

Expected Result:
Camera screen opens covering the whole device screen.
Actual Result:
There is a white line above the camera screen.
Workaround:
Unknown
Platforms:

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/5ad7e5fb-5a13-4afd-9727-c616f246cc33

View all open jobs on GitHub

@VictoriaExpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

I don't think this has any impact to how the product is use - it doesn't prevent the function from being used or impact the user experience in any way. For this reason, I don't think we should put resources into this right now.


How to define transparent in targetColor or replaceColor?

type: rgb Alpha is not supported so transparent color can't be defined.
type: hex Based on this stackoverflow answer, transparent hex code is #AARRGGBB, but it's an invalid parameter.
{ ReplaceColorError: Parameter is not valid
    at Promise (node_modules\replace-color\src\replace-color.js:32:23)
    at new Promise (<anonymous>)
    at module.exports (node_modules\replace-color\src\replace-color.js:20:10)
    (truncated)
  name: 'ReplaceColorError',
  code: 'PARAMETER_INVALID',
  field: 'options.colors.targetColor' }

Is there a way to use transparent as one of the parameter? Thank you

@iamjoyce, hi!
A package does not support transparent colors at present. I will try to add this feature as soon as possible.

@iamjoyce, hey once again.
Could you please help me with an API for this feature?
I'm thinking about adding a transparent option as one of the possible values for a replaceColor variable. If you want to replace a targetColor with a fully transparent one, you should use replaceColor: 'transparent'. In this case, you're able to use either hex or rgb types.
const replaceColor = require('replace-color')

replaceColor({
  image: 'https://i.imgur.com/aCxZpaq.png',
  colors: {
    type: 'rgb', // Can be either `hex` or `rgb`.
    targetColor: [102,174,116], // Can be either `hex` or `rgb`.
    replaceColor: 'transparent'
  },
  deltaE: 10
})
  .then((jimpObject) => {
    jimpObject.write('./output.png', (err) => {
      if (err) return console.log(err)
    })
  })
  .catch((err) => {
    console.log(err)
  })

The output:

If you want to have not a fully transparent color, you can use the fourth item in a replaceColor variable to specify an alpha - [0, 1]. In this case, you can use rgb type only.
Let's assume that we want to replace a green color with the same green color but with 50% transparency.
const replaceColor = require('replace-color')

replaceColor({
  image: 'https://i.imgur.com/aCxZpaq.png',
  colors: {
    type: 'rgb', // Must be `rgb`.
    targetColor: [102,174,116], // Must be `rgb`.
    replaceColor: [102,174,116, 0.5]
  },
  deltaE: 10
})
  .then((jimpObject) => {
    jimpObject.write('./output.png', (err) => {
      if (err) return console.log(err)
    })
  })
  .catch((err) => {
    console.log(err)
  })

The output:

What do you think about this? To my mind, this API is not the most obvious one. Do you have any suggestions? Maybe, we should support transparent hex codes too (e.g. #AARRGGBB)?
In this case, we will be able to to have not a fully transparent color with hex too.
A targetColor variable can be:

a transparent string for hex and rgb types;
an array of for items where the fourth item defines an alpha ([0, 1]) - [102,174,116, 0.5] for rgb type;
a transparent hex code where transparency is controlled by the alpha channel (AA in #AARRGGBB) for hex type.

@turakvlad Thank you!

What do you think about this? To my mind, this API is not the most obvious one. Do you have any suggestions? Maybe, we should support transparent hex codes too (e.g. #AARRGGBB)?

I think using transparent string and 4 elements rgb array as input seems pretty clear. Though I think rgb might have to rename to rgba to be more intuitive.
For hex code, are other alpha hex supported? For example #00ff0080.

If yes, I think for consistency sake, it makes sense to support a transparent hex code.
If no, I think it's better to leave it as (perhaps) a future enhancement otherwise it's misleading to just support a transparent hex code.

The output

Is it possible to have smoother and cleaner edges?

Also, I don't think that we need to have an ability to define transparent colors for a targetColor (mainly this color will be selected with a color picker or something like that). What do you think?

On a contrary, I think it's necessary for targetColor. It's very natural for devs to assume that since replaceColor supports (e.g.) rgba = targetColor also supports rgba.
Actually I found this library from https://github.com/oliver-moran/jimp/issues/316 - which was an issue to ask how to replace transparency with a colour. On a personal level, I will definitely need this feature 😸
Hopefully my comments of some help to you. Thanks again for your help!

@iamjoyce, hey!
I have just released v2.0.0. Would you mind please to check it out? Does it satisfy your needs?
Thanks.

@iamjoyce, hi. I hope it works for you. I am going to close this issue. If something is wrong, jut re-open it again. Thanks!

How do you specify transparent for a target color ? I need to change transparency in a png to white
I noticed in the code that replace color supports transparency but target color does not


自定义shape存在动画，resize时shape无法跟随重新绘制

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link
https://riddle.alibaba-inc.com/riddles/8d2d202e
Steps to reproduce

https://riddle.alibaba-inc.com/riddles/8d2d202e resize 的时候，可以看到控制台报错且自定义shape的 point 不会跟随变化

Environment
Info

g2
4.1.2

System
-

Browser
-

+1


pipeline_doublets-4.py

In order to run this script I had to install scDblFinder into the conda environment.

mamba install bioconductor-scdblfinder

fixed by #68


xlisp #104: renamed point-mutations to hamming

Merge #113 first.

@wobh now that the build thing is sorted - will you clean this one up and we'll merge it?


Yellow in table

Could it be possible to have not all the row in yellow when the SCORE is > 0, instead, just put the SCORE cell in yellow and also the cell that had a problem; and let the others without any coloration.
This might be more readable.
Idea from @nono26152

In my opinion the clearer one is Scenario 2.
Arnaud Ceyrac
On Thu, May 27, 2021 at 7:01 PM Vincent FINET @.***>
wrote:

Which one do you like the best?
Scenario 1:
[image: image]
https://user-images.githubusercontent.com/3799275/119866417-14de4580-bf1d-11eb-8efa-29cc84e408fa.png
Scenario 2:
[image: image]
https://user-images.githubusercontent.com/3799275/119866528-317a7d80-bf1d-11eb-9b0c-62e51caa5612.png
Scenario 3:
[image: image]
https://user-images.githubusercontent.com/3799275/119867092-cc735780-bf1d-11eb-9cb2-8700e61f0cda.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/VinceFINET/OrgCheck/issues/89#issuecomment-849793291,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB77MDUZ25FGWK6AS2UHB73TPZ3GTANCNFSM43XGZ4SA
.

I created a poll in slack let see what the other users say!!!

Another option would be:


Updated events to properly send otp

📦 Pull Request
Added otp-input-sent event to properly emit the otp to sdk to relayer.
✅ Fixed Issues

[List any fixed issues here like: Fixes #XXXX]

🚨 Test instructions
[Describe any additional context required to test the PR/feature/bug fix.]
⚠ Don't forget to add a semver label!
Please only add one label:

patch: Bug Fix?
minor: New Feature?
major: Breaking Change?
skip-release: It's unnecessary to publish this change.

:rocket: PR was released in<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket:


GE: Can't set city location of farms/nodes

Currently, this is what we see for location on a node:
Location
United States, Uknown
Two problems:

Unknown is mispelled
We have no way to set the city, which will be important as we market to users who want hyperlocal access

@zaibon We need to update it in explorer

Based on https://github.com/threefoldtech/tfexplorer/pull/86 only farm locations can be changed and node locations shouldnt be.
Currently supported is changing the farm country only, will update it to include the city

FYI. We are in the process of moving our Cape Town modes to Johannesburg so we can get IPv6.

On 21 May 2020, at 3:16 PM, Rana Tarek Hassan<EMAIL_ADDRESS>wrote:

Based on threefoldtech/tfexplorer#86 only farm locations can be changed and node locations shouldnt be.
Currently supported is changing the farm country only, will update it to include the city
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


example-web is not reachable via browser

The ITest works, but when I start the application itself and open http://localhost:8080/engine/default/process-definition I get a 404. Is there something wrong with the starter or am I missing something? I did do any configuration, just started the Application

Hi Jan,
If I remember correctly from the hackdays, the engine-rest is deployed
as root app, so /default or just /process-definition should work
(without /engine).
Cheers,
Christian
On 08.09.15 17:58, Jan Galinski wrote:

The ITest works, but when I start the application itself and open
http://localhost:8080/engine/default/process-definition I get a 404.
Is there something wrong with the starter or am I missing something? I
did do any configuration, just started the Application
—
Reply to this email directly or view it on GitHub
https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/20.

OK, will give it a try. Few questions though:

why is the path with "engine" correctly resolved in the ITest? What is different when the SpringRunner starts the application?
If my spring-boot-process-app serves forms or exposes other api via REST, shouldn't we have a clear separation of paths?
Where and how can I configure this? I just found the RestConfiguration and it seems to be "magic".
Wouldn't it be great to have this in the docs (both starter-docs and example readme? (don't get me wrong: I can take over documenting this (when I understood how it works).

I need to dig into it too. There seems to be also an issue when building
the example-web that you need both, RestEasy and Jersey bundled. This
causes all kind of strange errors. Daniel had the problem on the
hackdays, but I did not reproduce it yet.
On 09.09.15 10:58, Jan Galinski wrote:

OK, will give it a try. Few questions though:

why is the path with "engine" correctly resolved in the ITest?
What is different when the SpringRunner starts the application?
If my spring-boot-process-app serves forms or exposes other api
via REST, shouldn't we have a clear separation of paths?
Where and how can I configure this? I just found the
RestConfiguration and it seems to be "magic".
Wouldn't it be great to have this in the docs (both starter-docs
and example readme? (don't get me wrong: I can take over
documenting this (when I understood how it works).

—
Reply to this email directly or view it on GitHub
https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/20#issuecomment-138839516.

OK, thanks. Do we agree that solving this (= having an easy, clean and well documented way of activating camundas REST API) is a crucial milestone for the first release?

+1
On 09.09.15 11:23, Jan Galinski wrote:

OK, thanks. Do we agree that solving this (= having an easy, clean and
well documented way of activating camundas REST API) is a crucial
milestone for the first release?
—
Reply to this email directly or view it on GitHub
https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/20#issuecomment-138852180.

Could you please start the example-web application and try to reach it via Browser? I tried all possible combinations I could think of, but all I get is 404. I guess the example is broken (in a way that there is something in the test scope that lets it work).

I am in vacation, so I am just happy to get some mails...test it latest when I am back

Am 10.09.2015 um 20:30 schrieb Jan Galinski<EMAIL_ADDRESS>Could you please start the example-web application and try to reach it via Browser? I tried all possible combinations I could think of, but all I get is 404. I guess the example is broken (in a way that there is something in the test scope that lets it work).
—
Reply to this email directly or view it on GitHub.

By the way...are you starting deploying in a tomcat or just a java run?

Am 10.09.2015 um 20:30 schrieb Jan Galinski<EMAIL_ADDRESS>Could you please start the example-web application and try to reach it via Browser? I tried all possible combinations I could think of, but all I get is 404. I guess the example is broken (in a way that there is something in the test scope that lets it work).
—
Reply to this email directly or view it on GitHub.

By the way...are you starting deploying in a tomcat or just a java run?

I just click „run as java application“ on the Application class inside the IDE.
Enjoy your vacation, this can wait!

I'm gonna work on the Extension in the next few days to make it ready for
the community day.
Gesendet mit AquaMail für Android
http://www.aqua-mail.com
Am 10. September 2015 20:46:21 schrieb Jan Galinski<EMAIL_ADDRESS>

By the way...are you starting deploying in a tomcat or just a java run?

I just click „run as java application“ on the Application class inside the IDE.
Enjoy your vacation, this can wait!

Reply to this email directly or view it on GitHub:
https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/20#issuecomment-139340743

tested with:

"run as" inside IDE (eclipse)
java -jar target/camunda-bpm-spring-boot-starter-example-web-1.1.0-SNAPSHOT.jar

http://localhost:8080/rest/engine/default/process-definition is reachable (user: user, password: password).

yes, thanks for confirming, this was fixed during #22 when we removed resteasy and made a view changes to the Jersey config.


Update package.json to bring this up-to-date

optimits and ws updated to currently working versions
License named from "BSD" to "BSD-3-Clause" as npm complained: "npm WARN<EMAIL_ADDRESS>license should be a valid SPDX license expression"
BSD-2-Clause or 0BSD is another possibility
With the small change, "npm install" runs without warnings. The bridge works fine (of course).

Hey thanks, I haven't touched this code or nodejs in so long, I'm not even sure if i remember how to republish to npm. I'll try and find some time to merge and update everything eventually.


[Bug]  buffer overrun while deserializing

Component
contract
What version of Alloy are you on?
0.2.0
Operating System
Windows
Describe the bug
when i call decimals from contract (BEP20)
let contract = Usdt::new(contract_str.parse()?, provider);
let Usdt::decimalsReturn {_0:decimals} = contract.decimals().call().await?;

An error has occurred:  buffer overrun while deserializing

Can you please provide the address and chain

Can you please provide the address and chain

contract address: 0x638ff0E03eA3cbBDDE58708827Bf237e80A4d600
chainId: 97(0x61)

I cannot reproduce:
use alloy::primitives::address;

alloy::sol! {
    #[sol(rpc)]
    interface IERC20 {
        function decimals() returns (uint256 decimals);
    }
}

#[tokio::main]
async fn main() {
    tracing_subscriber::fmt::init();

    let url = "https://data-seed-prebsc-1-s1.binance.org:8545/";
    let provider = alloy::providers::ProviderBuilder::new()
        .on_builtin(url)
        .await
        .unwrap();
    let c = IERC20::new(
        address!("638ff0E03eA3cbBDDE58708827Bf237e80A4d600"),
        &provider,
    );
    let IERC20::decimalsReturn { decimals } = c.decimals().call().await.unwrap();
    println!("decimals: {}", decimals);
}

Can you please enable tracing like I did here, run with RUST_LOG=alloy=trace, and see if maybe the RPC response is incorrect?

I cannot reproduce:
use alloy::primitives::address;

alloy::sol! {
    #[sol(rpc)]
    interface IERC20 {
        function decimals() returns (uint256 decimals);
    }
}

#[tokio::main]
async fn main() {
    tracing_subscriber::fmt::init();

    let url = "https://data-seed-prebsc-1-s1.binance.org:8545/";
    let provider = alloy::providers::ProviderBuilder::new()
        .on_builtin(url)
        .await
        .unwrap();
    let c = IERC20::new(
        address!("638ff0E03eA3cbBDDE58708827Bf237e80A4d600"),
        &provider,
    );
    let IERC20::decimalsReturn { decimals } = c.decimals().call().await.unwrap();
    println!("decimals: {}", decimals);
}

Can you please enable tracing like I did here, run with RUST_LOG=alloy=trace, and see if maybe the RPC response is incorrect?

my error, it's not bug, thank you!


v0.9.0 update

Adds support for the non-Chrome browsers - Electron, Edge, and Firefox variants (contributed by @BTMorton, addresses #71)
Addresses security vulnerabilities from transitive dependencies

@BTMorton Do you mind verifying that the Electron use-case still works for you as expected with these modifications before we release it? Given that Karma is now deprecated, this might be the last feature update. Thanks.

Nope, it tries to run with Electron, but doesn't load the custom launcher options defined in my karma config. That's why I had the attempt to match the browser type with a custom launcher in the karma config

Does it work when you simply reference the custom launcher name in the browser setting of the extension? In that scenario, I expect it should go through your enhancements on the extension-side to parse the custom launcher entry from the karma config and use its base value to find the right browser helper.

It would work for that one project, but the other two projects which don't use electron have a different custom launcher name. I could set all three to have the same name, but the issue then would be that the debugger would be listening on the same port for all three because it would be using the browser setting and not applying the debug port setting.
One option could be to pass the custom launcher name pulled out of the karma config through to the karma config loader, then load up that custom launcher and set the debug port, or combine the custom launchers or something.
The debate essentially is what do we want to respect more: the user's karma config custom launcher settings, or the extension setting to show the browser window. IMO, if we're detecting the user's custom launcher we should just respect those settings and have the extension options only apply when constructing the launcher for a supported browser. But that's my opinion as someone who uses a custom launcher and doesn't use the extension settings :P

It would work for that one project, but the other two projects which don't use electron have a different custom launcher name. I could set all three to have the same name, but the issue then would be that the debugger would be listening on the same port for all three because it would be using the browser setting and not applying the debug port setting.

You're right, that's a problem.

IMO, if we're detecting the user's custom launcher we should just respect those settings and have the extension options only apply when constructing the launcher for a supported browser

The way I think about it is that the extension doesn't have to conform to the Karma config's exact launcher settings, but should try and use the same browser as the launcher for running the tests. That's because the extension should be able to apply a launcher that best allows it to run and debug the tests within VSCode. One example is the fact that it disables every other reporter configured in the project, except for its own reporter, in order to improve performance, and because those reporters would probably not be required in the vscode test execution scenario. Another is its need to be able to adapt the setup to run in a container if it detects the tests are running in one. The other, most obvious one, is enabling debugging, and/or adjusting its port.
My thinking is that if the user sets a browser in the extension settings, then it should honor that and perhaps just try to configure the debugger port if it's a supported browser. (Before your enhancements, it would just honor the specified browser and give up entirely on any attempt to configure the debugger port).

One option could be to pass the custom launcher name pulled out of the karma config through to the karma config loader, then load up that custom launcher and set the debug port

This makes sense to me. Perhaps only the user's browser setting would be required in that case, 'cause I think in the current PR, in the case that a customLauncher is provided, the debugger port is already being added (but not in the case where the browser is provided).
Finally, regarding this again:

It would work for that one project, but the other two projects which don't use electron have a different custom launcher name. I could set all three to have the same name, but the issue then would be that the debugger would be listening on the same port for all three because it would be using the browser setting and not applying the debug port setting.

..do you think adding GeneralConfigSetting.Browser and GeneralConfigSetting.CustomLauncher to project-specific-config.ts would be a good way to resolve that by adding those settings at a project level, since they're then overlayed on top of the more general settings?

..do you think adding GeneralConfigSetting.Browser and GeneralConfigSetting.CustomLauncher to project-specific-config.ts would be a good way to resolve that by adding those settings at a project level, since they're then overlayed on top of the more general settings?

Yes, that's a pretty good solution, particularly if it could work in partnership with applying the debugger port to a configured browser setting.

The way I think about it is that the extension doesn't have to conform to the Karma config's exact launcher settings, but should try and use the same browser as the launcher for running the tests. That's because the extension should be able to apply a launcher that best allows it to run and debug the tests within VSCode. One example is the fact that it disables every other reporter configured in the project, except for its own reporter, in order to improve performance, and because those reporters would probably not be required in the vscode test execution scenario. Another is its need to be able to adapt the setup to run in a container if it detects the tests are running in one. The other, most obvious one, is enabling debugging, and/or adjusting its port.

That's fair enough. Perhaps a compromise could be to add a config setting that does just try to use the any custom configureation from the karma config, with the explicit caveat that you don't get any of these benefits (excluding the debugger port because that's already being added easily enough).

@BTMorton I've re-added the logic where it tries to match and identify the right custom launcher on the Karma side in order to apply the right port for debugging, for each project. Also added project-specific browser and customLauncher settings, though realized they will only help in the scenario of separate projects in a monorepo, but not sub-projects in a single Angular workspace. That's because project-specific settings aren't currently resolved down to the sub-project level.
In its current state, the updated extension attempts to identify and use the right browser for testing and debugging, but does not try to use the specific launcher settings in the project config (as discussed earlier in the thread). Not perfect but a huge improvement.
In testing, I'm able to debug 3 sub-projects using 3 different browsers in the same Angular workspace, and without any extension configuration for browser or custom launchers. It accurately detects them from each of their Karma configs. I imagine this is the closest we can come without other major changes, and without breaking any other setup performed on the extension side, such as headless/non-headless.

So, is the expectation then that to use a custom launcher from your karma config, you need to specify it as the browser setting? It'll then do the same as previously, but also add the debugger port configuration. It'd be nice if there was a setting that was to try to use custom launcher config from the karma config file, which then doesn't require you to change any other config, but I can probably make this solution work.

is the expectation then that to use a custom launcher from your karma config, you need to specify it as the browser setting? It'll then do the same as previously, but also add the debugger port configuration

Yes.
This update would add two main enhancements:

Automatic zero-configuration debugging support for Firefox and Chromium browsers (in addition to Chrome) to use one of the project's own selected browsers in its karma config
Debugging support when a custom launcher or browser is specified in the extension settings by adding a debug port, which wasn't previously supported

But it doesn't provide a way to use the exact custom launcher setup in a project's karma config.
Given the newly deprecated status of Karma, I think the new updates strike a balance for adding basic multi-browser support without too much additional investment in new features. The focus will now be on mostly maintenance and stability.

@BTMorton Apologies, I'v been away. Please see my comment here given the deprecation of Karma for over 4 months at this point, especially given that the updates and all previous iterations in this PR remain available for use outside of the marketplace extension. Thank you!

That's all fine with me. I can work with what's here. Thanks for your help!


[GO] MQ: Refine mgmt. SDK release pipeline and toolset

Setup new process of version upgrade and changelog update according to center eng sys (including fix problem of existed pipeline forget to change version of autorest.md)
Use apiview tool to generate changelog to replace existed changelog generation tool
Fix pipeline failure for GO track2 SDK automation of multi-package RP in release-v2 tool
Fix doc replacement for client placeholder in release-v2 tool
Fix go import and git stash problem in release-v2 tool
Add pipeline to check whether all code is autogenerated without manual change

Cut 2, 6.


Text whitespace formatting is not functioning properly.

Inability to create paragraphs, spaces between lines of text and have them display when the post is saved. It appears correct while editing, but when saved, default to a stream of lines regardless if there was a block of space created while editing or if several blank lines were intended in the text.
See images:

☝🏼Note: If what goes to the backend changes, or the formatting choices on the front end change make sure to sync on whether this works and displays consistently on mobile.


GUI issues

Expected Behavior
Using the GUI spgr, I should be able to view images, process regions of interest, and undo markings or highlights.
Actual Behavior
Sometimes the images will not appear.
When they do, I can select regions of interest but the red highlighter stopped working and the 'undo' command is not working.
If I click 'fit data' it starts, but remains at zero (left it on for an hour).
It used to be that these functions would work, I cannot figure out why they have stopped. Errors below.
Error in imtool3D/setAspectRatio (line 1043)
            set(tool.handles.Axes,'DataAspectRatio',aspectRatio)

Error in DrawPlot (line 34)
    handles.tool.setAspectRatio(handles.CurrentData.hdr.pixdim(2:4))

Error in BrowserSet.ViewBtn_callback (line 292)
            DrawPlot(handles,obj.NameID{1,1});

Error in BrowserSet>@(src,event)BrowserSet.ViewBtn_callback(obj,src,event) (line 103)
                set(obj.ViewBtn,'Callback', {@(src, event)BrowserSet.ViewBtn_callback(obj, src, event)});

Error while evaluating UIControl Callback.

Error using matlab.graphics.axis.Axes/set
Error setting property 'DataAspectRatio' of class 'Axes':
Input values must be positive finite numbers.

Error in imtool3D/setAspectRatio (line 1043)
            set(tool.handles.Axes,'DataAspectRatio',aspectRatio)

Error in imtool3D/showSlice (line 1599)
                tool.setAspectRatio(tool.aspectRatio)

Error in imtool3D/setMask (line 684)
            showSlice(tool)

Error in imtool3D/setImage (line 892)
            tool.setMask(mask);

Error in DrawPlot (line 18)
handles.tool.setImage(Current,[],[],[],[],Mask);

Error in BrowserSet.ViewBtn_callback (line 292)
            DrawPlot(handles,obj.NameID{1,1});

Error in BrowserSet>@(src,event)BrowserSet.ViewBtn_callback(obj,src,event) (line 103)
                set(obj.ViewBtn,'Callback', {@(src, event)BrowserSet.ViewBtn_callback(obj, src, event)});

Error while evaluating UIControl Callback.

Error using matlab.graphics.axis.Axes/set
Error setting property 'DataAspectRatio' of class 'Axes':
Input values must be positive finite numbers.

Error in imtool3D/showSlice (line 1595)
                set(tool.handles.Axes,'DataAspectRatio',tool.aspectRatio.*[newAspectRatio 1]);

Error in imtool3D>@(hObject,evnt)showSlice(tool) (line 465)
            fun=@(hObject,evnt) showSlice(tool);

Error while evaluating UIControl Callback.

Error using matlab.graphics.axis.Axes/set
Error setting property 'DataAspectRatio' of class 'Axes':
Input values must be positive finite numbers.

Error in imtool3D/setAspectRatio (line 1043)
            set(tool.handles.Axes,'DataAspectRatio',aspectRatio)

Error in imtool3D/showSlice (line 1599)
                tool.setAspectRatio(tool.aspectRatio)

Error in imtool3D>@(hObject,evnt)showSlice(tool) (line 465)
            fun=@(hObject,evnt) showSlice(tool);

Error while evaluating UIControl Callback.

Error using matlab.graphics.axis.Axes/set
Error setting property 'DataAspectRatio' of class 'Axes':
Input values must be positive finite numbers.

Error in imtool3D/setAspectRatio (line 1043)
            set(tool.handles.Axes,'DataAspectRatio',aspectRatio)

Error in imtool3D/showSlice (line 1599)
                tool.setAspectRatio(tool.aspectRatio)

Error in imtool3D/setMask (line 684)
            showSlice(tool)

Error in imtool3D/setImage (line 892)
            tool.setMask(mask);

Error in DrawPlot (line 18)
handles.tool.setImage(Current,[],[],[],[],Mask);

Error in BrowserSet.ViewBtn_callback (line 292)
            DrawPlot(handles,obj.NameID{1,1});

Error in BrowserSet>@(src,event)BrowserSet.ViewBtn_callback(obj,src,event) (line 103)
                set(obj.ViewBtn,'Callback', {@(src, event)BrowserSet.ViewBtn_callback(obj, src, event)});

Error while evaluating UIControl Callback.

Error using matlab.graphics.axis.Axes/set
Error setting property 'DataAspectRatio' of class 'Axes':
Input values must be positive finite numbers.

Error in imtool3D/setAspectRatio (line 1043)
            set(tool.handles.Axes,'DataAspectRatio',aspectRatio)

Error in imtool3D/showSlice (line 1599)
                tool.setAspectRatio(tool.aspectRatio)

Error in imtool3D>buttonUpFunction (line 2252)
showSlice(tool)

Error in imtool3D>@(src,evnt)buttonUpFunction(src,evnt,tool,WBMF_old,WBUF_old) (line 1966)
                fun2=@(src,evnt) buttonUpFunction(src,evnt,tool,WBMF_old,WBUF_old);

Error while evaluating Figure WindowButtonUpFcn.

Error using matlab.graphics.axis.Axes/set
Error setting property 'DataAspectRatio' of class 'Axes':
Input values must be positive finite numbers.

Error in imtool3D/setAspectRatio (line 1043)
            set(tool.handles.Axes,'DataAspectRatio',aspectRatio)

Error in imtool3D/showSlice (line 1599)
                tool.setAspectRatio(tool.aspectRatio)

Error in imtool3D/setMask (line 684)
            showSlice(tool)

Error in imtool3D/setImage (line 892)
            tool.setMask(mask);

Error in DrawPlot (line 18)
handles.tool.setImage(Current,[],[],[],[],Mask);

Error in BrowserSet.ViewBtn_callback (line 292)
            DrawPlot(handles,obj.NameID{1,1});

Error in BrowserSet>@(src,event)BrowserSet.ViewBtn_callback(obj,src,event) (line 103)
                set(obj.ViewBtn,'Callback', {@(src, event)BrowserSet.ViewBtn_callback(obj, src, event)});

Error while evaluating UIControl Callback.

Error using matlab.graphics.axis.Axes/set
Error setting property 'DataAspectRatio' of class 'Axes':
Input values must be positive finite numbers.

Error in imtool3D/setAspectRatio (line 1043)
            set(tool.handles.Axes,'DataAspectRatio',aspectRatio)

Error in imtool3D/showSlice (line 1599)
                tool.setAspectRatio(tool.aspectRatio)

Error in imtool3D>buttonUpFunction (line 2252)
showSlice(tool)

Error in imtool3D>@(src,evnt)buttonUpFunction(src,evnt,tool,WBMF_old,WBUF_old) (line 1966)
                fun2=@(src,evnt) buttonUpFunction(src,evnt,tool,WBMF_old,WBUF_old);

Error while evaluating Figure WindowButtonUpFcn.

Error using matlab.graphics.axis.Axes/set
Error setting property 'DataAspectRatio' of class 'Axes':
Input values must be positive finite numbers.

Error in imtool3D/setAspectRatio (line 1043)
            set(tool.handles.Axes,'DataAspectRatio',aspectRatio)

Error in imtool3D/showSlice (line 1599)
                tool.setAspectRatio(tool.aspectRatio)

Error in imtool3D>buttonUpFunction (line 2252)
showSlice(tool)

Error in imtool3D>@(src,evnt)buttonUpFunction(src,evnt,tool,WBMF_old,WBUF_old) (line 1966)
                fun2=@(src,evnt) buttonUpFunction(src,evnt,tool,WBMF_old,WBUF_old);

Error while evaluating Figure WindowButtonUpFcn.

Error using matlab.graphics.axis.Axes/set
Error setting property 'DataAspectRatio' of class 'Axes':
Input values must be positive finite numbers.

Error in imtool3D/setAspectRatio (line 1043)
            set(tool.handles.Axes,'DataAspectRatio',aspectRatio)

Error in imtool3D/showSlice (line 1599)
                tool.setAspectRatio(tool.aspectRatio)

Error in imtool3D/maskUndo (line 716)
                showSlice(tool)

Error in imtool3D>@(hObject,evnt)maskUndo(tool) (line 556)
            fun=@(hObject,evnt) maskUndo(tool);

Error while evaluating UIControl Callback.

Steps to Reproduce the Problem

Follow installation instructions for qMRLab and run on MATLAB
Open GUI
Run data on SPGR

Specifications

Version: qMRLab 2.4.1
Platform: MAC BigSur 11.6, MATLAB2021a
Subsystem:

Hi @acrispinsmith, thank you for reaching out!
There were some GUI compatibility issues with the new matlab versions, and we addressed some of them (after v2.4.1). These changes are on the master branch, and you can download from here.
Can you let us know if this resolves your issue?

Can you also confirm that you refer to qmt_spgr ?

Hi @agahkarakuzu,
Thank you for responding so quickly!
Yes ,I am referring to qmt_spgr.
I just downloaded the zip, I will let you know how it goes.

Hi @agahkarakuzu,
I am having the same issues with 2.4.2.

@acrispinsmith is the issue GUI related, or If I click 'fit data' it starts, but remains at zero (left it on for an hour).
Are you using parallelization option (GUI should ask you if you have parallel computing toolbox installed)?

@agahkarakuzu I haven't seen any messages regarding parallelization nor do I have the package downloaded. But I will do that next. Will it automatically use the option if I install the toolbox?

It will ask you whether you'd like to use. Please also make sure that you have optimization and image processing toolboxes installed.

@agahkarakuzu  Alright its past 30%! I can process now thank you! Though I am still having some issues with the GUI itself in terms of highlighting regions of interest and undoing actions. But, if I can process everything at once I no longer need the GUI. Thank you very much!

That's great @acrispinsmith! For GUI issues, sometimes we really need to align MATLAB and OS version to be able to debug what's going on, and this probably is one of those cases given the error traceback.
If you have no more questions, I will be closing the issue.
Have a great day!


Handle transformed assets URL

Adding the following template tag
{% webpack_asset 'path/to/original/file' %}

Fixes https://github.com/django-webpack/django-webpack-loader/issues/343
Depends on https://github.com/django-webpack/webpack-bundle-tracker/pull/125

@fjsj Thanks for the review!
Let me know if all changes fit the requirements

Released at 3.1.0, thanks again @batistadasilva
If you have time, could you make a PR to update the README explaining how to use webpack_asset?


Adding shared fields doesn't work

The form seems to be working, but if you submit the form (both button and enter) it doesn't add it.

The same goes for Site Specific fields


Automated updates

Presently, when new versions of the server app are available, the upgrade path looks something like:

Turn off Vagrant
cd into the app directory within the project
Update the project
npm install --no-bin-link to pull in additional dependencies
Restart Vagrant

Unfortunately, this upgrade path will break when we move the server app to a globally-installed module with 10up/Derrick#12
We need the app to be capable of updating itself, ideally when triggered externally.

When the server starts, it can automatically run a version check (ala Composer) and alert the end user if an update is available or just update itself.
A "started" hook in the server app would also allow for easy integration with and control of the Docker daemon in #5.


Add content in Docs about how to reduce bundle size

For serverless users, we need to make sure they understand that using the Data Proxy will reduce the size of the Prisma bundle, and thus improve performance.
The engineering team is working on further ways to reduce the bundle size, via Lambda layers, that doesn't necessarily require DP. Niko might do a stream or blog etc about it...
Proposed structure of doc(s): start with the task of "Reduce bundle size", then explain the diff ways to achieve this. Make this the main, task-centric guide. Then, elsewhere iin the Docs we can link to it as needed. For example, in the Data Proxy docs, we can mention it and say "To learn more about using the data proxy in a serverless environment to increase performance even more, refer to our documentation about optimizing bundle sizes."
Based on above, the topic would likely live under Performance & Optimization section, but we will figure that out when we start writing.
Note: We need to be cautious to not make it sound like we are "heavy".
Resources:
https://www.notion.so/prismaio/Reducing-Size-of-node_modules-for-Lambda-Serverless-Users-9648c7b39a094bd4be44e2b2d443d262

This one feels like a candidate for us to work on.


Conflicting with spatie/laravel-medialibrary

Hi,
I am trying to use spatie/laravel-medialibrary and spatie/laravel-paginateroute on the same project but when i try to install spatie/laravel-medialibrary it gives me following error,
Problem 1
- Can only install one of: spatie/string[2.0.0, 1.9.1].
- Can only install one of: spatie/string[2.0.0, 1.9.1].
- Can only install one of: spatie/string[2.0.0, 1.9.1].
- spatie/laravel-medialibrary dev-master requires spatie/string ^2.0 -> satisfiable by spatie/string[2.0.0].
- Installation request for spatie/laravel-medialibrary dev-master -> satisfiable by spatie/laravel-medialibrary[dev-master].
- Installation request for spatie/string == <IP_ADDRESS> -> satisfiable by spatie/string[1.9.1].
I checked and both the packages are using different versions of spatie/string

We will fix this later today, hang on...

Fixed in the latest release
https://github.com/spatie/laravel-paginateroute/releases/tag/1.4.0

Thanks very much


core, network: implement P2P state exchange

Close #1992.
Depends on #2143.
TODO:

[x] Tests
[x] Do not request those nodes that are in storage already.
[x] Keep MPT state for two latest sync points with KeepOnlyLatestState setting on. This should be done in https://github.com/nspcc-dev/neo-go/issues/2095. All we need after that is to adjust server's handleGetMPTDataCmd behaviour (see https://github.com/nspcc-dev/neo-go/issues/2152)

The coverage is still low, so I'll write a couple of tests for uncovered parts. But the logic is implemented and tested, works fine with #2143.

It's not easy to track some things within current commit set

I've changed the latest commit only. The rest of the changes are added in a separate commit, so I can squash them after review.

Rebase after #2143 merge?


Reverting back evalPING command for HTTP server

Currently HTTPServer was breaking in case of PING command as it was talking directly to shard and executeCommandsToBuffer is only implemented for AsyncServer to handle the Global defined commands.
As for stop gap fix, so that HTTPServer doesn't break incase of PING command evaluation adding it back to eval.
Going forward once the worker changes are done and we've a common layer for HTTPServer to interact with for executing all types of command i.e. Global, SingleShard etc. we'll remove this.

❯ curl --location --request POST 'localhost:8082/ping'
"PONG"

❯ redis-cli -h <IP_ADDRESS> -p 7379
<IP_ADDRESS>:7379> ping
PONG

Looks good!


Limit Ranges Typo

The LimitRanger admission controller enforces
Should be "LimitRange" not "LimitRanger" in the 3rd bullet under https://kubernetes.io/docs/concepts/policy/limit-range/#overview-of-limit-range

/assign

Hi
We shouldn't do that. The name of the Admission control plugin is LimitRanger.
For reference: https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#limitranger

/language en
/priority awaiting-more-evidence

Checking ...

Confirmed the name of the admission controller. 'LimitRanger' is it.
/close


Test

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Made the requested changes
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

pls review my pr


User Profile and Group Profile - Uniform Profile Header

User Profile current uses the template user card background, and groups uses a blank white background. Profiles should have a similar look that goes best with the rest of GCcollab.
Probably stay away from the GCcollab purple, heavy use already.

With Profile-Template being used they both use the same profile header.


Unsure why but since .22 by build fails:

I had some @apply 's not working and so I clumsily uninstalled, installed trying to see if maybe I did something wrong - and now it wont build at all.
Totally removed- will build ok.
Add this plugin and follow  https://gridsome.org/docs/assets-css/#tailwind
and now I get
Failed to render /news-story/august
---/node_modules/tailwindcss/tailwind.css:1
(function (exports, require, module, __filename, __dirname) { @tailwind base;
Thought it was the source- so deleted the post and it errored on the next.

Just tested it here on a fresh Gridsome app, and it built without issue. Send a link to your repo.

Ok maybe something I've done. I'll report back


Hardcoded url in the chorus-ui module (ReactiveSearch) prevents running on demo server

In the file /reactivesearch/src/App.js we hard code http://localhost:9200, and we need to swap it to http://chorus-es-edition.dev.o19s.com:9200.
We could do this either via env variable passed in, but that can be hard, or when we run quickstart.sh --online-deployment just update the the App.js file...?

I went with the same sed approach in quickstart.sh


syz-stress: syz-stress binary gets killed by syz-executor, causing preamture program crash

syzkaller version: d5b114b4015bcfb0ea2724efc01f478f6ea96b4f
Go version: https://github.com/fuchsia-mirror/third_party-go (fork of upstream Go w/ Fuchsia-specific extensions)
When running syz-stress on Fuchsia, we noticed that the fuzzer tended to consistently die within 3-15min of being run (die in the sense of: the binary stops running, not with any interesting kernel crashes).

The "quick & dirty" hack I've been using is just commenting out "zx_task_kill" in syscalls_fuchsia.h, which works (I had Syzkaller run overnight on my machine without incident), but obviously isn't quite the right answer: what I really want to say is "try any form of zx_task_kill except for those targeting syz-stress."
I stared at the generate code a bit, but suspect you might know better than me how to accomplish this: there's a comment in e.g. sys/linuxx/sys.txt about "Don't mess with the parent (fuzzer)", directly over some commented-out lines for getppid, getsid, etc, but I don't understand how these lines are processed.
Any chance you could teach syzkaller not to kill itself on Fuchsia, or else, help me understand a bit better how the extract/generate process works?
Thank you!

Yes, it's hard to do any insane random thing except for few specific things. We eat a lot of this on linux, like killing init, ptracing parents, etc.
We have several ways to try to deal with such things:

Sandboxing and restricting the test process. This is the best option if it works. Is it possible to take out permissions to mess with parent process on fuchsia? Or put it into some kind of namespace (like linux pid namespace), so that it does not have access to parents?
Syscall sanitization. See sanitizeCall in sys/linux/init.go. It can reliably restrict only direct syscall arguments, and it's hard to figure out what a handle refers to. It's currently used only for constant value sanitization.
Restrict it somehow on syscall description level, so that bad cased are not express-able. Removing a syscall is the ultimate form of this.
How do test programs obtain the parent zx_task handle that they pass to zx_task_kill?


API: nlargest/nsmallest, take_last -> keep

nlargest/nsmallest on frame should have take_last -> keep, in-line with #10236
here
no deprecation is necessary as this is new in 0.17.0
cc @sinhrks
cc @cpcloud

Do we need an option to keep all elements in this case, ``keep='all'orkeep=True`?
And Series.nlargest/nsmallest need deprecation.

you don't need to keep all option (that would be just sort :)
so just a direct keyword replacement for Series


Replication

I was wondering how I can replicate this with different reference images. Do I need to modify the python code in any way to match the images?

Not sure if related, but attempting to run the script on both macOS and Windows (Python 3.10.0) results in a ModuleNotFoundError (ModuleNotFoundError: No module named 'PIL'). Attempting to install it using pip results in ERROR: No matching distribution found for PIL.

You are missing the Pillow python package, install it by running:
pip install Pillow

NOTE: Pillow is the successor of PIL (Python image library), which can also be imported using PIL

That worked. Thank you!


[warning]  Argument is deprecated in aws s3 bucket lifecycle

Describe the bug
Warning: Argument is deprecated
│
│   with module.eks_addons.module.eks-aws-addons.module.kube-prometheus-stack_thanos_bucket.aws_s3_bucket.this,
│   on .terraform/modules/eks_addons.eks-aws-addons.kube-prometheus-stack_thanos_bucket/main.tf line 7, in resource "aws_s3_bucket" "this":
│    7: resource "aws_s3_bucket" "this" {
│
│ Use the aws_s3_bucket_lifecycle_configuration resource instead
│
│ (and 43 more similar warnings elsewhere)

What is the current behavior?
Warnings related to depracated s3 bucket lifecycle settings are shown
How to reproduce? Please include a code sample if relevant.
Use the latest aws terraform module (registry.terraform.io/hashicorp/aws = 3.75.1)
What's the expected behavior?
No warnings like that, this can break things in future.

@dejwsz I think this was deprecated in AWS provider v4. The issue is with https://github.com/terraform-aws-modules/terraform-aws-s3-bucket which is used by this module. I think they left it this way for now as it is just deprecated and they allow provider < 4.0

The case is it is even depracated for version < 4.0: https://github.com/hashicorp/terraform-provider-aws/pull/23445
So sooner or later it should be done I think. Anyway looks like it is not that hard to refactor.

@dejwsz This module should picked up the S3 module when one of these PR is merged:
https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/pulls
Please feel free to reopen if needed, and thanks for taking the time to open an issue

OK I see, it is a matter of time then, thanks!


Rewrite skipped SLSC Switch import/export tests

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Rewrite and re-enable SLSC Switch import/export tests disabled by #196.
Why should this Pull Request be merged?
The previous import/export tests compared the result of importing/exporting a pre-configured custom device with data returned by the scripting API. These system definitions needed to be hand-updated, which we had forgotten to do.
The new tests use the scripting API to create instances of the custom device, so we should always have the latest version and no longer need to hand-update them. Rather than use the SLSC Switch scripting API to check specific properties for equality, they do a direct comparison on the underlying system definition tree hierarchy. The tests now much more directly test the import and export processes.
What testing has been done?
Ran tests locally, and inserted failures and confirmed they were caught. Tested in conjunction with #200.

I am not currently updating the Routing and Faulting tests, although will do so if requested by reviewers.

@buckd done!


Add --release flag for bootstrap script

This allows the bootstrap script to build SwiftPM in release mode.
We need to add integration to the swift build-script so that we are built in release mode as part of snapshots.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test


Mud Bar Chart with only one double in series

Bug type
Component
Component name
Bar Chart
What happened?
It appears that if a bar chart has only one double in a series both the data and the label move off the chart (i.e. to the left of the y axis). This did not happen in prior release e.g. 6.0.8. I obviously use the chart dynamically so for example day one in a month will never display from day two all good.
Not working release 6.11.o

Working release 6.0.8

Thank you! ❤
Expected behavior
Data from example 1st day in a month to display.
Reproduction link
https://try.mudblazor.com/snippet/wYcxlPaeJEWOKzpq
Reproduction steps

Run a trymudblazor from the example bar chart components and then delete all the series data so there is only one double and one label.

...
Relevant log output
No response
Version (bug)
6.11.0
Version (working)
6.0.8
What browsers are you seeing the problem on?
Microsoft Edge
On what operating system are you experiencing the issue?
Windows, Android, Other
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Giving this an upvote because I am having the exact same problem. In the browser's console, I see output like this:

I took the sample code from the Bar chart documentation and even modified it to match my use case by even just hardcoding in some values.
    public List<ChartSeries> Series = new List<ChartSeries>()
    {
        new ChartSeries() { Name = "Active", Data = new double[] { 7 } },
        new ChartSeries() { Name = "Hold", Data = new double[] { 6 } },
        new ChartSeries() { Name = "New", Data = new double[] { 14 } },
    };
    public string[] XAxisLabels = { "Count" };
I'd expect that this would output a chart with three bars on it. But the behaviour I get is exactly as described above.


Running multiple tracing implementations simultaneously

This question has come up a few times, so I want to record it here as a possible future extension.
@wladekb on gitter said:

How would I approach plugging in two different implementations, say I want Zipkin-compatible one and another new one I want to test but don't want to break data flow to Zipkin?

The possible solution to this is a composite dispatching tracer that implements OpenTracing API and delegates all API calls to one or more underlying implementations. E.g.
class CompositeTracer(opentracing.Tracer):
    def __init__(self, *tracers):
        self._tracers = tracers

    def start_span(self,
                   operation_name=None,
                   parent=None,
                   tags=None,
                   start_time=None):
        spans = []
        for tracer in self._tracers:
            span = tracer.start_span(operation_name, parent, tags, start_time)
            spans.append(span)
        return CompositeSpan(spans)

Yeah, this is something I had a TODO about in one of the early headers. Most of it is easy and clean to build, though the trace_attributes piece feels potentially wasteful (storing them N times) and also problematic since we don't know which getter to delegate to.

yes, the attributes is the only read operation in the whole API, so I think the composite tracer will have to pick one of the delegates, i.e. always the first, and the end users can configure delegate tracers in the proper order.

just thinking out loud, but I can also imagine a design where the composite tracer:

handles the attributes natively

... though also delegates the setter calls just so the nested tracers have access to them

uses the Split injector on each nested tracer and discards the (duplicated) attribute portion
and encodes the attributes exactly once on its own

This means we would have 1 copy of the attributes going over the wire along with the N tracer states. More work/complexity, though.

More work/complexity, though.

Yes, and I am not sure what it gains us. I consider this whole use case as more of a temporary situation in any system, like "let me test another tracer". If this is something that people want to run permanently in production, then additional tricks on de-duping the headers may come (hopefully based on contributions from those people :smiling_imp: ).

FWIW, I think running two

(sorry about that noise ^^^)

... continued at https://github.com/opentracing/specification/issues/9


Check for the use of an empty shape in Bullet Kinematic collisions

If a user attempts to use a malformed mesh as a ConvexPolygonShape on a Bullet KinematicBody, an empty shape is created instead. This PR checks for and skips these empty shapes when doing kinematic collisions to ensure the Bullet physics engine doesn't crash later.
Fixes #47437.
As Bullet is not currently working on master I cannot test it there, but I have tested a cherry-pick of this commit on 3.x, so it's safe to cherry-pick there.
Note: There is already:

An error telling a user that the malformed mesh could not be used to create a ConvexPolygon:

ERROR: decompose_polygon_in_convex: Convex decomposing failed!
   At: core/math/geometry.cpp:705.

A warning telling the user that a ConvexPolygonShape is not supported with KinematicBody

WARNING: copyAllOwnerShapes: This shape is not supported to be kinematic!
   At: modules/bullet/rigid_body_bullet.cpp:243.

This PR just prevents a crash should those errors and warnings be ignored.

Thanks!

Cherry-picked for 3.3.


Update api spec

Updating the spec from that in the api repo

Nothing relevant to the library in this spec change really, we can close this and it will get added in the next spec update.


[DO NOT MERGE] Log job server termination.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

Run Python Flink ValidatesRunner

Run Python Flink ValidatesRunner

Run Python Flink ValidatesRunner

Run Python Flink ValidatesRunner

Run Python Flink ValidatesRunner

Run Python Flink ValidatesRunner

Run Python Flink ValidatesRunner

@robertwb since I was suspecting that the segmentation faults may have something to do with how we run the job server, I added the logging. I was able to reproduce the segmentation fault with this change (you usually get it in one of five runs):
[flink-runner-job-server] INFO org.apache.beam.runners.flink.FlinkRunner - Execution finished in 9755 msecs
.INFO:root:Job server terminated.

----------------------------------------------------------------------
Ran 26 tests in 220.072s

OK (skipped=7)
Segmentation fault (core dumped)

> Task :beam-sdks-python:flinkCompatibilityMatrixBatchDOCKER FAILED
:beam-sdks-python:flinkCompatibilityMatrixBatchDOCKER (Thread[Task worker for ':' Thread 3,5,main]) completed. Took 3 mins 47.265 secs.
:beam-sdks-python:flinkCompatibilityMatrixStreamingDOCKER (Thread[Task worker for ':' Thread 3,5,main]) started.

https://builds.apache.org/job/beam_PostCommit_Python_VR_Flink_PR/71/
This excludes the job server as suspect. It rather points to the Python process crashing, after all unit tests run. Please take a look. Is it possible that in the Jenkins environment we are loading additional/different dependencies that cause this?

Run Python Flink ValidatesRunner

Run Python Flink ValidatesRunner

Run Python Flink ValidatesRunner

Run Python Flink ValidatesRunner

@robertwb I wonder if the segmentation faults are in any way related to the signal.alarm(0) in tearDown. That gets executed after the summary line was printed. I added an override here.

If we disable canceling the alarm on teardown, we should probably also disable it on setup.


chore: bdd-sbrp-import-1586712495 to 0.0.1

chore: Promote bdd-sbrp-import-1586712495 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


/ * webpackChunkName："name" * /,How to use variables for "name"?

Bug report

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

Other relevant information:
webpack version:
Node.js version:
Operating System:
Additional tools:

webpackChunkName："name" * /,How to use variables for "name"?, for example:

routeArray.map( (key) => {
return (
<Route
key={ key.name + '-' + index }
path={ key.path }
component={asyncComponent(() => import(/ * webpackChunkName：key.name * /'../pages/' + key.name))}
/>
)
})

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.


[DS-3292] Delete the Item from EditItemServlet doesn't work well

https://jira.duraspace.org/browse/DS-3292
Bug fix for deletion of Item. Pratically if you want to delete an item from all owner collections you don't want to iterate all collections but rather delete it directly.
I searched all references in the code base and I found and fix a similar issue into MetadataImport (untested yet) .

+1 via code review. This looks like an obvious fix to me

+1 by inspection.  Simple and proper.

Approved in DevMtg today. Merging


How the files Resumed?

Question

If a user pause the upload, and continue for tomorrow, How the tus identify the user is same yesterday He was uploaded some portion of the file?
What are the keys used by tus to identify the uploader?
Is it possible to happen any clash while uploading same file(name) different users?

Setup details

Operating System: debian
Used tusd version: latest
Used tusd data storage: AWS S3
Used tusd configuration: -s3-bucket -s3-endpoint -s3-object-prefix -s3-part-size -max-size -timeout 0 -port 1080 -hooks-http -hooks-http-retry -hooks-http-backoff  -hooks-enabled-events pre-create,post-create,post-finish,post-terminate,post-receive -behind-proxy -expose-metrics
Used tus client library: tus-js-client

If a user pause the upload, and continue for tomorrow, How the tus identify the user is same yesterday He was uploaded some portion of the file?

tusd does not "identify" the user. The client is responsible for resuming and each client implementation handles that differently. tus-js-client, for example, creates a fingerprint for each upload and stores the upload URL in local storage to resume an upload.

What are the keys used by tus to identify the uploader?

tusd does not identify the uploader.

Is it possible to happen any clash while uploading same file(name) different users?

No, tusd stores each upload under a different endpoint/location.

Closing this issue due to inactivity. Feel free to leave a comment if you want to continue the discussion :)


Resource is not in the state stackUpdateComplete

Describe the bug
UPDATE_FAILED      authiosgettingstartedb2d588a7 AWS::CloudFormation::Stack Tue Dec 01 2020 13:20:27 GMT+0300 (Arabian Standard Time) Parameters: [hostedUIProviderCreds] must have values
Amplify CLI Version
4.37.0
To Reproduce
Following Getting Started module: Build an iOS Application with AWS
https://aws.amazon.com/getting-started/hands-on/build-ios-app-amplify/module-four/?e=gs2020&p=build-a-react-app-three
Create a GraphQL API Service and Database
Generate Client Side Code
Deploy the API Service and Database > amplify push
Expected behavior
✔ All resources are updated in the cloud
GraphQL endpoint: https://yourid.appsync-api.eu-central-1.amazonaws.com/graphql
Screenshots

Desktop

Mac OS 10.15.7
Node Version v14.15.0

I am getting the same error

I regularly get this error.
I think what I usually do is to do amplify pull to make sure your local backend is synced with the one on the cloud.
Afterwards, make your changes and push again.

probably duplicate https://github.com/aws-amplify/amplify-cli/issues/5942

I regularly get this error.
I think what I usually do is to do amplify pull to make sure your local backend is synced with the one on the cloud.
Afterwards, make your changes and push again.

In this case I did "amplify env add" and created a brand new environment. so there is nothing to pull. I am creating the backend resources for the first time.

I regularly get this error.
I think what I usually do is to do amplify pull to make sure your local backend is synced with the one on the cloud.
Afterwards, make your changes and push again.

Thank you very much. Its work! I thought it is one of the way we manipulate the cloud system, even we have nothing yet on the cloud, but very helpful.

@AshkanHovold feel free to pull and push your project 👍🏼


[Bug report] ClientConfig Broken Theme extends

Description
Child Theme Index.ts:

client.ts:

Error:
Failed to load url /home/node/app/docs/.vuepress/.temp/internal/layoutComponents (resolved id: /home/node/app/docs/.vuepress/.temp/internal/layoutComponents). Does the file exist?

Was fine before this, also the markdown guide states i can do it this way, but still gives the above error, am i doing something wrong?
Reproduction
Reproduction page is outdated with 53 needs to be 58 can't seem to run npm update on it as it throws errors.
Used Package Manager
npm
System Info
System:
    OS: Linux 5.15 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics
    Memory: 2.23 GB / 15.05 GB
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 19.1.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 8.19.3 - /usr/local/bin/npm
  Utilities:
    Git: 2.30.2 - /usr/bin/git
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.58
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.58
    @vuepress/client:  2.0.0-beta.50-pre.1 (2.0.0-beta.58)
    @vuepress/core:  2.0.0-beta.50-pre.1 (2.0.0-beta.58)
    @vuepress/markdown:  1.9.7 (2.0.0-beta.58, 2.0.0-beta.50-pre.1)
    @vuepress/plugin-active-header-links: ^2.0.0-beta.58 => 2.0.0-beta.50-pre.1 (2.0.0-beta.58)
    @vuepress/plugin-back-to-top:  2.0.0-beta.58
    @vuepress/plugin-container:  2.0.0-beta.58
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.58
    @vuepress/plugin-git:  2.0.0-beta.58
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.58
    @vuepress/plugin-nprogress:  2.0.0-beta.58
    @vuepress/plugin-palette:  2.0.0-beta.58
    @vuepress/plugin-prismjs: ^2.0.0-beta.58 => 2.0.0-beta.50-pre.1 (2.0.0-beta.58)
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: ^2.0.0-beta.58 => 2.0.0-beta.50-pre.1
    @vuepress/plugin-search: ^2.0.0-beta.58 => 2.0.0-beta.50-pre.1
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.58
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.50-pre.1 (2.0.0-beta.58)
    @vuepress/theme-default:  2.0.0-beta.58
    @vuepress/utils:  2.0.0-beta.50-pre.1 (2.0.0-beta.58)
    vue: ^3.2.25 => 3.2.45
    vue-loader: Not Found
    vue-router:  4.1.6
    vuepress: ^2.0.0-beta.58 => 2.0.0-beta.58
    vuepress-vite:  2.0.0-beta.58
    vuepress-webpack: Not Found

You should be able to install one with "2.0.0-beta.58"


Duplicate returned documents when using search-alias view

My Environment

ArangoDB Version:  arangodb/enterprise:<IP_ADDRESS> docker image
Deployment Mode: single server
Deployment Strategy:  manual start in docker
Configuration:
Infrastructure:
Operating System: Ubunutu 22.04
Total RAM in your machine:   32gb
Disks in use:  SSD
Used Package:  docker

Component, Query & Data
Affected feature:

AQL Query Behaviour
AQL query (if applicable):
FOR doc IN SearchView
SEARCH (LIKE(doc.representativeString, '%design%') || LIKE(doc.payload, '%design%'))
SORT BM25(doc) DESC,doc.id DESC LIMIT  20
RETURN {representativeString: doc.representativeString,entityClass: doc.entityClass,id: doc.id}

AQL explain and/or profile (if applicable):

Dataset:

A document where the "representativeString" and "payload" attribute contain "design" somewhere in its value.
Size of your Dataset on disk:

Replication Factor & Number of Shards (Cluster only):

Problem:
We have a search-alias view and query it with the AQL seen above. If we have a document that satifies more than one condition of the AQL the document gets returned as many times as a condition is satisfied. Is this expected? If so, is there a way to avoid this behaviour without using DISTINCT at the end?
Expected result:
Get the documents only returned once, no matter how many conditions are satisfied.

@PaulSchult Can you share the index and View definitions?
Duplicate records appear to be returned if different conditions are satisfied by separate indexes, e.g. one index on representativeString and one on payload (although, a combined index on both wouldn't be eligible anyway for OR-combined conditions, would it?)

View Definition:
{
 "type": "search-alias",
 "name": "GlobalSearch",
 "indexes": [
   {
     "collection": "GlobalScript",
     "index": "payload_inv"
   },
   {
     "collection": "GlobalScript",
     "index": "representativeString_inv"
   }
 ],
 "id": "1745",
 "globallyUniqueId": "h5517B11771CD/1745"
}

Index Definitions:
{
  "analyzer": "normalize",
  "cleanupIntervalStep": 2,
  "commitIntervalMsec": 1000,
  "consolidationIntervalMsec": 1000,
  "consolidationPolicy": {
    "type": "tier",
    "segmentsBytesFloor": 2097152,
    "segmentsBytesMax":<PHONE_NUMBER>,
    "segmentsMax": 10,
    "segmentsMin": 1,
    "minScore": 0
  },
  "features": [
    "norm"
  ],
  "fields": [
    {
      "includeAllFields": true,
      "name": "representativeString",
      "searchField": true
    }
  ],
  "figures": {
    "numDocs": 43,
    "numPrimaryDocs": 43,
    "numLiveDocs": 43,
    "numSegments": 1,
    "numFiles": 6,
    "indexSize": 2424
  },
  "id": "GlobalScript/1646",
  "includeAllFields": false,
  "name": "representativeString_inv",
  "optimizeTopK": [],
  "primarySort": {
    "fields": [],
    "compression": "lz4"
  },
  "searchField": false,
  "sparse": true,
  "storedValues": [],
  "trackListPositions": false,
  "type": "inverted",
  "unique": false,
  "version": 1,
  "writebufferActive": 0,
  "writebufferIdle": 64,
  "writebufferSizeMax": 33554432
}

{
  "analyzer": "normalize",
  "cleanupIntervalStep": 2,
  "commitIntervalMsec": 1000,
  "consolidationIntervalMsec": 1000,
  "consolidationPolicy": {
    "type": "tier",
    "segmentsBytesFloor": 2097152,
    "segmentsBytesMax":<PHONE_NUMBER>,
    "segmentsMax": 10,
    "segmentsMin": 1,
    "minScore": 0
  },
  "features": [
    "norm"
  ],
  "fields": [
    {
      "includeAllFields": true,
      "name": "payload",
      "searchField": true
    }
  ],
  "figures": {
    "numDocs": 43,
    "numPrimaryDocs": 43,
    "numLiveDocs": 43,
    "numSegments": 1,
    "numFiles": 6,
    "indexSize": 129376
  },
  "id": "GlobalScript/1621",
  "includeAllFields": false,
  "name": "payload_inv",
  "optimizeTopK": [],
  "primarySort": {
    "fields": [],
    "compression": "lz4"
  },
  "searchField": false,
  "sparse": true,
  "storedValues": [],
  "trackListPositions": false,
  "type": "inverted",
  "unique": false,
  "version": 1,
  "writebufferActive": 0,
  "writebufferIdle": 64,
  "writebufferSizeMax": 33554432
}

I'm not completely sure how a combined index would behave with the search-alias views. But I'll try that next.

When using a combined index with following configuration, I don't get any duplicate documents.
View Definition:
{
  "type": "search-alias",
  "name": "GlobalSearch",
  "indexes": [
    {
      "collection": "GlobalScript",
      "index": "payload_inv"
    }
  ],
  "id": "1484",
  "globallyUniqueId": "h31244153D5CA/1484"
}

Index Definition:
{
  "analyzer": "normalize",
  "cleanupIntervalStep": 2,
  "commitIntervalMsec": 1000,
  "consolidationIntervalMsec": 1000,
  "consolidationPolicy": {
    "type": "tier",
    "segmentsBytesFloor": 2097152,
    "segmentsBytesMax":<PHONE_NUMBER>,
    "segmentsMax": 10,
    "segmentsMin": 1,
    "minScore": 0
  },
  "features": [
    "norm"
  ],
  "fields": [
    {
      "includeAllFields": true,
      "name": "payload",
      "searchField": true
    },
    {
      "includeAllFields": true,
      "name": "representativeString",
      "searchField": true
    }
  ],
  "figures": {
    "numDocs": 43,
    "numPrimaryDocs": 43,
    "numLiveDocs": 43,
    "numSegments": 1,
    "numFiles": 6,
    "indexSize": 130744
  },
  "id": "GlobalScript/1385",
  "includeAllFields": false,
  "name": "payload_inv",
  "optimizeTopK": [],
  "primarySort": {
    "fields": [],
    "compression": "lz4"
  },
  "searchField": false,
  "sparse": true,
  "storedValues": [],
  "trackListPositions": false,
  "type": "inverted",
  "unique": false,
  "version": 1,
  "writebufferActive": 0,
  "writebufferIdle": 64,
  "writebufferSizeMax": 33554432
}

Is this the preferred way to use the search-alias view?
Is there maybe another way to avoid the duplicates then using combined indexes? Because looking forward we want to use the created inverted indexes for further queries and a combined index would probably not work for the future queries.