Example doesn't compile after adding MQTT dependency

I'm trying to add support of publishing of MQTT messages to Arduino Uno firmware. There are several crates for this, for example,
https://github.com/00imvj00/mqttrs: mqttrs = { version = "0.4.1", default-features = false }
https://github.com/quartiq/minimq: minimq = "0.5.3"
Both crates depend on https://github.com/japaric/heapless
I add those dependencies to https://github.com/Rahix/avr-hal/blob/main/examples/arduino-uno/Cargo.toml
The error stack:
D:\avr-hal\examples\arduino-uno>cargo run --bin uno-blink
   Compiling heapless v0.7.13
error[E0432]: unresolved import `core::sync::atomic::AtomicUsize`
  --> C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\heapless-0.7.13\src\pool\singleton\arc.rs:88:26
   |
88 | use core::sync::atomic::{AtomicUsize, Ordering};
   |                          ^^^^^^^^^^^ no `AtomicUsize` in `sync::atomic`

error[E0432]: unresolved import `core::sync::atomic::AtomicPtr`
  --> C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\heapless-0.7.13\src\pool\llsc.rs:10:26
   |
10 | use core::sync::atomic::{AtomicPtr, Ordering};
   |                          ^^^^^^^^^
   |                          |
   |                          no `AtomicPtr` in `sync::atomic`
   |                          help: a similar name exists in the module: `AtomicI8`

error[E0432]: unresolved import `core::sync::atomic::AtomicUsize`
  --> C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\heapless-0.7.13\src\spsc.rs:92:26
   |
92 | use core::sync::atomic::{AtomicUsize, Ordering};
   |                          ^^^^^^^^^^^ no `AtomicUsize` in `sync::atomic`

error[E0392]: parameter `T` is never used
   --> C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\heapless-0.7.13\src\pool\mod.rs:263:17
    |
263 | pub struct Pool<T> {
    |                 ^ unused parameter
    |
    = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
    = help: if you intended `T` to be a const parameter, use `const T: usize` instead

Some errors have detailed explanations: E0392, E0432.
For more information about an error, try `rustc --explain E0392`.
error: could not compile `heapless` due to 4 previous errors

Do you have any thoughts on this? Is there any workable config or workaround?

The heapless crate has a cas feature which is enabled by default.  Maybe disabling that with
[dependencies.heapless]
version = "..."
default-features = false

is enough to get it working.  But you might need to do this in the mqtt crate.
If the crates requires atomics from heapless, this won't work of course.
There is a hack but it is very error prone.  In your target spec file (e.g. avr-atmega328p.json) you can set
"max-atomic-width": 16

Be warned: There is a high chance that this produces corrupt binaries.
The proper fix looks to be updating the atomic-polyfill dependeny of heapless.  From what I can tell, the latest version of that has proper avr support and heapless is just lagging behind...

Thanks! I've tried to bump atomic-polyfill version and disable default features locally. After that just one compilation error remained:
D:\avr-hal\examples\arduino-uno>cargo run --bin uno-blink
   Compiling heapless v0.7.13 (D:\heapless)
error[E0432]: unresolved import `core::sync::atomic::AtomicUsize`
  --> D:\heapless\src\spsc.rs:92:26
   |
92 | use core::sync::atomic::{AtomicUsize, Ordering};
   |                          ^^^^^^^^^^^ no `AtomicUsize` in `sync::atomic`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `heapless` due to previous error

Biut so far I didn't manage to make the example working.
Anyway, it seems the error has nothing to do with avr-hal or mqttrs.

Agreed, I think this needs to be adressed in heapless.


Edited description and test

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX
This seems to be in relation to #13290 PR.

Description

I edited the description text example and the first test so that it passed on the firefox browser.

Tested locally and LGTM. Thanks @cdrainxv 👍 🐇 🍨

fulz


Plotting in C++

Just so that I don't forget.

Looking around I found this alternative: https://github.com/alandefreitas/matplotplusplus which looks very much like matplotlib! We can embed the dependency in the CMakeLists file as shown here https://github.com/alandefreitas/matplotplusplus
I don't have a strong feeling about gnuplot vs matplot++, matplot++ seems easier to use but we don't need to make super crazy plots (e.g., a barplot for the number of clusters, the trace plot of a chain, a plot of the univariate density and a contour plot for the bivariate case ) so if gnuplot is easier to handle, we can just write a few functions specific to these plots...

Sorry, I haven't had the time to look into this yet. I'm down to try matplot++, then we can switch to Gnuplot if it proves too complicated :)

I may have time to work on this in the next days. How do we want to do this?

Do we use a separate C++ file, or do we set up a flag in run_mcmc.cc that the user shall provide if they want plots?
Which kinds of plots should we provide?
Do we ask the user to choose the desired plots, or do we just create all of them?

I would provide a separate executable, where you need to pass the MCMC chains / the output of run_mcmc as well as the filenames where to save the plots. If the filenames of the plot is not "" then we produce the plot.
As far as which plots to provide i suggest we do

density estimate in 1/2d
traceplot for the MCMC chain of the number of clusters
barplot of the distribution of the number of clusters


MQTT Broker username/password - required/optional

Describe The Bug:
Half bug, half feature request.

I don't have a username or password required for connection to my personal MQTT broker (this is not great practice, but it's fully internal to my home network, for personal use, has no really sensitive data on it, and is only used for various internal projects).
homebridge-enviroplus has the username and password fields marked as required, so when I upgraded to 2.0.x I thought to myself, ok, I'll try putting something "blank-ish" like a space, or "".

the plugin appeared to start (no errors in the log) but the sensors showed with weird values (-270 temperature), which I now know are the default values it sets up, from looking at the code
I deleted the username and password values, the UI showed a warning that they were required fields, but saved the config anyway.
I checked config.json and observed that the values did not exist in the file.
I restarted HB and things started to work / obviously the MQTT connection is working ok without them.

Ideally for my own use, those fields would be optional however I also accept that this may not be a recommended mosquitto / broker configuration.
Suggestions:

make the fields optional; OR
make the fields required, and enforce that they are included at saving (although that might be a Homebridge UI issue rather than in the plugin); OR
make the fields required, and provide an option to set them to blank / not send them as part of the MQTT conection.

Additional related suggestion:

provide more verbose logging around MQTT connection and config at startup

Plugin Config:
        {
            "mqttbroker": "mqtt://<IP_ADDRESS>:1883",
            "topic": "enviroplus",
            "serial": "1234567890",
            "excellent": 10,
            "good": 20,
            "fair": 25,
            "inferior": 50,
            "poor": 50,
            "platform": "EnviroplusAirQuality"
        },

Environment:

Plugin Version: 2.0.2
Homebridge Version: 1.5.0
Node.js Version: 16.16
NPM Version: 8.11
Operating System: Homebridge Raspbian v1.0.23

I recommend setting a username and password - your network is only as secure as the weakest link. Nonetheless I did test with having no username and password set, but not from the GUI. This is now fixed. Also added some additional log messages. You can see even more log messages by starting homebridge with the -D flag to show debug messages.

Makes sense. Thanks!


Expose test model parser

...so that implementors of test extensions can validate their model types can be deserialized.
Reviewer checklist

[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage increased (+0.01%) to 99.14% when pulling b9f4490b48d0f9fcbbc51e44588e187b589616e0 on test_parse into 129e7f183f39343513849680c46494351b6beed2 on main.


HSEARCH-3944 Distance projection on multi-valued fields

https://hibernate.atlassian.net/browse/HSEARCH-3944
Based on #2302 , which must be merged first.

Full build: https://ci.hibernate.org/job/hibernate-search/job/PR-2303/2/

Merged, thanks!


[Evaluated] Failures in test_reductions_xpu.py

🐛 Describe the bug

There is an error in the results:
AssertionError: Scalars are not close!
AssertionError: Tensor-likes are not close!
cases:

test_reductions_xpu.py::TestReductionsXPU::test_ref_extremal_values_mean_xpu_complex64
test_reductions_xpu.py::TestReductionsXPU::test_ref_small_input_masked_prod_xpu_float16

RuntimeError: mode only supports CPU AND CUDA device type, got: xpu
cases:

FAILED test_reductions_xpu.py::TestReductionsXPU::test_dim_reduction_xpu_bfloat16
FAILED test_reductions_xpu.py::TestReductionsXPU::test_dim_reduction_xpu_float16
FAILED test_reductions_xpu.py::TestReductionsXPU::test_dim_reduction_xpu_float32
FAILED test_reductions_xpu.py::TestReductionsXPU::test_dim_reduction_xpu_float64
FAILED test_reductions_xpu.py::TestReductionsXPU::test_dim_reduction_xpu_int16
FAILED test_reductions_xpu.py::TestReductionsXPU::test_dim_reduction_xpu_int32
FAILED test_reductions_xpu.py::TestReductionsXPU::test_dim_reduction_xpu_int64
FAILED test_reductions_xpu.py::TestReductionsXPU::test_dim_reduction_xpu_int8
FAILED test_reductions_xpu.py::TestReductionsXPU::test_mode_xpu_float32 - Run...
FAILED test_reductions_xpu.py::TestReductionsXPU::test_mode_xpu_float64 - Run...
FAILED test_reductions_xpu.py::TestReductionsXPU::test_mode_xpu_int16 - Runti...
FAILED test_reductions_xpu.py::TestReductionsXPU::test_mode_xpu_int32 - Runti...
FAILED test_reductions_xpu.py::TestReductionsXPU::test_mode_xpu_int64 - Runti...
FAILED test_reductions_xpu.py::TestReductionsXPU::test_mode_xpu_int8 - Runtim...
FAILED test_reductions_xpu.py::TestReductionsXPU::test_mode_xpu_uint8 - Runti...

largeTensorTest will raise an "unknow device type" error
cases:

test_reductions_xpu.py::TestReductionsXPU::test_reduction_split_xpu

command:
from torch.testing._internal.common_device_type import instantiate_device_type_tests
from torch.testing._internal.common_utils import run_tests

try:
    from xpu_test_utils import XPUPatchForImport
except Exception as e:
    from .xpu_test_utils import XPUPatchForImport

with XPUPatchForImport(False):
    from test_reductions import TestReductions

instantiate_device_type_tests(TestReductions, globals(), only_for="xpu")

Versions
PyTorch version: 2.4.0a0+gitf87fbfd
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.26.4
Libc version: glibc-2.35
Python version: 3.9.19 (main, May 6 2024, 19:43:03) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-73-generic-x86_64-with-glibc2.35
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 48
On-line CPU(s) list: 0-47
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) Gold 6342 CPU @ 2.80GHz
CPU family: 6
Model: 106
Thread(s) per core: 2
Core(s) per socket: 24
Socket(s): 1
Stepping: 6
CPU max MHz: 3500.0000
CPU min MHz: 800.0000
BogoMIPS: 5600.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect wbnoinvd dtherm ida arat pln pts hwp hwp_act_window hwp_epp hwp_pkg_req avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid fsrm md_clear pconfig flush_l1d arch_capabilities
Virtualization: VT-x
L1d cache: 1.1 MiB (24 instances)
L1i cache: 768 KiB (24 instances)
L2 cache: 30 MiB (24 instances)
L3 cache: 36 MiB (1 instance)
NUMA node(s): 1
NUMA node0 CPU(s): 0-47
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable
Vulnerability Retbleed: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] optree==0.11.0
[pip3] torch==2.4.0a0+gitf87fbfd
[conda] numpy 1.26.4 pypi_0 pypi
[conda] optree 0.11.0 pypi_0 pypi
[conda] torch 2.4.0a0+gitf87fbfd dev_0

Evaluated. To investigate,

[ ] Mode is CPU/CUDA bias // https://github.com/intel/torch-xpu-ops/issues/327
[ ] test_ref_extremal_values_mean_xpu_complex64. CUDA skips. To study why CUDA skips it.
[ ] test_ref_small_input_masked_prod_xpu_float16. Retrieve the case as long as prod xpu implementation is done.

Result error

The error of test_ref_extremal_values_mean_xpu_complex64 is due to the different treatment of nan and inf by xpu and cpu. xpu treats nan and inf in the same way as cuda, which is why cuda skips this test case.
The error of test_ref_small_input_masked_prod_xpu_float16 is due to the accumulation of errors caused by cumulative multiplication. The accuracy requirement for this sample in cuda's test is lower, so xpu also reduces the accuracy requirement.

RuntimeError
xpu lacks the implementation of these kernels:
torch.kthvalue
torch.median
torch.mode
torch.split


How to read SQL print messages?

Please first make sure you have looked at:

Documentation: https://github.com/mkleehammer/pyodbc/wiki
Other issues

Environment
Linux 3.10.0-957.10.1.el7.x86_64
To diagnose, we usually need to know the following, including version numbers.  On Windows, be
sure to specify 32-bit Python or 64-bit:

Python: 3.6.3
pyodbc: 4.0.26
OS: Linux
DB: MSSQL
driver:

Issue
Often it is easiest to describe your issue as "expected behavior" and "observed behavior".
I have series of print statements within my TSQL statements. How to read the out messages from these print statements in python? I can't find a solution so far. Much appreciate any help here. Thanks.!
I tried cursor.messages & connection.messages. But the print messages are not present here.
SP

We have some SQL Server experts here that will hopefully chime in.  We should add this to the SQL Server wiki page.  I've seen this question before.

@mkleehammer yes, it was a feature request we were discussing here: https://github.com/mkleehammer/pyodbc/issues/495
@sivaprakashmp those messages will be returned as diagnostic records when the SQLExecute()/SQLExecDirect() ODBC API  returns "success with info". Currently there is no way to retrieve these from pyODBC because it does not save them after execution; it only distinguishes between success/error.

@mkleehammer yes, it was a feature request we were discussing here: #495
@sivaprakashmp those messages will be returned as diagnostic records when the SQLExecute()/SQLExecDirect() ODBC API returns "success with info". Currently there is no way to retrieve these from pyODBC because it does not save them after execution; it only distinguishes between success/error.

@v-chojas exactly, thats the same issue I am taking about. I have posted my comments there and would be very happy to test this if needed. I think this issue can be merged with #495

Duplicate of #495


Drop shadow effect memory leak

Describe the changes you have made to improve this project

[x] Modified the top row of the CleanWindowDemo demonstrating possible memory leaks with the DropShadowEffect
[x] Setting x:Shared="False" on all DropShadowEffect (fixing the memory leak)

Unit test

there is a dotMemory unit testing nuget out there but don't know much about it..

Additional context
I've updated all DropShadowEffects (including VS & DropShadowBrush)- assuming there is no usage where x:Shared=True is appropriate
Closed Issues
Closes #3974

@lipchev your changes have been merged, thanks for your contribution 👍


Extensible tuples

I've gone ahead and made curry/uncurry open as well. This means that you can provide a larger tuple through uncurryN, and it only takes the arguments it needs. curryN also lets you provide the tail if the function requires a larger tuple. Closed currying then just becomes applying unit as the first argument. It's kind of like partial application from the right. We can switch these to closed, of course, but I thought it might be worth considering.

@paf31 I asked Nathan to go ahead and put this together since the work I did on re-associating the Tuples still leaves the behaviour different from Either, in the sense of having combinators that allow accessing arbitrary positions without having to know the length of the nesting.
None of the libraries that depend on tuples have been updated yet, so it's no problem to release another version now and then proceed with the other updates.

Sorry, yes, looks good 😄

No problem, figured you wouldn't mind - just wanted to let you know what was going on!


fix ʀᴘᴄ and remove/replace the compromized Discord server.

fix ʀᴘᴄ and remove/replace the compromized Discord server.

i was unable to build this, yarn looks for "snarkjs": "git+https://github.com/tornadocash/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5", which doesnt exist anymore, because github removed the repo


Negative modifiers on active feats are not applied

Hello,
When creating an active feat with modifiers, negative modifiers do not get applied when activating the feat.
Steps to reproduce:

Create a feat
Set activation cost to make it an active feat
Set-up modifier(s), for example -1 AC
Activate feat by clicking the activate button on the sheet
Observe no changes to modified value
(Optional) Change modifier value to a postive integer (like +2) and it does get applied correctly, it only happens with negative values.

Side note: This behavior does not present itself for items where negative modifiers are correctly toggled when equipping an item and also does not show when using a passive feat where a negative modifier is permanently applied.

I tried to reproduce this. but it works like it should on my end. I created an active feat, added a -1 untyped modifier to AC, and activated/deactivated the feat and saw it correctly affecting the AC.
Are there any other AC affecting bonuses with the same type perhaps, that overwrite your -1 with something higher?

Thanks for testing. I dug into the behavior I was seeing on my end and further testing reveals the following: it only does not work when the modifier type is set to "Ability" but works for all other types. This is reproducible in an empty world with no other modifiers or bonuses active on the character.

The reason for this is because the system explicitly filters out Ability type modifiers that are less than 0, by the rules on https://aonsrd.com/Rules.aspx?ID=154


check the port-forward-all script for correctness

Bug description:
When used with either v0.8.4 or the unreleased v0.9.x, the manual demo documented at https://docs.openservicemesh.io/docs/install/manual_demo/#view-the-application-uis suggests the use of https://github.com/openservicemesh/osm/blob/main/scripts/port-forward-all.sh.
In that script, we seem to invoke bookstore as well as bookstore v1 and bookstore v2.
Some errors like "No resources found in bookstore namespace" and "error: resource name may not be empty" make it seem that this script has gotten a bit out of sync with current practice.
Affected area (please mark with X where applicable):

Demo                       [X]

Expected behavior:
We would expect all scripts in the manual demo (including the port-forward-all script) to launch only the expected resources and, if there are expected to be errors, we would want to display an informative message assuring the user about what is happening.
Steps to reproduce the bug (as precisely as possible):
Run the manual demo as published, and look at the output from the port forwarding script.
Here I have added echo statements to show more clearly where it errors out:
./scripts/port-forward-all.sh
start bookbuyer-ui
start jaeger
start grafana
start bookthief-ui
No resources found in bookstore namespace.
start bookstore-ui-v1
No resources found in bookstore namespace.
start bookstore-ui-v2
start osm-debug
start bookstore-ui
error: resource name may not be empty
error: resource name may not be empty
stop bookstore-ui-v2
stop bookstore-ui-v1
Forwarding from <IP_ADDRESS>:8080 -> 14001
Forwarding from [::1]:8080 -> 14001
Forwarding from <IP_ADDRESS>:3000 -> 3000
Forwarding from [::1]:3000 -> 3000
Forwarding from <IP_ADDRESS>:8083 -> 14001
Forwarding from [::1]:8083 -> 14001
Forwarding from <IP_ADDRESS>:16686 -> 16686
Forwarding from [::1]:16686 -> 16686
Forwarding from <IP_ADDRESS>:9092 -> 9092
Forwarding from [::1]:9092 -> 9092
Forwarding from <IP_ADDRESS>:8084 -> 14001
Forwarding from [::1]:8084 -> 14001
^Cstop grafana
stop jaeger
stop osm-debug
stop bookbuyer-ui
stop bookstore-ui
stop bookthief-ui

How was OSM installed?:
Built from source, but installation may not be relevant here.

Best experience would be to update the script to fix the errors or note that the behavior is expected.
If its the latter case, we can update the docs in the short term to show this is intended, but need confirmation that this behavior is correct and expected.

We should check the script, see if it is emitting unhelpful errors, and fix it.

Thanks, @bridgetkromhout! I added it to the vFuture milestone so we can triage this work (also it won't be considered for the stale bot anymore).


.gitignore all compilation artifacts

Compilation artifacts have no place on the source repository. Let's remove them and modify all build and CI scripts to assume they must be generated before assuming their presence.
See https://github.com/spacemeshos/svm/pull/416#pullrequestreview-811940493.

Duplicate of https://github.com/spacemeshos/svm/issues/429.


add pimpathon

it's in the 2.11.x-jdk8 build, but got the boot from 2.12 at some point.
it has a lot more dependencies these days, but we actually have all of
them now (I think?)

fyi @stacycurl. not sure yet if this is going to work or run into trouble, but opening the PR anyway to at least have a record of the attempt. test run in progress at https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1393/consoleFull

jsonpath is in there now, but dbuild doesn't rewrite the pimpathon->jsonpath for some reason. setting this aside for now

let's leave a record of the last attempt, anyway: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1398/consoleFull (404 while Jenkins ponders the premature spoilage of that bag of minneolas he bought)

Sorry, I'm terrible with email, is there anything i can do ? Use a
different version of jsonpath, fur example.
On 6 Apr 2017 17:19, "Seth Tisue"<EMAIL_ADDRESS>wrote:

let's leave a record of the last attempt, anyway:
https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-
community-build/1398/consoleFull (404 while Jenkins ponders the premature
spoilage of that bag of minneolas he bought)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scala/community-builds/pull/512#issuecomment-292226978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE64C95__ANtL7F5QK4u435NKw4bNOeks5rtRCGgaJpZM4M0X14
.

@stacycurl I have no idea because I don't even understand what the cause of the error is. I might have time to return to it next month.
@cunei is it apparent to you what's going on with dbuild here...?

new test run (just to see if anything has changed): https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1760/consoleFull

closing for inactivity. I would like to include pimpathon, but it's not a priority


make login up page is attractive

The UI of the Loginup page is need to be improve to look good

please assign me @pa under the gssoc-ext and hacktoberfest-accepted

Already its assigned and completed.


Please make mini.clue autostart\always-showing without needing a trigger key like in nano.

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.clue
Description
https://www.reddit.com/r/neovim/s/MQqQEI9ecz i asked on reddit and got no answer
It will definitely help a noob(and others) like me use neovim, or just people who like this type of feature

Thanks for the suggestion!
I don't think this is a good design idea. The main use case for 'mini.clue' is to show clues for sets of "nested" mappings, primarily starting with <Leader>.
Closing as not planned.


Design Wallet section inside Profile

This is the current page.

Design the wallet component and put inside ProfileComponents folder and render in Profile.js as ProfileInformation is done.
Have the current wallet balance, past wallet transactions, both credit and debit. One can add money to wallet only via Vouchers. Check from a predefined set of vouchers (hardcode voucher id -> value ). Also, refund money shall be added to wallet, and wallet money can be reedemed for ordering products, however those implementation need not be done now. Just told for better transaction history understanding.
Other edits as per contributor's choice are welcome.

Assign this to me please . I can do this .

Hello , Is this issue still available or Not ?. If it is available can you assign this to me @dwip708 .


BMP280 hub reports no error even though sensor is not connected

Seems like there's an error produced in this situation now.


The authentication library used by Storage Explorer has failed to start properly.

OS:
Edition	Windows 11 Pro Version	22H2 Installed on	5/16/2022 OS build	22621.160 Experience	Windows Feature Experience Pack 1000.22632.1000.0
ASE: 1.24.2
.Net: 4.8
ASE logs.zip

@gscorrea can you try:

Run storage explorer as admin
Uninstall and reinstall

Closing due to lack of response. If you are still facing this issue we recommend opening an Azure support ticket from the portal. Alternatively you can open a new issue here.


Fixing XHP errors

This PR addresses the XHP errors that the grammar had trouble parsing. Specifically, the previous version of the grammar could not properly parse when a colon preceded an XHP identifier. We need this functionality in order to be compatible with Hack v3 (XHP identifiers were allowed to begin with a colon).
This problem was solved by including a choice between xhp_identifier and xhp_class_identifier. Note that the only difference between the two constructs are that xhp_class_identifier is allowed to begin with a colon.

I'm going to do a squash-and-merge in this PR (and repo in general). Not sure how repos usually handle coming up with final commit messages after the squash, but for now I'll write it and I'll find some way of picking the final commit message automatically (I think there's away to use the PR description to use as the squash commit message). I
'm going to title the commit Support XHP v4 classes.


fix: use animated reaction instead of derivation

📜 Description

💡 Motivation and Context
this is more or less a stylistic change, the useAnimatedReaction hook is better suited for this than useDerivedValue which is supposed to derive a value, but not have side effects
📢 Changelog
not needed I guess?
🤔 How Has This Been Tested?
I ran this on an Android 10 device (huawei) and it works the same as before.
I used the 'Aware scroll view' example to test this out and I have to say that, unfortuantely, on my device the animation is not (and was not) smooth. That's a different problem though, I might try to open a PR for that later.
📸 Screenshots (if appropriate):

📝 Checklist

[ ] CI successfully passed

Good job @vonovak!
May I ask you to make the same changes in FabricExample as well?
I know it's bad practice to have code duplication and I want to have a single code for example apps, but for now I have to duplicate it 😔

I have to say that, unfortuantely, on my device the animation is not (and was not) smooth. That's a different problem though, I might try to open a PR for that later.

Did you (or maybe you can) test it on Android 11+? And on which RN version are you testing this example?
On Android < 11 animations are not perfectly synchronized. And I noticed that on RN>  0.72 some examples that were relying on height animations became laggy 🤔 I wanted to investigate why but didn't have time for that (and I still don't understand whether it's a problem of RN or new REA version).

Hello, yes, I'll update it too on Monday 😉.
And test on newer Android.
I tested directly on this branch so whatever the example is running now.
Here's a recording from my device:
https://github.com/kirillzyusko/react-native-keyboard-controller/assets/1566403/633c8800-869a-486f-8a0c-034a9669aef4

Yes @vonovak
But I see, that only back transitions are very laggy. When keyboard appears the animation is pretty smooth, right?

That is correct @kirillzyusko 👍

@vonovak really strange 🤔 On my device (Pixel 7 Pro, Android 13) everything is pretty smooth:
https://github.com/kirillzyusko/react-native-keyboard-controller/assets/22820318/75767f77-4a70-46af-be2f-accd55e49301
And on my Redmi Note 5 Pro with Android 9 it's also pretty smooth 🤔
Maybe there is a conflict between height animation and calling scrollTo 🤷♂ If you can reproduce this problem on emulator - let me know a configuration and I'll try it on my end 👍

Eh, different day, same crap to deal with - android 🫣😄.
Okay, I'll see if I can repro.

@kirillzyusko I pushed the changes to fabric example. Regarding the repro, I ended up doing things differently and not sure I'll have time to create it, sorry about that.


Building TFLite fails on nnapi_delegate requiring C++20 extensions

Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.16.1
Custom code
No
OS platform and distribution
Docker
Mobile device
No response
Python version
3.11
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Hi,
I'm following the steps to build TF Lite using docker (https://www.tensorflow.org/lite/android/lite_build#set_up_build_environment_using_docker) with TF release 2.16.1 (also tried 2.15). No modifications to the sources, Dockerfile or commands, only change is limiting the target architectures to arm64_v8a
The step of building aar for a given model fails by throwing C++20 extensions needed by the nnapi delegate. It seems that the rest of tooling is using gnu++17?

Target //tmp:tensorflow-lite failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 11.395s, Critical Path: 8.54s
INFO: 62 processes: 21 internal, 41 local.
FAILED: Build did NOT complete successfully

This issue originally reported by @kubaraczkowski has been moved to this dedicated repository for LiteRT to enhance issue tracking and prioritization. To ensure continuity, we have created this new issue on your behalf.
We appreciate your understanding and look forward to your continued involvement.


Problems installing on a Mac using Sqlite

Just tried installing on a Mac (Yosemite) using Sqlite. On running build I got the following error
      [Doctrine\DBAL\DBALException]
      Operation 'Doctrine\DBAL\Platforms\AbstractPlatform::getListDatabasesSQL' is not supported by platform.

Not sure if it is a config error or a problem with sqlite

That sounds more like a Doctrine than Sulu issue to me... Have you checked if all parameters have been correctly passed in the container?

Replaced by #2048.


add a word definition / dictionary plugin

@Abdur-rahmaanJ : Picking this up

you can use an external package or dictionary.com or as you deem fit 👍

solved by PR #37


WIP, ENH: Speedup beamformer filters computation

Reference issue
See discussion in #6606
What does this implement/fix?
Vectorization of loop in beamformer computation code speeding up the calculations
Additional info.
Compared to make_lcmv code in mne 0.19.dev this version runs on my laptop 4-5 times faster.
I didn't use any numba code in this implementation -- it appeared to be unnecessary with vectorization capabilities of numpy.
Also there is a couple of questions/suggestions in the original code which I'm not sure about. I put them in comments with mark 'XXX' in  _compute_beamformer function. @agramfort, @larsoner, @britta-wstnr, @wmvanvliet  will you take a look?
I was going to update the docstrings and remove commented out code after discussing the changes.

Ok, I see. If you've tested it and it gives reasonable results, I'll just leave it as is for now. Although another similar option would be to multiply power by the constraint, not just norm and it would be interesting to see how this can be inserted in the original optimization objective. Maybe I'll look into it at some point. Thanks!9:01 PM, September 13, 2019, Eric Larson notifications@github.com:@larsoner commented on this pull request.
In mne/beamformer/_compute_beamformer.py:

         raise ValueError(

             'Singular matrix detected when estimating spatial filters. '
             'Consider reducing the rank of the forward operator by using '
             'reduce_rank=True.'
         )
 # Reapply source covariance after inversion

norm *= sk
norm *= sk[:, np.newaxis]
power = np.dot(norm, np.dot(Wk, Gk))

It seems like this does nothing since _prepare_beamformer_input

is always called with the default loose=None; dmalt

Maybe I could read on it somewhere?
There is no paper on it, it's why it's "hidden" currently :)
@britta-wstnr had a similar feeling that it might not be correct. Someone needs to test it. But having it in there makes it testable.
One thing that makes me think it might be correct is that its behavior at the limits is what you'd expect -- a loose=0.999 looks just like loose=1. (free) and loose=0.001 looks just like loose=0. (fixed), and it goes smoothly between these two extremes.
If you're interested in looking into it, there might be a paper in it for you!
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.
Sent from Yandex.Mail for mobile: http://m.ya.ru/ymail

Very cool stuff in here @dmalt! This code was an educational read for me.
But I had to give up halfway through. I'm all for having cool optimized, vectorized, code. But can we make this more readable somehow?
The beamformer code has suffered from readability issue for quite some time now. The code @britta-wstnr and myself wrote was already quite unreadable due to the sheer number of toggles and switches we built in. During the code sprint in Paris, we tried to see if we could reduce their numbers to make the code less complicated. Turned out we actually needed all the switches in there because the field does not agree on best practices for doing beamformers (we're having a second attempt at this next autumn/winter). Then, @larsoner came in with some new stuff like orientation priors and depth weights and keeping svd state and things got better and faster, but even less readable. Now, with this PR, things are faster once more, again at the cost of readability.

Very cool stuff in here @dmalt! This code was an educational read for me.
But I had to give up halfway through. I'm all for having cool optimized, vectorized, code. But can we make this more readable somehow?
The beamformer code has suffered from readability issue for quite some time now. The code @britta-wstnr and myself wrote was already quite unreadable due to the sheer number of toggles and switches we built in. During the code sprint in Paris, we tried to see if we could reduce their numbers to make the code less complicated. Turned out we actually needed all the switches in there because the field does not agree on best practices for doing beamformers (we're having a second attempt at this next autumn/winter). Then, @larsoner came in with some new stuff like orientation priors and depth weights and keeping svd state and things got better and faster, but even less readable. Now, with this PR, things are faster once more, again at the cost of readability.

Thanks for going through it! I understand it was a painful thing to do I completely agree that readability is an issue for _compute_beamformer and with this PR much more so. I thought I could add some comments on what's going on basically explaining every cryptic step. Maybe when I'm finished  with it you'll find it more comprehensible.

Ok, it's the tricky part. Here we need to solve the generalized eigenvalue problem A = \lambda B, where A and B are Hermitian, which is the same as finding best orientation from eig(B^{-1} A). Here I use algorithm 8.7.1 from Golub & Van Loan for symmetric-definite gen. eigenvalue problem which is faster than eig(B^{-1}A). U here stands for B^{-1/2}, which I need as a part of the algorithm. I've uploaded a screenshot with the algorithm from Golub here. Algorithm and its modification that I use are marked in red.

This could go in the code as a comment and make things understandable. Also at some points in the code we have to worry about matrices being semidefinite rather than definite (usually reduce_rank=True cases), do we have to worry about it where you use it, or no?

I thought I could add some comments on what's going on basically explaining every cryptic step. Maybe when I'm finished with it you'll find it more comprehensible.

Two things I often do that seem to help people (including future versions of myself) when reading optimized code:

assert statements that are basically "active comments" -- not critical to the functionality of the algorithm but should always be true based on how the code works. This would be things like:assert first.shape == (n_sources, 3, 3)
assert other.shape == (3,)

It immediately tells us the shape of the operands in various things. And when modifying the code in the future the "active"-ness actually helps a bit because it shows if you break things sooner rather than later.
Writing in code comments equivalences of something that is simpler to read but slower. For example:# This is the equivalent of (but faster)
# first_dot = np.zeros(...)
# for gi, this_first in enumerate(first):
#      first_dot[gi] = np.dot(this_first, other)
first_dot = np.matmul(first, other)
assert first_doc.shape == (n_sources, 3)

You could for example do the same thing with the Golub + Volan algorithm description -- use the faster algorithm in the code but in the same comment where you link to the algorithm description, also write the equivalent, slower, more readable code.

I've used both of these a lot in the forward and BEM code for most np.einsum operations and it makes life easier in the short term (reviewer comprehension) and in the long term (maintainability). Used in conjunction with more standard-style code comments for the more complicated transformations (such as your Golub explanation for why we can use something that has a different form) and I find the code becomes pretty readable.

I agree with @wmvanvliet here, while it is cool to have a speed gain, the code is rather hard to read now ... as @wmvanvliet pointed out, we were hitting the limit of readability already with all the different parameter combinations we have to allow for.
While we of course have tests in place, things will still be difficult when we do face a bug.
I am now looking over the code and I am seeing the questions directed at me - I will get to them as soon as I can!

@dmalt it seems like one sticking point is the matmul operations. Can you check to see if einsum (maybe with optimize=True) could be used instead? It's often pretty readable if you give the dimensions reasonable names like v for verts, o for ori, c for channels and so forth.
If you don't have time for it, I might be able to give it a shot based on what you've done here.

(also it's possible that the reshaping operations could also benefit from some comments about what they actually do, especially if you can reasonably avoid the fortran ordering step -- given that you do a transpose almost immediately after it seems like a transpose, reshape, transpose all in C order might end up being easier to understand and about the same speed given that the transposes will be views and the reshapes are probably copies in both cases)

@dmalt it seems like one sticking point is the matmul operations. Can you check to see if einsum (maybe with optimize=True) could be used instead? It's often pretty readable if you give the dimensions reasonable names like v for verts, o for ori, c for channels and so forth.
If you don't have time for it, I might be able to give it a shot based on what you've done here.

I'm ok with einsum if you feel it's more readable. Although the broadcasting rules for matmul and other numpy.linalg functions allowing operations on stacks of matrices are pretty simple to follow once you understand the logic. It's basically doing matrix operation using last two dimensions.
I'll be able to get back to this on Oct 20. I'll have some time to make final changes at that point. Till then if you feel like making some modifications and trying stuff out to make it more readable, please go ahead.

(also it's possible that the reshaping operations could also benefit from some comments about what they actually do, especially if you can reasonably avoid the fortran ordering step -- given that you do a transpose almost immediately after it seems like a transpose, reshape, transpose all in C order might end up being easier to understand and about the same speed given that the transposes will be views and the reshapes are probably copies in both cases)

I needed the fortran ordering only to reshape the matrix correctly. It doesn't really do anything for speed, just ensures that elements are taken columnwise during reshape.
Reshape of the transposed matrix is hard to do in a clean way for 3d matrix. It can be done in 'C' order but the expression is also ugly. I totally agree that the comment needs to be added there.
It actually took me a while to figure out how to reshape this one correctly even when I was writing it and knew where I'm going with it.

A variant of this has been merged, thanks for this @dmalt !

A variant of this has been merged, thanks for this @dmalt !

Yes, I saw your merge. Thanks for finalizing this work and sorry for not participating more.


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter daswetter for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.daswetter
   -

:thumbsup: No errors found
WARNINGS:

[x] :eyes: [W034] @iobroker/adapter-core 3.1.4 specified. 3.1.6 is recommended. Please consider updating dependencies at package.json
[x] :eyes: [W162] js-controller 5.0.0 listed as dependency but 5.0.19 is recommended. Please consider updating dependency at io-package.json.
[x] :eyes: [W184] "common.materialize" is deprecated for admin >= 5 at io-package.json. Please use property "adminUI".
[x] :eyes: [W519] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
[x] :eyes: [W521] "gulp" found at devDependencies at package.json but no "gulpfile.js" found. Is this dependency really required?
[ ] :eyes: [W522] Please consider migrating to admin 5 UI (jsonConfig).
[x] :eyes: [W853] .npmignore found - consider using package.json object "files" instead.

Please review issues reported and consider fixing them as soon as appropiate.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence

This issue has been replaced by new isse #402
This issue can be closed.
your
ioBroker Check and Service Bot


Add more descriptive help for Driver Library Errors

When someone does not configure the driver library correctly,
a more helpful message would be great. This is a step in that
direction.
Fixes #17.

LGTM


Create a video tutorial showing how to enable graph and understand result

Description: Create a tutorial video that explains how to enable generating the graphs and how to read and understand the results
User Story: #3 Tutorial Video #1 Graph
Estimated effort: 3 hours
Dependency: #4 #7
Acceptance criteria:

[ ] shows how to enable the graph generator flag
[ ] explains where to find generated output
[ ] explains how to read graph of type #4 to get meaningful results
[ ] explains how to read graph of type #7 to get meaningful results

This issue will be closed and merged with another tutorial video


Error: post failed: Post "http://localhost:26657": dial tcp <IP_ADDRESS>:26657: connect: connection refused

My fxcored process is running, however I can't get a status for some reason due to connection being refused.
$ fxcored status
Error: post failed: Post "http://localhost:26657": dial tcp <IP_ADDRESS>:26657: connect: connection refused

$ ps wuax | grep fxcored
fxcore        12  0.6  0.4<PHONE_NUMBER>76 ?       Sl   15:18   0:04 /usr/bin/fxcored start

$ curl localhost:26657/status
curl: (56) Recv failure: Connection reset by peer

$ fxcored config
{
	"chain-id": "",
	"keyring-backend": "os",
	"output": "text",
	"node": "tcp://localhost:26657",
	"broadcast-mode": "sync"
}

$ fxcored config config.toml | grep ListenAddress
  ListenAddress: tcp://<IP_ADDRESS>:26656
  ListenAddress: tcp://<IP_ADDRESS>:26657

RPC configuration in config.toml:
[rpc]
laddr = "tcp://<IP_ADDRESS>:26657"

Nothing in logs. Any suggestions how to solve this?

Ok, it was some temporary glitch, after service restart RPC's status started to work.

Ok, it was some temporary glitch, after service restart RPC's status started to work.


How do I change the background color of  from the default blue?

I'm relatively new to polymer so this is probably a newbie question, but how do I change the default color of  header to something else than the default blue?

v-grid doesn’t expose any cross scope styling properties yet (e.g. --v-grid-header-background-color). We’re planning on doing that quite soon, but for now you can just use the following (if you’re not using native Shadow DOM).
<style>
/*
 Need to use a very specify selector because
 Polymer style scoping adds a lot of extra classes
*/
.v-grid .v-grid-header th.v-grid-cell {
  background: #f0f0f0;
  color: #222;
}
</style>

In the future, you should be able to use something like this:
<style is="custom-style">
:host {
  --v-grid-header-cell: {
    background: #f0f0f0;
    color: #222;
  }
}
</style>

Thanks :+1:

Closing, as this is not an issue, but more a question. Similar questions can also be asked on the Gitter chat: https://gitter.im/vaadin/components
Cross scope styling support is planned for later.


May 30 08:36:46 raspberrypi pulseaudio[994]: org.bluez.Manager.GetProperties() failed: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Manager" doesn't exist
May 30 08:36:46 raspberrypi bluetoothd[769]: Endpoint registered: sender=:1.19 path=/MediaEndpoint/A2DPSource
May 30 08:36:46 raspberrypi bluetoothd[769]: Endpoint registered: sender=:1.19 path=/MediaEndpoint/A2DPSink
May 30 08:36:47 raspberrypi bluetoothd[769]: Endpoint unregistered: sender=:1.19 path=/MediaEndpoint/A2DPSource
May 30 08:36:47 raspberrypi bluetoothd[769]: Endpoint unregistered: sender=:1.19 path=/MediaEndpoint/A2DPSink
May 30 08:36:47 raspberrypi udisksd[974]: Mounted /dev/mmcblk0p5 at /media/pi/SETTINGS3 on behalf of uid 1000
May 30 08:36:47 raspberrypi kernel: [ 21.681538] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
May 30 08:36:47 raspberrypi org.gtk.Private.UDisks2VolumeMonitor[887]: disc.c:352: error opening file BDMV/index.bdmv
May 30 08:36:47 raspberrypi org.gtk.Private.UDisks2VolumeMonitor[887]: disc.c:352: error opening file BDMV/BACKUP/index.bdmv
May 30 08:36:47 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 30 08:37:17 2017 [try http://www.rsyslog.com/e/2007 ]
May 30 08:36:49 raspberrypi vncserver-x11[755]: HostedRendezvous: Connection to [4fqo4A-mh9LT-ekTrFN] is from user "cmphillips<EMAIL_ADDRESS>May 30 08:36:49 raspberrypi vncserver-x11[755]: Connections: connected: cmphillips<EMAIL_ADDRESS>(via hc-2-us-va-1.services.vnc.com)
May 30 08:36:49 raspberrypi vncserver-x11[755]: Connections: authenticated: cmphillips<EMAIL_ADDRESS>(via hc-2-us-va-1.services.vnc.com), as pi (f permissions)
May 30 08:36:50 raspberrypi dhcpcd[727]: wlan0: no IPv6 Routers available
May 30 08:36:50 raspberrypi dbus[466]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service'
May 30 08:36:50 raspberrypi systemd[1]: Starting Manage, Install and Generate Color Profiles...
May 30 08:36:50 raspberrypi colord: Using mapping database file /var/lib/colord/mapping.db
May 30 08:36:50 raspberrypi colord: Using device database file /var/lib/colord/storage.db
May 30 08:36:50 raspberrypi colord: Using profile database file /var/lib/colord/storage.db
May 30 08:36:50 raspberrypi colord: loaded plugin libcd_plugin_camera.so
May 30 08:36:50 raspberrypi colord: loaded plugin libcd_plugin_sane.so
May 30 08:36:50 raspberrypi colord: loaded plugin libcd_plugin_scanner.so
May 30 08:36:50 raspberrypi colord: Daemon ready for requests
May 30 08:36:50 raspberrypi dbus[466]: [system] Successfully activated service 'org.freedesktop.ColorManager'
May 30 08:36:50 raspberrypi systemd[1]: Started Manage, Install and Generate Color Profiles.
May 30 08:36:51 raspberrypi colord: Profile added: Kyocera_KM-task_alfa_admin_via_VNC_from_DESKTOP-TLSA7NS-Gray..
May 30 08:36:51 raspberrypi colord: Profile added: Kyocera_KM-task_alfa_admin_via_VNC_from_DESKTOP-TLSA7NS-CMYK..
May 30 08:36:51 raspberrypi colord[1106]: (colord:1106): Cd-WARNING **: failed to get session [pid 541]: Unknown error -2
May 30 08:36:51 raspberrypi colord: Device added: cups-Kyocera_KM-task_alfa_admin_via_VNC_from_DESKTOP-TLSA7NS
May 30 08:36:51 raspberrypi kernel: [ 25.739120] random: crng init done
May 30 08:36:51 raspberrypi kernel: [ 25.762830] warning: process `colord-sane' used the deprecated sysctl system call with
May 30 08:36:51 raspberrypi kernel: [ 25.762841] 8.
May 30 08:36:51 raspberrypi kernel: [ 25.762847] 1.
May 30 08:36:51 raspberrypi kernel: [ 25.762851] 2.
May 30 08:36:51 raspberrypi kernel: [ 25.762854]
May 30 08:36:51 raspberrypi colord-sane: [bjnp] create_broadcast_socket: bind socket to local address failed - Cannot assign requested address
May 30 08:37:16 raspberrypi systemd[811]: Time has been changed
May 30 08:37:16 raspberrypi systemd[1]: Time has been changed
May 30 08:37:20 raspberrypi colord[1106]: (colord:1106): Cd-WARNING **: failed to get session [pid 1110]: Unknown error -2
May 30 08:37:20 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 30 08:37:50 2017 [try http://www.rsyslog.com/e/2007 ]
May 30 08:37:20 raspberrypi colord: Device added: sane-PID 0870
May 30 08:40:20 raspberrypi vncserver-x11[755]: Connections: disconnected: cmphillips<EMAIL_ADDRESS>(via hc-2-us-va-1.services.vnc.com) ([ViewerClosed] VNC Viewer closed)
May 30 08:40:20 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 30 08:40:50 2017 [try http://www.rsyslog.com/e/2007 ]
May 30 08:40:20 raspberrypi colord: device removed: cups-Kyocera_KM-task_alfa_admin_via_VNC_from_DESKTOP-TLSA7NS
May 30 08:47:11 raspberrypi vncserver-x11[755]: HostedRendezvous: Connection to [4fqo4A-mh9LT-ekTrFN] is from user "cmphillips<EMAIL_ADDRESS>May 30 08:47:11 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Tue May 30 08:47:41 2017 [try http://www.rsyslog.com/e/2007 ]
May 30 08:47:11 raspberrypi vncserver-x11[755]: Connections: connected: cmphillips<EMAIL_ADDRESS>(via hc-2-us-va-1.services.vnc.com)
May 30 08:47:16 raspberrypi vncserver-x11[755]: Connections: authenticated: cmphillips<EMAIL_ADDRESS>(via hc-2-us-va-1.services.vnc.com), as pi (f permissions)
May 30 08:47:16 raspberrypi colord[1106]: (colord:1106): Cd-WARNING **: failed to get session [pid 541]: Unknown error -2
May 30 08:47:16 raspberrypi colord: Device added: cups-Kyocera_KM-task_alfa_admin_via_VNC_from_DESKTOP-TLSA7NS
May 30 08:51:56 raspberrypi vncs


Update noxfile.py to run darglint in verbose-mode

Rebased on the latest 0.x.x

Rebased on the latest 0.x.x


[Doc]Add IssueTemplate

Create IssueTemplates to allow users to add issues to our repository quickly and easier.
You can follow these instructions from GitHub as a reference, but add guidance adding acceptance criteria or something that matches these project expectations.

Finished first draft. PR #483


🎨 Fix types for lifespan, upgrade Starlette to 0.26.1

🎨 Fix types for lifespan, depends on https://github.com/encode/starlette/pull/2077

You also need to add self: AppType

Good point, thanks @adriangb! Trying it locally I realized I had to redefine AppType to be bound to FastAPI as well.

I'm trying with this example:
from collections.abc import AsyncGenerator
from contextlib import asynccontextmanager

from fastapi import FastAPI

@asynccontextmanager
async def lifespan(_: FastAPI) -> AsyncGenerator[None, None]:
    ...
    yield
    ...

app = FastAPI(lifespan=lifespan)

And I get this error:
mypy sand.py
fastapi/applications.py:112: error: "AppType" has no attribute "openapi_schema"
fastapi/applications.py:113: error: "AppType" has no attribute "openapi_url"
fastapi/applications.py:114: error: "AppType" has no attribute "title"
fastapi/applications.py:115: error: "AppType" has no attribute "version"
fastapi/applications.py:126: error: "AppType" has no attribute "dependency_overrides"
fastapi/applications.py:153: error: "AppType" has no attribute "setup"
Found 6 errors in 1 file (checked 1 source file)

...I guess it would be fine for external things to have AppType be bound to Starlette, but for the internals of FastAPI it seems to be a problem. But I guess it would be fine then to have the custom AppType here.

Weird, we even have a test in Starlette: https://github.com/encode/starlette/blob/8965f8849977b5752e415722a83aa00049f80ff3/tests/test_applications.py#L539-L550

Ah, yeah, the error is not in the lifespan, but that the class doesn't have the custom attributes FastAPI defines.


Update scraper to pull date filed

charge_date in the dataset refers to the date of the offense the defendant is being charged for. Can we change the name of charge_date to charge_offense_date and add the date filed as charge_filed_date? The charge filed date will need to be added to the scraper.

It looks like the date the charge overall is filed is parsed and saved as "date filed" while the date on the charge is stored as "date" (but this second date isn't necessarily the date of the filing of the charge, but could be arrest or offense date as well). In any event, both are present and uniquely named. Accordingly, this ticket can be closed.


docs: Plugins section jumps into Wrappers without explaining them before

I noticed that Plugins is the first time in docs where we mention VueWrapper, WrapperAPI and so on.
Should they be mentioned before, in a standalone section? Should we explain them here? Should we just link to somewhere, and assume anyone reading Plugins is an advanced-enough user?

This should be okay for now: https://github.com/vuejs/vue-test-utils-next/commit/fdb25812f273d5605092df10f4c9b31a9aaf7150


Model with id "undefined"

Add fix get method in collection (commit https://github.com/spasa/backbone/commit/adb37cfdda5bf1787cade9804aab338a7ed79297). This is fix for issue https://github.com/jashkenas/backbone/issues/3905.
As you can see in commit, we first check if obj is model. If it is, then we can check if model is in collection by cid as well.

@jridgewell With latest commit https://github.com/spasa/backbone/commit/9e8f0b6c24d833351b9ebe603b87b6453134a0cb, I removed unnecessary _byId[obj]

Closed by https://github.com/jashkenas/backbone/pull/3936.


Boolean schema is incorrectly typed as z.number

// schemas.ts

export const schemas = {
  string: z.string,
  number: z.number,
  boolean: z.number /* --> should be z.boolean */,
  unknown: z.unknown,
  null: z.null,
  undefined: z.undefined,
  date: dateSchema,
  literal: z.literal,
  union: z.union,
  array: z.array,
  object: z.object,
};

This leads to always triggering the invalid type error when using q.boolean()

where did this example come from?
are you reporting a bug?
are you asking a question about your code?

Oh wow, so sorry just noticing I meant to post this in another repo 🤦🏻


Inline the last version of detekt in our code snippets on the web

Expected Behavior
The snippets on the web should be ready to copy-paste
Observed Behavior

They are not
Steps to Reproduce
https://detekt.dev/docs/intro#quick-start-with-gradle
Context
In the previous version of the web this worked. Could it be possible to implement it back? This isn't critical at all but it's a quality of life thing.

I've looked into this and is not trivial. Opened an issue upstream here: https://github.com/facebook/docusaurus/issues/7681 Let's see how we can solve this


Updated 1 script

Updated MapLock to v0.4.2

I'm going to hold off on merging this in until you can get the description section prepared with everything the user needs.

How very thoughtful of you.


OSD Version Increment

Description
Add workflow for OpenSearch Dashboard Plugins Version Increment.
This Workflow uses OSD plugin-helpers version.
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/3333
Sample PR: https://github.com/prudhvigodithi/alerting-dashboards-plugin/pull/1/files
Sample Workflow RUN: https://github.com/prudhvigodithi/opensearch-build/actions/runs/4868420202/jobs/8681889881
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #3466 (9b6ba2d) into main (1c6da01) will decrease coverage by 0.27%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #3466      +/-   ##
==========================================
- Coverage   91.81%   91.55%   -0.27%
==========================================
  Files         181      181
  Lines        5268     5268
==========================================
- Hits         4837     4823      -14
- Misses        431      445      +14

see 2 files with indirect coverage changes


E-mail on UPDATES

We need to have emails on UPDATED status - for example the date on 67138 just went back by two weeks but there was no email sent to alert us. I guess it will be in the weekly digest but that is not sufficient.
Please add option to get alerts when items are UPDATED
David
REFER TO: [Case #:22312909] - Teams meeting recordings to OneDrive for Business

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

ID: d48710a5-bfd4-dbbd-dc97-741feccd00af
Version Independent ID: 5540a0cf-7de7-3082-59d2-a93ece028f60
Content: Message center - Microsoft 365 admin
Content Source: microsoft-365/admin/manage/message-center.md
Service: o365-administration
GitHub Login: @Sirkkuw
Microsoft Alias: sirkkuw

@davidslight Thank you for your feedback. I have this turned on my tenant and receive an Email notification for major updates. If you want to receive email notices about major updates, verify that Send me emails for major updates is ON.
Hope this helps!
Thanks
Sri

I also have this turned on for my many tenants. I am very familiar.
But I want another update when a “major update” is updated as was the case for MC222640
David
(Updated) Microsoft Teams: meeting recordings saved to OneDrive and SharePoint
MC222640, Plan For Change, Published date: Sep 22, 2020
Admin impact, New feature, User impact
From: Sriraman M S<EMAIL_ADDRESS>Sent: Tuesday, October 13, 2020 3:24 PM
To: MicrosoftDocs/microsoft-365-docs<EMAIL_ADDRESS>Cc: David Slight<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/microsoft-365-docs] E-mail on UPDATES (#3127)
@davidslighthttps://github.com/davidslight Thank you for your feedback. I have this turned on my tenant and receive an Email notification for major updates. If you want to receive email notices about major updates, verify that Send me emails for major updates is ON.
Hope this helps!
Thanks
Sri
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/microsoft-365-docs/issues/3127#issuecomment-708041887, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGAK4CCOZANHFIFUQX22OZTSKTHOLANCNFSM4SNTEUQQ.

@davidslight Thank you for the feedback.
@Sirkkuw This could be a one-off issue as well as I can confirm I received other updates but not on this one. Could you please check and let us know if this bug needs to be reported to the product group?
Thanks
Sri

@msbemba

@Sirkkuw  Could you please check and let us know if this bug needs to be reported to the product group?

This looks like it might have been a one-off issue and we'll be monitoring to see if this happens again.


design an r0.3

Some potential changes for r0.3:

[ ] Re-spec 3V3 regulator to reduce ripple; or at the least, remove its bypass capacitor.
[ ] Improve grounding / thermal connections for the USB PHYs.
[ ] Potentially switch between the active-high and active-low versions of our load switches / switch the load configuration to reduce leakage.

@mossmann assigning you r0.3-related tasks, for now. Feel free to re-assign. :)

Work in progress is in this branch: https://github.com/mossmann/luna/tree/r0.3

I've removed bypass capacitor C52 from the +3V3 regulator at least as a temporary measure. I will likely replace the regulator entirely after some testing.

Added one more bullet:

Connect PROGRAM_N to a nearby 3V3 FPGA I/O to allow for easier Debug Controller-less operation.

This will allow the FPGA to trigger its own reconfiguration.

I resolved the load switch issue primarily by reducing the resistance of the pull-up and pull-down resistors on the load switch enable pins.


[Leetcode medium] PEAK INDEX IN A MOUNTAIN ARRAY

An array arr is a mountain if the following properties hold:
arr.length >= 3
There exists some i with 0 < i < arr.length - 1 such that:
arr[0] < arr[1] < ... < arr[i - 1] < arr[i]
arr[i] > arr[i + 1] > ... > arr[arr.length - 1]
Given a mountain array arr, return the index i such that arr[0] < arr[1] < ... < arr[i - 1] < arr[i] > arr[i + 1] > ... > arr[arr.length - 1].
You must solve it in O(log(arr.length)) time complexity.
Example 1:
Input: arr = [0,1,0]
Output: 1
Example 2:
Input: arr = [0,2,1,0]
Output: 1
Example 3:
Input: arr = [0,10,5,2]
Output: 1
Constraints:
3 <= arr.length <= 105
0 <= arr[i] <= 106
arr is guaranteed to be a mountain array.

i want to work on this issue

Please assign to me. I have already done on Leetcode.

Sir, please assign me this issue I want to contribute in it as my first open source contribution


Problems installing the plugin

Hi all,
I have a problem installing the asciidoctor plugin in vscode on my mac.
Im using:

macOS Sierra 10.12.6
vscode 1.21

When installing the plugin  with the installer the installation seems to run fine. I can see the commands of the plugin:

But when I select one of those commands I receive the following error messages:

or

Therefore I removed the plugin and executed the installation like described in the marketplace:

git clone https://github.com/joaompinto/asciidoctor-vscode
cd asciidoctor-vscode
npm install
sudo npm install -g vsce typescript
vsce package
code --install-extension *.vsix

When executing:

vsce package
I receive another error message:

Executing prepublish script 'npm run vscode:prepublish'...
Error: Command failed: npm run vscode:prepublish
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR<EMAIL_ADDRESS>vscode:prepublish: `tsc -p ./`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>vscode:prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/.../.npm/_logs/2018-03-15T20_37_31_295Z-debug.log

And in this log I can find the following information:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/9.8.0/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'run',
1 verbose cli   'vscode:prepublish' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prevscode:prepublish',
4 verbose run-script   'vscode:prepublish',
4 verbose run-script   'postvscode:prepublish' ]
5 info lifecycle asciidoctor-vscode@0.3.8~prevscode:prepublish<EMAIL_ADDRESS>6 info lifecycle asciidoctor-vscode@0.3.8~vscode:prepublish<EMAIL_ADDRESS>7 verbose lifecycle asciidoctor-vscode@0.3.8~vscode:prepublish: unsafe-perm in lifecycle true
8 verbose lifecycle asciidoctor-vscode@0.3.8~vscode:prepublish: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/.../programs/asciidoctor-vscode/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/.../arcanist/arcanist/bin/
9 verbose lifecycle asciidoctor-vscode@0.3.8~vscode:prepublish: CWD: /Users/.../programs/asciidoctor-vscode
10 silly lifecycle asciidoctor-vscode@0.3.8~vscode:prepublish: Args: [ '-c', 'tsc -p ./' ]
11 silly lifecycle asciidoctor-vscode@0.3.8~vscode:prepublish: Returned: code: 2  signal: null
12 info lifecycle asciidoctor-vscode@0.3.8~vscode:prepublish: Failed to exec vscode:prepublish script
13 verbose stack Error<EMAIL_ADDRESS>vscode:prepublish: `tsc -p ./`
13 verbose stack Exit status 2
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack     at EventEmitter.emit (events.js:180:13)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:180:13)
13 verbose stack     at maybeClose (internal/child_process.js:936:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /Users/.../programs/asciidoctor-vscode
16 verbose Darwin 16.7.0
17 verbose argv "/usr/local/Cellar/node/9.8.0/bin/node" "/usr/local/bin/npm" "run" "vscode:prepublish"
18 verbose node v9.8.0
19 verbose npm  v5.6.0
20 error code ELIFECYCLE
21 error errno 2
22 error<EMAIL_ADDRESS>vscode:prepublish: `tsc -p ./`
22 error Exit status 2
23 error Failed at the<EMAIL_ADDRESS>vscode:prepublish script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]

Do you have any Idea why the installation of your plugin does  not work for  me?
Thank you!
regards
Christian

Hello,
could you please test with the latest VSCode and extension versions ?
Thanks

Please reopen if neefed.


feature request: stream log to a file as the flow is running

Currently, SASJS only fetches the log after the flow has run. It would be good to add a feature to show the log as the flow is running. It will not only help with debugging but also take away some anxiety!

@mehtaanirudh / @tmoody There's an implementation of this feature nearly ready for release now. It saves the log to a file as we're polling to check for the job's status.
Would it be useful at all to show the logs in the console as well as saving them to a file?

Whilst welcoming @mehtaanirudh / @tmoody 's perspectives also, I would say that it would not be useful - the logs can be very large, and the first thing you would typically do is search it for ERRORs / WARNINGs (if there was a non zero return code).
I guess that's something that WOULD be useful - if we could display (in the console) the first occurrence of a line that begins with WARNING or ERROR.

@allanbowe looking for errors/warnings is just one of the many things an engineer would do. SASjs retrieves the log post completion of a job anyway. However, while the code is running, a user has no idea what is going on inside the code. A job in production can run for hours and there is no way to identify whether it's running as expected or not. Sometimes, you can have a feel of the run by looking at number of observations printed in the log or time taken by a particular step.
The size of the log is irrelevant because SASjs would fetch the log after the end of the run anyway. So if we stream it to a file then the size should not be an issue. Streaming to console could become a problem.

The location of the log would be useful thing to print (immediately) to the console


Poor handling for non-integer values on the y-axis

When making charts that have float/decimal values, the values always round. This makes it extremely annoying for plotting data under 1. Right now I have a workaround so that I can see the actual value on hover by setting the formatter like:
options.yaxis.labels.formatter = val => val.toFixed(2)
However there doesn't seem a way to get any non integer ticks to show up. Therefore if all data is between 0 and 1, you'll only be able to see two ticks: 0 and 1.
P.S. Thanks for the great library! A lot easier to use than chart.js for simple stuff.

Thanks so much Juned!

Fixed the decimal places also.
Now you don't need to provide options.yaxis.labels.formatter = val => val.toFixed(2) for handling small values

@junedchhipa Quick possible improvement could also be to default the representation for floats to truncate after a reasonable amount. Thoughts?

Not a bad idea to avoid long fraction parts.
And what should be the name of this option? options.yaxis.labels.decimalsInFloat sounds good? :)

Updated the "fraction/decimal" part to allow the user to give a default value.
Currently, the default is set to 2 - https://github.com/apexcharts/apexcharts.js/commit/b37f2490f28bd1d41f95ec14c4b6bfafb91a76a4
The option can be set at options.yaxis.decimalsInFloat
Need to add in the docs

Seems like yaxis.decimalsInFloat doesn't work. I set it to 0, yet I still see decimals in my Y axis:

Instead, I have to set this in my yaxis options:
labels: {
  formatter: (value: number) => Math.floor(value),
},

I can confirm that, it already worked with previous versions, now with v3.27.3 it does not seem to work

try using react-chartjs-2

When making charts that have float/decimal values, the values always round. This makes it extremely annoying for plotting data under 1. Right now I have a workaround so that I can see the actual value on hover by setting the formatter like:
options.yaxis.labels.formatter = val => val.toFixed(2)
However there doesn't seem a way to get any non integer ticks to show up. Therefore if all data is between 0 and 1, you'll only be able to see two ticks: 0 and 1.
P.S. Thanks for the great library! A lot easier to use than chart.js for simple stuff.

Thankyou


FIX for issue that hflipping 8-pixel-wide 2bpp tiles didnt work

There is a bug in the layer renderer that makes 8-pixel-wide 2bpp tiles dissapear when trying to horizontally flip it.
As it turns out this is an old bug that has been in there since the beginning.
The bug has been reproduced on real hardware (for 0.3.1 and for 0.3.2):

The hflipped arrows are not visible.
When run on the emulator it looks like this (which is correct):

When looking at the verilog it became clear that the value for hflipped_xcnt was incorrect in the case of 2bpp 8-pixel-wide tiles: when flipped the value of xcnt_r was negated which resulted in hflipped_xcnt becoming >= 8. This is problematic since render_data_r[31:16] were zeroes (in this specific case).
The solution was to create a 2bpp-specific value for hflipped_xcnt named hflipped_xcnt_2bpp. This one makes sure that bit3 is set to 0 in this specific situation.
The result is a working 2bpp 8-pixel-wide hflip:

The LUT-cost is 9 LUTs.
This bitsteam still has to be tested more thouroughly. Most notably other layer modes/color depths.
Link to discord discussion:
https://discord.com/channels/547559626024157184/549247967945687071/1196902079189504050

HW testing results:

1bpp, 2bpp, 4bpp and 8bpp bitmap modes tested.
Also all variants of 2bpp,4bpp and 8bpp of tiles (8x8,8x16,16x8,16x16) with all combibations of v/h flipping.
1bpp tiles cant flip so they look weird in the test (like in the emulator) but look ok (albeit repeating) for all tile sizes in non-flipped mode (like in the emulator)

Below are the photos videos of these tests:
1bpp bitmap

2bpp bitmap

4bpp bitmap

8bpp bitmap

tiled non-flipped
https://github.com/X16Community/vera-module/assets/17767704/a413d88f-093c-4553-91fd-a77674357c19
tiled hor-flipped
https://github.com/X16Community/vera-module/assets/17767704/dca9fa3a-5c25-45cd-b591-c4812b8839f5
tiled ver-flipped
https://github.com/X16Community/vera-module/assets/17767704/c726ebea-44d2-4aeb-a32b-d39a60bbe4c3
tiled hor-and-ver-flipped
https://github.com/X16Community/vera-module/assets/17767704/6d74ca2c-526b-48e7-b2a9-539a0eefddae


Markdown editor: hide and/or resize the preview pane

Describe the feature you'd like
I love the markdown mode. The preview pane while editing the markdown source pane is a nice touch. However, most of the time markdown is already readable enough that a preview pane is not necessary. I don't mind having it enabled when BookStack can use the full monitor screen size, but if I put the browser page on only the left/right half of the screen, the preview pane is quite obstructive because the source pane is only covering 1/4 of the screen.
It would be nice to have a button to simply disable the preview pane letting the source pane use 100% of the available screen width. Or even better yet, allow a slider between the panes to dynamically adjust the width of both to the point were either one can be completely hidden to view the other pane at 100% width.
I have been able to simply modify the DOM to achieve hiding the preview pane by deleting the preview pane node and adjusting the source pane width from 50% to 100%.
Describe the benefits this feature would bring to BookStack users
Such a feature would benefit people with one monitor (such as laptops) who use BookStack on one half of the screen and another type of content on the other, e.g., to write notes while reading a PDF.

+1

+1
In the meantime I have added this CSS as a user style in Stylus that I can easily enable or disable.
#markdown-editor .markdown-editor-wrap {
    display: none;
}
#markdown-editor .markdown-editor-wrap.active {
    display: flex;
    width: 100%;
    max-width: 100%;
}

Hi @abulgatz,
The tips seems nice, however I can't see how I might be able to use it in my Bookstack instance (until now, I added little css styling & js scripts in the Custom HTML Head Content section of the Bookstack Settings... which can't be used for such dom manipulations).
How did you use/implement this on your own Bookstack installation?

Hello, I fully agree, that would be a great to have a button to enable / disable preview. Resizing panes would be also great, but not so essential I think. @abulgatz, thanks for sharing your solution. I will try to test this if I will have some spare time :)

Would also love to be able to toggle the preview pane!
@ssddanbrown I’d be happy to take a crack at contributing this feature. Would you mind pointing me in the right direction for modifying the markdown editor and any gotchas you might foresee? My plan would be:

When preview open, button to toggle it closed next to “Preview”
When preview closed, narrow vertical bar on right with button to toggle it open
At a reasonable breakpoint (to be determined), default to it toggled closed
Not going to worry about resizing to start

Possible enhancement:

Some way of remembering user preference (eg I never want preview pane open unless I’m explicitly checking formatting; I find it distracting)

@zachallaun 👋

View code
JavaScript component code
Custom component system docs

The preview is already collapsible, since this is handled for mobile mode. Hopefully should be able to just build on that.
For a minor option such as this, I think using Browser LocalStorage to store the preference would be enough, especially as it may be device-dependent.
Let me know if you do proceed with this, and I'll assign you. I'm aiming to do some significant work to the markdown editor component, for upgrading CodeMirror, in the next release which would probably conflict but I can schedule around if needed, Might just mean I'd be chasing this up if taken on but not complete after a couple of weeks.

Thanks for getting back to me so quickly, @ssddanbrown! Don't assign me just yet as I don't want to be a blocker on any of the work you're doing until I can firmly commit. I'll look through the resources you linked later today and will get back to you!

From the changes in #3875 and 31c28be57a53bc543e34bdf113ecd64e8ee11ed1, there is now an editor control to toggle the display of the preview window. It is also possible drag the center divider to resize the panes to a maximum 80/20% split.
These changes will be part of the next feature release.


API Request to release nodeSecret for Node Locked model

Hello,
I'm new to NetLicensing here. I have defined Node Locked licensing model and registered two nodes with nodeSecret key. Is there anyway I can release my nodeSecret automatically from API?
Best,
Min

Hello @MinHtet-O - yes this possible and described in the #30


Suggested Fixes + GitAction Files

Fern capitalization + optional field fixes
More complete flag descriptions
Switched ingress flag from a boolean to a comma delineated list
Added Git Action files (Copied from methodAws)

For the failing verify, you need to exclude checks in the generated folder. Check out https://github.com/Method-Security/methodazure/blob/develop/godel/config/check-plugin.yml#L8


Topic names greater than 60 chars

kafka-ui v0.6.2
Thanks for the continued work on the project, we use it all the time ;-)
We have some topics that have long names ( > 60 characters).  The UI truncates these and appends .... (even though we can resize the screen so there is loads of whitespace between topic name and the partition count column.
Is there a way to configure the length that truncation occurs at please ?

Hi, thanks for the kind words. We’ll take a look into this!

Hi, can you please assign this issue to me. I would like to work on it.

@Nithish-Anumula please note that the name shouldn't be moved to another line (which will make a table row height bigger)

Hey @Haarolean, I would like to work on this issue, if this issue is still open and not assigned to anyone.

@dipeshsingh253  https://github.com/provectus/kafka-ui/discussions/4255
I don't have r/w permissions at the moment so can not assign you

Thanks for the information @Haarolean .
In that case, let me know after the pause.


Move unshipped API to shipped

Description
As discussed during our sync, we want to always make API changes directly to the shipped file. This should not prevent us to consider doing a "breaking" change while we are only in preview.
Fixes AB#1526141

@nohwnd I need your approval. Thank you.

https://github.com/microsoft/vstest/pull/3584#discussion_r855926940
^^^ Waiting for this :)

@nohwnd I have replied to your comment and updated the file suggested by @Haplois .


Allow setting className on elements

For us out there still using frameworks like Tailwind, it'd be great if the exported elements accepted className props.

Available in 0.1.17


search completion for exact matches (request)

[x ] I have read through the manual page (man fzf)

[ x] I have the latest version of fzf

[ x] I have searched through the existing issues

OS

[ x] Linux

Shell

[x ] bash

Problem
I have thousands of exact matches for: DISPLAY_
there are hundreds of different DISPLAY_XXX strings
to find which XXX I can use I need to scroll in the matches but the information about XXX is already available and It would be great if the list of XXX to pick from was accessible
is there a way to take the current search, run it through another program (in this case making a word search | uniq | fzf) and give that back to fzf?

Hi @nkh,
That's exactly what fzf was born to do. If you figure out a way to get your "DISPLAY_XXX" strings, when you pipe it into fzf, it gives you a list of them (split by \n). It will then output what you select, so you can do something else with it.

I am afraid I haven't explained well enough. So let me use bash completion as an example to refine this one.
say I have 100 git related commands (which we all see to have these day). if I type git + tab Iget the 100 possible completions.
Now back to my example above, I have 60 000 lines, I type DISPLAY_, I still have 20 000 lines, somewhere in the begining of that list there is DISPLAY_A, 300 lines down DISPLAY_B, 1000 lines down DISPLAY_C. I know nothing about A, B, or C yet, I am discovering them, going through 20 000 lines is not an option, sure I can get out of fzf, who already has the necessary data, grep -r DATA_ | sort -u > my possible DISPLAY. reopen fzf for the 60 000 lines, open my possible display list, type one of them in fzf, look at where they are used. bleahh.
Sure I can execute a command from fzf (maybe even piped to fzf) but I'd like the result of that command to become the current search. Does it make more sense or did I misunderstand your comment and it gave a solution for that?

@nkh try this:
export FZF_CTRL_R_OPTS="--no-extended --exact"
https://github.com/junegunn/fzf/wiki/Configuring-shell-key-bindings


Attach color output to the ASP.NET Core Web Server output

When running a .net core website out of VS 2019, a separate console window provides all output for the web application. Is it possible to use VSColorOutput to colorize the ASP.NET Core Web Server output?

@nCubed I think it's possible, just add custom regex pattern. i.e. (info:) or ((info:).*) for info.

Thanks @sanketkdarji - didn't even know there was an option to add a new pattern. Cheers!


Focuses of this new PoC language

This is intended to be a discussion thread about focuses of Voile.
There is also a bikeshedding here: do we need to change the org name to owo-lab for storing these kinds of PoC languages?

There is also a bikeshedding here: do we need to change the org name to owo-lab for storing these kinds of PoC languages?

No.

voile!

I've basically finished the core language.

This PoC language will focus on first-class sums/cases/records, better level treatment, error diagnosing, termination/productivity, and (possibly) metas and holes.

glhf


Update Versioneer to 0.22

Versioneer used to use deprecated ConfigParser APIs which will be removed in Python 3.12:

https://github.com/python/cpython/pull/92503
https://bugzilla.redhat.com/show_bug.cgi?id=2022350

Let's update to the new one:
python -m pip install -U versioneer
versioneer install

https://github.com/python-versioneer/python-versioneer#updating-versioneer

I'm pulling versioneer out entirely with #63, so I think this will be obviated.
Thanks for the PR regardless!


Selectpicker doesn't work with parsley

i want to validate bootstrap-select (selectpicker), i done everything that's need it works fine with input but in select it just display error message and not the border color for select
here is the code https://jsfiddle.net/sanoj908572/jdo6reaf/2/

Even though this issue has already been closed, here is my solution:

    Select:
    <select multiple class="form-control selectpicker" id="example" name="example"
            data-parsley-errors-container="#error-container" required="">
        <option value="1">Option 1</option>
        <option value="1">Option 2</option>
    </select>

$('#modifyExistingModal form').parsley({triggerAfterFailure: 'focusout changed.bs.select'}).on('field:validated', function() {
        var ok = $('.parsley-error').length === 0;
        // do something with ok
    })
    .on('form:submit', function() {
        return false; // Don't submit form for this demo
    });

The important parts are:

data-parsley-errors-container="#selector" and
parsley({triggerAfterFailure: 'focusout changed.bs.select'}).

See also events of bootstrap-select and this stackoverflow answer.


Log Node.js version using

Couple of things.
First if you specify node-version of 10, does that use the absoute latest version of Node.js v10 (both minor and patch versions)?
Second, does node-version of 10.x use the latest version when taking account patch versions? Or does .x just mean the minor version?
Finally, it'd be great if this action printed the Node.js version it decided to use in the logs of GitHub Actions so developers can determine which Node.js version it decided to use, which would make debugging SO much easier.

👋 Hey @fishcharlie. Specifying a node-version of 10 and 10.x will have the same result. This follows semver, where 10 == 10.x == 10.x.x, which is effectively "the latest version of Node.js v10 taking into account both minor and patch versions.

Finally, it'd be great if this action printed the Node.js version it decided to use in the logs of GitHub Actions

Great idea! That should be a quick fix.

Yes, it should work with any semver version spec.  As part of this issue, I'll make sure it's logged as well.  I'll also update the readme / docs

Any updates on this? cc/ @bryanmacfarlane @joshmgross

@bryanmacfarlane are you still planning on doing this? If not,  I can pick this up.

@joshmgross - I'm fine with you picking this up.  If you do, look at recent commits in setup-go where I did it.  I think it should also output npm version.

Outputting the npm version too would be amazing!!!

Can someone please explain why my node version is not 12 as specified?
Part of my config file is
jobs:
  primary:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node-version: [12.x]

    steps:
      - uses: actions/checkout@v1

      - name: Cache node modules
        uses<EMAIL_ADDRESS>        with:
          path: ~/.npm
          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-node-
      - name: Node ${{ matrix.node-version }}
        uses<EMAIL_ADDRESS>        with:
          node-version: ${{ matrix.node-version }}

      - name: Installing dependencies
        run: npm install

And logging the node version to the console results in node version: 10.20.1
I do not quite understand where is the problem.

@demian85 can you log a separate issue?  I would also try setup-node@v1 to ensure you're getting latest along with bug fixes
Here's a workflow of mind doing @ 12.x and it leads to node 12. https://github.com/bryanmacfarlane/actions-playground/runs/570652210?check_suite_focus=true

@joshmgross Would be more than happy to review and/or test a PR for this when you have it up! Thanks so much for helping with this.

PR for this here: https://github.com/actions/setup-node/pull/137

This was resolved via #137 but its not working anymore?
Log from the used action isnt showing the specific NPM version:
Run actions/setup-node@v2
  with:
    node-version: 16
    always-auth: false
    check-latest: false
    token: ***
Attempting to download 16...
Acquiring 16.11.1 - x64 from https://github.com/actions/node-versions/releases/download/16.11.1-1336322549/node-16.11.1-linux-x64.tar.gz
Extracting ...
/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword -C /home/runner/work/_temp/192ce410-4dad-49a1-99ac-d942052f626f -f /home/runner/work/_temp/5a93bf66-8337-45eb-b047-0b5bb8eab63e
Adding to the cache ...
Done

Looks like the changes added in #137 were inadvertently removed in #147

Hello everyone. We've released a new version 3.5.1 with logging Nodejs version. For now we didn't update the major tag. Could you please confirm that everything works as expected ?

Hello everyone. For now I'm going to close the issue. If you have any concerns feel free to pings us.


refactor: Use 'ansible_ssh_user' var for clients

The Ansible variable 'ansible_user_id' is dependent on Ansible facts
collection. For any task not utilization 'become' 'ansible_ssh_user' can
be used without needing to gather facts.

I was attempting to label this PR as a 'draft' to indicate it should not be submitted. Oops :)


exit() function.

There are lots of places where the exit() function is used, so we have to implement it

Realised that exist t_exit() function that can be used instead of exit()

Probably, this would be a good idea, cause t_exit() is used for threads while exit terminates the whole process.


[parsers] json regex key bug fixes

to: @ryandeivert
cc: @airbnb/streamalert-maintainers @chunyong-lin
size: medium
Background
Follow up to #380 and #387.
Deployment of JSON Regex Key matching against a larger set of data introduced more issues with parsing.  The loading of the regex matched string into json.loads threw errors since it was improperly caught.
Changes

Catch invalid matched JSON
Add unit test coverage

Testing

Locally with unit tests

Coverage increased (+0.3%) to 95.157% when pulling 6d42d2ece8456ebcdc7fd8268b0bf45329c79724 on jacknaglieri-more-bug-fixes-json into 7b2894cfc531c9b83af57c49b83955518bf05476 on master.

Coverage increased (+0.3%) to 95.157% when pulling 44e0b2db82e1ae39533d668248e7c7ed51035cfe on jacknaglieri-more-bug-fixes-json into 7b2894cfc531c9b83af57c49b83955518bf05476 on master.

Coverage increased (+0.3%) to 95.157% when pulling f66813ed4e002a5a45f6003291068d659fc932ee on jacknaglieri-more-bug-fixes-json into 7b2894cfc531c9b83af57c49b83955518bf05476 on master.

Coverage increased (+0.3%) to 95.157% when pulling 25a8cd1bf5ab54b8bace17189d833f5e52bca4ae on jacknaglieri-more-bug-fixes-json into 0452473a687b95f59cb80751b61b8e65751302a3 on master.


Stub out ResolveComReference task to give proper error message during…

… dotnet-sdk build.
See #3986
cc @rainersigwald

Passed on rerun, evidently.  ¯_(ツ)_/¯ I'll also poke CLA-bot.

@AaronRobinsonMSFT ForceSomeOutOfDate seems to be a flaky test, it also randomly failed on me all the way back here https://github.com/Microsoft/msbuild/pull/3631#issuecomment-414465123 although I never ran into again

@ccastanedaucf Thanks. It seems to be building now.
@rainersigwald or @nguerrera any other comments or concerns? I am good for this to be merged in.

Why, CLA-bot, why? (closing/reopening to poke it)


UI only ?

Is there a way to run the UI only ?
Meaning a container that does not extend the mesos one (or participate as master/slave)?
I also can't find the tag stand-alone per README.
Any ideas?
Thanks in advance!

When trying to run the UI:
docker run -dti -p 5000:5000 -p 8000:8000 -e MESOS_ENDPOINT=http://<IP_ADDRESS>:5050 --name ui capgemini/mesos-ui:0.1.1

I'm getting the following page:

Hi @scalp42,
yes there's a way, that's what the standalone approach is for, we just hadn't build the image yet on dockerhub, we are rebuilding it now so you should be able to download it in the next minutes via capgemini/mesos-ui:standalone-0.1.2
Regarding your second, that is expected as explained here https://github.com/Capgemini/mesos-ui/tree/0.1.1#running-the-docker-container
That's just the stub server, you can stop it by setting environment variable NODE_ENV=production the app should be running on 5000.
Cheers

https://hub.docker.com/r/capgemini/mesos-ui/tags/


Tool is broken

@R0cKET why do you say that ?

$ instagram-profilecrawl instagram
HTTPError: Response code 403 (Forbidden)
at stream.catch.then.data (/usr/lib/node_modules/instagram-profilecrawl/node_modules/got/index.js:372:13)
at
at process._tickCallback (internal/process/next_tick.js:188:7)

@nacimgoura interesting.. that it seems they stopped to serve https://www.instagram.com/{username}?__a=1 from my side. Is this method still working on your environment?

I have a 403 error now too.

padding ?__a=1 method is still working only for post link, https://www.instagram.com/p/{shortcode}/?__a=1
As far as I know there are two ways to pass this.

sessionid cookie which is that we have to login.
x-instagram-gis http header without login. This is a string made by hash function with XHR Signature:CSRF token:Stringified variables(for graphql query)

Thanks @hanjukim ! Currently I work to make a new version which use puppeteer instead of selenium. After this I would look at the instagram api.

What I mean to pass is to avoid 403 Forbbiden


main.go:25: Implement identity repository.

The puzzle 16-9861b2d2 from #16 has to be resolved:
https://github.com/kerelape/gophkeeper/blob/a53ddc2678301a2864feeb818e3bf83e8d0ed026/cmd/server/main.go#L25-L25
The puzzle was created by kerelape on 29-Aug-23.
role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 16-9861b2d2 has disappeared from the source code, that's why I closed this issue.


Establish .NET Runtime Support Policy

Background
The .NET SDK needs to establish a firm guideline on which versions of .NET it will build on and support in testing.
This topic comes up somewhat frequently, a quick scan gives at least two issues that have been created for different purposes and this conversation comes up in other mediums as well.
#1036
#925
As such, a firm and known stance for what we support is important.
Proposal
I propose that this SDK adopts Microsoft's support policy for .NET Core.
We will support the versions of .NET that are currently receiving patches/support. When a version of .NET is no longer listed as supported, the first release of this SDK after the date of deprecation will remove the framework from our build/testing.
This will keep us working with modern frameworks that are receiving updates for features, security, and bug fixes. Given the small nature of maintainers/approvers of this SDK, this also serves to lower the burden there and keep the SDK more focused.
For the main binaries, we will still target 1 release to build to. This will be the oldest LTS release (currently net6). We will then support all LTS and STS releases in our testing framework. Once the LTS release we're using as our build runtime is out of support, we'll move to the next LTS. For example, when net6 retires, we'll move to building with net8, skipping over net7.
This does mean that we won't be looking at supporting things like netstandard2.0/2.1. Again, this is mostly a maintenance issue, but it also allows us to focus on new functionalities and features.

Given the lack of discussion here and what was said in this issue, we'll adopt the Microsoft support policy for .NET: https://dotnet.microsoft.com/en-us/platform/support/policy.
After 1.11 is released, we'll remove any remaining references to anything < .NET 6. Going forward our releases will match that cadence so the first release after a version has gone EOL it will be removed from the SDK.

With 1.13, we moved to explicitly targeting both .NET 6 and .NET 8 (which were both under LTS at the time) as this allows the SDK to take advantage of advancements/optimizations of newer runtimes rather than a "lowest common denominator" approach.
With 1.14, explicit targeting of .NET 7 is considered "deprecated" (only Workflow explicitly targeted it anyway) and that target/testing will be removed for 1.15.
With 1.15, we will plan to continue targeting both .NET 6 and .NET 8 (as the expectation is that it will be still be under LTS by its release) but .NET 6 support will be considered "deprecated" (given LTS will be ended shortly thereafter) and target/testing will be removed for 1.16. An open question is whether 1.15 will explicitly target .NET 9 (though I'm leaning towards "yes" for the same reasons as doing so for both .NET 6 and .NET 8).  If we should do so, then the target will equally applied across the SDK packages.

I think that if we're clear about following Microsoft's cadence regarding their own support cycle, it makes all the sense in the world to offer those performance benefits for anyone targeting the latest and greatest bits, even if it means that developmentally, we're bound to the lowest comment denominator in terms of language version.