Is it possible to download/upload files using a proto contract?

Is it possible to make a contract for uploading and downloading files?

Hey Dmitry,
are you familiar with the File API? Once you have a File object from an input field, you can use FileReader's readAsArrayBuffer() to obtain the raw content.
You can use a bytes field in protobuf:
message MyFileToUpload {
  string name = 1;
  bytes content = 2;
}

And simply set the "content" field to the array buffer you have just read (wrap it in a new Uint8Array).
Closing this, but let us know if you encounter any problems.

I probably didn't ask the question correctly, so I'll try again. Is it possible to describe in such a way that it is possible to load a file as if it were a link, not bytes? I understand that I can use readAsDataURL, but then the file will be put in as bytes, but I would like the URL. As an example: https://avatars.githubusercontent.com/u/4289451?v=4

You want to download arbitrary data as a file from your web application? This is a typical problem for many web applications.
I encourage you to take a look at the File API - URL.createObjectURL specifically - but to mind the constraints. Take a look at open source solutions like filesaver.js for solutions for compatibility issues with older browsers. For large payloads, it is advisable to use a resource endpoint that is separate from your regular API so that you can control resource usage (on your servers and in the client) adequately.


max_num_epochs argument has no effect

at inference, one can pass max_num_epochs, but it has no effect.

closed by commit e51978412841228d26fd87b42aa966d884bbeff4


Add step "add to mailing list" to policy for new roles

We talked about this in the Coco meeting and agreed on it already, so one approved review should be sufficient.


Parse JSON request body from boto3

This revision adds code to handle cases when request body is JSON
(typically from boto3). A couple EMR endpoints are updated with boto3
responses and corresponding test cases are added to demonstrate that
it works.
This resolves #707.

Coverage decreased (-0.05%) to 94.273% when pulling 31c68ad245a3b03a6c43a09a8bb81664ef7e7db0 on okomestudio:ts/boto3-json-request-body into 79fe9df6cc58eb1192ae7ceb83ff956e59aa5537 on spulec:master.

Coverage decreased (-0.05%) to 94.273% when pulling 31c68ad245a3b03a6c43a09a8bb81664ef7e7db0 on okomestudio:ts/boto3-json-request-body into 79fe9df6cc58eb1192ae7ceb83ff956e59aa5537 on spulec:master.

Coverage increased (+0.005%) to 94.328% when pulling 86d638c9a7c9616122520ddde653df241c175aad on okomestudio:ts/boto3-json-request-body into 79fe9df6cc58eb1192ae7ceb83ff956e59aa5537 on spulec:master.

Coverage increased (+0.007%) to 94.33% when pulling 020fdb79b97eafd2013b5d4c3e6bd9d1d7ad5a5d on okomestudio:ts/boto3-json-request-body into 79fe9df6cc58eb1192ae7ceb83ff956e59aa5537 on spulec:master.

Closing this in hope of creating another PR that takes care of boto3/JSON requests/responses more generically.


Feature/animation type

I think that this branch is ready for review and testing. Was fun to implement ;)
I have tested all Animations using the Animations Section of the app (it first create the enum from string and then use that enum to launch the animation). So it tests both Enum API and String/IB API ;)
ChangeLog :

AnimationType Redesigned (Usage of Enums with parameters)
Animatable Redesigned to follow AnimationType
AnimationType conforms to IBEnum
Animatable animate now takes an optional AnimationType `view.animate(.squeeze(.in, .up)
Case-Insensitive initialiser from string for Enums so in Interface Builder we can write SQUeeZE(in, UP)
NB :
The only solution i found to support case-insensitive is to put ALL enums rawValues in lower case.
Is there another solution ?

MISSING
AnimationType documentation (if needed).
We also need to think about the retro-compatibility :

Migration Guide ?
Add back old methods like squeezeInUp() ; and put them as deprecated ?
Make old enum values still working but add a run-time log to encourage the migration ?
(#218)

@lastMove I add a checklist item in #218 for "Migration Guide"

Add back old methods like squeezeInUp() ; and put them as deprecated ?

I don't like the idea to keep them since we will have big API changes for version 3. Just let them break and fix in one go. How do you think @tbaranes

Make old enum values still working but add a run-time log to encourage the migration ?

Maybe to hard to do, how about have a mapping table in "Migration Guide"? The user can replace them when they upgrade.
I have a quick look, looks very good. I will have a deeper look tonight. BTW: I merged an Xcode 8 beta 3 PR in, we need to rebase. And I am also working on  https://github.com/JakeLin/IBAnimatable/tree/feature/rebase-release-2-5-to-swift3 to bring IBAnimtable 2.5 to swift3. We need to merge one by one and fix other branch after previous merge.

Nice work @lastMove, the Animatable interface looks really greater 👍
I agree with @JakeLin, let's not support our old types since we are already since the language itself has breaking changes, but we definitely have to do all the breaks in one and only one released!
About the migration, One thing that also could help is to write an "Animation.md" guide similar to "Transitions.md" (including gif...). Then, we can just linked the news docs and explaining quickly what did we change instead of using a mapping table? I'm afraid that the mapping table will just be too big and hard to read.

@lastMove fabulous work 👍👏✌, just have few small comments. Big win to remove 200+ lines of code in Animatable.swift
Agree with @tbaranes we can have a file call  "MigrationGuide.md" to start grouping changes, e.g. changing animationType to _animationsType.

Thanks for your feedbacks guys.
Originally AnimationsViewController was just a try.
So I will make it cleaner.
I will make a PR soon :

Correct the PR according to your remarks
Rebase with the swift3 branch

@lastMove the demo app is good. Since swift3 is using Xcode beta 3, you need to upgrade when you rebase.

I made some last changes :

Remove unnecessary changes
integrate zoomInvert.
Add zoomInvert to the demo app
Improve the demo app (By using iterateEnum no need to manually set all possible values.
this
  let directionParam = ParamType.enumeration(values: ["left", "right", "up", "down"])
becomes
private let directionParam = ParamType(fromEnum: AnimationType.Direction.self)
I think that this PR is ready.

@lastMove You have done a great job 👍. I think the PR is ready to merge. 🎉🎉🎉


I'm sorry, the addition of static weather has failed.

I should have added the static weather according to the style in the example. Here are the steps I followed:

I created a new template file under the template folder specified by the Templater plugin and called it.
The journal file called the template file. All other Templater syntax is generated correctly, except for the static weather which cannot be generated.
I am not sure whether I need to set up the Templater or Banner plugin specially.

I used the syntax from EXAMPLE.md directly in my template, and I also tried calling %weather1% alone, but it didn't work.
---
cssclass: daily
banner: "https://www.bing.com/th?id=OHR.AdelieWPD_EN-US5175747404_1920x1080.jpg&w=1920"
banner_x: 0.0954
banner_y: 0.48572
title: 000 homepage
created: 2023-04-25
author: coffee
banner_icon: 📅
type: journal
webclip: false
tags: [daily_note]
aliases: []
description: Daily Note
obsidianEditingMode: live
---
%weather3%

%weather3%

<%* app.commands.executeCommandById("obsidian-open-weather:replace-template-string")%>

The displayed effect is as shown in the picture, and %weather3% was not recognized correctly.

What do you have in the daily.css file? It is partially working for me.
The <%* app.commands.executeCommandById("obsidian-open-weather:replace-template-string")%> should not be required, I have to check the documentation on that.
The weather information below the image is produced from the %weather3% you have right below the yaml which is probably not what you want..

Can you try using this css and let me know how it looks.
/*====================*/
/* Daily Note Styling */
/*====================*/
.daily {
    padding-left: 25px !important;
    padding-right: 25px !important;
    padding-top: 20px !important;
}

/* Transition Effect Weather One */
.weather_current_1,
.weather_historical_1 {
  transition: 0.3s;
}

/* Transition Effect Weather Two */
.weather_current_2,
.weather_historical_2 {
  transition: 0.3s;
}

/* Transition Effect Weather Three */
.weather_current_3,
.weather_historical_3 {
  transition: 0.3s;
}

/* Transition Effect Weather Four */
.weather_current_4,
.weather_historical_4 {
  transition: 0.3s;
}

/* Historical & Current weather One, Two, Three and Four common settings */
.weather_historical_1, .weather_current_1, .weather_historical_2, .weather_current_2, .weather_historical_3, .weather_current_3, .weather_historical_4, .weather_current_4 {
    display: flex;
    float: left;
    clear: left;
    align-items: center;
    top: 80px;
    left: 35px;
    position: absolute;
    font-family: monospace;
    font-size: 14pt !important;
    margin: 10px 5px;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 3px 3px 2px #414654;
    cursor: pointer;
}

/* Historical weather at top of the document over banner */
.weather_historical_1, .weather_historical_2, .weather_historical_3, .weather_historical_4 {
    color: #d0dce9;
    background-color: #0d3d56;
}

/* Current weather at top of the document over banner */
.weather_current_1, .weather_current_2, .weather_current_3, .weather_current_4 {
    color: #c4caa5;
    background-color: #133e2c;
    opacity: 0;
}

/* Show Current weather One on hover */
.weather_current_1:hover {
    opacity: 1;
}

/* Show Current weather Two on hover */
.weather_current_2:hover {
    opacity: 1;
}

/* Show Current weather Three on hover */
.weather_current_3:hover {
    opacity: 1;
}

/* Show Current weather Four on hover */
.weather_current_4:hover {
    opacity: 1;
}

/* Daily Note Name H6 Styling (YYYY-MM-DD) */
.daily h6 {
    font-size: 1.75em;
    color: #4cbf90;
    border-width: 1px;
    padding-bottom: 3px;
    text-align: center;
}

/* Daily Note Date H5 Styling (🔹 Thursday 🔹 10th November 🔹 2022 🔹) */
.daily h5 {
    font-size: 1.25em;
    color: #23a49d;
    border-width: 1px;
    padding-bottom: 3px;
    text-align: center;
}

/* Hide the frontmatter for Daily Notes */
.daily .frontmatter-container {
    display: none;
}

The screenshot above shows the use of this CSS.
The key point is the following two calls, which are not parsed in the template:
%weather3%

%weather3%

Yes I see what you are saying now. Those both should be converted automatically. Try closing the tab and re-opening the file, one of the triggers to convert them is on file open. Also, do they convert if you run the command manually - Replace template strings from the command palette or from the icon on the left sidebar?
I'm suspect that it may be another plugin that is interfering with this. I just tried your template in an empty vault with only the OpenWeather plugin installed and nothing else and it works just fine.
If you have the time, can you try creating a new empty vault and install just the OpenWeather plugin (and Banners plugin) and add and activate the css file as well and see if it works in that vault.
Also, what OS are you running this on. I only have windows 10 to test this on although it should run fine on mac without issues.

One other thing, can you check the settings and see what the Exclude Folder setting is set to. If your file is in that folder or any sub-folder below it the template strings will not be converted.

After researching for half an hour, I solved the problem。
I created an empty vault and installed only three plugins: Banners, OpenWeather, and Templater.
Through testing and research, I discovered that static weather text can be effective. However, there is one important thing to note regarding the settings of the OpenWeather plugin and the Exclude Folder .
Initially, I left the exclusion folder empty. However, after testing, I found that this caused issues not only with generating weather in static text but also with intermittent failures in dynamic text.
To avoid these problems, I recommend setting the Exclude Folder to the template path specified by the Templater plugin. This way, templates under the Templater plugin will not be automatically replaced, and static weather will be valid under Templater templates.
Thank you very much for your answer. The plugin is excellent, keep up the good work!
I will continue to record vlogs in the near future to recommend this plugin.

Thanks for doing all these tests, it has been a huge help!
The line %* app.commands.executeCommandById("obsidian-open-weather:replace-template-string")%> in my example document is a holdover from an earlier version which relied on the Templater plugin. I have since removed all dependency on Templater and it works fine without being installed now. I definitely will update the documentation to remove that.
When I added the exclude folder option I originally meant to set a default folder but somehow that slipped past me. That will be added in the next update. You can set a default template folder in the Obsidian core plugins as well as in the Templater plugin so I will have it first check one, then the other and use the setting it finds. If no setting is found I will popup a notice to inform the user to set one in the settings.
Thanks again for your assistance in testing this, it has been a great help to me, William.


[BUG] Path does not  get highlighted.

Paths in the form of foo/bar do get highlighted correctly.
https://github.com/willmcgugan/rich/blob/62b00db0d2f130cc0087a7a50c80bfbaaed66218/rich/highlighter.py#L114
I suppose this is a bug, not a feature.

I assume you mean do not get highlighted correctly.
The problem is that it is ambiguous, is "foo/bar/baz" a path or a math expression? See the docs how to implement a highlighter if you need relative paths highlighted.

I see. I did not notice that form could be interpreted as a math expreesion. Thanks for pointing this out.


Data release timeline

First of all, thank the authors for their extremely valuable contribution to the research community. I was wondering when will the data be released?

Thanks for checking. We have uploaded the dataset.
In a couple of weeks, we will also be uploading some accompanying code to load the data and a domain library to verify the syntax of any plans/generated-code.


Add configurations to universal loader

Coverage increased (+0.07%) to 91.068% when pulling a6326a69b50b2d014f90f25b61eb325e796207cb on jansav:master into 5be1d4d53a1ac65bd63aef9f56b78276c5d04b83 on Houston-Inc:master.


[Question] Disable debug log

How can I disable the debug log in the unity console?

Hi, from Window -> WakaTime -> uncheck Debug -> save preferences.


Automatic PR from RestAPI-PR927

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/927

Codecov Report

Merging #991 into master will decrease coverage by -0.05%.

@@            Coverage Diff             @@
##           master     #991      +/-   ##
==========================================
- Coverage   57.85%   57.81%   -0.05%
==========================================
  Files        1923     1925       +2
  Lines       53188    53249      +61
==========================================
+ Hits        30773    30785      +12
- Misses      22415    22464      +49

Impacted Files
Coverage Δ

.../azure/mgmt/datalake/store/models/firewall_rule.py
62.5% <ø> (ø)
:white_check_mark:

.../mgmt/datalake/store/models/trusted_id_provider.py
71.42% <ø> (ø)
:white_check_mark:

...odels/data_lake_store_account_update_parameters.py
100% <100%> (ø)
:white_check_mark:

...t/datalake/store/models/data_lake_store_account.py
100% <100%> (ø)
:white_check_mark:

...store/data_lake_store_account_management_client.py
97.22% <100%> (-0.34%)
:x:

...data_lake_store_account_management_client_enums.py
100% <100%> (ø)
:white_check_mark:

...store/azure/mgmt/datalake/store/models/init.py
100% <100%> (ø)
:white_check_mark:

...lake/store/operations/firewall_rules_operations.py
14.15% <4.16%> (-2.93%)
:x:

...tore/operations/trusted_id_providers_operations.py
14.01% <4.16%> (-2.85%)
:x:

...ke/store/models/update_firewall_rule_parameters.py
66.66% <66.66%> (ø)

... and 3 more

Continue to review full report at Codecov.

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


Refactor email test with table-driven test and add more cases

Fixes Or Enhances
Added a few test cases around domains that contain number. One thing I realized was validator currently reject address like example.com1 which I believe is allowed per RFC but practically doesn't exist in IANA list. I wasn't sure if it's bug or feature, but at least having test case make it obvious for future reader.
Also refactored TestEmail to use Table Driven Test to avoid code duplication and make test result obvious. Before this, test failed with --- FAIL: TestEmail (0.00s), now it will be like
    --- PASS<EMAIL_ADDRESS>(0.00s)
    --- PASS<EMAIL_ADDRESS>(0.00s)
    --- FAIL<EMAIL_ADDRESS>(0.00s)

Make sure that you've checked the boxes below before you submit PR:

[x] Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

coverage: 74.291%. remained the same
when pulling ea408f3f5029ec201885d9a92d11b866ee0d7328 on daisy1754:kazuki/more_email_test
into a947377040f8ebaee09f20d09a745ec369396793 on go-playground:master.


[Suggestion] Chocolate Milk, removes negative effects only

Chocolate Milk. Like the milk, but when drunk will remove only bad effects.
Can be created in a Cauldron

I cannot see myself adding this specifically. Part of the weakness of milk is it removes positive effects, cocoa beans are much too cheap to remove that weakness. I could see myself adding chocolate milk in the future, just not with this specific function

@Insane-96 the mod bird's foods has what you're looking for , several instances of the effect you're after actually.


Added logging statements.

Coverage increased (+0.02%) to 99.168% when pulling 973fcceceb166b64e9b54dddd61a9c7bf5e62b99 on feature/addLoggingStatements into 9b26dc2f637f3f57170cf05c63250693622a5b6c on master.


[Snyk] Security upgrade nginx from 1.13.2 to 1.27

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 3 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

base/nginx/1.13.2/Dockerfile

We recommend upgrading to nginx:1.27, as this image has only 93 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Out-of-Bounds SNYK-DEBIAN9-GLIBC-356506
  786

Out-of-Bounds SNYK-DEBIAN9-GLIBC-356506
  786

Out-of-Bounds SNYK-DEBIAN9-GLIBC-356506
  786

Out-of-bounds Write SNYK-DEBIAN9-LIBGD2-382975
  786

Out-of-bounds Write SNYK-DEBIAN9-FREETYPE-1019584
  729

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Checkmarx One – Scan Summary & Details – 53ae30bb-150b-452b-8d7d-e24e44132610
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-36415
Python-azure-identity-1.13.0
Vulnerable Package

CVE-2024-36039
Python-PyMySQL-1.1.0
Vulnerable Package

CVE-2024-29857
Maven-org.bouncycastle:bcprov-jdk15on-1.68
Vulnerable Package

CVE-2024-29857
Maven-org.bouncycastle:bcprov-jdk15on-1.64
Vulnerable Package

CVE-2024-30171
Maven-org.bouncycastle:bcprov-jdk15on-1.64
Vulnerable Package

CVE-2024-30171
Maven-org.bouncycastle:bcprov-jdk15on-1.68
Vulnerable Package

CVE-2024-30172
Maven-org.bouncycastle:bcprov-jdk15on-1.64
Vulnerable Package

CVE-2024-30172
Maven-org.bouncycastle:bcprov-jdk15on-1.68
Vulnerable Package

CVE-2024-35195
Python-requests-2.26.0
Vulnerable Package

CVE-2024-35195
Python-requests-2.31.0
Vulnerable Package

CVE-2024-37891
Python-urllib3-1.26.16
Vulnerable Package

Path_Traversal
/base/oracle-java/utils/list-versions.py: 57
Attack Vector

Fixed Issues

Severity
Issue
Source File / Package

CVE-2023-41164
Python-Django-4.1.10

CVE-2023-43665
Python-Django-4.1.10

CVE-2023-46695
Python-Django-4.1.10

CVE-2024-27351
Python-Django-4.1.10

Client_DOM_XSS
/electron/CVE-2018-15685/src/index.html: 17

CVE-2007-2379
Maven-org.webjars:jquery-3.1.0

CVE-2014-6071
Maven-org.webjars:jquery-3.1.0

CVE-2024-21506
Python-pymongo-4.4.1

Client_Potential_XSS
/electron/CVE-2018-15685/src/index.html: 17

Path_Traversal
/python/PIL-CVE-2017-8291/app.py: 37

Path_Traversal
/base/oracle-java/utils/list-versions.py: 57


Add support for configurable LDK network

this allows setting a LDK_NETWORK, LDK_ESPLORA_SERVER, LDK_GOSSIP_SOURCE env variable to configure the network
this is a breaking change as it is using now network specific directories. Is it OK to require moving the current dir, or should we make this backwards compatible

This is also a problem if you change your seed because the current ldk folder will prevent the app from starting since the seed changed. If we make the change I think it would be nice to also fix the seed issue. See https://github.com/getAlby/nostr-wallet-connect-next/issues/71
How was your experience with MutinyNet and who did you open channels with? I think we could test the c= LSP.

@bumi I think it would be best to just keep the current directory and not do a breaking change.
I think it's the same as you answered here: https://github.com/getAlby/nostr-wallet-connect-next/issues/71. As a developer we can rename or backup our old one so it doesn't conflict.


WIP: Rewrite eBPF profiler in Rust

Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>So WIP that it hasn't been run yet! Also, this is just an EXPERIMENT.

We use C for writing eBPF programs that live in kernel-space in Parca Agent. The act of writing C programs in an error-prone process. And the language itself has lots of ways to shoot oneself in the foot. Even though the eBPF verifier makes life a lot easier, it is still possible to write unsafe programs. Or when you make a mistake and the verifier doesn’t give the green light to the program, it is hard to pinpoint the mistakes that you made that can be preventable with simple compile-time checks (memory overflows, type-checking). The goal is to use Rust to write eBPF programs to provide more compile-time checks for safety and security.

Just curious any reason behind this? Is the golang agent not performant enough or it is simply because rust is cooler?

@yeya24 Hahaha, none of the above. I have updated the description for you. The gist of it, we would like to try Rust as an alternative to the C program we us in kernel-space. The idea is to guarantee more safety by preventing mistakes.

Got it. I made a mistake and you are just rewriting the kernel side ebpf collector. This makes sense to me. Thanks for the explanation.

cc @dave-tucker

PTAL @v-thakkar @Sylfrena @javierhonduco


[Tooling] Flow runner spins forever if server crashes before response of streaming flow.

Describe the bug
If the underlying reflection server crashes before a response is received, the flow runner spins forever. It should probably have some kind of timeout / mechanism to show this as an error instead.
To Reproduce
Steps to reproduce the behavior:

Build a streaming flow.
Run it from the flow runner.
Before it completes, crash the server.
The UI spins forever.

Expected behavior
An error message or timeout.

No longer reproducable. A proper error message is shown immediately in a callout now once the server is crashed:


Unfortunately fails with the OpenSSL crypto error

→ npm start                                                                                ▸  Tue Aug 23, 05:17:50 

><EMAIL_ADDRESS>start
> webpack-dev-server --mode=development

(node:27368) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
ℹ ｢wds｣: Project is running at http://localhost:8080/
ℹ ｢wds｣: webpack output is served from /
ℹ ｢wds｣: Content not from webpack is served from /home/guest/dir/HDRI-to-CubeMap/public
ℹ ｢wds｣: 404s will fallback to /index.html
node:internal/crypto/hash:67
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)
    at module.exports (/home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/util/createHash.js:90:53)
    at NormalModule._initBuildHash (/home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/NormalModule.js:384:16)
    at handleParseError (/home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/NormalModule.js:432:10)
    at /home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/NormalModule.js:464:5
    at /home/guest/dir/HDRI-to-CubeMap/node_modules/webpack/lib/NormalModule.js:325:12
    at /home/guest/dir/HDRI-to-CubeMap/node_modules/loader-runner/lib/LoaderRunner.js:370:3
    at iterateNormalLoaders (/home/guest/dir/HDRI-to-CubeMap/node_modules/loader-runner/lib/LoaderRunner.js:211:10)
    at Array.<anonymous> (/home/guest/dir/HDRI-to-CubeMap/node_modules/loader-runner/lib/LoaderRunner.js:202:4) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v17.0.1

How to fix it?
Thanks for the greatest service!

@ProgrammingLife it should be enough to run npm update, in order to solve this error. (Because the package-lock was generated with an old node version)

I refactored the project as an effort to maintain it https://github.com/hichemfantar/hdri-to-cubemap-converter
feel free to leave a star ⭐


Accessibility report fixes

Errors section

[ ] Link to github is incorrect https://github.com/usds/justice40-tool/crisis-at-home-and-abroad/ should be https://github.com/usds/justice40-tool/

[ ] report tool doesn't have the following words in it's dictionary and thinks they are typos: datasets dataset github. Probably should add to the tool?

[ ] /static/sourcesanspro-italic-webfont.woff2
This is a USWDS referenced font that I don't think is used. It is referenced in the css. May indicate a build issue or may just be unused and tree shaken removed by build.

@font-face {
  font-display: fallback;
  font-family: Source Sans Pro Web;
  font-style: italic;
  font-weight: 400;

Accessibility Section
Level A

[ ] duplicate id main-content in same page
[ ] duplicate title across multiple pages Justice40 Each page should have a unique title
[ ]  appears in the layout.tsx and some pages like cejst.txt and 404.tsx
[ ] Missing lang attribute for English pages. Note: Helmet is setting but doing so in the J40Header. Maybe move this up to the layout.tsx?

Level AA

[ ] If you set any of the colors on the body or a elements you must set all of them. background: rgb(239,246,251) aka #eff3fb This is the background color of our  Not sure th fix. Don't have background colors? There may be foreground elements that are white rgb(255,255,255) somewhere here?

See suggestion

In HTML the color attributes are text, bgcolor, link, alink and vlink. In CSS the attributes are color and background-color. Some users have browser defaults set to white text on a black background, so setting one color without setting the others can result in black text on a black background. High contrast mode on Windows turns off background images so you must set a background-color in addition to a background-image.

[ ] Add a sitemap (there's a gatsby plugin)

[ ] The CSS outline or border style on this element makes it difficult or impossible to see the dotted link focus outline. Think this is just something in the USWDS css file and "how it's done"?

See suggestion

Change the style to avoid obscuring the focus outline around focusable elements.
Using a border or outline style that obscures the focus ring causes problems for keyboard-only users in:

Chrome (obscures the focus indicator on links, buttons, dropdowns and range controls)
Firefox (obscures the focus indicator on links)
Internet Explorer (obscures the focus indicator on links, buttons and range controls)
Internet Explorer does not support the outline-offset: property, so using this does not reliably avoid focus outline overlap.

Level AA

[ ] Avoid specifying a new window as the target of a link with target=_blank.  This is done for links leading to external pages. We've considered having an interstitial page warning when leaving website. This should probably be a separate bug/checkin.
[ ] Each section of content should begin with a heading element (h1, h2, h3), but this page has no headings. Probably should have only a single  in header clean up h2, h3, etc. index page seems to be the issue.

Compatibility
Most items in this section are for IE. Some are for mobile browsers. Suspect the complaints like display: flex, filter:, mask: not supported by mobile browsers or IE either have reasonable fallbacks or can't be fixed.
SEO
Priority 1 and 2 items are mentioned above.

[ ] Missing meta tags: Description, Keywords

Standards
Priority 1

[ ] A document must not include more than one meta element with a charset attribute
[ ] An img element with alt='' can only have role=presentation or role=none
[ ] Element div not allowed as child element in this context
[ ] Invalid value for CSS property appearance: menulist
[ ] Invalid CSS url()

See Suggestions

background-image: data:image/svg+xml; content: data:image/svg+xml; background-image: data:image/svg+xml; background-image: data:image/svg+xml; background-image: data:image/svg+xml;

Priority 2

[ ] The banner role is unnecessary for element header
[ ] The main role is unnecessary for element main
[ ] Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections. (🤷 without useful line numbers)

Usability
Priority 1

[ ] Have a link labeled 'Home' on every page on the site, except for the home page. Note: we can turn the logo into a linked home page.

Priority 2
Most of these are (🤷 without useful line numbers)

[ ] Avoid underlined text - people will click on it and think it's a broken link.
[ ] Do not create or direct users into pages that have no navigational options. No links out of these pages found.
[ ] Omitting img width or height attributes makes the page layout jump about as images load
[ ] Provide a search option on each page of content-rich web sites

Priority 3

[ ] Use at least a 12-point font on all web pages

See suggestion

Other examples of how to integrate with CI https://accessibility.civicactions.com/posts/how-we-scale-inclusive-website-content-with-automated-testing-and-open-source-tools


fixnohttpresponseexception parameter

Hi
I using "fixnohttpresponseexception" parameter (true)
new AsyncHttpClient(true,80,443);

And i using https link for get my xml.
Question : This option use https security or http?

it does skip verifying the https certificate, that's the meaning of option fixNoHttpResponseException
It does not enforce using HTTPS for your requests.


[DOC] Create documentation for _index APIs

What do you want to do?

[ ] Request a change to existing documentation
[x ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
 PUT /<index>/_create/
POST /<index>/_create/
HEAD /<index>/_doc/<id>
HEAD /<index>/_source/<id>
GET /<index>/_source/<id> // deprecated (per Nate)
PUT /<index>/_block/<block>
HEAD /<index>

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

PUT /<index>/_create/, POST /<index>/_create/,HEAD /<index>/_doc/<id> are documented here :https://opensearch.org/docs/latest/api-reference/document-apis/index-document/
HEAD /<index>/_source/<id>, GET /<index>/_source/<id> is documented but missing important description information: https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/
PUT /<index>/_block/<block> is missing
HEAD /<index>: Exists https://opensearch.org/docs/latest/api-reference/index-apis/exists/


Profile Lookup solution

Issue: #2
How to run:

Start the script
Enter the contact's name and the field when prompted

Clean logic. With python it reads like a manual!
Sent with GitHawk


Fix issue with concurrent pages build

Previously, GitHub was cancelling any previous pages build, even though it should only have done so for pushs, not PR builds. (see https://github.com/orgs/community/discussions/49963)
Switch to including the Git ref in the concurrency group so that each branch builds independently.
This means pages builds to the main branch will be in-order, with any older builds being auto-cancelled.
While PR builds will build independently. With each PR in its own concurrency group. Older builds within the same PR will be cancelled, but the PR itself will always have its most recent pages build left to run.
Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Changes Unknown when pulling f3c96856690c42948316aba27e2e276a15099688 on concurrent-pages-build into ** on main**.


Get template from moduleSchema

Purpose
closes #94

Making use of the embedded schemas in the module to simplify the user flow. The front end also displays the schema template to the user now.

Changes

When the user checks the Use Module from Step 1 checkbox, the input parameter schema is extracted from the uploaded module (in case the module has an embedded schema). The template of this embedded input parameter schema is shown to the user. No manual upload of the schema is needed anymore in this case.

The template of the schema is also displayed when the user manually uploads a schema.bin file, a corresponding/valid contract_name has to be given at the same time for the front end to display the schema.

Scope: Extracting embedded schemas and the template display works from myContract.wasm.v1/schema.bin files that are created with the current Concordium tooling. It was decided to be out of scope to investigate if it works for very old modules/schemas that were created in the past since it won't add a lot of value (most users want to deploy a module that they currently actively develop)

The new SDK have been released now :upside_down_face:
(So we should be able to avoid copying around the SDK)

The new SDK have been released now upside_down_face (So we should be able to avoid copying around the SDK)

Updated the SDK :rocket:

It would be better if we could automatically refresh the schema template if I upload a new module, but that can be done in a followup work.

I am not fully convinced that is the best behavior when we upload a new module that the schema template, smart contract names, module reference are automatically refreshed or get changed. I want to either refresh all three things or none of them automatically to avoid confusion.

I try to minimize any change to the input parameter values that happen automatically since it can be confusing for a new user (e.g. a new user might not know/understand that the embedded schema comes from the module that was uploaded in step 1). When input values are changed automatically then also there is a risk that you initialize a transaction with some values that you have not explicitly set (because they have changed to what you have set).
When the user has to explicitly check the use module from step 1, I hope the user is more aware that some input values are now automatically changed/updated.

It would be better if we could automatically refresh the schema template if I upload a new module, but that can be done in a followup work.

I am not fully convinced that is the best behavior when we upload a new module that the schema template, smart contract names, module reference are automatically refreshed or get changed. I want to either refresh all three things or none of them automatically to avoid confusion.
I try to minimize any change to the input field (or text area) values that happen automatically since it can be confusing for a new user (e.g. a new user might not know/understand that the embedded schema comes from the module that was uploaded in step 1). When input values are changed automatically then also there is a risk that you initialize a transaction with some values that you have not explicitly set (because they have changed to what you have set). When the user has to explicitly check the use module from step 1, I hope the user is more aware that some values are now automatically changed/updated.
Let's discuss it and maybe we can work on an expert mode for the front-end that automatically refreshes values.

That sounds reasonable a design. Instead of automatically updating then, just making sure that it is visible that potential dependencies changed would help.
But as I wrote before, this can be done in followup work.


Add T-State factory

Adds a simple 15-to-1 T-state factory class that extends the MagicStateFactory class
Adds a new method spacetime_footprint to the MagicStateFactory which should return the spacetime consumed per single magic state created. This is the quantity used to compare and pick a factory in https://arxiv.org/abs/2211.07629

part of https://github.com/quantumlib/Qualtran/issues/269

on another thought I don't think we need this atm. We should implement a proper T factory representation at some point. but for the reproduction of the azure model we don't need this


append empty iter to table bug

odo(it, table) should return table even when it is empty

LGTM.

I think there were conflicts after merging the other pr.

Yes, there was a conflict in the whatsnew document; I resolved locally.
BTW, the python 2.7 travis failures are related to a strange checksum error with the anaconda cluster channel and spark 1.3.  I'm taking it up internally here to resolve, and I'm testing the python 2.7 stuff manually.  Will keep you updated.

Thanks


New mocker styles to support swift 3; also nimble extensions

Very cool; thanks for updating Swiftlibs for Swift 3.0. Also matchers are a great addition. If you'd consider recompiling the production and dev libraries then we could bump the version number.
I'll note that the private/underscore convention wasn't maintained (or the rest of the codebase updated), but it's not a terribly big deal. In the future, consider maintaining the convention or changing the convention for the rest of the project so that it's uniform.


pc run fails on WSL2

Hi,
OS: Ubuntu on WSL2 on Win10
Env: virtualenv with pynecone installed
NodeJS 16.18.1
Python 3.8.10
I just tried pynecone (pc init and pc run) and I have this error:
(.venv) matt@wsl2:~/projects/git/pynecone$ pc init
[21:03:20] Initialize the app directory.                                                                                pc.py:31
           Initializing the web directory.                                                                                pc.py:47
           Finished Initializing: pynecone                                                                                pc.py:51
(.venv) matt@wsl2:~/projects/git/pynecone$ pc run
───────────────────────────────────────────────────────────────────────────────────────────── Starting Pynecone App ─────────────────────────────────────────────────────────────────────────────────────────────
Traceback (most recent call last):
  File "/home/matt/projects/git/pynecone/.venv/bin/pc", line 8, in <module>
    sys.exit(main())
  File "/home/matt/projects/git/pynecone/.venv/lib/python3.8/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/home/matt/projects/git/pynecone/.venv/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/matt/projects/git/pynecone/.venv/lib/python3.8/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/matt/projects/git/pynecone/.venv/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/matt/projects/git/pynecone/.venv/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/matt/projects/git/pynecone/.venv/lib/python3.8/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/matt/projects/git/pynecone/.venv/lib/python3.8/site-packages/typer/main.py", line 532, in wrapper
    return callback(**use_params)  # type: ignore
  File "/home/matt/projects/git/pynecone/.venv/lib/python3.8/site-packages/pynecone/pc.py", line 68, in run
    app = utils.get_app()
  File "/home/matt/projects/git/pynecone/.venv/lib/python3.8/site-packages/pynecone/utils.py", line 314, in get_app
    app = __import__(module, fromlist=(constants.APP_VAR,))
ModuleNotFoundError: No module named 'pynecone.pynecone'

pip freeze
anyio==3.6.2
async-timeout==4.0.2
certifi==2022.12.7
charset-normalizer==2.1.1
click==8.1.3
commonmark==0.9.1
fastapi==0.88.0
greenlet==2.0.1
gunicorn==20.1.0
h11==0.14.0
idna==3.4
plotly==5.11.0
pydantic==1.10.2
Pygments==2.13.0
pynecone-io==0.1.8
redis==4.4.0
requests==2.28.1
rich==12.6.0
sniffio==1.3.0
SQLAlchemy==1.4.41
sqlalchemy2-stubs==0.0.2a29
sqlmodel==0.0.8
starlette==0.22.0
tenacity==8.1.0
typer==0.4.2
typing-extensions==4.4.0
urllib3==1.26.13
uvicorn==0.20.0

Any idea

ok, a subdirectory is needed....

Hey! I think the issue is that you named your project pynecone. This makes the imports get confused - try naming it something else.
This has been a common issue actually, I'll make a warning in the next version to catch this.

ah ah good point :D Thanks !

if there a way to run the server on <IP_ADDRESS> rather than localhost? Else not sure how to access it from WSL...

Thanks works well now from WSL!

Oh, how did you resolve the host issue, I'm curious

Oh, how did you resolve the host issue, I'm curious
Glad to hear its working though!

What host issue? WSL will automaticlly let the virtual machine use host network, it behaviors just like host network in Docker, I think.
So type http://localhost:3000 and it just work.

Nah, not sure what happened (some firewall issue.. thanks McAfee), it works using the WSL eth0 IP address (http://172....:3000)


feat(server/bullmq): remove all finalized jobs by default

What this PR does

Adds removal of all finalized jobs (completed and failed) from Redis cache by default.
Adds bullmq to config, so that users can configure removeOnComplete and removeOnFail
Closes #2996

coverage: 94.054%. remained the same when pulling a7698e4aba75fdaa5b1a37608af631209432c66d on derrick-remove-finalized-bullmq-jobs into 3f32be5f4ef42b6de28c3776273e0d058d33de0b on main.


semconv_grouped_metrics group by root namespace uses group.id instead of metric_name to determine root namespace

Try excluding v8js namespace
params:
  excluded_namespaces: [v8js]

templates:
  - pattern: semantic_metrics.j2
    filter: >
      semconv_grouped_metrics({
        "exclude_root_namespace": $excluded_namespaces
      })

As a result, v8js metrics will be generated in the file veightjs - since that's what is used in the group name.
Workaround
use excluded_namespaces: [v8js, veightjs]
(v8js is still needed because for attribute, root namespace is determined correctly)
Expected behavior
Group ID is not used to determine root namespace
Additional context
https://github.com/open-telemetry/semantic-conventions/pull/1314

Same problem on events + both use group id to filter deprecated things:
https://github.com/open-telemetry/weaver/blob/4886aaf17e0f6b6d0725add2f3f793d25dd448ad/defaults/jq/semconv.jq#L70C20-L70C23

this is no longer relevant with https://github.com/open-telemetry/semantic-conventions/pull/1512


Update README.md

Update example code to use black instead of white (white on white - like in your video)

Thanks :)


ADA deposit issue

from: https://forum.cardanohub.org/t/how-long-does-confirmation-suppose-to-take/4047
hey guys how long does confirmation suppose to take ? mine is stuck at 19 for 7 days now
i have tried to transfer some ADA to Bittrex account
and withdraw was done with no issue
deposit status, mine is stuck at confirmation 19/20
i know transaction might take time but its stuck for 7days now
looked up block explorer, address,txid were all fine
i don’t know wat to do with this issue, try to reach out to Bittrex, but no response for 6 days now
anybody else had this issue before ?
or know the reason why it happen?
transaction ID is below
9758df313c304d4da50e3b1793b86cd169ccd0379ea19e49a4609b0b9e3a6405
↑ nice uploaded this for me.
myself re-uploading same issue for the tracking purpose.

dude i've already open 1 for you, oh well i'll just close it

My bad. But i reuploaded it since people who wld help me need transacation id at least. TT


[size] Figure out how to remove drawRect calls from drawChar

These get compiled in and waste space for anyone not using enlarged font sizes. This uses 216 bytes extra just to compile in drawRect and all it's dependencies when it's never used.
Not sure about the best fix here, but open to suggestion.

Funny as it looks you can save 100+ bytes by removing all the special casing between drawing different sizes:
    for (int8_t j = 0; j<8; j++)
    {
      draw_color = (line & 0x1) ? color : bg;

      if (draw_color || draw_bg) {
        for (uint8_t a=0; a < size; a++ )
          for (uint8_t b=0; b < size; b++ )
            drawPixel(x+(i*size)+a, y+(j*size)+a, draw_color);
      }

      line >>= 1;
    }

Objections?

Ping.

How does it change the look between font sizes?

It doesn't change the look.

Creating PR, closing.


feat: update terminal tab loading style

Types

[x] 💄 Style Changes

Background or solution
https://user-images.githubusercontent.com/17701805/159620580-8efb4401-5509-4ff0-99cb-68c36ceaeeaa.mp4
Changelog

update terminal tab loading style

Codecov Report

Merging #708 (39d4efd) into main (74f341d) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #708   +/-   ##
=======================================
  Coverage   58.63%   58.63%
=======================================
  Files        1209     1209
  Lines       74797    74797
  Branches    15529    15529
=======================================
  Hits        43857    43857
  Misses      28202    28202
  Partials     2738     2738

Impacted Files
Coverage Δ

...kages/terminal-next/src/browser/terminal.client.ts
74.58% <100.00%> (ø)

Continue to review full report at Codecov.

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


Audit the various test data sets

All the test data comming from OSM, natural earth, etc. should be removed from our repository (i.e. replaced by synthetic data), or moved in a separate 'non-free' module excluded from the release.

Closed by #841


[EM] Prevent init with CUDA malloc resource.

Make thrust::fill_n optional.
Add NVTX utilities for improved profiling.

cc @rongou
Note: failing tests are unrelated.


espeak_TextToPhonemesWithTerminator not upstream

Hi,
I'm trying to package piper-tts for openSUSE right now.

Is there a reason that espeak_TextToPhonemesWithTerminator() has not been submitted upstream to espeak-ng?
I've changed the CMakeLists.txt so I can build with system libraries, would you accept a patch for this?

https://build.opensuse.org/package/show/home:gladiac/piper-phonemize
https://build.opensuse.org/package/show/home:gladiac/piper-tts

The strange thing is that the prototype of TranslateClauseWithTerminator() made it upstream: https://github.com/espeak-ng/espeak-ng/pull/1811

I've open a pull request for cmake improvements: https://github.com/rhasspy/piper-phonemize/pull/31

https://github.com/espeak-ng/espeak-ng/pull/1878

Where is the espeak_TextToPhonemesWithTerminator though, it's still missing in espeak-ng

Where is the espeak_TextToPhonemesWithTerminator though, it's still missing in espeak-ng

rhasspy/espeak-ng checkout this

Where is the espeak_TextToPhonemesWithTerminator though, it's still missing in espeak-ng

rhasspy/espeak-ng checkout this

Thank you for your reply! But I still cannot find it there https://github.com/search?q=repo%3Arhasspy%2Fespeak-phonemizer espeak_TextToPhonemesWithTerminator&type=code


Internet Explorer 11 - Drag / Drop functionality broken

I'm currently using version Ember File Upload 2.4.2 and it appears that the Drag / Drop functionality in IE 11 does not work.
I get the following error when attempting to use the feature:

SCRIPT5007: Unable to get property 'length' of undefined or null reference

This is the offending line of code: https://github.com/tim-evans/ember-file-upload/blob/latest/addon/system/drag-listener.js#L107
I compared the DataTransfer object in both IE and Chrome and it looks like the items variable of type DataTransferItemList is missing in IE.  Upon further investigation, it looks like this object is not supported in IE.
See: https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItemList

This issue may also be related to https://github.com/tim-evans/ember-file-upload/issues/136 as DataTransferItemList is not supported in Safari either.

I rolled back to<EMAIL_ADDRESS>and the Drag / Drop feature still didn't work for me with IE.  So it seems there is something in the core logic outside of DataTransferItemList that needs to be fixed.  I will do some more troubleshooting next week and see if I can find some more information.

I did some more debugging.  For me, the findListener method is not able to find the drop listener.
https://github.com/tim-evans/ember-file-upload/blob/latest/addon/system/drag-listener.js#L88
I am using a setup similar to the example in the README:
{{#file-dropzone name="photos" as |dropzone queue|}}
  {{#if dropzone.active}}
    {{#if dropzone.valid}}
      Drop to upload
    {{else}}
      Invalid
    {{/if}}
  {{else if queue.files.length}}
    Uploading {{queue.files.length}} files. ({{queue.progress}}%)
  {{else}}

Upload Images

      {{#if dropzone.supported}}
        Drag and drop images onto this area to upload them or
      {{/if}}
      {{#file-upload name="photos"
                     accept="image/*"
                     multiple=true
                     onfileadd=(route-action "uploadImage")}}
        Add an Image.
      {{/file-upload}}

  {{/if}}
{{/file-dropzone}}

Basically, in IE the element object is one div tag (id=ember2) and evt.target is another (id=ember1):

For some reason in IE, element is the child and evt.target is the parent, so element.contains(evt.target)  will always evaluate to false as the child cannot contain the parent.  I added the inverse condition and it fixed the issue for me:
  findListener(evt) {
    return this._listeners.find(function ({ selector }) {
      let element = document.querySelector(selector);
      return element === evt.target || element.contains(evt.target) || evt.target.contains(element);
    });
  }

In Chrome element === evt.target evaluates to true.  I'm wondering if the bug could be that the order is incorrect for element.contains(evt.target)?  Is there ever a scenario where that condition evaluates to true?  Does it hurt to have all 3 conditions?

I retested this after 2.4.4 was released and the issue is resolved.  Closing this issue.


Mentee Application

[x] Backend:

[x] New enrolment states

[x] #246
[x] #255

[x] Update Apply as Mentee Endpoint + Edit Mentee Application Endpoint

[x] #219
[x] #227

[x] Get My Mentee Applications

[x]  #229
[x]  #264
[x]  #266
[x]  #267
[x]  #269

[x]  Frontend:

[x] https://github.com/sef-global/scholarx-frontend/issues/257
[x] https://github.com/sef-global/scholarx-frontend/issues/276
[x] https://github.com/sef-global/scholarx-frontend/issues/281
[x] https://github.com/sef-global/scholarx-frontend/issues/286

Completed


[Issue] Error using "regctl image import ..." with docker image "jupyter/docker-stacks-foundation:latest"

Hello, I think I need some help for the following issue.
Current Behavior

I'm using "regctl image import ..." to import a docker image from a .tar file.
It is working well except with the "jupyter/docker-stacks-foundation:latest" image docker
I get the following error message: failed to import layers from docker tar: EOF
I don't know how to identify which layer causes the trouble and how to fix it !
Steps To Reproduce

get "jupyter" image: docker pull jupyter/docker-stacks-foundation:latest
Save as .tar file: docker save jupyter/docker-stacks-foundation:latest > temp.tar
Log to docker registry: docker login my_docker_registry:8094
Import with regctl: ./regctl image import jupyter/docker-stacks-foundation:latest temp.tar

Version
./regctl version
VCSTag:     v0.4.8
VCSRef:     847254c7ac7d6f027dcdfb196a9aa4c11eb61ed9
VCSCommit:  847254c7ac7d6f027dcdfb196a9aa4c11eb61ed9
VCSState:   clean
VCSDate:    2023-04-14T23:41:20Z
Platform:   linux/amd64
GoVer:      go1.20.3
GoCompiler: gc

docker image inspect jupyter/docker-stacks-foundation:latest
[
    {
        "Id": "sha256:a11b4622086c7bcf5d1891c2f35dfe4b4cb212f3984c2192c7a6778170460ea6",
        "RepoTags": [
            "jupyter/docker-stacks-foundation:latest",
            "my_docker_registry:8094/docker_image_name:a11b4622086c",
            "my_docker_registry:8094/docker_image_name:latest"
        ],
        "RepoDigests": [
            "jupyter/docker-stacks-foundation@sha256:53f3e085bb137d18a1b26904f21d77cbcbb9d5d13989b6044149c082a4d253c5"
        ],
        "Parent": "",
        "Comment": "buildkit.dockerfile.v0",
        "Created": "2023-05-29T03:04:04.879952481Z",
        "Container": "",
        "ContainerConfig": {
            "Hostname": "",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": null,
            "Cmd": null,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": null
        },
        "DockerVersion": "",
        "Author": "",
        "Config": {
            "Hostname": "",
            "Domainname": "",
            "User": "1000",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "DEBIAN_FRONTEND=noninteractive",
                "CONDA_DIR=/opt/conda",
                "SHELL=/bin/bash",
                "NB_USER=jovyan",
                "NB_UID=1000",
                "NB_GID=100",
                "LC_ALL=en_US.UTF-8",
                "LANG=en_US.UTF-8",
                "LANGUAGE=en_US.UTF-8",
                "HOME=/home/jovyan"
            ],
            "Cmd": [
                "start.sh"
            ],
            "ArgsEscaped": true,
            "Image": "",
            "Volumes": null,
            "WorkingDir": "/home/jovyan",
            "Entrypoint": [
                "tini",
                "-g",
                "--"
            ],
            "OnBuild": null,
            "Labels": {
                "maintainer": "Jupyter Project<EMAIL_ADDRESS>                "org.opencontainers.image.ref.name": "ubuntu",
                "org.opencontainers.image.version": "22.04"
            },
            "Shell": [
                "/bin/bash",
                "-o",
                "pipefail",
                "-c"
            ]
        },
        "Architecture": "amd64",
        "Os": "linux",
        "Size": 358972472,
        "VirtualSize": 358972472,
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/8f208a5b05fee92c646112d8df6bd86f16b765104616c1b22c003c99c68633cb/diff:/var/lib/docker/overlay2/105e114f367d035bcde69015bb4ee10153374b99c5e9ab2f6d82faaa7d72db80/diff:/var/lib/docker/overlay2/a34fc75fa9406b81526e544b097eab0ba054699c1fddde4d3a3bda66658850e4/diff:/var/lib/docker/overlay2/d3e8878b5632b4d3987e382b068b5f80a84c1e892ea87f5cad4dfe5bc77937ae/diff:/var/lib/docker/overlay2/043b09ad373f9ae8dd8ea672d97194ba0239d7895974f125d840b69df56373b2/diff:/var/lib/docker/overlay2/88c16a0f68365224137c1bda2b2868e8f5235d427fdc0a7e736cabb458d23924/diff:/var/lib/docker/overlay2/3c92282f82d96ec57fee02f2df5c2047696d4dbf7ccc9278873f479f729336bd/diff:/var/lib/docker/overlay2/c957ec4bc5ac2b92496135f353084802eb3fe86bc9ea78f1a1f486510dc374c8/diff:/var/lib/docker/overlay2/79a21c4e4576bf079f35f5df006c451ea9e77edd2d04ea59c0ba09f8281f91ce/diff:/var/lib/docker/overlay2/87427e5cff286ea33618f9cfbebdd562d7c5df9e134c45d8f6eee5e32e661779/diff:/var/lib/docker/overlay2/b62621a540c89e27947d50f23f69328d0e0b019f669f8228b5a027cee83d91b1/diff",
                "MergedDir": "/var/lib/docker/overlay2/26fc6ae8c0c8a9b60ca654c795b6ff98729f52fa2f834071f11735ff3d8057e9/merged",
                "UpperDir": "/var/lib/docker/overlay2/26fc6ae8c0c8a9b60ca654c795b6ff98729f52fa2f834071f11735ff3d8057e9/diff",
                "WorkDir": "/var/lib/docker/overlay2/26fc6ae8c0c8a9b60ca654c795b6ff98729f52fa2f834071f11735ff3d8057e9/work"
            },
            "Name": "overlay2"
        },
        "RootFS": {
            "Type": "layers",
            "Layers": [
                "sha256:b8a36d10656ac19ddb96ef3107f76820663717708fc37ce929925c36d1b1d157",
                "sha256:eeb8034396b5fb883ce8c4dc768d4d8506b4db445dc093ebcac2761fbd193edf",
                "sha256:868e3e48ab37a5a3172621520ffc20ed94bcba9dd4a06c92cce7125b9702a04a",
                "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
                "sha256:0f9a3800d3255132fb96620e060c0250ff2588373653bff2bb90d4c33b6e4ced",
                "sha256:08beee2c553a22d428726dcc6231eaf6d3db23e75d35a3d1d1b3b32a4a49d59c",
                "sha256:77c8f249c77a61497052852875fed24c1576d02058bcd95be2b155231cf5a9e0",
                "sha256:ae35b35bd67f5e13a6acff8c64a1f5e68a85dc65e89f086a4630e26314a9d422",
                "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
                "sha256:a9e355d429c3404df7644fdc6089326cd70a6d97a64588efc420f3dc49d3a547",
                "sha256:4f7b74cb03a9158101b35a7c218ce256545bc637fb6a754230a833da37337c21",
                "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
            ]
        },
        "Metadata": {
            "LastTagTime": "2023-05-30T12:27:20.54455553+02:00"
        }
    }
]

Environment

I'm running regctl as binary
Host platform:

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

Registry description: Sonatype Nexus Repository

Anything else

I ended up using regctl image import because I need to push big layers > 2Gb, and this post explained how to do it:
https://stackoverflow.com/questions/73993033/2022-docker-push-fails-after-multiple-retries-on-a-specific-layer

This is the first time I've ever seen a tar file from docker with symlinks in it. I'll add that to the list of things to support. Until then, you can export and import with regclient, skipping the docker engine:
regctl image export --platform local jupyter/docker-stacks-foundation:latest >temp.tar

regctl image import my_docker_registry:8094/jupyter/docker-stacks-foundation:latest temp.tar

Or, if you aren't trying to cross an air-gap / sneaker net, just copy the image directly:
regctl image copy jupyter/docker-stacks-foundation:latest my_docker_registry:8094/jupyter/docker-stacks-foundation:latest

Thank you for your answer !
This works for the "jupyter/docker-stacks-foundation" which is on the public docker registry
I'm trying to import a bigger docker image starting from the jupyter one
Do you know if I can use regctl image export or another command to create a .tar from a local docker image which is not yet on any docker registry ?

Great ! I tried the binary built by GHA, the issue is fixed for me, thank you again :)


Add get to TextMap

I complained about this a couple years ago, but re-complaining as it seems possible some things can change now.
TextMap is accidentally constrained to an awkward pattern where you can add keys by name, but not retrieve by name. This is awkward because getting by name involves creating an iterator then scanning it. It also encourages people to cast to vendor types like this for routine functionality.
I got bored looking to find a single implementation of TextMap that doesn't support get by name natively or that doesn't instantiate an intermediate java Map due to the awkwardness! The net result is guaranteed less efficient operations for the most common propagation use cases.
Can we please fix this as it will remove a lot of spaghetti. The fix is to add @Nullable String get(String key)

in many cases the native representation of the headers is a multi-map. Did you mean List<String> get(String key)? Or will the adapter have to concatenate into one string?

The current method Iterator<Map.Entry<String, String>> iterator(); also suggests that multi-values are not expected (although technically, there could be multiple entries with the same key). I'm not sure if those would be needed for the tracing use-case. I'd say, the adapter should get the first header. If you think there is a use case to get the list of headers, I'd add two methods, so that no objects have to be allocated for the common case:

@Nullable String getFirst(String key)
List<String> get(String key)

Otherwise, big +1. Seems like a no-brainer to me.

The W3C tracestate header is by definition a multi-value header. Http protocol does not guarantee how those are transmitted: could be as repeated headers, could be as a comma-separated single header.

The W3C tracestate header is by definition a multi-value header.

So adding the getFirst and get/getAll methods makes even more sense, it seems?

I realize that the header definition is multi-map, but I don't know of a good case for TextMap to support that format.  @yurishkuro do you have any examples where that is important?

As I mentioned above, W3C tracestate header is explicitly multi-value, so even if the sender puts all values into a single header the routing proxies are within their rights to rewrite that as one value per header. The currently on-hold correlation-context header will also be multi-value.
Another example, Jaeger supports baggage propagation using the header jaeger-baggage: k1=v1, k2=v2, which is also subject to the same relaxed rules in HTTP spec, i.e. it can be sent as
jaeger-baggage: k1=v1
jaeger-baggage: k2=v2

Of course, we can say that the TextMap itself never needs the multi-map semantics, and when we encounter the above use cases it's the job of the carrier to merge the entries and return them as comma-separated string (100% valid behavior per HTTP spec). However, there is some inherent inefficiency in doing that (string concatenation, only to be parsed again immediately), and the whole (and only, imho) point of this ticket is to improve efficiency of reading the values without instantiating an iterator.

@yurishkuro Thanks for the details.  In that case, do you see any problem with the API @felixbarny proposed?

Yeah, sgtm.


Flask Route for Liver Disease Prediction

Create a Flask Route for Liver Disease Prediction
Model - The liver-disease model is in the Models folder.

@kritikaparmar-programmer Please assign this issue.

@kritikaparmar-programmer I can give it a try if assigned , worked with flask backend earlier.

@JanhaviSoni I'm assigning you on a first come first serve basis. Feel free to reach out to any mentor or me if you face any problems. Happy Coding :)

@kritikaparmar-programmer I just have to add flask route and need not add .html files . If so what should I pass give the some name which can be made by someone.

Yes, @JanhaviSoni flask route means the complete path from frontend to the backend. Still if you're facing problem juts make a pr of what you're able to do, we will assign you the points accordingly :)

@kritikaparmar-programmer  we need to push to dev branch


Permission  for GH token to publish swagger GH pages

PR Checklist

[x] A description of the changes is added to the description of this PR.
[ ] If there is a related issue, make sure it is linked to this PR.
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added or modified a feature, documentation in docs is updated

Description of changes
By default, the GITHUB_TOKEN used in GitHub Actions has read-only access to the repository. However, publishing to GitHub Pages requires write permissions to create and update the gh-pages branch.
This PR addresses the permission issue by explicitly granting the necessary write permissions to the GitHub Actions workflow.
Changes Made

Added permissions configuration to the workflow file
Specified contents: write  and pages: write  to allow modification of repository contents
This change enables the creation and updating of the gh-pages branch

@dennyglee  i have added step so that swagger docs can be accessed at  http:///swagger-docs  attaching the screenshot for both the docs and swagger docs

Thanks again @sudharshanraja-db


Feature/warmstart

New functionality to:

Warm start untrained (cold) arms
Remove existing arms

Main changes include addition of warm_start and remove_arm methods to MAB, with corresponding changes to BaseMAB and the individual bandit implementations. To enable warm start, each bandit has to implement a _copy_arms method specifying what attributes should be copied from a warm arm to cold arm.
Documentation and tests have been updated.

Looks good overall, thanks for making this a part of MABWiser! My only concrete suggestion is to explicitly note the difference between regular warm start and neighborhood warm start in docstring and the online documentation. I assume you'll be building and updating the docs after getting the approvals, G2G after that.

Thanks for the review @dorukkilitcioglu. I've addressed all your questions and comments. I'll hold off on updating the website docs until @skadio has had a chance to review.


add online csv mode

Add csv option conditionally based on if we are in online or offline mode.

Does this have a reference JIRA? If not, best to create one for reference.

Does this have a reference JIRA or is it part of IDETECT-4373?

I've been considering it part of 4373. It's required by the Detect core changes which I'll be making a PR for soon.


Color problem on buildings at high zoom levels in Metal

A user is seeing a problem with zoom based color interpolation on buildings.  The app is proprietary so we can't get a video, but having seen it it looks like a tweaker calculating zoom based colors that's either running off the end of the range of just stopping.  I can share a style that replicates it and we can start from there.

May be related to https://github.com/maplibre/maplibre-native/issues/2217 which does have a video.


About  train miou and val miou

Hi @MaybeShewill-CV , I had been finished model-training, and evaluated my model on the whole cityscapes validation dataset used your train code and val code with no changes. But i have a problem why train miou only achieve 0.68 and val miou only achieve 0.53 in the training process, but when I evaluated my model the miou can achieve 71.3 ?  Thanks
the image is train results:

this one is the results of evaluate on whole validation dataset:

@Flyzanetothesky During training process the iou was computed within a batch of data and no moving avg was applied here. During eval the miou was computed within the whole validation dataset:)

@MaybeShewill-CV yeah, I know, the batch size of evaluation is 4.https://github.com/MaybeShewill-CV/bisenetv2-tensorflow/blob/c750f3247def2f0738ee9daec89d306317589b61/config/cityscapes/cityscapes_bisenetv2.yaml#L57


Enforce GNU gettext header order by default

Note: the actual changes are in POGenerator.cs, the rest is mostly fixing the unit tests.
By default, i.e. when not asked to preserve header order, the library sorts them alphabetically. This is contrary to GNU gettext behaviour (see the construct_header() function here) as well as the Python polib library (see the ordered_metadata() function here).
This PR ensures that when not explicitly requested to preserve header order, the library serialises them in an order compatible with GNU gettext and polib. All unit tests were fixed accordingly.

By the way, the reason this is important is because it creates all sorts of source control conflicts when different tools are used to edit PO data.

This change makes perfect sense. Thanks for the contribution!


[$1000] Multiple reports are highlighted when escaping from context menu immediately

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

Action Performed:

Go to any report screen
Right click on a report and simultaneously press esc key

Expected Result
The context menu should close and report should not be highlighted
Actual Result
The context menu closes but the report stays highlighted
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.2.82-3
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/224450808-6fe8b99b-dec5-4a36-8d78-b4243c2968b7.mov
https://user-images.githubusercontent.com/43996225/224450815-f7669e31-6be5-489b-9798-d9df4975226c.mp4
Expensify/Expensify Issue URL:
Issue reported by: @esh-g
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678474446054179
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ddf07e27444c4782
Upwork Job ID:<PHONE_NUMBER>626637312
Last Price Increase: 2023-03-16

Triggered auto assignment to @strepanier03 (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

I am unable to recreate this on MacOS / Chrome. I also attempted on a few other devices and still can't recreate this behavior.

Trying to recreate again.

I was finally able to recreate this, one time after dozens and dozens of tries. I recreated it on Mac/Chrome but didn't get a screenshot before it cleared. It's incredibly finicky for me to recreate but I did see it once and the bug reporter says they can still reliably reproduce it.
Sending on for another opinion and more testing.

Job added to Upwork: https://www.upwork.com/jobs/~01ddf07e27444c4782

Current assignee @strepanier03 is eligible for the External assigner, not assigning anyone new.

Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (External)

Triggered auto assignment to @luacmartins (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Right clicking on a reportAction and pressing the escape key simultanously causes the reportAction to be selected even when not hovered
What is the root cause of that problem?
Currently, we are setting the onHide when the onShow gets executed which adds a delay to onHide being defined.
https://github.com/Expensify/App/blob/main/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js#L149:L153
We have made a patch to the react-native-modal library to close the modal when escape key is pressed.
And when we press the esc key immediately, the onShow callback doesn't get a chance to execute so the onHide callback does not get defined and the state for the selection of reportAction does not get updated.
What changes do you think we should make in order to solve the problem?
Option 1
The above code was introduced in https://github.com/Expensify/App/pull/5270. At the time, this was fixing:

https://github.com/Expensify/App/issues/5197
https://github.com/Expensify/App/issues/5250

But after the PopoverReportActionContextMenu has been moved closer to the root, these changes are no longer necesarry. If we just define both onHide and onShow together, the above issues are not reproducible anymore.
So we can just do this:
this.onPopoverShow = onShow;
this.onPopoverHide = onHide;

The above bugs weren't reproducible even after these changes in my testing.
What alternative solutions did you explore? (Optional)
Option 2
If we still want to follow a somewhat similar approach and only define the onHide when necessary, we can do so with the onModalWillShow instead of onModalShow.
So the onShow callback will execute on the onModalShow itself (unchanged).
But the setting of the property onPopoverHide can de done on the onModalWillShow.
this.onPopoverShow = onShow;
this.onPopoverWillShow = () => {
    this.onPopoverHide = onHide;
}

Both of these options work as expected
Video - after applying any solution - (also performing the replication steps of the above listed bugs)
https://user-images.githubusercontent.com/77237602/224504330-63e01078-da85-4c41-a91d-cf5330311f2e.mov

you could use JavaScript to detect the right-click event and the escape key press event, and then manually remove the highlighting from the report when both events occur simultaneously.

📣 @TheArtintheRaw! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~010aed257e846f39f0
you could use detect a right-click event and the escape key press event, and then manually remove the highlighting from the report when both events occur simultaneously.
By adding an event listener to right-click to store the report as a variable.
Event listener for the escape key - check for highlighted report
add an event listener to the report to add a highlight class
when you right-click on a report and press the escape key simultaneously, menu will close and the report will no longer be highlighted

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

I like @esh-g's proposal too, tests well for me, let's go with the option 1.

📣 @esh-g You have been assigned to this job by @luacmartins!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖

Applied on Upwork. Will make the PR today itself

PR is ready. Please review and tell me if you have any doubts or such. 😇
cc @luacmartins @eVoloshchak

Thanks for the quick turn around!

Reviewing label has been removed, please complete the "BugZero Checklist".

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.2.89-0 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:

https://github.com/Expensify/App/pull/16341

If no regressions arise, payment will be issued on 2023-04-03. :confetti_ball:
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

[ ] External issue reporter
[ ] Contributor that fixed the issue
[ ] Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[ ] [@eVoloshchak / @luacmartins] The PR that introduced the bug has been identified. Link to the PR:
[ ] [@eVoloshchak / @luacmartins] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[ ] [@eVoloshchak / @luacmartins] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[ ] [@strepanier03] Determine if we should create a regression test for this bug.
[ ] [@eVoloshchak] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[ ] [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@eVoloshchak could you fill the checklist above please?

The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/14431

The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/14431#issuecomment-1485067414

A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: this is a visual bug, that technically should have been caught during the review. But the problem is that you have to close the menu immediately to reproduce the bug, which is hard to reliably do (for all the UI elements, to catch similar issues).

@esh-g - I have hired you for the job and accepted your proposal. On the 3rd when I pay this, I will pay the reporting bonus in this same job.
@eVoloshchak - I also hired you for the job.

Payment amounts are updated here and I finished off the BugZero checklist as well, moving Eugene's answers in the list post.

We're all set here for payment on the 3rd, chat with you all again then. 👋

@strepanier03 Seems like the offer was withdrawn? I just got the notification that your proposal was denied.

How odd, sorry about that @esh-g. I'll make a new job and hire you to it, then post here once I'm done.

@esh-g - I've sent a fresh contract, can you take a look and accept it? I'll pay the bonuses in this job.

Thanks @strepanier03 for sending the offer again! 😇
I have accepted it on upwork.

Thank you @esh-g and @eVoloshchak for the hard work and completion of this bug fix. I've paid you both out in UpWork and I'm going to close this one as completed.
🎉


Migrate to 2.12.5 which is distroless Java 11.

Also removed ALPN since it shouldn't be needed anymore (either because it's Java 11 or because I think we might be using boringssl now). Not sure if it would fail hard on startup before but at least it seems to start up with this configuration fine.

testing now

caught a tiny thing.. then tested it with wrk against brave-mvc-example and stuff showed up in google console


Is buildkite officially supported?

It looks like https://github.com/codecov/codecov-bash/commit/df2c95fee48d30cfeeae4354a0bf9da0950d01f9 added $BUILDKITE support, but https://github.com/codecov/codecov-bash#ci-providers doesn't list it.
Should buildkite be added to that list?

Buildkite is now on the supported list in our docs.


python312Packages.beartype: 0.17.2 -> 0.18.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.beartype is: Fast runtime type checking for Python
meta.homepage for python312Packages.beartype is: https://github.com/beartype/beartype
meta.changelog for python312Packages.beartype is: https://github.com/beartype/beartype/releases/tag/v0.18.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.18.0 with grep in /nix/store/x8sv88bdkh5c0f70iq7pnacm3fn287aj-python3.12-beartype-0.18.0
found 0.18.0 in filename of file in /nix/store/x8sv88bdkh5c0f70iq7pnacm3fn287aj-python3.12-beartype-0.18.0

Rebuild report (if merged into master) (click to expand)

17 total rebuild path(s)

17 package rebuild(s)

First fifty rebuilds by attrpath
checkov
python311Packages.beartype
python311Packages.equinox
python311Packages.k-diffusion
python311Packages.nptyping
python311Packages.pynrrd
python311Packages.rotary-embedding-torch
python311Packages.scancode-toolkit
python311Packages.spdx-tools
python312Packages.beartype
python312Packages.equinox
python312Packages.nptyping
python312Packages.pynrrd
python312Packages.scancode-toolkit
python312Packages.spdx-tools
strictdoc
tts

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x8sv88bdkh5c0f70iq7pnacm3fn287aj-python3.12-beartype-0.18.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.beartype https://github.com/r-ryantm/nixpkgs/archive/043ae668200225dd6bb6bcd2bca6855b07cc29a6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/043ae668200225dd6bb6bcd2bca6855b07cc29a6#python312Packages.beartype

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x8sv88bdkh5c0f70iq7pnacm3fn287aj-python3.12-beartype-0.18.0
ls -la /nix/store/x8sv88bdkh5c0f70iq7pnacm3fn287aj-python3.12-beartype-0.18.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

14 packages failed to build:

python311Packages.equinox
python311Packages.equinox.dist
python311Packages.nptyping
python311Packages.nptyping.dist
python311Packages.pynrrd
python311Packages.pynrrd.dist
python312Packages.equinox
python312Packages.equinox.dist
python312Packages.nptyping
python312Packages.nptyping.dist
python312Packages.pynrrd
python312Packages.pynrrd.dist
tts
tts.dist

20 packages built:

checkov
checkov.dist
python311Packages.beartype
python311Packages.beartype.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.rotary-embedding-torch
python311Packages.rotary-embedding-torch.dist
python311Packages.scancode-toolkit
python311Packages.scancode-toolkit.dist
python311Packages.spdx-tools
python311Packages.spdx-tools.dist
python312Packages.beartype
python312Packages.beartype.dist
python312Packages.scancode-toolkit
python312Packages.scancode-toolkit.dist
python312Packages.spdx-tools
python312Packages.spdx-tools.dist
strictdoc
strictdoc.dist

Maintainer pings
cc @bcdarwin for testing.

Duplicate of #301516.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.beartype is: Fast runtime type checking for Python
meta.homepage for python312Packages.beartype is: https://github.com/beartype/beartype
meta.changelog for python312Packages.beartype is: https://github.com/beartype/beartype/releases/tag/v0.18.2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.18.2 with grep in /nix/store/jg6v3r4zx4vhskh1sb92l32gjsgncrdn-python3.12-beartype-0.18.2
found 0.18.2 in filename of file in /nix/store/jg6v3r4zx4vhskh1sb92l32gjsgncrdn-python3.12-beartype-0.18.2

Rebuild report (if merged into master) (click to expand)

17 total rebuild path(s)

17 package rebuild(s)

First fifty rebuilds by attrpath
checkov
python311Packages.beartype
python311Packages.equinox
python311Packages.k-diffusion
python311Packages.nptyping
python311Packages.pynrrd
python311Packages.rotary-embedding-torch
python311Packages.scancode-toolkit
python311Packages.spdx-tools
python312Packages.beartype
python312Packages.equinox
python312Packages.nptyping
python312Packages.pynrrd
python312Packages.scancode-toolkit
python312Packages.spdx-tools
strictdoc
tts

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jg6v3r4zx4vhskh1sb92l32gjsgncrdn-python3.12-beartype-0.18.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.beartype https://github.com/r-ryantm/nixpkgs/archive/4df292dc73566bc0aea8f07d0852c0547e0726c1.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/4df292dc73566bc0aea8f07d0852c0547e0726c1#python312Packages.beartype

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jg6v3r4zx4vhskh1sb92l32gjsgncrdn-python3.12-beartype-0.18.2
ls -la /nix/store/jg6v3r4zx4vhskh1sb92l32gjsgncrdn-python3.12-beartype-0.18.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

10 packages failed to build:

python311Packages.nptyping
python311Packages.nptyping.dist
python311Packages.pynrrd
python311Packages.pynrrd.dist
python312Packages.nptyping
python312Packages.nptyping.dist
python312Packages.pynrrd
python312Packages.pynrrd.dist
tts
tts.dist

24 packages built:

checkov
checkov.dist
python311Packages.beartype
python311Packages.beartype.dist
python311Packages.equinox
python311Packages.equinox.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.rotary-embedding-torch
python311Packages.rotary-embedding-torch.dist
python311Packages.scancode-toolkit
python311Packages.scancode-toolkit.dist
python311Packages.spdx-tools
python311Packages.spdx-tools.dist
python312Packages.beartype
python312Packages.beartype.dist
python312Packages.equinox
python312Packages.equinox.dist
python312Packages.scancode-toolkit
python312Packages.scancode-toolkit.dist
python312Packages.spdx-tools
python312Packages.spdx-tools.dist
strictdoc
strictdoc.dist

Maintainer pings
cc @bcdarwin for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.beartype is: Fast runtime type checking for Python
meta.homepage for python312Packages.beartype is: https://github.com/beartype/beartype
meta.changelog for python312Packages.beartype is: https://github.com/beartype/beartype/releases/tag/v0.18.4
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.18.4 with grep in /nix/store/qldrp5n6abgqabdkxkyagxx63ypd5rkn-python3.12-beartype-0.18.4
found 0.18.4 in filename of file in /nix/store/qldrp5n6abgqabdkxkyagxx63ypd5rkn-python3.12-beartype-0.18.4

Rebuild report (if merged into master) (click to expand)

17 total rebuild path(s)

17 package rebuild(s)

First fifty rebuilds by attrpath
checkov
python311Packages.beartype
python311Packages.equinox
python311Packages.k-diffusion
python311Packages.nptyping
python311Packages.pynrrd
python311Packages.rotary-embedding-torch
python311Packages.scancode-toolkit
python311Packages.spdx-tools
python312Packages.beartype
python312Packages.equinox
python312Packages.nptyping
python312Packages.pynrrd
python312Packages.scancode-toolkit
python312Packages.spdx-tools
strictdoc
tts

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qldrp5n6abgqabdkxkyagxx63ypd5rkn-python3.12-beartype-0.18.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.beartype https://github.com/r-ryantm/nixpkgs/archive/7d28d43114982afc92b5bce0f08bac55c288a43f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7d28d43114982afc92b5bce0f08bac55c288a43f#python312Packages.beartype

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qldrp5n6abgqabdkxkyagxx63ypd5rkn-python3.12-beartype-0.18.4
ls -la /nix/store/qldrp5n6abgqabdkxkyagxx63ypd5rkn-python3.12-beartype-0.18.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages marked as broken and skipped:

tts
tts.dist

32 packages built:

checkov
checkov.dist
python311Packages.beartype
python311Packages.beartype.dist
python311Packages.equinox
python311Packages.equinox.dist
python311Packages.k-diffusion
python311Packages.k-diffusion.dist
python311Packages.nptyping
python311Packages.nptyping.dist
python311Packages.pynrrd
python311Packages.pynrrd.dist
python311Packages.rotary-embedding-torch
python311Packages.rotary-embedding-torch.dist
python311Packages.scancode-toolkit
python311Packages.scancode-toolkit.dist
python311Packages.spdx-tools
python311Packages.spdx-tools.dist
python312Packages.beartype
python312Packages.beartype.dist
python312Packages.equinox
python312Packages.equinox.dist
python312Packages.nptyping
python312Packages.nptyping.dist
python312Packages.pynrrd
python312Packages.pynrrd.dist
python312Packages.scancode-toolkit
python312Packages.scancode-toolkit.dist
python312Packages.spdx-tools
python312Packages.spdx-tools.dist
strictdoc
strictdoc.dist

Maintainer pings
cc @bcdarwin for testing.

Already on master.


Add more template functions

Add more functions such as random, list, and template functions.
Signed-off-by: Karthik Ganeshram<EMAIL_ADDRESS>

Yes, I'm hoping to put that in as a separate PR.