COSI Driver

Kubernetes has standard interface for provisioning ObjectStorage volumes

https://github.com/kubernetes-sigs/container-object-storage-interface-api
https://github.com/kubernetes-sigs/container-object-storage-interface-controller

It would be nice to create driver for SeaweedFS

It seems implementation should be really simple
https://github.com/rook/rook/tree/v1.14.9/pkg/operator/ceph/object/cosi

Need to see the demand for COSI. Please comment here if you want this.

Actually I started working on the COSI driver for SeaweedFS. Thanks to ChatGPT, I was able to generate code from the s3gw-cosi driver this evening. I haven't tested it yet but will do so tomorrow. 🙂
https://github.com/aenix-io/seaweedfs-cosi-driver

The main logic is here. I would appreciate it if you could take a quick look at how it suggests creating S3 buckets and granting access to them, and provide some feedback if it's done incorrectly:
https://github.com/aenix-io/seaweedfs-cosi-driver/blob/seaweedfs/pkg/driver/provisioner.go

Amazing! It looks fine.

I tested new driver, and it works!
first I saved my certs and configuration locally:
kubectl exec -n tenant-root seaweedfs-filer-1 -- tar -C /usr/local/share/ca-certificates/ -cf- . | tar -C  ~/.seaweedfs/ca-certificates/ -xvf-

Then I started seaweedfs-cosi-driver:
WEED_GRPC_CLIENT_KEY=/Users/kvaps/.seaweedfs/ca-certificates/client/tls.key WEED_GRPC_CLIENT_CERT=/Users/kvaps/.seaweedfs/ca-certificates/client/tls.crt WEED_GRPC_CA=/Users/kvaps/.seaweedfs/ca-certificates/client/ca.crt COSI_ENDPOINT=unix:///tmp/cosi.sock SEAWEEDFS_FILER=<IP_ADDRESS>:18888 bin/seaweedfs-cosi-driver -v 10

and container-object-storage-interface-provisioner-sidecar:
go build -o artifacts/objectstorage-sidecar cmd/objectstorage-sidecar/*.go
artifacts/objectstorage-sidecar -d unix:///tmp/cosi.sock --kubeconfig ~/.kube/config -v 5

buckets are provisioning and access is granting:
> fs.ls buckets
sample-bcc215ebca8-c77f-45b1-8153-51384ef0cc0a
> s3.configure
{
    {
      "name":  "ba-5a56712d-027d-4fa1-a985-7989ebafc2bd",
      "credentials":  [
        {
          "accessKey":  "c724b096eed6feb90376a2bbe81986a1",
          "secretKey":  "c03093d5c046da0271f3f161244a891a373970a33e118bb1d63a63031e4fa0a8"
        },
        {
          "accessKey":  "8ac29f7ebf99cce3a33185781ee85cc1",
          "secretKey":  "3e43c3e264a2c9562f41cc041d3541f52068a49c55117b4e60c4d50d09db18c7"
        }
      ],
      "actions":  [
        "Read:sample-bcc215ebca8-c77f-45b1-8153-51384ef0cc0a",
        "Write:sample-bcc215ebca8-c77f-45b1-8153-51384ef0cc0a",
        "List:sample-bcc215ebca8-c77f-45b1-8153-51384ef0cc0a",
        "Tagging:sample-bcc215ebca8-c77f-45b1-8153-51384ef0cc0a"
      ],
      "account":  null
    }
  ],
  "accounts":  []
}

@chrislusf can we create github.com/seaweedfs/seaweedfs-cosi-driver for this driver, i'd like to submit it there

done and invited you.

Okay, I created PR to add this to official Helm chart https://github.com/seaweedfs/seaweedfs/pull/5843
Short notes:

Drive reworked and tested manually
Official COSI-sidecar image also contain some bugs, I prepared upstream PR to fix the sidecar container https://github.com/kubernetes-sigs/container-object-storage-interface-provisioner-sidecar/pull/139#event-13714532195
Also PR for adding SeaweedFS COSI driver on official website https://github.com/container-object-storage-interface/container-object-storage-interface.github.io/pull/12

Thanks!

Official COSI-sidecar image also contain some bugs, I prepared upstream PR to fix the sidecar container

Is this bug specific to this COSI driver?

No, this is common bug of sidecar comtroller


video-gallery missing closing parentheses

I am having issues getting the video-gallery to display. Going through the code to figure out the reason why I found several lines missing the closing parentheses ")"
line 159 is missing 5 closing parentheses
line 169 is missing 2 closing parentheses
line 416 is missing 1 closing parentheses
line 34 is missing 1 comma last nested if
even with these added on my side, the video-gallery is not displaying.
Update: I can see the elements on the page using developer tools, but they are transparent, or hidden.

@jaxkookie Good morning! Were you ever able to get this to work as I am having the same issue

Same problem here. I have found that there is also some problem with iterators, but I have not been able to solve them.

I was not able to get this to work so I abandoned it and went with another option.


[perf] Refactor processing loop to enhance throughput

This requires a better mailbox instead of the current buffered-based channel. Also, the receiving loop and behaviour stacks can be improved to enhance the performance.

@Tochemey I've added #187 to address this issue. The idea is to use a combination of two buffered channels and a small FIFO buffer in between.

@AlexanderTar Thanks for the PR. I have left some comments on it. I am glad to chat a bit about the idea behind it and am open to a change.

Thanks @AlexanderTar for this https://github.com/Tochemey/goakt/pull/188 to enhance a bit the performance. I am sure there may be other parts in the code we can enhance.

This is an ongoing task until we reach an excellent throughput. The current throughput according to the benchmark is relatively good for any application.

We can always create another issue related to performance when the needs arsises


When using the read-write lock, the thread waits until the timeout occurs

When RedisReadWriteLock is used, two threads preempt a lock. For example, thread A has obtained the write lock, and another thread B is notified that it cannot obtain the read lock when it obtains the read lock. Then thread B subscribes. After thread B successfully subscribes but has not yet obtained the semaphore, thread A has unlocked and published a message. At this time, thread B has not yet tried to acquire, But at this time, the message on the server has been published, which will cause thread B to wait until the timeout.  we try to send an extra semaphore when publish a message, the problem disappear. Is this a bug?

At this time, thread B has not yet tried to acquire, But at this time, the message on the server has been published, which will cause thread B to wait until the timeout.

Thread B will acquire the lock if it try.


i want to contribute by adding currency converter app

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hey ! I would love to work on this by making my first Hacktoberfest submission.
It would be great if you assign me this.

@kusum-chowdhury go ahead, sorry @prabhleenn  she created the issue if she allows I can assign to you also

@kusum-chowdhury please give a star to the repo, really appreciate that


feat: added rustdoc icons

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[x] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x] I have added a convincing reason for adding this feature, if necessary

Other information
Gives the generated rust documentation a little bit of a facelift by adding icons to it.
My compelling reason is that giving the documentation a splash of color makes it more fun to read and makes it look more professional.

Just have to fix formatting now it seems.

Just have to fix formatting now it seems.

@lucasfernog The 3 formatting tests that fail are because of normalize_doc_attributes = true in rustfmt.toml which are only available in nightly. Not much I can do about that, either the CI needs to be updated to use the nightly toolchain or that option needs to be disabled.

Something must've been wrong with the file format, probably because of Windows.


lol hax

I think this is fine:
https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks


STORM-2917: Check the derecated config nimbus.host

There is a situation: the deployer wants to use the new nimbus config(nimbus.seeds), but still leave the blank deprecated config(nimbus.host) in storm.yaml. It will not work.
To avoid this, the program should at least check whether the deprecated config is blank before using it to connect.

Merged via cherry-picking first commit which contains all of change.
@MichealShin Could you please close this? Thanks in advance!


Add Smart TV

https://github.com/vitalets/awesome-smart-tv
Smart TV is growing platform with own ecosystem and main players like Samsung, LG, Android TV and Apple TV.
By submitting this pull request I confirm I've read and complied with the below requirements.
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.

I have read and understood the contribution guidelines and the instructions for creating a list.
This pull request has a descriptive title.For example, Add Name of List, not Update readme.md or Add awesome list.
The entry in the Awesome list should:

Include a short description about the project/theme of the list. It should not describe the list itself.Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..
Be added at the bottom of the appropriate category.

The list I'm submitting complies with these requirements:

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
It's the result of hard work and the best I could possibly produce.
Non-generated Markdown file in a GitHub repo.
Includes a succinct description of the project/theme at the top of the readme. (Example)
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Has the Awesome badge on the right side of the list heading,
Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
If you use a license badge, it should be SVG, not PNG.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

Each link description starts with an uppercase character and ends with a period.Example: - [AVA](…) - JavaScript test runner.
Drop all the A / An prefixes in the descriptions.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.

Go to the top and read it again.

(Logo) Placed at the top-right of the readme

Logo really looks worse on the top-right, is it ok to keep on center?
Thanks!

Logo really looks worse on the top-right, is it ok to keep on center?

Yes, but note:

The image should be high-DPI. Set it to maximum half the width of the original image.

The contribution guidelines should be adapted to your project, for example this is not optimal:

Use the following format: [package](link) - Description.

Include a short description about the project/theme of the list. It should not describe the list itself.
Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..

Includes a succinct description of the project/theme at the top of the readme. (Example)

Each link description starts with an uppercase character and ends with a period.
Example: - [AVA](…) - JavaScript test runner.

Hi @sindresorhus , thanks for the feedback!
Fixed all your notes.

You did not. Read my feedback more closely.

Improved descriptions of list items.
Anything else?

Just read my comment more thoroughly. I've clearly listed what needs changing:

Include a short description about the project/theme of the list. It should not describe the list itself.
Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..

Each link description starts with an uppercase character and ends with a period.
Example: - [AVA](…) - JavaScript test runner.

Each link description starts with an uppercase character and ends with a period.

Uppercased all descriptions.

Include a short description about the project/theme of the list. It should not describe the list itself.

Re-checked all items. Could you point where exactly should I made more detailed description?
Thank you.

Could you point where exactly should I made more detailed description?

Not more detailed, you need a description to the entry you're adding here: https://github.com/sindresorhus/awesome/pull/998/files#diff-0730bb7c2e8f9ea2438b52e419dd86c9R86 The description should be succinct.

Not more detailed, you need a description to the entry you're adding here: https://github.com/sindresorhus/awesome/pull/998/files#diff-0730bb7c2e8f9ea2438b52e419dd86c9R86 The description should be succinct.

Done.

Thank you!


[HTM-543] Bookmark URL support

Implements bookmark URLs.
For now, see commit messages for implementation details.
A lot of the implementation details are not permanent (exact URL format, etc) - this entire system is relatively flexible and
can even be used via external components (though there is no way to avoid bookmark fragment ID collisions, as of now).

An example bookmark URL:
https://snapshot.tailormap.nl/pull-request/234/feature-bookmark/app/default#@111730.73,468908.19,5!1:4mR8sZQ2kg


[TF] Add build-toolchain-tensorflow script.

Check in a script that we've been using to build Swift for TensorFlow toolchains.
To kick off a toolchain build, simply run one of the following in the swift source directory. It's almost exactly the same as build-toolchain except that it builds Swift with TensorFlow support.
# Build Swift for TensorFlow with CPU support.
utils/build-toolchain-tensorflow

# Build Swift for TensorFlow with CPU and GPU (CUDA) support.
utils/build-toolchain-tensorflow -g

@swift-ci Please test tensorflow


Add tests with Appraisal

https://github.com/thoughtbot/appraisal

or wwtd
https://developer.zendesk.com/blog/testing-multiple-gem-versions-and-rubies-like-travis-would


Playbook stalling when activated via a CR

Bug Report

What did you do?
I am running a simple ansible playbook to install apache. The playbook will run properly using ansible-playbook  -i . However when I do a make docker-build docker-push deploy and run the CR in my VM to install apache, the playbook will stall indefinitely.

What did you expect to see?
Playbook to run successfully or at least an error statement.

What did you see instead? Under which circumstances?
Two things happen:

When I run the playbook with localhost as my host, the playbook will run

When I run the playbook on my VM, the playbook will stall and no output is provided:

----- Ansible Task Status Event StdOut (infra.jump.juniper.net/v1alpha1, Kind=Host, apache-install/default) -----
PLAY RECAP *********************************************************************

Environment
Operator type: Ansible Operator

Kubernetes cluster type: vanilla

$ operator-sdk version

$ go version (if language is Go)

$ kubectl version
clientVersion:
buildDate: "2023-06-15T02:15:11Z"
compiler: gc
gitCommit: 25b4e43193bcda6c7328a6d147b1fb73a33f1598
gitTreeState: clean
gitVersion: v1.27.3
goVersion: go1.20.5
major: "1"
minor: "27"
platform: linux/amd64
kustomizeVersion: v5.0.1
serverVersion:
buildDate: "2023-06-15T00:36:28Z"
compiler: gc
gitCommit: 25b4e43193bcda6c7328a6d147b1fb73a33f1598
gitTreeState: clean
gitVersion: v1.27.3
goVersion: go1.20.5
major: "1"
minor: "27"
platform: linux/amd64

Possible Solution
At first I thought it was a gather_task or gather_facts issue but I believe it has something to do with the ssh connection because localhost works

Additional context
**Playbook: **

name: Ansible Playbook to Install Apache
hosts: linux
become: yes
become_user: root
gather_facts: False
tasks:

name: Install latest version of Apache
apt:
name: apache2
state: latest
update_cache: yes
async: 60
poll: 60

@shhangandrews Thanks for raising this issue! Would you mind sharing all the logs that are output by your ansible operator? I'm not sure what may be causing this stalling behavior but I'm hoping the log outputs might provide a bit more insight as to what may be happening

Sorry for the late reply. This issue was resolved but here are the logs to provide some insite.
Thank you,
Shang Andrews
Juniper Business Use Only
From: Bryce Palmer @.>
Date: Monday, July 10, 2023 at 12:10 PM
To: operator-framework/operator-sdk @.>
Cc: Shang Andrews @.>, Mention @.>
Subject: Re: [operator-framework/operator-sdk] Playbook stalling when activated via a CR (Issue #6493)
[External Email. Be cautious of content]
@shhangandrewshttps://urldefense.com/v3/__https:/github.com/shhangandrews__;!!NEt6yMaO-gk!EbVW8Ywk3rewTM4olT_L2Ig4EcY7IzmTA1AAbLsberRV1El4JJikE-doHU6FweJ95jj_B41XHGnD2m3P4lHehCfKyA$ Thanks for raising this issue! Would you mind sharing all the logs that are output by your ansible operator? I'm not sure what may be causing this stalling behavior but I'm hoping the log outputs might provide a bit more insight as to what may be happening
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/operator-framework/operator-sdk/issues/6493*issuecomment-1629565163__;Iw!!NEt6yMaO-gk!EbVW8Ywk3rewTM4olT_L2Ig4EcY7IzmTA1AAbLsberRV1El4JJikE-doHU6FweJ95jj_B41XHGnD2m3P4lEKExsF3A$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BBC7FJXFG5Z4CNF66I6UE3LXPRHQ5ANCNFSM6AAAAAA2AYAPYE__;!!NEt6yMaO-gk!EbVW8Ywk3rewTM4olT_L2Ig4EcY7IzmTA1AAbLsberRV1El4JJikE-doHU6FweJ95jj_B41XHGnD2m3P4lH937UhMA$.
You are receiving this because you were mentioned.Message ID: @.***>


can not build successfully at QAccessiblePlugin

cargo build
Updating registry https://github.com/rust-lang/crates.io-index
Compiling dtoa v0.4.2
Compiling quote v0.3.15
Compiling rustc-serialize v0.3.24
Compiling unicode-xid v0.0.4
Compiling backtrace v0.2.3
Compiling regex-syntax v0.3.9
Compiling byteorder v1.2.1
Compiling utf8-ranges v0.1.3
Compiling serde v0.9.15
Compiling cc v1.0.7
Compiling itoa v0.3.4
Compiling libc v0.2.39
Compiling term v0.4.6
Compiling rustc-demangle v0.1.7
Compiling num-traits v0.2.1
Compiling winapi-build v0.1.1
Compiling winapi v0.2.8
Compiling cpp_utils v0.2.0 (file:///Users/jerryw/OpenSourceProjects/cpp_to_rust/cpp_to_rust/cpp_utils)
Compiling cfg-if v0.1.2
Compiling lazy_static v0.2.11
Compiling synom v0.11.3
Compiling num_cpus v1.8.0
Compiling memchr v0.1.11
Compiling dbghelp-sys v0.2.0
Compiling kernel32-sys v0.2.2
Compiling syn v0.11.11
Compiling num-traits v0.1.43
Compiling aho-corasick v0.5.3
Compiling term-painter v0.2.4
Compiling thread-id v2.0.0
Compiling backtrace-sys v0.1.16
Compiling thread_local v0.2.7
Compiling regex v0.1.80
Compiling error-chain v0.5.0
Compiling toml v0.2.1
Compiling serde_codegen_internals v0.14.2
Compiling serde_json v0.9.10
Compiling bincode v0.7.0
Compiling serde_derive v0.9.15
Compiling cpp_to_rust_common v0.2.3 (file:///Users/jerryw/OpenSourceProjects/cpp_to_rust/cpp_to_rust/cpp_to_rust_common)
warning: variable does not need to be mutable
--> /Users/jerryw/OpenSourceProjects/cpp_to_rust/cpp_to_rust/cpp_to_rust_common/src/log.rs:129:11
|
129 |       let mut file = self.files.get_mut(&category).unwrap();
|           ^^^^^^^^
|
= note: #[warn(unused_mut)] on by default
Compiling cpp_to_rust_build_tools v0.2.3 (file:///Users/jerryw/OpenSourceProjects/cpp_to_rust/cpp_to_rust/cpp_to_rust_build_tools)
Compiling qt_generator_common v0.2.3 (file:///Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator_common)
Compiling qt_build_tools v0.2.4 (file:///Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_build_tools)
Compiling qt_gui v0.2.3 (file:///Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui)
Compiling qt_core v0.2.3 (file:///Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_core)
error: failed to run custom build command for qt_gui v0.2.3 (file:///Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui)
process didn't exit successfully: /Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui/target/debug/build/qt_gui-6bf29e813e3c2061/build-script-build (exit code: 101)
--- stdout
-- The C compiler identification is AppleClang <IP_ADDRESS>00039
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00039
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Framework QtGui found at /usr/local/Cellar/qt/5.10.0_1/lib/QtGui.framework
-- Framework QtCore found at /usr/local/Cellar/qt/5.10.0_1/lib/QtCore.framework
-- Framework QtGui found at /usr/local/Cellar/qt/5.10.0_1/lib/QtGui.framework
-- Framework QtCore found at /usr/local/Cellar/qt/5.10.0_1/lib/QtCore.framework
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui/target/debug/build/qt_gui-25685e76323c2a9d/out/c_lib_build
Scanning dependencies of target type_sizes
[  1%] Building CXX object CMakeFiles/type_sizes.dir/type_sizes.cpp.o
[  2%] Linking CXX executable type_sizes
[  2%] Built target type_sizes
Scanning dependencies of target qt_gui_c
[  2%] Building CXX object CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QAbstractTextDocumentLayout.cpp.o
[  3%] Building CXX object CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QAbstractUndoItem.cpp.o
[  3%] Building CXX object CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QAccessibleObject.cpp.o
[  4%] Building CXX object CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QAccessiblePlugin.cpp.o
[  4%] Building CXX object CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QActionEvent.cpp.o
[  5%] Building CXX object CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QApplicationStateChangeEvent.cpp.o
[  6%] Building CXX object CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QBackingStore.cpp.o
[  6%] Building CXX object CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QBitmap.cpp.o
[  7%] Building CXX object CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QBrush.cpp.o
--- stderr
Executing command: "qmake" "-query" "QT_VERSION"
QT_VERSION = "5.10.0"
Detecting Qt directories
Executing command: "qmake" "-query" "QT_INSTALL_HEADERS"
QT_INSTALL_HEADERS = "/usr/local/Cellar/qt/5.10.0_1/include"
Executing command: "qmake" "-query" "QT_INSTALL_LIBS"
QT_INSTALL_LIBS = "/usr/local/Cellar/qt/5.10.0_1/lib"
Executing command: "qmake" "-query" "QT_INSTALL_DOCS"
QT_INSTALL_DOCS = "/usr/local/Cellar/qt/5.10.0_1/doc"
Executing command: "qmake" "-query" "QT_VERSION"
QT_VERSION = "5.10.0"
Detecting Qt directories
Executing command: "qmake" "-query" "QT_INSTALL_HEADERS"
QT_INSTALL_HEADERS = "/usr/local/Cellar/qt/5.10.0_1/include"
Executing command: "qmake" "-query" "QT_INSTALL_LIBS"
QT_INSTALL_LIBS = "/usr/local/Cellar/qt/5.10.0_1/lib"
Executing command: "qmake" "-query" "QT_INSTALL_DOCS"
QT_INSTALL_DOCS = "/usr/local/Cellar/qt/5.10.0_1/doc"
Building C++ wrapper library
Executing command: "cmake" "/Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui/c_lib" "-DC2R_LIBRARY_TYPE=STATIC" "-DC2R_INCLUDE_PATHS=/usr/local/Cellar/qt/5.10.0_1/include;/usr/local/Cellar/qt/5.10.0_1/lib/QtGui.framework/Headers;/usr/local/Cellar/qt/5.10.0_1/lib/QtCore.framework/Headers" "-DC2R_LIB_PATHS=" "-DC2R_FRAMEWORK_PATHS=/usr/local/Cellar/qt/5.10.0_1/lib" "-DC2R_LINKED_LIBS=" "-DC2R_LINKED_FRAMEWORKS=QtGui;QtCore" "-DC2R_COMPILER_FLAGS=-std=gnu++11 -fPIC" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=/Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui/target/debug/build/qt_gui-25685e76323c2a9d/out/c_lib_install"
Executing command: "make" "-j8" "install"
/Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui/c_lib/src/qt_gui_c_QAccessiblePlugin.cpp:20:14: error: allocating an object of abstract class type 'QAccessiblePlugin'
return new QAccessiblePlugin();
^
/usr/local/Cellar/qt/5.10.0_1/lib/QtGui.framework/Headers/qaccessibleplugin.h:66:35: note: unimplemented pure virtual method 'create' in 'QAccessiblePlugin'
virtual QAccessibleInterface *create(const QString &key, QObject *object) = 0;
^
/Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui/c_lib/src/qt_gui_c_QAccessiblePlugin.cpp:24:14: error: allocating an object of abstract class type 'QAccessiblePlugin'
return new QAccessiblePlugin(parent);
^
/Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui/c_lib/src/qt_gui_c_QAccessibleObject.cpp:8:14: error: allocating an object of abstract class type 'QAccessibleObject'
return new QAccessibleObject(object);
^
/usr/local/Cellar/qt/5.10.0_1/include/QtGui/qaccessible.h:475:35: note: unimplemented pure virtual method 'parent' in 'QAccessibleObject'
virtual QAccessibleInterface *parent() const = 0;
^
/usr/local/Cellar/qt/5.10.0_1/include/QtGui/qaccessible.h:476:35: note: unimplemented pure virtual method 'child' in 'QAccessibleObject'
virtual QAccessibleInterface *child(int index) const = 0;
^
/usr/local/Cellar/qt/5.10.0_1/include/QtGui/qaccessible.h:477:17: note: unimplemented pure virtual method 'childCount' in 'QAccessibleObject'
virtual int childCount() const = 0;
^
/usr/local/Cellar/qt/5.10.0_1/include/QtGui/qaccessible.h:478:17: note: unimplemented pure virtual method 'indexOfChild' in 'QAccessibleObject'
virtual int indexOfChild(const QAccessibleInterface *) const = 0;
^
/usr/local/Cellar/qt/5.10.0_1/include/QtGui/qaccessible.h:481:21: note: unimplemented pure virtual method 'text' in 'QAccessibleObject'
virtual QString text(QAccessible::Text t) const = 0;
^
/usr/local/Cellar/qt/5.10.0_1/include/QtGui/qaccessible.h:484:31: note: unimplemented pure virtual method 'role' in 'QAccessibleObject'
virtual QAccessible::Role role() const = 0;
^
/usr/local/Cellar/qt/5.10.0_1/include/QtGui/qaccessible.h:485:32: note: unimplemented pure virtual method 'state' in 'QAccessibleObject'
virtual QAccessible::State state() const = 0;
^
2 errors generated.
make[2]: *** [CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QAccessiblePlugin.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
make[2]: *** [CMakeFiles/qt_gui_c.dir/src/qt_gui_c_QAccessibleObject.cpp.o] Error 1
make[1]: *** [CMakeFiles/qt_gui_c.dir/all] Error 2
make: *** [all] Error 2
Error:
0: command failed with exit code: 2: "make" "-j8" "install"
thread 'main' panicked at 'called Result::unwrap() on an Err value: Error(Msg("command failed with exit code: 2: "make" "-j8" "install""), (None, None))', src/libcore/result.rs:906:4
note: Run with RUST_BACKTRACE=1 for a backtrace.
warning: build failed, waiting for other jobs to finish...
error: build failed
JerryWs-MacBook-Pro:qt_gui jerryw$ pwd
/Users/jerryw/OpenSourceProjects/cpp_to_rust/qt_generator/qt_generator/target/debug/ouput/qt_gui
JerryWs-MacBook-Pro:qt_gui jerryw$

Unfortunately, C++ parsers appear to be untrustworthy, so we're occasionally trying to call something that can't be called, which results in a failure like that. This is hard to fix, but we've implemented a new generator step called cpp_checker to avoid these issues. This will allow us to determine exactly what can and what can't be called. When this new implementation is ready for release, this issue will hopefully be fixed.

The new release is out. It should be more robust against issues of this kind. Please report if you have any issues with the new published Qt crates.


Adding Ability for MSQ to write select results to durable storage.

Description
One of the most requested features in druid is to have an ability to download big result sets.
As part of #14416 , we added an ability for MSQ to be queried via a query friendly endpoint. This PR builds upon that work and adds the ability for MSQ to write select results to durable storage.
We write the results to the durable storage location  <prefix>/results/<queryId> in the druid frame format. This is exposed to users by
/v2/sql/statements/:queryId/results.
The broker now understands how to read frame files from durable storage and return the results as a json format to end users.
We also write the first 3000 rows of the result to task report to enable preview results for clients like the console.
Users can use this by setting the context flag
selectDestination:DURABLE_STORAGE while issuing select q's to MSQ.
Note that DURABLE_STORAGE needs to be configured on broker, overlord, ingestion tasks/indexers captured at : https://druid.apache.org/docs/latest/multi-stage-query/reference.html#enable-durable-storage

Key changed/added classes in this PR

SQLStatementResource
QueryResultsFrameProcessor
ControllerImpl
WorkerImpl
DurableStorageInputChannelFactory
DurableStorageOutputChannelFactory

TODO:

Add more UT's

User facing docs for both # #14416 and this PR would be raised once this is merged.

This PR has:

[ ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

Thanks @adarshsanjeev and @LakshSingla for the review!!


Swamy/20aug2022 session9 pass1

WIP -> Pushing the Products Micro Service as Image to Docker Hub

Codecov Report

Merging #110 (87169a9) into main (d7815f7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #110   +/-   ##
=======================================
  Coverage   36.15%   36.15%
=======================================
  Files          12       12
  Lines         260      260
=======================================
  Hits           94       94
  Misses        166      166

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Protractor and element.all

Protractor used with angular 2 does not find elements when using element.all

Please follow the issue template.


GC+: Create committed DF

Create committed addresses DF

What's this then?
https://github.com/treeverse/lakeFS/blob/eb111b5341fdbc67ef6b8809f06d2fb541e21718/clients/spark/core/src/main/scala/io/treeverse/gc/UncommittedGarbageCollector.scala#L47


meta/redis: use TxPipelined() instead of Pipelined()

Transactional behavior is needed, so use TxPipelined()

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Shan Huang 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.


Can't correctly install Middleman with Ruby 2.3.1 + bundler + Gemfile

Expected behavior and actual behavior
I use Middleman for my website: https://github.com/wkoszek/me
And I have the whole thing wired to Travis-CI: https://travis-ci.org/wkoszek/me/builds/181868721
I'm hitting weird issues: either with middleman-cli not getting loaded (you can see that in Travis link) or with a middleman command that doesn't have most subcommands.
BTW, I think a long time ago I could just do gem "middleman" and stuff would work. Since middleman-cli and middleman-core were introduced, I've had issues. I might be missing something obvious.
Steps to reproduce the problem (from a clean middleman installation)
This will take a while, but if you build the Docker container, I think you should see the exact problem:
mkdir /tmp/wkoszek
cd /tmp/wkoszek
wget https://raw.githubusercontent.com/wkoszek/dockerfiles/master/wkoszek/me/Dockerfile
wget https://raw.githubusercontent.com/wkoszek/dockerfiles/master/wkoszek/me/entrypoint.sh
docker build -t wkoszek/me2 .
docker run -ti --entrypoint /bin/bash wkoszek/me2

After the last command you'll be inside of the container. Then I'm just trying to run middleman:
root@a94011ca0aaa:/me# bundle exec middleman
Commands:
  middleman help [COMMAND]          # Describe available commands or one specific command
  middleman sitemap_ping [options]  # Ping sitemaps
  middleman version                 # Show version

root@a94011ca0aaa:/me# bundle exec middleman build
Could not find command "build".

Looks like "build" command is not there at all. Not sure what's going on. This is weird.
On top of Dockerfile I declared Ruby 2.2.4 or 2.3.1. I get pretty much the same result.
Additional information

Ruby version: ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
Middleman version: Middleman 3.4.1
OS version: Linux a94011ca0aaa 3.16.0-49-generic #65~14.04.1-Ubuntu SMP Wed Sep 9 10:03:23 UTC 2015 x86_64 GNU/Linux

Middleman 3? Is that on purpose? Can you post your Gemfile and Gemfile.lock?

@tdreyno My Gemfile:
# If you have OpenSSL installed, we recommend updating
# the following line to use "https"
source 'http://rubygems.org'

gem "middleman-cli"
gem "middleman-core"
gem "middleman-blog"
gem "middleman-blog-drafts"
gem 'middleman-blog-similar'
gem "middleman-minify-html"
gem "middleman-deploy"
gem "middleman-livereload"
gem "middleman-gh-pages"
gem "middleman-syntax"
gem 'middleman-imageoptim'
gem 'middleman-search_engine_sitemap'
gem 'middleman-sitemap-ping'
gem 'middleman-build-reporter'

# Let me do spellcheck development easily.
if ENV.include?("DEV") then
  File.delete("middleman-spellcheck")
  File.symlink("../middleman-spellcheck", "middleman-spellcheck")
  gem "middleman-spellcheck", '~> 0.9.2', :path => "middleman-spellcheck"
else
  gem "middleman-spellcheck", '~> 0.9.2',
	:git => "https://github.com/wkoszek/middleman-spellcheck.git",
	:branch => "nil_words_fix"
end

# HTML/CSS stuff.
gem 'bourbon'

# Testing
gem 'capybara'
gem 'selenium-webdriver'
gem "chromedriver-helper", "0.0.6"

# For feed.xml.builder
gem "builder", "~> 3.0"
gem 'rspec'		# spec/ requirement
gem 'rspec-core'	# spec/ requirement
gem 'poltergeist'

@tdreyno Does anything here look incorrect?

@tdreyno What I think happened here is: bundler goes and tries to figure out the lowest common denominator for all modules to work, and I've had these guys enabled:
https://github.com/minivan/middleman-spellcheck/blob/master/middleman-spellcheck.gemspec
https://github.com/ngs/middleman-blog-similar/blob/master/middleman-blog-similar.gemspec
This locked me into the 3.x Middleman. I think their dependency should be >=. I've removed them for now and with this Gemfile, I've upgraded to v4. This seemed to give me something that works.
But I think something is wrong anyway -- my previous Gemfile was de facto correct, yet gave me broken Middleman.

MM 3.x was released long before Ruby 2, much less 2.3, it seems pretty likely that the current Ruby landscape and code that old have become incompatible. We'll happily take PRs if there are uses stuck back in 3.x, but I've been using 4.x for almost 2 years now

@tdreyno Until I started to hit issues, I didn't know about 3.x vs 4.x. Users may not know the difference.
Plugins mentioned in the Middleman website still have requirements on 3.x. If you happen to have some of them (and I do: middleman-spellcheck and middleman-blog-similar), Bundler will downgrade you to MM 3.x.
Unclear what the good way to do this would be. Maybe the solution would be to just crash/throw big warnings when modules require 3.x, so that we could catch them and fix them?

@wkoszek @tdreyno Just for info MM 3.4.1 works with no issues on Ruby 2.3.1 (My team and I are currently using this version). So I guess the issue is more coming from extensions ?


ElevatedButton looks bad on the Web.

Steps to Reproduce

Execute flutter run on the code sample (see "Code sample" section below).

Expected results:
Mobile and Web versions should look the same.
Actual results:
Web version looks wrong. Both internal and external paddings are incorrect. The font also seems to be too large?

Code sample
void main() {
  runApp(
    MaterialApp(
      home: SafeArea(
        child: Column(
          children: [
            ElevatedButton(
              onPressed: () {},
              child: const Text('LOREM IPSUM'),
            ),
            ElevatedButton(
              onPressed: () {},
              child: const Text('DOLOR SIT'),
            ),
          ],
        ),
      ),
    ),
  );
}

Logs
$ flutter --version
Flutter 2.8.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 77d935af4d (8 weeks ago) • 2021-12-16 08:37:33 -0800
Engine • revision 890a5fca2e
Tools • Dart 2.15.1

Attached screenshots (dark background is Android, white is the Web version).

I just upgraded to Flutter 2.10.0. The bug still exists.

Duplicated of https://github.com/flutter/flutter/issues/85729 https://github.com/flutter/flutter/issues/87780 https://github.com/flutter/flutter/issues/96995
It is correct, you are using it wrong. You should change visualDensity: VisualDensity.standard or materialTapTarget.

Closing as duplicate of https://github.com/flutter/flutter/issues/85729. Kindly see https://github.com/flutter/flutter/issues/85729#issuecomment-878640953 for more information.


chore(deps): update CosmWasm dependencies

Closes: #1188
Description

PR author checklist:

[ ] Added changelog entry, using unclog.
[ ] Added tests.
[ ] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Tested the produced cw-file manually at a personal fork for informalsystems/hermes:romac/wasm-client branch.

Tested the produced cw-file manually at a personal fork for informalsystems/hermes:romac/wasm-client branch.


PDF shows previously hidden data

A PDF that seems to contain hidden data will display that data after a simple qpdf operation like:
qpdf --empty --pages filename.pdf 1 -- out.pdf

qpdf version 10.3.2
Original file:

Output file:

As you can see, in the background appears 'John Doe' behind the name. I can only guess that it's a hidden text in the original PDF file.
Unfortunately I can't attach the file for privacy reasons, I'll send it to you via email instead.
Could you have a look whether that is a bug in qpdf?
(Originally reported by michael-schaefer-eu as https://github.com/pdfarranger/pdfarranger/issues/639)

@dreua Hello -- I'm just acknowledging that I have seen your issue and received the file you sent by email. I hope I can find some time this weekend or early next week to study it. When I have some information, I'll let you know, and I can delete the file after I'm done investigating.

Without looking at it, I'd venture a guess that qpdf filename.pdf --pages . 1 -- out.pdf won't exhibit the same problem. Anyway, I'll study it soon.

The issue is that the /OCProperties key in the document catalog (/Root dictionary) is not preserved when starting with --empty. This is a new case that I was not previously aware of of a document-level construct that is not handled correctly by --pages. I'm adding the pages label to the issue so I can get to it when I'm ready to tackle those issues head-on. That's bubbling up close to the top.
A workaround would be to simply copy /OCProperties from the source file to the destination file. A correct fix would involve merging dictionaries across multiple files, and for that I'll have to study that part of the spec.
Note to self: I have saved the file privately in misc/bugs/672/. This file should be removed when the bug is fixed. Once I understand the issue, I should have no trouble hand-constructing a PDF that exhibits the identical behavior.

@dreua , @jberkenbilt  sure you can keep that file if it helps you to fix that :)

This issue is part of the qpdf pages epic. If you are interested in following, please see #1104.


Revert "Remove requirement for JSON of messages"

Reverts lensapp/lens#7426
Reverting as there was no motivation (at least written) to remove this quality of life feature

See all the previous discussions.

Which one?

Enforcing actions should be done by configuration of the mobx library not by messing with external checks

If something doesn't work at all, then for sure there has to be a check for it. Imagine trying to use something that doesn't work without reactive context and try to debug a reason if it doesn't tell you.

If something doesn't work at all, then for sure there has to be a check for it. Imagine trying to use something that doesn't work without reactive context and try to debug a reason if it doesn't tell you.

If in a non reactive context it should just get the current state.  There are use cases for this.

Which one?

On slack about how channels are not JSON serialized at all


Add resetRowMeasurements() and resetColumnMeasurements() to CellMeasurer

We need to reset measurements of specific row/column when the cell is resized.  Resize event occurs in children components and CellMeasurer cannot detect it.  So we need to notify CellMeasurer should reset measurements for the cell.  These APIs can be used for it.
I didn't know how to add test case because these are related to cache.  Cache is an internal state of component and I didn't know how to access inner state of the component.

Current coverage is 94.62% (diff: 0.00%)

Merging #327 into master will decrease coverage by 0.18%

@@             master       #327   diff @@
==========================================
  Files            33         32     -1
  Lines          1175       1172     -3
  Methods          96         95     -1
  Messages          0          0
  Branches        246        246
==========================================
- Hits           1114       1109     -5
- Misses           61         63     +2
  Partials          0          0

Powered by Codecov. Last update e99c8f7...2953925

Hi @rhysd,
Sorry for how long it's taken me to review this. I try to respond to issues right away but PRs take a bit more thought, and I've been busy. :) I'll take a look now...

I made a small rename for (subjective) consistency:

resetMeasurementForColumn
resetMeasurementForRow

And I added test coverage. :)
This release will go out momentarily as version 7.17.0. Thank you for your contribution!

@bvaughn Thank you so much :smile:


Blocked in step 'Starting Meteor Application ...'

Hello,
I have a problem with docker-meteor, i'm use Docker on Windows 10 and the container stand at this step ' Starting Meteor Application ...'. Without change several minutes. I have build the project with 'meteor build ../' on Windows. And use this docker-compose (same problem directly with the docker command): https://pastebin.com/VfjKxAPi

Thanks for your awnser.

I had a similar problem caused by the fact that my node_modules where missing. Running
meteor npm install
in my app directory solved this problem.
I'm wondering if this command should be run in the entrypoint.sh script as well. In particular if the repository if fetched via git and the node_modules are not committed.

@abate That's a good question.  npm install is run in the server-internal directory, but now that npm is used everywhere in Meteor, that may well need to be done.  At a minimum, it probably shouldn't be disruptive.

@abate Never mind, we're doing that already, here.

not sure that npm install  is the same as calling meteor npm install . For once, it will use the npm version bundled in meteor ... I'm not entirely sure, but I've noticed in my project that npm install is not enough to install all the modules in node_modules directory ...

@abate Yeah, I'll change that to meteor npm install, which should be safer.

Fixed by a8acdd5efe5af2ff70450e4667920f671093011d

Hello, thanks for your work.
But i'm facing the same problem event i updated to latest version of image

I don't see any errors in that screenshot, but did you see any in the backscroll?  Anyway, how do you know it isn't working?  Have you expose the port you expect it to be running on?  Would you care to post your invocation commandline for verification?


Fixed a cast issue with host_mode_tests.dart.

This should fix a cast failure for some device lab tests:
Task result:
{
  "success": false,
  "reason": "Task failed: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, Object>' in type cast"
}

@jonahwilliams I think this should fix the build breakage that hit on your checkin above mine, can you give this a quick review?

test-exempt: is a test

dynamic or Object?, we're not consistent. LGTM

Yeah, dealing with json is messy. I think I had tried to convert everything here to Object, but it wasn't feasible, so I reverted it back, but this part was somehow missed. My apologies. Thanks for the quick review.


fix(console): search project regexp

:tada: This PR is included in version 0.88.7 :tada:
The release is available on:

GitHub release
v0.88.7

Your semantic-release bot :package::rocket:


Gene search filter should not contains Species filter if there is only 1 species is available

When gene id search result only contains 1 species the species filter either should not be displayed or the species with its checkbox should be disabled.
In the species drop-down the available species should be selected. For example: in the picture above Homo sapiens should be selected.

Probably this current task is going to be fixed by this previous task: https://github.com/orgs/ebi-gene-expression-group/projects/4/views/4?pane=issue&itemId=15005283


Inviting a second speaker not possible

A second speaker cannot be added to a session during the CfP submission or afterwards.

duplicate


Bug in SITL manual_input node

Wrong axes index parameter is assigned to the manual_input.x on Line 54 https://github.com/PX4/Firmware/blob/master/src/platforms/ros/nodes/manual_input/manual_input.cpp
_n.param("map_x", _param_axes_map[0], 4);
it should be
_n.param("map_x", _param_axes_map[0], 1);
the struct sensor_msgs::JoyConstPtr &msg has no msg->axes[4], it's index goes from 0 to 3
That is why it isn't taking x axis inputs from stick in SITL simulation.

Discussed with @devbharat:
Without a joystick, arrays in Joy message might not have as many values as the Xbox mapping expects. Mapping can be changed with parameters: https://pixhawk.org/dev/ros/sitl#joystick_configuration


Traefik 2.1 Gateway Timeout on all routes

Do you want to request a feature or report a bug?
Traefik 2.1 Gateway Timeout on all routes.
What did you do?
traefik.yml
version: '2.4'

services:
  traefik:
    command:
      - --providers.docker
      - --providers.docker.exposedByDefault=false
    image: traefik:2.1
    ports:
      - 80:80
    volumes:
      - type: bind
        source: /var/run/docker.sock
        target: /var/run/docker.sock

Service docker-compose.yml
version: '2.4'

services:
  api:
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.my-api.rule=Host(`my.api.local`)"

What did you expect to see?

Described above.

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Feature: update permissions in gh actions

To suggest an idea or inquire about a new Message Broker supporting feature or any other enhancement, please follow this template:
Is your feature request related to a problem? Please describe.
Provide a clear and concise description of the problem you've encountered. For example: "I'm always frustrated when..."
Github organization is going to update the default permission defined by the permissions block in all workflows by end of January. If this block is not specified, I believe some of our workflows will fail because they require write access (e.g., release).
So, we will need to add a permission block to all workflows. Basically the Github Docs seems to indicate that we should probably be very conservative about permissions. One way to know which permission is required is to set permission to empty and see what breaks, and only add relevant permission.
name: "My workflow"

on: [ push ]

permissions: {}

jobs:
  ...

Describe the solution you'd like
Clearly and concisely describe the desired outcome or solution.
Feature code example
To help others understand the proposed feature, illustrate it with a FastStream code example:
from faststream import FastStream
...

Describe alternatives you've considered
Provide a clear and concise description of any alternative solutions or features you've thought about.
Additional context
Include any other relevant context or screenshots related to the feature request.

Can we closed it? Our workflows works fine and I settep up write premissions in worklows required it

Please, reopen if it is required


🐞 Jenkins does not work with Dagger Cloud following integration instructions

What is the issue?
If you set up a Jenkins pipeline following the instructions in our docs then the trace does not show up in the Dagger Cloud UI home page.
Dagger version
dagger v0.11.9 (registry.dagger.io/engine) linux/amd64
Steps to reproduce
No response
Log output
No response

This works now, thanks @crjm


fVDB: Fix typo in 01_api_basics.ipynb

Fixed a minor typo causing minor confusion in one of the tutorial notebooks.

Thanks for catching this 😄


Admin panel setting to allow http

Hello, I really like your url shortener! When I tried to make a shortlink for a quiz page in my course at university, it rejected accepting the url to the quiz link, which is another url shortener but only accepting http. Since I don’t can change the page I link to to https, it would be nice to have an option to allow to link to those pages. Would this be possible? Thanks!

i just did a test and it actually works via http:// only, so i assume that your issue is to redirect the url to a non http:// so snapp.li/redirection => http://redirection.site
right?

And it's live. you can test it downloading the latest (0.7.2) version


Most Subscription Pointcuts aren't triggered

Describe the bug
Most Subscription POINTCUTs don't seem to function.
To Reproduce
Steps to reproduce the behavior:

Clone the hapi-fhir-jpaserver-starter (which has the SubscriptionDebugLogInterceptor enabled)
Enable REST Subscriptions
POST a REST Subscription with a dead URL
POST a matching resource for the Subscription
Note how only a single log is output from the SubscriptionDebugLogInterceptor (that it was submitted to the pipeline) and that none of SUBSCRIPTION_AFTER_DELIVERY, SUBSCRIPTION_BEFORE_DELIVERY, etc. are triggered

Expected behavior
For all SUBSCRIPTION* Pointcuts to be triggered.
Logs
2023-05-25 14:48:57.742 [qtp1141354562-31] INFO  c.u.f.j.s.u.S.SUBS1 [SubscriptionDebugLogInterceptor.java:167] Resource Patient/3 was submitted to the processing pipeline (op=CREATE)
2023-05-25 14:48:58.327 [qtp1141354562-31] INFO  fhirtest.access [LoggingInterceptor.java:175] Path[/fhir] Source[] Operation[create  Patient] UA[PostmanRuntime/7.32.2] Params[] ResponseEncoding[JSON] Operation[create  Patient] UA[PostmanRuntime/7.32.2] Params[] ResponseEncoding[JSON]
2023-05-25 14:48:58.343 [subscription-delivery-rest-hook-2-1] INFO  c.u.f.j.s.m.d.r.SubscriptionDeliveringRestHookSubscriber [SubscriptionDeliveringRestHookSubscriber.java:110] Delivering CREATE rest-hook payload Patient/3/_history/1 for Subscription/2
2023-05-25 14:48:58.416 [empi-1] INFO  ca.uhn.fhir.log.mdm_troubleshooting [MdmCandidateSearchSvc.java:106] Candidate search found 0 matching resources for Patient/3
2023-05-25 14:48:58.549 [subscription-delivery-rest-hook-2-2] INFO  c.u.f.j.s.m.d.r.SubscriptionDeliveringRestHookSubscriber [SubscriptionDeliveringRestHookSubscriber.java:110] Delivering CREATE rest-hook payload Patient/4/_history/1 for Subscription/2
2023-05-25 14:48:58.565 [subscription-delivery-rest-hook-2-1] ERROR c.u.f.j.s.m.d.BaseSubscriptionDeliverySubscriber [BaseSubscriptionDeliverySubscriber.java:106] Failure handling subscription payload for subscription: Subscription/2
ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: HTTP 400 Bad Request: HAPI-0960: Can not create resource with ID[3], no resource with this ID exists and clients may only assign IDs which contain at least one non-numeric character

The first trigger, shown in the first line, is hit, but there should be another one before the message is sent:
https://github.com/hapifhir/hapi-fhir/blob/e3a7390d6a88d09a1793f8ff937b8d596178cc71/hapi-fhir-jpaserver-subscription/src/main/java/ca/uhn/fhir/jpa/subscription/util/SubscriptionDebugLogInterceptor.java#LL121C2-L121C2
https://github.com/hapifhir/hapi-fhir/blob/e3a7390d6a88d09a1793f8ff937b8d596178cc71/hapi-fhir-jpaserver-subscription/src/main/java/ca/uhn/fhir/jpa/subscription/match/deliver/BaseSubscriptionDeliverySubscriber.java#L94
Environment (please complete the following information):

HAPI FHIR Version 6.4.4

@LJNIC Did you find a way to register interceptors with the main interceptor service? I just ran into this with the MDM hooks being set up in JPA starter not being called

@LJNIC Did you find a way to register interceptors with the main interceptor service? I just ran into this with the MDM hooks being set up in JPA starter not being called

You can grab the service from Spring.


fs: add fs_heap, support shm/tmpfs/pseudofile with indepent heap

Summary
For some case, need large files from tmpfs or shmfs, will lead to high pressure on memory fragments, add a fs_heap to optional support indepent heap for memory fragments issue will benifit.
Impact
No impact for default case.
If enabled FS_HEAPSIZE, will use a mm_initialize to manage the shm/tmpfs/pseudofile memory
Testing
CI and Cortex-A7 smp chip.

@acassis Do not merge this PR before finish the review.


Clean up Beacon CLI

Goal

Part of #726
First step is to make it work. Next steps are to figure out what we want to do to improve it

Test

I can make 64 deposits to form genesis state

Since we should not use genesisState for beacon node, I cannot see the issue anymore. I created #812 to track the issue.

It looks like this has a lot of changes from the 0.11.x branch.
I think we can merge 0.11.x into master now that it is passing all tests?

ah.. I think I should not rebase against 0.11.x as this should go to master


I got error with login

File "/home/vadim/Документы/python/SteamMobileAuth.py", line 18, in generateAuthCode
secret = b64decode(secret)
File "/usr/lib/python2.7/base64.py", line 78, in b64decode
raise TypeError(msg)
TypeError: Incorrect padding
where i can got shared secret?

You should have googled a bit first.
Either you can grab it from an Android Phone using the method listed here
Or you can set up Steam Desktop Authenticator

where i can get its shared secret from Steam Desktop Authenticator

Set it up with and account, if you did it right there should be a .mafile with all the details you need.

well, shared secret its encryption in SDA?

It's only encrypted if you set it up to be encrypted.

so you don't know where in .maFile i can get its encrypted secret?

or it in manifest.json?

look at the .maFile, it should have a key that says shared_secret

in my maFile
8wsFXkTgaq7Sl7KHL9He7ZZtk4vZsdqE8hf6YOEQhIzU9WZlYy221DzeCbmULrLKvr12j+c0hii47dY/sV4K7545UP2vU/SaS1DyOk8wGsz+QmnQ5dq/CuCGHDziQ+iih3NYvdw1oMf4aUaqJNAoLeyUzev7SegTq947LQoKgm/h4yiLM3v0qAxP9fmKZPAKVguqIp1wbMg6dAJu4RCKQX4hemuMMGyqDPW0b9Q4HCKXKshRMM92GCiiFZMldSHkCCUUc6Tb2Cc/ijzGyMDutk4mX+fb3pZLfAqs+NdINb/pcxyytjRFP914C17JhyGwMOG1kUZmLxroxDtPQitNC/UnJw9004uq6JS0i8DMFrWXhtUppDWO5XbmgsN583nXamClYmqzHsZRCzp/gUpTh5jOY/mBY3l0Dseosay7T/jBA6UnXs0WlEksJMcgKEK6HqAgOV/BnLekDciQMLUsj8OyK6TvSo/1Rt8n1whlPeM999krlS8vBUQyNHLPOL96uVKOW5bWBY3YJjqtdlIvDOHpCxxm0PFOoPTIj9FKbqlBLmH6G+u0OgIZk33OjWGde9bR7HavhHIfL3m2CtfVd5A0IeNYHxTLOQI3+/9CbZ89x8roNifBrYV7/JueFGmtUYXWihL+R0WbMBqmQMuZ/XEuinZewVoIYRucT69LHkdsxXo8Jbq0Uif0eeC1XLE6pMqEI+zV1hQon4zilgMXRwpfNjdYT7BMvuLK5+jlrB72kJlOtKF7PrCEhsvxq92Hl6AA+SOC2F+XTiX94uMoRwVYDcQzBFS6Spyi60Plz+USXg0YFtrdsLN0G7GeEeOg7kYvA4PyvMkqkOYGBdhHiBjjkDWF7AlwFQ87GfS2Fjm5lLHLA+18qlKwRPt6P9kYKRW91+Ba9+JZCYgPsYzgqLrCE/y1GlNKRJbfwxjOJXAXtj8R+/IBSh9yjZ0tjQChRc7co/h+zT+ciGDO3viJnQ9Rwlr08NeXx8kZxXAhphVM002aoOW8aQKf5U8n/migcacOeMdWL39zYe4b9/tcBtiodGeEgHT3dnxMYoRb7sde/HfMuDq/twHuhjj8CqsG
this code

Remove the authenticator from your steam account and try again, next time DO NOT PLACE AN ENCRYPTION PASSWORD

ok thanks for help!


Use ruamel.yaml in tpv.core.util since PyYAML is not a dependency

Otherwise I was getting:
Traceback (most recent call last):
  File "/home/nate/.virtualenvs/tpvdev2/bin/tpv", line 33, in <module>
    sys.exit(load_entry_point('total-perspective-vortex', 'console_scripts', 'tpv')())
  File "/home/nate/.virtualenvs/tpvdev2/bin/tpv", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/nate/work/total-perspective-vortex/tpv/core/shell.py", line 8, in <module>
    from .formatter import TPVConfigFormatter
  File "/home/nate/work/total-perspective-vortex/tpv/core/formatter.py", line 4, in <module>
    from . import util
  File "/home/nate/work/total-perspective-vortex/tpv/core/util.py", line 2, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.623%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
694

Relevant Lines:
720

💛  - Coveralls


Add visualization for Cluster Agent Operations SLO

JIRA LINK - https://issues.redhat.com/browse/GITOPSRVCE-753

@Rizwana777 please try to minimize the changes to mostly the addition of a panel (see #98 for a good example). The change in indentation also make this difficult to review.

Fixed indentation , PTAL


Allow overiding of Warn and Deprecated loggers

Currently,  internal.Warn.Printf() and internal.Deprecate.Printf() have numerous calls but no way of overriding them with your own logger.

@vmihailenco Any thoughts on this?

We probably want to start using Slog, but this will do for now. Thanks!

Agree, thanks for the review!


Allow to set Tolerations via spec.deployments.tolerations

Part of https://github.com/knative/operator/issues/5
This patch adds spec.deployments.tolerations to set tolerations on
each deployment.
For example, when the following CR is created,
apiVersion: operator.knative.dev/v1alpha1
kind: KnativeServing
metadata:
  name: ks
  namespace: knative-serving
spec:
  high-availability:
    replicas: 1

  deployments:
  - name: webhook
    tolerations:
    - effect: NoSchedule
      key: node-type
      operator: Equal
      value: production

The webhook deployment has spec.template.spec.tolerations.
$ kubectl get deploy webhook -o jsonpath={.spec.template.spec.tolerations}
[{"effect":"NoSchedule","key":"node-type","operator":"Equal","value":"production"}]

/cc @houshengbo

/test pull-knative-operator-serving-upgrade-tests

/test pull-knative-operator-serving-upgrade-tests

/test pull-knative-operator-eventing-upgrade-tests


LIME (Local Interpretable Model-agnostic Explanations) to explain Logistic Regression model of Loan Status Prediction model.

I have used LIME (Local Interpretable Model-agnostic Explanations) to explain model predictions of Loan Status Prediction Model (Loan Status Prediction/Loan_Status_prediction.ipynb)
This code demonstrates how to use LIME to explain a prediction made by the trained Logistic Regression model. It creates a LIME explainer, selects an instance from the test set to explain, and generates an explanation using the explainer's explain_instance method.
The explanation includes feature importance scores, indicating the contribution of each feature to the model's prediction for the selected instance. These scores help stakeholders understand which features are driving the model's decision and how they influence the predicted outcome.

Resolves #221


Dart Analyzer failing with stack overflow

https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=41408. From the bug:
CL: fxr/339822
Logs: https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket.appspot.com/8896787883051510048/+/steps/test_sdk/0/steps/run_tests/0/stdout
This is blocking Flutter -> GI roll.
/cc @a-siva @jason-simmons

This has been fixed.

@kf6gpe did you intend to close the issue?  Do you have a link to the fixing PR?

Thanks! The upstream issue in Monorail was noted as fixed, so I closed this here. I don't have the PR, but details are in the first link of the bug. Closing!


Assign short-cut key for "Live collaboration" tab

While exploring the excalidraw.com (Link: website), i found an interesting enhancement that could be integrated inorder to enhance user experience and it will boost easy-to-use website functionality overall.
Idea:  The major idea is to assign a short-cut key (e.g. ctrl+shift+L ) to directly open "Live collaboration" tab, currently we don't have any keys assign to them.
Current scenario:

Expected scenario:

I wanted to work on this feature enhancement and if possible could you assign this feature enhancement Issue to me.
### Tasks

Hi @dwelle, can you please give a comment on this issue, it would be great support, thanks!


proxying for port 80 and multiple networks

I'm getting a bit frustrated and I'm typically quite good with this stuff.  So, I know I'm missing a big gotcha somewhere.  If someone could please direct me that'd be awesome.
I'll start with one example.  We have a number of Docker containers that all use their own network built with docker-compose
So, here is an example docker-compose.yml file for some containers, simplified for what matters.
nginx container exposes port 80 through the Dockerfile
version: '3.3'

services:
  nginx:
    build: ./nginx
    image: api-nginx:dev
    container_name: api-nginx
    environment:
      - CONTAINER_ENVIRONMENT=dev
      - VIRTUAL_HOST=foo.dev
    links:
      - php
    networks:
      - api-net
    volumes:
      - ../app/public:/srv/www
  php:
    build: ./php
    image: api-php:dev
    container_name: api-php
    environment:
      - CONTAINER_ENVIRONMENT=dev
    networks:
      - api-net
    volumes:
      - ../app:/srv/www
      - ~/.ssh:/root/.ssh   # copy devs ssh keys to Docker container for Composer

networks:
  api-net:
    driver: bridge

So, this is really a pretty simple setup.  We just have an nginx container that's listening on port 80, but not exposing it.  I've tried various methods of port mapping this to 8080, etc.  But we do not want to modify the base image to be listening on port 8080 or something similar.  We want it listening on port 80 only, to keep these images universal between prod and dev.
I've then run the following nginx-proxy container for this.
docker run -d --name=nginx-proxy -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy --net=api-net

In addition to this, I've tried --net=host to get around some of the network concerns.
Regardless of any attempts I make, I cannot seem to get the nginx-proxy to pick up http requests for foo.dev or foo.dev:8080 when using port mapping via the docker-compose.yml.  I understand that port mapping via docker-compose isn't supported and it needs to be explicitly exposed.
What am I missing here?

docker run -d  --name=nginx-proxy --net=api-net -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
the --net flag was in the wrong position

@adamancini cheers mate!


NFC Service detects  tag before addNdefFormatableListener

I am trying to detect an NDEF tag and write to it.
I use nfc.addNdefFormatableListener(...)
It does go into listening mode for NDEF Formatable tags...
Problem is that when I tap a tag, the NFC service detects it and brings up a popup before my listener detects it.
It says:
New tag collected
Empty tag
How can I turn that off?
I am running Android 6.0. on Nexus 6P
Sooo close....Thanks,
Pat.

It sounds like you have an error in your app. If the listener gets added, the OS should not see that tag, since the app uses foreground dispatching.
Check for errors in adb logcat and with chrome://inspect.

Right.  I wish I could find this... grrr!
Here is the controller code snippet... May be there is something I am completely overlooking.
.controller('NFCCtrl', function($scope) {
	console.log("NFCCtrl...");
	$scope.settings = {
		url: 	"http://localhost/test/Nk@l2LI6S7x-V1MlhLL6Smg",
		msg: 	undefined
	};

	nfc.addNdefFormatableListener(
	    function (nfcEvent) {
			$scope.settings.msg 	= "addNdefFormatableListener..."

			var message = [
				ndef.uriRecord( $scope.settings.url)
			];

			nfc.write(
				message,
				function() {
					$scope.settings.msg 	= "Wrote url to tag:"+	$scope.settings.url

				},
				function(error) {
					$scope.settings.msg 	= "Err:"+JSON.stringify(error)
				}
			);
		},
		function () {
			$scope.settings.msg 	= "Listening for NDEF Formatable Tags";
		},
		function (error) {
			$scope.settings.msg 	= "Failed to add listener for NDEF Formatable Tags";
		}
	);
})

I do not see any errors.
I do see the Listening for NDEF... message
Then NFC Service takes over.
Sorry to bother you for this :(
Pat.

I see what's happening now.
Since you're seeing "New tag collected, Empty tag" that means it's an NDEF tag with an empty record. The NDEF Formatable Listener won't find this tag, since it's already formatted. You need a Tag Discovered Listener or NDEF Listener. (These are Android's rules, not mine.) You can add multiple listeners, Android will call the most specific one for a tag.
I don't have any unformatted tags with me. I tried using format.js from mifare-classic-js to erase tags. (If you just want to unformat MifareClassic tags, you can use libfreefare's mifare-classic-format command)
Android 6.0 finds the tag but writing fails with Nexus 5X. The same code works fine on Samsung SIII (Android 4.3) and Samsung Galaxy (Android 4.2.2). I don't and Android 5 phone with me to test.
format.js creates an NDEF formatted tag, without any NDEF message. (Technically I think this breaks the spec.) It would be better to have an completely reset tag using the non-ndef keys for each sector.
I have an Arduino sketch to Clean Mifare Classic and Mifare Ultralight. I'll have to try that later.
Here's the test code I was using.
cordova create issue220 com.example.issue220 issue220
cd issue220
cordova plugin add phonegap-nfc
cordova platform add android

Replace www/js/index.js with
var app = {
    initialize: function() {
        this.bindEvents();
    },
    bindEvents: function() {
        document.addEventListener('deviceready', this.onDeviceReady, false);
    },
    onDeviceReady: function() {
        app.receivedEvent('deviceready');
        var success = function() {
            console.log("Listening for formatable NFC tags");
        };
        var failure = function(reason) {
            console.log("Error adding NFC listener " + reason);
        };

        nfc.addNdefFormatableListener(app.onNfc, success, failure);
    },
    onNfc: function(nfcEvent) {

        var success = function() {
            alert("Wrote data to tag");
        };
        var failure = function(reason) {
            alert("NFC write failed " + reason);
        };

        var message = [
            ndef.uriRecord("http://www.amazon.com/dp/1457187094")
        ];

        nfc.write(message, success, failure);

    },
    // Update DOM on a Received Event
    receivedEvent: function(id) {
        var parentElement = document.getElementById(id);
        var listeningElement = parentElement.querySelector('.listening');
        var receivedElement = parentElement.querySelector('.received');

        listeningElement.setAttribute('style', 'display:none;');
        receivedElement.setAttribute('style', 'display:block;');

        console.log('Received Event: ' + id);
    }

};

app.initialize();

FWIW In my Angular example, I put the NFC code in a service https://github.com/don/ionic-nfc-reader.

Don,
I think that you are right on all counts.
The NDEF Formatable Listener won’t find this tag (That’s why the NFC Service found it behind the scene… which surprised me)
The NDEF Listener find the tag but writing is not happening on Android 6.0 Nexus 6P.  I do not get an error either.
The tag is NTAG 213.
More to follow… Really appreciate your support.
Pat.

On Dec 16, 2015, at 11:41 PM, Don Coleman<EMAIL_ADDRESS>wrote:
I see what's happening now.
Since you're seeing "New tag collected, Empty tag" that means it's an NDEF tag with an empty record. The NDEF Formatable Listener won't find this tag, since it's already formatted. You need a Tag Discovered Listener or NDEF Listener. (These are Android's rules, not mine.) You can add multiple listeners, Android will call the most specific one for a tag.
I don't have any unformatted tags with me. I tried using format.js from mifare-classic-js https://www.npmjs.com/package/mifare-classic to erase tags. (If you just want to unformat MifareClassic tags, you can use libfreefare's mifare-classic-format command)
Android 6.0 finds the tag but writing fails with Nexus 5X. The same code works fine on Samsung SIII (Android 4.3) and Samsung Galaxy (Android 4.2.2). I don't and Android 5 phone with me to test.
format.js creates an NDEF formatted tag, without any NDEF message. (Technically I think this breaks the spec.) It would be better to have an completely reset tag using the non-ndef keys for each sector.
I have an Arduino sketch https://github.com/don/NDEF/blob/1eb9a098c1e2d5ba7d3f16636f9b611c48c3704c/examples/CleanTag/CleanTag.ino to Clean Mifare Classic and Mifare Ultralight. I'll have to try that later.
Here's the test code I was using.
cordova create issue220 com.example.issue220 issue220
cd issue220
cordova plugin add phonegap-nfc
cordova platform add android
Replace www/js/index.js with
var app = {
initialize: function() {
this.bindEvents();
},
bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
},
onDeviceReady: function() {
app.receivedEvent('deviceready');
var success = function() {
console.log("Listening for formatable NFC tags");
};
var failure = function(reason) {
console.log("Error adding NFC listener " + reason);
};
    nfc.addNdefFormatableListener(app.onNfc, success, failure);
},
onNfc: function(nfcEvent) {

    var success = function() {
        alert("Wrote data to tag");
    };
    var failure = function(reason) {
        alert("NFC write failed " + reason);
    };

    var message = [
        ndef.uriRecord("http://www.amazon.com/dp/1457187094")
    ];

    nfc.write(message, success, failure);

},
// Update DOM on a Received Event
receivedEvent: function(id) {
    var parentElement = document.getElementById(id);
    var listeningElement = parentElement.querySelector('.listening');
    var receivedElement = parentElement.querySelector('.received');

    listeningElement.setAttribute('style', 'display:none;');
    receivedElement.setAttribute('style', 'display:block;');

    console.log('Received Event: ' + id);
}

};
app.initialize();
FWIW In my Angular example, I put the NFC code in a service https://github.com/don/ionic-nfc-reader https://github.com/don/ionic-nfc-reader.
—
Reply to this email directly or view it on GitHub https://github.com/chariotsolutions/phonegap-nfc/issues/220#issuecomment-165335308.

Don,
I have to admit that I am very puzzled now.  I updated to 6.0.1 and shuffled some code around so I could remove the listeners.
Now it is working.  I can write data to the tag.  I am really not sure exactly what change caused this.
I am very sorry.  I am trying to understand this a little better and see if I can provide more info.
Pat.

On Dec 16, 2015, at 11:41 PM, Don Coleman<EMAIL_ADDRESS>wrote:
I see what's happening now.
Since you're seeing "New tag collected, Empty tag" that means it's an NDEF tag with an empty record. The NDEF Formatable Listener won't find this tag, since it's already formatted. You need a Tag Discovered Listener or NDEF Listener. (These are Android's rules, not mine.) You can add multiple listeners, Android will call the most specific one for a tag.
I don't have any unformatted tags with me. I tried using format.js from mifare-classic-js https://www.npmjs.com/package/mifare-classic to erase tags. (If you just want to unformat MifareClassic tags, you can use libfreefare's mifare-classic-format command)
Android 6.0 finds the tag but writing fails with Nexus 5X. The same code works fine on Samsung SIII (Android 4.3) and Samsung Galaxy (Android 4.2.2). I don't and Android 5 phone with me to test.
format.js creates an NDEF formatted tag, without any NDEF message. (Technically I think this breaks the spec.) It would be better to have an completely reset tag using the non-ndef keys for each sector.
I have an Arduino sketch https://github.com/don/NDEF/blob/1eb9a098c1e2d5ba7d3f16636f9b611c48c3704c/examples/CleanTag/CleanTag.ino to Clean Mifare Classic and Mifare Ultralight. I'll have to try that later.
Here's the test code I was using.
cordova create issue220 com.example.issue220 issue220
cd issue220
cordova plugin add phonegap-nfc
cordova platform add android
Replace www/js/index.js with
var app = {
initialize: function() {
this.bindEvents();
},
bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
},
onDeviceReady: function() {
app.receivedEvent('deviceready');
var success = function() {
console.log("Listening for formatable NFC tags");
};
var failure = function(reason) {
console.log("Error adding NFC listener " + reason);
};
    nfc.addNdefFormatableListener(app.onNfc, success, failure);
},
onNfc: function(nfcEvent) {

    var success = function() {
        alert("Wrote data to tag");
    };
    var failure = function(reason) {
        alert("NFC write failed " + reason);
    };

    var message = [
        ndef.uriRecord("http://www.amazon.com/dp/1457187094")
    ];

    nfc.write(message, success, failure);

},
// Update DOM on a Received Event
receivedEvent: function(id) {
    var parentElement = document.getElementById(id);
    var listeningElement = parentElement.querySelector('.listening');
    var receivedElement = parentElement.querySelector('.received');

    listeningElement.setAttribute('style', 'display:none;');
    receivedElement.setAttribute('style', 'display:block;');

    console.log('Received Event: ' + id);
}

};
app.initialize();
FWIW In my Angular example, I put the NFC code in a service https://github.com/don/ionic-nfc-reader https://github.com/don/ionic-nfc-reader.
—
Reply to this email directly or view it on GitHub https://github.com/chariotsolutions/phonegap-nfc/issues/220#issuecomment-165335308.

If you share your code somewhere I can take a look and try it on my devices.

Don,
Here is a link to my repo: https://github.com/vightel/coinRwApp https://github.com/vightel/coinRwApp
Everything seems to work fine on Android 6.0.1 and NEXUS 6P
This is my only requirement for this project.
Thanks for your great work and amazing library.
I owe you one.
Pat Cappelaere
<EMAIL_ADDRESS>Cell:<PHONE_NUMBER>
Skype: patrice_cappelaere
gmail<EMAIL_ADDRESS>
On Dec 17, 2015, at 6:50 PM, Don Coleman<EMAIL_ADDRESS>wrote:
If you share your code somewhere I can take a look and try it on my devices.
—
Reply to this email directly or view it on GitHub https://github.com/chariotsolutions/phonegap-nfc/issues/220#issuecomment-165618163.

Closing old issue


Add html merged renderer

Adds an renderer which shows merge of version1 and version2.
The name "Merged" might have to change to a more suitable name.

Please don't merge the PR yet.
The pushed commits are to discuss the output of the new renderer at first.

Do you have any remarks on the output?

Deleted lines are shown when hovering the lines which are marked with an * (Line 8).
Maybe there's a better solution to indicate removed lines?

I like the output. The hover effect is good. The star should be lager. I overlooked it, if you hadn't mentioned it.

Improved visibility of removed lines...

It seems to be compatible with the new marking levels.
But about the naming of the renderers... I'm a bit confused.

HTML Side by Side Diff. Seems ok.
HTML Inline Diff. Isn't this one a unified diff, but with inline markings?
HTML Unified Diff. Seems ok, but just another style of whats currently named HTML Inline Diff?
HTML Merged Diff. Isn't this one just an inline diff?

By definition line diff is the highlighting of the changed characters. A "plain" diff would is like "Inline Marking" level none.

One unit test fails
Tests\Diff\Renderer\Html\HtmlRenderersTest::testMerged
Failed asserting that two strings are equal.
php-diff\tests\Diff\Renderer\Html\HtmlRenderersTest.php:110

One unit test fails

Darn... I've fixed it before, but I had to include the changes from the last PR which reintroduced this failure.
It's fixed at a following commit.

By definition line diff is the highlighting of the changed characters. A "plain" diff would is like "Inline Marking" level none.

Ok, but what we call HTML Inline Diff now, seems like a unified diff to me.

Regarding the renderer names, I've created issue #77
After reviewing and approval, I think this PR could be merged.

For backward compatibility the names should remain. However in v3 we could change that and there is also the jump to the next PHP version.


Morse Code Convertor using Vanilla JS

WebMasterLog Repository (Proposing new issue)
:red_circle: Project Title : Morse code convertor
:red_circle: Aim : A website which can convert the morse code into English language so that user can understood that message.
:red_circle: Tech Stack Used : HTML, CSS, JS
:red_circle: Category :  Vanilla-JS

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be all the main components.

Cover image of the application, if project will be deployed in future, with the name of the folder in Kebab-Case (hypen-separated).
Main files in formatted state so that code will be readable.
Other Images - In seprate folder named Images used to form the application.

Inside the Project folder, the README.md file must be filled up properly, with proper visualizations and descriptions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.)

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Assign me under JWOC
Name : Aftab Mankapuee
Github: https://github.com/AftabMankapure

@AftabMankapure Assigned to you. Follow the Contributing guidelines carefully.
And comment 1 issue at a time.


Fix needed redirects that were deleted in #1490

David Coulter found hundreds of new broken links after #1490. This adds back the required redirects.

Docs Build status updates of commit d79e9b0:
:clock10: Full build: the average full build time is 29 min(s) 4 sec(s), this is based on the last 472 build(s) for this repository.

Docs Build status updates of commit d79e9b0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Sample for invoking js function in kotlin with params

This project is very helpful, but I have no idea about invoking js function in kotlin with params, can you add a sample for that.

I need that too， @dokar3， Could you help us.

@yushaye @Greatwallcorner Does this part help you?

@yushaye @Greatwallcorner Does this part help you?

this example is define function in kotlin and invoke it in evaluate function, it couldn't provide some params , unless do some conversions youself(like kotlin array to json str?). the lib can't invoke a js function from kotlin with params

@Greatwallcorner With the function method, you can have params in JS that you retrieve in Kotlin callback.
What API would you like it to be?

@Greatwallcorner If you put a function in the JS context through evaluate, you then have to use it again with the same context to get the result. But I do it simply on with only one evaluate call, like:
function evaluate(params) {
    // do something with params
}
evaluate(myParamsObject);

Then in Kotlin, I do:
val result = quickJs {
    define("myParamsObject") {
        property("param1") {
            getter {
                "This is my first param."
            }
        }
        property("param2") {
            getter {
                123
            }
        }
    }
    evaluate<OutputType>(script)
}

and if you need dynamic data in getters, you can use an callback to fetch them back in Kotlin.


"countrycodes" option broken with array

Config: countrycodes: ["at", "de"] (as per doc, array of iso country codes)
Expected: URL generated as countrycodes=at,de
Actual: Url generated as 0=at&1=de
Source of the problem: toQueryString method
Minimal test case
toQueryString({countrycodes:["at", "de"]})
> '0=at&1=de'

Workaround: using a comma-separated string instead of an array (i.e. countrycodes:"at,de")
If this is intended behavior the docs should be updated.

countrycodes=at,de is correct. Uppercase works but inside the Nominatim database the codes are stored lowercase so we usually write them lowercase in documentation.


Webpack 5 cache storing should reset the idle timeout when a rebuild is triggered or building

Bug report

What is the current behavior?
The cache storing happens even webpack is rebuilding.
If the current behavior is a bug, please provide the steps to reproduce.

Set idle time to 10 second
Right after initial build, make change to any file which triggers a rebuild
You will see the cache storing happens even if the second build has not completed, and it stuck at
94% sealing after seal until the cache is stored.

What is the expected behavior?
The idleTimeoutForInitialStore or idleTimeout should be reset when a new build is triggered, and starts to count after the build is completed

Other relevant information:
webpack version:   5.10.0
Node.js version: 12.16.1
Operating System: Mac
Additional tools:

I think this is still an issue.

What is the problem?

Thanks for the response, @alexander-akait  🙂
Making a change in a watched file that's currently being compiled doesn't stop the current compilation.
For example:

Run webpack in watch mode
Make a change in hello.jsx
Webpack starts compiling
Make another change in hello.jsx
Webpack waits for the first compilation to finish and then queues another compilation.

On projects that take several seconds to compile, this can be time consuming.

@Bosch-Eli-Black this doesn't sound related to the issue.
According to the code, idle timeout is reset when the next compilation starts. I wasn't able to reproduce the problem.
If this is still a problem, please open a new issue with a reproduction.

After updating to the newest webpack version, I no longer have this issue. Sorry for the spam, and thanks, sokra 🙂


[WIP] Add multiarch container builds

Fixes #54.

These lines here below need to be adjusted so the objects for the correct arch are getting copied over to the final image: https://github.com/parca-dev/parca-agent/blob/main/Dockerfile#L34


Count the triplets

Given an array of distinct integers. The task is to count all the triplets such that sum of two elements equals the third element.
Can provide the solution in C++, python and Java.
Can you please assign this issue to me.

plz assign me in c++

Please do assign this to me.


Make sure the batch pipeline works with HAPI as the source.

We have two modes for the batch pipeline:

The FHIR-search based mode should work without too many changes; but we need to verify this.
The JDBC based version should be improved such that it can read the resources directly from the DB (this would be useful for scalability analysis later).

@rayyang29 I believe we can close this, correct?

Yes, we can now close this after the merging of PR #277.


Playlist length bug

:exclamation:  DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE :exclamation:
lack of information will lead to closure of the issue

Describe the bug
When downloading a playlist that is longer than 100 items I receive an Error: HTTP Error 400: Bad Request

code that was used that resulted in the bug
import os
from pytubefix import YouTube, Playlist
from pytubefix.cli import on_progress
import time
import random

def download_video(video_url, output_directory):
    retry = 0
    max_retries = 3

    while retry < max_retries:
        try:
            yt = YouTube(video_url, client='WEB_CREATOR', on_progress_callback=on_progress)
            ys = yt.streams.get_audio_only()
            print(f'Downloading video: {yt.title}')
            ys.download(output_path=output_directory, mp3=True)
            return

        except Exception as e:
            print(f'An error occurred: {e}')

            # Wait for a random interval between 1-5 seconds before retrying
            time.sleep(random.uniform(1, 5))

            retry += 1

def main():
    url = input('Enter the URL of the YouTube video or playlist: ')
    playlist_passed = 'playlist' in url

    output_dir = os.path.join(os.getcwd(), 'Downloads')

    if not os.path.exists(output_dir):
        os.makedirs(output_dir)
    try:
        if playlist_passed:

            print('Downloading playlist')
            pl = Playlist(url, client='WEB_CREATOR')

            for video_url in pl.video_urls:
               print(video_url)

        else:
            download_video(url, output_dir)
    except Exception as e:
        print(f'An error occurred: {e}')

    print()
    print('Download complete.')

if __name__ == '__main__':
    main()

Expected behavior
I would like to be able to use playlists longer than 100 videos

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows 11  23H2
Python Version [3.12.3]
Pytubefix Version [6.17.0]

Additional context
Add any other context about the problem here.

What is the Playlist URL?

https://www.youtube.com/playlist?list=PLAB6jimK6CqdXxbqqSyNHTBUWvEiE8qvV
I tested with removing a song from the playlist and it did download one additional song before throwing the error, again stopping at 100 songs

The fix is available in this PR #249

try: pytubefix==7.1rc1

You fixed it with the version above! Thx for this!


Fix overly strict ISO date validation

A customer had trouble calling one of our API endpoints because their request client (Java Spring RestTemplate) generates ISO dates where the sub-second digits aren't (always?) three. Instead of 2022-12-09T08:50:35.830Z, their library would submit 2022-12-09T08:50:35.83Z. This caused our API to return a 400 error because the validation of the relevant dateIn would fail.
I updated the relevant regex to allow any number of digits which seems to be valid according to this and is parsed perfectly fine by new Date().

Nice

🚀  released in v8.4.3, @shroudedcode


DataLayer isn't being updated in internal navigation

Hello,
I can't get this lib to work really good. I'm using react helmet by the way.
Only thing that I can do is generating a random string for dataLayerName and it'll create another dataLayer, which is not what I want. I want the current dataLayer to be updated with new pages inside, like the result you get from window.dataLayer.push.
I'm not sure what I'm doing wrong, here is my code :
App.js
        const tagManagerArgs = {
		gtmId: 'GTM-MPF7T3P'
	}

	useEffect(() => {
		loaded && TagManager.initialize(tagManagerArgs);
	}, [loaded]);

Metatags.js
const Metatags = ({pageTitle} ) => {
    const pageChanged = () => {
        TagManager.dataLayer({
            dataLayerName: 'pageDataLayer',
            dataLayer: {
                title: pageTitle
            }
        })
    }

    return (
        <Helmet
            onChangeClientState={() => pageChanged()}>
            TAGS HERE
        </Helmet>
    )
}

Data layer is changed if I navigate through  but not through
Anyone stumbled upon this ?

I went with vanilla js, will change if this has a fix

It was the adblocker for me causing the issue
I used
TagManager.dataLayer({dataLayer:{
        event: {}
}
}


Custom TF Model with Generative AI (PaLM API)

Hi,
I'm wondering if I could actually use my custom Tensorflow ML model with PaLM API (Gen AI), for example I saved tf model in .h5 format and import it in PaLM AI and expect questions that were asked are answered according to the custom model I trained.
I've been reading the official documentation, however, most are explaining the use of text models, etc instead of a custom model.

You are able to deploy a custom Tensorflow model to Google Cloud Vertex AI by using the documentation listed here:

https://cloud.google.com/vertex-ai/docs/start/tensorflow

Here's a video series from Google Cloud that shows how to use Vertex AI:

Google Cloud Tech - Prototype to Production

Here's a blog post that also explains the process

https://towardsdatascience.com/how-to-deploy-a-tensorflow-model-to-vertex-ai-87d9ae1df56


Need to supply ingressNamespace and mcpAddr to Pilot

https://github.com/istio-ecosystem/istio-installer/pull/33/files
mcpAddr:

That's a bug - should go into configmap-envoy.yaml.
It's a bit more complicated - Galley has a cert that is based on the name, so we'll need to test how using a different mcpAddress really work - I don't think in the istio/istio it was tested too much.

ingressNamespace:

Interesting - that would be a bug. Pilot needs to know where to find the IP of the ingress service.

On this topic - please double check that Policy is using the same configs as telemetry and pilot ( envoy sidecar, mcpAddr, etc ).

@costinm can you explain what work is needed for this and why? Things seem to be working fine without these options so I am not sure what we need to do

There is no clear action here on why we need these options


Variant table text search failing for -

Searching for the specific character - returns no results. That character should return results. Example variant: https://civicdb.org/variants/3049/summary

This is also failing when you enter "::" which would be a convenient way to find fusion variants.
Finding fusion variants is currently difficult in CIViC V2.  We don't have advanced search yet, we don't show variant type in the variant table, and the above search does not work.

This is because these queries are left anchored ie ^searchterm*
We can switch it to be wildcards on both sides, which will be a little slower but perhaps desirable?


ubuntu install?

Checklist for submitting an issue to KickThemOut:

[x] I have carefully read the README file and haven't managed to resolve my issue.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] I am running the latest version of KickThemOut.

OS name & version:
Python version:
Kamene version:
Nmap version:
Link of Gist:

Description:

Hi there. The installation guide can be found in the readme file of the repo. If you are having specific problems while running the installation commands, please create a new issue outlining the error that you are encountering. Thanks!