ios 平台运行时可能出现的问题以及解决方案

问题1.
Automatically assigning platform ios with version 8.0 on target CloudLive because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
####解决方案：
连接
问题2
[!] <PBXResourcesBuildPhase UUID=xxx> attempted to initialize an object with an unknown UUID. 0B6359431C33CA0200C80C5D for attribute: files. This can be the result of a merge and  the unknown UUID is being discarded.
解决方案
连接
连接
问题 3
`
Launching lib/main.dart on iPhone XS Max in debug mode...
CocoaPods' output:
↳
  Preparing

Analyzing dependencies

Inspecting targets to integrate

  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Fetching external sources

-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`

-> Fetching podspec for `swift_plugin` from `.symlinks/plugins/swift_plugin/ios`

Resolving dependencies of `Podfile`

Comparing resolved specification to the sandbox manifest

  A Flutter

  A swift_plugin

Downloading dependencies

-> Installing Flutter (1.0.0)

-> Installing swift_plugin (0.0.1)

  - Running pre install hooks

[!] Unable to determine Swift version for the following pods:

- `swift_plugin` does not specify a Swift version and none of the targets (`Runner`) integrating it have the `SWIFT_VERSION` attribute set. Please contact the author or set the `SWIFT_VERSION` attribute in at least one of the targets that integrate this pod.

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:115:in `verify_swift_pods_swift_version'

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb:37:in `validate!'

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.1/lib/cocoapods/installer.rb:459:in `validate_targets'

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.1/lib/cocoapods/installer.rb:138:in `install!'

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.1/lib/cocoapods/command/install.rb:48:in `run'

/Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.1/lib/cocoapods/command.rb:52:in `run'

/Library/Ruby/Gems/2.3.0/gems/cocoapods-1.6.1/bin/pod:55:in `<top (required)>'

/usr/local/bin/pod:22:in `load'

/usr/local/bin/pod:22:in `<main>'

Error output from CocoaPods:
↳
[!] `<PBXGroup UUID=`97C146E51CF9000F007C117D`>` attempted to initialize an object with an unknown UUID. `CF3B75C9A7D2FA2A4C99F110` for attribute: `children`. This can be the result of a merge and  the unknown UUID is being discarded.

[!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install
Error launching application on iPhone XS Max.
Exited (sigterm)
`
####解决方案
连接
连接

`
flutter build ios --no-codesign
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building xyz.joewu.btguest for device (ios-release)...
Running pod install...                                              1.0s
Running Xcode build...
Xcode build done.                                            1.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
shared_preferences-ecdftdlsessmeqbydyobcruftruf
/opt/flutter/.pub-cache/hosted/pub.dartlang.org/image_gallery_saver-1.2.2/ios/Classes/ImageGallerySaverPlugin.m:2:9: fatal error:
'image_gallery_saver/image_gallery_saver-Swift.h' file not found
#import <image_gallery_saver/image_gallery_saver-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
/opt/flutter/.pub-cache/hosted/pub.dartlang.org/image_gallery_saver-1.2.2/ios/Classes/ImageGallerySaverPlugin.m:2:9: fatal error:
'image_gallery_saver/image_gallery_saver-Swift.h' file not found
#import <image_gallery_saver/image_gallery_saver-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`

'multi_image_picker/multi_image_picker-Swift.h' file not found
解决同上
#import <multi_image_picker/multi_image_picker-Swift.h>
改为
#import <multi_image_picker-Swift.h>


Add search to website for snippets and mailing list archives.

... and docs.

The mailing list and the docs now have search. It's not clear what the future of snippets are.


Length parameter must be greater than 0

Getting error after install:
In SymbolExtractor.php line 53:

SplFileObject::fread(): Length parameter must be greater than 0

@chekalskiy this bug was introduced in version 1.0.2 and should not be present in earlier versions. I will focus on a patch for now, and meanwhile you could try using an older version.

@chekalskiy thanks for reporting the bug. It has been patched in version 1.0.3, which is immediately available for installation.


Ensure notation-core-go works with go-cose v1.0.0-rc.2

go-cose will cut a v1.0.0-rc.2 release after resolving https://github.com/veraison/go-cose/issues/110.
We need to make sure that the implementation to https://github.com/veraison/go-cose/issues/110 works with notation-core-go before the release cut.

Replaced go-cose with github.com/qmuntal/go-cose v0.0.0-20221104155458-b2a1e5fadeef  along with other dependencies accordingly in notation-core-go, notation-go, and notation. Tested both sign and verification from Notation CLI. Works as expected.


Cleanup preset configuration

Closing b/c stale after presets refactor, though we may at some point want to add ideas from this PR into the existing refactor (eg adding a "pretty name" field to the preset YAML files).


Updated config template

This is just an update to the configuration template displayed on the README.
The previous template would give an error when running cibyl or cibyl --help.
Ideally, those commands should run without going through the configuration file.

It won't work (= you will not be able to pull data) if you don't specify the sources. This is what I'm using:
environments:
  osp_phases:
    osp_jenkins:
      system_type: jenkins
      sources:
        osp_jenkins1:
          driver: jenkins
          username: abregman
          token: 'PERSONAL_TOKEN'
          url: 'https://SOME_JENKINS.com'

Mmm, then I have some problem because I'm not able to pull any data even if it show in the logs it's doing the requests. I'll check my side.

pull any data even if it show in the logs it's doing the requests. I'll check my side.

I don't think it's on your side. I'm using the PR Joan submitted. At the moment, you won't be able to pull anything before that PR is merged (unless you cherry-pick it)

It won't work (= you will not be able to pull data) if you don't specify the sources. This is what I'm using:
environments:
  osp_phases:
    osp_jenkins:
      system_type: jenkins
      sources:
        osp_jenkins1:
          driver: jenkins
          username: abregman
          token: 'PERSONAL_TOKEN'
          url: 'https://SOME_JENKINS.com'

This was only the minimal config file for cibyl or cibyl --help not to throw errors. At least until we figure out a solution for that since I don't think we should be pulling for config file just for --help.

Sure. Let's perhaps mention it? something along "A minimal configuration file..." and perhaps some note on sources "to be able to query, one should specify sources in the following format...depends on the source type"


array_key_exists() on objects is deprecated in PHP 7.4

Ref: https://wiki.php.net/rfc/deprecations_php_7_4#array_key_exists_with_objects

If this is a bug fix, should it be merged into 4.4 instead?

Yep. It's okay to merge if you're willing to cherry pick back into the 4.4 branch though 🙂

Just a note that it’s cleaner for changelogs if you don’t do that

This is fixed in the 4.5 branch but not in 4.5.0 tag.
Will there be a new tag released soon?

Hi @LABCAT, we can release this as a standalone patch version of framework, just need to double check the other changes in the release branch before doing so

@LABCAT released as 4.5.1

@robbieaverill great thanks!


Input Output Practice Problems on HackerEarth

Okay, I'll correct everything and create a new and proper pull request. I'm sorry for the trouble you had to go through.


Integration of PointRend-TF with Mask RCNN

I am currently working on Mask RCNN. I want to implement PointRend module with Mask RCNN implementation. Would you provide some clue on how to integrate your code with original Mask RCNN code found at https://github.com/matterport/Mask_RCNN

The same question for me how to integrate this implementation with mask rcnn matter port implementation


add gpt inference scripts

add gpt-3 inference scripts

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: vivienfanghuagood:x: vivienvivien seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Replace gauge with @comandeer/cli-spinner

The gauge package is a well-working spinner solution but its API is a little bit cumbersome. Let's replace it with my custom CLI spinner lib.

Reopening as the new version of the spinner changed the API.


sofEther VPN Protocol client to Android

Has some possibility to implement a client to Android Plataform ?
If do, how can I help ?

As far as I know, no there is no SoftEther client for Android.
How can you help? Good question. Can you programm android apps?

sofEther VPN among his merits is the ability to bypass many locks that are powerless OpenVPN and L2TP.
But all this is useless until there's no client for Android which supports Protocol over https/dns/icmp.
It's very sad.

What's wrong with running SoftEther in OpenVPN clone mode then using the android OpenVPN Client to access the server? I use it and it works well and I don't think I've ever seen anyone complain about the security of OpenVPN, unless you know otherwise. :)

https://en.wikipedia.org/wiki/Deep_packet_inspection
What's wrong is that it is blocked in some countries. And that means not working.
Otherwise, why use the SoftEtherVPN protocol via a https/dns/icmp?

Android L2TP Client Setup
this tutorial use native android vpn client.
If you can implement client over https,that is great

@aicochow L2TP uses port 1701 and it cannot be easily changed.

Superseded by #453.


OS X/BSD issues

I really love the idea behind bd, and it comes in handy a lot for me.
Just to let you know, there are some inconsistencies with the way that OS X (BSD's) sed and other tools work vs. GNU. For instance, the "I" flag on the regex for case sensitivity doesn't work, and in the completion file the sed substitution fails for reasons I don't understand. I was able to fix completion by using tr instead of sed:
 pwd | tr / "\n"

I ended up redoing it completely, though, and now there's case insensitive completion and replacement, at least on Darwin with Bash 4.3.11.
I spent a long time early this morning trying to figure out a case insensitive way to make the main script work before I realized you had already updated it. Unfortunately, your solution is one of the first ones I had to discard. I could install the GNU utils, but I'd like to think there's a solution for the OS X crowd.
I did give up and write my own version of this utility. It's simpler, but it's suiting my needs. It assumes you always want partial matching and doesn't take all of your logic into account. It uses Ruby to handle the string parsing. A scripting language like Ruby or Perl was the only way I could get it to work for me after spending an hour wrangling around with sed and awk. Just sharing it in case you can gleam anything from it.

Hi @ttscoff
Your implementation looks cool!
BTW @janosgyerik replaced sed with perl to make bd work with OS X/BSD (see #25)
Now bd works fine everywhere.


Update config/locales/ru.yml

Thank you! Happy holidays!

С Рождеством

С Рождеством
Ah-ha-ha :)
Excellent guys!
And you too, Merry Christmas! == И вас тоже с Рождеством! (in Russian)

This commit seems to break the build: http://travis-ci.org/#!/radar/forem/jobs/444963. Would it be possible for you (@greenodg) to look into this to see what it is breaking on? I'd figure you'd know more about that Russian translation file than I would.
Thanks!

Hmmm..
I immediately check it.

Fixed https://github.com/radar/forem/pull/105


Unable to parse cucumber json report

Awesome tool.
I would have created a PR but i had permission issues from my personal github acc.  The only way i managed to get this program to work locally with Adams cucumber Json report was to make the following changes.
As is: next unless feature["name"] == feature_name  # feature['name'] key can't be found
To be:  next unless feature["elements"][0]["name"] == scenario_name
As is: @status_types = ["Not run","Descoped", "In Progress", "Passed", "Failed", "Blocked"]
To be: @status_types = ["Not run","Descoped", "In Progress", "passed", "Failed", "Blocked"]
ruby pumpkin.rb -f /Users/matthew.nash/pumpkin -c /Users/matthew.nash/pumpkin/cucumber_report.json

@ShanWehttam I think these are now fixed
https://github.com/wearefriday/pumpkin/commit/03638801da2a63cb9111de8316833398098fd535


[FEATURE] - More tags options

More complete tags feature set:

Lightweight
Signed tags
An option to push the tag to origin at creation time

You can try the latest build from https://github.com/sourcegit-scm/sourcegit/actions/runs/9217904816

Awesome, it works great! 😄


SemKITTI-DVPS dataset

Hi, congratulations on your great work!
In the paper, you also achieved good results on SemKITTI-DVPS. So I just wonder would you provide the code for pre-processing or evaluation on SemKITTI-DVPS?
Thanks

I want it too.


more clear setting of breakdown rather than using null and undefined …

…to define states

going in a different direction

going in a different direction


Fix issue on windows for loading invalid types

Hi @bsrikan this commit fixes the issue we see on Windows for loading invalid entity types.

@grechaw Looks good to me except for one comment I added for #0b431bd

OK, yes, it doesn't make sense to emit the comment if there are no missing properties.  I'll fix that and update PR, then merge.


Add support for multiple output cells with new UI

dup of https://github.com/twosigma/beaker-notebook/issues/2997


Not available

This is not available yet. Please remove until it is, makes it very confusing.

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

ID: 122d9ead-09d3-f605-1bfb-6ae0fce81636
Version Independent ID: 122d9ead-09d3-f605-1bfb-6ae0fce81636
Content: Set up avatars for Microsoft Teams - Microsoft Teams
Content Source: Teams/meeting-avatars.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

Hi @Dburke225, thank you for your feedback.
This feature is available as part of the public preview program. The general availability rollout will start next month. I added a note to let readers know that it's in preview.
For more information:
https://techcommunity.microsoft.com/t5/microsoft-teams-blog/avatars-for-microsoft-teams-in-public-preview/ba-p/3774421
https://support.microsoft.com/office/join-a-meeting-as-an-avatar-in-teams-5384e7b7-30c7-4bcb-8065-0c9e830cc8ad
https://www.microsoft.com/microsoft-365/roadmap?rtc=1&searchterms=107969&filters=&searchterms=107969

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


chore: minor fixes

Signed-off-by: jyu6<EMAIL_ADDRESS>

I want to rename the DatumKey value in this PR as well...
as mentioned in https://github.com/numaproj/numaflow/pull/146#discussion_r961337427
current value is DatumKey = "key"
@vigith @whynowy what name do you suggest?...

key

use x-numaflow-datum-key


Bump nslsii to 0.0.3 (with TwoButtonShutter already)

Attn: @danielballan @tacaswell

Already pushed to anaconda and mirrored locally. Self-merge 😃

https://anaconda.org/lightsource2-tag/nslsii/files


Upon attempting to view an invalid video, user gets a PHP error along with our standard error page

If you navigate to /view.php or /user.php, a PHP error appears in the top-left.
Notice: Undefined index: video in /var/www/(page).php on line 10

Now properly fixed, now displays an error when navigating to unknown video files.


Apache install failed on redirectors

Apache install failed on redirectors.
https://github.com/ezra-buckingham/terry-the-terraformer/blob/main/playbooks/install/install-apache.yml

This was likely an issue with using -rT http and not -rT https


Fix typo and delete unnecessary spaces

typo: github -> GitHub
delete unnecessary spaces: As Markdown syntax, there was a large amount of half-width spaces that did not affect the display, so I deleted it

@changeworld : Thanks for your contribution! The author, @msjuergent, has been notified to review your proposed change.

Merging typo fix.


[devtools] Do not spawn ganache server in a child process

I believe this will be more robust (the current way failed during my yarn 2 experiment). It may also make it easier to collect logs. It should also enable tools like depcheck to correctly infer that ganache-cli should be a dependency.
We could also think about using ganache-core instead of ganache-cli.

Thanks for looking into this @geoknee! This work would also be helpful as I am seeing the following behavior:

When yarn is used to start unit tests, ganache-cli executable is successfully located (even when the executable is in the monorepo root node_modules/.bin as opposed to the package node_modules/.bin
When node jest is use to start unit tests, the binary is not located. vs code starts unit tests this way.

What about when verbose logging is off?

AFAICT there is no verbosity switch when you run ganache this way: it seems to just default to being verbose.

What about when verbose logging is off?

AFAICT there is no verbosity switch when you run ganache this way: it seems to just default to being verbose.

I am not 100% sure, but I think we turned off verbose logging by default as the ganache logs were getting quite large. I wonder if that will be an issue with this implementation.

There's a bit of investigation to do to figure out what level of verbosity we are getting from ganache. Hopefully it is full verbosity, and that it still works well with the extractLogsFromVerboseGanacheOutput() function. I think we can still have some control of log size by setting the LOG_LEVEL.

So the answer is actually pretty simple. verbose is in fact an option that can be passed to the ganache server (unsurprisingly), it just isn't listed in the readme. I've reinstated switching that option based on environment variables, and also conditionally piping the output to @andrewgordstewart 's helper function which extracts better logs.  So the behaviour should be the same as what we had before.


Party details updated - show changes

We when send an email with the updated party details, it would be good to show what is changes. Previous information with strikethrough text or in another color,...

Won't fix, has been discussed with @tvlooy and won't be implemented this year.


Make changes based on Pharmaverse council feedback

See #4

One piece of feedback moved into #8.
This PR will close #4


[Bug] MakeMKV online updates do not work on arm64

Current Behavior
MakeMKV's online updates, specifically for the SDF and HK files, are quietly failing to download in the docker on my arm64 system. Without these updates, it is not possible to rip 4K blurays.
I currently believe this has something to do with the bundled copy of libcurl. Other forms of network access from inside the docker container are working normally (beta key, ping, wget, nslookup).
Expected Behavior
The gui should show "Downloading latest SDF" when starting on a clean install, and then "Downloading latest HK" when loading up a 4K bluray for the first time.
Steps To Reproduce
Method 1 : using the gui

Delete  _private_data.tar in /config/data
Start the docker container for makemkv
Open the gui session in web browser
Check the log messages in MakeMKV about SDF update. On my docker instance, the message doesn't show up.

Method 2 : using makemkvcon

Delete  _private_data.tar in /root/.MakeMKV
Start the docker container for makemkv
Open a shell in the docker container: docker exec -it makemkv /bin/sh
Just in case: export LD_LIBRARY_PATH=/opt/makemkv/lib
Run once or twice: /opt/makemkv/bin/makemkvcon
The SDF update should occur when doing makemkvcon. On my docker instance, it doesn't happen.

Solution / Workaround?
I can specify -e INSTALL_PACKAGES=curl on the docker run command, or manually do apk add curl from inside the container. This fixes MakeMKV's online update functionality and ripping 4K discs will work after that.
Environment

OS: Ubuntu
OS version: 24.04 desktop from ubuntu-rockchip
CPU: RK3588
Docker version: 24.0.5
Device model: Orange Pi 5 plus
Browser/OS: Chrome

Container creation
docker run --name=makemkv -p 5800:5800 -v /home/user/dockerwork:/config:rw -v /home/user/:/storage:ro -v /home/user/output/:/output:rw --device /dev/sg0 jlesage/makemkv
Container log
[init        ] container is starting...
[cont-env    ] loading container environment variables...
[cont-env    ] APP_NAME: loading...
[cont-env    ] APP_VERSION: loading...
[cont-env    ] DISPLAY: executing...
[cont-env    ] DISPLAY: terminated successfully.
[cont-env    ] DISPLAY: loading...
[cont-env    ] DOCKER_IMAGE_PLATFORM: loading...
[cont-env    ] DOCKER_IMAGE_VERSION: loading...
[cont-env    ] EGL_LOG_LEVEL: executing...
[cont-env    ] EGL_LOG_LEVEL: terminated successfully.
[cont-env    ] EGL_LOG_LEVEL: loading...
[cont-env    ] GSK_RENDERER: executing...
[cont-env    ] GSK_RENDERER: terminated successfully.
[cont-env    ] GSK_RENDERER: loading...
[cont-env    ] GTK2_RC_FILES: executing...
[cont-env    ] GTK2_RC_FILES: terminated successfully.
[cont-env    ] GTK2_RC_FILES: not setting variable.
[cont-env    ] GTK_THEME: executing...
[cont-env    ] GTK_THEME: terminated successfully.
[cont-env    ] GTK_THEME: not setting variable.
[cont-env    ] HOME: loading...
[cont-env    ] LIBGL_DRIVERS_PATH: executing...
[cont-env    ] LIBGL_DRIVERS_PATH: terminated successfully.
[cont-env    ] LIBGL_DRIVERS_PATH: loading...
[cont-env    ] PULSE_CONFIG_PATH: executing...
[cont-env    ] PULSE_CONFIG_PATH: terminated successfully.
[cont-env    ] PULSE_CONFIG_PATH: not setting variable.
[cont-env    ] PULSE_COOKIE: executing...
[cont-env    ] PULSE_COOKIE: terminated successfully.
[cont-env    ] PULSE_COOKIE: not setting variable.
[cont-env    ] PULSE_SERVER: executing...
[cont-env    ] PULSE_SERVER: terminated successfully.
[cont-env    ] PULSE_SERVER: not setting variable.
[cont-env    ] QT_STYLE_OVERRIDE: executing...
[cont-env    ] QT_STYLE_OVERRIDE: terminated successfully.
[cont-env    ] QT_STYLE_OVERRIDE: not setting variable.
[cont-env    ] SUP_GROUP_IDS_INTERNAL: executing...
[cont-env    ] SUP_GROUP_IDS_INTERNAL: terminated successfully.
[cont-env    ] SUP_GROUP_IDS_INTERNAL: not setting variable.
[cont-env    ] TAKE_CONFIG_OWNERSHIP: loading...
[cont-env    ] XDG_CACHE_HOME: loading...
[cont-env    ] XDG_CONFIG_HOME: loading...
[cont-env    ] XDG_DATA_HOME: loading...
[cont-env    ] XDG_RUNTIME_DIR: loading...
[cont-env    ] XDG_STATE_HOME: loading...
[cont-env    ] container environment variables initialized.
[cont-secrets] loading container secrets...
[cont-secrets] container secrets loaded.
[cont-init   ] executing container initialization scripts...
[cont-init   ] 10-certs.sh: executing...
[cont-init   ] 10-certs.sh: terminated successfully.
[cont-init   ] 10-check-app-niceness.sh: executing...
[cont-init   ] 10-check-app-niceness.sh: terminated successfully.
[cont-init   ] 10-clean-logmonitor-states.sh: executing...
[cont-init   ] 10-clean-logmonitor-states.sh: terminated successfully.
[cont-init   ] 10-clean-tmp-dir.sh: executing...
[cont-init   ] 10-clean-tmp-dir.sh: terminated successfully.
[cont-init   ] 10-fontconfig-cache-dir.sh: executing...
[cont-init   ] 10-fontconfig-cache-dir.sh: terminated successfully.
[cont-init   ] 10-init-users.sh: executing...
[cont-init   ] 10-init-users.sh: terminated successfully.
[cont-init   ] 10-nginx.sh: executing...
[cont-init   ] 10-nginx.sh: terminated successfully.
[cont-init   ] 10-openbox.sh: executing...
[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-pulse.sh: executing...
[cont-init   ] 10-pulse.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-webauth.sh: executing...
[cont-init   ] 10-webauth.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 54-check-optical-drive.sh: executing...
[cont-init   ] 54-check-optical-drive.sh: looking for usable optical drives...
[cont-init   ] 54-check-optical-drive.sh: no usable optical drive found.
[cont-init   ] 54-check-optical-drive.sh: terminated successfully.
[cont-init   ] 55-makemkv.sh: executing...
[cont-init   ] 55-makemkv.sh: checking for new beta key...
[cont-init   ] 55-makemkv.sh: registration key already up-to-date.
[cont-init   ] 55-makemkv.sh: getting supported drives...
[cont-init   ] 55-makemkv.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           MakeMKV                                       │
    │ Application Version:   1.17.7                                        │
    │ Docker Image Version:  24.07.1                                       │
    │ Docker Image Platform: linux/arm64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'xcompmgr'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'audiorecorder'...
[supervisor  ] service 'audiorecorder' is disabled.
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'webauth'...
[supervisor  ] service 'webauth' is disabled.
[supervisor  ] loading service 'pulseaudio'...
[supervisor  ] service 'pulseaudio' is disabled.
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'autodiscripper-9'...
[supervisor  ] service 'autodiscripper-9' is disabled.
[supervisor  ] loading service 'autodiscripper-6'...
[supervisor  ] service 'autodiscripper-6' is disabled.
[supervisor  ] loading service 'autodiscripper-8'...
[supervisor  ] service 'autodiscripper-8' is disabled.
[supervisor  ] loading service 'autodiscripper-7'...
[supervisor  ] service 'autodiscripper-7' is disabled.
[supervisor  ] loading service 'autodiscripper-14'...
[supervisor  ] service 'autodiscripper-14' is disabled.
[supervisor  ] loading service 'autodiscripper'...
[supervisor  ] service 'autodiscripper' is disabled.
[supervisor  ] loading service 'autodiscripper-4'...
[supervisor  ] service 'autodiscripper-4' is disabled.
[supervisor  ] loading service 'autodiscripper-0'...
[supervisor  ] service 'autodiscripper-0' is disabled.
[supervisor  ] loading service 'autodiscripper-12'...
[supervisor  ] service 'autodiscripper-12' is disabled.
[supervisor  ] loading service 'autodiscripper-10'...
[supervisor  ] service 'autodiscripper-10' is disabled.
[supervisor  ] loading service 'autodiscripper-1'...
[supervisor  ] service 'autodiscripper-1' is disabled.
[supervisor  ] loading service 'autodiscripper-15'...
[supervisor  ] service 'autodiscripper-15' is disabled.
[supervisor  ] loading service 'autodiscripper-5'...
[supervisor  ] service 'autodiscripper-5' is disabled.
[supervisor  ] loading service 'autodiscripper-13'...
[supervisor  ] service 'autodiscripper-13' is disabled.
[supervisor  ] loading service 'autodiscripper-2'...
[supervisor  ] service 'autodiscripper-2' is disabled.
[supervisor  ] loading service 'autodiscripper-11'...
[supervisor  ] service 'autodiscripper-11' is disabled.
[supervisor  ] loading service 'autodiscripper-3'...
[supervisor  ] service 'autodiscripper-3' is disabled.
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] Xvnc TigerVNC 1.13.1 - built Jun 29 2024 04:31:44
[xvnc        ] Copyright (C) 1999-2022 TigerVNC Team and many others (see README.rst)
[xvnc        ] See https://www.tigervnc.org for information on TigerVNC.
[xvnc        ] Underlying X server release 12014000
[xvnc        ] Wed Aug 21 02:10:52 2024
[xvnc        ]  vncext:      VNC extension running!
[xvnc        ]  vncext:      Listening for VNC connections on /tmp/vnc.sock (mode 0660)
[xvnc        ]  vncext:      Listening for VNC connections on all interface(s), port 5900
[xvnc        ]  vncext:      created VNC server for screen 0
[supervisor  ] starting service 'openbox'...
[supervisor  ] starting service 'xcompmgr'...
[supervisor  ] starting service 'nginx'...
[nginx       ] Listening for HTTP connections on port 5800.
[supervisor  ] starting service 'app'...
[supervisor  ] all services started.
[xvnc        ] Wed Aug 21 02:52:38 2024
[xvnc        ]  Connections: accepted: /tmp/vnc.sock
[xvnc        ]  SConnection: Client needs protocol version 3.8
[xvnc        ]  SConnection: Client requests security type None(1)
[xvnc        ]  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
[xvnc        ]  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian bgr888
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:nan ratio)
[supervisor  ] service 'app' exited (with status 0).
[supervisor  ] service 'app' exited, shutting down...
[supervisor  ] stopping service 'nginx'...
[xvnc        ] Wed Aug 21 02:52:42 2024
[xvnc        ]  VNCSConnST:  closing /tmp/vnc.sock: Clean disconnection
[xvnc        ]  EncodeManager: Framebuffer updates: 42
[xvnc        ]  EncodeManager:   Tight:
[xvnc        ]  EncodeManager:     Solid: 95 rects, 5.42083 Mpixels
[xvnc        ]  EncodeManager:            1.48438 KiB (1:14266.1 ratio)
[xvnc        ]  EncodeManager:     Bitmap RLE: 7 rects, 4.122 kpixels
[xvnc        ]  EncodeManager:                 230 B (1:72.0522 ratio)
[xvnc        ]  EncodeManager:     Indexed RLE: 92 rects, 301.732 kpixels
[xvnc        ]  EncodeManager:                  12.2705 KiB (1:96.1426 ratio)
[xvnc        ]  EncodeManager:   Tight (JPEG):
[xvnc        ]  EncodeManager:     Full Colour: 57 rects, 444.69 kpixels
[xvnc        ]  EncodeManager:                  182.401 KiB (1:9.527 ratio)
[xvnc        ]  EncodeManager:   Total: 251 rects, 6.17138 Mpixels
[xvnc        ]  EncodeManager:          196.381 KiB (1:122.771 ratio)
[xvnc        ]  Connections: closed: /tmp/vnc.sock
[xvnc        ]  ComparingUpdateTracker: 46.7597 Mpixels in / 2.18552 Mpixels out
[xvnc        ]  ComparingUpdateTracker: (1:21.3952 ratio)
[supervisor  ] service 'nginx' exited (with status 0).
[supervisor  ] stopping service 'xcompmgr'...
[supervisor  ] service 'xcompmgr' exited (got signal SIGTERM).
[supervisor  ] stopping service 'openbox'...
[supervisor  ] service 'openbox' exited (with status 0).
[supervisor  ] stopping service 'xvnc'...
[xvnc        ] Wed Aug 21 02:52:43 2024
[xvnc        ]  ComparingUpdateTracker: 0 pixels in / 0 pixels out
[xvnc        ]  ComparingUpdateTracker: (1:nan ratio)
[supervisor  ] service 'xvnc' exited (with status 0).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.

Container inspect
No response
Anything else?
I used a web proxy on the host machine to monitor for outbound traffic from MakeMKV. On a freshly loaded docker instance, there were no web requests coming from the app. After manually installing curl, the proxy does receive traffic for the online updates.
I also did a quick test running the docker image with Ubuntu on an x86_64 VM and online updates worked fine.

Can you try to see if running this (inside the container) is enough to fix the problem:
ln -s libcurl.so.4.7.0 /opt/makemkv/lib/libcurl.so

That didn't fix it. makemkvcon is looking for  libcurl.so.4  which can be seen by doing
strings /opt/makemkv/bin/makemkvcon | grep libcurl
I also tried putting a symlink in the container's  /usr/lib with ln -s /opt/makemkv/lib/libcurl.so.4.7.0 /usr/lib/libcurl.so.4 which didn't work either.

I'm wondering if MakeMKV is using the curl binary instead... Can you try to install curl, remove the binary and see if updates are working?

So I did this
apk add curl
rm /usr/bin/curl
/opt/makemkv/bin/makemkvcon info

and it managed to grab an SDF update without issues.

Can you try again with the latest image ? I think it should fix this.

Latest image is working correctly with a fresh container.


Assertion `Ty && "Invalid GetElementPtrInst indices for type!"' failed

Compiling the attached source with the following command line
unzip a.zip
clspv -cl-mad-enable -DDEVICE_INFO=32 -D__SIZEOF_HOST_SIZE_T__=8 -DDEV_VER_MAJOR=3 -DDEV_VER_MINOR=0 -D_OPENCL_COMPILER -DHASH_LOOPS=250 -DPLAINTEXT_LENGTH=110 -DPBKDF2_64_MAX_SALT_SIZE=107 -cl-single-precision-constant -cl-kernel-arg-info -rounding-mode-rte=16,32,64 -rewrite-packed-structs -std430-ubo-layout -decorate-nonuniform -arch=spir --use-native-builtins=acos,acosh,acospi,asin,asinh,asinpi,atan,atan2,atan2pi,atanh,atanpi,ceil,copysign,fabs,fdim,floor,fma,fmax,fmin,frexp,half_rsqrt,half_sqrt,isequal,isfinite,isgreater,isgreaterequal,isinf,isless,islessequal,islessgreater,isnan,isnormal,isnotequal,isordered,isunordered,ldexp,mad,rint,round,rsqrt,signbit,sqrt,tanh,trunc, -spv-version=1.6 -max-pushconstant-size=256 -max-ubo-size=65536 -global-offset -long-vector -module-constants-in-storage-buffer -cl-arm-non-uniform-work-group-size -enable-printf -printf-buffer-size=1048576 -x ir a.bc

results in the following output
clspv: /path/to/clvk/external/clspv/third_party/llvm/llvm/include/llvm/IR/Instructions.h:933: llvm::Type *llvm::checkGEPType(llvm::Type *): Assertion `Ty && "Invalid GetElementPtrInst indices for type!"' failed.

a.zip

With #1211 and #1213 we arrive at the same point as #1209:
Executing the above example still fails. Could you run the application generating this input with the following env variables set:
CLVK_SPIRV_ARCH=spir64
CLVK_PHYSICAL_ADDRESSING=1

With #1211 and #1213:
unzip a.zip
CLVK_SPIRV_ARCH=spir64 CLVK_PHYSICAL_ADDRESSING=1 clspv -cl-mad-enable -DDEVICE_INFO=32 -D__SIZEOF_HOST_SIZE_T__=8 -DDEV_VER_MAJOR=3 -DDEV_VER_MINOR=0 -D_OPENCL_COMPILER -DHASH_LOOPS=250 -DPLAINTEXT_LENGTH=110 -DPBKDF2_64_MAX_SALT_SIZE=107 -cl-single-precision-constant -cl-kernel-arg-info -rounding-mode-rte=16,32,64 -rewrite-packed-structs -std430-ubo-layout -decorate-nonuniform -arch=spir64 -physical-storage-buffers --use-native-builtins=acos,acosh,acospi,asin,asinh,asinpi,atan,atan2,atan2pi,atanh,atanpi,ceil,copysign,fabs,fdim,floor,fma,fmax,fmin,frexp,half_rsqrt,half_sqrt,isequal,isfinite,isgreater,isgreaterequal,isinf,isless,islessequal,islessgreater,isnan,isnormal,isnotequal,isordered,isunordered,ldexp,mad,rint,round,rsqrt,signbit,sqrt,tanh,trunc, -spv-version=1.6 -max-pushconstant-size=256 -max-ubo-size=65536 -global-offset -long-vector -module-constants-in-storage-buffer -cl-arm-non-uniform-work-group-size -enable-printf -printf-buffer-size=1048576 -x ir a.bc

outputs
Instruction does not dominate all uses!
  %903 = inttoptr i64 %902 to ptr addrspace(2)
  %790 = getelementptr inbounds { [10 x i8], [9 x i8] }, ptr addrspace(2) %903, i32 0, i32 1
Instruction does not dominate all uses!
  %811 = inttoptr i64 %810 to ptr addrspace(2)
  %798 = getelementptr inbounds { [10 x i8], [9 x i8] }, ptr addrspace(2) %811, i32 0, i32 1
PHI nodes not grouped at top of basic block!
  %812 = phi ptr addrspace(2) [ %836, %Flow1730 ], [ %798, %while.cond.i516.preheader ]
label %Flow1729
Instruction does not dominate all uses!
  %847 = inttoptr i64 %846 to ptr addrspace(2)
  %839 = getelementptr inbounds { [10 x i8], [9 x i8] }, ptr addrspace(2) %847, i32 0, i32 1
PHI nodes not grouped at top of basic block!
  %848 = phi ptr addrspace(2) [ %827, %while.cond9.i.preheader ], [ %839, %Flow1732 ]
label %Flow1733
Instruction does not dominate all uses!
  %896 = inttoptr i64 %895 to ptr addrspace(2)
  %892 = getelementptr inbounds { [10 x i8], [9 x i8] }, ptr addrspace(2) %896, i32 0, i32 1
PHI nodes not grouped at top of basic block!
  %897 = phi ptr addrspace(2) [ %889, %if.end20.i ], [ %892, %Flow1734 ]
label %Flow1737
PHI nodes not grouped at top of basic block!
  %904 = phi ptr addrspace(2) [ %897, %Flow1737 ], [ %790, %axcrypt2_final.inner.exit ]
label %Flow1728
LLVM ERROR: Broken module found, compilation aborted!

a.zip

I have updated #1213, with it this issue has the same error signature as #1209

This appears to be fixed as of #1245 although clvk still outputs the following
error: 28312: Opcode ConvertPtrToU requires one of these capabilities: Addresses PhysicalStorageBufferAddresses
  %27424 = OpConvertPtrToU %uint %27423

Let's keep it open, I still need to work on that.

working with physical addressing


goaccess: unrecognized option '--real-time-html'

Hi
I installed  latest version v1.1.1 goaccess using following command.
git clone https://github.com/allinurl/goaccess.git
autoreconf -fiv
./configure --enable-geoip --enable-utf8
make
make install

I tried using it by using following command
goaccess -f /var/log/apache2/access.log -o /var/www/html/report.html --real-time-html --ws-url=server.ip -p /etc/goaccess.conf
Got error :
goaccess: unrecognized option '--real-time-html'
Please help. i want to access it through browser for real time data.

Did you have a previous version installed? Can you please run goaccess -V?
BTW, since you are building from master, you will need to pass legacy to --enable-geoip (or geoip2)
./configure --enable-geoip=legacy --enable-utf8

I'm trying it for first time,
root@ubuntu:~# goaccess -V
GoAccess - 1.1.1.
For more details visit: http://goaccess.io
Copyright (C) 2009-2016 by Gerardo Orellana

I tried
./configure --enable-geoip=legacy --enable-utf8
It gave error

*** Missing development files for the GeoIP library

to solve this installed  libgeoip-dev
sudo apt-get install libgeoip-dev
and then
./configure --enable-geoip=legacy --enable-utf8
make
make install

and then
goaccess -f /var/log/apache2/access.log -o /var/www/html/report.html --real-time-html --ws-url=server.ip -p /etc/goaccess.conf
# Awesome. It worked. I'm loving this tool
thanks alot.


pipeline: decouple resources from pipeline creation

Closing, the vulkan branch have been rebased on top of master (which includes the pipeline API changes).


Unable to change background color of NavigationView when PaneDisplayMode is set to top

Describe the bug
Overriding the default background color of the pane using NavigationViewExpandedPaneBackground and NavigationViewDefaultPaneBackground doesn't work if PaneDisplayMode is set to Top. Everything works fine if PaneDisplayMode is set to Left.
Steps to reproduce the bug
Inside an empty page:
<Page.Resources>
        <AcrylicBrush
            x:Key="NavigationViewExpandedPaneBackground"
            AlwaysUseFallback="False"
            BackgroundSource="HostBackdrop"
            FallbackColor="Black"
            TintColor="Black"
            TintOpacity="0.9"/>
        <AcrylicBrush
            x:Key="NavigationViewDefaultPaneBackground"
            AlwaysUseFallback="False"
            BackgroundSource="HostBackdrop"
            FallbackColor="Black"
            TintColor="Black"
            TintOpacity="0.9"/>
    </Page.Resources>
<Grid>
<muxc:NavigationView
            x:Name="NavigationView"
            PaneDisplayMode="Top"
            SelectionFollowsFocus="Enabled">

            <!--  Tabs  -->
            <muxc:NavigationView.MenuItems>
                <muxc:NavigationViewItem
                    Content="General">
                    <muxc:NavigationViewItem.Icon>
                        <FontIcon FontFamily="{StaticResource FluentUIGlyphs}" Glyph="" />
                    </muxc:NavigationViewItem.Icon>
                </muxc:NavigationViewItem>
            </muxc:NavigationView.MenuItems>
            <Frame x:Name="contentFrame" IsNavigationStackEnabled="False" />
        </muxc:NavigationView>
</Grid>

Expected behavior
Background color should change
Screenshots

Version Info

NuGet package version:
[Microsoft.UI.Xaml 2.4.3]

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)
Yes

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context

sounds like we may have missed a template binding.

I would like to look into this issue.

For DisplayMode top, NavigationView uses the "NavigationViewTopPaneBackground" resource to allow lightweight styling of the background of the background. I am not sure if changing the theme resource binding here is a good idea as this might break existing apps.

@chingucoding using NavigationViewTopPaneBackground works for me. Nonetheless, in my opinion, using NavigationViewDefaultPaneBackground should work as well. What about keeping NavigationViewTopPaneBackground in case someone wants to use different background colours but also allowing NavigationViewDefaultPaneBackground to set the background colour of NavigationView when DisplayMode is set to Top?

The big question is how you would achieve this. We can certainly not introduce an API to switch between the resources for the background DisplayMode.Top. You can't bind the background of a control to both resources.

We could make the NavigationViewTopPaneBackground reference the NavigationViewDefaultPaneBackground resource, not sure how good of a solution that is though.

Note that resource referencing is not working as intended right now: https://github.com/microsoft/microsoft-ui-xaml/issues/2913

Note that resource referencing is not working as expected right now: #2913

Oh right, guess that option is off the table then. Thanks for linking that issue @Felix-Dev !

Yes, was about to link the same issue, when #2913 is resolved this should be easy. In the mean time we don't really have a good way of doing the fallback color proposed.

Is this a "needs-winui-3" issue then @StephenLPeters ?

Is there a reason why there isn't a TopPaneBackground property or something? I'm making a templated control that uses a NavigationView internally and I need to use a TemplateBinding on the background

This is because that would be a property which would only be relevant in some scenarios but not in all scenarios. Such kind of API is not ideal and the API surface of NavigationView is already fairly complex, having a property for the TopPaneBackground does not make this easier. Also when this kind of property would be introduced, we would also need to introduce a new property for the left panebackground for completeness sake. That's one of the reasons why this is done through lightweight styling.


Bringing in emissions and power generation data in one json file

Now that we have data for emissions on the website, lets do the same for power generation.
Instead of having two separate files as I originally outlined, it would be a lot easier to work with all data rolled up by state in Gatsby. This will give us a pattern for easily adding more data for each state as we make it.
Here's what I see as the next steps to take:

rename final/emissions.json to final/state_data.json
in that file, the data should be formatted as:

{
  "illinois": {
    "emissions": [
      {
        "year": "2001",
        "dirty_power": 1000000,
        "buildings": 1000000,
        "transportation": 1000000,
        "dumps, farms, industrial": 1000000
      },
      {
        "year": "2002",
        "dirty_power": 1000000,
        "buildings": 1000000,
        "transportation": 1000000,
        "dumps, farms, industrial": 1000000
      },
      {
        "year": "2003",
        "dirty_power": 1000000,
        "buildings": 1000000,
        "transportation": 1000000,
        "dumps, farms, industrial": 1000000
      },
      ...
    ],
    "power_generation": [
      {
        "year": "2001",
        "coal": 1000000,
        "natural_gas": 1000000,
        "petro_liquids": 1000000,
        "nuclear": 1000000,
        "hydro": 1000000,
        "solar": 1000000,
        "wind": 1000000
      },
      {
        "year": "2002",
        "coal": 1000000,
        "natural_gas": 1000000,
        "petro_liquids": 1000000,
        "nuclear": 1000000,
        "hydro": 1000000,
        "solar": 1000000,
        "wind": 1000000
      },
      {
        "year": "2003",
        "coal": 1000000,
        "natural_gas": 1000000,
        "petro_liquids": 1000000,
        "nuclear": 1000000,
        "hydro": 1000000,
        "solar": 1000000,
        "wind": 1000000
      },
      ...
    ]
  },
  "indiana": {
    ...
  }
}

based on the conversation in https://github.com/chihacknight/state-by-state-decarbonization/pull/35#issuecomment-1079053261, we will be keeping the files separate for our own sanity.


Mutliple devices and 'rotate()'

I think I saw that there is a scheme for connecting multiple devices together in an array, for example to display 8 character on 7-seg. Is the 'rotate()' setting on each display, or on the whole array (together as one)?
The reason I'm asking is that 1.2inch display is NOT rotational symmetrical:
https://smittytone.net/docs/ht16k33_segmentbig.html
And for my project (https://github.com/mungewell/pico-timecode) I am considering using these for a 'Digi-Slate'. One thing that is done is 'tail slating', where the slate is 'clapped' at the end of a segment - to signify this the slate is inverted....
Most of the time the TimeCode will contain characters which would define which way up the 'display' is, for example no question with "13:13:13:13" but others are ambiguous (ie "2", "5", "6" and "9"s). If I was to place the two display with the two 'joining colons' together, I could light one or the other to signify which way the display is the the :SS:FF value (vs HH:MM ).
Just a thought, and you're welcome to say "won't implement". Thank you for the library anyhow.

The display isn't rotationally symmetrical, but then neither is the smaller version. That's why neither originally had a rotate() function. However, I was asked to add one to the driver for the smaller display to suit a certain use-case, and it seems ridiculous not to extend the same courtesy to larger display.
The driver is focused on single units, but it's certainly possible to write code that combines single units into a large whole. TBH, though, that's a very low priority for me: too many other projects need updating. I'll add it to my feature request list, but it would be dishonest of me not to say it's likely to be some time before I get round to it.

I've updated the develop branch with an experimental rotate() method for the big display. Please try it out. I can't: for some reason I'm having issues with my 1.2in display board (it's a bit old).

Included in 4.0.1


Confirmation option

I have the following confirmation option:
@click.confirmation_option(help='Are you sure you want to create a new MD?')
But the prompt is "Do you want to continue? [y/N]:"
Am I missing something?

The help parameter is used to display the message when calling --help.
To change the prompt, use the prompt parameter :
@click.confirmation_option(help='Confirm the action.', prompt='Are you sure you want to create a new MD?')

Thanks a bunch!

FYI, the click docs indicate otherwise
http://click.pocoo.org/5/options/#yes-parameters


[Feature] Synchronization settings and mapping

Introduction
Synchronization feature is a very good tool for many instances. But it has some flaws.
For example, not every instance blocks any other which is considered "bad", but still wants to use benefits of community-driven moderation lists. Some just limits them leaving their users a freedom of information and ability to still manually follow users from the "bad" instance.
So here's an idea: list mapping.
Examples
So for example you can set your own sync profile by selecting sanctions and strategies for fediseer list. For example:
Sync settings 1 (default):

Fediseer list
instance sanctions
strategy

Censured
suspend
overwrite

Hesitated
limit
overwrite

Suspicious

no sync

Some other list

no sync

Sync setting 2 (custom)

Fediseer list
instance sanctions
strategy

Censured
limit
merge / append only

Hesitated

no sync

Suspicious

no sync

Some other list

no sync

Sync setting 3 (custom)

Fediseer list
instance sanctions
strategy

Censured
limit
merge with deletion

Hesitated
reject media
overwrite

Suspicious

no sync

Some other list
limit
overwrite

Explanation
Strategies

overwrite - completely synchronizes all data with fediseer by overwriting existing list entries on the instance
merge / append only - adds entries which do not currently exist in the list on the instance
merge with deletion - adds entries which do not currently exist in the list on the instance, but also removed entries which were previously synchronized from fediseed, but removed after that
some other strategies with another direction priorities for example

Instance sanctions

Limit - removed content from such instances from public timelines, but allows users to follow users from limited instance
Suspend - completely disables any interaction with users from suspended instance
Reject media - do not sync media from remote instance
Other domain block options which are currently present

Something like this is pretty much the end-goal for synchronization, though it's gonna take a while.

Should feature request be automatically closed?

Well, I use it more as a reminder that says "hey, you either forgot about this issue, or it's no longer relevant".


Rule and Command parameters

Is it a good idea to add parameters to Rules and Commands?
I want to have Rules like "After X minutes" and Commands like "Send SMS" with parameters "minutes", "message text" in the transition configuration.
Maybe this is already possible in the current version?

HI @Aracon ,
in essence it would be very nice to be able to add contextual parameters.
this would involve a statemachine configuration on a transition (or states) in a generic format (json?), which would be made available to be consumed by a rule or command.
I do see the use cases for this, but am reluctant to implement it. Is it the responsiblity of the statemachine to be able to configure the commands/rules? Or is that application logic?
The problem can be generalized in the rephrased version: "I'd like to be able to have a context in the rule or command that allows me to act conditionally on that context in the rule or command"
In case this context is provided to the rule/command, the application logic in that rule/command can take action on that context. THis could be achieved by injecting a Transition/State or even the Statemachine (though I do not like that at all) into the rule/command.
The main problem I have with this is that it makes the rule and command aware that it is being governed by the statemachine, making it tightly coupled (currently, the rules/commands are unaware of the statemachine) to a statemachine implementation
alternatively, a json string or the like could be injected when read from the statemachine transition/state configuration somewhere.
This could be implemented by having a seperate interface for the rule or command (IStatemachineAware or something along those lines).
When creating the rule/command for execution in the statemachine, we could check for that interface and inject the configuration/context in it.
Now, this COULD be implemented by a you:

create a Loader subclass that can read the configuration for a rule (see https://github.com/rolfvreijdenberger/izzum-statemachine/blob/85f6976bfa1eb706fa3238eaff19417ffbd95d4b/src/statemachine/loader/Loader.php#L12)  and
create a Transition subclass that holds the the configuration when loaded (see https://github.com/rolfvreijdenberger/izzum-statemachine/blob/85f6976bfa1eb706fa3238eaff19417ffbd95d4b/src/statemachine/Transition.php#L443, https://github.com/rolfvreijdenberger/izzum-statemachine/blob/85f6976bfa1eb706fa3238eaff19417ffbd95d4b/src/statemachine/Transition.php#L282)
have these two play together to implement the desired behaviour by having the transition inject the loaded config at rule creation
depending on your backend of choice (php/json/yaml/sql/redis/mongo) this will be relatively easy to implement (php/yaml/json being the easiest I guess)

alternative courses of action:

discuss options here, agree on a a generic implemenation accross the whole izzum package and implement
subclass the statemachine and use the existing hooks to build it yourself

Let me know what you think or if the above is workable for you
cheeers Rolf

It would be good to make a generic implementation.
I think there is no need to inject a whole Transition/State, a json string should be enough. I see this as an additional parameter in Transition configuration. This parameter is passed to the Rule constructor.
But I don't know how to handle the case of multiple rules in this approach. I mean the case when multiple Rules are chained in one transition configuration.

a json string can be implemented in any backend so that would be my preferred choice.
the fact that it is possible to have chained rules and composite commands is a bad design choice on my part imo: you can achieve the same result in application logic with a little less flexibility but simpler code for the statemachine.
Making this change would break the current existing implementation and would mean a major version bump. If that was the case, I would also make other changes at the same time, since this would be the opportune moment.

no composite commands (solve/reuse in application command: means a less flexible configuration)
no chained rules (solve/reuse in application command: means a less flexible configuration)
falseRule ->IsFalse
TrueRule ->IsTrue
substates for the exit and entry commands (so you're able to retry failures on an exit or entry command)
expose configuration - via an interface for both state entry and exit and transitions, for commands and rules - and put it on all backends. The specific rule or command that accepts the configuration can then delegate to existing rules/commands used within that rule command, without altering their interface. Or it could even be a specific StatemachineConfigCommand/Rule superclass to be extended, specifically to accept a configuration (default handling can be done here)
probably simplify some of the approaches to use the statemachine

There is some work involved here...
Would you like to join in the effort @Aracon ?

the lack of having chained rules and composite commands will be offset by the fact that you can highly configure your commands/rules via a json configuration or the like.
This allows you to make runtime configuration changes without the need to do code adjustments

Yes, I would like to work on implementation of command and rules config.
About other points in the changelist, I am not so sure. Some of them need time, I have not so much. My suggestion is that I will start working on command/rules config (and related changes) and then we will see how the work goes and decide about other changes.

The project I worked on is paused, so I pause the work on improvements. I will notify when the project will continue.


Add directory in utils for the analysis related to determining location of spectrogram within image files (in pixels)

Thank you for doing this! We will using 310 as the starting coordinates of the spectrogram and 2170 coordinates as the ending of the spectrogram.


feat(#major); EtherFi; Add Subgraph

Adds subgraph for EtherFi on Ethereum using generic schema.
Test Deployment: https://subgraphs.messari.io/subgraph?endpoint=QmdtVcUaQo7o27RNQk7VMgyeL8nTwKFDmqAiA392Tz9uJN&tab=protocol

@steegecs The revenues are calculated using the WithdrawFunds function call on the EtherFiNode contract. This function can be either used to do a partial withdrawal (claim only the staking rewards) or a full withdrawal (complete withdrawal of principal amount plus the accumulated rewards). This huge spike in revenue is because we are also calculating the principal amount in full withdrawal as revenue. I have pushed a fix to remove the principal amount from the revenue calculation.
New Deployment: https://subgraphs.messari.io/subgraph?endpoint=QmURUkHMqEDGLi36JTssmWLgdYeDipEUvD1G1FgLTdjBrz&tab=protocol


chore(deps): eslint-config-algolia 13.4.0

Summary
This version removes the requirement to type return parameters.
Result

#3917 will no longer have linting errors

Why was this targeting next? It should have been develop.


Remove use of subprocess and replace with appropriate Python libraries wherever possible

Among other problems, spawning a new process reduces the main program's control over the process and will make testing automation difficult.
Examples include calls to the AWS CLI and calls to ssh.  The former can use the boto3 library (see this commit) while an example of using the Paramiko library as an SSH client can be found in this commit.

E.g.  this:
subprocess.call("ssh -o 'StrictHostKeyChecking accept-new' -i ./files/var/ssh/id_rsa ubuntu@"+ATTACKER_SERVER_PUBLIC_IP+" 'sudo python3 exploit.py "+WEB_SERVER_PUBLIC_IP+" > /home/ubuntu/.aws/credentials'", shell=True)

becomes this:
ssh_client = SSHClient(
	ATTACKER_SERVER_PUBLIC_IP, 'ubuntu', './files/var/ssh/id_rsa')
ssh_client.connect()
ssh_client.exec(
	'sudo python3 exploit.py {} > /home/ubuntu/.aws/credentials'.format(WEB_SERVER_PUBLIC_IP)
)


Support transmit power

Add tx_power to the virtual interface to describe the device's transmit power.
Implement vwifi_set_tx_power and vwifi_get_tx_power to correspond to set_tx_power and get_tx_power in cfg80211_ops, respectively.
vwifi_set_tx_power can set the device's transmit power, while vwifi_get_tx_power can retrieve the transmit power information.
The transmit power can be set using the iwconfig vwn txpower command.
phy#12
	Interface vw2
		ifindex 14
		wdev 0xc00000001
		addr 00:76:77:32:00:00
		type managed
		txpower 13.00 dBm
phy#11
	Interface vw1
		ifindex 13
		wdev 0xb00000001
		addr 00:76:77:31:00:00
		type managed
		txpower 12.00 dBm
phy#10
	Interface vw0
		ifindex 12
		wdev 0xa00000001
		addr 00:76:77:30:00:00
		type managed
		txpower 11.00 dBm

In the future, we may be able to introduce device coordinate parameters to calculate the RSSI value in free space in conjunction with transmit power.

Also, you should avoid using "iwconfig," which is deprecated. Use "iw" command for consistency.
See https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/#iwconfig

I'm currently facing an problem where using sudo iw dev vw0 set txpower fixed 1000 results in
struct vwifi_vif *vif = wdev_get_vwifi_vif(wdev);

wdev_get_vwifi_vif returning an empty virtual interface.
That is, it fails the following check.
/* Validate vif pointer */
if (!vif) {
    printk(KERN_ERR "vwifi_vif is NULL\n");
    return -EINVAL;
}

If this pull request is ready for reviewing, use git rebase -i to squash and refine the git commit message. Then, request the reviewers via GitHub web page.

Thank @jychen0611 for contributing!


Unable to deploy to s3 in cn-north-1

Hi, thanks for all your hard work on this plugin. It's been really useful for us.
I'm having trouble deploying artifacts using s3-wagon-private to any S3 bucket in the cn-north-1 region. I suspect this is related to request signing as cn-north-1 only supports the signature v4 signing process.
When I try lein deploy, I see the following error:
Could not transfer artifact myartifact:myartifact:jar:1.0.16 from/to releases
(s3p://mybucket/releases/): The AWS Access Key Id you provided does not exist in our
records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId;
Request ID: 14856B606B12E5CD)

I'm using [s3-wagon-private "1.3.0-alpha2"] and my credentials are set as environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_DEFAULT_REGION. My lein configuration looks like:
:deploy-repositories [["releases" {:url "s3p://mybucket/releases/"
                                   :no-auth true}]]

I can execute other operations using the AWS CLI, such as aws s3api list-buckets so I'm certain that the credentials are valid. I can also deploy successfully to eu-west-1 with this lein configuration (using different credentials of course).
I haven't yet worked out the exact cause of the problem here although as mentioned above it seems likely that this is related to the signing process. I tried updating the aws-sdk to 1.11.86 but this didn't fix the problem.

Can you check hardcoding username and passphrase to see if that works?

Sure. I also tried this with username and passphrase specified like:
{:url "s3p://mybucket/releases/"
 :username :env/AWS_ACCESS_KEY_ID
 :passphrase :env/AWS_SECRET_ACCESS_KEY}

and finally with the key and secret hard-coded like:
{:url "s3p://mybucket/releases/"
 :username "AKAI..."
 :passphrase "..."}

both of these produced the same error.

From memory, AWS China is a completely separate deployment of AWS, and it doesn't share any IAM data with the rest of the publicly accessible AWS regions. Are the AWS keys you're using specifically created for the China version of AWS?
If that's not the case, here's two debugging steps:

Can you try the same tests against ap-northwest-2? I'm pretty sure that region also only support v4 signed requests.
Are you able to enable and share the (sanitised) logs that are generated when trying to use the plugin?

Interestingly, when I try this in ap-northwest-1 or eu-central-1, I see the following error;
'eu-central-1' is not a valid location constraint

which is obviously related to aws-maven and the constants here:
https://github.com/spring-projects/aws-maven/blob/ce6a4ffbd8a59029ebe147124ac2d7ff1a7afd18/src/main/java/org/springframework/build/aws/maven/Region.java
however with those regions, at least s3-wagon-private gets as far as getting the buckets location. With a cn-north-1 deployment:

s3-wagon-private doesn't get as far as retrieving the bucket's region, it fails to do this because of the auth error
cn-north-1 is not present even in the latest aws-maven Region class, so even if s3-wagon-private had been able to get the region, the next step would have failed

This leads me to believe this has nothing to do with Signature V4. I wonder if there is some other unsafe part of the aws-maven code, e.g. asuming that the 'partition' is aws when for cn-north-1 it is actually aws-cn.
I'll try to capture some debug output. I think I'll add a pull request to spring-projects/aws-maven to include some of the latest regions as this is required, no matter what.

Okay, it looks like this may be a long way from working. spring-projects/aws-maven is basically a stagnant project. There are some issues and pull requests that relate to this (and similar) problems and a few forks that have attempted to fix the issues. Removing the dependency on aws-maven would be a good move :)

It's strange how the 'not a valid location constraint' only seems to affect the jar file, all the other files (.asc, .asc.md5, .asc.sha1, .pom, .pom.asc, .pom.asc.md5, .pom.asc.sha1, .pom.md5, .pom.sha1) are published successfully when I use a region like ap-northeast-2.

I've gotten to the bottom of this one and it's a reasonably simple fix.
This line causes a problem when deploying with China credentials to a China bucket:
https://github.com/s3-wagon-private/s3-wagon-private/blob/ddb5bcc834510edeb167682c004ed00325f9a9cd/src/main/java/org/springframework/build/aws/maven/PrivateS3Wagon.java#L105
because it's not possible to get bucket details or use China credentials before you set the endpoint. The endpoint must be set to https://s3.cn-north-1.amazonaws.com.cn and interacting with any other non-China endpoint using China IAM creds will fail.
I'm not familiar with how Leiningen activates wagon plugins to handle certain repo protocols. Is it possible to introduce an s3-wagon-private configuration into the project.clj and read this at some point during the wagon's initialization?

BTW, when I build a version of this plugin that set the China S3 endpoint (instead of attempting to discover the endpoint via the bucket details) I was able to successfully publish to a China bucket.

I can think of a few possibilities:

Look for AWS_DEFAULT_REGION and use that to find the bucket details.
Make the endpoint part of the lein config (either in the S3 URL, or as another key)
Build a separate version of the plugin for China

I'm not so keen on the third one. It would be interesting to know what the AWS recommended way of doing this is, as I imagine the same issues would apply for govcloud or any other private AWS region.
Can you share a snippet of what you changed?
Looks like we should probably use something like this: https://aws.amazon.com/articles/3912
AmazonEC2Client ec2 = new AmazonEC2Client(myCredentials);
ec2.setEndpoint("ec2.ap-southeast-1.amazonaws.com");
ec2.describeInstances();

https://github.com/elastic/elasticsearch-cloud-aws/commit/4c02a017b43539d26964b639a71bf589cba1f72c is slightly relevant
http://web.archive.org/web/20150322065533/http://docs.aws.amazon.com/general/latest/gr/isolated_regions.html

@danielcompton @joelittlejohn Is it necessary to set the endpoint for China? I'm wondering if setting the region is sufficient. The China region is in the region enum of the SDK so perhaps when using this region the SDK takes care of the endpoint stuff for us?
Unfortunately I don't have any credentials to try this. @joelittlejohn do you know if it's possible to build an s3 client with credentials and the region without the endpoint? Or would you be able to try with your credentials?
If we can just set the region, here's another idea for the mix:

The same way we started using the DefaultCredentialsProviderChain, we can use the AWS SDK DefaultAwsRegionProviderChain which will look for AWS_REGION env var, region from the profile file, or from instance metadata. I haven't checked yet but we may already be using the default region provider chain. The only issue is for folks relying on this auto-region detecting feature that the wagon attempts to provide, which leads to the second piece.

It looks like the SDK has a function for getBucketLocation which can be translated to a region which can be set on the client. Since @joelittlejohn mentioned that we can't make any API calls to any endpoints outside of China with China IAM creds, we would have to make this auto-detect behavior fallback only so that the China region would succeed. (Alternatively, we could just leave the default aws-maven could for auto-detection in but it seems like that hard-coded list of regions will get out of date as compared to the SDK.)

Excellent news @joelittlejohn! The only trickiness I can think of then is the DefaultAwsRegionProviderChain errors when it can't find a region so we'll just have to be careful of that to make sure we get to the fallback behavior.
I should be able to take a stab at implementing this over the weekend for review.


Blocks Like Grass and one block flowers break Player Head placement

https://user-images.githubusercontent.com/82600264/161258867-b987342c-44ee-4e53-8124-fdca0ad5286f.mp4

Happens when placing head on for example grass

that doesn't have anything to do with player heads, it's just that minestom can't differentiate between a block that should be replaced and one that shouldn't


windowClass option

What is the intended effect of the windowClass option? For example:
$kWindow.open({
    // ...
    windowClass: 'my-class',
    // ...
}}

Right now, supplying a class doesn't actually add a css class to the window, as one would expect. Instead, it adds my-class as the value of a window-class attribute that is on the element wrapping the window's contents. See screenshot:

I think that it should:

add a css class rather than just an attribute, and
add the css class to the actual k-window element rather than just the container of the contents

see 2.0 version
Now all the kendoui window options are available


Add the type of allow_browser in actionpack

Rails 7.2 adds allow_browser to disallow browsers that don't satisfy the version specified in the :versions option.
https://edgeguides.rubyonrails.org/7_2_release_notes.html#add-browser-version-guard-by-default
This method is included in the generated ApplicationController if a developer runs rails new since Rails 7.2, so I think it's worth being added in gem_rbs_collection.
This patch also includes symbolic links to RBS files located in gems/actionpack/6.0.

Thank you!
/merge

/merge


init adrs

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Related Issue # (issue)
Closes # (issue)
Fixes # (issue)

Remove if not applicable

Added tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help
[ ] Separate ticket for tests # (issue/pr)

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?

[ ] 📜 README.md
[ ] 🤝 Documentation pages updated
[ ] 🙅 no documentation needed
[ ] (if applicable) generated OpenAPI docs for CRD changes

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

What do you think about splitting the ADRs into individual PRs which we can use to discuss and review the proposals?

We're going to setup individual ones for the documentation repository later today.


[Task]: Add a default watermark emit interval to FlinkUnboundedSourceReader

What needs to happen?
Currently, when autoWatermarkInterval is not set, watermarks are not emitted in FlinkUnboundedSourceReader. This does not work wth Beam's event-time default behavior. Use a sensible default for watermark emission when not explicitly set.
Issue Priority
Priority: 3 (nice-to-have improvement)
Issue Components

[ ] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[X] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

.take-issue

Hi @je-ik I have submitted a PR for your review whenever you have time.

Closed via #30141


Add cordova-plugin-add-swift-support as a dependency

Removed the hook and updated the Building docs to remove the hook information as it won't be needed
Closes #275

Hey, thanks for the patch, this looks really nice! I have a couple of concerns though: we set the deployment target to 9.0 and enable bitcode to NO. We still want to do that. Can you come up with a simplified hook we can bundle which takes care of that?
Also, I found setting the development team in the hook to be useful, FWIW.

@ibc sorry, editor's fault (Xcode)
@saghul bitcode is NO since Cordova 3.9.2, will take a look into the deployment target and development team

@saghul I've made the plugin set the deployment target on the config.xml
You won't see iOS 9 set right after installing the plugin (probably a Cordova bug), but if you do a cordova prepare or cordova build it will set the Xcode project deployment target to iOS 9, so the users won't be able to build with a lower deployment target.
About the development team, the old hook didn't do it. I've read a comment where you say that you have your own hook that does it, but I don't see any code to set it on this hook.

@jcesarmobile

I've made the plugin set the deployment target on the config.xml

Excellent!

About the development team, the old hook didn't do it. I've read a comment where you say that you have your own hook that does it, but I don't see any code to set it on this hook.

Sure, it wouldn't make sense to commit that :-)
I'm happy with how this looks like. I'll give it a test and merge it if it works as expected. Thanks!

I've been using this instead of the hook and it works.

@saghul Did you have a chance to test the changes?

Not yet, sorry :-S I'll try to do it this weekend.


Update healthcare-apis-overview.md

updating from the healthcare clinician lens.

@tempjl1 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Note that publishing in this repository is suspended until Tuesday, November 2. Merging will resume Tuesday morning. Authors can still review and sign off on PRs in the interim. Thanks.

@tempjl1 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@msjasteppe: I'm sorry - only the author of this article, @stevewohl, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@sign-off

#sign-off

@tempjl1: I'm sorry - only the author of this article, @stevewohl, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@tempjl1 @msjasteppe
Hi Janna and Jason.  I reviewed and approved the changes made to the introduction. Jason requested I move forward and sign off on this PR.

#sign-off


Fallback to CocoaDebug 1.2.9 until issues are resolved

Closing since issue was resolved by CocoaDebug


Set HashMapIterator as a private class.

Other specific iterators are private. So this PR uniformize with HashMapIterator.
@privat you should check this.

rogue commits from Alexis.

+1 otherwise

Reroll without the ****ed up master.


How are models loaded for evaluation?

Hello @Soheil-ab ,
Thank you for your work!
I'm currently trying to evaluate Orca under different network conditions, but I am unsure where the code loads pre-trained models from.
I see the models being saved to ./train_dir/learner0/model*.ckpt - and I see a load_model and save_model in agent.py - but these functions aren't used anywhere (rephrase: where would be the right place to use load_model)?
Also - replay_memory has been initiated, but not used - is this on purpose? and How do I continue learning on the previous model using this option?
TL;DR: Could you please explain how to go about loading different models to evaluate Orca's performance?
Thank you!

Hi @adney11,
The code can run in multiple different ways. In general, there are two modes:

You only wanna use a trained model (we call that eval mode).
You wanna perform a training session (either from scratch or on top of an existing model, we call that training mode).

That said, if you look at the d5.py script, you'll realize that based on the input arguments, a "learner" can be initiated only when a training session is going to happen. Generally, we don't need a replay buffer to be loaded during the eval scenario. That's why the reply buffer only will be loaded by the learner.
To see the exact inputs required for each mode/scenario, you can check out the main c code and the lines where we call d5.y script (also, check out the README and the difference b.w. orca.sh and orca-standalone-emulation.sh scripts).
re the models themselves,

The functions you're referring were written as utility functions for other purposes!
For saving and loading the models, we simply use some available APIs in TF. In particular, we only pass a so-called checkpoint directory to TF (this is already part of the main json config file). For example, when we are in eval mode, this enforces the agent to load the model and use it. For more details, you can refer to the TF docs e.g. here.

Hope that helps!


Replace pdoc3

Find or create a suitable replacement for pdoc3 given the history / state of the project

given the history / state of the project

Is this what you're referring to? -> https://github.com/pdoc3/pdoc/issues/64

@zachvalenta that, and the fact the project forked under a different more restrictive license than the original (AGPL) which means it's incompatible with the MIT license used by this project. Just finished a compatible replacement: https://timothycrosley.github.io/pdocs/

Resolved in 1.2.0: https://timothycrosley.github.io/portray/CHANGELOG/#120-september-3-2019


Default Card List Fix

ITS-Pro time category: https://its-pro.ucsd.edu/browse/MA-80
This is complete when:

[x] When a visitor, student, or staff is using the app, they see the QR scanner card
[x] When a staff logs in, the MyStudentChart does not appear on the home view

Verified


port codebase to the new design in kyo-prelude

Fixes #462, #448, #429, #368, #340, #317, #229, #213
Following up on https://github.com/getkyo/kyo/pull/489, this PR migrates the rest of the codebase to the new design. Main highlights:

Async optimizations: The new Async effect, previously Fibers, has reduced allocations (no Fiber and Promise wrapper classes anymore) and race and parallel can now avoid forking if computations are already complete.
Fiber error tracking: Fibers now take an E type parameter that is automatically inferred from/to the Abort effect by fiber.get and Async.run.
Forking with effects: The new Boundary mechanism in kyo-prelude is used to allow Async, Abort, IO, and any other context effects (currently Env, Local, Resource, and other effects based on those like Console).
Simplified IO effect: In this new design, the IO effect isn't responsible for handling unexpected failures since they're covered by Abort now.

To preserve the git history, I first renamed all files to their new locations and then updated them with their new contents. Github can't show that in the default PR view, see https://github.com/getkyo/kyo/commit/620a593894b8067999213bbf34072eb9e3aa17e0 for a cleaner diff. For the cases where the file moved from kyo-core to kyo-prelude, I've kept the history of the original in kyo-core instead of the new one.
This change leaves pending tasks I'll create issues for:

Update the documentation. I've disabled the readme build for now.
Reintroduce Stream.buffer. The new mechanism for stream early termination makes it harder to implement it efficiently so I've removed it for now alongside its benchmark.

Most benchmarks have a significant regression with the new design. The main reason is the new bookkeeping for tracing and to provide stack safety in Safepoint. It's not ideal but the other improvements seem worth it. It'll also give a more realistic opportunity for other effect systems to catch up and I'll definitely have some fun exploring new optimizations :)

For perspective, I've collected benchmark results for all effect systems with this branch.

I've just pushed an important improvement restricting the APIs of the pending type to only non-nested computations, allowing only flatten. Nesting typically happens in Kyo when there's a user mistake, and providing a compilation error closer to where the nesting happens with a specific error message via @implicitNotFound should provide better usability.
I introduced a new Flat.Weak evidence based on NotGiven for this change. While Flat guarantees that a type isn't nested even in generic contexts, Flat.Weak can be bypassed in generic contexts where a type isn't statically known to be nested. Flat.Weak is strictly for usability given that it doesn't provide guarantees.
Commit: https://github.com/getkyo/kyo/pull/572/commits/685eb0268672adfd39b6911b88324c12778a663f


Ignored files errors not suppressed

λ ~/Public/lad/ master* remark template/test/web/snapshots/index.js.md -qf
template/test/web/snapshots/index.js.md
  1:1  error  Cannot process specified file: it’s ignored

✖ 1 error

contents of .remarkignore:
template/test/web/snapshots/index.js.md

I'd imagine instead the CLI should not throw an error and simply ONLY output the warning if -q is not passed

Ahh, missed this in the unified-args update. unified-engine has a silentlyIgnore option but that isn‘t available in unified-args.
Could you open an issue there? And potentially: a PR? 🎉


adding OverloadedStrings extension, hiding conflicting <$> operator

@jwiegley This fixes some errors I was getting when attempting to use GHCI with these modules. Parenthetically, it's pretty lame that the Text.PrettyPrint module decided to make their own incompatible version of <$>... I guess maybe that was before it became a common fmap synonym though.
Also a minor grammatical fix.

@adnelson Thanks!


The query that checks if the cqAuditEvent Index exists is not correct

Hello,
I think that the code that is used to check if the cqAudit index is installed is not correct.
https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/e3be724e64d084c66e169efefcccc28d0f175d2a/ui.apps/src/main/content/jcr_root/apps/acs-commons/components/utilities/audit-log-search/content.jsp#L24
The query used to check if the index is installed is:
SELECT * FROM [cq:AuditEvent]
But this query is never used in reality because in the Audit Search Log page it is mandatory to use at least one filter, the "Root path":

In the project that I'm working we are using a custom index because the official one didn't solved our problem. Our index works but we still get this message:

Best regards,
Gael Quintillan.

I have 2 ideas:

Use the actual and show that message on demand and not by default (as now).

Another solution could be to query for valid indexes in the /oak:index path.


add me as a maintainer on GitHub and Hackage?

Could you add me on hackage as well? Going to upload a version that builds


HashCheck Shell Extension

Description of the new feature / enhancement
The HashCheck Shell Extension makes it easy for anyone to calculate and verify checksums and hashes from Windows Explorer. In addition to integrating file checksumming functionality into Windows, HashCheck can also create and verify SFV files (and other forms of checksum files, such as .md5 files). It is fast and efficient, with a very light disk and memory footprint, and it is open-source.
Scenario when this would be used?
Shell integration: checksums at your fingertips
Supporting information
http://code.kliu.org/hashcheck/

would like to see this feature implmented, duplicate of #57

/dup #57


Fail fast when you can't play a torrent

What version of WebTorrent Desktop? 0.12
What operating system and version? All OSs
What did you do?

Create a torrent. Stop seeding (click the blue icon)
Close WebTorrent
Delete the data file from disk
Reopen WebTorrent
Click Play on that torrent

What did you expect to happen?
It should fail immediately with a "Path missing" error.
What actually happened?
It shows a "Path missing" error immediately, but still hangs for ~20 seconds until it plays the "timeout" sound and stops the loading spinner. Annoying since you can't do anything else with the app during those 20 seconds.
Suggested fix: any error that occurs during a play attempt should end the timeout counter immediately.

We should also end the timeout if a user stops the torrent after pressing play.

Currently with the new change to head straight to the player interface, if the user deletes a single video file and tries to play it via WebTorrent Desktop, it appears to work and just re-stream the file again. However, if the whole torrent folder is deleted while the app is active, if the user tries to play a video through WebTorrent Desktop, the user will be stuck staring at a blank video screen which doesn't load. However, if they go back to the torrent list, the torrent file missing message can be seen.

Both the original issue and the issue mentioned in @demoneaux's comment are fixed now, right?
Closing this.


Pipeline hangs when using lazy

I ran into an issue with running the following pipeline definition:
{
    "pipeline": {
        "name": "kallisto_stage1"
    },
    "transform": {
        "image": "gcr.io/pici-upenn/kallisto-pipeline:faa4d37514516fa1fbb6cb610f3f0bd249654910",
        "cmd": ["/bin/bash"],
        "stdin":[
            "echo 'running stage 1'",
            "/code/run_kallisto.sh /pfs/kallisto_input_full /pfs/out /pfs/kallisto_indices",
            "echo 'done running stage 1'"
        ]
    },
    "inputs": [
        {
            "name": "kallisto_input_full",
            "repo": {
                "name": "kallisto_input_full"
            },
            "glob": "/*",
            "lazy": false
        },
        {
            "name": "kallisto_indices",
            "repo": {
                "name": "kallisto_indices"
            },
            "glob": "/",
            "lazy": false
        }
    ]
}

If I run this pipeline as-is, it takes about two hours to complete. If I change lazy from false to true for the kallisto_indices input it appears to hang. I killed the run at 6 hours, and looking at the jobs it looks like the kallisto command gets stuck in the middle of processing it's first set of files. The run_kallisto.sh script looks like this:
set -euo pipefail

# Setting up input and output directories.
INPUT_DIR='/'
OUTPUT_DIR='/'
INDEX_DIR='/'

# Getting input and output directories from arguements
if [ $# -ne 4 ]; then
	INPUT_DIR=$(readlink -f $1)
	OUTPUT_DIR=$(readlink -f $2)
	INDEX_DIR=$(readlink -f $3)
	echo "Using $INPUT_DIR as input directory, $OUTPUT_DIR as output directory, and $INDEX_DIR as index directory"
else
	echo "Usage: run_kallisto.sh /directory/to/analyze /directory/to/output /directory/with/indices"
	exit 1
fi

cd $INPUT_DIR

# Iterating through all of the experiments in the input directory.
for dir in */
do
	DIR=${dir%*/}

	# Set up output directory
	CUR_OUTPUT_DIR="${OUTPUT_DIR}/${DIR}"
	mkdir $CUR_OUTPUT_DIR

	cd $DIR
	CUR_INPUT_DIR="${INPUT_DIR}/${DIR}"
	cd $CUR_INPUT_DIR
	echo "Analyzing files in ${CUR_INPUT_DIR}"

	for i in `ls *1.fastq.gz`;
	do
	 	sampleID="${i%1.*.*}"
	 	SAMPLE_OUTPUT_DIR="${CUR_OUTPUT_DIR}/${sampleID}"
	 	mkdir $SAMPLE_OUTPUT_DIR
	  	echo "Analyzing sample ${sampleID}"
		/root/kallisto_linux-v0.43.1/kallisto quant -i ${INDEX_DIR}/Homo_sapiens.GRCh38.87.cdna.all.idx -o $SAMPLE_OUTPUT_DIR -b 100 -t 8 ${sampleID}1.fastq.gz ${sampleID}2.fastq.gz
	done

	echo $?
done

I believe I asked this already, but as a sanity check. If you mount the input repo, what is the total number of files from the input repo that you're marking as lazy?
You could check by doing find ./* | wc -l for instance

There's just one file in the repo that's being marked as lazy.
pachctl list-file kallisto_indices master
NAME                                  TYPE                SIZE
Homo_sapiens.GRCh38.87.cdna.all.idx   file                2.206 GiB

stale


"Cândești" is listed in the drop-down menu

Description:
When user writes "Cândești" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Cândești"

Expected results
The location appears in the drop-down menu as "Cândești, Alba (Avram Iancu)"


[v0.13] Capping the level by MAX_LEVEL

Fixes #1115

@homu r+

@homu r+

:pushpin: Commit f89eaa5 has been approved by kvark

:pushpin: Commit f89eaa5 has been approved by kvark

:zap: Test exempted - status

:zap: Test exempted - status


Fixed additional error prone functionality in the original singleton class

As mentioned in #1's last comment there is some error prone functionality in the original singleton class

What exactly were the changes?

Mostly changes to the user of the software being able to create multiple singleton instances. This includes marking the constructor as private, making the copy constructor private and making the operator= private

Sounds good. Keep it up.


cargo-shuttle: 0.22.0 -> 0.23.0

Diff: https://github.com/shuttle-hq/shuttle/compare/v0.22.0...v0.23.0
Changelog: https://github.com/shuttle-hq/shuttle/releases/tag/v0.23.0
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 247749 run on aarch64-darwin 1

1 package built:

cargo-shuttle


[ FlipView ] [ HC ] Style updates

Fixing HC brushes for hover/press and updating HC brushes all u

p.

/azp run

/azp run


Search Company Data Bug

Please include the following with each issue:
1. Describe the bug
When you search for data using Search Company Data it is possible to DrillDown from the search result to the record.
When you search for data in Registered Whse. Activity Line the DrillDown fails because the procedure in codeunit  2682 Data Search Object Mapping has a Get-statement where not all primary key fields are specified.
In Codeunit 2682 Data Search Object Mapping there is a Get-statement without all primary key fields:
local procedure RegisteredWhseActivityLineToHeader(var RecRef: RecordRef)
var
RegisteredWhseActivityHdr: Record "Registered Whse. Activity Hdr.";
RegisteredWhseActivityLine: Record "Registered Whse. Activity Line";
begin
RecRef.SetTable(RegisteredWhseActivityLine);
RegisteredWhseActivityHdr.Get(RegisteredWhseActivityLine."No.");
RecRef.GetTable(RegisteredWhseActivityHdr);
end;
The line marked must be
RegisteredWhseActivityHdr.Get(RegisteredWhseActivityLine."Activity Type", RegisteredWhseActivityLine."No.");
2. To Reproduce

Add a field to Registered Whse. Activity Line with OptimizeForTextSearch set to  true
Add Registered Whse. Activity Line to List of Searchable Tables

Search for relevant data in Registered Whse. Activity Line and the error will show

codeunit 60062 "Search Data Events"
{
    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Data Search Defaults", OnAfterGetTableList, '', true, true)]
    local procedure OnAfterGetTableList(RoleCenterID: Integer; var ListOfTableNumbers: List of [Integer])
    begin
        ListOfTableNumbers.Add(Database::"Registered Whse. Activity Line");
    end;
}

tableextension 60019 "Registered Whse. Activity Line" extends "Registered Whse. Activity Line"
{
    fields
    {
        field(60010; "Search Source No."; Code[20])
        {
            Caption = 'Search Source No.';
            ToolTip = 'Specifies the Search Source No.';
            OptimizeForTextSearch = true;
            DataClassification = SystemMetadata;
        }
    }
}

3. Expected behavior
Expected behavior is that the Registered Whse. Activity List will open
4. Actual behavior
An error saying NavOption is not valid.
5. Versions:

AL Language: v15.0.1177813
Visual Studio Code: 1.95.3
Business Central:  DK Business Central 25.0 (Platform 25.0.26806.0 + Application 25.0.23364.24599)
List of Visual Studio Code extensions that you have installed: Not relevant
Operating System:

[X ] Windows
[ ] Linux
[ ] MacOS

Final Checklist
Please remember to do the following:

[ ] Search the issue repository to ensure you are reporting a new issue

[ ] Reproduce the issue after disabling all extensions except the AL Language extension

[ ] Simplify your code around the issue to better isolate the problem

Internal work item: AB#559875

This is not the right place to report such bugs either, but given the simplicity of the fix I will quickly do it.

Issue fixed in master branch.


Whitelist cookie?

The BigQueryAPI can be used behind a proxy so that another form of authentication can be used instead Google Service Account Key such as a Single Sign On (SSO) cookie.
We need to be able to forward a cookie very similar to how other datasources allow you to do this.
I.e:

Can this already be done?
If not - where would the changes needed to be made to support this?

@STEELBADGE sorry it took so long to reply. This is not possible now but would easy to add. We need to add this to the config editor https://github.com/grafana/grafana/blob/main/public/app/plugins/datasource/prometheus/configuration/overhaul/AdvancedHttpSettings.tsx#L55


In the Select API dropdown, select the name of the web API.

When configuring access for Postman point 3: In the Select API dropdown, select the name of the web API. My dropdown is empty. Any idea why?

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

ID: 6ebb27a5-41cc-b64f-de68-2f0df6b02f8d
Version Independent ID: 31de5338-ace5-b8c4-88e8-54863428fc61
Content: Authentication in web APIs with Azure Active Directory B2C in ASP.NET Core
Content Source: aspnetcore/security/authentication/azure-ad-b2c-webapi.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @CamSoper
Microsoft Alias: casoper

https://stackoverflow.com/q/56672204/196526


Update build script to use appropriate 5.2 era database during integration testing.

Updates the build script to use the latest 5.2.* Release package hosted in Azure Artifacts. Version 5.0.0 is not available in that feed and this 5.2 era database package is a more useful integration testing target.

Closing this as a duplicate. The relevant change appears in #201.


Support for setting headers per request when using AFHTTPSessionManager.

It would be nice to have an option to set HTTP headers per request when using AFHTTPSessionManager.
Currently it's only possible to set the default headers on the request serializer which are used for every request done by the http session manager instance. The problem occurs when you would like to send different headers for different requests which cannot be done in a clean way using AFHTTPSessionManager.
Setting headers per request can only be implemented by using AFURLSessionManager or by subclassing/extending AFHTTPSessionManager, which seems to be inconvenient.
Also Alamofire library for Swift supports the headers per request. It uses a bit different API (without the manager), however, it still seems to be inconsistent.
What do you think?

Codecov Report

Merging #4113 into master will increase coverage by 5.32%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4113      +/-   ##
==========================================
+ Coverage    82.8%   88.12%   +5.32%
==========================================
  Files          46       46
  Lines        5304     5846     +542
  Branches      439      517      +78
==========================================
+ Hits         4392     5152     +760
- Misses        671      690      +19
+ Partials      241        4     -237

Impacted Files
Coverage Δ

AFNetworking/AFHTTPSessionManager.h
100% <ø> (ø)
:arrow_up:

Tests/Tests/AFHTTPSessionManagerTests.m
100% <100%> (+1.4%)
:arrow_up:

AFNetworking/AFHTTPSessionManager.m
90.22% <100%> (+8.22%)
:arrow_up:

Tests/Tests/AFNetworkActivityManagerTests.m
100% <100%> (ø)
:arrow_up:

Tests/Tests/AFURLSessionManagerTests.m
81.43% <0%> (-0.06%)
:arrow_down:

Tests/Tests/AFHTTPRequestSerializationTests.m
100% <0%> (ø)
:arrow_up:

UIKit+AFNetworking/AFAutoPurgingImageCache.h
100% <0%> (ø)
:arrow_up:

UIKit+AFNetworking/UIProgressView+AFNetworking.m
0% <0%> (ø)
:arrow_up:

Tests/Tests/AFAutoPurgingImageCacheTests.m
100% <0%> (ø)
:arrow_up:

Tests/Tests/AFImageDownloaderTests.m
99.5% <0%> (+0.14%)
:arrow_up:

... and 15 more

Continue to review full report at Codecov.

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

Would love to see this patch merged.  I'm in the process of reinventing this feature right now.

I’m going to look at this in more depth next for inclusion into a future 3.3.0 release—but on first inspection it looks good!