Nsynth - RuntimeError: Folder must contain .wav or .npy files.

I'm getting this error when trying to run the nsynth example. Here the input and the error message. Any ideas? The folder definitely has wav files in it.
(magenta) tate-2:jupyter-notebooks tatecarson$ nsynth_generate \
> --checkpoint_path= /Users/tatecarson/Documents/tensorflow/magenta/pre-trained/wavenet-ckpt/model.ckpt-200000.data-00000-of-00001 \
> --source_path= '/Users/tatecarson/Desktop/Kea' \
> --save_path= /private/tmp/nsynth  \
> --batch_size=4
Traceback (most recent call last):
  File "/Users/tatecarson/miniconda2/envs/magenta/bin/nsynth_generate", line 11, in <module>
    sys.exit(console_entry_point())
  File "/Users/tatecarson/miniconda2/envs/magenta/lib/python2.7/site-packages/magenta/models/nsynth/wavenet/nsynth_generate.py", line 89, in console_entry_point
    tf.app.run(main)
  File "/Users/tatecarson/miniconda2/envs/magenta/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "/Users/tatecarson/miniconda2/envs/magenta/lib/python2.7/site-packages/magenta/models/nsynth/wavenet/nsynth_generate.py", line 57, in main
    raise RuntimeError("Folder must contain .wav or .npy files.")
RuntimeError: Folder must contain .wav or .npy files.

That's odd, these are the relevant lines of code from nsynth_generate.py. It explicitly is looking for files ending in ".wav" so you can make sure that's the case. you could also try throwing in a print statement to see if it's picking up the files properly.
    files = tf.gfile.ListDirectory(source_path)
    exts = [os.path.splitext(f)[1] for f in files]
    if ".wav" in exts:
      postfix = ".wav"
    elif ".npy" in exts:
      postfix = ".npy"
    else:
      raise RuntimeError("Folder must contain .wav or .npy files.")

(magenta) tate-2:~ tatecarson$ nsynth_generate \
> --checkpoint_path= /Users/tatecarson/Documents/tensorflow/magenta/pre-trained/wavenet-ckpt/model.ckpt-200000.data-00000-of-00001 \
> --source_path= /Users/tatecarson/Desktop/Kea \
> --save_path= /private/tmp/nsynth  \
> --batch_size=4
source path is /Users/tatecarson
Traceback (most recent call last):
  File "/Users/tatecarson/miniconda2/envs/magenta/bin/nsynth_generate", line 11, in <module>
    sys.exit(console_entry_point())
  File "/Users/tatecarson/miniconda2/envs/magenta/lib/python2.7/site-packages/magenta/models/nsynth/wavenet/nsynth_generate.py", line 92, in console_entry_point
    tf.app.run(main)
  File "/Users/tatecarson/miniconda2/envs/magenta/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "/Users/tatecarson/miniconda2/envs/magenta/lib/python2.7/site-packages/magenta/models/nsynth/wavenet/nsynth_generate.py", line 60, in main
    raise RuntimeError("Folder must contain .wav or .npy files.")
RuntimeError: Folder must contain .wav or .npy files.
(magenta) tate-2:~ tatecarson$

See source path is /Users/tatecarson . Why does that not = --source_path= /Users/tatecarson/Desktop/Kea ?

I think you have a space after you equals sign. It should work if you get rid of the whitespaces.
--source_path= /Users/tatecarson/Desktop/Kea \
-->
--source_path=/Users/tatecarson/Desktop/Kea \

Fixed, thank you!


Add a unit test for missing exec event in the eventcache

This unit-test emulates the case where we get an exit event but we miss the exec event. In that case, we should wait for the cache iterations to end and then produce an exit event with partial process info. In that case we only have the process start time and the process pid.
This PR also fixes https://github.com/cilium/tetragon/issues/285 and https://github.com/cilium/tetragon/issues/247. OOO events was related to these issues and thus I don't use a separate PR for them.
Signed-off-by: Anastasios Papagiannis<EMAIL_ADDRESS>

I'm somehow missing how a msg in the eventcache gets 'readded' to the cache. The eventcache kicks the event out to the NotifyListeners these can do an Add() in the eventcache again?

Aha so fairly sure the issue here is the dummyInterface is calling HandleMessage which does not reflect what the actual code does run from main does. The flow is HandleMessage -> Exporter with some constructors through processManager to add the exporter as a listener and then server.go used to construct the exporter correctly. To follow along the relevant files are:
pkg/exporter/exporter.go: Implements the Send() method and Start() methods to satisfy the interface
pkg/server/server.go: Embeds into exporter above and used by exporter to do aggregation and filtering
pkg/grpc//process_manager.go: Has the Add logic to add multiple listeners. This lets us run both gRPC listeners, dbg listeners and json writers.

Nice catch on the timing issue. I believe this will fix the linked issues.

@kkourt It seems that it still have some flakes related to these issues. This makes things better but I believe that it does not solve this entirely. Working on that (this is the reason that this PR is in draft).

Fixing dummy notifier should resolve issue and then we don't need patch 3.

Fixed dummy notifier and addressed the other comments. Ready for review now.

This all looks good to me. With one question about making the time to retry cache configurable. For testing and watching results over grpc or cmd line its nice to have the system be more reactive, but when writing to logs for offsystem analysis I'm not sure it matters much if its 2 seconds or 2minutes.


[5.4] Queue jobRetry expects object but get an array.

The fuction retryJob in RetryCommand expects an object as first parameter.
But when you use MongoDB as queue driver, an array will be returned.
So when you cast the array to an object, the retryJob will succeed instead of fail with the following error:
** exception 'ErrorException' with message 'Trying to get property of non-object' in /var/www/api-usedtrucks/vendor/laravel/framework/src/Illuminate/Queue/Console/RetryCommand.php:71**

So is the problem not with the MongoDB queue driver then? It should be returning an object, not an array?


1 px border problem

Zoom in this screenshot, and you can see there's 1 px border around this picture, my window setting is following without paddings, so I think this border is an issue, please help to check, thanks in advance!

That is actually intentional @XinwenCheng. See the explanation here: https://github.com/carbon-app/carbon/blob/master/components/Carbon.js#L356
If you have other suggestions for how to handle this, please submit a PR.

Hi @mfix22, could you set save for Twitter as an option?

It should only be including the 1px border when clicking the Tweet button. Is that not currently happening?

@mfix22 , I didn't use Twitter function, I just use PNG to export.

I am not sure I see the 1px border you are noticing, and I can't recreate the issue locally. I just created this image right now off master:

Are you noticing the border issue here too?

Hi @mfix22, thanks for your response!
Please check,

I exported the default image, and zoom it in to 1000%, please check the top of this image. I set both vertical and horizontal padding to minimum.

@XinwenCheng which browser and Operating system are you using?

OSX 10.14.6
Firefox 76.0.1 (64-bit)
GIMP 2.8.22

@XinwenCheng just deployed a version of Carbon that removes the transparent row, which may have been throwing off the width/height calculation.
Can you give it a try and see if that fixed your issue?

Closing this as fixed. @XinwenCheng if you are still facing this issue, let me know and I will reopen.

Hi @mfix22 , thanks for your improvement, but as you can see, left (and also right) still has translucent border.

I just created 3 Carbon images on master w/ various settings, and I can't seem to recreate the 1px left and right borders

@XinwenCheng can you send me a link to a Carbon snippet that recreates the issue, with the exact code and settings?

@mfix22 , I just create this image on https://carbon.now.sh/ with following setings.

I was thinking more like a Carbon link, like this: https://carbon.now.sh/?bg=rgba(171%2C184%2C195%2C0)&t=seti&wt=sharp&l=auto&ds=false&dsyoff=20px&dsblur=68px&wc=true&wa=true&pv=0px&ph=0px&ln=true&fl=1&fm=Hack&fs=14px&lh=133%25&si=false&es=2x&wm=false
Using these^ settings, I created this image, which does not the border problem.

@mfix22 , no, it doesn't have this border any more. What should I do for the next step, bookmark this url?

@XinwenCheng no need to bookmark it — I didn't do anything special 🙂
All I did was remove the padding, and adjust the window theme.

I'm facing the 1px border issue. Please take a look.
I'm providing you the url: https://carbon.now.sh/SEY0cEbGlDZZ2VAf5jkA


Migrate log agent component to the new file hierarchy

What does this PR do?
This PR migrates the log agent component to the new file hierarchy where the Component interface is not in the same package as the implementation.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Great work 🎉
I believe we can update the list of component that needs to be migrated in the task/components.py file https://github.com/DataDog/datadog-agent/blob/7d1b66032bca20706e81083100b6d60cc12ef789/tasks/components.py#L55

/merge


ImageDataGenerator Issue: "height_shift_range" shifts the image horizontally and "width_shift_range" shifts the image vertically

This is a sample code where I used height_shift_range and it shifted the image horizontally

And this is when I use width_shift_range

@Sarthak3003,
Could you please provide the code in the text format rather than image format, it will be helpful for us to analyse and debug the issue. Thank you!

@tilakrayal ,
Here is the code.
img = load_img('aug.jpg')
data = img_to_array(img)
samples = expand_dims(data, 0)
datagen=ImageDataGenerator(width_shift_range=[-50,50])
iterator=datagen.flow(samples,batch_size=1)
for i in range(9):
pyplot.subplot(330 + 1 + i)
batch = iterator.next()
image = batch[0].astype('uint8')
pyplot.imshow(image)
pyplot.show()

Hello, Thank you for reporting an issue.
We're currently in the process of migrating the new Keras 3 code base from keras-team/keras-core to keras-team/keras.
Consequently, This issue may not be relevant to the Keras 3 code base. After the migration is successfully completed, feel free to reopen this issue at keras-team/keras if you believe it remains relevant to the Keras 3 code base.
If instead this issue is a bug or security issue in legacy tf.keras, you can instead report a new issue at keras-team/tf-keras, which hosts the TensorFlow-only, legacy version of Keras.
To know more about Keras 3, please take a look at https://keras.io/keras_core/announcement/. Thank you!


Duplicate top level devfile objects

Describe the bug
If there are duplicate top level devfile objects, the schema does not stop it. Is there an option in the schema to validate against this or is this expected to be validated outside the schema? 🤔
To Reproduce
have a duplicate devfile top level obj like component and schema validation does not fail:
components:
- name: runtime1
  container:
    image: registry.access.redhat.com/ubi8/nodejs-12:1-45
components:
- name: runtime2
  container:
    image: registry.access.redhat.com/ubi8/nodejs-12:1-45

Expected behavior
should error out saying the components has been duplicated

Isn't this invalid yaml to begin with?

Isn't this invalid yaml to begin with?

It does not seem to be a valid devfile, but our validation could fail somehow


Buddybuild crash report on build #507

Buddybuild detected a crash from Unknown user
View Full Crash Details

No such module 'Kanna'

No such module 'Kanna' +1

No such module 'Kanna' +1

No such module 'Kanna' +1


Terrain doesn't work if level 0 is missing

For example, the swisstopo data does not have any data until level 0
https://3d.geo.admin.ch/1.0.0/ch.swisstopo.terrain.3d/default/20160115/4326/layer.json
This issue affect 1.45, but not 1.43.
The cause is probably here, which assumes that level 0 is available.

@coolwanglu  We fixed that . I've updated the file now you have all the levels, it should work.

Thanks, @oterral , it works!
Not sure whether level 0 is required to exist in the spec, but I'm closing this issue for now.


Explain hourly billed discount

Issue
As explained in this tfgrid-sdk-ts issue, tfgrid bills hourly and so discounts are applied to wallet balance hourly and this might not be clear to users.
Solution
Add information on hourly billed discount on the manual, in this section: https://www.manual.grid.tf/wiki/cloudunits/pricing/pricing.html?highlight=discount#staking-discount

Not relevant. Fixed when this PR is merged. Closing


can't start bee with exe

Error: init chain: get chain id: Post "https://rpc.goerli.mudit.blog": dial tcp <IP_ADDRESS>:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

That would be a problem with your swap-endpoint specification and/or the server there (...mudit.blog), not a problem with bee.  Please read the following links:
https://docs.ethswarm.org/docs/installation/install#blockchain-endpoints
https://docs.ethswarm.org/docs/FAQ#how-to-set-infuraio-endpoint


White Screen When Click scan on rocket Assembling machine

When ever you build the rocket launch platform and  click build or scan you get a white screen, where you see nothing not even the pause menu. But when you look at the opposite side of the rocket launch platform, you can see everything.
Advanced Rocketry Version 1.10.2 1.0.19
LibVulpes Version 1.10.2 0.1.19
Here is a screenshot:

Thanks

Do you have optifine installed?

Same problem here. No optifine installed. Playing Age of Engineering. my screen is completely white/blue-ish. Not like the screenshot above. but when  look away from the assembling machine it starts rendering again. when i look back at it all is gone again

I used to have that gas a problem, but a fix I found was that keep spamming NEI creative, survival button and eventually it render. Also I’m playing on the Direwolf20 1.10.2 pack.


Transfer progress

Is there any plan to add progress support?

@apolkingg8  I will have a look into it.

Sorry that I haven't given attention to this yet, I am terribly busy with my thesis and it is Oktoberfest time here <3
I will add the progress support in October.

:beers: Thank you, I'll stay turn for good news!

@eduedix Any update with this?

I am sorry for the delay, I am currently working on my thesis.
Though the feature will be added as soon as I am finished.

any word on Progress?

still update?


Gradle Build fails after upgrading flutter

Hi,
so I upgraded flutter from Flutter 1.27.0-9.0.pre.96 to Flutter 1.27.0-9.0.pre.106 and my Gradle build is failing ever since.
Before the upgrade it was working fine.
Here is the output of flutter run --verbose:
flutter run --verbose                                                                                 64 ✘ 
[  +88 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +85 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[   +1 ms] executing: [C:\src\flutter/] git tag --points-at 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[ +103 ms] Exit code 0 from: git tag --points-at 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[   +3 ms] executing: [C:\src\flutter/] git describe --match ..* --long --tags 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[ +140 ms] Exit code 0 from: git describe --match ..* --long --tags 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[   +1 ms] 1.27.0-8.0.pre-106-g1610a27476
[  +45 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +63 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[  +52 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +88 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[  +51 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[  +88 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +21 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +63 ms] executing: C:\Android\android-sdk\platform-tools\adb.exe devices -l
[  +52 ms] List of devices attached
8aaf13ea               device product:OnePlus5T model:ONEPLUS_A5010 device:OnePlus5T transport_id:2
[   +6 ms] C:\Android\android-sdk\platform-tools\adb.exe -s 8aaf13ea shell getprop
[  +94 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +94 ms] Skipping pub get: version match.
[  +30 ms] Found plugin path_provider_linux at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2
[   +7 ms] Found plugin path_provider_windows at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3
[   +6 ms] Found plugin shared_preferences at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.12+4
[   +3 ms] Found plugin shared_preferences_linux at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+4
[   +9 ms] Found plugin shared_preferences_macos at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+11
[   +4 ms] Found plugin shared_preferences_web at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7
[  +19 ms] Found plugin shared_preferences_windows at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_windows-0.0.2+2
[  +57 ms] Found plugin integration_test at C:\src\flutter\packages\integration_test
[ +129 ms] Found plugin path_provider_linux at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2
[   +3 ms] Found plugin path_provider_windows at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3
[   +5 ms] Found plugin shared_preferences at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.12+4
[   +1 ms] Found plugin shared_preferences_linux at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+4
[   +1 ms] Found plugin shared_preferences_macos at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+11
[   +2 ms] Found plugin shared_preferences_web at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7
[  +32 ms] Found plugin shared_preferences_windows at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_windows-0.0.2+2
[  +21 ms] Found plugin integration_test at C:\src\flutter\packages\integration_test
[   +7 ms] Generating E:\Coding\VSCode\Projects\Flutter\doppelkopf\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +60 ms] ro.hardware = qcom
[  +56 ms] Initializing file store
[  +11 ms] Skipping target: gen_localizations
[   +5 ms] complete
[   +5 ms] Launching lib\main.dart on ONEPLUS A5010 in debug mode...
[  +15 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot
--sdk-root C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\jonas\AppData\Local\Temp\flutter_tools.1e58bf57\flutter_tool.a9961354\app.dill--packages E:\Coding\VSCode\Projects\Flutter\doppelkopf.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build\f245b0b7cc30f460f818fcec6bcf01fb.cache.dill.track.dill
--flutter-widget-cache --enable-experiment=alternative-invalidation-strategy
[  +31 ms] executing: C:\Android\android-sdk\platform-tools\adb.exe -s 8aaf13ea shell -x logcat -v time -t 1
[  +18 ms] <- compile package:doppelkopf/main.dart
[ +164 ms] --------- beginning of main
02-26 16:35:53.585 D/ClClient( 8413): Not sending keepalive.  Current connection state=STOPPED
[  +16 ms] executing: C:\Android\android-sdk\platform-tools\adb.exe version
[  +42 ms] Android Debug Bridge version 1.0.41
Version 31.0.0-7110759
Installed as C:\Android\android-sdk\platform-tools\adb.exe
[   +6 ms] executing: C:\Android\android-sdk\platform-tools\adb.exe start-server
[  +44 ms] Building APK
[  +24 ms] Running Gradle task 'assembleDebug'...
[   +7 ms] Using gradle from E:\Coding\VSCode\Projects\Flutter\doppelkopf\android\gradlew.bat.
[  +19 ms] executing: [E:\Coding\VSCode\Projects\Flutter\doppelkopf\android/] E:\Coding\VSCode\Projects\Flutter\doppelkopf\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-arm64 -Ptarget=E:\Coding\VSCode\Projects\Flutter\doppelkopf\lib\main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==
-Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+4243 ms] > Task :app:compileFlutterBuildDebug
[   +1 ms] [  +94 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +95 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [        ] 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[   +5 ms] [        ] executing: [C:\src\flutter/] git tag --points-at 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[        ] [ +102 ms] Exit code 0 from: git tag --points-at 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[        ] [   +2 ms] executing: [C:\src\flutter/] git describe --match ..* --long --tags 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[   +1 ms] [ +142 ms] Exit code 0 from: git describe --match ..* --long --tags 1610a2747654dec3cabbd1d81d0bc5885b2067a2
[   +1 ms] [        ] 1.27.0-8.0.pre-106-g1610a27476
[        ] [  +59 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[   +1 ms] [  +52 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +72 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[  +33 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +13 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[  +11 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +37 ms] [  +58 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[  +23 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[  +11 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[  +24 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[  +22 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +3 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[  +37 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[  +13 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[  +28 ms] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +27 ms] [  +95 ms] Initializing file store
[   +3 ms] [   +3 ms] Done initializing file store
[   +1 ms] [  +51 ms] Skipping target: gen_localizations
[        ] [ +356 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged}
[   +1 ms] [  +61 ms] Found plugin path_provider_linux at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2
[        ] [  +10 ms] Found plugin path_provider_windows at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\path_provider_windows-0.0.4+3
[  +29 ms] [   +6 ms] Found plugin shared_preferences at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences-0.5.12+4
[        ] [   +3 ms] Found plugin shared_preferences_linux at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_linux-0.0.2+4\
[  +10 ms] [   +3 ms] Found plugin shared_preferences_macos at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_macos-0.0.1+11\
[  +27 ms] [   +3 ms] Found plugin shared_preferences_web at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_web-0.1.2+7
[   +5 ms] [   +3 ms] Found plugin shared_preferences_windows at C:\Users\jonas\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\shared_preferences_windows-0.0.2+2\
[  +13 ms] [  +40 ms] Found plugin integration_test at C:\src\flutter\packages\integration_test
[        ] [   +7 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/
--target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts
--track-widget-creation --no-link-platform --packages E:\Coding\VSCode\Projects\Flutter\doppelkopf.dart_tool\package_config.json --output-dill
E:\Coding\VSCode\Projects\Flutter\doppelkopf.dart_tool\flutter_build\546bb8876c7f507ea186395ecec8fd81\app.dill --depfile
E:\Coding\VSCode\Projects\Flutter\doppelkopf.dart_tool\flutter_build\546bb8876c7f507ea186395ecec8fd81\kernel_snapshot.d package:doppelkopf/main.dart
[+2793 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:1111:7: Error: Struct 'ENUMLOGFONTEX' is empty. Empty
structs are undefined behavior.
[   +1 ms] class ENUMLOGFONTEX extends Struct {
[        ]       ^
[  +27 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2835:7: Error: Struct 'BLUETOOTH_PIN_INFO' is empty.
Empty structs are undefined behavior.
[  +26 ms] class BLUETOOTH_PIN_INFO extends Struct {
[   +1 ms]       ^
[        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2960:7: Error: Struct 'EXCEPINFO' is empty. Empty structsare undefined behavior.
[   +1 ms] class EXCEPINFO extends Struct {}
[        ]       ^
[        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2966:7: Error: Struct 'PROPERTYKEY' is empty. Empty
structs are undefined behavior.
[  +40 ms] class PROPERTYKEY extends Struct {}
[        ]       ^
[  +25 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2973:7: Error: Struct 'PROPVARIANT' is empty. Empty
structs are undefined behavior.
[   +1 ms] class PROPVARIANT extends Struct {}
[        ]       ^
[   +5 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2978:7: Error: Struct 'SAFEARRAY' is empty. Empty structsare undefined behavior.
[   +1 ms] class SAFEARRAY extends Struct {}
[        ]       ^
[  +29 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2985:7: Error: Struct 'CLSID' is empty. Empty structs areundefined behavior.
[  +13 ms] class CLSID extends Struct {}
[        ]       ^
[   +9 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2992:7: Error: Struct 'STATSTG' is empty. Empty structs
are undefined behavior.
[  +29 ms] class STATSTG extends Struct {}
[        ]       ^
[  +10 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2999:7: Error: Struct 'NLM_SIMULATED_PROFILE_INFO' is
empty. Empty structs are undefined behavior.
[   +1 ms] class NLM_SIMULATED_PROFILE_INFO extends Struct {}
[        ]       ^
[        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs are undefinedbehavior.
[  +40 ms] class Utf8 extends Struct {
[   +1 ms]       ^
[   +9 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs are
undefined behavior.
[   +2 ms] class Utf16 extends Struct {
[        ]       ^
[  +22 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid and
instantiated subtype of 'NativeType'.
[   +1 ms]   final int totalSize = count * sizeOf();
[  +32 ms]                                 ^
[+4330 ms] [+7717 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:1111:7: Error: Struct 'ENUMLOGFONTEX' is
empty. Empty structs are undefined behavior.
[   +2 ms] [   +1 ms] class ENUMLOGFONTEX extends Struct {
[        ] [        ]       ^
[  +43 ms] [   +4 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2835:7: Error: Struct 'BLUETOOTH_PIN_INFO' is
empty. Empty structs are undefined behavior.
[   +6 ms] [        ] class BLUETOOTH_PIN_INFO extends Struct {
[   +4 ms] [        ]       ^
[   +1 ms] [        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2960:7: Error: Struct 'EXCEPINFO' is empty.
Empty structs are undefined behavior.
[  +12 ms] [        ] class EXCEPINFO extends Struct {}
[        ] [        ]       ^
[   +1 ms] [        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2966:7: Error: Struct 'PROPERTYKEY' is empty.
Empty structs are undefined behavior.
[  +37 ms] [        ] class PROPERTYKEY extends Struct {}
[        ] [        ]       ^
[        ] [        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2973:7: Error: Struct 'PROPVARIANT' is empty.
Empty structs are undefined behavior.
[   +1 ms] [        ] class PROPVARIANT extends Struct {}
[        ] [        ]       ^
[   +8 ms] [        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2978:7: Error: Struct 'SAFEARRAY' is empty.
Empty structs are undefined behavior.
[   +1 ms] [        ] class SAFEARRAY extends Struct {}
[   +1 ms] [        ]       ^
[        ] [        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2985:7: Error: Struct 'CLSID' is empty. Empty
structs are undefined behavior.
[   +1 ms] [        ] class CLSID extends Struct {}
[        ] [        ]       ^
[   +8 ms] [        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2992:7: Error: Struct 'STATSTG' is empty.
Empty structs are undefined behavior.
[   +1 ms] [        ] class STATSTG extends Struct {}
[        ] [        ]       ^
[        ] [        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/win32-1.7.4+1/lib/src/structs.dart:2999:7: Error: Struct
'NLM_SIMULATED_PROFILE_INFO' is empty. Empty structs are undefined behavior.
[   +1 ms] [        ] class NLM_SIMULATED_PROFILE_INFO extends Struct {}
[   +1 ms] [        ]       ^
[   +7 ms] [        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf8.dart:23:7: Error: Struct 'Utf8' is empty. Empty structs
are undefined behavior.
[  +33 ms] [        ] class Utf8 extends Struct {
[        ] [        ]       ^
[   +9 ms] [        ] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/utf16.dart:16:7: Error: Struct 'Utf16' is empty. Empty structs
are undefined behavior.
[   +2 ms] [        ] class Utf16 extends Struct {
[        ] [        ]       ^
[ +104 ms] [ +224 ms] /C:/Users/jonas/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/ffi-0.1.3/lib/src/allocation.dart:47:33: Error: Expected type 'T' to be a valid
and instantiated subtype of 'NativeType'.
[   +2 ms] [        ]   final int totalSize = count * sizeOf();
[        ] [        ]                                 ^
[+2393 ms] [+2404 ms] Persisting file store
[   +1 ms] [  +14 ms] Done persisting file store
[        ] [   +3 ms] Target kernel_snapshot failed: Exception
[   +1 ms]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:286:7)
[   +1 ms]
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:831:9)
[        ]
[        ]            #2      Future.wait. (dart:async/future.dart)
[        ]
[   +7 ms]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:769:32)
[  +16 ms]
[   +8 ms]            #4      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:598:16)
[   +2 ms]
[  +28 ms]            #5      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:232:32)
[        ]
[        ]            #6      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1186:12)
[   +1 ms]
[        ]            #7      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1037:27)
[        ]
[   +1 ms]            #8      AppContext.run. (package:flutter_tools/src/base/context.dart:152:19)
[  +15 ms]
[   +8 ms]            #9      AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
[   +1 ms]
[        ]            #10     CommandRunner.runCommand (package:args/command_runner.dart:197:13)
[        ]
[  +22 ms]            #11     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
[        ]
[   +6 ms]            #12     AppContext.run. (package:flutter_tools/src/base/context.dart:152:19)
[        ]
[        ]            #13     AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
[        ]
[        ]            #14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:239:5)
[        ]
[        ]            #15     run.. (package:flutter_tools/runner.dart:62:9)
[        ]
[   +9 ms]            #16     run. (package:flutter_tools/runner.dart:60:12)
[        ]
[        ]            #17     AppContext.run. (package:flutter_tools/src/base/context.dart:152:19)
[   +6 ms]
[  +27 ms]            #18     AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
[        ]
[  +14 ms]            #19     runInContext (package:flutter_tools/src/context_runner.dart:77:10)
[   +1 ms]
[        ]            #20     main (package:flutter_tools/executable.dart:92:3)
[   +9 ms]
[        ] [   +7 ms]
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:12:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:249:7)
[        ]
[        ]            #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1186:12)
[        ]
[        ]            #3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1037:27)
[   +9 ms]
[        ]            #4      AppContext.run. (package:flutter_tools/src/base/context.dart:152:19)
[   +1 ms]
[        ]            #5      AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
[   +1 ms]
[        ]            #6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)
[  +10 ms]
[        ]            #7      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)
[        ]
[        ]            #8      AppContext.run. (package:flutter_tools/src/base/context.dart:152:19)
[        ]
[        ]            #9      AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
[  +23 ms]
[   +1 ms] [  +15 ms] "flutter assemble" took 11.120ms.
[   +8 ms]            #10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:239:5)
[        ]
[        ]            #11     run.. (package:flutter_tools/runner.dart:62:9)
[  +24 ms]
[        ]            #12     run. (package:flutter_tools/runner.dart:60:12)
[   +7 ms]
[        ]            #13     AppContext.run. (package:flutter_tools/src/base/context.dart:152:19)
[        ]
[  +22 ms]            #14     AppContext.run (package:flutter_tools/src/base/context.dart:151:12)
[        ]
[   +7 ms]            #15     runInContext (package:flutter_tools/src/context_runner.dart:77:10)
[   +3 ms]
[        ]            #16     main (package:flutter_tools/executable.dart:92:3)
[  +16 ms]
[        ] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[        ] > Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[   +1 ms] * Try:
[   +7 ms] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[  +19 ms] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 14s
[   +7 ms] [  +65 ms] ensureAnalyticsSent: 62ms
[   +1 ms] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 1
[        ] > Task :app:compileFlutterBuildDebug FAILED
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 1 actionable task: 1 executed
[ +416 ms] Running Gradle task 'assembleDebug'... (completed in 15,7s)
[   +3 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +1 ms] "flutter run" took 16.927ms.
[   +4 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:12:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:655:9)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1186:12)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1037:27)

#4      AppContext.run. (package:flutter_tools/src/base/context.dart:152:19)

#5      AppContext.run (package:flutter_tools/src/base/context.dart:151:12)

#6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)

#7      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)

#8      AppContext.run. (package:flutter_tools/src/base/context.dart:152:19)

#9      AppContext.run (package:flutter_tools/src/base/context.dart:151:12)

#10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:239:5)

#11     run.. (package:flutter_tools/runner.dart:62:9)

#12     run. (package:flutter_tools/runner.dart:60:12)

#13     AppContext.run. (package:flutter_tools/src/base/context.dart:152:19)

#14     AppContext.run (package:flutter_tools/src/base/context.dart:151:12)

#15     runInContext (package:flutter_tools/src/context_runner.dart:77:10)

#16     main (package:flutter_tools/executable.dart:92:3)

[ +105 ms] ensureAnalyticsSent: 74ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +4 ms] Shutdown hooks complete
[        ] exiting with code 1
Also here is my flutter doctor -v:
[√] Flutter (Channel master, 1.27.0-9.0.pre.106, on Microsoft Windows [Version 10.0.19041.804], locale de-DE)
• Flutter version 1.27.0-9.0.pre.106 at C:\src\flutter
• Framework revision 1610a27476 (11 hours ago), 2021-02-25 20:26:02 -0800
• Engine revision 1515b1d4a4
• Dart version 2.13.0 (build 2.13.0-79.0.dev)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Android\android-sdk
• Platform android-30, build-tools 29.0.2
• ANDROID_HOME = C:\Android\android-sdk
• ANDROID_SDK_ROOT = C:\Android\android-sdk
• Java binary at: C:\Program Files\Java\jdk-11.0.6\bin\java
• Java version Java(TM) SE Runtime Environment 18.9 (build 11.0.6+8-LTS)
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[√] VS Code (version 1.53.2)
• VS Code at C:\Users\jonas\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.19.0
[√] Connected device (3 available)
• ONEPLUS A5010 (mobile) • 8aaf13ea • android-arm64  • Android 10 (API 29)
• Chrome (web)           • chrome   • web-javascript • Google Chrome 88.0.4324.190
• Edge (web)             • edge     • web-javascript • Microsoft Edge 87.0.664.75
! Doctor found issues in 2 categories.
I know that I have issues with flutter not finding the android license status. I already spent a lot of time trying to fix that issue but always failed.
flutter doctor --android-licenses gives me the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:73)
at com.android.sdklib.tool.sdkmanager.SdkManagerCli.main(SdkManagerCli.java:48)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 5 more
I hope someone can help me with this problem :)
Cheers
Jonas

Duplicate of https://github.com/flutter/flutter/issues/76705 and https://github.com/flutter/flutter/issues/76777.
See resolution in those issues.


Script for finetuning refine task ?

Hi,
I would try to finetune different dataset on refine task. But I cant seem to find the script for refinement task.
It will help me a lot if you enlighten me up.
Thanks in advance.

Hi, the fine-tuning script for all generation task is run_gen.py. Please refer to here for how to fine-tune on different datasets. Thanks.


🔧(project) activate renovate configuration

Purpose
We use renovate to keep project dependencies up-to-date.
Proposal

[x] Add standard configuration file for all our projects.

Closing as duplicate of #2


error: 'memref.alloca' op expected no stack allocations without upper bound shapes

What happened?
Repro with:
iree-compile --iree-hal-target-backends=llvm-cpu repro.mlir

produces error:
error: 'memref.alloca' op expected no stack allocations without upper bound shapes

Full error log: https://gist.github.com/3d6460a10a89d7b81151b7915c067501
#map = affine_map<(d0, d1, d2) -> (d0, d1, d2)>
#map1 = affine_map<(d0, d1, d2) -> (d0, 0, 0)>
module attributes {torch.debug_module_name = "MeanDimKeepdimModule"} {
  ml_program.global private mutable @global_seed(dense<0> : tensor<i64>) : tensor<i64>
  func.func @forward(%arg0: tensor<?x?x?xf32>) -> tensor<?x1x1xf64> {
    %cst = arith.constant 0.000000e+00 : f64
    %c1 = arith.constant 1 : index
    %c2 = arith.constant 2 : index
    %c0 = arith.constant 0 : index
    %dim = tensor.dim %arg0, %c0 : tensor<?x?x?xf32>
    %0 = tensor.empty(%dim) : tensor<?x1x1xf64>
    %1 = linalg.fill ins(%cst : f64) outs(%0 : tensor<?x1x1xf64>) -> tensor<?x1x1xf64>
    %2 = linalg.generic {indexing_maps = [#map, #map1], iterator_types = ["parallel", "reduction", "reduction"]} ins(%arg0 : tensor<?x?x?xf32>) outs(%1 : tensor<?x1x1xf64>) {
    ^bb0(%in: f32, %out: f64):
      %9 = arith.extf %in : f32 to f64
      %10 = arith.addf %9, %out : f64
      linalg.yield %10 : f64
    } -> tensor<?x1x1xf64>
    %dim_0 = tensor.dim %arg0, %c1 : tensor<?x?x?xf32>
    %3 = arith.index_cast %dim_0 : index to i64
    %dim_1 = tensor.dim %arg0, %c2 : tensor<?x?x?xf32>
    %4 = arith.index_cast %dim_1 : index to i64
    %5 = arith.muli %3, %4 : i64
    %6 = linalg.generic {indexing_maps = [#map1, #map], iterator_types = ["parallel", "parallel", "parallel"]} ins(%2 : tensor<?x1x1xf64>) outs(%0 : tensor<?x1x1xf64>) {
    ^bb0(%in: f64, %out: f64):
      %9 = arith.sitofp %5 : i64 to f64
      %10 = arith.divf %in, %9 : f64
      linalg.yield %10 : f64
    } -> tensor<?x1x1xf64>
    return %6 : tensor<?x1x1xf64>
  }
}

Steps to reproduce your issue
See above
What component(s) does this issue relate to?
Compiler
Version information
iree-compiler      20221207.350
iree-runtime       20221207.350
Additional context
This breaks iree-torch CI

FWIW this causes 20 of our e2e tests to fail, across a variety of domains:
    "MeanDimKeepdimModule_basic",
    "MeanDimLargeInputModule_basic",
    "MeanDimModule_basic",
    "MeanDimNegativeModule_basic",
    "MmTanhModule_basic",
    "NativeLayerNormDynamicModule_basic",
    "ReduceFrobeniusNormKeepDimModule_basic",
    "ReduceFrobeniusNormModule_basic",
    "ReduceL1NormModule_basic",
    "ReduceL2NormModule_basic",
    "ReduceLN3NormModule_basic",
    "SoftmaxIntModule_basic",
    "StdDimBiasedModule_basic",
    "StdDimKeepDimFalseModule_basic",
    "StdDimKeepDimTrueModule_basic",
    "VarCorrectionKeepDimModule_basic",
    "VarCorrectionSingleDimReduceModule_basic",
    "VarDimModule_basic",
    "VarDimNegativeModule_basic",
    "VarDimUnbiasedModule_basic",
    "VarMeanCorrectionModule_basic",

@hanhanW Do you possibly have some context on this, or know of anyone else who might be able to look at this?  Thank you!

I addressed a similar issue before, and the case seems the same. It should be fixed by https://reviews.llvm.org/D138843
Let me check if I can repro it on ToT.

After looking into the dumps, this is a dup of https://github.com/iree-org/iree/issues/11196

I asked a question on the other issue. That one contains more information and discussion, maybe we can close this one?

verify that it's fixed by https://github.com/iree-org/iree/pull/11550


After installed plugin,kibana could not start service

Hi @codingchili
When i install plugin like this(linux system)
./kibana-plugin https://github.com/codingchili/kibana-mithril/releases/download/1.2.0/mithril-GNU.Linux-x86_64-6.6.0.zip.
It show installed succesfully.
I also configured config.json. and when I started the kibana service, it failed to start successfully.
Kibana version:6.6.0
Eleasisearch version:6.6.0

Hello,
I need some more information. Are there any errors in the kibana logs? Could you try running it directly from the bin folder?

I start and stop service like this:
sudo systemctl start kibana.service
sudo systemctl stop kibana.service
Releated page is so:https://www.elastic.co/guide/en/kibana/current/start-stop.html

it could start service.But when i login using file way.it has the following error

It's an error with the native dependency on argon2, used for hashing passwords.
I could check it on Linux again, you could try cloning and building the zip on the same system.

I have fixed the issue,thanks.it was caused by my wrong configs about config file.


refactor: Replace unnecessary external lib with standard errors.Join

Closes #1490
reference: #1500

Overview

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[x] Linked issues closed with keywords

Summary by CodeRabbit

Refactor

Improved error handling across various services for enhanced stability and clarity in error messages.

@Manav-Aggarwal were you able to see the comments which I have commented respective to your comments?

On 27-Jan-2024, at 4:46 PM, Manav Aggarwal @.***> wrote:
Assigned #1503 https://github.com/rollkit/rollkit/pull/1503 to @Chirag018 https://github.com/Chirag018.
—
Reply to this email directly, view it on GitHub https://github.com/rollkit/rollkit/pull/1503#event-11616102409, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANQ3N6SGP6YVEAQUWL7AGRLYQTOY7AVCNFSM6AAAAABCKETT2OVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGYYTMMJQGI2DAOI.
You are receiving this because you were assigned.


Problem with function bbox_overlaps_batch(anchors, gt_boxes)

Hello,
I'm studying this code. when I read the function at the script https://github.com/jwyang/faster-rcnn.pytorch/blob/master/lib/model/rpn/bbox_transform.py. The  gt_boxes parameter has the size (b, K, 5). But, actually, the value of K is dynamic, maybe is zero. So, how did function solve when using batch-size for the gt_boxes parameter.
Thanks.

I understand the confusion there. It took me a while to figure it out as well, but I believe it works because the gt_boxes that are used as input are pre-processed in the roibatchLoader to assume fixed dimensions (through padding).
e.g. shape = [batch_size, K, 5]
where K = cfg.MAX_NUM_GT_BOXES, so it is listed in the config file.
The roibatchLoader-file might shed some more light on this for you:
https://github.com/jwyang/faster-rcnn.pytorch/blob/master/lib/roi_data_layer/roibatchLoader.py

@AlexanderHustinx  Hi. So do you have any ideas on why the author force the num_gt_box to be 30 ?
It seems that the gt box with x1y1x2y2 as (0, 0, 0, 0) is also used to compute rpn loss. Thanks.

Hey @chenchr,
It's been a while since I've looked through this code. But I can see they do pass num_boxes to the RPN too.
As they calculate the RPN anchor targets during training, also passing the argument num_boxes together with gt_boxes, I assume they only use the gt_boxes that aren't empty (i.e. [0,0,0,0,0]).
If I recall correctly, you can set the max number of gt boxes. I feel like the authors choose to use e.g. 30 as the max because of PASCAL and COCO it is very unlikely to see more than 30 objects in a single image.
Additionally, I believe they might be selecting the gt_boxes randomly from all the objects in the image, this way the order isn't fixed and if there are more than the max number of gt boxes in the image you might select different bboxes in the next epoch to reduce overfitting.
A little caveat: I haven't looked at this code much recently and don't recall everything entirely. So maybe not everything is 100% correct.

@AlexanderHustinx Thank you very much for your elaborate reply. I found that when computing box loss during rpn or rcnn, the groundtruth boxes with (0, 0, 0, 0) are masked out. So it should not affect the loss computation.

@chenchr  I did not get why some overlaps where masked with 0 while oher are masked with -1. Can you explain why this is so?


Security (MFA)

EPIC
Goal

the framework needs to be able to implement MFA and other authorization without being dependent on application server logic
Description

By implementing spring security we have a plugable way to implement openid connect, username pwd login and other methods
Tasks
Version 7.9:

[x] #3377
[x] #5416
[x] #3495
[x] Implement inbound connectors (LDAP/openid Connect)

Version 8.0:

[ ] Implement outbound security connectors (JWT, oauth client flow)
[ ] #3045

Closing this as a sub task exists to fix the HttpSender. All inbound endpoints are using Spring Security.


add tables to sphinx docs

This is a sub-issue of #1217 lyx to sphinx.
Describe the Sub-Issue
None of the tables transferred from lyx to sphinx.  Prioritize this.
Time Estimate
4 days???  I don't know.
Issues should represent approximately 1 to 3 days of work.
Define the Metadata
Assignee

[x] Select engineer(s)  Lisa Goodrich or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[x] Select component(s)
[x] Select priority
[x] Select requestor(s)

Projects and Milestone

[x] Review projects and select relevant Repository and Organization ones
[x] Select milestone

This work is complete per conversation with Lisa today.


Impossible to unban a user.

Message on page: Members.NowUnBanned.
User state: banned.

This is fixed in v1.8.


Xcode 6.2 console error

Hi,
after Xcode 6.2 update, I'm getting following errors in console when executing ipa build command:
2015-03-11 21:23:41.379 xcodebuild[67566:11294458] [MT] iPhoneSimulator: SimVerifier returned: Error Domain=NSPOSIXErrorDomain Code=53 "Simulator verification failed." UserInfo=0x7f9f80f22590 {NSLocalizedFailureReason=A connection to the simulator verification service could not be established., NSLocalizedRecoverySuggestion=Ensure that Xcode.app is installed on a volume with ownership enabled., NSLocalizedDescription=Simulator verification failed.}
2015-03-11 21:23:42.060 xcodebuild[67566:11294895] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build
2015-03-11 21:23:42.063 xcodebuild[67566:11294893] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build
2015-03-11 21:23:42.079 xcodebuild[67566:11294894] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build
2015-03-11 21:23:42.087 xcodebuild[67566:11294891] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build
2015-03-11 21:23:42.102 xcodebuild[67566:11294892] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build
2015-03-11 21:23:42.139 xcodebuild[67566:11294905] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build
2015-03-11 21:23:42.289 xcodebuild[67566:11294893] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build
2015-03-11 21:23:42.324 xcodebuild[67566:11294891] stream error: stream error at offset 29: created by an unsupported XCDependencyGraph build

I'm also seeing the top error:
2015-03-11 21:23:41.379 xcodebuild[67566:11294458] [MT] iPhoneSimulator: SimVerifier returned: Error Domain=NSPOSIXErrorDomain Code=53 "Simulator verification failed." UserInfo=0x7f9f80f22590 {NSLocalizedFailureReason=A connection to the simulator verification service could not be established., NSLocalizedRecoverySuggestion=Ensure that Xcode.app is installed on a volume with ownership enabled., NSLocalizedDescription=Simulator verification failed.}

.@bradhouse is right—this is not an issue with Shenzhen, but rather with xcodebuild. This Stack Overflow answer appears to demonstrate the underlying cause and correct fix.

Same here with XCode 6.3

yes same

Yesterday @ashfurrow suggest to add root permissions to XCode, but problem continues:
https://twitter.com/ashfurrow/status/587696982757679104

I found my problems, probably the source code not this following the new rules of the swift... like !as

In my case it's a full-Obj-C project. That runs correctly with old XCode versions.

The SimVerifier error can be fixed.
See https://groups.google.com/forum/?fromgroups#!topic/calabash-ios/c9vCp7gapoQ


Suggestion: avoid scrolling page on tab switch

Right now the tabs are vertically centered on click.

AH. interesting!
Browser? OS?

I was too hasty, the vertical scrolling behavior seems to vary.
On ubuntu+chrome the first tab set here centers the page, on ubuntu+firefox it is positioned at the top of the screen. The lower sets of tabs also center on chrome, and scroll to some weird intermediate location on FF.
Python/C++ or windows/unix tab sets on the same page don't scroll in neither browser.

Hmmm! Can reproduce on Blink-based browsers (Chrome family). Can't reproduce on FireFox, but I think I have what I need.

cf59521cd3967b0a7cb14559228d41afbb87f130 should fix this -- could you check the latest documentation (it'll build in a few minutes) and confirm whether it is indeed fixed?

I confirm that vertical repositioning doesn't happen. However

HUH.

I'll come back to this tomorrow -- browsers are weird.

Everything seems to work now!

Was fixed by https://github.com/pradyunsg/sphinx-inline-tabs/commit/d17680c111c472f9929ce6791266e483d24647a2. :)


[wip][debug]Refactor/go bot

An early work-in-progress PR on the refactoring of the GO-bot.
Looking for the architecture review: see the main script go_bot.py (the refactored version of the old network.py).
NLU, NLG, text2vec and features engineering are moved to the separate classes. Some helping dto-like classes are introduced.
Requires more testing to ensure that the ML logic is preserved without errors.
What is done:

moved the NLU logic to the separate unit.
moved the NLG logic to the separate unit.
moved the text 2 vectors encoding logic to the separate unit.
moved the complicated NN configs parsing to the separate class to ease further refactoring and simplification.

Todo:

testing and debugging. Last commit is probably worsening the metrics for some reason.
reorder the commits to smth meaningful and informative. This pr is opened from the debug branch, commits are overtracing the modifications to analyze metrics.
More intuitive features, targets and batches classes.
Proper OOP patterns for state tracker and multiple users tracking mechanism.
Proper naming of things.
Logging
Type-hinting, docstrings etc

Closing to reopen from another branch


Prebuilt Release triggers Windows Threat Protection for Trojan.Win32/Occamy.C

It could be a false positive, but it happens nonetheless. Probably run this from source and run inside a container. Don't use the release.

There's a good chance this is happening due to the way @matt1484 compiled it. I'll get with him later today and test properly compiled executables on my Windows machine. I really appreciate that you brought this to our attention

I've also updated the release note to call out this issue for Windows users

After doing some research and testing, it seems this issue is experienced with any Go program that isn't signed. There's some information here: https://github.com/golang/go/issues/21611
To my knowledge, the only solution for this is to acquire a code signing certificate. The unfortunate truth is that these certs are prohibitively expensive unless the community wants to subsidize the cost.
You can either make an exception for this program or run it via the command line. My suggestion would be that we file another ticket to improve the readme with this information, but I'll defer to @matt1484 since he's the maintainer. We could also add a GitHub Sponsor button to the repo, but I'm not sure if enough people are interested in sponsoring a small, very niche project.

Doesnt seem like there is anything we can do at this time so closing for now


Added Plastic into the Autolathe

It only adds Plastic into the Autolathe

Why did you delete all the PR template? Did you read it?

Superseded by https://github.com/space-wizards/space-station-14/pull/4039 now


Reported vulnerability from GitHub scanner for Nokogiri in docs/

@mattbrictson @will-in-wi I'm not sure what to do here, we have a transient dependency on Nokogiri via transient dependencies in the "github-pages" gem.
I don't trust upgrading GitHub pages gem and the rest of the world we pull in with it to render the docs faithfully.
If we agree we care about the vulnerability (I don't see how we can be affected, it's an injection attack with crafted tags which can then compromise the host. The injection attack would require someone getting code into our repo, which we would notice, and the "attack" is against sandboxed GitHub pages rendering services/servers. Risk is low as far as I can read it.)

I'll take a look at it. We may be able to just update Nokogiri and not impact the rest of the rendering pipeline. If not, I'll render it both ways and compare.

It suggested to upgrade the Gemfile.lock, but because nokogiri is mentioned twice, both times transiently a simple = 1.8.1 to ~> 1.8.2 made me a bit nervous, I'm from the school or never screwing manually with gemfile.lock after bad experiences.

Running bundle update nokogiri only changes Nokogiri on my box. I doubt it'll affect anything, but I'm going to run a Jekyll build with old nokogiri, upgrade, rebuild, and diff to confirm.

Ah, nice - that's cool. I ran into a bunch of problems ("can't build native extension…") and ran out of time to test it and wanted to check with you guys that we agreed on a direction.

The diff comes out empty. I pushed the branch here: https://github.com/capistrano/capistrano/pull/1987

I'll take a few minutes to upgrade the entire docs tree and diff it later.


cargo fix doesn't work for no_std binaries / targets

I wanted to use cargo fix --edition on some embedded crates but I'm hitting two possibly related problems.
STR

no_std targets

$ cargo new --lib foo && cd $_

$ # set the default compilation target to a `no_std` target
$ mkdir .cargo
$ cat >.cargo/config <<'EOF'
[build]
target = "thumbv7m-none-eabi"
EOF

$ # make into a `no_std` library
$ cat >src/lib.rs <<'EOF'
#![no_std]
EOF

$ cargo check && echo OK
OK

$ cargo fix
cargo fix
    Checking foo v0.1.0 (file:///home/japaric/tmp/foo)
error[E0463]: can't find crate for `test`

error: aborting due to previous error

no_std binary crates

$ cargo new --bin bar && cd $_

$ # make into a `no_std` binary
$ cat >src/main.rs <<'EOF'
#![feature(panic_handler)]
#![no_main]
#![no_std]

use core::panic::PanicInfo;

#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
    loop {}
}
EOF

$ # ignore linking; it's not important for this example
$ # also set panic to abort to simplify things
$ mkdir .cargo
$ cat >.cargo/config <<'EOF'
[build]
rustflags = ["-C", "panic=abort", "-C", "linker=true"]
EOF

$ cargo build && echo OK
Ok

$ cargo fix
    Checking bar v0.1.0 (file:///home/japaric/tmp/bar)
error[E0152]: duplicate lang item found: `panic_impl`.
  --> src/main.rs:8:1
   |
8  | / fn panic(_info: &PanicInfo) -> ! {
9  | |     loop {}
10 | | }
   | |_^
   |
   = note: first defined in crate `std`.

error: aborting due to previous error

Meta
$ rustc -V
rustc 1.30.0-nightly (1c2e17f4e 2018-09-04)

$ cargo -V
cargo 1.29.0-nightly (0ec7281b9 2018-08-20)

I suspect that the cause is the same in both cases. cargo fix is linking it the test crate. in the first case the test crate doesn't exist (std and test don't compile for no_std / bare-metal targets). In the second case linking to test is pulling in std which already contains a panic_handler function, hence the collision.
Why is the test crate a hard dependency of cargo fix? Is it running cargo test as a final sanity check or is there some other reason?
cc @killercup @alexcrichton

You're seeing the effects of fix passing --all-targets by default (aka #5739).
Try check or build with --all-targets and you should see the same errors as fix.
Run cargo fix --lib or cargo fix --bins (respectively) should work.

Ah yes @dwijnand is spot on here! The idea is that we want to fix as much code as possible, including test modules and such. If you have test = false in Cargo.toml then that should also prevent Cargo from trying to fix test mode, but that may not be the case for many embedded projects...

If you have test = false in Cargo.toml

You meant lib.test = false, right? There may be some bug here. I tried adding lib.test = false to first example (no_std target + no_std lib) and cargo test seems to succeed but cargo check --all-targets doesn't.

lib.test = false

$ cargo clean; cargo test -v
   Compiling foo v0.1.0 (file:///tmp/foo)
     Running `rustc --crate-name foo src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ced31cd139ebb519 -C extra-filename=-ced31cd139ebb519 --out-dir /tmp/foo/target/thumbv7m-none-eabi/debug/deps --target thumbv7m-none-eabi -C incremental=/tmp/foo/target/thumbv7m-none-eabi/debug/incremental -L dependency=/tmp/foo/target/thumbv7m-none-eabi/debug/deps -L dependency=/tmp/foo/target/debug/deps`
    Finished dev [unoptimized + debuginfo] target(s) in 0.13s

$ cargo clean; cargo check --all-targets -v
    Checking foo v0.1.0 (file:///tmp/foo)
     Running `rustc --crate-name foo src/lib.rs --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=db2228db772520b2 -C extra-filename=-db2228db772520b2 --out-dir /tmp/foo/target/thumbv7m-none-eabi/debug/deps --target thumbv7m-none-eabi -C incremental=/tmp/foo/target/thumbv7m-none-eabi/debug/incremental -L dependency=/tmp/foo/target/thumbv7m-none-eabi/debug/deps -L dependency=/tmp/foo/target/debug/deps`
     Running `rustc --crate-name foo src/lib.rs --emit=dep-info,metadata -C debuginfo=2 --test -C metadata=5daba40af2f8a204 -C extra-filename=-5daba40af2f8a204 --out-dir /tmp/foo/target/thumbv7m-none-eabi/debug/deps --target thumbv7m-none-eabi -C incremental=/tmp/foo/target/thumbv7m-none-eabi/debug/incremental -L dependency=/tmp/foo/target/thumbv7m-none-eabi/debug/deps -L dependency=/tmp/foo/target/debug/deps`
error[E0463]: can't find crate for `test`

lib.test = true

$ cargo clean; cargo test -v
   Compiling foo v0.1.0 (file:///tmp/foo)
     Running `rustc --crate-name foo src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ced31cd139ebb519 -C extra-filename=-ced31cd139ebb519 --out-dir /tmp/foo/target/thumbv7m-none-eabi/debug/deps --target thumbv7m-none-eabi -C incremental=/tmp/foo/target/thumbv7m-none-eabi/debug/incremental -L dependency=/tmp/foo/target/thumbv7m-none-eabi/debug/deps -L dependency=/tmp/foo/target/debug/deps`
     Running `rustc --crate-name foo src/lib.rs --emit=dep-info,link -C debuginfo=2 --test -C metadata=532c55cfb14659e0 -C extra-filename=-532c55cfb14659e0 --out-dir /tmp/foo/target/thumbv7m-none-eabi/debug/deps --target thumbv7m-none-eabi -C incremental=/tmp/foo/target/thumbv7m-none-eabi/debug/incremental -L dependency=/tmp/foo/target/thumbv7m-none-eabi/debug/deps -L dependency=/tmp/foo/target/debug/deps`
error[E0463]: can't find crate for `test`

$ cargo clean; cargo check --all-targets -v
    Checking foo v0.1.0 (file:///tmp/foo)
     Running `rustc --crate-name foo src/lib.rs --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=db2228db772520b2 -C extra-filename=-db2228db772520b2 --out-dir /tmp/foo/target/thumbv7m-none-eabi/debug/deps --target thumbv7m-none-eabi -C incremental=/tmp/foo/target/thumbv7m-none-eabi/debug/incremental -L dependency=/tmp/foo/target/thumbv7m-none-eabi/debug/deps -L dependency=/tmp/foo/target/debug/deps`
     Running `rustc --crate-name foo src/lib.rs --emit=dep-info,metadata -C debuginfo=2 --test -C metadata=5daba40af2f8a204 -C extra-filename=-5daba40af2f8a204 --out-dir /tmp/foo/target/thumbv7m-none-eabi/debug/deps --target thumbv7m-none-eabi -C incremental=/tmp/foo/target/thumbv7m-none-eabi/debug/incremental -L dependency=/tmp/foo/target/thumbv7m-none-eabi/debug/deps -L dependency=/tmp/foo/target/debug/deps`
error[E0463]: can't find crate for `test`

I also tried lib.doctest = false but cargo check --all-targets still fails.

but that may not be the case for many embedded projects...

If it makes cargo check --all-targets and cargo fix work then I'll add it to our 2015 project template right away. That way at least some people will be able to use cargo fix in the future. And, we can document the workaround somewhere for the people that hit this problem.

@japaric I think you need both test = false and bench = false.

@ehuss thanks. That does the trick.
We'll deal with this on our end. Thanks for the replies.


Unable to download docker?

Hi,
When attempting to use sudo docker run cheeseandcereal/transmission_influxdb_exporter:latest as the instructions say, docker reports that access is denied.
docker: Error response from daemon: pull access denied for cheeseandcereal/transmission_influxdb_exporter, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
I'm no docker expert but I can't find anything I'm doing wrong. Thanks!

Apparently I didn't have the container pushed to dockerhub. Should be there now, so you can try again.

Apparently I didn't have the container pushed to dockerhub. Should be there now, so you can try again.

Thanks, that fixed it!

Thanks, that fixed it!


Math rendering issue in Chrome

Description
Steps to reproduce:

Create anything in math mode
Scroll until it's out of view
Scroll back in, the math is gone but the surrounding text remains
Zooming in / out fixes it temporarily until it gets scrolled out of view again

Example:

Any math will do, but here's the one used in the GIF above.
#lorem(5) #box(stroke: red)[$a^2 + b^2 = c^2$] #lorem(5)

System
Browser: Google Chrome 125.0.6422.141
OS: Arch Linux
Compiler: typst 0.11.1 (50115102)
I have not been able to reproduce the issue in Firefox and Edge.
Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

Could you send the actual generated PDF, too?

But in any case, there have been printer-related issues in the past where math code was not printed properly (see https://github.com/typst/typst/issues/3314), but these issues should be fixed on main. If you have the ability to compile Typst yourself, you could try compiling the newest main and check whether the issue still persists.
In any case, I'm unable to reproduce this on MacOS.

resume.pdf

I tried compiling on https://typst.app/ and the downloaded file still has the same problem.

Just finished compiling Typst. Here's the pdf from main, which still has the same issue: resume.pdf

Thanks! Weird then, it must be a Linux-specific issue because your PDFs show up fine on my Chrome on MacOS, regardless of how I zoom...

I am unable to reproduce this on Linux (Google Chrome Version: 126.0.6478.126) :zipper_mouth_face:

@Coekjan What distro are you using?

@Coekjan What distro are you using?

Apparently there was a chrome update that fixed this (could've sworn i updated chrome a day or two before opening the issue but I guess not...)
Anyways I upgraded to 126.0.6478.126 and it's gone now.


eth: mcux: Do not set carrier ON if interface is not known

It is possible that the network interface is not yet resolved
when status of the PHY changes. In this case we must not call
net_eth_carrier_on() as that will cause a crash.
This was noticed with mimxrt1050_evk board.
Fixes: #21257
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

Can you please clarify what "network interface is not yet resolved" means?

Can you please clarify what "network interface is not yet resolved" means?

Basically it means that eth_iface_init() has not been called yet, as that will set/resolve the context->iface = iface; which is used by eth_mcux_phy_event(). So basically we get a PHY event while the driver is being setup and interface is still NULL. This is probably something to do with timing of the system. Also indicated in other PRs, the mimxrt1050_evk is faster than k64f and I have not seen this error when using k64f.

@jukkar: Thanks for explanation. My question was mostly a "first reading question", where a stumbled upon "network interface is not yet resolved" as unfamiliar wording which got me confusing. E.g. I've heard about "address not yet resolved", but don't remember hearing it in regard to interface. Your comment explains it, but I wonder if it would make sense to say "network interface is not yet initialized" or "network interface pointer [in context?] is not yet initialize". Or if you think that description captures the situation well, I'll just note it for the future.

if it would make sense to say "network interface is not yet initialized" or "network interface pointer [in context?] is not yet initialize". Or if you think that description captures the situation well, I'll just note it for the future.

Sure, you suggestion makes sense. I will rephrase the sentence.

@jukkar i'm not sure about the 1ms sleep, i added that as a delay between mii commands, i need to check what it's for

i'm not sure about the 1ms sleep, i added that as a delay between mii commands, i need to check what it's for

Please submit another PR if you find the sleep unnecessary.


⚠ Guya.moe Proxied has degraded performance

In 57e939c, Guya.moe Proxied (https://ice.guya.moe/) experienced degraded performance:

HTTP code: 200
Response time: 12941 ms

Resolved: Guya.moe Proxied performance has improved in 4fe71c4 after 19 minutes.


Store API Call Refactor

Issue number
Relevant issue number

Resolves #972

Please check the following

[x] Do the tests still pass? (see Run the Tests)
[x] Is the code formatted properly? (see Linting (Formatting))
For New Features:

[ ] Have tests been added to cover any new features or fixes?
[ ] Has the documentation been updated accordingly?

Please describe additional details for testing this change

Created new reusable function
Refactored old functions to utilize new reusable generic api call function

There are a few more functions we could reduce by creating another generic function, but I'm not sure it's worth it for 1 or 2 functions


bug report .

i got this error i must be the most annoying user of your scrpit but i can't figure what i did wrong
Traceback (most recent call last):
File "crawl_profile.py", line 27, in
information = extract_information(browser, username)
File "/Users/Desktop/instagram-profilecrawl/util/extractor.py", line 117, in extract_information
img, tags, likes, comments = extract_post_info(browser)
File "/Users/Desktop/instagram-profilecrawl/util/extractor.py", line 34, in extract_post_info
img = imgs[1].get_attribute('src')
IndexError: list index out of range
thanks for the support

Funny, I was debugging that yesterday. On line 31, he called
post = browser.find_element_by_class_name('_tjnr4') but I can't find that class. Wondering if it has been changed to something else.

have the same issue and i'm not familiar with code at all .

@404Fel @ToJen @newbie-dev7 That's interesting, the element still exists when I check it out...
Must be a locational thing...

Found the problem... It does not work with videos anymore.
Would be perfect if you could post the image or link to the post on which the script crashed next time 😉
I'll fix it

Should be fixed by This commit
Just pull and try again 😉

thanks @timgrossmann but there is the new error message

Could not get information from post: https://www.instagram.com/p/BTOf3S4AR0j/?taken-by=felix.bw
Traceback (most recent call last):
File "crawl_profile.py", line 29, in
with open('./profiles/' + username + '.json', 'w') as fp:
IOError: [Errno 2] No such file or directory: './profiles/404hello.json'

should i just make a depository profiles/404hello.json in the profilcraw ?

Yes...
I'm sorry, this got lost on the last push...
I'll re-add that

@timgrossmann its actually work without any error but the file .json that been created only contain informations about my post nowhere to find my follower list /people i do follow in the .json

@newbie-dev7 That feature actually isn't present at all 😉


Invitation request fails to create

Environment: inveniordm.web.cern.ch
Invitation request fails to create
Steps to Reproduce

Create a community
try to invite a member

[2022-06-02 11:26:24,673] ERROR in app: Exception on /records/5awxy-q2a83/access/links/4aae5a1f-fefe-4d77-af90-0c1c20eb7454 [PATCH]
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2077, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1525, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1523, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1509, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/usr/local/lib/python3.8/site-packages/flask_resources/resources.py", line 65, in view
    return view_meth()
  File "/usr/local/lib/python3.8/site-packages/flask_resources/content_negotiation.py", line 116, in inner_content_negotiation
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/flask_resources/parsers/decorators.py", line 51, in inner
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/flask_resources/parsers/decorators.py", line 90, in inner
    return f(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/flask_resources/responses.py", line 39, in inner
    res = f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/invenio_rdm_records/resources/resources.py", line 221, in partial_update
    item = self.service.secret_links.update(
  File "/usr/local/lib/python3.8/site-packages/invenio_records_resources/services/uow.py", line 327, in inner
    res = f(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/invenio_rdm_records/services/secret_links/service.py", line 256, in update
    uow.register(RecordCommitOp(parent))
  File "/usr/local/lib/python3.8/site-packages/invenio_records_resources/services/uow.py", line 301, in register
    op.on_register(self)
  File "/usr/local/lib/python3.8/site-packages/invenio_records_resources/services/uow.py", line 150, in on_register
    self._record.commit()
  File "/usr/local/lib/python3.8/site-packages/invenio_records/api.py", line 464, in commit
    db.session.merge(self.model)
  File "<string>", line 2, in merge
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/orm/session.py", line 2987, in merge
    self._autoflush()
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/orm/session.py", line 2246, in _autoflush
    self.flush()
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/orm/session.py", line 3383, in flush
    self._flush(objects)
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/orm/session.py", line 3523, in _flush
    transaction.rollback(_capture_exception=True)
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
    compat.raise_(
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
    raise exception
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/orm/session.py", line 3483, in _flush
    flush_context.execute()
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/orm/unitofwork.py", line 456, in execute
    rec.execute(self)
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/orm/unitofwork.py", line 630, in execute
    util.preloaded.orm_persistence.save_obj(
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/orm/persistence.py", line 237, in save_obj
    _emit_update_statements(
  File "/usr/local/lib64/python3.8/site-packages/sqlalchemy/orm/persistence.py", line 1035, in _emit_update_statements
    raise orm_exc.StaleDataError(
sqlalchemy.orm.exc.StaleDataError: UPDATE statement on table 'rdm_parents_metadata' expected to update 1 row(s); 0 were matched.

Closing this issue as I am not able to reproduce it in https://inveniordm.web.cern.ch/ nor locally


Can't install lib as dependency

Bug
Command  npm install @react-native-community/picker --save or yarn add @react-native-community/picker return 404.
Error log:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@react-native-community%2fpicker - Not found
npm ERR! 404
npm ERR! 404  '@react-native-community/picker@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:

Environment info
  React Native Environment Info:
    System:
      OS: macOS 10.14.4
      CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
      Memory: 367.23 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 11.14.0 - /usr/local/bin/node
      Yarn: 1.15.2 - /usr/local/bin/yarn
      npm: 6.9.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    IDEs:
      Android Studio: 3.4 AI-183.54<IP_ADDRESS>52501
      Xcode: 10.2/10E125 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3
      react-native: 0.59.8 => 0.59.8
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-create-library: 3.1.2

Steps To Reproduce
Run above commands in terminal
Describe what you expected to happen:
Install dependencies properly

I'm seeing this happen as well. I'm not able to find this library on the npm directory

@jainkuniya can you change name property in package.json file to @react-native-community/picker and publish package to npm ?

hi there, I'm looking into this right now

The package is published now to npm https://www.npmjs.com/package/@react-native-community/picker


fix(cloudflare-pages): Expose Cloudflare Pages type parameters

This PR aims to increase the type safety of the Cloudflare Pages handlers by exposing the type parameters of the handle and handleMiddleware functions. These types are really only useful when writing tests

@BarryThePenguin
The tests are cool! Thanks!


Careate Fossil Site resource model workflow

Fossil site resource model workflow.docx

There is no workflow to update an existing Fossil Site. If that's required it will need to be a separate function.


EventSubscriber to 'OnAfterSubstituteReport' event for a report with custom layout

Hello,
I have a problem with automatic reports substitution.
In the report selection for sales, report 1306 is selected for invoices:

The customer 30000 has an standard Word document layout selected for the 1306 report:

In my application we subscribe to event 'OnAfterSubstituteReport' to replace report 1306 with one of ours (with rdlc layout) and the problem is that report 1306 is replaced by ours but applies the selected word layout for report 1306, causing an error:

The word layout from the replaced report shouldn't be applied, right?
I hope you can tell me something as soon as possible. Thanks in advance.
Best regards
Clara

By the way, related to the above, is there any way to Know if a custom layout is being applied for a report in the 'OnAfterSubstituteReport' event? For example, to not replace a report to which a custom layout is being applied.
Thanks

Maybe you need update Custom Report Selection setup to use your report? You don't need  OnAfterSubstitureReport for this purpose.

My purpose is to replace the standard bc 1306 sales invoice report with one of my extension with rdlc layout and the problem is that, when replacing it, it tries to apply the custom word layout of the replaced report (1306 in this case) and we do not want the user to have to indicate the number of our report in the report selection, so, without doing anything, when installing our extension, as long as the standard report is selected, it will be replaced by ours, and it will not be done if a non-standard report has been selected.
I understand that the 'OnAfterSubstitureReport' event does not work properly because it does replace the report but tries to apply the custom layout of the replaced report.

Hi @clasalal
Sorry for paying attention to this issue so late.
However, I got curious about the following

we do not want the user to have to indicate the number of our report in the report selection, so, without doing anything, when installing our extension, as long as the standard report is selected, it will be replaced by ours

What is the reason to want such behavior? While it might be convenient in some cases, in others it might be quite baffling - the users sees one report in the setup but another is being used underneath. A lot of the users can't actually see the installed extensions.

Hello,
Over all we do it so that, if the extension is uninstalled, without having to modify the reports selection, everything works without errors ... Specially, for example, when someone installs the extension to test it and, after testing it, teh extension is uninstalled.

Hey @clasalal
Just got feedback from a colleague of mine that what you are trying to do isn't possible.
Substitution is only valid if layouts are compatible or you only use built-in layouts.
A team will be working on the root cause of this issue but for now the only way to go is to use Custom Report Selection.


Double click to collapse or expand block

@halatmit
Please read the doc for details. If this change is a go, a new commit will be made so that the doc will not stay in master branch.

Description
Double-click a block to collapse or expand it. The collapse or expand behavior is same as that from the context menu. It doesn’t collapse or expand its ancestors or descendants
Sequence of events fired

mousedown
mousemove, if any
..
mouseup
mousedown
mousemove, if any
..
mouseup
dblclick

Remarks

During a dblclick event, after the second mousedown and before the second mouseup event, if the block is dragged to the trash can, the associated callback is not called
In onMouseDown_(), the context menu of an unmovable block can be made shown so collapse or expand options are available for it. Hence, double-click can also apply to it
Since most clean-up work is done in onMouseUp_(), like terminateDrag_(), little is needed in the dblclick callback

This needs to be discussed with Neil, for compatibility with Blockly.

You may try this change here.
http://ai2newfeatures.appspot.com

We decided not to do this.   Double click to expand a block could be confusing because people might double click accidentally.


[BEAM-27] Add timerId to TimerData

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

This timerId is generated to be identical to historical behavior, and to be unique per time domain and timestamp.

R: @bjchambers


Refactor portal.js and merged with portal-experiment-v2

This pull fixes #59

@risenW I think there is still a misunderstanding here - the idea as i wrote in #61 was that
packages/portal => examples/catalog

Not ...
packages/portal => examples/catalog/portal

That is the packages/portal direcctory actually became the examples/catalog directory.
As I'm not doing a good job at communicating the intention I'll have a go at this directly ...

As I'm not doing a good job at communicating the intention I'll have a go at this directly ...

I've done this and closed #59
As the work here is now done i'll close this PR for now.


Split core UI code into separate library

I really like the UI elements you have built up for the debug window, and I am thinking that I would like to build a nicer build view that uses some of them (such as the expandable items, so I can display errors/warnings nicer). I would prefer not to duplicate your work, and so I was wondering if you would consider moving the core UI elements to a new repository and doing a git subtree (unfortunately with package control you can't use submodules)  to include it in yours. Then I could reference them as well through that method. This might take some rearchitecting though, but I think it could be a really nice UI library for plugins to use.

I probably don't have the time to do this at the moment. Some things should probably be taken out of the core ui if it was to be split out and it relies on some of the other code as well.
Its really not as flexible as it seems you are pretty much stuck laying things out in rows which is why the debugger is split into multiple phantoms. Also the text doesn't wrap and its fairly slow.

I've actually been working a bit on getting the Default.exec command with the debugger. The idea is to have the output go into the debugger console and have the debugger wait until it completes before debugging begins.


Handling Offers

Hi,
If two or more trades were sent to the bot within 1-2 seconds of eachother it would handle both of them twice, duplicating them basically. Is there a way of not letting this happen? A queue perhaps? If so, how would I go on about doing so?
Yoran.

If you have 2 offers at the same time it will be two separate offer objects, meaning that Bot.offers.getOffers() will return 2 things. If you handle them with a foreach statement then it shouldn't duplicate it.
Bot.offers.getOffers(... function(offers) {
    offers.forEach(function(offer) {
        handleOffer(offer);
    });
});

Closed due to inactivity.


Update sample-extension-plugin BWC version to 2.14.0

Description
Coming from the version increment PR 2.14.0 PR https://github.com/opensearch-project/job-scheduler/pull/605.
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Adding @cwperks @joshpalis @dbwiddis to please check this.
@bbarani

@prudhvigodithi Should this value be trailing by one minor version? If this is updated, the bwc tests would run with 2.14 -> 2.14.
Is there a failing check?

@cwperks thanks for checking this PR. I just followed the same way on how the bwc is managed for sample-extension-plugin, example https://github.com/opensearch-project/job-scheduler/pull/528. Since the 2.x is already incremented to 2.14.0 I have updated main (3.0.0) to 2.14.0.

Got it, thank you Prudhvi! This change LGTM. Should we look into implementing an automatic version increment for this?

Yes @cwperks I'm planning to leverage the gradle updateVersion task for this, but I'm curious if we need this sample-extension-plugin once we have proper unit and integ tests added.

IMO the sample-extension-plugin is a good reference for plugin developers wanting to incorporate scheduled jobs in their plugins. They can use sample-extension-plugin as a reference on how to implement the JobSchedulerExtension extension point and how to use the locking service.

Make sense, let me open an new issue and add more details on onboarding job-scheduler to integration testing pipeline and also in improving the code coverage.


Documentation from hell...

Reading MicroSoft's documentation always reminds me of one of Bart Simpson's math tests...
"At 7:30am an express train leaves the station for Santa Fe..."
https://youtu.be/6Jq_9ghf-jI
@@<< Cat...
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d670c64c-4030-312c-4355-ee518a23a56a
Version Independent ID: c20d4db8-d403-9218-c39d-47e56c34e767
Content: Partial views in ASP.NET Core
Content Source: aspnetcore/mvc/views/partial.md
Product: aspnet-core
Technology: aspnetcore-mvc
GitHub Login: @ardalis
Microsoft Alias: riande

Hello @OneGenkiGirl73 ... We can only address specific comments. If you send actionable feedback, we can re-open and work this.


CFE sometimes fails to promote to non-nullable based on null checks in guards

When running under the VM, the following constructs fail to promote:
var _ = switch (...) {
  int? y when y != null => ... // `y` is not promoted here
  ...
};
if (... case int? y when y != null) {
  // `y` is not promoted here
}
var _ = [if (... case int? y when y != null) ... // `y` is not promoted here
    ]; // And similar for sets and maps

However, trying to do the same thing with a switch statement does promote:
switch (...) {
  case int? y when y != null:
    // `y` is promoted to `int` here
}

This doesn't happen when running the CFE by itself (e.g. when testing in cfe-strong-linux mode). But it does happen if the program is run under the VM.
The analyzer properly promotes in all these circumstances.
I'm working on a fix.

This is happening because of inconsistencies in the CFE and the _fe_analyzer_shared logic about whether the expressions passed to flow analysis should be pre-lowered expressions or lowered expressions. The CFE logic for handling forms like y != null lowers the expression to !(y == null) when compiling for the VM, and uses the convention of passing the lowered expression to flow analysis. The shared logic for switch statements re-reads the guard expression after visiting it (picking up the lowered expression), and uses it in further calls to flow analysis. So it's effectively using the same convention. This is why the promotion works in switch statements. However, the shared logic for switch expressions, if-case statements, and if-case elements doesn't re-read the guard expression after visiting it, so effectively it's using the convention of passing the pre-lowered expression to flow analysis; as a result, promotion doesn't work.
I'm currently working on a fix that changes the shared logic to uniformly use convention of passing the pre-lowered expression to flow analysis, and adds a call to FlowAnalysis.forwardExpression to sync up the conventions when necessary. That should fix this issue in the short term. In the long term, I plan to fix the issue for good by switching everything over to using pre-lowered expressions (see https://github.com/dart-lang/sdk/issues/52189).


Add Codeowners

Motivation / Implements
Apollo is updating our standards to require a CODEOWNERS file for every repo in our organizations. This PR adds a CODEOWNERS file to this repo. Please customize the proposed CODEOWNERS file as needed prior to merging.
The SecOps team plans to merge this PR during the week of 2023-11-20 if it is not merged prior to that week.

Closing this as we've decided to archive this repo; it hasn't been maintained and is no longer up to date with 1.0, there is more value in snippets of code within our documentation that has context with the surrounding guides.


Improve aesthetics of calculator

I've been playing around with the style of the calculator a little bit, here is what I'e come up with:

Before
After

It uses a table rather than the original list of buttons and break-lines. Obviously buttons could be changed around, I wasn't sure how to fill the top two left buttons hence the brackets.
@MohitChattlani would you be interested with a PR for this?

let me have a look at this @PhyscoKillerMonkey

yes make a pr.

the pr has been merged @PhyscoKillerMonkey. Thanks.