word alignment errors during init of epiphany

@olajep I have built with some success the pal libraries on the target and run some simple tests.  So far not been able to get device/epiphany working.  https://github.com/parallella/pal/blob/master/src/base/devices/posix/epiphany/loader.c#L278 give an alignment error fixed with
 reg_write(core, i << 2, MMR_R0 + (i << 2));
`
reworked some of the examples and runtest.epiphany.c but still cant get epiphany code to load.  p_load() returns -2.  any suggestions?
Peter.

Ok so drilling down a bit into this.  the tests try to map memory for status and results and this api call is failing.. I am guessing that the changes to the kernel make p_map unsupported on Epiphany so I am now looking for an alternative way to map memory with something like e_shm_alloc() perhaps the pal equivalent has not yet been implemented?

reg_write(core, i << 2, MMR_R0 + (i << 2));

Thank you, don't know what I was thinking there, I think it should be this though ?
reg_write(core, MMR_R0, (i << 2));

right now the posix host --> epiphany device code only works with the simulator
I'll fix the native device code as soon as I can but it won't be for another week or two.
Patches always welcome of course ;)
If you want to hack on it you'll  likely find all bugs in src/base/devices/posix/epiphany/device.c
It might be enough to fix dev_map(), dev_map_raw(), and provide a mem_ops structure,
see simulator.c for how it's implemented there.
Cheers,
Ola

@olajep I have created a pull request to fix this and make my version of the epiphany test work.  I will do a bit more later and modify runtest.epiphany.c.  My test version worked with this code and got a response from the epiphany core so I think that the changes are good.


Increased Duration Mod on Flasks can't be searched with Ctrl-D

Error message is:
"2: UNKNOWN STAT PROVIDED: EXPLICIT.STAT_1596787376"
Example item:
Item Class: Utility Flasks
Rarity: Magic
Examiner's Diamond Flask of the Impala
--------
Lasts 7.60 (augmented) Seconds
Consumes 20 of 40 Charges on use
Currently has 0 Charges
100% increased Global Critical Strike Chance
--------
Requirements:
Level: 67
--------
Item Level: 85
--------
26% increased Duration
60% increased Evasion Rating during Flask effect
--------
Right click to drink. Can only hold charges while in belt. Refills as you kill monsters.
--------

Version .8.19

Thank you for reporting this issue. This happens because some mods change/introduced in 3.19 are not fully supported in poe overlay v0.8.19 ; The support for them has been added now, and will be available in our next release (v0.8.20)


go to v0.8 of login plugin

v0.7 somehow missed a previous fix around inadvertent defaulting; also, 1 more small tweak in the logging was needed to clearly diagnose the issue in @csrwng 's env
with both changes, we were able to a) successfully NOT default to oauth, b) confirm a config/permissions issue existed in @csrwng 's env
@bparees fyi

test job passed ... merging


Calculation of euclidian distance

Did I understand correctly, that you are using the following formula to calculate the euclidian distance in the CA-module?
d(a, b) = sqrt( ||a||^2 + ||b||^2 - 2ab )
https://github.com/Forty-lock/PEPSI-Fast_image_inpainting_with_parallel_decoding_network/blob/be4e48765e18c36248a54fe8f7efc698b2576685/module.py#L223
Many thanks, Jan

yes you are right


Update to Go 1.17

Update daprd to compile with Go 1.17.
Release notes: https://golang.org/doc/go1.17.

Can we move this to 1.5 and change all Go builds to the new Go version?


fix+enhancement(controller): Autoupdate fix and backup before update

Reworked a bit how the autoupdate is handled. It should now compare
available build id against the installed build id gathered from steamapps
directory.
Added a function to backup game db and configs before a build change in
case an update breaks the stuff.
Maybe we should do a sqlite check of the backed up db before considering it safe?
*** Warning these changes are not considered valid. Waiting for next update to test it live ***

Hi,
Please review these changes and maybe test them on in your container :)
I'm yet waiting for a Conan update to check if the autoupdate now works.

Hi,
Please review these changes and maybe test them on in your container :)
I'm yet waiting for a Conan update to check if the autoupdate now works.

Thanks for the pr. I will check it tomorrow!

Looks good. Let's wait for the next Update and check if this approach works! Thanks so far. Can you create a new issue on this: Maybe we should do a sqlite check of the backed up db before considering it safe?.

Merged


Slightly restructured README

added introductory sentence
moved history to separate sub-chapter
see #1160

I approve of these changes.

Thanks!


List Team Members with their Avatars in Readme Page

Team members should be listed in Readme Page with their avatars and names.

Create or ask team members to create avatars
List their names and avatars
Embed About Me pages of team members to their names.
Be sure every member has their Github Account in their About Me page.

Done, can be checked here.


When I refresh the All Publications page a second time, I receive a "you have no Publications yet"

Describe the bug A clear and concise description of what the bug is.
When I refresh the All Publications page a second time, I receive a "you have no Publications yet"
To Reproduce Steps to reproduce the behavior:

Go to All Publications
Refresh 2 times the page
Get the initial page of "you have no publications yet"

I cannot reproduce this issue. I can refresh as many times as I want and publications are still there
Should be no problem for users, unless they are also suffering from Gabo refresh finger syndrome 😅

can't reproduce either. @GaboHBeaumont please check if you get any log errors and create a new issue with that error please :) (if any)


Fixed target clean

Also remove main.exe when building for windows (native or cross-compile).

Use $(TARGET), no? Or is there a reason you remove both separately?

The reason is just that the makefile is simpler and that you don't have to care about which target you build in order to clean up (less error prone) ... it just cleans up. However, if you don't like it, I can make a target-specific clean up.


Bump: Sentry-Cocoa to 7.16.0

:scroll: Description

:bulb: Motivation and Context

:green_heart: How did you test it?
:pencil: Checklist

[ ] I reviewed submitted code
[ ] I added tests to verify changes
[ ] I updated the docs if needed
[ ] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps

Codecov Report

Merging #886 (c91ad9d) into main (0c121ae) will increase coverage by 5.78%.
The diff coverage is n/a.

:exclamation: Current head c91ad9d differs from pull request most recent head 0e9ebf0. Consider uploading reports for the commit 0e9ebf0 to get more accurate results

@@            Coverage Diff             @@
##             main     #886      +/-   ##
==========================================
+ Coverage   89.77%   95.55%   +5.78%
==========================================
  Files         104        2     -102
  Lines        3207       45    -3162
==========================================
- Hits         2879       43    -2836
+ Misses        328        2     -326

Impacted Files
Coverage Δ

dart/lib/src/protocol/sentry_event.dart

dart/lib/src/hub.dart

dart/lib/src/sentry_span_interface.dart

dart/lib/src/client_reports/discarded_event.dart

dart/lib/src/sentry_span_context.dart

...t/lib/src/sentry_attachment/sentry_attachment.dart

dart/lib/src/version.dart

dio/lib/src/sentry_transformer.dart

dart/lib/src/protocol/sdk_version.dart

dart/lib/src/protocol/breadcrumb.dart

... and 92 more

Continue to review full report at Codecov.

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


Code cleanup

It's probably not necessary to review this file by file.  Except for the first commit, which was required to support fields with lambda values, everything else was Intellij automation.  The only slightly surprising one to me, but which makes sense on reflection, is that it will refactor code like
    void m() throws IOException {
        var subject = new TestCloseable();
        try {
            subject.use();
        } finally {
            try {
                subject.close();
            } catch (IOException ignored) {
            }
        }
    }

to
    void m() throws IOException {
        try (var subject = new TestCloseable()) {
            subject.use();
        }
    }

due to the suppressed exception support that Throwable now has.
Question: should I squash these commits or leave them separate?  Once we decide that, I'll add the hashes to ./.git-blame-ignore-revs.

makes sense on reflection

I don't think that the new code is equivalent to the original one in two ways:

If both the try block and close throw, then adding the close exception to suppressed exceptions of the try block exception is not the same as ignoring the close exception.
If the try block does not throw but close throws, then the new code propagates the close exception, which is different from ignoring it.

should I squash these commits or leave them separate?

I'd squash, including squashing the commit messages into a single message (as opposed to getting rid of them).

I don't think that the new code is equivalent to the original one in two ways:

Agreed on both counts.  I think that they justify this action because in most cases this is the preferred behavior of the existing code.   I think that holds for the driver code that was modified.

Merged in https://github.com/mongodb/mongo-java-driver/commit/d9aa6044e1a6b440bcb013c330497f2813484050 via command line.


generate html5:install throws undefined method `stylesheets_directory'

When running rails generate html5:install
/Users/kieranklaassen/Dropbox/rails/lov/lichtopverlies/config/application.rb:61:in `<class:Application>': undefined method `stylesheets_directory' for nil:NilClass (NoMethodError)
	from /Users/kieranklaassen/Dropbox/rails/lov/lichtopverlies/config/application.rb:10:in `<module:Lov>'
	from /Users/kieranklaassen/Dropbox/rails/lov/lichtopverlies/config/application.rb:9:in `<top (required)>'
	from /Users/kieranklaassen/.rvm/gems/ruby-1.9.2-p180@lov/gems/railties-3.2.0/lib/rails/commands.rb:24:in `require'
	from /Users/kieranklaassen/.rvm/gems/ruby-1.9.2-p180@lov/gems/railties-3.2.0/lib/rails/commands.rb:24:in `<top (required)>'
	from script/rails:6:in `require'
	from script/rails:6:in `<main>'

Where can I fix this?
I am updating from the old html5-boilerplate gem.
Thanks

Was an old config.sass.load_paths.


README Instructions Not Fully Correct

The README section Prepare Visual Studio for a connection has the launch.json example:
{
  "version": "0.3.0",
  "configurations": [
    {
      "type": "minecraft-js",
      "request": "attach",
      "name": "Debug with Minecraft",
      "mode": "connect",
      "preLaunchTask": "build",
      "targetModuleUuid": "7c7e693f-99f4-41a9-95e0-1f57b37e1e12",
      "localRoot": "${workspaceFolder}/",
      "port": 19144
   }
  ]
}

Then the following section Run your Minecraft Behavior Pack says to use the command script debugger connect.
This doesn't quite work, the launch.json should instead say "mode": "listen" if VSCode is supposed to await a connection.

Thanks for the report!


Possible issues with terraform 0.6.7

Terraform plan crashes with an error using 0.6.7.
See https://github.com/hashicorp/terraform/issues/4064

Possibly fixed in https://github.com/hashicorp/terraform/pull/4024.

Terraform 0.6.8 has been released with a fix for this. Closing.


RCA of Issue #264 with Fix of Port-SG Concurrent binding

Context
Root Cause Analysis to Issue #264:
IgniteClient and ignite server have only one connection, and the transaction is at the connection level, so when a client opens multiple transactions at the same time, only one transaction will be returned. After the first transaction is committed, errors such as "Transaction not found" will not be reported when the subsequent transaction commits.
Fix
This PR proposes a fix to the bug by adding synchronized key word to the repo method.

Other interfaces that need to open transactions have been modified: https://github.com/futurewei-cloud/alcor/pull/251/commits/8d901d4e21f314e5c45e4db6f9dccbbdf72b7f85

@chenpiaoping This is a appropriate fix for now to enforce the a serial write operation per Ignite client. I don't know whether this serial write could become a potential bottleneck when we are trying to create many ports at the same time through one Ignite Client. I will merge the hot fix to alcor/master but we might need to revisit this topic shortly.

@chenpiaoping This is a appropriate fix for now to enforce the a serial write operation per Ignite client. I don't know whether this serial write could become a potential bottleneck when we are trying to create many ports at the same time through one Ignite Client. I will merge the hot fix to alcor/master but we might need to revisit this topic shortly.

After replacing IgniteClient with Ignite, we can do some performance tests.

@chenpiaoping This is a appropriate fix for now to enforce the a serial write operation per Ignite client. I don't know whether this serial write could become a potential bottleneck when we are trying to create many ports at the same time through one Ignite Client. I will merge the hot fix to alcor/master but we might need to revisit this topic shortly.

After replacing IgniteClient with Ignite, we can do some performance tests.

Makes sense.


PHP Fatal error:  Class 'InfluxDB\Client' not found in

Hi,
I installed InfluxDB with composer
When using the code I get the following error:
PHP Fatal error:  Class 'InfluxDB\Client' not found in ...
Probably I am doing something wrong here.
Can you help me please

Can you copy/paste your script? Thanks

You need to include/require Composer's autoloader before you can start using installed packages. See https://getcomposer.org/doc/01-basic-usage.md#autoloading for more details.


Gateio perpetual - displays duplicate position on client when retrieving position from exchange

Describe the bug
When the current gateio retrieve position on an event like stopping the hummingbot (or exit), the client recognize it but displays duplicate position as well resulting client to create two take-profot/stop-loss orders to close position.

In the event that you need to retrieve a open position, the client recognize it but displays two open position
Crosscheck the exchange in the amount is still for single order yet the client displays two
When this happens, it also create two take-profit orders to close the position
Possibly related to issue https://github.com/hummingbot/hummingbot/issues/6510

Steps to reproduce

Setup perp-mm using position_mode hedge on gate_io_perpetual
When successfully open position, stop (or exit hummingbot) the strategy then start again
Observe behavior when retrieving position

Release version
dev-1.19.0 / 1.18.0
Type of installation
Source
Attach required files
logs_perp-gateio.log

fixed https://github.com/hummingbot/hummingbot/pull/6551

Fixed on version 1.20.0

This bounty closed as paid


Scheduler: Added Run-queue controller for Ubuntu build

This commit is to append a run-queue controller to manage a execution
management of  Ubuntu build tasks.
Changes proposed in this PR:

Added run-queue controller for Ubuntu (pdebuild)

Signed-off-by: Geunsik Lim<EMAIL_ADDRESS>

:memo: Version: 1.20180820. Thank you for submitting PR #394. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://invain.mooo.com/.


[AMD] Use warp shuffle for MFMA to Dot operand layout conversion (FP8)

Adding a case for MFMA->Dot (FP8) layout conversion that avoids using shared memory, to speed up FP8 attention kernels. (Note: can be replaced by the LinearLayout based warp shuffle conversion when it is ready)
Test:
pytest pytest third_party/amd/python/test/test_chained_dot_fp8.py lit test
ctest -j32

[ x] I am not making a trivial change, such as fixing a typo in a comment.

[ x] I have written a PR description following these
rules.

[ ] I have run pre-commit run --from-ref origin/main --to-ref HEAD.

Select one of the following.

[ x] I have added tests.

/test for lit tests
/unittest for C++ tests
/python/test for end-to-end tests

[ ] This PR does not need a test because FILL THIS IN.

Select one of the following.

[ ] I have not added any lit tests.
[x ] The lit tests I have added follow these best practices,
including the "tests should be minimal" section. (Usually running Python code
and using the instructions it generates is not minimal.)

Preliminary perf improvements (using prototype)
after:
fused-attention-fwd-d128-causal=False-float8_e4m3fnuz:
BATCH     H    N_CTX      Triton
0   16.0  16.0   1024.0  320.352257
1    8.0  16.0   2048.0  440.529571
2    4.0  16.0   4096.0  556.378882
3    2.0  16.0   8192.0  612.439750
4    1.0  16.0  16384.0  636.701905
5    4.0  48.0   1024.0  309.433342
6    4.0  48.0   2048.0  436.186349
7    4.0  48.0   4096.0  566.117595
8    4.0  48.0   8192.0  630.003489
9    4.0  48.0  16384.0  659.517658
before:
fused-attention-fwd-d128-causal=False-float8_e4m3fnuz:
BATCH     H    N_CTX      Triton
0   16.0  16.0   1024.0  285.783958
1    8.0  16.0   2048.0  410.978326
2    4.0  16.0   4096.0  499.566102
3    2.0  16.0   8192.0  556.077288
4    1.0  16.0  16384.0  581.175466
5    4.0  48.0   1024.0  270.836998
6    4.0  48.0   2048.0  409.327009
7    4.0  48.0   4096.0  513.261115
8    4.0  48.0   8192.0  573.631221
9    4.0  48.0  16384.0  606.831879

@ilia-cher I'd like to discuss two future PRs regarding chained_matmul_fp8

Can we also support mfma_16 instructions?
Is it possible to have dotOperand tile as one 32x32, and each thread holds 16 consecutive elements? In this way, we can do ds_read_b128 for the V tensor before the 2nd mamtul.

Addressed comments, incl. adding mfma_16 support cc @zhanglx13

@ilia-cher I'd like to discuss two future PRs regarding chained_matmul_fp8

Can we also support mfma_16 instructions?
Is it possible to have dotOperand tile as one 32x32, and each thread holds 16 consecutive elements? In this way, we can do ds_read_b128 for the V tensor before the 2nd mamtul.

mfma_16 is now supported in this PR, re. kWidth=16 -- sg - as discussed let's do this in a follow up

(relanded in https://github.com/triton-lang/triton/pull/5362)


Add CONTRIBUTING.md

Add a simple CONTRIBUTING.md file following the one we have in ResilientDecoding

@fdiaz thanks! Do you mind also updating our Github action so that it actually does run on the minimum deployment target of 11.0?

@bryankeller added here to track https://github.com/airbnb/HorizonCalendar/issues/3


Fixes typos for Configmap MIG-1318

I have no problem with this change but I am not seeing the problem described on 4.12 with 1.7.7. I just did a clean install:
$oc version
Client Version: 4.12.6
Kustomize Version: v4.5.7
Server Version: 4.12.6
Kubernetes Version: v1.25.4+18eadca
$oc get po
NAME                                                READY   STATUS    RESTARTS   AGE
migration-controller-85b6586f8f-m2zft               2/2     Running   0          2m8s
migration-log-reader-f94757c5f-mrrts                2/2     Running   0          2m7s
migration-operator-57b5659c47-gbjvt                 1/1     Running   0          5m47s
migration-ui-84f67d48fb-r279l                       1/1     Running   0          119s
openshift-adp-controller-manager-7cfbb7d949-x5cdh   1/1     Running   0          5m49s
restic-jcg7p                                        1/1     Running   0          2m31s
velero-6bd9b6c86-pgglv                              1/1     Running   0          2m31s
$oc logs --tail=10 migration-operator-57b5659c47-gbjvt
{"level":"info","ts":1678894107.9748218,"logger":"runner","msg":"Ansible-runner exited successfully","job":"5911634533963772251","name":"migration-controller","namespace":"openshift-migration"}

----- Ansible Task Status Event StdOut (migration.openshift.io/v1alpha1, Kind=MigrationController, migration-controller/openshift-migration) -----

PLAY RECAP *********************************************************************
localhost                  : ok=51   changed=0    unreachable=0    failed=0    skipped=22   rescued=0    ignored=0

----------
$

This doesn't reproduce against a 4.12.6 cluster we have available, but it does against a 4.12.2 cluster. I will continue to do some investigation to see if we can figure out where the issue is coming from, but for the sake of affected environments we can merge it now.

/lgtm


Type 'BetaTestersResponse' does not conform to protocol 'Decodable' (etc)

I'm getting the error: Type 'BetaTestersResponse' does not conform to protocol 'Decodable' on the output from openapi-generator generate -i https://raw.githubusercontent.com/d-date/AppStoreConnectAPISpec/master/Swagger.yaml -g swift4 -o /tmp/test/.
I've gone ahead and copied the yaml file into swaggerhub's editor and it did a pretty decent job of identifying some issues in the markup. I did a bit of googling and I found this: https://github.com/OpenAPITools/openapi-generator/issues/925 which indicates that using the object type may be the culprit for that specific error.
I'm wondering if this is something you're aware of or planning on addressing. If not, wondering if this is something that compiles for you in some way.

+1 — looking for a workaround on this.


Lab 5 Level 5 - how to approach

Hi! I'm currently attempting level 5 of lab 5. I'm unsure how to approach the question
For the recursive functions, would it be advisable to call a separate helper function to do the recursion, that way I can keep track of the logs for every iteration?
for example, I have the Log<Interger> f(int n) function which returns a function call to a separate method k(n, null). in the k method, I can conduct further checks to determine if the log (String) input is null or has an item.
I'm afraid that I have overcomplicated my code. Am I in the right direction?

Actually it's probably simpler than you think. You can accomplish whatever you want using only a Log and flatmap. It's mainly a matter of figuring out (1) which Log to call flatmap on and (2) what function to pass in as the input of flatmap. Any variation with the printed output can be controlled by creating a Log with the appropriate string.

The Log<Interger> f(int n) function is on the right track. Like what was mentioned above, you're able to solve it using Log and Flatmap within this function in order to sort out your code. I personally don't think a separate helper function is necessary to keep track of the logs for every iteration. Try focusing on Log and Flatmap and it should be relatively straight forward once you know how to use them.

hihi try not to overthink the solution. Utilise the methods you have alrd defined in Log as Levels 2 to 4 are building you up to be able to solve Level 5. Perhaps if you want to add a Log to another Log using an anonymous function, you could look at flatmap? Do take note of the order you use flatmap in tho. Iirc the 2nd part of Level 5 wants you to reverse it.

Hi!! Finally solved it 😭  thank u everyone for ur help!! :)


Press Kit

Help journalists learn about the project

This one could be fetched and displayed from the WalletConnect/walletconnect-assets repo actually


[Transporter Error Output]: description length:591376

I'm getting an error when I'm trying to upload my app to Pilot. I does upload successfully.
[14:33:19]: Login successful
[14:33:20]: Ready to upload new build to TestFlight (App:<PHONE_NUMBER>)...
[14:33:20]: Going to upload updated app to iTunes Connect
[14:33:20]: This might take a few minutes. Please don't interrupt the script.
[14:33:40]: [Transporter Error Output]: description length:591376
[14:35:05]: iTunes Transporter successfully finished its job
[14:35:05]: [iTMSTransporter] [2018-01-06 14:35:05 BRST] <main> DBG-X: Apple's web service operation return value:

[14:35:05]: [iTMSTransporter] [2018-01-06 14:35:05 BRST] <main> DBG-X:   parameter Success = true

[14:35:05]: [iTMSTransporter] [2018-01-06 14:35:05 BRST] <main> DBG-X: Unlocking token at path /Users/odin/.itmstransporter/UploadTokens/MacBook-Pro-de-Douglas.local_CB583HM278_1234006635.itmsp.token

[14:35:05]: [iTMSTransporter] [2018-01-06 14:35:05 BRST] <main> DBG-X: Releasing token file lock

[14:35:05]: [iTMSTransporter] [2018-01-06 14:35:05 BRST] <main> DBG-X: Removing token at path /Users/odin/.itmstransporter/UploadTokens/MacBook-Pro-de-Douglas.local_CB583HM278_1234006635.itmsp.token

[14:35:05]: [iTMSTransporter] [2018-01-06 14:35:05 BRST] <main>  INFO: Done performing uploadDone notification to Apple.

[14:35:05]: [iTMSTransporter] [2018-01-06 14:35:05 BRST] <main>  INFO: The package: /var/folders/r7/mqm7pg014ng0dgtmfgz3432h0000gn/T/d20180106-33617-u0b9hb/1234006635.itmsp has been successfully uploaded.

[14:35:05]: [iTMSTransporter]

[14:35:05]: [iTMSTransporter]

[14:35:05]: [iTMSTransporter]

[14:35:05]: [iTMSTransporter] Package Summary:

[14:35:05]: [iTMSTransporter]

[14:35:05]: [iTMSTransporter] 1 packages were uploaded successfully:

[14:35:05]: [iTMSTransporter] 	/var/folders/r7/mqm7pg014ng0dgtmfgz3432h0000gn/T/d20180106-33617-u0b9hb/1234006635.itmsp

[14:35:05]: [iTMSTransporter] [2018-01-06 14:35:05 BRST] <main> DBG-X: Returning 0

[14:35:05]: iTunes Transporter output above ^
[14:35:05]: description length:591376
[14:35:05]: Although errors occurred during execution of iTMSTransporter, it returned success status.
[14:35:05]: --------------------------------------------------------------------
[14:35:05]: Successfully uploaded package to iTunes Connect. It might take a few minutes until it's visible online.
[14:35:05]: --------------------------------------------------------------------
[14:35:05]: Successfully uploaded the new binary to iTunes Connect

Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.13.2

Ruby
2.2.4

Bundler?
false

Git
git version 2.14.3 (Apple Git-98)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.13.2 (17C88)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.72.0
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.3

rouge
1.11.1

xcpretty
0.2.6

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.3

tty-cursor
0.5.0

tty-spinner
0.7.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.5

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

json
1.8.1

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.13.5

libxml-ruby
3.0.0

generated on: 2018-01-06

Same issue.

bump, still having same issue as reported above.

[10:37:42]: iTunes Transporter output above ^
[10:37:42]: description length:7044468

[10:37:42]: Although errors occurred during execution of iTMSTransporter, it returned success status.

Although errors occurred during execution of iTMSTransporter, it returned success status.

Same here

I'm also seeing this issue.

Same issue

Same here: fastlane 2.89.0 on macOS 10.13.4 / Xcode 9.3

I came across this issue too.

I'm still seeing this issue with fastlane 2.97.0 on macOS 10.13.5.

Still with the issue: Fastlane 2.100.1


[BugFix] Support to read larger parquet page header

Some parquet file contains large page header, nearly about 1MB, so we need to support larger page header.
If each row of a column is a very large string, the MIN/MAX in its page statistics may also be very large.
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[ ] 2.5
[ ] 2.4

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0


Migrate 2.xx to 3.0.3 about multiple services with mapScalar

Question.
I try to migrate apollo 2.xx to 3.0.3 but I have a problem when I import packages on DI file with mapScalar
For example, on build.gradle I set like this
apollo {
    useSchemaPackageNameForFragments.set(true)

    service("services1") {
        sourceFolder.set("com/services1")
        packageName.set("com.services1")
        mapScalar("DateTime", "java.util.Date")
        mapScalar("Date", "kotlin.String")
    }
    service("services2") {
        sourceFolder.set("com/services2")
        packageName.set("com.services2")
        mapScalar("DateTime", "java.util.Date")
        mapScalar("Date", "kotlin.String")
    }
}

DI.kt
Service1
@Provides
@Singleton
@Named("service1")
fun provideServiceClient(
    @ApplicationContext context: Context,
    ...
): ApolloClient {

    val datetimeAdapter = object : Adapter<Date> {
        @SuppressLint("SimpleDateFormat")
        override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): Date {
            return try {
                val serverFormat = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'")
                serverFormat.timeZone = TimeZone.getTimeZone("UTC")
                reader.nextString()?.let { serverFormat.parse(it) } ?: Date()
            } catch (e: ParseException) {
                Date()
            }
        }

        @SuppressLint("SimpleDateFormat")
        override fun toJson(writer: JsonWriter, customScalarAdapters: CustomScalarAdapters, value: Date) {
            writer.value(SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(value))
        }
    }

    val dateAdapter = object : Adapter<String> {
        override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): String {
            return try {
                reader.nextString()?: ""
            } catch (e: ParseException) {
                ""
            }
        }

        override fun toJson(writer: JsonWriter, customScalarAdapters: CustomScalarAdapters, value: String) {
            writer.value(value)
        }
    }

    val instance = ApolloClient.Builder()
        .serverUrl(environment.serviceUrl)
        .okHttpClient(okHttpClient)
        .addCustomScalarAdapter(com.services1.type.Date.type, dateAdapter)
        .addCustomScalarAdapter(com.services1.type.DateTime.type, datetimeAdapter)
        .build()

    return instance!!
}

Service2 in the same DI.kt
    @Provides
    @Singleton
    @Named("service2")
    fun provideCmsClient(
        @ApplicationContext context: Context,
        ...
    ): ApolloClient {

        val datetimeAdapter = object : Adapter<Date> {
            @SuppressLint("SimpleDateFormat")
            override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): Date {
                return try {
                    val serverFormat = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'")
                    serverFormat.timeZone = TimeZone.getTimeZone("UTC")
                    reader.nextString()?.let { serverFormat.parse(it) } ?: Date()

                } catch (e: ParseException) {
                    Date()
                }
            }

            @SuppressLint("SimpleDateFormat")
            override fun toJson(writer: JsonWriter, customScalarAdapters: CustomScalarAdapters, value: Date) {
                writer.value(SimpleDateFormat("MM-dd'T'HH:mm:ss'Z'").format(value))
            }
        }

        val instance = ApolloClient.Builder()
            .serverUrl(environment.cmsUrl)
            .okHttpClient(okHttpClient)
            .addCustomScalarAdapter(com.service2.type.DateTime.type, datetimeAdapter)
            .build()

        return instance!!
    }

I can't import DateTime.type and Date.type on DI.kt
I try to set gradle like this but is not success
apollo {
    useSchemaPackageNameForFragments.set(true)
    mapScalar("DateTime", "java.util.Date")
    mapScalar("Date", "kotlin.String")
    service("services1") {
        sourceFolder.set("com/services1")
        packageName.set("com.services1")
    }
    service("services2") {
        sourceFolder.set("com/services2")
        packageName.set("com.services2")
    }
}

Does anyone know how to resolve it?

Thank you for your response! from your package I saw only service1 [main] sources root folder and service2 [main] sources root folder  don't have file on the package

Thanks for the details 🙏 .

service1 [main] sources root folder is empty

It looks like your .graphql files aren't found. By default, Apollo is looking for .graphql files in src/main/graphql. By setting sourceFolder.set("com/services1"), it will look in src/main/graphql/com/services1. Can you double check ?

Yes, sure. After I checked,  the package I found many files mygraph.graphql and .schema.json. All files are the original before migration.

Hi 👋 . Is it working now? The code you shared is from 2.x so looks like you're looking at older files? Any chance you might setup a small reproducer project somewhere? It'll help a ton to troubleshoot.

Hi, I use
.addCustomScalarAdapter(CustomScalarType("Date","com.services1.type.CustomType.Date"), dateAdapter)
.addCustomScalarAdapter(CustomScalarType("DateTime", "com.services2.type.CustomType.DateTime"), datetimeAdapter)

Build output show the error
Caused by: java.lang.IllegalStateException: Apollo: unknown custom scalar(s) in customScalarsMapping: Date
How to resolve it?

Do you know how to ignore it or do you have any suggestions for me? I can't run on Android

Many Thanks, I have another question. From v2 I used getOrThrow() like this
apollo.query(GetDetailQuery(id)).execute().getOrThrow().detail
How to use getOrThrow() on v3? I didn't see on the document.

you can use dataAssertNoErrors instead of getOrThrow, I'll add a deprecated migration helper to ease the transition.

We just made a fix for this. You can either:

Use the SNAPSHOTS
Or keep using 3.3.0 and use an alias for Me:

query MyQuery {
  me: Me {
    name
    # ...
  }
}

It's all clear! Thank you ka.

Sure thing, let me know how that goes!

Hi 👋, I try to migrate but I can't import the 2 packages

On ApolloClient .addApplicationInterceptor()

val instance = ApolloClient.Builder()
            .serverUrl(environment.cmsUrl)
            .okHttpClient(okHttpClient)
            .addApplicationInterceptor(...)
            .addCustomScalarAdapter(CustomScalarType("DateTime", "com.service1.type.DateTime.type"), datetimeAdapter)
            .build()

On Service .enqueue(null) I didn't see on the migration document
serviceClient.mutation(CreateMutation()).enqueue(null)

For interceptors, you can use addInterceptor(). It's using a coroutines API now so you'll have to adapt your existing interceptor

There is no enqueue anymore because it's all using coroutines APIs. You can use serviceClient.mutation(CreateMutation()).execute() instead

For interceptors, you can use addInterceptor(). It's using a coroutines API now so you'll have to adapt your existing interceptor
There is no enqueue anymore because it's all using coroutines APIs. You can use serviceClient.mutation(CreateMutation()).execute() instead

Thanks for your fast response. let me try migration again

For interceptors, you can use addInterceptor(). It's using a coroutines API now so you'll have to adapt your existing interceptor
There is no enqueue anymore because it's all using coroutines APIs. You can use serviceClient.mutation(CreateMutation()).execute() instead

Thanks for your fast response. let me try again


Created contact form

Added:

Contact form where users can send me messages
Two input fields
A textarea
A submit button

Hi @10-menachi,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that has commits from only one team member, as per this requirement, this activity should have commits of all team members from the pair programming group.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


seems to be failing with latest python

(faceenv) ankit@ankit-System-Product-Name:~$  conda install -c conda-forge deepface
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:

deepface -> python[version='>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0']

Your python: python=3.11
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with your system:

feature:/linux-64::__cuda==12.1=0
feature:/linux-64::__glibc==2.35=0
feature:|@/linux-64::__glibc==2.35=0
deepface -> tensorflow[version='>=1.9.0'] -> __cuda
deepface -> tensorflow[version='>=1.9.0'] -> __glibc[version='>=2.17']
python=3.11 -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.35
(faceenv) ankit@ankit-System-Product-Name:~$

This is not related to deepface. It is related to python. I recommend you to use python 3.9.


fix problem in bin finder

The logic of assigning 'big count' value first and using is_big_count_value is actually correct.
Problem about current bin finder: the algorithm is not 'symmetric'. For a distribution with big count small value and small count big value, big count small value becomes unique bins at the beginning and mean_bin_size decreases, then small count big value is built into bins with size << static_mean_bin_size. On the other hand, for a distribution with small count small value and big count big value, small count small value is built into bins with size = static_mean_bin_size at the beginning. But these two cases should be almost symmetric.
Solution: calculate is_big_count_value at the beginning and update mean_bin_size.

Hi @wxchan, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;


/home/dev/startup.sh runs more than once

I'm logging in startup.sh and I see it running 5+ super quickly on a single restart.
 cat /home/dev/startup.sh
#!/bin/bash

logfile="/home/LogFiles/logfile.txt"
# Redirect all subsequent output to logfile
exec >> "$logfile"

echo $(date -u +"%Y-%m-%dT%H:%M:%S.%NZ")

# Close logfile
exec >&-

cat /home/LogFiles/logfile.txt
2023-03-22T00:56:15.952928190Z
2023-03-22T00:56:17.997979125Z
2023-03-22T00:56:20.064646867Z
2023-03-22T00:56:23.144562588Z
2023-03-22T00:59:59.141869943Z

^^^ One restart
2023-03-22T01:00:01.013172165Z
2023-03-22T01:00:03.358892067Z
2023-03-22T01:00:06.503725322Z
2023-03-22T01:00:59.223512182Z
2023-03-22T01:01:00.408812270Z
2023-03-22T01:01:02.569425763Z
2023-03-22T01:01:05.977319301Z

^^^ A different restart

Seeing the same here. Here's what the docker logs show:
2023-03-23T15:43:51.707007864Z 2023-03-23 15:43:51,704 INFO spawned: 'post-startup-script' with pid 630
2023-03-23T15:43:51.739579286Z 2023-03-23 15:43:51,738 INFO exited: post-startup-script (exit status 0; not expected)
2023-03-23T15:43:52.440153877Z 2023-03-23 15:43:52,439 INFO spawned: 'sshd' with pid 891
2023-03-23T15:43:52.466538319Z 2023-03-23 15:43:52,466 INFO exited: sshd (exit status 0; not expected)
2023-03-23T15:43:53.741722466Z 2023-03-23 15:43:53,741 INFO spawned: 'post-startup-script' with pid 1360
2023-03-23T15:43:53.777738633Z 2023-03-23 15:43:53,777 INFO exited: post-startup-script (exit status 0; not expected)
2023-03-23T15:43:54.470953028Z 2023-03-23 15:43:54,469 INFO spawned: 'sshd' with pid 1650
2023-03-23T15:43:54.491390993Z 2023-03-23 15:43:54,490 INFO exited: sshd (exit status 0; not expected)
2023-03-23T15:43:55.595776123Z 2023-03-23 15:43:55,595 INFO exited: delay (exit status 0; expected)
2023-03-23T15:43:56.783171865Z 2023-03-23 15:43:56,781 INFO spawned: 'post-startup-script' with pid 2608
2023-03-23T15:43:56.816193163Z 2023-03-23 15:43:56,816 INFO exited: post-startup-script (exit status 0; not expected)
2023-03-23T15:43:56.823341371Z 2023-03-23 15:43:56,823 INFO gave up: post-startup-script entered FATAL state, too many start retries too quickly

Moreover, if using the startup.sh script to overwrite nginx conf files, it looks like its busted too - another process copies conf.d/default.conf and overwrites your changes few minutes later. Haven't been able to locate it just yet, but seems to be related to the initial nginx-reload, which triggers even before the startup.sh, but takes few mins to complete:
2023-03-23T15:47:40.772804785Z 2023-03-23 15:47:40,772 INFO exited: nginx-reload (exit status 0; expected)

Funny enough, adding Sleep 300 at the beginning of the startup file seems to solve both issues... Even as a non-linux guy I realize how stupid this sounds :)

Hello @michevnew,
"...another process copies conf.d/default.conf" - This issue has been fixed and committed.

Thanks for the update/fix @ZubaeyrMSFT.
The only thing my startup script does it to overwrite conf.d/default.conf, so if it was failing it's likely due to the aforementioned issue with overwriting it. I took the example directly out of the wiki page.
cp /home/dev/default.conf /etc/nginx/conf.d/default.conf
/usr/sbin/nginx -s reload

For the record, it the script runs fine when invoked manually, or if run with some delay after the container lights up.

@michevnew @askpatrickw, this issue is fixed now. The problem was that startup script was being run as via supervisor which was restarting the process a couple of times (even with exit code 0 and 'autorestart' option set to false). This was causing it to restart even though there are no errors in the script.

Since issue is resolved closing the issue.


Refactor/rails <IP_ADDRESS> rubocop offenses part 1

Description
Upgrades rubocop gems and fixes offenses for specs
Motivation and Context

Types of changes

[ ] 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)
[ ] Prison details update (e.g. slot updates)

Checklist:

[ ] My commit message follows the GDS git style standards we have adopted.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have updated the deployment repo accordingly.
[ ] I have added tests to cover my changes.

Approving, can't really check it 😂 LGTM!

No worries, mostly test changes


Error 413: Full Head in solr while running lily on test spin

I am getting this console error, org.apache.solr.common.SolrException: Server at http://localhost:8983/solr returned non ok status:413, message:FULL head
At present I am running lily on test spin,i.e., launch-test-lily -c 5
To fix it, in documentation suggested to increase buffer size in jetty.xml.
But I didn't get jetty.xml anywhere. Can someone give me the location of jetty.xml when running lily on test-spin?

I got the same error message while doing my experiments, different from yours. Did you find the cause of the "FULL head" error?

The current implementation starts Jetty programmatically and does not allow setting the request header size.
You could change requestHeaderSize by setting it in global/servlet/jetty-module/src/main/java/org/lilyproject/container/jetty/CustomJettyLauncher.java

I managed to solve this problem by adding the following red line to jetty.xml

50000
1500

**>             8192
**>             false

      </New>
  </Arg>
</Call>


Funds Stuck for months

I got my channel closed but I am going assume it was closed with too low of a fee and has never confirmed.  How can I find the tx for the transaction in my logs to be able to acclerate it so I can have my funds back?  It shows up in my on chain funds in mutiny wallet but I can not move them.
mutiny-logs_1.txt

@equal11111 Thanks for bringing this issue to our attention.
The best way to resolve this is to contact our support team.
For the fastest resolution, please click on the link below to our dedicated support line:
Support: Mutiny Help Center
Note: Click on the live chat icon at the bottom corner of the page to start a conversation

You can look through the logs and find it. But can't do anything about a transaction stuck.


API key not detected using Fish shell

Could the key be provided in the config as an alternative? Also, should the check only occur when making a request? As it stands, if the key isn't found, all commands produce an error, including the 'help' and configuration commands.

@kiosion Make sure OPENAI_API_KEY is set which you can verify by echo $OPENAI_API_KEY before running the script, and set via export OPENAI_API_KEY=sk-yourkeyhere-abcxyz123.
I can't see why this would be any different for fish shell. Seemed to work for me – may be user error or some local configuration.
However, to help, I've just pushed an update which lets you configure the API key in the event this environment variable isn't found.
Install the latest version and let me know if it fixed!

Gotcha - it was quite confusing since the variable was set (both in bashrc & my fish config) and I was able to echo it without issue... I'll give it another test later!


Early throw when using JSX Namespaces

What about?
https://github.com/babel-plugins/babel-plugin-incremental-dom/blob/master/test/fixtures/namespace/actual.js

That's a JSX Member Expression, but they call it a "namespace"d element.

Can you rename the test then?

Updated.

nice

Want to release?

v2?

namespaces were never supported, this will just start throwing an error yes?

namespaces were never supported, this will just start throwing an error yes?

Yup.
But, we've also merged the Child AssignmentExpressions PR, which adds a lot of functionality.

oh, yup 2.0


DeleteTableRows - update for recent code changes

The DeleteTableRows command has been enhanced with parameters to delete first and last rows and set processor properties.  Need to update the documentation.

I updated the documentation.  Close this issue.


fix(autoUpdate): layoutShift check

Tests passed for https://github.com/floating-ui/floating-ui/pull/2373 since the useEffect was causing an update when the options changed, but the last refactor prevented the option from actually having an effect.
I couldn't work out a way to prevent the loop without the check breaking afterwards in various ways, so I throttled it to 100ms while the reference is clipped/hidden from view to prevent the CPU from spiking

Could you explain how behaves observer and what cause the cycle? I rolled back changes from this commit, ran test and they passed (except test with inline, it seems I have some problems with fonts, maybe because I run them on Ubuntu)

Oh, I think I get the idea, when reference clipped or hidden by container, it can't have intersectionRatio === 1, so in that case you try to figure out what  intersectionRatio it actually have and refresh the threshold. But if reference is hidden, it have intersectionRatio === 0. So it still cause cycle, and while reference in that state, you throttle updates with 100ms interval. Also you wait while a small bite of reference is shown, and in that moment you hope that cycle will stop.
It is really clever :clap:.

But I still have one question: do you really need hack with isFirstUpdate? I believe it was copied from original article to prevent cycle on observer initialization, but it seems now ratio !== threshold condition already prevents cycle on initialization.

@samthor what do you think about removing isFirstUpdate in current implementation?

@atomiks I tried to examine if isFirstUpdate does something useful or not, and it seems it does not 😊.
I will try to prove it. There are 3 branches of code (inside ratio !== threshold condition)

!isFirstUpdate -> refresh immediately
ratio !== 0 -> refresh immediately
ratio === 0 -> refresh with timeout
So here we can see that second update can happen only in 100ms interval when ratio === 0 (or element is hidden). It can happen only if some part of reference is visible (or ratio !== 0). But as it was described above if ratio !== 0 it leads to immediate refresh.
I also attached screencast + source code with example, that demonstrates this behavior. You may notice that in console there are some !isFirstUpdate triggers, but all of them are linked with ratio !== threshold and ratio !== 0 conditions, so in that case observer will be re-created anyway.
Screencast from 07-18-2023 10:51:58 AM.webm

  X:
  <input id="x" type="number" value="0"/>
  Y:
  <input id="y" type="number" value="0"/>

  Width:
  <input id="width" type="number" value="50"/>
  Height:
  <input id="height" type="number" value="50"/>

I could make PR with removing of isFirstUpdate if you don't mind.

Oh, I missed one more scenario: ratio === 0 does not always mean that element is hidden, it actually can be the case, when position of reference is changed radically. If I remove isFirstUpdate check, position of element will be updated only after 100ms timeout. In attached video I commented out isFirstUpdate check and increased timeout to demonstrate the effect. It seems it wold be better to keep this flag to provide more responsive positioning of floating element.
Screencast from 07-18-2023 11:36:59 AM.webm


Create documentation annotations from JSON descriptions

This Fixes #21.

Coverage increased (+0.3%) to 91.898% when pulling e602c25a7a02aeaa835bae2673fe7e7edfba89eb on swisspush:annotation-documentation into a134c5599d3a5d5bf56c027ad461abc9fbc54c9f on ethlo:master.

Please fix the conflict, and we should be good to go :)

Voilà. Ready to be merged.
Then, we are good for a 2.2.0 release.

https://github.com/ethlo/jsons2xsd/releases/tag/v2.2.0 Thanks for the effort! :)


Fix visibility toggle for baked GridMaps

Closes #46654.

Last minute cherry-pick :P

Cherry-picked for 3.2.4.


Adding mankier.com explain() function to explain other commands

This PR adds an explain() function which allows explaining other commands via mankier.com man page data.
Reference: Explaining Shell Commands in the Shell

I've added a couple of comments - let me know what you think.

@nwinkler: I've cleaned up comments and added the metadata functions, let me know what you think!

Thanks!


Add a max (and min?) integer constant.

Could there be a max (and possibly min) integer constant like there is for double?

I was thinking that it would be the integer equivalent to double.maxFinite, so probably using something similar to double.maxFinite when compiling to JavaScript as well.


Add toph.pages.dev

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not an ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: toph.pages.dev
  url: https://toph.pages.dev/
  size: 49.6
  last_checked: 2023-10-21

GTMetrix Report: https://gtmetrix.com/reports/toph.pages.dev/uqe1PouL/

Thanks!


rapidsai/xgboost-feedstock: CUDA 12 Conda Packages

Pushing for CUDA 12 Conda package builds of libraries for RAPIDS 23.04. This issue is for tracking that work.
Requirements (please recheck):
### Developer tasks
- [x] I've confirmed the list below is correct (or updated if not)

### Toolkit dependencies from Conda
- [ ] https://github.com/conda-forge/staged-recipes/pull/21723
- [ ] https://github.com/conda-forge/staged-recipes/pull/21953
- [ ] https://github.com/conda-forge/staged-recipes/pull/21350

### RAPIDS Conda dependencies
- [ ] https://github.com/rapidsai/rmm/issues/1207

### Other dependencies from Conda using CUDA
- [ ] https://github.com/conda-forge/nccl-feedstock/issues/82

Transferred to the feedstock fork where these builds are occurring going forward
This should largely be addressed by PR ( https://github.com/rapidsai/xgboost-feedstock/issues/4 ), which Philip is working on atm
Also would like to configure uploads to rapidsai-nightly & rapidsai (need help from OPS for this). Currently packages are cached on GHA
Additionally may want to recheck whether things like rapids-xgboost are still needed or can be replaced/dropped somehow

This should largely be addressed by PR ( https://github.com/rapidsai/xgboost-feedstock/pull/1 ), which Philip is working on atm

After offline discussion with Philip, going to try just enabling RMM to start in PR ( https://github.com/rapidsai/xgboost-feedstock/pull/5 )
Can revisit any of the other changes from PR ( https://github.com/rapidsai/xgboost-feedstock/pull/1 ) as needed

PR ( https://github.com/rapidsai/xgboost-feedstock/pull/5 ) is now merged and artifacts are being cached for testing

After reviewing last week with Ray, Philip, Dante & Ben J., we found a few more things to fix. Those were addressed with PR ( https://github.com/rapidsai/xgboost-feedstock/pull/6 )

Last thing to do is configure uploads to rapidsai-nightly, which Ray has done in PR ( https://github.com/rapidsai/xgboost-feedstock/pull/7 )


add to_input_channel_lossy method

add to_input_channel_lossy method

What is the need for this?

Unwrap is required when I call try_to_input_channel way.
I want to avoid calling unwrap outside (just for this reason).
When I looked at the source code, I found to_input_user_lossy, so I added this method 😬

to_input_user_lossy is used by the library, but to_input_channel_lossy is not.
To be fair, to_input_user_lossy itself should probably be cleaned up. I do not think it's a good idea to add more methods like this to PackedChat. They're more of a workaround than an actual solution.
You can keep using the method in your own code if you need the conversion:
    pub fn to_input_channel_lossy(chat: &PackedChat) -> tl::enums::InputChannel {
        chat.try_to_input_channel().unwrap_or_else(|| {
            tl::types::InputChannel {
                channel_id: 0,
                access_hash: 0,
            }
            .into()
        })
    }


Adding a maintainers file

https://github.com/RyanNoelk/OpenEats/issues/124

I think we should mention @qgriffith, and possibly add everyone else who's had a commit accepted as well at least under a subheading of contributors?

I added everyone with an email if there was one on there git profile. Also sorted the Names alphabetically.


introduce magic_enum into tiflash

Enhancement
Magic_enum provide static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code.
https://github.com/Neargye/magic_enum

Just curious, is this a issue about project building? I am interested in this.

Just curious, is this a issue about project building? I am interested in this.

Part of it is related to project building. And we want to replace some of enum toString functions using magic_enum.

Looks like a big project?

intro

You are right, just introduce magic_enum, then replace one original enum is ok.
Then we can replace the others later.

Looks like a big project? many places may be modify. Or this issues just intro magic_enum to tiflash, But the modification of the original enum and the use of future development are not included in this task?

You are right, just introduce magic_enum, then replace one original enum is ok.
Then we can replace the others later.

Looks like a big project? many places may be modify. Or this issues just intro magic_enum to tiflash, But the modification of the original enum and the use of future development are not included in this task?

You are right, just introduce magic_enum, then replace one original enum is ok. Then we can replace the others later.

Nice one. I want to change it, I have some experience on MariaDB OLAP Task. Could you give me some guide?very grateful!

Looks like a big project? many places may be modify. Or this issues just intro magic_enum to tiflash, But the modification of the original enum and the use of future development are not included in this task?

You are right, just introduce magic_enum, then replace one original enum is ok. Then we can replace the others later.

Nice one. I want to change it, I have some experience on MariaDB OLAP Features. Could you give me some guide?very grateful!

Wow. You can copy the header of magic_enum into dbms/src/Common. And write some simple test for one of the enum we used in TiFlash. BTW, you can contact me on wechat or qq.

Looks like a big project? many places may be modify. Or this issues just intro magic_enum to tiflash, But the modification of the original enum and the use of future development are not included in this task?

You are right, just introduce magic_enum, then replace one original enum is ok. Then we can replace the others later.

Nice one. I want to change it, I have some experience on MariaDB OLAP Features. Could you give me some guide?very grateful!

Wow. You can copy the header of magic_enum into dbms/src/Common. And write some simple test for one of the enum we used in TiFlash. BTW, you can contact me on wechat or qq.

We always welcome your contribution

Wow. You can copy the header of magic_enum into dbms/src/Common.

@ywqzzy I think contrib is a better place for third-party libraries.
@Ziy1-Tan I recommend two ways to introduce magic_enum to tiflash

try to add magic_enum as a submodule in contrib, and add add_subdirectory in the contrib/CMakeLists.txt
then we should be able to include the magic_enum header in tiflash
copy the header of magic_enum into a directory contrib/magic_enum/ and add it as an interface library
you can refer to how we introduce cpptoml https://github.com/pingcap/tiflash/blob/067c450072d6628f3cc83e9745a60ede986ca807/contrib/CMakeLists.txt#L152-L155

Neargye/magic_enum

Sound like a good idea. I will try it.

Some toString funcs for these enum class can be simplified after introducing magic_enum

MergeDeltaReason
https://github.com/pingcap/tiflash/blob/aae88b120da5fda1a2f578d8a4cbe33d6e82caff/dbms/src/Storages/DeltaMerge/DeltaMergeStore_InternalBg.cpp

SegmentWriteType
https://github.com/pingcap/tiflash/blob/aae88b120da5fda1a2f578d8a4cbe33d6e82caff/dbms/src/Storages/DeltaMerge/tests/gtest_dm_segment.cpp#L1181-L1198

RegionException::RegionReadStatus
https://github.com/pingcap/tiflash/blob/aae88b120da5fda1a2f578d8a4cbe33d6e82caff/dbms/src/Storages/Transaction/RegionException.h#L26-L47

It looks like most of the code has been replaced with magic enum, so close this issue.


Can't use IO.copy_stream

Basically I want to stream HTTP body to a file.
I tried to do this but sadly it doesn't work
File::open('file.dat','w') do |file|
    body = HTTP.get(uri).body
    IO.copy_stream(body, file)
end

/usr/lib/ruby/gems/2.6.0/gems/http-4.1.1/lib/http/response/body.rb:30:in `readpartial'
/usr/lib/ruby/gems/2.6.0/gems/http-4.1.1/lib/http/connection.rb:86:in `readpartial': wrong number of arguments (given 2, expected 0..1) (ArgumentError)

It happens because HTTP::Connection.readpartial doesn't accept 2nd argument of buffer which is expected by IO.copy_stream

After some mucking around in the debugger I was able to sort of work around this with
streamer = body.instance_variable_get(:@stream)
io = streamer.instance_variable_get(:@io)

A bit awful though, and I'm not sure it's going to work reliably. Isn't there some way to just get the body as an IO?

The best I've been able to come up with is to wrap body.string in a StringIO -- which obviously isn't ideal for large bodies. I tried using IO.pipe to copy chunks to an IO, but ran into a weird encoding issue when I tried to make it work under Rails.

just encountered this issue, can't believe it


Failed to compile the profile build for Android from macOS due to insufficient memory

Is it expected that 32GB of memory is not enough to compile the profile build?  :/
Compilation of the Android profile build failed due to insufficient memory during the linking stage. The commands are executed as follows:
./flutter/tools/gn --android --runtime-mode=profile && ./flutter/tools/gn --runtime-mode=profile
ninja -C out/android_profile && ninja -C out/host_profile

BTW, The debug build works fine.

flutter doctor -v
[!] Flutter (Channel main, 3.19.0-8.0.pre.15, on macOS 14.2.1 23C71 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.19.0-8.0.pre.15 on channel main at /Users/zero/fvm/versions/main
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/2.18.2/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/zero/fvm/versions/main. Consider adding /Users/zero/fvm/versions/main/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2ff9802cb9 (29 小时前), 2024-01-18 01:12:24 -0500
    • Engine revision 924c17245a
    • Dart version 3.4.0 (build 3.4.0-24.0.dev)
    • DevTools version 2.31.0
    • Pub download mirror https://pub.flutter-io.cn/
    • Flutter download mirror https://storage.flutter-io.cn/
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/zero/Library/Android/sdk
    • Platform android-UpsideDownCakePrivacySandbox, build-tools 34.0.0
    • ANDROID_HOME = /Users/zero/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/zero/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    ! CocoaPods 1.12.1 out of date (1.13.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.2.1 23C71 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 120.0.6099.234

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Seems you are trying to compile engine in profile mode.
@0xZOne Can you provide the entire error log ?

Seems you are trying to compile engine in profile mode.
@0xZOne Can you provide the entire error log ?

The build process is always stuck in the linking phase until the memory is exhausted and the computer crashes. There are no error logs output in the middle. No matter how many times I try, the result is always the same.

Thanks for the update @0xZOne
I'll probably need more time to properly try to run the said command. Can you elaborate how are you running the command and also is it only occuring when you build in --profile mode only or in --release mode too ?

Try adding the --no-lto flag to the flutter/tools/gn command line.  This disables link-time optimization, which can be expensive.

Try adding the --no-lto flag to the flutter/tools/gn command line. This disables link-time optimization, which can be expensive.

It works, thanks.


Problèmes calcul Python

>>> 0.82 * 300
245.99999999999997
>>> (1 - 0.18) * 300
246.00000000000003
>>> 1 - 0.18
0.8200000000000001

Normalement : 0.18 * 300 = 246

Lol!
Le 25 nov. 2016 12:52, "Vincent Lefoulon"<EMAIL_ADDRESS>a
écrit :

0.82 * 300
245.99999999999997
(1 - 0.18) * 300
246.00000000000003
1 - 0.18
0.8200000000000001

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Vayel/GUCEM-BVC/issues/11, or mute the thread
https://github.com/notifications/unsubscribe-auth/AItWCBsrXZH1hUhOUCrB4MPOrjHxxLo-ks5rBsv5gaJpZM4K8XqY
.


feat(parser): extract CloudWatch Logs in Kinesis streams

Issue number: #1725
Summary
Changes

Please provide a summary of what's being changed

This PR introduces two functions to decode, decompress, and extract CloudWatchLogsDecode from Kinesis Data Streams.

extract_cloudwatch_logs_from_event. Returns a list of CloudWatchLogsDecode from KinesisDataStreamModel. Useful for simple processing.
extract_cloudwatch_logs_from_record. Returns CloudWatchLogsDecode from KinesisDataStreamRecord. Useful for robust batch processing and seamless integration with Batch Processing

User experience

Please share what the user experience looks like before and after this change

Simple processing

from aws_lambda_powertools.utilities.parser.models.cloudwatch import CloudWatchLogsDecode
from aws_lambda_powertools.utilities.parser.models import KinesisDataStreamModel
from aws_lambda_powertools.utilities.parser.models.kinesis import extract_cloudwatch_logs_from_record
from aws_lambda_powertools.utilities.typing import LambdaContext

@event_parser(model=KinesisDataStreamModel)
def lambda_handler(event: KinesisDataStreamModel, context: LambdaContext):
    logs: CloudWatchLogsDecode = extract_cloudwatch_logs_from_event(event)
    for log in logs:
        if log.messageType == "DATA_MESSAGE":
            return "success"
    return "success"

Processing batch of logs
from aws_lambda_powertools.utilities.batch import (BatchProcessor, EventType,
                                                   batch_processor)
from aws_lambda_powertools.utilities.parser.models import (
    KinesisDataStreamModel, KinesisDataStreamRecord)
from aws_lambda_powertools.utilities.parser.models.kinesis import \
    extract_cloudwatch_logs_from_record

processor = BatchProcessor(event_type=EventType.KinesisDataStreams, model=KinesisDataStreamModel)

def record_handler(record: KinesisDataStreamRecord):
    log = extract_cloudwatch_logs_from_record(record)
    return log.messageType == "DATA_MESSAGE"

@batch_processor(record_handler=record_handler, processor=processor)
def lambda_handler(event, context):
    return processor.response()

Checklist
If your change doesn't seem to apply, please leave them unchecked.

[x] Meet tenets criteria
[x] I have performed a self-review of this change
[x] Changes have been tested
[ ] Changes are documented (depends on Parser docs refactoring to make it more explicit)
[x] PR title follows conventional commit semantics

Is this a breaking change?
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

cc @ran-isenberg - waiting for CI checks to pass before merging.

Codecov Report
Base: 99.27% // Head: 99.27% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (c55cd29) compared to base (28239ad).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1726   +/-   ##
========================================
  Coverage    99.27%   99.27%
========================================
  Files          129      129
  Lines         6068     6079   +11
  Branches       404      406    +2
========================================
+ Hits          6024     6035   +11
  Misses          20       20
  Partials        24       24

Impacted Files
Coverage Δ

...mbda_powertools/utilities/parser/models/kinesis.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@leandrodamascena for when you're back - added working examples in the PR to reuse when refactoring Parser's docs.
Merging


Missing documentation for load_assembly_and_get_function_pointer

[Enter feedback here]
There is no useful documentation for load_assembly_and_get_function_pointer. So it is not possible to analyse potentional problems. Professional programmers need this, to present their users useful error messages.

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

ID: 83da7030-b5f1-72ad-71f6-424ff45b8b7f
Version Independent ID: a98926cc-64ab-2911-e4b8-1eaf4573dfe4
Content: Write a custom .NET runtime host - .NET
Content Source: docs/core/tutorials/netcore-hosting.md
Product: dotnet-fundamentals
GitHub Login: @mjrousos
Microsoft Alias: tdykstra

See https://github.com/dotnet/docs/issues/31796#issuecomment-1583188489


Add aliases for commands

Pull Request Test Coverage Report for Build 25

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.387%

Totals

Change from base Build 23:
0.0%

Covered Lines:
1496

Relevant Lines:
1637

💛  - Coveralls


Morph Target

Hello Team
Hope you are doing well.
Here i Attach my GLB file its have a mesh Wolf3D_Head and its have multiple Morph is their any way i can access this morph in google  Augmented Ar .
Here i attach Link : https://drive.google.com/file/d/1M2OwRKvtu-vfDtLOAbI3wqZb73XxU779/view?usp=sharing
Thanks

found the funtion to access the Wolf3D_Head or mesh or weight


Speed up raw str equal compare

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] others

Problem Summary(Required) ：

this pr may be speed up sql like str1==str2 or str1!=str2 20%~30%
which str1 and str2 are high cardinality ColumnString.

StringValue is deprecated


Additional pages

Hi,
as I understand this is React App with a single page (great app, by the way).
Is there a really simple way to add additional pages and make them accesible from the front page?

Hi, you can create a React component for your page (they're kept in frontend/src/components) and configure the routing (ReactRouter) in frontend/src/index.ts.


feat: refactoring create_temp_dir

Description
Refactoring  create_temp_dir and apply to MapdlPool library
Issue linked
Checklist

[ ] I have visited and read Develop PyMAPDL.
[ ] I have tested my changes locally
[ ] I have added necessary documentation or updated existing documentation.
[ ] I have followed the PyMAPDL coding style guidelines.
[ ] I have added appropriate unit tests that also ensure the minimal coverage criteria.
[x] I have reviewed my changes before submitting this pull request.
[x] I have linked the issue or issues that are solved to the PR if any.
[x] I have assigned this PR to myself.
[x] I have marked this PR as draft if it is not ready to be reviewed yet.
[x] I have made sure that the title of my PR follows Commit naming conventions (e.g. feat: adding new MAPDL command)

Using NamedTemporaryFile breaks CICD.

Avoiding use of __del__: https://github.com/pytest-dev/pytest-cov/issues/603


\n detection does not work with character literals

StringBuilder builder = new StringBuilder();

builder.append('\n');

Does not trigger the lint.

This is already fixed in the latest version


Added integration tests for the /api/observation API endpoint

As discussed with @ekong2, we'll need to refactor the /api/observation/create endpoint to return a single observation instead of an array of observations.
Closes #146

tests look good overall, pending review from either @stevenshuhyow or @dmsakamoto

:+1:


zjquery/node: Simplify code using trigger().

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

I fixed my lint error and then merged this myself.  (@adnrs96 gave it a review and asked a few questions over PMs.)


feat: update readme

Some changes

Hey @Intevel! Thank you very much for your pull request! Just a few changes and we're ready to go 👍

@paescuj Resolved, thanks for your feedback! ❤

Nice, thx! ❤


Migrated tutorial 021 to QuTiP 5

Development to solve #93
Migrated tutorial 021 from QuTiP 4.7.0 to QuTiP 5.0.2, added assertions on final values

Already solved by #95


HHH-11147 (5.3)

https://hibernate.atlassian.net/browse/HHH-11147
Backports https://github.com/hibernate/hibernate-orm/pull/2864 to 5.3.
Supersedes https://github.com/hibernate/hibernate-orm/pull/2857.

Superseded by https://github.com/hibernate/hibernate-orm/pull/2867


style: add linter rule to limit comment line lengths

I updated the ESLint config file to enable the comment line lengths limit to resolve issue #1729

Ahh sorry i didn't see your PR - implemented it in #1735, but will credit co-authorship to you

@alvrs thanks for merging the changes with yours.
Can you add a hacktoberfest-accepted label to the PR?


New doc

Hello @lasofivec! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file doc/source/conf.py:

Line 24:24: E221 multiple spaces before operator

In the file tofu/tests/tests09_tutorials/tuto_plot_custom_emissivity.py:

Line 5:80: E501 line too long (80 > 79 characters)
Line 38:80: E501 line too long (80 > 79 characters)

Codecov Report

Merging #502 (5f42369) into devel (0131fcb) will increase coverage by 1.94%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            devel     #502      +/-   ##
==========================================
+ Coverage   51.84%   53.79%   +1.94%
==========================================
  Files          37       45       +8
  Lines       19509    23057    +3548
==========================================
+ Hits        10115    12403    +2288
- Misses       9394    10654    +1260

Impacted Files
Coverage Δ

tofu/data/_core.py
35.02% <0.00%> (-2.90%)
:arrow_down:

tofu/data/__init__.py
100.00% <0.00%> (ø)

tofu/data/_plasma.py
0.00% <0.00%> (ø)

tofu/data/_spectrallines.py
69.58% <0.00%> (ø)

tofu/data/_check_inputs.py
64.57% <0.00%> (ø)

tofu/tests/tests02_data/test_04_core_new.py
99.32% <0.00%> (ø)

tofu/data/_comp_spectrallines.py
67.00% <0.00%> (ø)

tofu/data/_comp_new.py
43.35% <0.00%> (ø)

tofu/data/_core_plot.py
0.00% <0.00%> (ø)

tofu/data/_plot_new.py
55.85% <0.00%> (ø)

... and 4 more

Continue to review full report at Codecov.

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


Why rebuilding when TextField tapped?

If remove the MediaQuery.of(context).size code, it will not rebuild.
this is my code.
import 'dart:async';

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Example',
      home: ExamplePage(),
    );
  }
}

class ExamplePage extends StatelessWidget {
  Future<Size> init(BuildContext context) async {
    print("init");
    return MediaQuery.of(context).size;
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: FutureBuilder(
            future: init(context),
            builder: (BuildContext context, AsyncSnapshot<Size> snapshot) {
              if (snapshot.hasError) {
                return Text(snapshot.error);
              } else if (snapshot.connectionState == ConnectionState.waiting ||
                  !snapshot.hasData) {
                return CircularProgressIndicator();
              } else if (snapshot.data == null) {
                return Text("snapshot.data == null");
              }

              return Center(child: TextField());
            }));
  }
}

Logs

❯ flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.7 19H15 darwin-x64, locale ja)
• Flutter version 1.22.5 at /Users/LeeJunHo/dev/flutter/flutter
• Framework revision<PHONE_NUMBER> (2 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/LeeJunHo/dev/env/sdk
• Platform android-30, build-tools 29.0.2
• ANDROID_HOME = /Users/LeeJunHo/dev/env/sdk
• ANDROID_SDK_ROOT = /Users/LeeJunHo/dev/env/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.0
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 47.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] IntelliJ IDEA Community Edition (version 2020.3)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin installed
• Dart plugin version 203.6912
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (1 available)
• iPhone 11 (mobile) • 8715568A-E61C-4527-9401-2E31F0C25404 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
• No issues found!

@shoridevel
I fail to understand the use case of treating MediaQuery.of(context).size as Future
regardless I do experience the described behavior on mobile, but not on web
flutter run -v

logs
[  +96 ms] Syncing files to device Pixel 3a...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:issue/main.dart 42a20d5c-9b0f-4b66-b045-90e6dde4b33d
[        ] <- 42a20d5c-9b0f-4b66-b045-90e6dde4b33d
[  +85 ms] Updating files.
[        ] DevFS: Sync finished
[   +1 ms] Syncing files to device Pixel 3a... (completed in 89ms)
[        ] Synced 0.0MB.
[        ] <- accept
[  +30 ms] Connected to _flutterView/0x77fe15ff20.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Pixel 3a is available at: http://<IP_ADDRESS>:44711/oNf4Wl8Gg-c=/
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[ +275 ms] I/flutter ( 9701): init
[+9847 ms] W/IInputConnectionWrapper( 9701): getExtractedText on inactive InputConnection
[        ] W/IInputConnectionWrapper( 9701): getTextBeforeCursor on inactive InputConnection
[  +54 ms] W/IInputConnectionWrapper( 9701): getExtractedText on inactive InputConnection
[        ] W/IInputConnectionWrapper( 9701): getTextBeforeCursor on inactive InputConnection
[  +18 ms] W/IInputConnectionWrapper( 9701): getExtractedText on inactive InputConnection
[        ] W/IInputConnectionWrapper( 9701): getTextBeforeCursor on inactive InputConnection
[   +6 ms] E/SpannableStringBuilder( 9701): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
[ +175 ms] I/chatty  ( 9701): uid=10407(com.example.issue) identical 2 lines
[   +2 ms] E/SpannableStringBuilder( 9701): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
[        ] I/flutter ( 9701): init
[  +76 ms] I/flutter ( 9701): init
[+1978 ms] I/chatty  ( 9701): uid=10407(com.example.issue) 1.ui identical 6 lines
[        ] I/flutter ( 9701): init
[+7035 ms] W/IInputConnectionWrapper( 9701): getExtractedText on inactive InputConnection
[   +1 ms] W/IInputConnectionWrapper( 9701): getTextBeforeCursor on inactive InputConnection
[  +45 ms] E/SpannableStringBuilder( 9701): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
[  +69 ms] I/chatty  ( 9701): uid=10407(com.example.issue) identical 2 lines
[   +1 ms] E/SpannableStringBuilder( 9701): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
[        ] I/flutter ( 9701): init
[ +842 ms] I/chatty  ( 9701): uid=10407(com.example.issue) 1.ui identical 7 lines
[        ] I/flutter ( 9701): init
[+4030 ms] DevFS: Deleting filesystem on the device (file:///data/user/0/com.example.issue/code_cache/issueXTXFEH/issue/)
[  +33 ms] DevFS: Deleted filesystem on the device (file:///data/user/0/com.example.issue/code_cache/issueXTXFEH/issue/)
[ +407 ms] Failure in ext.flutter.exit: ext.flutter.exit: (-32000) Bad state: The client closed with pending request "ext.flutter.exit".

[   +9 ms] Service protocol connection closed.
[        ] Application finished.
[   +3 ms] executing: /home/francesco/Android/Sdk/platform-tools/adb -s 965AY0WP5C forward --list
[   +8 ms] Exit code 0 from: /home/francesco/Android/Sdk/platform-tools/adb -s 965AY0WP5C forward --list
[        ] 965AY0WP5C tcp:35507 tcp:38641
[   +1 ms] executing: /home/francesco/Android/Sdk/platform-tools/adb -s 965AY0WP5C forward --remove tcp:35507
[   +8 ms] executing: /home/francesco/Android/Sdk/platform-tools/adb -s 965AY0WP5C forward --list
[   +7 ms] Exit code 0 from: /home/francesco/Android/Sdk/platform-tools/adb -s 965AY0WP5C forward --list
[        ] "flutter run" took 193,616ms.
[ +254 ms] ensureAnalyticsSent: 251ms
[   +3 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +2 ms] Shutdown hooks complete
[   +1 ms] exiting with code 0

flutter run -d chrome -v

logs
[ +215 ms] Launching lib/main.dart on Chrome in debug mode...
[ +111 ms] Updating assets
[ +115 ms] Waiting for connection from debug service on Chrome...
[  +53 ms] Found plugin integration_test at /home/francesco/snap/flutter/common/flutter/packages/integration_test/
[  +40 ms] Found plugin integration_test at /home/francesco/snap/flutter/common/flutter/packages/integration_test/
[  +43 ms] <- reset
[   +6 ms] /home/francesco/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/francesco/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/francesco/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/
--incremental --target=dartdevc --debugger-module-names --experimental-emit-debug-metadata --output-dill /tmp/flutter_tools.DXIPQO/flutter_tool.UXTJVN/app.dill --libraries-spec
file:///home/francesco/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/libraries.json --packages /home/francesco/projects/issue/.dart_tool/package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-root /tmp/flutter_tools.DXIPQO/flutter_tools.HLRXPQ --filesystem-scheme org-dartlang-app --initialize-from-dill
build/fbbe6a61fb7a1de317d381f8df4814e5.cache.dill.track.dill --platform file:///home/francesco/snap/flutter/common/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill --no-sound-null-safety
[  +12 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+21075 ms] Waiting for connection from debug service on Chrome... (completed in 21.2s)
[   +1 ms] Synced 28.6MB.
[        ] <- accept
[        ] Caching compiled dill
[ +179 ms] Using Google Chrome 87.0.4280.88

[ +723 ms] [CHROME]:
[   +1 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:44931/devtools/browser/d9f8b470-fcb9-48d5-afa8-272989a0ef9e
[+2429 ms] DwdsInjector: Received request for entrypoint at http://localhost:34675/main_module.bootstrap.js
[   +5 ms] MetadataProvider: Loading debug metadata...
[  +15 ms] MetadataProvider: Loaded debug metadata
[  +13 ms] DwdsInjector: Injected debugging metadata for entrypoint at http://localhost:34675/main_module.bootstrap.js
[+3344 ms] DevHandler: Debug service listening on ws://<IP_ADDRESS>:43735/F8K2wOu8vNA=/ws

[   +8 ms] Debug service listening on ws://<IP_ADDRESS>:43735/F8K2wOu8vNA=/ws
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[   +1 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r" or "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[ +496 ms] init
[+150576 ms] DevHandler: Stopped debug service on ws://<IP_ADDRESS>:32885

[ +367 ms] Application finished.
[   +3 ms] "flutter run" took 180,369ms.
[ +255 ms] ensureAnalyticsSent: 252ms
[   +4 ms] Running shutdown hooks
[   +1 ms] Shutdown hook priority 4
[ +149 ms] Shutdown hooks complete
[        ] exiting with code 0

doctor
[✓] Flutter (Channel master, 1.26.0-2.0.pre.137, on Linux, locale en_US.UTF-8)
    • Flutter version 1.26.0-2.0.pre.137 at /home/francesco/snap/flutter/common/flutter
    • Framework revision 8f5d0371af (26 hours ago), 2020-12-26 11:07:36 +0330
    • Engine revision f5364860ab
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/francesco/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~20.04-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
    • cmake version 3.10.2
    • ninja version 1.8.2
    • pkg-config version 0.29.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Google Chrome 87.0.4280.88

! Doctor found issues in 1 category.

This is intended behavior as opening the keyboard changes the dimensions of the MediaQuery, specifically the viewInsets, padding, and viewPadding.

@PixelToast
I believe the behavior should be consistent between mobile and web

@PixelToast My issue has two problems.

I need to get the screen size in init method for image processing. but TextField is rebuilding when i tapped. again init method called.
The keyboard appears and then disappears immediately.

The reason why the keyboard is disappearing is because your FutureBuilder is being used in an unsafe manner, regardless, the proper way of obtaining the size of the screen is:
class _ExampleState extends State<Example> {
  Size size;

  @override
  void didChangeDependencies() {
    super.didChangeDependencies();
    final newSize = MediaQuery.of(context).size;
    if (size != newSize) {
      size = newSize;
      // Do stuff with size
    }
  }

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}

Or, if you don't care about listening to changes in the size of the screen it can be accessed directly through dart:ui's window singleton.

@iapicca The difference in behavior comes from the fact that MediaQuery changes when the keyboard opens, you would observe the same behavior on mobile with a physical keyboard rather than an on-screen one.

@PixelToast Thanks. This is the way I found the solution to the problem.
final size = window.physicalSize / window.devicePixelRatio;