fix: add public key fetcher to pd match

If we give public key fetcher option to pd.Match(), there is no need to verify each credential additionally.
When you see pd.Match(), VCs are selected.
And in the process of selecting, each VC is parsed from bytes using verifiable.ParseCredential() with option, which is also used in our VerifyCredential().
Thus gave the public key fetcher option to pd.Match() and remove duplicated verification.

LGTM. If you feel it's annoying to iterate/convert all veriMethods such as authentications, you just can alternatively extend the pubkeyFetcher like https://github.com/medibloc/vc-sdk/commit/28ed1b122b96356219b54723b0cbb172274b019b, which is an incomplete example. If you want to use this idea, i think you can make it better by mixing this with your code

Thank you for your guides :pray:. I also considered to implement PublicKeyFetcher directly, but I wasn't sure how to cover all the VerificationRelation such as authentication, assertion, capability delegation, and so on (VDRKeyResolver fetches public key from several VerificationRelation). So I first implemented it in a simple way.
If I understand correctly, the usage of VerificationRelation depends on user (whether to use several verification relations), so can we just fetch the public key only from VerificationMethod?

I found alternative workaround.
When verification relations (such as authentication, assertion, etc.) exist in DID document, corresponding verification methods are found in VerificationMethod in ParseDocument (ref). Thus, the compressed public key is converted to uncompressed public key before ParseDocument.

I found alternative workaround.
When verification relations (such as authentication, assertion, etc.) exist in DID document, corresponding verification methods are found in VerificationMethod in ParseDocument (ref). Thus, the compressed public key is converted to uncompressed public key before ParseDocument.

Does that mean We just need to find it in the verificationMethod?

Does that mean We just need to find it in the verificationMethod?

Maybe.

Does that mean We just need to find it in the verificationMethod?

Maybe. I mean yes.

If it is true, that would be good :)


Replace Peewee with SQLAlchemy due to multithreading issues

Is your feature request related to a problem? Please describe.
When using the application, the database connection gets still sooner or later. The root cause relies here in the multithreaded environment of FastAPI
Describe the solution you'd like
Replace Peewee ORM with SQLAlchemy
Describe alternatives you've considered
There exists a possibility to do an auto-reconnect for certain db related errors. But in my opinion this just hides the real issue. In some cases it might solve the users need, but it is not very reliable.
Additional there is a peewee-async project that can handle it. But reworking the backend to fit the async dependency is just at least the same effort as replacing it with SQLAlchemy. Considering if a library will be maintained in the future, I would rather bet with SQLAlchemy than peewee-async
Additional context

https://github.com/tiangolo/fastapi/issues/1019#issuecomment-612921599

PR welcome!


Invalid SENTINEL_HOSTS format

The format the hosts are encoded in the SENTINEL_HOSTS variable is kind of broken.
Right now it's like:
SENTINEL_HOSTS=[http://redis1.domain, http://redis2.domain]
Some problems:

It isn't json because the quotes are missing;
The protocol for sentinel isn't http;
There's no REDIS_ prefix in the variable name, this could make it harder to find out who is injecting it.

Actually, redisapi will respect the value of the SENTINEL_HOSTS environment variable defined for it, so we don't need any changes in code!
See: https://github.com/tsuru/redisapi/blob/b970f16a09b0f96e05ac522dc6d237d3014fcca1/redisapi/managers.py#L81


Compression of response to reduce file size

We are having the api layer written in python that is querying the pinot using swagger api. We have found the below results in terms of response time and response file size. We wanted to reduce the response time and file size. The query consists of 1 fact table which is performing lookup with 2 other dimension table. Is there a way to return the response in compressed form to reduce the file size.

This feature request could be relevant: #12315
Are you sure the extra latency comes from transferring query response? It could also be scanning and looking up more records.
One more thing you might want to try is to directly query the broker API if you are using the controller API currently. Then you can compare the client side time and the latency reported by Pinot to see if the delay is caused by transferring the response.


A fatal error has been detected by the Java Runtime Environment

While installing elastic search faced the below error -
OS - Ubuntu 20.4.3 focal fossa
SIGSEGV (0xb) at pc=0x00007f6b31a4c4a0, pid=21056, tid=21109

JRE version: OpenJDK Runtime Environment Temurin-17.0.1+12 (17.0.1+12) (build 17.0.1+12)
Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.1+12 (17.0.1+12, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, serial gc, linux-amd64)
Problematic frame:
J 59 c1 java.util.zip.ZipUtils.SH([BI)I<EMAIL_ADDRESS>(21 bytes) @ 0x00007f6b31a4c4a0 [0x00007f6b31a4c4a0+0x0000000000000000]

Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /usr/share/elasticsearch/core.21056)

An error report file with more information is saved as:
/usr/share/elasticsearch/hs_err_pid21056.log
Compiled method (c1)     857   59       3       java.util.zip.ZipUtils::SH (21 bytes)
total in heap  [0x00007f6b31a4c310,0x00007f6b31a4c688] = 888
relocation     [0x00007f6b31a4c470,0x00007f6b31a4c4a0] = 48
main code      [0x00007f6b31a4c4a0,0x00007f6b31a4c5a0] = 256
stub code      [0x00007f6b31a4c5a0,0x00007f6b31a4c5d0] = 48
metadata       [0x00007f6b31a4c5d0,0x00007f6b31a4c5d8] = 8
scopes data    [0x00007f6b31a4c5d8,0x00007f6b31a4c5f8] = 32
scopes pcs     [0x00007f6b31a4c5f8,0x00007f6b31a4c668] = 112
dependencies   [0x00007f6b31a4c668,0x00007f6b31a4c670] = 8
nul chk table  [0x00007f6b31a4c670,0x00007f6b31a4c688] = 24

If you would like to submit a bug report, please visit:
https://github.com/adoptium/adoptium-support/issues

Please try with our latest 17.0.2

17.0.2 version worked and issue is now resolved


feature request: allow users to show File Information and display file size for any file

Current Behavior
VSCode shows file information in the bottom pane of the editor only for binary files or files with an unsupported text encoding.

The file is not displayed in the text editor because it is either binary or uses an unsupported text encoding.

Desired Behavior
It would be nice if VSCode gave users the option to show file information for every file open in the editor, regardless of its encoding.

open in hex editor

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Also, would be nice to have option to open with configured shell command, like on Windows I could configure it to use explorer.exe or cmd.exe /c start "" or something, so it defaults to whatever app is associated in the system.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Met error that I want to run my flutter app in simulator/IOS

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
The Emulator or physiccal android devices have no problem.
pubspec.yaml:
google_mlkit_text_recognition: ^0.8.1
get: ^4.6.1
image_picker: ^0.8.5+3
path_provider: ^2.0.15
camera: ^0.10.5+2
dropdown_button2: ^2.1.3
translucent_navigation_bar: ^1.0.0
curved_navigation_bar: ^1.0.3
flutter_svg:
gdpr_dialog: ^2.1.1
smooth_page_indicator: ^1.1.0
tab_indicator_styler: ^2.0.0
sqflite: ^2.0.0+3
floating_action_bubble: ^1.1.4
flutter_cupertino_datetime_picker: ^3.0.0
simple_circular_progress_bar: ^1.0.2
animated_text_kit: ^4.2.2
auto_size_text: ^3.0.0
shared_preferences: ^2.0.6
extended_image: ^8.1.0
purchases_flutter: ^5.2.3
firebase_database:
firebase_core:
firebase_auth:
cloud_firestore:
google_sign_in: ^6.1.4
font_awesome_flutter: ^10.5.0
device_info_plus: ^9.0.2
android_id: ^0.3.3
is_first_run: ^1.0.0
url_launcher: ^6.1.12
flutter_spinkit: ^5.2.0
flutter_native_splash:
cloud_functions: ^4.3.4
package_info_plus: ^4.1.0
share_plus: ^7.1.0
flutter_rating_bar: ^4.0.1
rate_my_app: ^2.0.0
flutter_email_sender: ^5.0.2
flutter_screenutil: ^5.9.0
Expected results
But when I launch simulator I met the error. I already removed XCTest in Runner/Link Binary With Libraries or anywhere, have no clue where is this error from. Besides I tried to Simulator directly in XCode, and the errors are same
Actual results
Launching lib/main.dart on iPhone 14 Pro in debug mode...
Running pod install...
Running Xcode build...
Xcode build done.                                           584.0s
Failed to build iOS app
Error (Xcode): Undefined symbol: _$s6XCTest7XCTFail_4file4lineySS_s12StaticStringVSutF
Error (Xcode): Undefined symbol: _$s6XCTest8XCTIssueV19_bridgeToObjectiveCSoABCyF
Error (Xcode): Undefined symbol: _$s6XCTest8XCTIssueV4type18compactDescription08detailedE017sourceCodeContext15associatedError11attachmentsACSo0B4TypeV_S2SSgSo09XCTSourcehI0Cs0K0_pSgSaySo13XCTAttachmentCGtcfC
Error (Xcode): Undefined symbol: _$s6XCTest8XCTIssueVMa
Error (Xcode): Undefined symbol: OBJC_CLASS$_XCTAttachment
Error (Xcode): Undefined symbol: OBJC_CLASS$_XCTSourceCodeContext
Error (Xcode): Undefined symbol: OBJC_CLASS$_XCTSourceCodeLocation
Error (Xcode): Undefined symbol: _swift_FORCE_LOAD$_XCTestSwiftSupport
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro.
Code sample
Code sample
Some general flutter code

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.2, on macOS 13.2.1 22D68 darwin-x64, locale en-GB)
    • Flutter version 3.13.2 on channel stable at /Users/xouyang/tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (6 weeks ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/xouyang/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.13.0

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 13.2.1 22D68 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.88

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @peterbullmatti
The goal of this Github repo is not to give assistance on personal code or the whole package/plugin project, but to improve flutter reporting bugs or feature requests.
If you encounter behavior that you believe could be a Flutter framework bug, please provide a completed and minimal reproducible code sample that represents the problem.
Instead, if you think that the issue might depend on your implementation, please see flutter's community for resources and ask questions like this. You may also get some help if you post it on Stack Overflow as well.


Change our mock docs to use sphinx

We have some clumsy code around mocking dependencies. We should point to autodoc_mock_imports instead.
http://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports

The related docs are on https://docs.readthedocs.io/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules

Hey can I take this issue?

@anubhavsinha98 sure!

So @stsewd so I am not getting what is need to be done in this issue?

You need to update the docs at https://docs.readthedocs.io/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules. There we recommend using the mock library, but as Anthony mentions, there is a better and native way of solving the issue. So we need to point the users to the other solution

Thanks @stsewd I got it. Any gitter channel or IRC for this org so that I can join.

It means thats I get import errors on libraries that depend on C modules will be replaced by the
http://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports

Something like "if you have this problem, use..."
We are on freenode as #readthedocs, or on gitter https://gitter.im/rtfd/readthedocs.org

Okay Thanks!

@stsewd I have a doubt, Issue #4551. Can I add a link to the of mock dependencies using sphinx or I should remove the current solution and add the new one?

Yeah, we need to remove the previous workarround

Ok, Thanks!

Hey I am getting this issue, I have changed the work. I have installed pre-commit via pip and when I am running pre-commit run its showing no command found(Even I have installed it). So what can be the reason?

Isn't necessary to run pre-commit in docs changes

Hey did a PR #4569 !
Check it out @stsewd !


No destroy method?

Is there any possible way to have a destroy method?

See also #26

Yes, I agree - It needs to be added.
Agladysh has offered to contribute a fix.


upload-batch interpets json files as content-type application/octet-stream

when uploading files (such as a react app) to an azure blob container, all json files (such as manifest.json) get interpreted as having content type application/octet-stream. The expected content-type would be application/json
because of this, all json files are not correctly loaded by the browser

Thanks for catching this. We are looking into why this happens.
For now, please use the --pattern argument to select for *.json files and specify the content type using the --content-type.

We do have a mechanism to "guess" the content type in batch-upload. The implementation relies on mimetypes to interpret the content type base on the file name. It doesn't returns application/json type of the *.json file. We will look into how to improve this aspect of the feature.

Thanks. Would appreciate feedback as soon as it's fixed

By the way, using --pattern, would mean I have to write a batch-upload for every file type (js, json, css, ico etc). This makes it impossible to use batch-upload for website assets. I hope you get around to fixing this soon

Thanks for the advice for a valid scenario. We're looking into changes which can improve the experience.

@markuspelnens , we will make sure the upload command correctly interrupt *.json and *.js files' content type correctly in this sprint. Please let us know if there are other files cause trouble in your scenario.
Additionally, we will work out a solution allows users to customize the content type match in batch. The feature will come in later next sprint. Thanks.


Prepare and deploy 4.17 release

[x] run unit tests in dev
[x] update version to "4.17" in setup.py and hxl/__init__.py
[x] check CHANGELOG
[x] install and test in clean virtualenv
[x] merge to test and push
[x] update in beta Proxy and run unittests
[x] merge to master and push
[x] create libhxl PyPi release
[x] wait until the new release is visible on PyPi
[ ] add git tag "4.17"
[ ] create GitHub release

Release on PyPi: https://pypi.org/project/libhxl/4.17/

Release on GitHub: https://github.com/HXLStandard/libhxl-python/releases/tag/4.17


Updated README with prebuilt images and fixed/updated docker-compose.yaml

Hey I made prebuilt images of cryptohttp for docker as well as kubernetes, I have added the instructions in the readme. Also I updated the docker compose so that the default port is 8080 instead of the previous 8000.

Here is the link for those images cryptohttp.
They are made using the current Dockerfile and will automatically update when there is a commit to the main branch and also compatible with x86_64 as well as arm/arm64 devices like the raspberry pi.

If you have anymore questions just comment below, all my images are tested for vulnerabilites before uploading to docker hub so no need to worry about security.


Failures triggered in Effect.all with concurrency > 1 are not properly forwarded to devtools

What version of Effect is running?
3.11.2
What steps can reproduce the bug?
Use this example: https://effect.website/play#3f1b03628f61
If you comment out the concurrency: 2 it will work.

import { NodeRuntime } from "@effect/platform-node"
import { Effect } from "effect"
import { DevToolsLive } from "./DevTools"

const program = Effect.gen(function*() {
  yield* Effect.log("Welcome to the Effect Playground!")
  yield* Effect.all([
    Effect.succeed("success").pipe(Effect.withSpan("success")),
    Effect.fail("failure").pipe(Effect.withSpan("failure"))
  ], {
    concurrency: 2
  })
}).pipe(Effect.withSpan("program", {
  attributes: { source: "Playground" }
}))

program.pipe(
  Effect.provide(DevToolsLive),
  NodeRuntime.runMain
)

What is the expected behavior?
I would expect the spans to capture the exception the way they do when no concurrency is enabled.
What do you see instead?
No response
Additional information
No response

Fixed in the latest playground :) https://effect.website/play#d6d49cea57bb


Get back to a blank input when navigating history

Hi,
Thanks for your work, it is a very nice interface.
It's really useful to be able to navigate history with arrow keys, but it would be handy to get a blank line when navigating back to the current input, as it is in most shells. Right now if I navigate to previous commands with the up key, if I want to get a blank input back I have to delete the content of the line.
Hopefully this makes sense :sweat_smile:

Hey,
It completely make sense :)
Will label this a bug and work on it asap.
Thx for reporting !


Client Certificate authentication with PIV card during TLS Auth on iOS

As of now we are unable to do client certificate authentication with PIV card during TLS handshake.
we have NSURLAuthenticationMethodClientCertificate call back in the session delegate method but it expects SecIdentity(cert+private key)along with the public part of the certificates.
It will be good if support will be extended to PIV smart cards to do TLS mutual Authentication.

That sounds like a feature request for Apple, or something to build yourself. I'm not familiar with the CryptoTokenKit framework you'd use to extract certificates from smart cards, but it appears you can get the certificate Data from them, which you would then need to turn into a SecIdentity value, which may or may not be possible. You would then create a URLCredential using URLCredential(identity:certificates:persistence:).
It's unlikely we'd ever build something like this into Alamofire itself due to its niche applicability, complex and risky implementation, and difficulty of reliably testing it. If you can find a way to solve these issues reliably, please let us know and we may be able to reconsider.


Composer license not understood by PhpStorm as an array

If you specify the license key in composer.json as an array, Phpstorm thinks that you haven't specified the key at all and shows a tooltip warming:
No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.
Composer states that you can set the license key as an array: https://getcomposer.org/doc/04-schema.md#license

only for reference -> https://youtrack.jetbrains.com/issue/WI-44569

It will be fixed in the new version - sorry for late response ;)


Add command option to virtctl ssh

What this PR does / why we need it:
Allow to execute arbitrary command on the remote server via SSH
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
This PR requires and include  the fix https://github.com/kubevirt/kubevirt/pull/7682 . Once merge it needs to be rebased.
Release note:

Add --command option to virtctl ssh to execute a command through ssh

sure, I'll have a look next week to create some basic tests and then create something for this new flag

sure, I'll have a look next week to create some basic tests and then create something for this new flag

The scp tests may be a good starting point: https://github.com/kubevirt/kubevirt/blob/main/tests/virtctl/scp.go

Thanks @rmohr ! That is already a good start! The most tricky part for ssh is that it gives an interactive shell

I added a couple of functional tests here using the option --command. I'm struggling a lot with the tty allocation. With an interactive shell this is necessary but not if we simply run a command. That's why the --command simplifies a lot the testing. However, I have managed to get it working for the native method but not for the local ssh. The local ssh still has some terminal as the command can be translated as ssh -o ProxyCommand='virtctl port-forward --stdio=true vmi/test.default 22' -i test-key -tt<EMAIL_ADDRESS>'ls'.
If anyone has suggestions on how to fix it they are very appreciated.

I think testing the ssh flows with your new --command flow already tests significantly more of the SSH flows than we had before. I would be fine with just testing this for now.

@rmohr the test for the local ssh isn't working. I push it so you can have a look. I think the issue is the virtctl port-forward that doesn't get a proper terminal but I'm getting lost with all the redirection

@alicefr , have you tried to run the binary directly with exec.Command("virtctl", ...)? Since it will spawn a new process I assume the tty will be allocated.

@alicefr , have you tried to run the binary directly with exec.Command("virtctl", ...)? Since it will spawn a new process I assume the tty will be allocated.

@vasiliy-ul with exec.Command it works with the tty :). Thanks for the suggestion. I need to be sure that virtctl is installed on the CI. RIght now, still struggling with host finger print checking. So, one problem after the other :)

@rmohr @davidvossel what was actually the purpose of virtctl with local ssh? I'm asking because there isn't a way to pass more tuned options like for example to skip the host fingerprint check for the ssh command

Glad that it worked :)

I need to be sure that virtctl is installed on the CI.

There is a parameter for kubevirt tests that allows to set the path to virtctl binary:
https://github.com/kubevirt/kubevirt/blob/a3aaf1ace40c44c9dafaf2c091851d5cdb829fd7/tests/flags/flags.go#L73
It might be usefull.

Ok, I fixed the local ssh test by using the exec.Comman suggested by @vasiliy-ul . Additionally, I also included a new flag to pass additional options to the local ssh. This is an improvement because it allows the users to really take advantage of the more fine options offered by the local ssh. It can also be used in the functional test to skip the host key check.


start implementing majorana metrics

Does it make sense to restrict the Hamiltonian as much as I do now @cvsvensson? It just seemed like this would make implementing the quality metrics easier, and I felt like parity conservation is something one should have in Majorana-related problems.
Also, I guess you see my problem of having to store the basis twice.

It makes sense to start with the case we are most interested in and get that working. If we want something else in the future, we can tackle that then.
I forgot that we had the struct DiagonalHamiltonian. I guess one could actually just use a single field for the hamiltonian then. Like:
ham::Union{BlockDiagonal, DiagonalizedHamiltonian}
basis::B

This could be more general. One could have a type ArrayWithBasis{T,N,B} which just stores an <:AbstractArray{T,N} and a basis B. Then states and operators could carry around the basis by themselves. I've resisted doing this, because I want the objects returned from QuantumDots to be as primitive and simple as possible. But it might make sense to test that out here.

If you want to avoid some duplicate computation, you could also put a dict into the struct that stores results. Then one could for example store the quantities from energy_info as key value pairs there. When the user calls a function with the Hamiltonian as an argument, one can check if the dict contains some relevant key; if it does, reuse the value, if it doesn't, compute it and store it.
In that case, one could also store the diagonalized hamiltonian there, and then the struct can be immutable instead.
The advantage of this is that it is very easy to store and reuse any new quantity one thinks of. The disadvantage is that the struct is not so tightly defined. But since there are lots of different things one may want to calculate given a Hamiltonian, perhaps flexibility is the most important thing here.

That sounds like a good idea. I'll try it out.

After you've registered the new version in your registry, you can go to github Actions -> TagBot -> run workflow to get a tagged release here on github.


No Resource Group shows up in WebUI

Nice that a WebUI is added to add certificates, but no ResourceGroup is displayed in the dropdown.
I have added the Website contributor and Web Plan contributor roles to the target resourcegroup.
How to troubleshoot this?
BTW: Is there also a WebUI to view which apps are serviced by this function?

If it does not appear in the dropdown, it is either waiting for IAM to reflect or the domain has not been added to the target App Service.
It may take from 30 minutes to an hour until the IAM setting is effective.

After digging into your code, I found my problem. You display only binding which do not already have SSL configured. After I removed the binding it showed up and I could successfully add the certificate.
Is it an idea to add a checkbox in the WebUI to display also the bindings which have already SSL configured (other then Let's Encrypt), so I can configure a Let's Encrypt certificate to replace the existing certificate? Or will that be complex and should I just remove the SSL binding first manually?
And, as I already said, a WebUI to view all the SSL bindings managed by this function app would be helpful I think. (And optionally perhaps displaying all bindings, so you can pick one and configure a Let's Encrypt certificate for it.)
Thanks for your work. Makes it really easy to implement the Let's Encrypt certificates!


fix: printing debye-dipole-moment

Summary
I found a bug when printing the debye-dipole-moment. This fix has been discussed with @mrossinek.
Details and comments

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.02%) to 85.949%

Files with Coverage Reduction
New Missed Lines
%

qiskit_nature/second_q/drivers/psi4d/psi4driver.py
2
83.9%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
17806

Relevant Lines:
20717

💛  - Coveralls


Docs: Link to Project Settings tutorial from ProjectSettings class

Pretty self-explanatory. Note that the Project Settings manual page is currently barebones, and is about the Project Settings window rather than the ProjectSettings class. But if you're looking at one you probably want to know about the other.

Thank you!


playback error - skipping tracks

The add-on connects to my server library just fine, but upon selecting a track for playback the track plays for ~5 seconds, stops, buffers, then skips to the next track. This continues indefinitely with each subsequent track.
Server is running subsonic 6.1.3 and client is running Kodi on Retropie (RPi 3b).

Happy to look at this, but I will need some logs. Let me know if you want to follow up.

Closing this due to age. I have not seen any issues like this personally.
Happy to look at some logs if this is still an issue.


[force sensing] I have a question

How to ask for help
First, read our quick guide to
asking good questions.
Below is a template for you to use:
Hello
I am a student who is conducting an experiment to measure force using a Mujoko simulator.
I wrote this article to get advice on the following.
Currently, the force is measured when the contact between A1, A2, B1, and B2 and the object occurs as shown in the figure below. Through this, I'm done measuring the force, but I want to measure the force applied from the box by declaring the above green box as "geom" on the body rather than declaring it as a freepoint. Is it possible? I'm attaching the xml file.
It's hard to explain in words, so I attached a picture together.

minimal XML
<mujoco>
    <option gravity="0 0 -9.81"/>
    <asset>
        <texture name="grid" builtin="checker" height="500" rgb1=".1 .2 .3" rgb2=".2 .3 .4" type="2d" width="500"/>
        <material name="grid" texture="grid" texrepeat="1 1" texuniform="true" reflectance=".2"/>
        <texture name="skybox" type="skybox" builtin="gradient" rgb1=".1 .2 .3" rgb2="0 0 0" width="800" height="800" mark="random" markrgb="1 1 1"/>
        <material name="silver" specular="1" shininess="0.5" reflectance="1" emission="0.25" rgba="0.82 0.82 0.82 1"/>
        <material name="grey" specular="1" shininess="0.5" reflectance="1" emission="0.1" rgba="0.5 0.5 0.5 1"/>
        <material name="blue" specular="1" shininess="0.5" reflectance="1" emission="0" rgba="0.678 0.847 0.902 1"/>
        <material name="black" specular="1" shininess="0.5" reflectance="1" emission="0" rgba="0.2 0.2 0.2 1"/>
    </asset>
      <visual>
    <rgba haze=".3 .3 .3 1"/>
  </visual>
    <worldbody>
      <light directional="true" diffuse=".4 .4 .4" specular="0.1 0.1 0.1" pos="0 0 5.0" dir="0 0 -1" castshadow="false"/>
      <light directional="true" diffuse=".6 .6 .6" specular="0.2 0.2 0.2" pos="0 0 4" dir="0 0 -1" castshadow="false"/>
      <geom name="ground" type="plane" size="0 0 1" pos="0 0 0" quat="1 0 0 0" material="grid" condim="6"/>

      <body name="uskin_body" pos="0 0 0">
        <geom name="uskin_frame" condim="6" mass="10" type="box" pos="0 0 0.005" size="0.02 0.02 0.005" rgba="0 0 0 0.4"/>

        <body name="uskin_11" pos="0 0 0">
          <geom name="uskin_11" condim="6" mass="10" type="box" pos="0.01 0.01 0.011" size="0.007 0.007 0.001" rgba="1 1 1 0.6"/>
        </body>

        <body name="uskin_12" pos="0 0 0">
          <geom name="uskin_12" condim="6" mass="10" type="box" pos="-0.01 0.01 0.011" size="0.007 0.007 0.001" rgba="1 1 1 0.6"/>
        </body>

        <body name="uskin_21" pos="0 0 0">
          <geom name="uskin_21" condim="6" mass="10" type="box" pos="0.01 -0.01 0.011" size="0.007 0.007 0.001" rgba="1 1 1 0.6"/>
        </body>

        <body name="uskin_22" pos="0 0 0">
          <geom name="uskin_22" condim="6" mass="0.001" type="box" pos="-0.01 -0.01 0.011" size="0.007 0.007 0.001" rgba="1 1 1 0.6"/>
          <site name="force_sensor" type="box" pos="-0.01 -0.01 0.011" size="0.007 0.007 0.001" rgba="0.2 0 0 0.5"/>
        </body>

        <body name="box" pos="0 0.0 0.011" euler="0 0 0">
          <geom name="object" mass="1" condim="6" type="box" pos="0 0 0.01" size="0.02 0.02 0.01" rgba="0 0.2 0 0.3"/>
        </body>

      </body>

      <body name="act" pos="0 -0.1 0.022" >
        <joint name="act" type="slide" damping="10" axis="0 1 0"/>
        <geom name="act" mass="2.5" condim="6" type="box" pos="0 0 0" size="0.005 0.01 0.005" rgba="0 0 0.7 0.3"/>
      </body>

    </worldbody>

    <actuator>
      <motor name="act" joint="act" ctrllimited="true" ctrlrange="0 10" />
    </actuator>

</mujoco>

Here is a screenshot / video, illustrating my question:

From what I can understand you want to detect collision among the geometries. Detecting collision simply means that there will be a contact force. If that's what you are looking for, try to read about contype and conaffinity or the other way to do the same thing can be by using
<connect>

to declare the collision detection among the geometries individually.

Also, look at touch sensors and the contactForce API function.


SDK Version Constraints

Just a quick note here. I see you have SDK Constraints set to 1.9 and up, however, You're also using null-aware operators in the source, which wasn't available until 1.12. You may wish to clamp down on the constraints as otherwise it'll cause some issues with anyone running anything from 1.9 - 1.11.x

Thanks for your feedback! Good point, I just pushed update to pubspec.yaml.


load work flow json please

Hi, do not be tired. Be the champ. Please register with Json. Thanks as soon as possible.
Your son is so beautiful and like you
A complete sample of a workflow back to the previous step
pleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleaseplease

I'm not sure what you are asking... is this a feature request to define workflows in JSON like this?
https://github.com/danielgerlag/workflow-core#json-workflow-definitions

Yes, that's exactly what I mean

I don't have any plans in the short term to implement that, but if someone in the community has the bandwidth to do so, I would be happy to merge it in.


GH-41730: [Java] Adding variadicBufferCounts to RecordBatch

Rationale for this change
This PR adds the variadicBufferCounts attribute to ArrowRecordBatch in Java module. Furthermore, it also updates the TypeLayout functions getTypeBufferCount and getTypeLayout functions along with the corresponding test cases. Previously these changes were listed as issues https://github.com/apache/arrow/issues/40934, https://github.com/apache/arrow/issues/40935 and https://github.com/apache/arrow/issues/40931. These two tickets will also be closed by this PR.
What changes are included in this PR?
The introduced two functions to TypeLayout is deprecating the old API and adds a new API. In this PR we are updating a few modules to use the new API.  Corresponding tests for the changed functions have also been added.
This also updates the usage of ArrowRecordBatch across other modules and TypeLayout usage across a few modules. Some modules were excluded as mentioned in the issues non-goals section to be completed in a follow up effort as the scope and required tasks remain at large.  These modules will still use the deprecated API for TypeLayouts, but documented in the code for updating to the new API in a follow up effort.
Closing Subtasks

[X] https://github.com/apache/arrow/issues/40934
[X] https://github.com/apache/arrow/issues/40935
[X] https://github.com/apache/arrow/issues/40931

Are these changes tested?
The changes are tested using existing tests and new tests
Are there any user-facing changes?
Yes
This PR includes breaking changes to public APIs.

GitHub Issue: #41730

@lidavidm to fully evaluate the change we have done here, the documented components needs to be further tested as mentioned here https://github.com/apache/arrow/issues/41729.
But I think we need to make more follow up PRs at least per module or better if we can go entity wise to make sure things are functional for StringView.

@github-actions crossbow submit -g java

@github-actions crossbow submit -g java

@github-actions crossbow submit -g java

Can we enable the integration tests now?

If you mean C data interface things, not yet, still need some work.


Multi-page

Thank you very much for contributing! :heart: Leave us any feedback, idea or issue -- we are trying hard to improve atom-editorconfig!
Involved .editorconfig-files
The current .editorconfig file does not permit opening of multiple pages in the atom editor. Pages are opened in different files and detatched fron one another. Please update the code to avoid this

Directory structure
Please replace this by the output of `tree -a .` or `tree . \f`

Installed packages
Please replace this by the output of `apm list`

I'm sorry, what do you mean by "multiple pages"? Can you elaborate?
Also, please tell me what version of editorconfig and Atom you're using.

Each time you open a new document, a separate UI detatched from the
previous one is created rather than opening it side by side
On Sun, May 19, 2019 at 9:15 PM John Gardner<EMAIL_ADDRESS>wrote:

I'm sorry, what do you mean by "multiple pages"? Can you elaborate?
Also, please tell me what version of editorconfig and Atom you're using.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sindresorhus/atom-editorconfig/issues/234?email_source=notifications&email_token=AKQ2DM5B4BTX2ED5JPD3I53PWGYPJA5CNFSM4HN5H7X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXJXGA#issuecomment-493788056,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKQ2DM2XWLQNFXIMV4E6GXLPWGYPJANCNFSM4HN5H7XQ
.

I'm still confused. Please take some screenshots (preferably before and after the incident occurs).

@hcbiz, if you're unsure how to take a screenshot, this site can help you.

No response from submitter; closing.


Remove IDE specific libraries

https://github.com/jdbc-json/jdbc-cb/tree/master/.idea/libraries should be removed. Best to included them in .gitignore.

Done as of 92abc4c.


Check of the credentials

It seems that whatever are the credentials (ident and password) on the UI, all are accepted, and change is only possible trough delete and  new integration. Regards.

Hello
I have implemented the password checks after the creation of the integration : currently there is no checks at UI level.
To change the password, as you said, you have to delete the integration.
I will see how to handle your request (wait a little as it does not prevent from using the integration)

Hello
I've implemented the credentials checking in UI in V3.5.0

Nice enhancement ! Thank you !
Le 08/01/2022 à 23:13, jugla a écrit :

Hello
I've implemented the credentials checking in UI in V3.5.0
—
Reply to this email directly, view it on GitHub
https://github.com/jugla/keyatome/issues/3#issuecomment-1008163432,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJAMNBO7Y46GM72PUQHKWPDUVCZJZANCNFSM5LQRVVBA.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks :-)


Specifying a scope for a module without setting the targetScope for the file should be picked up by linter

Is your feature request related to a problem? Please describe.
I've tried out using a module to add acrPull permissions to an ACR in a different subscription for my managed identify for the web app my bicep template is deploying (and hence set the scope to resourceGroup(myOtherSubscriptionId, myOtherResourceGroup)). However I didn't appreciate my bicep file would need to specify a targetScope of subscription and didn't add this line. The linter was happy but my deployment failed saying it couldn't find the resources (because it was executed in the parent scope).
Describe the solution you'd like
If you set a scope value on a module resource and is different to the file, the linter should check that you have read the docs and warn you that you need to set the targetScope :)

Can you share the full repro? I'm not sure I fully understand why you needed to set targetScope to subscription.


ladle doesn't recognize the base.scss styles

ladle doesn't recognize the base.scss styles
_label: bug

assignees: @aalmeida00

Description

   for some reason, the ladle its not been recognized by ladle, there is a configuration inside the ladle that resolve this problem.

Visual information

Bota eu ae


locations with obscured coordinates should have a generalized place guess equivalent

Right now, locations with obscured coordinates don't show a place guess on the observation list view of the website, instead they show "(Somewhere)" as if there were no geocoordinates at all.
obs list view:

obs detail view:

It would be great if the website instead calculated the smallest enclosing administrative area and showed that as the place guess. Something like "Malaysia (coordinates obscured)"

I like the idea of using the smallest place name enclosing the box for obscured coordinates. Related to #635 which also addresses how private coordinates appear in table view.

FYI, all the place guesses should be set, I just need to make sure the node API recognizes that. Uh, it might also be necessary to re-index all the obs. Ugh.

K, I think this is finally resolved, e.g. http://www.inaturalist.org/observations/soonchye?taxon_name=Tanaecia


CSRF tokens in multiple components on first cached request

Using CSRF tokens in multiple components on the first cached request can result in CSRF requests failing. This is because the Sprig components are loaded asynchronously, without a session cookie existing for the user, as reported in https://github.com/putyourlightson/craft-sprig/issues/201 and related to https://github.com/putyourlightson/craft-blitz/issues/329.
The current suggested workaround is to use a dummy init component that on page load will force a session cookie to be generated and will then refresh all other components on the page.
{# _components/init #}

{% if sprig.isRequest %}
    {{ csrfInput() }}

{% endif %}

{# Main page #}

{{ sprig('_components/init', {}, { 's-trigger': 'load' }) }}

{{ sprig('_components/form') }}
{{ sprig('_components/form') }}
{{ sprig('_components/form') }}

{{ sprig.script }}

This is a feature request for Sprig to add a convenience method for handling this use-case.

Added a sprig.triggerRefreshOnLoad template variable that triggers a refresh event on all components on page load.
Sample usage:
{{ sprig.triggerRefreshOnLoad() }}

{{ sprig('_components/form') }}
{{ sprig('_components/form') }}
{{ sprig('_components/form') }}

{{ sprig.script }}

@robzor you could help test by adding a putyourlightson/craft-sprig-core requirement in the main composer.json set to dev-develop as 2.3.0 and running composer update.

Amazing! Thank you so much Ben, I owe you many drinks next time I see you.
I will give this a go shortly, there is also a 'basket total' component and another 'added to cart' sprig component on the same page so for my needs I think the first workaround might be better as I can target which component I need to refresh?
Will let you know how I get on!

I didn't mention it above, but you can specify which components to refresh using CSS selectors. The default is .sprig-component, but you can customise this as follows.
{{ sprig.triggerRefreshOnLoad('.custom-component') }}

Do I need to still need to wrap the contents of the component in {{ if sprig.isRequest }}

Hi Ben,
Small error with the new template variable: This is the output of {{ sprig.triggerRefreshOnLoad('.sprig-product-add-to-cart') }} in my template
<div id="component-fvuaek" class="sprig-component" data-hx-target="this" data-hx-include="this" data-hx-trigger="load" data-hx-get="https://nameofmysite.test/index.php?p=actions/sprig-core/components/render" data-hx-vals="{"sprig:siteId":"856e610e0e8d299f995f2b638e00d564d46160b3d4e307fe185b20207007899e1","sprig:component":"2e929725b6834a00ca160a3cddbde23bf392a674aa38f590b8666f7e393020d7RefreshOnLoad","sprig:variables[selector]":"e5d6d216e9290d6ccd06671178253a5a47113d87f355840a580338ce3b5695ed.sprig-product-add-to-cart"}" s-trigger="load">

    ```

Is this working well for you @robzor? I'll likely be releasing it next week.

Hi @bencroker I've actually been using your original workaround as we had a site going live, so haven't had a chance to test the revised version since you updated it. Can I add multiple classes in the method? My current Sprig init template is this:
{% if sprig.isRequest %}
  {{ csrfInput() }}

{% endif %}

Weirdly, I am getting occasional 400 errors in that delivery estimate component but I can't replicate it so not sure how to fix it yet. I should have time to test the module tag on Monday.
Side note, when the new release comes out do I just remove the line sprig-core line from my composer.json and run composer update?

Can I add multiple classes in the method?

Yes, this should work.
{{ sprig.triggerRefreshOnLoad('.sprig-product-add-to-cart, .sprig-delivery-estimate-cache-refresh') }}

Side note, when the new release comes out do I just remove the line sprig-core line from my composer.json and run composer update?

Correct.

I felt bad that I hadn't tested it yet, so just tried it and got this:

Looks like a successful mission!

Excellent, thanks for the help testing!

Released in version 2.4.0.

@bencroker any chance of applying the same fix for Craft 3? 😇

Features are only added to new versions of the plugin, so you'll have to update to get it.

I understand. Too bad we can't update yet. Still waiting on the sprout forms plugin to add Craft 4 support.


[WIP] Rust and WebAssembly in 2019: A Call for Community Blog Posts

Hoping to publish this on December 6th, alongside the Rust 2018 edition release (woo!!) and https://github.com/rust-lang/blog.rust-lang.org/pull/292

FYI: Added a big section about reflections on 2018 and the goals we set for ourselves


Rethink the customRef annotation

customRef is confusing because it's actually used for registrations, not references.
Since what a customRef really does is building a dependency, let's call it builder and make it so it can be assigned with a static/global function name.
For example the following:
class ADependency {
  // weaver: anotherDependency = AnotherDependency
  // weaver: anotherDependency.customRef = true
}

extension ADependencyDependencyResolver {
  func anotherDependencyCustomRef() { ... }
}

will be replaced by:
class ADependency {
  // weaver: anotherDependency = AnotherDependency
  // weaver: anotherDependency.builder = AnotherDependency.make
}

class AnotherDependency {
  static func make(_ dependencies: AnotherDependencyInputDependencyResolver) -> AnotherDependency { ... }
}

Note how make is prefixed by AnotherDependency because it's a static method. The prefix wouldn't be necessary for a global function.

Done in #76


provide aur package

https://wiki.archlinux.org/index.php/Creating_packages
https://wiki.archlinux.org/index.php/Arch_User_Repository

Now available at https://aur.archlinux.org/packages/dirstalk/
Info added to the README in https://github.com/stefanoj3/dirstalk/pull/49


secureHealthCheckUrl fix issue-3655

fix  for #3655 issue

After a review and trying to polish I'm not sure this is all correct. What is the priority between secureport, port and management port?

I would say that each thing called securitySomething has more higher priority than just something) In this particular case it will be not obvious if security port will be overwritten y any other, but this is just my opinion

except if management port is defined, actuator is on that port. port and secure port only matter if management port isn't defined as far as the health check url is involved.

In my opinion that is not obvious behaviour. As a developer I would like to get some info about that during spring boot starting, even maybe I would expect to get an exception with some details

@epm-dev-priporov I'm unsure how to proceed. The management port has nothing to do with the secure port of the main context.


ALICE Viewer role getting 'in use' pop-up for all subjects

Expected Behavior
The Viewer role in ALICE (which maps to Tester role in the Project Builder) should be able to view all subjects in a project, without Editing privileges.
Actual Behavior / Bug
When logged in as a Viewer role in ALICE, all subjects are appearing as being locked (see screenshot below), even when the subject is not in use (see screenshot below):

d

Original PR for user roles: https://github.com/zooniverse/alice/pull/111

It looks like this is the action that checks whether a document is locked, but it’s not obvious why this would be checked for a read-only viewer, or why the username is blank for the person who has locked the document.
https://github.com/zooniverse/alice/blob/29163f67311da5ec1843ebbe526191f81457e86e/src/store/TranscriptionsStore.js#L108-L117

In fact, that code says the modal can’t open if lockedBy is empty. So that’s unexpected.

If I’m reading this correctly, checkIfLocked runs on visibility change, for any user. That could be where the bug is.
https://github.com/zooniverse/alice/blob/dae27c93cc397049ce10afa89d3cb7abddca76f5/src/screens/Editor/Editor.js#L43-L51

In this code, the value of lockedBy that’s checked is not then saved in the store. The value that’s shown in the modal is the stored value, so that seems to be a bug.

https://github.com/zooniverse/alice/blob/2f287eda190b96827806076e38acefc27b4fc706/src/store/TranscriptionsStore.spec.js#L366-L369
This test doesn't add a current transcription to the mocked store. So it's really testing that the locked document warning can appear while the store is empty. I don't know if that's directly related to this issue but the test passes, which points to a bug in store.transcriptions.current. Perhaps checkIfLocked runs while the page is loading?
Found while working on #333.


Keeping generated lines within bounds

In my homework project I am trying to get the lines that are generated and move across the screen to 'bounce' back and stay within the window rather than just running off the screen. I've pasted in the code below and the if statements are at the very bottom.
Any ideas why the lines still run off the screen?
/*jshint esversion: 6 */
let x1 = 0;
let y1 = 0;
function setup() {
createCanvas( windowWidth, 600 );
background(150, 225, 150);
for ( let i = 0; i < 10; i++) {
}
}
function draw() {
for ( let i = 0; i < 10; i++) {
//
frameRate(10);
drawLine();
moveLine();
}

}
function drawLine() {
strokeWeight(5);
stroke(random(255), random(255), random(255));
line(x1, y1, x1 + random(50), y1 + random(50));
}
function moveLine() {
x1 = x1 + random(5);
y1 = y1 + random(15);
}
// bounce lines back across screen
if (x1 > width || x1 < 0) {
x1 = x1 * -1;
}
if (y1 > height || y1 < 0) {
y1 = y1 * -1;
}

Try adding some constraints within your draw() function for x1 and y1. It'll look something like x1 = constrain(x1, [boundary 1], [boundary 2]). Worked for me on a previous project to keep everything in sight!

Hi @ReadReedRed. Thanks for the reply!
I moved the if statements and the constrains in to the draw loop and am closer but not all the way there. Now the lines start over from the top in a different spot and repeat. But I was hoping to get them to 'bounce' off the border. Not sure what I am missing.
Thanks again.


Add support for conditional variables. Fixes #13

I've added support for conditional variables using the syntax:
conditional :foo do
  variable :bar
end

This implements issue #13.

@eval @javierjulio What is the reason for not applying these changes?


[BUG] senml_json_parse(...) LOG_ARG

I noticed that the payload for write commands sent from Leshan do not have the terminator character at the end of the string, so to avoid memory overflow I had to change this line:
LOG_ARG("bufferLen: %d, buffer: \"%s\"", bufferLen, STR_NULL2EMPTY((char *)buffer));
to
LOG_ARG("bufferLen: %d, buffer: \"%.*s\"", bufferLen, bufferLen, STR_NULL2EMPTY((char *)buffer));

TIL: There is a .* specifier. Nice!
Do you know if this is (typically) supported on Embedded platforms? Wondering if using this solution would break the code e.g. for the use cases of @sbertin-telular.

I use .* frequently. I doubt there would be an issue for most embedded platforms. Floating point and wide characters are more likely to be issues than supplying a string length.

TIL: There is a .* specifier. Nice!
Do you know if this is (typically) supported on Embedded platforms? Wondering if using this solution would break the code e.g. for the use cases of @sbertin-telular.

I use .* frequently on my embedded platform (Quectel BG95) and it work without any issues.
But if this is your concern, then there might be other format specifiers that might not be supported by embedded platforms, for example in my case %f is not supported, but that is used by Wakaama (in observe.c and data.c)

I knew about %f being expensive, thus often missing or disabled. Good to know that .* is more common.
@parmi93 Any chance to get a PR from you for this? Alternatively, I can do it. Just let me know.

Pull request


ErrorException: Undefined property: stdClass::$status

Hi,
I use your API in my projet and got this Exception :
ErrorException: Undefined property: stdClass::$status
vendor\playsms\webservices\src\Playsms\Webservices.php:88
vendor\playsms\webservices\src\Playsms\Webservices.php:277
app\services\SMSWebServices.php:29

This is how i integrate your API :
public function sendmsg($to, $msg) {

		$ws = new Playsms\Webservices();
		$ws->url = $this->url;
		$ws->username = $this->username;
		$ws->password = $this->password;

		$ws->getToken();
		$ws->getData();

		if ($ws->getStatus()) {

			$ws->token = $ws->getData()->token;
			$ws->to = $to;
			$ws->msg = $msg;
			$ws->sendSms();

			return array(
					'status' => $ws->getStatus(),
					'return' => $ws->getData()
			);

		} else {
			return array(
					'status' => false,
					'return' => array (
										'errorCode' => $ws->getError(),
										'errorString' => $ws->getErrorString()
								)
					);
		}
	}

Thank's for your help
Landry

that was most likely because fetching $ws->url failed, thus content was empty


Since DIA-NN is not supported by conda, not the entire pipeline no

Description of the bug
We have a major bug @qinchunyuan @jpfeuffer since the DIA-NN message has been added for conda (which I think is great), now the entire pipeline do not work with conda. I guess nextflow doesn't know if the pipeline will go in that branch of the pipeline at the very beginning, then it fails. We need to find a solution.
Command used and terminal output
No response
Relevant files
No response
System information
No response

see also my comments in the release PR. I found that too

We probably should fail in the SDRF checking process if we find it is a DIA SDRF and conda was enabled.

See also https://nfcore.slack.com/archives/CE6SDBX2A/p1648043781319729
for some suggestions

#145


Refactor event delegation handler in stimulus controller

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1134

Relevant Lines:
1134

💛  - Coveralls


[WIP] First stab at crosscompilation to Scala Native

Long story short, I have managed to successfully crosscompile Scalameta to Scala Native.
~$ time metap **/*.semanticdb
Library.scala
-------------
...
real	0m0.433s
user	0m0.435s
sys	0m0.055s

~$ time semanticdb/metap/.native/target/scala-2.11/metap-out **/*.semanticdb
Library.scala
-------------
...
real	0m0.015s
user	0m0.007s
sys	0m0.006s

However, there are some caveats. First, there's a blocker bug in Scala Native that breaks our public API (https://github.com/scala-native/scala-native/issues/1155) - I haven't found a way to work around it. Second, there's a bunch of minor issues - all workaroundable. See the discussion below for details.

Very well! Thank you for the feedback, everyone. Let's wait for the Scala Native fix to land in a release, and then we'll reconvene 👋

Superseded by https://github.com/scalameta/scalameta/pull/1263.


add option to prevent sending state parameter

Thanks, I think we should avoid introducing a new config parameter and make require_state work properly: https://github.com/omniauth/omniauth_openid_connect/pull/181.
I'll close this in favor of that. Thanks!

Couldn't wish for a better solution, thank you.


New Repository Request

Type of repository request
Creation of a new repository
Requested name for the repository
openshift-migration-best-practices
Repository Description
best practices guide for migrating between OpenShift 3 and OpenShift 4
Admin Access
jameslabocki
apinnick
mwitzenm
Write Access
Name of the team(s) and/or user(s) that should have write access on the newly created repository.
Read Access
Name of the team(s) and/or user(s) that should have read access on the newly created repository.
Additional details
Thank you

Review request:
cc: @redhat-cop/container-cop-core

Repository created
https://github.com/redhat-cop/openshift-migration-best-practices


Update cloudinit-add-user.md

Added guidance for ed25519 public keys.

Closing for now.  Will reopen when ed25519 goes public preview mid-March.   Originally,  I thought Srijan Gupta was the appover.


Unable to retrieve custom metadata from tables in rust

Environment
Delta-rs version:
Binding:
Environment:

Cloud provider:
OS:
Other:

Bug
What happened:
AFAIK, there is no programmatic access to custom metadata written.
use std::sync::Arc;
use deltalake::{
    kernel::DataType as DeltaDataType,
    kernel::PrimitiveType,
    logstore::default_logstore, operations::create::CreateBuilder, protocol::SaveMode, storage::object_store::local::LocalFileSystem
};

use serde_json::json;
use url::Url;
#[tokio::main]
async fn main() {
    let path = tempfile::tempdir().unwrap();
    let path = path.into_path();

    let file_store = LocalFileSystem::new_with_prefix(path.clone()).unwrap();
    let log_store = default_logstore(
        Arc::new(file_store),
        &Url::from_file_path(path.clone()).unwrap(),
        &Default::default(),
    );

    let tbl = CreateBuilder::new()
        .with_log_store(log_store.clone())
        .with_save_mode(SaveMode::Overwrite)
        .with_metadata(vec![("my_custom_metadata".to_string(), json!({"key": "value"}))])
        .with_table_name("test")
        .with_column(
            "id",
            DeltaDataType::Primitive(PrimitiveType::Integer),
            true,
            None,
        );
    let tbl = tbl.await.unwrap();
    // how to get the metadata out of `tbl`?
}

How to get the metadata out of tbl?
DeltaTable.config does not have the app_metadata
DeltaTable.state.unwrap() does not have the app_metadata
DeltaTable::metadata() does not have the app_metadata
What you expected to happen:
Some way to retrieve the metadata
How to reproduce it:
See above
More details:
I can manually inspect the json file & it is getting written, but I have no way to retrieve it after it's been written.

take

After a bit of research, I think what you're looking for is DeltaTable::history()? It returns a Vec<CommitInfo>, which has the underlying metadata associated.

As @abhiaagarwal mentioned you need to fetch the commitInfo from history, also app metadata afaik is not preserved after checkpointing


probably fixed /votekut cmd

probably fixed /votekut cmd

Didn't even knew that we had such "Easter Egg" 😀 It's pretty stupid, because this command only play sound for a player who type this command.

Yesterday @f1madkiller complained that it's not working so I fixed it just for him :*


fix: second ue release uecontext without authetication

Hi @ss920386
Could you please help to review this PR?
Tks.

Hi @ianchen0119, @donald1218,
As requested, I have tested this PR with PacketRusher !
This PR seems to help, but a malicious gNodeB is now able to crash the AMF.
It can be reproduced by running the following commands:

./packetrusher multi-ue -n 1 --loop --tr 1000
Wait a few seconds then CTRL-C
./packetrusher multi-ue -n 1 --loop --tr 100

amf       | 2024-08-11T20:33:42.778544949Z [FATA][AMF][Ngap] panic: runtime error: invalid memory address or nil pointer dereference
amf       | goroutine 2659 [running]:
amf       | runtime/debug.Stack()
amf       |     /usr/local/go/src/runtime/debug/stack.go:24 +0x5e
amf       | github.com/free5gc/amf/internal/ngap/service.handleConnection.func1()
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/service/service.go:186 +0x45
amf       | panic({0xc7aa00?, 0x145a4f0?})
amf       |     /usr/local/go/src/runtime/panic.go:914 +0x21f
amf       | github.com/free5gc/amf/internal/context.(*RanUe).DetachAmfUe(...)
amf       |     /go/src/free5gc/NFs/amf/internal/context/ran_ue.go:95
amf       | github.com/free5gc/amf/internal/gmm/common.ClearHoldingRanUe(0xc00020a600?)
amf       |     /go/src/free5gc/NFs/amf/internal/gmm/common/user_profile.go:73 +0x12
amf       | github.com/free5gc/amf/internal/nas.HandleNAS(0xc0002c68c0, 0xc00061de60?, {0xc00072adc0, 0x33, 0x40}, 0xa0?)
amf       |     /go/src/free5gc/NFs/amf/internal/nas/handler.go:40 +0x22d
amf       | github.com/free5gc/amf/internal/ngap.handleUplinkNASTransportMain(0xc0002162a0?, 0xc0002c68c0, 0xc000011008?, 0x100?)
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/handler.go:120 +0x65
amf       | github.com/free5gc/amf/internal/ngap.handlerUplinkNASTransport(0xc0009e5580, 0xc0004b4fc0)
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/handler_generated.go:11251 +0x131f
amf       | github.com/free5gc/amf/internal/ngap.dispatchMain(0xc0009e5580, 0x5e?)
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/dispatcher_generated.go:112 +0x2cd
amf       | github.com/free5gc/amf/internal/ngap.Dispatch({0xf0aa30?, 0xc00049db50}, {0xc00091a000, 0x5e, 0x40000})
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/dispatcher.go:49 +0x1ff
amf       | github.com/free5gc/amf/internal/ngap/service.handleConnection(0xc00049db50, 0x40000, {0xe0c2e0?, 0xe0c2f0?, 0xe0c2e8?})
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/service/service.go:239 +0x3e4
amf       | created by github.com/free5gc/amf/internal/ngap/service.listenAndServe in goroutine 26
amf       |     /go/src/free5gc/NFs/amf/internal/ngap/service/service.go:160 +0x997

This won't fix the issue, but for reliability purposes, I would recommend adding some recover() when handling a connection to a gNodeB, as well as when handling messages as well, so a local panic does not make the whole AMF crashes.
If can be of any help, feel free to reach out !
Thanks and cheers,
Valentin

Hi @linouxis9 , thank you for helping with the testing. The reason AMF was panicking is that I didn’t check if RanUE was nil before detach. I’ve already fixed this issue.
Tks.


Allow additional attributes to be sent to New Relic

Add S3 Key to be sent to New relic; If a single s3 bucket is being used for ALB Logs  across SDLC environments, the key metadata can be helpful in differentiating the sources; For e.g <SDCL_ENV>/AWSLogs/
Add additional attributes to be appended to the payload; This can be used for filtering in New Relic; Teams use Standard tags to differentiate applications etc; Having only S3 Bucket is a deviation from how users query other log data. With this OS Environment variable, the standard tags could be added.

 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.Zayeem 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.

Hi @Zayeem, as I need to solve some conflicts I'll be cherry-picking your commits to a new branch to get them in master. Thanks a lot for your contribution!.
I'll close this PR when the new one was merged.


Object Color Finalization

Make sure these boxes are checked before submitting your issue - thank you!

[ ] If you need help, first ask for help on discord and sub-reddit first.
[ ] Please consider providing a dump file using b2World::Dump.

Finalized using clevr rgb values.


Seeking advice - is it ok to create a CompletionItem with a command that retriggers completion?

Hi.
In my language service, I have some completion items that re-trigger completion using an associated Command on the CompletionItem that is implemented by my extension.
https://github.com/tintoy/msbuild-project-tools-vscode/blob/a4288d06830b9563a87496ff5b3eee2e7fa6ab92/src/LanguageServer.Engine/CompletionProviders/ItemMetadataExpressionCompletion.cs#L288-L298
Completion can be 2-phase in this context; I provide a list of completions and, if one of a subset of those completions is selected, then I re-trigger completion to provide the second piece of required information.
The extension itself does 2 things:

Watches for certain 2-character combinations, and triggers completion if they are found (auto-closing pairs in the language configuration does not seem to reliably support a multi-character opening).
https://github.com/tintoy/msbuild-project-tools-vscode/blob/a4288d06830b9563a87496ff5b3eee2e7fa6ab92/src/extension/extension.ts#L327-L336
Implements a command to move the cursor and trigger completion.
https://github.com/tintoy/msbuild-project-tools-vscode/blob/master/src/extension/internal-commands.ts#L24-L37

It seems OK to me, but it does feel as if I'm working around the way this was intended to be used; I'd just like to confirm that it is not considered being a bad citizen, extension-wise (e.g. bad for performance, etc). This functionality is only enabled when using a custom language defined by my extension, not any of the built-in ones, if that makes any difference.

Yes and no. So, generally yes but you should use the command that does it. Unfortunately, this bug prevents you from do it right now... However, this is about retriggering completions and I believe you want to trigger completions after auto-completing/closing a certain sequence. For us that's OK, if that's also OK for your user everything is good ;-)

Cheers :)


Update stylings of error states

Description
Please explain the changes you made here.
Release notes
The title of the pull request will be used as the default release notes description. If more detail is needed to communicate to partners the scope of the PR's changes, use this release notes section.
Checklist
General
Read the full guidelines for PRs here

[ ] Added the correct label: < feature | enhancement | bug | under-development | dependencies | infrastructure | ignore-for-release | database >
[ ] Assigned to a specific person, civiform/developers, or a more specific round-robin list
[ ] Added an additional reviewer from outside your organization as FYI (if the primary reviewer is in the same organization as you)
[ ] Created unit and/or browser tests which fail without the change (if possible)
[ ] Performed manual testing (Chrome and Firefox if it includes front-end changes)
[ ] Extended the README / documentation, if necessary

Database evolutions
Read the guidelines here

[ ] Assigned two reviewers
[ ] Guarded against already existing resources using IF NOT EXISTS and IF EXISTS
[ ] Downs created to undo changes in Ups

User visible changes

[ ] Followed steps to internationalize new strings

[ ] Added context strings to new messages
[ ] Didn't use a message in applicant facing code that isn't translated yet (unless behind a flag)
[ ] Follow the workflow here

[ ] Wrote browser tests using the validateAccessibility method
[ ] Tested on mobile view. See mobile device mode
[ ] Manually tested at 200% size
[ ] Manually evaluated tab order

New Features

[ ] Add new FeatureFlag env vars to server/conf/helper/feature-flags.conf
[ ] Conditioned new functionality on a FeatureFlag
[ ] Wrote browser tests with the feature flag off and on, etc.

Instructions for manual testing
If instructions are needed for manual testing by reviewers, include them here.
Issue(s) this completes
Fixes #<issue_number>; Fixes #<issue_number>...

#7420  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @greg-hyde and the rest of your teammates on  Graphite

What is our guideline about when to use USWDS utilities vs when to use tailwind utilties?

I've been trying to use USWDS styles for Thymeleaf since we're using USWDS components and it provides some consistency there and a path towards theming, but for most classes we could honestly use tailwind or uswds or vanilla CSS and it wouldn't really make a difference


Add CensusAnalytics

backend and frontend failing 😮

Looks like the table below updates, but the total population numbers don't

@akegan horizontal sum!


Disable stash2slack on forks (global setting)

Hey guys,
First of all, thank you so much for this plugin, it's awesome & does exactly what we need!
However, we do have one small issue with it. It's not super critical priority since there is a workaround, but it would be very, very nice to have a simpler solution:

We currently have slack notifications enabled by default on all our repos (both pushes & PRs).
However, this leads us to see all the pushes that devs do on their own forks. We don't want to see that (I can't imagine why anyone would). Especially since devs don't have access to each other's forks.
The current workaround is to ask each developer to override the global/default settings on each of their current & future forks, in order to disable notifications from them. Or to not use the global/default settings, and instead enable notifications manually for each repo (which we have many of).

As you can imagine, this is far from a perfect solution. The best solution I can think of would be a global setting to enable/disable notifications on forks completely, or at least to automatically override the default settings on forks, with no notifications by default.
Let me know what you think!

+1

Alright, scheduling this to v1.7 (Sorry we are a bit busy now, but will do when we have a chance. Thanks for the ticket and for your patience - Daniel / Pragbits)

implemented in 1.7.0

This is working great, thanks guys!


Ability to hide/show markers and layer groups

The main use case is the increased speed when switching between layers containing multiple markers. I tried to construct a minimal test case to get some numbers. Using a set of 24 markers grouped with LayerGroup the times (mean from 6 repeats, measured using Firebug) are as follows:
== Adding ==

addLayer(), 375 ms
jQuery.addClass() grouped in a div, 2ms
jQuery.addClass() looped for individual img els, 17 ms

== Removing ==

removeLayer(), 9 ms
jQuery.addClass() grouped in a div, 2 ms
jQuery.addClass() looped for individual img els, 17 ms

Here addClass, adds .hide{display:none}. The individually looping elements does not include the shadow images.
Obviously this is a hacky test, and does not fully compare like with like, however, I think it demonstrates the performance difference. Also, the time for addLayer scales pretty linearly and I've seen times well over a second for larger groups.
From these times and the use case I have, I think wrapping each group of markers in a div, and exposing methods that hide and show that would be useful?

That would seem to fit with what we are experiencing in the performance we are getting in Cloud Made Web Maps API. When we use the .hide() call on a large array of markers (even in a loop) it is blazing fast, pretty much instant (I assume the old map is also hiding the div?).

I was probably the last person to request this. I don't think its worth it if it requires adding too much weight to the script.  If that is not the case however, it would be awesome.
If there is another efficient way to have to filters work on top of each other I'd like to know.  With one filter adding and removing the grouped layers is enough.  But for filtering on top of this, I think show, hide would be the easiest to process.
Would love to know any ideas that can accomplish this. I fear that creating these objects (sub grouped layers) for the subfilter may be heavy work for the processor.

I'd like to "upvote" this feature. I think the uses are widely applicable, and I am in need of this for our project as well.

+1 I need this

FYI, this is all solved when using the new custom pane management and creation. You can use css to easily hide/show the pane DOM elements. It will be available for v1.0.

@Jakobud I am using 0.8-dev, which appears to have some support for custom panes. However, the changelog isn't very specific on how to use this functionality. I have a FeatureGroup, which I am storing shapes in, and I would like to have that FeatureGroup live in a custom pane, instead of the overlay pane. I tried this:
var filterPane = map.createPane('filterPane');
var drawnItems = new L.FeatureGroup({pane: filterPane});
map.addLayer(drawnItems);

This does create the new filter pane, as I wanted it to, but then it adds the FeatureGroup to the overlay pane, and not the filter pane, as I specified.

This is because in the current 0.8-dev branch there was not yet support for adding vector elements to custom panes. They were still added to the overlay pane because the map only had a single renderer.
Several months ago I created a custom branch with support for vectors in custom panes. See this pull request here: #2786
It works really great and I am currently using this custom branch for a project without any issues. However @mourner wants the code refactored and changed up a bit because of I broke some backwards compatibility regarding plugins and some other stuff in the code. So take it with a grain of salt.

@Jakobud I implemented a solution using custom renderers. It's not as clean as it would be if I could just set the pane for the FeatureGroup and be done with it, but it does work. I would like to see your PR merged in, so we could do vector pane support out of the box. How goes the refactoring of it?

Eh I'm kind of in a holding pattern at the moment. I'm not sure how to do some of what @mourner is suggesting. Please feel free to look at yourself and contribute. The current PR is not going to make it in since he wants these changes.
Essentially my solution works like this:

Create new pane
Create layer and in the layer options, specify the custom pane
If it's a vector element, a new renderer will be added to the custom pane and used for the vector element

The solution @mourner would like to see:

Create new pane
Create new renderer and add it to a custom pane
Create new vector layer and instead of .addTo(map) do addTo(renderer)

I personally don't feel that's as straightforward but @mourner likes it so thats what I'm aiming for. My biggest confusion in the code is how to differentiate between a map and renderer object and whether or not I need to keep track of a list of renderers on the map object (just like how panes are kept track of). Also what happens when you want to remove the vector layer from the map? Do you do map.remove(vectorLayer) or renderer.remove(vectorLayer)? If its the later then a bunch of shared code will need to happen between and map and renderer I think... I dunno. I'm confused at this point. I'm not 100% familiar with the Leaflet source either. There aren't many comments so it's hard to tell exactly what certain things do.
Take a look in the PR comments and you can try to follow along. I could use some help if you have any ideas. Since you are using custom renderers for your solution maybe this would be right up your alley. Handling of custom panes is one of the primary items left to do before 1.0 is ready for release.

+1

fwiw +1
Can't wait for v1.0. Keep up the good work guys.

:+1:

Hello, I wonder if this solution work OK now for every case:
var filterPane = map.createPane('filterPane');
var drawnItems = new L.FeatureGroup({pane: filterPane});
map.addLayer(drawnItems);

Yes you can show/hide panes on-demand in 1.0. I've been meaning to put together a tutorial on it.

Hello, can you please show me how? I cannot make it work, since the FeatureGroup is not added to the Pane despite I use the 'pane' option. Is the code above correct?

+1

+1

+1

As i had a similar use case and thought it would be helpful to others i created a small plugin that adds hide and show methods to L.Layer and L.LayerGroup: leaflet-layervisibility

@phloose
Cool!
Have you added your plugin to plugins.md already?

Cool!
Have you added your plugin to plugins.md already?

Thanks! No not yet. Will do that later...

@johnd0e i am not really sure in which category my plugin fits in... I would think at most into Overlay Display > DataViz. What do you think?

May be https://leafletjs.com/plugins.html#markers--renderers


Add rccl install step for ROCm5.7 wheels

Adds a step to install a RCCL package built with RCCL PR 883 cherry-picked on top of ROCm5.7 RCCL.
Tested via:
release/1.10.1: http://rocm-ci.amd.com/view/Release-5.7/job/pytorch-pipeline-manylinux-wheels_rel-5.7/19/
release/1.13: http://rocm-ci.amd.com/view/Release-5.7/job/pytorch-pipeline-manylinux-wheels_rel-5.7/18/
release/2.0: http://rocm-ci.amd.com/view/Release-5.7/job/pytorch-pipeline-manylinux-wheels_rel-5.7/17/

QA confirmed wheels with above fix didn't exhibit any perf drops in Superbench.


Howdy not working on lockscreen on Fedora 38

Please describe the issue in as much detail as possible, including any errors and traces.
If your issue is a camera issue, be sure to also post the image generated by running sudo howdy snapshot.
I recently installed Fedora 38 workstation on my computer and wanted to enable facial recognition to authenticate. I configured howdy using the following tutorial : https://copr.fedorainfracloud.org/coprs/principis/howdy/
First thing that I don't really understand is that i don't have a pam.d/kde file. My computer seemed to be using gdm so i change gdm-password by adding the 2 first lines and know it look like that :
[maxime@laptop-hij2thu7 pam.d]$ cat gdm-password
auth     [success=done ignore=ignore default=bad] pam_selinux_permit.so
auth        sufficient    pam_python.so /lib64/security/howdy/pam.py
auth        substack      password-auth
auth        optional      pam_gnome_keyring.so
auth        include       postlogin
account     required      pam_nologin.so
account     include       password-auth
password    substack       password-auth
-password   optional       pam_gnome_keyring.so use_authtok
session     required      pam_selinux.so close
session     required      pam_loginuid.so
session     required      pam_selinux.so open
session     optional      pam_keyinit.so force revoke
session     required      pam_namespace.so
session     include       password-auth
session     optional      pam_gnome_keyring.so auto_start
session     include       postlogin
I didn't change the sudo file because i like to be typing my password in terminal but only wanted facial auth to unlock my computer. With the following configutation i got facial auth working on boot, but when i just lock my computer i got Unknown Error 1. I checked the log of my computer and got the 2 following error :
error 1:
ImportError: /home/maxime/.local/lib/python3.11/site-packages/_dlib_pybind11.cpython-311-x86_64-linux-gnu.so: failed to map segment from shared object
from _dlib_pybind11 import *
AVC avc:  denied  { execute } for  pid=4550 comm="python3" path="/home/maxime/.local/lib/python3.11/site-packages/_dlib_pybind11.cpython-311-x86_64-linux-gnu.so" dev="nvme0n1p3" ino=9242 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:gconf_home_t:s0 tclass=file permissive=0
error 2:
Deleting problem directory '/var/spool/abrt/Python3-2023-06-23-14:06:19-4550'
'post-create' on '/var/spool/abrt/Python3-2023-06-23-14:06:19-4550' exited with 1
Package 'howdy' isn't signed with proper key
I think my problem is more related to the first error that shows permission error. I also tried to setenforce 0 end with SELinux disable the facial work even when screen is locked. But since having SELinux disable is not a good practice i guess, i would prefer to fix this permission issue. In addition to that i added a howdy.te file as follow:
[maxime@laptop-hij2thu7 ~]$ cat howdy.te
module howdy 1.0;
require {
type lib_t;
type xdm_t;
type v4l_device_t;
type sysctl_vm_t;
class chr_file map;
class file { create getattr open read write };
class dir add_name;
}
#============= xdm_t ==============
allow xdm_t lib_t:dir add_name;
allow xdm_t lib_t:file { create write };
allow xdm_t sysctl_vm_t:file { getattr open read };
allow xdm_t v4l_device_t:chr_file map;
and did the following commands :
checkmodule -M -m -o howdy.mod howdy.te
semodule_package -o howdy.pp -m howdy.mod
semodule -i howdy.pp
I also changef various permission settings of directory. Thanks in advance for the help

I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): Fedora 38 Workstation
Howdy version (sudo howdy version):
Howdy 2.6.0

Update
I found how to fix my problem following the guide here : https://linuxreviews.org/Howdy/SELinux
I have a slightly different howdy.te file but the idea is the same:
[maxime@laptop-hij2thu7 ~]$ cat howdy.te
module howdy 1.0;
require {
type lib_t;
type xdm_t;
type v4l_device_t;
type sysctl_vm_t;
type gconf_home_t;
class chr_file map;
class file { execute create getattr open read write };
class dir add_name;
}
#============= xdm_t ==============
allow xdm_t lib_t:dir add_name;
allow xdm_t gconf_home_t:file execute;
allow xdm_t lib_t:file { create write };
allow xdm_t sysctl_vm_t:file { getattr open read };
allow xdm_t v4l_device_t:chr_file map;
hope it will help :)

Update
I found how to fix my problem following the guide here : https://linuxreviews.org/Howdy/SELinux
I have a slightly different howdy.te file but the idea is the same:
[maxime@laptop-hij2thu7 ~]$ cat howdy.te module howdy 1.0;
require { type lib_t; type xdm_t; type v4l_device_t; type sysctl_vm_t; type gconf_home_t; class chr_file map; class file { execute create getattr open read write }; class dir add_name; }
#============= xdm_t ============== allow xdm_t lib_t:dir add_name; allow xdm_t gconf_home_t:file execute; allow xdm_t lib_t:file { create write }; allow xdm_t sysctl_vm_t:file { getattr open read }; allow xdm_t v4l_device_t:chr_file map;
hope it will help :)

I can confirm it worked!
Using the code you provided, it did not work until I recompiled it. I recompiled it by doing:
checkmodule -M -m -o howdy.mod howdy.te
semodule_package -o howdy.pp -m howdy.mod
sudo semodule -i howdy.pp
hope it will help too :)

Answer by @maximerochat and @mavinii still working flawlessly on fedora 39 with the newest versions of Howdy. Thanks you guys!

Answer by @maximerochat and @mavinii still working flawlessly. Thanks guys!

Didn't help me sadly


PopupBox shows when is not focused.

Using latest packages from NuGet.

MaterialDesignColors    - 1.1.3
MaterialDesignThemes  - <IP_ADDRESS>3

duplicate of #504 and #723

The default for many of the style for PopupBox is MouseOverEager. This opens whenever the mouse hovers over it. You might also try changing the PopupMode property.


add mqtt-smarthome to readme, add authors, add config comment for base_topic

#6

Sorry, forgot about this one. Thanks ;)


Teams Page Updated

Fixes Issue
Fix Issue: #2013
Closes: #2013

Changes proposed

Screenshots

Note to reviewers

Summary by CodeRabbit

New Features

Introduced a stylish card component for displaying user profiles with social media links.
Enhanced the team component with a carousel to showcase contributors, including user roles and images.
Improved responsiveness and aesthetics of the contributor display with loading state management.

Bug Fixes

Optimized loading experience when fetching contributor data from the GitHub API.

once check code rabbit code


Store encoded String values

Stores the encoded String values as part of the toString representation of the EncodedValue in the StorableProperties.
As discussed in https://github.com/graphhopper/graphhopper/pull/2204#issuecomment-746513867

@karussell i'm afraid we have to drop the specialized StringEncodedValue.getVersion() implementation and revert back to the default getVersion() of UnsignedIntEncodedValue. Currently testing this approach for #2201 and my problem is that we can't compare the EncodedValue created from the configuration with the one saved in the StoreableProperties as the first one lacks the List of String values which causes a version mismatch.
Another problem is the simple String comparison in GraphHopperStorgage.loadExisting(). We would need to skip additional properties here:
https://github.com/graphhopper/graphhopper/blob/aa069d6d8ac7bb3744f4fda27095fa81eeace761/core/src/main/java/com/graphhopper/storage/GraphHopperStorage.java#L185-L196
I'm also a bit confused as we seem to handle EncodingManager creation from existing graphs differently for GraphHopper and GraphHopperManaged:
GraphHopper(non-managed): importOrLoad() -> load() -> EncodingManager.create(EncodedValueFactory, FlagEncoderFactory, String)
GraphHopperManaged: GraphHopper.init() -> GraphHopper.createEncodingManager()
We can't offer any safety checks for the non-managed usecase as we have no configuration to compare to but we should probably try to unify code paths here.

implementation and revert back to the default getVersion() of UnsignedIntEncodedValue

Can you describe why this is not possible?
What I also would find interesting is if we could say: hey please store the values, if they are in the following list, and if not store as "other" and if missing store as "missing".
Now another question for me is if we should we make strings behave like enums in custom models? Then we could write
something == MISSING in a condition and convert this internally to a string comparison with "missing" (we already do some index magic for strings) and if later the encoded value changes into an enum (or an enum into a string) the custom model is still the same and users won't notice.
Obviously this won't work for tags where case is important like name but our StringEncodedValues are not appropriate for that due to the many values anyway. (for that the StringIndex seems better)

implementation and revert back to the default getVersion() of UnsignedIntEncodedValue

Can you describe why this is not possible?

Currently we populate the values only while initially creating the graph. If we load an existing graph we don't have access to them anymore, so the StringEncodedValue is not really usable at the moment. If we add this persistence functionality we shouldn't break the detection of configuration mismatches which is handled here:
https://github.com/graphhopper/graphhopper/blob/aa069d6d8ac7bb3744f4fda27095fa81eeace761/core/src/main/java/com/graphhopper/storage/GraphHopperStorage.java#L241-L247
Basically we create an EncodingManager from our configuration(read: no knowledge about values) and compare it with the String representation of the EncodingManager used while importing. If we use the approach proposed in this PR we end up with a mismatch:
Graph:
country_area|version=-1739096844|bits=6|index=0|shift=9|store_both_directions=false|values=deu;aut;cze

Config:
country_area|version=-1837704844|bits=6|index=0|shift=9|store_both_directions=false|values=

One solution could be to move from String to Object comparison(e.g configEncodingManager.equals(graphEncodingManager)). But this would still fail without reverting the changes to getVersion() and equals() of the StringEncodedValue as we can only reliably compare their basic properties like bits.

What I also would find interesting is if we could say: hey please store the values, if they are in the following list, and if not store as "other" and if missing store as "missing".

Maybe we could add an additional filter? This wouldn't break the usecase of custom areas where we need to populate this List of the fly, as we could pass a filter which accepts all values.

Now another question for me is if we should we make strings behave like enums in custom models? Then we could write
something == MISSING in a condition and convert this internally to a string comparison with "missing" (we already do some index magic for strings) and if later the encoded value changes into an enum (or an enum into a string) the custom model is still the same and users won't notice.

A missing value should be represented as null which is already mapped to 0:
https://github.com/graphhopper/graphhopper/blob/2b47a7a5b6488a0934c6d8c5396747da12509e8d/core/src/main/java/com/graphhopper/routing/ev/StringEncodedValue.java#L52-L67
I think we could avoid String comparisons for missing values if we check for null instead.

Obviously this won't work for tags where case is important like name but our StringEncodedValues are not appropriate for that due to the many values anyway. (for that the StringIndex seems better)

The StringIndex looks like it's more geared towards being used a key-value store. I'm missing the ability to store multiple values for a single key. Something like this:
stringIndex.add(Collections.singletonMap(ev.getName(), ev.getValues()));


BREAKING CHANGE: DnsRecordSrv/DnsRecordSrvScoped: Re-implemented as class-based resource

Pull Request (PR) description
Implements a base class for all record types to use, simplifying what needs to be done to implement all record types and allows for the appropriate implementation of the ZoneScope property by placing it in a record subclass (i.e.: DnsRecordSrvScoped).
This Pull Request (PR) fixes the following issues

Fixes #149

Task list

[x] Added an entry to the change log under the Unreleased section of the
file CHANGELOG.md. Entry should say what was changed and how that
affects users (if applicable), and reference the issue being resolved
(if applicable).
[x] Resource documentation added/updated in README.md.
[x] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help. Does not use schema.mof file. Parameter Descriptions not updated in the README.md, as that has moved to the Wiki.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[x] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Community Testing Guidelines.
[x] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[x] New/changed code adheres to DSC Community Style Guidelines.

This change is

Awesome, looking forward to review this one! 😃  I see there are a lot of conflicts in files, can you rebase it when you have chance.
I will review as soon as I have time.

tests/Unit/Classes/DnsRecordBase.tests.ps1, line 125 at r3 (raw file):

                    }
                }
                $script:instanceDesiredState = [MockRecordDoesNotExist] @{

We should have a blank row before this row.

@Sudman1 most comment are just style comments. Again, awesome work. I will continue review when you pushed these changes.

However, I suggest a thorough review of the Sampler templates (or at least their file output) to keep folks from making the same changes every time they use said templates.

I haven't seen (reviewed) or used those templates in Sampler so did not know they did not follow DSC Community style guideline. I will add an issue to track that, if they can be changed to follow DSC Community style guideline. 🙂

I only have the tests left to review after this, but wait to review them until we resolved the current review comments. 🙂

Reviewable status: 32 of 41 files reviewed, 22 unresolved discussions (waiting on @Sudman1)

source/Classes/001.DnsRecordBase.ps1, line 132 at r3 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
@Sudman1 I added a PR in your fork here Sudman1#2 that should resolve this. Merge it if you want to use it. It also adds a few unit tests.

That's awesome! I'll take a look this evening when I'm able to get back onto my system.

I will review the last (test) files tomorrow.

I have review all files now. Just two comments left. 🙂 Awesome work on this! 😃

I create an issue for this. I wasn't expecting to see that current state and desired state to be equal in the integration test. I would have expected it to just report that the record is missing and not comparing the other properties. 🤔
VERBOSE: [fv-az59-142]: LCM:  [ Start  Test     ]  [[DnsRecordSrv]Integration_Test]
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] Calling GetResourceRecord() from the DnsRecordSrv class to get the object's current state.
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] Getting DNS record '_dummy._tcp' with target of 'dummy.contoso.com' (SRV) in zone 'srv.test' from 'localhost'.
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] A matching DNS resource record not found.
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] MATCH: Value (type 'System.String') for property 'SymbolicName' does match. Current state is 'dummy' and desired state is 'dummy'. (DRC0020)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] MATCH: Value (type 'System.UInt16') for property 'Weight' does match. Current state is '20' and desired state is '20'. (DRC0020)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] MATCH: Value (type 'System.String') for property 'DnsServer' does match. Current state is 'localhost' and desired state is 'localhost'. (DRC0020)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] MATCH: Value (type 'System.String') for property 'ZoneName' does match. Current state is 'srv.test' and desired state is 'srv.test'. (DRC0020)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] MATCH: Value (type 'System.UInt16') for property 'Port' does match. Current state is '33179' and desired state is '33179'. (DRC0020)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] MATCH: Value (type 'System.String') for property 'Target' does match. Current state is 'dummy.contoso.com' and desired state is 'dummy.contoso.com'. (DRC0020)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] NOTMATCH: Value (type 'Ensure') for property 'Ensure' does not match. Current state is 'Absent' and desired state is 'Present'. (DRC0021)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] MATCH: Value (type 'System.UInt16') for property 'Priority' does match. Current state is '10' and desired state is '10'. (DRC0020)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] MATCH: Value (type 'System.String') for property 'Protocol' does match. Current state is 'TCP' and desired state is 'TCP'. (DRC0020)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] Compare-DscParameterState result : Property 'Ensure' is in desired state 'False' . (DRC0026)
VERBOSE: [fv-az59-142]:                            [[DnsRecordSrv]Integration_Test] DNS record is NOT in the desired state.
VERBOSE: [fv-az59-142]: LCM:  [ End    Test     ]  [[DnsRecordSrv]Integration_Test]  in 0.5560 seconds.

@Sudman1 again, awesome work on this! Now the next one will go fast to review 😃


Next step in connecting libdispatch and foundation builds

If the foundation build script is invoked from build-script-impl
with libdispatch enabled then add includes and define to CFLAGS.
Add another case in which HAS_DISPATCH is set to 1 that will
be enabled by the CFLAGS set in build.py (staging while work in
progress).

I assume eventually this would just always be set, right?

I think once we get over the initial hump of getting things working it could make sense to enable dispatch by default for foundation.  Dispatch does currently drag in a dependency on libkqueue that is easily satisfiable on ubuntu 14 and ubuntu 15 via apt-get.  This may not be true on other Linux distros (at first glance I didn't find a libkqueue available via yum for CentOS or RHEL).

What are the corresponding swift repo commits for this?

Also i presume this is using the blocks runtime too? perhaps we should snippet out that portion of compilation as well in the build.py

The related pull requests are in swift https://github.com/apple/swift/pull/1212 and in libdispatch https://github.com/apple/swift-corelibs-libdispatch/pull/43.  It would be nice to apply them all at about the same time, but they are not really dependent on each other since building libdispatch is left disabled by default.
Note that, CFRunLoop won't compile against libdispatch on linux yet because the APIs are still using mach_ types.  We could try to get it all working at once, but I thought a series of smaller commits that leave things disabled would be easier to merge.  Should I try to do in a single step?

Based on mailing list discussion today, I made some minor adjustments on the libdispatch side and raised a new pull request there (https://github.com/apple/swift-corelibs-libdispatch/pull/49).  After that clears, I'll make any adjustments needed to this pull request.  So, please hold off on merging this for now.  Thanks!

No adjustments needed; the -I paths in this pull request are still valid (not impacted by https://github.com/apple/swift-corelibs-libdispatch/pull/49).  This could be merged.  We're going to need more changes in both dispatch (@seabaylea has https://github.com/apple/swift-corelibs-libdispatch/pull/46 which is being discussed) and  also in foundation depending on how libdisaptch-46 pans out before the C code will actually compile.


add GeeksforGeeks study platform to learn competive coding

Learn to code, Study for placement, Do competitive coding.

@imadbg01, it looks like your editor added some formatting. Can you, please roll it back. Thanks!