Molecule create throws error using Docker on macOS

Using:

Python 2.7.12
Molecule 1.11.0
Docker 1.12.1 (Docker for Mac)

❯ molecule init foo --docker && cd foo
--> Initializing role foo...
Successfully initialized new role in /Users/yves.laroche/Desktop/foo...

~/Desktop/foo
❯ molecule create
--> Creating instances ...
Traceback (most recent call last):
  File "/usr/local/bin/molecule", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/molecule/cli.py", line 68, in main
    CLI().main()
  File "/usr/local/lib/python2.7/site-packages/molecule/cli.py", line 64, in main
    util.sysexit(c.execute()[0])
  File "/usr/local/lib/python2.7/site-packages/molecule/command/create.py", line 55, in execute
    self.molecule.driver.up(no_provision=True)
  File "/usr/local/lib/python2.7/site-packages/molecule/driver/dockerdriver.py", line 113, in up
    self._build_ansible_compatible_image()
  File "/usr/local/lib/python2.7/site-packages/molecule/driver/dockerdriver.py", line 216, in _build_ansible_compatible_image
    for tag in image.get('RepoTags')]
TypeError: 'NoneType' object is not iterable

What version of docker-py is installed on your system?  I can't reproduce this issue.
[jodewey:~/git/molecule]+ ± pip freeze | grep docker-py
You should consider upgrading via the 'pip install --upgrade pip' command.

❯  pip freeze | grep docker-py
docker-py==1.9.0
docker-pycreds==0.2.1

I can't reproduce.  I've nuked my docker data dir too (~/Library/Containers/com.docker.docker/Data/).
If you modify the following does that solve the problem?  I can submit a hotfix if it does.
/usr/local/lib/python2.7/site-packages/molecule/driver/dockerdriver.py
from
for tag in image.get('RepoTags')]
to
for tag in image.get('RepoTags', [])]

I get the same problem.
❯ molecule create
--> Creating instances ...
Traceback (most recent call last):
  File "/usr/local/bin/molecule", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/molecule/cli.py", line 68, in main
    CLI().main()
  File "/usr/local/lib/python2.7/site-packages/molecule/cli.py", line 64, in main
    util.sysexit(c.execute()[0])
  File "/usr/local/lib/python2.7/site-packages/molecule/command/create.py", line 55, in execute
    self.molecule.driver.up(no_provision=True)
  File "/usr/local/lib/python2.7/site-packages/molecule/driver/dockerdriver.py", line 113, in up
    self._build_ansible_compatible_image()
  File "/usr/local/lib/python2.7/site-packages/molecule/driver/dockerdriver.py", line 216, in _build_ansible_compatible_image
    for tag in image.get('RepoTags', [])]
TypeError: 'NoneType' object is not iterable

Thanks, I have deleted my Docker data dir and it is working now.

👍 🎸

I deleted any image which showed <none> in either the repository or tag column of docker images output to get around this issue


breaking: add DefaultValue type with source and key

This makes it easy to track the source of default values.
Middleware and Help providers can take advantage of this
for logging and troubleshooting.

implemented in another PR for v3 in a non-breaking way


⚠ Mobitopup has degraded performance

In c9b802c, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 6198 ms

Resolved: Mobitopup performance has improved in b35b56f.


[mongodb-replicaset] Add postinstall jobs

https://github.com/helm/charts/issues/6626
Allows follow up initialization of the mongo cluster.
@foxish @unguiculus

/assign @foxish
/assign @unguiculus


Unexpected '@' in program - v3

Hi, I wanted to use v3 branch which seems to work great on Android but on iOS it causes the following error
Unexpected '@' in program.
And the next line is throwing 'Property 'allowsMultipleSelection' not found on objectof type 'UIDocumentPicketViewController *'
https://github.com/Elyx0/react-native-document-picker/blob/374e329dcc58c29049f97c96b317015b01c4fb73/ios/RNDocumentPicker/RNDocumentPicker.m#L65

Oh... hmm, this syntax requires Xcode 9. We may have to add an #if of some sort to make this work on different versions.

Try the v3 branch again, I just tried adding a conditional:
https://github.com/Elyx0/react-native-document-picker/commit/20f937a3463e5a31e8367467dcb4292fff32c4f2#diff-a6dde2a64fd2482aa26815585266c556

@dantman Thanks! It compiles fine on xCode 8.2.2 right now


Difference between my project code and Ohm Editor with the same grammar and input

Hello, I used the editor to write my grammar and when I copy it in my project, the result is not the same as in the editor.
This is my grammar:
IPFilter {
    Expr =
        "(" Expr ")" -- parenthesis
        | Expr "and" Expr -- and
        | Expr "or" Expr -- or
        | "!" Expr --not
        | IP
    Filter =
        digit+ "-" digit+ -- range
        | digit+
    IP = Filter "." Filter "." Filter "." Filter
}

and the input !(<IP_ADDRESS> or <IP_ADDRESS>) and <IP_ADDRESS> produces the following AST

However, the same input in my code misses parenthesis and ! nodes.
Did I miss something ?

Hi @7pri2, can you explain what you mean by "the same input in my code misses parenthesis and ! nodes."? E.g., can you describe what you expected to happen and what actually happened?

I expected to get the AST in the screenshot, but what I got was the same AST but without the Expr -- parenthesis and the Expr -- not, so when I use ohm.extras.toAST, I get:

Expr -- and

Expr -- or

IP

IP

instead of the following AST I expected

Expr -- and

Expr -- not

Expr -- parenthesis

Expr -- or

IP
IP

IP

Ah, I see.
The visualizer shows the concrete syntax tree (or parse tree), whereas toAST returns an abstract syntax tree. The difference is basically that the AST is higher-level representation. E.g., you might change the syntax of your language to use not instead of !, but the representation in the AST would not change.
Make sense?
I'll go ahead and close this since it doesn't appear there is an actual bug here, but please feel free to reopen if I'm wrong.


version 2.0.3 hidden support gone and range[] not working

Hey,
I've upgraded to version 2.0.3 and now the hidden attribute is not not working, also the range has no effect.
@ApiModelProperty(hidden = true, access = "hide")
@JsonProperty(value = "_meta")

And this also:
        @ApiImplicitParam(name = "limit", "range[1, 10000]")

I have to admit that range did not work in 2.0.1 either.

I actually downgraded to 2.0.2 and still works fine (the hidden attribute).

So it appears that you're not using the right packages to annotate your models. make sure your @Api... annotations are coming from io.swagger.* not the wordnik one.

I am using the io.swagger ones

I don't really care about hidden right now - I'm ok with 2.0.2 version, but what about range? Does springfox support it?

I'm unable to reproduce this issue; for this definition
@ApiOperation(value = "Delete a bundle")
    @ApiResponses(value = { @ApiResponse(code = 204, message = "NO_CONTENT"),
            @ApiResponse(code = 500, message = "Internal Server Error") })
    @RequestMapping(value = "/bundle/{bundleId}", method = RequestMethod.DELETE)
    @ResponseStatus(value = HttpStatus.NO_CONTENT)
    @ApiImplicitParams(value = {
            @ApiImplicitParam(name = "test", paramType = "header", allowableValues = "range[1,5]", dataType = "string")
    })
    public
    @ResponseBody
    ResponseEntity<Void> delete(@PathVariable String bundleId) {
        return new ResponseEntity<Void>(HttpStatus.OK);
    }

I get this

I wish I could confirm this. I tried with io.springfox:springfox-swagger2:2.0.3. That's the only gradle deps I have.
        @ApiImplicitParam(name = "test", paramType = "header", allowableValues = "range[1,5]")

@ApiImplicitParam(name = "limit", required = false, dataType = "int",
paramType = "query",
allowableValues = "range[1,10000]")
None of them work. I can provide any value at all - and all will pass :(


Have you considered using Branches or Tags for "Released Versions"?

Hi @anthonny
I was wondering whether you might consider creating branches for releases considered "Stable".
I like to rebase from upstream regularly, but I'm sometimes not sure at what stage of development some commits are at?
Does this make sense to do for this project? I could document it in the Readme, and you could announce using social media that a new stable version is released and users should update.
Just a thought, mate. Keep up the awesome work. I'm really enjoying using HubPress. It makes me want to blog more and more.

Hi @jaredmorgs !
I think i'll create a branch development with the sources soon, then i think i'll make a version every 3 weeks with a tag. The process will be :

Tag development when it's ready for release,
Build a dist version from development and push the dist in master and gh-pages.
Tag master master and gh-pages something like dist-master-
Create a tool to update a user repository, the tool takes the master and gh-pages tags and updates user branchs

wdyt?

👍👍👍

I think we have this covered from a process perspective on https://hubpress.gitbooks.io/hubpress-knowledgebase/content/develop/contribute_pr.html
The update button is now also covered in https://hubpress.gitbooks.io/hubpress-knowledgebase/content/admin/update_hubpress.html
I'm going to close off this issue.


question : is it possible to have a larger loader

I have tried to modify the  loader-container class to have a bigger loader overlay ( the spinner and the black background) but actually it doesn't work.
Here is the new class, i used:

.loader-container {
  height: 200px;
  width: 100%;
  position: relative;
  border: 1px solid #CCCCCC;
  overflow: hidden;
}

Is it possible to do have a larger loader?
Thanks in advance,

The loader-container class is just for the example. You can overwrite or add styles to the loader-content class in order to adjust the styles of the actual loader.


build failure on flutter 2.8

After upgrading to the latest version of flutter(v2.8), my project fails to build on Android and iOS.
Below is the logs:
[+2396 ms] > Task :app:compileFlutterBuildDebug
[        ] [ +137 ms] executing: sysctl hw.optional.arm64
[        ] [  +27 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] [        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] [   +9 ms] executing: [/Users/etornam/Development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +17 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] cf4400006550b70f28e4b4af815151d1e74846c6
[        ] [        ] executing: [/Users/etornam/Development/flutter/] git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[        ] [  +32 ms] Exit code 0 from: git tag --points-at cf4400006550b70f28e4b4af815151d1e74846c6
[        ] [        ] 2.8.0
[        ] [  +12 ms] executing: [/Users/etornam/Development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/Users/etornam/Development/flutter/] git ls-remote --get-url origin
[        ] [  +15 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +92 ms] executing: [/Users/etornam/Development/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +17 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [   +8 ms] executing: sw_vers -productName
[        ] [  +16 ms] Exit code 0 from: sw_vers -productName
[        ] [        ] macOS
[        ] [        ] executing: sw_vers -productVersion
[        ] [  +16 ms] Exit code 0 from: sw_vers -productVersion
[        ] [        ] 12.0.1
[        ] [        ] executing: sw_vers -buildVersion
[        ] [  +17 ms] Exit code 0 from: sw_vers -buildVersion
[        ] [        ] 21A559
[        ] [  +72 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.
[   +8 ms] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] 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.
[        ] [ +145 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [   +4 ms] 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.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] [        ] 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.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +67 ms] Initializing file store
[        ] [  +32 ms] Skipping target: gen_localizations
[        ] [  +25 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/Users/etornam/Projects/FlutterProjects/african_observation_app/.dart_tool/package_config_subset}
[        ] [  +52 ms] Found plugin app_tracking_transparency at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/app_tracking_transparency-2.0.2+1/
[        ] [  +12 ms] Found plugin audio_session at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/audio_session-0.1.6+1/
[        ] [  +17 ms] Found plugin cloud_firestore at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.4/
[        ] [   +4 ms] Found plugin cloud_firestore_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.4/
[        ] [   +2 ms] Found plugin connectivity at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/connectivity-3.0.6/
[        ] [   +2 ms] Found plugin connectivity_for_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/connectivity_for_web-0.4.0+1/
[        ] [   +1 ms] Found plugin connectivity_macos at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/connectivity_macos-0.2.1+2/
[        ] [  +16 ms] Found plugin firebase_analytics at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-9.0.2/
[        ] [   +2 ms] Found plugin firebase_analytics_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_analytics_web-0.4.0+2/
[        ] [   +1 ms] Found plugin firebase_core at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.10.5/
[        ] [   +2 ms] Found plugin firebase_core_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.5.2/
[        ] [   +1 ms] Found plugin firebase_crashlytics at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_crashlytics-2.4.3/
[        ] [   +2 ms] Found plugin firebase_dynamic_links at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_dynamic_links-4.0.2/
[        ] [   +1 ms] Found plugin firebase_in_app_messaging at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_in_app_messaging-0.6.0+4/
[        ] [   +1 ms] Found plugin firebase_messaging at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.2.3/
[        ] [   +2 ms] Found plugin firebase_messaging_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_web-2.2.4/
[        ] [   +1 ms] Found plugin firebase_remote_config at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-1.0.2/
[        ] [   +2 ms] Found plugin firebase_remote_config_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config_web-1.0.2/
[        ] [  +14 ms] Found plugin flutter_local_notifications at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-9.1.5/
[        ] [   +8 ms] Found plugin flutter_pdfview at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/flutter_pdfview-1.2.1/
[        ] [   +1 ms] Found plugin flutter_plugin_android_lifecycle at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.2/
[        ] [  +11 ms] Found plugin image_cropper at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/image_cropper-1.4.1/
[        ] [   +1 ms] Found plugin image_picker at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.4+4/
[        ] [   +1 ms] Found plugin image_picker_for_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.3/
[        ] [   +5 ms] Found plugin just_audio at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/just_audio-0.9.18/
[        ] [   +2 ms] Found plugin just_audio_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/just_audio_web-0.4.2/
[        ] [  +12 ms] Found plugin open_file at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/open_file-3.2.1/
[        ] [   +1 ms] Found plugin package_info at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/package_info-2.0.2/
[        ] [   +4 ms] Found plugin path_provider at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.8/
[        ] [   +1 ms] Found plugin path_provider_android at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.9/
[        ] [   +1 ms] Found plugin path_provider_ios at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.7/
[        ] [   +1 ms] Found plugin path_provider_linux at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.0.2/
[        ] [   +2 ms] Found plugin path_provider_macos at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.2/
[        ] [   +2 ms] Found plugin path_provider_windows at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.3/
[        ] [   +3 ms] Found plugin permission_handler at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/permission_handler-8.3.0/
[        ] [   +4 ms] Found plugin pusher_client at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/pusher_client-2.0.0/
[        ] [   +1 ms] Found plugin quick_actions at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/quick_actions-0.6.0+8/
[        ] [   +4 ms] Found plugin share at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/
[        ] [   +1 ms] Found plugin shared_preferences at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.7/
[        ] [   +1 ms] Found plugin shared_preferences_linux at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.0.2/
[        ] [   +1 ms] Found plugin shared_preferences_macos at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.2/
[        ] [   +1 ms] Found plugin shared_preferences_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.2/
[        ] [        ] Found plugin shared_preferences_windows at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.0.2/
[        ] [   +2 ms] Found plugin sqflite at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.0+4/
[        ] [   +8 ms] Found plugin url_launcher at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.17/
[        ] [        ] Found plugin url_launcher_android at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.13/
[        ] [        ] Found plugin url_launcher_ios at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.13/
[        ] [        ] Found plugin url_launcher_linux at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-2.0.1/
[        ] [   +1 ms] Found plugin url_launcher_macos at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-2.0.1/
[        ] [   +1 ms] Found plugin url_launcher_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.4/
[        ] [        ] Found plugin url_launcher_windows at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-2.0.2/
[        ] [   +1 ms] Found plugin video_player at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/video_player-2.2.7/
[        ] [   +1 ms] Found plugin video_player_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/video_player_web-2.0.3/
[        ] [        ] Found plugin wakelock at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/wakelock-0.5.3+3/
[        ] [        ] Found plugin wakelock_macos at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/wakelock_macos-0.1.0+2/
[        ] [   +1 ms] Found plugin wakelock_web at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/wakelock_web-0.2.0+2/
[        ] [   +1 ms] Found plugin webview_flutter at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.0/
[        ] [        ] Found plugin webview_flutter_android at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.8.0/
[        ] [   +1 ms] Found plugin webview_flutter_wkwebview at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.7.0/
[        ] [        ] Found plugin wifi_info_flutter at /Users/etornam/.pub-cache/hosted/pub.dartlang.org/wifi_info_flutter-2.0.2/
[        ] [  +38 ms] gen_dart_plugin_registrant: Complete
[        ] [   +2 ms] kernel_snapshot: Starting due to {}
[        ] [  +23 ms] /Users/etornam/Development/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/Users/etornam/Development/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/etornam/Development/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
/Users/etornam/Projects/FlutterProjects/african_observation_app/.dart_tool/package_config.json --output-dill
/Users/etornam/Projects/FlutterProjects/african_observation_app/.dart_tool/flutter_build/12049f001896026e0eb99f2fad4d1e95/app.dill --depfile
/Users/etornam/Projects/FlutterProjects/african_observation_app/.dart_tool/flutter_build/12049f001896026e0eb99f2fad4d1e95/kernel_snapshot.d
/Users/etornam/Projects/FlutterProjects/african_observation_app/.dart_tool/flutter_build/generated_main.dart
[+6824 ms] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/scale.dart:32:11: Error: No named parameter with the name
'delta'.
[        ]           delta: delta,
[        ]           ^^^^^
[  +17 ms] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/scale.dart:339:43: Error: Too few positional arguments: 2
required, 1 given.
[        ]           focalPointDelta > computePanSlop(pointerDeviceKind))
[        ]                                           ^
[        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2116:8: Context: Found this candidate, but the arguments don't match.
[        ] double computePanSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ]        ^^^^^^^^^^^^^^
[   +2 ms] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/drag.dart:46:66: Error: Too few positional arguments: 2
required, 1 given.
[        ]     final double minDistance = minFlingDistance ?? computeHitSlop(kind);
[        ]                                                                  ^
[        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
[        ] double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ]        ^^^^^^^^^^^^^^
[        ] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/drag.dart:54:55: Error: Too few positional arguments: 2
required, 1 given.
[        ]     return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
[        ]                                                       ^
[        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
[        ] double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ]        ^^^^^^^^^^^^^^
[        ] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/drag.dart:101:66: Error: Too few positional arguments: 2
required, 1 given.
[        ]     final double minDistance = minFlingDistance ?? computeHitSlop(kind);
[        ]                                                                  ^
[        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
[        ] double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ]        ^^^^^^^^^^^^^^
[        ] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/drag.dart:109:55: Error: Too few positional arguments: 2
required, 1 given.
[        ]     return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
[        ]                                                       ^
[        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't match.
[        ] double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ]        ^^^^^^^^^^^^^^
[ +428 ms] ../../../.pub-cache/hosted/pub.dartlang.org/settings_ui-1.0.0/lib/src/cupertino_settings_item.dart:76:51: Error: A value of type 'ListTileThemeData' can't
be assigned to a variable of type 'ListTileTheme'.
[        ]  - 'ListTileThemeData' is from 'package:flutter/src/material/list_tile.dart'
('../../../Development/flutter/packages/flutter/lib/src/material/list_tile.dart').
[        ]  - 'ListTileTheme' is from 'package:flutter/src/material/list_tile.dart'
('../../../Development/flutter/packages/flutter/lib/src/material/list_tile.dart').
[        ]     final ListTileTheme tileTheme = ListTileTheme.of(context);
[        ]                                                   ^
[+4796 ms] [+12534 ms] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/scale.dart:32:11: Error: No named parameter with the
name 'delta'.
[        ] [   +2 ms]           delta: delta,
[        ] [        ]           ^^^^^
[        ] [  +10 ms] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/scale.dart:339:43: Error: Too few positional
arguments: 2 required, 1 given.
[        ] [        ]           focalPointDelta > computePanSlop(pointerDeviceKind))
[        ] [        ]                                           ^
[        ] [        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2116:8: Context: Found this candidate, but the arguments don't
match.
[        ] [        ] double computePanSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ] [        ]        ^^^^^^^^^^^^^^
[        ] [   +2 ms] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/drag.dart:46:66: Error: Too few positional arguments:
2 required, 1 given.
[        ] [        ]     final double minDistance = minFlingDistance ?? computeHitSlop(kind);
[        ] [        ]                                                                  ^
[        ] [        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't
match.
[        ] [        ] double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ] [        ]        ^^^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/drag.dart:54:55: Error: Too few positional arguments:
2 required, 1 given.
[        ] [        ]     return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
[        ] [        ]                                                       ^
[        ] [        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't
match.
[        ] [        ] double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ] [        ]        ^^^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/drag.dart:101:66: Error: Too few positional
arguments: 2 required, 1 given.
[        ] [        ]     final double minDistance = minFlingDistance ?? computeHitSlop(kind);
[        ] [        ]                                                                  ^
[   +9 ms] [        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't
match.
[        ] [        ] double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ] [        ]        ^^^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/extended_image-5.1.3/lib/src/gesture_detector/drag.dart:109:55: Error: Too few positional
arguments: 2 required, 1 given.
[        ] [        ]     return _globalDistanceMoved.abs() > computeHitSlop(pointerDeviceKind);
[        ] [        ]                                                       ^
[        ] [        ] ../../../Development/flutter/packages/flutter/lib/src/gestures/events.dart:2103:8: Context: Found this candidate, but the arguments don't
match.
[        ] [        ] double computeHitSlop(PointerDeviceKind kind, DeviceGestureSettings? settings) {
[        ] [        ]        ^^^^^^^^^^^^^^
[ +380 ms] [ +431 ms] ../../../.pub-cache/hosted/pub.dartlang.org/settings_ui-1.0.0/lib/src/cupertino_settings_item.dart:76:51: Error: A value of type
'ListTileThemeData' can't be assigned to a variable of type 'ListTileTheme'.
[        ] [        ]  - 'ListTileThemeData' is from 'package:flutter/src/material/list_tile.dart'
('../../../Development/flutter/packages/flutter/lib/src/material/list_tile.dart').
[        ] [        ]  - 'ListTileTheme' is from 'package:flutter/src/material/list_tile.dart'
('../../../Development/flutter/packages/flutter/lib/src/material/list_tile.dart').
[        ] [        ]     final ListTileTheme tileTheme = ListTileTheme.of(context);
[        ] [        ]                                                   ^
[+7698 ms] [+7703 ms] Persisting file store
[        ] [   +4 ms] Done persisting file store
[        ] [   +4 ms] Target kernel_snapshot failed: Exception
[        ]            #0      KernelSnapshot.build (package:flutter_tools/src/build_system/targets/common.dart:241:7)
[        ]            <asynchronous suspension>
[        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:9)
[        ]            <asynchronous suspension>
[        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart)
[        ]            <asynchronous suspension>
[        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:777:32)
[        ]            <asynchronous suspension>
[        ]            #4      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
[        ]            <asynchronous suspension>
[        ]            #5      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:317:32)
[        ]            <asynchronous suspension>
[        ]            #6      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
[        ]            <asynchronous suspension>
[        ]            #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #8      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #9      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
[        ]            <asynchronous suspension>
[        ]            #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #11     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[   +8 ms]            <asynchronous suspension>
[        ]            #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #14     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[  +90 ms] [  +15 ms] "flutter assemble" took 21,335ms.
[        ] [   +6 ms]
[        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:334:7)
[        ]            <asynchronous suspension>
[        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
[        ]            <asynchronous suspension>
[        ]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
[        ]            <asynchronous suspension>
[        ]            #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
[        ]            <asynchronous suspension>
[        ]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
[        ]            <asynchronous suspension>
[        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
[        ]            <asynchronous suspension>
[        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
[        ]            <asynchronous suspension>
[        ]            #10     main (package:flutter_tools/executable.dart:94:3)
[        ]            <asynchronous suspension>
[ +195 ms] [ +253 ms] ensureAnalyticsSent: 252ms
[        ] [   +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.5/userguide/command_line_interface.html#sec:command_line_warnings
[        ] 1 actionable task: 1 executed
[        ] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script '/Users/etornam/Development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1070
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[        ] > Process 'command '/Users/etornam/Development/flutter/bin/flutter'' finished with non-zero exit value 1
[        ] * Try:
[        ] 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.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 25s
[ +447 ms] Running Gradle task 'assembleDebug'... (completed in 25.9s)
[   +4 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +2 ms] "flutter run" took 31,743ms.
[   +4 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:674:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>

[ +254 ms] ensureAnalyticsSent: 252ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

https://github.com/fluttercandies/extended_image/issues/400


Num Lock and Caps Lock issues while using gfx feature

Hello, i face some problems about Num Lock and Caps Lock issues while enabled gfx features.
Num Lock
If i enabled gfx features (i.e. /gfx, +gfx-thin-client or +gfx-h264), the Num Lock will always off by default in remote session whatever it is on or off before remote. So sometimes it may be opposite.
But if i don't use gfx features, there is no problem.
Caps Lock
If i enabled gfx features, the Caps Lock will always lowercase by default in remote session whatever it is on or off before remote. But Caps Lock will auto fix this problem.
If i don't use gfx features, there is no problem.
Caps Lock off --> remote by freerdp --> lowercase in remote session --> everything all right
Caps Lock on --> remote by freerdp --> lowercase in remote session --> press Caps Lock (turn off) --> still lowercase in remote session --> press Caps Lock (turn on) --> uppercase in remote session --> auto fix problem.

Test environment.
Device: Raspberry Pi 2
pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux

pi@raspberrypi ~ $ cat /etc/*-release
PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
NAME="Raspbian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=raspbian
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

pi@raspberrypi ~ $ more /etc/debian_version
7.8

pi@raspberrypi ~ $ uname -a
Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux

FreeRDP version: 1.2.4-dev (git dfa2980)
The dependencies i installed for FreeRDP
sudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libxi-dev libavutil-dev libavcodec-dev libxtst-dev libgtk-3-dev libgcrypt11-dev libssh-dev libpulse-dev libvte-2.90-dev libxkbfile-dev libfreerdp-dev libtelepathy-glib-dev libjpeg-dev libgnutls-dev libgnome-keyring-dev libavahi-ui-gtk3-dev libvncserver-dev libappindicator3-dev intltool libgstreamer-plugins-base1.0-dev xsltproc docbook-xsl

Please advice.
Thank you.
Best regards,
Rex Fan

@RexFan what server are you connecting to and testing with? I just tried to reproduce your reported behavior with the latest nightly build against different windows version but couldn't observe any problems.

@bmiklautz I test this with windows server 2012 R2. And I compile freerdp with only -DTARGET_ARCH=ARM parameter. Maybe there are something confused you what i mentioned above. With gfx features, if my Num Lock LED is on before remote, the LED is still on after remote to server 2012 R2. But the function is same as Num Lock off even the LED is on in remote session. Any advice? Thanks.

@RexFan are you doing a cross compilation or native? - In the later case I think you don't need DTARGET_ARCH=ARM.
I don't think there is a confusion however here how I've tested (for example CAPS Lock):

Turn CAPS Lock on

connect to a remote

check in notepad if caps lock is really on

disconnect

Turn CAPS Lock off

connect to a remote

check in notepad if caps lock is off

disconnect

I don't exactly know what you meant with "if my Num Lock LED is on before remote" - Where do you have a led when connecting remote?

@bmiklautz I am sorry my English is not good. The Num Lock button on my keyboard has a "light" on it. I think i use wrong word.
I use raspberry pi 2 which is ARM architecture. So i use cmake to compile freerdp. Below is my script.
cmake -DTARGET_ARCH=ARM -DCMAKE_INSTALL_PREFIX:PATH=/home/pi/freerdp

@bmiklautz I found there were some warnings occurred while compiling freerdp, which were related to gfx.
Scanning dependencies of target rdpgfx-client
[ 90%] Building C object channels/rdpgfx/client/CMakeFiles/rdpgfx-client.dir/rdpgfx_main.c.o
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_recv_caps_confirm_pdu’:
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:122:17: warning: unused variable ‘gfx’ [-Wunused-variable]
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_send_frame_acknowledge_pdu’:
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:146:17: warning: unused variable ‘gfx’ [-Wunused-variable]
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_recv_pdu’:
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:731:17: warning: unused variable ‘gfx’ [-Wunused-variable]
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_on_open’:
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:876:17: warning: unused variable ‘gfx’ [-Wunused-variable]
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_on_close’:
/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:888:17: warning: unused variable ‘gfx’ [-Wunused-variable]
[ 90%] Building C object channels/rdpgfx/client/CMakeFiles/rdpgfx-client.dir/rdpgfx_codec.c.o
[ 91%] Building C object channels/rdpgfx/client/CMakeFiles/rdpgfx-client.dir/rdpgfx_common.c.o

And some other warnings may cause issues.
Scanning dependencies of target xfreerdp-client
[ 96%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_gdi.c.o
[ 97%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_gfx.c.o
[ 97%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_rail.c.o
[ 97%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_tsmf.c.o
[ 97%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_input.c.o
[ 98%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_event.c.o
[ 98%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_channels.c.o
[ 98%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_cliprdr.c.o
[ 98%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_monitor.c.o
[ 99%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_graphics.c.o
[ 99%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_keyboard.c.o
[ 99%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_window.c.o
/home/pi/FreeRDP/client/X11/xf_window.c: In function ‘get_shm_id’:
/home/pi/FreeRDP/client/X11/xf_window.c:339:2: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ [-Wformat]
/home/pi/FreeRDP/client/X11/xf_window.c:339:2: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ [-Wformat]
[100%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_client.c.o

Please advice. Many thanks.

@RexFan the warnings shouldn't be related to your problem. As said before I couldn't reproduce your problem. Maybe it's an arm specific issue but I can't test since I don't have any arm device around at the moment.

I don't know how about Caps but for Num I think I've got the same.
Nettop with Intel Atom D2700. Since the chip is provided with a GMA 3600 (дай бог им здоровья *russian sarcasm*), I have to use ubuntu 12.04 i386. I don't have any display managers, all I do is
exec startx
~/.xinitrc:
/usr/local/bin/xfreerdp /bla:bla +bla
So if I add numlockx on at first line...
with gfx:
Num led is on, numbers are off
without gfx:
Num led is on, numbers are on
I thought that some problem in my X configuration until this issue

kernel version is 3.2

@dd-jacks thanks for the feedback. What FreeRDP version and server side do you use?
If this is in fact a problem it would be nice if I could properly reproduce it.

@bmiklautz
git pull a few hour ago
server-side is Windows 2012 R2

@dd-jacks thanks. Also tested with the latest master and against Windows 2012 R2. No problem ;(.
Did you try if the problem also exists if you don't start a regular window manager and start xfreerdp manually?

@bmiklautz
tty1:
X :0 vt7

push numlock button at vt7 (now led is on)
tty2:
export DISPLAY=:0
xfreerdp /v:myserver /f /rfx /sec:rdp

everything works, closing xfreerdp
xfreerdp /v:myserver /f /rfx /sec:rdp +gfx-h264

num led is on, numbers are off
~$ uname -r
3.2.0-87-generic

I can't test another kernel now, but at my PC workstation with ubuntu 14.04 and kernel 3.13 it worked well (with/without GNOME)

@dd-jacks the kernel shouldn't (hopefully) influence this.
The test above is without any window manager right?
How do you "close" xfreerdp between the tests?

@bmiklautz
Yes, without window manager, closing by "Esc"

Fedora 22
kernel 4.1.2-200.fc22.x86_64
Gnome
from gnome-terminal problem exist

@bmiklautz  i deployed a debian 7.7 x64 vm and do above testing. The problem is still there. So it may not caused by arm architecture. May i know your freerdp compile command and have a try?

@RexFan with libopenh264 installed I just the following in the cloned FreeRDP directory:
cmake -DWITH_OPENH264=ON -DCMAKE_BUILD_TYPE=Debug .
make -j8

@bmiklautz I try your command and try without installing openh264. But both have this issue. (Local host: Debian x64; Remote side: 2012R2)
With openh264
cmake -DWITH_OPENH264=ON -DCMAKE_BUILD_TYPE=Debug

Without openh264 (Not installed)
cmake -DCMAKE_BUILD_TYPE=Debug

The remote command i used is given below.
xfreerdp -sec-nla /cert-ignore /u: /f /gfx /v:x.x.x.x

Do you have any other suggestions?

I am getting this exact behaviour as well with the following command line:
$BIN/xfreerdp /rfx  /gfx +gfx-progressive -bitmap-cache -offscreen-cache -glyph-cache -themes -wallpaper /d:DOMAIN /sec:nla /cert-ignore /f /bpp:32 +auto-reconnect /u:$USER /p:$PASS /v:$IP
In fact, the NUMLOCK problem does not appear when I am not using /gfx command line options. This is a Ubuntu 14.04.3 LTS system connecting to a 2012 R2 RDS server.

Is this still an issue? Can not reproduce.

@akallabeth for me using any /gfx options no longer exhibits the strange NUMLOCK/CAPSLOCK behavior using the latest master git version.

Spoke to soon on this I am afraid. Using the latest git master FreeRDP version 2.0.0-dev (d982cf0) connecting to a W2K12R264 RDS server with /gfx +gfx-progressive command line options using a Lubuntu 16.04.3 LTS client I still see the original issues the OP stated. Using @bmiklautz tests from above, this is what we are seeing here:
Test 1:
On the Linux thin client, turn CAPSLOCK on prior to connecting to server. Connect to server. Start notepad and test. Result is lowercase. Press CAPSLOCK once, still lowercase. Press once more, than uppercase. Disconnect back to the client, still in uppercase.
Test 2:
On the Linux thin client, do not turn on CAPSLOCK prior to connecting to server. Connect to server. Start notepad and test. Result is lowercase as expected. Press CAPSLOCK once, uppercase works. Press once more, lowercase as expected. Disconnect back to the client, still lowercase as expected.
Summary:
When CAPSLOCK is on at the client prior to connecting, the CAPSLOCK must be pressed twice in order to be recognized on the server. Wehn CAPSLOCK is off on the client prior to connecting, the sequencing works as expected.
Sorry for the late testing, I know another RC is forthcoming. Although I personally did not test NUMLOCK, my users complain that it also broken in the same way as CAPSLOCK.

@gh-user-7392 Ok, so I just ran those test againsts windows 7,8,8.1,10, server 2012 essentials. Everything works as expected.
Just to check if something has changed in the meantime:

Did you test with your own build or our nightlies?
What kind of hardware are you using to run xfreerdp?

@gh-user-7392 I've created a branch which synchronizes the modifier key state whenever a modifier key is pressed (to be exact when released)
https://github.com/akallabeth/FreeRDP/tree/key_sync
Would be interesting to know if that fixes the issue for you.

@akallabeth to answer your first set of questions, I tested this with the latest master git that I compiled as a release. I also went back and installed the freerdp-nightly version 2.0.0-dev (2f281c06b). In both cases we saw the same problems. I am testing this remotely using a high-end Lenovo laptop running Lubuntu 16.04.3 LTS and onsite using custom thin clients that are basically AMD GX-415GA SOC with Radeon HD Graphics. They are using standard Logitech mice and keyboards. Since this is doing this for us using two different types of hardware it seems like it is not a coincidence. I am also surprised that the original author of this issue has not responded yet. The only common denominator I see is Lubuntu which is LXDE-based. I will spin up Debian 9 and CentOS VMs and see if it does this on them.
I tried your branch on both laptop and onsite and it exhibits the same problems as before, sorry.

As a follow-up to my testing I found something interesting that may help you. Looking at an obscure Microsoft Support Document on CAPSLOCK sync with Windows 2012 Server I found a workaround that may shed some light on the problem. The document found here:  https://support.microsoft.com/en-us/help/3120433/caps-lock-key-unexpectedly-inverts-characters-in-a-remote-desktop-sess describes a workaround as:
To make the client and the remote desktop session Caps Lock key sync again, you need to minimize the remote desktop session window or click the mouse outside the remote desktop session window, and then click it again.
This made me think that if you are in a full screen session then you would not think to do this or have the ability unless you CTRL-ALT-ENTER to minimize the session. So, I tested this out by turning CAPSLOCK on and connecting to the server using a /size: option so it would not be in full-screen. I then opened notepad, clicked outside of the session and then back in and started typing in notepad. It turns out that the CAPSLOCK was working when you do this. So it appears there is some syncing going on with the windows server as a result of this clicking outside the session.
I also spun up a Debian 9 VM and this resulted in the same problem. So it is clearly distro agnostic at this point. I hope this helps you in your quest to reproduce this problem. Please let me know if I can help test anything else.

Ok, so it looks like it is a win 2k12 bug. The workaround they mention is does something similar as I've done in my branch. Did you try that?

Yes I tried your branch and it has the same problem as the original git master. I guess you were never able to reproduce the problem yourself though.

Not to overly complicate the issue but I just compiled the latest git of Remmina and FreeRDP together and ran FreeRDP through Remmina at full screen and the problem goes away. I'm not sure if this is because Remmina is an external program or whether it is doing some syncing of it's own behind the scenes. Just thought I would throw that out there in case it helps....

That is indeed interesting. Remmina does no extra sync at all, but they send  a TAB up like we do in FocusInEvent.
Did change my branch to send that too, could you confirm?
Btw, no I was never able to reproduce, so something is missing to get a reliable test case for this.

I am sorry to report that the changes in your branch did not have any effect. I am still seeing the same behavior when connecting to W2K12R2 and WIN8 PRO. I see you deferred this problem to RC2. I think this is a reasonable thing to do for the time being. I will inform our user base about the workaround until a solution is found. Thanks again for all your great efforts on this software.

@gh-user-7392 when the problem occurs is it a re-connect to a running session or does this also happen if a new RDP session is started (so the user logs in)?

Hi @bmiklautz, this occurs only when a new connection is made to the server. If a user reattaches to a disconnected session, then there is no problem. In this particular setup I have several RDS servers in a collection without load balancing. In other words, I have disabled the GPO "Use RD Connection Broker load balancing"; otherwise, it causes problems during direct connections.

@gh-user-7392 Is this still an issue with current nightlies?
We fixed redirection issues which might be related.

@akallabeth sorry, no go. Latest master using any /gfx related flags still exhibits the CAPS/NUM sync problems.

No longer reproducible with 2.0.0-rc4, closing.
Reopen / create a new issue if it can be reproduced with current versions.


Feat/blog_tags

Add the ability to tag to blog posts, and to filter blog posts by tags.

Kept conflicting changes from the feature branch. These consisted mainly of refactoring functions to be more versatile and to fit in with added functionality.


Update broken command in docs to add an existing project to GitHub using the command line

Here is the output I get with the original command
$ git pull --set-upstream origin main
error: unknown option `set-upstream'
usage: git pull [<options>] [<repository> [<refspec>...]]
...

Just executing $ git pull origin main does the trick here.

Why:
Closes [#11030]

What's being changed:

Changing the command from $ git pull --set-upstream origin main to $ git pull origin main in the documentation file. This fixes the broken command mentioned in the issue, helps increase clarity of what the command is expected to do.
Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

content/github/importing-your-projects-to-github/importing-source-code-to-github/adding-an-existing-project-to-github-using-the-command-line.md

@Jassi10000
Thanks for the comment. Unfortunately, I am unable to understand what you are trying to convey. While I understand what --set-upstream does, I am not sure if it is a flag for git pull as of today. I think the error does not recognize this flag, but it seems maybe the error is not that.
Could you please write the command to pull changes from a newly made repository, that is, to achieve the expected result of step 5 of this article? I would love to learn more from you! Thanks!


[Feature request] Validation.ErrorTemplate constistency

Some controls like the ComboBox don't use "Validation.ErrorTemplate" to show error messages.
This makes styling very difficult without overriding the whole control template.
Please use Validation.ErrorTemplate for error displaying.

closed in 8e707a66

closed in 8e707a66


Start minimized?

How can I start the rocketchat client on Linux in minimized to tray mode?
thank you! :)

@gdelavald, I would like to work on this issue. Thanks :)

If you wanna start it minimized to tray mode, then you need to close the app while it's minimized, @kviolka.
Is that right, @gdelavald?

IMHO this is a security problem, as (at least on KDE) the client starts in the foreground and grabs the focus, thus potentially leaking passwords.

Wow I'm surprised this hasn't been added. Nearly every communication app has this option. Discord, Signal, Facebook Messenger, Telegram, Slack, etc.


data:RishabhDhawad

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[X] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[X] I have updated the documentation accordingly.
[X] All new and existing tests passed.
[X] This PR does not contain plagiarized content.
[X] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Thank you so much for pointing it out, Chinmay. Also, I have updated the JSON file.


manifest.json not found

When trying to install this module there is an error that says not a valid manifest.json

oof.  fixing

Fixed.  It was a mistake when copying the address in the foundry admin dashboard.
Thanks, @Secular12 !


Improve location identifiers

locations with wrong coordinates (see #4) have a location identifier with only digits, e.g. 138.
To be improved by adding the initials of the location description, e.g. Park Tervuren.
Final location identifier to be saved in a new column where if needed the initials are added: PT138.

Completed.


Fixed bgfx_compile_shaders incorrectly generating output path, and generat quality of life update for all tool util functions

changes in 'bgfx_compile_geometry', 'bgfx_compile_texture', 'bgfx_compile_binary_to_header' and 'bgfx_compile_shaders':

If path doesnt exist to output path, it will be generated on build system generation. (fix for bgfx_compile_shaders, adition to rest of functions)

All these functions create log file in 'bgfx_tool_logs' directory in root of build directory.
ex:
binary_to_header_compile_output_..-assets-bin-compiled-test.h.log
-------------------------------   ---------------------------------
                  tool used            relative path to asset output

shader_compile_output_..-assets-shaders-essl-vs.sc.bin.h.log
---------------------    ---------------------------------
          tool used         relative path to asset output

also i added mention in readme for 'bgfx_compile_geometry' which was missing for some reason
i have only tested this on linux. i have no access windows or others atm
i also had to call add_custom_target for each functions else it didnt run
add_custom_command(
	OUTPUT ${OUTPUTS} #
	COMMAND ${COMMANDS} #
	MAIN_DEPENDENCY ${SHADER_FILE_ABSOLUTE} #
        COMMENT "Compiling ${TARGET_NAME}" #
	DEPENDS ${ARGS_VARYING_DEF} #
)

add_custom_target(
        ${FILE_NAME_APPROPRIATE_OUTPUT_PATH} ALL #
        DEPENDS ${OUTPUTS} #
)

Apply this patch to fix the failing format test
https://github.com/bkaradzic/bgfx.cmake/actions/runs/11849223278/artifacts/2191073664

I don't really see the advantage of logging build output to a file.
The logical place to put this is in stdout like with c++ compiling, if you you're developing you want to see logs of your build tools in your build logs, not fish around in files...

ok i will remove logging in to file and figure out the error

could you give me your local test cmakelists.txt to test if its working as you expect it to?


fix spelling errors on TO using docs

What does this PR do?
Fixes #(issue_number) #2926
Which TC components are affected by this PR?

[x] Documentation
[ ] Grove
[ ] Traffic Analytics
[ ] Traffic Monitor
[ ] Traffic Ops
[ ] Traffic Ops ORT
[ ] Traffic Portal
[ ] Traffic Router
[ ] Traffic Stats
[ ] Traffic Vault
[ ] Other _________

What is the best way to verify this PR?
review the changed texr
Check all that apply

[ ] This PR includes tests
[x] This PR includes documentation updates
[ ] This PR includes an update to CHANGELOG.md
[ ] This PR includes all required license headers
[ ] This PR includes a database migration (ensure that migration sequence is correct)
[ ] This PR fixes a serious security flaw. Read more: www.apache.org/security

Can one of the admins verify this patch?


Support export to starrocks

Self Checks

[X] I have searched for existing issues search for existing issues, including closed ones.
[X] I have searched for existing pull requests search for existing pull requests, including closed ones.

1. Is this request related to a challenge you're experiencing? Tell me about your story.
We want to support direct export to starrocks for data analysis.
Since starrocks is SQL-compatible, this shouldn't be too complicated
2. Could you assist us with this feature?

[X] I am interested in contributing to this feature.

Hey y'all :tada: @lxcong @nishuzumi
Is this effort

[ ]  in the works :green_circle: ,
[ ]  temporarily postponed :yellow_circle: ,
[ ]  postponed indefinitely :red_circle: ,
[ ]   or abandoned :ghost: ?


SNLI metrics are not supported in Transformer's glue_compute_metrics module

Hi, Great work!
I believe SNLI metrics are not supported in the glue_compute_metrics() module of Transformers library. The line in your code tries to compute the SNLI metrics using the glue_compute_metrics(). I believe it will throw an error. Please check it once. Thanks.

Hi thanks for reporting the bug! We have fixed this and you can try again now.

Great! thanks.


Feature request: Add ability to keep original audio track after converting

If a file contains a DTS audio track and you convert to another codec (ac3, aac, etc), the DTS track is removed after the conversion, leaving only the converted audio track.
The iOS audio option can preserve the original audio, but the converted iOS track is only in stereo.
Is there a way to accomplish the following scenario:
Source audio track: DTS 6 channel audio
Convert to AC3 (or codec of choice) 6 channel audio, set converted track as default, and keep original (unconverted) DTS audio as secondary?
I prefer to keep the highest quality audio track in my files whenever possible. Media player support for different codecs is always evolving.

Presently there's no way to achieve this but it's something that could be added in the future.
Sent from my iPhone

On Apr 25, 2016, at 19:12, millertime23<EMAIL_ADDRESS>wrote:
If a file contains a DTS audio track and you convert to another codec (ac3, aac, etc), the DTS track is removed after the conversion, leaving only the converted audio track.
The iOS audio option can preserve the original audio, but the converted iOS track is only in stereo.
Is there a way to accomplish the following scenario:
Source audio track: DTS 6 channel audio
Convert to AC3 (or codec of choice) 6 channel audio, set converted track as default, and keep original (unconverted) DTS audio as secondary?
I prefer to keep the highest quality audio track in my files whenever possible. Media player support for different codecs is always evolving.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

+1

+2

+3

Feature has been added in the latest commit
Option to enable is audio-copy-original
Feel free to give it a try and let me know how it works

whoo, thank you!!! trying now

not finding this "audio-copy-original" option in the .ini, is it located somewhere else? also noticed postopts = & preopts = were removed??

After you update you need to open manual.py once for the option to appear (you don’t need to process a file, just open and close)

On Aug 5, 2017, at 6:06 PM, shpankey<EMAIL_ADDRESS>wrote:
not finding this "audio-copy-original" option in the .ini, is it located somewhere else? also noticed postopts = & preopts = were removed??
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/468#issuecomment-320472953, or mute the thread https://github.com/notifications/unsubscribe-auth/ADcO6jcWRHTBkaRMoPRXFLvFnFS1QRUxks5sVOdagaJpZM4IPc_S.

roger that, trying now.

i couldn't get the option to appear, so i just changed the default to True in the readSettings.py file, working like a charm. now when i have a single DTS track, the output has the DTS, and AC3 and a 2 ch AAC file as I've always wanted. I just had to rchange the...
audio-codec = ac3,aac
...and I know get the 3 tracks.
ty for adding this option!

Glad it's working! The option should definitely be there though. Make sure you're looking at the ini and not the sample.


Find a way to avoid text gluing to images

Kind of a text-specific margin. Should not affect other layout items. I wonder if one of the possible display values could work for this.

List of pages where this can be tested:

http://www.jbox.dk/sanos/editor.htm

Considering that <img>'s align attribute have been deprecated for a while, and CSS-based floating recommended instead, it would be better if we didn't strip the style from images in the bookmarklet. (That may also fix the problem with SVG sharing icons that become huge in many pages.)
Once styles like float:left and float:right are preserved for images, the downstyler stylesheet should then include them in the margin ruleset. Something like this:
img[align="right"], img[style*="float:right"], img[style*="float: right"] { margin-left: 1em; }
img[align="left"],  img[style*="float:left"],  img[style*="float: left"] { margin-right: 1em; }

See also #45 for a related but probably less commmon construct


Bridge javascript string const and type declarations

Hi,
I'm using flow with redux and face what looks like to be a very common source of fustration amongst redux users.
When declaring types for redux action eg :
type DeleteItemAction = {
 type: 'DELETE_ACTION',
 id: number,
}

This "DELETE_ACTION" string will be used in a lots of places therefore, the common pattern is to declare and export a const DELETE_ACTION_CONST = "DELETE_ACTION" (much less prone to making spelling mistakes).
Now we are left with duplication of declaration. A const xxx = "DELETE_ACTION" and type: 'DELETE_ACTION'. I obviously tried to do a type declaration that looks like this :
type DeleteItemAction = {
 type: DELETE_ACTION_CONST,
 id: number,
}

This doesn't work as flow is not designed to use const values in type declaration. This seems to be quite ligit as const value can be the result of complex calculations ( returned by a function ) therefore requiring flow runtime to look through and execute to code that returns the value.
As as much I understand that going from javascript const to flow type declartions is not feasible I don't  see what would make going from flow declartion to javascript const not possible.
Being able to declare simple string const like so :
const DELETE_ACTION: $FlowSolidString = "ACTION_DELETE"

And have flow to transpile this to :
type DELETE_ACTION_TYPE = "ACTION_DELETE"
const DELETE_ACTION = "ACTION_DELETE"

Would, I think, be quite handy.

This is what we got now
const delete_action: "DELETE_ACTION" = "DELETE_ACTION";

try


Drag and drop doesn't work on Safari

Dragging track over Safari shows cancel cursor meaning it probably doesn't see the Spotify data on the event

After further research, Safari doesn't support checking the items during hover.

We will need to have alternate support for drag-and-drop tracks feature on non-Chrome browsers


Shortcuts turning off

Hi,
I need to know how to turn off all of shortcuts. When I press L + ALT it gives me ordered list. My language is polish so I need " ł " character insteed of list.

Right now the shortcuts cannot be disabled. I'll consider this for future development though.

Are there no alternative ways? I really like this editor but I can't work properly beccause of shortcuts.
Thanks for your reply.

You can fork the repo and disable the shortcuts yourself. Or if you really want to be helpful, you can submit a PR that includes a new option to disable the shortcuts. That's the best way to expedite this feature.

Fixed in https://github.com/NextStepWebs/simplemde-markdown-editor/pull/223


update goicicle script

Describe the changes
This PR...
Linked Issues
Resolves #

@LeonHibnik somehow this commit got messed up

@ImmanuelSegol It's not the commit, This PR was meant to be merged into #130, fixing the conflicts


“unique”, "or" can not be highlighted

First thank you for developing this extension.
Here is a small bug. Keyword  and  cannot be highlighted correctly.
eg. unique case,
unique if,
always_ff@(posedge a or posedge b)

Thanks for reporting bug.
I'll fix it ASAP.

Fixed on version 0.0.9.
See below.

Great.
However, in your pictures, the colors of "?" in row 16-17 are not right.

I tried to fix the problem but I couldn't.


[Combobox + Select] - Active item change is delayed when controlled

Current behavior
When activeItem is controlled, there is a delay bewteen the list being updated, and the new active item changing. this is causing a flicker in the UI.
when activeItem is uncontrolled, this does not seem to happen.
Notice here that Andora is already at the top, but Afghanistan is still active

Steps to reproduce the bug

Open https://stackblitz.com/edit/hx9wql?file=select-combobox-virtualized%2Fstyle.css,select-combobox-virtualized%2Fcountries.ts,select-combobox-virtualized%2Findex.tsx&theme=light
type a
type n
click backspace to remove the n
repeat steps 3 and 4

Expected behavior
list and active item should change in the same tick
Workaround
No response
Possible solutions
No response

Thanks for reporting! This is likely due to the asynchronous nature of React updates.
I'm still unsure about the best strategy to fix this in the library, but you can work around the issue by using ReactDOM.flushSync:
useComboboxStore({
  ...
  setActiveId(activeId) {
    flushSync(() => setActiveId(activeId));
  }
})

@diegohaz Thanks for the quick response!


Fixed a crash in MapboxGLAndroidSDKTestApp because of a parameter mar…

…ked as non-nullable that is actually guaranteed to be null on the first run.
This broke most of the app functionality.

It looks like we merged this as part of https://github.com/maplibre/maplibre-gl-native/pull/596/

Probably you can close this one, @artakka...

You are right.


Load CSS asynchronously (has examples in ticket)

Feature request
Is your feature request related to a problem? Please describe.
A clear and concise description of what you want and what your use case is.
Yes, getting a 30MB style.css in production that block loading forever is really bad, I desparately want to find a way to get rid of it, but the webpack chunking doesn't work, nor is it easy to move the csslinks into , therefore I thought of a workaround below.
Maybe nextjs can incorporate this and make it a default?
Describe the solution you'd like
A clear and concise description of what you want to happen.
Instead of generating a link element with (rel="stylesheet") where it is usually one big chunk that block loading of the page, it should be a link element with (rel="preload" as="style") and use loadCSS polyfill to apply those css after they are being downloaded.
One quick workaround is to create a new custom head and replace it in _document.js
import React from 'react'
import { Head } from 'next/document'
export default class CustomHead extends Head {
  getCssLinks() {
    const links = super.getCssLinks().map((css) => {
      if (css) {
        return React.cloneElement(css, {
          rel: 'preload',
          as: 'style'
        })
      } else {
        return css
      }
    });
    return links
  }
}

Then inside _document.js, add the modified version (removed support check to force load since chrome doesn't really support applying the stylesheet after download with preload)
          <script dangerouslySetInnerHTML={{ __html: `
            /* 5/29/2019 Modified the script below so it ignores .support() as chrome support of preload doesn't change the fact that the stylesheet is not loaded without changing its rel into stylesheet */
            /*! loadCSS. [c]2017 Filament Group, Inc. MIT License */
            /* This file is meant as a standalone workflow for
            - testing support for link[rel=preload]
            - enabling async CSS loading in browsers that do not support rel=preload
            - applying rel preload css once loaded, whether supported or not.
            */
            (function( w ){
              "use strict";
              // rel=preload support test
              if( !w.loadCSS ){
                w.loadCSS = function(){};
              }
              // define on the loadCSS obj
              var rp = loadCSS.relpreload = {};
              // rel=preload feature support test
              // runs once and returns a function for compat purposes
              rp.support = (function(){
                var ret;
                try {
                  ret = w.document.createElement( "link" ).relList.supports( "preload" );
                } catch (e) {
                  ret = false;
                }
                return function(){
                  return ret;
                };
              })();

              // if preload isn't supported, get an asynchronous load by using a non-matching media attribute
              // then change that media back to its intended value on load
              rp.bindMediaToggle = function( link ){
                // remember existing media attr for ultimate state, or default to 'all'
                var finalMedia = link.media || "all";

                function enableStylesheet(){
                  // unbind listeners
                  if( link.addEventListener ){
                    link.removeEventListener( "load", enableStylesheet );
                  } else if( link.attachEvent ){
                    link.detachEvent( "onload", enableStylesheet );
                  }
                  link.setAttribute( "onload", null );
                  link.media = finalMedia;
                }

                // bind load handlers to enable media
                if( link.addEventListener ){
                  link.addEventListener( "load", enableStylesheet );
                } else if( link.attachEvent ){
                  link.attachEvent( "onload", enableStylesheet );
                }

                // Set rel and non-applicable media type to start an async request
                // note: timeout allows this to happen async to let rendering continue in IE
                setTimeout(function(){
                  link.rel = "stylesheet";
                  link.media = "only x";
                });
                // also enable media after 3 seconds,
                // which will catch very old browsers (android 2.x, old firefox) that don't support onload on link
                setTimeout( enableStylesheet, 3000 );
              };

              // loop through link elements in DOM
              rp.poly = function(){
                // double check this to prevent external calls from running
                var links = w.document.getElementsByTagName( "link" );
                for( var i = 0; i < links.length; i++ ){
                  var link = links[ i ];
                  // qualify links to those with rel=preload and as=style attrs
                  if( link.rel === "preload" && link.getAttribute( "as" ) === "style" && !link.getAttribute( "data-loadcss" ) ){
                    // prevent rerunning on link
                    link.setAttribute( "data-loadcss", true );
                    // bind listeners to toggle media back
                    rp.bindMediaToggle( link );
                  }
                }
              };

              // if unsupported, run the polyfill
              if( true ){
                // run once at least
                rp.poly();

                // rerun poly on an interval until onload
                var run = w.setInterval( rp.poly, 500 );
                if( w.addEventListener ){
                  w.addEventListener( "load", function(){
                    rp.poly();
                    w.clearInterval( run );
                  } );
                } else if( w.attachEvent ){
                  w.attachEvent( "onload", function(){
                    rp.poly();
                    w.clearInterval( run );
                  } );
                }
              }

              // commonjs
              if( typeof exports !== "undefined" ){
                exports.loadCSS = loadCSS;
              }
              else {
                w.loadCSS = loadCSS;
              }
            }( typeof global !== "undefined" ? global : this ) );
         `}} />

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi, thanks for creating an issue. We currently recommend using https://nextjs.org/docs/basic-features/built-in-css-support as the plugins have been deprecated in favor of the built-in support.


fix(slpdb): Commenting out failing SLPDB integration tests

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


Support override of + - * / for Fixnum and Float.

For support of mruby-bignum (https://github.com/chasonr/mruby-bignum/).
A set of flags is added to mrb_state, corresponding to each of eight numeric
methods with existing optimizations:  + - * / for Fixnum and for Float.
If the flag is set, the method has not been overriden and the optimization
remains in effect.  If clear, the use of the operator produces a method call.
Thus these methods can be overriden, just like any other.
This pull request supersedes #2558, and addresses issue #2557.

I was wondering if there are any plans to merge this?

As far as I can tell, no.  That's for Matz to decide.  And I'm a bit
irritated about this.  I have a bignum gem that works best with this change
and Matz has just let it sit since August.


Prometheus exporter: make sure all parse requirements are met

This branch solves #132 and adds follow-up testing and fixes for #104
1. Need for a thorough testing & validation of metrics
There are two reasons why we need a more comprehensive testing of our metrics:
First, while these metrics are most commonly collected by the Prometheus DB itself, a number of alternatives can be used, such as telegraf. Since Harvests' Prometheus exporter, follows the definitions of the open-metric format, it can be easily integrated to any other tools that support this format. The challenge however is that this tools might apply stricter requirements to the metrics. E.g. they might require HELP/TYPE tags to be always present, while Prometheus DB treats them as optional.
Secondly, simple unit tests would not catch all issues generated by our Prometheus exporter, since different plugins manipulate collected data such that exported metrics might degrade over time.
2. Proposed remedy: validator.py
A solution is to have a script that acts as a Prometheus scraper, collects metrics from Harvest for several intervals and prints out warnings if the metrics do not meet the strictest parsing rules. For this I wrote the cmd/exporters/prometheus/validator.py. This is based on a script that was used in Harvest 2.0 Alpha - hence Python. We might want to move it into Go, since that will make it easier to integrate with the source/definitions Prometheus' common and will not require to have Python3 installed on the testing machine.
3. Fixes added by the PR
Using the above-mentioned script, I found and fixed several issues. Note that some this fixes would require a revision of other components of Harvest, but I left a proper fix for later. I think this is OK, since baseline usage of the Prometheus exporter (i.e when Prometheus DB scrapes Harvest), is fine without this fixes.
Overview of fixed issues:

duplicate labels in some metrics

Cause: same label was used as both an instance label and as a global label (mostly in 7mode templates).

Solved with: whenever possible corrected in the templates. Because does not cover all cases, also added a check in the Render() method of the Prometheus exporter (temporary fix).

inconsistent labels

Cause: metric name conflicts (i.e. same metric name was generated from two different ZapiPerf objects)

Solved with: renaming metrics in templates

duplicate HELP/TYPE tags

Cause: this happens only for metadata that come from different collectors

Solved with: HTTPD will filter tags before emitting the metrics. This is slightly expensive, but only when the add_meta_tags options is set to true.

All these fixes, make metrics emitted  by Harvest compatible with Prometheus DB but also any other scraper that supports the open-metrics format.

Thanks @vgratian - agreed that it would be nice to have the validator in Go instead of Python, but not required right now.
Maybe we can use another projects's open-metrics endpoint validation in the future as another validator.
Minor, but might be worth squashing your 30 commits into one before be rebase and merge.


Downloading files does not work properly on iOS

Downloading a file does not work properly on iOS 7.1.2 and iOS 9.1. A new window is opened with blob:// in the address bar. In case of a binary file, a blank page is displayed (while an Open with Excel button is present and does work) but no file preview is generated.
Text files (like CSV) are displayed as-is and are not prompted to download.  There is also no "Open with" button available for these file types.
Is there a fix available or do I need to bypass this with a user agent check and use another downloading method on iOS?
Versions:
Angular-file-saver: 1.0.1
iOS versions 9.1 and 7.1.2 face this issue, I assume all versions between also share this issue.

Unfortunately, it's a known FileSaver.js issue:
https://github.com/eligrey/FileSaver.js/issues/179

And what's the solution to the FileSaver.js issue?

There was a large update that affected iOS: https://github.com/eligrey/FileSaver.js/commit/c0c13ccc0e2e7b714e519c1890bec9ecbaaaf75e
I'll try to roll back and test it.

Is there any updates about this?
I am trying to export an Excel file and it works fine with Chrome, IE and Firefox. But Safari just opens an empty tab where I cannot for example just save the content.
The demo opens a new tab with blob: in the address bar.

You should use window.open (JavaScript) or <a href... (HTML) on the binary file URL that is generated from your backend. That way it works on all browsers.

Op 25 feb. 2016 om 10:03 heeft Hypocrite<EMAIL_ADDRESS>het volgende geschreven:
Is there any updates about this?
I am trying to export an Excel file and it works fine with Chrome, IE and Firefox. But Safari just opens an empty tab where I cannot for example just save the content.
The demo opens a new tab with blob: in the address bar.
—
Reply to this email directly or view it on GitHub.

Could you give an example? I currently have this code which is run with ng-click:
$scope.exportData = function () {
            var table = document.getElementById('exportable');
            var pagination = document.getElementById("results-footer").innerHTML = "";
            var blob = new Blob([table.innerHTML], {
                type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8"
            });
            FileSaver.saveAs(blob, 'Report.xls');
        };

I'm sorry to tell you that window.open or <a href... does not work for this, only for files retrieved using either $http or ngResource. However, as your table needs data from some kind of server / data source, you could implement an exporting feature on the server side. Please be aware that such an exporting feature is not an easy-to-make function. What kind of backend are you using?

We have a node.js and mongodb backend.

There are various Excel export libraries available for the Node.JS environment, so I suggest taking a look at one of these. (https://www.npmjs.com/package/excel-export) To answer your original question: No, there is no improvement on the iOS / Safari situation.

Thanks for the quick replies! We have to investigate the Node.JS solutions.

@Hypocrite, the author's position:
https://github.com/eligrey/FileSaver.js/issues/179#issuecomment-157862607
@arjanvlek, thank you for your contribution!

So the author is asking about ideas where the problem might be? Has this worked in previous versions of Filesaver.js or has it been always broken?


High availability of Kubeflow

There are many component of kubeflow which are not highly available.
For e.g. central dashboard has only one replica https://github.com/awslabs/kubeflow-manifests/blob/master/apps/centraldashboard/upstream/base/deployment.yaml#L8
We need to find out all the critical component inside kubeflow and make them highly available.

This issue seems to be related to upstream Kubeflow components and not specific to any of the AWS components. Hence, requesting you to open this upstream for better visibility and tracking in whole community.


Namespaced properties don't seem to work

The vdom structure:
var test = svg('svg',
    svg('use', {
      'xlink:href': "symbols.svg#symbol1"
    })
);

Renders fine in the browser but vdom-to-html outputs <svg><use></use></svg>
Let me know if I can help!

hmm, it should, see this example: https://github.com/nthtran/vdom-to-html/blob/master/test/test.js#L199
try putting the use section in an array?

I tried another test and it works, so the issue is on my side. Cheers!

I can get it working by installing vdom-to-html directly, if I npm link my development copy it doesn't work.
At least I know it will work when it's live!

That's strange. What did you change in your development copy?

@nthtran Unfortunately, nothing at all! It's odojs/vdom-to-html@master
I'll dig deeper. I don't think it's related to vdom-to-html.

@nthtran I worked out what the issue is. The code checks for instanceof index.js#L61 which fails if I created the vdom with a different version of virtual-dom to the version vdom-to-html includes.
It this something vdom-to-html should support? It might be nice if I don't have to rely on using exactly the same virtual-dom package.
Could we write an 'is-attribute-hook' test? Attributes have a type property that is equal to 'AttributeHook'. To be complete it might make sense to also write a check for SoftSetHook, unfortunately that doesn't have a type property on it's prototype.
To allow vdom-to-html to operate on vdom structures created from a different version of virtual-dom we could:

Add a type property to soft set hook in virtual-dom
Write an implementation of is-attribute-hook and is-soft-set-hook
Use those implementations instead of instanceof

Actions 1 and 2 require changes to virtual-dom.
Let me know if you like this direction and I'll go ahead and put in a pull request to virtual-dom.

What you proposed makes sense. If AttributeHook has a type then SoftSetHook should as well. Please go ahead with the PR for virtual-dom. Once that's merged we'll make changes to vdom-to-html accordingly :).

I've had a look and there is an is-hook check. As I see it we have a few options:

Use is-hook and check for value.value. Both soft-set-hook and attribute-hook have a value, however ev-hook also has a value and focus-hook does not. focus-hook can't be converted into html so that's okay, but ev-hook would be converted with this option. I don't really know what ev-hook is.

Add type properties to the other hook types in virtual-dom and check for AttributeHook and SoftSetHook explicitly in vdom-to-html.

Add type properties to the other hook types in virtual-dom and add individual checks like is-soft-set-hook. This might make virtual-dom look more complicated, but I could always try a pull request.

Option 1 is the easiest, option 2 is more correct and option 3 is probably too verbose for virtual-dom.
Thoughts?

I've submitted a PR for Option 2 that also discusses Option 3.
Matt-Esch/virtual-dom#247

Nice work :+1:. I also like Option 2 better so hope that'll get merged.

I'd personally go with .toString in hook's prorotype.
Made a PR here just to "quickly" solve the problem: https://github.com/nthtran/vdom-to-html/pull/15 but guess with toString that'd look better.


Add minimum viable search via Google

See also:

https://trello.com/c/vSbk1HoF
https://github.com/alphagov/tech-docs-template/issues/66

👍 cool
For context, I wanted to use Algolia docsearch, a system that is used by among others React, Middleman and Stripe. But there's some contention over this because the search doesn't work with a screen reader. We'll revisit this after the import of the opsmanual.


Disarm mass contest needs removing

It's a hidden system and leads to weird interaction like spiders being able to be stamcrit extremely easily with no proper way to balance and no user feedback in game.

stunbaton vs pet spider who would win


Add panel component

This PR adds an experimental panel component based on GOV.UK Frontend
Trello card

Component guide for this PR:
https://govuk-publishing-compon-pr-507.herokuapp.com/component-guide/panel

Is there reason to make it admin-layout only? It would be good to use this component in email-alert-frontend, I'm worried we'll forget about that otherwise.

It's dependent on govuk-frontend styles, that's why I added the admin layout to flag it as "needs govuk-frontend".
I would consider adding govuk-frontend to email-alert-frontend and import the needed css bit rather then duplicating the code from govuk-frontend to govuk_publishing_components

Can we only add the CSS for the panel component, like we do for https://github.com/alphagov/govuk_publishing_components/blob/master/app/assets/stylesheets/govuk_publishing_components/components/_button.scss#L14?

Yes, we can. We do this for a couple of components that are needed in projects that don't have govuk-frontend yet. I will do it this way then, but long term they would probably consume it directly.


nuget-to-nix failes to resolve packages properly

Describe the bug
using a nuget.config file containing an additional package source results in a missing backslash (/) between package url and package path.
Steps To Reproduce
Steps to reproduce the behavior:

add a nuget.config file with an additional source
run dotnet restore -p packages
run nuget-to-nix packages > deps.nix

Expected behavior
a valid url in the generated desp.nix file
Notify maintainers
@IvarWithoutBones
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Caution, im running everything here inside a nix docker container
bash-5.1# nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.6-200.fc.x86_64`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.17.0`
 - channels(root): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Can you provide an example file, and expected vs actual behaviour?

Shure, ill add this tomorrow. But maybe this helps already: the slash should be located between the baseurl and the package
https://github.com/NixOS/nixpkgs/blob/9606c209b83b772aea897eeb1468aec9d21033c3/pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh#L48
prefixing the package var. but this should be only there if the baseurl does not have already one at the end.
my bash isnt good enaught to fix this, without breaking other edgecases. i thought about rebuilding the helper with rust, as i saw other issues about this script noticing that the amout of regex makes it more complicated to implement more fixes sooner. also a dedicated helper could solve other feature requests like the one about powershell api, authentication. could you add your opinion here if my thought makes sense? feels like a bit overengeneering the problem.


chore(README): Fix imports

The imports have trailing commas which is invalid syntax.
Plus the first example combines the stdlib import
and the third-party import into one group;
this goes against import grouping conventions.
Fix both issues.

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


Fix type issues

Removed types from package.json (it pointed to the wrong declaration file). Typescript should find index.d.ts automatically.
AuthProvider need to return a JSX.Element (see https://github.com/typescript-cheatsheets/react-typescript-cheatsheet/issues/129). It may be better to just type the props and let the rest be inferred.

Thanks @oyvinmar! Great fix, I'm still pretty new to types in libraries :)

@all-contributors add @oyvinmar for code


Revised deployment topic to include Visual Studio

Revised deployment topic to include Visual Studio
Summary
This addresses a customer complaint that it did not appear to be possible to deploy a self-contained app outside of the command line.
Suggested Reviewers
@blackdwarf  @mairaw

I've been thinking about this topic and wondering whether we should separate the theory from the practice. And then we could have a topic that is totally done through VS vs. one that is all CLI. Thoughts?

I can see the advantages of each approach, though my own preference here is for a single, longer topic, as long as the steps for CLI/VS are clearly differentiated, and I think that they are here -- or at least, I've tried to make them clearly distinct. At the same time, I have to admit that I tend to have a bias toward longer topics. @blackdwarf, do you have a sense of whether this should remain one single topic, or be broken up into one conceptual overview, one CLI how-to topic, and one VS topic?

@mairaw In thinking more about it, although I'd prefer not to essentially duplicate content in separate Visual Studio and CLI topics, I agree that the best thing to do here would be to separate the two implementation topics from the conceptual topic. I'll do that, and in the meantime, I'll add the WIP label.

@mairaw @blackdwarf I've separated the conceptual portion of the topic from the CLI and Visual Studio examples, which I've put in separate topics.

@rpetrusha Is it ok if I review this and we make a move to get it in there. I :heart: SCD ... It is my favorite deployment type.

@GuardRex, yes, by all means!

@rpetrusha I noticed that you moved content from the initial doc into the two examples docs unchanged/uncorrected. I see you were just getting the content in the right spot on this pass. Should I skip the nits for now? ... someone can make a grammar/style pass later.

@GuardRex, no, review it thoroughly. My intent was to do more than get the content in the right places, it was to get the content correct.

A passing note on web apps + 👣 small footprint 👣 SCD: The tracking issue is https://github.com/dotnet/cli/issues/5769. Nobody has asked beyond my tracking, so perhaps nothing needs to be noted at this time in the small footprint section. I'm going to check again this weekend and at least see if the web.config fix works for me, and I'll see if the other two issues are still problems.

@GuardRex, I've finally revised this based on your comments. Thanks for the extremely through review!

@rpetrusha Looks great ... just a handful of minor touches and :shipit:

Thanks, @GuardRex. I've incorporated all of your remaining changes; I'll merge when the build finishes.


Do not try to decrypt bearer tokens even if encryption is generally enabled

What:
If encryption of access tokens is enabled via enable-encrypted-token setting, gatekeeper is trying to decrypt an unencrypted access token sent as a bearer token via Authorization Header.
Use case: Securing an API with Gatekeeper in need of encrypted access token cookies as well as requesting the API with unencrypted access tokens (bearer tokens)
Proposal: Do not try to decrypt bearer tokens even if encryption is generally enabled
Reference:

KEYCLOAK-11811 - Do not try to decrypt bearer tokens even if encryption is generally enabled
https://github.com/louketo/louketo-proxy/pull/491

Closing it as out of date, due to the lack of response.