Add in extra contact examples

to give better coverage of features in contacts

@mcgoooo I think running the reformat_authored_json rake task will help with the CI status.


Turkish language support

This PR adds Turkish language support for Fluent Screen Recorder.

Hello, first of all thanks for spending time for translations. Anyway, I cannot merge it since it edits the final resw file instead of the xlif file. I have made a new file with all the required steps for adding a translation to the project. I'll wait for another pr following them.
https://github.com/MarcAnt01/Fluent-Screen-Recorder/blob/master/translations.md


[ENH] forward model with fixed orientations

Hi,
are there any plans to add the --fixed functionality for forward modeling to MNE-Python?
We are trying to migrate our processing pipeline to Python and it would be much simpler to be able to do all our steps within that framework.

You can simply use convert_forward_solution after computation.

Did not know that. Thanks for the tip !

Do you have time to make a PR to improve a tutorial? Also in make_forward_solution we could say in the Notes section that fixed is not necessary because you can just convert_forward_solution

Not sure I have the expertise to improve anything, but if I can figure out how to make a PR (GitHub newbie,), I can add to the relevant tutorials and to the make_forward_solution a line about using the convert_forward_solution to get fixed orientations.


Corrected Customer Portal Documentation Link in README files

Links for documentation in the README files pointing to the Customer Portal link were incorrect.
This PR is to correct them links to point to the correct location.

Hi @mmusaji , is it possible that you rebase your PR please?

@mmusaji ait sorry, the PRs should be done in some other repositories. Sorry. Directly on Fuse or fabric8 ones

I created a new PR on the correct repository: https://github.com/jboss-fuse/fuse/pull/327


[ENH] Update aggregate response body

Closes #171
Closes #192

Changes proposed in this pull request:

Session paths now provided as dictionaries
New boolean key records_protected added to indicate whether API is set up to return aggregate results

Checklist

[ ] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see https://neurobagel.org/contributing/pull_requests for more info)
[ ] PR links to GitHub issue with mention Closes #XXXX
[ ] Tests pass
[ ] Checks pass

For new features:

[ ] Tests have been added

For bug fixes:

[ ] There is at least one test that would fail under the original bug conditions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
406

Relevant Lines:
407

💛  - Coveralls


[Manage Settings] App Settings page

As any User I want to manage Application settings so that Application online with my preferences.
Description

Acceptance Criteria

User accesses the "App Settings" page from the "Settings" page (US #32).
Pushing at Dark Mode Switch button shall switch off (button is on the left side) or switch on (button is on the right side) dark mode of the screen.
Language settings are described in US #
Payment settings are described in US #
Help Center settings are described in US #

Epic link
Epic #64
Labels to be added
"User story" ("story"), Priority ("pri: ")
Tasks

[ ] sample task.

Implemented menu
Hidden, waiting for final requirements


Submit the Login form on pressing Enter in the Email field

Please make the Login form submittable by pressing Enter in the Email field.
Now I have to press "Tab" triple times to make the "Login" button active, and only then the "Enter" starts work well.
Also, I think it's better to make the "Email" field active by default, instead of the first "API Url" field, because in most cases only the Email should be entered there by user.

Changed the order in ce17426063f0cf04b9e28297745186f77ca40c65

Seems to be duplicate of #188. Same as that issue, this is fixed on the main branch now.


MLJ integration

Codecov Report
Base: 88.77% // Head: 87.84% // Decreases project coverage by -0.92% :warning:

Coverage data is based on head (5b42828) compared to base (3fd6ebd).
Patch coverage: 90.76% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
- Coverage   88.77%   87.84%   -0.93%
==========================================
  Files           5        6       +1
  Lines         285      329      +44
==========================================
+ Hits          253      289      +36
- Misses         32       40       +8

Impacted Files
Coverage Δ

src/MLJ.jl
86.66% <86.66%> (ø)

src/structs.jl
74.41% <89.47%> (+5.45%)
:arrow_up:

src/fit.jl
94.00% <100.00%> (ø)

src/loss.jl
93.80% <100.00%> (-1.77%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Markdown Preview window, rendered by remark-html

VS code supports markdown preview. Is it possible to replace the renderer of the preview with Remark html?

Hello, @Rokt33r,
IMO, no, because i don't see any API for try to update renderer of the preview. We can create your custom Markdown preview, but your will lose more features (from current implementation of Markdown preview).

Okay, I'll consider to make a new preview plugin. Losing some features(auto scrolling?) is quite minor problem for me.
Thanks for the fast reply. 😃 😃 😃

If you have free time, you can send PR ❤

I'll do gladly. 👍


Panel not working behind reverse proxy

Description
I am encountering an issue with the xyz panel in Grafana, specifically when it is running behind a reverse proxy. The panel remains black and displays an "Error in Plugin" message (or similar) after configuring the datasources.
Steps to Reproduce

Configure Grafana to run behind a reverse proxy.
Set the GF_SERVER_ROOT_URL environment variable for the base URL.
Setup the datasources in Grafana.
Observe the xyz panel displaying a black screen with an error message.

Expected Behavior
The panel should display data correctly, respecting the base URL set in Grafana.
Actual Behavior
Instead of displaying data, the panel shows a black screen with an error message, suggesting a plugin failure.
Console Error
The browser console reveals an issue with retrieving the dot.png resource. The path for this resource does not align with the base URL set in Grafana (via GF_SERVER_ROOT_URL).
Source Code Reference
The issue seems to originate from this line in the xyz-chart panel's code:
const circleTexture = useTexture('/public/plugins/grafana-xyzchart-panel/img/dot.png');

Source: PointCloud.tsx Line 24
Temporary Fix
I achieved a temporary fix by altering the path in the code, removing the leading slash. However, this might not be the most elegant solution, hence my decision to discuss this issue here rather than submitting a PR.
Additional Comments
Eagerly looking forward to future developments of this highly valuable and appreciated panel. Your help in resolving this issue would be greatly beneficial.

Hey @mschm, thank you for opening this issue! I am happy to see people enjoy the XYZ Chart! I think your solution is good and would actually suggest opening a PR with it.

Same for me and the error i am getting in frontend is:
An unexpected error happened
and in console
TypeError: Cannot read properties of undefined (reading 'state')


Theme file not in repo....

The theme file is missing...

Haha. Wild. I'll push it tonight. That's so weird I must have overwrote

Pushed


run connect    RuntimeError

I use  python Spyder run con=duckdb.connect()  then I restart kernel,I dont  con.close().
next time ,when I run  con=duckdb.connect() ,I get  RuntimeError.   two times,I used the same duckdb file...
someone know how to handle this error???

Could you please post a reproducible full example that demonstrates the issue? Thanks

My first intuition here is that you are trying to open multiple connections to the same database file. You can try to address this by connecting in read-only mode or using the cursor() method on an existing connection to open additional connections to the same running DB

yes,your intuition is right! I shutdown restart the spyder kernel,so I lost  the con.  I can't  run con.close(). I test read-only ,but failed.  when I restart spyder kernel,  the   con auto close like sqlite?????
Chinese：
我是用的python的Spyder编辑器，重启kernel的之间没有执行con.close()，导致了这个错误。感觉是数据库还被占用着，能不能像slqlite那样子，重启kernel时con会自动关闭。我测试了使用read-only，但是失败了。因为con已经丢失了，所以没法使用cursor()了
thanks！！

Did you possibly create the database with an older version of DuckDB?

yes  you are right ! I upgrade to 0.2.2,  It is normal .  ths!!!
是的，我更新到0.2.2,程序可以正常运行了，谢谢！


Error: Provider type mismatch

Provider Version
0.54.0 or 0.53.0
Terraform Version
1.3.6
Describe the bug
I randomly get following error
The local name "snowflake.sysadmin" in module.users
represents provider "hashicorp/snowflake", but "snowflake.sysadmin" in
module.users.module.user.module.test_grant
represents "snowflake-labs/snowflake".
Each provider has its own distinct configuration schema and provider types,
so this module's "snowflake.sysadmin" can be assigned only a configuration
for snowflake-labs/snowflake, which is not required by
module.users.module.user.module.test_grant.
Expected behavior
No such error should appear as the code just runs fine most of the time with no changes.

Hey @amit0904. Is this issue still present in the more recent versions of the provider?

Closing due to inactivity.


feat(falcon.testing): Testing infrastructure for Falcon Middleware

Added a new testing object - MiddlewareMock - for developers to use
for testing their implementations of Falcon Middleware objects. The
MiddlewareMock allows a developer to unit test the specific parts
of the middleware in a uniform, reliable manner without having to
rebuild all the required infrastructure to do for every test. Further
it maintains the built infrastructure to be able to allow a developer
to test the stages in successive order.
As part of this work, an instance of the MiddlewareMock object is
added to the falcon.testing.base.TestBase class so it is easily
available, and clearly distinguishable from the StartResponseMock

I'll add a fix for the code coverage. FYI - it passed tox locally. I wonder if there's a way to check it the same way as tox never really complained about code coverage...

Opened https://github.com/falconry/falcon/issues/837 to discuss the matter at large. If the change is too drastic from this, then I'll close this PR and do the work in another one.

I'm going to go ahead and close this PR for now while we work out how we want to proceed.


Add a minimal native text-to-speech interface

Minimal native OS text-to-speech interface for Windows, macOS and Linux.
This implementation is barebones and probably not sufficient for accessibility purpose.
I was using this code for placeholder messages, and I'm currently not intended to develop this any further.
Opening this PR as reference for future implementation, or just in case someone will find this code useful.
New methods:

OS.speak(String text) - asynchronous, messages are queried by TTS engine.
OS.tts_volume property, 0 - 100 range integer
OS.get_tts_voices() - voice/language enumeration, returns Array of Dictionaries: String "name"; String "language".
Language is platform specific (xx_XX codes on macOS, XX codes on Linux, LANGID hex codes on Windows).
Name is system internal identifier (com.apple.speech.XXX on macOS, language name on Linux, registry key path on Windows).
OS.set_tts_voice(String name) - voice selection, accepts name values returned by get_tts_voices.
To correctly read text, voice with matching language support should be selected, otherwise TTS will produce gibberish or nothing at all.

APIs used:

macOS: NSSpeechSynthesizer (AppKit framework)
Window: Microsoft Speech API (SAPI 5.3+)
Linux: Speech Dispatcher (libspeechd)

Demo:
TTS_Test.zip
Languages for preset texts in demo are: en, es, jp, ru
Related: #14011, #20683, #20254

Why do language names on Linux only work as two-character identifiers? I'm fairly sure that Linux supports the distinction between en-US and en-AU etc.

Why do language names on Linux only work as two-character identifiers? I'm fairly sure that Linux supports the distinction between en-US and en-AU etc.

Linux do support ISO 639 xx_XX codes for locales, but speech-dispatcher library only provide 2-letter codes (according to docs, some codes are 3-letter), and variant which is "a not-well defined string describing dialect etc." (quote from speech-dispatcher docs). Variant is none for most voices, and can be more specific than ISO code, like gb-scotland.
I have added variant on Linux, and conversion to ISO codes on Windows.

CC @ndarilek, @malcolmhoward

Interesting, why not do this as a plugin? I've had a tough time getting
accessibility PRs in, concerned this will have an even tougher time.
Either way, thanks for doing it! Looks pretty thorough.

Interesting, why not do this as a plugin?

I'll  re-release it gdnative module later.
Since I didn't notice libspeechd is licensed under GNU GPL and isn't compatible with Godot, I'm closing this. Windows and macOS code doesn't have any non system dependencies and is OK.

Ack, what a bummer. Maybe Mimic? https://github.com/MycroftAI/mimic/ They have a V2 that uses Wavenet, so it sounds better, though they're still refining the model so it's remote-only. 2-clause BSD.

libspeechd is licensed under GNU GPL

Actually I was wrong, Speech Dispatcher is GPL, but C interface library libspeechd is LGPL
https://github.com/brailcom/speechd/blob/master/src/api/c/libspeechd.c

As far as I know, we can't link to LGPL libraries unless they have a static linking exception (like libwebsockets).

FYI: same thing is available as GDNative module at https://github.com/bruvzg/godot_tts


Private headers shouldn't be installed

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).

We try to keep private headers in the src folder instead of include so they don't get installed.

Related to #29

PR is open https://github.com/ignitionrobotics/ign-fuel-tools/pull/109


remove unused columns

What's in this PR?
Cleanup of GHSA table.
Why
We have 2 columns that were added at the start of the project with incorrect casing: githubBaseUrl and githubClientId. They have since been replaced by gitHubBaseUrl and gitHubClientId. We need to remove these columns before we roll out to prod.
Added feature flags
Affected issues
None. Just doing this as a cleanup item that needs to be taken care of.
How has this been tested?
WIP
Whats Next?
n/a

Converted to draft because we currently can't deploy this in staging as it looks like the last several migrations never ran. Need to figure out how to resolve this issue first.


Error on vscode

I started to face this issue:
Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

... even with simple docs like
# Main

## node 1

- test
- test 2

Is there something I can try to fix/debug?
Thanks in advance!

We don't have a service worker in VSCode so this is definitely not something from the extension.
Can you provide a reproduction? I have no idea what the issue is.

Sorry... I tried both create a new doc (the previous one provided) or open an existing one and ran the Open as markmap, then got this error message.
I will remove other extensions and try again.

It is working again, not sure what happen

Heyy, I have this same issue. Would be cool if we could figure out why it's happening.


Build in Konflux and add e2e tests

Container images are now built in the public konflux instance and pushed to quay.io. Images will be pushed both on PRs, and pushes to main / development branches
E2E tests run on all built images as Konflux Integration Tests
E2E tests can also be run outside of konflux using pytest e2e-tests, though may need some tweaking to work on all openshift clusters
Github actions for building container images have been removed
Unit tests are still run with gitlab actions
Linting and unit test actions were split to run concurrently

/retest

I originally tested this against my own fork https://github.com/sfowl/rapidast/pull/3 but now builds seems to be failing due to some perm issues. Will fix.


ci/cache: Optimize per-job caching

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

there are some further potential optimizations here but on the basis that this is now a lot faster than current i think we should land


feat(app): add display sleep settings screen

Overview
Currently only the UI. The functionality will be add when we decide how to store data for settings.

Test Plan
The initial setting value is Never.
When tapping one of buttons, the selected button's background will be blue and font color will be white. The previous selected button's background will be gray and the font color will be black.

Changelog

add DisplaySleepSettings screen

Review requests

the name of the new config and its structure
create a const for 60 * 1000 * 60 * 24 * 7 in app (App/constants.ts), but seems that app-shell and app-shell-odd don't have a .ts file for constants. Is it okay to hard-code the value?

Risk assessment
low

[ ] merge edge into this PR when https://github.com/Opentrons/opentrons/pull/12098 is merged into edge

[ ] add react-use
[ ] add a new config
[ ] resolve conflicts

[ ] remove useEffect and add useIdle, custom hook

[ ] this branch needs to merge edge after https://github.com/Opentrons/opentrons/pull/12170 is merged into edge
#12170 adds configV14 so this PR will need to update the config version from v14 to v15


Fix macOS notifications

Hi,
This PR addresses a minor yet important issue regarding the macOS notification handler's bundle identifier. Previously, the identifier was the same as for Bitcoin's Core wallet, which could lead to collisions when both Bitcoin and DeepOnion clients were installed on the same machine. In such cases, notifications for new transactions would incorrectly display the Bitcoin icon instead of the DeepOnion icon.

The change involves renaming the identifier from org.bitcoinfoundation.Bitcoin-Qt to org.deeponion.DeepOnion-Qt. This modification ensures that notifications from the DeepOnion client display the correct icon, avoiding confusion for users who have both clients installed.

Best regards,
Harris

Thanks


Remove '123' as default fusionProjectId

Solves #743

All the tests passed locally and in the pipeline, so I rebased to have only one commit in this PR.


Shouldn't auto timestamp fields be nonnull and default to the current timestamp?

Shouldn't the default be to use useCurrent() and if there is some edge case where null timestamps are wanted, allow the use of nullableTimestamps() to achieve that? I think this is the expected behavior.

Nevermind.. searching the issues didn't bring anything back but a google search did. Still, I think it makes more sense to default to useCurrent() and put a note in the docs about if you're using an older version of MySQL you should use nullableTimestamps() instead...


Expose RocksDB transactions in mysten infra

This PR adds the ability to perform optimistic transactions on RocksDB in mysten wrapper lib. We do several workarounds  to overcome this limitation in Sui(maybe Narwhal too?) which are sub-optimal and limits performance severly. OptimisticTransactionDB has couple limitation which are not very hard (seemingly) to fix:

TxDB does not have support for getting memory stats but looking at rust-rocksdb it should be possible to submit a PR to add that feature.
Delete range is unsupported in transaction db but doing a code search, we don't use it anywhere anyways.

@sadhansood Thanks for doing this, there have definitely been times I've wished to be able to do this. Some comments/questions:

Can you explain which work-arounds you have in mind in Sui, and how you've determined how they limit performance? In my mind, the main enabler of performance in Sui is that the design does not require very many consistency guarantees in principle, so in fact we won't need transactions nor work-arounds for the lack thereof in the majority of cases.
The main exception is the lock database. Right now we overcome the lack of optimistic transactions there by making the lock service single threaded. Clearly that will limit performance at some point, but my question is if that is a bottleneck right now? And if so how severe? There are other options we could use to make the lockservice multithreaded, e.g. using a mutex table to prevent concurrent object read/writes.
I don't have a personal preference for one solution over the other, but if the motivation of this PR is performance, then I think we need to have some measurements (preferably in the form of benchmarks) to guide us here.

It would be very helpful to see example code showing how the new APIs would be used in practice. Re-implementing https://github.com/MystenLabs/sui/blob/main/crates/sui-storage/src/lock_service.rs#L233 as an example would be very illustrative.

I'm unclear (to me) from the diffs what isolation level this provides. In my opinion, it is critical that we expose serializable isolation by default - any weaker form will almost surely be misused. If we need weaker forms for performance in certain cases, that should be taken on a case-by-case basis.


Wrong word: "Proper Value" in  API Store Additional Property Table

Description:
Proper Value  Should be corrected as Property Value

Affected Product Version:
2.6.0
OS, DB, other environment details and versions:
Steps to reproduce:

Add some additional attributes to an API
Visit the API page in the Store and observe the additional property table

Developer testing record.


Workspace::new fails when workspace contains * in members on Windows

Problem
Hi!
I am using cargo-patch in the LLRT project (https://github.com/awslabs/llrt).
We wanted to use * in our workspace like:
[workspace]
resolver = "2"
members = ["modules/*", "libs/*", "llrt_core", "llrt_modules", "llrt"]

It works fine on macos and linux, but it looks like it fails on Windows. The error is:
  Error: failed to load manifest for workspace member `\\?\D:\a\llrt\llrt\modules\*`

  Caused by:
      0: failed to read `\\?\D:\a\llrt\llrt\modules\*\Cargo.toml`
      1: The filename, directory name, or volume label syntax is incorrect. (os error 123)

Here is the full stacktrace:
Stack backtrace:
     0: std::backtrace_rs::backtrace::dbghelp64::trace
               at /rustc/4392847410ddd67f6734dd9845f9742ff9e85c83\library/std\src\..\..\backtrace\src\backtrace\dbghelp64.rs:91
     1: std::backtrace_rs::backtrace::trace_unsynchronized
               at /rustc/4392847410ddd67f6734dd9845f9742ff9e85c83\library/std\src\..\..\backtrace\src\backtrace\mod.rs:66
     2: std::backtrace::Backtrace::create
               at /rustc/4392847410ddd67f6734dd9845f9742ff9e85c83\library/std\src\backtrace.rs:331
     3: std::backtrace::Backtrace::capture
               at /rustc/4392847410ddd67f6734dd9845f9742ff9e85c83\library/std\src\backtrace.rs:296
     4: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
     5: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
     6: cargo::core::workspace::Packages::get
     7: cargo::core::workspace::Workspace::find_members::{{closure}}
     8: cargo::core::workspace::Workspace::load_workspace_config
     9: cargo::core::workspace::Workspace::new
    10: <cargo_patch::PatchFailed as core::fmt::Display>::fmt
    11: cargo_patch::patch
    12: <core::option::Option<T> as core::iter::traits::collect::IntoIterator>::into_iter
    13: core::ops::function::FnOnce::call_once
    14: std::sys::backtrace::__rust_begin_short_backtrace
    15: std::rt::lang_start::{{closure}}
    16: std::rt::lang_start_internal::closure$1
               at /rustc/4392847410ddd67f6734dd9845f9742ff9e85c83\library/std\src\rt.rs:174
    17: std::panicking::try::do_call
               at /rustc/4392847410ddd67f6734dd9845f9742ff9e85c83\library/std\src\panicking.rs:557
    18: std::panicking::try
               at /rustc/4392847410ddd67f6734dd9845f9742ff9e85c83\library/std\src\panicking.rs:520
    19: std::panic::catch_unwind
               at /rustc/43928[474](https://github.com/awslabs/llrt/actions/runs/11466127105/job/31906174235?pr=640#step:11:475)10ddd67f6734dd9845f9742ff9e85c83\library/std\src\panic.rs:358
    20: std::rt::lang_start_internal
               at /rustc/4392847410ddd67f6734dd9845f9742ff9e85c83\library/std\src\rt.rs:174
    21: std::rt::lang_start
    22: main
    23: invoke_main
               at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
    24: __scrt_common_main_seh
               at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
    25: BaseThreadInitThunk
    26: RtlUserThreadStart

Steps

Be on windows
Clone https://github.com/caido/dependency-llrt/tree/ef-refactor-crates
cargo build -p llrt

Possible Solution(s)
No response
Notes
No response
Version
No response

See https://rust-lang.zulipchat.com/#narrow/channel/246057-t-cargo/topic/.60glob.60.20crate.20issue.
tl;dr: fundamentally in verbatim paths * is the name of the directory or file called * not a special character for glob. (Cargo doesn't verbatim paths well, though)
See also https://github.com/rust-lang/glob/issues/132.

While Cargo is not good with verbatim paths, this is kinda blocked on glob and other external tools.

Crates like https://crates.io/crates/dunce could help people work around this.


Troubles while compiling on linux

Hello, I tried to compile the lib on my ubuntu 17.04 by following step from readme, I got some errors:
After "cmake .." https://pastebin.com/uBxT278T
CMakeOutput - https://pastebin.com/5dtgPmbG
CMakeError - https://pastebin.com/5dza5CV8
Cmake version: 3.10.2
I'm sorry because some parts of logs may be in Polish, I hope I'll get help, it could be great if you would provide precompiled libs

Try to use normal language to that kind of things <3

You are missing the openssl library.
I believe they can be installed using the following
apt-get install libssl-dev

The cmake also has errors finding pthreads. That might not fix the issue

Maybe try install pthreads too . It should be already installed in Ubuntu though
apt-get install libpthread-stubs0-dev

I'm getting these errors while trying to install ssl https://pastebin.com/vXCHUfta
Also I had similar problem to install build-essentials
Ubuntu 17.04 xfce

apt-get update - https://pastebin.com/SAf6vNGt

It was my fault, that wasn't good idea to do it on 17.04


CFormCheck test failing

Operating system and version -> MacOS
Browser and version -> N/A
A reduced test case or suggested fix using CodePen or JS Bin

I'm attempting to test a CoreUI component and I'm unable to call findByLabelText on a CFormCheck. The line below
const checkbox = await screen.findByLabelText('Checkbox Label');
results in the error below:

Found a label with the text of: Dr. Treat Vet, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.

This error is originated by the CFormCheck component as it is not supplying an aria-label implicitly. There are simple examples linked in this issue: https://github.com/testing-library/dom-testing-library/issues/714

This is resolved by passing an id in to CFormCheck


Better app display size

Hello,
In french the dispay size of the app is too small :

I would be better with a size like this :

(And if i do it myself, the app does not remember the size when i close and reopen the app)

And "click to sort ascending" is always with "asset", better with "depth" imo. (like bepwap)

In french,
VOLUME SUR
24H
would be better like this :
VOLUME
SUR 24H

Better in version v0.1.0-alpha.1 :

But i still think, sorting by "depth" by default is better to see the BIG coins first than "asset" sorting.

https://streamable.com/isv03r

Last version solved the problem !


Cannot mock default and named exports together

Repro:
'../path/to/module': {      default: someDefaultMock,      named: someNamedMock },
This code works with just the default or named modules, however, using both in conjunction causes the default import to fail.
Temporary workaround:
Instead of only using export default on your current default module, export it as both a default and named export, eg named2. Then you can import all your modules as named modules and the imports will work:
'../path/to/module': {      named2: someDefaultMock,      named: someNamedMock },

Hey, thanks for this, I’ll take a look.


Dropdowns are not keyboard accessible

Bug Description
The Get Started, Community and More dropdowns are not keyboard accessible.
Steps to Reproduce
Steps to reproduce the behavior:
Scenario 1:-

Go to thenewboston
Click on Get Started or any other dropdown text.
Press Tab Key

Scenario2:-

Go to thenewboston
Press tab key until you are over any of the dropdown text, press enter/space and press tab key again.

Expected behavior
The list of items of dropdown should get focus
Actual behavior
The list items do not get focused
Screenshots/Recordings
Recording
OS and Browser

OS: [e.g. macOS]
Browser [e.g. Chrome, Firefox, Safari]

Additional context
Also multiple dropdowns can be opened at the same time using enter/space. This can be also be corrected in this same issue.

I went through this issue and made some research and caught hold of a function that might be of use. I was unsure of the implementation, so here's the code so far. Please check if it works.
`
const useKeyPress = function (targetKey: any) {  //Not sure where to use this function.
const [keyPressed, setKeyPressed] = useState(false);
function downHandler(key: any) {
if (key === targetKey) {
setKeyPressed(true);
}
}
const upHandler = (key: any) => {
if (key === targetKey) {
setKeyPressed(false);
}
};
React.useEffect(() => {
  window.addEventListener('keydown', downHandler);
  window.addEventListener('keyup', upHandler);
  return () => {
    window.removeEventListener('keydown', downHandler);
    window.removeEventListener('keyup', upHandler);
  };
});
return keyPressed;

};
`

Since this is still unsolved I'll give it a go.

Hi @lapstjup, im sorry not sure about the complex code others have suggested.
I just know how to use fake buttons(keyboard acessible) , by making use of tabindex=0.
If it dont work sorry, im too new to web dev.

Hey @mbdteam9 No need to be sorry for anything. You can always raise a PR for a fix you think can work and post review if we find it to be fit for inclusion, we will merge it 😄.

Greetings,
The dropdowns are accessible via the tab key, it is just that their styling doesn't change and hence, they appear to be non-accessible.
Trying opening the website and press tab two times followed by an enter press. The Get Started Dropdown will open up.
Regards
@SNikhill

Greetings,
The dropdowns are accessible via the tab key, it is just that their styling doesn't change and hence, they appear to be non-accessible.
Trying opening the website and press tab two times followed by an enter press. The Get Started Dropdown will open up.
Regards
@SNikhill

Not really since you cant navigate inside of them once they are open, hopefully i will make pr tonight or tommorow night.

Oh, I just saw the same. Well please, go ahead with the fix. :)


added parentNode padding to targetWidth calculation

In case the truncate text's parent has paddingLeft or paddingRight or both, truncate needs to consider that in targetWidth calculation.

Thanks for your PR, this one is addressing the same problem: https://github.com/One-com/react-truncate/pull/38.


⚠ ClamAV has degraded performance

In 1ac0fc8, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 99 ms

Resolved: ClamAV performance has improved in 256eb9b after 11 minutes.


Use cloud-init for Flatcar machines on AWS unconditionally

What this PR does / why we need it:
The current implementation (#1119) sets the provisioning utility for AWS Flatcar machines to cloud-init only if the OperatingSystemSpec is not provided. Users might set some of the OperatingSystemSpec fields, but don't set the provisioning utility, in which case the current implementation wouldn't default to cloud-init.
With the proposed implementation, AWS Flatcar machines would get the provisioning utility unconditionally defaulted to cloud-init.
Optional Release Note:
Use cloud-init for Flatcar machines on AWS unconditionally

/assign @kron4eg @moadqassem
/hold

/hold cancel


HDDS-2293. Create a new CONTRIBUTION.md for the new repository

What changes were proposed in this pull request?
Add a new CONTRIBUTION.md. It will be linked by github on the PR creation form.
https://github.com/apache/hadoop-ozone/community
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2293
How was this patch tested?
:eyes:

+1. LGTM.

Thank you all for reviews and @elek for the contribution.
Committed this to master.


Init Pass on  MaxSrcResolution for Issue 8

Working PR to discuss the defaults for Resolution vs using Dimension.

And thanks for your contribution! :)

MaxSrcDimension doesn't make much sense

I don't know VIPS internals but for some libraries, this does sense, because too tall or too wide images (for example 1x15000000) can have some overhead in processing and this could be used as a vulnerability.
I suggest setting the max resolution to some suitable value, like 15M and set the max dimension to a high, but realistic value like 16K or 32K.

Closed with https://github.com/DarthSim/imgproxy/commit/2940478ec9ef298129a6e6df1c58e688cd03c478


Password forgotten, files accessible and seed known

Background
I installed lnd (testnet) some time ago and forgot my password. I have access to the files and backed up my wallet seed. Is there a way to restore channel-states or should i just create a new wallet with the same seed?
environment

version of lnd: 0.4.2-beta commit=bc5bfeb479d5123ad3c9cfc8bf9636bb1535802e
which operating system (uname -a on *Nix): 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5
version of btcd, bitcoind, or other backend: Bitcoin Core Daemon version v0.16.3

At the moment, your off-chain funds cannot be recovered even with the seed. This will be possible with static channel backups, which we plan to include in our upcoming 0.5.1 release.
Considering this is testnet though, it'd be fine to lose the funds.

Closing as duplicate of #175


KBC-1825 fix data preview with numeric column type

Jira: https://keboola.atlassian.net/browse/KBC-1825
Main PR: https://github.com/keboola/connection/pull/3380
Before asking for review make sure that:

[x] New client method(s) has tests
[x] Apiary file is updated
[x] You declared if there is a BC break or not (will affect next release of a client)

Divno typy pridane diky :)


migrate Docker from elasticbeanstalk to elastic container service

neither CodeDepoly nor Elastic Container Service have full Cloudformation support yet, so this will need to be added to Patrick's awsome python script
go.py

this will also reduce CFN deploy time, as the bulky substack EB launches will no longer exist

Blocked by https://github.com/boto/boto/issues/3205:
try to connect with ecs and get:
In [1]: from boto.ec2containerservice import connect_to_region

In [2]: connect_to_region('us-east-1')
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-b2a245438a6c> in <module>()
----> 1 connect_to_region('us-east-1')

/Library/Python/2.7/site-packages/boto/ec2containerservice/__init__.pyc in connect_to_region(region_name, **kw_params)
     36
     37 def connect_to_region(region_name, **kw_params):
---> 38     for region in regions():
     39         if region.name == region_name:
     40             return region.connect(**kw_params)

/Library/Python/2.7/site-packages/boto/ec2containerservice/__init__.pyc in regions()
     31     :return: A list of :class:`boto.regioninfo.RegionInfo`
     32     """
---> 33     from boto.ec2containerservice import EC2ContainerServiceConnection
     34     return get_regions('', connection_cls=EC2ContainerServiceConnection)
     35

ImportError: cannot import name EC2ContainerServiceConnection

Fix is given in issue, but shouldn't have to modify 3rd party libraries. Will keep an eye on this for a patch/new version.

we could rewrite demo in other aws supported sdk:
(ruby, java, node, and go)
otherwise, for now, we can just shell exec the aws cli, until python boto fixed.

CFN now supports ECS for Docker: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-ecs.html

This has been completed.  Everything is in 'cloudformation.ecs.json'.  A few changes to get things working.  The application inside of Docker is now a static webpage with Stelligent branding hosted by Apache.  The docker image gets created at deployment time and added to the local registry which ECS pulls it from.  This differs from what is in the documentation; which will get updated.


Avoid deprecation warnings in tests

Move time.min/max to ticks
Remove time.format from defaults & test
Supply parser when using incomplete date strings

Indentation fixed.


Error installing dvxplorer_ros_driver

Hello!
I am having an issue with installing the dvxplorer_ros_driver package. I followed the steps on the repo but my system returns the following error:
CMakeFiles/dvxplorer_ros_driver.dir/src/driver.cpp.o: In function `dvxplorer_ros_driver::DvxplorerRosDriver::caerConnect()':
driver.cpp:(.text+0x1741): undefined reference to `caerDVXplorerInfoGet'
collect2: error: ld returned 1 exit status

 libcaer_dev is installed on my computer. I checked the /usr/include/libcaer/devices/dvxplorer.h and there is the definition structure caerDVXplorerInfoGet in line 688.  Any guess about how to solve this issue? I am using Ubuntu 18.04
Thanks!
Ps: I have installed both dvs_ros_driver and davis_ros_driver successfully without any error.

The issue was solved by modifying the CMakeList.txt file (issue #120)  adding the following line:
set(libcaer_DIR "/usr/lib/x86_64-linux-gnu/cmake/libcaer/")
just before
find_package(libcaer REQUIRED)
Ps: Check first that the Config files are in that location.

Hello again,
Although I was able to compile the package, I am having issues running the dvxplorer_ros_driver node. I am having the following error:
/USER/catkin_ws/devel/lib/dvxplorer_ros_driver/dvxplorer_ros_driver: symbol lookup error: /USER/catkin_ws/devel/lib/dvxplorer_ros_driver/dvxplorer_ros_driver: undefined symbol: caerDVXplorerInfoGet
[dvxplorer/dvxplorer_ros_driver-1] process has died [pid 3025, exit code 127, cmd /USER/catkin_ws/devel/lib/dvxplorer_ros_driver/dvxplorer_ros_driver __name:=dvxplorer_ros_driver __log:=/USER/.ros/log/759cd902-94b7-11ec-ab7e-54bf6401abc3/dvxplorer-dvxplorer_ros_driver-1.log].
log file: /USER/.ros/log/759cd902-94b7-11ec-ab7e-54bf6401abc3/dvxplorer-dvxplorer_ros_driver-1*.log
all processes on machine have died, roslaunch will exit

Seems like the problem is always related to the "caerDVXplorerInfoGet". Any suggestions to solve this issue?
I am using Ubuntu 18.04, ROS melodic, and libcaer 3.3.12-1 bionic
Thanks!

Hello again,
Although I was able to compile the package, I am having issues running the dvxplorer_ros_driver node. I am having the following error:
/USER/catkin_ws/devel/lib/dvxplorer_ros_driver/dvxplorer_ros_driver: symbol lookup error: /USER/catkin_ws/devel/lib/dvxplorer_ros_driver/dvxplorer_ros_driver: undefined symbol: caerDVXplorerInfoGet
[dvxplorer/dvxplorer_ros_driver-1] process has died [pid 3025, exit code 127, cmd /USER/catkin_ws/devel/lib/dvxplorer_ros_driver/dvxplorer_ros_driver __name:=dvxplorer_ros_driver __log:=/USER/.ros/log/759cd902-94b7-11ec-ab7e-54bf6401abc3/dvxplorer-dvxplorer_ros_driver-1.log].
log file: /USER/.ros/log/759cd902-94b7-11ec-ab7e-54bf6401abc3/dvxplorer-dvxplorer_ros_driver-1*.log
all processes on machine have died, roslaunch will exit

Seems like the problem is always related to the "caerDVXplorerInfoGet". Any suggestions to solve this issue?
I am using Ubuntu 18.04, ROS melodic, and libcaer 3.3.12-1 bionic
Thanks!


Registry changes for program and section data.

Description
Fixes #223
This PR contains the following changes:

Add ebpf store APIs to populate program, section and global helper data in registry
Extension driver change to use the store API.
Replace encode_program_info with export_program_info which can be used to populate static info for test purpose.
User mode change to read the ebpf store.
Remove hard coded program, attach and section info from user mode code.

Testing

Added new tests for the updated / new added APIs
Existing tests test the ebpf store related code.

Documentation
NA

Filed https://github.com/vbpf/ebpf-verifier/pull/373 to fix issue hit in test failure https://github.com/microsoft/ebpf-for-windows/runs/7140699801?check_suite_focus=true


Cleaning up crypter initialization

Cleaning up crypter initialization so that the crypter classes are created upon controller/server/minion startup.
Changed the way crypter is initialized in segment upload accordingly
Configs will be prefixed with crypter.class.${CRYPTER_CLASS_NAME}, and each crypter will call init with the subset of configs from the ${CRYPTER_CLASS_NAME}
Added unit test for custom crypter

Codecov Report

Merging #3369 into master will decrease coverage by 0.05%.
The diff coverage is 81.57%.

@@             Coverage Diff              @@
##             master    #3369      +/-   ##
============================================
- Coverage     70.82%   70.76%   -0.06%
  Complexity        4        4
============================================
  Files           987      987
  Lines         45423    45453      +30
  Branches       6089     6093       +4
============================================
- Hits          32171    32167       -4
- Misses        11134    11164      +30
- Partials       2118     2122       +4

Impacted Files
Coverage Δ
Complexity Δ

...m/linkedin/pinot/common/utils/CommonConstants.java
33.92% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../java/com/linkedin/pinot/minion/MinionStarter.java
85.52% <100%> (+0.8%)
0 <0> (ø)
:arrow_down:

.../server/starter/helix/SegmentFetcherAndLoader.java
64.76% <100%> (+0.68%)
0 <0> (ø)
:arrow_down:

...i/resources/PinotSegmentUploadRestletResource.java
65.84% <100%> (-0.17%)
0 <0> (ø)

...m/linkedin/pinot/controller/ControllerStarter.java
62.9% <66.66%> (+0.12%)
0 <0> (ø)
:arrow_down:

...linkedin/pinot/core/crypt/PinotCrypterFactory.java
75% <80%> (-2.78%)
0 <0> (ø)

...core/operator/dociditerators/AndDocIdIterator.java
51.72% <0%> (-31.04%)
0% <0%> (ø)

...in/pinot/core/query/pruner/ValidSegmentPruner.java
57.14% <0%> (-28.58%)
0% <0%> (ø)

...egation/function/customobject/MinMaxRangePair.java
75.86% <0%> (-24.14%)
0% <0%> (ø)

...om/linkedin/pinot/core/crypt/NoOpPinotCrypter.java
60% <0%> (-20%)
0% <0%> (ø)

... and 26 more

Continue to review full report at Codecov.

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


process is not defined

Issue subject
Having an issue of Uncaught ReferenceError: process is not defined and pointing to utils.js line 65
Steps to reproduce

npm init vite@latest and create project using vue
npm install @binance/connector
use the package at main.js or anywhere (it will throw and error)

Environment
Provide any relevant information about your setup, such as:

"@binance/connector": "^1.4.0",
v15.3.0
Windows 11

Hi. This is a known issue in Vue. Please check the project setting.
For more info:

node.js process: https://nodejs.org/dist/latest-v14.x/docs/api/process.html#process_process
node.js console: https://nodejs.org/dist/latest-v14.x/docs/api/console.html#console_console
no-console rule: https://eslint.org/docs/rules/no-console

@ishuen - thanks
I hope you will support native esm in the future for now will fork this repo.


Show some equivalent list comprehensions in filter examples

I'm willing to write a pull-request for this, but I just want to see what people think before I write it.
So the issue is this.
I'm very familiar with python.
I'm new to Jinja2.
Often I find myself with complex data structures in my Ansible playbook (e.g. list of dicts with a list inside that), and I want to do some basic filtering, mapping etc.
I think

I could do this in one line in python. I'm sure it's possible in Jinja, but I just can't figure out how.

Looking up how map, selectattr etc work, then playing around with trial and errors takes a long time, especially when you're combining them.
So what if we had a "quick start" page, or another FAQ answer, which just listed a few list comprehension statements in python, and their equivalent in Jinja?
How do people feel about that?
(Feel free to correct my draft, or propose new examples.)
Draft
List Comprehension with a filter or getting the attribute
In python
data = [
    {
        'c': 'A',
        'x': 1
    },
    {
        'c': 'B',
        'x': 2
    },
    {
        'c': 'C',
        'x': 1
    },
    {
        'c': 'D',
        'x': 1
    }
]

# filter out all elements not with x > 5
a = [el for el in data if el['x'] > 5]

# get all the 'c' attributes as a list
b = [el['c'] for el in data]

# get all the 'c' attributes for the elements with x > 5
c = [el['c'] for el in data if el['x'] > 5]

In Jinja2:
a: {{ data | selectattr('x', 'gt', 5) | list }}
b: {{ data | map(attribute='c') | list }}
c: {{ data | selectattr('x', 'gt', 5) | map(attribute='c') | list }}

Reversing
In python
x = [1, 2, 3]
y = x[::-1]

In Ansible
y: {{ x | reverse }}

Json and Yaml
In python:
import json
d = {'a':'b'}
s = json.dumps(d)
x = json.loads(s)

In Jinja2, to convert to json, just print as string.
{{ d }}

To convert to yaml use
{{ d | to_yaml }}

In Jinja2, to load from json, just use
{{ d | from_json }}

In Jinja2, to load from yaml, use
{{ d | from_yaml }}

Load from file
In python
with open('file.txt', 'r') as f:
  s = f.read()

In Jinja2:
{{ lookup('file', 'file.txt') }}

To read a yaml file into a variable, use
x: {{ lookup('file', 'file.yaml') | from_yaml }}

Most of the filters you mention are provided by Ansible, not Jinja. I'd be willing to see some "equivalent to this comprehension" examples in the docs for some of the common filters.

Which filters are the standard ones?
Are the list/dict manipulation ones standard, the file file operation ones Ansible?

https://jinja.palletsprojects.com/en/2.10.x/templates/#builtin-filters


Create a doc on the Gradle Plugin

Our Rewrite Maven Plugin describes the basic usage and concepts related to using our Maven plugin. We need a similar guide for the Gradle plugin.

Done here
https://docs.openrewrite.org/getting-started/rewrite-gradle-plugin

Done here
https://docs.openrewrite.org/getting-started/rewrite-gradle-plugin


rework to solve unforseen errors

@scoopex i think the repositories should be adjusted to default to main branches.

@scoopex i think the repositories should be adjusted to default to main branches.

I also thought about that, but:
They are just clones of other repositories, therefore i dropped that idea.

@scoopex i think the repositories should be adjusted to default to main branches.

I also thought about that, but:
They are just clones of other repositories, therefore i dropped that idea.

ah, thanks! didn't check that.


Update scenarios.yaml

Updated values for the nightly tests

Required: write a single sentence here describing the changes made by this PR.

How to review
Required: describe specific things that reviewer(s) need to do to, in order
to ensure that the PR does what it intends.

PR checklist

[ ] Add or expand tests.

[ ] Add, expand, or update documentation.

[ ] Update release notes.
<!-- Add a single line at the top of the “Next release” section of
     RELEASE_NOTES.rst, where '999' is the GitHub pull request number:
<ul>
:pull:999: Title or single-sentence description from above.
-->

btw, all the test are failing in the pull request due to some issues with the xlrd package

Thanks @MiguelPobleteCazenave. I will:

Add more text to docs/source/contributing.rst that describing when and how to run these checks / update this file.
Push a temporary commit to force these tests to run just once, to ensure the updated values work on GitHub Actions, then force-push the branch to remove it.

Meanwhile, could you please complete the PR description?

Remove the texts starting “Required:.”—these are only templates/prompts to the PR author (you).
For the checklist, per the comments, you can use strike-through like this:

~Add or expand tests.~ N/A, only updating

btw, all the tests are failing in the pull request (and everywhere else) due to some issues with the xlrd package

This was iiasa/ixmp#388, fixed by iiasa/ixmp#389.

So the commit labelled “Temporarily force 'nightly' CI jobs to check previous commit” changed .github/workflows/nightly.yaml from:
on:
  # Uncomment these two lines for debugging, but leave them commented on the
  # master branch
  # pull_request:
  #   branches: [ master ]

to:
on:
  # Uncomment these two lines for debugging, but leave them commented on the
  # master branch
  pull_request:
    branches: [ master ]

This caused this job to run immediately. Both of the 2 tests pass, confirming that the change to scenarios.yaml will work when the job runs nightly.
Next I'll edit the branch to remove this commit, and force-push. The link above to the successful job will continue to work, even though the commit will disappear from the branch. Another option would be to add a second commit re-commenting those lines, but the first way keeps a cleaner commit history.


0.5.0 ready to release!

We are happy to release version of 0.5.0 with many huge new features. Cheers!

Codecov Report

Merging #242 into master will increase coverage by 14.51%.
The diff coverage is 69.75%.

@@             Coverage Diff             @@
##           master     #242       +/-   ##
===========================================
+ Coverage   62.55%   77.07%   +14.51%
===========================================
  Files         111       84       -27
  Lines       10442    10041      -401
===========================================
+ Hits         6532     7739     +1207
+ Misses       3910     2302     -1608

Impacted Files
Coverage Δ

fastNLP/modules/encoder/attention.py
75.67% <ø> (+19.53%)
:arrow_up:

fastNLP/io/pipe/summarization.py
86.95% <ø> (ø)

fastNLP/io/utils.py
80% <ø> (+71.48%)
:arrow_up:

fastNLP/models/cnn_text_classification.py
100% <ø> (ø)
:arrow_up:

fastNLP/io/pipe/qa.py
98.46% <ø> (ø)

fastNLP/modules/utils.py
85.54% <ø> (+39.38%)
:arrow_up:

fastNLP/modules/encoder/_elmo.py
86.48% <ø> (+76.07%)
:arrow_up:

fastNLP/io/pipe/matching.py
91.36% <ø> (ø)

fastNLP/io/pipe/cws.py
85.82% <ø> (ø)

fastNLP/models/base_model.py
88.88% <ø> (+0.65%)
:arrow_up:

... and 172 more

Continue to review full report at Codecov.

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


Hello, long time to say hello_my free customer reported he cannot receive notification any more after one day.

You might remember me in CodePlex as a Korean programmer(Kay Lee) with non-software related major.
In these days, Winter Olympic 2018 PyeongChang, Korea is taking place and hope your country's excellent achievements !
One of my free customer reported that suddenly, without any error message, he cannot receive notification any more from a few days ago after 2 other applications were updated as he remembers.
As you might know, it's very difficult to ask informations to some customers.
With very limited information like there was no error message, I assume the local SQL server was shut downed abnormally and some dependency objects were not removed automatically and interfering normal notification.
What I'd like to know are,

When dependency objects are abnormally existing after abnormal shut down, (after turning off the computer(SQL server) and turning on at next day), what if SQLTableDependency is started and terminated normally? the previous, abnormally existing dependency objects will be removed automatically together?
(My customers turn on and off their computer(SQL server) everday.)

Do the dependency objects have unique fingerprint in their name so that I can remove exact dependency objects only, not other objects by other applications?
Kind let me know the unique fingerprint if exists,
or I do appreciate if you provide the SQL code to remove dependency objects so that I can remove previously existing dependency objects for sure before customers start my application.
(Please kindly understand again that I'm a low level programmer with non-software related major.)
We're just finishing Lunar New Year Holidays and I'll try my best to communicate with the customer and check with various indirect ways like another SQL table and so on.
Sorry, I'm always too talkative, eager to solve my problem but sure it's very easy to answer.
(Many of my customers are still using SQL 2005, 2008, therefore, I must stay with old version of SQLTableDependency like 5.x.x.x)
(and my customers don't know about programming, software, SQL)
Always thank you so much for your excellent SQLTableDependency !
Sincerely,
Kay Lee.

Does the SERVER hosting SqlTabledependency go to SLEEP mode?

Hello, As I know, their server never go to SLEEP mode.
I've double-checked with another user and been confirmed the data-saving table is changed to another table. Now, everything is working fine :)
Because my application is sub-application, it has a destiny which must know how the Main Applications work.
Always my best appreciation to excellent SqlTableDependency !

Thanks,
So, as your wrote "Now, everything is working fine :)" i will close the BUG.
Have a nice day!


Support Devices and Areas

This is amazing, thankyou! Much better than flashing firmware.
I have this successfully set up, and can control my Sonoff S31 smartplugs from Home Assistant.
But I can not figure out how to add these devices to a "Room" within Home Assistant. E.g set one plug to "Living room", and another to "Bedroom" etc.
Any tips on how to do this?

Hey. I have not implemented "devices" yet. As far as I know, only devices can be placed in rooms.

+1 Bump.  Required for some automation tasks.

You don't need devices to set up automation.

Would really love this as i am using https://github.com/thomasloven/lovelace-auto-entities
and making cards based on Area. cant so this with entities.
so would love to see this added.

You say in one of your comments that You don't need devices to set up automation. Do you have some sample config of such eh an automation to turn on a sonoff switch at a certain time?

service: homeassistant.turn_on
entity_id: switch.sonoff_0123456789

Thx for your very fast support
Regards
Marcel Stumpel
From: Alex X<EMAIL_ADDRESS>Sent: 05 November 2020 16:25
To: AlexxIT/SonoffLAN<EMAIL_ADDRESS>Cc: Marcel Stumpel<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [AlexxIT/SonoffLAN] Support Devices and Areas (#83)
service: homeassistant.turn_on
entity_id: switch.sonoff_0123456789
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/AlexxIT/SonoffLAN/issues/83#issuecomment-722447435, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIRFSPWA5NGHGA7OZE5FGJ3SOK7VLANCNFSM4MT5534Q.

I am switching from Tuya to Sonoff and can confirm that https://www.aliexpress.com/item/4001174956201.html Tuya Temperature Humidity Sensor Alarm System Devices Intelligent Home Automation for Alexa Amazon Google Support General APP
Is working with de Sonoff Zigbee Gateway and Hassio.

Would really love this as i am using https://github.com/thomasloven/lovelace-auto-entities
and making cards based on Area. cant so this with entities.
so would love to see this added.

Thank you very much for this excellent capability, AlexxIT. However, adding my Sonoff AlexxIT integrations to Areas is the one thing that I am missing as well. Mostly for auto-entities but also for general organization of components.

Yes this would be very helpful as it would require not having to go into advanced mode for scenes

Yes this would be very helpful as it would require not having to go into advanced mode for scenes

Latest HA support Areas for entities. Not only for Devices

Latest HA support Areas for entities. Not only for Devices

Check new beta-version:
https://github.com/AlexxIT/SonoffLAN/releases


windows: Try out Tauri 2.x alpha

Is your feature request related to a problem? Please describe.
Builds are slow because with Tauri 1.x we end up pulling in 4 or 5 versions of the windows crate, all of which are slow to build.
They also have a new tray icon dep which might allow left-clicking
Describe the solution you'd like
Would like the app to take less than 8 minutes to compile on my laptop
Describe alternatives you've considered
Could wait for a stronger laptop
Additional context
N/A

In Tauri 2.0.0-beta.2 it still can't exit main gracefully :(


Server Rendering Tips

This change is

Coverage remained the same at ?% when pulling 139f3e9df0b314b75afea09d3c5b506178546cfa on justin808/docs into cff4437b421f29b18a1c6bb9e2d34645f4bef33b on master.

Coverage remained the same at ?% when pulling 139f3e9df0b314b75afea09d3c5b506178546cfa on justin808/docs into cff4437b421f29b18a1c6bb9e2d34645f4bef33b on master.


all_partitions very slow

using ShowSet
using SimplePartitions
v  = 1:10
@time p = all_partitions(Set(v));
length(p)

10.146464 seconds (34.66 M allocations: 3.269 GiB, 59.76% gc time)
115975
And in Python with these two functions:

# From codereview.stackexchange.com
def partitions(set_):
    if not set_:
        yield []
        return
    for i in range(2**len(set_)//2):
        parts = [set(), set()]
        for item in set_:
            parts[i&1].add(item)
            i >>= 1
        for b in partitions(parts[1]):
            yield [parts[0]]+b

def get_partitions(set_):
    for partition in partitions(set_):
        yield [list(elt) for elt in partition]

%timeit p = get_partitions([1,2,3,4,5,6,7,8,9,10])

The slowest run took 4.77 times longer than the fastest. This could mean that an intermediate result is being cached.
1000000 loops, best of 3: 325 ns per loop

This is interesting. One difference is that the Python code creates a generator and the Julia code creates the actual set of partitions. Still, the Python code is faster even if the last line is replaced by this:
%timeit p = [t for t in get_partitions([1,2,3,4,5,6,7,8,9,10])]
I'd be happy for someone to re-implement this for the module. I'm no coding expert!


Multiline comments and prql-doc

Could we also use multiline comments to help document functions and also use them as headers?
/**
 * Comment doc blocks to help do header documentation and
 * function documentation like:
 *
 * @param_name <type> documentation
 */

Also would be nifty for it to generate an HTML and/or README.md file like the DBT or Elixir doc generators.

Very much agree on doc comments as good things.
I'm less persuaded by multi-line comments as separate syntax from single-line comments — is there a compelling case for them? With modern editors it's unlikely someone will have to do type 10 characters to comment out 10 lines...
I think doc comments are some way off, so I'll close this for the moment. Though if someone is keen to add them, feel free to open an issue with a proposal for how they'd be used and implemented.
Thanks for the original issue @mattdharmon

Related discussion #1759


Monitor documentation

The Monitor documentation in the design section is missing

http://quantmind.github.io/pulsar/design.html#monitors


feature: Enable use in docker/julia

Using julia docker to run spe11 jutul runner, disabling rendering.
Here are items that are added by this PR:

[x] An example Dockerfile based on julia specific Docker image
[x] A documentation in Readme to use it
[x] A julia runner that comment out rendering part

The example Dockerfile has to be amended prior to merge (as for now it explicitly point to this branch).
On jafranc/feat/mesh_gen there is an attempt to provide in addition a generic cartesian mesh generator leveraging MRST tools. This might be a good addition to this PR but needs refactoring with a better knowledge of both Jutul and MRST and their interconnexions.

Very cool, thanks! Let me know when you think it is ready and I can do some tests :+1:


Support signing up to an existing organization

Pull Request Description
Implements the "organization_id" parameter for the registration page, to allow users to sign up to an existing organization.
Important Notes
The deep link has not been tested as I don't have a setup that supports deep links
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

@PabloBuchu what's the holdup here?

small note: i tested on windows earlier, and enso://auth/registration seems to work on an already open IDE instance, but not when no IDE instance is currently open. it might be to do with urlToOpen... i can see if i can spot a potential cause but note that i don't really have an actual windows setup (i just downloaded the CI artifact)

I will merge this one for now and we will investigate / create issue for deeplinks on Windows


Serialization compatibility with the Rust implementation

Dependent issue: https://github.com/microsoft/electionguard-python/issues/646
Depending on what they do or don't fix, we might need to:

Ensure that we're always serializing integers to 32-bits
Remove the 0x00 from the KDF computation
Encode HMAC keys in hex bytes (hopefully not!)

We should also double-check that we (and they) are correctly handling inputs that aren't multiples of 32 bytes long. (Took some extra effort to get this correct in the TypeScript code.)

When C++ and kotlin are at the same serialization version, presumably 2.0, we will wantt o check compatibility of implementations with the spec.
Anticipating that the spec will use JSON.

Serialization compatibility is going to be a broad issue for us, not just in the hash cipher thing, although that specific function is one of many places where we need to be bug for bug compatible, else it just doesn't work.

We are waiting for the 2.0 spec before worrying too much about this. When its out, we can test compatibility with c++ library.
My thinking is that we will keep our protobuf based classes as central, and have CLI that transform back and forth to JSON.
Also notable is that the webapps use JSON to communicate to remote guardians. These structure include many of the primitives used in the election record. So we already have that done as a template for the rest of the classes.

PR #222 adds json serialization of Manifest for version 1.52, and tests against proto serialization.

PR #223 adds json serialization for most of the other classes. Need the spec and C++ examples to finish.

Waiting to hear from Rust implementation, which is doing the 2.0 implementration.

Superceeded by Issue #373


Stand alone slices and slice syntax

Hi,
This problem is more about the specification than the parsing tools. Is a standalone slice like in <X, Y> valid ASL? The specification says nothing about that case but the SHA1C instruction has pseudocode containing <Y, X> = ROL(Y:X, 32);. To me that seems like the person meant to write (Y, X) = ROL(Y:X, 32); or Y:X = ROL(Y:X, 32); (if concatenations are assignable).
The other problem is that the new slice syntax overlaps with the array-style function syntax. A free token that comes to my mind would be <<< and >>> or { and }.
PS: If this question is off-topic feel free to close it and/or direct me to the appropriate place to ask the question.

In general what is the best way to report problems with the specification? I found some 3-space indents in the pseudocode.

Yes, the "<X, Y> = e;" syntax is valid.  It is a variant of syntax like "PSTATE.<N,Z,C,V> = e;"
"(X, Y) = e;" is used if e is a tuple.  "<X, Y> = e;" is used if e is a bit vector - the bit vector is split into two parts with lengths matching the lengths of X and Y.
(What I mostly don't like about the syntax is that it is not used very much - which means that people won't easily guess what it means.)
Switching bitslice syntax from <> to [] has pros and cons.
Pros:

fits with the idea that bit vectors are just an array of bits
eliminates the parsing lookahead problem in "F(a<b,c,d,e ...." which can end either "F(a<b,c,d,e>)" or end "F(a<b,c,d,e)"
Cons:
it adds a bit vector ambiguity to the existing array vs. function-call ambiguity


feat: Sort by futbin price (club search)

Prerequisites

[X] I have searched for existing issues that already include this feature request, without success.

Describe the Feature Request
To be able to sort by futbin price when in club search
Describe the Use Case
It's super useful because i can find the players worth the highest amount rather than check each individual player in the club
Describe Preferred Solution
No response
Describe Alternatives
No response
Additional Information
No response

you can download the club csv and then sort using FUTBIN price column


Suggestion about deep linking

Hello,
I use deep linking to the Perfetto UI feature very conveniently.
It is really easy to share to my co-worker and easy to collaborate on a specific perfetto.
Anyway, whenever I use deep linking, I have to give more information about what slice should be checked.
Like "Please check 3rd slice in binder:47 thread, SystemUI process." or "Please check longest slice in Gallery main thread."
And we can suppose that there are some slices(very short or having similar duration) can make confuse what slice is selected.
Would you check about any slice get the focus(like 'f' key function) after perfetto loaded?
Perfetto user can deliver slice id when post a message like below.
{
'perfetto': {
buffer: ArrayBuffer;
title: string;
fileName?: string;  // Optional
url?: string;       // Optional
[anySlice ?: int;       // Optional]
}
}
Would you please check about this idea?

Something similar to this has been implemented by changing the URL to have arguments for timestamp/duration/pid etc. Code for this can be found here


How we can trigger APPLICATION and TIMEOUT error in software download event

When the O-RU completes the software download or software download fails, the O-RU shall send NETCONF
download-event notification with one of the following statuses:
a) COMPLETED
b) AUTHENTICATION_ERROR - source available, wrong credentials
c) PROTOCOL_ERROR – sFTP protocol error
d) FILE_NOT_FOUND - source not available
e) APPLICATION_ERROR - operation failed due to internal reason
f) TIMEOUT - source available, credentials OK, Operation timed out (e.g. source becomes unavailable during ongoing operation).
TIMEOUT -> how we can trigger the scenario with sfp 25G?
APPLICATION_ERROR -> How we can trigger this scenario?

For such a general question I can give only a general answer. Create the notification and use sr_event_notif_send or sr_event_notif_send_tree to send it. Any NETCONF sessions subscribed to this notification will then receive it.


(WIP) Follow updates in vscode-mock-debug

Since this project seems to be based on https://github.com/Microsoft/vscode-mock-debug/commit/0b82b58 (Wed Oct 12 11:42:11 2016 +0200), I'll apply changes from https://github.com/Microsoft/vscode-mock-debug/commit/16630b2 (Thu Oct 13 11:20:58 2016 +0200) to  https://github.com/Microsoft/vscode-mock-debug/commit/0915e40 (Wed Nov 22 15:46:43 2017 +0100).
This will fix #39.

Sure, By the way - thank you for your work here :). Once I have more time, i will join. Please let me know if "master" branch is ready for releasing, I will do it then.


Expose SerialiseAsRawBytesError in Cardano.Api

The function deserialiseFromRawBytes was changed from Maybe to Either SerialiseAsRawBytesError, but the error type was not exposed in the Cardano.API.

This is even more important when defining SerialiseAsRawBytes instances. Without the data constructor, instances cannot create the SerialiseAsRawBytesError and will be partial by definition.


Veryify Zenodo works on next release

With the repo name change, we may get a new DOI and need to update our README badge.

Still does not work as of 1.3

v2.0.0 and 2.0.1 are on Zenodo