How often does collector agent report? Can this time be adjusted?

1.How often does collector agent report? Can this time be adjusted?

1 second? 10 seconds? 1 minute?

2.Is redis plug-in to be developed by yourself?
3.pinpoint_php.TraceLimit=x  Parameter specification?

A1

collector agent will pass the span as quickly as possible ! NO limitation.
while, except this https://github.com/naver/pinpoint-c-agent/issues/101.

A2

v0.2.0 just support it to capture it. https://github.com/naver/pinpoint-c-agent#todo
While you can help us.

A3

Number of requests in 1 sec.
# request should be captured duing 1 second. < 0 means no limited
pinpoint_php.TraceLimit=-1

I'm writing a plugin for mysql. What is the STP value? Which parameters also need to be matched
PluginsDefines.php
I've only seen the definitions of Redis, Memcached, PHP. Is there any documentation?

define('PHP_ARGS',-1);
define('PHP_RETURN',14);
define('PROXY_HTTP_HEADER',300);
define('SQL_ID' ,20);
define("SQL",  21);
define("SQL_METADATA",  22);
define("SQL_PARAM",  23);
define("SQL_BINDVALUE",  24);
define("STRING_ID", 30);
define("HTTP_URL", 40);
define("HTTP_PARAM",  41);
define("HTTP_PARAM_ENTITY",  42);
define("HTTP_COOKIE",  45);
define("HTTP_STATUS_CODE",  46);
define("HTTP_INTERNAL_DISPLAY",  48);
define("HTTP_IO",  49);
define("MESSAGE_QUEUE_URI ",100);
define("PHP_METHOD","1501");
define("PHP","1500");
define("REDIS","8200");
define("MEMCACHED","8050");
define("PINPOINT_PHP_REMOTE",9700);
define("NGINX_PROXY","Pinpoint-ProxyNginx");
define("APACHE_PROXY","HTTP_PINPOINT_PROXYAPACHE");
define("SAMPLED","Pinpoint-Sampled");

@Ipvus
hi, pls check this
https://github.com/naver/pinpoint-c-agent/blob/master/collector-agent/TCollectorAgent/Readme.md
Thanks you so much !


Filesize badge

shields.io version of #44

Demo at :
https://github.com/webcaetano/pluralize/tree/filesize-badge

Coverage remained the same at 100.0% when pulling e74a268c66bbe88b4bb6f7a32519a05d4ebbb378 on webcaetano:filesize-badge into 5a4a0aaa03fa3a733f0f2db89e98cf4ab28e4f03 on blakeembrey:master.

LGTM. Cheers. I wonder if there's space for something like https://www.npmjs.com/package/browserify-size or whether it could use assets from GitHub releases to avoid checking in a file to use for size.


Files and Paths objects used by the library are not supported by App Engine

This library used to work fine with previous App Engine SDKs, but I'm getting the following errors with the current version:
java.nio.file.Files is not supported by Google App Engine's Java runtime environment
java.nio.file.Paths is not supported by Google App Engine's Java runtime environment

Is there any workaround for this issue? The only place these objects have been used in the library is one line in the  public static GitkitClient createFromJson() method. Is this method expendable?

This is disappointing to see that has been written without consideration for App Engine.
Could you do away with the configPath passed to createFromJson() and instead expect to find the JSON file on the classpath? App Engine users would put it in WEB-INF.

Should I expect a library update to fix this anytime soon?

Sorry for the late reply. Instead of calling createFromJson(), you can initialize a GitkitClient directly from GitkitClient.Builder(): https://github.com/google/identity-toolkit-java-client/blob/master/src/main/java/com/google/identitytoolkit/GitkitClient.java#L141.


feat(upstream): Synced with upstream ipfs-service-provider

:tada: This PR is included in version 1.11.0 :tada:
Your semantic-release bot :package::rocket:


🚀 [Feature] new task to migrate existing community-users to GMS-system

🚀 Feature

resolved in #3237


Youtube Subscribe Button UI/UX improved

I've changed the old Youtube Subscribe Button with new UI with animation effect on hover on Homepage.
Old:  https://i.imgur.com/mRuyT7L.png
New: https://i.imgur.com/19HjQ0s.png

Looks cool thanks :)

@BennyCarlsson  I forgot to update Contributers.html
What should I do now ??

@lazycipher Saw that you made a new pull request for that. Great :)


[feature request] doCropTrample Gamerule

Description
Please add a gamerule, doCropTrample, which defaults to true. When false, crop trampling is disabled regardless of the cause.
Disclaimer

[X] I have searched for existing issues and this is not a duplicate.
[X] I have read the project's contributing guidelines.
[X] I have read and understood the project's code of conduct.

Adding to backlog of rules to add.


fix: regression on the creation of the bundle and catalog for OLM

We must always add to the CONTROLLER_IMG variable the words catalog and
bundle otherwise, we can't have the TAG if the CONTROLLER_IMG was already
provided by the user.

/test

/ok-to-merge


Request for BAEL-1584

Pull request for BAEL-1584 by<EMAIL_ADDRESS>

@jzheaux thanks for the suggestions. Updated pull request.


My name

Contributions modified

Hi  @Om-Pandey, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Yeah Sure ! Thanks!


Support SVG graphics

It would be great, if markdown-document supports SVG graphics
Unfortunately, currently SVG graphics are not perfectly displayed:

sorry, wrong project. I assumed, this is markdown-document


When generating Swift files, add new line to end of file

          1 Warning

:warning:
Please provide a changelog summary in the Pull Request description @taquitos

  Generated by :no_entry_sign: Danger


receiving files from a Formdata upload not working

I would like to upload a file using the html5 file API but the file event doesn't trigger, only the field event.
this is my clientside code:
upload.prototype.sendFile = function(fileData){
    var formData = new FormData()
    formData.append('file',fileData)
    var xhr = new XMLHttpRequest();
    xhr.open("post", "/file/upload", true);
    xhr.send(formData)
}

on the serverside I'm using the busboy example with express 4.0
any ideas?

What is fileData? Where does it come from?
Are you saying the appended part named 'file' is arriving at the server via a 'field' event instead of a 'file' event?

Also, did you verify what is being sent in your form by checking your browser's development tools?

mscdex, thank you for your fast response.
yes it's arriving as 'field' event instead of a 'file' event
fileData is created by a fileReader
input.addEventListener('change',function(e){
    var file = e.target.files[0]
    if (!file) return
    if (/^image\//i.test(file.type)){
      var reader = new FileReader()
      reader.onloadend = function(){
        self.sendFile(reader.result)
      }
      reader.onerror = function(){
        console.log('error')
      }
      reader.readAsDataURL(file)
    } else {
      alert('Not a valid image!');
    }
})

under equest headers I can see the following:
content-type:multipart/form-data; boundary=----WebKitFormBoundaryBZbY1BAWMdBq9QBa
and request payload starts with:
------WebKitFormBoundaryBZbY1BAWMdBq9QBa
Content-Disposition: form-data; name="file"

data:image/jpeg;base64,/9j/4AAQSkZ

Ok, the issue is that you're using reader.readAsDataURL(). As noted on MDN, reader.result will still be a data URL, but what you need is a File or Blob object instead.
I think you should be able to just pass file directly to self.sendFile() (and skip using a FileReader at all).

yep you're right, passing the file object directly works!
thank you!


Gradle wrapper does not respect the CLI option --gradle-user-home

Current Behavior
./gradlew --gradle-user-home=<custom-path> :help respects the custom value of Gradle user home and uses it for downloading distribution and spawning the daemon.
./gradlew :help --gradle-user-home=<custom-path> does not fully respect the custom value. It uses the default Gradle user home for downloading distribution and spawning the daemon, however, then passes the correct value to the spawned daemon.
Expected Behavior
--gradle-user-home is respected properly regardless of the position of the argument.
Context (optional)
No response
Steps to Reproduce
https://github.com/ALikhachev/gradle-reproducers/tree/main/gradle-wrapper-directory
Gradle version
8.8
Build scan URL (optional)
No response
Your Environment (optional)
No response

The issue is in the backlog of the relevant team, but the existence of a workaround means it might take a while before a fix is made.

Workaround: always pass global options before tasks and their options


Installed sharp module on MacOs does not work on AWS Lambda(Ubuntu)

I have my code and installed sharp module on MacOs Sierra.
I zipped these in zip file.
After that I am uploading my zip file to AWS Lambda.
When I run my lambda function I always see error
module initialization error: Error at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17) at require (internal/module.js:20:19)
If I install sharp module on ubuntu os and copy it to  aws lambda - will work.
How I can fix it ?

Hello, the pre-compiled binaries for OS X will not work on Linux. npm install has to occur on the same platform as the runtime.
http://sharp.dimens.io/en/stable/install/#aws-lambda


Generate Java validation code at compile time

This PR starts the process of moving Java Protobuf validation code to build stage.
Before this PR, all the validation work was done at runtime. This included assembling metadata, scanning classpath for custom validation strategies, and, last but least, destructing messages into fields via costly reflective calls.
Starting from now, we perform most of the validation work at build time. The runtime only invokes the functions for validating a specific message type.
Performance
As measured on load tests in core-java, the performance impact of validation has been cut significantly. A test which dispatches thousands of messages to several entities used to take 2 to 3 seconds and now only takes 700 to 900 milliseconds.
API status
Currently, this feature is in beta. The old runtime-only validation is still functional. To switch to the new implementation, configure the code generation in Gradle:
modelCompiler {
    generateValidation = true
}

The base types are now supplied with the generated validation, as will be time and core types after those modules are migrated to the new version of base.
Interop
When invoking generated validation, the runtime validation may still be used for types for which the validation code was not generated. Note that the vice-versa interop does not work, i.e. runtime validation never invokes generated validation code.
Limitations
It is planned that the generated validation will cover all the runtime validation features and effectively replace it in future releases. For now, there are limitations to the generated code:

group constraints (i.e. (required_field)) are not supported;
external validation rules (i.e. (validation_for)) are not supported;
custom validation strategies (including (when) option for temporal types) are not supported.

@armiol, PTAL.

@alexander-yevsyukov, PTAL.

@alexander-yevsyukov, @armiol, PTAL again.
I've addressed most of your comments and answered a few of them. Let's discuss the leftover in person if necessary.

@armiol, @alexander-yevsyukov, PTAL.

@armiol, PTAL again.

@armiol, @alexander-yevsyukov, PTAL.

@armiol, PTAL if you will.


[DO NOT MERGE YET] Fix issues raised up from PE Dry-run

Resolved the following Issues:

#99

Codecov Report

Merging #152 (fc31aed) into master (eae5dad) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #152   +/-   ##
=========================================
  Coverage     68.38%   68.38%
  Complexity      689      689
=========================================
  Files           108      108
  Lines          2293     2293
  Branches        234      234
=========================================
  Hits           1568     1568
  Misses          617      617
  Partials        108      108

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 eae5dad...fc31aed. Read the comment docs.


Vignettes

[x] Fasta files: preparing cRAP and reference proteomes
[ ] GO: Using goseq and simplifying results
[ ] SILAC
[ ] LFQ OOPS RNase +/-
[ ] Improve TMT (less notch, sum aggregation)

@csdaw  - Starting writing a SILAC vignette. Would you mind updating the psm_silac_p4 and pep_silac_p4 objects so they have a greater intersection. As it stands, they only share 8 sequences, which makes them less than ideal for demonstrating estimate_incorporation(). I guess the easiest thing to do is to just create them in the same script so you can use the same sample of 100 proteins. I'd update myself, but I don't think I have access to the raw data. Happy to do so if you can share though

@TomSmithCGAT done! This should help.

Brilliant. Thank you! Draft SILAC vignette isn't far off...


Please add season link support for dr.dk

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.04.08 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and am willing to share it if required

Region
Worldwide
Example URLs
Season link: https://www.dr.dk/drtv/saeson/frank-and-kastaniegaarden_9008
1st episode of the above season: https://www.dr.dk/drtv/episode/frank-and-kastaniegaarden_53167
Description
Downloading from DR.dk works fine, but yt-dlp cannot see season links and returns unsupported URL.
Verbose log
yt-dlp -vU --embed-subs https://www.dr.dk/drtv/saeson/frank-and-kastaniegaarden_9008
[debug] Command-line config: ['-vU', '--embed-subs', 'https://www.dr.dk/drtv/saeson/frank-and-kastaniegaarden_9008']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.04.08 [7884ade65]
[debug] Python version 3.9.12 (CPython 64bit) - macOS-12.3-x86_64-i386-64bit
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.0.1 (setts), ffprobe 5.0.1, rtmpdump 2.4
[debug] Optional libraries: brotli, certifi, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.04.08, Current version: 2022.04.08
yt-dlp is up to date (2022.04.08)
[debug] [generic] Extracting URL: https://www.dr.dk/drtv/saeson/frank-and-kastaniegaarden_9008
[generic] frank-and-kastaniegaarden_9008: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] frank-and-kastaniegaarden_9008: Downloading webpage
[generic] frank-and-kastaniegaarden_9008: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.dr.dk/drtv/saeson/frank-and-kastaniegaarden_9008
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1408, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1478, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 641, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python3.9/site-packages/yt_dlp/extractor/generic.py", line 4039, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.dr.dk/drtv/saeson/frank-and-kastaniegaarden_9008

Site makes a request to https://production-cdn.dr-massive.com/api/page?device=web_browser&ff=idp%2Cldp%2Crpt&item_detail_expand=all&lang=da&list_page_size=24&max_list_prefetch=3&path=%2Fsaeson%2Ffrank-and-kastaniegaarden_9008&segments=drtv%2Coptedin&sub=Anonymous&text_entry_format=html to get episode details.
path param can be calculated from the url
Alternatively could try using the API the main extractor is using. It redirects you to documentation at its base url.


Build App IOS ERROR

Description
❌  error: File /Users/expo/Library/Developer/Xcode/DerivedData/ReliposSaleOrder-ewdmlwntzptsgbdugffzlcepqjhl/Build/Intermediates.noindex/ArchiveIntermediates/ReliposSaleOrder/BuildProductsPath/Release-iphoneos/ReliposSaleOrder.app/main.jsbundle does not exist. This must be a bug with React Native, please report it here: https://github.com/facebook/react-native/issues
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ 	PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/ReliposSaleOrder-ewdmlwntzptsgbdugffzlcepqjhl/Build/Intermediates.noindex/ArchiveIntermediates/ReliposSaleOrder/IntermediateBuildFilesPath/ReliposSaleOrder.build/Release-iphoneos/ReliposSaleOrder.build/Script-00DD1BFF1BD5951E006B06BC.sh (in target 'ReliposSaleOrder' from project 'ReliposSaleOrder')
▸ (1 failure)
** ARCHIVE FAILED **
React Native Version
"react": "18.1.0"
Output of npx react-native info
System:
OS: macOS 12.6.8
CPU: (8) x64 Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
Memory: 1.46 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 18.18.0 - /usr/local/bin/node
Yarn: Not Found
npm: 9.8.1 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: Not Found
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.14 => 0.70.14
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
eas build --platform ios
Snack, screenshot, or link to a repository
https://expo.dev/accounts/phanmemhopnhat/projects/relipossaleorder

I just built it successfully yesterday

Snack: https://snack.expo.dev/@phanmemhopnhat/1abe71


Not recording on the Android Oreo but working on old version

Hi
I am using Plugin.AudioRecorder in Xamarin Forms solution, target version Android 8.1(API Level -27), I have implemented as you have shown in the sample. The record functionality is working on phone with Android 6.0 but not on the latest Android version. Can you please help me with this one.
RecordAudioPage.xaml.txt

I just tried the latest on a Pixel 2 XL running Android 9.0 and it worked ok. Can you provide any more info on the issues you're experiencing? Make sure you've reviewed and implemented the permission 'stuff': https://github.com/NateRickard/Plugin.AudioRecorder#android


Update footer.css

Closes #419
Description
General Styling Enhancements:
Improved grid layout responsiveness in .footer-grid.
Adjusted padding, font sizes, and colors for better readability and visual appeal.
Enhanced hover effects (:hover) for interactive elements like boxes and links.
Footer Box Styling:
Enhanced styling of footer boxes (footerWrapper .footerBoxes .box) with consistent padding, background color, and border radius.
Typography and Color Adjustments:
Unified font sizes and colors across headings, links, and text elements (footer h3, footer .part1 h4, etc.).
Media Queries:
Added media queries for responsiveness across different screen sizes (@media (max-width: 1200px), @media (max-width: 992px), etc.).
Scroll Down Button:
Styled the scroll down button (scroll-down-btn) for better visibility and interaction.
Types of changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@

@dinxsh can you review it

@dinxsh can you add labels to it

@dinxsh can you add labels to it

added :)

@dinxsh in the issues you mentioned level2 but here you have given level1 please reupdate

updated

@dinxsh in the issues you mentioned level2 but here you have given level1 please reupdate


How can I run this on 2 new images?

Super cool work! I'd really love to test this out with 2 new images. I'm not sure where to start. Is there a script or command I can run to use the pretrained checkpoints and generate a new splat?

me too!

+1

me too!

me too!

me too

Can i use two nopose  images to gen a splat?

+1

Can i use two nopose images to gen a splat?↳

no,it must have pose

Any update on this?

+1

me too

did anyone figure it out?


Change "btn-disabled" to "disabled-btn"

Now we have a new button type "Disabled" but its class name does not follow the convention we are using for the website. We just need to change the class name from "btn-disabled" to "disabled-btn"

can I work on it

Sure @Haniket I will assign you!

@shahednasser where I have to make changes in the code base....can you please help I am new to open source

@Haniket changes first need to be made in src/components/_basic.less in this part of the code:
https://github.com/shahednasser/sbuttons/blob/0d0ced470193ccd3a373381b32fefed13e94ee2a/src/components/_basic.less#L51-L55
You just need to change btn-disabled to disabled-btn.
Then, you need to change the class name here as well:
https://github.com/shahednasser/sbuttons/blob/0d0ced470193ccd3a373381b32fefed13e94ee2a/assets/js/buttons-examples.js#L121-L125
And finally, there's some explanation in index.html you can see it in the "How to Use" section of the website. Just change the class name where necessary in it.
Please also check out the contributing guidelines for more help on how to contribute. If you need any more assistance please let me know.

@shahednasser what about changing  code in sbuttons/dist/sbuttons.css
.btn-disabled {   opacity: 0.55;   cursor: not-allowed;   pointer-events: none; }
this part of code because here also it must be changes..........isn't it??
plz help

No @Haniket after making the changes in the less file as indicated above you need to compile the code by running npm run compile which will automatically update dist/sbuttons.css. You shouldn't manually update dist/sbuttons.css.
Please read the contributing guidelines for more help on this.

Hey, Can u Assign me any issue?

Hi @Uttam-Singhh please find an unassigned issue that you think you can work on and let me know in that issue if you can do it. There are also issues with the "Always Open" label that anyone can work on at any times so be sure to check those out as well!

Hey @shahednasser I saw the all the issues but all were assigned to someone
Can you please create a new issue an assign it to me?
I can work on anything.

@Uttam-Singhh you can watch this repository if you want and keep up with any new issue!


able to use LOCK_SUPPLY without any SUPPLY issued

Currently it seems that users are able to LOCK_SUPPLY on a token without issuing any supply.
This is an oversight, as this is entirely undesirable behavior.
Need to update BTNS rules so that a token can NOT be locked unless supply is issued, or MAX_SUPPLY is set to a value greater than MIN_TOKEN_SUPPLY

fixed in 0.10.1 release


issue 479 ADDED Animal website with fully informaitonal cards

hello @iamrahulmahato
i have added the issue #479
#Issue 479
the webpage aims to show the animal informations in readable formats as i present them in cards

The above image is basic homepage that aim to show the animal love and careness about animals

the above page is mammals page in which details about all mammals are included like elephant chital rat

the above page is reptiles page in which details about all mammals are included like elephant chital rat

the above page is search page
To see the live demo of webpage please visit  https://www.toshankanwar.in/animal-cards/
Thankyou

@toshankanwar We apologize for the inconvenience. We corrected the alignment after discovering a problem with the website last night, which may have caused confusion if you view the deployment preview of your PR. Please fork the updated code and add your code and make a new pr


can i turn off blue stroke when using always on top function?

Description of the new feature / enhancement
.
Scenario when this would be used?
.
Supporting information
. "

in settings, toggle "Show a border around the pinned window" to off


Giteabot makes unnecessary escape for Korean translation

Description
Please refer to https://github.com/go-gitea/gitea/commit/de265f377113766124e9846e120e2864bf01c60c
Gitea CI Bot Does Unnecessary Escapes for Korean Translation
Screenshots

Gitea Version
1.20~
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
OSX
Browser Version
chrome 126.0.6478.127

It's the translation problem, please help to correct it in https://translate.Gitea.com

https://crowdin.com/editor/gitea/68/enus-ko?view=comfortable&filter=basic&value=0#q=issues.opened_by

It is a bit strange.

There are also some other strange changes. All come from https://github.com/go-gitea/gitea/commit/de265f377113766124e9846e120e2864bf01c60c

There are also some other strange changes. All come from de265f3

See my comments for more information

I see where these double quotes come from.
So after the original locale files pulled from Crowdin, we will finally do some modified by the script before the push.
(according to the workflow file)
Then I executed the script in my local, then I got this:

So if I understand correctly, if everything is correct, this should not happen.

This problem can be solved by manually escaping the double quotes. See here
But I'm new to crowdin and i can't escaping in crowdin ;(

So if I understand correctly, if everything is correct, this should not happen, right?

"If everything is correct, this should not happen, right?": yes, the quotes should be "cleaned up".
(I didn't look into it so I have no idea, just share some backgrounds)

I think I know what happened.
I notice the comment in L3:

this script runs in alpine image which only has sh shell

Then I find the original PR is #23254.
According to it, we were use Drone before, so this script is designed for apline.
Then I checked the OS, I executed the script is in dev container which is Debain.
And we are using Github Actions, it uses Ubuntu.
Then I run the script in WSL which is Ubuntu, NOTHING happened.
So this script should be changed, and it can not run in Ubuntu, which will cause this issue.

The version of sed:

sed (GNU sed) 4.8
Packaged by Debian
Copyright (C) 2020 Free Software Foundation, Inc.

sed (GNU sed) 4.7
Packaged by Debian
Copyright (C) 2018 Free Software Foundation, Inc.

And we are using Github Actions, it uses Ubuntu.
Then I run the script in WSL which is Ubuntu, NOTHING happened.

Ubuntu's "sh" defaults to "dash", which has many differences

Maybe we should rewrite these logic with Go code to avoid inconsistent between shell script commands.

The only reason we need this script is the ini format we're using for translations. As I think that we want to switch to another format anyway (#27700), it wouldn't make sense to build a new tool for it.

The only reason we need this script is the ini format we're using for translations. As I think that we want to switch to another format anyway (#27700), it wouldn't make sense to build a new tool for it.

Ah, yes. But we need to fix the bug before a new format comes out.


Add s3 storage support

Description
Changes proposed in this pull request:

Add s3 storage support

Related issue(s)

#25

/retest

/retest

/retest


feat(chore): Bump to v0.6.2

Coverage remained the same at 0.0% when pulling 1c8b78066f38a3d79f50147aa5d66a6d388844a2 on amousset:changelog-0.6.2 into 4d3e51d115063d307c0e5752b98a89dec081f47b on lettre:master.


Network namespace is not properly cleaned

When delete and create a Pod with same name, there's chance to get this error:
failed: rpc error: code = 2 desc = error of symlink \"/var/run/netns/harry\": symlink /var/run/netns/cni-185f1017-1225-2bdf-43b8-bf469c53bfbd /var/run/netns/harry: file exists"

/assign


Reading attributes from aioboto3 object

Describe the bug
So one of recent updates started throwing following error:
error: Incompatible types in "await" (actual type "Literal['available', 'deregistered', 'error', 'failed', 'invalid', 'pending', 'transient']", expected type "Awaitable[Any]")

The code in question:
    async with session.resource("ec2") as ec2:
        image = await ec2.Image(parsed_event.dest_ami)
        if await image.state == "pending":   <--- this line throws an error

My understanding is that attributes might have been added recently and while this type is correct for boto3, aioboto3 requires to await the property to get the value.
It's confusing and not well documented, but that's the only way I made it work. It also makes sense as the object fetches data lazily.
To Reproduce
install types-aioboto3[ec2,organizations,secretsmanager,stepfunctions,lambda,sts] == 9.6.0.post2
install mypy==0.971
Additional context
OS X, poetry, boto3==1.21.21

Hello! Thank you for the report.
Looks like, I completely overlooked async properties in aioboto3. I will try to find a proper solution.

I made all Resource attributes Awaitable. I am going to test this today and release all aiobotocore/aioboto3 services.

Sorry for the delay, my changes look good, so I will release today.

@takeda @johman10 I have just updated all aiobotocore services with the fix included. Please updated to types-aiobotocore-s3/sqs 2.4.0.post1 and let me know if it works as it should.

@vemel I just tried, and it resolved my issue, so I'm closing the ticket.
Thank you.

Hmm.. It didn't seem to work for me. I will open a new issue for my case, perhaps they are different things after all.


Client implementation accross files

As far as I can see, Client structure is implemented in https://github.com/eduvpn/eduvpn-common/blob/main/client/client.go . Many of its receiver functions (methods) are also implemented there. But for some reason there are few receiver functions implemented in https://github.com/eduvpn/eduvpn-common/blob/main/client/fsm.go . For example:
https://github.com/eduvpn/eduvpn-common/blob/6229767a7d5b0d3cf3125f2e9da0ca0e66ada814/client/fsm.go#L255
It is a bad practice to define receiver functions of the same type in multiple files. Is there any reason for such implementation?

It's because of the fact that otherwise the file becomes a bit too big to deal with. I had it in one file before (e.g. https://github.com/eduvpn/eduvpn-common/blob/242903aa810797102b14e27dda988fff7ab833cc/client.go). Maybe right now it won't be so bad (~1k lines), but it becomes harder to also group the relevant functionality together.
Maybe the best way forward is that I try to split some of these functions into a new struct (so they don't take the client as receiver). Do you have any idea? I hate the fact that e.g. SetSearchServer even takes a client in the first place.

no longer the case in v2


This package is ESM only but it was tried to load by require

I followed:
https://github.com/thetarnav/solid-devtools/tree/main/packages/extension#getting-started
I have:

"solid-js": "^1.8.7",
"solid-devtools": "^0.27.9",

When I run npm run dev I get

✘ [ERROR] Failed to resolve "solid-devtools/vite". This package is ESM only but it was tried to load by require. See http://vitejs.dev/guide/troubleshooting.html#this-package-is-esm-only for more details. [plugin externalize-deps]
node_modules/esbuild/lib/main.js:1373:27:
1373 │         let result = await callback({

I havent changed much in my vite.config
import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';
import devtools from 'solid-devtools/vite';

export default defineConfig({
  plugins: [
    /*
    Uncomment the following line to enable solid-devtools.
    For more info see https://github.com/thetarnav/solid-devtools/tree/main/packages/extension#readme
    */
    devtools(),
    solidPlugin(),
  ],
  server: {
    port: 3000,
  },
  build: {
    target: 'esnext',
  },
});

and am simply importing the runtime in index.ts:

import 'solid-devtools';

Should have just checked http://vitejs.dev/guide/troubleshooting.html#this-package-is-esm-only
maybe still the docs could be updated regarding this step.

I think you’re right. At this point I’m too used to esm to have thought about it.


Reach out to Facebook for info re: basic user info (like twitterIdentityRetrieve)

New API endpoint: Lookup existing record with facebookIdentityRetieve (like twitterIdentityRetrieve)
Retrieve Facebook basic account info (to parallel Twitter retrieve)

Facebook doesn't allow us to do this.


Suggestion: Remove verbose extraction

Is there any reason to keep verbose mode on when extracting? As far as I'm concerned it just makes it take longer than it should.

Not in particular, but it's just part of a general principle of not hiding visual progress indication.
I just measured and the time difference is miniscule here, 29.0s vs 27.7s. If it's slow for you, the slowness is probably a bad terminal that renders synchronously and blocks while rendering (all the gnome-vte based ones) and redirecting the whole build to a file or using a better terminal would make a huge difference compared to just saving time at extraction.

Seems likely, but in my case it's probably because I'm using WSL. It's not exactly fast...

I think it would make more sense to just print a message when extraction has started or finished. Alternatively, we could make the script print a dot (.) with no line break at the end for every file extracted, so that progress would still be visible somehow.

you could simply use tar xf instead of tar xvf, @Calinou

@rofl0r That can be done too, but I was answering @richfelker's concern about hiding progress (especially on slow machines).

So piping stdout into some program that counts lines and prints a dot for each one? Something like this:
tar -xvf gcc-8.3.0.tar.bz2 | awk '{printf "."}'
would propably be fine then, and also wouldn't slow down because of 'bad' terminals like the gnome-based ones.
With big codebases like gcc, only printing every 30+ files would probably be a good idea:
tar -xvf gcc-8.3.0.tar.bz2 | awk '{if(NR%30==0)printf "."}'
(I have no idea what this will do to overall performance, but I can't imagine it doing much. I am not even close to any linux machine at the moment, so I can't test this)

I don't think this is a speed issue but a noise issue.
When you build musl-cross-make, the first 125 thousand lines of output are just from extracting archives.  That's not meaningful information, that's just ~10MB of noise.
I would suggest removing the verbose flag from all tar commands.
If users really want to watch files be unpacked, they can use the TAR_OPTIONS environment variable to re-insert the verbose flag.


release 0.14.1

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.45%. Comparing base (35c62b6) to head (be6e806).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #143   +/-   ##
=======================================
  Coverage   95.45%   95.45%
=======================================
  Files          61       61
  Lines        5127     5127
=======================================
  Hits         4894     4894
  Misses        233      233

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


try DEAP instead of pygad

pygad has no capability currently to make unique points (and devs do not agree their definition of uniqueness is stupid).
So maybe it is interesting to investigate if we can just replace pygad by DEAP?

in the intial version it seems that our adherence to strict indexing of the population might cause some problems as some of the functions in DEAP reorder the population by fitness (or other ordering criteria)


Multicolor TextEdit widgets (for Syntax Highlighting etc.)

Is your feature request related to a problem? Please describe.
I'm working on a little code editor with egui, and of course it'd be nice to have syntax highlighting ...
Describe the solution you'd like
A TextEdit widget that allows to pass a color map.
As a matter of fact I already implemented multicolor methods in tesselator.rs and painter.rs in my egui fork (which I otherwise keep aligned with the latest version):
https://github.com/the-drunk-coder/egui/blob/master/epaint/src/tessellator.rs#L730
https://github.com/the-drunk-coder/egui/blob/master/egui/src/painter.rs#L324
Works fine, but I'm not sure if that's how you'd do it ...

Interesting! I think this could be a very useful feature with not much work. So do you envision something like ui.add(TextEdit::multiline(my_text).colormap(my_highlighting)); then? If the user enters text then the colormap will be wrong that frame, but maybe having the colors be off by a few characters for a frame is fine.
I wonder if such a feature should be extended to also cover things like background color, underline, italics and ~strikethrough~, though arguably that is a lot more work for something a lot less useful.
Buy the way, I have an opt-in feature in the demo app which applies syntax-highlighting to the results of HTTP requests using the syntect crate: https://github.com/emilk/egui/blob/master/egui_demo_lib/src/apps/http_app.rs#L197-L251. What are you using for syntax highlighting?

Well the final color map is calculated every frame and maps character positions to text color changes. It's then passed to the painter method mentioned above.
The color map on the higher level that is passed to the text edit widget are mappings from function names, keywords etc. to their respective colors.
To generate the final map so far i just look for the positions of the keywords etc, and calculate the color changes from that.

I think having the colormap as a BTree<usize, Color32> works, but and ordered Vec<(usize, Color32)> might be more efficient, but also harder to use. In any case a wrapper type is in order: struct Colormap(…) and pass that on to the tessellator and painter like in your fork. Feel free to open a PR!

I'd like to express my interest for a syntax highlighting widget also! I think the example in the demo is perfect, but I would prefer if it were standardized rather than having to custom make it. Either way thanks for the example it's really cool! :)

I'm also interested in this feature, has there been any progress recently?

This is being worked on in https://github.com/emilk/egui/pull/682

Closed by https://github.com/emilk/egui/pull/682


[v1.2.1] WARN[0000] failed to get unpacked size of image

Description
Regression for v1.2.1, linux (alpine).
nerdctl image list returns:
WARN[0000] failed to get unpacked size of image "docker.io/bitnami/mariadb:10.6.12-debian-11-r3" for platform "linux/amd64"  error="snapshot sha256:81aa702947472a10111529ebc28392ccb5501e6dc04da00686766b4f89f595ab does not exist: not found"
for
REPOSITORY                                       TAG                     IMAGE ID        CREATED         PLATFORM       SIZE         BLOB SIZE bitnami/mariadb                                  10.6.12-debian-11-r3    7883c2256b1d    10 days ago      linux/amd64    0.0 B        107.6 MiB
v1.2.0 work as expected, without any warnings.
Steps to reproduce the issue

nerdctl image list

Describe the results you received and expected
WARN[0000] failed to get unpacked size of image "docker.io/bitnami/mariadb:10.6.12-debian-11-r3" for platform "linux/amd64"  error="snapshot sha256:81aa702947472a10111529ebc28392ccb5501e6dc04da00686766b4f89f595ab does not exist: not found"
What version of nerdctl are you using?
v1.2.1
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response

Can't repro the issue locally. Tried on Ubuntu 22.10 and ArchLinux.
Could you provide nerdctl info?

nerdctl info:
`Client:
Namespace:     k8s.io
Debug Mode:    false
Server:
Server Version: v1.5.17
Storage Driver: overlayfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Log: fluentd journald json-file syslog
Storage: native overlayfs zfs
Security Options:
seccomp
Profile: default
Kernel Version: 5.15.90-0-lts
Operating System: Alpine Linux v3.17
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.838GiB
Name: localhost
ID: e78861d3-26c6-48aa-a760-660a72c37f31
`

Strange, it seems nerdctl not use declared snapshotter from containerd config...
containerd itself running with snapshotter = "zfs". But for nerdctl I need to set snapshotter= "zfs", second time in nerdctl.toml , then all workr as expected, without warning or errors.

It might be the case (based on the observation, I'm not sure) that nerdctl has its own default snapshotter, if not set otherwise.
The expected behavior might be, if explicitly set in nerdctl (either via config/flag/env), nerdctl should use that; if not set, nerdctl uses containerd's configed/default snapshotter?

containerd's configed/default snapshotter?

containerd (daemon) has no concept of the default snapshotter.
The CRI plugin has, though, it is irrelevant to nerdctl.

So... nerdctl not related to cri, that used by containerd itself?
Strange, nerdctl related to containerd but not related to containerd runtime config-  cri [https://github.com/containerd/containerd/blob/main/docs/cri/config.md#snapshotter](The default snapshotter) ?

So... nerdctl not related to cri, that used by containerd itself?

Yes directly not related to cri
cri is the interface between containerd and k8s kubelet ; cri client is used  by the kubelet to communicate with containerd cri API

IMHO, cri/cni both are plugins implemented by containerd (part of containerd, if you like), so what is difference?
It would be useful if client for containerd take a notice of current/runtime containerd configuration, including plugins.

I can reproduce this issue when I pull an image with --all-plaforms, but not when I pull each platform individually:
# export CONTAINERD_ADDRESS=/var/run/docker/containerd/containerd.sock

# /usr/local/libexec/nerdctl/nerdctl version
Client:
 Version:       v1.2.1
 OS/Arch:       linux/amd64
 Git commit:    a0bbfd75ba92bcb11ac6059bf4f6f4e50c6da0b8
 buildctl:
  Version:      v0.11.3
  GitCommit:    4ddee42a32aac4cd33bf9c2be4c87c2ffd34747b

Server:
 containerd:
  Version:      v1.6.18
  GitCommit:    2456e983eb9e37e47538f59ea18f2043c9a73640
 runc:
  Version:      1.1.4
  GitCommit:    5fd4c4d144137e991c4acebb2146ab1483a97925

Pull for my current platform:
# /usr/local/libexec/nerdctl/nerdctl image pull nginx
docker.io/library/nginx:latest:                                                   resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:480868e8c8c797794257e2abd88d0f9a8809b2fe956cbfbc05dcc0bca1f7cd43:    done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:3f01b0094e21f7d55b9eb7179d01c49fdf9c3e1e3419d315b81a9e0bae1b6a90: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:448a08f1d2f94e8db6db9286fd77a3a4f3712786583720a12f1648abb8cace25:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:8db4caa19df89c606d39076b27fe163e1f37516f889ff5bfee1fce03056bb6b0:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:9c2d6be5a61d1ad44be8e5e93a5800572cff95601147c45eaa9ecf0d4cb66f83:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:15a97cf85bb88997d139f86b2be23f99175d51d7e45a4c4b04ec0cbdbb56a63b:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:6b7e4a5c7c7ad54c76bc4861f476f3b70978beede9e752015202dd223383602b:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:9e3ea8720c6de96cc9ad544dddc695a3ab73f5581c5d954e0504cc4f80fb5e5c:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:bf36b64666794f28ea5c3d4d75add149c04e849342e3d45ca31aac9cf4715dd1:    done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 19.7s                                                                    total:  54.4 M (2.8 MiB/s)

# /usr/local/libexec/nerdctl/nerdctl image ls
REPOSITORY    TAG       IMAGE ID        CREATED           PLATFORM       SIZE         BLOB SIZE
nginx         latest    480868e8c8c7    55 seconds ago    linux/amd64    149.8 MiB    54.4 MiB

Pull for a single platform, different from my current platform:
# /usr/local/libexec/nerdctl/nerdctl image pull --platform=linux/arm64 nginx
docker.io/library/nginx:latest:                                                   resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:480868e8c8c797794257e2abd88d0f9a8809b2fe956cbfbc05dcc0bca1f7cd43:    exists         |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:9b920e938111710c2768b31699aac9d1ae80ab6284454e8a9ff42e887fa1db31: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:6405d9b26fafcc65baf6cbacd0211bd624632da10d18cae7dc42220a00eb7655:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:cb9192afe1d072068ae3067129c76c7c2921b70e09095412610786735f77bd7c:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:4b1895c88e3733ff36e27a63e76094aef48fd518e9f13ac8bca9a39db2074f76:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:696a1263847bca63d17d42c35c8ac8cb5c2374d31bb97e4d943ae42ca4dcb50f:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:4f04dadf04071173baf17ade9d5bdf81f706b7e7dab287ad9ac9d99f0f5bfef5:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:93b39cd2d2c290e2e556c703805a2449c6a94f192286367ed4c620d9dbbc2f1e:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:b5d25b35c1dbfa256bea3dd164b2048d6c7f8074a555213c493c36f07bf4c559:    done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 17.8s                                                                    total:  53.0 M (3.0 MiB/s)

# /usr/local/libexec/nerdctl/nerdctl image ls
REPOSITORY    TAG       IMAGE ID        CREATED          PLATFORM          SIZE         BLOB SIZE
nginx         latest    480868e8c8c7    3 minutes ago    linux/amd64       149.8 MiB    54.4 MiB
nginx         latest    480868e8c8c7    3 minutes ago    linux/arm64/v8    142.9 MiB    53.0 MiB

... do the same for all supported platforms, just to ensure the issue isn't caused by a specific image ...
# /usr/local/libexec/nerdctl/nerdctl image ls
REPOSITORY    TAG       IMAGE ID        CREATED           PLATFORM          SIZE         BLOB SIZE
nginx         latest    480868e8c8c7    10 minutes ago    linux/amd64       149.8 MiB    54.4 MiB
nginx         latest    480868e8c8c7    10 minutes ago    linux/arm/v5      134.5 MiB    51.2 MiB
nginx         latest    480868e8c8c7    10 minutes ago    linux/arm/v7      119.2 MiB    48.1 MiB
nginx         latest    480868e8c8c7    10 minutes ago    linux/arm64/v8    142.9 MiB    53.0 MiB
nginx         latest    480868e8c8c7    10 minutes ago    linux/386         152.9 MiB    56.2 MiB
nginx         latest    480868e8c8c7    10 minutes ago    linux/mips64le    156.3 MiB    52.6 MiB
nginx         latest    480868e8c8c7    10 minutes ago    linux/ppc64le     192.9 MiB    59.8 MiB
nginx         latest    480868e8c8c7    10 minutes ago    linux/s390x       148.3 MiB    52.5 MiB

Delete the image, then pull all platforms at once:
# /usr/local/libexec/nerdctl/nerdctl image rm nginx
Untagged: docker.io/library/nginx:latest@sha256:480868e8c8c797794257e2abd88d0f9a8809b2fe956cbfbc05dcc0bca1f7cd43
Deleted: sha256:8553b91047dad45bedc292812586f1621e0a464a09a7a7c2ce6ac5f8ba2535d7
Deleted: sha256:a29cc9587af6488ae0cbb962ecbe023d347908cc62ca5d715af06e54ccaa9e36
Deleted: sha256:6bc8ae8fb3cf0909b3d9c2e74f6cabe16e6a2322c52cec76fbaecaef47006f1d
Deleted: sha256:5684be535bf11cb9ad1a57b51085f36d84ae8361eabc2b4c2ba9a83e8b084b20
Deleted: sha256:93ee76f39c974e4f819e632149c002d6f509aadc5995ec6523a96b337751c8ed
Deleted: sha256:1040838fe30e6f26d31bde96c514f47ee4bf727b3f1c3c7b045ea3891c1c2150

# /usr/local/libexec/nerdctl/nerdctl image pull --all-platforms nginx
docker.io/library/nginx:latest:                                                   resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:480868e8c8c797794257e2abd88d0f9a8809b2fe956cbfbc05dcc0bca1f7cd43:    done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:d9a557b402bb710cf656080a9c0188e4c695633330ed5d8774331a30170a327c: done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:d08b58cfba6a9ec21b0d323b42332e07b35b74c914998005efe2fbada0352298: done           |++++++++++++++++++++++++++++++++++++++|
docker.io/library/nginx:latest:                                                   resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:480868e8c8c797794257e2abd88d0f9a8809b2fe956cbfbc05dcc0bca1f7cd43:    done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:d9a557b402bb710cf656080a9c0188e4c695633330ed5d8774331a30170a327c: done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:d08b58cfba6a9ec21b0d323b42332e07b35b74c914998005efe2fbada0352298: done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:9b920e938111710c2768b31699aac9d1ae80ab6284454e8a9ff42e887fa1db31: done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:3f01b0094e21f7d55b9eb7179d01c49fdf9c3e1e3419d315b81a9e0bae1b6a90: done           |++++++++++++++++++++++++++++++++++++++|
...
elapsed: 29.8s                                                                    total:  399.5  (13.4 MiB/s)

# /usr/local/libexec/nerdctl/nerdctl image ls
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/amd64"  error="snapshot sha256:6b33c8bf5207fd88b6e0f942c230c59477990205dbed0ae41d54b5b29ed1051d does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/arm/v5"  error="snapshot sha256:b020b2a698893ecaee20bec26a790dcbbab5371120f5e5972e65cec996812655 does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/arm/v7"  error="snapshot sha256:0f27f8a2024b4345cdc0ec75a94d47ba898315b7f4c37c7916a450cd3205b95f does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/arm64/v8"  error="snapshot sha256:cb8dc76c407372355cfe9455441210e96f06aff9bd4fcea99ac81587eb398c39 does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/386"  error="snapshot sha256:d68eb78786d4ce773c5f0e686284e9198d69f09f4193a766ba2e195bd79ade0d does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/mips64le"  error="snapshot sha256:dda9836320a518cabefa8f24033e0fed297db5212e99867ca242faf4470e84de does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/ppc64le"  error="snapshot sha256:5b4c8d1ebf4f5b40047963ade5fd926bfa43fce62a8d87bdd9cdf3b32d60299e does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/s390x"  error="snapshot sha256:0938cb1bc2fb9d6b3f0d2e1ab80d7a60eb88f1a1cdcb8b2f6eb574cefbaa350c does not exist: not found"
REPOSITORY    TAG       IMAGE ID        CREATED          PLATFORM          SIZE     BLOB SIZE
nginx         latest    480868e8c8c7    2 minutes ago    linux/amd64       0.0 B    54.4 MiB
nginx         latest    480868e8c8c7    2 minutes ago    linux/arm/v5      0.0 B    51.2 MiB
nginx         latest    480868e8c8c7    2 minutes ago    linux/arm/v7      0.0 B    48.1 MiB
nginx         latest    480868e8c8c7    2 minutes ago    linux/arm64/v8    0.0 B    53.0 MiB
nginx         latest    480868e8c8c7    2 minutes ago    linux/386         0.0 B    56.2 MiB
nginx         latest    480868e8c8c7    2 minutes ago    linux/mips64le    0.0 B    52.6 MiB
nginx         latest    480868e8c8c7    2 minutes ago    linux/ppc64le     0.0 B    59.8 MiB
nginx         latest    480868e8c8c7    2 minutes ago    linux/s390x       0.0 B    52.5 MiB

Pulling an explicit platform after pulling all images makes the warning disappear for that specific platform.
# ./nerdctl image pull --platform=linux/amd64 nginx
docker.io/library/nginx:latest:                                                   resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:480868e8c8c797794257e2abd88d0f9a8809b2fe956cbfbc05dcc0bca1f7cd43:    exists         |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:3f01b0094e21f7d55b9eb7179d01c49fdf9c3e1e3419d315b81a9e0bae1b6a90: exists         |++++++++++++++++++++++++++++++++++++++|
config-sha256:448a08f1d2f94e8db6db9286fd77a3a4f3712786583720a12f1648abb8cace25:   exists         |++++++++++++++++++++++++++++++++++++++|
layer-sha256:8db4caa19df89c606d39076b27fe163e1f37516f889ff5bfee1fce03056bb6b0:    exists         |++++++++++++++++++++++++++++++++++++++|
layer-sha256:15a97cf85bb88997d139f86b2be23f99175d51d7e45a4c4b04ec0cbdbb56a63b:    exists         |++++++++++++++++++++++++++++++++++++++|
layer-sha256:9c2d6be5a61d1ad44be8e5e93a5800572cff95601147c45eaa9ecf0d4cb66f83:    exists         |++++++++++++++++++++++++++++++++++++++|
layer-sha256:9e3ea8720c6de96cc9ad544dddc695a3ab73f5581c5d954e0504cc4f80fb5e5c:    exists         |++++++++++++++++++++++++++++++++++++++|
layer-sha256:6b7e4a5c7c7ad54c76bc4861f476f3b70978beede9e752015202dd223383602b:    exists         |++++++++++++++++++++++++++++++++++++++|
layer-sha256:bf36b64666794f28ea5c3d4d75add149c04e849342e3d45ca31aac9cf4715dd1:    exists         |++++++++++++++++++++++++++++++++++++++|
elapsed: 7.0 s                                                                    total:   0.0 B (0.0 B/s)

# ./nerdctl image ls
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/arm/v5"  error="snapshot sha256:b020b2a698893ecaee20bec26a790dcbbab5371120f5e5972e65cec996812655 does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/arm/v7"  error="snapshot sha256:0f27f8a2024b4345cdc0ec75a94d47ba898315b7f4c37c7916a450cd3205b95f does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/arm64/v8"  error="snapshot sha256:cb8dc76c407372355cfe9455441210e96f06aff9bd4fcea99ac81587eb398c39 does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/386"  error="snapshot sha256:d68eb78786d4ce773c5f0e686284e9198d69f09f4193a766ba2e195bd79ade0d does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/mips64le"  error="snapshot sha256:dda9836320a518cabefa8f24033e0fed297db5212e99867ca242faf4470e84de does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/ppc64le"  error="snapshot sha256:5b4c8d1ebf4f5b40047963ade5fd926bfa43fce62a8d87bdd9cdf3b32d60299e does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/s390x"  error="snapshot sha256:0938cb1bc2fb9d6b3f0d2e1ab80d7a60eb88f1a1cdcb8b2f6eb574cefbaa350c does not exist: not found"
REPOSITORY    TAG       IMAGE ID        CREATED          PLATFORM          SIZE         BLOB SIZE
nginx         latest    480868e8c8c7    3 minutes ago    linux/amd64       149.8 MiB    54.4 MiB
nginx         latest    480868e8c8c7    3 minutes ago    linux/arm/v5      0.0 B        51.2 MiB
nginx         latest    480868e8c8c7    3 minutes ago    linux/arm/v7      0.0 B        48.1 MiB
nginx         latest    480868e8c8c7    3 minutes ago    linux/arm64/v8    0.0 B        53.0 MiB
nginx         latest    480868e8c8c7    3 minutes ago    linux/386         0.0 B        56.2 MiB
nginx         latest    480868e8c8c7    3 minutes ago    linux/mips64le    0.0 B        52.6 MiB
nginx         latest    480868e8c8c7    3 minutes ago    linux/ppc64le     0.0 B        59.8 MiB
nginx         latest    480868e8c8c7    3 minutes ago    linux/s390x       0.0 B        52.5 MiB

Notice that the size of my platform is now 149.8 MiB, and no longer 0.0B.

The issue can also be reproduced by simply passing multiple platforms on the command line.
# ./nerdctl image pull --platform=linux/amd64 --platform=linux/arm/v7 --platform=linux/arm/v5 nginx
docker.io/library/nginx:latest:                                                   resolved       |++++++++++++++++++++++++++++++++++++++|
index-sha256:480868e8c8c797794257e2abd88d0f9a8809b2fe956cbfbc05dcc0bca1f7cd43:    done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:573aeafa0c5883bb8f93516fe904b47057b4fba547ad310c6967f563e5a2bb07: done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:bc4cb92540db42f21dd806c4451f33b623a9b6441c882e8554325f3a3702da76: done           |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:3f01b0094e21f7d55b9eb7179d01c49fdf9c3e1e3419d315b81a9e0bae1b6a90: done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:8db4caa19df89c606d39076b27fe163e1f37516f889ff5bfee1fce03056bb6b0:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:bf36b64666794f28ea5c3d4d75add149c04e849342e3d45ca31aac9cf4715dd1:    done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:448a08f1d2f94e8db6db9286fd77a3a4f3712786583720a12f1648abb8cace25:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:9e3ea8720c6de96cc9ad544dddc695a3ab73f5581c5d954e0504cc4f80fb5e5c:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:15a97cf85bb88997d139f86b2be23f99175d51d7e45a4c4b04ec0cbdbb56a63b:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:6b7e4a5c7c7ad54c76bc4861f476f3b70978beede9e752015202dd223383602b:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:9c2d6be5a61d1ad44be8e5e93a5800572cff95601147c45eaa9ecf0d4cb66f83:    done           |++++++++++++++++++++++++++++++++++++++|
...
elapsed: 20.2s                                                                    total:  153.7  (7.6 MiB/s)

# ./nerdctl image ls
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/amd64"  error="snapshot sha256:6b33c8bf5207fd88b6e0f942c230c59477990205dbed0ae41d54b5b29ed1051d does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/arm/v5"  error="snapshot sha256:b020b2a698893ecaee20bec26a790dcbbab5371120f5e5972e65cec996812655 does not exist: not found"
WARN[0000] failed to get unpacked size of image "docker.io/library/nginx:latest" for platform "linux/arm/v7"  error="snapshot sha256:0f27f8a2024b4345cdc0ec75a94d47ba898315b7f4c37c7916a450cd3205b95f does not exist: not found"
REPOSITORY    TAG       IMAGE ID        CREATED           PLATFORM        SIZE     BLOB SIZE
nginx         latest    480868e8c8c7    18 seconds ago    linux/amd64     0.0 B    54.4 MiB
nginx         latest    480868e8c8c7    18 seconds ago    linux/arm/v5    0.0 B    51.2 MiB
nginx         latest    480868e8c8c7    18 seconds ago    linux/arm/v7    0.0 B    48.1 MiB

PR:

https://github.com/containerd/nerdctl/pull/2245


[Fabric 1.17.X] Compatibility Reports

1.17 Fabric Cubic Chunks compatibility reports
What is this place?
This is a place where you can report compatibility status of mods. Both compatibility issues and  information about compatible mods are welcome here.
Don't be discouraged to report information about mods that have been already reported, but with older version of cubic chunks, fabric or the mod. It is useful to know that an issue is still relevant after updates. Duplicated reports will be merged into one for a given mod and then deleted to keep this place reasonably easy to navigate and search. It is expected that your specific comment here will be deleted and it's content moved.
Mods that work should also be reported, even if it looks like mods of the reports are about incompatibilities.
Off-topic messages will be deleted. This is not a place for discussion.
What to avoid?

Avoid posting compatibility reports with modpacks, including self-made modpacks, unless an issue can't be reproduced after removing any of the mods. The less mods involved, the easier it is for other people to find an issue and potentially to fix it. If you want help with modpacks, consider asking on our discord server.

Avoid reporting issues with outdated versions of mods, always test with their latest version(at the time of writing)

What information to include?
A minimal report should include

Cubic Chunks version
Mod(s) version
Fabric version
Fabric API version
What works and what doesn't
Crash report w/ said mod (in an isolated environment with only CC & said mod preferably).

While the above should be enough, try to provide as much information as you can.

Periodically, information about mods may be moved to compatibility table below.

Table holder

Does that mean cubic chunks for 1.17 is now available to the general public? (Even if you have to build it from source or smth idc I just want to use the mod on recent versions)

it has been "available" for an entire year, nothing is private.
Also no you should not try it, it's not ready


[$1000] Chat - Offline sent messages with emojis added are displayed without emojis after going online

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

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

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
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: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/230514767-a0b196e1-da6c-4a50-b6bd-531992614341.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01dfa3e3f4c38de68c
Upwork Job ID:<PHONE_NUMBER>841316352
Last Price Increase: 2023-04-10

Triggered auto assignment to @stephanieelliott (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

@stephanieelliott Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

I was able to repro this on iOS/Safari

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

Current assignee @stephanieelliott 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 @bondydaa (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.
Chat - Offline sent messages with emojis added are displayed without emojis after going online
What is the root cause of that problem?
When sending a message and then adding the emoji, the app will be received 2 eventData from pusher in the correct order, the first one is adding a new message (pushJSON 1) and the second one is adding emoji (pushJSON 2). But the application will update pushJSON 2 into ONYX before updating pushJSON 1. So that the pushJSON 1 will override the pushJSON 2 and the change of pushJSON 2 will not be saved in ONYX
https://github.com/Expensify/App/blob/71b6b1a924b883a645d022e3afd80d51ba6fda8c/src/libs/actions/User.js#L472-L475
This line makes pushJSON update order reversed.
SequentialQueue.getCurrentRequest().then(() => {

To explain this, we can take a look at this function
https://github.com/Expensify/App/blob/71b6b1a924b883a645d022e3afd80d51ba6fda8c/src/libs/Network/SequentialQueue.js#L31-L53
The first process function will trigger the second process function (recursive). So that the second process function will be finished before the first process function. So, the second PushJSON will be updated before the first one.
What changes do you think we should make in order to solve the problem?
We should push all PushJSON into an array and execute it in the right order
in here
https://github.com/Expensify/App/blob/71b6b1a924b883a645d022e3afd80d51ba6fda8c/src/libs/actions/User.js#L472-L475
updated
let pushJSONData = [];
    let numberOfPushJSON = 0;

    // Receive any relevant Onyx updates from the server
    PusherUtils.subscribeToPrivateUserChannelEvent(Pusher.TYPE.ONYX_API_UPDATE, currentUserAccountID, (pushJSON) => {
        numberOfPushJSON++;
        SequentialQueue.getCurrentRequest().then(() => {
            pushJSONData.push(pushJSON);
            if (numberOfPushJSON === pushJSONData.length) {
                pushJSONData.reverse().forEach((data) => {
                    Onyx.update(data);
                    triggerNotifications(data);
                });
                pushJSONData = [];
                numberOfPushJSON = 0;
            }
        });
    });

What alternative solutions did you explore? (Optional)
NA
Result
Work well
https://user-images.githubusercontent.com/129500732/230879227-1859d99f-d728-4198-8ec7-51fa355683e9.mp4

There are several similar issues, https://github.com/Expensify/App/issues/15998#issuecomment-1479497357
Maybe should hold by  #12775

Since it's two write actions taken while offline, and then a refresh is required to see the correct state, it's very likely the replay effect.

awesome thank you. throwing a hold on this and taking off help wanted for now.
We can retest once and re-add once the main PR(s) are merged.

Main PRs are still open, this is still on hold.

The replay effect fix is on staging so I'll take this off of hold and we can retest.

It looks like it's mostly fixed, but there's still a problem with the first reacted message.
https://github.com/Expensify/App/assets/26260477/3cf9a18f-b01b-4e92-80fe-71305835cecb

After checking the code carefully, i noticed that the function subscribeToUserDeprecatedEvents cause this bug. As @tgolen 's comment, this function will be removed soon cc @neil-marcellini. Hope this helps

Pusher events should not be sent to the requesting client because we use a Pusher socket_id to prevent sending the events to that socket. Can you add logging and provide evidence that we are in fact receiving Push events here?
If so then we'll have to figure out why the socket is still receiving the events.

Hi! I think it's possible that what you're seeing is the same as https://github.com/Expensify/App/issues/16506 that I've been working on for a couple of weeks 😅 . If you can verify it's the same issue, then you can ignore it for now.

Ah yes, that seems like it may be the same issue. Will leave this open a bit longer for others to confirm for themselves though!


[$250] Task - As assignee if user taps Mark as complete, displays error message

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

Version Number: 1.4.53
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Launch app
Tap fab -- Assign task
Enter title
Select a user for somewhere
Select another user as Assignee
Tap confirm task
Go to https://staging.new.expensify.com/
in mweb
Login as task assignee
Tap on the newly assigned task report from LHN
Tap Mark as complete

Expected Result:
As assignee if user taps Mark as complete, must not display any error message .
Actual Result:
As assignee if user taps Mark as complete, displays error message " You do not have permission to do the requested action"
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/4a3f03bc-a911-449a-9306-7e7739397d76

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01979d99f098439a46
Upwork Job ID:<PHONE_NUMBER>583100928
Last Price Increase: 2024-05-02

We think this issue might be related to the #vip-vsb.

Reviewing it.

I'm having issues adding this issue here:
https://github.com/orgs/Expensify/projects/106/views/1
try again tonight.

Added to VIP-VSB.

Not overdue.

no proposals to review

Still waiting for proposals.

This has been added to the #vip-vsb project as a medium priority.

No proposals yet.

No proposals yet

It is not overdue; we are waiting for proposals.
@abdulrahuman5196, can we still reproduce this? If not, let's close it.

I will try to reproduce this later today.

I will prioritize this soon.

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work on this issue.

I confirm that the bug is reproducible. I've investigated the issue. It seems like a backend problem as well. The bug happens if an assigned user is not a member of a report where a task was shared. So a sender should invite the assigned user first and only after that assign a task. There 2 ways to fix it:

Allow the assigned user to complete tasks even when it is in a foreign report.
Restrict any actions with a task if the assigned user is not a report member.

I prefer the 1st variant to the 2nd one. We need a backend engineer here. Thank you!
Screenshots

Not overdue, waiting for internal engineering assignment.

Needs internal engineering assignment.

Still waiting for proposals.

Still waiting for proposals.

Do you mean an internal engineer?

Not overdue, waiting for internal engineering assignment.

Not overdue, waiting for internal engineering assignment.

Posted to #vip-vsb again now.
https://expensify.slack.com/archives/C066HJM2CAZ/p1716221484778999

De-prioritizing this based on this discussion.
https://expensify.slack.com/archives/C066HJM2CAZ/p1716510847407189

Not overdue.

Hello!
FYI: I have a vacation from 11.07 to 26.07. Meanwhile, someone from Callstack can help with this issue.

@isabelastisser hey! Any updates? Do we have a developer for this issue?

Hey, @rezkiy37! This is not a priority, so no updates.

Issue not reproducible during KI retests. (First week)

Issue not reproducible during KI retests. (Second week)

I can confirm the bug is not replicable anymore. We can close the issue.
https://github.com/user-attachments/assets/a5e3534e-21da-47f4-ba0a-873031ae56af
cc @isabelastisser @abdulrahuman5196 @mvtglobally @izarutskaya

Thanks, @rezkiy37! Closing.


minlength (and tooshort) are supported by Edge 17

Hey @dstorey - did you find time to check my comment above? Thanks!

Pinging @dstorey

@dstorey https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4678527/ was not fixed with Edge 17!
Check out this test case: http://output.jsbin.com/xutife/1
(taken from https://bugzilla.mozilla.org/show_bug.cgi?id=1203844)


Updated taskWrapper to update on function calls

I also did some changes I said on discord.
Seems very stable and runs with async.

Works flawlessly, fantastic work.
Thank you!


Resolves file paths are not resolved from current working directory

CLIs conventionally resolve relative file paths from CWD, but ts-to-zod doesn't seem to work like this, and it doesn't seem to be documented.
For example if you run yarn ts-to-zod ../a.ts b.ts from inside /home/projects/foo/bar, it resolves the source file to /home/projects/a.ts.
I suggest resolving relative paths from the CWD.

I was wrong!


compute gradient error:  'KerasTensor' object has no attribute '_id',   (tensorflow 2.4.0)

Hi, i'm using tensorflow 2.4.0 ,  and want to compute gradients with keras tensor,  but failed.
I'm using python3.8
Below are the log info:
Traceback (most recent call last):
File "demo-resnet-18-v4.py", line 119, in
cam, heatmap = grad_cam(model, preprocessed_input, predicted_class, "activation_16")
File "demo-resnet-18-v4.py", line 65, in grad_cam
grads = gtape.gradient(loss, var_list)
File "/Users/baonansen/miniconda3/envs/tf2.4/lib/python3.8/site-packages/tensorflow/python/eager/backprop.py", line 1080, in gradient
flat_grad = imperative_grad.imperative_grad(
File "/Users/baonansen/miniconda3/envs/tf2.4/lib/python3.8/site-packages/tensorflow/python/eager/imperative_grad.py", line 79, in imperative_grad
return pywrap_tfe.TFE_Py_TapeGradient(
AttributeError: 'KerasTensor' object has no attribute '_id'
below are the code:
53 def grad_cam(input_model, image, category_index, layer_name):
54     with tf.GradientTape() as gtape:
55         nb_classes = 53
56         target_layer = lambda x: target_category_loss(x, category_index, nb_classes)
57         x = Lambda(target_layer, output_shape = target_category_loss_output_shape)(input_model.output)
58         model = Model(inputs=input_model.input, outputs=x)
59         model.summary()
60
61         loss = K.sum(model.output)
62         conv_output =  [l for l in model.layers if l.name == layer_name][0].output
63
64         var_list = [conv_output]
65     grads = gtape.gradient(loss, var_list)

refine the code format:
def grad_cam(input_model, image, category_index, layer_name):
with tf.GradientTape() as gtape:
    nb_classes = 53

    target_layer = lambda x: target_category_loss(x, category_index, nb_classes)
    x = Lambda(target_layer, output_shape = target_category_loss_output_shape)(input_model.output)

    model = Model(inputs=input_model.input, outputs=x)
    model.summary()

    loss = K.sum(model.output)
    conv_output =  [l for l in model.layers if l.name == layer_name][0].output

    var_list = [conv_output]
grads = gtape.gradient(loss, var_list)

refine the code format:
def grad_cam(input_model, image, category_index, layer_name):
with tf.GradientTape() as gtape:
    nb_classes = 53

    target_layer = lambda x: target_category_loss(x, category_index, nb_classes)
    x = Lambda(target_layer, output_shape = target_category_loss_output_shape)(input_model.output)

    model = Model(inputs=input_model.input, outputs=x)
    model.summary()

    loss = K.sum(model.output)
    conv_output =  [l for l in model.layers if l.name == layer_name][0].output

    var_list = [conv_output]
grads = gtape.gradient(loss, var_list)

by the way: The input model is a resnet model , implemented by tf.keras

by the way: The input model is a resnet model , implemented by tf.keras

@realbns2008
Please, share colab link or simple standalone code with proper indentation and supporting files to reproduce the issue in our environment. It helps us in localizing the issue faster. Thanks!

@realbns2008
Please, share colab link or simple standalone code with proper indentation and supporting files to reproduce the issue in our environment. It helps us in localizing the issue faster. Thanks!

@realbns2008
Please, share colab link or simple standalone code with proper indentation and supporting files to reproduce the issue in our environment. It helps us in localizing the issue faster. Thanks!

Hi ravikyram, below is the main python code
https://colab.research.google.com/drive/1fZtcnOY7mRMnFHihGsve3jA6RXk05dv-?usp=sharing

@realbns2008
Please, share colab link or simple standalone code with proper indentation and supporting files to reproduce the issue in our environment. It helps us in localizing the issue faster. Thanks!

Hi ravikyram, below is the main python code
https://colab.research.google.com/drive/1fZtcnOY7mRMnFHihGsve3jA6RXk05dv-?usp=sharing

@ravikyram
here is the link of the model i use:
https://drive.google.com/file/d/1N013WMlgmDYOtblSxcmMGKB1cY3cRsaM/view?usp=sharing

@ravikyram
here is the link of the model i use:
https://drive.google.com/file/d/1N013WMlgmDYOtblSxcmMGKB1cY3cRsaM/view?usp=sharing

@realbns2008
I am not able to reproduce the issue. Please, help me with reproducing the issue. Please, find the gist here.Thanks!

@realbns2008
I am not able to reproduce the issue. Please, help me with reproducing the issue. Please, find the gist here.Thanks!

@ravikyram
Hi, it looks like that the model path is wrong.
did you download the model to path "/content/industry_classifier_v4.h5" ?

@ravikyram
Hi, it looks like that the model path is wrong.
did you download the model to path "/content/industry_classifier_v4.h5" ?

the model link looks fine "https://drive.google.com/file/d/1N013WMlgmDYOtblSxcmMGKB1cY3cRsaM/view?usp=sharing"
I download the model from this link, and test it on my machine, and it reproduce the issue

the model link looks fine "https://drive.google.com/file/d/1N013WMlgmDYOtblSxcmMGKB1cY3cRsaM/view?usp=sharing"
I download the model from this link, and test it on my machine, and it reproduce the issue

I am getting the same error in Tensorflow 2.4.1 when computing gradients.
Here is a reproducible example of the issue:
https://drive.google.com/file/d/1po6RoHQ_cok64EHXVrOIej1UXNnYsFIy/view?usp=sharing
Any help would greatly appreciated.

Tensorflow 2.4.1 exact same problem

Can confirm, running into the same problem in TF 2.4.1

I am getting the same error in Keras 2.4.3 and Tensorflow 2.4.1 when computing gradients too.
A line original code in example is: grads = K.gradients(loss, model.input)[0], but it raise RuntimeError while running. And than I replaced it with the following codes:
grads = None
with tf.GradientTape() as gtape:
    grads = gtape.gradient(loss, model.input)[0]

The same error appear. The complete code in here:
from keras.applications import VGG16
from keras import backend as K
import tensorflow as tf

model = VGG16(weights='imagenet', include_top=False)

layer_name = 'block3_conv1'
filter_index = 0

layer_output = model.get_layer(layer_name).output
loss = K.mean(layer_output[:, :, :, filter_index])

grads = K.gradients(loss, model.input)[0]

# grads = None
# with tf.GradientTape() as gtape:
#     grads = gtape.gradient(loss, model.input)[0]

grads /= (K.sqrt(K.mean(K.square(grads))) + 1e-5)

iterate = K.function([model.input], [loss, grads])

import numpy as np

loss_value, grads_value = iterate([np.zeros((1, 150, 150, 3))])
input_img_data = np.random.random((1, 150, 150, 3)) * 20 + 128.0

step = 1.0
for i in range(40):
    loss_value, grads_value = iterate([input_img_data])

    input_img_data += grads_value * step

def deprocess_image(x):
    x -= x.mean()
    x /= (x.std() + 1e-5)
    x *= 0.1

    x += 0.5
    x = np.clip(x, 0, 255).astype('uint8')

    return x

def generate_pattern(layer_name, filter_index, size=150):
    layer_output = model.get_layer(layer_name).output
    loss = K.mean(layer_output[:, :, filter_index])

    grads = K.gradients(loss, model.input)[0]

    grads /= (K.sqrt(K.mean(K.square(grads))) + 1e-5)

    iterate = K.function([model.input], [loss, grads])

    input_img_data = np.random.random((1, size, size, 3)) * 20 + 128.0

    step = 1.0
    for i in range(40):
        loss_value, grads_value = iterate([input_img_data])
        input_img_data += grads_value * step

    img = input_img_data
    return deprocess_image(img)

layer_name = 'block1_conv1'
size = 64
margin = 5

results = np.zeros((8 * size + 7 * margin, 8 * size + 7 * margin, 3))

import matplotlib.pyplot as plt

for i in range(8):
    for j in range(8):
        filter_img = generate_pattern(layer_name, i + (j * 8), size=size)

        horizontal_start = i * size + i * margin
        horizontal_end = horizontal_start + size
        vertical_start = j * size + j * margin
        vertical_end = vertical_start + size
        results[horizontal_start: horizontal_end, vertical_start: vertical_end, :] = filter_img

    plt.figure(figsize=(20, 20))
    plt.imshow(results)

plt.show()

I am getting the same error in tensorflow 2.4.1 when computing gradients.

yes, I am having the same error with 2.4.1.

i have the same error with 2.4.1

same issue! with 2.4.1 any one have suggestion?!

I ran into this problem when trying to run gradients using the functional keras API on 2.4.1
The main difference I see is that the layer outputs are the wrong type in 2.4.1
The solution for now is to downgrade to 2.3.0
See:
import tensorflow as tf
import numpy as np
print(tf.__version__)
def funtional_model():
    input_layer = tf.keras.layers.Input(shape=(10,10))
    dense = tf.keras.layers.Dense(5)(input_layer)
    model = tf.keras.Model(input_layer, dense)
    return model

functional_model = funtional_model()
print(type(functional_model.get_layer('dense').output))

with tf.GradientTape() as tape:
    outs = functional_model(np.random.rand(2,10))
gradients = tape.gradient(outs[0,0], functional_model.get_layer('input_1').output)

in 2.3.0:
2.3.0
<class 'tensorflow.python.framework.ops.Tensor'>

in 2.4.1/2.4.0:
2.4.1
<class 'tensorflow.python.keras.engine.keras_tensor.KerasTensor'>
.
.
.
AttributeError: 'KerasTensor' object has no attribute '_id'

same issue here computing gradients on tf.keras.application.VGG16 with 2.4.1

I have the same issue, is someone who has a workaround?

Adding Tomer who worked on keras_tensor.

Using tf.GradientTape as a part of Keras functional model construction is unsupported, and we have no plans on the roadmap to add support for it at this point in time.
If you want your model to produce gradients as outputs (though that does not appear to be the case in the above examples):
Use a subclass model that uses tf.GradientTape to output the gradients from call.
If you are just trying to use GradientTape with already-built Keras models: Call the model on actual tensors with values inside the tf.GradientTape scope rather than using the symbolic Keras inputs/outputs.
For some of these use cases where you don't want to write a custom training loop from scratch, you may also want to consider using a custom training step if you need to use gradienttape in nontrivial ways:
https://keras.io/guides/customizing_what_happens_in_fit/


Setup files has to be added

It's really a waste of time butting Ip and port all the time over and over again, and if it will be getting more complex (for example, user can select which directories has to be skipped, or pre-set multi-directory usage) it will be taking more time to set this all up.
It has to be something like json, for example.
For now files has to be storing:

IP connecting to.
Port connecting to/server hosting.
Directory that needs to be syncronized.

Also static class for reading\writing these files has to be added.
All the changes has to be scalable for future changes.

JSON files were not really efficient for main purposes, so it was decided to use ini files instead. #6


LinkedIn url update

Summary
Closes #1285. Removes the prefix for the link to linkedIn. Still not the perfect solution as users will need to enter their whole link otherwise it won't work, but since there are different routes for individuals, companies, schools, etc, I don't know that there is a great alternative.
Also fixed some formatting issues for the edit input fields for social links. Open to feedback if others feel this could be dealt with more elegantly. The Input component has flex and centering formatting, which is causing this to look awkward in prod. Rather than adjusting that and impacting other areas of the site, I just used a module here.
Lastly, added a couple of translations that were missing on the edit profile page.
Checklist

[ X] On the frontend, I've made my strings translate-able.
[ N/A] If I've added shared components, I've added a storybook story.
[X ] I've made pages responsive and look good on mobile.

Screenshots
Prod LinkedIn Link:

Updated LinkedIn Link:

Prod Social Inputs:

Updated Social Inputs:

Known issues
As it stands, people could theoretically add any link as their linkedIn.
Steps to test/reproduce
For each feature or bug fix, create a step by step list for how a reviewer can test it out. E.g.:

Go to edit profile.
Add the Url to your linkedIn. Save
Return to your profile and hover the linkedIn icon. See the path.

Looks good @timblais! One thing is for sure -- we will not be changing "twittername" to "X name"


Fix some typos (found by codespell)

Signed-off-by: Stefan Weil<EMAIL_ADDRESS>Types of changes

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@roiLeo I see you are doing helpful PR reviews and I would like to invite you to the fork at https://github.com/materializecss/materialize/. Would you be interested to help us there?

Merged at https://github.com/materializecss/materialize/commit/196db4d1e95498d1c52722dce01ba56d64006c55

Merged at https://github.com/materializecss/materialize/commit/5d112925a882f8433a74ad88774caf9736db7797 and https://github.com/materializecss/materialize/commit/196db4d1e95498d1c52722dce01ba56d64006c55


How to use multiple GPUs for End Tasks?

Hi,
Thanks for your nice work. But I have a question about your training setting about multiple GPU training for end tasks.
In your example train end task bash files (such as train_kinetics_400.sh), there are two different arguments to assign GPU ids:pytorch-gpu-ids and feature-extractor-gpu-ids. In tarin_kinetics_400.sh, both of them are 0.
My question is: Can we use multiple GPUs to train the end task? How to modify the two arguments (pytorch-gpu-ids and feature-extractor-gpu-ids) to achieve it? For example:

both pytorch-gpu-ids and feature-extractor-gpu-ids use same GPUs:--pytorch-gpu-ids 0,1,2,3 \
--feature-extractor-gpu-ids 0,1,2,3 \

or pytorch-gpu-ids and feature-extractor-gpu-ids use different GPUs:--pytorch-gpu-ids 0,1,2,3 \
--feature-extractor-gpu-ids 4,5,6,7 \

or we can specify any GPUs for them:--pytorch-gpu-ids 0,1,2,3,4,5,6,7 \
--feature-extractor-gpu-ids 0,1,2,3 \

Thank you very much!

Multi-GPU support should work for end tasks. https://github.com/danielgordon10/vince/blob/master/models/vince_model.py#L35 shows that the model uses the feature extractor gpu ids. Since the final network for each end task is a single layer, it's not advantageous to put it on Multi-GPUs. So you can set --feature-extractor-gpu-ids to whatever you want, but you won't get any advantage out of setting --pytorch-gpu-ids to multiple numbers, it will just use the first one.


First protection test.

Testing circleCI integration and protection rules.
Confirmed protection works as I can no longer push to main even as admin.

Confirmed circleCI integration.
Confirmed circleCI blocking merging until checks have passed.
Confirmed requirement of 2 reviews to merge.
Will close PR as it has fulfilled what was required.
To confirm consistency of settings will ask team member to delete test.txt and submit PR to merge branch.


Define small multiples styles

How should small multiples look?
Where do titles go? Axes labels?
How many multiples per row?
etc.

Also tagging @amfeldman to this issue since I can't properly assign it to her for some reason


Accessing Cookies in Controller

Your application can store small amounts of data on the client - called cookies - that will be persisted across requests and even sessions.

This is currently implemented.

PR https://github.com/Amber-Crystal/amber/pull/102

Fixed with https://github.com/Amber-Crystal/amber/pull/114


Line 26 [SMTP API Link - routes to 404 Error

Line 26 link is not functioning the SMTP API link to https://sendgrid.com/docs/for-developers/sending-email/getting-started-smtp/ is not working
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @kdcr2d2,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

Hello @kdcr2d2,Thanks again for the PR!                                         We noticed that you have earned 1 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold.                                         Also, please be sure that you have officially registered here.                                         Thank you and Happy Hacktobering!                                         Team SendGrid DX

Hello @kdcr2d2,Thanks again for the PR!                                         You have earned 1 out of the 5 points needed to receive glorious SendGrid Hacktoberfest swag.                                         Please take a moment to checkout this link to find more issues to get you past the required threshold or to simply continue the celebration.                                         Also, please be sure you have officially registered with us here by November 1, 2018 to qualify.                                         If you have any questions you can email us at<EMAIL_ADDRESS>                                        Thank you and Happy Hacktobering!                                         Team SendGrid


Adding support for autoscaling in GCE

Description
With this PR we intend to upstream the module we use to autoscale druid in GCE.
The module structure—and configuration— take inspiration from the autoscaling module for EC2 and they are quite straightforward.
The central piece is represented by the GCEAutoScaler class implementing the interface org.apache.druid.indexing.overlord.autoscaling.AutoScaler and embedding all the logic to communicate with GCE to provision and terminate instances.
The module manages the instances through the Managed Instances Groups of GCE in order to make the interaction, and in turn the logic of the module, simpler.
Aside from the code, we provide the documentation in docs/development/extensions-contrib/gce-extensions.md explaining how to set up the instances, the group and the account for the module to be used.

This PR has:

[X] been self-reviewed.
[X] added documentation for new or modified features or behaviors.
[X] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[X] added or updated version, license, or notice information in licenses.yaml
[X] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[X] added unit tests or modified existing tests to cover new code paths.
[ ] added integration tests.
[X] been tested in a test Druid cluster.

Key added classes in this PR

GCEAutoScaler
GCEEnvironmentConfig
GCEModule
GCEUtils

Comment to prevent this PR to be automatically closed

@clintropolis replied to some of the questions and addressed some of the comments.  More to come

@clintropolis — I should have either replied or fixed to the various comments but I have an (I believe) unrelated test failing https://travis-ci.org/apache/druid/jobs/652924901?utm_medium=notification&utm_source=github_status : are those tests usually flaky?

Apologies for the delay, I will try to do follow-up review sometime this week

@clintropolis — let me know if you need some more input from me :)

@clintropolis — let me know if you need some more input from me :)

I don't as far as I know, I just haven't had a chance to get back to this yet. I will try my best to finish up soon 😅

Ping :)

@clintropolis — do you believe that this change may make it into the next release of druid?

ping?

ping? :)

Ah, very sorry i've been swamped, but am going to have one last look and finish up review right now. Thanks for being persistent :+1:

do you believe that this change may make it into the next release of druid?

Unfortunately not, we only backport bug fixes after the branch has been made, my bad I couldn't finish up review and get this in before the cut 😞. I'll make sure we get it in to the next release though.

@clintropolis — checks passed :)

@ccaominh as for the integration test I am trying to figure put how to create one.  Anyway, as this is just a translation layer between the real logic deciding to create or destroy instances and the Google API any suggestion is welcome.
All the other points should have been addressed or responded to.
Thanks! :)

@clintropolis, @ccaominh — Due to the failure of an unrelated integration I am trying to increase the retries. If the fix is effective I may port the fix into another PR if you want me to.
@ccaominh — as for the integration test, let me know what you think but not having the availability of a GCE during the tests seems a big no go to me.  Opinions appreciated.

Ping? :)

For the integration test, we do have a group of integration tests that require the user to provide their own cloud and thus are not run by CI for this repo: https://github.com/apache/druid/tree/master/integration-tests#running-a-test-that-uses-cloud

@ccaominh, as far as I understood, but please correct me if I am mistaken, these tests use the cloud storage and not the cloud to run the middlemanagers or bits and pieces of druid (which is our case here).
Anyway, in the meantime, I had a second thought on the integration tests and I suppose that at the moment this is quite a big investment for a module that, at least now, has only one user: the company where I work :)  If module will get more traction, we will be more than happy to add the tests in order to make it promotable from contrib to core as you stated in one of your previous messages:

Also, what do you think about adding an integration test for the new extension? I think having an integration test will help ensure future contributions do not break functionality of this extension and will also be very helpful if we decide to promote this extension from contrib to core later.

Also, what do you think about adding an integration test for the new extension? I think having an integration test will help ensure future contributions do not break functionality of this extension and will also be very helpful if we decide to promote this extension from contrib to core later.
...
For the integration test, we do have a group of integration tests that require the user to provide their own cloud and thus are not run by CI for this repo: https://github.com/apache/druid/tree/master/integration-tests#running-a-test-that-uses-cloud
...

@ccaominh, as far as I understood, but please correct me if I am mistaken, these tests use the cloud storage and not the cloud to run the middlemanagers or bits and pieces of druid (which is our case here).

I would agree that this would be incredibly hard with the current integration testing framework; without an external zookeeper that both the integration test docker container druid cluster and the provisioned in cloud autoscaled workers could both talk to and discover each other (or some way to make the docker zookeeper to talk directly to the external provisioned instances), nothing will work. I'm not even sure how we would go about making this happen, but in the future could perhaps become possible as we add alternative discovery mechanisms beyond zookeeper, if any would be suitable for this scenario. As such, I don't think it needs to be a blocker for this PR.

Also, what do you think about adding an integration test for the new extension? I think having an integration test will help ensure future contributions do not break functionality of this extension and will also be very helpful if we decide to promote this extension from contrib to core later.
...
For the integration test, we do have a group of integration tests that require the user to provide their own cloud and thus are not run by CI for this repo: https://github.com/apache/druid/tree/master/integration-tests#running-a-test-that-uses-cloud
...

@ccaominh, as far as I understood, but please correct me if I am mistaken, these tests use the cloud storage and not the cloud to run the middlemanagers or bits and pieces of druid (which is our case here).

I would agree that this would be incredibly hard with the current integration testing framework; without an external zookeeper that both the integration test docker container druid cluster and the provisioned in cloud autoscaled workers could both talk to and discover each other (or some way to make the docker zookeeper to talk directly to the external provisioned instances), nothing will work. I'm not even sure how we would go about making this happen, but in the future could perhaps become possible as we add alternative discovery mechanisms beyond zookeeper, if any would be suitable for this scenario. As such, I don't think it needs to be a blocker for this PR.

Got it, makes sense to me.

@clintropolis, @ccaominh — thanks a lot for your comments!  Do you think that this can be merged?