Add error handling for FRAM code

Description
Use the Experimental Outcome library for proper error handling in the FRAM code.

Think about whether this actually makes sense. If communication with the FRAM can fail, but we have no way to recover, error handling doesn't really make sense. Well, maybe we can increment an error counter or something.

Blocked by #237

No longer blocked by #237 because error handling for SPI communication works on a higher level now with a supervisor thread. This means that the FRAM code can assume that the SPI functions always work. It only needs to take care of other possible issues that can arise. I am not sure if they exist, though. One needs to go through the code and think about it.

After FRAM code inspection, no other possible issues were found.


Pip subprocess error: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-qwas2iyk/matplotlib/

I tried to run this notebooks on binder but received this error :

I also have the same error. Will be following how to resolve it.

I also have the same error. Will be following how to resolve it.

For now I am following this :
https://jakevdp.github.io/PythonDataScienceHandbook/index.html


Support for sentence-transformer models?

Branch/Tag/Commit
main
Docker Image Version
n/a
GPU name
n/a
CUDA Driver
n/a
Reproduced Steps
I am wondering if we support the sentence-transformer models (https://huggingface.co/sentence-transformers) like https://huggingface.co/sentence-transformers/multi-qa-mpnet-base-dot-v1?

Thanks for confirming!


Support for Setting Default Model Serializer

Thanks for the suggestions. In the next moor version, you will be able to set the default serializer via a global field (moorRuntimeOptions.defaultSerializer).


Fix formatting of irradiance_volumes example instructions

Objective
Fix minor text formatting issue introduced in #15033
Before:

After:

Solution
Add explicit linebreaks and \ to ignore indentation on following lines.
Testing
cargo run --example irradiance_volumes

Reference about multiline string literal: https://stackoverflow.com/a/29483453


While zooming in, point feature colors "pop" in and out

I know that there was an issue a long time back from Iago about zooming in and seeing shifts in symbology.
I'm noticing that again with category points. I think what is happening as more data is added, the new features draw on top of existing features which is giving that shift/jump in color.
If you zoom in on any of the clusters in this map you will notice what I'm talking about.

related pointing to a potential maps API problem

Based on an older issue about how point rendering had changed because we were requesting one additional tile of data at each zoom, and based on @Algunenano's comment about ordering, I added order and it minimizes the popping effect because we have explicitly set the draw order of the points: map
But, that still doesn't solve the issue with the map above since order can only be used with width AND varying symbol sizes.


Implement functionality for arbitrary likelihood distributions.

Specifically, enable Poisson marginal log-likelihood computation during inference.

@xinglong-li  This is what  I was discussing with you.


Internationalization: Use localized strings

User Story
As a user, I want Platform.Bible to have the equipment in place to be able to display the UI in my language so I can work effectively.
Description
Depends on #741
Use the localization service and useLocalizedStrings hook to actually make the UI internationalized so it uses the English localized strings file (by default).
If #740 is finished, put localized strings in the associated extension where relevant.

Note: created https://github.com/paranext/paranext-core/issues/1094 to handle localizing Bible book names.

I'm not sure if this is considered part of this issue, but I just tried switching to Spanish (which I just added as a locale) and I observed that I had to restart Platform.Bible to get the change to take effect.

I'm not sure if this is considered part of this issue, but I just tried switching to Spanish (which I just added as a locale) and I observed that I had to restart Platform.Bible to get the change to take effect.

That's intended functionality. We should probably add some kind of notification that you need to restart, but we don't have anything like that right now. I'd say that's not part of this issue.

You mean, it's intended that you should have to restart? Is that a technical limitation with Electron, React and/or our approach to localization? If there were a way to get the UI to re-render using the new locale, that would be a good bit nicer for users.

You mean, it's intended that you should have to restart? Is that a technical limitation with Electron, React and/or our approach to localization? If there were a way to get the UI to re-render using the new locale, that would be a good bit nicer for users.

That was intended by design - I suppose to make devs' jobs easier. Otherwise, every time anyone gets a localized string, they would have to subscribe to updates and make sure to figure out some way to change the strings they used. Honestly, it's pretty easy to do this when we get strings on the frontend (useLocalizedStrings has it built in). It's not as convenient on the backend.
I imagine that, if none of the UI currently updates when you change language, it's probably because the localization service isn't listening for updates to the language setting. If it were listening, you'd probably see everything that uses useLocalizedStrings (probably most of the UI) update and nothing that doesn't. I don't think we're manually subscribing to string updates anywhere (like anywhere on the backend that we use strings).
Comment on the design doc about this: https://docs.google.com/document/d/1dFSTR6bgt7n0HaXOvnV3Cc-z1R2S9Gb5KlNlIS4liQI/edit?disco=AAABEmHIqu8

Added localizations paranext-core, paratext-bible-extensions, and paratext-bible-internal-extensions. I also checked platform-bible-sample-extensions, but the strings in the verse ref view were already localized.


How to restart letschat after a settings change in docker?

I installed docker image of lets-chat 0.4.0
After changing the settings.yml how can I restart lets-chat?
Entering the docker and doing:

node app restart or node restart

did not help. I also did a restart of the docker:
But I get this error:

module.js:338
throw err;
^
Error: Cannot find module '/usr/src/app/start'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3

Please help, docker image is not a viable solution if I can restart it.

If you undo your changes in settings.yml, does it work ?
Could you explain what you changed ?
Do you run docker with docker run or with docker-compose up ?
@sibartlett @hhaidar Does the docker image could include pm2 to facilitate the init ?

Currently the Docker image only support environment variables, but I'll be looking into adding a Docker volume for configuration.

Great to hear @sibartlett , will be a lot useful.
Anyway after 24 hour of running docker image it crashed. :(
Here is the logs from docker logs:

Killed
npm ERR! Linux 3.13.0-52-generic
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.4
npm ERR! npm  v2.11.1
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: node app.js
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node app.js'.
npm ERR! This is most likely a problem with the lets-chat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node app.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls lets-chat
npm ERR! There is likely additional logging output above.
npm ERR! Linux 3.13.0-52-generic
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.4
npm ERR! npm  v2.11.1
npm ERR! path npm-debug.log.7da2e9feb6af80ea1c45d89105a542fd
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! Error: EACCES, open 'npm-debug.log.7da2e9feb6af80ea1c45d89105a542fd'
npm ERR!     at Error (native)
npm ERR!  { [Error: EACCES, open 'npm-debug.log.7da2e9feb6af80ea1c45d89105a542fd']
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   path: 'npm-debug.log.7da2e9feb6af80ea1c45d89105a542fd' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR!     /usr/src/app/npm-debug.log

<EMAIL_ADDRESS>prestart /usr/src/app
migroose

Cannot load StringPrep-0.7.0 bindings (using fallback). You may need to npm install node-stringprep

Any help approcciante. :)

Currently the Docker image only support environment variables, but I'll be looking into adding a Docker volume for configuration.

Actually it's way easier. I recommend creating a custom container on top of yours:
# cat Dockerfile
FROM sdelements/lets-chat

COPY settings.yml /usr/src/app/settings.yml

And then: ```
docker build -t timwolla/lets-chat .
docker stop lc; docker rm lc; docker run -d -p <IP_ADDRESS>:5001:8080 -p 5222:5222 --link mongo-lc:mongo --name lc --volumes-from=lc-data timwolla/lets-chat

And then your new container is up and running :smiley:

@0vermind @TimWolla I've added a config volume to the Docker image, so you can mount a directory containing settings.yml


Password Visual Code

I can't enter the password

I had the same problem, but I solved it by uninstalling the recent version of Java and installing an old version (Java SE Runtime Environment 8).
You can test using:
adt -certificate -cn YOURNAME 2048-RSA object_builder.p12 123
And after:
adt -checkstore -storetype pkcs12 -keystore object_builder.p12 -storepass 123
In C:\MoonshineSDKs\Flex_SDK\Flex_4.16.1_AIR_32.0\bin
Can close the issue.

The password is hidden for security, you need to write in this invisible space


add -l doesn't use the picked list

Allows user to pick, but ignores and uses the default

Actually it's just a reporting issue - it adds to the right list, but reports wrongly.
Should be fixed by completing #30


Action custom button configurations do not save successfully

When a custom button type is used instead of the default buttons, the configurations for the custom buttons are not saved after being configured.
Steps to reproduce the behavior:

Go to 'https://function-adminportal-test.shesha.dev/shesha/forms-designer?id=f9dd00ad-807d-49ec-8743-e78b5eeffd73'
Click on 'buttonGroup' component
From the properties panel, scroll down and click on  'customize button group'
From button list, scroll down and click on 'Custom Buttons'
From the button properties panel, scroll down and click on 'Customize button group', below buttons type
Add a new item
Configure it and click on 'Save'
After saveing, you can navigate back to see the button added if it is there
Actual Results: The button added got removed/not saved

Expected behavior
Upon saving the changes, the buttons should be saved successfully
See attached video: https://jam.dev/c/51afae12-f347-4f88-a3cd-447ddfc7ad0c

Related item: https://github.com/shesha-io/shesha-framework/issues/1995


Problems with finding user in EloquentUserProvider

Lumen Version: 5.4.#
PHP Version: 5.6 / 7.0
Database Driver & Version:

Description:
I am using a 3rd party package - tymondesigns/jwt-auth for authenticating users in my lumen project. The problem that I get is that it works fine on my local machine and on one remote machine, but not on another one. The difference is that php 5.6 is on the machine that does not work. I have investigated and found out that the in file vendor\illuminate\auth\EloquentUserProvider.php inside the method retrieveByCredentials the user is not found, even though the query does show that it is searching for a user by email. When I run php artisan tinker and search a user manually by email like App\User::where('email','someemail@mail.com')->first() it does return the user correctly.
Steps To Reproduce:
install this package https://github.com/krisanalfa/lumen-jwt on 5.6 hosting (I am not sure). Maybe there will be the problem as well. I don't know how to reproduce actually.

Please report on the Lumen repository.

I found the problem is with AWS Aurora engine. When I change to 'MySQL' it works fine


Allow operator literals in method definitions

class Vector2 {
  property x
  property y

  func constructor(x, y) {
    @x = x
    @y = y
  }

  func +(other) {
    Vector2(@x + other.x, @y + other.y)
  }
}

let vec1 = Vector2(1, 2)
let vec2 = Vector2(3, 4)

vec1 + vec2 # x = 4, y = 6

The method definition would just be rewritten at parse-time to the following:
func __plus(other) {
  Vector2(@x + other.x, @y + other.y)
}

This should work with all overridable operators. For unary operators (+, -, !) the syntax should be similar to ruby (+@, -@, !@)

This should only work inside function literals, the following shouldn't work
let + = func() {}

Closed via latest commits to master


Issue with v2 addons and ember-auto-import

Hello! 👋
First off, thanks a bunch for this work, it's really nice!  The issue I'm hitting is specific to Ember, and more specifically v2 addons.
The main issue I'm hitting is essentially https://github.com/embroider-build/ember-auto-import/issues/503.
I'm working on upgrading some v1 addons to v2.  These v2 addons import fractal-page-object via ember-auto-import.  After performing the migration, I saw all of our tests that were extending the PageObject begin failing.   The exact error message was Custom selector()/globalSelector() class must be PageObject or PageObject subclass.
Which as you know, is thrown when isPageObjectSubclass() doesn't see the Class as a PageObject instance.
That's what lead me to the issue listed above, as well as https://github.com/embroider-build/ember-auto-import/issues/588 and https://github.com/gossi/ember-command/issues/23.
Based on those issues, it seems as though instanceof checks should not be used with v2 addons and ember-auto-import.  I had originally thought that maybe we could solve this issue by adding a static member on the PageObject class; however, I don't think that'd work here after digging in a bit further.

Also worth noting: we are only talking about a temporary workaround until the underlying issue has been resolved. The alternative we already discussed was using patch-package to basically make isPageObjectSubclass always return true, but that doesn't seem ideal as well! 😅

Do we have any notion of how temporary? If it's going to be a while I can noodle on it some and come up with a workaround, and then probably later remove it. But I don't think patching isPageObjectSubclass to always return true is really that bad of an option. The only reason it exists is to validate the arguments to selector() and globalSelector() at the time they are first evaluated (so the error stack trace leads back to the field initializer in the page object class itself) rather than at the time they are accessed (in which case the error would be less explicit and would lead back to the access site, e.g. in some specific test).
So as a temporary workaround, giving up this slightly better argument validation in favor of a slightly worse one (but one that will not result in any false test positives or anything like that) seems pretty reasonable to me.

Thanks Ben for the quick feedback!
Note sure about the first part, there is an old PR (https://github.com/embroider-build/ember-auto-import/pull/512), but that doesn't seem to be a candidate to get merged. It has been identified as a priority here, but not sure what we really can expect here! 😅
As we have to get us unblocked asap, we'll probably patch the file as suggested for the time being, if that's something you think is reasonable, and a better way to fix this is not super trivial...
Thanks again!

I'm happy for some feedback/ideas here, because there's not a super obvious/trivial solution.
The two "easy" alternatives (other than temporarily disabling the check and incurring the drawbacks listed above) that I see are:

Some kind of duck typing
A WeakSet that the PageObject constructor adds its instance to, and then isPageObjectSubclass() uses .has() on the set

I suppose (1) is doable. The problem is that because PageObjects are meant to be kinda like namespaces -- intentionally allow users to subclass and add fields descriptively named whatever they want -- I try to avoid "polluting" the namespace as best as I can. So currently the only "known" properties I could use to duck type are element and elements, but that's not great duck-typing, and also if DOM Element descriptors ever land, those properties will go away as well. So I guess it would work to just put a __is_page_object__ field (or something) on the base class, and then use that to duck type...it just feels messy...but I guess if I think of it as a temporary solution then it's not too bad.
I'm not sure if (2) would be doable -- do either of you know if the same issue that causes instanceof not to work would also result in there being two copies of a module-scoped const WeakSet, such that the constructor would add its instance to a different WeakSet than the test code's isPageObject call would be calling .has() on?
I should probably add a v2 addon to this monorepo so that it's part of the test matrix -- if either if you are excited about throwing that together I'd definitely welcome a PR!

Hey @bendemboski , I think we can actually safely close this now.  Apologies for the noise.
Essentially what we uncovered was that fractal-page-object was getting imported in production code from another addon in our large codebase.  The import and usage via a test helper was supposed to live in <addon>/addon-test-support/; however, it was inadvertently co-located with a component file at <addon>/components/<component-name>/test-helper.ts.
Due to our usages mostly in addon-test-support/ but having this one case, we ended up getting bit by https://github.com/embroider-build/ember-auto-import/issues/503 where we had the two versions of fractal: one in the app, another for tests, causing all of our tests to fail.
The fix for us was to properly move the test helper file from <addon>/components/<component-name>/test-helper.ts to <addon>/addon-test-support/components/<component-name>/test-helper.ts instead.  After doing this, all of our tests went green.
Once again, I apologize for the noise.  It took us a few days to get to the bottom of it.

No problem, glad you got it sorted out!


Finnish translation done

to the best of my abilities. #94

Oh my god sorry I totally missed this. May was a hectic month, and everything got buried under hundreds of unread emails. I just pulled & pushed your translation live. Thank you so so much for taking the time & effort to do this! 🎉


MPI builds on BGQ do not compile due to location of MPI library

Original author: Nikhil Jain
Original issue: https://charm.cs.illinois.edu/redmine/issues/243

Due to path changes, MPI builds on BGQ are currently not compilable. Task is to set the paths properly.

Original date: 2013-06-25 15:20:16

Take a look at autobuild - the check against conv-mach-opt.sh needs to be relative to the tmp/ directory, not the current working directory.

Original date: 2013-06-26 19:48:38

Missing path-relative term in the patch meant it didn't build in subdirectories or an anywhere outside mpi-bluegene-xlc/tmp. Adding $CHARMINC/ to the check of conv-mach-opt.sh seems to do the trick.
Fully tested mpiwrappers-xl, mpiwrappers-gcc) * (mpi-bluegeneq, mpi-bluegeneq-xlc). The results are a bit strange for mpiwrappers-gcc with mpi-bluegeneq-xlc: because the build explicitly uses mpixlcxx, that build works even though the mpi wrappers are notionally GCC. That behavior seems to be perfectly fine, though. The other three combinations do as expected.

Original date: 2013-06-27 14:37:29

Autobuild is working.


Interactive window overreacts to irrelevant command line errors

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur

Enter a bad value in the registry under HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun (e.g. C:\fake_file.bat)
Start VSCode with a python project & venv virtual environment
Choose a line of a python file, right click, "Run Selection/Line in Python Interactive Window"

Actual behavior
Interactive Window fails to open and receive the following error in VSCode:
StdErr from ShellExec, 'C:\fake_file.bat' is not recognized as an internal or external command, operable program or batch file. for c:/Users/<user>/Documents/personal/school/Seaglider/adcp-nav/adcp-env/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:\Users\<user>\.vscode\extensions\ms-python.python-2020.6.91350\pythonFiles\pyvsc-run-isolated.py c:/Users/<user>/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/printEnvVariables.py

Expected behavior
While activate.bat (and any cmd /c <command>) raises that error, it still correctly activates the virtual environment.  VSCode should note the error but continue with the Interactive Window.
Context: Originally, this was caused by a botched Anaconda uninstall/install leaving something like ~\AppData\Local\Temp\...bat in the registry.  The actual error VSCode (and, cmd) got in that case was The system cannot find the path specified, but essentially the same error.  Regardless, both Spyder and Jupyter manage to start kernels with this virtual environment, and in the terminal, VSCode manages to run activate.bat, ignore the error, and continue.  It's just VSCode's interactive window that struggles.
Fully understand though if this isn't intended to be fixed since the original error isn't VSCode's fault, it's just a matter of VSCode overreacting.

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: Local
Extension version: 2020.6.91350
VS Code version: 1.46.1
Setting python.jediEnabled: (No Settings Found)
Setting python.languageServer: Jedi
Python and/or Anaconda version: 3.7.8
OS: Windows | Mac | Linux (distro): Windows 10
Virtual environment: venv

Developer Tools Console Output
Error Python Extension: 2020-07-04 15:08:45: Failed to initialize w [Error: StdErr from ShellExec, 'C:\bullshit.bat' is not recognized as an internal or external command,
operable program or batch file.
for c:/Users//Documents/personal/school/Seaglider/adcp-nav/adcp-env/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:\Users<user>.vscode\extensions\ms-python.python-2020.6.91350\pythonFiles\pyvsc-run-isolated.py c:/Users//.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/printEnvVariables.py	at E.getActivatedEnvironmentVariablesImpl (c:\Users<user>.vscode\extensions\ms-python.python-2020.6.91350\out\client\extension.js:48:708924)	at processTicksAndRejections (internal/process/task_queues.js:85:5)]
Error Python Extension: 2020-07-04 15:08:45: Failed to initialize ipywidgetHandler [Error: StdErr from ShellExec, 'C:\bullshit.bat' is not recognized as an internal or external command,
operable program or batch file.
for c:/Users//Documents/personal/school/Seaglider/adcp-nav/adcp-env/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:\Users<user>.vscode\extensions\ms-python.python-2020.6.91350\pythonFiles\pyvsc-run-isolated.py c:/Users//.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/printEnvVariables.py	at E.getActivatedEnvironmentVariablesImpl (c:\Users<user>.vscode\extensions\ms-python.python-2020.6.91350\out\client\extension.js:48:708924)	at processTicksAndRejections (internal/process/task_queues.js:85:5)]
t.log @ console.ts:137
'C:\bullshit.bat' is not recognized as an internal or external command, operable program or batch file.  for c:/Users//Documents/personal/school/Seaglider/adcp-nav/adcp-env/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:\Users<user>.vscode\extensions\ms-python.python-2020.6.91350\pythonFiles\pyvsc-run-isolated.py c:/Users//.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/printEnvVariables.py
onDidChangeNotification @ notificationsAlerts.ts:40
Error Python Extension: 2020-07-04 15:08:45: DataScience Error [Error: StdErr from ShellExec, 'C:\bullshit.bat' is not recognized as an internal or external command,
operable program or batch file.
for c:/Users//Documents/personal/school/Seaglider/adcp-nav/adcp-env/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python c:\Users<user>.vscode\extensions\ms-python.python-2020.6.91350\pythonFiles\pyvsc-run-isolated.py c:/Users//.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/printEnvVariables.py	at E.getActivatedEnvironmentVariablesImpl (c:\Users<user>.vscode\extensions\ms-python.python-2020.6.91350\out\client\extension.js:48:708924)	at processTicksAndRejections (internal/process/task_queues.js:85:5)]
t.log @ console.ts:137
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Thanks for the feedback! However, we don't have plans on adding this functionality at this time.


Move pointer by dragging the label

Hi there,
first of all, thanks for the awesome plugin. We found, that most of our users are trying to move the pointer by grabbing the label. Unfortunately that didn't work and we didn't find other solution than 'adjusting' the source. Here are the changes, I think it can be useful for all the users' of the plugin.
Best regards,
Marcell

thank you very much, I merge it asap.


Update paragon alpha with the current state of non-alpha paragon

### Tasks
- [ ] https://github.com/openedx/paragon/issues/3072
- [ ] https://github.com/openedx/paragon/issues/3073
- [ ] https://github.com/openedx/paragon/issues/3074

PRs:

https://github.com/openedx/paragon/pull/3044
https://github.com/openedx/paragon/pull/3048
https://github.com/openedx/paragon/pull/3052
https://github.com/openedx/paragon/pull/3051
https://github.com/openedx/paragon/pull/3056


fix for Error: must forward with targets before backward [#19]

fixes #19

The fix works on my machine running with Ubuntu 2204 & intel 13i cpu, thanks.

little update, the problem seems to be with -Ofast, using -O3 and -Ofast togheter throws the error #19, using only -Ofast also throws the error.
With only -O3 it works, on ubuntu 22.04

Can confirm this makes tests pass.

Honestly weird this works. Did you find a compiler bug in gcc?!

i found out that -Ofast enables a lot of hard optimizations that can alter the behaviour of the program, in particularly it enables the flag -ffast-math, which can mess the floating point arithmetic.
So keeping -O3 and -Ofast but disabling just the -ffast-math opt, works

I don't think it makes the code slower since -O3 and -Ofast are enabled and only -ffast-math is disabled, I don't know what the contribution of -ffast-math is in terms of speed, but since we are working on floats it is important to maintain machine precision, since this flag creates problems with floating point arithmetic, and I don't think its I think the terms of speed are so relevant.
I can't test the speed differences since seems only to work on macos machines with -ffast-math enabled/disabled, maybe you could try to check if you see any notable differences?

I don't think it makes the code slower since -O3 and -Ofast are enabled and only -ffast-math is disabled, I don't know what the contribution of -ffast-math is in terms of speed, but since we are working on floats it is important to maintain machine precision, since this flag creates problems with floating point arithmetic. I can't test the speed differences since seems only to work on macos machines with -ffast-math enabled/disabled, maybe you could try to check if you see any notable differences?
more tests here -> #19 (comment)

I have collected some data by running train_gpt2 on an Apple Silicon M2.
Enabling -O3 -Ofast -Wno-unused-result (the default CFLAGS atm) I got the following result:
[GPT-2]
max_seq_len: 1024
vocab_size: 50257
num_layers: 12
num_heads: 12
channels: 768
num_parameters: 124439808
train dataset num_batches: 1192
val dataset num_batches: 128
num_activations: 73323776
val loss 5.252026
step 0: train loss 5.356190 (took 3303.293000 ms)
step 1: train loss 4.301069 (took 3191.455000 ms)
step 2: train loss 4.623322 (took 2881.769000 ms)
step 3: train loss 4.600470 (took 2835.179000 ms)
step 4: train loss 4.616786 (took 2947.070000 ms)
step 5: train loss 4.231483 (took 2944.147000 ms)
step 6: train loss 3.754234 (took 3088.123000 ms)
step 7: train loss 3.652349 (took 2940.905000 ms)
step 8: train loss 4.183590 (took 2938.175000 ms)
step 9: train loss 4.199315 (took 3039.444000 ms)
val loss 4.425458

By disabling fast-math (with -fno-fast-math) the performances drop, roughly doubling the time for each step:
[GPT-2]
max_seq_len: 1024
vocab_size: 50257
num_layers: 12
num_heads: 12
channels: 768
num_parameters: 124439808
train dataset num_batches: 1192
val dataset num_batches: 128
num_activations: 73323776
val loss 5.251911
step 0: train loss 5.356084 (took 6769.919000 ms)
step 1: train loss 4.300642 (took 6584.231000 ms)
step 2: train loss 4.623087 (took 6278.325000 ms)
step 3: train loss 4.599361 (took 6234.404000 ms)
step 4: train loss 4.616666 (took 6789.834000 ms)
step 5: train loss 4.231430 (took 7304.708000 ms)
step 6: train loss 3.753160 (took 6959.676000 ms)
step 7: train loss 3.650456 (took 6762.026000 ms)
step 8: train loss 4.182242 (took 7499.524000 ms)
step 9: train loss 4.199580 (took 7104.202000 ms)
val loss 4.426363

Some stats to better evaluate the consistency these measurements:

fast-math: mean := 3010.956 ms and std-dev := 138.254 ms
no-fast-math: mean := 6828.685 ms and std-dev := 386.642

yes, -Ofast with -ffast-math enabled seems to be the best option, but looks like only works for macos,
-Ofast -fno-fast-math is a compromise but should work for everyone.

What about enabling fast-math conditionally, depending on the host OS?
uname -s could provide the mean for detecting the OS.

After some investigation, it seems the error is caused by the gcc "-fno-math-errno -funsafe-math-optimizations -ffinite-math-only" combined options introduced by the "-Ofast" / "-ffast-math", and it can be sovled by adding "-fno-finite-math-only" instead of "-fno-fast-math" for a  better performance.
Btw, if change cc to clang on my ubuntu 2204, it works well without modifying any other options, and archive the best running speed.

@DongbinNie wow, it's amazing, on my ThinkPad using -Ofast with -fno-finite-math-only (and keep using cc) the performance is almost 2x!!! (from 9309ms to 4966ms per step)

@DongbinNie i can confirm that perfs are 2x with -fno-finite-math-only instead of -fno-fast-math, thanks for the help!
I was doing kinda the same thing testing the opt flags enabled by the -Ofast / -ffast-math combo.

Sorry @ent0n29  what is the final recommendation here right now? Is it
CFLAGS = -Ofast -fno-finite-math-only -Wno-unused-result -march=native

yes @karpathy, -fno-finite-math-only instead of -fno-fast-math for almost 2x improvements

I went from ~17 seconds per step with -fno-fast-math, to this with -fno-finite-math-only & -march=native:
step 0: train loss 5.356086 (took 9611.016869 ms)
step 1: train loss 4.300644 (took 8780.770364 ms)
step 2: train loss 4.623083 (took 7137.313333 ms)
step 3: train loss 4.599365 (took 6426.557283 ms)
step 4: train loss 4.616659 (took 6864.495874 ms)
step 5: train loss 4.231428 (took 6635.326672 ms)
step 6: train loss 3.753164 (took 6516.244371 ms)
step 7: train loss 3.650456 (took 6362.145571 ms)
step 8: train loss 4.182243 (took 6333.873539 ms)
step 9: train loss 4.199581 (took 6407.929416 ms)

i close this to open a new one synced


v23.1.24 release notes (cloud-first)

REL-1024
@florence-crl, this is scheduled for publication tomorrow, July 18.

TFTR! I added most of the links.


Convolution timings of CL are almost the same with or little slower than Neon

Output of 'strings libarm_compute.so | grep arm_compute_version':
OpenCL:
arm_compute_version=v18.11 Build options: {'pmu': '1', 'arch': 'arm64-v8a', 'opencl': '1', 'neon': '0', 'benchmark_tests': '1', 'validation_tests': '1', 'build': 'native', 'asserts': '0', 'mali': '1', 'debug': '0', 'os': 'linux', 'Werror': '1', 'examples': '1'}
NEON:
arm_compute_version=v18.11 Build options: {'pmu': '1', 'arch': 'arm64-v8a', 'opencl': '0', 'neon': '1', 'benchmark_tests': '1', 'validation_tests': '1', 'openmp': '1', 'build': 'native', 'asserts': '0', 'debug': '0', 'os': 'linux', 'Werror': '1', 'examples': '1'}
Platform:
Firefly RK3399
Operating System:
Ubuntu 16.04

Problem description:
I just run the benchmark tests of ComputeLibrary. I found that the convolution timings of the OpenCL test cases is almost the same with those of the Neon on my platform. I'm very confusing about this results. Take 'GEMMConvolution' case
('*/GEMMConvolutionLayer/Configuration@In=224x224x3:Weights=3x3x3x32:Biases=32:Out=112x112x32:Info=2,2;0,1,0,1:Dilation=1x1:DataType=F32:ActivationInfo=RELU') as an example:
OpenCL: AVG=2.776ms, MAX=2.859ms, MIN=2.704ms, MEDIAN=2.786ms
NEON： 2.779ms
NEON_4: 0.875ms (using openmp with 4 threads)
I read the related issue 117. Therefore, the OpenCL cases are running 5 iterations on my platform.
The commands I use are as follows:
OpenCL:
./arm_compute_validation --mode=precommit --filter="^CL/." --interations=5 --instruments="MALI,WALL_CLOCK_TIMER" --log-file
NEON:
./arm_compute_validation --mode=precommit --filter="^NEON/." --instruments="PMU,WALL_CLOCK_TIMER" --log-file
NEON_4:
./arm_compute_validation --mode=precommit --filter="^NEON/.*" --threads=4 --instruments="PMU,WALL_CLOCK_TIMER" --log-file

This model of Firefly only has 2 big cores so you might want to only use 2 threads, and if it doesn't fix the issue you might want to use taskset or turn off the little cores to make sure only the big cores are being used.

Yes, OpenCL is all on GPU, however the execution time on the GPU is obtained by using the opencl_timer instrument.
The wall_clock_timer includes cache maintenance and dispatch time which might be why it ends up taking longer than NEON.
The other thing to consider is how big your workload is: if the sizes of the matrices are too small then the task won't be parallelisable enough to keep the whole GPU busy. (Whereas the number of threads to keep a CPU busy is much lower so it will perform better on smaller sizes).
Hope this helps


Add CommonJS compatibility

With this change, the module can be directly included
by node.js applications that use the CommonJS module system.

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

With this change, the module can be directly included
by node.js applications that use the CommonJS module system.

Hi @astolcenburg, currently I can't include ThunderJS like:
import ThunderJS from 'ThunderJS';
Does your PR solve this issue?

With this change, the module can be directly included
by node.js applications that use the CommonJS module system.

Hi @astolcenburg, currently I can't include ThunderJS like:
import ThunderJS from 'ThunderJS';
Does your PR solve this issue?

Hi @dersanli ,
yes, it will work thanks to the interoperability of ECMAScript modules with CommonJS: https://nodejs.org/api/esm.html#esm_interoperability_with_commonjs . But you need to use node.js >= 14 or node.js 12 with the --experimental-modules flag enabled.

Hi @michielvandergeest
Could you review this PR?

Hi @michielvandergeest
Could you review this PR?

+1 pls


[Feature] Customising Playground

Description
Hi @skoropadas,
I am looking for a way to customize the Playground so that it reflects a similar look and feel to Figma which my designers are used to. The idea is to provide similar interfaces and terminology that we use in the Figma editor.
I want to update the playground right pane to the below UI spec.
Below are the requirements

Add specific images adjacent to the labels in the playground type controls
Customize attribute labels which show up in Playground, currently it just shows the attribute name. For eg., the "primaryColor" attribute should be shown as "Primary Color" or any user-defined literal in the playground
Remove the default images from the type controls
Move the Reset and Recreate option to the below of the playground tile
Create n sections and assign specific properties of the components to those sections with user-defined order sequence
Ability to tweak the CSS of the entire playground
Ability to override the existing supported type control styles (string, number, boolean, or Type Alias).

Regards,
Akhilesh
Proposed solution
It would be great to see if we could have a similar customization for the playground the way we have customization for Page Skeleton.
Alternatives considered
For the time being is there any way in which I can achieve the described UI design?

Interesting thanks! I'll think about it!

Interesting thanks! I'll think about it!

@skoropadas , also I think it would be great if the same could be done with Demo & Demo Pane as well, the way we have customization for Page Skeleton.


Feature: mgmt engsys convergence

@mitchdenny @JimSuplizio @weshaggard Would you like to review this PR?

/check-enforcer override

java - fluent mgmt - ci.mgmt test is removed, so it automatically fails.


Debugger controls and "debugging" / "running" status never finishes running python script

VSCode Version: 1.27.1
OS Version: Windows 10

Steps to Reproduce:

Run any python script that finishes gracefully or uses exit() to exit.
Debugger remains on screen, and VS code remains "executing" the script using 0% of proc.

Does this issue occur when all extensions are disabled?: Yes/No
If i disable all python extensions, I can't run the python code, so... No they are not.

Please try filing this issue against the python extension first


fix IE HTMLDocument missing issue

In certain versions of IE HTMLDocument is not defined and therefore throws a breaking error.

Thanks for the contribution! For my eduction, which versions of IE are affected?

I noticed the issue on ie10 using windows 8. I also ran into the issue in IE 9 while using the browser testing tools, but was unable to test in IE9 natively.


Overlap current day

Is there any way to overlap current day selection by user day selection?
For example, the current day is the 8th of March and selected day is the 10th of March:

And there selected day is the 8th of March too, but it's not visible:

I think that selected day is more important than current.

Oh, it seems to me, that I figured out. It works if I swap selected and today items in that way:
<?xml version="1.0" encoding="utf-8"?>
<selector
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:flexible="http://schemas.android.com/apk/res-auto">

    <item android:drawable="@drawable/calendar_cell_regular"
          flexible:state_date_regular="true"/>

    <item android:drawable="@drawable/calendar_cell_selected"
          flexible:state_date_selected="true"/>

    <item android:drawable="@drawable/calendar_cell_today"
          flexible:state_date_today="true"/>

    <item android:drawable="@drawable/calendar_cell_outside_month"
          flexible:state_date_outside_month="true"/>

</selector>

@badadin Great that you figured that out. There is a sample in the README at the bottom, looks like its not very clear. Pull requests are always welcome.


Disable public methods

This is the PR for the first part of #3019 as discussed on Slack https://robotframework.slack.com/archives/C0K0240NL/p1560209961022000. The second PR related to this issue is in progress.

Cool! I don't have time to look at the PR now and due to holiday season and various other tasks it may take some time before I have that time.
It might be a good idea to have a separate issue that covers only this part of the #3019. What do you think?

Created issue #3221 for this PR.

Thanks for a great PR @cristii006!
Few things that should still be done:

It would be good to add an explicit test for using this functionality with modules. It should just work, but I'd like to make it sure because the forthcoming @library decorator won't work with modules and ROBOT_AUTO_KEYWORDS is the only way to enable this functionality.

The docs also need a note that this is a new feature in RF 3.2. They also need a note that with classes using @library is generally a better idea than setting this attribute explicitly, but that cannot really be added until the @library PR is merged.

This PR is otherwise in so good shape that I think I'll just merge it and do those changes myself.


Where can I find this reference?

Where can I find

"Resolve monitoring agent health issues on your machines" recommendation

as mentioned on this page?

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

ID: 069802b7-9db6-f5d6-b1aa-52ebc42e96f8
Version Independent ID: 7b011f8a-0a1c-5066-5d20-3cedcdfc7403
Content: Auto-deploy agents for Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/enable-data-collection.md
Service: defender-for-cloud
GitHub Login: @memildin
Microsoft Alias: memildin

@andrePKI
Thanks for your feedback! We will investigate and update as appropriate.

@andrePKI
You should be able to find this on the Azure Portal within Microsoft Defender for Cloud under Recommendations.

Note: The recommendation doesn't show within my screenshot because there aren't any resources needing the monitoring agent health issue to be resolved. For more info.
Thank you for your time and patience throughout this issue.

Maybe it is a good idea then to put some kind of remark where to find this in the document? I didn't have a clue where to look and I searched for it on docs.microsoft.com. Maybe just add "(in the Defender for Cloud Recommendations blade)"?

@andrePKI
Thank you for the feedback! I've created a PR to update the documentation with the link, and location of where to find the recommendation. It's currently waiting for the author to review and sign off.
Please allow some time for the author to review and the changes to reflect.
Thank you again!


Child ordering in .children doesn't match kivy string/file or apparent order

Script follows. It should only require Kivy to run on Python 2.7+ or 3.x. Tested under Python 2.7 and Kivy '1.9.0-dev'. The docstring has additional information.
'''
Demonstrate an apparent issue in Kivy:

Child widgets created in kivy language and the .children attribute are in
opposite order to each other. My intuition was that they would be in the same
order. I was unable to find any documentation one way or another, so
hopefully this will get it corrected if the behavior is incorrect and
clearly documented if the behavior is correct.

Observed behavior:

Child order in the kivy string: 0 through 8
Child order as displayed: 0 through 8
Child order from .children: 8 through 0
Output (between rows of asterisks):
    ['8', '7', '6', '5', '4', '3', '2', '1', '0']

Expected behavior:

Child order from .children matches the order in the kivy string and as
displayed.
Output (between rows of asterisks):
    ['0', '1', '2', '3', '4', '5', '6', '7', '8']
'''

from kivy.app import App
from kivy.lang import Builder
from kivy.clock import Clock

root_widget = None

kivy_text = '''
GridLayout:
    cols: 3
    Label:
        text: '0'
    Label:
        text: '1'
    Label:
        text: '2'
    Label:
        text: '3'
    Label:
        text: '4'
    Label:
        text: '5'
    Label:
        text: '6'
    Label:
        text: '7'
    Label:
        text: '8'
'''

class ChildOrderBugApp(App):
    def build(self):
        global root_widget
        root_widget = Builder.load_string(kivy_text)
        return root_widget

def print_children(dt):
    def get_text(widget):
        return widget.text
    print('*' * 45)
    print(map(get_text, root_widget.children))
    print('*' * 45)

if __name__ == '__main__':
    app = ChildOrderBugApp()
    Clock.schedule_once(print_children)
    app.run()

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

It is not a bug. The child are inserted into the front of the list instead of the back.
It make easier the touch dispatching / overload.
On a same level of the tree, you want to dispatch the touch from the front to the back. Which is the default children ordering in the list. That's why you can do::
for child in self.children:
    if child.collide_point(*touch):
        print "Collision: touch"

But the graphics tree ordering is inversed, as the widget are drawed from the back to the front.
This approach avoid you (the user) to use reversed() on the children, and so, most efficient traversal.

I'll see if this week I can work up a pair of patches for this.
Patch 1 will be a simple change to the documentation to indicate that this is in the reverse of the order that might be expected.
Patch 2 will move the current behavior to ._children and create .children to return the reversed list.
My preference would be to have the second accepted, as the optimization you mentioned shouldn't affect code outside of Kivy.


KDevelop Makefile example on Wiki has broken formatting

https://github.com/SCons/scons/wiki/IDEIntegration
The example Makefile under "How can I set up a project with SCons?" shows up as a list instead of code.
It should be formatted like this:
project_name:
	scons
clean:
	scons --clean

Should be fixed now..
Good catch!
-Bill
On Wed, Apr 25, 2018 at 11:20 AM, ledoge<EMAIL_ADDRESS>wrote:

https://github.com/SCons/scons/wiki/IDEIntegration
The example Makefile under "How can I set up a project with SCons?" shows
up as a list instead of code.
It should be formatted like this:
project_name:
scons
clean:
scons --clean
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SCons/scons/issues/3120, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFBNEck8bFCsIeS8TqIFQ4puWCd53rOks5tsL6JgaJpZM4Tj7GZ
.


Room cleaning / Where is no longer accessible in new Home app

With the update in the Apple Home app in Ventura and iOS 16 as well as with the last Homepod Mini update I can no longer access the room cleaning / "where is" / other additional functions via voice. In the Home app, I see a "Locky" (my vacuum cleaner's name) entry with nine sub-entries that are all called "Locky". On my iPad where there is still iOS 15, these entries have useful names such as "Locky Where are you", "Start cleaning Kitchen", "Start cleaning Living room". When I use voice control on the iPad, everything works as expected. But on the Homepod, iPhone or Macbook, I can only start (and sometimes, not always) stop Locky, not make use of any of the additional features.

It's a bug on iOS16 that affects many homebridge plugins. Please refer to https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues/552 where there's a link to the original homebridge issue. There's a workaround to fix that.
I'll go ahead and close this issue as there's nothing we can do in this plugin to fix it (we register the accessories with the right names).


DCD Frontend: Set default dg4 date = 2030 when dg4 date not set

Case 522  fixed this for excel export, but there is still an issue in frontend where when dg4 date is not set, it is set to year 1 as default

Pull Request created for this Case:

https://github.com/equinor/dcd/pull/543


Zig binaries that work with Wasmtime do not work with Spin

Here is a simple Zig file:
const std = @import("std");

pub fn main() !void {
    const stdout = std.io.getStdOut().writer();
    try stdout.print("content-type: text/plain\n\n", .{});
    try stdout.print("Hello, {s}!\n", .{"world"});
}

Build the above with:
$ zig build-exe -O ReleaseSmall -target wasm32-wasi src/main.zig

On Wasmtime, this works:
$ wasmtime main.wasm
content-type: text/plain

Hello, world!

On Spin, this does not:
$ curl localhost:3000/zig-hello -v
*   Trying <IP_ADDRESS>:3000...
* Connected to localhost (<IP_ADDRESS>) port 3000 (#0)
> GET /zig-hello HTTP/1.1
> Host: localhost:3000
> User-Agent: curl/7.77.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< content-length: 0
< date: Wed, 06 Apr 2022 03:07:00 GMT
<
* Connection #0 to host localhost left intact

Server:
$ spin up
Serving HTTP on address http://<IP_ADDRESS>:3000
2022-04-06T03:07:00.993155Z ERROR spin_http_engine: Error processing request: Exited with i32 exit status 0
wasm backtrace:
    0:  0x1b1 - <unknown>!<wasm function 2>

(Incidentally, same on Wagi)

And to make it more confusing... compiling C to Wasm with Zig works great.
#include <stdio.h>
#include <stdlib.h>

int main() {
    printf("Content-Type: text/plain\n\n");
    printf("Hello, World\n");
}

zig build-exe -O ReleaseSmall -target wasm32-wasi hello.c -lc

Observations:

The function that it fails to find is consistently the entry function.

A few things that didn't help:

Tried a debug build and it didn't make any difference.
I noticed that Zig calls functions by index - it doesn't emit names.  So I tried hacking in a name for the entry func via the .wat file but that didn't seem to help either.
Invoking wasmtime run --invoke _start works fine, so it's not the explicit entry point name.

Okay, unknown is a red herring.  That's just the (unknown) module name, being written to the standard Display implementation for wasmtime::Trap.
I'm wondering if this is ye olde process exit woe.  The generated Wasm calls the proc_exit WASI function, which traps.  We saw this, I recall, in Krustlet, where a Rust program that returned a Result (or was it that it called the stdlib process exit?  can't remember) would call proc_exit that at the time actually terminated the process and now just traps.  Are we treating the (benign) exit trap as an error trap?

Yes
TrapReason::I32Exit(status) => write!(f, "Exited with i32 exit status {}", status)
which is exactly what we see in the Spin/Wagi error.

Okay that's definitely what's going on.  Not sure of the correct fix yet, and I'm starting to flag.  In Krustlet we patched the WASI import table to map proc_exit to something less fatal.  But I feel like there ought to be a trap handler somewhere.

We should be able to get the trap from the result of Func::call, and just pass over it if it's an error, but that method wraps the Trap in an anyhow::Error!  It looks like we can get back to the trap via root_cause and a downcast_ref though.

Side note: we should aim to pass module names to Wasmtime for diagnostic purposes.  I thought Wagi did this so it might be that the I32Exit trap with Wasmtime doesn't associate a module name.  Something to look into.


Feature request: How about supporting the T.R.C.?

I love having this site available - it makes a world of difference that students can TRY the relational algebra - actually experience it for themselves, hands-on - rather than scribbling Greek symbols on paper and hoping they're getting it.
FEATURE SUGGESTION:  It would be super-cool to have a TRC (tuple relational calculus) option here so that students could work hands-on with the TRC as well.  Any chance of that?

I have a student working on this feature as his final year undergrad project. Initial results look promising. We plan to submit as a PR when it is done.

thank you, looking forward to it. we aren't teaching TRC anymore, that's why we didn't implement it.


DEEPGRAM_ENV=development

DEEPGRAM_ENV=development is missing in .env.local and API logic in README won't work without it.

hey, DEEPGRAM_ENV=development results in not creating a temporary key, and instead exposes your API key to the client. you shouldn't use it unless it is in a development environment

Thanks, I'm a bit unclear on how to run the code otherwise though, I keep getting this error otherwise: DeepgramError: A deepgram API key is required
This is happening despite having .env.local with the API key.

it could be that in your environment, the key is not living long enough for the connection to be started. you could increase the time to live. it should be really short though. you'll need to adjust it based on your needs

it could be that in your environment, the key is not living long enough for the connection to be started. you could increase the time to live. it should be really short though. you'll need to adjust it based on your needs

I have same issue, how to adjust it?

Same here, I can't get it to work without development env variable, but it just stopped working completely for me nw

Same issue here

go to advanced when creating the key and select role: Admin

same issue here. added a new key with role: Admin.
is there a fix for this?

I ended up not using temporary keys, since they did not work reliably.


Add a list of collaborators in invite fragment

Verified that @varungu has signed the CLA. Thanks for the pull request!

+1


Hibernate missing from valid schedule properties

Hibernate is coded as a valid property to be passed in for the schedule, however the hibernate property is missing from the VALID_SCHEDULE_PROPERTIES. Issue occurred when trying to create custom schedules/periods with cloudformation.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks @carterdanko for the request. We have added this to our backlog and will update in a future release

Hello @carterdanko. This issue was fixed in V1.3.2


[Feature] Support bucket commit in paimon

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
Currently Paimon will create a global commit operator for flink job which makes all operators in the job as one region. When a task failed, it causes global failover. I'd like to support bucket commit in paimon, then we can build commit operator for each sink and support region failover in flink jobs
Solution
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

@JingsongLi What do you think of this issue

@FangYongs any update here?


Submitting to awesome-duckdb

Hi @NiclasHaderer, great work on duckman!
Would you mind me submitting a link to this repository this to the awesome-duckdb repository?

That would be super nice. Thanks!

Submitted, see https://github.com/NiclasHaderer/duckdb-version-manager/issues/3


Test

@yonigibbs ping I would like to ask you a question

hi @vietj.  nice to hear from you.  what can i do for you?  is this way of communicating ok or would you prefer email or something?

can you send me an email ?


License text does not change

Hello,
I tried your extension to put a GNU GPLv3 license on top of all my software files.
But setting the license configuration to GPL-3.0-or-later does not change the header. Even setting the configuration to Custom and setting psi-header.license-text does not change the default header.
Here is my configuration with license-text.
    "psi-header.license-text": [
        "This file is part of Foobar.",
        "Foobar is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.",
        "Foobar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.",
        "You should have received a copy of the GNU General Public License along with Foobar. If not, see <https://www.gnu.org/licenses/>."
    ],
    "psi-header.config": {
        "forceToTop": true,
        "blankLinesAfter": 1,
        "spacesBetweenYears": false,
        "license": "Custom",
        "author": "Aina R",
        "initials": "AR",
        "authorEmail": "my@email",
        "company": "BB",
        "copyrightHolder": "AA",
        "creationDateZero": "asIs",
    },

Here is the header appearing after clicking "Header insert" in a Python file (I manually renamed the paths):
'''
Filename: /path/to/file.py
Path: /path/to
Created Date: Thursday, January 1st 1970, 1:00:00 am
Author: Aina R

Copyright (c) 2023 AA
'''

Aina

Unfortunately it is not possible for the extension to update ther existing license text as it cannot work out where the license starts and ends (for other values, it works out their location by knowing the start of a line). If you really need to change the license over time, your best bet is to use licence url and hold the license text in a separate file.
Beyond that, you may be able to delete the header and re-add it which will add the currently configured license text.
Regards
D

What is being inserted is the default header which is what you get if you have not configured your own template.
Take a look at the Templates section in the documentation for information about these.
Regards
D


fasm: 1.73.28 -> 1.73.29

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/fasm/versions.
meta.description for fasm is: "x86(-64) macro assembler to binary, MZ, PE, COFF, and ELF"
meta.homepage for fasm is: "https://flatassembler.net/download.php"
meta.changelog for fasm is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/gc4zr243vkxaxxjlb1w62bf8g0ndyi5r-fasm-1.73.29/bin/fasm-prepsrc had a zero exit code or showed the expected version
/nix/store/gc4zr243vkxaxxjlb1w62bf8g0ndyi5r-fasm-1.73.29/bin/fasm passed the binary check.
Warning: no invocation of /nix/store/gc4zr243vkxaxxjlb1w62bf8g0ndyi5r-fasm-1.73.29/bin/fasm-listing had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/gc4zr243vkxaxxjlb1w62bf8g0ndyi5r-fasm-1.73.29/bin/fasm-symbols had a zero exit code or showed the expected version
0 of 4 passed binary check by having a zero exit code.
1 of 4 passed binary check by having the new version present in output.
found 1.73.29 with grep in /nix/store/gc4zr243vkxaxxjlb1w62bf8g0ndyi5r-fasm-1.73.29
found 1.73.29 in filename of file in /nix/store/gc4zr243vkxaxxjlb1w62bf8g0ndyi5r-fasm-1.73.29

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

4 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
docbookrx
fasm
fasm-bin

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gc4zr243vkxaxxjlb1w62bf8g0ndyi5r-fasm-1.73.29
ls -la /nix/store/gc4zr243vkxaxxjlb1w62bf8g0ndyi5r-fasm-1.73.29/bin

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

2 packages built:

fasm
fasm-bin

Maintainer pings
cc @orivej for testing.

Corrected an issue in external use of expression calculator.
Binary runs.


[flutter_tools] Unexpected null value in AppInspector.jsEvaluate in dwds

Command flutter run
beta/3.10.0-1.5.pre
RPCError: ext.flutter.debugDumpFocusTree: (-32603) ext.flutter.debugDumpFocusTree: Unexpected error from chrome devtools:text: Uncaught (in promise)exception:  preview: null  description: null  type: string  value: Unexpected null value.attempted JS eval: `require("dart_sdk").developer.invokeExtension(    "ext.flutter.debugDumpFocusTree", JSON.stringify({}));`#0      handleErrorIfPresent (package:dwds/src/utilities/server.dart:91:5)#1      getResultOrHandleError (package:dwds/src/utilities/server.dart:105:3)#2      AppInspector.jsEvaluate (package:dwds/src/debugging/inspector.dart:346:20)<asynchronous suspension>#3      StackZoneSpecification._registerUnaryCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:124:15)<asynchronous suspension>
at new _OutstandingRequest(vm_service.dart:1822)
at VmService._call(vm_service.dart:2366)
at VmService.callServiceExtension(vm_service.dart:2337)
at FlutterVmService._checkedCallServiceExtension(vmservice.dart:885)
at FlutterVmService.invokeFlutterExtensionRpcRaw(vmservice.dart:904)
at FlutterVmService.flutterDebugDumpFocusTree(vmservice.dart:649)
at ResidentHandlers.debugDumpFocusTree(resident_runner.dart:762)
at <asynchronous gap>(async)
at TerminalHandler.processTerminalInput(resident_runner.dart:1821)
at <asynchronous gap>(async)

FYI @elliette, this only affected 1 client.

@elliette agreed to triage in an offline discussion.

I don't think we should be throwing an exception when JS evaluation happens (or if we do, we should catch it in DWDS). Will open a PR for that.

Ah I think I know how this was triggered, although I can't reproduce it myself (no exception is thrown / Flutter does not crash).
Looks like recently a command was added to dump the focus tree into your terminal window: https://github.com/flutter/flutter/pull/123473
So you can start an app:
flutter run -d chrome
Then hit "f" to dump the focus tree. This calls the VM service callServiceExtensionMethod: https://github.com/flutter/flutter/blob/5451ea6e8f9ab4d39bd066d962a92a75f72c84f9/packages/flutter_tools/lib/src/vmservice.dart#L924
It's expected that clients will catch any errors thrown from by the VM Service (or in this case, DWDS). That's what we do in DevTools for example. I can update DWDS to throw an RPCError with the internal error code, but flutter_tools will still need to be updated to handle it.
@christopherfujino WDYT?

Also downgrading the priority since this isn't reproducible, and only affected 1 client.

CC @christopherfujino I'm unassigning myself and handing this back to you to triage. After https://github.com/dart-lang/webdev/pull/2144, DWDS is now throwing an RPC.kInternalError. I think Flutter tools should catch the error instead of rethrowing (see https://github.com/flutter/flutter/issues/126362#issuecomment-1562020890). Thanks!

CC @christopherfujino I'm unassigning myself and handing this back to you to triage. After dart-lang/webdev#2144, DWDS is now throwing an RPC.kInternalError. I think Flutter tools should catch the error instead of rethrowing (see #126362 (comment)). Thanks!

SGTM


[RFC] AEP simplifications/enhancements

Marking this as RFC until I have tested it a little more thoroughly but I have been using it and it looks good so far. Also, nice red patch.
Basically:

Remove some code that does a load of computation we don't seem to use (I need to double check this).
Add a data_frame field to EnergyReport that lets you see the samples directly. (CC @joelagnel)

Just a thought - probably want to improve the DataFrame layout and document it. E.g. maybe nested columns with top level for measurement site ('BAT') and second level for measurement type ('power'/'current')

OK updated so that we do use nested columns, one level for the measurement site (e.g. 'BAT') and  second level for the measure type (e.g. 'power'/'current'), so a DataFrame looks like:
          BAT
      current  power voltage
0       0.538  2.291   4.258
1       0.543  2.311   4.253
2       0.533  2.266   4.251
3       0.551  2.347   4.257
4       0.551  2.347   4.258

OK, new version which

Adds a commit to get rid of the requirement for channel_map in AEP
Uses https://github.com/ARM-software/devlib/pull/116 to set the DataFrame index and compute energy properly from power.

Removing RFC tag, this is now a Real Pull Request

Tested and it's working... the idea to report a DataFrame as part of the EnergyReport is also a bit :+1: for this series! Let's merge it! :heart_eyes:


Don't send the right click from the computer to the device

Hello
This is my patch for the issue#6

linking issue #6


[QUESTION] Is there a way to log function start and end automatically

Is there a way nestjs-pino supports automatically logging function start and end along with function arguments.
I just want to avoid tedious work of adding a info log in each function everytime.

No, there is not for now. Do you want this feature to be realised as some decorator for service/service method?

Yes, would be great?
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: iamolegga<EMAIL_ADDRESS>Sent: Friday, February 7, 2020 4:25:37 PM
To: iamolegga/nestjs-pino<EMAIL_ADDRESS>Cc: amit12cool<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [iamolegga/nestjs-pino] [QUESTION] Is there a way to log function start and end automatically (#199)
No, there is not for now. Do you want this feature to be realised as some decorator for service/service method?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/iamolegga/nestjs-pino/issues/199?email_source=notifications&email_token=ABTB2JBKDAGTJRTI6HGH573RBU42TA5CNFSM4KRMEYG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELCQ5JA#issuecomment-583339684, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABTB2JE3A46JKHDWXNOH3V3RBU42TANCNFSM4KRMEYGQ.

Yep, I think this could be useful. Can you open feature request please with described details, and I'll try to find time for this, or maybe someone else could see this and dive into it faster than me

Done!.


Set PoolSize to number of tables in postgres connection

For some reason, the driver is not great at releasing the connections or waiting for connections to be released if already full. This causes the program to hang if we dump more than 5 tables in parallel. Increasing the connection pool size to fix it.
Followup to https://github.com/Clever/redshifter/pull/8
Tested: Ran the program locally with the increased pool size and verified that it works.

lgtm


[MB] look for complete seasons from Shows.txt

Complete Seasons in BluRay/Web-DL quality are more reliably posted on [MB].
An additional option that, if enabled, would look for titles from the Shows.txt in a set quality
eg. crawlseasons = true/false
seasonslist = Shows.txt
seasonsquality = 720p
This way one could use [SJ] for daily episode updates and [MB] for retail.

Example to look for would be:
Eggs.of.Spammarchy.S07.Complete.German.DL.720p.BluRay.x264-F00BAR on [MB]
or any other season. Required would be S**.Complete (** being anything from 01 to 99)
And the corresponding line in Shows.txt would be:
Eggs of Spammarchy

Likewise, even if SXX, complete or Blurays was ignored for this special search they need to be allowed


Update statistics.go

Solution to resolve information_schema.statistics table is missing cardinality column values #5200

Hey @max-hoffman Can you help to figure out why "Check/Format PR / Verify format (pull_request) " is failed. Can you suggest me what changes should I make to pass it.

Hey @max-hoffman Can you help to figure out why "Check/Format PR / Verify format (pull_request) " is failed. Can you suggest me what changes should I make to pass it.

The error message in the failing test is here https://github.com/dolthub/go-mysql-server/actions/runs/4615109386/jobs/8170597672?pr=1698. Pasted below:
ERROR: The following files do not match goimports output:
sql/information_schema/statistics.go

Please format the go code in the repository with 'format_repo.sh'


Backend: ClassPeriod Object

See wireframe

First Pull Request
Click here for pull request issue. (Why isn't this Scrum Board entry an issue on Backend?)
Read for current progress. After this, until Assignment and Person are done, ClassPeriod goes from ACTIVE to IN PROGRESS.

Close to Finished Assignment
In this branch, Drew connected AJ's assignment object with the ClassPeriod object.
Click here for pull request issue.
Commit history

Pull request for Cookie Class Data Fetch
Click here for info.


Support for Philips Wiz.

Describe the solution you'd like
I would like to see support to change a couple of my Philips Wiz bulbs.
Additional context
Attached is a packet capture of the UDP traffic from the app controlling a bulb.
PhilipsWiz.zip
Some more detail on the protocol. https://github.com/sbidy/pywizlight

More than happy to help you with this if you want to open a PR, I just don't have the HW

I can pick up a bulb and work on the integration if you need the help.  Been looking at these for awhile now... :)

I have one, and actually started building it, got sidetracked with Work and Activity feature.

@lewi3069 @gizmohd the latest nightly for both versions has Wiz support

Released in v4


[google_maps_flutter][android] v2.0.10 unchecked cast build warning

Steps to Reproduce

Add google_maps_flutter:^2.0.10 as dependency
Run flutter build appbundle or just run the app with the debugger in vscode
Be presented with warnings during first build or when clean has been called before

Expected results:
No build warnings :sweat_smile:
Actual results:
With enabled "-Xlint:unchecked" for more verbose warning output.
First warning is related to #70923

/home/lukaskurz/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java:27: warning: [deprecation] FlutterMain in io.flutter.view has been deprecated
import io.flutter.view.FlutterMain;
                      ^
/home/lukaskurz/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/TileProviderController.java:78: warning: [unchecked] unchecked cast
      result = (Map<String, ?>) data;
                                ^
  required: Map<String,?>
  found:    Object
2 warnings

➜ flutter doctor -v
[✓] Flutter (Channel stable, 2.5.0, on Fedora 31 (Workstation Edition) 5.8.18-100.fc31.x86_64, locale en_US.UTF-8)
    • Flutter version 2.5.0 at /usr/share/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4cc385b4b8 (3 weeks ago), 2021-09-07 23:01:49 -0700
    • Engine revision f0826da7ef
    • Dart version 2.14.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/lukaskurz/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /home/lukaskurz/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7678000/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/lukaskurz/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7678000
    • Flutter plugin version 60.1.2
    • Dart plugin version 203.8292
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at /home/lukaskurz/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/212.5080.55
    • Flutter plugin version 60.1.2
    • Dart plugin version 203.8292

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3)
    • IntelliJ at /home/lukaskurz/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/203.7148.57
    • 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

[✓] VS Code (version 1.60.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.26.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 93.0.4577.82

• No issues found!

this is similar to #90811

I have already prepared a PR for #90811,  if you want, I can write one for this too, since this does not seem to complicated :sweat_smile:

Hi @lukaskurz, Thanks for filing the issue. I tried building the app bundle on the master and stable channel 2.5.1  using the  google maps plugin: 2.0.10 but did not see any such warning could you please try upgrading to latest stable 2.5.1
Could you please try switching to master and see if that reproduces for you by running
flutter upgrade
cd <path to project> && flutter clean

logs
mahesh@Maheshs-MacBook-Air-M1 example % flutter build appbundle

💪 Building with sound null safety 💪

Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Note: /Users/mahesh/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/mahesh/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/TileProviderController.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Removed unused resources: Binary resource data reduced from 122KB to 96KB: Removed 20%
Running Gradle task 'bundleRelease'...                             89.7s
✓ Built build/app/outputs/bundle/release/app-release.aab (16.8MB).
mahesh@Maheshs-MacBook-Air-M1 example %

flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.136, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.136 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision aaa14b8004 (22 hours ago), 2021-09-29 06:03:04 -0400
    • Engine revision bccb3a57eb
    • Dart version 2.15.0 (build 2.15.0-156.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.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 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile) • emulator-5554                        • android-arm64  • Android 11 (API 30) (emulator)
    • iPhone X (mobile)         • B6C32C16-12A3-4613-9ADF-8C521ACD6302 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
    • macOS (desktop)           • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)              • chrome                               • web-javascript • Google Chrome 94.0.4606.61

• No issues found!

[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (13 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.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 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile) • emulator-5554                        • android-arm64  • Android 11 (API 30) (emulator)
    • iPhone X (mobile)         • B6C32C16-12A3-4613-9ADF-8C521ACD6302 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
    • macOS (desktop)           • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)              • chrome                               • web-javascript • Google Chrome 94.0.4606.61

• No issues found!

Hi @maheshmnj, I wasn't aware 2.5.1 was already out :smile:
I just upgraded to 2.5.1 using flutter upgrade and the build warnings still persist.
Note: I think you do have the same errors as me, your're just seeing them in a less verbose output, since you don't have the "-Xlint:unchecked"  compiler option on.
In your logs its this:
Note: /Users/mahesh/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/mahesh/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/TileProviderController.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

You can add them in your project level build.gradle file, so you get more info on the warnings
allprojects {
    gradle.projectsEvaluated {
        tasks.withType(JavaCompile) {
            options.compilerArgs << "-Xlint:deprecation"
            options.compilerArgs << "-Xlint:unchecked"
        }
    }
    repositories {
        google()
        jcenter()
    }
}

Also here are my logs for 2.5.1, just for completeness' sake :sweat_smile:

Logs
➜ flutter clean && flutter build appbundle
Deleting build...                                                  109ms
Deleting .dart_tool...                                               6ms
Deleting .packages...                                                0ms
Deleting Generated.xcconfig...                                       0ms
Deleting flutter_export_environment.sh...                            0ms
Deleting .flutter-plugins-dependencies...                            0ms
Deleting .flutter-plugins...                                         0ms
Running "flutter pub get" in flutter...                            856ms

💪 Building with sound null safety 💪

/home/lukaskurz/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java:27: warning: [deprecation] FlutterMain in io.flutter.view has been deprecated
import io.flutter.view.FlutterMain;
                      ^
/home/lukaskurz/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/TileProviderController.java:78: warning: [unchecked] unchecked cast
      result = (Map<String, ?>) data;
                                ^
  required: Map<String,?>
  found:    Object
2 warnings
/home/lukaskurz/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.4+2/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java:220: warning: [unchecked] unchecked cast
    ArrayList<String> pathList = (ArrayList<String>) resultMap.get(cache.MAP_KEY_PATH_LIST);
                                                                  ^
  required: ArrayList<String>
  found:    Object
1 warning
/home/lukaskurz/.pub-cache/hosted/pub.dartlang.org/launch_review-3.0.1/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java:11: warning: [deprecation] Registrar in PluginRegistry has been deprecated
import io.flutter.plugin.common.PluginRegistry.Registrar;
                                              ^
/home/lukaskurz/.pub-cache/hosted/pub.dartlang.org/launch_review-3.0.1/android/src/main/java/com/iyaffle/launchreview/LaunchReviewPlugin.java:41: warning: [deprecation] Registrar in PluginRegistry has been deprecated
    public static void registerWith(Registrar registrar) {
                                    ^
2 warnings
Removed unused resources: Binary resource data reduced from 902KB to 839KB: Removed 7%
Running Gradle task 'bundleRelease'...                             59.1s
✓ Built build/app/outputs/bundle/release/app-release.aab (27.8MB).

flutter doctor
➜ flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on Fedora 31 (Workstation Edition) 5.8.18-100.fc31.x86_64, locale en_US.UTF-8)
    • Flutter version 2.5.1 at /usr/share/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (13 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/lukaskurz/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /home/lukaskurz/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7678000/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

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

[✓] Android Studio (version 2020.3)
    • Android Studio at /home/lukaskurz/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7678000
    • Flutter plugin version 60.1.2
    • Dart plugin version 203.8292
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.2)
    • IntelliJ at /home/lukaskurz/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/212.5080.55
    • Flutter plugin version 60.1.2
    • Dart plugin version 203.8292

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3)
    • IntelliJ at /home/lukaskurz/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/203.7148.57
    • 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

[✓] VS Code (version 1.60.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.26.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 93.0.4577.82

• No issues found!

@lukaskurz thanks for the clarification. I was able to reproduce it on the stable and the master channel with
google_maps_flutter: ^2.0.10
mahesh@Maheshs-MacBook-Air-M1 sample % flutter build appbundle

💪 Building with sound null safety 💪

Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
/Users/mahesh/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/Convert.java:27: warning: [deprecation] FlutterMain in io.flutter.view has been deprecated
import io.flutter.view.FlutterMain;
                      ^
/Users/mahesh/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-2.0.10/android/src/main/java/io/flutter/plugins/googlemaps/TileProviderController.java:78: warning: [unchecked] unchecked cast
      result = (Map<String, ?>) data;
                                ^
  required: Map<String,?>
  found:    Object
2 warnings
Removed unused resources: Binary resource data reduced from 112KB to 87KB: Removed 21%
Running Gradle task 'bundleRelease'...                             43.5s
✓ Built build/app/outputs/bundle/release/app-release.aab (16.3MB).

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.1 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (13 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.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 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile) • emulator-5554                        • android-arm64  • Android 11 (API 30)
      (emulator)
    • iPhone X (mobile)         • B6C32C16-12A3-4613-9ADF-8C521ACD6302 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
    • macOS (desktop)           • macos                                • darwin-arm64   • macOS 11.6 20G165
      darwin-arm
    • Chrome (web)              • chrome                               • web-javascript • Google Chrome
      94.0.4606.61

• No issues found!

[✓] Flutter (Channel master, 2.6.0-12.0.pre.136, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.136 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision aaa14b8004 (22 hours ago), 2021-09-29 06:03:04 -0400
    • Engine revision bccb3a57eb
    • Dart version 2.15.0 (build 2.15.0-156.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

[✓] Android Studio (version 4.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 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 60.1.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (4 available)
    • sdk gphone arm64 (mobile) • emulator-5554                        • android-arm64  • Android 11 (API 30)
      (emulator)
    • iPhone X (mobile)         • B6C32C16-12A3-4613-9ADF-8C521ACD6302 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-13-1 (simulator)
    • macOS (desktop)           • macos                                • darwin-arm64   • macOS 11.6 20G165
      darwin-arm
    • Chrome (web)              • chrome                               • web-javascript • Google Chrome
      94.0.4606.61

• No issues found!

Thanks

I have already prepared a PR for #90811, if you want, I can write one for this too, since this does not seem to complicated 😅

That would be great :)

Since this has been https://github.com/flutter/plugins/pull/4409 merged I believe this is safe to close.
If anyone disagrees feel free to comment and I will reopen it.
Thank you.